2015-05-05 Yvan Roux <yvan.roux@linaro.org>
[official-gcc.git] / libstdc++-v3 / configure
blob90a5192db80f9e1cf4f44eb6e1c17810ae7acc8c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 ENABLE_CXX11_ABI_FALSE
649 ENABLE_CXX11_ABI_TRUE
650 glibcxx_cxx98_abi
651 ENABLE_DUAL_ABI_FALSE
652 ENABLE_DUAL_ABI_TRUE
653 ENABLE_VISIBILITY_FALSE
654 ENABLE_VISIBILITY_TRUE
655 libtool_VERSION
656 ENABLE_SYMVERS_SUN_FALSE
657 ENABLE_SYMVERS_SUN_TRUE
658 ENABLE_SYMVERS_DARWIN_FALSE
659 ENABLE_SYMVERS_DARWIN_TRUE
660 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
661 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
662 ENABLE_SYMVERS_GNU_FALSE
663 ENABLE_SYMVERS_GNU_TRUE
664 ENABLE_SYMVERS_FALSE
665 ENABLE_SYMVERS_TRUE
666 port_specific_symbol_files
667 SYMVER_FILE
668 CXXFILT
669 LTLIBICONV
670 LIBICONV
671 OPT_LDFLAGS
672 SECTION_LDFLAGS
673 GLIBCXX_LIBS
674 ENABLE_VTABLE_VERIFY_FALSE
675 ENABLE_VTABLE_VERIFY_TRUE
676 VTV_CYGMIN_FALSE
677 VTV_CYGMIN_TRUE
678 VTV_CXXLINKFLAGS
679 VTV_PCH_CXXFLAGS
680 VTV_CXXFLAGS
681 ENABLE_WERROR_FALSE
682 ENABLE_WERROR_TRUE
683 ENABLE_PYTHONDIR_FALSE
684 ENABLE_PYTHONDIR_TRUE
685 python_mod_dir
686 ENABLE_EXTERN_TEMPLATE_FALSE
687 ENABLE_EXTERN_TEMPLATE_TRUE
688 EXTRA_CXX_FLAGS
689 GLIBCXX_BUILD_DEBUG_FALSE
690 GLIBCXX_BUILD_DEBUG_TRUE
691 DEBUG_FLAGS
692 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
693 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
694 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
695 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
696 GLIBCXX_C_HEADERS_C_STD_FALSE
697 GLIBCXX_C_HEADERS_C_STD_TRUE
698 GLIBCXX_C_HEADERS_C_FALSE
699 GLIBCXX_C_HEADERS_C_TRUE
700 C_INCLUDE_DIR
701 ALLOCATOR_NAME
702 ALLOCATOR_H
703 CLOCALE_INTERNAL_H
704 CLOCALE_CC
705 CTIME_CC
706 CTIME_H
707 CNUMERIC_CC
708 CMONEY_CC
709 CMESSAGES_CC
710 CCTYPE_CC
711 CCOLLATE_CC
712 CCODECVT_CC
713 CMESSAGES_H
714 CLOCALE_H
715 USE_NLS
716 glibcxx_localedir
717 glibcxx_POFILES
718 glibcxx_MOFILES
719 check_msgfmt
720 BASIC_FILE_CC
721 BASIC_FILE_H
722 CSTDIO_H
723 SECTION_FLAGS
724 WERROR
725 thread_header
726 glibcxx_PCHFLAGS
727 GLIBCXX_BUILD_PCH_FALSE
728 GLIBCXX_BUILD_PCH_TRUE
729 GLIBCXX_HOSTED_FALSE
730 GLIBCXX_HOSTED_TRUE
731 glibcxx_compiler_shared_flag
732 glibcxx_compiler_pic_flag
733 glibcxx_lt_pic_flag
734 enable_static
735 enable_shared
736 lt_host_flags
737 CXXCPP
738 OTOOL64
739 OTOOL
740 LIPO
741 NMEDIT
742 DSYMUTIL
743 OBJDUMP
745 ac_ct_DUMPBIN
746 DUMPBIN
748 FGREP
750 LIBTOOL
751 EGREP
752 GREP
754 MAINT
755 MAINTAINER_MODE_FALSE
756 MAINTAINER_MODE_TRUE
757 RANLIB
760 LN_S
761 toplevel_srcdir
762 toplevel_builddir
763 glibcxx_srcdir
764 glibcxx_builddir
765 ac_ct_CXX
766 CXXFLAGS
768 OBJEXT
769 EXEEXT
770 ac_ct_CC
771 CPPFLAGS
772 LDFLAGS
773 CFLAGS
775 am__untar
776 am__tar
777 AMTAR
778 am__leading_dot
779 SET_MAKE
781 mkdir_p
782 MKDIR_P
783 INSTALL_STRIP_PROGRAM
784 STRIP
785 install_sh
786 MAKEINFO
787 AUTOHEADER
788 AUTOMAKE
789 AUTOCONF
790 ACLOCAL
791 VERSION
792 PACKAGE
793 CYGPATH_W
794 am__isrc
795 INSTALL_DATA
796 INSTALL_SCRIPT
797 INSTALL_PROGRAM
798 target_os
799 target_vendor
800 target_cpu
801 target
802 host_os
803 host_vendor
804 host_cpu
805 host
806 build_os
807 build_vendor
808 build_cpu
809 build
810 multi_basedir
811 target_alias
812 host_alias
813 build_alias
814 LIBS
815 ECHO_T
816 ECHO_N
817 ECHO_C
818 DEFS
819 mandir
820 localedir
821 libdir
822 psdir
823 pdfdir
824 dvidir
825 htmldir
826 infodir
827 docdir
828 oldincludedir
829 includedir
830 localstatedir
831 sharedstatedir
832 sysconfdir
833 datadir
834 datarootdir
835 libexecdir
836 sbindir
837 bindir
838 program_transform_name
839 prefix
840 exec_prefix
841 PACKAGE_URL
842 PACKAGE_BUGREPORT
843 PACKAGE_STRING
844 PACKAGE_VERSION
845 PACKAGE_TARNAME
846 PACKAGE_NAME
847 PATH_SEPARATOR
848 SHELL'
849 ac_subst_files=''
850 ac_user_opts='
851 enable_option_checking
852 enable_multilib
853 with_target_subdir
854 with_cross_host
855 with_newlib
856 enable_maintainer_mode
857 enable_shared
858 enable_static
859 with_pic
860 enable_fast_install
861 with_gnu_ld
862 enable_libtool_lock
863 enable_hosted_libstdcxx
864 enable_libstdcxx_verbose
865 enable_sjlj_exceptions
866 enable_libstdcxx_pch
867 enable_cstdio
868 enable_clocale
869 enable_nls
870 enable_libstdcxx_allocator
871 enable_cheaders
872 enable_long_long
873 enable_wchar_t
874 enable_c99
875 enable_concept_checks
876 enable_libstdcxx_debug_flags
877 enable_libstdcxx_debug
878 enable_cxx_flags
879 enable_fully_dynamic_string
880 enable_extern_template
881 with_python_dir
882 enable_werror
883 enable_vtable_verify
884 enable_libstdcxx_time
885 enable_tls
886 enable_rpath
887 with_libiconv_prefix
888 with_system_libunwind
889 enable_linux_futex
890 enable_symvers
891 enable_libstdcxx_visibility
892 enable_libstdcxx_dual_abi
893 with_default_libstdcxx_abi
894 enable_libstdcxx_threads
895 enable_libstdcxx_filesystem_ts
896 with_gxx_include_dir
897 enable_version_specific_runtime_libs
899 ac_precious_vars='build_alias
900 host_alias
901 target_alias
903 CFLAGS
904 LDFLAGS
905 LIBS
906 CPPFLAGS
908 CXXFLAGS
911 CXXCPP
912 CXXFILT'
915 # Initialize some variables set by options.
916 ac_init_help=
917 ac_init_version=false
918 ac_unrecognized_opts=
919 ac_unrecognized_sep=
920 # The variables have the same names as the options, with
921 # dashes changed to underlines.
922 cache_file=/dev/null
923 exec_prefix=NONE
924 no_create=
925 no_recursion=
926 prefix=NONE
927 program_prefix=NONE
928 program_suffix=NONE
929 program_transform_name=s,x,x,
930 silent=
931 site=
932 srcdir=
933 verbose=
934 x_includes=NONE
935 x_libraries=NONE
937 # Installation directory options.
938 # These are left unexpanded so users can "make install exec_prefix=/foo"
939 # and all the variables that are supposed to be based on exec_prefix
940 # by default will actually change.
941 # Use braces instead of parens because sh, perl, etc. also accept them.
942 # (The list follows the same order as the GNU Coding Standards.)
943 bindir='${exec_prefix}/bin'
944 sbindir='${exec_prefix}/sbin'
945 libexecdir='${exec_prefix}/libexec'
946 datarootdir='${prefix}/share'
947 datadir='${datarootdir}'
948 sysconfdir='${prefix}/etc'
949 sharedstatedir='${prefix}/com'
950 localstatedir='${prefix}/var'
951 includedir='${prefix}/include'
952 oldincludedir='/usr/include'
953 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
954 infodir='${datarootdir}/info'
955 htmldir='${docdir}'
956 dvidir='${docdir}'
957 pdfdir='${docdir}'
958 psdir='${docdir}'
959 libdir='${exec_prefix}/lib'
960 localedir='${datarootdir}/locale'
961 mandir='${datarootdir}/man'
963 ac_prev=
964 ac_dashdash=
965 for ac_option
967 # If the previous option needs an argument, assign it.
968 if test -n "$ac_prev"; then
969 eval $ac_prev=\$ac_option
970 ac_prev=
971 continue
974 case $ac_option in
975 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
976 *) ac_optarg=yes ;;
977 esac
979 # Accept the important Cygnus configure options, so we can diagnose typos.
981 case $ac_dashdash$ac_option in
983 ac_dashdash=yes ;;
985 -bindir | --bindir | --bindi | --bind | --bin | --bi)
986 ac_prev=bindir ;;
987 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
988 bindir=$ac_optarg ;;
990 -build | --build | --buil | --bui | --bu)
991 ac_prev=build_alias ;;
992 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
993 build_alias=$ac_optarg ;;
995 -cache-file | --cache-file | --cache-fil | --cache-fi \
996 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
997 ac_prev=cache_file ;;
998 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
999 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1000 cache_file=$ac_optarg ;;
1002 --config-cache | -C)
1003 cache_file=config.cache ;;
1005 -datadir | --datadir | --datadi | --datad)
1006 ac_prev=datadir ;;
1007 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1008 datadir=$ac_optarg ;;
1010 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1011 | --dataroo | --dataro | --datar)
1012 ac_prev=datarootdir ;;
1013 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1014 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1015 datarootdir=$ac_optarg ;;
1017 -disable-* | --disable-*)
1018 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021 as_fn_error "invalid feature name: $ac_useropt"
1022 ac_useropt_orig=$ac_useropt
1023 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024 case $ac_user_opts in
1026 "enable_$ac_useropt"
1027 "*) ;;
1028 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1029 ac_unrecognized_sep=', ';;
1030 esac
1031 eval enable_$ac_useropt=no ;;
1033 -docdir | --docdir | --docdi | --doc | --do)
1034 ac_prev=docdir ;;
1035 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1036 docdir=$ac_optarg ;;
1038 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1039 ac_prev=dvidir ;;
1040 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1041 dvidir=$ac_optarg ;;
1043 -enable-* | --enable-*)
1044 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1047 as_fn_error "invalid feature name: $ac_useropt"
1048 ac_useropt_orig=$ac_useropt
1049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1052 "enable_$ac_useropt"
1053 "*) ;;
1054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1055 ac_unrecognized_sep=', ';;
1056 esac
1057 eval enable_$ac_useropt=\$ac_optarg ;;
1059 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1060 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1061 | --exec | --exe | --ex)
1062 ac_prev=exec_prefix ;;
1063 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1064 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1065 | --exec=* | --exe=* | --ex=*)
1066 exec_prefix=$ac_optarg ;;
1068 -gas | --gas | --ga | --g)
1069 # Obsolete; use --with-gas.
1070 with_gas=yes ;;
1072 -help | --help | --hel | --he | -h)
1073 ac_init_help=long ;;
1074 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1075 ac_init_help=recursive ;;
1076 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1077 ac_init_help=short ;;
1079 -host | --host | --hos | --ho)
1080 ac_prev=host_alias ;;
1081 -host=* | --host=* | --hos=* | --ho=*)
1082 host_alias=$ac_optarg ;;
1084 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1085 ac_prev=htmldir ;;
1086 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1087 | --ht=*)
1088 htmldir=$ac_optarg ;;
1090 -includedir | --includedir | --includedi | --included | --include \
1091 | --includ | --inclu | --incl | --inc)
1092 ac_prev=includedir ;;
1093 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1094 | --includ=* | --inclu=* | --incl=* | --inc=*)
1095 includedir=$ac_optarg ;;
1097 -infodir | --infodir | --infodi | --infod | --info | --inf)
1098 ac_prev=infodir ;;
1099 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1100 infodir=$ac_optarg ;;
1102 -libdir | --libdir | --libdi | --libd)
1103 ac_prev=libdir ;;
1104 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1105 libdir=$ac_optarg ;;
1107 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1108 | --libexe | --libex | --libe)
1109 ac_prev=libexecdir ;;
1110 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1111 | --libexe=* | --libex=* | --libe=*)
1112 libexecdir=$ac_optarg ;;
1114 -localedir | --localedir | --localedi | --localed | --locale)
1115 ac_prev=localedir ;;
1116 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1117 localedir=$ac_optarg ;;
1119 -localstatedir | --localstatedir | --localstatedi | --localstated \
1120 | --localstate | --localstat | --localsta | --localst | --locals)
1121 ac_prev=localstatedir ;;
1122 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1123 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1124 localstatedir=$ac_optarg ;;
1126 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1127 ac_prev=mandir ;;
1128 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1129 mandir=$ac_optarg ;;
1131 -nfp | --nfp | --nf)
1132 # Obsolete; use --without-fp.
1133 with_fp=no ;;
1135 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1136 | --no-cr | --no-c | -n)
1137 no_create=yes ;;
1139 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1140 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1141 no_recursion=yes ;;
1143 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1144 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1145 | --oldin | --oldi | --old | --ol | --o)
1146 ac_prev=oldincludedir ;;
1147 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1148 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1149 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1150 oldincludedir=$ac_optarg ;;
1152 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1153 ac_prev=prefix ;;
1154 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1155 prefix=$ac_optarg ;;
1157 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1158 | --program-pre | --program-pr | --program-p)
1159 ac_prev=program_prefix ;;
1160 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1161 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1162 program_prefix=$ac_optarg ;;
1164 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1165 | --program-suf | --program-su | --program-s)
1166 ac_prev=program_suffix ;;
1167 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1168 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1169 program_suffix=$ac_optarg ;;
1171 -program-transform-name | --program-transform-name \
1172 | --program-transform-nam | --program-transform-na \
1173 | --program-transform-n | --program-transform- \
1174 | --program-transform | --program-transfor \
1175 | --program-transfo | --program-transf \
1176 | --program-trans | --program-tran \
1177 | --progr-tra | --program-tr | --program-t)
1178 ac_prev=program_transform_name ;;
1179 -program-transform-name=* | --program-transform-name=* \
1180 | --program-transform-nam=* | --program-transform-na=* \
1181 | --program-transform-n=* | --program-transform-=* \
1182 | --program-transform=* | --program-transfor=* \
1183 | --program-transfo=* | --program-transf=* \
1184 | --program-trans=* | --program-tran=* \
1185 | --progr-tra=* | --program-tr=* | --program-t=*)
1186 program_transform_name=$ac_optarg ;;
1188 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1189 ac_prev=pdfdir ;;
1190 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1191 pdfdir=$ac_optarg ;;
1193 -psdir | --psdir | --psdi | --psd | --ps)
1194 ac_prev=psdir ;;
1195 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1196 psdir=$ac_optarg ;;
1198 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1199 | -silent | --silent | --silen | --sile | --sil)
1200 silent=yes ;;
1202 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1203 ac_prev=sbindir ;;
1204 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1205 | --sbi=* | --sb=*)
1206 sbindir=$ac_optarg ;;
1208 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1209 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1210 | --sharedst | --shareds | --shared | --share | --shar \
1211 | --sha | --sh)
1212 ac_prev=sharedstatedir ;;
1213 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1214 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1215 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1216 | --sha=* | --sh=*)
1217 sharedstatedir=$ac_optarg ;;
1219 -site | --site | --sit)
1220 ac_prev=site ;;
1221 -site=* | --site=* | --sit=*)
1222 site=$ac_optarg ;;
1224 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1225 ac_prev=srcdir ;;
1226 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1227 srcdir=$ac_optarg ;;
1229 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1230 | --syscon | --sysco | --sysc | --sys | --sy)
1231 ac_prev=sysconfdir ;;
1232 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1233 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1234 sysconfdir=$ac_optarg ;;
1236 -target | --target | --targe | --targ | --tar | --ta | --t)
1237 ac_prev=target_alias ;;
1238 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1239 target_alias=$ac_optarg ;;
1241 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1242 verbose=yes ;;
1244 -version | --version | --versio | --versi | --vers | -V)
1245 ac_init_version=: ;;
1247 -with-* | --with-*)
1248 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1249 # Reject names that are not valid shell variable names.
1250 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1251 as_fn_error "invalid package name: $ac_useropt"
1252 ac_useropt_orig=$ac_useropt
1253 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1254 case $ac_user_opts in
1256 "with_$ac_useropt"
1257 "*) ;;
1258 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1259 ac_unrecognized_sep=', ';;
1260 esac
1261 eval with_$ac_useropt=\$ac_optarg ;;
1263 -without-* | --without-*)
1264 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1265 # Reject names that are not valid shell variable names.
1266 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1267 as_fn_error "invalid package name: $ac_useropt"
1268 ac_useropt_orig=$ac_useropt
1269 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1270 case $ac_user_opts in
1272 "with_$ac_useropt"
1273 "*) ;;
1274 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1275 ac_unrecognized_sep=', ';;
1276 esac
1277 eval with_$ac_useropt=no ;;
1279 --x)
1280 # Obsolete; use --with-x.
1281 with_x=yes ;;
1283 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1284 | --x-incl | --x-inc | --x-in | --x-i)
1285 ac_prev=x_includes ;;
1286 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1287 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1288 x_includes=$ac_optarg ;;
1290 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1291 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1292 ac_prev=x_libraries ;;
1293 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1294 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1295 x_libraries=$ac_optarg ;;
1297 -*) as_fn_error "unrecognized option: \`$ac_option'
1298 Try \`$0 --help' for more information."
1301 *=*)
1302 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1303 # Reject names that are not valid shell variable names.
1304 case $ac_envvar in #(
1305 '' | [0-9]* | *[!_$as_cr_alnum]* )
1306 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1307 esac
1308 eval $ac_envvar=\$ac_optarg
1309 export $ac_envvar ;;
1312 # FIXME: should be removed in autoconf 3.0.
1313 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1314 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1315 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1316 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1319 esac
1320 done
1322 if test -n "$ac_prev"; then
1323 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1324 as_fn_error "missing argument to $ac_option"
1327 if test -n "$ac_unrecognized_opts"; then
1328 case $enable_option_checking in
1329 no) ;;
1330 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1331 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1332 esac
1335 # Check all directory arguments for consistency.
1336 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1337 datadir sysconfdir sharedstatedir localstatedir includedir \
1338 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1339 libdir localedir mandir
1341 eval ac_val=\$$ac_var
1342 # Remove trailing slashes.
1343 case $ac_val in
1344 */ )
1345 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1346 eval $ac_var=\$ac_val;;
1347 esac
1348 # Be sure to have absolute directory names.
1349 case $ac_val in
1350 [\\/$]* | ?:[\\/]* ) continue;;
1351 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1352 esac
1353 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1354 done
1356 # There might be people who depend on the old broken behavior: `$host'
1357 # used to hold the argument of --host etc.
1358 # FIXME: To remove some day.
1359 build=$build_alias
1360 host=$host_alias
1361 target=$target_alias
1363 # FIXME: To remove some day.
1364 if test "x$host_alias" != x; then
1365 if test "x$build_alias" = x; then
1366 cross_compiling=maybe
1367 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1368 If a cross compiler is detected then cross compile mode will be used." >&2
1369 elif test "x$build_alias" != "x$host_alias"; then
1370 cross_compiling=yes
1374 ac_tool_prefix=
1375 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1377 test "$silent" = yes && exec 6>/dev/null
1380 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1381 ac_ls_di=`ls -di .` &&
1382 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1383 as_fn_error "working directory cannot be determined"
1384 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1385 as_fn_error "pwd does not report name of working directory"
1388 # Find the source files, if location was not specified.
1389 if test -z "$srcdir"; then
1390 ac_srcdir_defaulted=yes
1391 # Try the directory containing this script, then the parent directory.
1392 ac_confdir=`$as_dirname -- "$as_myself" ||
1393 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1394 X"$as_myself" : 'X\(//\)[^/]' \| \
1395 X"$as_myself" : 'X\(//\)$' \| \
1396 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1397 $as_echo X"$as_myself" |
1398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1399 s//\1/
1402 /^X\(\/\/\)[^/].*/{
1403 s//\1/
1406 /^X\(\/\/\)$/{
1407 s//\1/
1410 /^X\(\/\).*/{
1411 s//\1/
1414 s/.*/./; q'`
1415 srcdir=$ac_confdir
1416 if test ! -r "$srcdir/$ac_unique_file"; then
1417 srcdir=..
1419 else
1420 ac_srcdir_defaulted=no
1422 if test ! -r "$srcdir/$ac_unique_file"; then
1423 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1424 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1426 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1427 ac_abs_confdir=`(
1428 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1429 pwd)`
1430 # When building in place, set srcdir=.
1431 if test "$ac_abs_confdir" = "$ac_pwd"; then
1432 srcdir=.
1434 # Remove unnecessary trailing slashes from srcdir.
1435 # Double slashes in file names in object file debugging info
1436 # mess up M-x gdb in Emacs.
1437 case $srcdir in
1438 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1439 esac
1440 for ac_var in $ac_precious_vars; do
1441 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1442 eval ac_env_${ac_var}_value=\$${ac_var}
1443 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1444 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1445 done
1448 # Report the --help message.
1450 if test "$ac_init_help" = "long"; then
1451 # Omit some internal or obsolete options to make the list less imposing.
1452 # This message is too long to be a string in the A/UX 3.1 sh.
1453 cat <<_ACEOF
1454 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1456 Usage: $0 [OPTION]... [VAR=VALUE]...
1458 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1459 VAR=VALUE. See below for descriptions of some of the useful variables.
1461 Defaults for the options are specified in brackets.
1463 Configuration:
1464 -h, --help display this help and exit
1465 --help=short display options specific to this package
1466 --help=recursive display the short help of all the included packages
1467 -V, --version display version information and exit
1468 -q, --quiet, --silent do not print \`checking...' messages
1469 --cache-file=FILE cache test results in FILE [disabled]
1470 -C, --config-cache alias for \`--cache-file=config.cache'
1471 -n, --no-create do not create output files
1472 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1474 Installation directories:
1475 --prefix=PREFIX install architecture-independent files in PREFIX
1476 [$ac_default_prefix]
1477 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1478 [PREFIX]
1480 By default, \`make install' will install all the files in
1481 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1482 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1483 for instance \`--prefix=\$HOME'.
1485 For better control, use the options below.
1487 Fine tuning of the installation directories:
1488 --bindir=DIR user executables [EPREFIX/bin]
1489 --sbindir=DIR system admin executables [EPREFIX/sbin]
1490 --libexecdir=DIR program executables [EPREFIX/libexec]
1491 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1492 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1493 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1494 --libdir=DIR object code libraries [EPREFIX/lib]
1495 --includedir=DIR C header files [PREFIX/include]
1496 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1497 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1498 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1499 --infodir=DIR info documentation [DATAROOTDIR/info]
1500 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1501 --mandir=DIR man documentation [DATAROOTDIR/man]
1502 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1503 --htmldir=DIR html documentation [DOCDIR]
1504 --dvidir=DIR dvi documentation [DOCDIR]
1505 --pdfdir=DIR pdf documentation [DOCDIR]
1506 --psdir=DIR ps documentation [DOCDIR]
1507 _ACEOF
1509 cat <<\_ACEOF
1511 Program names:
1512 --program-prefix=PREFIX prepend PREFIX to installed program names
1513 --program-suffix=SUFFIX append SUFFIX to installed program names
1514 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1516 System types:
1517 --build=BUILD configure for building on BUILD [guessed]
1518 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1519 --target=TARGET configure for building compilers for TARGET [HOST]
1520 _ACEOF
1523 if test -n "$ac_init_help"; then
1524 case $ac_init_help in
1525 short | recursive ) echo "Configuration of package-unused version-unused:";;
1526 esac
1527 cat <<\_ACEOF
1529 Optional Features:
1530 --disable-option-checking ignore unrecognized --enable/--with options
1531 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1532 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1533 --enable-multilib build many library versions (default)
1534 --enable-maintainer-mode enable make rules and dependencies not useful
1535 (and sometimes confusing) to the casual installer
1536 --enable-shared[=PKGS] build shared libraries [default=yes]
1537 --enable-static[=PKGS] build static libraries [default=yes]
1538 --enable-fast-install[=PKGS]
1539 optimize for fast installation [default=yes]
1540 --disable-libtool-lock avoid locking (might break parallel builds)
1541 --disable-hosted-libstdcxx
1542 only build freestanding C++ runtime support
1543 --disable-libstdcxx-verbose
1544 disable termination messages to standard error
1545 --enable-sjlj-exceptions
1546 force use of builtin_setjmp for exceptions
1547 [default=auto]
1548 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1549 [default=$is_hosted]
1550 --enable-cstdio[=PACKAGE]
1551 use target-specific I/O package [default=stdio]
1552 --enable-clocale[=MODEL]
1553 use MODEL for target locale package [default=auto]
1554 --enable-nls use Native Language Support (default)
1555 --enable-libstdcxx-allocator[=KIND]
1556 use KIND for target std::allocator base
1557 [default=auto]
1558 --enable-cheaders[=KIND]
1559 construct "C" headers for g++ [default=$c_model]
1560 --enable-long-long enable template specializations for 'long long'
1561 [default=yes]
1562 --enable-wchar_t enable template specializations for 'wchar_t'
1563 [default=yes]
1564 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1565 --enable-concept-checks use Boost-derived template checks [default=no]
1566 --enable-libstdcxx-debug-flags=FLAGS
1567 pass compiler FLAGS when building debug library
1568 [default="-gdwarf-4 -g3 -O0"]
1569 --enable-libstdcxx-debug
1570 build extra debug library [default=no]
1571 --enable-cxx-flags=FLAGS
1572 pass compiler FLAGS when building library [default=]
1573 --enable-fully-dynamic-string
1574 do not put empty strings in per-process static
1575 memory [default=no]
1576 --enable-extern-template
1577 enable extern template [default=yes]
1578 --enable-werror turns on -Werror [default=yes]
1579 --enable-vtable-verify enable vtable verify [default=no]
1580 --enable-libstdcxx-time[=KIND]
1581 use KIND for check type [default=auto]
1582 --enable-tls Use thread-local storage [default=yes]
1583 --disable-rpath do not hardcode runtime library paths
1584 --enable-linux-futex use the Linux futex system call [default=default]
1585 --enable-symvers[=STYLE]
1586 enables symbol versioning of the shared library
1587 [default=yes]
1588 --enable-libstdcxx-visibility
1589 enables visibility safe usage [default=yes]
1590 --enable-libstdcxx-dual-abi
1591 support two versions of std::string [default=yes]
1592 --enable-libstdcxx-threads
1593 enable C++11 threads support [default=auto]
1594 --enable-libstdcxx-filesystem-ts
1595 turns on ISO/IEC TS 18822 support [default=auto]
1596 --enable-version-specific-runtime-libs
1597 Specify that runtime libraries should be installed
1598 in a compiler-specific directory
1600 Optional Packages:
1601 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1602 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1603 --with-target-subdir=SUBDIR
1604 configuring in a subdirectory
1605 --with-cross-host=HOST configuring with a cross compiler
1606 --with-newlib assume newlib as a system C library
1607 --with-pic try to use only PIC/non-PIC objects [default=use
1608 both]
1609 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1610 --with-python-dir the location to install Python modules. This path is
1611 relative starting from the prefix.
1612 --with-gnu-ld assume the C compiler uses GNU ld default=no
1613 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1614 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1615 --with-system-libunwind use installed libunwind
1616 --with-default-libstdcxx-abi
1617 set the std::string ABI to use by default
1618 --with-gxx-include-dir=DIR
1619 installation directory for include files
1621 Some influential environment variables:
1622 CC C compiler command
1623 CFLAGS C compiler flags
1624 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1625 nonstandard directory <lib dir>
1626 LIBS libraries to pass to the linker, e.g. -l<library>
1627 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1628 you have headers in a nonstandard directory <include dir>
1629 CXX C++ compiler command
1630 CXXFLAGS C++ compiler flags
1631 CPP C preprocessor
1632 CXXCPP C++ preprocessor
1633 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1634 `c++filt', `gc++filt' on PATH.
1636 Use these variables to override the choices made by `configure' or to help
1637 it to find libraries and programs with nonstandard names/locations.
1639 Report bugs to the package provider.
1640 _ACEOF
1641 ac_status=$?
1644 if test "$ac_init_help" = "recursive"; then
1645 # If there are subdirs, report their specific --help.
1646 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1647 test -d "$ac_dir" ||
1648 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1649 continue
1650 ac_builddir=.
1652 case "$ac_dir" in
1653 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1656 # A ".." for each directory in $ac_dir_suffix.
1657 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1658 case $ac_top_builddir_sub in
1659 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1660 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1661 esac ;;
1662 esac
1663 ac_abs_top_builddir=$ac_pwd
1664 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1665 # for backward compatibility:
1666 ac_top_builddir=$ac_top_build_prefix
1668 case $srcdir in
1669 .) # We are building in place.
1670 ac_srcdir=.
1671 ac_top_srcdir=$ac_top_builddir_sub
1672 ac_abs_top_srcdir=$ac_pwd ;;
1673 [\\/]* | ?:[\\/]* ) # Absolute name.
1674 ac_srcdir=$srcdir$ac_dir_suffix;
1675 ac_top_srcdir=$srcdir
1676 ac_abs_top_srcdir=$srcdir ;;
1677 *) # Relative name.
1678 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1679 ac_top_srcdir=$ac_top_build_prefix$srcdir
1680 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1681 esac
1682 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1684 cd "$ac_dir" || { ac_status=$?; continue; }
1685 # Check for guested configure.
1686 if test -f "$ac_srcdir/configure.gnu"; then
1687 echo &&
1688 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1689 elif test -f "$ac_srcdir/configure"; then
1690 echo &&
1691 $SHELL "$ac_srcdir/configure" --help=recursive
1692 else
1693 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1694 fi || ac_status=$?
1695 cd "$ac_pwd" || { ac_status=$?; break; }
1696 done
1699 test -n "$ac_init_help" && exit $ac_status
1700 if $ac_init_version; then
1701 cat <<\_ACEOF
1702 package-unused configure version-unused
1703 generated by GNU Autoconf 2.64
1705 Copyright (C) 2009 Free Software Foundation, Inc.
1706 This configure script is free software; the Free Software Foundation
1707 gives unlimited permission to copy, distribute and modify it.
1708 _ACEOF
1709 exit
1712 ## ------------------------ ##
1713 ## Autoconf initialization. ##
1714 ## ------------------------ ##
1716 # ac_fn_c_try_compile LINENO
1717 # --------------------------
1718 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1719 ac_fn_c_try_compile ()
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 rm -f conftest.$ac_objext
1723 if { { ac_try="$ac_compile"
1724 case "(($ac_try" in
1725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1727 esac
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_compile") 2>conftest.err
1731 ac_status=$?
1732 if test -s conftest.err; then
1733 grep -v '^ *+' conftest.err >conftest.er1
1734 cat conftest.er1 >&5
1735 mv -f conftest.er1 conftest.err
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; } && {
1739 test -z "$ac_c_werror_flag" ||
1740 test ! -s conftest.err
1741 } && test -s conftest.$ac_objext; then :
1742 ac_retval=0
1743 else
1744 $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.$ac_ext >&5
1747 ac_retval=1
1749 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1750 return $ac_retval
1752 } # ac_fn_c_try_compile
1754 # ac_fn_cxx_try_compile LINENO
1755 # ----------------------------
1756 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1757 ac_fn_cxx_try_compile ()
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 rm -f conftest.$ac_objext
1761 if { { ac_try="$ac_compile"
1762 case "(($ac_try" in
1763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1765 esac
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_compile") 2>conftest.err
1769 ac_status=$?
1770 if test -s conftest.err; then
1771 grep -v '^ *+' conftest.err >conftest.er1
1772 cat conftest.er1 >&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } && {
1777 test -z "$ac_cxx_werror_flag" ||
1778 test ! -s conftest.err
1779 } && test -s conftest.$ac_objext; then :
1780 ac_retval=0
1781 else
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1785 ac_retval=1
1787 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1788 return $ac_retval
1790 } # ac_fn_cxx_try_compile
1792 # ac_fn_c_try_cpp LINENO
1793 # ----------------------
1794 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1795 ac_fn_c_try_cpp ()
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if { { ac_try="$ac_cpp conftest.$ac_ext"
1799 case "(($ac_try" in
1800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1802 esac
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1806 ac_status=$?
1807 if test -s conftest.err; then
1808 grep -v '^ *+' conftest.err >conftest.er1
1809 cat conftest.er1 >&5
1810 mv -f conftest.er1 conftest.err
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } >/dev/null && {
1814 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1815 test ! -s conftest.err
1816 }; then :
1817 ac_retval=0
1818 else
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1822 ac_retval=1
1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1825 return $ac_retval
1827 } # ac_fn_c_try_cpp
1829 # ac_fn_c_try_link LINENO
1830 # -----------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded.
1832 ac_fn_c_try_link ()
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 rm -f conftest.$ac_objext conftest$ac_exeext
1836 if { { ac_try="$ac_link"
1837 case "(($ac_try" in
1838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1839 *) ac_try_echo=$ac_try;;
1840 esac
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_link") 2>conftest.err
1844 ac_status=$?
1845 if test -s conftest.err; then
1846 grep -v '^ *+' conftest.err >conftest.er1
1847 cat conftest.er1 >&5
1848 mv -f conftest.er1 conftest.err
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; } && {
1852 test -z "$ac_c_werror_flag" ||
1853 test ! -s conftest.err
1854 } && test -s conftest$ac_exeext && {
1855 test "$cross_compiling" = yes ||
1856 $as_test_x conftest$ac_exeext
1857 }; then :
1858 ac_retval=0
1859 else
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1863 ac_retval=1
1865 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1866 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1867 # interfere with the next link command; also delete a directory that is
1868 # left behind by Apple's compiler. We do this before executing the actions.
1869 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1871 return $ac_retval
1873 } # ac_fn_c_try_link
1875 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1876 # -------------------------------------------------------
1877 # Tests whether HEADER exists and can be compiled using the include files in
1878 # INCLUDES, setting the cache variable VAR accordingly.
1879 ac_fn_c_check_header_compile ()
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1883 $as_echo_n "checking for $2... " >&6; }
1884 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1885 $as_echo_n "(cached) " >&6
1886 else
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1890 #include <$2>
1891 _ACEOF
1892 if ac_fn_c_try_compile "$LINENO"; then :
1893 eval "$3=yes"
1894 else
1895 eval "$3=no"
1897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899 eval ac_res=\$$3
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901 $as_echo "$ac_res" >&6; }
1902 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1904 } # ac_fn_c_check_header_compile
1906 # ac_fn_c_try_run LINENO
1907 # ----------------------
1908 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1909 # that executables *can* be run.
1910 ac_fn_c_try_run ()
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 if { { ac_try="$ac_link"
1914 case "(($ac_try" in
1915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1916 *) ac_try_echo=$ac_try;;
1917 esac
1918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1919 $as_echo "$ac_try_echo"; } >&5
1920 (eval "$ac_link") 2>&5
1921 ac_status=$?
1922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1923 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1924 { { case "(($ac_try" in
1925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1926 *) ac_try_echo=$ac_try;;
1927 esac
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_try") 2>&5
1931 ac_status=$?
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; }; }; then :
1934 ac_retval=0
1935 else
1936 $as_echo "$as_me: program exited with status $ac_status" >&5
1937 $as_echo "$as_me: failed program was:" >&5
1938 sed 's/^/| /' conftest.$ac_ext >&5
1940 ac_retval=$ac_status
1942 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1943 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1944 return $ac_retval
1946 } # ac_fn_c_try_run
1948 # ac_fn_c_check_func LINENO FUNC VAR
1949 # ----------------------------------
1950 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1951 ac_fn_c_check_func ()
1953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1955 $as_echo_n "checking for $2... " >&6; }
1956 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1957 $as_echo_n "(cached) " >&6
1958 else
1959 if test x$gcc_no_link = xyes; then
1960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963 /* end confdefs.h. */
1964 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1966 #define $2 innocuous_$2
1968 /* System header to define __stub macros and hopefully few prototypes,
1969 which can conflict with char $2 (); below.
1970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1971 <limits.h> exists even on freestanding compilers. */
1973 #ifdef __STDC__
1974 # include <limits.h>
1975 #else
1976 # include <assert.h>
1977 #endif
1979 #undef $2
1981 /* Override any GCC internal prototype to avoid an error.
1982 Use char because int might match the return type of a GCC
1983 builtin and then its argument prototype would still apply. */
1984 #ifdef __cplusplus
1985 extern "C"
1986 #endif
1987 char $2 ();
1988 /* The GNU C library defines this for functions which it implements
1989 to always fail with ENOSYS. Some functions are actually named
1990 something starting with __ and the normal name is an alias. */
1991 #if defined __stub_$2 || defined __stub___$2
1992 choke me
1993 #endif
1996 main ()
1998 return $2 ();
2000 return 0;
2002 _ACEOF
2003 if ac_fn_c_try_link "$LINENO"; then :
2004 eval "$3=yes"
2005 else
2006 eval "$3=no"
2008 rm -f core conftest.err conftest.$ac_objext \
2009 conftest$ac_exeext conftest.$ac_ext
2011 eval ac_res=\$$3
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2014 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2016 } # ac_fn_c_check_func
2018 # ac_fn_cxx_try_cpp LINENO
2019 # ------------------------
2020 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2021 ac_fn_cxx_try_cpp ()
2023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024 if { { ac_try="$ac_cpp conftest.$ac_ext"
2025 case "(($ac_try" in
2026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2027 *) ac_try_echo=$ac_try;;
2028 esac
2029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2030 $as_echo "$ac_try_echo"; } >&5
2031 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2032 ac_status=$?
2033 if test -s conftest.err; then
2034 grep -v '^ *+' conftest.err >conftest.er1
2035 cat conftest.er1 >&5
2036 mv -f conftest.er1 conftest.err
2038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2039 test $ac_status = 0; } >/dev/null && {
2040 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2041 test ! -s conftest.err
2042 }; then :
2043 ac_retval=0
2044 else
2045 $as_echo "$as_me: failed program was:" >&5
2046 sed 's/^/| /' conftest.$ac_ext >&5
2048 ac_retval=1
2050 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2051 return $ac_retval
2053 } # ac_fn_cxx_try_cpp
2055 # ac_fn_cxx_try_link LINENO
2056 # -------------------------
2057 # Try to link conftest.$ac_ext, and return whether this succeeded.
2058 ac_fn_cxx_try_link ()
2060 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2061 rm -f conftest.$ac_objext conftest$ac_exeext
2062 if { { ac_try="$ac_link"
2063 case "(($ac_try" in
2064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2065 *) ac_try_echo=$ac_try;;
2066 esac
2067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2068 $as_echo "$ac_try_echo"; } >&5
2069 (eval "$ac_link") 2>conftest.err
2070 ac_status=$?
2071 if test -s conftest.err; then
2072 grep -v '^ *+' conftest.err >conftest.er1
2073 cat conftest.er1 >&5
2074 mv -f conftest.er1 conftest.err
2076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2077 test $ac_status = 0; } && {
2078 test -z "$ac_cxx_werror_flag" ||
2079 test ! -s conftest.err
2080 } && test -s conftest$ac_exeext && {
2081 test "$cross_compiling" = yes ||
2082 $as_test_x conftest$ac_exeext
2083 }; then :
2084 ac_retval=0
2085 else
2086 $as_echo "$as_me: failed program was:" >&5
2087 sed 's/^/| /' conftest.$ac_ext >&5
2089 ac_retval=1
2091 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2092 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2093 # interfere with the next link command; also delete a directory that is
2094 # left behind by Apple's compiler. We do this before executing the actions.
2095 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2096 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2097 return $ac_retval
2099 } # ac_fn_cxx_try_link
2101 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2102 # -------------------------------------------------------
2103 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2104 # the include files in INCLUDES and setting the cache variable VAR
2105 # accordingly.
2106 ac_fn_c_check_header_mongrel ()
2108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2109 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2111 $as_echo_n "checking for $2... " >&6; }
2112 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2113 $as_echo_n "(cached) " >&6
2115 eval ac_res=\$$3
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2117 $as_echo "$ac_res" >&6; }
2118 else
2119 # Is the header compilable?
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2121 $as_echo_n "checking $2 usability... " >&6; }
2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2123 /* end confdefs.h. */
2125 #include <$2>
2126 _ACEOF
2127 if ac_fn_c_try_compile "$LINENO"; then :
2128 ac_header_compiler=yes
2129 else
2130 ac_header_compiler=no
2132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2134 $as_echo "$ac_header_compiler" >&6; }
2136 # Is the header present?
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2138 $as_echo_n "checking $2 presence... " >&6; }
2139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2140 /* end confdefs.h. */
2141 #include <$2>
2142 _ACEOF
2143 if ac_fn_c_try_cpp "$LINENO"; then :
2144 ac_header_preproc=yes
2145 else
2146 ac_header_preproc=no
2148 rm -f conftest.err conftest.$ac_ext
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2150 $as_echo "$ac_header_preproc" >&6; }
2152 # So? What about this header?
2153 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2154 yes:no: )
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2156 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2158 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2160 no:yes:* )
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2162 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2164 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2166 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2168 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2170 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2172 esac
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2174 $as_echo_n "checking for $2... " >&6; }
2175 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2176 $as_echo_n "(cached) " >&6
2177 else
2178 eval "$3=\$ac_header_compiler"
2180 eval ac_res=\$$3
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2182 $as_echo "$ac_res" >&6; }
2184 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2186 } # ac_fn_c_check_header_mongrel
2188 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2189 # ---------------------------------------------------------
2190 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2191 # the include files in INCLUDES and setting the cache variable VAR
2192 # accordingly.
2193 ac_fn_cxx_check_header_mongrel ()
2195 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2196 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2198 $as_echo_n "checking for $2... " >&6; }
2199 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2200 $as_echo_n "(cached) " >&6
2202 eval ac_res=\$$3
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2204 $as_echo "$ac_res" >&6; }
2205 else
2206 # Is the header compilable?
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2208 $as_echo_n "checking $2 usability... " >&6; }
2209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210 /* end confdefs.h. */
2212 #include <$2>
2213 _ACEOF
2214 if ac_fn_cxx_try_compile "$LINENO"; then :
2215 ac_header_compiler=yes
2216 else
2217 ac_header_compiler=no
2219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2221 $as_echo "$ac_header_compiler" >&6; }
2223 # Is the header present?
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2225 $as_echo_n "checking $2 presence... " >&6; }
2226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2227 /* end confdefs.h. */
2228 #include <$2>
2229 _ACEOF
2230 if ac_fn_cxx_try_cpp "$LINENO"; then :
2231 ac_header_preproc=yes
2232 else
2233 ac_header_preproc=no
2235 rm -f conftest.err conftest.$ac_ext
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2237 $as_echo "$ac_header_preproc" >&6; }
2239 # So? What about this header?
2240 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2241 yes:no: )
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2243 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2245 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2247 no:yes:* )
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2249 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2251 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2253 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2255 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2257 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2259 esac
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2261 $as_echo_n "checking for $2... " >&6; }
2262 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2263 $as_echo_n "(cached) " >&6
2264 else
2265 eval "$3=\$ac_header_compiler"
2267 eval ac_res=\$$3
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2269 $as_echo "$ac_res" >&6; }
2271 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2273 } # ac_fn_cxx_check_header_mongrel
2275 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2276 # --------------------------------------------
2277 # Tries to find the compile-time value of EXPR in a program that includes
2278 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2279 # computed
2280 ac_fn_c_compute_int ()
2282 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2283 if test "$cross_compiling" = yes; then
2284 # Depending upon the size, compute the lo and hi bounds.
2285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h. */
2289 main ()
2291 static int test_array [1 - 2 * !(($2) >= 0)];
2292 test_array [0] = 0
2295 return 0;
2297 _ACEOF
2298 if ac_fn_c_try_compile "$LINENO"; then :
2299 ac_lo=0 ac_mid=0
2300 while :; do
2301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h. */
2305 main ()
2307 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2308 test_array [0] = 0
2311 return 0;
2313 _ACEOF
2314 if ac_fn_c_try_compile "$LINENO"; then :
2315 ac_hi=$ac_mid; break
2316 else
2317 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2318 if test $ac_lo -le $ac_mid; then
2319 ac_lo= ac_hi=
2320 break
2322 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325 done
2326 else
2327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2328 /* end confdefs.h. */
2331 main ()
2333 static int test_array [1 - 2 * !(($2) < 0)];
2334 test_array [0] = 0
2337 return 0;
2339 _ACEOF
2340 if ac_fn_c_try_compile "$LINENO"; then :
2341 ac_hi=-1 ac_mid=-1
2342 while :; do
2343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2344 /* end confdefs.h. */
2347 main ()
2349 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2350 test_array [0] = 0
2353 return 0;
2355 _ACEOF
2356 if ac_fn_c_try_compile "$LINENO"; then :
2357 ac_lo=$ac_mid; break
2358 else
2359 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2360 if test $ac_mid -le $ac_hi; then
2361 ac_lo= ac_hi=
2362 break
2364 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2367 done
2368 else
2369 ac_lo= ac_hi=
2371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2374 # Binary search between lo and hi bounds.
2375 while test "x$ac_lo" != "x$ac_hi"; do
2376 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2381 main ()
2383 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2384 test_array [0] = 0
2387 return 0;
2389 _ACEOF
2390 if ac_fn_c_try_compile "$LINENO"; then :
2391 ac_hi=$ac_mid
2392 else
2393 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396 done
2397 case $ac_lo in #((
2398 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2399 '') ac_retval=1 ;;
2400 esac
2401 else
2402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2403 /* end confdefs.h. */
2405 static long int longval () { return $2; }
2406 static unsigned long int ulongval () { return $2; }
2407 #include <stdio.h>
2408 #include <stdlib.h>
2410 main ()
2413 FILE *f = fopen ("conftest.val", "w");
2414 if (! f)
2415 return 1;
2416 if (($2) < 0)
2418 long int i = longval ();
2419 if (i != ($2))
2420 return 1;
2421 fprintf (f, "%ld", i);
2423 else
2425 unsigned long int i = ulongval ();
2426 if (i != ($2))
2427 return 1;
2428 fprintf (f, "%lu", i);
2430 /* Do not output a trailing newline, as this causes \r\n confusion
2431 on some platforms. */
2432 return ferror (f) || fclose (f) != 0;
2435 return 0;
2437 _ACEOF
2438 if ac_fn_c_try_run "$LINENO"; then :
2439 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2440 else
2441 ac_retval=1
2443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2444 conftest.$ac_objext conftest.beam conftest.$ac_ext
2445 rm -f conftest.val
2448 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2449 return $ac_retval
2451 } # ac_fn_c_compute_int
2453 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2454 # -------------------------------------------
2455 # Tests whether TYPE exists after having included INCLUDES, setting cache
2456 # variable VAR accordingly.
2457 ac_fn_c_check_type ()
2459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2461 $as_echo_n "checking for $2... " >&6; }
2462 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2463 $as_echo_n "(cached) " >&6
2464 else
2465 eval "$3=no"
2466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2467 /* end confdefs.h. */
2470 main ()
2472 if (sizeof ($2))
2473 return 0;
2475 return 0;
2477 _ACEOF
2478 if ac_fn_c_try_compile "$LINENO"; then :
2479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2480 /* end confdefs.h. */
2483 main ()
2485 if (sizeof (($2)))
2486 return 0;
2488 return 0;
2490 _ACEOF
2491 if ac_fn_c_try_compile "$LINENO"; then :
2493 else
2494 eval "$3=yes"
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2500 eval ac_res=\$$3
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2502 $as_echo "$ac_res" >&6; }
2503 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2505 } # ac_fn_c_check_type
2507 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2508 # ---------------------------------------------
2509 # Tests whether TYPE exists after having included INCLUDES, setting cache
2510 # variable VAR accordingly.
2511 ac_fn_cxx_check_type ()
2513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2515 $as_echo_n "checking for $2... " >&6; }
2516 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2517 $as_echo_n "(cached) " >&6
2518 else
2519 eval "$3=no"
2520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2521 /* end confdefs.h. */
2524 main ()
2526 if (sizeof ($2))
2527 return 0;
2529 return 0;
2531 _ACEOF
2532 if ac_fn_cxx_try_compile "$LINENO"; then :
2533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2534 /* end confdefs.h. */
2537 main ()
2539 if (sizeof (($2)))
2540 return 0;
2542 return 0;
2544 _ACEOF
2545 if ac_fn_cxx_try_compile "$LINENO"; then :
2547 else
2548 eval "$3=yes"
2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2554 eval ac_res=\$$3
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2556 $as_echo "$ac_res" >&6; }
2557 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2559 } # ac_fn_cxx_check_type
2561 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2562 # ----------------------------------------------------
2563 # Tries to find if the field MEMBER exists in type AGGR, after including
2564 # INCLUDES, setting cache variable VAR accordingly.
2565 ac_fn_c_check_member ()
2567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2569 $as_echo_n "checking for $2.$3... " >&6; }
2570 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2571 $as_echo_n "(cached) " >&6
2572 else
2573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2574 /* end confdefs.h. */
2577 main ()
2579 static $2 ac_aggr;
2580 if (ac_aggr.$3)
2581 return 0;
2583 return 0;
2585 _ACEOF
2586 if ac_fn_c_try_compile "$LINENO"; then :
2587 eval "$4=yes"
2588 else
2589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2590 /* end confdefs.h. */
2593 main ()
2595 static $2 ac_aggr;
2596 if (sizeof ac_aggr.$3)
2597 return 0;
2599 return 0;
2601 _ACEOF
2602 if ac_fn_c_try_compile "$LINENO"; then :
2603 eval "$4=yes"
2604 else
2605 eval "$4=no"
2607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2611 eval ac_res=\$$4
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2613 $as_echo "$ac_res" >&6; }
2614 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2616 } # ac_fn_c_check_member
2617 cat >config.log <<_ACEOF
2618 This file contains any messages produced by compilers while
2619 running configure, to aid debugging if configure makes a mistake.
2621 It was created by package-unused $as_me version-unused, which was
2622 generated by GNU Autoconf 2.64. Invocation command line was
2624 $ $0 $@
2626 _ACEOF
2627 exec 5>>config.log
2629 cat <<_ASUNAME
2630 ## --------- ##
2631 ## Platform. ##
2632 ## --------- ##
2634 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2635 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2636 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2637 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2638 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2640 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2641 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2643 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2644 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2645 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2646 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2647 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2648 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2649 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2651 _ASUNAME
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 for as_dir in $PATH
2656 IFS=$as_save_IFS
2657 test -z "$as_dir" && as_dir=.
2658 $as_echo "PATH: $as_dir"
2659 done
2660 IFS=$as_save_IFS
2662 } >&5
2664 cat >&5 <<_ACEOF
2667 ## ----------- ##
2668 ## Core tests. ##
2669 ## ----------- ##
2671 _ACEOF
2674 # Keep a trace of the command line.
2675 # Strip out --no-create and --no-recursion so they do not pile up.
2676 # Strip out --silent because we don't want to record it for future runs.
2677 # Also quote any args containing shell meta-characters.
2678 # Make two passes to allow for proper duplicate-argument suppression.
2679 ac_configure_args=
2680 ac_configure_args0=
2681 ac_configure_args1=
2682 ac_must_keep_next=false
2683 for ac_pass in 1 2
2685 for ac_arg
2687 case $ac_arg in
2688 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2689 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2690 | -silent | --silent | --silen | --sile | --sil)
2691 continue ;;
2692 *\'*)
2693 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2694 esac
2695 case $ac_pass in
2696 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2698 as_fn_append ac_configure_args1 " '$ac_arg'"
2699 if test $ac_must_keep_next = true; then
2700 ac_must_keep_next=false # Got value, back to normal.
2701 else
2702 case $ac_arg in
2703 *=* | --config-cache | -C | -disable-* | --disable-* \
2704 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2705 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2706 | -with-* | --with-* | -without-* | --without-* | --x)
2707 case "$ac_configure_args0 " in
2708 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2709 esac
2711 -* ) ac_must_keep_next=true ;;
2712 esac
2714 as_fn_append ac_configure_args " '$ac_arg'"
2716 esac
2717 done
2718 done
2719 { ac_configure_args0=; unset ac_configure_args0;}
2720 { ac_configure_args1=; unset ac_configure_args1;}
2722 # When interrupted or exit'd, cleanup temporary files, and complete
2723 # config.log. We remove comments because anyway the quotes in there
2724 # would cause problems or look ugly.
2725 # WARNING: Use '\'' to represent an apostrophe within the trap.
2726 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2727 trap 'exit_status=$?
2728 # Save into config.log some information that might help in debugging.
2730 echo
2732 cat <<\_ASBOX
2733 ## ---------------- ##
2734 ## Cache variables. ##
2735 ## ---------------- ##
2736 _ASBOX
2737 echo
2738 # The following way of writing the cache mishandles newlines in values,
2740 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2741 eval ac_val=\$$ac_var
2742 case $ac_val in #(
2743 *${as_nl}*)
2744 case $ac_var in #(
2745 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2746 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2747 esac
2748 case $ac_var in #(
2749 _ | IFS | as_nl) ;; #(
2750 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2751 *) { eval $ac_var=; unset $ac_var;} ;;
2752 esac ;;
2753 esac
2754 done
2755 (set) 2>&1 |
2756 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2757 *${as_nl}ac_space=\ *)
2758 sed -n \
2759 "s/'\''/'\''\\\\'\'''\''/g;
2760 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2761 ;; #(
2763 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2765 esac |
2766 sort
2768 echo
2770 cat <<\_ASBOX
2771 ## ----------------- ##
2772 ## Output variables. ##
2773 ## ----------------- ##
2774 _ASBOX
2775 echo
2776 for ac_var in $ac_subst_vars
2778 eval ac_val=\$$ac_var
2779 case $ac_val in
2780 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2781 esac
2782 $as_echo "$ac_var='\''$ac_val'\''"
2783 done | sort
2784 echo
2786 if test -n "$ac_subst_files"; then
2787 cat <<\_ASBOX
2788 ## ------------------- ##
2789 ## File substitutions. ##
2790 ## ------------------- ##
2791 _ASBOX
2792 echo
2793 for ac_var in $ac_subst_files
2795 eval ac_val=\$$ac_var
2796 case $ac_val in
2797 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2798 esac
2799 $as_echo "$ac_var='\''$ac_val'\''"
2800 done | sort
2801 echo
2804 if test -s confdefs.h; then
2805 cat <<\_ASBOX
2806 ## ----------- ##
2807 ## confdefs.h. ##
2808 ## ----------- ##
2809 _ASBOX
2810 echo
2811 cat confdefs.h
2812 echo
2814 test "$ac_signal" != 0 &&
2815 $as_echo "$as_me: caught signal $ac_signal"
2816 $as_echo "$as_me: exit $exit_status"
2817 } >&5
2818 rm -f core *.core core.conftest.* &&
2819 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2820 exit $exit_status
2822 for ac_signal in 1 2 13 15; do
2823 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2824 done
2825 ac_signal=0
2827 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2828 rm -f -r conftest* confdefs.h
2830 $as_echo "/* confdefs.h */" > confdefs.h
2832 # Predefined preprocessor variables.
2834 cat >>confdefs.h <<_ACEOF
2835 #define PACKAGE_NAME "$PACKAGE_NAME"
2836 _ACEOF
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2840 _ACEOF
2842 cat >>confdefs.h <<_ACEOF
2843 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2844 _ACEOF
2846 cat >>confdefs.h <<_ACEOF
2847 #define PACKAGE_STRING "$PACKAGE_STRING"
2848 _ACEOF
2850 cat >>confdefs.h <<_ACEOF
2851 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2852 _ACEOF
2854 cat >>confdefs.h <<_ACEOF
2855 #define PACKAGE_URL "$PACKAGE_URL"
2856 _ACEOF
2859 # Let the site file select an alternate cache file if it wants to.
2860 # Prefer an explicitly selected file to automatically selected ones.
2861 ac_site_file1=NONE
2862 ac_site_file2=NONE
2863 if test -n "$CONFIG_SITE"; then
2864 ac_site_file1=$CONFIG_SITE
2865 elif test "x$prefix" != xNONE; then
2866 ac_site_file1=$prefix/share/config.site
2867 ac_site_file2=$prefix/etc/config.site
2868 else
2869 ac_site_file1=$ac_default_prefix/share/config.site
2870 ac_site_file2=$ac_default_prefix/etc/config.site
2872 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2874 test "x$ac_site_file" = xNONE && continue
2875 if test -r "$ac_site_file"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2877 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2878 sed 's/^/| /' "$ac_site_file" >&5
2879 . "$ac_site_file"
2881 done
2883 if test -r "$cache_file"; then
2884 # Some versions of bash will fail to source /dev/null (special
2885 # files actually), so we avoid doing that.
2886 if test -f "$cache_file"; then
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2888 $as_echo "$as_me: loading cache $cache_file" >&6;}
2889 case $cache_file in
2890 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2891 *) . "./$cache_file";;
2892 esac
2894 else
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2896 $as_echo "$as_me: creating cache $cache_file" >&6;}
2897 >$cache_file
2900 # Check that the precious variables saved in the cache have kept the same
2901 # value.
2902 ac_cache_corrupted=false
2903 for ac_var in $ac_precious_vars; do
2904 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2905 eval ac_new_set=\$ac_env_${ac_var}_set
2906 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2907 eval ac_new_val=\$ac_env_${ac_var}_value
2908 case $ac_old_set,$ac_new_set in
2909 set,)
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2911 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2912 ac_cache_corrupted=: ;;
2913 ,set)
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2915 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2916 ac_cache_corrupted=: ;;
2917 ,);;
2919 if test "x$ac_old_val" != "x$ac_new_val"; then
2920 # differences in whitespace do not lead to failure.
2921 ac_old_val_w=`echo x $ac_old_val`
2922 ac_new_val_w=`echo x $ac_new_val`
2923 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2925 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2926 ac_cache_corrupted=:
2927 else
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2929 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2930 eval $ac_var=\$ac_old_val
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2933 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2935 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2936 fi;;
2937 esac
2938 # Pass precious variables to config.status.
2939 if test "$ac_new_set" = set; then
2940 case $ac_new_val in
2941 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2942 *) ac_arg=$ac_var=$ac_new_val ;;
2943 esac
2944 case " $ac_configure_args " in
2945 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2946 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2947 esac
2949 done
2950 if $ac_cache_corrupted; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2954 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2955 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2957 ## -------------------- ##
2958 ## Main body of script. ##
2959 ## -------------------- ##
2961 ac_ext=c
2962 ac_cpp='$CPP $CPPFLAGS'
2963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2972 ac_config_headers="$ac_config_headers config.h"
2975 # This works around the fact that libtool configuration may change LD
2976 # for this particular configuration, but some shells, instead of
2977 # keeping the changes in LD private, export them just because LD is
2978 # exported. Only used at the end of this file.
2979 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2981 # Find the rest of the source tree framework.
2982 # Default to --enable-multilib
2983 # Check whether --enable-multilib was given.
2984 if test "${enable_multilib+set}" = set; then :
2985 enableval=$enable_multilib; case "$enableval" in
2986 yes) multilib=yes ;;
2987 no) multilib=no ;;
2988 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2989 esac
2990 else
2991 multilib=yes
2995 # We may get other options which we leave undocumented:
2996 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2997 # See config-ml.in if you want the gory details.
2999 if test "$srcdir" = "."; then
3000 if test "$with_target_subdir" != "."; then
3001 multi_basedir="$srcdir/$with_multisrctop../.."
3002 else
3003 multi_basedir="$srcdir/$with_multisrctop.."
3005 else
3006 multi_basedir="$srcdir/.."
3010 # Even if the default multilib is not a cross compilation,
3011 # it may be that some of the other multilibs are.
3012 if test $cross_compiling = no && test $multilib = yes \
3013 && test "x${with_multisubdir}" != x ; then
3014 cross_compiling=maybe
3017 ac_config_commands="$ac_config_commands default-1"
3020 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3022 # You will slowly go insane if you do not grok the following fact: when
3023 # building v3 as part of the compiler, the top-level /target/ becomes the
3024 # library's /host/. configure then causes --target to default to --host,
3025 # exactly like any other package using autoconf. Therefore, 'target' and
3026 # 'host' will always be the same. This makes sense both for native and
3027 # cross compilers, just think about it for a little while. :-)
3029 # Also, if v3 is being configured as part of a cross compiler, the top-level
3030 # configure script will pass the "real" host as $with_cross_host.
3032 # Do not delete or change the following two lines. For why, see
3033 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3034 ac_aux_dir=
3035 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3036 for ac_t in install-sh install.sh shtool; do
3037 if test -f "$ac_dir/$ac_t"; then
3038 ac_aux_dir=$ac_dir
3039 ac_install_sh="$ac_aux_dir/$ac_t -c"
3040 break 2
3042 done
3043 done
3044 if test -z "$ac_aux_dir"; then
3045 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3048 # These three variables are undocumented and unsupported,
3049 # and are intended to be withdrawn in a future Autoconf release.
3050 # They can cause serious problems if a builder's source tree is in a directory
3051 # whose full name contains unusual characters.
3052 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3053 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3054 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3057 # Make sure we can run config.sub.
3058 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3059 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3062 $as_echo_n "checking build system type... " >&6; }
3063 if test "${ac_cv_build+set}" = set; then :
3064 $as_echo_n "(cached) " >&6
3065 else
3066 ac_build_alias=$build_alias
3067 test "x$ac_build_alias" = x &&
3068 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3069 test "x$ac_build_alias" = x &&
3070 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3071 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3072 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3076 $as_echo "$ac_cv_build" >&6; }
3077 case $ac_cv_build in
3078 *-*-*) ;;
3079 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3080 esac
3081 build=$ac_cv_build
3082 ac_save_IFS=$IFS; IFS='-'
3083 set x $ac_cv_build
3084 shift
3085 build_cpu=$1
3086 build_vendor=$2
3087 shift; shift
3088 # Remember, the first character of IFS is used to create $*,
3089 # except with old shells:
3090 build_os=$*
3091 IFS=$ac_save_IFS
3092 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3096 $as_echo_n "checking host system type... " >&6; }
3097 if test "${ac_cv_host+set}" = set; then :
3098 $as_echo_n "(cached) " >&6
3099 else
3100 if test "x$host_alias" = x; then
3101 ac_cv_host=$ac_cv_build
3102 else
3103 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3104 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3109 $as_echo "$ac_cv_host" >&6; }
3110 case $ac_cv_host in
3111 *-*-*) ;;
3112 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3113 esac
3114 host=$ac_cv_host
3115 ac_save_IFS=$IFS; IFS='-'
3116 set x $ac_cv_host
3117 shift
3118 host_cpu=$1
3119 host_vendor=$2
3120 shift; shift
3121 # Remember, the first character of IFS is used to create $*,
3122 # except with old shells:
3123 host_os=$*
3124 IFS=$ac_save_IFS
3125 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3129 $as_echo_n "checking target system type... " >&6; }
3130 if test "${ac_cv_target+set}" = set; then :
3131 $as_echo_n "(cached) " >&6
3132 else
3133 if test "x$target_alias" = x; then
3134 ac_cv_target=$ac_cv_host
3135 else
3136 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3137 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3142 $as_echo "$ac_cv_target" >&6; }
3143 case $ac_cv_target in
3144 *-*-*) ;;
3145 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3146 esac
3147 target=$ac_cv_target
3148 ac_save_IFS=$IFS; IFS='-'
3149 set x $ac_cv_target
3150 shift
3151 target_cpu=$1
3152 target_vendor=$2
3153 shift; shift
3154 # Remember, the first character of IFS is used to create $*,
3155 # except with old shells:
3156 target_os=$*
3157 IFS=$ac_save_IFS
3158 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3161 # The aliases save the names the user supplied, while $host etc.
3162 # will get canonicalized.
3163 test -n "$target_alias" &&
3164 test "$program_prefix$program_suffix$program_transform_name" = \
3165 NONENONEs,x,x, &&
3166 program_prefix=${target_alias}-
3168 target_alias=${target_alias-$host_alias}
3170 # Handy for debugging:
3171 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3173 if test "$build" != "$host"; then
3174 # We are being configured with some form of cross compiler.
3175 GLIBCXX_IS_NATIVE=false
3176 case "$host","$target" in
3177 # Darwin crosses can use the host system's libraries and headers,
3178 # because of the fat library support. Of course, it must be the
3179 # same version of Darwin on both sides. Allow the user to
3180 # just say --target=foo-darwin without a version number to mean
3181 # "the version on this system".
3182 *-*-darwin*,*-*-darwin*)
3183 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3184 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3185 if test $hostos = $targetos -o $targetos = darwin ; then
3186 GLIBCXX_IS_NATIVE=true
3193 esac
3194 else
3195 GLIBCXX_IS_NATIVE=true
3198 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3199 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3200 # 1.x: minimum required version
3201 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3202 # of other PACKAGE_* variables will, however, and there's nothing
3203 # we can do about that; they come from AC_INIT).
3204 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3205 # file in the top srcdir, etc, etc), so stop complaining.
3206 # no-dependencies: turns off auto dependency generation (just for now)
3207 # no-dist: we don't want 'dist' and related rules.
3208 # -Wall: turns on all automake warnings...
3209 # -Wno-portability: ...except this one, since GNU make is now required.
3210 am__api_version='1.11'
3212 # Find a good install program. We prefer a C program (faster),
3213 # so one script is as good as another. But avoid the broken or
3214 # incompatible versions:
3215 # SysV /etc/install, /usr/sbin/install
3216 # SunOS /usr/etc/install
3217 # IRIX /sbin/install
3218 # AIX /bin/install
3219 # AmigaOS /C/install, which installs bootblocks on floppy discs
3220 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3221 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3222 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3223 # OS/2's system install, which has a completely different semantic
3224 # ./install, which can be erroneously created by make from ./install.sh.
3225 # Reject install programs that cannot install multiple files.
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3227 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3228 if test -z "$INSTALL"; then
3229 if test "${ac_cv_path_install+set}" = set; then :
3230 $as_echo_n "(cached) " >&6
3231 else
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 for as_dir in $PATH
3235 IFS=$as_save_IFS
3236 test -z "$as_dir" && as_dir=.
3237 # Account for people who put trailing slashes in PATH elements.
3238 case $as_dir/ in #((
3239 ./ | .// | /[cC]/* | \
3240 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3241 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3242 /usr/ucb/* ) ;;
3244 # OSF1 and SCO ODT 3.0 have their own names for install.
3245 # Don't use installbsd from OSF since it installs stuff as root
3246 # by default.
3247 for ac_prog in ginstall scoinst install; do
3248 for ac_exec_ext in '' $ac_executable_extensions; do
3249 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3250 if test $ac_prog = install &&
3251 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3252 # AIX install. It has an incompatible calling convention.
3254 elif test $ac_prog = install &&
3255 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3256 # program-specific install script used by HP pwplus--don't use.
3258 else
3259 rm -rf conftest.one conftest.two conftest.dir
3260 echo one > conftest.one
3261 echo two > conftest.two
3262 mkdir conftest.dir
3263 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3264 test -s conftest.one && test -s conftest.two &&
3265 test -s conftest.dir/conftest.one &&
3266 test -s conftest.dir/conftest.two
3267 then
3268 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3269 break 3
3273 done
3274 done
3276 esac
3278 done
3279 IFS=$as_save_IFS
3281 rm -rf conftest.one conftest.two conftest.dir
3284 if test "${ac_cv_path_install+set}" = set; then
3285 INSTALL=$ac_cv_path_install
3286 else
3287 # As a last resort, use the slow shell script. Don't cache a
3288 # value for INSTALL within a source directory, because that will
3289 # break other packages using the cache if that directory is
3290 # removed, or if the value is a relative name.
3291 INSTALL=$ac_install_sh
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3295 $as_echo "$INSTALL" >&6; }
3297 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3298 # It thinks the first close brace ends the variable substitution.
3299 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3301 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3303 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3306 $as_echo_n "checking whether build environment is sane... " >&6; }
3307 # Just in case
3308 sleep 1
3309 echo timestamp > conftest.file
3310 # Reject unsafe characters in $srcdir or the absolute working directory
3311 # name. Accept space and tab only in the latter.
3312 am_lf='
3314 case `pwd` in
3315 *[\\\"\#\$\&\'\`$am_lf]*)
3316 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3317 esac
3318 case $srcdir in
3319 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3320 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3321 esac
3323 # Do `set' in a subshell so we don't clobber the current shell's
3324 # arguments. Must try -L first in case configure is actually a
3325 # symlink; some systems play weird games with the mod time of symlinks
3326 # (eg FreeBSD returns the mod time of the symlink's containing
3327 # directory).
3328 if (
3329 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3330 if test "$*" = "X"; then
3331 # -L didn't work.
3332 set X `ls -t "$srcdir/configure" conftest.file`
3334 rm -f conftest.file
3335 if test "$*" != "X $srcdir/configure conftest.file" \
3336 && test "$*" != "X conftest.file $srcdir/configure"; then
3338 # If neither matched, then we have a broken ls. This can happen
3339 # if, for instance, CONFIG_SHELL is bash and it inherits a
3340 # broken ls alias from the environment. This has actually
3341 # happened. Such a system could not be considered "sane".
3342 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3343 alias in your environment" "$LINENO" 5
3346 test "$2" = conftest.file
3348 then
3349 # Ok.
3351 else
3352 as_fn_error "newly created file is older than distributed files!
3353 Check your system clock" "$LINENO" 5
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3356 $as_echo "yes" >&6; }
3357 test "$program_prefix" != NONE &&
3358 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3359 # Use a double $ so make ignores it.
3360 test "$program_suffix" != NONE &&
3361 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3362 # Double any \ or $.
3363 # By default was `s,x,x', remove it if useless.
3364 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3365 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3367 # expand $ac_aux_dir to an absolute path
3368 am_aux_dir=`cd $ac_aux_dir && pwd`
3370 if test x"${MISSING+set}" != xset; then
3371 case $am_aux_dir in
3372 *\ * | *\ *)
3373 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3375 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3376 esac
3378 # Use eval to expand $SHELL
3379 if eval "$MISSING --run true"; then
3380 am_missing_run="$MISSING --run "
3381 else
3382 am_missing_run=
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3384 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3387 if test x"${install_sh}" != xset; then
3388 case $am_aux_dir in
3389 *\ * | *\ *)
3390 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3392 install_sh="\${SHELL} $am_aux_dir/install-sh"
3393 esac
3396 # Installed binaries are usually stripped using `strip' when the user
3397 # run `make install-strip'. However `strip' might not be the right
3398 # tool to use in cross-compilation environments, therefore Automake
3399 # will honor the `STRIP' environment variable to overrule this program.
3400 if test "$cross_compiling" != no; then
3401 if test -n "$ac_tool_prefix"; then
3402 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3403 set dummy ${ac_tool_prefix}strip; ac_word=$2
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3405 $as_echo_n "checking for $ac_word... " >&6; }
3406 if test "${ac_cv_prog_STRIP+set}" = set; then :
3407 $as_echo_n "(cached) " >&6
3408 else
3409 if test -n "$STRIP"; then
3410 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3411 else
3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 for as_dir in $PATH
3415 IFS=$as_save_IFS
3416 test -z "$as_dir" && as_dir=.
3417 for ac_exec_ext in '' $ac_executable_extensions; do
3418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3419 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 break 2
3423 done
3424 done
3425 IFS=$as_save_IFS
3429 STRIP=$ac_cv_prog_STRIP
3430 if test -n "$STRIP"; then
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3432 $as_echo "$STRIP" >&6; }
3433 else
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3435 $as_echo "no" >&6; }
3440 if test -z "$ac_cv_prog_STRIP"; then
3441 ac_ct_STRIP=$STRIP
3442 # Extract the first word of "strip", so it can be a program name with args.
3443 set dummy strip; ac_word=$2
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3445 $as_echo_n "checking for $ac_word... " >&6; }
3446 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3447 $as_echo_n "(cached) " >&6
3448 else
3449 if test -n "$ac_ct_STRIP"; then
3450 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3451 else
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453 for as_dir in $PATH
3455 IFS=$as_save_IFS
3456 test -z "$as_dir" && as_dir=.
3457 for ac_exec_ext in '' $ac_executable_extensions; do
3458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3459 ac_cv_prog_ac_ct_STRIP="strip"
3460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3461 break 2
3463 done
3464 done
3465 IFS=$as_save_IFS
3469 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3470 if test -n "$ac_ct_STRIP"; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3472 $as_echo "$ac_ct_STRIP" >&6; }
3473 else
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475 $as_echo "no" >&6; }
3478 if test "x$ac_ct_STRIP" = x; then
3479 STRIP=":"
3480 else
3481 case $cross_compiling:$ac_tool_warned in
3482 yes:)
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3485 ac_tool_warned=yes ;;
3486 esac
3487 STRIP=$ac_ct_STRIP
3489 else
3490 STRIP="$ac_cv_prog_STRIP"
3494 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3497 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3498 if test -z "$MKDIR_P"; then
3499 if test "${ac_cv_path_mkdir+set}" = set; then :
3500 $as_echo_n "(cached) " >&6
3501 else
3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3503 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3505 IFS=$as_save_IFS
3506 test -z "$as_dir" && as_dir=.
3507 for ac_prog in mkdir gmkdir; do
3508 for ac_exec_ext in '' $ac_executable_extensions; do
3509 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3510 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3511 'mkdir (GNU coreutils) '* | \
3512 'mkdir (coreutils) '* | \
3513 'mkdir (fileutils) '4.1*)
3514 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3515 break 3;;
3516 esac
3517 done
3518 done
3519 done
3520 IFS=$as_save_IFS
3524 if test "${ac_cv_path_mkdir+set}" = set; then
3525 MKDIR_P="$ac_cv_path_mkdir -p"
3526 else
3527 # As a last resort, use the slow shell script. Don't cache a
3528 # value for MKDIR_P within a source directory, because that will
3529 # break other packages using the cache if that directory is
3530 # removed, or if the value is a relative name.
3531 test -d ./--version && rmdir ./--version
3532 MKDIR_P="$ac_install_sh -d"
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3536 $as_echo "$MKDIR_P" >&6; }
3538 mkdir_p="$MKDIR_P"
3539 case $mkdir_p in
3540 [\\/$]* | ?:[\\/]*) ;;
3541 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3542 esac
3544 for ac_prog in gawk mawk nawk awk
3546 # Extract the first word of "$ac_prog", so it can be a program name with args.
3547 set dummy $ac_prog; ac_word=$2
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3549 $as_echo_n "checking for $ac_word... " >&6; }
3550 if test "${ac_cv_prog_AWK+set}" = set; then :
3551 $as_echo_n "(cached) " >&6
3552 else
3553 if test -n "$AWK"; then
3554 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3555 else
3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 for as_dir in $PATH
3559 IFS=$as_save_IFS
3560 test -z "$as_dir" && as_dir=.
3561 for ac_exec_ext in '' $ac_executable_extensions; do
3562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3563 ac_cv_prog_AWK="$ac_prog"
3564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 break 2
3567 done
3568 done
3569 IFS=$as_save_IFS
3573 AWK=$ac_cv_prog_AWK
3574 if test -n "$AWK"; then
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3576 $as_echo "$AWK" >&6; }
3577 else
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579 $as_echo "no" >&6; }
3583 test -n "$AWK" && break
3584 done
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3587 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3588 set x ${MAKE-make}
3589 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3590 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3591 $as_echo_n "(cached) " >&6
3592 else
3593 cat >conftest.make <<\_ACEOF
3594 SHELL = /bin/sh
3595 all:
3596 @echo '@@@%%%=$(MAKE)=@@@%%%'
3597 _ACEOF
3598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3599 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3600 *@@@%%%=?*=@@@%%%*)
3601 eval ac_cv_prog_make_${ac_make}_set=yes;;
3603 eval ac_cv_prog_make_${ac_make}_set=no;;
3604 esac
3605 rm -f conftest.make
3607 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3609 $as_echo "yes" >&6; }
3610 SET_MAKE=
3611 else
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3614 SET_MAKE="MAKE=${MAKE-make}"
3617 rm -rf .tst 2>/dev/null
3618 mkdir .tst 2>/dev/null
3619 if test -d .tst; then
3620 am__leading_dot=.
3621 else
3622 am__leading_dot=_
3624 rmdir .tst 2>/dev/null
3626 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3627 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3628 # is not polluted with repeated "-I."
3629 am__isrc=' -I$(srcdir)'
3630 # test to see if srcdir already configured
3631 if test -f $srcdir/config.status; then
3632 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3636 # test whether we have cygpath
3637 if test -z "$CYGPATH_W"; then
3638 if (cygpath --version) >/dev/null 2>/dev/null; then
3639 CYGPATH_W='cygpath -w'
3640 else
3641 CYGPATH_W=echo
3646 # Define the identity of the package.
3647 PACKAGE='libstdc++'
3648 VERSION='version-unused'
3651 # Some tools Automake needs.
3653 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3656 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3659 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3662 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3665 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3667 # We need awk for the "check" target. The system "awk" is bad on
3668 # some platforms.
3669 # Always define AMTAR for backward compatibility.
3671 AMTAR=${AMTAR-"${am_missing_run}tar"}
3673 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3682 # -fno-builtin must be present here so that a non-conflicting form of
3683 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3685 save_CXXFLAGS="$CXXFLAGS"
3686 CXXFLAGS="$CXXFLAGS -fno-builtin"
3687 ac_ext=c
3688 ac_cpp='$CPP $CPPFLAGS'
3689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3692 if test -n "$ac_tool_prefix"; then
3693 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3694 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3696 $as_echo_n "checking for $ac_word... " >&6; }
3697 if test "${ac_cv_prog_CC+set}" = set; then :
3698 $as_echo_n "(cached) " >&6
3699 else
3700 if test -n "$CC"; then
3701 ac_cv_prog_CC="$CC" # Let the user override the test.
3702 else
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704 for as_dir in $PATH
3706 IFS=$as_save_IFS
3707 test -z "$as_dir" && as_dir=.
3708 for ac_exec_ext in '' $ac_executable_extensions; do
3709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3710 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3712 break 2
3714 done
3715 done
3716 IFS=$as_save_IFS
3720 CC=$ac_cv_prog_CC
3721 if test -n "$CC"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723 $as_echo "$CC" >&6; }
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3731 if test -z "$ac_cv_prog_CC"; then
3732 ac_ct_CC=$CC
3733 # Extract the first word of "gcc", so it can be a program name with args.
3734 set dummy gcc; ac_word=$2
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3736 $as_echo_n "checking for $ac_word... " >&6; }
3737 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3738 $as_echo_n "(cached) " >&6
3739 else
3740 if test -n "$ac_ct_CC"; then
3741 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3742 else
3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 for as_dir in $PATH
3746 IFS=$as_save_IFS
3747 test -z "$as_dir" && as_dir=.
3748 for ac_exec_ext in '' $ac_executable_extensions; do
3749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3750 ac_cv_prog_ac_ct_CC="gcc"
3751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3752 break 2
3754 done
3755 done
3756 IFS=$as_save_IFS
3760 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3761 if test -n "$ac_ct_CC"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3763 $as_echo "$ac_ct_CC" >&6; }
3764 else
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 $as_echo "no" >&6; }
3769 if test "x$ac_ct_CC" = x; then
3770 CC=""
3771 else
3772 case $cross_compiling:$ac_tool_warned in
3773 yes:)
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3776 ac_tool_warned=yes ;;
3777 esac
3778 CC=$ac_ct_CC
3780 else
3781 CC="$ac_cv_prog_CC"
3784 if test -z "$CC"; then
3785 if test -n "$ac_tool_prefix"; then
3786 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3787 set dummy ${ac_tool_prefix}cc; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if test "${ac_cv_prog_CC+set}" = set; then :
3791 $as_echo_n "(cached) " >&6
3792 else
3793 if test -n "$CC"; then
3794 ac_cv_prog_CC="$CC" # Let the user override the test.
3795 else
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797 for as_dir in $PATH
3799 IFS=$as_save_IFS
3800 test -z "$as_dir" && as_dir=.
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3803 ac_cv_prog_CC="${ac_tool_prefix}cc"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 break 2
3807 done
3808 done
3809 IFS=$as_save_IFS
3813 CC=$ac_cv_prog_CC
3814 if test -n "$CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3816 $as_echo "$CC" >&6; }
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3825 if test -z "$CC"; then
3826 # Extract the first word of "cc", so it can be a program name with args.
3827 set dummy cc; ac_word=$2
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829 $as_echo_n "checking for $ac_word... " >&6; }
3830 if test "${ac_cv_prog_CC+set}" = set; then :
3831 $as_echo_n "(cached) " >&6
3832 else
3833 if test -n "$CC"; then
3834 ac_cv_prog_CC="$CC" # Let the user override the test.
3835 else
3836 ac_prog_rejected=no
3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 for as_dir in $PATH
3840 IFS=$as_save_IFS
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3844 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3845 ac_prog_rejected=yes
3846 continue
3848 ac_cv_prog_CC="cc"
3849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 break 2
3852 done
3853 done
3854 IFS=$as_save_IFS
3856 if test $ac_prog_rejected = yes; then
3857 # We found a bogon in the path, so make sure we never use it.
3858 set dummy $ac_cv_prog_CC
3859 shift
3860 if test $# != 0; then
3861 # We chose a different compiler from the bogus one.
3862 # However, it has the same basename, so the bogon will be chosen
3863 # first if we set CC to just the basename; use the full file name.
3864 shift
3865 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3870 CC=$ac_cv_prog_CC
3871 if test -n "$CC"; then
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3873 $as_echo "$CC" >&6; }
3874 else
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876 $as_echo "no" >&6; }
3881 if test -z "$CC"; then
3882 if test -n "$ac_tool_prefix"; then
3883 for ac_prog in cl.exe
3885 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3886 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3888 $as_echo_n "checking for $ac_word... " >&6; }
3889 if test "${ac_cv_prog_CC+set}" = set; then :
3890 $as_echo_n "(cached) " >&6
3891 else
3892 if test -n "$CC"; then
3893 ac_cv_prog_CC="$CC" # Let the user override the test.
3894 else
3895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3896 for as_dir in $PATH
3898 IFS=$as_save_IFS
3899 test -z "$as_dir" && as_dir=.
3900 for ac_exec_ext in '' $ac_executable_extensions; do
3901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3902 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3904 break 2
3906 done
3907 done
3908 IFS=$as_save_IFS
3912 CC=$ac_cv_prog_CC
3913 if test -n "$CC"; then
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3915 $as_echo "$CC" >&6; }
3916 else
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918 $as_echo "no" >&6; }
3922 test -n "$CC" && break
3923 done
3925 if test -z "$CC"; then
3926 ac_ct_CC=$CC
3927 for ac_prog in cl.exe
3929 # Extract the first word of "$ac_prog", so it can be a program name with args.
3930 set dummy $ac_prog; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3934 $as_echo_n "(cached) " >&6
3935 else
3936 if test -n "$ac_ct_CC"; then
3937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3938 else
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 for as_dir in $PATH
3942 IFS=$as_save_IFS
3943 test -z "$as_dir" && as_dir=.
3944 for ac_exec_ext in '' $ac_executable_extensions; do
3945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3946 ac_cv_prog_ac_ct_CC="$ac_prog"
3947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 break 2
3950 done
3951 done
3952 IFS=$as_save_IFS
3956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3957 if test -n "$ac_ct_CC"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3959 $as_echo "$ac_ct_CC" >&6; }
3960 else
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3966 test -n "$ac_ct_CC" && break
3967 done
3969 if test "x$ac_ct_CC" = x; then
3970 CC=""
3971 else
3972 case $cross_compiling:$ac_tool_warned in
3973 yes:)
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3976 ac_tool_warned=yes ;;
3977 esac
3978 CC=$ac_ct_CC
3985 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 as_fn_error "no acceptable C compiler found in \$PATH
3988 See \`config.log' for more details." "$LINENO" 5; }
3990 # Provide some information about the compiler.
3991 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3992 set X $ac_compile
3993 ac_compiler=$2
3994 for ac_option in --version -v -V -qversion; do
3995 { { ac_try="$ac_compiler $ac_option >&5"
3996 case "(($ac_try" in
3997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998 *) ac_try_echo=$ac_try;;
3999 esac
4000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001 $as_echo "$ac_try_echo"; } >&5
4002 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4003 ac_status=$?
4004 if test -s conftest.err; then
4005 sed '10a\
4006 ... rest of stderr output deleted ...
4007 10q' conftest.err >conftest.er1
4008 cat conftest.er1 >&5
4009 rm -f conftest.er1 conftest.err
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }
4013 done
4015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016 /* end confdefs.h. */
4019 main ()
4023 return 0;
4025 _ACEOF
4026 # FIXME: Cleanup?
4027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4028 (eval $ac_link) 2>&5
4029 ac_status=$?
4030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4031 test $ac_status = 0; }; then :
4032 gcc_no_link=no
4033 else
4034 gcc_no_link=yes
4036 if test x$gcc_no_link = xyes; then
4037 # Setting cross_compile will disable run tests; it will
4038 # also disable AC_CHECK_FILE but that's generally
4039 # correct if we can't link.
4040 cross_compiling=yes
4041 EXEEXT=
4042 else
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4047 main ()
4051 return 0;
4053 _ACEOF
4054 ac_clean_files_save=$ac_clean_files
4055 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4056 # Try to create an executable without -o first, disregard a.out.
4057 # It will help us diagnose broken compilers, and finding out an intuition
4058 # of exeext.
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4060 $as_echo_n "checking for C compiler default output file name... " >&6; }
4061 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4063 # The possible output files:
4064 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4066 ac_rmfiles=
4067 for ac_file in $ac_files
4069 case $ac_file in
4070 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4071 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4072 esac
4073 done
4074 rm -f $ac_rmfiles
4076 if { { ac_try="$ac_link_default"
4077 case "(($ac_try" in
4078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4079 *) ac_try_echo=$ac_try;;
4080 esac
4081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4082 $as_echo "$ac_try_echo"; } >&5
4083 (eval "$ac_link_default") 2>&5
4084 ac_status=$?
4085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4086 test $ac_status = 0; }; then :
4087 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4088 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4089 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4090 # so that the user can short-circuit this test for compilers unknown to
4091 # Autoconf.
4092 for ac_file in $ac_files ''
4094 test -f "$ac_file" || continue
4095 case $ac_file in
4096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4098 [ab].out )
4099 # We found the default executable, but exeext='' is most
4100 # certainly right.
4101 break;;
4102 *.* )
4103 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4104 then :; else
4105 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4107 # We set ac_cv_exeext here because the later test for it is not
4108 # safe: cross compilers may not add the suffix if given an `-o'
4109 # argument, so we may need to know it at that point already.
4110 # Even if this section looks crufty: it has the advantage of
4111 # actually working.
4112 break;;
4114 break;;
4115 esac
4116 done
4117 test "$ac_cv_exeext" = no && ac_cv_exeext=
4119 else
4120 ac_file=''
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4123 $as_echo "$ac_file" >&6; }
4124 if test -z "$ac_file"; then :
4125 $as_echo "$as_me: failed program was:" >&5
4126 sed 's/^/| /' conftest.$ac_ext >&5
4128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4130 { as_fn_set_status 77
4131 as_fn_error "C compiler cannot create executables
4132 See \`config.log' for more details." "$LINENO" 5; }; }
4134 ac_exeext=$ac_cv_exeext
4136 # Check that the compiler produces executables we can run. If not, either
4137 # the compiler is broken, or we cross compile.
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4139 $as_echo_n "checking whether the C compiler works... " >&6; }
4140 # If not cross compiling, check that we can run a simple program.
4141 if test "$cross_compiling" != yes; then
4142 if { ac_try='./$ac_file'
4143 { { case "(($ac_try" in
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4146 esac
4147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148 $as_echo "$ac_try_echo"; } >&5
4149 (eval "$ac_try") 2>&5
4150 ac_status=$?
4151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4152 test $ac_status = 0; }; }; then
4153 cross_compiling=no
4154 else
4155 if test "$cross_compiling" = maybe; then
4156 cross_compiling=yes
4157 else
4158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4160 as_fn_error "cannot run C compiled programs.
4161 If you meant to cross compile, use \`--host'.
4162 See \`config.log' for more details." "$LINENO" 5; }
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4167 $as_echo "yes" >&6; }
4169 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4170 ac_clean_files=$ac_clean_files_save
4171 # Check that the compiler produces executables we can run. If not, either
4172 # the compiler is broken, or we cross compile.
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4174 $as_echo_n "checking whether we are cross compiling... " >&6; }
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4176 $as_echo "$cross_compiling" >&6; }
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4179 $as_echo_n "checking for suffix of executables... " >&6; }
4180 if { { ac_try="$ac_link"
4181 case "(($ac_try" in
4182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4183 *) ac_try_echo=$ac_try;;
4184 esac
4185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4186 $as_echo "$ac_try_echo"; } >&5
4187 (eval "$ac_link") 2>&5
4188 ac_status=$?
4189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4190 test $ac_status = 0; }; then :
4191 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4192 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4193 # work properly (i.e., refer to `conftest.exe'), while it won't with
4194 # `rm'.
4195 for ac_file in conftest.exe conftest conftest.*; do
4196 test -f "$ac_file" || continue
4197 case $ac_file in
4198 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4199 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4200 break;;
4201 * ) break;;
4202 esac
4203 done
4204 else
4205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4207 as_fn_error "cannot compute suffix of executables: cannot compile and link
4208 See \`config.log' for more details." "$LINENO" 5; }
4210 rm -f conftest$ac_cv_exeext
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4212 $as_echo "$ac_cv_exeext" >&6; }
4214 rm -f conftest.$ac_ext
4215 EXEEXT=$ac_cv_exeext
4216 ac_exeext=$EXEEXT
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4219 $as_echo_n "checking for suffix of object files... " >&6; }
4220 if test "${ac_cv_objext+set}" = set; then :
4221 $as_echo_n "(cached) " >&6
4222 else
4223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224 /* end confdefs.h. */
4227 main ()
4231 return 0;
4233 _ACEOF
4234 rm -f conftest.o conftest.obj
4235 if { { ac_try="$ac_compile"
4236 case "(($ac_try" in
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4239 esac
4240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4241 $as_echo "$ac_try_echo"; } >&5
4242 (eval "$ac_compile") 2>&5
4243 ac_status=$?
4244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4245 test $ac_status = 0; }; then :
4246 for ac_file in conftest.o conftest.obj conftest.*; do
4247 test -f "$ac_file" || continue;
4248 case $ac_file in
4249 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4250 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4251 break;;
4252 esac
4253 done
4254 else
4255 $as_echo "$as_me: failed program was:" >&5
4256 sed 's/^/| /' conftest.$ac_ext >&5
4258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4260 as_fn_error "cannot compute suffix of object files: cannot compile
4261 See \`config.log' for more details." "$LINENO" 5; }
4263 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4266 $as_echo "$ac_cv_objext" >&6; }
4267 OBJEXT=$ac_cv_objext
4268 ac_objext=$OBJEXT
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4270 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4271 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4273 else
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4278 main ()
4280 #ifndef __GNUC__
4281 choke me
4282 #endif
4285 return 0;
4287 _ACEOF
4288 if ac_fn_c_try_compile "$LINENO"; then :
4289 ac_compiler_gnu=yes
4290 else
4291 ac_compiler_gnu=no
4293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4294 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4298 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4299 if test $ac_compiler_gnu = yes; then
4300 GCC=yes
4301 else
4302 GCC=
4304 ac_test_CFLAGS=${CFLAGS+set}
4305 ac_save_CFLAGS=$CFLAGS
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4307 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4308 if test "${ac_cv_prog_cc_g+set}" = set; then :
4309 $as_echo_n "(cached) " >&6
4310 else
4311 ac_save_c_werror_flag=$ac_c_werror_flag
4312 ac_c_werror_flag=yes
4313 ac_cv_prog_cc_g=no
4314 CFLAGS="-g"
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4319 main ()
4323 return 0;
4325 _ACEOF
4326 if ac_fn_c_try_compile "$LINENO"; then :
4327 ac_cv_prog_cc_g=yes
4328 else
4329 CFLAGS=""
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4334 main ()
4338 return 0;
4340 _ACEOF
4341 if ac_fn_c_try_compile "$LINENO"; then :
4343 else
4344 ac_c_werror_flag=$ac_save_c_werror_flag
4345 CFLAGS="-g"
4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h. */
4350 main ()
4354 return 0;
4356 _ACEOF
4357 if ac_fn_c_try_compile "$LINENO"; then :
4358 ac_cv_prog_cc_g=yes
4360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4365 ac_c_werror_flag=$ac_save_c_werror_flag
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4368 $as_echo "$ac_cv_prog_cc_g" >&6; }
4369 if test "$ac_test_CFLAGS" = set; then
4370 CFLAGS=$ac_save_CFLAGS
4371 elif test $ac_cv_prog_cc_g = yes; then
4372 if test "$GCC" = yes; then
4373 CFLAGS="-g -O2"
4374 else
4375 CFLAGS="-g"
4377 else
4378 if test "$GCC" = yes; then
4379 CFLAGS="-O2"
4380 else
4381 CFLAGS=
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4385 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4386 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4387 $as_echo_n "(cached) " >&6
4388 else
4389 ac_cv_prog_cc_c89=no
4390 ac_save_CC=$CC
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4393 #include <stdarg.h>
4394 #include <stdio.h>
4395 #include <sys/types.h>
4396 #include <sys/stat.h>
4397 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4398 struct buf { int x; };
4399 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4400 static char *e (p, i)
4401 char **p;
4402 int i;
4404 return p[i];
4406 static char *f (char * (*g) (char **, int), char **p, ...)
4408 char *s;
4409 va_list v;
4410 va_start (v,p);
4411 s = g (p, va_arg (v,int));
4412 va_end (v);
4413 return s;
4416 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4417 function prototypes and stuff, but not '\xHH' hex character constants.
4418 These don't provoke an error unfortunately, instead are silently treated
4419 as 'x'. The following induces an error, until -std is added to get
4420 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4421 array size at least. It's necessary to write '\x00'==0 to get something
4422 that's true only with -std. */
4423 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4425 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4426 inside strings and character constants. */
4427 #define FOO(x) 'x'
4428 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4430 int test (int i, double x);
4431 struct s1 {int (*f) (int a);};
4432 struct s2 {int (*f) (double a);};
4433 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4434 int argc;
4435 char **argv;
4437 main ()
4439 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4441 return 0;
4443 _ACEOF
4444 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4445 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4447 CC="$ac_save_CC $ac_arg"
4448 if ac_fn_c_try_compile "$LINENO"; then :
4449 ac_cv_prog_cc_c89=$ac_arg
4451 rm -f core conftest.err conftest.$ac_objext
4452 test "x$ac_cv_prog_cc_c89" != "xno" && break
4453 done
4454 rm -f conftest.$ac_ext
4455 CC=$ac_save_CC
4458 # AC_CACHE_VAL
4459 case "x$ac_cv_prog_cc_c89" in
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4462 $as_echo "none needed" >&6; } ;;
4463 xno)
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4465 $as_echo "unsupported" >&6; } ;;
4467 CC="$CC $ac_cv_prog_cc_c89"
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4469 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4470 esac
4471 if test "x$ac_cv_prog_cc_c89" != xno; then :
4475 ac_ext=c
4476 ac_cpp='$CPP $CPPFLAGS'
4477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4481 ac_ext=cpp
4482 ac_cpp='$CXXCPP $CPPFLAGS'
4483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4486 if test -z "$CXX"; then
4487 if test -n "$CCC"; then
4488 CXX=$CCC
4489 else
4490 if test -n "$ac_tool_prefix"; then
4491 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4493 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4494 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496 $as_echo_n "checking for $ac_word... " >&6; }
4497 if test "${ac_cv_prog_CXX+set}" = set; then :
4498 $as_echo_n "(cached) " >&6
4499 else
4500 if test -n "$CXX"; then
4501 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4502 else
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504 for as_dir in $PATH
4506 IFS=$as_save_IFS
4507 test -z "$as_dir" && as_dir=.
4508 for ac_exec_ext in '' $ac_executable_extensions; do
4509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4510 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 break 2
4514 done
4515 done
4516 IFS=$as_save_IFS
4520 CXX=$ac_cv_prog_CXX
4521 if test -n "$CXX"; then
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4523 $as_echo "$CXX" >&6; }
4524 else
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 $as_echo "no" >&6; }
4530 test -n "$CXX" && break
4531 done
4533 if test -z "$CXX"; then
4534 ac_ct_CXX=$CXX
4535 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4537 # Extract the first word of "$ac_prog", so it can be a program name with args.
4538 set dummy $ac_prog; ac_word=$2
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4540 $as_echo_n "checking for $ac_word... " >&6; }
4541 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4542 $as_echo_n "(cached) " >&6
4543 else
4544 if test -n "$ac_ct_CXX"; then
4545 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4546 else
4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 for as_dir in $PATH
4550 IFS=$as_save_IFS
4551 test -z "$as_dir" && as_dir=.
4552 for ac_exec_ext in '' $ac_executable_extensions; do
4553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4554 ac_cv_prog_ac_ct_CXX="$ac_prog"
4555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4556 break 2
4558 done
4559 done
4560 IFS=$as_save_IFS
4564 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4565 if test -n "$ac_ct_CXX"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4567 $as_echo "$ac_ct_CXX" >&6; }
4568 else
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570 $as_echo "no" >&6; }
4574 test -n "$ac_ct_CXX" && break
4575 done
4577 if test "x$ac_ct_CXX" = x; then
4578 CXX="g++"
4579 else
4580 case $cross_compiling:$ac_tool_warned in
4581 yes:)
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4584 ac_tool_warned=yes ;;
4585 esac
4586 CXX=$ac_ct_CXX
4592 # Provide some information about the compiler.
4593 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4594 set X $ac_compile
4595 ac_compiler=$2
4596 for ac_option in --version -v -V -qversion; do
4597 { { ac_try="$ac_compiler $ac_option >&5"
4598 case "(($ac_try" in
4599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4601 esac
4602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4603 $as_echo "$ac_try_echo"; } >&5
4604 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4605 ac_status=$?
4606 if test -s conftest.err; then
4607 sed '10a\
4608 ... rest of stderr output deleted ...
4609 10q' conftest.err >conftest.er1
4610 cat conftest.er1 >&5
4611 rm -f conftest.er1 conftest.err
4613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4614 test $ac_status = 0; }
4615 done
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4618 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4619 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4626 main ()
4628 #ifndef __GNUC__
4629 choke me
4630 #endif
4633 return 0;
4635 _ACEOF
4636 if ac_fn_cxx_try_compile "$LINENO"; then :
4637 ac_compiler_gnu=yes
4638 else
4639 ac_compiler_gnu=no
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4646 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4647 if test $ac_compiler_gnu = yes; then
4648 GXX=yes
4649 else
4650 GXX=
4652 ac_test_CXXFLAGS=${CXXFLAGS+set}
4653 ac_save_CXXFLAGS=$CXXFLAGS
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4655 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4656 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4657 $as_echo_n "(cached) " >&6
4658 else
4659 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4660 ac_cxx_werror_flag=yes
4661 ac_cv_prog_cxx_g=no
4662 CXXFLAGS="-g"
4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4667 main ()
4671 return 0;
4673 _ACEOF
4674 if ac_fn_cxx_try_compile "$LINENO"; then :
4675 ac_cv_prog_cxx_g=yes
4676 else
4677 CXXFLAGS=""
4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4682 main ()
4686 return 0;
4688 _ACEOF
4689 if ac_fn_cxx_try_compile "$LINENO"; then :
4691 else
4692 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4693 CXXFLAGS="-g"
4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h. */
4698 main ()
4702 return 0;
4704 _ACEOF
4705 if ac_fn_cxx_try_compile "$LINENO"; then :
4706 ac_cv_prog_cxx_g=yes
4708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4713 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4716 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4717 if test "$ac_test_CXXFLAGS" = set; then
4718 CXXFLAGS=$ac_save_CXXFLAGS
4719 elif test $ac_cv_prog_cxx_g = yes; then
4720 if test "$GXX" = yes; then
4721 CXXFLAGS="-g -O2"
4722 else
4723 CXXFLAGS="-g"
4725 else
4726 if test "$GXX" = yes; then
4727 CXXFLAGS="-O2"
4728 else
4729 CXXFLAGS=
4732 ac_ext=c
4733 ac_cpp='$CPP $CPPFLAGS'
4734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4738 CXXFLAGS="$save_CXXFLAGS"
4740 # Runs configure.host, and assorted other critical bits. Sets
4741 # up critical shell variables.
4743 ac_ext=c
4744 ac_cpp='$CPP $CPPFLAGS'
4745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4749 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4750 # On Suns, sometimes $CPP names a directory.
4751 if test -n "$CPP" && test -d "$CPP"; then
4752 CPP=
4754 if test -z "$CPP"; then
4755 if test "${ac_cv_prog_CPP+set}" = set; then :
4756 $as_echo_n "(cached) " >&6
4757 else
4758 # Double quotes because CPP needs to be expanded
4759 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4761 ac_preproc_ok=false
4762 for ac_c_preproc_warn_flag in '' yes
4764 # Use a header file that comes with gcc, so configuring glibc
4765 # with a fresh cross-compiler works.
4766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4767 # <limits.h> exists even on freestanding compilers.
4768 # On the NeXT, cc -E runs the code through the compiler's parser,
4769 # not just through cpp. "Syntax error" is here to catch this case.
4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771 /* end confdefs.h. */
4772 #ifdef __STDC__
4773 # include <limits.h>
4774 #else
4775 # include <assert.h>
4776 #endif
4777 Syntax error
4778 _ACEOF
4779 if ac_fn_c_try_cpp "$LINENO"; then :
4781 else
4782 # Broken: fails on valid input.
4783 continue
4785 rm -f conftest.err conftest.$ac_ext
4787 # OK, works on sane cases. Now check whether nonexistent headers
4788 # can be detected and how.
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4791 #include <ac_nonexistent.h>
4792 _ACEOF
4793 if ac_fn_c_try_cpp "$LINENO"; then :
4794 # Broken: success on invalid input.
4795 continue
4796 else
4797 # Passes both tests.
4798 ac_preproc_ok=:
4799 break
4801 rm -f conftest.err conftest.$ac_ext
4803 done
4804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4805 rm -f conftest.err conftest.$ac_ext
4806 if $ac_preproc_ok; then :
4807 break
4810 done
4811 ac_cv_prog_CPP=$CPP
4814 CPP=$ac_cv_prog_CPP
4815 else
4816 ac_cv_prog_CPP=$CPP
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4819 $as_echo "$CPP" >&6; }
4820 ac_preproc_ok=false
4821 for ac_c_preproc_warn_flag in '' yes
4823 # Use a header file that comes with gcc, so configuring glibc
4824 # with a fresh cross-compiler works.
4825 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4826 # <limits.h> exists even on freestanding compilers.
4827 # On the NeXT, cc -E runs the code through the compiler's parser,
4828 # not just through cpp. "Syntax error" is here to catch this case.
4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830 /* end confdefs.h. */
4831 #ifdef __STDC__
4832 # include <limits.h>
4833 #else
4834 # include <assert.h>
4835 #endif
4836 Syntax error
4837 _ACEOF
4838 if ac_fn_c_try_cpp "$LINENO"; then :
4840 else
4841 # Broken: fails on valid input.
4842 continue
4844 rm -f conftest.err conftest.$ac_ext
4846 # OK, works on sane cases. Now check whether nonexistent headers
4847 # can be detected and how.
4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4850 #include <ac_nonexistent.h>
4851 _ACEOF
4852 if ac_fn_c_try_cpp "$LINENO"; then :
4853 # Broken: success on invalid input.
4854 continue
4855 else
4856 # Passes both tests.
4857 ac_preproc_ok=:
4858 break
4860 rm -f conftest.err conftest.$ac_ext
4862 done
4863 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4864 rm -f conftest.err conftest.$ac_ext
4865 if $ac_preproc_ok; then :
4867 else
4868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4870 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4871 See \`config.log' for more details." "$LINENO" 5; }
4874 ac_ext=c
4875 ac_cpp='$CPP $CPPFLAGS'
4876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4882 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4883 if test "${ac_cv_path_GREP+set}" = set; then :
4884 $as_echo_n "(cached) " >&6
4885 else
4886 if test -z "$GREP"; then
4887 ac_path_GREP_found=false
4888 # Loop through the user's path and test for each of PROGNAME-LIST
4889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4890 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4892 IFS=$as_save_IFS
4893 test -z "$as_dir" && as_dir=.
4894 for ac_prog in grep ggrep; do
4895 for ac_exec_ext in '' $ac_executable_extensions; do
4896 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4897 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4898 # Check for GNU ac_path_GREP and select it if it is found.
4899 # Check for GNU $ac_path_GREP
4900 case `"$ac_path_GREP" --version 2>&1` in
4901 *GNU*)
4902 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4904 ac_count=0
4905 $as_echo_n 0123456789 >"conftest.in"
4906 while :
4908 cat "conftest.in" "conftest.in" >"conftest.tmp"
4909 mv "conftest.tmp" "conftest.in"
4910 cp "conftest.in" "conftest.nl"
4911 $as_echo 'GREP' >> "conftest.nl"
4912 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4913 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4914 as_fn_arith $ac_count + 1 && ac_count=$as_val
4915 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4916 # Best one so far, save it but keep looking for a better one
4917 ac_cv_path_GREP="$ac_path_GREP"
4918 ac_path_GREP_max=$ac_count
4920 # 10*(2^10) chars as input seems more than enough
4921 test $ac_count -gt 10 && break
4922 done
4923 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4924 esac
4926 $ac_path_GREP_found && break 3
4927 done
4928 done
4929 done
4930 IFS=$as_save_IFS
4931 if test -z "$ac_cv_path_GREP"; then
4932 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4934 else
4935 ac_cv_path_GREP=$GREP
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4940 $as_echo "$ac_cv_path_GREP" >&6; }
4941 GREP="$ac_cv_path_GREP"
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4945 $as_echo_n "checking for egrep... " >&6; }
4946 if test "${ac_cv_path_EGREP+set}" = set; then :
4947 $as_echo_n "(cached) " >&6
4948 else
4949 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4950 then ac_cv_path_EGREP="$GREP -E"
4951 else
4952 if test -z "$EGREP"; then
4953 ac_path_EGREP_found=false
4954 # Loop through the user's path and test for each of PROGNAME-LIST
4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4958 IFS=$as_save_IFS
4959 test -z "$as_dir" && as_dir=.
4960 for ac_prog in egrep; do
4961 for ac_exec_ext in '' $ac_executable_extensions; do
4962 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4963 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4964 # Check for GNU ac_path_EGREP and select it if it is found.
4965 # Check for GNU $ac_path_EGREP
4966 case `"$ac_path_EGREP" --version 2>&1` in
4967 *GNU*)
4968 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4970 ac_count=0
4971 $as_echo_n 0123456789 >"conftest.in"
4972 while :
4974 cat "conftest.in" "conftest.in" >"conftest.tmp"
4975 mv "conftest.tmp" "conftest.in"
4976 cp "conftest.in" "conftest.nl"
4977 $as_echo 'EGREP' >> "conftest.nl"
4978 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4979 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4980 as_fn_arith $ac_count + 1 && ac_count=$as_val
4981 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4982 # Best one so far, save it but keep looking for a better one
4983 ac_cv_path_EGREP="$ac_path_EGREP"
4984 ac_path_EGREP_max=$ac_count
4986 # 10*(2^10) chars as input seems more than enough
4987 test $ac_count -gt 10 && break
4988 done
4989 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4990 esac
4992 $ac_path_EGREP_found && break 3
4993 done
4994 done
4995 done
4996 IFS=$as_save_IFS
4997 if test -z "$ac_cv_path_EGREP"; then
4998 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5000 else
5001 ac_cv_path_EGREP=$EGREP
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5007 $as_echo "$ac_cv_path_EGREP" >&6; }
5008 EGREP="$ac_cv_path_EGREP"
5012 # Keep these sync'd with the list in Makefile.am. The first provides an
5013 # expandable list at autoconf time; the second provides an expandable list
5014 # (i.e., shell variable) at configure time.
5016 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
5018 # These need to be absolute paths, yet at the same time need to
5019 # canonicalize only relative paths, because then amd will not unmount
5020 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5021 glibcxx_builddir=`${PWDCMD-pwd}`
5022 case $srcdir in
5023 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5024 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5025 esac
5026 toplevel_builddir=${glibcxx_builddir}/..
5027 toplevel_srcdir=${glibcxx_srcdir}/..
5033 # We use these options to decide which functions to include. They are
5034 # set from the top level.
5036 # Check whether --with-target-subdir was given.
5037 if test "${with_target_subdir+set}" = set; then :
5038 withval=$with_target_subdir;
5043 # Check whether --with-cross-host was given.
5044 if test "${with_cross_host+set}" = set; then :
5045 withval=$with_cross_host;
5050 # Check whether --with-newlib was given.
5051 if test "${with_newlib+set}" = set; then :
5052 withval=$with_newlib;
5056 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5057 # available). Uncomment the next line to force a particular method.
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5059 $as_echo_n "checking whether ln -s works... " >&6; }
5060 LN_S=$as_ln_s
5061 if test "$LN_S" = "ln -s"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5063 $as_echo "yes" >&6; }
5064 else
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5066 $as_echo "no, using $LN_S" >&6; }
5069 #LN_S='cp -p'
5071 if test -n "$ac_tool_prefix"; then
5072 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5073 set dummy ${ac_tool_prefix}as; ac_word=$2
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5075 $as_echo_n "checking for $ac_word... " >&6; }
5076 if test "${ac_cv_prog_AS+set}" = set; then :
5077 $as_echo_n "(cached) " >&6
5078 else
5079 if test -n "$AS"; then
5080 ac_cv_prog_AS="$AS" # Let the user override the test.
5081 else
5082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5083 for as_dir in $PATH
5085 IFS=$as_save_IFS
5086 test -z "$as_dir" && as_dir=.
5087 for ac_exec_ext in '' $ac_executable_extensions; do
5088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5089 ac_cv_prog_AS="${ac_tool_prefix}as"
5090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5091 break 2
5093 done
5094 done
5095 IFS=$as_save_IFS
5099 AS=$ac_cv_prog_AS
5100 if test -n "$AS"; then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5102 $as_echo "$AS" >&6; }
5103 else
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5110 if test -z "$ac_cv_prog_AS"; then
5111 ac_ct_AS=$AS
5112 # Extract the first word of "as", so it can be a program name with args.
5113 set dummy as; ac_word=$2
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5115 $as_echo_n "checking for $ac_word... " >&6; }
5116 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5117 $as_echo_n "(cached) " >&6
5118 else
5119 if test -n "$ac_ct_AS"; then
5120 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5121 else
5122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5123 for as_dir in $PATH
5125 IFS=$as_save_IFS
5126 test -z "$as_dir" && as_dir=.
5127 for ac_exec_ext in '' $ac_executable_extensions; do
5128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5129 ac_cv_prog_ac_ct_AS="as"
5130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131 break 2
5133 done
5134 done
5135 IFS=$as_save_IFS
5139 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5140 if test -n "$ac_ct_AS"; then
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5142 $as_echo "$ac_ct_AS" >&6; }
5143 else
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5145 $as_echo "no" >&6; }
5148 if test "x$ac_ct_AS" = x; then
5149 AS=""
5150 else
5151 case $cross_compiling:$ac_tool_warned in
5152 yes:)
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5155 ac_tool_warned=yes ;;
5156 esac
5157 AS=$ac_ct_AS
5159 else
5160 AS="$ac_cv_prog_AS"
5163 if test -n "$ac_tool_prefix"; then
5164 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5165 set dummy ${ac_tool_prefix}ar; ac_word=$2
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if test "${ac_cv_prog_AR+set}" = set; then :
5169 $as_echo_n "(cached) " >&6
5170 else
5171 if test -n "$AR"; then
5172 ac_cv_prog_AR="$AR" # Let the user override the test.
5173 else
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 for as_dir in $PATH
5177 IFS=$as_save_IFS
5178 test -z "$as_dir" && as_dir=.
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5181 ac_cv_prog_AR="${ac_tool_prefix}ar"
5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 break 2
5185 done
5186 done
5187 IFS=$as_save_IFS
5191 AR=$ac_cv_prog_AR
5192 if test -n "$AR"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5194 $as_echo "$AR" >&6; }
5195 else
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197 $as_echo "no" >&6; }
5202 if test -z "$ac_cv_prog_AR"; then
5203 ac_ct_AR=$AR
5204 # Extract the first word of "ar", so it can be a program name with args.
5205 set dummy ar; ac_word=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5209 $as_echo_n "(cached) " >&6
5210 else
5211 if test -n "$ac_ct_AR"; then
5212 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5213 else
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 for as_dir in $PATH
5217 IFS=$as_save_IFS
5218 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 ac_cv_prog_ac_ct_AR="ar"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 break 2
5225 done
5226 done
5227 IFS=$as_save_IFS
5231 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5232 if test -n "$ac_ct_AR"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5234 $as_echo "$ac_ct_AR" >&6; }
5235 else
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5240 if test "x$ac_ct_AR" = x; then
5241 AR=""
5242 else
5243 case $cross_compiling:$ac_tool_warned in
5244 yes:)
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5247 ac_tool_warned=yes ;;
5248 esac
5249 AR=$ac_ct_AR
5251 else
5252 AR="$ac_cv_prog_AR"
5255 if test -n "$ac_tool_prefix"; then
5256 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5257 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5261 $as_echo_n "(cached) " >&6
5262 else
5263 if test -n "$RANLIB"; then
5264 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5265 else
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 for as_dir in $PATH
5269 IFS=$as_save_IFS
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5273 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 break 2
5277 done
5278 done
5279 IFS=$as_save_IFS
5283 RANLIB=$ac_cv_prog_RANLIB
5284 if test -n "$RANLIB"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5286 $as_echo "$RANLIB" >&6; }
5287 else
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5294 if test -z "$ac_cv_prog_RANLIB"; then
5295 ac_ct_RANLIB=$RANLIB
5296 # Extract the first word of "ranlib", so it can be a program name with args.
5297 set dummy ranlib; ac_word=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5301 $as_echo_n "(cached) " >&6
5302 else
5303 if test -n "$ac_ct_RANLIB"; then
5304 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5309 IFS=$as_save_IFS
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_ac_ct_RANLIB="ranlib"
5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 break 2
5317 done
5318 done
5319 IFS=$as_save_IFS
5323 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5324 if test -n "$ac_ct_RANLIB"; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5326 $as_echo "$ac_ct_RANLIB" >&6; }
5327 else
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5332 if test "x$ac_ct_RANLIB" = x; then
5333 RANLIB="ranlib-not-found-in-path-error"
5334 else
5335 case $cross_compiling:$ac_tool_warned in
5336 yes:)
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5339 ac_tool_warned=yes ;;
5340 esac
5341 RANLIB=$ac_ct_RANLIB
5343 else
5344 RANLIB="$ac_cv_prog_RANLIB"
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5350 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5351 # Check whether --enable-maintainer-mode was given.
5352 if test "${enable_maintainer_mode+set}" = set; then :
5353 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5354 else
5355 USE_MAINTAINER_MODE=no
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5359 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5360 if test $USE_MAINTAINER_MODE = yes; then
5361 MAINTAINER_MODE_TRUE=
5362 MAINTAINER_MODE_FALSE='#'
5363 else
5364 MAINTAINER_MODE_TRUE='#'
5365 MAINTAINER_MODE_FALSE=
5368 MAINT=$MAINTAINER_MODE_TRUE
5372 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5373 # which are themselves conditionally expanded.
5374 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5375 ## other macros from doing the same. This should be automated.) -pme
5377 # Check for C library flavor since GNU/Linux platforms use different
5378 # configuration directories depending on the C library in use.
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5382 #include <stdio.h>
5383 #if __UCLIBC__
5384 _using_uclibc
5385 #endif
5387 _ACEOF
5388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5389 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5390 uclibc=yes
5391 else
5392 uclibc=no
5394 rm -f conftest*
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5400 #include <stdio.h>
5401 #if __BIONIC__
5402 _using_bionic
5403 #endif
5405 _ACEOF
5406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5407 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5408 bionic=yes
5409 else
5410 bionic=no
5412 rm -f conftest*
5415 # Find platform-specific directories containing configuration info.
5416 # Also possibly modify flags used elsewhere, as needed by the platform.
5418 . $glibcxx_srcdir/configure.host
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5420 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5422 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5426 # Libtool setup.
5427 if test "x${with_newlib}" != "xyes"; then
5428 enable_dlopen=yes
5433 case `pwd` in
5434 *\ * | *\ *)
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5436 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5437 esac
5441 macro_version='2.2.7a'
5442 macro_revision='1.3134'
5456 ltmain="$ac_aux_dir/ltmain.sh"
5458 # Backslashify metacharacters that are still active within
5459 # double-quoted strings.
5460 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5462 # Same as above, but do not quote variable references.
5463 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5465 # Sed substitution to delay expansion of an escaped shell variable in a
5466 # double_quote_subst'ed string.
5467 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5469 # Sed substitution to delay expansion of an escaped single quote.
5470 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5472 # Sed substitution to avoid accidental globbing in evaled expressions
5473 no_glob_subst='s/\*/\\\*/g'
5475 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5476 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5477 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5480 $as_echo_n "checking how to print strings... " >&6; }
5481 # Test print first, because it will be a builtin if present.
5482 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5483 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5484 ECHO='print -r --'
5485 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5486 ECHO='printf %s\n'
5487 else
5488 # Use this function as a fallback that always works.
5489 func_fallback_echo ()
5491 eval 'cat <<_LTECHO_EOF
5493 _LTECHO_EOF'
5495 ECHO='func_fallback_echo'
5498 # func_echo_all arg...
5499 # Invoke $ECHO with all args, space-separated.
5500 func_echo_all ()
5502 $ECHO ""
5505 case "$ECHO" in
5506 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5507 $as_echo "printf" >&6; } ;;
5508 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5509 $as_echo "print -r" >&6; } ;;
5510 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5511 $as_echo "cat" >&6; } ;;
5512 esac
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5528 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5529 if test "${ac_cv_path_SED+set}" = set; then :
5530 $as_echo_n "(cached) " >&6
5531 else
5532 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5533 for ac_i in 1 2 3 4 5 6 7; do
5534 ac_script="$ac_script$as_nl$ac_script"
5535 done
5536 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5537 { ac_script=; unset ac_script;}
5538 if test -z "$SED"; then
5539 ac_path_SED_found=false
5540 # Loop through the user's path and test for each of PROGNAME-LIST
5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5542 for as_dir in $PATH
5544 IFS=$as_save_IFS
5545 test -z "$as_dir" && as_dir=.
5546 for ac_prog in sed gsed; do
5547 for ac_exec_ext in '' $ac_executable_extensions; do
5548 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5549 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5550 # Check for GNU ac_path_SED and select it if it is found.
5551 # Check for GNU $ac_path_SED
5552 case `"$ac_path_SED" --version 2>&1` in
5553 *GNU*)
5554 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5556 ac_count=0
5557 $as_echo_n 0123456789 >"conftest.in"
5558 while :
5560 cat "conftest.in" "conftest.in" >"conftest.tmp"
5561 mv "conftest.tmp" "conftest.in"
5562 cp "conftest.in" "conftest.nl"
5563 $as_echo '' >> "conftest.nl"
5564 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5565 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5566 as_fn_arith $ac_count + 1 && ac_count=$as_val
5567 if test $ac_count -gt ${ac_path_SED_max-0}; then
5568 # Best one so far, save it but keep looking for a better one
5569 ac_cv_path_SED="$ac_path_SED"
5570 ac_path_SED_max=$ac_count
5572 # 10*(2^10) chars as input seems more than enough
5573 test $ac_count -gt 10 && break
5574 done
5575 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5576 esac
5578 $ac_path_SED_found && break 3
5579 done
5580 done
5581 done
5582 IFS=$as_save_IFS
5583 if test -z "$ac_cv_path_SED"; then
5584 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5586 else
5587 ac_cv_path_SED=$SED
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5592 $as_echo "$ac_cv_path_SED" >&6; }
5593 SED="$ac_cv_path_SED"
5594 rm -f conftest.sed
5596 test -z "$SED" && SED=sed
5597 Xsed="$SED -e 1s/^X//"
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5610 $as_echo_n "checking for fgrep... " >&6; }
5611 if test "${ac_cv_path_FGREP+set}" = set; then :
5612 $as_echo_n "(cached) " >&6
5613 else
5614 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5615 then ac_cv_path_FGREP="$GREP -F"
5616 else
5617 if test -z "$FGREP"; then
5618 ac_path_FGREP_found=false
5619 # Loop through the user's path and test for each of PROGNAME-LIST
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5623 IFS=$as_save_IFS
5624 test -z "$as_dir" && as_dir=.
5625 for ac_prog in fgrep; do
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5628 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5629 # Check for GNU ac_path_FGREP and select it if it is found.
5630 # Check for GNU $ac_path_FGREP
5631 case `"$ac_path_FGREP" --version 2>&1` in
5632 *GNU*)
5633 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5635 ac_count=0
5636 $as_echo_n 0123456789 >"conftest.in"
5637 while :
5639 cat "conftest.in" "conftest.in" >"conftest.tmp"
5640 mv "conftest.tmp" "conftest.in"
5641 cp "conftest.in" "conftest.nl"
5642 $as_echo 'FGREP' >> "conftest.nl"
5643 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5644 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5645 as_fn_arith $ac_count + 1 && ac_count=$as_val
5646 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5647 # Best one so far, save it but keep looking for a better one
5648 ac_cv_path_FGREP="$ac_path_FGREP"
5649 ac_path_FGREP_max=$ac_count
5651 # 10*(2^10) chars as input seems more than enough
5652 test $ac_count -gt 10 && break
5653 done
5654 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5655 esac
5657 $ac_path_FGREP_found && break 3
5658 done
5659 done
5660 done
5661 IFS=$as_save_IFS
5662 if test -z "$ac_cv_path_FGREP"; then
5663 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5665 else
5666 ac_cv_path_FGREP=$FGREP
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5672 $as_echo "$ac_cv_path_FGREP" >&6; }
5673 FGREP="$ac_cv_path_FGREP"
5676 test -z "$GREP" && GREP=grep
5696 # Check whether --with-gnu-ld was given.
5697 if test "${with_gnu_ld+set}" = set; then :
5698 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5699 else
5700 with_gnu_ld=no
5703 ac_prog=ld
5704 if test "$GCC" = yes; then
5705 # Check if gcc -print-prog-name=ld gives a path.
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5707 $as_echo_n "checking for ld used by $CC... " >&6; }
5708 case $host in
5709 *-*-mingw*)
5710 # gcc leaves a trailing carriage return which upsets mingw
5711 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5713 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5714 esac
5715 case $ac_prog in
5716 # Accept absolute paths.
5717 [\\/]* | ?:[\\/]*)
5718 re_direlt='/[^/][^/]*/\.\./'
5719 # Canonicalize the pathname of ld
5720 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5721 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5722 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5723 done
5724 test -z "$LD" && LD="$ac_prog"
5727 # If it fails, then pretend we aren't using GCC.
5728 ac_prog=ld
5731 # If it is relative, then search for the first ld in PATH.
5732 with_gnu_ld=unknown
5734 esac
5735 elif test "$with_gnu_ld" = yes; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5737 $as_echo_n "checking for GNU ld... " >&6; }
5738 else
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5740 $as_echo_n "checking for non-GNU ld... " >&6; }
5742 if test "${lt_cv_path_LD+set}" = set; then :
5743 $as_echo_n "(cached) " >&6
5744 else
5745 if test -z "$LD"; then
5746 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5747 for ac_dir in $PATH; do
5748 IFS="$lt_save_ifs"
5749 test -z "$ac_dir" && ac_dir=.
5750 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5751 lt_cv_path_LD="$ac_dir/$ac_prog"
5752 # Check to see if the program is GNU ld. I'd rather use --version,
5753 # but apparently some variants of GNU ld only accept -v.
5754 # Break only if it was the GNU/non-GNU ld that we prefer.
5755 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5756 *GNU* | *'with BFD'*)
5757 test "$with_gnu_ld" != no && break
5760 test "$with_gnu_ld" != yes && break
5762 esac
5764 done
5765 IFS="$lt_save_ifs"
5766 else
5767 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5771 LD="$lt_cv_path_LD"
5772 if test -n "$LD"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5774 $as_echo "$LD" >&6; }
5775 else
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5779 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5781 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5782 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5783 $as_echo_n "(cached) " >&6
5784 else
5785 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5786 case `$LD -v 2>&1 </dev/null` in
5787 *GNU* | *'with BFD'*)
5788 lt_cv_prog_gnu_ld=yes
5791 lt_cv_prog_gnu_ld=no
5793 esac
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5796 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5797 with_gnu_ld=$lt_cv_prog_gnu_ld
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5808 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5809 if test "${lt_cv_path_NM+set}" = set; then :
5810 $as_echo_n "(cached) " >&6
5811 else
5812 if test -n "$NM"; then
5813 # Let the user override the test.
5814 lt_cv_path_NM="$NM"
5815 else
5816 lt_nm_to_check="${ac_tool_prefix}nm"
5817 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5818 lt_nm_to_check="$lt_nm_to_check nm"
5820 for lt_tmp_nm in $lt_nm_to_check; do
5821 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5822 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5823 IFS="$lt_save_ifs"
5824 test -z "$ac_dir" && ac_dir=.
5825 tmp_nm="$ac_dir/$lt_tmp_nm"
5826 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5827 # Check to see if the nm accepts a BSD-compat flag.
5828 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5829 # nm: unknown option "B" ignored
5830 # Tru64's nm complains that /dev/null is an invalid object file
5831 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5832 */dev/null* | *'Invalid file or object type'*)
5833 lt_cv_path_NM="$tmp_nm -B"
5834 break
5837 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5838 */dev/null*)
5839 lt_cv_path_NM="$tmp_nm -p"
5840 break
5843 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5844 continue # so that we can try to find one that supports BSD flags
5846 esac
5848 esac
5850 done
5851 IFS="$lt_save_ifs"
5852 done
5853 : ${lt_cv_path_NM=no}
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5857 $as_echo "$lt_cv_path_NM" >&6; }
5858 if test "$lt_cv_path_NM" != "no"; then
5859 NM="$lt_cv_path_NM"
5860 else
5861 # Didn't find any BSD compatible name lister, look for dumpbin.
5862 if test -n "$DUMPBIN"; then :
5863 # Let the user override the test.
5864 else
5865 if test -n "$ac_tool_prefix"; then
5866 for ac_prog in dumpbin "link -dump"
5868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5869 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5873 $as_echo_n "(cached) " >&6
5874 else
5875 if test -n "$DUMPBIN"; then
5876 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5877 else
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5879 for as_dir in $PATH
5881 IFS=$as_save_IFS
5882 test -z "$as_dir" && as_dir=.
5883 for ac_exec_ext in '' $ac_executable_extensions; do
5884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5885 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887 break 2
5889 done
5890 done
5891 IFS=$as_save_IFS
5895 DUMPBIN=$ac_cv_prog_DUMPBIN
5896 if test -n "$DUMPBIN"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5898 $as_echo "$DUMPBIN" >&6; }
5899 else
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5905 test -n "$DUMPBIN" && break
5906 done
5908 if test -z "$DUMPBIN"; then
5909 ac_ct_DUMPBIN=$DUMPBIN
5910 for ac_prog in dumpbin "link -dump"
5912 # Extract the first word of "$ac_prog", so it can be a program name with args.
5913 set dummy $ac_prog; ac_word=$2
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 $as_echo_n "checking for $ac_word... " >&6; }
5916 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5917 $as_echo_n "(cached) " >&6
5918 else
5919 if test -n "$ac_ct_DUMPBIN"; then
5920 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5921 else
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 for as_dir in $PATH
5925 IFS=$as_save_IFS
5926 test -z "$as_dir" && as_dir=.
5927 for ac_exec_ext in '' $ac_executable_extensions; do
5928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5929 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 break 2
5933 done
5934 done
5935 IFS=$as_save_IFS
5939 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5940 if test -n "$ac_ct_DUMPBIN"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5942 $as_echo "$ac_ct_DUMPBIN" >&6; }
5943 else
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5949 test -n "$ac_ct_DUMPBIN" && break
5950 done
5952 if test "x$ac_ct_DUMPBIN" = x; then
5953 DUMPBIN=":"
5954 else
5955 case $cross_compiling:$ac_tool_warned in
5956 yes:)
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5959 ac_tool_warned=yes ;;
5960 esac
5961 DUMPBIN=$ac_ct_DUMPBIN
5965 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5966 *COFF*)
5967 DUMPBIN="$DUMPBIN -symbols"
5970 DUMPBIN=:
5972 esac
5975 if test "$DUMPBIN" != ":"; then
5976 NM="$DUMPBIN"
5979 test -z "$NM" && NM=nm
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5987 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5988 if test "${lt_cv_nm_interface+set}" = set; then :
5989 $as_echo_n "(cached) " >&6
5990 else
5991 lt_cv_nm_interface="BSD nm"
5992 echo "int some_variable = 0;" > conftest.$ac_ext
5993 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5994 (eval "$ac_compile" 2>conftest.err)
5995 cat conftest.err >&5
5996 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5997 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5998 cat conftest.err >&5
5999 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6000 cat conftest.out >&5
6001 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6002 lt_cv_nm_interface="MS dumpbin"
6004 rm -f conftest*
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6007 $as_echo "$lt_cv_nm_interface" >&6; }
6009 # find the maximum length of command line arguments
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6011 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6012 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6013 $as_echo_n "(cached) " >&6
6014 else
6016 teststring="ABCD"
6018 case $build_os in
6019 msdosdjgpp*)
6020 # On DJGPP, this test can blow up pretty badly due to problems in libc
6021 # (any single argument exceeding 2000 bytes causes a buffer overrun
6022 # during glob expansion). Even if it were fixed, the result of this
6023 # check would be larger than it should be.
6024 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6027 gnu*)
6028 # Under GNU Hurd, this test is not required because there is
6029 # no limit to the length of command line arguments.
6030 # Libtool will interpret -1 as no limit whatsoever
6031 lt_cv_sys_max_cmd_len=-1;
6034 cygwin* | mingw* | cegcc*)
6035 # On Win9x/ME, this test blows up -- it succeeds, but takes
6036 # about 5 minutes as the teststring grows exponentially.
6037 # Worse, since 9x/ME are not pre-emptively multitasking,
6038 # you end up with a "frozen" computer, even though with patience
6039 # the test eventually succeeds (with a max line length of 256k).
6040 # Instead, let's just punt: use the minimum linelength reported by
6041 # all of the supported platforms: 8192 (on NT/2K/XP).
6042 lt_cv_sys_max_cmd_len=8192;
6045 mint*)
6046 # On MiNT this can take a long time and run out of memory.
6047 lt_cv_sys_max_cmd_len=8192;
6050 amigaos*)
6051 # On AmigaOS with pdksh, this test takes hours, literally.
6052 # So we just punt and use a minimum line length of 8192.
6053 lt_cv_sys_max_cmd_len=8192;
6056 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6057 # This has been around since 386BSD, at least. Likely further.
6058 if test -x /sbin/sysctl; then
6059 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6060 elif test -x /usr/sbin/sysctl; then
6061 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6062 else
6063 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6065 # And add a safety zone
6066 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6067 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6070 interix*)
6071 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6072 lt_cv_sys_max_cmd_len=196608
6075 osf*)
6076 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6077 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6078 # nice to cause kernel panics so lets avoid the loop below.
6079 # First set a reasonable default.
6080 lt_cv_sys_max_cmd_len=16384
6082 if test -x /sbin/sysconfig; then
6083 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6084 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6085 esac
6088 sco3.2v5*)
6089 lt_cv_sys_max_cmd_len=102400
6091 sysv5* | sco5v6* | sysv4.2uw2*)
6092 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6093 if test -n "$kargmax"; then
6094 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6095 else
6096 lt_cv_sys_max_cmd_len=32768
6100 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6101 if test -n "$lt_cv_sys_max_cmd_len"; then
6102 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6103 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6104 else
6105 # Make teststring a little bigger before we do anything with it.
6106 # a 1K string should be a reasonable start.
6107 for i in 1 2 3 4 5 6 7 8 ; do
6108 teststring=$teststring$teststring
6109 done
6110 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6111 # If test is not a shell built-in, we'll probably end up computing a
6112 # maximum length that is only half of the actual maximum length, but
6113 # we can't tell.
6114 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6115 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6116 test $i != 17 # 1/2 MB should be enough
6118 i=`expr $i + 1`
6119 teststring=$teststring$teststring
6120 done
6121 # Only check the string length outside the loop.
6122 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6123 teststring=
6124 # Add a significant safety factor because C++ compilers can tack on
6125 # massive amounts of additional arguments before passing them to the
6126 # linker. It appears as though 1/2 is a usable value.
6127 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6130 esac
6134 if test -n $lt_cv_sys_max_cmd_len ; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6136 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6137 else
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6139 $as_echo "none" >&6; }
6141 max_cmd_len=$lt_cv_sys_max_cmd_len
6148 : ${CP="cp -f"}
6149 : ${MV="mv -f"}
6150 : ${RM="rm -f"}
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6153 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6154 # Try some XSI features
6155 xsi_shell=no
6156 ( _lt_dummy="a/b/c"
6157 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6158 = c,a/b,, \
6159 && eval 'test $(( 1 + 1 )) -eq 2 \
6160 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6161 && xsi_shell=yes
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6163 $as_echo "$xsi_shell" >&6; }
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6167 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6168 lt_shell_append=no
6169 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6170 >/dev/null 2>&1 \
6171 && lt_shell_append=yes
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6173 $as_echo "$lt_shell_append" >&6; }
6176 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6177 lt_unset=unset
6178 else
6179 lt_unset=false
6186 # test EBCDIC or ASCII
6187 case `echo X|tr X '\101'` in
6188 A) # ASCII based system
6189 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6190 lt_SP2NL='tr \040 \012'
6191 lt_NL2SP='tr \015\012 \040\040'
6193 *) # EBCDIC based system
6194 lt_SP2NL='tr \100 \n'
6195 lt_NL2SP='tr \r\n \100\100'
6197 esac
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6208 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6209 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6210 $as_echo_n "(cached) " >&6
6211 else
6212 lt_cv_ld_reload_flag='-r'
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6215 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6216 reload_flag=$lt_cv_ld_reload_flag
6217 case $reload_flag in
6218 "" | " "*) ;;
6219 *) reload_flag=" $reload_flag" ;;
6220 esac
6221 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6222 case $host_os in
6223 darwin*)
6224 if test "$GCC" = yes; then
6225 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6226 else
6227 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6230 esac
6240 if test -n "$ac_tool_prefix"; then
6241 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6242 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6244 $as_echo_n "checking for $ac_word... " >&6; }
6245 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6246 $as_echo_n "(cached) " >&6
6247 else
6248 if test -n "$OBJDUMP"; then
6249 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6250 else
6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 for as_dir in $PATH
6254 IFS=$as_save_IFS
6255 test -z "$as_dir" && as_dir=.
6256 for ac_exec_ext in '' $ac_executable_extensions; do
6257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6258 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6260 break 2
6262 done
6263 done
6264 IFS=$as_save_IFS
6268 OBJDUMP=$ac_cv_prog_OBJDUMP
6269 if test -n "$OBJDUMP"; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6271 $as_echo "$OBJDUMP" >&6; }
6272 else
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6274 $as_echo "no" >&6; }
6279 if test -z "$ac_cv_prog_OBJDUMP"; then
6280 ac_ct_OBJDUMP=$OBJDUMP
6281 # Extract the first word of "objdump", so it can be a program name with args.
6282 set dummy objdump; ac_word=$2
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6284 $as_echo_n "checking for $ac_word... " >&6; }
6285 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 if test -n "$ac_ct_OBJDUMP"; then
6289 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6290 else
6291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 for as_dir in $PATH
6294 IFS=$as_save_IFS
6295 test -z "$as_dir" && as_dir=.
6296 for ac_exec_ext in '' $ac_executable_extensions; do
6297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6298 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 break 2
6302 done
6303 done
6304 IFS=$as_save_IFS
6308 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6309 if test -n "$ac_ct_OBJDUMP"; then
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6311 $as_echo "$ac_ct_OBJDUMP" >&6; }
6312 else
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6314 $as_echo "no" >&6; }
6317 if test "x$ac_ct_OBJDUMP" = x; then
6318 OBJDUMP="false"
6319 else
6320 case $cross_compiling:$ac_tool_warned in
6321 yes:)
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6324 ac_tool_warned=yes ;;
6325 esac
6326 OBJDUMP=$ac_ct_OBJDUMP
6328 else
6329 OBJDUMP="$ac_cv_prog_OBJDUMP"
6332 test -z "$OBJDUMP" && OBJDUMP=objdump
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6343 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6344 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6345 $as_echo_n "(cached) " >&6
6346 else
6347 lt_cv_file_magic_cmd='$MAGIC_CMD'
6348 lt_cv_file_magic_test_file=
6349 lt_cv_deplibs_check_method='unknown'
6350 # Need to set the preceding variable on all platforms that support
6351 # interlibrary dependencies.
6352 # 'none' -- dependencies not supported.
6353 # `unknown' -- same as none, but documents that we really don't know.
6354 # 'pass_all' -- all dependencies passed with no checks.
6355 # 'test_compile' -- check by making test program.
6356 # 'file_magic [[regex]]' -- check by looking for files in library path
6357 # which responds to the $file_magic_cmd with a given extended regex.
6358 # If you have `file' or equivalent on your system and you're not sure
6359 # whether `pass_all' will *always* work, you probably want this one.
6361 case $host_os in
6362 aix[4-9]*)
6363 lt_cv_deplibs_check_method=pass_all
6366 beos*)
6367 lt_cv_deplibs_check_method=pass_all
6370 bsdi[45]*)
6371 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6372 lt_cv_file_magic_cmd='/usr/bin/file -L'
6373 lt_cv_file_magic_test_file=/shlib/libc.so
6376 cygwin*)
6377 # func_win32_libid is a shell function defined in ltmain.sh
6378 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6379 lt_cv_file_magic_cmd='func_win32_libid'
6382 mingw* | pw32*)
6383 # Base MSYS/MinGW do not provide the 'file' command needed by
6384 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6385 # unless we find 'file', for example because we are cross-compiling.
6386 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6387 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6388 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6389 lt_cv_file_magic_cmd='func_win32_libid'
6390 else
6391 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6392 lt_cv_file_magic_cmd='$OBJDUMP -f'
6396 cegcc*)
6397 # use the weaker test based on 'objdump'. See mingw*.
6398 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6399 lt_cv_file_magic_cmd='$OBJDUMP -f'
6402 darwin* | rhapsody*)
6403 lt_cv_deplibs_check_method=pass_all
6406 freebsd* | dragonfly*)
6407 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6408 case $host_cpu in
6409 i*86 )
6410 # Not sure whether the presence of OpenBSD here was a mistake.
6411 # Let's accept both of them until this is cleared up.
6412 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6413 lt_cv_file_magic_cmd=/usr/bin/file
6414 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6416 esac
6417 else
6418 lt_cv_deplibs_check_method=pass_all
6422 gnu*)
6423 lt_cv_deplibs_check_method=pass_all
6426 haiku*)
6427 lt_cv_deplibs_check_method=pass_all
6430 hpux10.20* | hpux11*)
6431 lt_cv_file_magic_cmd=/usr/bin/file
6432 case $host_cpu in
6433 ia64*)
6434 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6435 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6437 hppa*64*)
6438 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]'
6439 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6442 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6443 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6445 esac
6448 interix[3-9]*)
6449 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6450 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6453 irix5* | irix6* | nonstopux*)
6454 case $LD in
6455 *-32|*"-32 ") libmagic=32-bit;;
6456 *-n32|*"-n32 ") libmagic=N32;;
6457 *-64|*"-64 ") libmagic=64-bit;;
6458 *) libmagic=never-match;;
6459 esac
6460 lt_cv_deplibs_check_method=pass_all
6463 # This must be Linux ELF.
6464 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6465 lt_cv_deplibs_check_method=pass_all
6468 netbsd*)
6469 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6470 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6471 else
6472 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6476 newos6*)
6477 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6478 lt_cv_file_magic_cmd=/usr/bin/file
6479 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6482 *nto* | *qnx*)
6483 lt_cv_deplibs_check_method=pass_all
6486 openbsd*)
6487 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6488 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6489 else
6490 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6494 osf3* | osf4* | osf5*)
6495 lt_cv_deplibs_check_method=pass_all
6498 rdos*)
6499 lt_cv_deplibs_check_method=pass_all
6502 solaris*)
6503 lt_cv_deplibs_check_method=pass_all
6506 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6507 lt_cv_deplibs_check_method=pass_all
6510 sysv4 | sysv4.3*)
6511 case $host_vendor in
6512 motorola)
6513 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]'
6514 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6516 ncr)
6517 lt_cv_deplibs_check_method=pass_all
6519 sequent)
6520 lt_cv_file_magic_cmd='/bin/file'
6521 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6523 sni)
6524 lt_cv_file_magic_cmd='/bin/file'
6525 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6526 lt_cv_file_magic_test_file=/lib/libc.so
6528 siemens)
6529 lt_cv_deplibs_check_method=pass_all
6532 lt_cv_deplibs_check_method=pass_all
6534 esac
6537 tpf*)
6538 lt_cv_deplibs_check_method=pass_all
6540 esac
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6544 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6545 file_magic_cmd=$lt_cv_file_magic_cmd
6546 deplibs_check_method=$lt_cv_deplibs_check_method
6547 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6560 if test -n "$ac_tool_prefix"; then
6561 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6562 set dummy ${ac_tool_prefix}ar; ac_word=$2
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6564 $as_echo_n "checking for $ac_word... " >&6; }
6565 if test "${ac_cv_prog_AR+set}" = set; then :
6566 $as_echo_n "(cached) " >&6
6567 else
6568 if test -n "$AR"; then
6569 ac_cv_prog_AR="$AR" # Let the user override the test.
6570 else
6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 for as_dir in $PATH
6574 IFS=$as_save_IFS
6575 test -z "$as_dir" && as_dir=.
6576 for ac_exec_ext in '' $ac_executable_extensions; do
6577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6578 ac_cv_prog_AR="${ac_tool_prefix}ar"
6579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6580 break 2
6582 done
6583 done
6584 IFS=$as_save_IFS
6588 AR=$ac_cv_prog_AR
6589 if test -n "$AR"; then
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6591 $as_echo "$AR" >&6; }
6592 else
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6594 $as_echo "no" >&6; }
6599 if test -z "$ac_cv_prog_AR"; then
6600 ac_ct_AR=$AR
6601 # Extract the first word of "ar", so it can be a program name with args.
6602 set dummy ar; ac_word=$2
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604 $as_echo_n "checking for $ac_word... " >&6; }
6605 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6606 $as_echo_n "(cached) " >&6
6607 else
6608 if test -n "$ac_ct_AR"; then
6609 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6610 else
6611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6612 for as_dir in $PATH
6614 IFS=$as_save_IFS
6615 test -z "$as_dir" && as_dir=.
6616 for ac_exec_ext in '' $ac_executable_extensions; do
6617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6618 ac_cv_prog_ac_ct_AR="ar"
6619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6620 break 2
6622 done
6623 done
6624 IFS=$as_save_IFS
6628 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6629 if test -n "$ac_ct_AR"; then
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6631 $as_echo "$ac_ct_AR" >&6; }
6632 else
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6634 $as_echo "no" >&6; }
6637 if test "x$ac_ct_AR" = x; then
6638 AR="false"
6639 else
6640 case $cross_compiling:$ac_tool_warned in
6641 yes:)
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6644 ac_tool_warned=yes ;;
6645 esac
6646 AR=$ac_ct_AR
6648 else
6649 AR="$ac_cv_prog_AR"
6652 test -z "$AR" && AR=ar
6653 test -z "$AR_FLAGS" && AR_FLAGS=cru
6665 if test -n "$ac_tool_prefix"; then
6666 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6667 set dummy ${ac_tool_prefix}strip; ac_word=$2
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669 $as_echo_n "checking for $ac_word... " >&6; }
6670 if test "${ac_cv_prog_STRIP+set}" = set; then :
6671 $as_echo_n "(cached) " >&6
6672 else
6673 if test -n "$STRIP"; then
6674 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6675 else
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 for as_dir in $PATH
6679 IFS=$as_save_IFS
6680 test -z "$as_dir" && as_dir=.
6681 for ac_exec_ext in '' $ac_executable_extensions; do
6682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6683 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685 break 2
6687 done
6688 done
6689 IFS=$as_save_IFS
6693 STRIP=$ac_cv_prog_STRIP
6694 if test -n "$STRIP"; then
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6696 $as_echo "$STRIP" >&6; }
6697 else
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 $as_echo "no" >&6; }
6704 if test -z "$ac_cv_prog_STRIP"; then
6705 ac_ct_STRIP=$STRIP
6706 # Extract the first word of "strip", so it can be a program name with args.
6707 set dummy strip; ac_word=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6711 $as_echo_n "(cached) " >&6
6712 else
6713 if test -n "$ac_ct_STRIP"; then
6714 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6715 else
6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 for as_dir in $PATH
6719 IFS=$as_save_IFS
6720 test -z "$as_dir" && as_dir=.
6721 for ac_exec_ext in '' $ac_executable_extensions; do
6722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6723 ac_cv_prog_ac_ct_STRIP="strip"
6724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725 break 2
6727 done
6728 done
6729 IFS=$as_save_IFS
6733 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6734 if test -n "$ac_ct_STRIP"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6736 $as_echo "$ac_ct_STRIP" >&6; }
6737 else
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6742 if test "x$ac_ct_STRIP" = x; then
6743 STRIP=":"
6744 else
6745 case $cross_compiling:$ac_tool_warned in
6746 yes:)
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6749 ac_tool_warned=yes ;;
6750 esac
6751 STRIP=$ac_ct_STRIP
6753 else
6754 STRIP="$ac_cv_prog_STRIP"
6757 test -z "$STRIP" && STRIP=:
6764 if test -n "$ac_tool_prefix"; then
6765 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6766 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6768 $as_echo_n "checking for $ac_word... " >&6; }
6769 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6770 $as_echo_n "(cached) " >&6
6771 else
6772 if test -n "$RANLIB"; then
6773 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6774 else
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 for as_dir in $PATH
6778 IFS=$as_save_IFS
6779 test -z "$as_dir" && as_dir=.
6780 for ac_exec_ext in '' $ac_executable_extensions; do
6781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6782 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6784 break 2
6786 done
6787 done
6788 IFS=$as_save_IFS
6792 RANLIB=$ac_cv_prog_RANLIB
6793 if test -n "$RANLIB"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6795 $as_echo "$RANLIB" >&6; }
6796 else
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798 $as_echo "no" >&6; }
6803 if test -z "$ac_cv_prog_RANLIB"; then
6804 ac_ct_RANLIB=$RANLIB
6805 # Extract the first word of "ranlib", so it can be a program name with args.
6806 set dummy ranlib; ac_word=$2
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6808 $as_echo_n "checking for $ac_word... " >&6; }
6809 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6812 if test -n "$ac_ct_RANLIB"; then
6813 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6814 else
6815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 for as_dir in $PATH
6818 IFS=$as_save_IFS
6819 test -z "$as_dir" && as_dir=.
6820 for ac_exec_ext in '' $ac_executable_extensions; do
6821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6822 ac_cv_prog_ac_ct_RANLIB="ranlib"
6823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6824 break 2
6826 done
6827 done
6828 IFS=$as_save_IFS
6832 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6833 if test -n "$ac_ct_RANLIB"; then
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6835 $as_echo "$ac_ct_RANLIB" >&6; }
6836 else
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6838 $as_echo "no" >&6; }
6841 if test "x$ac_ct_RANLIB" = x; then
6842 RANLIB=":"
6843 else
6844 case $cross_compiling:$ac_tool_warned in
6845 yes:)
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6848 ac_tool_warned=yes ;;
6849 esac
6850 RANLIB=$ac_ct_RANLIB
6852 else
6853 RANLIB="$ac_cv_prog_RANLIB"
6856 test -z "$RANLIB" && RANLIB=:
6863 # Determine commands to create old-style static archives.
6864 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6865 old_postinstall_cmds='chmod 644 $oldlib'
6866 old_postuninstall_cmds=
6868 if test -n "$RANLIB"; then
6869 case $host_os in
6870 openbsd*)
6871 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6874 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6876 esac
6877 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6880 case $host_os in
6881 darwin*)
6882 lock_old_archive_extraction=yes ;;
6884 lock_old_archive_extraction=no ;;
6885 esac
6925 # If no C compiler was specified, use CC.
6926 LTCC=${LTCC-"$CC"}
6928 # If no C compiler flags were specified, use CFLAGS.
6929 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6931 # Allow CC to be a program name with arguments.
6932 compiler=$CC
6935 # Check for command to grab the raw symbol name followed by C symbol from nm.
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6937 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6938 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6939 $as_echo_n "(cached) " >&6
6940 else
6942 # These are sane defaults that work on at least a few old systems.
6943 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6945 # Character class describing NM global symbol codes.
6946 symcode='[BCDEGRST]'
6948 # Regexp to match symbols that can be accessed directly from C.
6949 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6951 # Define system-specific variables.
6952 case $host_os in
6953 aix*)
6954 symcode='[BCDT]'
6956 cygwin* | mingw* | pw32* | cegcc*)
6957 symcode='[ABCDGISTW]'
6959 hpux*)
6960 if test "$host_cpu" = ia64; then
6961 symcode='[ABCDEGRST]'
6964 irix* | nonstopux*)
6965 symcode='[BCDEGRST]'
6967 osf*)
6968 symcode='[BCDEGQRST]'
6970 solaris*)
6971 symcode='[BDRT]'
6973 sco3.2v5*)
6974 symcode='[DT]'
6976 sysv4.2uw2*)
6977 symcode='[DT]'
6979 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6980 symcode='[ABDT]'
6982 sysv4)
6983 symcode='[DFNSTU]'
6985 esac
6987 # If we're using GNU nm, then use its standard symbol codes.
6988 case `$NM -V 2>&1` in
6989 *GNU* | *'with BFD'*)
6990 symcode='[ABCDGIRSTW]' ;;
6991 esac
6993 # Transform an extracted symbol line into a proper C declaration.
6994 # Some systems (esp. on ia64) link data and code symbols differently,
6995 # so use this general approach.
6996 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6998 # Transform an extracted symbol line into symbol name and symbol address
6999 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7000 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'"
7002 # Handle CRLF in mingw tool chain
7003 opt_cr=
7004 case $build_os in
7005 mingw*)
7006 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7008 esac
7010 # Try without a prefix underscore, then with it.
7011 for ac_symprfx in "" "_"; do
7013 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7014 symxfrm="\\1 $ac_symprfx\\2 \\2"
7016 # Write the raw and C identifiers.
7017 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7018 # Fake it for dumpbin and say T for any non-static function
7019 # and D for any global variable.
7020 # Also find C++ and __fastcall symbols from MSVC++,
7021 # which start with @ or ?.
7022 lt_cv_sys_global_symbol_pipe="$AWK '"\
7023 " {last_section=section; section=\$ 3};"\
7024 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7025 " \$ 0!~/External *\|/{next};"\
7026 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7027 " {if(hide[section]) next};"\
7028 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7029 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7030 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7031 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7032 " ' prfx=^$ac_symprfx"
7033 else
7034 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7037 # Check to see that the pipe works correctly.
7038 pipe_works=no
7040 rm -f conftest*
7041 cat > conftest.$ac_ext <<_LT_EOF
7042 #ifdef __cplusplus
7043 extern "C" {
7044 #endif
7045 char nm_test_var;
7046 void nm_test_func(void);
7047 void nm_test_func(void){}
7048 #ifdef __cplusplus
7050 #endif
7051 int main(){nm_test_var='a';nm_test_func();return(0);}
7052 _LT_EOF
7054 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7055 (eval $ac_compile) 2>&5
7056 ac_status=$?
7057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7058 test $ac_status = 0; }; then
7059 # Now try to grab the symbols.
7060 nlist=conftest.nm
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7062 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7063 ac_status=$?
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; } && test -s "$nlist"; then
7066 # Try sorting and uniquifying the output.
7067 if sort "$nlist" | uniq > "$nlist"T; then
7068 mv -f "$nlist"T "$nlist"
7069 else
7070 rm -f "$nlist"T
7073 # Make sure that we snagged all the symbols we need.
7074 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7075 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7076 cat <<_LT_EOF > conftest.$ac_ext
7077 #ifdef __cplusplus
7078 extern "C" {
7079 #endif
7081 _LT_EOF
7082 # Now generate the symbol file.
7083 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7085 cat <<_LT_EOF >> conftest.$ac_ext
7087 /* The mapping between symbol names and symbols. */
7088 const struct {
7089 const char *name;
7090 void *address;
7092 lt__PROGRAM__LTX_preloaded_symbols[] =
7094 { "@PROGRAM@", (void *) 0 },
7095 _LT_EOF
7096 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7097 cat <<\_LT_EOF >> conftest.$ac_ext
7098 {0, (void *) 0}
7101 /* This works around a problem in FreeBSD linker */
7102 #ifdef FREEBSD_WORKAROUND
7103 static const void *lt_preloaded_setup() {
7104 return lt__PROGRAM__LTX_preloaded_symbols;
7106 #endif
7108 #ifdef __cplusplus
7110 #endif
7111 _LT_EOF
7112 # Now try linking the two files.
7113 mv conftest.$ac_objext conftstm.$ac_objext
7114 lt_save_LIBS="$LIBS"
7115 lt_save_CFLAGS="$CFLAGS"
7116 LIBS="conftstm.$ac_objext"
7117 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7119 (eval $ac_link) 2>&5
7120 ac_status=$?
7121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7123 pipe_works=yes
7125 LIBS="$lt_save_LIBS"
7126 CFLAGS="$lt_save_CFLAGS"
7127 else
7128 echo "cannot find nm_test_func in $nlist" >&5
7130 else
7131 echo "cannot find nm_test_var in $nlist" >&5
7133 else
7134 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7136 else
7137 echo "$progname: failed program was:" >&5
7138 cat conftest.$ac_ext >&5
7140 rm -rf conftest* conftst*
7142 # Do not use the global_symbol_pipe unless it works.
7143 if test "$pipe_works" = yes; then
7144 break
7145 else
7146 lt_cv_sys_global_symbol_pipe=
7148 done
7152 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7153 lt_cv_sys_global_symbol_to_cdecl=
7155 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7157 $as_echo "failed" >&6; }
7158 else
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7160 $as_echo "ok" >&6; }
7184 # Check whether --enable-libtool-lock was given.
7185 if test "${enable_libtool_lock+set}" = set; then :
7186 enableval=$enable_libtool_lock;
7189 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7191 # Some flags need to be propagated to the compiler or linker for good
7192 # libtool support.
7193 case $host in
7194 ia64-*-hpux*)
7195 # Find out which ABI we are using.
7196 echo 'int i;' > conftest.$ac_ext
7197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7198 (eval $ac_compile) 2>&5
7199 ac_status=$?
7200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7201 test $ac_status = 0; }; then
7202 case `/usr/bin/file conftest.$ac_objext` in
7203 *ELF-32*)
7204 HPUX_IA64_MODE="32"
7206 *ELF-64*)
7207 HPUX_IA64_MODE="64"
7209 esac
7211 rm -rf conftest*
7213 *-*-irix6*)
7214 # Find out which ABI we are using.
7215 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7217 (eval $ac_compile) 2>&5
7218 ac_status=$?
7219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7220 test $ac_status = 0; }; then
7221 if test "$lt_cv_prog_gnu_ld" = yes; then
7222 case `/usr/bin/file conftest.$ac_objext` in
7223 *32-bit*)
7224 LD="${LD-ld} -melf32bsmip"
7226 *N32*)
7227 LD="${LD-ld} -melf32bmipn32"
7229 *64-bit*)
7230 LD="${LD-ld} -melf64bmip"
7232 esac
7233 else
7234 case `/usr/bin/file conftest.$ac_objext` in
7235 *32-bit*)
7236 LD="${LD-ld} -32"
7238 *N32*)
7239 LD="${LD-ld} -n32"
7241 *64-bit*)
7242 LD="${LD-ld} -64"
7244 esac
7247 rm -rf conftest*
7250 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7251 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7252 # Find out which ABI we are using.
7253 echo 'int i;' > conftest.$ac_ext
7254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7255 (eval $ac_compile) 2>&5
7256 ac_status=$?
7257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7258 test $ac_status = 0; }; then
7259 case `/usr/bin/file conftest.o` in
7260 *32-bit*)
7261 case $host in
7262 x86_64-*kfreebsd*-gnu)
7263 LD="${LD-ld} -m elf_i386_fbsd"
7265 x86_64-*linux*)
7266 case `/usr/bin/file conftest.o` in
7267 *x86-64*)
7268 LD="${LD-ld} -m elf32_x86_64"
7271 LD="${LD-ld} -m elf_i386"
7273 esac
7275 powerpc64le-*linux*)
7276 LD="${LD-ld} -m elf32lppclinux"
7278 powerpc64-*linux*)
7279 LD="${LD-ld} -m elf32ppclinux"
7281 s390x-*linux*)
7282 LD="${LD-ld} -m elf_s390"
7284 sparc64-*linux*)
7285 LD="${LD-ld} -m elf32_sparc"
7287 esac
7289 *64-bit*)
7290 case $host in
7291 x86_64-*kfreebsd*-gnu)
7292 LD="${LD-ld} -m elf_x86_64_fbsd"
7294 x86_64-*linux*)
7295 LD="${LD-ld} -m elf_x86_64"
7297 powerpcle-*linux*)
7298 LD="${LD-ld} -m elf64lppc"
7300 powerpc-*linux*)
7301 LD="${LD-ld} -m elf64ppc"
7303 s390*-*linux*|s390*-*tpf*)
7304 LD="${LD-ld} -m elf64_s390"
7306 sparc*-*linux*)
7307 LD="${LD-ld} -m elf64_sparc"
7309 esac
7311 esac
7313 rm -rf conftest*
7316 *-*-sco3.2v5*)
7317 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7318 SAVE_CFLAGS="$CFLAGS"
7319 CFLAGS="$CFLAGS -belf"
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7321 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7322 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7323 $as_echo_n "(cached) " >&6
7324 else
7325 ac_ext=c
7326 ac_cpp='$CPP $CPPFLAGS'
7327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7331 if test x$gcc_no_link = xyes; then
7332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7335 /* end confdefs.h. */
7338 main ()
7342 return 0;
7344 _ACEOF
7345 if ac_fn_c_try_link "$LINENO"; then :
7346 lt_cv_cc_needs_belf=yes
7347 else
7348 lt_cv_cc_needs_belf=no
7350 rm -f core conftest.err conftest.$ac_objext \
7351 conftest$ac_exeext conftest.$ac_ext
7352 ac_ext=c
7353 ac_cpp='$CPP $CPPFLAGS'
7354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7360 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7361 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7362 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7363 CFLAGS="$SAVE_CFLAGS"
7366 sparc*-*solaris*)
7367 # Find out which ABI we are using.
7368 echo 'int i;' > conftest.$ac_ext
7369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7370 (eval $ac_compile) 2>&5
7371 ac_status=$?
7372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7373 test $ac_status = 0; }; then
7374 case `/usr/bin/file conftest.o` in
7375 *64-bit*)
7376 case $lt_cv_prog_gnu_ld in
7377 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7379 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7380 LD="${LD-ld} -64"
7383 esac
7385 esac
7387 rm -rf conftest*
7389 esac
7391 need_locks="$enable_libtool_lock"
7394 case $host_os in
7395 rhapsody* | darwin*)
7396 if test -n "$ac_tool_prefix"; then
7397 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7398 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7400 $as_echo_n "checking for $ac_word... " >&6; }
7401 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7402 $as_echo_n "(cached) " >&6
7403 else
7404 if test -n "$DSYMUTIL"; then
7405 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7406 else
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7408 for as_dir in $PATH
7410 IFS=$as_save_IFS
7411 test -z "$as_dir" && as_dir=.
7412 for ac_exec_ext in '' $ac_executable_extensions; do
7413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7414 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7416 break 2
7418 done
7419 done
7420 IFS=$as_save_IFS
7424 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7425 if test -n "$DSYMUTIL"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7427 $as_echo "$DSYMUTIL" >&6; }
7428 else
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430 $as_echo "no" >&6; }
7435 if test -z "$ac_cv_prog_DSYMUTIL"; then
7436 ac_ct_DSYMUTIL=$DSYMUTIL
7437 # Extract the first word of "dsymutil", so it can be a program name with args.
7438 set dummy dsymutil; ac_word=$2
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7440 $as_echo_n "checking for $ac_word... " >&6; }
7441 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7442 $as_echo_n "(cached) " >&6
7443 else
7444 if test -n "$ac_ct_DSYMUTIL"; then
7445 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7446 else
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 for as_dir in $PATH
7450 IFS=$as_save_IFS
7451 test -z "$as_dir" && as_dir=.
7452 for ac_exec_ext in '' $ac_executable_extensions; do
7453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7454 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7456 break 2
7458 done
7459 done
7460 IFS=$as_save_IFS
7464 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7465 if test -n "$ac_ct_DSYMUTIL"; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7467 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7468 else
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 $as_echo "no" >&6; }
7473 if test "x$ac_ct_DSYMUTIL" = x; then
7474 DSYMUTIL=":"
7475 else
7476 case $cross_compiling:$ac_tool_warned in
7477 yes:)
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7480 ac_tool_warned=yes ;;
7481 esac
7482 DSYMUTIL=$ac_ct_DSYMUTIL
7484 else
7485 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7488 if test -n "$ac_tool_prefix"; then
7489 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7490 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7492 $as_echo_n "checking for $ac_word... " >&6; }
7493 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7494 $as_echo_n "(cached) " >&6
7495 else
7496 if test -n "$NMEDIT"; then
7497 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7498 else
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500 for as_dir in $PATH
7502 IFS=$as_save_IFS
7503 test -z "$as_dir" && as_dir=.
7504 for ac_exec_ext in '' $ac_executable_extensions; do
7505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7506 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7508 break 2
7510 done
7511 done
7512 IFS=$as_save_IFS
7516 NMEDIT=$ac_cv_prog_NMEDIT
7517 if test -n "$NMEDIT"; then
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7519 $as_echo "$NMEDIT" >&6; }
7520 else
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522 $as_echo "no" >&6; }
7527 if test -z "$ac_cv_prog_NMEDIT"; then
7528 ac_ct_NMEDIT=$NMEDIT
7529 # Extract the first word of "nmedit", so it can be a program name with args.
7530 set dummy nmedit; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7534 $as_echo_n "(cached) " >&6
7535 else
7536 if test -n "$ac_ct_NMEDIT"; then
7537 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7538 else
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7540 for as_dir in $PATH
7542 IFS=$as_save_IFS
7543 test -z "$as_dir" && as_dir=.
7544 for ac_exec_ext in '' $ac_executable_extensions; do
7545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7546 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548 break 2
7550 done
7551 done
7552 IFS=$as_save_IFS
7556 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7557 if test -n "$ac_ct_NMEDIT"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7559 $as_echo "$ac_ct_NMEDIT" >&6; }
7560 else
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7565 if test "x$ac_ct_NMEDIT" = x; then
7566 NMEDIT=":"
7567 else
7568 case $cross_compiling:$ac_tool_warned in
7569 yes:)
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7572 ac_tool_warned=yes ;;
7573 esac
7574 NMEDIT=$ac_ct_NMEDIT
7576 else
7577 NMEDIT="$ac_cv_prog_NMEDIT"
7580 if test -n "$ac_tool_prefix"; then
7581 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7582 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7584 $as_echo_n "checking for $ac_word... " >&6; }
7585 if test "${ac_cv_prog_LIPO+set}" = set; then :
7586 $as_echo_n "(cached) " >&6
7587 else
7588 if test -n "$LIPO"; then
7589 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7590 else
7591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 for as_dir in $PATH
7594 IFS=$as_save_IFS
7595 test -z "$as_dir" && as_dir=.
7596 for ac_exec_ext in '' $ac_executable_extensions; do
7597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7598 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7600 break 2
7602 done
7603 done
7604 IFS=$as_save_IFS
7608 LIPO=$ac_cv_prog_LIPO
7609 if test -n "$LIPO"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7611 $as_echo "$LIPO" >&6; }
7612 else
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7614 $as_echo "no" >&6; }
7619 if test -z "$ac_cv_prog_LIPO"; then
7620 ac_ct_LIPO=$LIPO
7621 # Extract the first word of "lipo", so it can be a program name with args.
7622 set dummy lipo; ac_word=$2
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7624 $as_echo_n "checking for $ac_word... " >&6; }
7625 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7626 $as_echo_n "(cached) " >&6
7627 else
7628 if test -n "$ac_ct_LIPO"; then
7629 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7630 else
7631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7632 for as_dir in $PATH
7634 IFS=$as_save_IFS
7635 test -z "$as_dir" && as_dir=.
7636 for ac_exec_ext in '' $ac_executable_extensions; do
7637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7638 ac_cv_prog_ac_ct_LIPO="lipo"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7640 break 2
7642 done
7643 done
7644 IFS=$as_save_IFS
7648 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7649 if test -n "$ac_ct_LIPO"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7651 $as_echo "$ac_ct_LIPO" >&6; }
7652 else
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 $as_echo "no" >&6; }
7657 if test "x$ac_ct_LIPO" = x; then
7658 LIPO=":"
7659 else
7660 case $cross_compiling:$ac_tool_warned in
7661 yes:)
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7664 ac_tool_warned=yes ;;
7665 esac
7666 LIPO=$ac_ct_LIPO
7668 else
7669 LIPO="$ac_cv_prog_LIPO"
7672 if test -n "$ac_tool_prefix"; then
7673 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7674 set dummy ${ac_tool_prefix}otool; ac_word=$2
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7676 $as_echo_n "checking for $ac_word... " >&6; }
7677 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7678 $as_echo_n "(cached) " >&6
7679 else
7680 if test -n "$OTOOL"; then
7681 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7682 else
7683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7684 for as_dir in $PATH
7686 IFS=$as_save_IFS
7687 test -z "$as_dir" && as_dir=.
7688 for ac_exec_ext in '' $ac_executable_extensions; do
7689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7690 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7692 break 2
7694 done
7695 done
7696 IFS=$as_save_IFS
7700 OTOOL=$ac_cv_prog_OTOOL
7701 if test -n "$OTOOL"; then
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7703 $as_echo "$OTOOL" >&6; }
7704 else
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7706 $as_echo "no" >&6; }
7711 if test -z "$ac_cv_prog_OTOOL"; then
7712 ac_ct_OTOOL=$OTOOL
7713 # Extract the first word of "otool", so it can be a program name with args.
7714 set dummy otool; ac_word=$2
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7716 $as_echo_n "checking for $ac_word... " >&6; }
7717 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7718 $as_echo_n "(cached) " >&6
7719 else
7720 if test -n "$ac_ct_OTOOL"; then
7721 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7722 else
7723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724 for as_dir in $PATH
7726 IFS=$as_save_IFS
7727 test -z "$as_dir" && as_dir=.
7728 for ac_exec_ext in '' $ac_executable_extensions; do
7729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7730 ac_cv_prog_ac_ct_OTOOL="otool"
7731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7732 break 2
7734 done
7735 done
7736 IFS=$as_save_IFS
7740 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7741 if test -n "$ac_ct_OTOOL"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7743 $as_echo "$ac_ct_OTOOL" >&6; }
7744 else
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7746 $as_echo "no" >&6; }
7749 if test "x$ac_ct_OTOOL" = x; then
7750 OTOOL=":"
7751 else
7752 case $cross_compiling:$ac_tool_warned in
7753 yes:)
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7756 ac_tool_warned=yes ;;
7757 esac
7758 OTOOL=$ac_ct_OTOOL
7760 else
7761 OTOOL="$ac_cv_prog_OTOOL"
7764 if test -n "$ac_tool_prefix"; then
7765 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7766 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7768 $as_echo_n "checking for $ac_word... " >&6; }
7769 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7770 $as_echo_n "(cached) " >&6
7771 else
7772 if test -n "$OTOOL64"; then
7773 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7774 else
7775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776 for as_dir in $PATH
7778 IFS=$as_save_IFS
7779 test -z "$as_dir" && as_dir=.
7780 for ac_exec_ext in '' $ac_executable_extensions; do
7781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7782 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7784 break 2
7786 done
7787 done
7788 IFS=$as_save_IFS
7792 OTOOL64=$ac_cv_prog_OTOOL64
7793 if test -n "$OTOOL64"; then
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7795 $as_echo "$OTOOL64" >&6; }
7796 else
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7798 $as_echo "no" >&6; }
7803 if test -z "$ac_cv_prog_OTOOL64"; then
7804 ac_ct_OTOOL64=$OTOOL64
7805 # Extract the first word of "otool64", so it can be a program name with args.
7806 set dummy otool64; ac_word=$2
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7808 $as_echo_n "checking for $ac_word... " >&6; }
7809 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7810 $as_echo_n "(cached) " >&6
7811 else
7812 if test -n "$ac_ct_OTOOL64"; then
7813 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7814 else
7815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7816 for as_dir in $PATH
7818 IFS=$as_save_IFS
7819 test -z "$as_dir" && as_dir=.
7820 for ac_exec_ext in '' $ac_executable_extensions; do
7821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7822 ac_cv_prog_ac_ct_OTOOL64="otool64"
7823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7824 break 2
7826 done
7827 done
7828 IFS=$as_save_IFS
7832 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7833 if test -n "$ac_ct_OTOOL64"; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7835 $as_echo "$ac_ct_OTOOL64" >&6; }
7836 else
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7838 $as_echo "no" >&6; }
7841 if test "x$ac_ct_OTOOL64" = x; then
7842 OTOOL64=":"
7843 else
7844 case $cross_compiling:$ac_tool_warned in
7845 yes:)
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7848 ac_tool_warned=yes ;;
7849 esac
7850 OTOOL64=$ac_ct_OTOOL64
7852 else
7853 OTOOL64="$ac_cv_prog_OTOOL64"
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7883 $as_echo_n "checking for -single_module linker flag... " >&6; }
7884 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 lt_cv_apple_cc_single_mod=no
7888 if test -z "${LT_MULTI_MODULE}"; then
7889 # By default we will add the -single_module flag. You can override
7890 # by either setting the environment variable LT_MULTI_MODULE
7891 # non-empty at configure time, or by adding -multi_module to the
7892 # link flags.
7893 rm -rf libconftest.dylib*
7894 echo "int foo(void){return 1;}" > conftest.c
7895 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7896 -dynamiclib -Wl,-single_module conftest.c" >&5
7897 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7898 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7899 _lt_result=$?
7900 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7901 lt_cv_apple_cc_single_mod=yes
7902 else
7903 cat conftest.err >&5
7905 rm -rf libconftest.dylib*
7906 rm -f conftest.*
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7910 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7912 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7913 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7914 $as_echo_n "(cached) " >&6
7915 else
7916 lt_cv_ld_exported_symbols_list=no
7917 save_LDFLAGS=$LDFLAGS
7918 echo "_main" > conftest.sym
7919 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7920 if test x$gcc_no_link = xyes; then
7921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7924 /* end confdefs.h. */
7927 main ()
7931 return 0;
7933 _ACEOF
7934 if ac_fn_c_try_link "$LINENO"; then :
7935 lt_cv_ld_exported_symbols_list=yes
7936 else
7937 lt_cv_ld_exported_symbols_list=no
7939 rm -f core conftest.err conftest.$ac_objext \
7940 conftest$ac_exeext conftest.$ac_ext
7941 LDFLAGS="$save_LDFLAGS"
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7945 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7947 $as_echo_n "checking for -force_load linker flag... " >&6; }
7948 if test "${lt_cv_ld_force_load+set}" = set; then :
7949 $as_echo_n "(cached) " >&6
7950 else
7951 lt_cv_ld_force_load=no
7952 cat > conftest.c << _LT_EOF
7953 int forced_loaded() { return 2;}
7954 _LT_EOF
7955 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7956 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7957 echo "$AR cru libconftest.a conftest.o" >&5
7958 $AR cru libconftest.a conftest.o 2>&5
7959 cat > conftest.c << _LT_EOF
7960 int main() { return 0;}
7961 _LT_EOF
7962 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7963 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7964 _lt_result=$?
7965 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7966 lt_cv_ld_force_load=yes
7967 else
7968 cat conftest.err >&5
7970 rm -f conftest.err libconftest.a conftest conftest.c
7971 rm -rf conftest.dSYM
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7975 $as_echo "$lt_cv_ld_force_load" >&6; }
7976 case $host_os in
7977 rhapsody* | darwin1.[012])
7978 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7979 darwin1.*)
7980 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7981 darwin*) # darwin 5.x on
7982 # if running on 10.5 or later, the deployment target defaults
7983 # to the OS version, if on x86, and 10.4, the deployment
7984 # target defaults to 10.4. Don't you love it?
7985 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7986 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7987 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7988 10.[012][,.]*)
7989 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7990 10.*)
7991 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7992 esac
7994 esac
7995 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7996 _lt_dar_single_mod='$single_module'
7998 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7999 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8000 else
8001 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8003 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8004 _lt_dsymutil='~$DSYMUTIL $lib || :'
8005 else
8006 _lt_dsymutil=
8009 esac
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8012 $as_echo_n "checking for ANSI C header files... " >&6; }
8013 if test "${ac_cv_header_stdc+set}" = set; then :
8014 $as_echo_n "(cached) " >&6
8015 else
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8018 #include <stdlib.h>
8019 #include <stdarg.h>
8020 #include <string.h>
8021 #include <float.h>
8024 main ()
8028 return 0;
8030 _ACEOF
8031 if ac_fn_c_try_compile "$LINENO"; then :
8032 ac_cv_header_stdc=yes
8033 else
8034 ac_cv_header_stdc=no
8036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8038 if test $ac_cv_header_stdc = yes; then
8039 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8041 /* end confdefs.h. */
8042 #include <string.h>
8044 _ACEOF
8045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8046 $EGREP "memchr" >/dev/null 2>&1; then :
8048 else
8049 ac_cv_header_stdc=no
8051 rm -f conftest*
8055 if test $ac_cv_header_stdc = yes; then
8056 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8058 /* end confdefs.h. */
8059 #include <stdlib.h>
8061 _ACEOF
8062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8063 $EGREP "free" >/dev/null 2>&1; then :
8065 else
8066 ac_cv_header_stdc=no
8068 rm -f conftest*
8072 if test $ac_cv_header_stdc = yes; then
8073 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8074 if test "$cross_compiling" = yes; then :
8076 else
8077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8078 /* end confdefs.h. */
8079 #include <ctype.h>
8080 #include <stdlib.h>
8081 #if ((' ' & 0x0FF) == 0x020)
8082 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8083 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8084 #else
8085 # define ISLOWER(c) \
8086 (('a' <= (c) && (c) <= 'i') \
8087 || ('j' <= (c) && (c) <= 'r') \
8088 || ('s' <= (c) && (c) <= 'z'))
8089 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8090 #endif
8092 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8094 main ()
8096 int i;
8097 for (i = 0; i < 256; i++)
8098 if (XOR (islower (i), ISLOWER (i))
8099 || toupper (i) != TOUPPER (i))
8100 return 2;
8101 return 0;
8103 _ACEOF
8104 if ac_fn_c_try_run "$LINENO"; then :
8106 else
8107 ac_cv_header_stdc=no
8109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8110 conftest.$ac_objext conftest.beam conftest.$ac_ext
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8116 $as_echo "$ac_cv_header_stdc" >&6; }
8117 if test $ac_cv_header_stdc = yes; then
8119 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8123 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8124 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8125 inttypes.h stdint.h unistd.h
8126 do :
8127 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8128 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8130 eval as_val=\$$as_ac_Header
8131 if test "x$as_val" = x""yes; then :
8132 cat >>confdefs.h <<_ACEOF
8133 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8134 _ACEOF
8138 done
8141 for ac_header in dlfcn.h
8142 do :
8143 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8145 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8146 cat >>confdefs.h <<_ACEOF
8147 #define HAVE_DLFCN_H 1
8148 _ACEOF
8152 done
8159 # Set options
8164 enable_win32_dll=no
8167 # Check whether --enable-shared was given.
8168 if test "${enable_shared+set}" = set; then :
8169 enableval=$enable_shared; p=${PACKAGE-default}
8170 case $enableval in
8171 yes) enable_shared=yes ;;
8172 no) enable_shared=no ;;
8174 enable_shared=no
8175 # Look at the argument we got. We use all the common list separators.
8176 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8177 for pkg in $enableval; do
8178 IFS="$lt_save_ifs"
8179 if test "X$pkg" = "X$p"; then
8180 enable_shared=yes
8182 done
8183 IFS="$lt_save_ifs"
8185 esac
8186 else
8187 enable_shared=yes
8198 # Check whether --enable-static was given.
8199 if test "${enable_static+set}" = set; then :
8200 enableval=$enable_static; p=${PACKAGE-default}
8201 case $enableval in
8202 yes) enable_static=yes ;;
8203 no) enable_static=no ;;
8205 enable_static=no
8206 # Look at the argument we got. We use all the common list separators.
8207 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8208 for pkg in $enableval; do
8209 IFS="$lt_save_ifs"
8210 if test "X$pkg" = "X$p"; then
8211 enable_static=yes
8213 done
8214 IFS="$lt_save_ifs"
8216 esac
8217 else
8218 enable_static=yes
8230 # Check whether --with-pic was given.
8231 if test "${with_pic+set}" = set; then :
8232 withval=$with_pic; pic_mode="$withval"
8233 else
8234 pic_mode=default
8238 test -z "$pic_mode" && pic_mode=default
8246 # Check whether --enable-fast-install was given.
8247 if test "${enable_fast_install+set}" = set; then :
8248 enableval=$enable_fast_install; p=${PACKAGE-default}
8249 case $enableval in
8250 yes) enable_fast_install=yes ;;
8251 no) enable_fast_install=no ;;
8253 enable_fast_install=no
8254 # Look at the argument we got. We use all the common list separators.
8255 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8256 for pkg in $enableval; do
8257 IFS="$lt_save_ifs"
8258 if test "X$pkg" = "X$p"; then
8259 enable_fast_install=yes
8261 done
8262 IFS="$lt_save_ifs"
8264 esac
8265 else
8266 enable_fast_install=yes
8279 # This can be used to rebuild libtool when needed
8280 LIBTOOL_DEPS="$ltmain"
8282 # Always use our own libtool.
8283 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8310 test -z "$LN_S" && LN_S="ln -s"
8325 if test -n "${ZSH_VERSION+set}" ; then
8326 setopt NO_GLOB_SUBST
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8330 $as_echo_n "checking for objdir... " >&6; }
8331 if test "${lt_cv_objdir+set}" = set; then :
8332 $as_echo_n "(cached) " >&6
8333 else
8334 rm -f .libs 2>/dev/null
8335 mkdir .libs 2>/dev/null
8336 if test -d .libs; then
8337 lt_cv_objdir=.libs
8338 else
8339 # MS-DOS does not allow filenames that begin with a dot.
8340 lt_cv_objdir=_libs
8342 rmdir .libs 2>/dev/null
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8345 $as_echo "$lt_cv_objdir" >&6; }
8346 objdir=$lt_cv_objdir
8352 cat >>confdefs.h <<_ACEOF
8353 #define LT_OBJDIR "$lt_cv_objdir/"
8354 _ACEOF
8359 case $host_os in
8360 aix3*)
8361 # AIX sometimes has problems with the GCC collect2 program. For some
8362 # reason, if we set the COLLECT_NAMES environment variable, the problems
8363 # vanish in a puff of smoke.
8364 if test "X${COLLECT_NAMES+set}" != Xset; then
8365 COLLECT_NAMES=
8366 export COLLECT_NAMES
8369 esac
8371 # Global variables:
8372 ofile=libtool
8373 can_build_shared=yes
8375 # All known linkers require a `.a' archive for static linking (except MSVC,
8376 # which needs '.lib').
8377 libext=a
8379 with_gnu_ld="$lt_cv_prog_gnu_ld"
8381 old_CC="$CC"
8382 old_CFLAGS="$CFLAGS"
8384 # Set sane defaults for various variables
8385 test -z "$CC" && CC=cc
8386 test -z "$LTCC" && LTCC=$CC
8387 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8388 test -z "$LD" && LD=ld
8389 test -z "$ac_objext" && ac_objext=o
8391 for cc_temp in $compiler""; do
8392 case $cc_temp in
8393 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8394 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8395 \-*) ;;
8396 *) break;;
8397 esac
8398 done
8399 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8402 # Only perform the check for file, if the check method requires it
8403 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8404 case $deplibs_check_method in
8405 file_magic*)
8406 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8408 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8409 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8410 $as_echo_n "(cached) " >&6
8411 else
8412 case $MAGIC_CMD in
8413 [\\/*] | ?:[\\/]*)
8414 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8417 lt_save_MAGIC_CMD="$MAGIC_CMD"
8418 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8419 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8420 for ac_dir in $ac_dummy; do
8421 IFS="$lt_save_ifs"
8422 test -z "$ac_dir" && ac_dir=.
8423 if test -f $ac_dir/${ac_tool_prefix}file; then
8424 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8425 if test -n "$file_magic_test_file"; then
8426 case $deplibs_check_method in
8427 "file_magic "*)
8428 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8429 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8430 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8431 $EGREP "$file_magic_regex" > /dev/null; then
8433 else
8434 cat <<_LT_EOF 1>&2
8436 *** Warning: the command libtool uses to detect shared libraries,
8437 *** $file_magic_cmd, produces output that libtool cannot recognize.
8438 *** The result is that libtool may fail to recognize shared libraries
8439 *** as such. This will affect the creation of libtool libraries that
8440 *** depend on shared libraries, but programs linked with such libtool
8441 *** libraries will work regardless of this problem. Nevertheless, you
8442 *** may want to report the problem to your system manager and/or to
8443 *** bug-libtool@gnu.org
8445 _LT_EOF
8446 fi ;;
8447 esac
8449 break
8451 done
8452 IFS="$lt_save_ifs"
8453 MAGIC_CMD="$lt_save_MAGIC_CMD"
8455 esac
8458 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8459 if test -n "$MAGIC_CMD"; then
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8461 $as_echo "$MAGIC_CMD" >&6; }
8462 else
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8464 $as_echo "no" >&6; }
8471 if test -z "$lt_cv_path_MAGIC_CMD"; then
8472 if test -n "$ac_tool_prefix"; then
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8474 $as_echo_n "checking for file... " >&6; }
8475 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 case $MAGIC_CMD in
8479 [\\/*] | ?:[\\/]*)
8480 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8483 lt_save_MAGIC_CMD="$MAGIC_CMD"
8484 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8485 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8486 for ac_dir in $ac_dummy; do
8487 IFS="$lt_save_ifs"
8488 test -z "$ac_dir" && ac_dir=.
8489 if test -f $ac_dir/file; then
8490 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8491 if test -n "$file_magic_test_file"; then
8492 case $deplibs_check_method in
8493 "file_magic "*)
8494 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8495 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8496 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8497 $EGREP "$file_magic_regex" > /dev/null; then
8499 else
8500 cat <<_LT_EOF 1>&2
8502 *** Warning: the command libtool uses to detect shared libraries,
8503 *** $file_magic_cmd, produces output that libtool cannot recognize.
8504 *** The result is that libtool may fail to recognize shared libraries
8505 *** as such. This will affect the creation of libtool libraries that
8506 *** depend on shared libraries, but programs linked with such libtool
8507 *** libraries will work regardless of this problem. Nevertheless, you
8508 *** may want to report the problem to your system manager and/or to
8509 *** bug-libtool@gnu.org
8511 _LT_EOF
8512 fi ;;
8513 esac
8515 break
8517 done
8518 IFS="$lt_save_ifs"
8519 MAGIC_CMD="$lt_save_MAGIC_CMD"
8521 esac
8524 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8525 if test -n "$MAGIC_CMD"; then
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8527 $as_echo "$MAGIC_CMD" >&6; }
8528 else
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8530 $as_echo "no" >&6; }
8534 else
8535 MAGIC_CMD=:
8541 esac
8543 # Use C for the default configuration in the libtool script
8545 lt_save_CC="$CC"
8546 ac_ext=c
8547 ac_cpp='$CPP $CPPFLAGS'
8548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8553 # Source file extension for C test sources.
8554 ac_ext=c
8556 # Object file extension for compiled C test sources.
8557 objext=o
8558 objext=$objext
8560 # Code to be used in simple compile tests
8561 lt_simple_compile_test_code="int some_variable = 0;"
8563 # Code to be used in simple link tests
8564 lt_simple_link_test_code='int main(){return(0);}'
8572 # If no C compiler was specified, use CC.
8573 LTCC=${LTCC-"$CC"}
8575 # If no C compiler flags were specified, use CFLAGS.
8576 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8578 # Allow CC to be a program name with arguments.
8579 compiler=$CC
8581 # Save the default compiler, since it gets overwritten when the other
8582 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8583 compiler_DEFAULT=$CC
8585 # save warnings/boilerplate of simple test code
8586 ac_outfile=conftest.$ac_objext
8587 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8588 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8589 _lt_compiler_boilerplate=`cat conftest.err`
8590 $RM conftest*
8592 ac_outfile=conftest.$ac_objext
8593 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8594 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8595 _lt_linker_boilerplate=`cat conftest.err`
8596 $RM -r conftest*
8599 ## CAVEAT EMPTOR:
8600 ## There is no encapsulation within the following macros, do not change
8601 ## the running order or otherwise move them around unless you know exactly
8602 ## what you are doing...
8603 if test -n "$compiler"; then
8605 lt_prog_compiler_no_builtin_flag=
8607 if test "$GCC" = yes; then
8608 case $cc_basename in
8609 nvcc*)
8610 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8612 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8613 esac
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8616 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8617 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8618 $as_echo_n "(cached) " >&6
8619 else
8620 lt_cv_prog_compiler_rtti_exceptions=no
8621 ac_outfile=conftest.$ac_objext
8622 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8623 lt_compiler_flag="-fno-rtti -fno-exceptions"
8624 # Insert the option either (1) after the last *FLAGS variable, or
8625 # (2) before a word containing "conftest.", or (3) at the end.
8626 # Note that $ac_compile itself does not contain backslashes and begins
8627 # with a dollar sign (not a hyphen), so the echo should work correctly.
8628 # The option is referenced via a variable to avoid confusing sed.
8629 lt_compile=`echo "$ac_compile" | $SED \
8630 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8631 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8632 -e 's:$: $lt_compiler_flag:'`
8633 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8634 (eval "$lt_compile" 2>conftest.err)
8635 ac_status=$?
8636 cat conftest.err >&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 if (exit $ac_status) && test -s "$ac_outfile"; then
8639 # The compiler can only warn and ignore the option if not recognized
8640 # So say no if there are warnings other than the usual output.
8641 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8642 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8643 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8644 lt_cv_prog_compiler_rtti_exceptions=yes
8647 $RM conftest*
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8651 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8653 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8654 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8655 else
8666 lt_prog_compiler_wl=
8667 lt_prog_compiler_pic=
8668 lt_prog_compiler_static=
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8671 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8673 if test "$GCC" = yes; then
8674 lt_prog_compiler_wl='-Wl,'
8675 lt_prog_compiler_static='-static'
8677 case $host_os in
8678 aix*)
8679 # All AIX code is PIC.
8680 if test "$host_cpu" = ia64; then
8681 # AIX 5 now supports IA64 processor
8682 lt_prog_compiler_static='-Bstatic'
8684 lt_prog_compiler_pic='-fPIC'
8687 amigaos*)
8688 case $host_cpu in
8689 powerpc)
8690 # see comment about AmigaOS4 .so support
8691 lt_prog_compiler_pic='-fPIC'
8693 m68k)
8694 # FIXME: we need at least 68020 code to build shared libraries, but
8695 # adding the `-m68020' flag to GCC prevents building anything better,
8696 # like `-m68040'.
8697 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8699 esac
8702 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8703 # PIC is the default for these OSes.
8706 mingw* | cygwin* | pw32* | os2* | cegcc*)
8707 # This hack is so that the source file can tell whether it is being
8708 # built for inclusion in a dll (and should export symbols for example).
8709 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8710 # (--disable-auto-import) libraries
8711 lt_prog_compiler_pic='-DDLL_EXPORT'
8714 darwin* | rhapsody*)
8715 # PIC is the default on this platform
8716 # Common symbols not allowed in MH_DYLIB files
8717 lt_prog_compiler_pic='-fno-common'
8720 haiku*)
8721 # PIC is the default for Haiku.
8722 # The "-static" flag exists, but is broken.
8723 lt_prog_compiler_static=
8726 hpux*)
8727 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8728 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8729 # sets the default TLS model and affects inlining.
8730 case $host_cpu in
8731 hppa*64*)
8732 # +Z the default
8735 lt_prog_compiler_pic='-fPIC'
8737 esac
8740 interix[3-9]*)
8741 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8742 # Instead, we relocate shared libraries at runtime.
8745 msdosdjgpp*)
8746 # Just because we use GCC doesn't mean we suddenly get shared libraries
8747 # on systems that don't support them.
8748 lt_prog_compiler_can_build_shared=no
8749 enable_shared=no
8752 *nto* | *qnx*)
8753 # QNX uses GNU C++, but need to define -shared option too, otherwise
8754 # it will coredump.
8755 lt_prog_compiler_pic='-fPIC -shared'
8758 sysv4*MP*)
8759 if test -d /usr/nec; then
8760 lt_prog_compiler_pic=-Kconform_pic
8765 lt_prog_compiler_pic='-fPIC'
8767 esac
8769 case $cc_basename in
8770 nvcc*) # Cuda Compiler Driver 2.2
8771 lt_prog_compiler_wl='-Xlinker '
8772 lt_prog_compiler_pic='-Xcompiler -fPIC'
8774 esac
8775 else
8776 # PORTME Check for flag to pass linker flags through the system compiler.
8777 case $host_os in
8778 aix*)
8779 lt_prog_compiler_wl='-Wl,'
8780 if test "$host_cpu" = ia64; then
8781 # AIX 5 now supports IA64 processor
8782 lt_prog_compiler_static='-Bstatic'
8783 else
8784 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8788 mingw* | cygwin* | pw32* | os2* | cegcc*)
8789 # This hack is so that the source file can tell whether it is being
8790 # built for inclusion in a dll (and should export symbols for example).
8791 lt_prog_compiler_pic='-DDLL_EXPORT'
8794 hpux9* | hpux10* | hpux11*)
8795 lt_prog_compiler_wl='-Wl,'
8796 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8797 # not for PA HP-UX.
8798 case $host_cpu in
8799 hppa*64*|ia64*)
8800 # +Z the default
8803 lt_prog_compiler_pic='+Z'
8805 esac
8806 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8807 lt_prog_compiler_static='${wl}-a ${wl}archive'
8810 irix5* | irix6* | nonstopux*)
8811 lt_prog_compiler_wl='-Wl,'
8812 # PIC (with -KPIC) is the default.
8813 lt_prog_compiler_static='-non_shared'
8816 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8817 case $cc_basename in
8818 # old Intel for x86_64 which still supported -KPIC.
8819 ecc*)
8820 lt_prog_compiler_wl='-Wl,'
8821 lt_prog_compiler_pic='-KPIC'
8822 lt_prog_compiler_static='-static'
8824 # icc used to be incompatible with GCC.
8825 # ICC 10 doesn't accept -KPIC any more.
8826 icc* | ifort*)
8827 lt_prog_compiler_wl='-Wl,'
8828 lt_prog_compiler_pic='-fPIC'
8829 lt_prog_compiler_static='-static'
8831 # Lahey Fortran 8.1.
8832 lf95*)
8833 lt_prog_compiler_wl='-Wl,'
8834 lt_prog_compiler_pic='--shared'
8835 lt_prog_compiler_static='--static'
8837 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8838 # Portland Group compilers (*not* the Pentium gcc compiler,
8839 # which looks to be a dead project)
8840 lt_prog_compiler_wl='-Wl,'
8841 lt_prog_compiler_pic='-fpic'
8842 lt_prog_compiler_static='-Bstatic'
8844 ccc*)
8845 lt_prog_compiler_wl='-Wl,'
8846 # All Alpha code is PIC.
8847 lt_prog_compiler_static='-non_shared'
8849 xl* | bgxl* | bgf* | mpixl*)
8850 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8851 lt_prog_compiler_wl='-Wl,'
8852 lt_prog_compiler_pic='-qpic'
8853 lt_prog_compiler_static='-qstaticlink'
8856 case `$CC -V 2>&1 | sed 5q` in
8857 *Sun\ F* | *Sun*Fortran*)
8858 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8859 lt_prog_compiler_pic='-KPIC'
8860 lt_prog_compiler_static='-Bstatic'
8861 lt_prog_compiler_wl=''
8863 *Sun\ C*)
8864 # Sun C 5.9
8865 lt_prog_compiler_pic='-KPIC'
8866 lt_prog_compiler_static='-Bstatic'
8867 lt_prog_compiler_wl='-Wl,'
8869 esac
8871 esac
8874 newsos6)
8875 lt_prog_compiler_pic='-KPIC'
8876 lt_prog_compiler_static='-Bstatic'
8879 *nto* | *qnx*)
8880 # QNX uses GNU C++, but need to define -shared option too, otherwise
8881 # it will coredump.
8882 lt_prog_compiler_pic='-fPIC -shared'
8885 osf3* | osf4* | osf5*)
8886 lt_prog_compiler_wl='-Wl,'
8887 # All OSF/1 code is PIC.
8888 lt_prog_compiler_static='-non_shared'
8891 rdos*)
8892 lt_prog_compiler_static='-non_shared'
8895 solaris*)
8896 lt_prog_compiler_pic='-KPIC'
8897 lt_prog_compiler_static='-Bstatic'
8898 case $cc_basename in
8899 f77* | f90* | f95*)
8900 lt_prog_compiler_wl='-Qoption ld ';;
8902 lt_prog_compiler_wl='-Wl,';;
8903 esac
8906 sunos4*)
8907 lt_prog_compiler_wl='-Qoption ld '
8908 lt_prog_compiler_pic='-PIC'
8909 lt_prog_compiler_static='-Bstatic'
8912 sysv4 | sysv4.2uw2* | sysv4.3*)
8913 lt_prog_compiler_wl='-Wl,'
8914 lt_prog_compiler_pic='-KPIC'
8915 lt_prog_compiler_static='-Bstatic'
8918 sysv4*MP*)
8919 if test -d /usr/nec ;then
8920 lt_prog_compiler_pic='-Kconform_pic'
8921 lt_prog_compiler_static='-Bstatic'
8925 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8926 lt_prog_compiler_wl='-Wl,'
8927 lt_prog_compiler_pic='-KPIC'
8928 lt_prog_compiler_static='-Bstatic'
8931 unicos*)
8932 lt_prog_compiler_wl='-Wl,'
8933 lt_prog_compiler_can_build_shared=no
8936 uts4*)
8937 lt_prog_compiler_pic='-pic'
8938 lt_prog_compiler_static='-Bstatic'
8942 lt_prog_compiler_can_build_shared=no
8944 esac
8947 case $host_os in
8948 # For platforms which do not support PIC, -DPIC is meaningless:
8949 *djgpp*)
8950 lt_prog_compiler_pic=
8953 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8955 esac
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8957 $as_echo "$lt_prog_compiler_pic" >&6; }
8965 # Check to make sure the PIC flag actually works.
8967 if test -n "$lt_prog_compiler_pic"; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8969 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8970 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8971 $as_echo_n "(cached) " >&6
8972 else
8973 lt_cv_prog_compiler_pic_works=no
8974 ac_outfile=conftest.$ac_objext
8975 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8976 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8977 # Insert the option either (1) after the last *FLAGS variable, or
8978 # (2) before a word containing "conftest.", or (3) at the end.
8979 # Note that $ac_compile itself does not contain backslashes and begins
8980 # with a dollar sign (not a hyphen), so the echo should work correctly.
8981 # The option is referenced via a variable to avoid confusing sed.
8982 lt_compile=`echo "$ac_compile" | $SED \
8983 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8984 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8985 -e 's:$: $lt_compiler_flag:'`
8986 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8987 (eval "$lt_compile" 2>conftest.err)
8988 ac_status=$?
8989 cat conftest.err >&5
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 if (exit $ac_status) && test -s "$ac_outfile"; then
8992 # The compiler can only warn and ignore the option if not recognized
8993 # So say no if there are warnings other than the usual output.
8994 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8995 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8996 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8997 lt_cv_prog_compiler_pic_works=yes
9000 $RM conftest*
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9004 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9006 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9007 case $lt_prog_compiler_pic in
9008 "" | " "*) ;;
9009 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9010 esac
9011 else
9012 lt_prog_compiler_pic=
9013 lt_prog_compiler_can_build_shared=no
9024 # Check to make sure the static flag actually works.
9026 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9028 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9029 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9030 $as_echo_n "(cached) " >&6
9031 else
9032 lt_cv_prog_compiler_static_works=no
9033 save_LDFLAGS="$LDFLAGS"
9034 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9035 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9036 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9037 # The linker can only warn and ignore the option if not recognized
9038 # So say no if there are warnings
9039 if test -s conftest.err; then
9040 # Append any errors to the config.log.
9041 cat conftest.err 1>&5
9042 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9043 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9044 if diff conftest.exp conftest.er2 >/dev/null; then
9045 lt_cv_prog_compiler_static_works=yes
9047 else
9048 lt_cv_prog_compiler_static_works=yes
9051 $RM -r conftest*
9052 LDFLAGS="$save_LDFLAGS"
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9056 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9058 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9060 else
9061 lt_prog_compiler_static=
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9071 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9072 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9073 $as_echo_n "(cached) " >&6
9074 else
9075 lt_cv_prog_compiler_c_o=no
9076 $RM -r conftest 2>/dev/null
9077 mkdir conftest
9078 cd conftest
9079 mkdir out
9080 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9082 lt_compiler_flag="-o out/conftest2.$ac_objext"
9083 # Insert the option either (1) after the last *FLAGS variable, or
9084 # (2) before a word containing "conftest.", or (3) at the end.
9085 # Note that $ac_compile itself does not contain backslashes and begins
9086 # with a dollar sign (not a hyphen), so the echo should work correctly.
9087 lt_compile=`echo "$ac_compile" | $SED \
9088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9090 -e 's:$: $lt_compiler_flag:'`
9091 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9092 (eval "$lt_compile" 2>out/conftest.err)
9093 ac_status=$?
9094 cat out/conftest.err >&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9097 then
9098 # The compiler can only warn and ignore the option if not recognized
9099 # So say no if there are warnings
9100 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9101 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9102 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9103 lt_cv_prog_compiler_c_o=yes
9106 chmod u+w . 2>&5
9107 $RM conftest*
9108 # SGI C++ compiler will create directory out/ii_files/ for
9109 # template instantiation
9110 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9111 $RM out/* && rmdir out
9112 cd ..
9113 $RM -r conftest
9114 $RM conftest*
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9118 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9126 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9127 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9128 $as_echo_n "(cached) " >&6
9129 else
9130 lt_cv_prog_compiler_c_o=no
9131 $RM -r conftest 2>/dev/null
9132 mkdir conftest
9133 cd conftest
9134 mkdir out
9135 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9137 lt_compiler_flag="-o out/conftest2.$ac_objext"
9138 # Insert the option either (1) after the last *FLAGS variable, or
9139 # (2) before a word containing "conftest.", or (3) at the end.
9140 # Note that $ac_compile itself does not contain backslashes and begins
9141 # with a dollar sign (not a hyphen), so the echo should work correctly.
9142 lt_compile=`echo "$ac_compile" | $SED \
9143 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9144 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9145 -e 's:$: $lt_compiler_flag:'`
9146 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9147 (eval "$lt_compile" 2>out/conftest.err)
9148 ac_status=$?
9149 cat out/conftest.err >&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9152 then
9153 # The compiler can only warn and ignore the option if not recognized
9154 # So say no if there are warnings
9155 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9156 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9157 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9158 lt_cv_prog_compiler_c_o=yes
9161 chmod u+w . 2>&5
9162 $RM conftest*
9163 # SGI C++ compiler will create directory out/ii_files/ for
9164 # template instantiation
9165 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9166 $RM out/* && rmdir out
9167 cd ..
9168 $RM -r conftest
9169 $RM conftest*
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9173 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9178 hard_links="nottested"
9179 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9180 # do not overwrite the value of need_locks provided by the user
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9182 $as_echo_n "checking if we can lock with hard links... " >&6; }
9183 hard_links=yes
9184 $RM conftest*
9185 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9186 touch conftest.a
9187 ln conftest.a conftest.b 2>&5 || hard_links=no
9188 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9190 $as_echo "$hard_links" >&6; }
9191 if test "$hard_links" = no; then
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9193 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9194 need_locks=warn
9196 else
9197 need_locks=no
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9206 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9208 runpath_var=
9209 allow_undefined_flag=
9210 always_export_symbols=no
9211 archive_cmds=
9212 archive_expsym_cmds=
9213 compiler_needs_object=no
9214 enable_shared_with_static_runtimes=no
9215 export_dynamic_flag_spec=
9216 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9217 hardcode_automatic=no
9218 hardcode_direct=no
9219 hardcode_direct_absolute=no
9220 hardcode_libdir_flag_spec=
9221 hardcode_libdir_flag_spec_ld=
9222 hardcode_libdir_separator=
9223 hardcode_minus_L=no
9224 hardcode_shlibpath_var=unsupported
9225 inherit_rpath=no
9226 link_all_deplibs=unknown
9227 module_cmds=
9228 module_expsym_cmds=
9229 old_archive_from_new_cmds=
9230 old_archive_from_expsyms_cmds=
9231 thread_safe_flag_spec=
9232 whole_archive_flag_spec=
9233 # include_expsyms should be a list of space-separated symbols to be *always*
9234 # included in the symbol list
9235 include_expsyms=
9236 # exclude_expsyms can be an extended regexp of symbols to exclude
9237 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9238 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9239 # as well as any symbol that contains `d'.
9240 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9241 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9242 # platforms (ab)use it in PIC code, but their linkers get confused if
9243 # the symbol is explicitly referenced. Since portable code cannot
9244 # rely on this symbol name, it's probably fine to never include it in
9245 # preloaded symbol tables.
9246 # Exclude shared library initialization/finalization symbols.
9247 extract_expsyms_cmds=
9249 case $host_os in
9250 cygwin* | mingw* | pw32* | cegcc*)
9251 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9252 # When not using gcc, we currently assume that we are using
9253 # Microsoft Visual C++.
9254 if test "$GCC" != yes; then
9255 with_gnu_ld=no
9258 interix*)
9259 # we just hope/assume this is gcc and not c89 (= MSVC++)
9260 with_gnu_ld=yes
9262 openbsd*)
9263 with_gnu_ld=no
9265 esac
9267 ld_shlibs=yes
9269 # On some targets, GNU ld is compatible enough with the native linker
9270 # that we're better off using the native interface for both.
9271 lt_use_gnu_ld_interface=no
9272 if test "$with_gnu_ld" = yes; then
9273 case $host_os in
9274 aix*)
9275 # The AIX port of GNU ld has always aspired to compatibility
9276 # with the native linker. However, as the warning in the GNU ld
9277 # block says, versions before 2.19.5* couldn't really create working
9278 # shared libraries, regardless of the interface used.
9279 case `$LD -v 2>&1` in
9280 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9281 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9282 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9284 lt_use_gnu_ld_interface=yes
9286 esac
9289 lt_use_gnu_ld_interface=yes
9291 esac
9294 if test "$lt_use_gnu_ld_interface" = yes; then
9295 # If archive_cmds runs LD, not CC, wlarc should be empty
9296 wlarc='${wl}'
9298 # Set some defaults for GNU ld with shared library support. These
9299 # are reset later if shared libraries are not supported. Putting them
9300 # here allows them to be overridden if necessary.
9301 runpath_var=LD_RUN_PATH
9302 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9303 export_dynamic_flag_spec='${wl}--export-dynamic'
9304 # ancient GNU ld didn't support --whole-archive et. al.
9305 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9306 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9307 else
9308 whole_archive_flag_spec=
9310 supports_anon_versioning=no
9311 case `$LD -v 2>&1` in
9312 *GNU\ gold*) supports_anon_versioning=yes ;;
9313 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9314 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9315 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9316 *\ 2.11.*) ;; # other 2.11 versions
9317 *) supports_anon_versioning=yes ;;
9318 esac
9320 # See if GNU ld supports shared libraries.
9321 case $host_os in
9322 aix[3-9]*)
9323 # On AIX/PPC, the GNU linker is very broken
9324 if test "$host_cpu" != ia64; then
9325 ld_shlibs=no
9326 cat <<_LT_EOF 1>&2
9328 *** Warning: the GNU linker, at least up to release 2.19, is reported
9329 *** to be unable to reliably create shared libraries on AIX.
9330 *** Therefore, libtool is disabling shared libraries support. If you
9331 *** really care for shared libraries, you may want to install binutils
9332 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9333 *** You will then need to restart the configuration process.
9335 _LT_EOF
9339 amigaos*)
9340 case $host_cpu in
9341 powerpc)
9342 # see comment about AmigaOS4 .so support
9343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344 archive_expsym_cmds=''
9346 m68k)
9347 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)'
9348 hardcode_libdir_flag_spec='-L$libdir'
9349 hardcode_minus_L=yes
9351 esac
9354 beos*)
9355 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9356 allow_undefined_flag=unsupported
9357 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9358 # support --undefined. This deserves some investigation. FIXME
9359 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360 else
9361 ld_shlibs=no
9365 cygwin* | mingw* | pw32* | cegcc*)
9366 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9367 # as there is no search path for DLLs.
9368 hardcode_libdir_flag_spec='-L$libdir'
9369 export_dynamic_flag_spec='${wl}--export-all-symbols'
9370 allow_undefined_flag=unsupported
9371 always_export_symbols=no
9372 enable_shared_with_static_runtimes=yes
9373 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9375 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9376 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9377 # If the export-symbols file already is a .def file (1st line
9378 # is EXPORTS), use it as is; otherwise, prepend...
9379 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9380 cp $export_symbols $output_objdir/$soname.def;
9381 else
9382 echo EXPORTS > $output_objdir/$soname.def;
9383 cat $export_symbols >> $output_objdir/$soname.def;
9385 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9386 else
9387 ld_shlibs=no
9391 haiku*)
9392 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9393 link_all_deplibs=yes
9396 interix[3-9]*)
9397 hardcode_direct=no
9398 hardcode_shlibpath_var=no
9399 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9400 export_dynamic_flag_spec='${wl}-E'
9401 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9402 # Instead, shared libraries are loaded at an image base (0x10000000 by
9403 # default) and relocated if they conflict, which is a slow very memory
9404 # consuming and fragmenting process. To avoid this, we pick a random,
9405 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9406 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9407 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9408 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'
9411 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9412 tmp_diet=no
9413 if test "$host_os" = linux-dietlibc; then
9414 case $cc_basename in
9415 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9416 esac
9418 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9419 && test "$tmp_diet" = no
9420 then
9421 tmp_addflag=' $pic_flag'
9422 tmp_sharedflag='-shared'
9423 case $cc_basename,$host_cpu in
9424 pgcc*) # Portland Group C compiler
9425 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'
9426 tmp_addflag=' $pic_flag'
9428 pgf77* | pgf90* | pgf95* | pgfortran*)
9429 # Portland Group f77 and f90 compilers
9430 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'
9431 tmp_addflag=' $pic_flag -Mnomain' ;;
9432 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9433 tmp_addflag=' -i_dynamic' ;;
9434 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9435 tmp_addflag=' -i_dynamic -nofor_main' ;;
9436 ifc* | ifort*) # Intel Fortran compiler
9437 tmp_addflag=' -nofor_main' ;;
9438 lf95*) # Lahey Fortran 8.1
9439 whole_archive_flag_spec=
9440 tmp_sharedflag='--shared' ;;
9441 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9442 tmp_sharedflag='-qmkshrobj'
9443 tmp_addflag= ;;
9444 nvcc*) # Cuda Compiler Driver 2.2
9445 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'
9446 compiler_needs_object=yes
9448 esac
9449 case `$CC -V 2>&1 | sed 5q` in
9450 *Sun\ C*) # Sun C 5.9
9451 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'
9452 compiler_needs_object=yes
9453 tmp_sharedflag='-G' ;;
9454 *Sun\ F*) # Sun Fortran 8.3
9455 tmp_sharedflag='-G' ;;
9456 esac
9457 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9459 if test "x$supports_anon_versioning" = xyes; then
9460 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9461 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9462 echo "local: *; };" >> $output_objdir/$libname.ver~
9463 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9466 case $cc_basename in
9467 xlf* | bgf* | bgxlf* | mpixlf*)
9468 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9469 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9470 hardcode_libdir_flag_spec=
9471 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9472 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9473 if test "x$supports_anon_versioning" = xyes; then
9474 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9475 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9476 echo "local: *; };" >> $output_objdir/$libname.ver~
9477 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9480 esac
9481 else
9482 ld_shlibs=no
9486 netbsd*)
9487 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9488 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9489 wlarc=
9490 else
9491 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9492 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9496 solaris*)
9497 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9498 ld_shlibs=no
9499 cat <<_LT_EOF 1>&2
9501 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9502 *** create shared libraries on Solaris systems. Therefore, libtool
9503 *** is disabling shared libraries support. We urge you to upgrade GNU
9504 *** binutils to release 2.9.1 or newer. Another option is to modify
9505 *** your PATH or compiler configuration so that the native linker is
9506 *** used, and then restart.
9508 _LT_EOF
9509 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9510 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9511 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9512 else
9513 ld_shlibs=no
9517 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9518 case `$LD -v 2>&1` in
9519 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9520 ld_shlibs=no
9521 cat <<_LT_EOF 1>&2
9523 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9524 *** reliably create shared libraries on SCO systems. Therefore, libtool
9525 *** is disabling shared libraries support. We urge you to upgrade GNU
9526 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9527 *** your PATH or compiler configuration so that the native linker is
9528 *** used, and then restart.
9530 _LT_EOF
9533 # For security reasons, it is highly recommended that you always
9534 # use absolute paths for naming shared libraries, and exclude the
9535 # DT_RUNPATH tag from executables and libraries. But doing so
9536 # requires that you compile everything twice, which is a pain.
9537 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9538 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9539 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9540 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9541 else
9542 ld_shlibs=no
9545 esac
9548 sunos4*)
9549 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9550 wlarc=
9551 hardcode_direct=yes
9552 hardcode_shlibpath_var=no
9556 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9557 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9558 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9559 else
9560 ld_shlibs=no
9563 esac
9565 if test "$ld_shlibs" = no; then
9566 runpath_var=
9567 hardcode_libdir_flag_spec=
9568 export_dynamic_flag_spec=
9569 whole_archive_flag_spec=
9571 else
9572 # PORTME fill in a description of your system's linker (not GNU ld)
9573 case $host_os in
9574 aix3*)
9575 allow_undefined_flag=unsupported
9576 always_export_symbols=yes
9577 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'
9578 # Note: this linker hardcodes the directories in LIBPATH if there
9579 # are no directories specified by -L.
9580 hardcode_minus_L=yes
9581 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9582 # Neither direct hardcoding nor static linking is supported with a
9583 # broken collect2.
9584 hardcode_direct=unsupported
9588 aix[4-9]*)
9589 if test "$host_cpu" = ia64; then
9590 # On IA64, the linker does run time linking by default, so we don't
9591 # have to do anything special.
9592 aix_use_runtimelinking=no
9593 exp_sym_flag='-Bexport'
9594 no_entry_flag=""
9595 else
9596 # If we're using GNU nm, then we don't want the "-C" option.
9597 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9598 # Also, AIX nm treats weak defined symbols like other global
9599 # defined symbols, whereas GNU nm marks them as "W".
9600 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9601 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'
9602 else
9603 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'
9605 aix_use_runtimelinking=no
9607 # Test if we are trying to use run time linking or normal
9608 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9609 # need to do runtime linking.
9610 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9611 for ld_flag in $LDFLAGS; do
9612 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9613 aix_use_runtimelinking=yes
9614 break
9616 done
9618 esac
9620 exp_sym_flag='-bexport'
9621 no_entry_flag='-bnoentry'
9624 # When large executables or shared objects are built, AIX ld can
9625 # have problems creating the table of contents. If linking a library
9626 # or program results in "error TOC overflow" add -mminimal-toc to
9627 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9628 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9630 archive_cmds=''
9631 hardcode_direct=yes
9632 hardcode_direct_absolute=yes
9633 hardcode_libdir_separator=':'
9634 link_all_deplibs=yes
9635 file_list_spec='${wl}-f,'
9637 if test "$GCC" = yes; then
9638 case $host_os in aix4.[012]|aix4.[012].*)
9639 # We only want to do this on AIX 4.2 and lower, the check
9640 # below for broken collect2 doesn't work under 4.3+
9641 collect2name=`${CC} -print-prog-name=collect2`
9642 if test -f "$collect2name" &&
9643 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9644 then
9645 # We have reworked collect2
9647 else
9648 # We have old collect2
9649 hardcode_direct=unsupported
9650 # It fails to find uninstalled libraries when the uninstalled
9651 # path is not listed in the libpath. Setting hardcode_minus_L
9652 # to unsupported forces relinking
9653 hardcode_minus_L=yes
9654 hardcode_libdir_flag_spec='-L$libdir'
9655 hardcode_libdir_separator=
9658 esac
9659 shared_flag='-shared'
9660 if test "$aix_use_runtimelinking" = yes; then
9661 shared_flag="$shared_flag "'${wl}-G'
9663 else
9664 # not using gcc
9665 if test "$host_cpu" = ia64; then
9666 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9667 # chokes on -Wl,-G. The following line is correct:
9668 shared_flag='-G'
9669 else
9670 if test "$aix_use_runtimelinking" = yes; then
9671 shared_flag='${wl}-G'
9672 else
9673 shared_flag='${wl}-bM:SRE'
9678 export_dynamic_flag_spec='${wl}-bexpall'
9679 # It seems that -bexpall does not export symbols beginning with
9680 # underscore (_), so it is better to generate a list of symbols to export.
9681 always_export_symbols=yes
9682 if test "$aix_use_runtimelinking" = yes; then
9683 # Warning - without using the other runtime loading flags (-brtl),
9684 # -berok will link without error, but may produce a broken library.
9685 allow_undefined_flag='-berok'
9686 # Determine the default libpath from the value encoded in an
9687 # empty executable.
9688 if test x$gcc_no_link = xyes; then
9689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9695 main ()
9699 return 0;
9701 _ACEOF
9702 if ac_fn_c_try_link "$LINENO"; then :
9704 lt_aix_libpath_sed='
9705 /Import File Strings/,/^$/ {
9706 /^0/ {
9707 s/^0 *\(.*\)$/\1/
9711 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9712 # Check for a 64-bit object if we didn't find anything.
9713 if test -z "$aix_libpath"; then
9714 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9717 rm -f core conftest.err conftest.$ac_objext \
9718 conftest$ac_exeext conftest.$ac_ext
9719 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9721 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9722 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"
9723 else
9724 if test "$host_cpu" = ia64; then
9725 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9726 allow_undefined_flag="-z nodefs"
9727 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"
9728 else
9729 # Determine the default libpath from the value encoded in an
9730 # empty executable.
9731 if test x$gcc_no_link = xyes; then
9732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9735 /* end confdefs.h. */
9738 main ()
9742 return 0;
9744 _ACEOF
9745 if ac_fn_c_try_link "$LINENO"; then :
9747 lt_aix_libpath_sed='
9748 /Import File Strings/,/^$/ {
9749 /^0/ {
9750 s/^0 *\(.*\)$/\1/
9754 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9755 # Check for a 64-bit object if we didn't find anything.
9756 if test -z "$aix_libpath"; then
9757 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9760 rm -f core conftest.err conftest.$ac_objext \
9761 conftest$ac_exeext conftest.$ac_ext
9762 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9764 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9765 # Warning - without using the other run time loading flags,
9766 # -berok will link without error, but may produce a broken library.
9767 no_undefined_flag=' ${wl}-bernotok'
9768 allow_undefined_flag=' ${wl}-berok'
9769 if test "$with_gnu_ld" = yes; then
9770 # We only use this code for GNU lds that support --whole-archive.
9771 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9772 else
9773 # Exported symbols can be pulled into shared objects from archives
9774 whole_archive_flag_spec='$convenience'
9776 archive_cmds_need_lc=yes
9777 # This is similar to how AIX traditionally builds its shared libraries.
9778 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'
9783 amigaos*)
9784 case $host_cpu in
9785 powerpc)
9786 # see comment about AmigaOS4 .so support
9787 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9788 archive_expsym_cmds=''
9790 m68k)
9791 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)'
9792 hardcode_libdir_flag_spec='-L$libdir'
9793 hardcode_minus_L=yes
9795 esac
9798 bsdi[45]*)
9799 export_dynamic_flag_spec=-rdynamic
9802 cygwin* | mingw* | pw32* | cegcc*)
9803 # When not using gcc, we currently assume that we are using
9804 # Microsoft Visual C++.
9805 # hardcode_libdir_flag_spec is actually meaningless, as there is
9806 # no search path for DLLs.
9807 hardcode_libdir_flag_spec=' '
9808 allow_undefined_flag=unsupported
9809 # Tell ltmain to make .lib files, not .a files.
9810 libext=lib
9811 # Tell ltmain to make .dll files, not .so files.
9812 shrext_cmds=".dll"
9813 # FIXME: Setting linknames here is a bad hack.
9814 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9815 # The linker will automatically build a .lib file if we build a DLL.
9816 old_archive_from_new_cmds='true'
9817 # FIXME: Should let the user specify the lib program.
9818 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9819 fix_srcfile_path='`cygpath -w "$srcfile"`'
9820 enable_shared_with_static_runtimes=yes
9823 darwin* | rhapsody*)
9826 archive_cmds_need_lc=no
9827 hardcode_direct=no
9828 hardcode_automatic=yes
9829 hardcode_shlibpath_var=unsupported
9830 if test "$lt_cv_ld_force_load" = "yes"; then
9831 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\"`'
9832 else
9833 whole_archive_flag_spec=''
9835 link_all_deplibs=yes
9836 allow_undefined_flag="$_lt_dar_allow_undefined"
9837 case $cc_basename in
9838 ifort*) _lt_dar_can_shared=yes ;;
9839 *) _lt_dar_can_shared=$GCC ;;
9840 esac
9841 if test "$_lt_dar_can_shared" = "yes"; then
9842 output_verbose_link_cmd=func_echo_all
9843 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9844 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9845 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}"
9846 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}"
9848 else
9849 ld_shlibs=no
9854 dgux*)
9855 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9856 hardcode_libdir_flag_spec='-L$libdir'
9857 hardcode_shlibpath_var=no
9860 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9861 # support. Future versions do this automatically, but an explicit c++rt0.o
9862 # does not break anything, and helps significantly (at the cost of a little
9863 # extra space).
9864 freebsd2.2*)
9865 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9866 hardcode_libdir_flag_spec='-R$libdir'
9867 hardcode_direct=yes
9868 hardcode_shlibpath_var=no
9871 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9872 freebsd2.*)
9873 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9874 hardcode_direct=yes
9875 hardcode_minus_L=yes
9876 hardcode_shlibpath_var=no
9879 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9880 freebsd* | dragonfly*)
9881 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9882 hardcode_libdir_flag_spec='-R$libdir'
9883 hardcode_direct=yes
9884 hardcode_shlibpath_var=no
9887 hpux9*)
9888 if test "$GCC" = yes; then
9889 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'
9890 else
9891 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'
9893 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9894 hardcode_libdir_separator=:
9895 hardcode_direct=yes
9897 # hardcode_minus_L: Not really in the search PATH,
9898 # but as the default location of the library.
9899 hardcode_minus_L=yes
9900 export_dynamic_flag_spec='${wl}-E'
9903 hpux10*)
9904 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9905 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9906 else
9907 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9909 if test "$with_gnu_ld" = no; then
9910 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9911 hardcode_libdir_flag_spec_ld='+b $libdir'
9912 hardcode_libdir_separator=:
9913 hardcode_direct=yes
9914 hardcode_direct_absolute=yes
9915 export_dynamic_flag_spec='${wl}-E'
9916 # hardcode_minus_L: Not really in the search PATH,
9917 # but as the default location of the library.
9918 hardcode_minus_L=yes
9922 hpux11*)
9923 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9924 case $host_cpu in
9925 hppa*64*)
9926 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9928 ia64*)
9929 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9932 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9934 esac
9935 else
9936 case $host_cpu in
9937 hppa*64*)
9938 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9940 ia64*)
9941 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9945 # Older versions of the 11.00 compiler do not understand -b yet
9946 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9948 $as_echo_n "checking if $CC understands -b... " >&6; }
9949 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9950 $as_echo_n "(cached) " >&6
9951 else
9952 lt_cv_prog_compiler__b=no
9953 save_LDFLAGS="$LDFLAGS"
9954 LDFLAGS="$LDFLAGS -b"
9955 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9956 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9957 # The linker can only warn and ignore the option if not recognized
9958 # So say no if there are warnings
9959 if test -s conftest.err; then
9960 # Append any errors to the config.log.
9961 cat conftest.err 1>&5
9962 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9963 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9964 if diff conftest.exp conftest.er2 >/dev/null; then
9965 lt_cv_prog_compiler__b=yes
9967 else
9968 lt_cv_prog_compiler__b=yes
9971 $RM -r conftest*
9972 LDFLAGS="$save_LDFLAGS"
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9976 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9978 if test x"$lt_cv_prog_compiler__b" = xyes; then
9979 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9980 else
9981 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9985 esac
9987 if test "$with_gnu_ld" = no; then
9988 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9989 hardcode_libdir_separator=:
9991 case $host_cpu in
9992 hppa*64*|ia64*)
9993 hardcode_direct=no
9994 hardcode_shlibpath_var=no
9997 hardcode_direct=yes
9998 hardcode_direct_absolute=yes
9999 export_dynamic_flag_spec='${wl}-E'
10001 # hardcode_minus_L: Not really in the search PATH,
10002 # but as the default location of the library.
10003 hardcode_minus_L=yes
10005 esac
10009 irix5* | irix6* | nonstopux*)
10010 if test "$GCC" = yes; then
10011 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'
10012 # Try to use the -exported_symbol ld option, if it does not
10013 # work, assume that -exports_file does not work either and
10014 # implicitly export all symbols.
10015 save_LDFLAGS="$LDFLAGS"
10016 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10017 if test x$gcc_no_link = xyes; then
10018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10021 /* end confdefs.h. */
10022 int foo(void) {}
10023 _ACEOF
10024 if ac_fn_c_try_link "$LINENO"; then :
10025 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'
10028 rm -f core conftest.err conftest.$ac_objext \
10029 conftest$ac_exeext conftest.$ac_ext
10030 LDFLAGS="$save_LDFLAGS"
10031 else
10032 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'
10033 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'
10035 archive_cmds_need_lc='no'
10036 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10037 hardcode_libdir_separator=:
10038 inherit_rpath=yes
10039 link_all_deplibs=yes
10042 netbsd*)
10043 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10044 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10045 else
10046 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10048 hardcode_libdir_flag_spec='-R$libdir'
10049 hardcode_direct=yes
10050 hardcode_shlibpath_var=no
10053 newsos6)
10054 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10055 hardcode_direct=yes
10056 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10057 hardcode_libdir_separator=:
10058 hardcode_shlibpath_var=no
10061 *nto* | *qnx*)
10064 openbsd*)
10065 if test -f /usr/libexec/ld.so; then
10066 hardcode_direct=yes
10067 hardcode_shlibpath_var=no
10068 hardcode_direct_absolute=yes
10069 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10070 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10071 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10072 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10073 export_dynamic_flag_spec='${wl}-E'
10074 else
10075 case $host_os in
10076 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10077 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10078 hardcode_libdir_flag_spec='-R$libdir'
10081 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10082 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10084 esac
10086 else
10087 ld_shlibs=no
10091 os2*)
10092 hardcode_libdir_flag_spec='-L$libdir'
10093 hardcode_minus_L=yes
10094 allow_undefined_flag=unsupported
10095 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'
10096 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10099 osf3*)
10100 if test "$GCC" = yes; then
10101 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10102 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'
10103 else
10104 allow_undefined_flag=' -expect_unresolved \*'
10105 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'
10107 archive_cmds_need_lc='no'
10108 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10109 hardcode_libdir_separator=:
10112 osf4* | osf5*) # as osf3* with the addition of -msym flag
10113 if test "$GCC" = yes; then
10114 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10115 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'
10116 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10117 else
10118 allow_undefined_flag=' -expect_unresolved \*'
10119 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'
10120 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~
10121 $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'
10123 # Both c and cxx compiler support -rpath directly
10124 hardcode_libdir_flag_spec='-rpath $libdir'
10126 archive_cmds_need_lc='no'
10127 hardcode_libdir_separator=:
10130 solaris*)
10131 no_undefined_flag=' -z defs'
10132 if test "$GCC" = yes; then
10133 wlarc='${wl}'
10134 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10135 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10136 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10137 else
10138 case `$CC -V 2>&1` in
10139 *"Compilers 5.0"*)
10140 wlarc=''
10141 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10143 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10146 wlarc='${wl}'
10147 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10148 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10149 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10151 esac
10153 hardcode_libdir_flag_spec='-R$libdir'
10154 hardcode_shlibpath_var=no
10155 case $host_os in
10156 solaris2.[0-5] | solaris2.[0-5].*) ;;
10158 # The compiler driver will combine and reorder linker options,
10159 # but understands `-z linker_flag'. GCC discards it without `$wl',
10160 # but is careful enough not to reorder.
10161 # Supported since Solaris 2.6 (maybe 2.5.1?)
10162 if test "$GCC" = yes; then
10163 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10164 else
10165 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10168 esac
10169 link_all_deplibs=yes
10172 sunos4*)
10173 if test "x$host_vendor" = xsequent; then
10174 # Use $CC to link under sequent, because it throws in some extra .o
10175 # files that make .init and .fini sections work.
10176 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10177 else
10178 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10180 hardcode_libdir_flag_spec='-L$libdir'
10181 hardcode_direct=yes
10182 hardcode_minus_L=yes
10183 hardcode_shlibpath_var=no
10186 sysv4)
10187 case $host_vendor in
10188 sni)
10189 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10190 hardcode_direct=yes # is this really true???
10192 siemens)
10193 ## LD is ld it makes a PLAMLIB
10194 ## CC just makes a GrossModule.
10195 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10196 reload_cmds='$CC -r -o $output$reload_objs'
10197 hardcode_direct=no
10199 motorola)
10200 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10201 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10203 esac
10204 runpath_var='LD_RUN_PATH'
10205 hardcode_shlibpath_var=no
10208 sysv4.3*)
10209 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10210 hardcode_shlibpath_var=no
10211 export_dynamic_flag_spec='-Bexport'
10214 sysv4*MP*)
10215 if test -d /usr/nec; then
10216 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10217 hardcode_shlibpath_var=no
10218 runpath_var=LD_RUN_PATH
10219 hardcode_runpath_var=yes
10220 ld_shlibs=yes
10224 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10225 no_undefined_flag='${wl}-z,text'
10226 archive_cmds_need_lc=no
10227 hardcode_shlibpath_var=no
10228 runpath_var='LD_RUN_PATH'
10230 if test "$GCC" = yes; then
10231 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10232 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10233 else
10234 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10235 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10239 sysv5* | sco3.2v5* | sco5v6*)
10240 # Note: We can NOT use -z defs as we might desire, because we do not
10241 # link with -lc, and that would cause any symbols used from libc to
10242 # always be unresolved, which means just about no library would
10243 # ever link correctly. If we're not using GNU ld we use -z text
10244 # though, which does catch some bad symbols but isn't as heavy-handed
10245 # as -z defs.
10246 no_undefined_flag='${wl}-z,text'
10247 allow_undefined_flag='${wl}-z,nodefs'
10248 archive_cmds_need_lc=no
10249 hardcode_shlibpath_var=no
10250 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10251 hardcode_libdir_separator=':'
10252 link_all_deplibs=yes
10253 export_dynamic_flag_spec='${wl}-Bexport'
10254 runpath_var='LD_RUN_PATH'
10256 if test "$GCC" = yes; then
10257 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10258 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10259 else
10260 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10265 uts4*)
10266 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10267 hardcode_libdir_flag_spec='-L$libdir'
10268 hardcode_shlibpath_var=no
10272 ld_shlibs=no
10274 esac
10276 if test x$host_vendor = xsni; then
10277 case $host in
10278 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10279 export_dynamic_flag_spec='${wl}-Blargedynsym'
10281 esac
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10286 $as_echo "$ld_shlibs" >&6; }
10287 test "$ld_shlibs" = no && can_build_shared=no
10289 with_gnu_ld=$with_gnu_ld
10306 # Do we need to explicitly link libc?
10308 case "x$archive_cmds_need_lc" in
10309 x|xyes)
10310 # Assume -lc should be added
10311 archive_cmds_need_lc=yes
10313 if test "$enable_shared" = yes && test "$GCC" = yes; then
10314 case $archive_cmds in
10315 *'~'*)
10316 # FIXME: we may have to deal with multi-command sequences.
10318 '$CC '*)
10319 # Test whether the compiler implicitly links with -lc since on some
10320 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10321 # to ld, don't add -lc before -lgcc.
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10323 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10324 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10325 $as_echo_n "(cached) " >&6
10326 else
10327 $RM conftest*
10328 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10330 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10331 (eval $ac_compile) 2>&5
10332 ac_status=$?
10333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10334 test $ac_status = 0; } 2>conftest.err; then
10335 soname=conftest
10336 lib=conftest
10337 libobjs=conftest.$ac_objext
10338 deplibs=
10339 wl=$lt_prog_compiler_wl
10340 pic_flag=$lt_prog_compiler_pic
10341 compiler_flags=-v
10342 linker_flags=-v
10343 verstring=
10344 output_objdir=.
10345 libname=conftest
10346 lt_save_allow_undefined_flag=$allow_undefined_flag
10347 allow_undefined_flag=
10348 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10349 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10350 ac_status=$?
10351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10352 test $ac_status = 0; }
10353 then
10354 lt_cv_archive_cmds_need_lc=no
10355 else
10356 lt_cv_archive_cmds_need_lc=yes
10358 allow_undefined_flag=$lt_save_allow_undefined_flag
10359 else
10360 cat conftest.err 1>&5
10362 $RM conftest*
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10366 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10367 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10369 esac
10372 esac
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10531 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10533 if test "$GCC" = yes; then
10534 case $host_os in
10535 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10536 *) lt_awk_arg="/^libraries:/" ;;
10537 esac
10538 case $host_os in
10539 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10540 *) lt_sed_strip_eq="s,=/,/,g" ;;
10541 esac
10542 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10543 case $lt_search_path_spec in
10544 *\;*)
10545 # if the path contains ";" then we assume it to be the separator
10546 # otherwise default to the standard path separator (i.e. ":") - it is
10547 # assumed that no part of a normal pathname contains ";" but that should
10548 # okay in the real world where ";" in dirpaths is itself problematic.
10549 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10552 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10554 esac
10555 # Ok, now we have the path, separated by spaces, we can step through it
10556 # and add multilib dir if necessary.
10557 lt_tmp_lt_search_path_spec=
10558 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10559 for lt_sys_path in $lt_search_path_spec; do
10560 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10561 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10562 else
10563 test -d "$lt_sys_path" && \
10564 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10566 done
10567 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10568 BEGIN {RS=" "; FS="/|\n";} {
10569 lt_foo="";
10570 lt_count=0;
10571 for (lt_i = NF; lt_i > 0; lt_i--) {
10572 if ($lt_i != "" && $lt_i != ".") {
10573 if ($lt_i == "..") {
10574 lt_count++;
10575 } else {
10576 if (lt_count == 0) {
10577 lt_foo="/" $lt_i lt_foo;
10578 } else {
10579 lt_count--;
10584 if (lt_foo != "") { lt_freq[lt_foo]++; }
10585 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10587 # AWK program above erroneously prepends '/' to C:/dos/paths
10588 # for these hosts.
10589 case $host_os in
10590 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10591 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10592 esac
10593 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10594 else
10595 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10597 library_names_spec=
10598 libname_spec='lib$name'
10599 soname_spec=
10600 shrext_cmds=".so"
10601 postinstall_cmds=
10602 postuninstall_cmds=
10603 finish_cmds=
10604 finish_eval=
10605 shlibpath_var=
10606 shlibpath_overrides_runpath=unknown
10607 version_type=none
10608 dynamic_linker="$host_os ld.so"
10609 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10610 need_lib_prefix=unknown
10611 hardcode_into_libs=no
10613 # when you set need_version to no, make sure it does not cause -set_version
10614 # flags to be left without arguments
10615 need_version=unknown
10617 case $host_os in
10618 aix3*)
10619 version_type=linux
10620 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10621 shlibpath_var=LIBPATH
10623 # AIX 3 has no versioning support, so we append a major version to the name.
10624 soname_spec='${libname}${release}${shared_ext}$major'
10627 aix[4-9]*)
10628 version_type=linux
10629 need_lib_prefix=no
10630 need_version=no
10631 hardcode_into_libs=yes
10632 if test "$host_cpu" = ia64; then
10633 # AIX 5 supports IA64
10634 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10635 shlibpath_var=LD_LIBRARY_PATH
10636 else
10637 # With GCC up to 2.95.x, collect2 would create an import file
10638 # for dependence libraries. The import file would start with
10639 # the line `#! .'. This would cause the generated library to
10640 # depend on `.', always an invalid library. This was fixed in
10641 # development snapshots of GCC prior to 3.0.
10642 case $host_os in
10643 aix4 | aix4.[01] | aix4.[01].*)
10644 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10645 echo ' yes '
10646 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10648 else
10649 can_build_shared=no
10652 esac
10653 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10654 # soname into executable. Probably we can add versioning support to
10655 # collect2, so additional links can be useful in future.
10656 if test "$aix_use_runtimelinking" = yes; then
10657 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10658 # instead of lib<name>.a to let people know that these are not
10659 # typical AIX shared libraries.
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10661 else
10662 # We preserve .a as extension for shared libraries through AIX4.2
10663 # and later when we are not doing run time linking.
10664 library_names_spec='${libname}${release}.a $libname.a'
10665 soname_spec='${libname}${release}${shared_ext}$major'
10667 shlibpath_var=LIBPATH
10671 amigaos*)
10672 case $host_cpu in
10673 powerpc)
10674 # Since July 2007 AmigaOS4 officially supports .so libraries.
10675 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10678 m68k)
10679 library_names_spec='$libname.ixlibrary $libname.a'
10680 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10681 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'
10683 esac
10686 beos*)
10687 library_names_spec='${libname}${shared_ext}'
10688 dynamic_linker="$host_os ld.so"
10689 shlibpath_var=LIBRARY_PATH
10692 bsdi[45]*)
10693 version_type=linux
10694 need_version=no
10695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696 soname_spec='${libname}${release}${shared_ext}$major'
10697 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10698 shlibpath_var=LD_LIBRARY_PATH
10699 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10700 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10701 # the default ld.so.conf also contains /usr/contrib/lib and
10702 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10703 # libtool to hard-code these into programs
10706 cygwin* | mingw* | pw32* | cegcc*)
10707 version_type=windows
10708 shrext_cmds=".dll"
10709 need_version=no
10710 need_lib_prefix=no
10712 case $GCC,$host_os in
10713 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10714 library_names_spec='$libname.dll.a'
10715 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10716 postinstall_cmds='base_file=`basename \${file}`~
10717 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10718 dldir=$destdir/`dirname \$dlpath`~
10719 test -d \$dldir || mkdir -p \$dldir~
10720 $install_prog $dir/$dlname \$dldir/$dlname~
10721 chmod a+x \$dldir/$dlname~
10722 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10723 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10725 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10726 dlpath=$dir/\$dldll~
10727 $RM \$dlpath'
10728 shlibpath_overrides_runpath=yes
10730 case $host_os in
10731 cygwin*)
10732 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10733 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10735 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10737 mingw* | cegcc*)
10738 # MinGW DLLs use traditional 'lib' prefix
10739 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10741 pw32*)
10742 # pw32 DLLs use 'pw' prefix rather than 'lib'
10743 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10745 esac
10749 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10751 esac
10752 dynamic_linker='Win32 ld.exe'
10753 # FIXME: first we should search . and the directory the executable is in
10754 shlibpath_var=PATH
10757 darwin* | rhapsody*)
10758 dynamic_linker="$host_os dyld"
10759 version_type=darwin
10760 need_lib_prefix=no
10761 need_version=no
10762 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10763 soname_spec='${libname}${release}${major}$shared_ext'
10764 shlibpath_overrides_runpath=yes
10765 shlibpath_var=DYLD_LIBRARY_PATH
10766 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10768 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10769 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10772 dgux*)
10773 version_type=linux
10774 need_lib_prefix=no
10775 need_version=no
10776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10777 soname_spec='${libname}${release}${shared_ext}$major'
10778 shlibpath_var=LD_LIBRARY_PATH
10781 freebsd* | dragonfly*)
10782 # DragonFly does not have aout. When/if they implement a new
10783 # versioning mechanism, adjust this.
10784 if test -x /usr/bin/objformat; then
10785 objformat=`/usr/bin/objformat`
10786 else
10787 case $host_os in
10788 freebsd[23].*) objformat=aout ;;
10789 *) objformat=elf ;;
10790 esac
10792 version_type=freebsd-$objformat
10793 case $version_type in
10794 freebsd-elf*)
10795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10796 need_version=no
10797 need_lib_prefix=no
10799 freebsd-*)
10800 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10801 need_version=yes
10803 esac
10804 shlibpath_var=LD_LIBRARY_PATH
10805 case $host_os in
10806 freebsd2.*)
10807 shlibpath_overrides_runpath=yes
10809 freebsd3.[01]* | freebsdelf3.[01]*)
10810 shlibpath_overrides_runpath=yes
10811 hardcode_into_libs=yes
10813 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10814 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10815 shlibpath_overrides_runpath=no
10816 hardcode_into_libs=yes
10818 *) # from 4.6 on, and DragonFly
10819 shlibpath_overrides_runpath=yes
10820 hardcode_into_libs=yes
10822 esac
10825 gnu*)
10826 version_type=linux
10827 need_lib_prefix=no
10828 need_version=no
10829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10830 soname_spec='${libname}${release}${shared_ext}$major'
10831 shlibpath_var=LD_LIBRARY_PATH
10832 hardcode_into_libs=yes
10835 haiku*)
10836 version_type=linux
10837 need_lib_prefix=no
10838 need_version=no
10839 dynamic_linker="$host_os runtime_loader"
10840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10841 soname_spec='${libname}${release}${shared_ext}$major'
10842 shlibpath_var=LIBRARY_PATH
10843 shlibpath_overrides_runpath=yes
10844 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10845 hardcode_into_libs=yes
10848 hpux9* | hpux10* | hpux11*)
10849 # Give a soname corresponding to the major version so that dld.sl refuses to
10850 # link against other versions.
10851 version_type=sunos
10852 need_lib_prefix=no
10853 need_version=no
10854 case $host_cpu in
10855 ia64*)
10856 shrext_cmds='.so'
10857 hardcode_into_libs=yes
10858 dynamic_linker="$host_os dld.so"
10859 shlibpath_var=LD_LIBRARY_PATH
10860 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10862 soname_spec='${libname}${release}${shared_ext}$major'
10863 if test "X$HPUX_IA64_MODE" = X32; then
10864 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10865 else
10866 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10868 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10870 hppa*64*)
10871 shrext_cmds='.sl'
10872 hardcode_into_libs=yes
10873 dynamic_linker="$host_os dld.sl"
10874 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10875 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10877 soname_spec='${libname}${release}${shared_ext}$major'
10878 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10879 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10882 shrext_cmds='.sl'
10883 dynamic_linker="$host_os dld.sl"
10884 shlibpath_var=SHLIB_PATH
10885 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10887 soname_spec='${libname}${release}${shared_ext}$major'
10889 esac
10890 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10891 postinstall_cmds='chmod 555 $lib'
10892 # or fails outright, so override atomically:
10893 install_override_mode=555
10896 interix[3-9]*)
10897 version_type=linux
10898 need_lib_prefix=no
10899 need_version=no
10900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10901 soname_spec='${libname}${release}${shared_ext}$major'
10902 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10903 shlibpath_var=LD_LIBRARY_PATH
10904 shlibpath_overrides_runpath=no
10905 hardcode_into_libs=yes
10908 irix5* | irix6* | nonstopux*)
10909 case $host_os in
10910 nonstopux*) version_type=nonstopux ;;
10912 if test "$lt_cv_prog_gnu_ld" = yes; then
10913 version_type=linux
10914 else
10915 version_type=irix
10916 fi ;;
10917 esac
10918 need_lib_prefix=no
10919 need_version=no
10920 soname_spec='${libname}${release}${shared_ext}$major'
10921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10922 case $host_os in
10923 irix5* | nonstopux*)
10924 libsuff= shlibsuff=
10927 case $LD in # libtool.m4 will add one of these switches to LD
10928 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10929 libsuff= shlibsuff= libmagic=32-bit;;
10930 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10931 libsuff=32 shlibsuff=N32 libmagic=N32;;
10932 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10933 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10934 *) libsuff= shlibsuff= libmagic=never-match;;
10935 esac
10937 esac
10938 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10939 shlibpath_overrides_runpath=no
10940 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10941 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10942 hardcode_into_libs=yes
10945 # No shared lib support for Linux oldld, aout, or coff.
10946 linux*oldld* | linux*aout* | linux*coff*)
10947 dynamic_linker=no
10950 # This must be Linux ELF.
10951 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10952 version_type=linux
10953 need_lib_prefix=no
10954 need_version=no
10955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10956 soname_spec='${libname}${release}${shared_ext}$major'
10957 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10958 shlibpath_var=LD_LIBRARY_PATH
10959 shlibpath_overrides_runpath=no
10961 # Some binutils ld are patched to set DT_RUNPATH
10962 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10963 $as_echo_n "(cached) " >&6
10964 else
10965 lt_cv_shlibpath_overrides_runpath=no
10966 save_LDFLAGS=$LDFLAGS
10967 save_libdir=$libdir
10968 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10969 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10970 if test x$gcc_no_link = xyes; then
10971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10977 main ()
10981 return 0;
10983 _ACEOF
10984 if ac_fn_c_try_link "$LINENO"; then :
10985 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10986 lt_cv_shlibpath_overrides_runpath=yes
10989 rm -f core conftest.err conftest.$ac_objext \
10990 conftest$ac_exeext conftest.$ac_ext
10991 LDFLAGS=$save_LDFLAGS
10992 libdir=$save_libdir
10996 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10998 # This implies no fast_install, which is unacceptable.
10999 # Some rework will be needed to allow for fast_install
11000 # before this can be enabled.
11001 hardcode_into_libs=yes
11003 # Append ld.so.conf contents to the search path
11004 if test -f /etc/ld.so.conf; then
11005 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' ' '`
11006 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11009 # We used to test for /lib/ld.so.1 and disable shared libraries on
11010 # powerpc, because MkLinux only supported shared libraries with the
11011 # GNU dynamic linker. Since this was broken with cross compilers,
11012 # most powerpc-linux boxes support dynamic linking these days and
11013 # people can always --disable-shared, the test was removed, and we
11014 # assume the GNU/Linux dynamic linker is in use.
11015 dynamic_linker='GNU/Linux ld.so'
11018 netbsd*)
11019 version_type=sunos
11020 need_lib_prefix=no
11021 need_version=no
11022 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11024 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11025 dynamic_linker='NetBSD (a.out) ld.so'
11026 else
11027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11028 soname_spec='${libname}${release}${shared_ext}$major'
11029 dynamic_linker='NetBSD ld.elf_so'
11031 shlibpath_var=LD_LIBRARY_PATH
11032 shlibpath_overrides_runpath=yes
11033 hardcode_into_libs=yes
11036 newsos6)
11037 version_type=linux
11038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath=yes
11043 *nto* | *qnx*)
11044 version_type=qnx
11045 need_lib_prefix=no
11046 need_version=no
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 soname_spec='${libname}${release}${shared_ext}$major'
11049 shlibpath_var=LD_LIBRARY_PATH
11050 shlibpath_overrides_runpath=no
11051 hardcode_into_libs=yes
11052 dynamic_linker='ldqnx.so'
11055 openbsd*)
11056 version_type=sunos
11057 sys_lib_dlsearch_path_spec="/usr/lib"
11058 need_lib_prefix=no
11059 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11060 case $host_os in
11061 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11062 *) need_version=no ;;
11063 esac
11064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11065 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11066 shlibpath_var=LD_LIBRARY_PATH
11067 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11068 case $host_os in
11069 openbsd2.[89] | openbsd2.[89].*)
11070 shlibpath_overrides_runpath=no
11073 shlibpath_overrides_runpath=yes
11075 esac
11076 else
11077 shlibpath_overrides_runpath=yes
11081 os2*)
11082 libname_spec='$name'
11083 shrext_cmds=".dll"
11084 need_lib_prefix=no
11085 library_names_spec='$libname${shared_ext} $libname.a'
11086 dynamic_linker='OS/2 ld.exe'
11087 shlibpath_var=LIBPATH
11090 osf3* | osf4* | osf5*)
11091 version_type=osf
11092 need_lib_prefix=no
11093 need_version=no
11094 soname_spec='${libname}${release}${shared_ext}$major'
11095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096 shlibpath_var=LD_LIBRARY_PATH
11097 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11098 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11101 rdos*)
11102 dynamic_linker=no
11105 solaris*)
11106 version_type=linux
11107 need_lib_prefix=no
11108 need_version=no
11109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11110 soname_spec='${libname}${release}${shared_ext}$major'
11111 shlibpath_var=LD_LIBRARY_PATH
11112 shlibpath_overrides_runpath=yes
11113 hardcode_into_libs=yes
11114 # ldd complains unless libraries are executable
11115 postinstall_cmds='chmod +x $lib'
11118 sunos4*)
11119 version_type=sunos
11120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11121 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11122 shlibpath_var=LD_LIBRARY_PATH
11123 shlibpath_overrides_runpath=yes
11124 if test "$with_gnu_ld" = yes; then
11125 need_lib_prefix=no
11127 need_version=yes
11130 sysv4 | sysv4.3*)
11131 version_type=linux
11132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11133 soname_spec='${libname}${release}${shared_ext}$major'
11134 shlibpath_var=LD_LIBRARY_PATH
11135 case $host_vendor in
11136 sni)
11137 shlibpath_overrides_runpath=no
11138 need_lib_prefix=no
11139 runpath_var=LD_RUN_PATH
11141 siemens)
11142 need_lib_prefix=no
11144 motorola)
11145 need_lib_prefix=no
11146 need_version=no
11147 shlibpath_overrides_runpath=no
11148 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11150 esac
11153 sysv4*MP*)
11154 if test -d /usr/nec ;then
11155 version_type=linux
11156 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11157 soname_spec='$libname${shared_ext}.$major'
11158 shlibpath_var=LD_LIBRARY_PATH
11162 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11163 version_type=freebsd-elf
11164 need_lib_prefix=no
11165 need_version=no
11166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11167 soname_spec='${libname}${release}${shared_ext}$major'
11168 shlibpath_var=LD_LIBRARY_PATH
11169 shlibpath_overrides_runpath=yes
11170 hardcode_into_libs=yes
11171 if test "$with_gnu_ld" = yes; then
11172 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11173 else
11174 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11175 case $host_os in
11176 sco3.2v5*)
11177 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11179 esac
11181 sys_lib_dlsearch_path_spec='/usr/lib'
11184 tpf*)
11185 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11186 version_type=linux
11187 need_lib_prefix=no
11188 need_version=no
11189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11190 shlibpath_var=LD_LIBRARY_PATH
11191 shlibpath_overrides_runpath=no
11192 hardcode_into_libs=yes
11195 uts4*)
11196 version_type=linux
11197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11198 soname_spec='${libname}${release}${shared_ext}$major'
11199 shlibpath_var=LD_LIBRARY_PATH
11203 dynamic_linker=no
11205 esac
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11207 $as_echo "$dynamic_linker" >&6; }
11208 test "$dynamic_linker" = no && can_build_shared=no
11210 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11211 if test "$GCC" = yes; then
11212 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11215 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11216 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11218 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11219 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11314 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11315 hardcode_action=
11316 if test -n "$hardcode_libdir_flag_spec" ||
11317 test -n "$runpath_var" ||
11318 test "X$hardcode_automatic" = "Xyes" ; then
11320 # We can hardcode non-existent directories.
11321 if test "$hardcode_direct" != no &&
11322 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11323 # have to relink, otherwise we might link with an installed library
11324 # when we should be linking with a yet-to-be-installed one
11325 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11326 test "$hardcode_minus_L" != no; then
11327 # Linking always hardcodes the temporary library directory.
11328 hardcode_action=relink
11329 else
11330 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11331 hardcode_action=immediate
11333 else
11334 # We cannot hardcode anything, or else we can only hardcode existing
11335 # directories.
11336 hardcode_action=unsupported
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11339 $as_echo "$hardcode_action" >&6; }
11341 if test "$hardcode_action" = relink ||
11342 test "$inherit_rpath" = yes; then
11343 # Fast installation is not supported
11344 enable_fast_install=no
11345 elif test "$shlibpath_overrides_runpath" = yes ||
11346 test "$enable_shared" = no; then
11347 # Fast installation is not necessary
11348 enable_fast_install=needless
11356 if test "x$enable_dlopen" != xyes; then
11357 enable_dlopen=unknown
11358 enable_dlopen_self=unknown
11359 enable_dlopen_self_static=unknown
11360 else
11361 lt_cv_dlopen=no
11362 lt_cv_dlopen_libs=
11364 case $host_os in
11365 beos*)
11366 lt_cv_dlopen="load_add_on"
11367 lt_cv_dlopen_libs=
11368 lt_cv_dlopen_self=yes
11371 mingw* | pw32* | cegcc*)
11372 lt_cv_dlopen="LoadLibrary"
11373 lt_cv_dlopen_libs=
11376 cygwin*)
11377 lt_cv_dlopen="dlopen"
11378 lt_cv_dlopen_libs=
11381 darwin*)
11382 # if libdl is installed we need to link against it
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11384 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11385 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11386 $as_echo_n "(cached) " >&6
11387 else
11388 ac_check_lib_save_LIBS=$LIBS
11389 LIBS="-ldl $LIBS"
11390 if test x$gcc_no_link = xyes; then
11391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11399 #ifdef __cplusplus
11400 extern "C"
11401 #endif
11402 char dlopen ();
11404 main ()
11406 return dlopen ();
11408 return 0;
11410 _ACEOF
11411 if ac_fn_c_try_link "$LINENO"; then :
11412 ac_cv_lib_dl_dlopen=yes
11413 else
11414 ac_cv_lib_dl_dlopen=no
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_lib_save_LIBS
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11421 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11422 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11423 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11424 else
11426 lt_cv_dlopen="dyld"
11427 lt_cv_dlopen_libs=
11428 lt_cv_dlopen_self=yes
11435 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11436 if test "x$ac_cv_func_shl_load" = x""yes; then :
11437 lt_cv_dlopen="shl_load"
11438 else
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11440 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11441 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11442 $as_echo_n "(cached) " >&6
11443 else
11444 ac_check_lib_save_LIBS=$LIBS
11445 LIBS="-ldld $LIBS"
11446 if test x$gcc_no_link = xyes; then
11447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11450 /* end confdefs.h. */
11452 /* Override any GCC internal prototype to avoid an error.
11453 Use char because int might match the return type of a GCC
11454 builtin and then its argument prototype would still apply. */
11455 #ifdef __cplusplus
11456 extern "C"
11457 #endif
11458 char shl_load ();
11460 main ()
11462 return shl_load ();
11464 return 0;
11466 _ACEOF
11467 if ac_fn_c_try_link "$LINENO"; then :
11468 ac_cv_lib_dld_shl_load=yes
11469 else
11470 ac_cv_lib_dld_shl_load=no
11472 rm -f core conftest.err conftest.$ac_objext \
11473 conftest$ac_exeext conftest.$ac_ext
11474 LIBS=$ac_check_lib_save_LIBS
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11477 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11478 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11479 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11480 else
11481 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11482 if test "x$ac_cv_func_dlopen" = x""yes; then :
11483 lt_cv_dlopen="dlopen"
11484 else
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11486 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11487 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11488 $as_echo_n "(cached) " >&6
11489 else
11490 ac_check_lib_save_LIBS=$LIBS
11491 LIBS="-ldl $LIBS"
11492 if test x$gcc_no_link = xyes; then
11493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11501 #ifdef __cplusplus
11502 extern "C"
11503 #endif
11504 char dlopen ();
11506 main ()
11508 return dlopen ();
11510 return 0;
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"; then :
11514 ac_cv_lib_dl_dlopen=yes
11515 else
11516 ac_cv_lib_dl_dlopen=no
11518 rm -f core conftest.err conftest.$ac_objext \
11519 conftest$ac_exeext conftest.$ac_ext
11520 LIBS=$ac_check_lib_save_LIBS
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11523 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11524 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11525 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11526 else
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11528 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11529 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11530 $as_echo_n "(cached) " >&6
11531 else
11532 ac_check_lib_save_LIBS=$LIBS
11533 LIBS="-lsvld $LIBS"
11534 if test x$gcc_no_link = xyes; then
11535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11540 /* Override any GCC internal prototype to avoid an error.
11541 Use char because int might match the return type of a GCC
11542 builtin and then its argument prototype would still apply. */
11543 #ifdef __cplusplus
11544 extern "C"
11545 #endif
11546 char dlopen ();
11548 main ()
11550 return dlopen ();
11552 return 0;
11554 _ACEOF
11555 if ac_fn_c_try_link "$LINENO"; then :
11556 ac_cv_lib_svld_dlopen=yes
11557 else
11558 ac_cv_lib_svld_dlopen=no
11560 rm -f core conftest.err conftest.$ac_objext \
11561 conftest$ac_exeext conftest.$ac_ext
11562 LIBS=$ac_check_lib_save_LIBS
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11565 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11566 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11567 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11568 else
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11570 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11571 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11572 $as_echo_n "(cached) " >&6
11573 else
11574 ac_check_lib_save_LIBS=$LIBS
11575 LIBS="-ldld $LIBS"
11576 if test x$gcc_no_link = xyes; then
11577 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11580 /* end confdefs.h. */
11582 /* Override any GCC internal prototype to avoid an error.
11583 Use char because int might match the return type of a GCC
11584 builtin and then its argument prototype would still apply. */
11585 #ifdef __cplusplus
11586 extern "C"
11587 #endif
11588 char dld_link ();
11590 main ()
11592 return dld_link ();
11594 return 0;
11596 _ACEOF
11597 if ac_fn_c_try_link "$LINENO"; then :
11598 ac_cv_lib_dld_dld_link=yes
11599 else
11600 ac_cv_lib_dld_dld_link=no
11602 rm -f core conftest.err conftest.$ac_objext \
11603 conftest$ac_exeext conftest.$ac_ext
11604 LIBS=$ac_check_lib_save_LIBS
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11607 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11608 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11609 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11628 esac
11630 if test "x$lt_cv_dlopen" != xno; then
11631 enable_dlopen=yes
11632 else
11633 enable_dlopen=no
11636 case $lt_cv_dlopen in
11637 dlopen)
11638 save_CPPFLAGS="$CPPFLAGS"
11639 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11641 save_LDFLAGS="$LDFLAGS"
11642 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11644 save_LIBS="$LIBS"
11645 LIBS="$lt_cv_dlopen_libs $LIBS"
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11648 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11649 if test "${lt_cv_dlopen_self+set}" = set; then :
11650 $as_echo_n "(cached) " >&6
11651 else
11652 if test "$cross_compiling" = yes; then :
11653 lt_cv_dlopen_self=cross
11654 else
11655 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11656 lt_status=$lt_dlunknown
11657 cat > conftest.$ac_ext <<_LT_EOF
11658 #line 11658 "configure"
11659 #include "confdefs.h"
11661 #if HAVE_DLFCN_H
11662 #include <dlfcn.h>
11663 #endif
11665 #include <stdio.h>
11667 #ifdef RTLD_GLOBAL
11668 # define LT_DLGLOBAL RTLD_GLOBAL
11669 #else
11670 # ifdef DL_GLOBAL
11671 # define LT_DLGLOBAL DL_GLOBAL
11672 # else
11673 # define LT_DLGLOBAL 0
11674 # endif
11675 #endif
11677 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11678 find out it does not work in some platform. */
11679 #ifndef LT_DLLAZY_OR_NOW
11680 # ifdef RTLD_LAZY
11681 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11682 # else
11683 # ifdef DL_LAZY
11684 # define LT_DLLAZY_OR_NOW DL_LAZY
11685 # else
11686 # ifdef RTLD_NOW
11687 # define LT_DLLAZY_OR_NOW RTLD_NOW
11688 # else
11689 # ifdef DL_NOW
11690 # define LT_DLLAZY_OR_NOW DL_NOW
11691 # else
11692 # define LT_DLLAZY_OR_NOW 0
11693 # endif
11694 # endif
11695 # endif
11696 # endif
11697 #endif
11699 /* When -fvisbility=hidden is used, assume the code has been annotated
11700 correspondingly for the symbols needed. */
11701 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11702 void fnord () __attribute__((visibility("default")));
11703 #endif
11705 void fnord () { int i=42; }
11706 int main ()
11708 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11709 int status = $lt_dlunknown;
11711 if (self)
11713 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11714 else
11716 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11717 else puts (dlerror ());
11719 /* dlclose (self); */
11721 else
11722 puts (dlerror ());
11724 return status;
11726 _LT_EOF
11727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11728 (eval $ac_link) 2>&5
11729 ac_status=$?
11730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11731 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11732 (./conftest; exit; ) >&5 2>/dev/null
11733 lt_status=$?
11734 case x$lt_status in
11735 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11736 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11737 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11738 esac
11739 else :
11740 # compilation failed
11741 lt_cv_dlopen_self=no
11744 rm -fr conftest*
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11749 $as_echo "$lt_cv_dlopen_self" >&6; }
11751 if test "x$lt_cv_dlopen_self" = xyes; then
11752 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11754 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11755 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11756 $as_echo_n "(cached) " >&6
11757 else
11758 if test "$cross_compiling" = yes; then :
11759 lt_cv_dlopen_self_static=cross
11760 else
11761 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11762 lt_status=$lt_dlunknown
11763 cat > conftest.$ac_ext <<_LT_EOF
11764 #line 11764 "configure"
11765 #include "confdefs.h"
11767 #if HAVE_DLFCN_H
11768 #include <dlfcn.h>
11769 #endif
11771 #include <stdio.h>
11773 #ifdef RTLD_GLOBAL
11774 # define LT_DLGLOBAL RTLD_GLOBAL
11775 #else
11776 # ifdef DL_GLOBAL
11777 # define LT_DLGLOBAL DL_GLOBAL
11778 # else
11779 # define LT_DLGLOBAL 0
11780 # endif
11781 #endif
11783 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11784 find out it does not work in some platform. */
11785 #ifndef LT_DLLAZY_OR_NOW
11786 # ifdef RTLD_LAZY
11787 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11788 # else
11789 # ifdef DL_LAZY
11790 # define LT_DLLAZY_OR_NOW DL_LAZY
11791 # else
11792 # ifdef RTLD_NOW
11793 # define LT_DLLAZY_OR_NOW RTLD_NOW
11794 # else
11795 # ifdef DL_NOW
11796 # define LT_DLLAZY_OR_NOW DL_NOW
11797 # else
11798 # define LT_DLLAZY_OR_NOW 0
11799 # endif
11800 # endif
11801 # endif
11802 # endif
11803 #endif
11805 /* When -fvisbility=hidden is used, assume the code has been annotated
11806 correspondingly for the symbols needed. */
11807 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11808 void fnord () __attribute__((visibility("default")));
11809 #endif
11811 void fnord () { int i=42; }
11812 int main ()
11814 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11815 int status = $lt_dlunknown;
11817 if (self)
11819 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11820 else
11822 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11823 else puts (dlerror ());
11825 /* dlclose (self); */
11827 else
11828 puts (dlerror ());
11830 return status;
11832 _LT_EOF
11833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11834 (eval $ac_link) 2>&5
11835 ac_status=$?
11836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11837 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11838 (./conftest; exit; ) >&5 2>/dev/null
11839 lt_status=$?
11840 case x$lt_status in
11841 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11842 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11843 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11844 esac
11845 else :
11846 # compilation failed
11847 lt_cv_dlopen_self_static=no
11850 rm -fr conftest*
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11855 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11858 CPPFLAGS="$save_CPPFLAGS"
11859 LDFLAGS="$save_LDFLAGS"
11860 LIBS="$save_LIBS"
11862 esac
11864 case $lt_cv_dlopen_self in
11865 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11866 *) enable_dlopen_self=unknown ;;
11867 esac
11869 case $lt_cv_dlopen_self_static in
11870 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11871 *) enable_dlopen_self_static=unknown ;;
11872 esac
11891 striplib=
11892 old_striplib=
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11894 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11895 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11896 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11897 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11899 $as_echo "yes" >&6; }
11900 else
11901 # FIXME - insert some real tests, host_os isn't really good enough
11902 case $host_os in
11903 darwin*)
11904 if test -n "$STRIP" ; then
11905 striplib="$STRIP -x"
11906 old_striplib="$STRIP -S"
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11908 $as_echo "yes" >&6; }
11909 else
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11911 $as_echo "no" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11916 $as_echo "no" >&6; }
11918 esac
11932 # Report which library types will actually be built
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11934 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11936 $as_echo "$can_build_shared" >&6; }
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11939 $as_echo_n "checking whether to build shared libraries... " >&6; }
11940 test "$can_build_shared" = "no" && enable_shared=no
11942 # On AIX, shared libraries and static libraries use the same namespace, and
11943 # are all built from PIC.
11944 case $host_os in
11945 aix3*)
11946 test "$enable_shared" = yes && enable_static=no
11947 if test -n "$RANLIB"; then
11948 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11949 postinstall_cmds='$RANLIB $lib'
11953 aix[4-9]*)
11954 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11955 test "$enable_shared" = yes && enable_static=no
11958 esac
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11960 $as_echo "$enable_shared" >&6; }
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11963 $as_echo_n "checking whether to build static libraries... " >&6; }
11964 # Make sure either enable_shared or enable_static is yes.
11965 test "$enable_shared" = yes || enable_static=yes
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11967 $as_echo "$enable_static" >&6; }
11973 ac_ext=c
11974 ac_cpp='$CPP $CPPFLAGS'
11975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11979 CC="$lt_save_CC"
11981 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11982 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11983 (test "X$CXX" != "Xg++"))) ; then
11984 ac_ext=cpp
11985 ac_cpp='$CXXCPP $CPPFLAGS'
11986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11990 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11991 if test -z "$CXXCPP"; then
11992 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11993 $as_echo_n "(cached) " >&6
11994 else
11995 # Double quotes because CXXCPP needs to be expanded
11996 for CXXCPP in "$CXX -E" "/lib/cpp"
11998 ac_preproc_ok=false
11999 for ac_cxx_preproc_warn_flag in '' yes
12001 # Use a header file that comes with gcc, so configuring glibc
12002 # with a fresh cross-compiler works.
12003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12004 # <limits.h> exists even on freestanding compilers.
12005 # On the NeXT, cc -E runs the code through the compiler's parser,
12006 # not just through cpp. "Syntax error" is here to catch this case.
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12009 #ifdef __STDC__
12010 # include <limits.h>
12011 #else
12012 # include <assert.h>
12013 #endif
12014 Syntax error
12015 _ACEOF
12016 if ac_fn_cxx_try_cpp "$LINENO"; then :
12018 else
12019 # Broken: fails on valid input.
12020 continue
12022 rm -f conftest.err conftest.$ac_ext
12024 # OK, works on sane cases. Now check whether nonexistent headers
12025 # can be detected and how.
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12028 #include <ac_nonexistent.h>
12029 _ACEOF
12030 if ac_fn_cxx_try_cpp "$LINENO"; then :
12031 # Broken: success on invalid input.
12032 continue
12033 else
12034 # Passes both tests.
12035 ac_preproc_ok=:
12036 break
12038 rm -f conftest.err conftest.$ac_ext
12040 done
12041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12042 rm -f conftest.err conftest.$ac_ext
12043 if $ac_preproc_ok; then :
12044 break
12047 done
12048 ac_cv_prog_CXXCPP=$CXXCPP
12051 CXXCPP=$ac_cv_prog_CXXCPP
12052 else
12053 ac_cv_prog_CXXCPP=$CXXCPP
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12056 $as_echo "$CXXCPP" >&6; }
12057 ac_preproc_ok=false
12058 for ac_cxx_preproc_warn_flag in '' yes
12060 # Use a header file that comes with gcc, so configuring glibc
12061 # with a fresh cross-compiler works.
12062 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12063 # <limits.h> exists even on freestanding compilers.
12064 # On the NeXT, cc -E runs the code through the compiler's parser,
12065 # not just through cpp. "Syntax error" is here to catch this case.
12066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12068 #ifdef __STDC__
12069 # include <limits.h>
12070 #else
12071 # include <assert.h>
12072 #endif
12073 Syntax error
12074 _ACEOF
12075 if ac_fn_cxx_try_cpp "$LINENO"; then :
12077 else
12078 # Broken: fails on valid input.
12079 continue
12081 rm -f conftest.err conftest.$ac_ext
12083 # OK, works on sane cases. Now check whether nonexistent headers
12084 # can be detected and how.
12085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12087 #include <ac_nonexistent.h>
12088 _ACEOF
12089 if ac_fn_cxx_try_cpp "$LINENO"; then :
12090 # Broken: success on invalid input.
12091 continue
12092 else
12093 # Passes both tests.
12094 ac_preproc_ok=:
12095 break
12097 rm -f conftest.err conftest.$ac_ext
12099 done
12100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12101 rm -f conftest.err conftest.$ac_ext
12102 if $ac_preproc_ok; then :
12104 else
12105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12107 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12108 See \`config.log' for more details." "$LINENO" 5; }
12111 ac_ext=c
12112 ac_cpp='$CPP $CPPFLAGS'
12113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12117 else
12118 _lt_caught_CXX_error=yes
12121 ac_ext=cpp
12122 ac_cpp='$CXXCPP $CPPFLAGS'
12123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12127 archive_cmds_need_lc_CXX=no
12128 allow_undefined_flag_CXX=
12129 always_export_symbols_CXX=no
12130 archive_expsym_cmds_CXX=
12131 compiler_needs_object_CXX=no
12132 export_dynamic_flag_spec_CXX=
12133 hardcode_direct_CXX=no
12134 hardcode_direct_absolute_CXX=no
12135 hardcode_libdir_flag_spec_CXX=
12136 hardcode_libdir_flag_spec_ld_CXX=
12137 hardcode_libdir_separator_CXX=
12138 hardcode_minus_L_CXX=no
12139 hardcode_shlibpath_var_CXX=unsupported
12140 hardcode_automatic_CXX=no
12141 inherit_rpath_CXX=no
12142 module_cmds_CXX=
12143 module_expsym_cmds_CXX=
12144 link_all_deplibs_CXX=unknown
12145 old_archive_cmds_CXX=$old_archive_cmds
12146 reload_flag_CXX=$reload_flag
12147 reload_cmds_CXX=$reload_cmds
12148 no_undefined_flag_CXX=
12149 whole_archive_flag_spec_CXX=
12150 enable_shared_with_static_runtimes_CXX=no
12152 # Source file extension for C++ test sources.
12153 ac_ext=cpp
12155 # Object file extension for compiled C++ test sources.
12156 objext=o
12157 objext_CXX=$objext
12159 # No sense in running all these tests if we already determined that
12160 # the CXX compiler isn't working. Some variables (like enable_shared)
12161 # are currently assumed to apply to all compilers on this platform,
12162 # and will be corrupted by setting them based on a non-working compiler.
12163 if test "$_lt_caught_CXX_error" != yes; then
12164 # Code to be used in simple compile tests
12165 lt_simple_compile_test_code="int some_variable = 0;"
12167 # Code to be used in simple link tests
12168 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12170 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12177 # If no C compiler was specified, use CC.
12178 LTCC=${LTCC-"$CC"}
12180 # If no C compiler flags were specified, use CFLAGS.
12181 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12183 # Allow CC to be a program name with arguments.
12184 compiler=$CC
12187 # save warnings/boilerplate of simple test code
12188 ac_outfile=conftest.$ac_objext
12189 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12190 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12191 _lt_compiler_boilerplate=`cat conftest.err`
12192 $RM conftest*
12194 ac_outfile=conftest.$ac_objext
12195 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12196 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12197 _lt_linker_boilerplate=`cat conftest.err`
12198 $RM -r conftest*
12201 # Allow CC to be a program name with arguments.
12202 lt_save_CC=$CC
12203 lt_save_LD=$LD
12204 lt_save_GCC=$GCC
12205 GCC=$GXX
12206 lt_save_with_gnu_ld=$with_gnu_ld
12207 lt_save_path_LD=$lt_cv_path_LD
12208 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12209 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12210 else
12211 $as_unset lt_cv_prog_gnu_ld
12213 if test -n "${lt_cv_path_LDCXX+set}"; then
12214 lt_cv_path_LD=$lt_cv_path_LDCXX
12215 else
12216 $as_unset lt_cv_path_LD
12218 test -z "${LDCXX+set}" || LD=$LDCXX
12219 CC=${CXX-"c++"}
12220 compiler=$CC
12221 compiler_CXX=$CC
12222 for cc_temp in $compiler""; do
12223 case $cc_temp in
12224 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12225 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12226 \-*) ;;
12227 *) break;;
12228 esac
12229 done
12230 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12233 if test -n "$compiler"; then
12234 # We don't want -fno-exception when compiling C++ code, so set the
12235 # no_builtin_flag separately
12236 if test "$GXX" = yes; then
12237 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12238 else
12239 lt_prog_compiler_no_builtin_flag_CXX=
12242 if test "$GXX" = yes; then
12243 # Set up default GNU C++ configuration
12247 # Check whether --with-gnu-ld was given.
12248 if test "${with_gnu_ld+set}" = set; then :
12249 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12250 else
12251 with_gnu_ld=no
12254 ac_prog=ld
12255 if test "$GCC" = yes; then
12256 # Check if gcc -print-prog-name=ld gives a path.
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12258 $as_echo_n "checking for ld used by $CC... " >&6; }
12259 case $host in
12260 *-*-mingw*)
12261 # gcc leaves a trailing carriage return which upsets mingw
12262 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12264 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12265 esac
12266 case $ac_prog in
12267 # Accept absolute paths.
12268 [\\/]* | ?:[\\/]*)
12269 re_direlt='/[^/][^/]*/\.\./'
12270 # Canonicalize the pathname of ld
12271 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12272 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12273 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12274 done
12275 test -z "$LD" && LD="$ac_prog"
12278 # If it fails, then pretend we aren't using GCC.
12279 ac_prog=ld
12282 # If it is relative, then search for the first ld in PATH.
12283 with_gnu_ld=unknown
12285 esac
12286 elif test "$with_gnu_ld" = yes; then
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12288 $as_echo_n "checking for GNU ld... " >&6; }
12289 else
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12291 $as_echo_n "checking for non-GNU ld... " >&6; }
12293 if test "${lt_cv_path_LD+set}" = set; then :
12294 $as_echo_n "(cached) " >&6
12295 else
12296 if test -z "$LD"; then
12297 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12298 for ac_dir in $PATH; do
12299 IFS="$lt_save_ifs"
12300 test -z "$ac_dir" && ac_dir=.
12301 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12302 lt_cv_path_LD="$ac_dir/$ac_prog"
12303 # Check to see if the program is GNU ld. I'd rather use --version,
12304 # but apparently some variants of GNU ld only accept -v.
12305 # Break only if it was the GNU/non-GNU ld that we prefer.
12306 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12307 *GNU* | *'with BFD'*)
12308 test "$with_gnu_ld" != no && break
12311 test "$with_gnu_ld" != yes && break
12313 esac
12315 done
12316 IFS="$lt_save_ifs"
12317 else
12318 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12322 LD="$lt_cv_path_LD"
12323 if test -n "$LD"; then
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12325 $as_echo "$LD" >&6; }
12326 else
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12328 $as_echo "no" >&6; }
12330 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12332 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12333 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12334 $as_echo_n "(cached) " >&6
12335 else
12336 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12337 case `$LD -v 2>&1 </dev/null` in
12338 *GNU* | *'with BFD'*)
12339 lt_cv_prog_gnu_ld=yes
12342 lt_cv_prog_gnu_ld=no
12344 esac
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12347 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12348 with_gnu_ld=$lt_cv_prog_gnu_ld
12356 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12357 # archiving commands below assume that GNU ld is being used.
12358 if test "$with_gnu_ld" = yes; then
12359 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12360 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12362 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12363 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12365 # If archive_cmds runs LD, not CC, wlarc should be empty
12366 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12367 # investigate it a little bit more. (MM)
12368 wlarc='${wl}'
12370 # ancient GNU ld didn't support --whole-archive et. al.
12371 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12372 $GREP 'no-whole-archive' > /dev/null; then
12373 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12374 else
12375 whole_archive_flag_spec_CXX=
12377 else
12378 with_gnu_ld=no
12379 wlarc=
12381 # A generic and very simple default shared library creation
12382 # command for GNU C++ for the case where it uses the native
12383 # linker, instead of GNU ld. If possible, this setting should
12384 # overridden to take advantage of the native linker features on
12385 # the platform it is being used on.
12386 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12389 # Commands to make compiler produce verbose output that lists
12390 # what "hidden" libraries, object files and flags are used when
12391 # linking a shared library.
12392 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12394 else
12395 GXX=no
12396 with_gnu_ld=no
12397 wlarc=
12400 # PORTME: fill in a description of your system's C++ link characteristics
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12402 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12403 ld_shlibs_CXX=yes
12404 case $host_os in
12405 aix3*)
12406 # FIXME: insert proper C++ library support
12407 ld_shlibs_CXX=no
12409 aix[4-9]*)
12410 if test "$host_cpu" = ia64; then
12411 # On IA64, the linker does run time linking by default, so we don't
12412 # have to do anything special.
12413 aix_use_runtimelinking=no
12414 exp_sym_flag='-Bexport'
12415 no_entry_flag=""
12416 else
12417 aix_use_runtimelinking=no
12419 # Test if we are trying to use run time linking or normal
12420 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12421 # need to do runtime linking.
12422 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12423 for ld_flag in $LDFLAGS; do
12424 case $ld_flag in
12425 *-brtl*)
12426 aix_use_runtimelinking=yes
12427 break
12429 esac
12430 done
12432 esac
12434 exp_sym_flag='-bexport'
12435 no_entry_flag='-bnoentry'
12438 # When large executables or shared objects are built, AIX ld can
12439 # have problems creating the table of contents. If linking a library
12440 # or program results in "error TOC overflow" add -mminimal-toc to
12441 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12442 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12444 archive_cmds_CXX=''
12445 hardcode_direct_CXX=yes
12446 hardcode_direct_absolute_CXX=yes
12447 hardcode_libdir_separator_CXX=':'
12448 link_all_deplibs_CXX=yes
12449 file_list_spec_CXX='${wl}-f,'
12451 if test "$GXX" = yes; then
12452 case $host_os in aix4.[012]|aix4.[012].*)
12453 # We only want to do this on AIX 4.2 and lower, the check
12454 # below for broken collect2 doesn't work under 4.3+
12455 collect2name=`${CC} -print-prog-name=collect2`
12456 if test -f "$collect2name" &&
12457 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12458 then
12459 # We have reworked collect2
12461 else
12462 # We have old collect2
12463 hardcode_direct_CXX=unsupported
12464 # It fails to find uninstalled libraries when the uninstalled
12465 # path is not listed in the libpath. Setting hardcode_minus_L
12466 # to unsupported forces relinking
12467 hardcode_minus_L_CXX=yes
12468 hardcode_libdir_flag_spec_CXX='-L$libdir'
12469 hardcode_libdir_separator_CXX=
12471 esac
12472 shared_flag='-shared'
12473 if test "$aix_use_runtimelinking" = yes; then
12474 shared_flag="$shared_flag "'${wl}-G'
12476 else
12477 # not using gcc
12478 if test "$host_cpu" = ia64; then
12479 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12480 # chokes on -Wl,-G. The following line is correct:
12481 shared_flag='-G'
12482 else
12483 if test "$aix_use_runtimelinking" = yes; then
12484 shared_flag='${wl}-G'
12485 else
12486 shared_flag='${wl}-bM:SRE'
12491 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12492 # It seems that -bexpall does not export symbols beginning with
12493 # underscore (_), so it is better to generate a list of symbols to
12494 # export.
12495 always_export_symbols_CXX=yes
12496 if test "$aix_use_runtimelinking" = yes; then
12497 # Warning - without using the other runtime loading flags (-brtl),
12498 # -berok will link without error, but may produce a broken library.
12499 allow_undefined_flag_CXX='-berok'
12500 # Determine the default libpath from the value encoded in an empty
12501 # executable.
12502 if test x$gcc_no_link = xyes; then
12503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12509 main ()
12513 return 0;
12515 _ACEOF
12516 if ac_fn_cxx_try_link "$LINENO"; then :
12518 lt_aix_libpath_sed='
12519 /Import File Strings/,/^$/ {
12520 /^0/ {
12521 s/^0 *\(.*\)$/\1/
12525 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12526 # Check for a 64-bit object if we didn't find anything.
12527 if test -z "$aix_libpath"; then
12528 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12531 rm -f core conftest.err conftest.$ac_objext \
12532 conftest$ac_exeext conftest.$ac_ext
12533 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12535 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12537 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"
12538 else
12539 if test "$host_cpu" = ia64; then
12540 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12541 allow_undefined_flag_CXX="-z nodefs"
12542 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"
12543 else
12544 # Determine the default libpath from the value encoded in an
12545 # empty executable.
12546 if test x$gcc_no_link = xyes; then
12547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12550 /* end confdefs.h. */
12553 main ()
12557 return 0;
12559 _ACEOF
12560 if ac_fn_cxx_try_link "$LINENO"; then :
12562 lt_aix_libpath_sed='
12563 /Import File Strings/,/^$/ {
12564 /^0/ {
12565 s/^0 *\(.*\)$/\1/
12569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12570 # Check for a 64-bit object if we didn't find anything.
12571 if test -z "$aix_libpath"; then
12572 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12575 rm -f core conftest.err conftest.$ac_objext \
12576 conftest$ac_exeext conftest.$ac_ext
12577 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12579 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12580 # Warning - without using the other run time loading flags,
12581 # -berok will link without error, but may produce a broken library.
12582 no_undefined_flag_CXX=' ${wl}-bernotok'
12583 allow_undefined_flag_CXX=' ${wl}-berok'
12584 if test "$with_gnu_ld" = yes; then
12585 # We only use this code for GNU lds that support --whole-archive.
12586 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12587 else
12588 # Exported symbols can be pulled into shared objects from archives
12589 whole_archive_flag_spec_CXX='$convenience'
12591 archive_cmds_need_lc_CXX=yes
12592 # This is similar to how AIX traditionally builds its shared
12593 # libraries.
12594 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'
12599 beos*)
12600 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12601 allow_undefined_flag_CXX=unsupported
12602 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12603 # support --undefined. This deserves some investigation. FIXME
12604 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12605 else
12606 ld_shlibs_CXX=no
12610 chorus*)
12611 case $cc_basename in
12613 # FIXME: insert proper C++ library support
12614 ld_shlibs_CXX=no
12616 esac
12619 cygwin* | mingw* | pw32* | cegcc*)
12620 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12621 # as there is no search path for DLLs.
12622 hardcode_libdir_flag_spec_CXX='-L$libdir'
12623 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12624 allow_undefined_flag_CXX=unsupported
12625 always_export_symbols_CXX=no
12626 enable_shared_with_static_runtimes_CXX=yes
12628 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12629 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'
12630 # If the export-symbols file already is a .def file (1st line
12631 # is EXPORTS), use it as is; otherwise, prepend...
12632 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12633 cp $export_symbols $output_objdir/$soname.def;
12634 else
12635 echo EXPORTS > $output_objdir/$soname.def;
12636 cat $export_symbols >> $output_objdir/$soname.def;
12638 $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'
12639 else
12640 ld_shlibs_CXX=no
12643 darwin* | rhapsody*)
12646 archive_cmds_need_lc_CXX=no
12647 hardcode_direct_CXX=no
12648 hardcode_automatic_CXX=yes
12649 hardcode_shlibpath_var_CXX=unsupported
12650 if test "$lt_cv_ld_force_load" = "yes"; then
12651 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\"`'
12652 else
12653 whole_archive_flag_spec_CXX=''
12655 link_all_deplibs_CXX=yes
12656 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12657 case $cc_basename in
12658 ifort*) _lt_dar_can_shared=yes ;;
12659 *) _lt_dar_can_shared=$GCC ;;
12660 esac
12661 if test "$_lt_dar_can_shared" = "yes"; then
12662 output_verbose_link_cmd=func_echo_all
12663 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}"
12664 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12665 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}"
12666 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}"
12667 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12668 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}"
12669 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}"
12672 else
12673 ld_shlibs_CXX=no
12678 dgux*)
12679 case $cc_basename in
12680 ec++*)
12681 # FIXME: insert proper C++ library support
12682 ld_shlibs_CXX=no
12684 ghcx*)
12685 # Green Hills C++ Compiler
12686 # FIXME: insert proper C++ library support
12687 ld_shlibs_CXX=no
12690 # FIXME: insert proper C++ library support
12691 ld_shlibs_CXX=no
12693 esac
12696 freebsd2.*)
12697 # C++ shared libraries reported to be fairly broken before
12698 # switch to ELF
12699 ld_shlibs_CXX=no
12702 freebsd-elf*)
12703 archive_cmds_need_lc_CXX=no
12706 freebsd* | dragonfly*)
12707 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12708 # conventions
12709 ld_shlibs_CXX=yes
12712 gnu*)
12715 haiku*)
12716 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12717 link_all_deplibs_CXX=yes
12720 hpux9*)
12721 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12722 hardcode_libdir_separator_CXX=:
12723 export_dynamic_flag_spec_CXX='${wl}-E'
12724 hardcode_direct_CXX=yes
12725 hardcode_minus_L_CXX=yes # Not in the search PATH,
12726 # but as the default
12727 # location of the library.
12729 case $cc_basename in
12730 CC*)
12731 # FIXME: insert proper C++ library support
12732 ld_shlibs_CXX=no
12734 aCC*)
12735 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'
12736 # Commands to make compiler produce verbose output that lists
12737 # what "hidden" libraries, object files and flags are used when
12738 # linking a shared library.
12740 # There doesn't appear to be a way to prevent this compiler from
12741 # explicitly linking system object files so we need to strip them
12742 # from the output so that they don't get included in the library
12743 # dependencies.
12744 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"'
12747 if test "$GXX" = yes; then
12748 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'
12749 else
12750 # FIXME: insert proper C++ library support
12751 ld_shlibs_CXX=no
12754 esac
12757 hpux10*|hpux11*)
12758 if test $with_gnu_ld = no; then
12759 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12760 hardcode_libdir_separator_CXX=:
12762 case $host_cpu in
12763 hppa*64*|ia64*)
12766 export_dynamic_flag_spec_CXX='${wl}-E'
12768 esac
12770 case $host_cpu in
12771 hppa*64*|ia64*)
12772 hardcode_direct_CXX=no
12773 hardcode_shlibpath_var_CXX=no
12776 hardcode_direct_CXX=yes
12777 hardcode_direct_absolute_CXX=yes
12778 hardcode_minus_L_CXX=yes # Not in the search PATH,
12779 # but as the default
12780 # location of the library.
12782 esac
12784 case $cc_basename in
12785 CC*)
12786 # FIXME: insert proper C++ library support
12787 ld_shlibs_CXX=no
12789 aCC*)
12790 case $host_cpu in
12791 hppa*64*)
12792 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12794 ia64*)
12795 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12798 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12800 esac
12801 # Commands to make compiler produce verbose output that lists
12802 # what "hidden" libraries, object files and flags are used when
12803 # linking a shared library.
12805 # There doesn't appear to be a way to prevent this compiler from
12806 # explicitly linking system object files so we need to strip them
12807 # from the output so that they don't get included in the library
12808 # dependencies.
12809 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"'
12812 if test "$GXX" = yes; then
12813 if test $with_gnu_ld = no; then
12814 case $host_cpu in
12815 hppa*64*)
12816 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12818 ia64*)
12819 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12822 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'
12824 esac
12826 else
12827 # FIXME: insert proper C++ library support
12828 ld_shlibs_CXX=no
12831 esac
12834 interix[3-9]*)
12835 hardcode_direct_CXX=no
12836 hardcode_shlibpath_var_CXX=no
12837 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12838 export_dynamic_flag_spec_CXX='${wl}-E'
12839 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12840 # Instead, shared libraries are loaded at an image base (0x10000000 by
12841 # default) and relocated if they conflict, which is a slow very memory
12842 # consuming and fragmenting process. To avoid this, we pick a random,
12843 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12844 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12845 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'
12846 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'
12848 irix5* | irix6*)
12849 case $cc_basename in
12850 CC*)
12851 # SGI C++
12852 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'
12854 # Archives containing C++ object files must be created using
12855 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12856 # necessary to make sure instantiated templates are included
12857 # in the archive.
12858 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12861 if test "$GXX" = yes; then
12862 if test "$with_gnu_ld" = no; then
12863 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'
12864 else
12865 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'
12868 link_all_deplibs_CXX=yes
12870 esac
12871 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12872 hardcode_libdir_separator_CXX=:
12873 inherit_rpath_CXX=yes
12876 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12877 case $cc_basename in
12878 KCC*)
12879 # Kuck and Associates, Inc. (KAI) C++ Compiler
12881 # KCC will only create a shared library if the output file
12882 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12883 # to its proper name (with version) after linking.
12884 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'
12885 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'
12886 # Commands to make compiler produce verbose output that lists
12887 # what "hidden" libraries, object files and flags are used when
12888 # linking a shared library.
12890 # There doesn't appear to be a way to prevent this compiler from
12891 # explicitly linking system object files so we need to strip them
12892 # from the output so that they don't get included in the library
12893 # dependencies.
12894 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"'
12896 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12897 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12899 # Archives containing C++ object files must be created using
12900 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12901 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12903 icpc* | ecpc* )
12904 # Intel C++
12905 with_gnu_ld=yes
12906 # version 8.0 and above of icpc choke on multiply defined symbols
12907 # if we add $predep_objects and $postdep_objects, however 7.1 and
12908 # earlier do not add the objects themselves.
12909 case `$CC -V 2>&1` in
12910 *"Version 7."*)
12911 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12912 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'
12914 *) # Version 8.0 or newer
12915 tmp_idyn=
12916 case $host_cpu in
12917 ia64*) tmp_idyn=' -i_dynamic';;
12918 esac
12919 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12920 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'
12922 esac
12923 archive_cmds_need_lc_CXX=no
12924 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12925 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12926 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12928 pgCC* | pgcpp*)
12929 # Portland Group C++ compiler
12930 case `$CC -V` in
12931 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12932 prelink_cmds_CXX='tpldir=Template.dir~
12933 rm -rf $tpldir~
12934 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12935 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12936 old_archive_cmds_CXX='tpldir=Template.dir~
12937 rm -rf $tpldir~
12938 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12939 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12940 $RANLIB $oldlib'
12941 archive_cmds_CXX='tpldir=Template.dir~
12942 rm -rf $tpldir~
12943 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12944 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12945 archive_expsym_cmds_CXX='tpldir=Template.dir~
12946 rm -rf $tpldir~
12947 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12948 $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'
12950 *) # Version 6 and above use weak symbols
12951 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12952 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'
12954 esac
12956 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12957 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12958 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'
12960 cxx*)
12961 # Compaq C++
12962 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12963 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'
12965 runpath_var=LD_RUN_PATH
12966 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12967 hardcode_libdir_separator_CXX=:
12969 # Commands to make compiler produce verbose output that lists
12970 # what "hidden" libraries, object files and flags are used when
12971 # linking a shared library.
12973 # There doesn't appear to be a way to prevent this compiler from
12974 # explicitly linking system object files so we need to strip them
12975 # from the output so that they don't get included in the library
12976 # dependencies.
12977 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'
12979 xl* | mpixl* | bgxl*)
12980 # IBM XL 8.0 on PPC, with GNU ld
12981 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12982 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12983 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12984 if test "x$supports_anon_versioning" = xyes; then
12985 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12986 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12987 echo "local: *; };" >> $output_objdir/$libname.ver~
12988 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12992 case `$CC -V 2>&1 | sed 5q` in
12993 *Sun\ C*)
12994 # Sun C++ 5.9
12995 no_undefined_flag_CXX=' -zdefs'
12996 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12997 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'
12998 hardcode_libdir_flag_spec_CXX='-R$libdir'
12999 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'
13000 compiler_needs_object_CXX=yes
13002 # Not sure whether something based on
13003 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13004 # would be better.
13005 output_verbose_link_cmd='func_echo_all'
13007 # Archives containing C++ object files must be created using
13008 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13009 # necessary to make sure instantiated templates are included
13010 # in the archive.
13011 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13013 esac
13015 esac
13018 lynxos*)
13019 # FIXME: insert proper C++ library support
13020 ld_shlibs_CXX=no
13023 m88k*)
13024 # FIXME: insert proper C++ library support
13025 ld_shlibs_CXX=no
13028 mvs*)
13029 case $cc_basename in
13030 cxx*)
13031 # FIXME: insert proper C++ library support
13032 ld_shlibs_CXX=no
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13038 esac
13041 netbsd*)
13042 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13043 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13044 wlarc=
13045 hardcode_libdir_flag_spec_CXX='-R$libdir'
13046 hardcode_direct_CXX=yes
13047 hardcode_shlibpath_var_CXX=no
13049 # Workaround some broken pre-1.5 toolchains
13050 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13053 *nto* | *qnx*)
13054 ld_shlibs_CXX=yes
13057 openbsd2*)
13058 # C++ shared libraries are fairly broken
13059 ld_shlibs_CXX=no
13062 openbsd*)
13063 if test -f /usr/libexec/ld.so; then
13064 hardcode_direct_CXX=yes
13065 hardcode_shlibpath_var_CXX=no
13066 hardcode_direct_absolute_CXX=yes
13067 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13068 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13069 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13070 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13071 export_dynamic_flag_spec_CXX='${wl}-E'
13072 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13074 output_verbose_link_cmd=func_echo_all
13075 else
13076 ld_shlibs_CXX=no
13080 osf3* | osf4* | osf5*)
13081 case $cc_basename in
13082 KCC*)
13083 # Kuck and Associates, Inc. (KAI) C++ Compiler
13085 # KCC will only create a shared library if the output file
13086 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13087 # to its proper name (with version) after linking.
13088 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'
13090 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13091 hardcode_libdir_separator_CXX=:
13093 # Archives containing C++ object files must be created using
13094 # the KAI C++ compiler.
13095 case $host in
13096 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13097 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13098 esac
13100 RCC*)
13101 # Rational C++ 2.4.1
13102 # FIXME: insert proper C++ library support
13103 ld_shlibs_CXX=no
13105 cxx*)
13106 case $host in
13107 osf3*)
13108 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13109 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'
13110 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13113 allow_undefined_flag_CXX=' -expect_unresolved \*'
13114 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'
13115 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13116 echo "-hidden">> $lib.exp~
13117 $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~
13118 $RM $lib.exp'
13119 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13121 esac
13123 hardcode_libdir_separator_CXX=:
13125 # Commands to make compiler produce verbose output that lists
13126 # what "hidden" libraries, object files and flags are used when
13127 # linking a shared library.
13129 # There doesn't appear to be a way to prevent this compiler from
13130 # explicitly linking system object files so we need to strip them
13131 # from the output so that they don't get included in the library
13132 # dependencies.
13133 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"'
13136 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13137 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13138 case $host in
13139 osf3*)
13140 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'
13143 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'
13145 esac
13147 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13148 hardcode_libdir_separator_CXX=:
13150 # Commands to make compiler produce verbose output that lists
13151 # what "hidden" libraries, object files and flags are used when
13152 # linking a shared library.
13153 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13155 else
13156 # FIXME: insert proper C++ library support
13157 ld_shlibs_CXX=no
13160 esac
13163 psos*)
13164 # FIXME: insert proper C++ library support
13165 ld_shlibs_CXX=no
13168 sunos4*)
13169 case $cc_basename in
13170 CC*)
13171 # Sun C++ 4.x
13172 # FIXME: insert proper C++ library support
13173 ld_shlibs_CXX=no
13175 lcc*)
13176 # Lucid
13177 # FIXME: insert proper C++ library support
13178 ld_shlibs_CXX=no
13181 # FIXME: insert proper C++ library support
13182 ld_shlibs_CXX=no
13184 esac
13187 solaris*)
13188 case $cc_basename in
13189 CC*)
13190 # Sun C++ 4.2, 5.x and Centerline C++
13191 archive_cmds_need_lc_CXX=yes
13192 no_undefined_flag_CXX=' -zdefs'
13193 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13194 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13195 $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'
13197 hardcode_libdir_flag_spec_CXX='-R$libdir'
13198 hardcode_shlibpath_var_CXX=no
13199 case $host_os in
13200 solaris2.[0-5] | solaris2.[0-5].*) ;;
13202 # The compiler driver will combine and reorder linker options,
13203 # but understands `-z linker_flag'.
13204 # Supported since Solaris 2.6 (maybe 2.5.1?)
13205 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13207 esac
13208 link_all_deplibs_CXX=yes
13210 output_verbose_link_cmd='func_echo_all'
13212 # Archives containing C++ object files must be created using
13213 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13214 # necessary to make sure instantiated templates are included
13215 # in the archive.
13216 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13218 gcx*)
13219 # Green Hills C++ Compiler
13220 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13222 # The C++ compiler must be used to create the archive.
13223 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13226 # GNU C++ compiler with Solaris linker
13227 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13228 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13229 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13230 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13231 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13232 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13234 # Commands to make compiler produce verbose output that lists
13235 # what "hidden" libraries, object files and flags are used when
13236 # linking a shared library.
13237 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13238 else
13239 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13240 # platform.
13241 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13242 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13243 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13245 # Commands to make compiler produce verbose output that lists
13246 # what "hidden" libraries, object files and flags are used when
13247 # linking a shared library.
13248 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13251 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13252 case $host_os in
13253 solaris2.[0-5] | solaris2.[0-5].*) ;;
13255 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13257 esac
13260 esac
13263 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13264 no_undefined_flag_CXX='${wl}-z,text'
13265 archive_cmds_need_lc_CXX=no
13266 hardcode_shlibpath_var_CXX=no
13267 runpath_var='LD_RUN_PATH'
13269 case $cc_basename in
13270 CC*)
13271 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13272 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13275 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13276 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13278 esac
13281 sysv5* | sco3.2v5* | sco5v6*)
13282 # Note: We can NOT use -z defs as we might desire, because we do not
13283 # link with -lc, and that would cause any symbols used from libc to
13284 # always be unresolved, which means just about no library would
13285 # ever link correctly. If we're not using GNU ld we use -z text
13286 # though, which does catch some bad symbols but isn't as heavy-handed
13287 # as -z defs.
13288 no_undefined_flag_CXX='${wl}-z,text'
13289 allow_undefined_flag_CXX='${wl}-z,nodefs'
13290 archive_cmds_need_lc_CXX=no
13291 hardcode_shlibpath_var_CXX=no
13292 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13293 hardcode_libdir_separator_CXX=':'
13294 link_all_deplibs_CXX=yes
13295 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13296 runpath_var='LD_RUN_PATH'
13298 case $cc_basename in
13299 CC*)
13300 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13301 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13302 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13303 '"$old_archive_cmds_CXX"
13304 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13305 '"$reload_cmds_CXX"
13308 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13309 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13311 esac
13314 tandem*)
13315 case $cc_basename in
13316 NCC*)
13317 # NonStop-UX NCC 3.20
13318 # FIXME: insert proper C++ library support
13319 ld_shlibs_CXX=no
13322 # FIXME: insert proper C++ library support
13323 ld_shlibs_CXX=no
13325 esac
13328 vxworks*)
13329 # FIXME: insert proper C++ library support
13330 ld_shlibs_CXX=no
13334 # FIXME: insert proper C++ library support
13335 ld_shlibs_CXX=no
13337 esac
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13340 $as_echo "$ld_shlibs_CXX" >&6; }
13341 test "$ld_shlibs_CXX" = no && can_build_shared=no
13343 GCC_CXX="$GXX"
13344 LD_CXX="$LD"
13346 ## CAVEAT EMPTOR:
13347 ## There is no encapsulation within the following macros, do not change
13348 ## the running order or otherwise move them around unless you know exactly
13349 ## what you are doing...
13350 # Dependencies to place before and after the object being linked:
13351 predep_objects_CXX=
13352 postdep_objects_CXX=
13353 predeps_CXX=
13354 postdeps_CXX=
13355 compiler_lib_search_path_CXX=
13357 cat > conftest.$ac_ext <<_LT_EOF
13358 class Foo
13360 public:
13361 Foo (void) { a = 0; }
13362 private:
13363 int a;
13365 _LT_EOF
13367 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13368 (eval $ac_compile) 2>&5
13369 ac_status=$?
13370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13371 test $ac_status = 0; }; then
13372 # Parse the compiler output and extract the necessary
13373 # objects, libraries and library flags.
13375 # Sentinel used to keep track of whether or not we are before
13376 # the conftest object file.
13377 pre_test_object_deps_done=no
13379 for p in `eval "$output_verbose_link_cmd"`; do
13380 case $p in
13382 -L* | -R* | -l*)
13383 # Some compilers place space between "-{L,R}" and the path.
13384 # Remove the space.
13385 if test $p = "-L" ||
13386 test $p = "-R"; then
13387 prev=$p
13388 continue
13389 else
13390 prev=
13393 if test "$pre_test_object_deps_done" = no; then
13394 case $p in
13395 -L* | -R*)
13396 # Internal compiler library paths should come after those
13397 # provided the user. The postdeps already come after the
13398 # user supplied libs so there is no need to process them.
13399 if test -z "$compiler_lib_search_path_CXX"; then
13400 compiler_lib_search_path_CXX="${prev}${p}"
13401 else
13402 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13405 # The "-l" case would never come before the object being
13406 # linked, so don't bother handling this case.
13407 esac
13408 else
13409 if test -z "$postdeps_CXX"; then
13410 postdeps_CXX="${prev}${p}"
13411 else
13412 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13417 *.$objext)
13418 # This assumes that the test object file only shows up
13419 # once in the compiler output.
13420 if test "$p" = "conftest.$objext"; then
13421 pre_test_object_deps_done=yes
13422 continue
13425 if test "$pre_test_object_deps_done" = no; then
13426 if test -z "$predep_objects_CXX"; then
13427 predep_objects_CXX="$p"
13428 else
13429 predep_objects_CXX="$predep_objects_CXX $p"
13431 else
13432 if test -z "$postdep_objects_CXX"; then
13433 postdep_objects_CXX="$p"
13434 else
13435 postdep_objects_CXX="$postdep_objects_CXX $p"
13440 *) ;; # Ignore the rest.
13442 esac
13443 done
13445 # Clean up.
13446 rm -f a.out a.exe
13447 else
13448 echo "libtool.m4: error: problem compiling CXX test program"
13451 $RM -f confest.$objext
13453 # PORTME: override above test on systems where it is broken
13454 case $host_os in
13455 interix[3-9]*)
13456 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13457 # hack all around it, let's just trust "g++" to DTRT.
13458 predep_objects_CXX=
13459 postdep_objects_CXX=
13460 postdeps_CXX=
13463 linux*)
13464 case `$CC -V 2>&1 | sed 5q` in
13465 *Sun\ C*)
13466 # Sun C++ 5.9
13468 # The more standards-conforming stlport4 library is
13469 # incompatible with the Cstd library. Avoid specifying
13470 # it if it's in CXXFLAGS. Ignore libCrun as
13471 # -library=stlport4 depends on it.
13472 case " $CXX $CXXFLAGS " in
13473 *" -library=stlport4 "*)
13474 solaris_use_stlport4=yes
13476 esac
13478 if test "$solaris_use_stlport4" != yes; then
13479 postdeps_CXX='-library=Cstd -library=Crun'
13482 esac
13485 solaris*)
13486 case $cc_basename in
13487 CC*)
13488 # The more standards-conforming stlport4 library is
13489 # incompatible with the Cstd library. Avoid specifying
13490 # it if it's in CXXFLAGS. Ignore libCrun as
13491 # -library=stlport4 depends on it.
13492 case " $CXX $CXXFLAGS " in
13493 *" -library=stlport4 "*)
13494 solaris_use_stlport4=yes
13496 esac
13498 # Adding this requires a known-good setup of shared libraries for
13499 # Sun compiler versions before 5.6, else PIC objects from an old
13500 # archive will be linked into the output, leading to subtle bugs.
13501 if test "$solaris_use_stlport4" != yes; then
13502 postdeps_CXX='-library=Cstd -library=Crun'
13505 esac
13507 esac
13510 case " $postdeps_CXX " in
13511 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13512 esac
13513 compiler_lib_search_dirs_CXX=
13514 if test -n "${compiler_lib_search_path_CXX}"; then
13515 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13548 lt_prog_compiler_wl_CXX=
13549 lt_prog_compiler_pic_CXX=
13550 lt_prog_compiler_static_CXX=
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13553 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13555 # C++ specific cases for pic, static, wl, etc.
13556 if test "$GXX" = yes; then
13557 lt_prog_compiler_wl_CXX='-Wl,'
13558 lt_prog_compiler_static_CXX='-static'
13560 case $host_os in
13561 aix*)
13562 # All AIX code is PIC.
13563 if test "$host_cpu" = ia64; then
13564 # AIX 5 now supports IA64 processor
13565 lt_prog_compiler_static_CXX='-Bstatic'
13567 lt_prog_compiler_pic_CXX='-fPIC'
13570 amigaos*)
13571 case $host_cpu in
13572 powerpc)
13573 # see comment about AmigaOS4 .so support
13574 lt_prog_compiler_pic_CXX='-fPIC'
13576 m68k)
13577 # FIXME: we need at least 68020 code to build shared libraries, but
13578 # adding the `-m68020' flag to GCC prevents building anything better,
13579 # like `-m68040'.
13580 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13582 esac
13585 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13586 # PIC is the default for these OSes.
13588 mingw* | cygwin* | os2* | pw32* | cegcc*)
13589 # This hack is so that the source file can tell whether it is being
13590 # built for inclusion in a dll (and should export symbols for example).
13591 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13592 # (--disable-auto-import) libraries
13593 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13595 darwin* | rhapsody*)
13596 # PIC is the default on this platform
13597 # Common symbols not allowed in MH_DYLIB files
13598 lt_prog_compiler_pic_CXX='-fno-common'
13600 *djgpp*)
13601 # DJGPP does not support shared libraries at all
13602 lt_prog_compiler_pic_CXX=
13604 haiku*)
13605 # PIC is the default for Haiku.
13606 # The "-static" flag exists, but is broken.
13607 lt_prog_compiler_static_CXX=
13609 interix[3-9]*)
13610 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13611 # Instead, we relocate shared libraries at runtime.
13613 sysv4*MP*)
13614 if test -d /usr/nec; then
13615 lt_prog_compiler_pic_CXX=-Kconform_pic
13618 hpux*)
13619 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13620 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13621 # sets the default TLS model and affects inlining.
13622 case $host_cpu in
13623 hppa*64*)
13626 lt_prog_compiler_pic_CXX='-fPIC'
13628 esac
13630 *qnx* | *nto*)
13631 # QNX uses GNU C++, but need to define -shared option too, otherwise
13632 # it will coredump.
13633 lt_prog_compiler_pic_CXX='-fPIC -shared'
13636 lt_prog_compiler_pic_CXX='-fPIC'
13638 esac
13639 else
13640 case $host_os in
13641 aix[4-9]*)
13642 # All AIX code is PIC.
13643 if test "$host_cpu" = ia64; then
13644 # AIX 5 now supports IA64 processor
13645 lt_prog_compiler_static_CXX='-Bstatic'
13646 else
13647 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13650 chorus*)
13651 case $cc_basename in
13652 cxch68*)
13653 # Green Hills C++ Compiler
13654 # _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"
13656 esac
13658 dgux*)
13659 case $cc_basename in
13660 ec++*)
13661 lt_prog_compiler_pic_CXX='-KPIC'
13663 ghcx*)
13664 # Green Hills C++ Compiler
13665 lt_prog_compiler_pic_CXX='-pic'
13669 esac
13671 freebsd* | dragonfly*)
13672 # FreeBSD uses GNU C++
13674 hpux9* | hpux10* | hpux11*)
13675 case $cc_basename in
13676 CC*)
13677 lt_prog_compiler_wl_CXX='-Wl,'
13678 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13679 if test "$host_cpu" != ia64; then
13680 lt_prog_compiler_pic_CXX='+Z'
13683 aCC*)
13684 lt_prog_compiler_wl_CXX='-Wl,'
13685 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13686 case $host_cpu in
13687 hppa*64*|ia64*)
13688 # +Z the default
13691 lt_prog_compiler_pic_CXX='+Z'
13693 esac
13697 esac
13699 interix*)
13700 # This is c89, which is MS Visual C++ (no shared libs)
13701 # Anyone wants to do a port?
13703 irix5* | irix6* | nonstopux*)
13704 case $cc_basename in
13705 CC*)
13706 lt_prog_compiler_wl_CXX='-Wl,'
13707 lt_prog_compiler_static_CXX='-non_shared'
13708 # CC pic flag -KPIC is the default.
13712 esac
13714 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13715 case $cc_basename in
13716 KCC*)
13717 # KAI C++ Compiler
13718 lt_prog_compiler_wl_CXX='--backend -Wl,'
13719 lt_prog_compiler_pic_CXX='-fPIC'
13721 ecpc* )
13722 # old Intel C++ for x86_64 which still supported -KPIC.
13723 lt_prog_compiler_wl_CXX='-Wl,'
13724 lt_prog_compiler_pic_CXX='-KPIC'
13725 lt_prog_compiler_static_CXX='-static'
13727 icpc* )
13728 # Intel C++, used to be incompatible with GCC.
13729 # ICC 10 doesn't accept -KPIC any more.
13730 lt_prog_compiler_wl_CXX='-Wl,'
13731 lt_prog_compiler_pic_CXX='-fPIC'
13732 lt_prog_compiler_static_CXX='-static'
13734 pgCC* | pgcpp*)
13735 # Portland Group C++ compiler
13736 lt_prog_compiler_wl_CXX='-Wl,'
13737 lt_prog_compiler_pic_CXX='-fpic'
13738 lt_prog_compiler_static_CXX='-Bstatic'
13740 cxx*)
13741 # Compaq C++
13742 # Make sure the PIC flag is empty. It appears that all Alpha
13743 # Linux and Compaq Tru64 Unix objects are PIC.
13744 lt_prog_compiler_pic_CXX=
13745 lt_prog_compiler_static_CXX='-non_shared'
13747 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13748 # IBM XL 8.0, 9.0 on PPC and BlueGene
13749 lt_prog_compiler_wl_CXX='-Wl,'
13750 lt_prog_compiler_pic_CXX='-qpic'
13751 lt_prog_compiler_static_CXX='-qstaticlink'
13754 case `$CC -V 2>&1 | sed 5q` in
13755 *Sun\ C*)
13756 # Sun C++ 5.9
13757 lt_prog_compiler_pic_CXX='-KPIC'
13758 lt_prog_compiler_static_CXX='-Bstatic'
13759 lt_prog_compiler_wl_CXX='-Qoption ld '
13761 esac
13763 esac
13765 lynxos*)
13767 m88k*)
13769 mvs*)
13770 case $cc_basename in
13771 cxx*)
13772 lt_prog_compiler_pic_CXX='-W c,exportall'
13776 esac
13778 netbsd*)
13780 *qnx* | *nto*)
13781 # QNX uses GNU C++, but need to define -shared option too, otherwise
13782 # it will coredump.
13783 lt_prog_compiler_pic_CXX='-fPIC -shared'
13785 osf3* | osf4* | osf5*)
13786 case $cc_basename in
13787 KCC*)
13788 lt_prog_compiler_wl_CXX='--backend -Wl,'
13790 RCC*)
13791 # Rational C++ 2.4.1
13792 lt_prog_compiler_pic_CXX='-pic'
13794 cxx*)
13795 # Digital/Compaq C++
13796 lt_prog_compiler_wl_CXX='-Wl,'
13797 # Make sure the PIC flag is empty. It appears that all Alpha
13798 # Linux and Compaq Tru64 Unix objects are PIC.
13799 lt_prog_compiler_pic_CXX=
13800 lt_prog_compiler_static_CXX='-non_shared'
13804 esac
13806 psos*)
13808 solaris*)
13809 case $cc_basename in
13810 CC*)
13811 # Sun C++ 4.2, 5.x and Centerline C++
13812 lt_prog_compiler_pic_CXX='-KPIC'
13813 lt_prog_compiler_static_CXX='-Bstatic'
13814 lt_prog_compiler_wl_CXX='-Qoption ld '
13816 gcx*)
13817 # Green Hills C++ Compiler
13818 lt_prog_compiler_pic_CXX='-PIC'
13822 esac
13824 sunos4*)
13825 case $cc_basename in
13826 CC*)
13827 # Sun C++ 4.x
13828 lt_prog_compiler_pic_CXX='-pic'
13829 lt_prog_compiler_static_CXX='-Bstatic'
13831 lcc*)
13832 # Lucid
13833 lt_prog_compiler_pic_CXX='-pic'
13837 esac
13839 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13840 case $cc_basename in
13841 CC*)
13842 lt_prog_compiler_wl_CXX='-Wl,'
13843 lt_prog_compiler_pic_CXX='-KPIC'
13844 lt_prog_compiler_static_CXX='-Bstatic'
13846 esac
13848 tandem*)
13849 case $cc_basename in
13850 NCC*)
13851 # NonStop-UX NCC 3.20
13852 lt_prog_compiler_pic_CXX='-KPIC'
13856 esac
13858 vxworks*)
13861 lt_prog_compiler_can_build_shared_CXX=no
13863 esac
13866 case $host_os in
13867 # For platforms which do not support PIC, -DPIC is meaningless:
13868 *djgpp*)
13869 lt_prog_compiler_pic_CXX=
13872 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13874 esac
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13876 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13881 # Check to make sure the PIC flag actually works.
13883 if test -n "$lt_prog_compiler_pic_CXX"; then
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13885 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13886 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13887 $as_echo_n "(cached) " >&6
13888 else
13889 lt_cv_prog_compiler_pic_works_CXX=no
13890 ac_outfile=conftest.$ac_objext
13891 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13892 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13893 # Insert the option either (1) after the last *FLAGS variable, or
13894 # (2) before a word containing "conftest.", or (3) at the end.
13895 # Note that $ac_compile itself does not contain backslashes and begins
13896 # with a dollar sign (not a hyphen), so the echo should work correctly.
13897 # The option is referenced via a variable to avoid confusing sed.
13898 lt_compile=`echo "$ac_compile" | $SED \
13899 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13900 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13901 -e 's:$: $lt_compiler_flag:'`
13902 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13903 (eval "$lt_compile" 2>conftest.err)
13904 ac_status=$?
13905 cat conftest.err >&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 if (exit $ac_status) && test -s "$ac_outfile"; then
13908 # The compiler can only warn and ignore the option if not recognized
13909 # So say no if there are warnings other than the usual output.
13910 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13911 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13912 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13913 lt_cv_prog_compiler_pic_works_CXX=yes
13916 $RM conftest*
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13920 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13922 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13923 case $lt_prog_compiler_pic_CXX in
13924 "" | " "*) ;;
13925 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13926 esac
13927 else
13928 lt_prog_compiler_pic_CXX=
13929 lt_prog_compiler_can_build_shared_CXX=no
13937 # Check to make sure the static flag actually works.
13939 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13941 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13942 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13943 $as_echo_n "(cached) " >&6
13944 else
13945 lt_cv_prog_compiler_static_works_CXX=no
13946 save_LDFLAGS="$LDFLAGS"
13947 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13948 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13949 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13950 # The linker can only warn and ignore the option if not recognized
13951 # So say no if there are warnings
13952 if test -s conftest.err; then
13953 # Append any errors to the config.log.
13954 cat conftest.err 1>&5
13955 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13956 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13957 if diff conftest.exp conftest.er2 >/dev/null; then
13958 lt_cv_prog_compiler_static_works_CXX=yes
13960 else
13961 lt_cv_prog_compiler_static_works_CXX=yes
13964 $RM -r conftest*
13965 LDFLAGS="$save_LDFLAGS"
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13969 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13971 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13973 else
13974 lt_prog_compiler_static_CXX=
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13981 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13982 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13983 $as_echo_n "(cached) " >&6
13984 else
13985 lt_cv_prog_compiler_c_o_CXX=no
13986 $RM -r conftest 2>/dev/null
13987 mkdir conftest
13988 cd conftest
13989 mkdir out
13990 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13992 lt_compiler_flag="-o out/conftest2.$ac_objext"
13993 # Insert the option either (1) after the last *FLAGS variable, or
13994 # (2) before a word containing "conftest.", or (3) at the end.
13995 # Note that $ac_compile itself does not contain backslashes and begins
13996 # with a dollar sign (not a hyphen), so the echo should work correctly.
13997 lt_compile=`echo "$ac_compile" | $SED \
13998 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13999 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14000 -e 's:$: $lt_compiler_flag:'`
14001 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14002 (eval "$lt_compile" 2>out/conftest.err)
14003 ac_status=$?
14004 cat out/conftest.err >&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14007 then
14008 # The compiler can only warn and ignore the option if not recognized
14009 # So say no if there are warnings
14010 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14011 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14012 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14013 lt_cv_prog_compiler_c_o_CXX=yes
14016 chmod u+w . 2>&5
14017 $RM conftest*
14018 # SGI C++ compiler will create directory out/ii_files/ for
14019 # template instantiation
14020 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14021 $RM out/* && rmdir out
14022 cd ..
14023 $RM -r conftest
14024 $RM conftest*
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14028 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14033 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14034 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14035 $as_echo_n "(cached) " >&6
14036 else
14037 lt_cv_prog_compiler_c_o_CXX=no
14038 $RM -r conftest 2>/dev/null
14039 mkdir conftest
14040 cd conftest
14041 mkdir out
14042 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14044 lt_compiler_flag="-o out/conftest2.$ac_objext"
14045 # Insert the option either (1) after the last *FLAGS variable, or
14046 # (2) before a word containing "conftest.", or (3) at the end.
14047 # Note that $ac_compile itself does not contain backslashes and begins
14048 # with a dollar sign (not a hyphen), so the echo should work correctly.
14049 lt_compile=`echo "$ac_compile" | $SED \
14050 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14051 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14052 -e 's:$: $lt_compiler_flag:'`
14053 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14054 (eval "$lt_compile" 2>out/conftest.err)
14055 ac_status=$?
14056 cat out/conftest.err >&5
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14059 then
14060 # The compiler can only warn and ignore the option if not recognized
14061 # So say no if there are warnings
14062 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14063 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14064 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14065 lt_cv_prog_compiler_c_o_CXX=yes
14068 chmod u+w . 2>&5
14069 $RM conftest*
14070 # SGI C++ compiler will create directory out/ii_files/ for
14071 # template instantiation
14072 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14073 $RM out/* && rmdir out
14074 cd ..
14075 $RM -r conftest
14076 $RM conftest*
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14080 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14085 hard_links="nottested"
14086 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14087 # do not overwrite the value of need_locks provided by the user
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14089 $as_echo_n "checking if we can lock with hard links... " >&6; }
14090 hard_links=yes
14091 $RM conftest*
14092 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14093 touch conftest.a
14094 ln conftest.a conftest.b 2>&5 || hard_links=no
14095 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14097 $as_echo "$hard_links" >&6; }
14098 if test "$hard_links" = no; then
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14100 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14101 need_locks=warn
14103 else
14104 need_locks=no
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14110 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14112 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14113 case $host_os in
14114 aix[4-9]*)
14115 # If we're using GNU nm, then we don't want the "-C" option.
14116 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14117 # Also, AIX nm treats weak defined symbols like other global defined
14118 # symbols, whereas GNU nm marks them as "W".
14119 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14120 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'
14121 else
14122 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'
14125 pw32*)
14126 export_symbols_cmds_CXX="$ltdll_cmds"
14128 cygwin* | mingw* | cegcc*)
14129 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'
14132 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14134 esac
14135 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14138 $as_echo "$ld_shlibs_CXX" >&6; }
14139 test "$ld_shlibs_CXX" = no && can_build_shared=no
14141 with_gnu_ld_CXX=$with_gnu_ld
14149 # Do we need to explicitly link libc?
14151 case "x$archive_cmds_need_lc_CXX" in
14152 x|xyes)
14153 # Assume -lc should be added
14154 archive_cmds_need_lc_CXX=yes
14156 if test "$enable_shared" = yes && test "$GCC" = yes; then
14157 case $archive_cmds_CXX in
14158 *'~'*)
14159 # FIXME: we may have to deal with multi-command sequences.
14161 '$CC '*)
14162 # Test whether the compiler implicitly links with -lc since on some
14163 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14164 # to ld, don't add -lc before -lgcc.
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14166 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14167 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14168 $as_echo_n "(cached) " >&6
14169 else
14170 $RM conftest*
14171 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14174 (eval $ac_compile) 2>&5
14175 ac_status=$?
14176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14177 test $ac_status = 0; } 2>conftest.err; then
14178 soname=conftest
14179 lib=conftest
14180 libobjs=conftest.$ac_objext
14181 deplibs=
14182 wl=$lt_prog_compiler_wl_CXX
14183 pic_flag=$lt_prog_compiler_pic_CXX
14184 compiler_flags=-v
14185 linker_flags=-v
14186 verstring=
14187 output_objdir=.
14188 libname=conftest
14189 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14190 allow_undefined_flag_CXX=
14191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14192 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14193 ac_status=$?
14194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14195 test $ac_status = 0; }
14196 then
14197 lt_cv_archive_cmds_need_lc_CXX=no
14198 else
14199 lt_cv_archive_cmds_need_lc_CXX=yes
14201 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14202 else
14203 cat conftest.err 1>&5
14205 $RM conftest*
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14209 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14210 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14212 esac
14215 esac
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14281 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14283 library_names_spec=
14284 libname_spec='lib$name'
14285 soname_spec=
14286 shrext_cmds=".so"
14287 postinstall_cmds=
14288 postuninstall_cmds=
14289 finish_cmds=
14290 finish_eval=
14291 shlibpath_var=
14292 shlibpath_overrides_runpath=unknown
14293 version_type=none
14294 dynamic_linker="$host_os ld.so"
14295 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14296 need_lib_prefix=unknown
14297 hardcode_into_libs=no
14299 # when you set need_version to no, make sure it does not cause -set_version
14300 # flags to be left without arguments
14301 need_version=unknown
14303 case $host_os in
14304 aix3*)
14305 version_type=linux
14306 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14307 shlibpath_var=LIBPATH
14309 # AIX 3 has no versioning support, so we append a major version to the name.
14310 soname_spec='${libname}${release}${shared_ext}$major'
14313 aix[4-9]*)
14314 version_type=linux
14315 need_lib_prefix=no
14316 need_version=no
14317 hardcode_into_libs=yes
14318 if test "$host_cpu" = ia64; then
14319 # AIX 5 supports IA64
14320 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14321 shlibpath_var=LD_LIBRARY_PATH
14322 else
14323 # With GCC up to 2.95.x, collect2 would create an import file
14324 # for dependence libraries. The import file would start with
14325 # the line `#! .'. This would cause the generated library to
14326 # depend on `.', always an invalid library. This was fixed in
14327 # development snapshots of GCC prior to 3.0.
14328 case $host_os in
14329 aix4 | aix4.[01] | aix4.[01].*)
14330 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14331 echo ' yes '
14332 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14334 else
14335 can_build_shared=no
14338 esac
14339 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14340 # soname into executable. Probably we can add versioning support to
14341 # collect2, so additional links can be useful in future.
14342 if test "$aix_use_runtimelinking" = yes; then
14343 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14344 # instead of lib<name>.a to let people know that these are not
14345 # typical AIX shared libraries.
14346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14347 else
14348 # We preserve .a as extension for shared libraries through AIX4.2
14349 # and later when we are not doing run time linking.
14350 library_names_spec='${libname}${release}.a $libname.a'
14351 soname_spec='${libname}${release}${shared_ext}$major'
14353 shlibpath_var=LIBPATH
14357 amigaos*)
14358 case $host_cpu in
14359 powerpc)
14360 # Since July 2007 AmigaOS4 officially supports .so libraries.
14361 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14364 m68k)
14365 library_names_spec='$libname.ixlibrary $libname.a'
14366 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14367 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'
14369 esac
14372 beos*)
14373 library_names_spec='${libname}${shared_ext}'
14374 dynamic_linker="$host_os ld.so"
14375 shlibpath_var=LIBRARY_PATH
14378 bsdi[45]*)
14379 version_type=linux
14380 need_version=no
14381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14382 soname_spec='${libname}${release}${shared_ext}$major'
14383 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14384 shlibpath_var=LD_LIBRARY_PATH
14385 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14386 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14387 # the default ld.so.conf also contains /usr/contrib/lib and
14388 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14389 # libtool to hard-code these into programs
14392 cygwin* | mingw* | pw32* | cegcc*)
14393 version_type=windows
14394 shrext_cmds=".dll"
14395 need_version=no
14396 need_lib_prefix=no
14398 case $GCC,$host_os in
14399 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14400 library_names_spec='$libname.dll.a'
14401 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14402 postinstall_cmds='base_file=`basename \${file}`~
14403 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14404 dldir=$destdir/`dirname \$dlpath`~
14405 test -d \$dldir || mkdir -p \$dldir~
14406 $install_prog $dir/$dlname \$dldir/$dlname~
14407 chmod a+x \$dldir/$dlname~
14408 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14409 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14411 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14412 dlpath=$dir/\$dldll~
14413 $RM \$dlpath'
14414 shlibpath_overrides_runpath=yes
14416 case $host_os in
14417 cygwin*)
14418 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14419 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14422 mingw* | cegcc*)
14423 # MinGW DLLs use traditional 'lib' prefix
14424 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14426 pw32*)
14427 # pw32 DLLs use 'pw' prefix rather than 'lib'
14428 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14430 esac
14434 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14436 esac
14437 dynamic_linker='Win32 ld.exe'
14438 # FIXME: first we should search . and the directory the executable is in
14439 shlibpath_var=PATH
14442 darwin* | rhapsody*)
14443 dynamic_linker="$host_os dyld"
14444 version_type=darwin
14445 need_lib_prefix=no
14446 need_version=no
14447 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14448 soname_spec='${libname}${release}${major}$shared_ext'
14449 shlibpath_overrides_runpath=yes
14450 shlibpath_var=DYLD_LIBRARY_PATH
14451 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14453 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14456 dgux*)
14457 version_type=linux
14458 need_lib_prefix=no
14459 need_version=no
14460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14461 soname_spec='${libname}${release}${shared_ext}$major'
14462 shlibpath_var=LD_LIBRARY_PATH
14465 freebsd* | dragonfly*)
14466 # DragonFly does not have aout. When/if they implement a new
14467 # versioning mechanism, adjust this.
14468 if test -x /usr/bin/objformat; then
14469 objformat=`/usr/bin/objformat`
14470 else
14471 case $host_os in
14472 freebsd[23].*) objformat=aout ;;
14473 *) objformat=elf ;;
14474 esac
14476 version_type=freebsd-$objformat
14477 case $version_type in
14478 freebsd-elf*)
14479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14480 need_version=no
14481 need_lib_prefix=no
14483 freebsd-*)
14484 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14485 need_version=yes
14487 esac
14488 shlibpath_var=LD_LIBRARY_PATH
14489 case $host_os in
14490 freebsd2.*)
14491 shlibpath_overrides_runpath=yes
14493 freebsd3.[01]* | freebsdelf3.[01]*)
14494 shlibpath_overrides_runpath=yes
14495 hardcode_into_libs=yes
14497 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14498 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14499 shlibpath_overrides_runpath=no
14500 hardcode_into_libs=yes
14502 *) # from 4.6 on, and DragonFly
14503 shlibpath_overrides_runpath=yes
14504 hardcode_into_libs=yes
14506 esac
14509 gnu*)
14510 version_type=linux
14511 need_lib_prefix=no
14512 need_version=no
14513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14514 soname_spec='${libname}${release}${shared_ext}$major'
14515 shlibpath_var=LD_LIBRARY_PATH
14516 hardcode_into_libs=yes
14519 haiku*)
14520 version_type=linux
14521 need_lib_prefix=no
14522 need_version=no
14523 dynamic_linker="$host_os runtime_loader"
14524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14525 soname_spec='${libname}${release}${shared_ext}$major'
14526 shlibpath_var=LIBRARY_PATH
14527 shlibpath_overrides_runpath=yes
14528 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14529 hardcode_into_libs=yes
14532 hpux9* | hpux10* | hpux11*)
14533 # Give a soname corresponding to the major version so that dld.sl refuses to
14534 # link against other versions.
14535 version_type=sunos
14536 need_lib_prefix=no
14537 need_version=no
14538 case $host_cpu in
14539 ia64*)
14540 shrext_cmds='.so'
14541 hardcode_into_libs=yes
14542 dynamic_linker="$host_os dld.so"
14543 shlibpath_var=LD_LIBRARY_PATH
14544 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14546 soname_spec='${libname}${release}${shared_ext}$major'
14547 if test "X$HPUX_IA64_MODE" = X32; then
14548 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14549 else
14550 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14552 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14554 hppa*64*)
14555 shrext_cmds='.sl'
14556 hardcode_into_libs=yes
14557 dynamic_linker="$host_os dld.sl"
14558 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14559 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14561 soname_spec='${libname}${release}${shared_ext}$major'
14562 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14563 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14566 shrext_cmds='.sl'
14567 dynamic_linker="$host_os dld.sl"
14568 shlibpath_var=SHLIB_PATH
14569 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14571 soname_spec='${libname}${release}${shared_ext}$major'
14573 esac
14574 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14575 postinstall_cmds='chmod 555 $lib'
14576 # or fails outright, so override atomically:
14577 install_override_mode=555
14580 interix[3-9]*)
14581 version_type=linux
14582 need_lib_prefix=no
14583 need_version=no
14584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14585 soname_spec='${libname}${release}${shared_ext}$major'
14586 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14587 shlibpath_var=LD_LIBRARY_PATH
14588 shlibpath_overrides_runpath=no
14589 hardcode_into_libs=yes
14592 irix5* | irix6* | nonstopux*)
14593 case $host_os in
14594 nonstopux*) version_type=nonstopux ;;
14596 if test "$lt_cv_prog_gnu_ld" = yes; then
14597 version_type=linux
14598 else
14599 version_type=irix
14600 fi ;;
14601 esac
14602 need_lib_prefix=no
14603 need_version=no
14604 soname_spec='${libname}${release}${shared_ext}$major'
14605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14606 case $host_os in
14607 irix5* | nonstopux*)
14608 libsuff= shlibsuff=
14611 case $LD in # libtool.m4 will add one of these switches to LD
14612 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14613 libsuff= shlibsuff= libmagic=32-bit;;
14614 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14615 libsuff=32 shlibsuff=N32 libmagic=N32;;
14616 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14617 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14618 *) libsuff= shlibsuff= libmagic=never-match;;
14619 esac
14621 esac
14622 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14623 shlibpath_overrides_runpath=no
14624 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14625 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14626 hardcode_into_libs=yes
14629 # No shared lib support for Linux oldld, aout, or coff.
14630 linux*oldld* | linux*aout* | linux*coff*)
14631 dynamic_linker=no
14634 # This must be Linux ELF.
14635 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14636 version_type=linux
14637 need_lib_prefix=no
14638 need_version=no
14639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14640 soname_spec='${libname}${release}${shared_ext}$major'
14641 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14642 shlibpath_var=LD_LIBRARY_PATH
14643 shlibpath_overrides_runpath=no
14645 # Some binutils ld are patched to set DT_RUNPATH
14646 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14647 $as_echo_n "(cached) " >&6
14648 else
14649 lt_cv_shlibpath_overrides_runpath=no
14650 save_LDFLAGS=$LDFLAGS
14651 save_libdir=$libdir
14652 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14653 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14654 if test x$gcc_no_link = xyes; then
14655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14661 main ()
14665 return 0;
14667 _ACEOF
14668 if ac_fn_cxx_try_link "$LINENO"; then :
14669 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14670 lt_cv_shlibpath_overrides_runpath=yes
14673 rm -f core conftest.err conftest.$ac_objext \
14674 conftest$ac_exeext conftest.$ac_ext
14675 LDFLAGS=$save_LDFLAGS
14676 libdir=$save_libdir
14680 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14682 # This implies no fast_install, which is unacceptable.
14683 # Some rework will be needed to allow for fast_install
14684 # before this can be enabled.
14685 hardcode_into_libs=yes
14687 # Append ld.so.conf contents to the search path
14688 if test -f /etc/ld.so.conf; then
14689 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' ' '`
14690 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14693 # We used to test for /lib/ld.so.1 and disable shared libraries on
14694 # powerpc, because MkLinux only supported shared libraries with the
14695 # GNU dynamic linker. Since this was broken with cross compilers,
14696 # most powerpc-linux boxes support dynamic linking these days and
14697 # people can always --disable-shared, the test was removed, and we
14698 # assume the GNU/Linux dynamic linker is in use.
14699 dynamic_linker='GNU/Linux ld.so'
14702 netbsd*)
14703 version_type=sunos
14704 need_lib_prefix=no
14705 need_version=no
14706 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14708 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14709 dynamic_linker='NetBSD (a.out) ld.so'
14710 else
14711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14712 soname_spec='${libname}${release}${shared_ext}$major'
14713 dynamic_linker='NetBSD ld.elf_so'
14715 shlibpath_var=LD_LIBRARY_PATH
14716 shlibpath_overrides_runpath=yes
14717 hardcode_into_libs=yes
14720 newsos6)
14721 version_type=linux
14722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14723 shlibpath_var=LD_LIBRARY_PATH
14724 shlibpath_overrides_runpath=yes
14727 *nto* | *qnx*)
14728 version_type=qnx
14729 need_lib_prefix=no
14730 need_version=no
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 soname_spec='${libname}${release}${shared_ext}$major'
14733 shlibpath_var=LD_LIBRARY_PATH
14734 shlibpath_overrides_runpath=no
14735 hardcode_into_libs=yes
14736 dynamic_linker='ldqnx.so'
14739 openbsd*)
14740 version_type=sunos
14741 sys_lib_dlsearch_path_spec="/usr/lib"
14742 need_lib_prefix=no
14743 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14744 case $host_os in
14745 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14746 *) need_version=no ;;
14747 esac
14748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14749 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14750 shlibpath_var=LD_LIBRARY_PATH
14751 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14752 case $host_os in
14753 openbsd2.[89] | openbsd2.[89].*)
14754 shlibpath_overrides_runpath=no
14757 shlibpath_overrides_runpath=yes
14759 esac
14760 else
14761 shlibpath_overrides_runpath=yes
14765 os2*)
14766 libname_spec='$name'
14767 shrext_cmds=".dll"
14768 need_lib_prefix=no
14769 library_names_spec='$libname${shared_ext} $libname.a'
14770 dynamic_linker='OS/2 ld.exe'
14771 shlibpath_var=LIBPATH
14774 osf3* | osf4* | osf5*)
14775 version_type=osf
14776 need_lib_prefix=no
14777 need_version=no
14778 soname_spec='${libname}${release}${shared_ext}$major'
14779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14780 shlibpath_var=LD_LIBRARY_PATH
14781 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14782 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14785 rdos*)
14786 dynamic_linker=no
14789 solaris*)
14790 version_type=linux
14791 need_lib_prefix=no
14792 need_version=no
14793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14794 soname_spec='${libname}${release}${shared_ext}$major'
14795 shlibpath_var=LD_LIBRARY_PATH
14796 shlibpath_overrides_runpath=yes
14797 hardcode_into_libs=yes
14798 # ldd complains unless libraries are executable
14799 postinstall_cmds='chmod +x $lib'
14802 sunos4*)
14803 version_type=sunos
14804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14805 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14806 shlibpath_var=LD_LIBRARY_PATH
14807 shlibpath_overrides_runpath=yes
14808 if test "$with_gnu_ld" = yes; then
14809 need_lib_prefix=no
14811 need_version=yes
14814 sysv4 | sysv4.3*)
14815 version_type=linux
14816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14817 soname_spec='${libname}${release}${shared_ext}$major'
14818 shlibpath_var=LD_LIBRARY_PATH
14819 case $host_vendor in
14820 sni)
14821 shlibpath_overrides_runpath=no
14822 need_lib_prefix=no
14823 runpath_var=LD_RUN_PATH
14825 siemens)
14826 need_lib_prefix=no
14828 motorola)
14829 need_lib_prefix=no
14830 need_version=no
14831 shlibpath_overrides_runpath=no
14832 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14834 esac
14837 sysv4*MP*)
14838 if test -d /usr/nec ;then
14839 version_type=linux
14840 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14841 soname_spec='$libname${shared_ext}.$major'
14842 shlibpath_var=LD_LIBRARY_PATH
14846 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14847 version_type=freebsd-elf
14848 need_lib_prefix=no
14849 need_version=no
14850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14851 soname_spec='${libname}${release}${shared_ext}$major'
14852 shlibpath_var=LD_LIBRARY_PATH
14853 shlibpath_overrides_runpath=yes
14854 hardcode_into_libs=yes
14855 if test "$with_gnu_ld" = yes; then
14856 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14857 else
14858 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14859 case $host_os in
14860 sco3.2v5*)
14861 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14863 esac
14865 sys_lib_dlsearch_path_spec='/usr/lib'
14868 tpf*)
14869 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14870 version_type=linux
14871 need_lib_prefix=no
14872 need_version=no
14873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14874 shlibpath_var=LD_LIBRARY_PATH
14875 shlibpath_overrides_runpath=no
14876 hardcode_into_libs=yes
14879 uts4*)
14880 version_type=linux
14881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14882 soname_spec='${libname}${release}${shared_ext}$major'
14883 shlibpath_var=LD_LIBRARY_PATH
14887 dynamic_linker=no
14889 esac
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14891 $as_echo "$dynamic_linker" >&6; }
14892 test "$dynamic_linker" = no && can_build_shared=no
14894 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14895 if test "$GCC" = yes; then
14896 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14899 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14900 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14902 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14903 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14944 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14945 hardcode_action_CXX=
14946 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14947 test -n "$runpath_var_CXX" ||
14948 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14950 # We can hardcode non-existent directories.
14951 if test "$hardcode_direct_CXX" != no &&
14952 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14953 # have to relink, otherwise we might link with an installed library
14954 # when we should be linking with a yet-to-be-installed one
14955 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14956 test "$hardcode_minus_L_CXX" != no; then
14957 # Linking always hardcodes the temporary library directory.
14958 hardcode_action_CXX=relink
14959 else
14960 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14961 hardcode_action_CXX=immediate
14963 else
14964 # We cannot hardcode anything, or else we can only hardcode existing
14965 # directories.
14966 hardcode_action_CXX=unsupported
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14969 $as_echo "$hardcode_action_CXX" >&6; }
14971 if test "$hardcode_action_CXX" = relink ||
14972 test "$inherit_rpath_CXX" = yes; then
14973 # Fast installation is not supported
14974 enable_fast_install=no
14975 elif test "$shlibpath_overrides_runpath" = yes ||
14976 test "$enable_shared" = no; then
14977 # Fast installation is not necessary
14978 enable_fast_install=needless
14987 fi # test -n "$compiler"
14989 CC=$lt_save_CC
14990 LDCXX=$LD
14991 LD=$lt_save_LD
14992 GCC=$lt_save_GCC
14993 with_gnu_ld=$lt_save_with_gnu_ld
14994 lt_cv_path_LDCXX=$lt_cv_path_LD
14995 lt_cv_path_LD=$lt_save_path_LD
14996 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14997 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14998 fi # test "$_lt_caught_CXX_error" != yes
15000 ac_ext=c
15001 ac_cpp='$CPP $CPPFLAGS'
15002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15018 ac_config_commands="$ac_config_commands libtool"
15023 # Only expand once:
15029 case $host in
15030 *-cygwin* | *-mingw*)
15031 # 'host' will be top-level target in the case of a target lib,
15032 # we must compare to with_cross_host to decide if this is a native
15033 # or cross-compiler and select where to install dlls appropriately.
15034 if test -n "$with_cross_host" &&
15035 test x"$with_cross_host" != x"no"; then
15036 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15037 else
15038 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15042 lt_host_flags=
15044 esac
15051 if test "$enable_vtable_verify" = yes; then
15052 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15053 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15057 # libtool variables for C++ shared and position-independent compiles.
15059 # Use glibcxx_lt_pic_flag to designate the automake variable
15060 # used to encapsulate the default libtool approach to creating objects
15061 # with position-independent code. Default: -prefer-pic.
15063 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15064 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15066 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15067 # creating position-independent objects. This varies with the target
15068 # hardware and operating system, but is often: -DPIC -fPIC.
15069 if test "$enable_shared" = yes; then
15070 glibcxx_lt_pic_flag="-prefer-pic"
15071 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15072 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15074 else
15075 glibcxx_lt_pic_flag=
15076 glibcxx_compiler_pic_flag=
15077 glibcxx_compiler_shared_flag=
15083 # Override the libtool's pic_flag and pic_mode.
15084 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15085 # NB: this impacts --with-pic and --without-pic.
15086 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15087 pic_mode='default'
15089 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15090 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15092 # Possibly disable most of the library.
15093 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15094 ## than just ignoring the results. Faster /and/ more correct, win win.
15096 # Check whether --enable-hosted-libstdcxx was given.
15097 if test "${enable_hosted_libstdcxx+set}" = set; then :
15098 enableval=$enable_hosted_libstdcxx;
15099 else
15100 case "$host" in
15101 arm*-*-symbianelf*)
15102 enable_hosted_libstdcxx=no
15105 enable_hosted_libstdcxx=yes
15107 esac
15110 if test "$enable_hosted_libstdcxx" = no; then
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15112 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15113 is_hosted=no
15114 hosted_define=0
15115 enable_abi_check=no
15116 enable_libstdcxx_pch=no
15117 else
15118 is_hosted=yes
15119 hosted_define=1
15123 cat >>confdefs.h <<_ACEOF
15124 #define _GLIBCXX_HOSTED $hosted_define
15125 _ACEOF
15129 # Enable descriptive messages to standard output on termination.
15131 # Check whether --enable-libstdcxx-verbose was given.
15132 if test "${enable_libstdcxx_verbose+set}" = set; then :
15133 enableval=$enable_libstdcxx_verbose;
15134 else
15135 enable_libstdcxx_verbose=yes
15138 if test x"$enable_libstdcxx_verbose" = xyes; then
15139 verbose_define=1
15140 else
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15142 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15143 verbose_define=0
15146 cat >>confdefs.h <<_ACEOF
15147 #define _GLIBCXX_VERBOSE $verbose_define
15148 _ACEOF
15152 # Enable compiler support that doesn't require linking.
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15155 $as_echo_n "checking for exception model to use... " >&6; }
15157 ac_ext=cpp
15158 ac_cpp='$CXXCPP $CPPFLAGS'
15159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15163 # Check whether --enable-sjlj-exceptions was given.
15164 if test "${enable_sjlj_exceptions+set}" = set; then :
15165 enableval=$enable_sjlj_exceptions;
15166 case "$enableval" in
15167 yes|no|auto) ;;
15168 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15169 esac
15171 else
15172 enable_sjlj_exceptions=auto
15177 if test $enable_sjlj_exceptions = auto; then
15178 # Botheration. Now we've got to detect the exception model. Link tests
15179 # against libgcc.a are problematic since we've not been given proper -L
15180 # bits for single-tree newlib and libgloss.
15182 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15183 cat > conftest.$ac_ext << EOF
15184 #line 15184 "configure"
15185 struct S { ~S(); };
15186 void bar();
15187 void foo()
15189 S s;
15190 bar();
15193 old_CXXFLAGS="$CXXFLAGS"
15194 CXXFLAGS=-S
15195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15196 (eval $ac_compile) 2>&5
15197 ac_status=$?
15198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15199 test $ac_status = 0; }; then
15200 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15201 enable_sjlj_exceptions=yes
15202 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15203 enable_sjlj_exceptions=yes
15204 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15205 enable_sjlj_exceptions=no
15206 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15207 enable_sjlj_exceptions=no
15210 CXXFLAGS="$old_CXXFLAGS"
15211 rm -f conftest*
15214 # This is a tad weird, for hysterical raisins. We have to map
15215 # enable/disable to two different models.
15216 case $enable_sjlj_exceptions in
15217 yes)
15219 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15221 ac_exception_model_name=sjlj
15224 ac_exception_model_name="call frame"
15227 as_fn_error "unable to detect exception model" "$LINENO" 5
15229 esac
15230 ac_ext=c
15231 ac_cpp='$CPP $CPPFLAGS'
15232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15237 $as_echo "$ac_exception_model_name" >&6; }
15240 # Check whether --enable-libstdcxx-pch was given.
15241 if test "${enable_libstdcxx_pch+set}" = set; then :
15242 enableval=$enable_libstdcxx_pch;
15243 case "$enableval" in
15244 yes|no) ;;
15245 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15246 esac
15248 else
15249 enable_libstdcxx_pch=$is_hosted
15253 if test $enable_libstdcxx_pch = yes; then
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15255 $as_echo_n "checking for compiler with PCH support... " >&6; }
15256 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15257 $as_echo_n "(cached) " >&6
15258 else
15259 ac_save_CXXFLAGS="$CXXFLAGS"
15260 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15262 ac_ext=cpp
15263 ac_cpp='$CXXCPP $CPPFLAGS'
15264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15268 echo '#include <math.h>' > conftest.h
15269 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15270 -o conftest.h.gch 1>&5 2>&1 &&
15271 echo '#error "pch failed"' > conftest.h &&
15272 echo '#include "conftest.h"' > conftest.cc &&
15273 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15274 then
15275 glibcxx_cv_prog_CXX_pch=yes
15276 else
15277 glibcxx_cv_prog_CXX_pch=no
15279 rm -f conftest*
15280 CXXFLAGS=$ac_save_CXXFLAGS
15281 ac_ext=c
15282 ac_cpp='$CPP $CPPFLAGS'
15283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15290 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15291 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15295 $as_echo_n "checking for enabled PCH... " >&6; }
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15297 $as_echo "$enable_libstdcxx_pch" >&6; }
15300 if test $enable_libstdcxx_pch = yes; then
15301 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15302 else
15303 glibcxx_PCHFLAGS=""
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15309 $as_echo_n "checking for thread model used by GCC... " >&6; }
15310 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15312 $as_echo "$target_thread_file" >&6; }
15314 case $target_thread_file in
15315 aix) thread_header=config/rs6000/gthr-aix.h ;;
15316 dce) thread_header=config/pa/gthr-dce.h ;;
15317 lynx) thread_header=config/gthr-lynx.h ;;
15318 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15319 posix) thread_header=gthr-posix.h ;;
15320 rtems) thread_header=config/gthr-rtems.h ;;
15321 single) thread_header=gthr-single.h ;;
15322 tpf) thread_header=config/s390/gthr-tpf.h ;;
15323 vxworks) thread_header=config/gthr-vxworks.h ;;
15324 win32) thread_header=config/i386/gthr-win32.h ;;
15325 esac
15331 ac_ext=cpp
15332 ac_cpp='$CXXCPP $CPPFLAGS'
15333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15337 old_CXXFLAGS="$CXXFLAGS"
15339 # Do link tests if possible, instead asm tests, limited to some platforms
15340 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15341 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15342 atomic_builtins_link_tests=no
15343 if test x$gcc_no_link != xyes; then
15344 # Can do link tests. Limit to some tested platforms
15345 case "$host" in
15346 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15347 atomic_builtins_link_tests=yes
15349 esac
15352 if test x$atomic_builtins_link_tests = xyes; then
15354 # Do link tests.
15356 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15359 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15360 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15361 $as_echo_n "(cached) " >&6
15362 else
15364 if test x$gcc_no_link = xyes; then
15365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15368 /* end confdefs.h. */
15371 main ()
15373 typedef bool atomic_type;
15374 atomic_type c1;
15375 atomic_type c2;
15376 atomic_type c3(0);
15377 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15378 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15379 __ATOMIC_RELAXED);
15380 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15381 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15384 return 0;
15386 _ACEOF
15387 if ac_fn_cxx_try_link "$LINENO"; then :
15388 glibcxx_cv_atomic_bool=yes
15389 else
15390 glibcxx_cv_atomic_bool=no
15392 rm -f core conftest.err conftest.$ac_objext \
15393 conftest$ac_exeext conftest.$ac_ext
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15398 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15401 $as_echo_n "checking for atomic builtins for short... " >&6; }
15402 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15403 $as_echo_n "(cached) " >&6
15404 else
15406 if test x$gcc_no_link = xyes; then
15407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15413 main ()
15415 typedef short atomic_type;
15416 atomic_type c1;
15417 atomic_type c2;
15418 atomic_type c3(0);
15419 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15420 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15421 __ATOMIC_RELAXED);
15422 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15423 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15426 return 0;
15428 _ACEOF
15429 if ac_fn_cxx_try_link "$LINENO"; then :
15430 glibcxx_cv_atomic_short=yes
15431 else
15432 glibcxx_cv_atomic_short=no
15434 rm -f core conftest.err conftest.$ac_objext \
15435 conftest$ac_exeext conftest.$ac_ext
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15440 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15443 $as_echo_n "checking for atomic builtins for int... " >&6; }
15444 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15445 $as_echo_n "(cached) " >&6
15446 else
15448 if test x$gcc_no_link = xyes; then
15449 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15455 main ()
15457 typedef int atomic_type;
15458 atomic_type c1;
15459 atomic_type c2;
15460 atomic_type c3(0);
15461 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15462 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15463 __ATOMIC_RELAXED);
15464 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15465 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15468 return 0;
15470 _ACEOF
15471 if ac_fn_cxx_try_link "$LINENO"; then :
15472 glibcxx_cv_atomic_int=yes
15473 else
15474 glibcxx_cv_atomic_int=no
15476 rm -f core conftest.err conftest.$ac_objext \
15477 conftest$ac_exeext conftest.$ac_ext
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15482 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15485 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15486 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15487 $as_echo_n "(cached) " >&6
15488 else
15490 if test x$gcc_no_link = xyes; then
15491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15494 /* end confdefs.h. */
15497 main ()
15499 typedef long long atomic_type;
15500 atomic_type c1;
15501 atomic_type c2;
15502 atomic_type c3(0);
15503 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15504 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15505 __ATOMIC_RELAXED);
15506 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15507 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15510 return 0;
15512 _ACEOF
15513 if ac_fn_cxx_try_link "$LINENO"; then :
15514 glibcxx_cv_atomic_long_long=yes
15515 else
15516 glibcxx_cv_atomic_long_long=no
15518 rm -f core conftest.err conftest.$ac_objext \
15519 conftest$ac_exeext conftest.$ac_ext
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15524 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15526 else
15528 # Do asm tests.
15530 # Compile unoptimized.
15531 CXXFLAGS='-O0 -S'
15533 # Fake what AC_TRY_COMPILE does.
15535 cat > conftest.$ac_ext << EOF
15536 #line 15536 "configure"
15537 int main()
15539 typedef bool atomic_type;
15540 atomic_type c1;
15541 atomic_type c2;
15542 atomic_type c3(0);
15543 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15544 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15545 __ATOMIC_RELAXED);
15546 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15547 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15549 return 0;
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15554 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15555 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15556 (eval $ac_compile) 2>&5
15557 ac_status=$?
15558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15559 test $ac_status = 0; }; then
15560 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15561 glibcxx_cv_atomic_bool=no
15562 else
15563 glibcxx_cv_atomic_bool=yes
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15567 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15568 rm -f conftest*
15570 cat > conftest.$ac_ext << EOF
15571 #line 15571 "configure"
15572 int main()
15574 typedef short atomic_type;
15575 atomic_type c1;
15576 atomic_type c2;
15577 atomic_type c3(0);
15578 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15579 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15580 __ATOMIC_RELAXED);
15581 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15582 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15584 return 0;
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15589 $as_echo_n "checking for atomic builtins for short... " >&6; }
15590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15591 (eval $ac_compile) 2>&5
15592 ac_status=$?
15593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15594 test $ac_status = 0; }; then
15595 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15596 glibcxx_cv_atomic_short=no
15597 else
15598 glibcxx_cv_atomic_short=yes
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15602 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15603 rm -f conftest*
15605 cat > conftest.$ac_ext << EOF
15606 #line 15606 "configure"
15607 int main()
15609 // NB: _Atomic_word not necessarily int.
15610 typedef int atomic_type;
15611 atomic_type c1;
15612 atomic_type c2;
15613 atomic_type c3(0);
15614 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15615 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15616 __ATOMIC_RELAXED);
15617 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15618 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15620 return 0;
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15625 $as_echo_n "checking for atomic builtins for int... " >&6; }
15626 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15627 (eval $ac_compile) 2>&5
15628 ac_status=$?
15629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15630 test $ac_status = 0; }; then
15631 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15632 glibcxx_cv_atomic_int=no
15633 else
15634 glibcxx_cv_atomic_int=yes
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15638 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15639 rm -f conftest*
15641 cat > conftest.$ac_ext << EOF
15642 #line 15642 "configure"
15643 int main()
15645 typedef long long atomic_type;
15646 atomic_type c1;
15647 atomic_type c2;
15648 atomic_type c3(0);
15649 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15650 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15651 __ATOMIC_RELAXED);
15652 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15653 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15655 return 0;
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15660 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15662 (eval $ac_compile) 2>&5
15663 ac_status=$?
15664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15665 test $ac_status = 0; }; then
15666 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15667 glibcxx_cv_atomic_long_long=no
15668 else
15669 glibcxx_cv_atomic_long_long=yes
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15673 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15674 rm -f conftest*
15678 CXXFLAGS="$old_CXXFLAGS"
15679 ac_ext=c
15680 ac_cpp='$CPP $CPPFLAGS'
15681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15686 # Set atomicity_dir to builtins if all but the long long test above passes.
15687 if test $glibcxx_cv_atomic_bool = yes \
15688 && test $glibcxx_cv_atomic_short = yes \
15689 && test $glibcxx_cv_atomic_int = yes; then
15691 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15693 atomicity_dir=cpu/generic/atomicity_builtins
15696 # If still generic, set to mutex.
15697 if test $atomicity_dir = "cpu/generic" ; then
15698 atomicity_dir=cpu/generic/atomicity_mutex
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15700 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15701 if test "x$target_thread_file" = xsingle; then
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15703 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15705 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15706 else
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15708 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15710 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15717 # Fake what AC_TRY_COMPILE does, without linking as this is
15718 # unnecessary for this test.
15720 cat > conftest.$ac_ext << EOF
15721 #line 15721 "configure"
15722 int main()
15724 _Decimal32 d1;
15725 _Decimal64 d2;
15726 _Decimal128 d3;
15727 return 0;
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15732 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15734 (eval $ac_compile) 2>&5
15735 ac_status=$?
15736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15737 test $ac_status = 0; }; then
15739 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15741 enable_dfp=yes
15742 else
15743 enable_dfp=no
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15746 $as_echo "$enable_dfp" >&6; }
15747 rm -f conftest*
15752 ac_ext=cpp
15753 ac_cpp='$CXXCPP $CPPFLAGS'
15754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15759 # Fake what AC_TRY_COMPILE does, without linking as this is
15760 # unnecessary for this test.
15762 cat > conftest.$ac_ext << EOF
15763 #line 15763 "configure"
15764 template<typename T1, typename T2>
15765 struct same
15766 { typedef T2 type; };
15768 template<typename T>
15769 struct same<T, T>;
15771 int main()
15773 typename same<long, __int128>::type i1;
15774 typename same<long long, __int128>::type i2;
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15779 $as_echo_n "checking for __int128... " >&6; }
15780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15781 (eval $ac_compile) 2>&5
15782 ac_status=$?
15783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15784 test $ac_status = 0; }; then
15786 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15788 enable_int128=yes
15789 else
15790 enable_int128=no
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15793 $as_echo "$enable_int128" >&6; }
15794 rm -f conftest*
15796 cat > conftest.$ac_ext << EOF
15797 #line 15797 "configure"
15798 template<typename T1, typename T2>
15799 struct same
15800 { typedef T2 type; };
15802 template<typename T>
15803 struct same<T, T>;
15805 int main()
15807 typename same<double, __float128>::type f1;
15808 typename same<long double, __float128>::type f2;
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15813 $as_echo_n "checking for __float128... " >&6; }
15814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15815 (eval $ac_compile) 2>&5
15816 ac_status=$?
15817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15818 test $ac_status = 0; }; then
15820 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15822 enable_float128=yes
15823 else
15824 enable_float128=no
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15827 $as_echo "$enable_float128" >&6; }
15828 rm -f conftest*
15830 ac_ext=c
15831 ac_cpp='$CPP $CPPFLAGS'
15832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15837 if test "$enable_float128" = yes; then
15838 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15841 # Checks for compiler support that doesn't require linking.
15843 # All these tests are for C++; save the language and the compiler flags.
15844 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15845 # found in GLIBCXX_CONFIGURE.
15847 ac_ext=cpp
15848 ac_cpp='$CXXCPP $CPPFLAGS'
15849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15853 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15854 ac_save_CXXFLAGS="$CXXFLAGS"
15856 # Check for maintainer-mode bits.
15857 if test x"$USE_MAINTAINER_MODE" = xno; then
15858 WERROR=''
15859 else
15860 WERROR='-Werror'
15863 # Check for -ffunction-sections -fdata-sections
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15865 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15866 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15869 int foo; void bar() { };
15871 main ()
15875 return 0;
15877 _ACEOF
15878 if ac_fn_cxx_try_compile "$LINENO"; then :
15879 ac_fdsections=yes
15880 else
15881 ac_fdsections=no
15883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15884 if test "$ac_test_CXXFLAGS" = set; then
15885 CXXFLAGS="$ac_save_CXXFLAGS"
15886 else
15887 # this is the suspicious part
15888 CXXFLAGS=''
15890 if test x"$ac_fdsections" = x"yes"; then
15891 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15894 $as_echo "$ac_fdsections" >&6; }
15896 ac_ext=c
15897 ac_cpp='$CPP $CPPFLAGS'
15898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15906 # Enable all the variable C++ runtime options that don't require linking.
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15909 $as_echo_n "checking for underlying I/O to use... " >&6; }
15910 # Check whether --enable-cstdio was given.
15911 if test "${enable_cstdio+set}" = set; then :
15912 enableval=$enable_cstdio;
15913 case "$enableval" in
15914 stdio) ;;
15915 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15916 esac
15918 else
15919 enable_cstdio=stdio
15924 # Now that libio has been removed, you can have any color you want as long
15925 # as it's black. This is one big no-op until other packages are added, but
15926 # showing the framework never hurts.
15927 case ${enable_cstdio} in
15928 stdio)
15929 CSTDIO_H=config/io/c_io_stdio.h
15930 BASIC_FILE_H=config/io/basic_file_stdio.h
15931 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15933 $as_echo "stdio" >&6; }
15935 esac
15942 # Check whether --enable-clocale was given.
15943 if test "${enable_clocale+set}" = set; then :
15944 enableval=$enable_clocale;
15945 case "$enableval" in
15946 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15947 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15948 esac
15950 else
15951 enable_clocale=auto
15956 # Deal with gettext issues. Default to not using it (=no) until we detect
15957 # support for it later. Let the user turn it off via --e/d, but let that
15958 # default to on for easier handling.
15959 USE_NLS=no
15960 # Check whether --enable-nls was given.
15961 if test "${enable_nls+set}" = set; then :
15962 enableval=$enable_nls;
15963 else
15964 enable_nls=yes
15968 # Either a known package, or "auto"
15969 if test $enable_clocale = no || test $enable_clocale = yes; then
15970 enable_clocale=auto
15972 enable_clocale_flag=$enable_clocale
15974 # Probe for locale model to use if none specified.
15975 # Default to "generic".
15976 if test $enable_clocale_flag = auto; then
15977 case ${target_os} in
15978 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15979 enable_clocale_flag=gnu
15981 darwin* | freebsd*)
15982 enable_clocale_flag=darwin
15984 dragonfly*)
15985 enable_clocale_flag=dragonfly
15987 openbsd*)
15988 enable_clocale_flag=newlib
15991 if test x"$with_newlib" = x"yes"; then
15992 enable_clocale_flag=newlib
15993 else
15994 enable_clocale_flag=generic
15997 esac
16000 # Sanity check model, and test for special functionality.
16001 if test $enable_clocale_flag = gnu; then
16002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16003 /* end confdefs.h. */
16005 #include <features.h>
16006 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16007 _GLIBCXX_ok
16008 #endif
16010 _ACEOF
16011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16012 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16013 enable_clocale_flag=gnu
16014 else
16015 enable_clocale_flag=generic
16017 rm -f conftest*
16020 # Set it to scream when it hurts.
16021 ac_save_CFLAGS="$CFLAGS"
16022 CFLAGS="-Wimplicit-function-declaration -Werror"
16024 # Use strxfrm_l if available.
16025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16026 /* end confdefs.h. */
16027 #define _GNU_SOURCE 1
16028 #include <string.h>
16029 #include <locale.h>
16031 main ()
16033 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16035 return 0;
16037 _ACEOF
16038 if ac_fn_c_try_compile "$LINENO"; then :
16040 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16045 # Use strerror_l if available.
16046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16047 /* end confdefs.h. */
16048 #define _GNU_SOURCE 1
16049 #include <string.h>
16050 #include <locale.h>
16052 main ()
16054 __locale_t loc; strerror_l(5, loc);
16056 return 0;
16058 _ACEOF
16059 if ac_fn_c_try_compile "$LINENO"; then :
16061 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16066 CFLAGS="$ac_save_CFLAGS"
16069 # Perhaps use strerror_r if available, and strerror_l isn't.
16070 ac_save_CFLAGS="$CFLAGS"
16071 CFLAGS="-Wimplicit-function-declaration -Werror"
16072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16073 /* end confdefs.h. */
16074 #define _GNU_SOURCE 1
16075 #include <string.h>
16076 #include <locale.h>
16078 main ()
16080 char s[128]; strerror_r(5, s, 128);
16082 return 0;
16084 _ACEOF
16085 if ac_fn_c_try_compile "$LINENO"; then :
16087 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16091 CFLAGS="$ac_save_CFLAGS"
16093 # Set configure bits for specified locale package
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16095 $as_echo_n "checking for C locale to use... " >&6; }
16096 case ${enable_clocale_flag} in
16097 generic)
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16099 $as_echo "generic" >&6; }
16101 CLOCALE_H=config/locale/generic/c_locale.h
16102 CLOCALE_CC=config/locale/generic/c_locale.cc
16103 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16104 CCOLLATE_CC=config/locale/generic/collate_members.cc
16105 CCTYPE_CC=config/locale/generic/ctype_members.cc
16106 CMESSAGES_H=config/locale/generic/messages_members.h
16107 CMESSAGES_CC=config/locale/generic/messages_members.cc
16108 CMONEY_CC=config/locale/generic/monetary_members.cc
16109 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16110 CTIME_H=config/locale/generic/time_members.h
16111 CTIME_CC=config/locale/generic/time_members.cc
16112 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16114 darwin)
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
16116 $as_echo "darwin or freebsd" >&6; }
16118 CLOCALE_H=config/locale/generic/c_locale.h
16119 CLOCALE_CC=config/locale/generic/c_locale.cc
16120 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16121 CCOLLATE_CC=config/locale/generic/collate_members.cc
16122 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16123 CMESSAGES_H=config/locale/generic/messages_members.h
16124 CMESSAGES_CC=config/locale/generic/messages_members.cc
16125 CMONEY_CC=config/locale/generic/monetary_members.cc
16126 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16127 CTIME_H=config/locale/generic/time_members.h
16128 CTIME_CC=config/locale/generic/time_members.cc
16129 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16132 dragonfly)
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16134 $as_echo "dragonfly" >&6; }
16136 CLOCALE_H=config/locale/generic/c_locale.h
16137 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16138 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16139 CCOLLATE_CC=config/locale/generic/collate_members.cc
16140 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16141 CMESSAGES_H=config/locale/generic/messages_members.h
16142 CMESSAGES_CC=config/locale/generic/messages_members.cc
16143 CMONEY_CC=config/locale/generic/monetary_members.cc
16144 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16145 CTIME_H=config/locale/generic/time_members.h
16146 CTIME_CC=config/locale/generic/time_members.cc
16147 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16150 gnu)
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16152 $as_echo "gnu" >&6; }
16154 # Declare intention to use gettext, and add support for specific
16155 # languages.
16156 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16157 ALL_LINGUAS="de fr"
16159 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16160 # Extract the first word of "msgfmt", so it can be a program name with args.
16161 set dummy msgfmt; ac_word=$2
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16163 $as_echo_n "checking for $ac_word... " >&6; }
16164 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16165 $as_echo_n "(cached) " >&6
16166 else
16167 if test -n "$check_msgfmt"; then
16168 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16169 else
16170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16171 for as_dir in $PATH
16173 IFS=$as_save_IFS
16174 test -z "$as_dir" && as_dir=.
16175 for ac_exec_ext in '' $ac_executable_extensions; do
16176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16177 ac_cv_prog_check_msgfmt="yes"
16178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16179 break 2
16181 done
16182 done
16183 IFS=$as_save_IFS
16185 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16188 check_msgfmt=$ac_cv_prog_check_msgfmt
16189 if test -n "$check_msgfmt"; then
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16191 $as_echo "$check_msgfmt" >&6; }
16192 else
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16194 $as_echo "no" >&6; }
16198 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16199 USE_NLS=yes
16201 # Export the build objects.
16202 for ling in $ALL_LINGUAS; do \
16203 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16204 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16205 done
16209 CLOCALE_H=config/locale/gnu/c_locale.h
16210 CLOCALE_CC=config/locale/gnu/c_locale.cc
16211 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16212 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16213 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16214 CMESSAGES_H=config/locale/gnu/messages_members.h
16215 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16216 CMONEY_CC=config/locale/gnu/monetary_members.cc
16217 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16218 CTIME_H=config/locale/gnu/time_members.h
16219 CTIME_CC=config/locale/gnu/time_members.cc
16220 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16222 ieee_1003.1-2001)
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16224 $as_echo "IEEE 1003.1" >&6; }
16226 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16227 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16228 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16229 CCOLLATE_CC=config/locale/generic/collate_members.cc
16230 CCTYPE_CC=config/locale/generic/ctype_members.cc
16231 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16232 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16233 CMONEY_CC=config/locale/generic/monetary_members.cc
16234 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16235 CTIME_H=config/locale/generic/time_members.h
16236 CTIME_CC=config/locale/generic/time_members.cc
16237 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16239 newlib)
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16241 $as_echo "newlib" >&6; }
16243 CLOCALE_H=config/locale/generic/c_locale.h
16244 CLOCALE_CC=config/locale/generic/c_locale.cc
16245 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16246 CCOLLATE_CC=config/locale/generic/collate_members.cc
16247 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16248 CMESSAGES_H=config/locale/generic/messages_members.h
16249 CMESSAGES_CC=config/locale/generic/messages_members.cc
16250 CMONEY_CC=config/locale/generic/monetary_members.cc
16251 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16252 CTIME_H=config/locale/generic/time_members.h
16253 CTIME_CC=config/locale/generic/time_members.cc
16254 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16256 esac
16258 # This is where the testsuite looks for locale catalogs, using the
16259 # -DLOCALEDIR define during testsuite compilation.
16260 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16263 # A standalone libintl (e.g., GNU libintl) may be in use.
16264 if test $USE_NLS = yes; then
16265 for ac_header in libintl.h
16266 do :
16267 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16268 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16269 cat >>confdefs.h <<_ACEOF
16270 #define HAVE_LIBINTL_H 1
16271 _ACEOF
16273 else
16274 USE_NLS=no
16277 done
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16280 $as_echo_n "checking for library containing gettext... " >&6; }
16281 if test "${ac_cv_search_gettext+set}" = set; then :
16282 $as_echo_n "(cached) " >&6
16283 else
16284 ac_func_search_save_LIBS=$LIBS
16285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16286 /* end confdefs.h. */
16288 /* Override any GCC internal prototype to avoid an error.
16289 Use char because int might match the return type of a GCC
16290 builtin and then its argument prototype would still apply. */
16291 #ifdef __cplusplus
16292 extern "C"
16293 #endif
16294 char gettext ();
16296 main ()
16298 return gettext ();
16300 return 0;
16302 _ACEOF
16303 for ac_lib in '' intl; do
16304 if test -z "$ac_lib"; then
16305 ac_res="none required"
16306 else
16307 ac_res=-l$ac_lib
16308 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16310 if test x$gcc_no_link = xyes; then
16311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16313 if ac_fn_c_try_link "$LINENO"; then :
16314 ac_cv_search_gettext=$ac_res
16316 rm -f core conftest.err conftest.$ac_objext \
16317 conftest$ac_exeext
16318 if test "${ac_cv_search_gettext+set}" = set; then :
16319 break
16321 done
16322 if test "${ac_cv_search_gettext+set}" = set; then :
16324 else
16325 ac_cv_search_gettext=no
16327 rm conftest.$ac_ext
16328 LIBS=$ac_func_search_save_LIBS
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16331 $as_echo "$ac_cv_search_gettext" >&6; }
16332 ac_res=$ac_cv_search_gettext
16333 if test "$ac_res" != no; then :
16334 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16336 else
16337 USE_NLS=no
16341 if test $USE_NLS = yes; then
16343 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16363 $as_echo_n "checking for std::allocator base class... " >&6; }
16364 # Check whether --enable-libstdcxx-allocator was given.
16365 if test "${enable_libstdcxx_allocator+set}" = set; then :
16366 enableval=$enable_libstdcxx_allocator;
16367 case "$enableval" in
16368 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16369 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16370 esac
16372 else
16373 enable_libstdcxx_allocator=auto
16378 # If they didn't use this option switch, or if they specified --enable
16379 # with no specific model, we'll have to look for one. If they
16380 # specified --disable (???), do likewise.
16381 if test $enable_libstdcxx_allocator = no ||
16382 test $enable_libstdcxx_allocator = yes;
16383 then
16384 enable_libstdcxx_allocator=auto
16387 # Either a known package, or "auto". Auto implies the default choice
16388 # for a particular platform.
16389 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16391 # Probe for host-specific support if no specific model is specified.
16392 # Default to "new".
16393 if test $enable_libstdcxx_allocator_flag = auto; then
16394 case ${target_os} in
16395 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16396 enable_libstdcxx_allocator_flag=new
16399 enable_libstdcxx_allocator_flag=new
16401 esac
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16404 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16407 # Set configure bits for specified locale package
16408 case ${enable_libstdcxx_allocator_flag} in
16409 bitmap)
16410 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16411 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16413 malloc)
16414 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16415 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16418 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16419 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16421 new)
16422 ALLOCATOR_H=config/allocator/new_allocator_base.h
16423 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16425 pool)
16426 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16427 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16429 esac
16435 # Check whether --enable-cheaders was given.
16436 if test "${enable_cheaders+set}" = set; then :
16437 enableval=$enable_cheaders;
16438 case "$enableval" in
16439 c|c_std|c_global) ;;
16440 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16441 esac
16443 else
16444 enable_cheaders=$c_model
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16449 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16451 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16453 # Allow overrides to configure.host here.
16454 if test $enable_cheaders = c_global; then
16455 c_compatibility=yes
16464 # Check whether --enable-long-long was given.
16465 if test "${enable_long_long+set}" = set; then :
16466 enableval=$enable_long_long;
16467 case "$enableval" in
16468 yes|no) ;;
16469 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16470 esac
16472 else
16473 enable_long_long=yes
16477 if test $enable_long_long = yes; then
16479 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16483 $as_echo_n "checking for enabled long long specializations... " >&6; }
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16485 $as_echo "$enable_long_long" >&6; }
16488 # Check whether --enable-wchar_t was given.
16489 if test "${enable_wchar_t+set}" = set; then :
16490 enableval=$enable_wchar_t;
16491 case "$enableval" in
16492 yes|no) ;;
16493 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16494 esac
16496 else
16497 enable_wchar_t=yes
16502 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16503 for ac_header in wchar.h
16504 do :
16505 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16506 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16507 cat >>confdefs.h <<_ACEOF
16508 #define HAVE_WCHAR_H 1
16509 _ACEOF
16510 ac_has_wchar_h=yes
16511 else
16512 ac_has_wchar_h=no
16515 done
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16518 $as_echo_n "checking for mbstate_t... " >&6; }
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16521 #include <wchar.h>
16523 main ()
16525 mbstate_t teststate;
16527 return 0;
16529 _ACEOF
16530 if ac_fn_c_try_compile "$LINENO"; then :
16531 have_mbstate_t=yes
16532 else
16533 have_mbstate_t=no
16535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16537 $as_echo "$have_mbstate_t" >&6; }
16538 if test x"$have_mbstate_t" = xyes; then
16540 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16544 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16545 # ac_has_wchar_h.
16546 for ac_header in wctype.h
16547 do :
16548 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16549 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16550 cat >>confdefs.h <<_ACEOF
16551 #define HAVE_WCTYPE_H 1
16552 _ACEOF
16553 ac_has_wctype_h=yes
16554 else
16555 ac_has_wctype_h=no
16558 done
16561 if test x"$enable_wchar_t" = x"yes"; then
16564 ac_ext=cpp
16565 ac_cpp='$CXXCPP $CPPFLAGS'
16566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16571 if test x"$ac_has_wchar_h" = xyes &&
16572 test x"$ac_has_wctype_h" = xyes; then
16573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16575 #include <wchar.h>
16576 #include <stddef.h>
16577 wint_t i;
16578 long l = WEOF;
16579 long j = WCHAR_MIN;
16580 long k = WCHAR_MAX;
16581 namespace test
16583 using ::btowc;
16584 using ::fgetwc;
16585 using ::fgetws;
16586 using ::fputwc;
16587 using ::fputws;
16588 using ::fwide;
16589 using ::fwprintf;
16590 using ::fwscanf;
16591 using ::getwc;
16592 using ::getwchar;
16593 using ::mbrlen;
16594 using ::mbrtowc;
16595 using ::mbsinit;
16596 using ::mbsrtowcs;
16597 using ::putwc;
16598 using ::putwchar;
16599 using ::swprintf;
16600 using ::swscanf;
16601 using ::ungetwc;
16602 using ::vfwprintf;
16603 using ::vswprintf;
16604 using ::vwprintf;
16605 using ::wcrtomb;
16606 using ::wcscat;
16607 using ::wcschr;
16608 using ::wcscmp;
16609 using ::wcscoll;
16610 using ::wcscpy;
16611 using ::wcscspn;
16612 using ::wcsftime;
16613 using ::wcslen;
16614 using ::wcsncat;
16615 using ::wcsncmp;
16616 using ::wcsncpy;
16617 using ::wcspbrk;
16618 using ::wcsrchr;
16619 using ::wcsrtombs;
16620 using ::wcsspn;
16621 using ::wcsstr;
16622 using ::wcstod;
16623 using ::wcstok;
16624 using ::wcstol;
16625 using ::wcstoul;
16626 using ::wcsxfrm;
16627 using ::wctob;
16628 using ::wmemchr;
16629 using ::wmemcmp;
16630 using ::wmemcpy;
16631 using ::wmemmove;
16632 using ::wmemset;
16633 using ::wprintf;
16634 using ::wscanf;
16638 main ()
16642 return 0;
16644 _ACEOF
16645 if ac_fn_cxx_try_compile "$LINENO"; then :
16647 else
16648 enable_wchar_t=no
16650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16651 else
16652 enable_wchar_t=no
16655 ac_ext=c
16656 ac_cpp='$CPP $CPPFLAGS'
16657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16663 if test x"$enable_wchar_t" = x"yes"; then
16665 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16670 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16672 $as_echo "$enable_wchar_t" >&6; }
16676 # Check whether --enable-c99 was given.
16677 if test "${enable_c99+set}" = set; then :
16678 enableval=$enable_c99;
16679 case "$enableval" in
16680 yes|no) ;;
16681 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16682 esac
16684 else
16685 enable_c99=yes
16690 if test x"$enable_c99" = x"yes"; then
16693 ac_ext=cpp
16694 ac_cpp='$CXXCPP $CPPFLAGS'
16695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16700 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16701 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16702 # spuriously enabled.
16703 # Long term, -std=c++0x could be even better, could manage to explicitly
16704 # request C99 facilities to the underlying C headers.
16705 ac_save_CXXFLAGS="$CXXFLAGS"
16706 CXXFLAGS="$CXXFLAGS -std=c++98"
16707 ac_save_LIBS="$LIBS"
16708 ac_save_gcc_no_link="$gcc_no_link"
16710 if test x$gcc_no_link != xyes; then
16711 # Use -fno-exceptions to that the C driver can link these tests without
16712 # hitting undefined references to personality routines.
16713 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16715 $as_echo_n "checking for sin in -lm... " >&6; }
16716 if test "${ac_cv_lib_m_sin+set}" = set; then :
16717 $as_echo_n "(cached) " >&6
16718 else
16719 ac_check_lib_save_LIBS=$LIBS
16720 LIBS="-lm $LIBS"
16721 if test x$gcc_no_link = xyes; then
16722 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16727 /* Override any GCC internal prototype to avoid an error.
16728 Use char because int might match the return type of a GCC
16729 builtin and then its argument prototype would still apply. */
16730 #ifdef __cplusplus
16731 extern "C"
16732 #endif
16733 char sin ();
16735 main ()
16737 return sin ();
16739 return 0;
16741 _ACEOF
16742 if ac_fn_cxx_try_link "$LINENO"; then :
16743 ac_cv_lib_m_sin=yes
16744 else
16745 ac_cv_lib_m_sin=no
16747 rm -f core conftest.err conftest.$ac_objext \
16748 conftest$ac_exeext conftest.$ac_ext
16749 LIBS=$ac_check_lib_save_LIBS
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16752 $as_echo "$ac_cv_lib_m_sin" >&6; }
16753 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16755 LIBS="$LIBS -lm"
16757 else
16759 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16760 gcc_no_link=yes
16766 # Check for the existence of <math.h> functions used if C99 is enabled.
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16768 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16769 if test "${glibcxx_cv_c99_math+set}" = set; then :
16770 $as_echo_n "(cached) " >&6
16771 else
16773 if test x$gcc_no_link = xyes; then
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16776 #include <math.h>
16777 volatile double d1, d2;
16778 volatile int i;
16780 main ()
16782 i = fpclassify(d1);
16783 i = isfinite(d1);
16784 i = isinf(d1);
16785 i = isnan(d1);
16786 i = isnormal(d1);
16787 i = signbit(d1);
16788 i = isgreater(d1, d2);
16789 i = isgreaterequal(d1, d2);
16790 i = isless(d1, d2);
16791 i = islessequal(d1, d2);
16792 i = islessgreater(d1, d2);
16793 i = islessgreater(d1, d2);
16794 i = isunordered(d1, d2);
16797 return 0;
16799 _ACEOF
16800 if ac_fn_cxx_try_compile "$LINENO"; then :
16801 glibcxx_cv_c99_math=yes
16802 else
16803 glibcxx_cv_c99_math=no
16805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16806 else
16807 if test x$gcc_no_link = xyes; then
16808 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h. */
16812 #include <math.h>
16813 volatile double d1, d2;
16814 volatile int i;
16816 main ()
16818 i = fpclassify(d1);
16819 i = isfinite(d1);
16820 i = isinf(d1);
16821 i = isnan(d1);
16822 i = isnormal(d1);
16823 i = signbit(d1);
16824 i = isgreater(d1, d2);
16825 i = isgreaterequal(d1, d2);
16826 i = isless(d1, d2);
16827 i = islessequal(d1, d2);
16828 i = islessgreater(d1, d2);
16829 i = islessgreater(d1, d2);
16830 i = isunordered(d1, d2);
16833 return 0;
16835 _ACEOF
16836 if ac_fn_cxx_try_link "$LINENO"; then :
16837 glibcxx_cv_c99_math=yes
16838 else
16839 glibcxx_cv_c99_math=no
16841 rm -f core conftest.err conftest.$ac_objext \
16842 conftest$ac_exeext conftest.$ac_ext
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16848 $as_echo "$glibcxx_cv_c99_math" >&6; }
16849 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16851 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16855 # Check for the existence of <complex.h> complex math functions.
16856 # This is necessary even though libstdc++ uses the builtin versions
16857 # of these functions, because if the builtin cannot be used, a reference
16858 # to the library function is emitted.
16859 for ac_header in tgmath.h
16860 do :
16861 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16862 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16863 cat >>confdefs.h <<_ACEOF
16864 #define HAVE_TGMATH_H 1
16865 _ACEOF
16866 ac_has_tgmath_h=yes
16867 else
16868 ac_has_tgmath_h=no
16871 done
16873 for ac_header in complex.h
16874 do :
16875 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16876 if test "x$ac_cv_header_complex_h" = x""yes; then :
16877 cat >>confdefs.h <<_ACEOF
16878 #define HAVE_COMPLEX_H 1
16879 _ACEOF
16880 ac_has_complex_h=yes
16881 else
16882 ac_has_complex_h=no
16885 done
16887 glibcxx_cv_c99_complex=no;
16888 if test x"$ac_has_complex_h" = x"yes"; then
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16890 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16891 if test x$gcc_no_link = xyes; then
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16894 #include <complex.h>
16895 typedef __complex__ float float_type;
16896 typedef __complex__ double double_type;
16897 typedef __complex__ long double ld_type;
16898 volatile float_type tmpf;
16899 volatile double_type tmpd;
16900 volatile ld_type tmpld;
16901 volatile float f;
16902 volatile double d;
16903 volatile long double ld;
16905 main ()
16907 f = cabsf(tmpf);
16908 f = cargf(tmpf);
16909 tmpf = ccosf(tmpf);
16910 tmpf = ccoshf(tmpf);
16911 tmpf = cexpf(tmpf);
16912 tmpf = clogf(tmpf);
16913 tmpf = csinf(tmpf);
16914 tmpf = csinhf(tmpf);
16915 tmpf = csqrtf(tmpf);
16916 tmpf = ctanf(tmpf);
16917 tmpf = ctanhf(tmpf);
16918 tmpf = cpowf(tmpf, tmpf);
16919 tmpf = cprojf(tmpf);
16920 d = cabs(tmpd);
16921 d = carg(tmpd);
16922 tmpd = ccos(tmpd);
16923 tmpd = ccosh(tmpd);
16924 tmpd = cexp(tmpd);
16925 tmpd = clog(tmpd);
16926 tmpd = csin(tmpd);
16927 tmpd = csinh(tmpd);
16928 tmpd = csqrt(tmpd);
16929 tmpd = ctan(tmpd);
16930 tmpd = ctanh(tmpd);
16931 tmpd = cpow(tmpd, tmpd);
16932 tmpd = cproj(tmpd);
16933 ld = cabsl(tmpld);
16934 ld = cargl(tmpld);
16935 tmpld = ccosl(tmpld);
16936 tmpld = ccoshl(tmpld);
16937 tmpld = cexpl(tmpld);
16938 tmpld = clogl(tmpld);
16939 tmpld = csinl(tmpld);
16940 tmpld = csinhl(tmpld);
16941 tmpld = csqrtl(tmpld);
16942 tmpld = ctanl(tmpld);
16943 tmpld = ctanhl(tmpld);
16944 tmpld = cpowl(tmpld, tmpld);
16945 tmpld = cprojl(tmpld);
16948 return 0;
16950 _ACEOF
16951 if ac_fn_cxx_try_compile "$LINENO"; then :
16952 glibcxx_cv_c99_complex=yes
16953 else
16954 glibcxx_cv_c99_complex=no
16956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16957 else
16958 if test x$gcc_no_link = xyes; then
16959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16962 /* end confdefs.h. */
16963 #include <complex.h>
16964 typedef __complex__ float float_type;
16965 typedef __complex__ double double_type;
16966 typedef __complex__ long double ld_type;
16967 volatile float_type tmpf;
16968 volatile double_type tmpd;
16969 volatile ld_type tmpld;
16970 volatile float f;
16971 volatile double d;
16972 volatile long double ld;
16974 main ()
16976 f = cabsf(tmpf);
16977 f = cargf(tmpf);
16978 tmpf = ccosf(tmpf);
16979 tmpf = ccoshf(tmpf);
16980 tmpf = cexpf(tmpf);
16981 tmpf = clogf(tmpf);
16982 tmpf = csinf(tmpf);
16983 tmpf = csinhf(tmpf);
16984 tmpf = csqrtf(tmpf);
16985 tmpf = ctanf(tmpf);
16986 tmpf = ctanhf(tmpf);
16987 tmpf = cpowf(tmpf, tmpf);
16988 tmpf = cprojf(tmpf);
16989 d = cabs(tmpd);
16990 d = carg(tmpd);
16991 tmpd = ccos(tmpd);
16992 tmpd = ccosh(tmpd);
16993 tmpd = cexp(tmpd);
16994 tmpd = clog(tmpd);
16995 tmpd = csin(tmpd);
16996 tmpd = csinh(tmpd);
16997 tmpd = csqrt(tmpd);
16998 tmpd = ctan(tmpd);
16999 tmpd = ctanh(tmpd);
17000 tmpd = cpow(tmpd, tmpd);
17001 tmpd = cproj(tmpd);
17002 ld = cabsl(tmpld);
17003 ld = cargl(tmpld);
17004 tmpld = ccosl(tmpld);
17005 tmpld = ccoshl(tmpld);
17006 tmpld = cexpl(tmpld);
17007 tmpld = clogl(tmpld);
17008 tmpld = csinl(tmpld);
17009 tmpld = csinhl(tmpld);
17010 tmpld = csqrtl(tmpld);
17011 tmpld = ctanl(tmpld);
17012 tmpld = ctanhl(tmpld);
17013 tmpld = cpowl(tmpld, tmpld);
17014 tmpld = cprojl(tmpld);
17017 return 0;
17019 _ACEOF
17020 if ac_fn_cxx_try_link "$LINENO"; then :
17021 glibcxx_cv_c99_complex=yes
17022 else
17023 glibcxx_cv_c99_complex=no
17025 rm -f core conftest.err conftest.$ac_objext \
17026 conftest$ac_exeext conftest.$ac_ext
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
17030 $as_echo "$glibcxx_cv_c99_complex" >&6; }
17031 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
17033 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
17037 # Check for the existence in <stdio.h> of vscanf, et. al.
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
17039 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
17040 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
17041 $as_echo_n "(cached) " >&6
17042 else
17044 if test x$gcc_no_link = xyes; then
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17047 #include <stdio.h>
17048 #include <stdarg.h>
17049 void foo(char* fmt, ...)
17051 va_list args; va_start(args, fmt);
17052 vfscanf(stderr, "%i", args);
17053 vscanf("%i", args);
17054 vsnprintf(fmt, 0, "%i", args);
17055 vsscanf(fmt, "%i", args);
17056 snprintf(fmt, 0, "%i");
17059 main ()
17063 return 0;
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17067 glibcxx_cv_c99_stdio=yes
17068 else
17069 glibcxx_cv_c99_stdio=no
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072 else
17073 if test x$gcc_no_link = xyes; then
17074 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17078 #include <stdio.h>
17079 #include <stdarg.h>
17080 void foo(char* fmt, ...)
17082 va_list args; va_start(args, fmt);
17083 vfscanf(stderr, "%i", args);
17084 vscanf("%i", args);
17085 vsnprintf(fmt, 0, "%i", args);
17086 vsscanf(fmt, "%i", args);
17087 snprintf(fmt, 0, "%i");
17090 main ()
17094 return 0;
17096 _ACEOF
17097 if ac_fn_cxx_try_link "$LINENO"; then :
17098 glibcxx_cv_c99_stdio=yes
17099 else
17100 glibcxx_cv_c99_stdio=no
17102 rm -f core conftest.err conftest.$ac_objext \
17103 conftest$ac_exeext conftest.$ac_ext
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
17109 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
17111 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
17113 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
17114 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
17115 $as_echo_n "(cached) " >&6
17116 else
17118 if test x$gcc_no_link = xyes; then
17119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17121 #include <stdlib.h>
17122 volatile float f;
17123 volatile long double ld;
17124 volatile unsigned long long ll;
17125 lldiv_t mydivt;
17127 main ()
17129 char* tmp;
17130 f = strtof("gnu", &tmp);
17131 ld = strtold("gnu", &tmp);
17132 ll = strtoll("gnu", &tmp, 10);
17133 ll = strtoull("gnu", &tmp, 10);
17134 ll = llabs(10);
17135 mydivt = lldiv(10,1);
17136 ll = mydivt.quot;
17137 ll = mydivt.rem;
17138 ll = atoll("10");
17139 _Exit(0);
17142 return 0;
17144 _ACEOF
17145 if ac_fn_cxx_try_compile "$LINENO"; then :
17146 glibcxx_cv_c99_stdlib=yes
17147 else
17148 glibcxx_cv_c99_stdlib=no
17150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17151 else
17152 if test x$gcc_no_link = xyes; then
17153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17157 #include <stdlib.h>
17158 volatile float f;
17159 volatile long double ld;
17160 volatile unsigned long long ll;
17161 lldiv_t mydivt;
17163 main ()
17165 char* tmp;
17166 f = strtof("gnu", &tmp);
17167 ld = strtold("gnu", &tmp);
17168 ll = strtoll("gnu", &tmp, 10);
17169 ll = strtoull("gnu", &tmp, 10);
17170 ll = llabs(10);
17171 mydivt = lldiv(10,1);
17172 ll = mydivt.quot;
17173 ll = mydivt.rem;
17174 ll = atoll("10");
17175 _Exit(0);
17178 return 0;
17180 _ACEOF
17181 if ac_fn_cxx_try_link "$LINENO"; then :
17182 glibcxx_cv_c99_stdlib=yes
17183 else
17184 glibcxx_cv_c99_stdlib=no
17186 rm -f core conftest.err conftest.$ac_objext \
17187 conftest$ac_exeext conftest.$ac_ext
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17193 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17195 # Check for the existence in <wchar.h> of wcstold, etc.
17196 glibcxx_cv_c99_wchar=no;
17197 if test x"$ac_has_wchar_h" = xyes &&
17198 test x"$ac_has_wctype_h" = xyes; then
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17200 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17202 /* end confdefs.h. */
17203 #include <wchar.h>
17204 namespace test
17206 using ::wcstold;
17207 using ::wcstoll;
17208 using ::wcstoull;
17212 main ()
17216 return 0;
17218 _ACEOF
17219 if ac_fn_cxx_try_compile "$LINENO"; then :
17220 glibcxx_cv_c99_wchar=yes
17221 else
17222 glibcxx_cv_c99_wchar=no
17224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17226 # Checks for wide character functions that may not be present.
17227 # Injection of these is wrapped with guard macros.
17228 # NB: only put functions here, instead of immediately above, if
17229 # absolutely necessary.
17230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17231 /* end confdefs.h. */
17232 #include <wchar.h>
17233 namespace test { using ::vfwscanf; }
17235 main ()
17239 return 0;
17241 _ACEOF
17242 if ac_fn_cxx_try_compile "$LINENO"; then :
17244 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17251 #include <wchar.h>
17252 namespace test { using ::vswscanf; }
17254 main ()
17258 return 0;
17260 _ACEOF
17261 if ac_fn_cxx_try_compile "$LINENO"; then :
17263 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17269 /* end confdefs.h. */
17270 #include <wchar.h>
17271 namespace test { using ::vwscanf; }
17273 main ()
17277 return 0;
17279 _ACEOF
17280 if ac_fn_cxx_try_compile "$LINENO"; then :
17282 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17289 #include <wchar.h>
17290 namespace test { using ::wcstof; }
17292 main ()
17296 return 0;
17298 _ACEOF
17299 if ac_fn_cxx_try_compile "$LINENO"; then :
17301 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 #include <wctype.h>
17310 main ()
17312 wint_t t; int i = iswblank(t);
17314 return 0;
17316 _ACEOF
17317 if ac_fn_cxx_try_compile "$LINENO"; then :
17319 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17325 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17328 # Option parsed, now set things appropriately.
17329 if test x"$glibcxx_cv_c99_math" = x"no" ||
17330 test x"$glibcxx_cv_c99_complex" = x"no" ||
17331 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17332 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17333 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17334 enable_c99=no;
17335 else
17337 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17341 gcc_no_link="$ac_save_gcc_no_link"
17342 LIBS="$ac_save_LIBS"
17343 CXXFLAGS="$ac_save_CXXFLAGS"
17344 ac_ext=c
17345 ac_cpp='$CPP $CPPFLAGS'
17346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17353 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17355 $as_echo "$enable_c99" >&6; }
17358 # Check whether --enable-concept-checks was given.
17359 if test "${enable_concept_checks+set}" = set; then :
17360 enableval=$enable_concept_checks;
17361 case "$enableval" in
17362 yes|no) ;;
17363 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17364 esac
17366 else
17367 enable_concept_checks=no
17371 if test $enable_concept_checks = yes; then
17373 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17378 # Check whether --enable-libstdcxx-debug-flags was given.
17379 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17380 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17381 xno | x) enable_libstdcxx_debug_flags= ;;
17382 x-*) ;;
17383 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17384 esac
17385 else
17386 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17391 # Option parsed, now set things appropriately
17392 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17396 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17400 $as_echo_n "checking for additional debug build... " >&6; }
17401 # Check whether --enable-libstdcxx-debug was given.
17402 if test "${enable_libstdcxx_debug+set}" = set; then :
17403 enableval=$enable_libstdcxx_debug;
17404 case "$enableval" in
17405 yes|no) ;;
17406 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17407 esac
17409 else
17410 enable_libstdcxx_debug=no
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17415 $as_echo "$enable_libstdcxx_debug" >&6; }
17420 enable_parallel=no;
17422 # See if configured libgomp/omp.h exists. (libgomp may be in
17423 # noconfigdirs but not explicitly disabled.)
17424 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17425 enable_parallel=yes;
17426 else
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17428 $as_echo "$as_me: target-libgomp not built" >&6;}
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17432 $as_echo_n "checking for parallel mode support... " >&6; }
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17434 $as_echo "$enable_parallel" >&6; }
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17437 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17438 # Check whether --enable-cxx-flags was given.
17439 if test "${enable_cxx_flags+set}" = set; then :
17440 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17441 xno | x) enable_cxx_flags= ;;
17442 x-*) ;;
17443 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17444 esac
17445 else
17446 enable_cxx_flags=
17451 # Run through flags (either default or command-line) and set anything
17452 # extra (e.g., #defines) that must accompany particular g++ options.
17453 if test -n "$enable_cxx_flags"; then
17454 for f in $enable_cxx_flags; do
17455 case "$f" in
17456 -fhonor-std) ;;
17457 -*) ;;
17458 *) # and we're trying to pass /what/ exactly?
17459 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17460 esac
17461 done
17464 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17466 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17470 # Check whether --enable-fully-dynamic-string was given.
17471 if test "${enable_fully_dynamic_string+set}" = set; then :
17472 enableval=$enable_fully_dynamic_string;
17473 case "$enableval" in
17474 yes|no) ;;
17475 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17476 esac
17478 else
17479 enable_fully_dynamic_string=no
17483 if test $enable_fully_dynamic_string = yes; then
17484 enable_fully_dynamic_string_def=1
17485 else
17486 enable_fully_dynamic_string_def=0
17489 cat >>confdefs.h <<_ACEOF
17490 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17491 _ACEOF
17496 # Check whether --enable-extern-template was given.
17497 if test "${enable_extern_template+set}" = set; then :
17498 enableval=$enable_extern_template;
17499 case "$enableval" in
17500 yes|no) ;;
17501 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17502 esac
17504 else
17505 enable_extern_template=yes
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17511 $as_echo_n "checking for extern template support... " >&6; }
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17513 $as_echo "$enable_extern_template" >&6; }
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17520 $as_echo_n "checking for custom python install directory... " >&6; }
17522 # Check whether --with-python-dir was given.
17523 if test "${with_python_dir+set}" = set; then :
17524 withval=$with_python_dir; with_python_dir=$withval
17525 else
17526 with_python_dir="no"
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17530 $as_echo "${with_python_dir}" >&6; }
17532 # Needed for installing Python modules during make install.
17533 python_mod_dir="${with_python_dir}"
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17539 $as_echo_n "checking for -Werror... " >&6; }
17540 # Check whether --enable-werror was given.
17541 if test "${enable_werror+set}" = set; then :
17542 enableval=$enable_werror;
17543 case "$enableval" in
17544 yes|no) ;;
17545 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17546 esac
17548 else
17549 enable_werror=yes
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17554 $as_echo "$enable_werror" >&6; }
17559 # Check whether --enable-vtable-verify was given.
17560 if test "${enable_vtable_verify+set}" = set; then :
17561 enableval=$enable_vtable_verify;
17562 case "$enableval" in
17563 yes|no) ;;
17564 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17565 esac
17567 else
17568 enable_vtable_verify=no
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17574 $as_echo_n "checking for vtable verify support... " >&6; }
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17576 $as_echo "$enable_vtable_verify" >&6; }
17578 vtv_cygmin=no
17579 if test $enable_vtable_verify = yes; then
17580 case ${target_os} in
17581 cygwin*|mingw32*)
17582 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17583 vtv_cygmin=yes
17586 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17588 esac
17589 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17590 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17591 else
17592 VTV_CXXFLAGS=
17593 VTV_PCH_CXXFLAGS=
17594 VTV_CXXLINKFLAGS=
17600 if test x$vtv_cygmin = xyes; then
17601 VTV_CYGMIN_TRUE=
17602 VTV_CYGMIN_FALSE='#'
17603 else
17604 VTV_CYGMIN_TRUE='#'
17605 VTV_CYGMIN_FALSE=
17611 # Checks for operating systems support that doesn't require linking.
17615 ac_ext=cpp
17616 ac_cpp='$CXXCPP $CPPFLAGS'
17617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17623 $as_echo_n "checking for gets declaration... " >&6; }
17624 if test "${glibcxx_cv_gets+set}" = set; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 #include <stdio.h>
17631 namespace test
17633 using ::gets;
17636 _ACEOF
17637 if ac_fn_cxx_try_compile "$LINENO"; then :
17638 glibcxx_cv_gets=yes
17639 else
17640 glibcxx_cv_gets=no
17643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17647 if test $glibcxx_cv_gets = yes; then
17649 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17653 $as_echo "$glibcxx_cv_gets" >&6; }
17655 ac_ext=c
17656 ac_cpp='$CPP $CPPFLAGS'
17657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17665 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17666 if test "${glibcxx_cv_system_error1+set}" = set; then :
17667 $as_echo_n "(cached) " >&6
17668 else
17670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17672 #include <errno.h>
17674 main ()
17676 int i = EOWNERDEAD;
17678 return 0;
17680 _ACEOF
17681 if ac_fn_c_try_compile "$LINENO"; then :
17682 glibcxx_cv_system_error1=yes
17683 else
17684 glibcxx_cv_system_error1=no
17686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17691 $as_echo "$glibcxx_cv_system_error1" >&6; }
17692 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17694 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17698 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17699 if test "${glibcxx_cv_system_error2+set}" = set; then :
17700 $as_echo_n "(cached) " >&6
17701 else
17703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17704 /* end confdefs.h. */
17705 #include <errno.h>
17707 main ()
17709 int i = ENOTRECOVERABLE;
17711 return 0;
17713 _ACEOF
17714 if ac_fn_c_try_compile "$LINENO"; then :
17715 glibcxx_cv_system_error2=yes
17716 else
17717 glibcxx_cv_system_error2=no
17719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17724 $as_echo "$glibcxx_cv_system_error2" >&6; }
17725 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17727 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17731 $as_echo_n "checking for ENOLINK... " >&6; }
17732 if test "${glibcxx_cv_system_error3+set}" = set; then :
17733 $as_echo_n "(cached) " >&6
17734 else
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h. */
17738 #include <errno.h>
17740 main ()
17742 int i = ENOLINK;
17744 return 0;
17746 _ACEOF
17747 if ac_fn_c_try_compile "$LINENO"; then :
17748 glibcxx_cv_system_error3=yes
17749 else
17750 glibcxx_cv_system_error3=no
17752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17757 $as_echo "$glibcxx_cv_system_error3" >&6; }
17758 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17760 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17764 $as_echo_n "checking for EPROTO... " >&6; }
17765 if test "${glibcxx_cv_system_error4+set}" = set; then :
17766 $as_echo_n "(cached) " >&6
17767 else
17769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17770 /* end confdefs.h. */
17771 #include <errno.h>
17773 main ()
17775 int i = EPROTO;
17777 return 0;
17779 _ACEOF
17780 if ac_fn_c_try_compile "$LINENO"; then :
17781 glibcxx_cv_system_error4=yes
17782 else
17783 glibcxx_cv_system_error4=no
17785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17790 $as_echo "$glibcxx_cv_system_error4" >&6; }
17791 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17793 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17797 $as_echo_n "checking for ENODATA... " >&6; }
17798 if test "${glibcxx_cv_system_error5+set}" = set; then :
17799 $as_echo_n "(cached) " >&6
17800 else
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17804 #include <errno.h>
17806 main ()
17808 int i = ENODATA;
17810 return 0;
17812 _ACEOF
17813 if ac_fn_c_try_compile "$LINENO"; then :
17814 glibcxx_cv_system_error5=yes
17815 else
17816 glibcxx_cv_system_error5=no
17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17823 $as_echo "$glibcxx_cv_system_error5" >&6; }
17824 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17826 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17830 $as_echo_n "checking for ENOSR... " >&6; }
17831 if test "${glibcxx_cv_system_error6+set}" = set; then :
17832 $as_echo_n "(cached) " >&6
17833 else
17835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17837 #include <errno.h>
17839 main ()
17841 int i = ENOSR;
17843 return 0;
17845 _ACEOF
17846 if ac_fn_c_try_compile "$LINENO"; then :
17847 glibcxx_cv_system_error6=yes
17848 else
17849 glibcxx_cv_system_error6=no
17851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17856 $as_echo "$glibcxx_cv_system_error6" >&6; }
17857 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17859 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17863 $as_echo_n "checking for ENOSTR... " >&6; }
17864 if test "${glibcxx_cv_system_error7+set}" = set; then :
17865 $as_echo_n "(cached) " >&6
17866 else
17868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17869 /* end confdefs.h. */
17870 #include <errno.h>
17872 main ()
17874 int i = ENOSTR;
17876 return 0;
17878 _ACEOF
17879 if ac_fn_c_try_compile "$LINENO"; then :
17880 glibcxx_cv_system_error7=yes
17881 else
17882 glibcxx_cv_system_error7=no
17884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17889 $as_echo "$glibcxx_cv_system_error7" >&6; }
17890 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17892 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17896 $as_echo_n "checking for ETIME... " >&6; }
17897 if test "${glibcxx_cv_system_error8+set}" = set; then :
17898 $as_echo_n "(cached) " >&6
17899 else
17901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17902 /* end confdefs.h. */
17903 #include <errno.h>
17905 main ()
17907 int i = ETIME;
17909 return 0;
17911 _ACEOF
17912 if ac_fn_c_try_compile "$LINENO"; then :
17913 glibcxx_cv_system_error8=yes
17914 else
17915 glibcxx_cv_system_error8=no
17917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17922 $as_echo "$glibcxx_cv_system_error8" >&6; }
17923 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17925 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17929 $as_echo_n "checking for EBADMSG... " >&6; }
17930 if test "${glibcxx_cv_system_error9+set}" = set; then :
17931 $as_echo_n "(cached) " >&6
17932 else
17934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17935 /* end confdefs.h. */
17936 #include <errno.h>
17938 main ()
17940 int i = EBADMSG;
17942 return 0;
17944 _ACEOF
17945 if ac_fn_c_try_compile "$LINENO"; then :
17946 glibcxx_cv_system_error9=yes
17947 else
17948 glibcxx_cv_system_error9=no
17950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17955 $as_echo "$glibcxx_cv_system_error9" >&6; }
17956 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17958 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17962 $as_echo_n "checking for ECANCELED... " >&6; }
17963 if test "${glibcxx_cv_system_error10+set}" = set; then :
17964 $as_echo_n "(cached) " >&6
17965 else
17967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17968 /* end confdefs.h. */
17969 #include <errno.h>
17971 main ()
17973 int i = ECANCELED;
17975 return 0;
17977 _ACEOF
17978 if ac_fn_c_try_compile "$LINENO"; then :
17979 glibcxx_cv_system_error10=yes
17980 else
17981 glibcxx_cv_system_error10=no
17983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17988 $as_echo "$glibcxx_cv_system_error10" >&6; }
17989 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17991 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17995 $as_echo_n "checking for EOVERFLOW... " >&6; }
17996 if test "${glibcxx_cv_system_error11+set}" = set; then :
17997 $as_echo_n "(cached) " >&6
17998 else
18000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18001 /* end confdefs.h. */
18002 #include <errno.h>
18004 main ()
18006 int i = EOVERFLOW;
18008 return 0;
18010 _ACEOF
18011 if ac_fn_c_try_compile "$LINENO"; then :
18012 glibcxx_cv_system_error11=yes
18013 else
18014 glibcxx_cv_system_error11=no
18016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18021 $as_echo "$glibcxx_cv_system_error11" >&6; }
18022 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18024 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18028 $as_echo_n "checking for ENOTSUP... " >&6; }
18029 if test "${glibcxx_cv_system_error12+set}" = set; then :
18030 $as_echo_n "(cached) " >&6
18031 else
18033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18035 #include <errno.h>
18037 main ()
18039 int i = ENOTSUP;
18041 return 0;
18043 _ACEOF
18044 if ac_fn_c_try_compile "$LINENO"; then :
18045 glibcxx_cv_system_error12=yes
18046 else
18047 glibcxx_cv_system_error12=no
18049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18054 $as_echo "$glibcxx_cv_system_error12" >&6; }
18055 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18057 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18061 $as_echo_n "checking for EIDRM... " >&6; }
18062 if test "${glibcxx_cv_system_error13+set}" = set; then :
18063 $as_echo_n "(cached) " >&6
18064 else
18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18068 #include <errno.h>
18070 main ()
18072 int i = EIDRM;
18074 return 0;
18076 _ACEOF
18077 if ac_fn_c_try_compile "$LINENO"; then :
18078 glibcxx_cv_system_error13=yes
18079 else
18080 glibcxx_cv_system_error13=no
18082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18087 $as_echo "$glibcxx_cv_system_error13" >&6; }
18088 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18090 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18094 $as_echo_n "checking for ETXTBSY... " >&6; }
18095 if test "${glibcxx_cv_system_error14+set}" = set; then :
18096 $as_echo_n "(cached) " >&6
18097 else
18099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18100 /* end confdefs.h. */
18101 #include <errno.h>
18103 main ()
18105 int i = ETXTBSY;
18107 return 0;
18109 _ACEOF
18110 if ac_fn_c_try_compile "$LINENO"; then :
18111 glibcxx_cv_system_error14=yes
18112 else
18113 glibcxx_cv_system_error14=no
18115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18120 $as_echo "$glibcxx_cv_system_error14" >&6; }
18121 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18123 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18127 $as_echo_n "checking for ECHILD... " >&6; }
18128 if test "${glibcxx_cv_system_error15+set}" = set; then :
18129 $as_echo_n "(cached) " >&6
18130 else
18132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18133 /* end confdefs.h. */
18134 #include <errno.h>
18136 main ()
18138 int i = ECHILD;
18140 return 0;
18142 _ACEOF
18143 if ac_fn_c_try_compile "$LINENO"; then :
18144 glibcxx_cv_system_error15=yes
18145 else
18146 glibcxx_cv_system_error15=no
18148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18153 $as_echo "$glibcxx_cv_system_error15" >&6; }
18154 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18156 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18160 $as_echo_n "checking for ENOSPC... " >&6; }
18161 if test "${glibcxx_cv_system_error16+set}" = set; then :
18162 $as_echo_n "(cached) " >&6
18163 else
18165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18167 #include <errno.h>
18169 main ()
18171 int i = ENOSPC;
18173 return 0;
18175 _ACEOF
18176 if ac_fn_c_try_compile "$LINENO"; then :
18177 glibcxx_cv_system_error16=yes
18178 else
18179 glibcxx_cv_system_error16=no
18181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18186 $as_echo "$glibcxx_cv_system_error16" >&6; }
18187 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18189 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18193 $as_echo_n "checking for EPERM... " >&6; }
18194 if test "${glibcxx_cv_system_error17+set}" = set; then :
18195 $as_echo_n "(cached) " >&6
18196 else
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18200 #include <errno.h>
18202 main ()
18204 int i = EPERM;
18206 return 0;
18208 _ACEOF
18209 if ac_fn_c_try_compile "$LINENO"; then :
18210 glibcxx_cv_system_error17=yes
18211 else
18212 glibcxx_cv_system_error17=no
18214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18219 $as_echo "$glibcxx_cv_system_error17" >&6; }
18220 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18222 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18226 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18227 if test "${glibcxx_cv_system_error18+set}" = set; then :
18228 $as_echo_n "(cached) " >&6
18229 else
18231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18232 /* end confdefs.h. */
18233 #include <errno.h>
18235 main ()
18237 int i = ETIMEDOUT;
18239 return 0;
18241 _ACEOF
18242 if ac_fn_c_try_compile "$LINENO"; then :
18243 glibcxx_cv_system_error18=yes
18244 else
18245 glibcxx_cv_system_error18=no
18247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18252 $as_echo "$glibcxx_cv_system_error18" >&6; }
18253 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18255 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18259 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18260 if test "${glibcxx_cv_system_error19+set}" = set; then :
18261 $as_echo_n "(cached) " >&6
18262 else
18264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18265 /* end confdefs.h. */
18266 #include <errno.h>
18268 main ()
18270 int i = EWOULDBLOCK;
18272 return 0;
18274 _ACEOF
18275 if ac_fn_c_try_compile "$LINENO"; then :
18276 glibcxx_cv_system_error19=yes
18277 else
18278 glibcxx_cv_system_error19=no
18280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18285 $as_echo "$glibcxx_cv_system_error19" >&6; }
18286 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18288 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18294 # For the streamoff typedef.
18298 ac_ext=cpp
18299 ac_cpp='$CXXCPP $CPPFLAGS'
18300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18306 $as_echo_n "checking for int64_t... " >&6; }
18307 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18308 $as_echo_n "(cached) " >&6
18309 else
18311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18312 /* end confdefs.h. */
18313 #include <stdint.h>
18315 main ()
18317 int64_t var;
18319 return 0;
18321 _ACEOF
18322 if ac_fn_cxx_try_compile "$LINENO"; then :
18323 glibcxx_cv_INT64_T=yes
18324 else
18325 glibcxx_cv_INT64_T=no
18327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18332 if test $glibcxx_cv_INT64_T = yes; then
18334 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18337 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18340 $as_echo_n "checking for int64_t as long... " >&6; }
18341 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18342 $as_echo_n "(cached) " >&6
18343 else
18345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18346 /* end confdefs.h. */
18347 #include <stdint.h>
18348 template<typename, typename> struct same { enum { value = -1 }; };
18349 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18350 int array[same<int64_t, long>::value];
18352 main ()
18356 return 0;
18358 _ACEOF
18359 if ac_fn_cxx_try_compile "$LINENO"; then :
18360 glibcxx_cv_int64_t_long=yes
18361 else
18362 glibcxx_cv_int64_t_long=no
18364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18369 if test $glibcxx_cv_int64_t_long = yes; then
18371 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18374 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18378 $as_echo_n "checking for int64_t as long long... " >&6; }
18379 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18380 $as_echo_n "(cached) " >&6
18381 else
18383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18384 /* end confdefs.h. */
18385 #include <stdint.h>
18386 template<typename, typename> struct same { enum { value = -1 }; };
18387 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18388 int array[same<int64_t, long long>::value];
18390 main ()
18394 return 0;
18396 _ACEOF
18397 if ac_fn_cxx_try_compile "$LINENO"; then :
18398 glibcxx_cv_int64_t_long_long=yes
18399 else
18400 glibcxx_cv_int64_t_long_long=no
18402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18407 if test $glibcxx_cv_int64_t_long_long = yes; then
18409 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18412 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18416 ac_ext=c
18417 ac_cpp='$CPP $CPPFLAGS'
18418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18424 # For LFS support.
18427 ac_ext=cpp
18428 ac_cpp='$CXXCPP $CPPFLAGS'
18429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18433 ac_save_CXXFLAGS="$CXXFLAGS"
18434 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18436 $as_echo_n "checking for LFS support... " >&6; }
18437 if test "${glibcxx_cv_LFS+set}" = set; then :
18438 $as_echo_n "(cached) " >&6
18439 else
18441 if test x$gcc_no_link = xyes; then
18442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18443 /* end confdefs.h. */
18444 #include <unistd.h>
18445 #include <stdio.h>
18446 #include <sys/stat.h>
18449 main ()
18451 FILE* fp;
18452 fopen64("t", "w");
18453 fseeko64(fp, 0, SEEK_CUR);
18454 ftello64(fp);
18455 lseek64(1, 0, SEEK_CUR);
18456 struct stat64 buf;
18457 fstat64(1, &buf);
18459 return 0;
18461 _ACEOF
18462 if ac_fn_cxx_try_compile "$LINENO"; then :
18463 glibcxx_cv_LFS=yes
18464 else
18465 glibcxx_cv_LFS=no
18467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18468 else
18469 if test x$gcc_no_link = xyes; then
18470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18474 #include <unistd.h>
18475 #include <stdio.h>
18476 #include <sys/stat.h>
18479 main ()
18481 FILE* fp;
18482 fopen64("t", "w");
18483 fseeko64(fp, 0, SEEK_CUR);
18484 ftello64(fp);
18485 lseek64(1, 0, SEEK_CUR);
18486 struct stat64 buf;
18487 fstat64(1, &buf);
18489 return 0;
18491 _ACEOF
18492 if ac_fn_cxx_try_link "$LINENO"; then :
18493 glibcxx_cv_LFS=yes
18494 else
18495 glibcxx_cv_LFS=no
18497 rm -f core conftest.err conftest.$ac_objext \
18498 conftest$ac_exeext conftest.$ac_ext
18503 if test $glibcxx_cv_LFS = yes; then
18505 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18509 $as_echo "$glibcxx_cv_LFS" >&6; }
18510 CXXFLAGS="$ac_save_CXXFLAGS"
18511 ac_ext=c
18512 ac_cpp='$CPP $CPPFLAGS'
18513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18519 # For showmanyc_helper().
18520 for ac_header in sys/ioctl.h sys/filio.h
18521 do :
18522 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18523 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18524 eval as_val=\$$as_ac_Header
18525 if test "x$as_val" = x""yes; then :
18526 cat >>confdefs.h <<_ACEOF
18527 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18528 _ACEOF
18532 done
18537 ac_ext=cpp
18538 ac_cpp='$CXXCPP $CPPFLAGS'
18539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18543 ac_save_CXXFLAGS="$CXXFLAGS"
18544 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18547 $as_echo_n "checking for poll... " >&6; }
18548 if test "${glibcxx_cv_POLL+set}" = set; then :
18549 $as_echo_n "(cached) " >&6
18550 else
18552 if test x$gcc_no_link = xyes; then
18553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18554 /* end confdefs.h. */
18555 #include <poll.h>
18557 main ()
18559 struct pollfd pfd[1];
18560 pfd[0].events = POLLIN;
18561 poll(pfd, 1, 0);
18563 return 0;
18565 _ACEOF
18566 if ac_fn_cxx_try_compile "$LINENO"; then :
18567 glibcxx_cv_POLL=yes
18568 else
18569 glibcxx_cv_POLL=no
18571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18572 else
18573 if test x$gcc_no_link = xyes; then
18574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18578 #include <poll.h>
18580 main ()
18582 struct pollfd pfd[1];
18583 pfd[0].events = POLLIN;
18584 poll(pfd, 1, 0);
18586 return 0;
18588 _ACEOF
18589 if ac_fn_cxx_try_link "$LINENO"; then :
18590 glibcxx_cv_POLL=yes
18591 else
18592 glibcxx_cv_POLL=no
18594 rm -f core conftest.err conftest.$ac_objext \
18595 conftest$ac_exeext conftest.$ac_ext
18600 if test $glibcxx_cv_POLL = yes; then
18602 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18606 $as_echo "$glibcxx_cv_POLL" >&6; }
18608 CXXFLAGS="$ac_save_CXXFLAGS"
18609 ac_ext=c
18610 ac_cpp='$CPP $CPPFLAGS'
18611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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 S_ISREG or S_IFREG" >&5
18629 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18630 if test "${glibcxx_cv_S_ISREG+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/stat.h>
18639 main ()
18641 struct stat buffer;
18642 fstat(0, &buffer);
18643 S_ISREG(buffer.st_mode);
18645 return 0;
18647 _ACEOF
18648 if ac_fn_cxx_try_compile "$LINENO"; then :
18649 glibcxx_cv_S_ISREG=yes
18650 else
18651 glibcxx_cv_S_ISREG=no
18653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18654 else
18655 if test x$gcc_no_link = xyes; then
18656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18660 #include <sys/stat.h>
18662 main ()
18664 struct stat buffer;
18665 fstat(0, &buffer);
18666 S_ISREG(buffer.st_mode);
18668 return 0;
18670 _ACEOF
18671 if ac_fn_cxx_try_link "$LINENO"; then :
18672 glibcxx_cv_S_ISREG=yes
18673 else
18674 glibcxx_cv_S_ISREG=no
18676 rm -f core conftest.err conftest.$ac_objext \
18677 conftest$ac_exeext conftest.$ac_ext
18682 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18683 $as_echo_n "(cached) " >&6
18684 else
18686 if test x$gcc_no_link = xyes; then
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18689 #include <sys/stat.h>
18691 main ()
18693 struct stat buffer;
18694 fstat(0, &buffer);
18695 S_IFREG & buffer.st_mode;
18697 return 0;
18699 _ACEOF
18700 if ac_fn_cxx_try_compile "$LINENO"; then :
18701 glibcxx_cv_S_IFREG=yes
18702 else
18703 glibcxx_cv_S_IFREG=no
18705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18706 else
18707 if test x$gcc_no_link = xyes; then
18708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18711 /* end confdefs.h. */
18712 #include <sys/stat.h>
18714 main ()
18716 struct stat buffer;
18717 fstat(0, &buffer);
18718 S_IFREG & buffer.st_mode;
18720 return 0;
18722 _ACEOF
18723 if ac_fn_cxx_try_link "$LINENO"; then :
18724 glibcxx_cv_S_IFREG=yes
18725 else
18726 glibcxx_cv_S_IFREG=no
18728 rm -f core conftest.err conftest.$ac_objext \
18729 conftest$ac_exeext conftest.$ac_ext
18734 res=no
18735 if test $glibcxx_cv_S_ISREG = yes; then
18737 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18739 res=S_ISREG
18740 elif test $glibcxx_cv_S_IFREG = yes; then
18742 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18744 res=S_IFREG
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18747 $as_echo "$res" >&6; }
18749 CXXFLAGS="$ac_save_CXXFLAGS"
18750 ac_ext=c
18751 ac_cpp='$CPP $CPPFLAGS'
18752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18758 # For xsputn_2().
18759 for ac_header in sys/uio.h
18760 do :
18761 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18762 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18763 cat >>confdefs.h <<_ACEOF
18764 #define HAVE_SYS_UIO_H 1
18765 _ACEOF
18769 done
18774 ac_ext=cpp
18775 ac_cpp='$CXXCPP $CPPFLAGS'
18776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18780 ac_save_CXXFLAGS="$CXXFLAGS"
18781 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18784 $as_echo_n "checking for writev... " >&6; }
18785 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18786 $as_echo_n "(cached) " >&6
18787 else
18789 if test x$gcc_no_link = xyes; then
18790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18791 /* end confdefs.h. */
18792 #include <sys/uio.h>
18794 main ()
18796 struct iovec iov[2];
18797 writev(0, iov, 0);
18799 return 0;
18801 _ACEOF
18802 if ac_fn_cxx_try_compile "$LINENO"; then :
18803 glibcxx_cv_WRITEV=yes
18804 else
18805 glibcxx_cv_WRITEV=no
18807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18808 else
18809 if test x$gcc_no_link = xyes; then
18810 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814 #include <sys/uio.h>
18816 main ()
18818 struct iovec iov[2];
18819 writev(0, iov, 0);
18821 return 0;
18823 _ACEOF
18824 if ac_fn_cxx_try_link "$LINENO"; then :
18825 glibcxx_cv_WRITEV=yes
18826 else
18827 glibcxx_cv_WRITEV=no
18829 rm -f core conftest.err conftest.$ac_objext \
18830 conftest$ac_exeext conftest.$ac_ext
18835 if test $glibcxx_cv_WRITEV = yes; then
18837 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18841 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18843 CXXFLAGS="$ac_save_CXXFLAGS"
18844 ac_ext=c
18845 ac_cpp='$CPP $CPPFLAGS'
18846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18852 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18853 # so that the check is done with the C compiler (not C++).
18854 # Checking with C++ can break a canadian cross build if either
18855 # file does not exist in C but does in C++.
18856 for ac_header in fenv.h complex.h
18857 do :
18858 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18859 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18860 eval as_val=\$$as_ac_Header
18861 if test "x$as_val" = x""yes; then :
18862 cat >>confdefs.h <<_ACEOF
18863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18864 _ACEOF
18868 done
18871 # For C99 support to TR1.
18875 ac_ext=cpp
18876 ac_cpp='$CXXCPP $CPPFLAGS'
18877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18882 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18883 # undefined and fake C99 facilities may be spuriously enabled.
18884 ac_save_CXXFLAGS="$CXXFLAGS"
18885 CXXFLAGS="$CXXFLAGS -std=c++98"
18887 # Check for the existence of <complex.h> complex math functions used
18888 # by tr1/complex.
18889 for ac_header in complex.h
18890 do :
18891 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18892 if test "x$ac_cv_header_complex_h" = x""yes; then :
18893 cat >>confdefs.h <<_ACEOF
18894 #define HAVE_COMPLEX_H 1
18895 _ACEOF
18896 ac_has_complex_h=yes
18897 else
18898 ac_has_complex_h=no
18901 done
18903 ac_c99_complex_tr1=no;
18904 if test x"$ac_has_complex_h" = x"yes"; then
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18906 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18908 /* end confdefs.h. */
18909 #include <complex.h>
18911 main ()
18913 typedef __complex__ float float_type; float_type tmpf;
18914 cacosf(tmpf);
18915 casinf(tmpf);
18916 catanf(tmpf);
18917 cacoshf(tmpf);
18918 casinhf(tmpf);
18919 catanhf(tmpf);
18920 typedef __complex__ double double_type; double_type tmpd;
18921 cacos(tmpd);
18922 casin(tmpd);
18923 catan(tmpd);
18924 cacosh(tmpd);
18925 casinh(tmpd);
18926 catanh(tmpd);
18927 typedef __complex__ long double ld_type; ld_type tmpld;
18928 cacosl(tmpld);
18929 casinl(tmpld);
18930 catanl(tmpld);
18931 cacoshl(tmpld);
18932 casinhl(tmpld);
18933 catanhl(tmpld);
18936 return 0;
18938 _ACEOF
18939 if ac_fn_cxx_try_compile "$LINENO"; then :
18940 ac_c99_complex_tr1=yes
18941 else
18942 ac_c99_complex_tr1=no
18944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18947 $as_echo "$ac_c99_complex_tr1" >&6; }
18948 if test x"$ac_c99_complex_tr1" = x"yes"; then
18950 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18954 # Check for the existence of <ctype.h> functions.
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18956 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18957 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18958 $as_echo_n "(cached) " >&6
18959 else
18961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18962 /* end confdefs.h. */
18963 #include <ctype.h>
18965 main ()
18967 int ch;
18968 int ret;
18969 ret = isblank(ch);
18972 return 0;
18974 _ACEOF
18975 if ac_fn_cxx_try_compile "$LINENO"; then :
18976 glibcxx_cv_c99_ctype_tr1=yes
18977 else
18978 glibcxx_cv_c99_ctype_tr1=no
18980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18985 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18986 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18988 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18992 # Check for the existence of <fenv.h> functions.
18993 for ac_header in fenv.h
18994 do :
18995 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18996 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18997 cat >>confdefs.h <<_ACEOF
18998 #define HAVE_FENV_H 1
18999 _ACEOF
19000 ac_has_fenv_h=yes
19001 else
19002 ac_has_fenv_h=no
19005 done
19007 ac_c99_fenv_tr1=no;
19008 if test x"$ac_has_fenv_h" = x"yes"; then
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19010 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19012 /* end confdefs.h. */
19013 #include <fenv.h>
19015 main ()
19017 int except, mode;
19018 fexcept_t* pflag;
19019 fenv_t* penv;
19020 int ret;
19021 ret = feclearexcept(except);
19022 ret = fegetexceptflag(pflag, except);
19023 ret = feraiseexcept(except);
19024 ret = fesetexceptflag(pflag, except);
19025 ret = fetestexcept(except);
19026 ret = fegetround();
19027 ret = fesetround(mode);
19028 ret = fegetenv(penv);
19029 ret = feholdexcept(penv);
19030 ret = fesetenv(penv);
19031 ret = feupdateenv(penv);
19034 return 0;
19036 _ACEOF
19037 if ac_fn_cxx_try_compile "$LINENO"; then :
19038 ac_c99_fenv_tr1=yes
19039 else
19040 ac_c99_fenv_tr1=no
19042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19045 $as_echo "$ac_c99_fenv_tr1" >&6; }
19046 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19048 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19052 # Check for the existence of <stdint.h> types.
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19054 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19055 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19056 $as_echo_n "(cached) " >&6
19057 else
19059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19061 #define __STDC_LIMIT_MACROS
19062 #define __STDC_CONSTANT_MACROS
19063 #include <stdint.h>
19065 main ()
19067 typedef int8_t my_int8_t;
19068 my_int8_t i8 = INT8_MIN;
19069 i8 = INT8_MAX;
19070 typedef int16_t my_int16_t;
19071 my_int16_t i16 = INT16_MIN;
19072 i16 = INT16_MAX;
19073 typedef int32_t my_int32_t;
19074 my_int32_t i32 = INT32_MIN;
19075 i32 = INT32_MAX;
19076 typedef int64_t my_int64_t;
19077 my_int64_t i64 = INT64_MIN;
19078 i64 = INT64_MAX;
19079 typedef int_fast8_t my_int_fast8_t;
19080 my_int_fast8_t if8 = INT_FAST8_MIN;
19081 if8 = INT_FAST8_MAX;
19082 typedef int_fast16_t my_int_fast16_t;
19083 my_int_fast16_t if16 = INT_FAST16_MIN;
19084 if16 = INT_FAST16_MAX;
19085 typedef int_fast32_t my_int_fast32_t;
19086 my_int_fast32_t if32 = INT_FAST32_MIN;
19087 if32 = INT_FAST32_MAX;
19088 typedef int_fast64_t my_int_fast64_t;
19089 my_int_fast64_t if64 = INT_FAST64_MIN;
19090 if64 = INT_FAST64_MAX;
19091 typedef int_least8_t my_int_least8_t;
19092 my_int_least8_t il8 = INT_LEAST8_MIN;
19093 il8 = INT_LEAST8_MAX;
19094 typedef int_least16_t my_int_least16_t;
19095 my_int_least16_t il16 = INT_LEAST16_MIN;
19096 il16 = INT_LEAST16_MAX;
19097 typedef int_least32_t my_int_least32_t;
19098 my_int_least32_t il32 = INT_LEAST32_MIN;
19099 il32 = INT_LEAST32_MAX;
19100 typedef int_least64_t my_int_least64_t;
19101 my_int_least64_t il64 = INT_LEAST64_MIN;
19102 il64 = INT_LEAST64_MAX;
19103 typedef intmax_t my_intmax_t;
19104 my_intmax_t im = INTMAX_MAX;
19105 im = INTMAX_MIN;
19106 typedef intptr_t my_intptr_t;
19107 my_intptr_t ip = INTPTR_MAX;
19108 ip = INTPTR_MIN;
19109 typedef uint8_t my_uint8_t;
19110 my_uint8_t ui8 = UINT8_MAX;
19111 ui8 = UINT8_MAX;
19112 typedef uint16_t my_uint16_t;
19113 my_uint16_t ui16 = UINT16_MAX;
19114 ui16 = UINT16_MAX;
19115 typedef uint32_t my_uint32_t;
19116 my_uint32_t ui32 = UINT32_MAX;
19117 ui32 = UINT32_MAX;
19118 typedef uint64_t my_uint64_t;
19119 my_uint64_t ui64 = UINT64_MAX;
19120 ui64 = UINT64_MAX;
19121 typedef uint_fast8_t my_uint_fast8_t;
19122 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19123 uif8 = UINT_FAST8_MAX;
19124 typedef uint_fast16_t my_uint_fast16_t;
19125 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19126 uif16 = UINT_FAST16_MAX;
19127 typedef uint_fast32_t my_uint_fast32_t;
19128 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19129 uif32 = UINT_FAST32_MAX;
19130 typedef uint_fast64_t my_uint_fast64_t;
19131 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19132 uif64 = UINT_FAST64_MAX;
19133 typedef uint_least8_t my_uint_least8_t;
19134 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19135 uil8 = UINT_LEAST8_MAX;
19136 typedef uint_least16_t my_uint_least16_t;
19137 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19138 uil16 = UINT_LEAST16_MAX;
19139 typedef uint_least32_t my_uint_least32_t;
19140 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19141 uil32 = UINT_LEAST32_MAX;
19142 typedef uint_least64_t my_uint_least64_t;
19143 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19144 uil64 = UINT_LEAST64_MAX;
19145 typedef uintmax_t my_uintmax_t;
19146 my_uintmax_t uim = UINTMAX_MAX;
19147 uim = UINTMAX_MAX;
19148 typedef uintptr_t my_uintptr_t;
19149 my_uintptr_t uip = UINTPTR_MAX;
19150 uip = UINTPTR_MAX;
19153 return 0;
19155 _ACEOF
19156 if ac_fn_cxx_try_compile "$LINENO"; then :
19157 glibcxx_cv_c99_stdint_tr1=yes
19158 else
19159 glibcxx_cv_c99_stdint_tr1=no
19161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19166 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19167 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19169 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19173 # Check for the existence of <math.h> functions.
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19175 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19176 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19177 $as_echo_n "(cached) " >&6
19178 else
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h. */
19182 #include <math.h>
19184 main ()
19186 typedef double_t my_double_t;
19187 typedef float_t my_float_t;
19188 acosh(0.0);
19189 acoshf(0.0f);
19190 acoshl(0.0l);
19191 asinh(0.0);
19192 asinhf(0.0f);
19193 asinhl(0.0l);
19194 atanh(0.0);
19195 atanhf(0.0f);
19196 atanhl(0.0l);
19197 cbrt(0.0);
19198 cbrtf(0.0f);
19199 cbrtl(0.0l);
19200 copysign(0.0, 0.0);
19201 copysignf(0.0f, 0.0f);
19202 copysignl(0.0l, 0.0l);
19203 erf(0.0);
19204 erff(0.0f);
19205 erfl(0.0l);
19206 erfc(0.0);
19207 erfcf(0.0f);
19208 erfcl(0.0l);
19209 exp2(0.0);
19210 exp2f(0.0f);
19211 exp2l(0.0l);
19212 expm1(0.0);
19213 expm1f(0.0f);
19214 expm1l(0.0l);
19215 fdim(0.0, 0.0);
19216 fdimf(0.0f, 0.0f);
19217 fdiml(0.0l, 0.0l);
19218 fma(0.0, 0.0, 0.0);
19219 fmaf(0.0f, 0.0f, 0.0f);
19220 fmal(0.0l, 0.0l, 0.0l);
19221 fmax(0.0, 0.0);
19222 fmaxf(0.0f, 0.0f);
19223 fmaxl(0.0l, 0.0l);
19224 fmin(0.0, 0.0);
19225 fminf(0.0f, 0.0f);
19226 fminl(0.0l, 0.0l);
19227 hypot(0.0, 0.0);
19228 hypotf(0.0f, 0.0f);
19229 hypotl(0.0l, 0.0l);
19230 ilogb(0.0);
19231 ilogbf(0.0f);
19232 ilogbl(0.0l);
19233 lgamma(0.0);
19234 lgammaf(0.0f);
19235 lgammal(0.0l);
19236 llrint(0.0);
19237 llrintf(0.0f);
19238 llrintl(0.0l);
19239 llround(0.0);
19240 llroundf(0.0f);
19241 llroundl(0.0l);
19242 log1p(0.0);
19243 log1pf(0.0f);
19244 log1pl(0.0l);
19245 log2(0.0);
19246 log2f(0.0f);
19247 log2l(0.0l);
19248 logb(0.0);
19249 logbf(0.0f);
19250 logbl(0.0l);
19251 lrint(0.0);
19252 lrintf(0.0f);
19253 lrintl(0.0l);
19254 lround(0.0);
19255 lroundf(0.0f);
19256 lroundl(0.0l);
19257 nan(0);
19258 nanf(0);
19259 nanl(0);
19260 nearbyint(0.0);
19261 nearbyintf(0.0f);
19262 nearbyintl(0.0l);
19263 nextafter(0.0, 0.0);
19264 nextafterf(0.0f, 0.0f);
19265 nextafterl(0.0l, 0.0l);
19266 nexttoward(0.0, 0.0);
19267 nexttowardf(0.0f, 0.0f);
19268 nexttowardl(0.0l, 0.0l);
19269 remainder(0.0, 0.0);
19270 remainderf(0.0f, 0.0f);
19271 remainderl(0.0l, 0.0l);
19272 remquo(0.0, 0.0, 0);
19273 remquof(0.0f, 0.0f, 0);
19274 remquol(0.0l, 0.0l, 0);
19275 rint(0.0);
19276 rintf(0.0f);
19277 rintl(0.0l);
19278 round(0.0);
19279 roundf(0.0f);
19280 roundl(0.0l);
19281 scalbln(0.0, 0l);
19282 scalblnf(0.0f, 0l);
19283 scalblnl(0.0l, 0l);
19284 scalbn(0.0, 0);
19285 scalbnf(0.0f, 0);
19286 scalbnl(0.0l, 0);
19287 tgamma(0.0);
19288 tgammaf(0.0f);
19289 tgammal(0.0l);
19290 trunc(0.0);
19291 truncf(0.0f);
19292 truncl(0.0l);
19295 return 0;
19297 _ACEOF
19298 if ac_fn_cxx_try_compile "$LINENO"; then :
19299 glibcxx_cv_c99_math_tr1=yes
19300 else
19301 glibcxx_cv_c99_math_tr1=no
19303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19308 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19309 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19311 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19315 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19316 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19317 ac_c99_inttypes_tr1=no;
19318 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19320 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19322 /* end confdefs.h. */
19323 #include <inttypes.h>
19325 main ()
19327 intmax_t i, numer, denom, base;
19328 const char* s;
19329 char** endptr;
19330 intmax_t ret = imaxabs(i);
19331 imaxdiv_t dret = imaxdiv(numer, denom);
19332 ret = strtoimax(s, endptr, base);
19333 uintmax_t uret = strtoumax(s, endptr, base);
19336 return 0;
19338 _ACEOF
19339 if ac_fn_cxx_try_compile "$LINENO"; then :
19340 ac_c99_inttypes_tr1=yes
19341 else
19342 ac_c99_inttypes_tr1=no
19344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19347 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19348 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19350 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19354 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19355 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19356 ac_c99_inttypes_wchar_t_tr1=no;
19357 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19359 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19362 #include <inttypes.h>
19364 main ()
19366 intmax_t base;
19367 const wchar_t* s;
19368 wchar_t** endptr;
19369 intmax_t ret = wcstoimax(s, endptr, base);
19370 uintmax_t uret = wcstoumax(s, endptr, base);
19373 return 0;
19375 _ACEOF
19376 if ac_fn_cxx_try_compile "$LINENO"; then :
19377 ac_c99_inttypes_wchar_t_tr1=yes
19378 else
19379 ac_c99_inttypes_wchar_t_tr1=no
19381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19384 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19385 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19387 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19391 # Check for the existence of the <stdbool.h> header.
19392 for ac_header in stdbool.h
19393 do :
19394 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19395 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19396 cat >>confdefs.h <<_ACEOF
19397 #define HAVE_STDBOOL_H 1
19398 _ACEOF
19402 done
19405 # Check for the existence of the <stdalign.h> header.
19406 for ac_header in stdalign.h
19407 do :
19408 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19409 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19410 cat >>confdefs.h <<_ACEOF
19411 #define HAVE_STDALIGN_H 1
19412 _ACEOF
19416 done
19419 CXXFLAGS="$ac_save_CXXFLAGS"
19420 ac_ext=c
19421 ac_cpp='$CPP $CPPFLAGS'
19422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19428 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19432 $as_echo_n "checking for the value of EOF... " >&6; }
19433 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19434 $as_echo_n "(cached) " >&6
19435 else
19437 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19439 else
19440 as_fn_error "computing EOF failed" "$LINENO" 5
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19446 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19448 cat >>confdefs.h <<_ACEOF
19449 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19450 _ACEOF
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19454 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19455 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19456 $as_echo_n "(cached) " >&6
19457 else
19459 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19461 else
19462 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19468 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19470 cat >>confdefs.h <<_ACEOF
19471 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19472 _ACEOF
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19476 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19477 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19478 $as_echo_n "(cached) " >&6
19479 else
19481 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19483 else
19484 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19490 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19492 cat >>confdefs.h <<_ACEOF
19493 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19494 _ACEOF
19498 # For gettimeofday support.
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19502 $as_echo_n "checking for gettimeofday... " >&6; }
19505 ac_ext=cpp
19506 ac_cpp='$CXXCPP $CPPFLAGS'
19507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19511 ac_save_CXXFLAGS="$CXXFLAGS"
19512 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19514 ac_has_gettimeofday=no;
19515 for ac_header in sys/time.h
19516 do :
19517 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19518 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19519 cat >>confdefs.h <<_ACEOF
19520 #define HAVE_SYS_TIME_H 1
19521 _ACEOF
19522 ac_has_sys_time_h=yes
19523 else
19524 ac_has_sys_time_h=no
19527 done
19529 if test x"$ac_has_sys_time_h" = x"yes"; then
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19531 $as_echo_n "checking for gettimeofday... " >&6; }
19532 if test x$gcc_no_link = xyes; then
19533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19535 #include <sys/time.h>
19537 main ()
19539 timeval tv; gettimeofday(&tv, 0);
19541 return 0;
19543 _ACEOF
19544 if ac_fn_cxx_try_compile "$LINENO"; then :
19545 ac_has_gettimeofday=yes
19546 else
19547 ac_has_gettimeofday=no
19549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19550 else
19551 if test x$gcc_no_link = xyes; then
19552 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19556 #include <sys/time.h>
19558 main ()
19560 timeval tv; gettimeofday(&tv, 0);
19562 return 0;
19564 _ACEOF
19565 if ac_fn_cxx_try_link "$LINENO"; then :
19566 ac_has_gettimeofday=yes
19567 else
19568 ac_has_gettimeofday=no
19570 rm -f core conftest.err conftest.$ac_objext \
19571 conftest$ac_exeext conftest.$ac_ext
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19575 $as_echo "$ac_has_gettimeofday" >&6; }
19578 if test x"$ac_has_gettimeofday" = x"yes"; then
19580 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19584 CXXFLAGS="$ac_save_CXXFLAGS"
19585 ac_ext=c
19586 ac_cpp='$CPP $CPPFLAGS'
19587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19593 # For clock_gettime, nanosleep and sched_yield support.
19596 # Check whether --enable-libstdcxx-time was given.
19597 if test "${enable_libstdcxx_time+set}" = set; then :
19598 enableval=$enable_libstdcxx_time;
19599 case "$enableval" in
19600 yes|no|rt) ;;
19601 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19602 esac
19604 else
19605 enable_libstdcxx_time=auto
19611 ac_ext=cpp
19612 ac_cpp='$CXXCPP $CPPFLAGS'
19613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19617 ac_save_CXXFLAGS="$CXXFLAGS"
19618 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19619 ac_save_LIBS="$LIBS"
19621 ac_has_clock_monotonic=no
19622 ac_has_clock_realtime=no
19623 ac_has_nanosleep=no
19624 ac_has_sched_yield=no
19626 if test x"$enable_libstdcxx_time" = x"auto"; then
19628 case "${target_os}" in
19629 cygwin*)
19630 ac_has_nanosleep=yes
19632 darwin*)
19633 ac_has_nanosleep=yes
19634 ac_has_sched_yield=yes
19636 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19638 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19640 /* end confdefs.h. */
19641 #include <features.h>
19643 main ()
19646 #if ! __GLIBC_PREREQ(2, 17)
19647 #error
19648 #endif
19651 return 0;
19653 _ACEOF
19654 if ac_fn_cxx_try_compile "$LINENO"; then :
19655 glibcxx_glibc217=yes
19656 else
19657 glibcxx_glibc217=no
19659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19661 $as_echo "$glibcxx_glibc217" >&6; }
19663 if test x"$glibcxx_glibc217" = x"yes"; then
19664 ac_has_clock_monotonic=yes
19665 ac_has_clock_realtime=yes
19667 ac_has_nanosleep=yes
19668 ac_has_sched_yield=yes
19670 freebsd*|netbsd*|dragonfly*)
19671 ac_has_clock_monotonic=yes
19672 ac_has_clock_realtime=yes
19673 ac_has_nanosleep=yes
19674 ac_has_sched_yield=yes
19676 openbsd*)
19677 ac_has_clock_monotonic=yes
19678 ac_has_clock_realtime=yes
19679 ac_has_nanosleep=yes
19681 solaris*)
19682 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19683 ac_has_clock_monotonic=yes
19684 ac_has_clock_realtime=yes
19685 ac_has_nanosleep=yes
19686 ac_has_sched_yield=yes
19688 esac
19690 elif test x"$enable_libstdcxx_time" != x"no"; then
19692 if test x"$enable_libstdcxx_time" = x"rt"; then
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19694 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19695 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19696 $as_echo_n "(cached) " >&6
19697 else
19698 ac_func_search_save_LIBS=$LIBS
19699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h. */
19702 /* Override any GCC internal prototype to avoid an error.
19703 Use char because int might match the return type of a GCC
19704 builtin and then its argument prototype would still apply. */
19705 #ifdef __cplusplus
19706 extern "C"
19707 #endif
19708 char clock_gettime ();
19710 main ()
19712 return clock_gettime ();
19714 return 0;
19716 _ACEOF
19717 for ac_lib in '' rt posix4; do
19718 if test -z "$ac_lib"; then
19719 ac_res="none required"
19720 else
19721 ac_res=-l$ac_lib
19722 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19724 if test x$gcc_no_link = xyes; then
19725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19727 if ac_fn_cxx_try_link "$LINENO"; then :
19728 ac_cv_search_clock_gettime=$ac_res
19730 rm -f core conftest.err conftest.$ac_objext \
19731 conftest$ac_exeext
19732 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19733 break
19735 done
19736 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19738 else
19739 ac_cv_search_clock_gettime=no
19741 rm conftest.$ac_ext
19742 LIBS=$ac_func_search_save_LIBS
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19745 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19746 ac_res=$ac_cv_search_clock_gettime
19747 if test "$ac_res" != no; then :
19748 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19753 $as_echo_n "checking for library containing nanosleep... " >&6; }
19754 if test "${ac_cv_search_nanosleep+set}" = set; then :
19755 $as_echo_n "(cached) " >&6
19756 else
19757 ac_func_search_save_LIBS=$LIBS
19758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19761 /* Override any GCC internal prototype to avoid an error.
19762 Use char because int might match the return type of a GCC
19763 builtin and then its argument prototype would still apply. */
19764 #ifdef __cplusplus
19765 extern "C"
19766 #endif
19767 char nanosleep ();
19769 main ()
19771 return nanosleep ();
19773 return 0;
19775 _ACEOF
19776 for ac_lib in '' rt posix4; do
19777 if test -z "$ac_lib"; then
19778 ac_res="none required"
19779 else
19780 ac_res=-l$ac_lib
19781 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19783 if test x$gcc_no_link = xyes; then
19784 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19786 if ac_fn_cxx_try_link "$LINENO"; then :
19787 ac_cv_search_nanosleep=$ac_res
19789 rm -f core conftest.err conftest.$ac_objext \
19790 conftest$ac_exeext
19791 if test "${ac_cv_search_nanosleep+set}" = set; then :
19792 break
19794 done
19795 if test "${ac_cv_search_nanosleep+set}" = set; then :
19797 else
19798 ac_cv_search_nanosleep=no
19800 rm conftest.$ac_ext
19801 LIBS=$ac_func_search_save_LIBS
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19804 $as_echo "$ac_cv_search_nanosleep" >&6; }
19805 ac_res=$ac_cv_search_nanosleep
19806 if test "$ac_res" != no; then :
19807 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19811 else
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19813 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19814 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19815 $as_echo_n "(cached) " >&6
19816 else
19817 ac_func_search_save_LIBS=$LIBS
19818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19821 /* Override any GCC internal prototype to avoid an error.
19822 Use char because int might match the return type of a GCC
19823 builtin and then its argument prototype would still apply. */
19824 #ifdef __cplusplus
19825 extern "C"
19826 #endif
19827 char clock_gettime ();
19829 main ()
19831 return clock_gettime ();
19833 return 0;
19835 _ACEOF
19836 for ac_lib in '' posix4; do
19837 if test -z "$ac_lib"; then
19838 ac_res="none required"
19839 else
19840 ac_res=-l$ac_lib
19841 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19843 if test x$gcc_no_link = xyes; then
19844 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19846 if ac_fn_cxx_try_link "$LINENO"; then :
19847 ac_cv_search_clock_gettime=$ac_res
19849 rm -f core conftest.err conftest.$ac_objext \
19850 conftest$ac_exeext
19851 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19852 break
19854 done
19855 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19857 else
19858 ac_cv_search_clock_gettime=no
19860 rm conftest.$ac_ext
19861 LIBS=$ac_func_search_save_LIBS
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19864 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19865 ac_res=$ac_cv_search_clock_gettime
19866 if test "$ac_res" != no; then :
19867 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19872 $as_echo_n "checking for library containing nanosleep... " >&6; }
19873 if test "${ac_cv_search_nanosleep+set}" = set; then :
19874 $as_echo_n "(cached) " >&6
19875 else
19876 ac_func_search_save_LIBS=$LIBS
19877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19878 /* end confdefs.h. */
19880 /* Override any GCC internal prototype to avoid an error.
19881 Use char because int might match the return type of a GCC
19882 builtin and then its argument prototype would still apply. */
19883 #ifdef __cplusplus
19884 extern "C"
19885 #endif
19886 char nanosleep ();
19888 main ()
19890 return nanosleep ();
19892 return 0;
19894 _ACEOF
19895 for ac_lib in '' posix4; do
19896 if test -z "$ac_lib"; then
19897 ac_res="none required"
19898 else
19899 ac_res=-l$ac_lib
19900 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19902 if test x$gcc_no_link = xyes; then
19903 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19905 if ac_fn_cxx_try_link "$LINENO"; then :
19906 ac_cv_search_nanosleep=$ac_res
19908 rm -f core conftest.err conftest.$ac_objext \
19909 conftest$ac_exeext
19910 if test "${ac_cv_search_nanosleep+set}" = set; then :
19911 break
19913 done
19914 if test "${ac_cv_search_nanosleep+set}" = set; then :
19916 else
19917 ac_cv_search_nanosleep=no
19919 rm conftest.$ac_ext
19920 LIBS=$ac_func_search_save_LIBS
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19923 $as_echo "$ac_cv_search_nanosleep" >&6; }
19924 ac_res=$ac_cv_search_nanosleep
19925 if test "$ac_res" != no; then :
19926 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19932 case "$ac_cv_search_clock_gettime" in
19933 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19935 esac
19936 case "$ac_cv_search_nanosleep" in
19937 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19939 esac
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19942 $as_echo_n "checking for library containing sched_yield... " >&6; }
19943 if test "${ac_cv_search_sched_yield+set}" = set; then :
19944 $as_echo_n "(cached) " >&6
19945 else
19946 ac_func_search_save_LIBS=$LIBS
19947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19948 /* end confdefs.h. */
19950 /* Override any GCC internal prototype to avoid an error.
19951 Use char because int might match the return type of a GCC
19952 builtin and then its argument prototype would still apply. */
19953 #ifdef __cplusplus
19954 extern "C"
19955 #endif
19956 char sched_yield ();
19958 main ()
19960 return sched_yield ();
19962 return 0;
19964 _ACEOF
19965 for ac_lib in '' rt posix4; do
19966 if test -z "$ac_lib"; then
19967 ac_res="none required"
19968 else
19969 ac_res=-l$ac_lib
19970 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19972 if test x$gcc_no_link = xyes; then
19973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19975 if ac_fn_cxx_try_link "$LINENO"; then :
19976 ac_cv_search_sched_yield=$ac_res
19978 rm -f core conftest.err conftest.$ac_objext \
19979 conftest$ac_exeext
19980 if test "${ac_cv_search_sched_yield+set}" = set; then :
19981 break
19983 done
19984 if test "${ac_cv_search_sched_yield+set}" = set; then :
19986 else
19987 ac_cv_search_sched_yield=no
19989 rm conftest.$ac_ext
19990 LIBS=$ac_func_search_save_LIBS
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19993 $as_echo "$ac_cv_search_sched_yield" >&6; }
19994 ac_res=$ac_cv_search_sched_yield
19995 if test "$ac_res" != no; then :
19996 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20001 case "$ac_cv_search_sched_yield" in
20002 -lposix4*)
20003 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20004 ac_has_sched_yield=yes
20006 -lrt*)
20007 if test x"$enable_libstdcxx_time" = x"rt"; then
20008 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20009 ac_has_sched_yield=yes
20013 ac_has_sched_yield=yes
20015 esac
20017 for ac_header in unistd.h
20018 do :
20019 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20020 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20021 cat >>confdefs.h <<_ACEOF
20022 #define HAVE_UNISTD_H 1
20023 _ACEOF
20024 ac_has_unistd_h=yes
20025 else
20026 ac_has_unistd_h=no
20029 done
20032 if test x"$ac_has_unistd_h" = x"yes"; then
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20034 $as_echo_n "checking for monotonic clock... " >&6; }
20035 if test x$gcc_no_link = xyes; then
20036 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20039 /* end confdefs.h. */
20040 #include <unistd.h>
20041 #include <time.h>
20044 main ()
20046 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20047 timespec tp;
20048 #endif
20049 clock_gettime(CLOCK_MONOTONIC, &tp);
20052 return 0;
20054 _ACEOF
20055 if ac_fn_cxx_try_link "$LINENO"; then :
20056 ac_has_clock_monotonic=yes
20057 else
20058 ac_has_clock_monotonic=no
20060 rm -f core conftest.err conftest.$ac_objext \
20061 conftest$ac_exeext conftest.$ac_ext
20063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20064 $as_echo "$ac_has_clock_monotonic" >&6; }
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20067 $as_echo_n "checking for realtime clock... " >&6; }
20068 if test x$gcc_no_link = xyes; then
20069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20072 /* end confdefs.h. */
20073 #include <unistd.h>
20074 #include <time.h>
20077 main ()
20079 #if _POSIX_TIMERS > 0
20080 timespec tp;
20081 #endif
20082 clock_gettime(CLOCK_REALTIME, &tp);
20085 return 0;
20087 _ACEOF
20088 if ac_fn_cxx_try_link "$LINENO"; then :
20089 ac_has_clock_realtime=yes
20090 else
20091 ac_has_clock_realtime=no
20093 rm -f core conftest.err conftest.$ac_objext \
20094 conftest$ac_exeext conftest.$ac_ext
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20097 $as_echo "$ac_has_clock_realtime" >&6; }
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20100 $as_echo_n "checking for nanosleep... " >&6; }
20101 if test x$gcc_no_link = xyes; then
20102 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20105 /* end confdefs.h. */
20106 #include <unistd.h>
20107 #include <time.h>
20110 main ()
20112 #if _POSIX_TIMERS > 0
20113 timespec tp;
20114 #endif
20115 nanosleep(&tp, 0);
20118 return 0;
20120 _ACEOF
20121 if ac_fn_cxx_try_link "$LINENO"; then :
20122 ac_has_nanosleep=yes
20123 else
20124 ac_has_nanosleep=no
20126 rm -f core conftest.err conftest.$ac_objext \
20127 conftest$ac_exeext conftest.$ac_ext
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20130 $as_echo "$ac_has_nanosleep" >&6; }
20134 if test x"$ac_has_clock_monotonic" != x"yes"; then
20135 case ${target_os} in
20136 linux*)
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20138 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20140 /* end confdefs.h. */
20141 #include <unistd.h>
20142 #include <time.h>
20143 #include <sys/syscall.h>
20146 main ()
20148 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20149 timespec tp;
20150 #endif
20151 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20152 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20155 return 0;
20157 _ACEOF
20158 if ac_fn_cxx_try_compile "$LINENO"; then :
20159 ac_has_clock_monotonic_syscall=yes
20160 else
20161 ac_has_clock_monotonic_syscall=no
20163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20165 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20166 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20168 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20170 ac_has_clock_monotonic=yes
20171 ac_has_clock_realtime=yes
20172 fi;;
20173 esac
20176 if test x"$ac_has_clock_monotonic" = x"yes"; then
20178 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20182 if test x"$ac_has_clock_realtime" = x"yes"; then
20184 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20188 if test x"$ac_has_sched_yield" = x"yes"; then
20190 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20194 if test x"$ac_has_nanosleep" = x"yes"; then
20196 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20198 else
20199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20200 $as_echo_n "checking for sleep... " >&6; }
20201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20203 #include <unistd.h>
20205 main ()
20207 sleep(1)
20209 return 0;
20211 _ACEOF
20212 if ac_fn_cxx_try_compile "$LINENO"; then :
20213 ac_has_sleep=yes
20214 else
20215 ac_has_sleep=no
20217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20218 if test x"$ac_has_sleep" = x"yes"; then
20220 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20224 $as_echo "$ac_has_sleep" >&6; }
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20226 $as_echo_n "checking for usleep... " >&6; }
20227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20229 #include <unistd.h>
20231 main ()
20233 sleep(1);
20234 usleep(100);
20236 return 0;
20238 _ACEOF
20239 if ac_fn_cxx_try_compile "$LINENO"; then :
20240 ac_has_usleep=yes
20241 else
20242 ac_has_usleep=no
20244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20245 if test x"$ac_has_usleep" = x"yes"; then
20247 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20251 $as_echo "$ac_has_usleep" >&6; }
20254 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20256 $as_echo_n "checking for Sleep... " >&6; }
20257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20258 /* end confdefs.h. */
20259 #include <windows.h>
20261 main ()
20263 Sleep(1)
20265 return 0;
20267 _ACEOF
20268 if ac_fn_cxx_try_compile "$LINENO"; then :
20269 ac_has_win32_sleep=yes
20270 else
20271 ac_has_win32_sleep=no
20273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20274 if test x"$ac_has_win32_sleep" = x"yes"; then
20276 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20280 $as_echo "$ac_has_win32_sleep" >&6; }
20285 CXXFLAGS="$ac_save_CXXFLAGS"
20286 LIBS="$ac_save_LIBS"
20287 ac_ext=c
20288 ac_cpp='$CPP $CPPFLAGS'
20289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20295 # Check for tmpnam which is obsolescent in POSIX.1-2008
20297 ac_ext=cpp
20298 ac_cpp='$CXXCPP $CPPFLAGS'
20299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20303 ac_save_CXXFLAGS="$CXXFLAGS"
20304 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20306 $as_echo_n "checking for tmpnam... " >&6; }
20307 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20308 $as_echo_n "(cached) " >&6
20309 else
20310 if test x$gcc_no_link = xyes; then
20311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h. */
20313 #include <stdio.h>
20315 main ()
20317 char *tmp = tmpnam(NULL);
20319 return 0;
20321 _ACEOF
20322 if ac_fn_cxx_try_compile "$LINENO"; then :
20323 glibcxx_cv_TMPNAM=yes
20324 else
20325 glibcxx_cv_TMPNAM=no
20327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20328 else
20329 if test x$gcc_no_link = xyes; then
20330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20333 /* end confdefs.h. */
20334 #include <stdio.h>
20336 main ()
20338 char *tmp = tmpnam(NULL);
20340 return 0;
20342 _ACEOF
20343 if ac_fn_cxx_try_link "$LINENO"; then :
20344 glibcxx_cv_TMPNAM=yes
20345 else
20346 glibcxx_cv_TMPNAM=no
20348 rm -f core conftest.err conftest.$ac_objext \
20349 conftest$ac_exeext conftest.$ac_ext
20354 if test $glibcxx_cv_TMPNAM = yes; then
20356 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20360 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20361 CXXFLAGS="$ac_save_CXXFLAGS"
20362 ac_ext=c
20363 ac_cpp='$CPP $CPPFLAGS'
20364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20371 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20372 if test "x$ac_cv_header_locale_h" = x""yes; then :
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20375 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20376 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20377 $as_echo_n "(cached) " >&6
20378 else
20379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20380 /* end confdefs.h. */
20381 #include <locale.h>
20383 main ()
20385 return LC_MESSAGES
20387 return 0;
20389 _ACEOF
20390 if ac_fn_c_try_compile "$LINENO"; then :
20391 ac_cv_val_LC_MESSAGES=yes
20392 else
20393 ac_cv_val_LC_MESSAGES=no
20395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20398 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20399 if test $ac_cv_val_LC_MESSAGES = yes; then
20401 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20410 # For hardware_concurrency
20411 for ac_header in sys/sysinfo.h
20412 do :
20413 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20414 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20415 cat >>confdefs.h <<_ACEOF
20416 #define HAVE_SYS_SYSINFO_H 1
20417 _ACEOF
20421 done
20426 ac_ext=cpp
20427 ac_cpp='$CXXCPP $CPPFLAGS'
20428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20432 ac_save_CXXFLAGS="$CXXFLAGS"
20433 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20436 $as_echo_n "checking for get_nprocs... " >&6; }
20437 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20438 $as_echo_n "(cached) " >&6
20439 else
20441 if test x$gcc_no_link = xyes; then
20442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20443 /* end confdefs.h. */
20444 #include <sys/sysinfo.h>
20446 main ()
20448 int n = get_nprocs();
20450 return 0;
20452 _ACEOF
20453 if ac_fn_cxx_try_compile "$LINENO"; then :
20454 glibcxx_cv_GET_NPROCS=yes
20455 else
20456 glibcxx_cv_GET_NPROCS=no
20458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20459 else
20460 if test x$gcc_no_link = xyes; then
20461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20464 /* end confdefs.h. */
20465 #include <sys/sysinfo.h>
20467 main ()
20469 int n = get_nprocs();
20471 return 0;
20473 _ACEOF
20474 if ac_fn_cxx_try_link "$LINENO"; then :
20475 glibcxx_cv_GET_NPROCS=yes
20476 else
20477 glibcxx_cv_GET_NPROCS=no
20479 rm -f core conftest.err conftest.$ac_objext \
20480 conftest$ac_exeext conftest.$ac_ext
20485 if test $glibcxx_cv_GET_NPROCS = yes; then
20487 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20491 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20493 CXXFLAGS="$ac_save_CXXFLAGS"
20494 ac_ext=c
20495 ac_cpp='$CPP $CPPFLAGS'
20496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20501 for ac_header in unistd.h
20502 do :
20503 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20504 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20505 cat >>confdefs.h <<_ACEOF
20506 #define HAVE_UNISTD_H 1
20507 _ACEOF
20511 done
20516 ac_ext=cpp
20517 ac_cpp='$CXXCPP $CPPFLAGS'
20518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20522 ac_save_CXXFLAGS="$CXXFLAGS"
20523 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20526 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20527 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20528 $as_echo_n "(cached) " >&6
20529 else
20531 if test x$gcc_no_link = xyes; then
20532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20533 /* end confdefs.h. */
20534 #include <unistd.h>
20536 main ()
20538 int n = sysconf(_SC_NPROCESSORS_ONLN);
20540 return 0;
20542 _ACEOF
20543 if ac_fn_cxx_try_compile "$LINENO"; then :
20544 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20545 else
20546 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20549 else
20550 if test x$gcc_no_link = xyes; then
20551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20554 /* end confdefs.h. */
20555 #include <unistd.h>
20557 main ()
20559 int n = sysconf(_SC_NPROCESSORS_ONLN);
20561 return 0;
20563 _ACEOF
20564 if ac_fn_cxx_try_link "$LINENO"; then :
20565 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20566 else
20567 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20569 rm -f core conftest.err conftest.$ac_objext \
20570 conftest$ac_exeext conftest.$ac_ext
20575 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20577 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20581 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20583 CXXFLAGS="$ac_save_CXXFLAGS"
20584 ac_ext=c
20585 ac_cpp='$CPP $CPPFLAGS'
20586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20594 ac_ext=cpp
20595 ac_cpp='$CXXCPP $CPPFLAGS'
20596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20600 ac_save_CXXFLAGS="$CXXFLAGS"
20601 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20604 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20605 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20606 $as_echo_n "(cached) " >&6
20607 else
20609 if test x$gcc_no_link = xyes; then
20610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20611 /* end confdefs.h. */
20612 #include <unistd.h>
20614 main ()
20616 int n = sysconf(_SC_NPROC_ONLN);
20618 return 0;
20620 _ACEOF
20621 if ac_fn_cxx_try_compile "$LINENO"; then :
20622 glibcxx_cv_SC_NPROC_ONLN=yes
20623 else
20624 glibcxx_cv_SC_NPROC_ONLN=no
20626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20627 else
20628 if test x$gcc_no_link = xyes; then
20629 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20632 /* end confdefs.h. */
20633 #include <unistd.h>
20635 main ()
20637 int n = sysconf(_SC_NPROC_ONLN);
20639 return 0;
20641 _ACEOF
20642 if ac_fn_cxx_try_link "$LINENO"; then :
20643 glibcxx_cv_SC_NPROC_ONLN=yes
20644 else
20645 glibcxx_cv_SC_NPROC_ONLN=no
20647 rm -f core conftest.err conftest.$ac_objext \
20648 conftest$ac_exeext conftest.$ac_ext
20653 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20655 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20659 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20661 CXXFLAGS="$ac_save_CXXFLAGS"
20662 ac_ext=c
20663 ac_cpp='$CPP $CPPFLAGS'
20664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20672 ac_ext=cpp
20673 ac_cpp='$CXXCPP $CPPFLAGS'
20674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20678 ac_save_CXXFLAGS="$CXXFLAGS"
20679 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20682 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20683 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20684 $as_echo_n "(cached) " >&6
20685 else
20687 if test x$gcc_no_link = xyes; then
20688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20689 /* end confdefs.h. */
20690 #include <pthread.h>
20692 main ()
20694 int n = pthread_num_processors_np();
20696 return 0;
20698 _ACEOF
20699 if ac_fn_cxx_try_compile "$LINENO"; then :
20700 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20701 else
20702 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20705 else
20706 if test x$gcc_no_link = xyes; then
20707 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20710 /* end confdefs.h. */
20711 #include <pthread.h>
20713 main ()
20715 int n = pthread_num_processors_np();
20717 return 0;
20719 _ACEOF
20720 if ac_fn_cxx_try_link "$LINENO"; then :
20721 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20722 else
20723 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20725 rm -f core conftest.err conftest.$ac_objext \
20726 conftest$ac_exeext conftest.$ac_ext
20731 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20733 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20737 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20739 CXXFLAGS="$ac_save_CXXFLAGS"
20740 ac_ext=c
20741 ac_cpp='$CPP $CPPFLAGS'
20742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20750 ac_ext=cpp
20751 ac_cpp='$CXXCPP $CPPFLAGS'
20752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20756 ac_save_CXXFLAGS="$CXXFLAGS"
20757 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20760 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20761 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20762 $as_echo_n "(cached) " >&6
20763 else
20765 if test x$gcc_no_link = xyes; then
20766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20767 /* end confdefs.h. */
20769 #include <stddef.h>
20770 #include <sys/sysctl.h>
20773 main ()
20776 int count;
20777 size_t size = sizeof(count);
20778 int mib[] = { CTL_HW, HW_NCPU };
20779 sysctl(mib, 2, &count, &size, NULL, 0);
20782 return 0;
20784 _ACEOF
20785 if ac_fn_cxx_try_compile "$LINENO"; then :
20786 glibcxx_cv_SYSCTL_HW_NCPU=yes
20787 else
20788 glibcxx_cv_SYSCTL_HW_NCPU=no
20790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20791 else
20792 if test x$gcc_no_link = xyes; then
20793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20796 /* end confdefs.h. */
20798 #include <stddef.h>
20799 #include <sys/sysctl.h>
20802 main ()
20805 int count;
20806 size_t size = sizeof(count);
20807 int mib[] = { CTL_HW, HW_NCPU };
20808 sysctl(mib, 2, &count, &size, NULL, 0);
20811 return 0;
20813 _ACEOF
20814 if ac_fn_cxx_try_link "$LINENO"; then :
20815 glibcxx_cv_SYSCTL_HW_NCPU=yes
20816 else
20817 glibcxx_cv_SYSCTL_HW_NCPU=no
20819 rm -f core conftest.err conftest.$ac_objext \
20820 conftest$ac_exeext conftest.$ac_ext
20825 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20827 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20831 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20833 CXXFLAGS="$ac_save_CXXFLAGS"
20834 ac_ext=c
20835 ac_cpp='$CPP $CPPFLAGS'
20836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20843 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20844 # Note that this test has to be run with the C language.
20845 # Otherwise, sdt.h will try to include some headers from
20846 # libstdc++ itself.
20848 ac_ext=c
20849 ac_cpp='$CPP $CPPFLAGS'
20850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20854 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20855 $as_echo_n "(cached) " >&6
20856 else
20858 # Because we have to run the test in C, we use grep rather
20859 # than the compiler to check for the bug. The bug is that
20860 # were strings without trailing whitespace, causing g++
20861 # to look for operator"". The pattern searches for the fixed
20862 # output.
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20866 #include <sys/sdt.h>
20867 int f() { STAP_PROBE(hi, bob); }
20869 _ACEOF
20870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20871 $EGREP " \",\" " >/dev/null 2>&1; then :
20872 glibcxx_cv_sys_sdt_h=yes
20873 else
20874 glibcxx_cv_sys_sdt_h=no
20876 rm -f conftest*
20881 ac_ext=c
20882 ac_cpp='$CPP $CPPFLAGS'
20883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20887 if test $glibcxx_cv_sys_sdt_h = yes; then
20889 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20893 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20896 # Check for available headers.
20897 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20898 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20899 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20900 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20901 wchar.h wctype.h
20902 do :
20903 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20904 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20905 eval as_val=\$$as_ac_Header
20906 if test "x$as_val" = x""yes; then :
20907 cat >>confdefs.h <<_ACEOF
20908 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20909 _ACEOF
20913 done
20916 # Only do link tests if native. Else, hardcode.
20917 if $GLIBCXX_IS_NATIVE; then
20919 # We can do more elaborate tests that assume a working linker.
20920 CANADIAN=no
20924 # Check whether --with-gnu-ld was given.
20925 if test "${with_gnu_ld+set}" = set; then :
20926 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20927 else
20928 with_gnu_ld=no
20931 ac_prog=ld
20932 if test "$GCC" = yes; then
20933 # Check if gcc -print-prog-name=ld gives a path.
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20935 $as_echo_n "checking for ld used by $CC... " >&6; }
20936 case $host in
20937 *-*-mingw*)
20938 # gcc leaves a trailing carriage return which upsets mingw
20939 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20941 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20942 esac
20943 case $ac_prog in
20944 # Accept absolute paths.
20945 [\\/]* | ?:[\\/]*)
20946 re_direlt='/[^/][^/]*/\.\./'
20947 # Canonicalize the pathname of ld
20948 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20949 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20950 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20951 done
20952 test -z "$LD" && LD="$ac_prog"
20955 # If it fails, then pretend we aren't using GCC.
20956 ac_prog=ld
20959 # If it is relative, then search for the first ld in PATH.
20960 with_gnu_ld=unknown
20962 esac
20963 elif test "$with_gnu_ld" = yes; then
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20965 $as_echo_n "checking for GNU ld... " >&6; }
20966 else
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20968 $as_echo_n "checking for non-GNU ld... " >&6; }
20970 if test "${lt_cv_path_LD+set}" = set; then :
20971 $as_echo_n "(cached) " >&6
20972 else
20973 if test -z "$LD"; then
20974 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20975 for ac_dir in $PATH; do
20976 IFS="$lt_save_ifs"
20977 test -z "$ac_dir" && ac_dir=.
20978 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20979 lt_cv_path_LD="$ac_dir/$ac_prog"
20980 # Check to see if the program is GNU ld. I'd rather use --version,
20981 # but apparently some variants of GNU ld only accept -v.
20982 # Break only if it was the GNU/non-GNU ld that we prefer.
20983 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20984 *GNU* | *'with BFD'*)
20985 test "$with_gnu_ld" != no && break
20988 test "$with_gnu_ld" != yes && break
20990 esac
20992 done
20993 IFS="$lt_save_ifs"
20994 else
20995 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20999 LD="$lt_cv_path_LD"
21000 if test -n "$LD"; then
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21002 $as_echo "$LD" >&6; }
21003 else
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21005 $as_echo "no" >&6; }
21007 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21009 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21010 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21011 $as_echo_n "(cached) " >&6
21012 else
21013 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21014 case `$LD -v 2>&1 </dev/null` in
21015 *GNU* | *'with BFD'*)
21016 lt_cv_prog_gnu_ld=yes
21019 lt_cv_prog_gnu_ld=no
21021 esac
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21024 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21025 with_gnu_ld=$lt_cv_prog_gnu_ld
21033 # If we're not using GNU ld, then there's no point in even trying these
21034 # tests. Check for that first. We should have already tested for gld
21035 # by now (in libtool), but require it now just to be safe...
21036 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21037 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21041 # The name set by libtool depends on the version of libtool. Shame on us
21042 # for depending on an impl detail, but c'est la vie. Older versions used
21043 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21044 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21045 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21046 # set (hence we're using an older libtool), then set it.
21047 if test x${with_gnu_ld+set} != xset; then
21048 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21049 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21050 with_gnu_ld=no
21051 else
21052 with_gnu_ld=$ac_cv_prog_gnu_ld
21056 # Start by getting the version number. I think the libtool test already
21057 # does some of this, but throws away the result.
21058 glibcxx_ld_is_gold=no
21059 if test x"$with_gnu_ld" = x"yes"; then
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21061 $as_echo_n "checking for ld version... " >&6; }
21063 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21064 glibcxx_ld_is_gold=yes
21066 ldver=`$LD --version 2>/dev/null |
21067 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'`
21069 glibcxx_gnu_ld_version=`echo $ldver | \
21070 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21072 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21075 # Set --gc-sections.
21076 glibcxx_have_gc_sections=no
21077 if test "$glibcxx_ld_is_gold" = "yes"; then
21078 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21079 glibcxx_have_gc_sections=yes
21081 else
21082 glibcxx_gcsections_min_ld=21602
21083 if test x"$with_gnu_ld" = x"yes" &&
21084 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21085 glibcxx_have_gc_sections=yes
21088 if test "$glibcxx_have_gc_sections" = "yes"; then
21089 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21090 # NB: This flag only works reliably after 2.16.1. Configure tests
21091 # for this are difficult, so hard wire a value that should work.
21093 ac_test_CFLAGS="${CFLAGS+set}"
21094 ac_save_CFLAGS="$CFLAGS"
21095 CFLAGS='-Wl,--gc-sections'
21097 # Check for -Wl,--gc-sections
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21099 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21100 if test x$gcc_no_link = xyes; then
21101 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21105 int one(void) { return 1; }
21106 int two(void) { return 2; }
21109 main ()
21111 two();
21113 return 0;
21115 _ACEOF
21116 if ac_fn_c_try_link "$LINENO"; then :
21117 ac_gcsections=yes
21118 else
21119 ac_gcsections=no
21121 rm -f core conftest.err conftest.$ac_objext \
21122 conftest$ac_exeext conftest.$ac_ext
21123 if test "$ac_gcsections" = "yes"; then
21124 rm -f conftest.c
21125 touch conftest.c
21126 if $CC -c conftest.c; then
21127 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21128 grep "Warning: gc-sections option ignored" > /dev/null; then
21129 ac_gcsections=no
21132 rm -f conftest.c conftest.o conftest
21134 if test "$ac_gcsections" = "yes"; then
21135 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21138 $as_echo "$ac_gcsections" >&6; }
21140 if test "$ac_test_CFLAGS" = set; then
21141 CFLAGS="$ac_save_CFLAGS"
21142 else
21143 # this is the suspicious part
21144 CFLAGS=''
21148 # Set -z,relro.
21149 # Note this is only for shared objects.
21150 ac_ld_relro=no
21151 if test x"$with_gnu_ld" = x"yes"; then
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21153 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21154 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21155 if test -n "$cxx_z_relo"; then
21156 OPT_LDFLAGS="-Wl,-z,relro"
21157 ac_ld_relro=yes
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21160 $as_echo "$ac_ld_relro" >&6; }
21163 # Set linker optimization flags.
21164 if test x"$with_gnu_ld" = x"yes"; then
21165 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21172 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21173 ac_save_CXXFLAGS="$CXXFLAGS"
21174 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21177 $as_echo_n "checking for sin in -lm... " >&6; }
21178 if test "${ac_cv_lib_m_sin+set}" = set; then :
21179 $as_echo_n "(cached) " >&6
21180 else
21181 ac_check_lib_save_LIBS=$LIBS
21182 LIBS="-lm $LIBS"
21183 if test x$gcc_no_link = xyes; then
21184 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21187 /* end confdefs.h. */
21189 /* Override any GCC internal prototype to avoid an error.
21190 Use char because int might match the return type of a GCC
21191 builtin and then its argument prototype would still apply. */
21192 #ifdef __cplusplus
21193 extern "C"
21194 #endif
21195 char sin ();
21197 main ()
21199 return sin ();
21201 return 0;
21203 _ACEOF
21204 if ac_fn_c_try_link "$LINENO"; then :
21205 ac_cv_lib_m_sin=yes
21206 else
21207 ac_cv_lib_m_sin=no
21209 rm -f core conftest.err conftest.$ac_objext \
21210 conftest$ac_exeext conftest.$ac_ext
21211 LIBS=$ac_check_lib_save_LIBS
21213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21214 $as_echo "$ac_cv_lib_m_sin" >&6; }
21215 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21216 libm="-lm"
21219 ac_save_LIBS="$LIBS"
21220 LIBS="$LIBS $libm"
21224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21225 $as_echo_n "checking for isinf declaration... " >&6; }
21226 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21227 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21228 $as_echo_n "(cached) " >&6
21229 else
21232 ac_ext=cpp
21233 ac_cpp='$CXXCPP $CPPFLAGS'
21234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21239 /* end confdefs.h. */
21240 #include <math.h>
21241 #ifdef HAVE_IEEEFP_H
21242 #include <ieeefp.h>
21243 #endif
21246 main ()
21248 isinf(0);
21250 return 0;
21252 _ACEOF
21253 if ac_fn_cxx_try_compile "$LINENO"; then :
21254 glibcxx_cv_func_isinf_use=yes
21255 else
21256 glibcxx_cv_func_isinf_use=no
21258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21259 ac_ext=c
21260 ac_cpp='$CPP $CPPFLAGS'
21261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21270 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21272 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21273 for ac_func in isinf
21274 do :
21275 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21276 if test "x$ac_cv_func_isinf" = x""yes; then :
21277 cat >>confdefs.h <<_ACEOF
21278 #define HAVE_ISINF 1
21279 _ACEOF
21282 done
21284 else
21286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21287 $as_echo_n "checking for _isinf declaration... " >&6; }
21288 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21289 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21290 $as_echo_n "(cached) " >&6
21291 else
21294 ac_ext=cpp
21295 ac_cpp='$CXXCPP $CPPFLAGS'
21296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21301 /* end confdefs.h. */
21302 #include <math.h>
21303 #ifdef HAVE_IEEEFP_H
21304 #include <ieeefp.h>
21305 #endif
21308 main ()
21310 _isinf(0);
21312 return 0;
21314 _ACEOF
21315 if ac_fn_cxx_try_compile "$LINENO"; then :
21316 glibcxx_cv_func__isinf_use=yes
21317 else
21318 glibcxx_cv_func__isinf_use=no
21320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21321 ac_ext=c
21322 ac_cpp='$CPP $CPPFLAGS'
21323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21332 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21334 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21335 for ac_func in _isinf
21336 do :
21337 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21338 if test "x$ac_cv_func__isinf" = x""yes; then :
21339 cat >>confdefs.h <<_ACEOF
21340 #define HAVE__ISINF 1
21341 _ACEOF
21344 done
21353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21354 $as_echo_n "checking for isnan declaration... " >&6; }
21355 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21356 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21357 $as_echo_n "(cached) " >&6
21358 else
21361 ac_ext=cpp
21362 ac_cpp='$CXXCPP $CPPFLAGS'
21363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21368 /* end confdefs.h. */
21369 #include <math.h>
21370 #ifdef HAVE_IEEEFP_H
21371 #include <ieeefp.h>
21372 #endif
21375 main ()
21377 isnan(0);
21379 return 0;
21381 _ACEOF
21382 if ac_fn_cxx_try_compile "$LINENO"; then :
21383 glibcxx_cv_func_isnan_use=yes
21384 else
21385 glibcxx_cv_func_isnan_use=no
21387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21388 ac_ext=c
21389 ac_cpp='$CPP $CPPFLAGS'
21390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21399 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21401 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21402 for ac_func in isnan
21403 do :
21404 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21405 if test "x$ac_cv_func_isnan" = x""yes; then :
21406 cat >>confdefs.h <<_ACEOF
21407 #define HAVE_ISNAN 1
21408 _ACEOF
21411 done
21413 else
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21416 $as_echo_n "checking for _isnan declaration... " >&6; }
21417 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21418 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21419 $as_echo_n "(cached) " >&6
21420 else
21423 ac_ext=cpp
21424 ac_cpp='$CXXCPP $CPPFLAGS'
21425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21430 /* end confdefs.h. */
21431 #include <math.h>
21432 #ifdef HAVE_IEEEFP_H
21433 #include <ieeefp.h>
21434 #endif
21437 main ()
21439 _isnan(0);
21441 return 0;
21443 _ACEOF
21444 if ac_fn_cxx_try_compile "$LINENO"; then :
21445 glibcxx_cv_func__isnan_use=yes
21446 else
21447 glibcxx_cv_func__isnan_use=no
21449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450 ac_ext=c
21451 ac_cpp='$CPP $CPPFLAGS'
21452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21461 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21463 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21464 for ac_func in _isnan
21465 do :
21466 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21467 if test "x$ac_cv_func__isnan" = x""yes; then :
21468 cat >>confdefs.h <<_ACEOF
21469 #define HAVE__ISNAN 1
21470 _ACEOF
21473 done
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21483 $as_echo_n "checking for finite declaration... " >&6; }
21484 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21485 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21486 $as_echo_n "(cached) " >&6
21487 else
21490 ac_ext=cpp
21491 ac_cpp='$CXXCPP $CPPFLAGS'
21492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21497 /* end confdefs.h. */
21498 #include <math.h>
21499 #ifdef HAVE_IEEEFP_H
21500 #include <ieeefp.h>
21501 #endif
21504 main ()
21506 finite(0);
21508 return 0;
21510 _ACEOF
21511 if ac_fn_cxx_try_compile "$LINENO"; then :
21512 glibcxx_cv_func_finite_use=yes
21513 else
21514 glibcxx_cv_func_finite_use=no
21516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21517 ac_ext=c
21518 ac_cpp='$CPP $CPPFLAGS'
21519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21528 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21530 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21531 for ac_func in finite
21532 do :
21533 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21534 if test "x$ac_cv_func_finite" = x""yes; then :
21535 cat >>confdefs.h <<_ACEOF
21536 #define HAVE_FINITE 1
21537 _ACEOF
21540 done
21542 else
21544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21545 $as_echo_n "checking for _finite declaration... " >&6; }
21546 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21547 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21548 $as_echo_n "(cached) " >&6
21549 else
21552 ac_ext=cpp
21553 ac_cpp='$CXXCPP $CPPFLAGS'
21554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21559 /* end confdefs.h. */
21560 #include <math.h>
21561 #ifdef HAVE_IEEEFP_H
21562 #include <ieeefp.h>
21563 #endif
21566 main ()
21568 _finite(0);
21570 return 0;
21572 _ACEOF
21573 if ac_fn_cxx_try_compile "$LINENO"; then :
21574 glibcxx_cv_func__finite_use=yes
21575 else
21576 glibcxx_cv_func__finite_use=no
21578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21579 ac_ext=c
21580 ac_cpp='$CPP $CPPFLAGS'
21581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21590 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21592 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21593 for ac_func in _finite
21594 do :
21595 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21596 if test "x$ac_cv_func__finite" = x""yes; then :
21597 cat >>confdefs.h <<_ACEOF
21598 #define HAVE__FINITE 1
21599 _ACEOF
21602 done
21611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21612 $as_echo_n "checking for sincos declaration... " >&6; }
21613 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21614 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21615 $as_echo_n "(cached) " >&6
21616 else
21619 ac_ext=cpp
21620 ac_cpp='$CXXCPP $CPPFLAGS'
21621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21626 /* end confdefs.h. */
21627 #include <math.h>
21629 main ()
21631 sincos(0, 0, 0);
21633 return 0;
21635 _ACEOF
21636 if ac_fn_cxx_try_compile "$LINENO"; then :
21637 glibcxx_cv_func_sincos_use=yes
21638 else
21639 glibcxx_cv_func_sincos_use=no
21641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21642 ac_ext=c
21643 ac_cpp='$CPP $CPPFLAGS'
21644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21653 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21655 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21656 for ac_func in sincos
21657 do :
21658 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21659 if test "x$ac_cv_func_sincos" = x""yes; then :
21660 cat >>confdefs.h <<_ACEOF
21661 #define HAVE_SINCOS 1
21662 _ACEOF
21665 done
21667 else
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21670 $as_echo_n "checking for _sincos declaration... " >&6; }
21671 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21672 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21673 $as_echo_n "(cached) " >&6
21674 else
21677 ac_ext=cpp
21678 ac_cpp='$CXXCPP $CPPFLAGS'
21679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21684 /* end confdefs.h. */
21685 #include <math.h>
21687 main ()
21689 _sincos(0, 0, 0);
21691 return 0;
21693 _ACEOF
21694 if ac_fn_cxx_try_compile "$LINENO"; then :
21695 glibcxx_cv_func__sincos_use=yes
21696 else
21697 glibcxx_cv_func__sincos_use=no
21699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21700 ac_ext=c
21701 ac_cpp='$CPP $CPPFLAGS'
21702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21711 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21713 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21714 for ac_func in _sincos
21715 do :
21716 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21717 if test "x$ac_cv_func__sincos" = x""yes; then :
21718 cat >>confdefs.h <<_ACEOF
21719 #define HAVE__SINCOS 1
21720 _ACEOF
21723 done
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21733 $as_echo_n "checking for fpclass declaration... " >&6; }
21734 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21735 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21736 $as_echo_n "(cached) " >&6
21737 else
21740 ac_ext=cpp
21741 ac_cpp='$CXXCPP $CPPFLAGS'
21742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21747 /* end confdefs.h. */
21748 #include <math.h>
21749 #ifdef HAVE_IEEEFP_H
21750 #include <ieeefp.h>
21751 #endif
21754 main ()
21756 fpclass(0);
21758 return 0;
21760 _ACEOF
21761 if ac_fn_cxx_try_compile "$LINENO"; then :
21762 glibcxx_cv_func_fpclass_use=yes
21763 else
21764 glibcxx_cv_func_fpclass_use=no
21766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21767 ac_ext=c
21768 ac_cpp='$CPP $CPPFLAGS'
21769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21778 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21780 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21781 for ac_func in fpclass
21782 do :
21783 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21784 if test "x$ac_cv_func_fpclass" = x""yes; then :
21785 cat >>confdefs.h <<_ACEOF
21786 #define HAVE_FPCLASS 1
21787 _ACEOF
21790 done
21792 else
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21795 $as_echo_n "checking for _fpclass declaration... " >&6; }
21796 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21797 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21798 $as_echo_n "(cached) " >&6
21799 else
21802 ac_ext=cpp
21803 ac_cpp='$CXXCPP $CPPFLAGS'
21804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21809 /* end confdefs.h. */
21810 #include <math.h>
21811 #ifdef HAVE_IEEEFP_H
21812 #include <ieeefp.h>
21813 #endif
21816 main ()
21818 _fpclass(0);
21820 return 0;
21822 _ACEOF
21823 if ac_fn_cxx_try_compile "$LINENO"; then :
21824 glibcxx_cv_func__fpclass_use=yes
21825 else
21826 glibcxx_cv_func__fpclass_use=no
21828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21829 ac_ext=c
21830 ac_cpp='$CPP $CPPFLAGS'
21831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21840 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21842 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21843 for ac_func in _fpclass
21844 do :
21845 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21846 if test "x$ac_cv_func__fpclass" = x""yes; then :
21847 cat >>confdefs.h <<_ACEOF
21848 #define HAVE__FPCLASS 1
21849 _ACEOF
21852 done
21861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21862 $as_echo_n "checking for qfpclass declaration... " >&6; }
21863 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21864 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21865 $as_echo_n "(cached) " >&6
21866 else
21869 ac_ext=cpp
21870 ac_cpp='$CXXCPP $CPPFLAGS'
21871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h. */
21877 #include <math.h>
21878 #ifdef HAVE_IEEEFP_H
21879 #include <ieeefp.h>
21880 #endif
21883 main ()
21885 qfpclass(0);
21887 return 0;
21889 _ACEOF
21890 if ac_fn_cxx_try_compile "$LINENO"; then :
21891 glibcxx_cv_func_qfpclass_use=yes
21892 else
21893 glibcxx_cv_func_qfpclass_use=no
21895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21896 ac_ext=c
21897 ac_cpp='$CPP $CPPFLAGS'
21898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21907 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21909 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21910 for ac_func in qfpclass
21911 do :
21912 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21913 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21914 cat >>confdefs.h <<_ACEOF
21915 #define HAVE_QFPCLASS 1
21916 _ACEOF
21919 done
21921 else
21923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21924 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21925 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21926 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21927 $as_echo_n "(cached) " >&6
21928 else
21931 ac_ext=cpp
21932 ac_cpp='$CXXCPP $CPPFLAGS'
21933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21938 /* end confdefs.h. */
21939 #include <math.h>
21940 #ifdef HAVE_IEEEFP_H
21941 #include <ieeefp.h>
21942 #endif
21945 main ()
21947 _qfpclass(0);
21949 return 0;
21951 _ACEOF
21952 if ac_fn_cxx_try_compile "$LINENO"; then :
21953 glibcxx_cv_func__qfpclass_use=yes
21954 else
21955 glibcxx_cv_func__qfpclass_use=no
21957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21958 ac_ext=c
21959 ac_cpp='$CPP $CPPFLAGS'
21960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21969 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21971 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21972 for ac_func in _qfpclass
21973 do :
21974 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21975 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21976 cat >>confdefs.h <<_ACEOF
21977 #define HAVE__QFPCLASS 1
21978 _ACEOF
21981 done
21990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21991 $as_echo_n "checking for hypot declaration... " >&6; }
21992 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21993 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21994 $as_echo_n "(cached) " >&6
21995 else
21998 ac_ext=cpp
21999 ac_cpp='$CXXCPP $CPPFLAGS'
22000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22005 /* end confdefs.h. */
22006 #include <math.h>
22008 main ()
22010 hypot(0, 0);
22012 return 0;
22014 _ACEOF
22015 if ac_fn_cxx_try_compile "$LINENO"; then :
22016 glibcxx_cv_func_hypot_use=yes
22017 else
22018 glibcxx_cv_func_hypot_use=no
22020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22021 ac_ext=c
22022 ac_cpp='$CPP $CPPFLAGS'
22023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22032 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22034 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22035 for ac_func in hypot
22036 do :
22037 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22038 if test "x$ac_cv_func_hypot" = x""yes; then :
22039 cat >>confdefs.h <<_ACEOF
22040 #define HAVE_HYPOT 1
22041 _ACEOF
22044 done
22046 else
22048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22049 $as_echo_n "checking for _hypot declaration... " >&6; }
22050 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22051 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22052 $as_echo_n "(cached) " >&6
22053 else
22056 ac_ext=cpp
22057 ac_cpp='$CXXCPP $CPPFLAGS'
22058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22063 /* end confdefs.h. */
22064 #include <math.h>
22066 main ()
22068 _hypot(0, 0);
22070 return 0;
22072 _ACEOF
22073 if ac_fn_cxx_try_compile "$LINENO"; then :
22074 glibcxx_cv_func__hypot_use=yes
22075 else
22076 glibcxx_cv_func__hypot_use=no
22078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22079 ac_ext=c
22080 ac_cpp='$CPP $CPPFLAGS'
22081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22090 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22092 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22093 for ac_func in _hypot
22094 do :
22095 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22096 if test "x$ac_cv_func__hypot" = x""yes; then :
22097 cat >>confdefs.h <<_ACEOF
22098 #define HAVE__HYPOT 1
22099 _ACEOF
22102 done
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22112 $as_echo_n "checking for float trig functions... " >&6; }
22113 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22114 $as_echo_n "(cached) " >&6
22115 else
22118 ac_ext=cpp
22119 ac_cpp='$CXXCPP $CPPFLAGS'
22120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22125 /* end confdefs.h. */
22126 #include <math.h>
22128 main ()
22130 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22132 return 0;
22134 _ACEOF
22135 if ac_fn_cxx_try_compile "$LINENO"; then :
22136 glibcxx_cv_func_float_trig_use=yes
22137 else
22138 glibcxx_cv_func_float_trig_use=no
22140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22141 ac_ext=c
22142 ac_cpp='$CPP $CPPFLAGS'
22143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22150 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22151 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22152 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22153 do :
22154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22156 eval as_val=\$$as_ac_var
22157 if test "x$as_val" = x""yes; then :
22158 cat >>confdefs.h <<_ACEOF
22159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22160 _ACEOF
22163 done
22165 else
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22167 $as_echo_n "checking for _float trig functions... " >&6; }
22168 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22169 $as_echo_n "(cached) " >&6
22170 else
22173 ac_ext=cpp
22174 ac_cpp='$CXXCPP $CPPFLAGS'
22175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22180 /* end confdefs.h. */
22181 #include <math.h>
22183 main ()
22185 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22187 return 0;
22189 _ACEOF
22190 if ac_fn_cxx_try_compile "$LINENO"; then :
22191 glibcxx_cv_func__float_trig_use=yes
22192 else
22193 glibcxx_cv_func__float_trig_use=no
22195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22196 ac_ext=c
22197 ac_cpp='$CPP $CPPFLAGS'
22198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22205 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22206 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22207 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22208 do :
22209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22211 eval as_val=\$$as_ac_var
22212 if test "x$as_val" = x""yes; then :
22213 cat >>confdefs.h <<_ACEOF
22214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22215 _ACEOF
22218 done
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22228 $as_echo_n "checking for float round functions... " >&6; }
22229 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22230 $as_echo_n "(cached) " >&6
22231 else
22234 ac_ext=cpp
22235 ac_cpp='$CXXCPP $CPPFLAGS'
22236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22241 /* end confdefs.h. */
22242 #include <math.h>
22244 main ()
22246 ceilf (0); floorf (0);
22248 return 0;
22250 _ACEOF
22251 if ac_fn_cxx_try_compile "$LINENO"; then :
22252 glibcxx_cv_func_float_round_use=yes
22253 else
22254 glibcxx_cv_func_float_round_use=no
22256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22257 ac_ext=c
22258 ac_cpp='$CPP $CPPFLAGS'
22259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22266 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22267 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22268 for ac_func in ceilf floorf
22269 do :
22270 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22271 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22272 eval as_val=\$$as_ac_var
22273 if test "x$as_val" = x""yes; then :
22274 cat >>confdefs.h <<_ACEOF
22275 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22276 _ACEOF
22279 done
22281 else
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22283 $as_echo_n "checking for _float round functions... " >&6; }
22284 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22285 $as_echo_n "(cached) " >&6
22286 else
22289 ac_ext=cpp
22290 ac_cpp='$CXXCPP $CPPFLAGS'
22291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22296 /* end confdefs.h. */
22297 #include <math.h>
22299 main ()
22301 _ceilf (0); _floorf (0);
22303 return 0;
22305 _ACEOF
22306 if ac_fn_cxx_try_compile "$LINENO"; then :
22307 glibcxx_cv_func__float_round_use=yes
22308 else
22309 glibcxx_cv_func__float_round_use=no
22311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22312 ac_ext=c
22313 ac_cpp='$CPP $CPPFLAGS'
22314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22321 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22322 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22323 for ac_func in _ceilf _floorf
22324 do :
22325 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22326 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22327 eval as_val=\$$as_ac_var
22328 if test "x$as_val" = x""yes; then :
22329 cat >>confdefs.h <<_ACEOF
22330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22331 _ACEOF
22334 done
22344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22345 $as_echo_n "checking for expf declaration... " >&6; }
22346 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22347 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22348 $as_echo_n "(cached) " >&6
22349 else
22352 ac_ext=cpp
22353 ac_cpp='$CXXCPP $CPPFLAGS'
22354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22359 /* end confdefs.h. */
22360 #include <math.h>
22361 #ifdef HAVE_IEEEFP_H
22362 #include <ieeefp.h>
22363 #endif
22366 main ()
22368 expf(0);
22370 return 0;
22372 _ACEOF
22373 if ac_fn_cxx_try_compile "$LINENO"; then :
22374 glibcxx_cv_func_expf_use=yes
22375 else
22376 glibcxx_cv_func_expf_use=no
22378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22379 ac_ext=c
22380 ac_cpp='$CPP $CPPFLAGS'
22381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22390 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22392 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22393 for ac_func in expf
22394 do :
22395 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22396 if test "x$ac_cv_func_expf" = x""yes; then :
22397 cat >>confdefs.h <<_ACEOF
22398 #define HAVE_EXPF 1
22399 _ACEOF
22402 done
22404 else
22406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22407 $as_echo_n "checking for _expf declaration... " >&6; }
22408 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22409 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22410 $as_echo_n "(cached) " >&6
22411 else
22414 ac_ext=cpp
22415 ac_cpp='$CXXCPP $CPPFLAGS'
22416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22421 /* end confdefs.h. */
22422 #include <math.h>
22423 #ifdef HAVE_IEEEFP_H
22424 #include <ieeefp.h>
22425 #endif
22428 main ()
22430 _expf(0);
22432 return 0;
22434 _ACEOF
22435 if ac_fn_cxx_try_compile "$LINENO"; then :
22436 glibcxx_cv_func__expf_use=yes
22437 else
22438 glibcxx_cv_func__expf_use=no
22440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22441 ac_ext=c
22442 ac_cpp='$CPP $CPPFLAGS'
22443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22452 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22454 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22455 for ac_func in _expf
22456 do :
22457 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22458 if test "x$ac_cv_func__expf" = x""yes; then :
22459 cat >>confdefs.h <<_ACEOF
22460 #define HAVE__EXPF 1
22461 _ACEOF
22464 done
22473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22474 $as_echo_n "checking for isnanf declaration... " >&6; }
22475 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22476 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22477 $as_echo_n "(cached) " >&6
22478 else
22481 ac_ext=cpp
22482 ac_cpp='$CXXCPP $CPPFLAGS'
22483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22488 /* end confdefs.h. */
22489 #include <math.h>
22490 #ifdef HAVE_IEEEFP_H
22491 #include <ieeefp.h>
22492 #endif
22495 main ()
22497 isnanf(0);
22499 return 0;
22501 _ACEOF
22502 if ac_fn_cxx_try_compile "$LINENO"; then :
22503 glibcxx_cv_func_isnanf_use=yes
22504 else
22505 glibcxx_cv_func_isnanf_use=no
22507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22508 ac_ext=c
22509 ac_cpp='$CPP $CPPFLAGS'
22510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22519 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22521 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22522 for ac_func in isnanf
22523 do :
22524 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22525 if test "x$ac_cv_func_isnanf" = x""yes; then :
22526 cat >>confdefs.h <<_ACEOF
22527 #define HAVE_ISNANF 1
22528 _ACEOF
22531 done
22533 else
22535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22536 $as_echo_n "checking for _isnanf declaration... " >&6; }
22537 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22538 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22539 $as_echo_n "(cached) " >&6
22540 else
22543 ac_ext=cpp
22544 ac_cpp='$CXXCPP $CPPFLAGS'
22545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22550 /* end confdefs.h. */
22551 #include <math.h>
22552 #ifdef HAVE_IEEEFP_H
22553 #include <ieeefp.h>
22554 #endif
22557 main ()
22559 _isnanf(0);
22561 return 0;
22563 _ACEOF
22564 if ac_fn_cxx_try_compile "$LINENO"; then :
22565 glibcxx_cv_func__isnanf_use=yes
22566 else
22567 glibcxx_cv_func__isnanf_use=no
22569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22570 ac_ext=c
22571 ac_cpp='$CPP $CPPFLAGS'
22572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22581 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22583 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22584 for ac_func in _isnanf
22585 do :
22586 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22587 if test "x$ac_cv_func__isnanf" = x""yes; then :
22588 cat >>confdefs.h <<_ACEOF
22589 #define HAVE__ISNANF 1
22590 _ACEOF
22593 done
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22603 $as_echo_n "checking for isinff declaration... " >&6; }
22604 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22605 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22606 $as_echo_n "(cached) " >&6
22607 else
22610 ac_ext=cpp
22611 ac_cpp='$CXXCPP $CPPFLAGS'
22612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22617 /* end confdefs.h. */
22618 #include <math.h>
22619 #ifdef HAVE_IEEEFP_H
22620 #include <ieeefp.h>
22621 #endif
22624 main ()
22626 isinff(0);
22628 return 0;
22630 _ACEOF
22631 if ac_fn_cxx_try_compile "$LINENO"; then :
22632 glibcxx_cv_func_isinff_use=yes
22633 else
22634 glibcxx_cv_func_isinff_use=no
22636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637 ac_ext=c
22638 ac_cpp='$CPP $CPPFLAGS'
22639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22648 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22650 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22651 for ac_func in isinff
22652 do :
22653 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22654 if test "x$ac_cv_func_isinff" = x""yes; then :
22655 cat >>confdefs.h <<_ACEOF
22656 #define HAVE_ISINFF 1
22657 _ACEOF
22660 done
22662 else
22664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22665 $as_echo_n "checking for _isinff declaration... " >&6; }
22666 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22667 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22668 $as_echo_n "(cached) " >&6
22669 else
22672 ac_ext=cpp
22673 ac_cpp='$CXXCPP $CPPFLAGS'
22674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22679 /* end confdefs.h. */
22680 #include <math.h>
22681 #ifdef HAVE_IEEEFP_H
22682 #include <ieeefp.h>
22683 #endif
22686 main ()
22688 _isinff(0);
22690 return 0;
22692 _ACEOF
22693 if ac_fn_cxx_try_compile "$LINENO"; then :
22694 glibcxx_cv_func__isinff_use=yes
22695 else
22696 glibcxx_cv_func__isinff_use=no
22698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22699 ac_ext=c
22700 ac_cpp='$CPP $CPPFLAGS'
22701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22710 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22712 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22713 for ac_func in _isinff
22714 do :
22715 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22716 if test "x$ac_cv_func__isinff" = x""yes; then :
22717 cat >>confdefs.h <<_ACEOF
22718 #define HAVE__ISINFF 1
22719 _ACEOF
22722 done
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22732 $as_echo_n "checking for atan2f declaration... " >&6; }
22733 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22734 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22735 $as_echo_n "(cached) " >&6
22736 else
22739 ac_ext=cpp
22740 ac_cpp='$CXXCPP $CPPFLAGS'
22741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22746 /* end confdefs.h. */
22747 #include <math.h>
22749 main ()
22751 atan2f(0, 0);
22753 return 0;
22755 _ACEOF
22756 if ac_fn_cxx_try_compile "$LINENO"; then :
22757 glibcxx_cv_func_atan2f_use=yes
22758 else
22759 glibcxx_cv_func_atan2f_use=no
22761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22762 ac_ext=c
22763 ac_cpp='$CPP $CPPFLAGS'
22764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22773 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22775 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22776 for ac_func in atan2f
22777 do :
22778 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22779 if test "x$ac_cv_func_atan2f" = x""yes; then :
22780 cat >>confdefs.h <<_ACEOF
22781 #define HAVE_ATAN2F 1
22782 _ACEOF
22785 done
22787 else
22789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22790 $as_echo_n "checking for _atan2f declaration... " >&6; }
22791 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22792 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22793 $as_echo_n "(cached) " >&6
22794 else
22797 ac_ext=cpp
22798 ac_cpp='$CXXCPP $CPPFLAGS'
22799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22804 /* end confdefs.h. */
22805 #include <math.h>
22807 main ()
22809 _atan2f(0, 0);
22811 return 0;
22813 _ACEOF
22814 if ac_fn_cxx_try_compile "$LINENO"; then :
22815 glibcxx_cv_func__atan2f_use=yes
22816 else
22817 glibcxx_cv_func__atan2f_use=no
22819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22820 ac_ext=c
22821 ac_cpp='$CPP $CPPFLAGS'
22822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22831 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22833 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22834 for ac_func in _atan2f
22835 do :
22836 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22837 if test "x$ac_cv_func__atan2f" = x""yes; then :
22838 cat >>confdefs.h <<_ACEOF
22839 #define HAVE__ATAN2F 1
22840 _ACEOF
22843 done
22852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22853 $as_echo_n "checking for fabsf declaration... " >&6; }
22854 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22855 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22856 $as_echo_n "(cached) " >&6
22857 else
22860 ac_ext=cpp
22861 ac_cpp='$CXXCPP $CPPFLAGS'
22862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22867 /* end confdefs.h. */
22868 #include <math.h>
22869 #ifdef HAVE_IEEEFP_H
22870 #include <ieeefp.h>
22871 #endif
22874 main ()
22876 fabsf(0);
22878 return 0;
22880 _ACEOF
22881 if ac_fn_cxx_try_compile "$LINENO"; then :
22882 glibcxx_cv_func_fabsf_use=yes
22883 else
22884 glibcxx_cv_func_fabsf_use=no
22886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22887 ac_ext=c
22888 ac_cpp='$CPP $CPPFLAGS'
22889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22898 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22900 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22901 for ac_func in fabsf
22902 do :
22903 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22904 if test "x$ac_cv_func_fabsf" = x""yes; then :
22905 cat >>confdefs.h <<_ACEOF
22906 #define HAVE_FABSF 1
22907 _ACEOF
22910 done
22912 else
22914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22915 $as_echo_n "checking for _fabsf declaration... " >&6; }
22916 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22917 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22918 $as_echo_n "(cached) " >&6
22919 else
22922 ac_ext=cpp
22923 ac_cpp='$CXXCPP $CPPFLAGS'
22924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22929 /* end confdefs.h. */
22930 #include <math.h>
22931 #ifdef HAVE_IEEEFP_H
22932 #include <ieeefp.h>
22933 #endif
22936 main ()
22938 _fabsf(0);
22940 return 0;
22942 _ACEOF
22943 if ac_fn_cxx_try_compile "$LINENO"; then :
22944 glibcxx_cv_func__fabsf_use=yes
22945 else
22946 glibcxx_cv_func__fabsf_use=no
22948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22949 ac_ext=c
22950 ac_cpp='$CPP $CPPFLAGS'
22951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22960 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22962 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22963 for ac_func in _fabsf
22964 do :
22965 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22966 if test "x$ac_cv_func__fabsf" = x""yes; then :
22967 cat >>confdefs.h <<_ACEOF
22968 #define HAVE__FABSF 1
22969 _ACEOF
22972 done
22981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22982 $as_echo_n "checking for fmodf declaration... " >&6; }
22983 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22984 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22985 $as_echo_n "(cached) " >&6
22986 else
22989 ac_ext=cpp
22990 ac_cpp='$CXXCPP $CPPFLAGS'
22991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22996 /* end confdefs.h. */
22997 #include <math.h>
22999 main ()
23001 fmodf(0, 0);
23003 return 0;
23005 _ACEOF
23006 if ac_fn_cxx_try_compile "$LINENO"; then :
23007 glibcxx_cv_func_fmodf_use=yes
23008 else
23009 glibcxx_cv_func_fmodf_use=no
23011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23012 ac_ext=c
23013 ac_cpp='$CPP $CPPFLAGS'
23014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23023 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23025 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23026 for ac_func in fmodf
23027 do :
23028 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23029 if test "x$ac_cv_func_fmodf" = x""yes; then :
23030 cat >>confdefs.h <<_ACEOF
23031 #define HAVE_FMODF 1
23032 _ACEOF
23035 done
23037 else
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23040 $as_echo_n "checking for _fmodf declaration... " >&6; }
23041 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23042 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23043 $as_echo_n "(cached) " >&6
23044 else
23047 ac_ext=cpp
23048 ac_cpp='$CXXCPP $CPPFLAGS'
23049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23054 /* end confdefs.h. */
23055 #include <math.h>
23057 main ()
23059 _fmodf(0, 0);
23061 return 0;
23063 _ACEOF
23064 if ac_fn_cxx_try_compile "$LINENO"; then :
23065 glibcxx_cv_func__fmodf_use=yes
23066 else
23067 glibcxx_cv_func__fmodf_use=no
23069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23070 ac_ext=c
23071 ac_cpp='$CPP $CPPFLAGS'
23072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23081 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23083 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23084 for ac_func in _fmodf
23085 do :
23086 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23087 if test "x$ac_cv_func__fmodf" = x""yes; then :
23088 cat >>confdefs.h <<_ACEOF
23089 #define HAVE__FMODF 1
23090 _ACEOF
23093 done
23102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23103 $as_echo_n "checking for frexpf declaration... " >&6; }
23104 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23105 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23106 $as_echo_n "(cached) " >&6
23107 else
23110 ac_ext=cpp
23111 ac_cpp='$CXXCPP $CPPFLAGS'
23112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23117 /* end confdefs.h. */
23118 #include <math.h>
23120 main ()
23122 frexpf(0, 0);
23124 return 0;
23126 _ACEOF
23127 if ac_fn_cxx_try_compile "$LINENO"; then :
23128 glibcxx_cv_func_frexpf_use=yes
23129 else
23130 glibcxx_cv_func_frexpf_use=no
23132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23133 ac_ext=c
23134 ac_cpp='$CPP $CPPFLAGS'
23135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23144 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23146 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23147 for ac_func in frexpf
23148 do :
23149 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23150 if test "x$ac_cv_func_frexpf" = x""yes; then :
23151 cat >>confdefs.h <<_ACEOF
23152 #define HAVE_FREXPF 1
23153 _ACEOF
23156 done
23158 else
23160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23161 $as_echo_n "checking for _frexpf declaration... " >&6; }
23162 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23163 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23164 $as_echo_n "(cached) " >&6
23165 else
23168 ac_ext=cpp
23169 ac_cpp='$CXXCPP $CPPFLAGS'
23170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23175 /* end confdefs.h. */
23176 #include <math.h>
23178 main ()
23180 _frexpf(0, 0);
23182 return 0;
23184 _ACEOF
23185 if ac_fn_cxx_try_compile "$LINENO"; then :
23186 glibcxx_cv_func__frexpf_use=yes
23187 else
23188 glibcxx_cv_func__frexpf_use=no
23190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23191 ac_ext=c
23192 ac_cpp='$CPP $CPPFLAGS'
23193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23202 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23204 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23205 for ac_func in _frexpf
23206 do :
23207 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23208 if test "x$ac_cv_func__frexpf" = x""yes; then :
23209 cat >>confdefs.h <<_ACEOF
23210 #define HAVE__FREXPF 1
23211 _ACEOF
23214 done
23223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23224 $as_echo_n "checking for hypotf declaration... " >&6; }
23225 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23226 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23227 $as_echo_n "(cached) " >&6
23228 else
23231 ac_ext=cpp
23232 ac_cpp='$CXXCPP $CPPFLAGS'
23233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23238 /* end confdefs.h. */
23239 #include <math.h>
23241 main ()
23243 hypotf(0, 0);
23245 return 0;
23247 _ACEOF
23248 if ac_fn_cxx_try_compile "$LINENO"; then :
23249 glibcxx_cv_func_hypotf_use=yes
23250 else
23251 glibcxx_cv_func_hypotf_use=no
23253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23254 ac_ext=c
23255 ac_cpp='$CPP $CPPFLAGS'
23256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23265 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23267 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23268 for ac_func in hypotf
23269 do :
23270 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23271 if test "x$ac_cv_func_hypotf" = x""yes; then :
23272 cat >>confdefs.h <<_ACEOF
23273 #define HAVE_HYPOTF 1
23274 _ACEOF
23277 done
23279 else
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23282 $as_echo_n "checking for _hypotf declaration... " >&6; }
23283 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23284 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23285 $as_echo_n "(cached) " >&6
23286 else
23289 ac_ext=cpp
23290 ac_cpp='$CXXCPP $CPPFLAGS'
23291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23296 /* end confdefs.h. */
23297 #include <math.h>
23299 main ()
23301 _hypotf(0, 0);
23303 return 0;
23305 _ACEOF
23306 if ac_fn_cxx_try_compile "$LINENO"; then :
23307 glibcxx_cv_func__hypotf_use=yes
23308 else
23309 glibcxx_cv_func__hypotf_use=no
23311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23312 ac_ext=c
23313 ac_cpp='$CPP $CPPFLAGS'
23314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23323 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23325 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23326 for ac_func in _hypotf
23327 do :
23328 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23329 if test "x$ac_cv_func__hypotf" = x""yes; then :
23330 cat >>confdefs.h <<_ACEOF
23331 #define HAVE__HYPOTF 1
23332 _ACEOF
23335 done
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23345 $as_echo_n "checking for ldexpf declaration... " >&6; }
23346 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23347 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23348 $as_echo_n "(cached) " >&6
23349 else
23352 ac_ext=cpp
23353 ac_cpp='$CXXCPP $CPPFLAGS'
23354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23359 /* end confdefs.h. */
23360 #include <math.h>
23362 main ()
23364 ldexpf(0, 0);
23366 return 0;
23368 _ACEOF
23369 if ac_fn_cxx_try_compile "$LINENO"; then :
23370 glibcxx_cv_func_ldexpf_use=yes
23371 else
23372 glibcxx_cv_func_ldexpf_use=no
23374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23375 ac_ext=c
23376 ac_cpp='$CPP $CPPFLAGS'
23377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23386 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23388 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23389 for ac_func in ldexpf
23390 do :
23391 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23392 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23393 cat >>confdefs.h <<_ACEOF
23394 #define HAVE_LDEXPF 1
23395 _ACEOF
23398 done
23400 else
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23403 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23404 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23405 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23406 $as_echo_n "(cached) " >&6
23407 else
23410 ac_ext=cpp
23411 ac_cpp='$CXXCPP $CPPFLAGS'
23412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23417 /* end confdefs.h. */
23418 #include <math.h>
23420 main ()
23422 _ldexpf(0, 0);
23424 return 0;
23426 _ACEOF
23427 if ac_fn_cxx_try_compile "$LINENO"; then :
23428 glibcxx_cv_func__ldexpf_use=yes
23429 else
23430 glibcxx_cv_func__ldexpf_use=no
23432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23433 ac_ext=c
23434 ac_cpp='$CPP $CPPFLAGS'
23435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23444 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23446 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23447 for ac_func in _ldexpf
23448 do :
23449 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23450 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23451 cat >>confdefs.h <<_ACEOF
23452 #define HAVE__LDEXPF 1
23453 _ACEOF
23456 done
23465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23466 $as_echo_n "checking for logf declaration... " >&6; }
23467 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23468 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23469 $as_echo_n "(cached) " >&6
23470 else
23473 ac_ext=cpp
23474 ac_cpp='$CXXCPP $CPPFLAGS'
23475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23480 /* end confdefs.h. */
23481 #include <math.h>
23482 #ifdef HAVE_IEEEFP_H
23483 #include <ieeefp.h>
23484 #endif
23487 main ()
23489 logf(0);
23491 return 0;
23493 _ACEOF
23494 if ac_fn_cxx_try_compile "$LINENO"; then :
23495 glibcxx_cv_func_logf_use=yes
23496 else
23497 glibcxx_cv_func_logf_use=no
23499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23500 ac_ext=c
23501 ac_cpp='$CPP $CPPFLAGS'
23502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23511 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23513 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23514 for ac_func in logf
23515 do :
23516 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23517 if test "x$ac_cv_func_logf" = x""yes; then :
23518 cat >>confdefs.h <<_ACEOF
23519 #define HAVE_LOGF 1
23520 _ACEOF
23523 done
23525 else
23527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23528 $as_echo_n "checking for _logf declaration... " >&6; }
23529 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23530 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23531 $as_echo_n "(cached) " >&6
23532 else
23535 ac_ext=cpp
23536 ac_cpp='$CXXCPP $CPPFLAGS'
23537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23542 /* end confdefs.h. */
23543 #include <math.h>
23544 #ifdef HAVE_IEEEFP_H
23545 #include <ieeefp.h>
23546 #endif
23549 main ()
23551 _logf(0);
23553 return 0;
23555 _ACEOF
23556 if ac_fn_cxx_try_compile "$LINENO"; then :
23557 glibcxx_cv_func__logf_use=yes
23558 else
23559 glibcxx_cv_func__logf_use=no
23561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23562 ac_ext=c
23563 ac_cpp='$CPP $CPPFLAGS'
23564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23573 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23575 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23576 for ac_func in _logf
23577 do :
23578 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23579 if test "x$ac_cv_func__logf" = x""yes; then :
23580 cat >>confdefs.h <<_ACEOF
23581 #define HAVE__LOGF 1
23582 _ACEOF
23585 done
23594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23595 $as_echo_n "checking for log10f declaration... " >&6; }
23596 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23597 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23598 $as_echo_n "(cached) " >&6
23599 else
23602 ac_ext=cpp
23603 ac_cpp='$CXXCPP $CPPFLAGS'
23604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23609 /* end confdefs.h. */
23610 #include <math.h>
23611 #ifdef HAVE_IEEEFP_H
23612 #include <ieeefp.h>
23613 #endif
23616 main ()
23618 log10f(0);
23620 return 0;
23622 _ACEOF
23623 if ac_fn_cxx_try_compile "$LINENO"; then :
23624 glibcxx_cv_func_log10f_use=yes
23625 else
23626 glibcxx_cv_func_log10f_use=no
23628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23629 ac_ext=c
23630 ac_cpp='$CPP $CPPFLAGS'
23631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23640 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23642 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23643 for ac_func in log10f
23644 do :
23645 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23646 if test "x$ac_cv_func_log10f" = x""yes; then :
23647 cat >>confdefs.h <<_ACEOF
23648 #define HAVE_LOG10F 1
23649 _ACEOF
23652 done
23654 else
23656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23657 $as_echo_n "checking for _log10f declaration... " >&6; }
23658 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23659 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23660 $as_echo_n "(cached) " >&6
23661 else
23664 ac_ext=cpp
23665 ac_cpp='$CXXCPP $CPPFLAGS'
23666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23671 /* end confdefs.h. */
23672 #include <math.h>
23673 #ifdef HAVE_IEEEFP_H
23674 #include <ieeefp.h>
23675 #endif
23678 main ()
23680 _log10f(0);
23682 return 0;
23684 _ACEOF
23685 if ac_fn_cxx_try_compile "$LINENO"; then :
23686 glibcxx_cv_func__log10f_use=yes
23687 else
23688 glibcxx_cv_func__log10f_use=no
23690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23691 ac_ext=c
23692 ac_cpp='$CPP $CPPFLAGS'
23693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23702 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23704 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23705 for ac_func in _log10f
23706 do :
23707 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23708 if test "x$ac_cv_func__log10f" = x""yes; then :
23709 cat >>confdefs.h <<_ACEOF
23710 #define HAVE__LOG10F 1
23711 _ACEOF
23714 done
23723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23724 $as_echo_n "checking for modff declaration... " >&6; }
23725 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23726 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23727 $as_echo_n "(cached) " >&6
23728 else
23731 ac_ext=cpp
23732 ac_cpp='$CXXCPP $CPPFLAGS'
23733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23738 /* end confdefs.h. */
23739 #include <math.h>
23741 main ()
23743 modff(0, 0);
23745 return 0;
23747 _ACEOF
23748 if ac_fn_cxx_try_compile "$LINENO"; then :
23749 glibcxx_cv_func_modff_use=yes
23750 else
23751 glibcxx_cv_func_modff_use=no
23753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23754 ac_ext=c
23755 ac_cpp='$CPP $CPPFLAGS'
23756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23765 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23767 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23768 for ac_func in modff
23769 do :
23770 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23771 if test "x$ac_cv_func_modff" = x""yes; then :
23772 cat >>confdefs.h <<_ACEOF
23773 #define HAVE_MODFF 1
23774 _ACEOF
23777 done
23779 else
23781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23782 $as_echo_n "checking for _modff declaration... " >&6; }
23783 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23784 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23785 $as_echo_n "(cached) " >&6
23786 else
23789 ac_ext=cpp
23790 ac_cpp='$CXXCPP $CPPFLAGS'
23791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23796 /* end confdefs.h. */
23797 #include <math.h>
23799 main ()
23801 _modff(0, 0);
23803 return 0;
23805 _ACEOF
23806 if ac_fn_cxx_try_compile "$LINENO"; then :
23807 glibcxx_cv_func__modff_use=yes
23808 else
23809 glibcxx_cv_func__modff_use=no
23811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23812 ac_ext=c
23813 ac_cpp='$CPP $CPPFLAGS'
23814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23823 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23825 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23826 for ac_func in _modff
23827 do :
23828 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23829 if test "x$ac_cv_func__modff" = x""yes; then :
23830 cat >>confdefs.h <<_ACEOF
23831 #define HAVE__MODFF 1
23832 _ACEOF
23835 done
23844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23845 $as_echo_n "checking for modf declaration... " >&6; }
23846 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23847 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23848 $as_echo_n "(cached) " >&6
23849 else
23852 ac_ext=cpp
23853 ac_cpp='$CXXCPP $CPPFLAGS'
23854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23859 /* end confdefs.h. */
23860 #include <math.h>
23862 main ()
23864 modf(0, 0);
23866 return 0;
23868 _ACEOF
23869 if ac_fn_cxx_try_compile "$LINENO"; then :
23870 glibcxx_cv_func_modf_use=yes
23871 else
23872 glibcxx_cv_func_modf_use=no
23874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23875 ac_ext=c
23876 ac_cpp='$CPP $CPPFLAGS'
23877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23886 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23888 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23889 for ac_func in modf
23890 do :
23891 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23892 if test "x$ac_cv_func_modf" = x""yes; then :
23893 cat >>confdefs.h <<_ACEOF
23894 #define HAVE_MODF 1
23895 _ACEOF
23898 done
23900 else
23902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23903 $as_echo_n "checking for _modf declaration... " >&6; }
23904 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23905 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23906 $as_echo_n "(cached) " >&6
23907 else
23910 ac_ext=cpp
23911 ac_cpp='$CXXCPP $CPPFLAGS'
23912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23917 /* end confdefs.h. */
23918 #include <math.h>
23920 main ()
23922 _modf(0, 0);
23924 return 0;
23926 _ACEOF
23927 if ac_fn_cxx_try_compile "$LINENO"; then :
23928 glibcxx_cv_func__modf_use=yes
23929 else
23930 glibcxx_cv_func__modf_use=no
23932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23933 ac_ext=c
23934 ac_cpp='$CPP $CPPFLAGS'
23935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23944 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23946 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23947 for ac_func in _modf
23948 do :
23949 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23950 if test "x$ac_cv_func__modf" = x""yes; then :
23951 cat >>confdefs.h <<_ACEOF
23952 #define HAVE__MODF 1
23953 _ACEOF
23956 done
23965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23966 $as_echo_n "checking for powf declaration... " >&6; }
23967 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23968 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23969 $as_echo_n "(cached) " >&6
23970 else
23973 ac_ext=cpp
23974 ac_cpp='$CXXCPP $CPPFLAGS'
23975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23980 /* end confdefs.h. */
23981 #include <math.h>
23983 main ()
23985 powf(0, 0);
23987 return 0;
23989 _ACEOF
23990 if ac_fn_cxx_try_compile "$LINENO"; then :
23991 glibcxx_cv_func_powf_use=yes
23992 else
23993 glibcxx_cv_func_powf_use=no
23995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23996 ac_ext=c
23997 ac_cpp='$CPP $CPPFLAGS'
23998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24007 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24009 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24010 for ac_func in powf
24011 do :
24012 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24013 if test "x$ac_cv_func_powf" = x""yes; then :
24014 cat >>confdefs.h <<_ACEOF
24015 #define HAVE_POWF 1
24016 _ACEOF
24019 done
24021 else
24023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24024 $as_echo_n "checking for _powf declaration... " >&6; }
24025 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24026 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24027 $as_echo_n "(cached) " >&6
24028 else
24031 ac_ext=cpp
24032 ac_cpp='$CXXCPP $CPPFLAGS'
24033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24038 /* end confdefs.h. */
24039 #include <math.h>
24041 main ()
24043 _powf(0, 0);
24045 return 0;
24047 _ACEOF
24048 if ac_fn_cxx_try_compile "$LINENO"; then :
24049 glibcxx_cv_func__powf_use=yes
24050 else
24051 glibcxx_cv_func__powf_use=no
24053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24054 ac_ext=c
24055 ac_cpp='$CPP $CPPFLAGS'
24056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24065 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24067 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24068 for ac_func in _powf
24069 do :
24070 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24071 if test "x$ac_cv_func__powf" = x""yes; then :
24072 cat >>confdefs.h <<_ACEOF
24073 #define HAVE__POWF 1
24074 _ACEOF
24077 done
24086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24087 $as_echo_n "checking for sqrtf declaration... " >&6; }
24088 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24089 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24090 $as_echo_n "(cached) " >&6
24091 else
24094 ac_ext=cpp
24095 ac_cpp='$CXXCPP $CPPFLAGS'
24096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24101 /* end confdefs.h. */
24102 #include <math.h>
24103 #ifdef HAVE_IEEEFP_H
24104 #include <ieeefp.h>
24105 #endif
24108 main ()
24110 sqrtf(0);
24112 return 0;
24114 _ACEOF
24115 if ac_fn_cxx_try_compile "$LINENO"; then :
24116 glibcxx_cv_func_sqrtf_use=yes
24117 else
24118 glibcxx_cv_func_sqrtf_use=no
24120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24121 ac_ext=c
24122 ac_cpp='$CPP $CPPFLAGS'
24123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24132 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24134 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24135 for ac_func in sqrtf
24136 do :
24137 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24138 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24139 cat >>confdefs.h <<_ACEOF
24140 #define HAVE_SQRTF 1
24141 _ACEOF
24144 done
24146 else
24148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24149 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24150 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24151 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24152 $as_echo_n "(cached) " >&6
24153 else
24156 ac_ext=cpp
24157 ac_cpp='$CXXCPP $CPPFLAGS'
24158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24163 /* end confdefs.h. */
24164 #include <math.h>
24165 #ifdef HAVE_IEEEFP_H
24166 #include <ieeefp.h>
24167 #endif
24170 main ()
24172 _sqrtf(0);
24174 return 0;
24176 _ACEOF
24177 if ac_fn_cxx_try_compile "$LINENO"; then :
24178 glibcxx_cv_func__sqrtf_use=yes
24179 else
24180 glibcxx_cv_func__sqrtf_use=no
24182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24183 ac_ext=c
24184 ac_cpp='$CPP $CPPFLAGS'
24185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24194 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24196 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24197 for ac_func in _sqrtf
24198 do :
24199 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24200 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24201 cat >>confdefs.h <<_ACEOF
24202 #define HAVE__SQRTF 1
24203 _ACEOF
24206 done
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24216 $as_echo_n "checking for sincosf declaration... " >&6; }
24217 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24218 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24219 $as_echo_n "(cached) " >&6
24220 else
24223 ac_ext=cpp
24224 ac_cpp='$CXXCPP $CPPFLAGS'
24225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24230 /* end confdefs.h. */
24231 #include <math.h>
24233 main ()
24235 sincosf(0, 0, 0);
24237 return 0;
24239 _ACEOF
24240 if ac_fn_cxx_try_compile "$LINENO"; then :
24241 glibcxx_cv_func_sincosf_use=yes
24242 else
24243 glibcxx_cv_func_sincosf_use=no
24245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24246 ac_ext=c
24247 ac_cpp='$CPP $CPPFLAGS'
24248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24257 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24259 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24260 for ac_func in sincosf
24261 do :
24262 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24263 if test "x$ac_cv_func_sincosf" = x""yes; then :
24264 cat >>confdefs.h <<_ACEOF
24265 #define HAVE_SINCOSF 1
24266 _ACEOF
24269 done
24271 else
24273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24274 $as_echo_n "checking for _sincosf declaration... " >&6; }
24275 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24276 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24277 $as_echo_n "(cached) " >&6
24278 else
24281 ac_ext=cpp
24282 ac_cpp='$CXXCPP $CPPFLAGS'
24283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24288 /* end confdefs.h. */
24289 #include <math.h>
24291 main ()
24293 _sincosf(0, 0, 0);
24295 return 0;
24297 _ACEOF
24298 if ac_fn_cxx_try_compile "$LINENO"; then :
24299 glibcxx_cv_func__sincosf_use=yes
24300 else
24301 glibcxx_cv_func__sincosf_use=no
24303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24304 ac_ext=c
24305 ac_cpp='$CPP $CPPFLAGS'
24306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24315 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24317 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24318 for ac_func in _sincosf
24319 do :
24320 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24321 if test "x$ac_cv_func__sincosf" = x""yes; then :
24322 cat >>confdefs.h <<_ACEOF
24323 #define HAVE__SINCOSF 1
24324 _ACEOF
24327 done
24336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24337 $as_echo_n "checking for finitef declaration... " >&6; }
24338 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24339 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24340 $as_echo_n "(cached) " >&6
24341 else
24344 ac_ext=cpp
24345 ac_cpp='$CXXCPP $CPPFLAGS'
24346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24351 /* end confdefs.h. */
24352 #include <math.h>
24353 #ifdef HAVE_IEEEFP_H
24354 #include <ieeefp.h>
24355 #endif
24358 main ()
24360 finitef(0);
24362 return 0;
24364 _ACEOF
24365 if ac_fn_cxx_try_compile "$LINENO"; then :
24366 glibcxx_cv_func_finitef_use=yes
24367 else
24368 glibcxx_cv_func_finitef_use=no
24370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24371 ac_ext=c
24372 ac_cpp='$CPP $CPPFLAGS'
24373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24382 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24384 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24385 for ac_func in finitef
24386 do :
24387 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24388 if test "x$ac_cv_func_finitef" = x""yes; then :
24389 cat >>confdefs.h <<_ACEOF
24390 #define HAVE_FINITEF 1
24391 _ACEOF
24394 done
24396 else
24398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24399 $as_echo_n "checking for _finitef declaration... " >&6; }
24400 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24401 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24402 $as_echo_n "(cached) " >&6
24403 else
24406 ac_ext=cpp
24407 ac_cpp='$CXXCPP $CPPFLAGS'
24408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24413 /* end confdefs.h. */
24414 #include <math.h>
24415 #ifdef HAVE_IEEEFP_H
24416 #include <ieeefp.h>
24417 #endif
24420 main ()
24422 _finitef(0);
24424 return 0;
24426 _ACEOF
24427 if ac_fn_cxx_try_compile "$LINENO"; then :
24428 glibcxx_cv_func__finitef_use=yes
24429 else
24430 glibcxx_cv_func__finitef_use=no
24432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24433 ac_ext=c
24434 ac_cpp='$CPP $CPPFLAGS'
24435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24444 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24446 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24447 for ac_func in _finitef
24448 do :
24449 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24450 if test "x$ac_cv_func__finitef" = x""yes; then :
24451 cat >>confdefs.h <<_ACEOF
24452 #define HAVE__FINITEF 1
24453 _ACEOF
24456 done
24465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24466 $as_echo_n "checking for long double trig functions... " >&6; }
24467 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24468 $as_echo_n "(cached) " >&6
24469 else
24472 ac_ext=cpp
24473 ac_cpp='$CXXCPP $CPPFLAGS'
24474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24479 /* end confdefs.h. */
24480 #include <math.h>
24482 main ()
24484 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24486 return 0;
24488 _ACEOF
24489 if ac_fn_cxx_try_compile "$LINENO"; then :
24490 glibcxx_cv_func_long_double_trig_use=yes
24491 else
24492 glibcxx_cv_func_long_double_trig_use=no
24494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24495 ac_ext=c
24496 ac_cpp='$CPP $CPPFLAGS'
24497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24504 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24505 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24506 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24507 do :
24508 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24509 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24510 eval as_val=\$$as_ac_var
24511 if test "x$as_val" = x""yes; then :
24512 cat >>confdefs.h <<_ACEOF
24513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24514 _ACEOF
24517 done
24519 else
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24521 $as_echo_n "checking for _long double trig functions... " >&6; }
24522 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24523 $as_echo_n "(cached) " >&6
24524 else
24527 ac_ext=cpp
24528 ac_cpp='$CXXCPP $CPPFLAGS'
24529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24534 /* end confdefs.h. */
24535 #include <math.h>
24537 main ()
24539 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24541 return 0;
24543 _ACEOF
24544 if ac_fn_cxx_try_compile "$LINENO"; then :
24545 glibcxx_cv_func__long_double_trig_use=yes
24546 else
24547 glibcxx_cv_func__long_double_trig_use=no
24549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24550 ac_ext=c
24551 ac_cpp='$CPP $CPPFLAGS'
24552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24559 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24560 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24561 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24562 do :
24563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24565 eval as_val=\$$as_ac_var
24566 if test "x$as_val" = x""yes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24569 _ACEOF
24572 done
24581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24582 $as_echo_n "checking for long double round functions... " >&6; }
24583 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24584 $as_echo_n "(cached) " >&6
24585 else
24588 ac_ext=cpp
24589 ac_cpp='$CXXCPP $CPPFLAGS'
24590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24595 /* end confdefs.h. */
24596 #include <math.h>
24598 main ()
24600 ceill (0); floorl (0);
24602 return 0;
24604 _ACEOF
24605 if ac_fn_cxx_try_compile "$LINENO"; then :
24606 glibcxx_cv_func_long_double_round_use=yes
24607 else
24608 glibcxx_cv_func_long_double_round_use=no
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24611 ac_ext=c
24612 ac_cpp='$CPP $CPPFLAGS'
24613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24620 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24621 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24622 for ac_func in ceill floorl
24623 do :
24624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24626 eval as_val=\$$as_ac_var
24627 if test "x$as_val" = x""yes; then :
24628 cat >>confdefs.h <<_ACEOF
24629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24630 _ACEOF
24633 done
24635 else
24636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24637 $as_echo_n "checking for _long double round functions... " >&6; }
24638 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24639 $as_echo_n "(cached) " >&6
24640 else
24643 ac_ext=cpp
24644 ac_cpp='$CXXCPP $CPPFLAGS'
24645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24650 /* end confdefs.h. */
24651 #include <math.h>
24653 main ()
24655 _ceill (0); _floorl (0);
24657 return 0;
24659 _ACEOF
24660 if ac_fn_cxx_try_compile "$LINENO"; then :
24661 glibcxx_cv_func__long_double_round_use=yes
24662 else
24663 glibcxx_cv_func__long_double_round_use=no
24665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24666 ac_ext=c
24667 ac_cpp='$CPP $CPPFLAGS'
24668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24675 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24676 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24677 for ac_func in _ceill _floorl
24678 do :
24679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24681 eval as_val=\$$as_ac_var
24682 if test "x$as_val" = x""yes; then :
24683 cat >>confdefs.h <<_ACEOF
24684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24685 _ACEOF
24688 done
24698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24699 $as_echo_n "checking for isnanl declaration... " >&6; }
24700 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24701 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24702 $as_echo_n "(cached) " >&6
24703 else
24706 ac_ext=cpp
24707 ac_cpp='$CXXCPP $CPPFLAGS'
24708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24713 /* end confdefs.h. */
24714 #include <math.h>
24715 #ifdef HAVE_IEEEFP_H
24716 #include <ieeefp.h>
24717 #endif
24720 main ()
24722 isnanl(0);
24724 return 0;
24726 _ACEOF
24727 if ac_fn_cxx_try_compile "$LINENO"; then :
24728 glibcxx_cv_func_isnanl_use=yes
24729 else
24730 glibcxx_cv_func_isnanl_use=no
24732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24733 ac_ext=c
24734 ac_cpp='$CPP $CPPFLAGS'
24735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24744 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24746 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24747 for ac_func in isnanl
24748 do :
24749 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24750 if test "x$ac_cv_func_isnanl" = x""yes; then :
24751 cat >>confdefs.h <<_ACEOF
24752 #define HAVE_ISNANL 1
24753 _ACEOF
24756 done
24758 else
24760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24761 $as_echo_n "checking for _isnanl declaration... " >&6; }
24762 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24763 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24764 $as_echo_n "(cached) " >&6
24765 else
24768 ac_ext=cpp
24769 ac_cpp='$CXXCPP $CPPFLAGS'
24770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24775 /* end confdefs.h. */
24776 #include <math.h>
24777 #ifdef HAVE_IEEEFP_H
24778 #include <ieeefp.h>
24779 #endif
24782 main ()
24784 _isnanl(0);
24786 return 0;
24788 _ACEOF
24789 if ac_fn_cxx_try_compile "$LINENO"; then :
24790 glibcxx_cv_func__isnanl_use=yes
24791 else
24792 glibcxx_cv_func__isnanl_use=no
24794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24795 ac_ext=c
24796 ac_cpp='$CPP $CPPFLAGS'
24797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24806 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24808 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24809 for ac_func in _isnanl
24810 do :
24811 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24812 if test "x$ac_cv_func__isnanl" = x""yes; then :
24813 cat >>confdefs.h <<_ACEOF
24814 #define HAVE__ISNANL 1
24815 _ACEOF
24818 done
24827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24828 $as_echo_n "checking for isinfl declaration... " >&6; }
24829 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24830 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24831 $as_echo_n "(cached) " >&6
24832 else
24835 ac_ext=cpp
24836 ac_cpp='$CXXCPP $CPPFLAGS'
24837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24842 /* end confdefs.h. */
24843 #include <math.h>
24844 #ifdef HAVE_IEEEFP_H
24845 #include <ieeefp.h>
24846 #endif
24849 main ()
24851 isinfl(0);
24853 return 0;
24855 _ACEOF
24856 if ac_fn_cxx_try_compile "$LINENO"; then :
24857 glibcxx_cv_func_isinfl_use=yes
24858 else
24859 glibcxx_cv_func_isinfl_use=no
24861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24862 ac_ext=c
24863 ac_cpp='$CPP $CPPFLAGS'
24864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24873 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24875 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24876 for ac_func in isinfl
24877 do :
24878 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24879 if test "x$ac_cv_func_isinfl" = x""yes; then :
24880 cat >>confdefs.h <<_ACEOF
24881 #define HAVE_ISINFL 1
24882 _ACEOF
24885 done
24887 else
24889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24890 $as_echo_n "checking for _isinfl declaration... " >&6; }
24891 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24892 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24893 $as_echo_n "(cached) " >&6
24894 else
24897 ac_ext=cpp
24898 ac_cpp='$CXXCPP $CPPFLAGS'
24899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24904 /* end confdefs.h. */
24905 #include <math.h>
24906 #ifdef HAVE_IEEEFP_H
24907 #include <ieeefp.h>
24908 #endif
24911 main ()
24913 _isinfl(0);
24915 return 0;
24917 _ACEOF
24918 if ac_fn_cxx_try_compile "$LINENO"; then :
24919 glibcxx_cv_func__isinfl_use=yes
24920 else
24921 glibcxx_cv_func__isinfl_use=no
24923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24924 ac_ext=c
24925 ac_cpp='$CPP $CPPFLAGS'
24926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24935 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24937 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24938 for ac_func in _isinfl
24939 do :
24940 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24941 if test "x$ac_cv_func__isinfl" = x""yes; then :
24942 cat >>confdefs.h <<_ACEOF
24943 #define HAVE__ISINFL 1
24944 _ACEOF
24947 done
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24957 $as_echo_n "checking for atan2l declaration... " >&6; }
24958 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24959 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24960 $as_echo_n "(cached) " >&6
24961 else
24964 ac_ext=cpp
24965 ac_cpp='$CXXCPP $CPPFLAGS'
24966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24971 /* end confdefs.h. */
24972 #include <math.h>
24974 main ()
24976 atan2l(0, 0);
24978 return 0;
24980 _ACEOF
24981 if ac_fn_cxx_try_compile "$LINENO"; then :
24982 glibcxx_cv_func_atan2l_use=yes
24983 else
24984 glibcxx_cv_func_atan2l_use=no
24986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24987 ac_ext=c
24988 ac_cpp='$CPP $CPPFLAGS'
24989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24998 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25000 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25001 for ac_func in atan2l
25002 do :
25003 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25004 if test "x$ac_cv_func_atan2l" = x""yes; then :
25005 cat >>confdefs.h <<_ACEOF
25006 #define HAVE_ATAN2L 1
25007 _ACEOF
25010 done
25012 else
25014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25015 $as_echo_n "checking for _atan2l declaration... " >&6; }
25016 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25017 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25018 $as_echo_n "(cached) " >&6
25019 else
25022 ac_ext=cpp
25023 ac_cpp='$CXXCPP $CPPFLAGS'
25024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25029 /* end confdefs.h. */
25030 #include <math.h>
25032 main ()
25034 _atan2l(0, 0);
25036 return 0;
25038 _ACEOF
25039 if ac_fn_cxx_try_compile "$LINENO"; then :
25040 glibcxx_cv_func__atan2l_use=yes
25041 else
25042 glibcxx_cv_func__atan2l_use=no
25044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25045 ac_ext=c
25046 ac_cpp='$CPP $CPPFLAGS'
25047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25056 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25058 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25059 for ac_func in _atan2l
25060 do :
25061 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25062 if test "x$ac_cv_func__atan2l" = x""yes; then :
25063 cat >>confdefs.h <<_ACEOF
25064 #define HAVE__ATAN2L 1
25065 _ACEOF
25068 done
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25078 $as_echo_n "checking for expl declaration... " >&6; }
25079 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25080 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25081 $as_echo_n "(cached) " >&6
25082 else
25085 ac_ext=cpp
25086 ac_cpp='$CXXCPP $CPPFLAGS'
25087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25092 /* end confdefs.h. */
25093 #include <math.h>
25094 #ifdef HAVE_IEEEFP_H
25095 #include <ieeefp.h>
25096 #endif
25099 main ()
25101 expl(0);
25103 return 0;
25105 _ACEOF
25106 if ac_fn_cxx_try_compile "$LINENO"; then :
25107 glibcxx_cv_func_expl_use=yes
25108 else
25109 glibcxx_cv_func_expl_use=no
25111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25112 ac_ext=c
25113 ac_cpp='$CPP $CPPFLAGS'
25114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25123 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25125 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25126 for ac_func in expl
25127 do :
25128 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25129 if test "x$ac_cv_func_expl" = x""yes; then :
25130 cat >>confdefs.h <<_ACEOF
25131 #define HAVE_EXPL 1
25132 _ACEOF
25135 done
25137 else
25139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25140 $as_echo_n "checking for _expl declaration... " >&6; }
25141 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25142 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25143 $as_echo_n "(cached) " >&6
25144 else
25147 ac_ext=cpp
25148 ac_cpp='$CXXCPP $CPPFLAGS'
25149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25154 /* end confdefs.h. */
25155 #include <math.h>
25156 #ifdef HAVE_IEEEFP_H
25157 #include <ieeefp.h>
25158 #endif
25161 main ()
25163 _expl(0);
25165 return 0;
25167 _ACEOF
25168 if ac_fn_cxx_try_compile "$LINENO"; then :
25169 glibcxx_cv_func__expl_use=yes
25170 else
25171 glibcxx_cv_func__expl_use=no
25173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25174 ac_ext=c
25175 ac_cpp='$CPP $CPPFLAGS'
25176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25185 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25187 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25188 for ac_func in _expl
25189 do :
25190 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25191 if test "x$ac_cv_func__expl" = x""yes; then :
25192 cat >>confdefs.h <<_ACEOF
25193 #define HAVE__EXPL 1
25194 _ACEOF
25197 done
25206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25207 $as_echo_n "checking for fabsl declaration... " >&6; }
25208 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25209 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25210 $as_echo_n "(cached) " >&6
25211 else
25214 ac_ext=cpp
25215 ac_cpp='$CXXCPP $CPPFLAGS'
25216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25221 /* end confdefs.h. */
25222 #include <math.h>
25223 #ifdef HAVE_IEEEFP_H
25224 #include <ieeefp.h>
25225 #endif
25228 main ()
25230 fabsl(0);
25232 return 0;
25234 _ACEOF
25235 if ac_fn_cxx_try_compile "$LINENO"; then :
25236 glibcxx_cv_func_fabsl_use=yes
25237 else
25238 glibcxx_cv_func_fabsl_use=no
25240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25241 ac_ext=c
25242 ac_cpp='$CPP $CPPFLAGS'
25243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25252 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25254 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25255 for ac_func in fabsl
25256 do :
25257 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25258 if test "x$ac_cv_func_fabsl" = x""yes; then :
25259 cat >>confdefs.h <<_ACEOF
25260 #define HAVE_FABSL 1
25261 _ACEOF
25264 done
25266 else
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25269 $as_echo_n "checking for _fabsl declaration... " >&6; }
25270 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25271 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25272 $as_echo_n "(cached) " >&6
25273 else
25276 ac_ext=cpp
25277 ac_cpp='$CXXCPP $CPPFLAGS'
25278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25283 /* end confdefs.h. */
25284 #include <math.h>
25285 #ifdef HAVE_IEEEFP_H
25286 #include <ieeefp.h>
25287 #endif
25290 main ()
25292 _fabsl(0);
25294 return 0;
25296 _ACEOF
25297 if ac_fn_cxx_try_compile "$LINENO"; then :
25298 glibcxx_cv_func__fabsl_use=yes
25299 else
25300 glibcxx_cv_func__fabsl_use=no
25302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25303 ac_ext=c
25304 ac_cpp='$CPP $CPPFLAGS'
25305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25314 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25316 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25317 for ac_func in _fabsl
25318 do :
25319 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25320 if test "x$ac_cv_func__fabsl" = x""yes; then :
25321 cat >>confdefs.h <<_ACEOF
25322 #define HAVE__FABSL 1
25323 _ACEOF
25326 done
25335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25336 $as_echo_n "checking for fmodl declaration... " >&6; }
25337 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25338 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25339 $as_echo_n "(cached) " >&6
25340 else
25343 ac_ext=cpp
25344 ac_cpp='$CXXCPP $CPPFLAGS'
25345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25350 /* end confdefs.h. */
25351 #include <math.h>
25353 main ()
25355 fmodl(0, 0);
25357 return 0;
25359 _ACEOF
25360 if ac_fn_cxx_try_compile "$LINENO"; then :
25361 glibcxx_cv_func_fmodl_use=yes
25362 else
25363 glibcxx_cv_func_fmodl_use=no
25365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25366 ac_ext=c
25367 ac_cpp='$CPP $CPPFLAGS'
25368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25377 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25379 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25380 for ac_func in fmodl
25381 do :
25382 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25383 if test "x$ac_cv_func_fmodl" = x""yes; then :
25384 cat >>confdefs.h <<_ACEOF
25385 #define HAVE_FMODL 1
25386 _ACEOF
25389 done
25391 else
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25394 $as_echo_n "checking for _fmodl declaration... " >&6; }
25395 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25396 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25397 $as_echo_n "(cached) " >&6
25398 else
25401 ac_ext=cpp
25402 ac_cpp='$CXXCPP $CPPFLAGS'
25403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25408 /* end confdefs.h. */
25409 #include <math.h>
25411 main ()
25413 _fmodl(0, 0);
25415 return 0;
25417 _ACEOF
25418 if ac_fn_cxx_try_compile "$LINENO"; then :
25419 glibcxx_cv_func__fmodl_use=yes
25420 else
25421 glibcxx_cv_func__fmodl_use=no
25423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25424 ac_ext=c
25425 ac_cpp='$CPP $CPPFLAGS'
25426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25435 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25437 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25438 for ac_func in _fmodl
25439 do :
25440 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25441 if test "x$ac_cv_func__fmodl" = x""yes; then :
25442 cat >>confdefs.h <<_ACEOF
25443 #define HAVE__FMODL 1
25444 _ACEOF
25447 done
25456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25457 $as_echo_n "checking for frexpl declaration... " >&6; }
25458 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25459 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25460 $as_echo_n "(cached) " >&6
25461 else
25464 ac_ext=cpp
25465 ac_cpp='$CXXCPP $CPPFLAGS'
25466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25471 /* end confdefs.h. */
25472 #include <math.h>
25474 main ()
25476 frexpl(0, 0);
25478 return 0;
25480 _ACEOF
25481 if ac_fn_cxx_try_compile "$LINENO"; then :
25482 glibcxx_cv_func_frexpl_use=yes
25483 else
25484 glibcxx_cv_func_frexpl_use=no
25486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25487 ac_ext=c
25488 ac_cpp='$CPP $CPPFLAGS'
25489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25498 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25500 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25501 for ac_func in frexpl
25502 do :
25503 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25504 if test "x$ac_cv_func_frexpl" = x""yes; then :
25505 cat >>confdefs.h <<_ACEOF
25506 #define HAVE_FREXPL 1
25507 _ACEOF
25510 done
25512 else
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25515 $as_echo_n "checking for _frexpl declaration... " >&6; }
25516 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25517 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25518 $as_echo_n "(cached) " >&6
25519 else
25522 ac_ext=cpp
25523 ac_cpp='$CXXCPP $CPPFLAGS'
25524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25529 /* end confdefs.h. */
25530 #include <math.h>
25532 main ()
25534 _frexpl(0, 0);
25536 return 0;
25538 _ACEOF
25539 if ac_fn_cxx_try_compile "$LINENO"; then :
25540 glibcxx_cv_func__frexpl_use=yes
25541 else
25542 glibcxx_cv_func__frexpl_use=no
25544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25545 ac_ext=c
25546 ac_cpp='$CPP $CPPFLAGS'
25547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25556 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25558 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25559 for ac_func in _frexpl
25560 do :
25561 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25562 if test "x$ac_cv_func__frexpl" = x""yes; then :
25563 cat >>confdefs.h <<_ACEOF
25564 #define HAVE__FREXPL 1
25565 _ACEOF
25568 done
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25578 $as_echo_n "checking for hypotl declaration... " >&6; }
25579 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25580 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25581 $as_echo_n "(cached) " >&6
25582 else
25585 ac_ext=cpp
25586 ac_cpp='$CXXCPP $CPPFLAGS'
25587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25592 /* end confdefs.h. */
25593 #include <math.h>
25595 main ()
25597 hypotl(0, 0);
25599 return 0;
25601 _ACEOF
25602 if ac_fn_cxx_try_compile "$LINENO"; then :
25603 glibcxx_cv_func_hypotl_use=yes
25604 else
25605 glibcxx_cv_func_hypotl_use=no
25607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25608 ac_ext=c
25609 ac_cpp='$CPP $CPPFLAGS'
25610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25619 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25621 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25622 for ac_func in hypotl
25623 do :
25624 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25625 if test "x$ac_cv_func_hypotl" = x""yes; then :
25626 cat >>confdefs.h <<_ACEOF
25627 #define HAVE_HYPOTL 1
25628 _ACEOF
25631 done
25633 else
25635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25636 $as_echo_n "checking for _hypotl declaration... " >&6; }
25637 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25638 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25639 $as_echo_n "(cached) " >&6
25640 else
25643 ac_ext=cpp
25644 ac_cpp='$CXXCPP $CPPFLAGS'
25645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25650 /* end confdefs.h. */
25651 #include <math.h>
25653 main ()
25655 _hypotl(0, 0);
25657 return 0;
25659 _ACEOF
25660 if ac_fn_cxx_try_compile "$LINENO"; then :
25661 glibcxx_cv_func__hypotl_use=yes
25662 else
25663 glibcxx_cv_func__hypotl_use=no
25665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25666 ac_ext=c
25667 ac_cpp='$CPP $CPPFLAGS'
25668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25677 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25679 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25680 for ac_func in _hypotl
25681 do :
25682 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25683 if test "x$ac_cv_func__hypotl" = x""yes; then :
25684 cat >>confdefs.h <<_ACEOF
25685 #define HAVE__HYPOTL 1
25686 _ACEOF
25689 done
25698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25699 $as_echo_n "checking for ldexpl declaration... " >&6; }
25700 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25701 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25702 $as_echo_n "(cached) " >&6
25703 else
25706 ac_ext=cpp
25707 ac_cpp='$CXXCPP $CPPFLAGS'
25708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25713 /* end confdefs.h. */
25714 #include <math.h>
25716 main ()
25718 ldexpl(0, 0);
25720 return 0;
25722 _ACEOF
25723 if ac_fn_cxx_try_compile "$LINENO"; then :
25724 glibcxx_cv_func_ldexpl_use=yes
25725 else
25726 glibcxx_cv_func_ldexpl_use=no
25728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25729 ac_ext=c
25730 ac_cpp='$CPP $CPPFLAGS'
25731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25740 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25742 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25743 for ac_func in ldexpl
25744 do :
25745 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25746 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25747 cat >>confdefs.h <<_ACEOF
25748 #define HAVE_LDEXPL 1
25749 _ACEOF
25752 done
25754 else
25756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25757 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25758 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25759 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25760 $as_echo_n "(cached) " >&6
25761 else
25764 ac_ext=cpp
25765 ac_cpp='$CXXCPP $CPPFLAGS'
25766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25771 /* end confdefs.h. */
25772 #include <math.h>
25774 main ()
25776 _ldexpl(0, 0);
25778 return 0;
25780 _ACEOF
25781 if ac_fn_cxx_try_compile "$LINENO"; then :
25782 glibcxx_cv_func__ldexpl_use=yes
25783 else
25784 glibcxx_cv_func__ldexpl_use=no
25786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25787 ac_ext=c
25788 ac_cpp='$CPP $CPPFLAGS'
25789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25798 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25800 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25801 for ac_func in _ldexpl
25802 do :
25803 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25804 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25805 cat >>confdefs.h <<_ACEOF
25806 #define HAVE__LDEXPL 1
25807 _ACEOF
25810 done
25819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25820 $as_echo_n "checking for logl declaration... " >&6; }
25821 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25822 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25823 $as_echo_n "(cached) " >&6
25824 else
25827 ac_ext=cpp
25828 ac_cpp='$CXXCPP $CPPFLAGS'
25829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25834 /* end confdefs.h. */
25835 #include <math.h>
25836 #ifdef HAVE_IEEEFP_H
25837 #include <ieeefp.h>
25838 #endif
25841 main ()
25843 logl(0);
25845 return 0;
25847 _ACEOF
25848 if ac_fn_cxx_try_compile "$LINENO"; then :
25849 glibcxx_cv_func_logl_use=yes
25850 else
25851 glibcxx_cv_func_logl_use=no
25853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25854 ac_ext=c
25855 ac_cpp='$CPP $CPPFLAGS'
25856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25865 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25867 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25868 for ac_func in logl
25869 do :
25870 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25871 if test "x$ac_cv_func_logl" = x""yes; then :
25872 cat >>confdefs.h <<_ACEOF
25873 #define HAVE_LOGL 1
25874 _ACEOF
25877 done
25879 else
25881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25882 $as_echo_n "checking for _logl declaration... " >&6; }
25883 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25884 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25885 $as_echo_n "(cached) " >&6
25886 else
25889 ac_ext=cpp
25890 ac_cpp='$CXXCPP $CPPFLAGS'
25891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25896 /* end confdefs.h. */
25897 #include <math.h>
25898 #ifdef HAVE_IEEEFP_H
25899 #include <ieeefp.h>
25900 #endif
25903 main ()
25905 _logl(0);
25907 return 0;
25909 _ACEOF
25910 if ac_fn_cxx_try_compile "$LINENO"; then :
25911 glibcxx_cv_func__logl_use=yes
25912 else
25913 glibcxx_cv_func__logl_use=no
25915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25916 ac_ext=c
25917 ac_cpp='$CPP $CPPFLAGS'
25918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25927 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25929 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25930 for ac_func in _logl
25931 do :
25932 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25933 if test "x$ac_cv_func__logl" = x""yes; then :
25934 cat >>confdefs.h <<_ACEOF
25935 #define HAVE__LOGL 1
25936 _ACEOF
25939 done
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25949 $as_echo_n "checking for log10l declaration... " >&6; }
25950 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25951 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25952 $as_echo_n "(cached) " >&6
25953 else
25956 ac_ext=cpp
25957 ac_cpp='$CXXCPP $CPPFLAGS'
25958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25963 /* end confdefs.h. */
25964 #include <math.h>
25965 #ifdef HAVE_IEEEFP_H
25966 #include <ieeefp.h>
25967 #endif
25970 main ()
25972 log10l(0);
25974 return 0;
25976 _ACEOF
25977 if ac_fn_cxx_try_compile "$LINENO"; then :
25978 glibcxx_cv_func_log10l_use=yes
25979 else
25980 glibcxx_cv_func_log10l_use=no
25982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25983 ac_ext=c
25984 ac_cpp='$CPP $CPPFLAGS'
25985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25994 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25996 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25997 for ac_func in log10l
25998 do :
25999 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26000 if test "x$ac_cv_func_log10l" = x""yes; then :
26001 cat >>confdefs.h <<_ACEOF
26002 #define HAVE_LOG10L 1
26003 _ACEOF
26006 done
26008 else
26010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26011 $as_echo_n "checking for _log10l declaration... " >&6; }
26012 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26013 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26014 $as_echo_n "(cached) " >&6
26015 else
26018 ac_ext=cpp
26019 ac_cpp='$CXXCPP $CPPFLAGS'
26020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26025 /* end confdefs.h. */
26026 #include <math.h>
26027 #ifdef HAVE_IEEEFP_H
26028 #include <ieeefp.h>
26029 #endif
26032 main ()
26034 _log10l(0);
26036 return 0;
26038 _ACEOF
26039 if ac_fn_cxx_try_compile "$LINENO"; then :
26040 glibcxx_cv_func__log10l_use=yes
26041 else
26042 glibcxx_cv_func__log10l_use=no
26044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26045 ac_ext=c
26046 ac_cpp='$CPP $CPPFLAGS'
26047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26056 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26058 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26059 for ac_func in _log10l
26060 do :
26061 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26062 if test "x$ac_cv_func__log10l" = x""yes; then :
26063 cat >>confdefs.h <<_ACEOF
26064 #define HAVE__LOG10L 1
26065 _ACEOF
26068 done
26077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26078 $as_echo_n "checking for modfl declaration... " >&6; }
26079 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26080 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26081 $as_echo_n "(cached) " >&6
26082 else
26085 ac_ext=cpp
26086 ac_cpp='$CXXCPP $CPPFLAGS'
26087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26092 /* end confdefs.h. */
26093 #include <math.h>
26095 main ()
26097 modfl(0, 0);
26099 return 0;
26101 _ACEOF
26102 if ac_fn_cxx_try_compile "$LINENO"; then :
26103 glibcxx_cv_func_modfl_use=yes
26104 else
26105 glibcxx_cv_func_modfl_use=no
26107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26108 ac_ext=c
26109 ac_cpp='$CPP $CPPFLAGS'
26110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26119 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26121 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26122 for ac_func in modfl
26123 do :
26124 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26125 if test "x$ac_cv_func_modfl" = x""yes; then :
26126 cat >>confdefs.h <<_ACEOF
26127 #define HAVE_MODFL 1
26128 _ACEOF
26131 done
26133 else
26135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26136 $as_echo_n "checking for _modfl declaration... " >&6; }
26137 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26138 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26139 $as_echo_n "(cached) " >&6
26140 else
26143 ac_ext=cpp
26144 ac_cpp='$CXXCPP $CPPFLAGS'
26145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26150 /* end confdefs.h. */
26151 #include <math.h>
26153 main ()
26155 _modfl(0, 0);
26157 return 0;
26159 _ACEOF
26160 if ac_fn_cxx_try_compile "$LINENO"; then :
26161 glibcxx_cv_func__modfl_use=yes
26162 else
26163 glibcxx_cv_func__modfl_use=no
26165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26166 ac_ext=c
26167 ac_cpp='$CPP $CPPFLAGS'
26168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26177 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26179 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26180 for ac_func in _modfl
26181 do :
26182 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26183 if test "x$ac_cv_func__modfl" = x""yes; then :
26184 cat >>confdefs.h <<_ACEOF
26185 #define HAVE__MODFL 1
26186 _ACEOF
26189 done
26198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26199 $as_echo_n "checking for powl declaration... " >&6; }
26200 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26201 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26202 $as_echo_n "(cached) " >&6
26203 else
26206 ac_ext=cpp
26207 ac_cpp='$CXXCPP $CPPFLAGS'
26208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26213 /* end confdefs.h. */
26214 #include <math.h>
26216 main ()
26218 powl(0, 0);
26220 return 0;
26222 _ACEOF
26223 if ac_fn_cxx_try_compile "$LINENO"; then :
26224 glibcxx_cv_func_powl_use=yes
26225 else
26226 glibcxx_cv_func_powl_use=no
26228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26229 ac_ext=c
26230 ac_cpp='$CPP $CPPFLAGS'
26231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26240 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26242 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26243 for ac_func in powl
26244 do :
26245 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26246 if test "x$ac_cv_func_powl" = x""yes; then :
26247 cat >>confdefs.h <<_ACEOF
26248 #define HAVE_POWL 1
26249 _ACEOF
26252 done
26254 else
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26257 $as_echo_n "checking for _powl declaration... " >&6; }
26258 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26259 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26260 $as_echo_n "(cached) " >&6
26261 else
26264 ac_ext=cpp
26265 ac_cpp='$CXXCPP $CPPFLAGS'
26266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26271 /* end confdefs.h. */
26272 #include <math.h>
26274 main ()
26276 _powl(0, 0);
26278 return 0;
26280 _ACEOF
26281 if ac_fn_cxx_try_compile "$LINENO"; then :
26282 glibcxx_cv_func__powl_use=yes
26283 else
26284 glibcxx_cv_func__powl_use=no
26286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26287 ac_ext=c
26288 ac_cpp='$CPP $CPPFLAGS'
26289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26298 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26300 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26301 for ac_func in _powl
26302 do :
26303 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26304 if test "x$ac_cv_func__powl" = x""yes; then :
26305 cat >>confdefs.h <<_ACEOF
26306 #define HAVE__POWL 1
26307 _ACEOF
26310 done
26319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26320 $as_echo_n "checking for sqrtl declaration... " >&6; }
26321 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26322 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26323 $as_echo_n "(cached) " >&6
26324 else
26327 ac_ext=cpp
26328 ac_cpp='$CXXCPP $CPPFLAGS'
26329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26334 /* end confdefs.h. */
26335 #include <math.h>
26336 #ifdef HAVE_IEEEFP_H
26337 #include <ieeefp.h>
26338 #endif
26341 main ()
26343 sqrtl(0);
26345 return 0;
26347 _ACEOF
26348 if ac_fn_cxx_try_compile "$LINENO"; then :
26349 glibcxx_cv_func_sqrtl_use=yes
26350 else
26351 glibcxx_cv_func_sqrtl_use=no
26353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26354 ac_ext=c
26355 ac_cpp='$CPP $CPPFLAGS'
26356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26365 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26367 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26368 for ac_func in sqrtl
26369 do :
26370 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26371 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26372 cat >>confdefs.h <<_ACEOF
26373 #define HAVE_SQRTL 1
26374 _ACEOF
26377 done
26379 else
26381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26382 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26383 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26384 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26385 $as_echo_n "(cached) " >&6
26386 else
26389 ac_ext=cpp
26390 ac_cpp='$CXXCPP $CPPFLAGS'
26391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26396 /* end confdefs.h. */
26397 #include <math.h>
26398 #ifdef HAVE_IEEEFP_H
26399 #include <ieeefp.h>
26400 #endif
26403 main ()
26405 _sqrtl(0);
26407 return 0;
26409 _ACEOF
26410 if ac_fn_cxx_try_compile "$LINENO"; then :
26411 glibcxx_cv_func__sqrtl_use=yes
26412 else
26413 glibcxx_cv_func__sqrtl_use=no
26415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26416 ac_ext=c
26417 ac_cpp='$CPP $CPPFLAGS'
26418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26427 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26429 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26430 for ac_func in _sqrtl
26431 do :
26432 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26433 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26434 cat >>confdefs.h <<_ACEOF
26435 #define HAVE__SQRTL 1
26436 _ACEOF
26439 done
26448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26449 $as_echo_n "checking for sincosl declaration... " >&6; }
26450 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26451 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26452 $as_echo_n "(cached) " >&6
26453 else
26456 ac_ext=cpp
26457 ac_cpp='$CXXCPP $CPPFLAGS'
26458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26463 /* end confdefs.h. */
26464 #include <math.h>
26466 main ()
26468 sincosl(0, 0, 0);
26470 return 0;
26472 _ACEOF
26473 if ac_fn_cxx_try_compile "$LINENO"; then :
26474 glibcxx_cv_func_sincosl_use=yes
26475 else
26476 glibcxx_cv_func_sincosl_use=no
26478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26479 ac_ext=c
26480 ac_cpp='$CPP $CPPFLAGS'
26481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26490 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26492 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26493 for ac_func in sincosl
26494 do :
26495 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26496 if test "x$ac_cv_func_sincosl" = x""yes; then :
26497 cat >>confdefs.h <<_ACEOF
26498 #define HAVE_SINCOSL 1
26499 _ACEOF
26502 done
26504 else
26506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26507 $as_echo_n "checking for _sincosl declaration... " >&6; }
26508 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26509 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26510 $as_echo_n "(cached) " >&6
26511 else
26514 ac_ext=cpp
26515 ac_cpp='$CXXCPP $CPPFLAGS'
26516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26521 /* end confdefs.h. */
26522 #include <math.h>
26524 main ()
26526 _sincosl(0, 0, 0);
26528 return 0;
26530 _ACEOF
26531 if ac_fn_cxx_try_compile "$LINENO"; then :
26532 glibcxx_cv_func__sincosl_use=yes
26533 else
26534 glibcxx_cv_func__sincosl_use=no
26536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26537 ac_ext=c
26538 ac_cpp='$CPP $CPPFLAGS'
26539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26548 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26550 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26551 for ac_func in _sincosl
26552 do :
26553 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26554 if test "x$ac_cv_func__sincosl" = x""yes; then :
26555 cat >>confdefs.h <<_ACEOF
26556 #define HAVE__SINCOSL 1
26557 _ACEOF
26560 done
26569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26570 $as_echo_n "checking for finitel declaration... " >&6; }
26571 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26572 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26573 $as_echo_n "(cached) " >&6
26574 else
26577 ac_ext=cpp
26578 ac_cpp='$CXXCPP $CPPFLAGS'
26579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26584 /* end confdefs.h. */
26585 #include <math.h>
26586 #ifdef HAVE_IEEEFP_H
26587 #include <ieeefp.h>
26588 #endif
26591 main ()
26593 finitel(0);
26595 return 0;
26597 _ACEOF
26598 if ac_fn_cxx_try_compile "$LINENO"; then :
26599 glibcxx_cv_func_finitel_use=yes
26600 else
26601 glibcxx_cv_func_finitel_use=no
26603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26604 ac_ext=c
26605 ac_cpp='$CPP $CPPFLAGS'
26606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26615 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26617 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26618 for ac_func in finitel
26619 do :
26620 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26621 if test "x$ac_cv_func_finitel" = x""yes; then :
26622 cat >>confdefs.h <<_ACEOF
26623 #define HAVE_FINITEL 1
26624 _ACEOF
26627 done
26629 else
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26632 $as_echo_n "checking for _finitel declaration... " >&6; }
26633 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26634 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26635 $as_echo_n "(cached) " >&6
26636 else
26639 ac_ext=cpp
26640 ac_cpp='$CXXCPP $CPPFLAGS'
26641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26646 /* end confdefs.h. */
26647 #include <math.h>
26648 #ifdef HAVE_IEEEFP_H
26649 #include <ieeefp.h>
26650 #endif
26653 main ()
26655 _finitel(0);
26657 return 0;
26659 _ACEOF
26660 if ac_fn_cxx_try_compile "$LINENO"; then :
26661 glibcxx_cv_func__finitel_use=yes
26662 else
26663 glibcxx_cv_func__finitel_use=no
26665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26666 ac_ext=c
26667 ac_cpp='$CPP $CPPFLAGS'
26668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26677 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26679 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26680 for ac_func in _finitel
26681 do :
26682 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26683 if test "x$ac_cv_func__finitel" = x""yes; then :
26684 cat >>confdefs.h <<_ACEOF
26685 #define HAVE__FINITEL 1
26686 _ACEOF
26689 done
26697 LIBS="$ac_save_LIBS"
26698 CXXFLAGS="$ac_save_CXXFLAGS"
26701 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26702 ac_save_CXXFLAGS="$CXXFLAGS"
26703 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26707 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26708 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26709 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26710 $as_echo_n "(cached) " >&6
26711 else
26714 ac_ext=cpp
26715 ac_cpp='$CXXCPP $CPPFLAGS'
26716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26721 /* end confdefs.h. */
26722 #include <stdlib.h>
26724 main ()
26726 at_quick_exit(0);
26728 return 0;
26730 _ACEOF
26731 if ac_fn_cxx_try_compile "$LINENO"; then :
26732 glibcxx_cv_func_at_quick_exit_use=yes
26733 else
26734 glibcxx_cv_func_at_quick_exit_use=no
26736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26737 ac_ext=c
26738 ac_cpp='$CPP $CPPFLAGS'
26739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26748 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26749 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26750 for ac_func in at_quick_exit
26751 do :
26752 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26753 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26754 cat >>confdefs.h <<_ACEOF
26755 #define HAVE_AT_QUICK_EXIT 1
26756 _ACEOF
26759 done
26764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26765 $as_echo_n "checking for quick_exit declaration... " >&6; }
26766 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26767 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26768 $as_echo_n "(cached) " >&6
26769 else
26772 ac_ext=cpp
26773 ac_cpp='$CXXCPP $CPPFLAGS'
26774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26779 /* end confdefs.h. */
26780 #include <stdlib.h>
26782 main ()
26784 quick_exit(0);
26786 return 0;
26788 _ACEOF
26789 if ac_fn_cxx_try_compile "$LINENO"; then :
26790 glibcxx_cv_func_quick_exit_use=yes
26791 else
26792 glibcxx_cv_func_quick_exit_use=no
26794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26795 ac_ext=c
26796 ac_cpp='$CPP $CPPFLAGS'
26797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26806 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26807 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26808 for ac_func in quick_exit
26809 do :
26810 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26811 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26812 cat >>confdefs.h <<_ACEOF
26813 #define HAVE_QUICK_EXIT 1
26814 _ACEOF
26817 done
26822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26823 $as_echo_n "checking for strtold declaration... " >&6; }
26824 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26825 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26826 $as_echo_n "(cached) " >&6
26827 else
26830 ac_ext=cpp
26831 ac_cpp='$CXXCPP $CPPFLAGS'
26832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26837 /* end confdefs.h. */
26838 #include <stdlib.h>
26840 main ()
26842 strtold(0, 0);
26844 return 0;
26846 _ACEOF
26847 if ac_fn_cxx_try_compile "$LINENO"; then :
26848 glibcxx_cv_func_strtold_use=yes
26849 else
26850 glibcxx_cv_func_strtold_use=no
26852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26853 ac_ext=c
26854 ac_cpp='$CPP $CPPFLAGS'
26855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26864 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26865 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26866 for ac_func in strtold
26867 do :
26868 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26869 if test "x$ac_cv_func_strtold" = x""yes; then :
26870 cat >>confdefs.h <<_ACEOF
26871 #define HAVE_STRTOLD 1
26872 _ACEOF
26875 done
26882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26883 $as_echo_n "checking for strtof declaration... " >&6; }
26884 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26885 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26886 $as_echo_n "(cached) " >&6
26887 else
26890 ac_ext=cpp
26891 ac_cpp='$CXXCPP $CPPFLAGS'
26892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26897 /* end confdefs.h. */
26898 #include <stdlib.h>
26900 main ()
26902 strtof(0, 0);
26904 return 0;
26906 _ACEOF
26907 if ac_fn_cxx_try_compile "$LINENO"; then :
26908 glibcxx_cv_func_strtof_use=yes
26909 else
26910 glibcxx_cv_func_strtof_use=no
26912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26913 ac_ext=c
26914 ac_cpp='$CPP $CPPFLAGS'
26915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26924 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26925 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26926 for ac_func in strtof
26927 do :
26928 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26929 if test "x$ac_cv_func_strtof" = x""yes; then :
26930 cat >>confdefs.h <<_ACEOF
26931 #define HAVE_STRTOF 1
26932 _ACEOF
26935 done
26942 CXXFLAGS="$ac_save_CXXFLAGS"
26945 # For /dev/random and /dev/urandom for TR1.
26948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26949 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26950 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26951 $as_echo_n "(cached) " >&6
26952 else
26954 if test -r /dev/random && test -r /dev/urandom; then
26955 ## For MSys environment the test above is detect as false-positive
26956 ## on mingw-targets. So disable it explicit for them.
26957 case ${target_os} in
26958 *mingw*) glibcxx_cv_random_tr1=no ;;
26959 *) glibcxx_cv_random_tr1=yes ;;
26960 esac
26961 else
26962 glibcxx_cv_random_tr1=no;
26967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26968 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26970 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26972 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26978 # For TLS support.
26981 # Check whether --enable-tls was given.
26982 if test "${enable_tls+set}" = set; then :
26983 enableval=$enable_tls;
26984 case "$enableval" in
26985 yes|no) ;;
26986 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26987 esac
26989 else
26990 enable_tls=yes
26994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26995 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26996 if test "${gcc_cv_have_tls+set}" = set; then :
26997 $as_echo_n "(cached) " >&6
26998 else
27000 if test "$cross_compiling" = yes; then :
27001 if test x$gcc_no_link = xyes; then
27002 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27005 /* end confdefs.h. */
27006 __thread int a; int b; int main() { return a = b; }
27007 _ACEOF
27008 if ac_fn_c_try_link "$LINENO"; then :
27009 chktls_save_LDFLAGS="$LDFLAGS"
27010 case $host in
27011 *-*-linux*)
27012 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27014 esac
27015 chktls_save_CFLAGS="$CFLAGS"
27016 CFLAGS="-fPIC $CFLAGS"
27017 if test x$gcc_no_link = xyes; then
27018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27021 /* end confdefs.h. */
27022 int f() { return 0; }
27023 _ACEOF
27024 if ac_fn_c_try_link "$LINENO"; then :
27025 if test x$gcc_no_link = xyes; then
27026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27029 /* end confdefs.h. */
27030 __thread int a; int b; int f() { return a = b; }
27031 _ACEOF
27032 if ac_fn_c_try_link "$LINENO"; then :
27033 gcc_cv_have_tls=yes
27034 else
27035 gcc_cv_have_tls=no
27037 rm -f core conftest.err conftest.$ac_objext \
27038 conftest$ac_exeext conftest.$ac_ext
27039 else
27040 gcc_cv_have_tls=yes
27042 rm -f core conftest.err conftest.$ac_objext \
27043 conftest$ac_exeext conftest.$ac_ext
27044 CFLAGS="$chktls_save_CFLAGS"
27045 LDFLAGS="$chktls_save_LDFLAGS"
27046 else
27047 gcc_cv_have_tls=no
27049 rm -f core conftest.err conftest.$ac_objext \
27050 conftest$ac_exeext conftest.$ac_ext
27053 else
27054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27055 /* end confdefs.h. */
27056 __thread int a; int b; int main() { return a = b; }
27057 _ACEOF
27058 if ac_fn_c_try_run "$LINENO"; then :
27059 chktls_save_LDFLAGS="$LDFLAGS"
27060 LDFLAGS="-static $LDFLAGS"
27061 if test x$gcc_no_link = xyes; then
27062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27065 /* end confdefs.h. */
27066 int main() { return 0; }
27067 _ACEOF
27068 if ac_fn_c_try_link "$LINENO"; then :
27069 if test "$cross_compiling" = yes; then :
27070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27072 as_fn_error "cannot run test program while cross compiling
27073 See \`config.log' for more details." "$LINENO" 5; }
27074 else
27075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27076 /* end confdefs.h. */
27077 __thread int a; int b; int main() { return a = b; }
27078 _ACEOF
27079 if ac_fn_c_try_run "$LINENO"; then :
27080 gcc_cv_have_tls=yes
27081 else
27082 gcc_cv_have_tls=no
27084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27085 conftest.$ac_objext conftest.beam conftest.$ac_ext
27088 else
27089 gcc_cv_have_tls=yes
27091 rm -f core conftest.err conftest.$ac_objext \
27092 conftest$ac_exeext conftest.$ac_ext
27093 LDFLAGS="$chktls_save_LDFLAGS"
27094 if test $gcc_cv_have_tls = yes; then
27095 chktls_save_CFLAGS="$CFLAGS"
27096 thread_CFLAGS=failed
27097 for flag in '' '-pthread' '-lpthread'; do
27098 CFLAGS="$flag $chktls_save_CFLAGS"
27099 if test x$gcc_no_link = xyes; then
27100 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27103 /* end confdefs.h. */
27104 #include <pthread.h>
27105 void *g(void *d) { return NULL; }
27107 main ()
27109 pthread_t t; pthread_create(&t,NULL,g,NULL);
27111 return 0;
27113 _ACEOF
27114 if ac_fn_c_try_link "$LINENO"; then :
27115 thread_CFLAGS="$flag"
27117 rm -f core conftest.err conftest.$ac_objext \
27118 conftest$ac_exeext conftest.$ac_ext
27119 if test "X$thread_CFLAGS" != Xfailed; then
27120 break
27122 done
27123 CFLAGS="$chktls_save_CFLAGS"
27124 if test "X$thread_CFLAGS" != Xfailed; then
27125 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27126 if test "$cross_compiling" = yes; then :
27127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27129 as_fn_error "cannot run test program while cross compiling
27130 See \`config.log' for more details." "$LINENO" 5; }
27131 else
27132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27133 /* end confdefs.h. */
27134 #include <pthread.h>
27135 __thread int a;
27136 static int *volatile a_in_other_thread;
27137 static void *
27138 thread_func (void *arg)
27140 a_in_other_thread = &a;
27141 return (void *)0;
27144 main ()
27146 pthread_t thread;
27147 void *thread_retval;
27148 int *volatile a_in_main_thread;
27149 a_in_main_thread = &a;
27150 if (pthread_create (&thread, (pthread_attr_t *)0,
27151 thread_func, (void *)0))
27152 return 0;
27153 if (pthread_join (thread, &thread_retval))
27154 return 0;
27155 return (a_in_other_thread == a_in_main_thread);
27157 return 0;
27159 _ACEOF
27160 if ac_fn_c_try_run "$LINENO"; then :
27161 gcc_cv_have_tls=yes
27162 else
27163 gcc_cv_have_tls=no
27165 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27166 conftest.$ac_objext conftest.beam conftest.$ac_ext
27169 CFLAGS="$chktls_save_CFLAGS"
27172 else
27173 gcc_cv_have_tls=no
27175 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27176 conftest.$ac_objext conftest.beam conftest.$ac_ext
27180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27181 $as_echo "$gcc_cv_have_tls" >&6; }
27182 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27184 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27188 for ac_func in __cxa_thread_atexit_impl
27189 do :
27190 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27191 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27192 cat >>confdefs.h <<_ACEOF
27193 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27194 _ACEOF
27197 done
27200 # For iconv support.
27202 if test "X$prefix" = "XNONE"; then
27203 acl_final_prefix="$ac_default_prefix"
27204 else
27205 acl_final_prefix="$prefix"
27207 if test "X$exec_prefix" = "XNONE"; then
27208 acl_final_exec_prefix='${prefix}'
27209 else
27210 acl_final_exec_prefix="$exec_prefix"
27212 acl_save_prefix="$prefix"
27213 prefix="$acl_final_prefix"
27214 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27215 prefix="$acl_save_prefix"
27218 # Check whether --with-gnu-ld was given.
27219 if test "${with_gnu_ld+set}" = set; then :
27220 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27221 else
27222 with_gnu_ld=no
27225 # Prepare PATH_SEPARATOR.
27226 # The user is always right.
27227 if test "${PATH_SEPARATOR+set}" != set; then
27228 echo "#! /bin/sh" >conf$$.sh
27229 echo "exit 0" >>conf$$.sh
27230 chmod +x conf$$.sh
27231 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27232 PATH_SEPARATOR=';'
27233 else
27234 PATH_SEPARATOR=:
27236 rm -f conf$$.sh
27238 ac_prog=ld
27239 if test "$GCC" = yes; then
27240 # Check if gcc -print-prog-name=ld gives a path.
27241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27242 $as_echo_n "checking for ld used by GCC... " >&6; }
27243 case $host in
27244 *-*-mingw*)
27245 # gcc leaves a trailing carriage return which upsets mingw
27246 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27248 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27249 esac
27250 case $ac_prog in
27251 # Accept absolute paths.
27252 [\\/]* | [A-Za-z]:[\\/]*)
27253 re_direlt='/[^/][^/]*/\.\./'
27254 # Canonicalize the path of ld
27255 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27256 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27257 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27258 done
27259 test -z "$LD" && LD="$ac_prog"
27262 # If it fails, then pretend we aren't using GCC.
27263 ac_prog=ld
27266 # If it is relative, then search for the first ld in PATH.
27267 with_gnu_ld=unknown
27269 esac
27270 elif test "$with_gnu_ld" = yes; then
27271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27272 $as_echo_n "checking for GNU ld... " >&6; }
27273 else
27274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27275 $as_echo_n "checking for non-GNU ld... " >&6; }
27277 if test "${acl_cv_path_LD+set}" = set; then :
27278 $as_echo_n "(cached) " >&6
27279 else
27280 if test -z "$LD"; then
27281 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27282 for ac_dir in $PATH; do
27283 test -z "$ac_dir" && ac_dir=.
27284 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27285 acl_cv_path_LD="$ac_dir/$ac_prog"
27286 # Check to see if the program is GNU ld. I'd rather use --version,
27287 # but apparently some GNU ld's only accept -v.
27288 # Break only if it was the GNU/non-GNU ld that we prefer.
27289 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27290 test "$with_gnu_ld" != no && break
27291 else
27292 test "$with_gnu_ld" != yes && break
27295 done
27296 IFS="$ac_save_ifs"
27297 else
27298 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27302 LD="$acl_cv_path_LD"
27303 if test -n "$LD"; then
27304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27305 $as_echo "$LD" >&6; }
27306 else
27307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27308 $as_echo "no" >&6; }
27310 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27312 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27313 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27314 $as_echo_n "(cached) " >&6
27315 else
27316 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27317 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27318 acl_cv_prog_gnu_ld=yes
27319 else
27320 acl_cv_prog_gnu_ld=no
27323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27324 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27325 with_gnu_ld=$acl_cv_prog_gnu_ld
27329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27330 $as_echo_n "checking for shared library run path origin... " >&6; }
27331 if test "${acl_cv_rpath+set}" = set; then :
27332 $as_echo_n "(cached) " >&6
27333 else
27335 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27336 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27337 . ./conftest.sh
27338 rm -f ./conftest.sh
27339 acl_cv_rpath=done
27342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27343 $as_echo "$acl_cv_rpath" >&6; }
27344 wl="$acl_cv_wl"
27345 libext="$acl_cv_libext"
27346 shlibext="$acl_cv_shlibext"
27347 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27348 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27349 hardcode_direct="$acl_cv_hardcode_direct"
27350 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27351 # Check whether --enable-rpath was given.
27352 if test "${enable_rpath+set}" = set; then :
27353 enableval=$enable_rpath; :
27354 else
27355 enable_rpath=yes
27365 use_additional=yes
27367 acl_save_prefix="$prefix"
27368 prefix="$acl_final_prefix"
27369 acl_save_exec_prefix="$exec_prefix"
27370 exec_prefix="$acl_final_exec_prefix"
27372 eval additional_includedir=\"$includedir\"
27373 eval additional_libdir=\"$libdir\"
27375 exec_prefix="$acl_save_exec_prefix"
27376 prefix="$acl_save_prefix"
27379 # Check whether --with-libiconv-prefix was given.
27380 if test "${with_libiconv_prefix+set}" = set; then :
27381 withval=$with_libiconv_prefix;
27382 if test "X$withval" = "Xno"; then
27383 use_additional=no
27384 else
27385 if test "X$withval" = "X"; then
27387 acl_save_prefix="$prefix"
27388 prefix="$acl_final_prefix"
27389 acl_save_exec_prefix="$exec_prefix"
27390 exec_prefix="$acl_final_exec_prefix"
27392 eval additional_includedir=\"$includedir\"
27393 eval additional_libdir=\"$libdir\"
27395 exec_prefix="$acl_save_exec_prefix"
27396 prefix="$acl_save_prefix"
27398 else
27399 additional_includedir="$withval/include"
27400 additional_libdir="$withval/lib"
27406 LIBICONV=
27407 LTLIBICONV=
27408 INCICONV=
27409 rpathdirs=
27410 ltrpathdirs=
27411 names_already_handled=
27412 names_next_round='iconv '
27413 while test -n "$names_next_round"; do
27414 names_this_round="$names_next_round"
27415 names_next_round=
27416 for name in $names_this_round; do
27417 already_handled=
27418 for n in $names_already_handled; do
27419 if test "$n" = "$name"; then
27420 already_handled=yes
27421 break
27423 done
27424 if test -z "$already_handled"; then
27425 names_already_handled="$names_already_handled $name"
27426 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27427 eval value=\"\$HAVE_LIB$uppername\"
27428 if test -n "$value"; then
27429 if test "$value" = yes; then
27430 eval value=\"\$LIB$uppername\"
27431 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27432 eval value=\"\$LTLIB$uppername\"
27433 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27434 else
27437 else
27438 found_dir=
27439 found_la=
27440 found_so=
27441 found_a=
27442 if test $use_additional = yes; then
27443 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27444 found_dir="$additional_libdir"
27445 found_so="$additional_libdir/lib$name.$shlibext"
27446 if test -f "$additional_libdir/lib$name.la"; then
27447 found_la="$additional_libdir/lib$name.la"
27449 else
27450 if test -f "$additional_libdir/lib$name.$libext"; then
27451 found_dir="$additional_libdir"
27452 found_a="$additional_libdir/lib$name.$libext"
27453 if test -f "$additional_libdir/lib$name.la"; then
27454 found_la="$additional_libdir/lib$name.la"
27459 if test "X$found_dir" = "X"; then
27460 for x in $LDFLAGS $LTLIBICONV; do
27462 acl_save_prefix="$prefix"
27463 prefix="$acl_final_prefix"
27464 acl_save_exec_prefix="$exec_prefix"
27465 exec_prefix="$acl_final_exec_prefix"
27466 eval x=\"$x\"
27467 exec_prefix="$acl_save_exec_prefix"
27468 prefix="$acl_save_prefix"
27470 case "$x" in
27471 -L*)
27472 dir=`echo "X$x" | sed -e 's/^X-L//'`
27473 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27474 found_dir="$dir"
27475 found_so="$dir/lib$name.$shlibext"
27476 if test -f "$dir/lib$name.la"; then
27477 found_la="$dir/lib$name.la"
27479 else
27480 if test -f "$dir/lib$name.$libext"; then
27481 found_dir="$dir"
27482 found_a="$dir/lib$name.$libext"
27483 if test -f "$dir/lib$name.la"; then
27484 found_la="$dir/lib$name.la"
27489 esac
27490 if test "X$found_dir" != "X"; then
27491 break
27493 done
27495 if test "X$found_dir" != "X"; then
27496 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27497 if test "X$found_so" != "X"; then
27498 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27499 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27500 else
27501 haveit=
27502 for x in $ltrpathdirs; do
27503 if test "X$x" = "X$found_dir"; then
27504 haveit=yes
27505 break
27507 done
27508 if test -z "$haveit"; then
27509 ltrpathdirs="$ltrpathdirs $found_dir"
27511 if test "$hardcode_direct" = yes; then
27512 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27513 else
27514 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27515 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27516 haveit=
27517 for x in $rpathdirs; do
27518 if test "X$x" = "X$found_dir"; then
27519 haveit=yes
27520 break
27522 done
27523 if test -z "$haveit"; then
27524 rpathdirs="$rpathdirs $found_dir"
27526 else
27527 haveit=
27528 for x in $LDFLAGS $LIBICONV; do
27530 acl_save_prefix="$prefix"
27531 prefix="$acl_final_prefix"
27532 acl_save_exec_prefix="$exec_prefix"
27533 exec_prefix="$acl_final_exec_prefix"
27534 eval x=\"$x\"
27535 exec_prefix="$acl_save_exec_prefix"
27536 prefix="$acl_save_prefix"
27538 if test "X$x" = "X-L$found_dir"; then
27539 haveit=yes
27540 break
27542 done
27543 if test -z "$haveit"; then
27544 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27546 if test "$hardcode_minus_L" != no; then
27547 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27548 else
27549 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27554 else
27555 if test "X$found_a" != "X"; then
27556 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27557 else
27558 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27561 additional_includedir=
27562 case "$found_dir" in
27563 */lib | */lib/)
27564 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27565 additional_includedir="$basedir/include"
27567 esac
27568 if test "X$additional_includedir" != "X"; then
27569 if test "X$additional_includedir" != "X/usr/include"; then
27570 haveit=
27571 if test "X$additional_includedir" = "X/usr/local/include"; then
27572 if test -n "$GCC"; then
27573 case $host_os in
27574 linux*) haveit=yes;;
27575 esac
27578 if test -z "$haveit"; then
27579 for x in $CPPFLAGS $INCICONV; do
27581 acl_save_prefix="$prefix"
27582 prefix="$acl_final_prefix"
27583 acl_save_exec_prefix="$exec_prefix"
27584 exec_prefix="$acl_final_exec_prefix"
27585 eval x=\"$x\"
27586 exec_prefix="$acl_save_exec_prefix"
27587 prefix="$acl_save_prefix"
27589 if test "X$x" = "X-I$additional_includedir"; then
27590 haveit=yes
27591 break
27593 done
27594 if test -z "$haveit"; then
27595 if test -d "$additional_includedir"; then
27596 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27602 if test -n "$found_la"; then
27603 save_libdir="$libdir"
27604 case "$found_la" in
27605 */* | *\\*) . "$found_la" ;;
27606 *) . "./$found_la" ;;
27607 esac
27608 libdir="$save_libdir"
27609 for dep in $dependency_libs; do
27610 case "$dep" in
27611 -L*)
27612 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27613 if test "X$additional_libdir" != "X/usr/lib"; then
27614 haveit=
27615 if test "X$additional_libdir" = "X/usr/local/lib"; then
27616 if test -n "$GCC"; then
27617 case $host_os in
27618 linux*) haveit=yes;;
27619 esac
27622 if test -z "$haveit"; then
27623 haveit=
27624 for x in $LDFLAGS $LIBICONV; do
27626 acl_save_prefix="$prefix"
27627 prefix="$acl_final_prefix"
27628 acl_save_exec_prefix="$exec_prefix"
27629 exec_prefix="$acl_final_exec_prefix"
27630 eval x=\"$x\"
27631 exec_prefix="$acl_save_exec_prefix"
27632 prefix="$acl_save_prefix"
27634 if test "X$x" = "X-L$additional_libdir"; then
27635 haveit=yes
27636 break
27638 done
27639 if test -z "$haveit"; then
27640 if test -d "$additional_libdir"; then
27641 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27644 haveit=
27645 for x in $LDFLAGS $LTLIBICONV; do
27647 acl_save_prefix="$prefix"
27648 prefix="$acl_final_prefix"
27649 acl_save_exec_prefix="$exec_prefix"
27650 exec_prefix="$acl_final_exec_prefix"
27651 eval x=\"$x\"
27652 exec_prefix="$acl_save_exec_prefix"
27653 prefix="$acl_save_prefix"
27655 if test "X$x" = "X-L$additional_libdir"; then
27656 haveit=yes
27657 break
27659 done
27660 if test -z "$haveit"; then
27661 if test -d "$additional_libdir"; then
27662 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27668 -R*)
27669 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27670 if test "$enable_rpath" != no; then
27671 haveit=
27672 for x in $rpathdirs; do
27673 if test "X$x" = "X$dir"; then
27674 haveit=yes
27675 break
27677 done
27678 if test -z "$haveit"; then
27679 rpathdirs="$rpathdirs $dir"
27681 haveit=
27682 for x in $ltrpathdirs; do
27683 if test "X$x" = "X$dir"; then
27684 haveit=yes
27685 break
27687 done
27688 if test -z "$haveit"; then
27689 ltrpathdirs="$ltrpathdirs $dir"
27693 -l*)
27694 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27696 *.la)
27697 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27700 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27701 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27703 esac
27704 done
27706 else
27707 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27708 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27712 done
27713 done
27714 if test "X$rpathdirs" != "X"; then
27715 if test -n "$hardcode_libdir_separator"; then
27716 alldirs=
27717 for found_dir in $rpathdirs; do
27718 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27719 done
27720 acl_save_libdir="$libdir"
27721 libdir="$alldirs"
27722 eval flag=\"$hardcode_libdir_flag_spec\"
27723 libdir="$acl_save_libdir"
27724 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27725 else
27726 for found_dir in $rpathdirs; do
27727 acl_save_libdir="$libdir"
27728 libdir="$found_dir"
27729 eval flag=\"$hardcode_libdir_flag_spec\"
27730 libdir="$acl_save_libdir"
27731 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27732 done
27735 if test "X$ltrpathdirs" != "X"; then
27736 for found_dir in $ltrpathdirs; do
27737 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27738 done
27747 am_save_CPPFLAGS="$CPPFLAGS"
27749 for element in $INCICONV; do
27750 haveit=
27751 for x in $CPPFLAGS; do
27753 acl_save_prefix="$prefix"
27754 prefix="$acl_final_prefix"
27755 acl_save_exec_prefix="$exec_prefix"
27756 exec_prefix="$acl_final_exec_prefix"
27757 eval x=\"$x\"
27758 exec_prefix="$acl_save_exec_prefix"
27759 prefix="$acl_save_prefix"
27761 if test "X$x" = "X$element"; then
27762 haveit=yes
27763 break
27765 done
27766 if test -z "$haveit"; then
27767 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27769 done
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27773 $as_echo_n "checking for iconv... " >&6; }
27774 if test "${am_cv_func_iconv+set}" = set; then :
27775 $as_echo_n "(cached) " >&6
27776 else
27778 am_cv_func_iconv="no, consider installing GNU libiconv"
27779 am_cv_lib_iconv=no
27780 if test x$gcc_no_link = xyes; then
27781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27784 /* end confdefs.h. */
27785 #include <stdlib.h>
27786 #include <iconv.h>
27788 main ()
27790 iconv_t cd = iconv_open("","");
27791 iconv(cd,NULL,NULL,NULL,NULL);
27792 iconv_close(cd);
27794 return 0;
27796 _ACEOF
27797 if ac_fn_c_try_link "$LINENO"; then :
27798 am_cv_func_iconv=yes
27800 rm -f core conftest.err conftest.$ac_objext \
27801 conftest$ac_exeext conftest.$ac_ext
27802 if test "$am_cv_func_iconv" != yes; then
27803 am_save_LIBS="$LIBS"
27804 LIBS="$LIBS $LIBICONV"
27805 if test x$gcc_no_link = xyes; then
27806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27809 /* end confdefs.h. */
27810 #include <stdlib.h>
27811 #include <iconv.h>
27813 main ()
27815 iconv_t cd = iconv_open("","");
27816 iconv(cd,NULL,NULL,NULL,NULL);
27817 iconv_close(cd);
27819 return 0;
27821 _ACEOF
27822 if ac_fn_c_try_link "$LINENO"; then :
27823 am_cv_lib_iconv=yes
27824 am_cv_func_iconv=yes
27826 rm -f core conftest.err conftest.$ac_objext \
27827 conftest$ac_exeext conftest.$ac_ext
27828 LIBS="$am_save_LIBS"
27832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27833 $as_echo "$am_cv_func_iconv" >&6; }
27834 if test "$am_cv_func_iconv" = yes; then
27836 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27839 if test "$am_cv_lib_iconv" = yes; then
27840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27841 $as_echo_n "checking how to link with libiconv... " >&6; }
27842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27843 $as_echo "$LIBICONV" >&6; }
27844 else
27845 CPPFLAGS="$am_save_CPPFLAGS"
27846 LIBICONV=
27847 LTLIBICONV=
27852 if test "$am_cv_func_iconv" = yes; then
27853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27854 $as_echo_n "checking for iconv declaration... " >&6; }
27855 if test "${am_cv_proto_iconv+set}" = set; then :
27856 $as_echo_n "(cached) " >&6
27857 else
27859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27860 /* end confdefs.h. */
27862 #include <stdlib.h>
27863 #include <iconv.h>
27864 extern
27865 #ifdef __cplusplus
27867 #endif
27868 #if defined(__STDC__) || defined(__cplusplus)
27869 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27870 #else
27871 size_t iconv();
27872 #endif
27875 main ()
27879 return 0;
27881 _ACEOF
27882 if ac_fn_c_try_compile "$LINENO"; then :
27883 am_cv_proto_iconv_arg1=""
27884 else
27885 am_cv_proto_iconv_arg1="const"
27887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27888 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);"
27891 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27893 }$am_cv_proto_iconv" >&5
27894 $as_echo "${ac_t:-
27895 }$am_cv_proto_iconv" >&6; }
27897 cat >>confdefs.h <<_ACEOF
27898 #define ICONV_CONST $am_cv_proto_iconv_arg1
27899 _ACEOF
27904 else
27906 # This lets us hard-code the functionality we know we'll have in the cross
27907 # target environment. "Let" is a sugar-coated word placed on an especially
27908 # dull and tedious hack, actually.
27910 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27911 # that involve linking, can't be used:
27912 # "cannot open sim-crt0.o"
27913 # "cannot open crt0.o"
27914 # etc. All this is because there currently exists no unified, consistent
27915 # way for top level CC information to be passed down to target directories:
27916 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27917 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27918 # crosses can be removed.
27920 # If Canadian cross, then don't pick up tools from the build directory.
27921 # Used only in GLIBCXX_EXPORT_INCLUDES.
27922 if test -n "$with_cross_host" &&
27923 test x"$build_alias" != x"$with_cross_host" &&
27924 test x"$build" != x"$target";
27925 then
27926 CANADIAN=yes
27927 else
27928 CANADIAN=no
27931 # Construct crosses by hand, eliminating bits that need ld...
27932 # GLIBCXX_CHECK_MATH_SUPPORT
27934 # First, test for "known" system libraries. We may be using newlib even
27935 # on a hosted environment.
27936 if test "x${with_newlib}" = "xyes"; then
27937 os_include_dir="os/newlib"
27938 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27941 # GLIBCXX_CHECK_STDLIB_SUPPORT
27942 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27945 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27947 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27949 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27951 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27953 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27955 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27957 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27959 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27961 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27963 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27965 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27967 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27969 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27971 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27973 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27975 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27977 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27979 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27981 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27983 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27985 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27987 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27990 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27992 else
27994 # Base decisions on target environment.
27995 case "${host}" in
27996 arm*-*-symbianelf*)
27997 # This is a freestanding configuration; there is nothing to do here.
28000 mips*-sde-elf*)
28001 # These definitions are for the SDE C library rather than newlib.
28002 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28005 # All these tests are for C++; save the language and the compiler flags.
28006 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28007 # found in GLIBCXX_CONFIGURE.
28009 ac_ext=cpp
28010 ac_cpp='$CXXCPP $CPPFLAGS'
28011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28015 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28016 ac_save_CXXFLAGS="$CXXFLAGS"
28018 # Check for maintainer-mode bits.
28019 if test x"$USE_MAINTAINER_MODE" = xno; then
28020 WERROR=''
28021 else
28022 WERROR='-Werror'
28025 # Check for -ffunction-sections -fdata-sections
28026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28027 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28028 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28030 /* end confdefs.h. */
28031 int foo; void bar() { };
28033 main ()
28037 return 0;
28039 _ACEOF
28040 if ac_fn_cxx_try_compile "$LINENO"; then :
28041 ac_fdsections=yes
28042 else
28043 ac_fdsections=no
28045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28046 if test "$ac_test_CXXFLAGS" = set; then
28047 CXXFLAGS="$ac_save_CXXFLAGS"
28048 else
28049 # this is the suspicious part
28050 CXXFLAGS=''
28052 if test x"$ac_fdsections" = x"yes"; then
28053 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28056 $as_echo "$ac_fdsections" >&6; }
28058 ac_ext=c
28059 ac_cpp='$CPP $CPPFLAGS'
28060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28068 # If we're not using GNU ld, then there's no point in even trying these
28069 # tests. Check for that first. We should have already tested for gld
28070 # by now (in libtool), but require it now just to be safe...
28071 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28072 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28076 # The name set by libtool depends on the version of libtool. Shame on us
28077 # for depending on an impl detail, but c'est la vie. Older versions used
28078 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28079 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28080 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28081 # set (hence we're using an older libtool), then set it.
28082 if test x${with_gnu_ld+set} != xset; then
28083 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28084 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28085 with_gnu_ld=no
28086 else
28087 with_gnu_ld=$ac_cv_prog_gnu_ld
28091 # Start by getting the version number. I think the libtool test already
28092 # does some of this, but throws away the result.
28093 glibcxx_ld_is_gold=no
28094 if test x"$with_gnu_ld" = x"yes"; then
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28096 $as_echo_n "checking for ld version... " >&6; }
28098 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28099 glibcxx_ld_is_gold=yes
28101 ldver=`$LD --version 2>/dev/null |
28102 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'`
28104 glibcxx_gnu_ld_version=`echo $ldver | \
28105 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28107 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28110 # Set --gc-sections.
28111 glibcxx_have_gc_sections=no
28112 if test "$glibcxx_ld_is_gold" = "yes"; then
28113 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28114 glibcxx_have_gc_sections=yes
28116 else
28117 glibcxx_gcsections_min_ld=21602
28118 if test x"$with_gnu_ld" = x"yes" &&
28119 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28120 glibcxx_have_gc_sections=yes
28123 if test "$glibcxx_have_gc_sections" = "yes"; then
28124 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28125 # NB: This flag only works reliably after 2.16.1. Configure tests
28126 # for this are difficult, so hard wire a value that should work.
28128 ac_test_CFLAGS="${CFLAGS+set}"
28129 ac_save_CFLAGS="$CFLAGS"
28130 CFLAGS='-Wl,--gc-sections'
28132 # Check for -Wl,--gc-sections
28133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28134 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28135 if test x$gcc_no_link = xyes; then
28136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28139 /* end confdefs.h. */
28140 int one(void) { return 1; }
28141 int two(void) { return 2; }
28144 main ()
28146 two();
28148 return 0;
28150 _ACEOF
28151 if ac_fn_c_try_link "$LINENO"; then :
28152 ac_gcsections=yes
28153 else
28154 ac_gcsections=no
28156 rm -f core conftest.err conftest.$ac_objext \
28157 conftest$ac_exeext conftest.$ac_ext
28158 if test "$ac_gcsections" = "yes"; then
28159 rm -f conftest.c
28160 touch conftest.c
28161 if $CC -c conftest.c; then
28162 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28163 grep "Warning: gc-sections option ignored" > /dev/null; then
28164 ac_gcsections=no
28167 rm -f conftest.c conftest.o conftest
28169 if test "$ac_gcsections" = "yes"; then
28170 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28173 $as_echo "$ac_gcsections" >&6; }
28175 if test "$ac_test_CFLAGS" = set; then
28176 CFLAGS="$ac_save_CFLAGS"
28177 else
28178 # this is the suspicious part
28179 CFLAGS=''
28183 # Set -z,relro.
28184 # Note this is only for shared objects.
28185 ac_ld_relro=no
28186 if test x"$with_gnu_ld" = x"yes"; then
28187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28188 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28189 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28190 if test -n "$cxx_z_relo"; then
28191 OPT_LDFLAGS="-Wl,-z,relro"
28192 ac_ld_relro=yes
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28195 $as_echo "$ac_ld_relro" >&6; }
28198 # Set linker optimization flags.
28199 if test x"$with_gnu_ld" = x"yes"; then
28200 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28207 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28208 ac_save_CXXFLAGS="$CXXFLAGS"
28209 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28212 $as_echo_n "checking for sin in -lm... " >&6; }
28213 if test "${ac_cv_lib_m_sin+set}" = set; then :
28214 $as_echo_n "(cached) " >&6
28215 else
28216 ac_check_lib_save_LIBS=$LIBS
28217 LIBS="-lm $LIBS"
28218 if test x$gcc_no_link = xyes; then
28219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28222 /* end confdefs.h. */
28224 /* Override any GCC internal prototype to avoid an error.
28225 Use char because int might match the return type of a GCC
28226 builtin and then its argument prototype would still apply. */
28227 #ifdef __cplusplus
28228 extern "C"
28229 #endif
28230 char sin ();
28232 main ()
28234 return sin ();
28236 return 0;
28238 _ACEOF
28239 if ac_fn_c_try_link "$LINENO"; then :
28240 ac_cv_lib_m_sin=yes
28241 else
28242 ac_cv_lib_m_sin=no
28244 rm -f core conftest.err conftest.$ac_objext \
28245 conftest$ac_exeext conftest.$ac_ext
28246 LIBS=$ac_check_lib_save_LIBS
28248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28249 $as_echo "$ac_cv_lib_m_sin" >&6; }
28250 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28251 libm="-lm"
28254 ac_save_LIBS="$LIBS"
28255 LIBS="$LIBS $libm"
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28260 $as_echo_n "checking for isinf declaration... " >&6; }
28261 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28262 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28263 $as_echo_n "(cached) " >&6
28264 else
28267 ac_ext=cpp
28268 ac_cpp='$CXXCPP $CPPFLAGS'
28269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28274 /* end confdefs.h. */
28275 #include <math.h>
28276 #ifdef HAVE_IEEEFP_H
28277 #include <ieeefp.h>
28278 #endif
28281 main ()
28283 isinf(0);
28285 return 0;
28287 _ACEOF
28288 if ac_fn_cxx_try_compile "$LINENO"; then :
28289 glibcxx_cv_func_isinf_use=yes
28290 else
28291 glibcxx_cv_func_isinf_use=no
28293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28294 ac_ext=c
28295 ac_cpp='$CPP $CPPFLAGS'
28296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28305 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28307 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28308 for ac_func in isinf
28309 do :
28310 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28311 if test "x$ac_cv_func_isinf" = x""yes; then :
28312 cat >>confdefs.h <<_ACEOF
28313 #define HAVE_ISINF 1
28314 _ACEOF
28317 done
28319 else
28321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28322 $as_echo_n "checking for _isinf declaration... " >&6; }
28323 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28324 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28325 $as_echo_n "(cached) " >&6
28326 else
28329 ac_ext=cpp
28330 ac_cpp='$CXXCPP $CPPFLAGS'
28331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28336 /* end confdefs.h. */
28337 #include <math.h>
28338 #ifdef HAVE_IEEEFP_H
28339 #include <ieeefp.h>
28340 #endif
28343 main ()
28345 _isinf(0);
28347 return 0;
28349 _ACEOF
28350 if ac_fn_cxx_try_compile "$LINENO"; then :
28351 glibcxx_cv_func__isinf_use=yes
28352 else
28353 glibcxx_cv_func__isinf_use=no
28355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28356 ac_ext=c
28357 ac_cpp='$CPP $CPPFLAGS'
28358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28367 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28369 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28370 for ac_func in _isinf
28371 do :
28372 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28373 if test "x$ac_cv_func__isinf" = x""yes; then :
28374 cat >>confdefs.h <<_ACEOF
28375 #define HAVE__ISINF 1
28376 _ACEOF
28379 done
28388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28389 $as_echo_n "checking for isnan declaration... " >&6; }
28390 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28391 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28392 $as_echo_n "(cached) " >&6
28393 else
28396 ac_ext=cpp
28397 ac_cpp='$CXXCPP $CPPFLAGS'
28398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28403 /* end confdefs.h. */
28404 #include <math.h>
28405 #ifdef HAVE_IEEEFP_H
28406 #include <ieeefp.h>
28407 #endif
28410 main ()
28412 isnan(0);
28414 return 0;
28416 _ACEOF
28417 if ac_fn_cxx_try_compile "$LINENO"; then :
28418 glibcxx_cv_func_isnan_use=yes
28419 else
28420 glibcxx_cv_func_isnan_use=no
28422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28423 ac_ext=c
28424 ac_cpp='$CPP $CPPFLAGS'
28425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28434 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28436 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28437 for ac_func in isnan
28438 do :
28439 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28440 if test "x$ac_cv_func_isnan" = x""yes; then :
28441 cat >>confdefs.h <<_ACEOF
28442 #define HAVE_ISNAN 1
28443 _ACEOF
28446 done
28448 else
28450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28451 $as_echo_n "checking for _isnan declaration... " >&6; }
28452 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28453 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28454 $as_echo_n "(cached) " >&6
28455 else
28458 ac_ext=cpp
28459 ac_cpp='$CXXCPP $CPPFLAGS'
28460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28465 /* end confdefs.h. */
28466 #include <math.h>
28467 #ifdef HAVE_IEEEFP_H
28468 #include <ieeefp.h>
28469 #endif
28472 main ()
28474 _isnan(0);
28476 return 0;
28478 _ACEOF
28479 if ac_fn_cxx_try_compile "$LINENO"; then :
28480 glibcxx_cv_func__isnan_use=yes
28481 else
28482 glibcxx_cv_func__isnan_use=no
28484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28485 ac_ext=c
28486 ac_cpp='$CPP $CPPFLAGS'
28487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28496 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28498 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28499 for ac_func in _isnan
28500 do :
28501 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28502 if test "x$ac_cv_func__isnan" = x""yes; then :
28503 cat >>confdefs.h <<_ACEOF
28504 #define HAVE__ISNAN 1
28505 _ACEOF
28508 done
28517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28518 $as_echo_n "checking for finite declaration... " >&6; }
28519 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28520 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28521 $as_echo_n "(cached) " >&6
28522 else
28525 ac_ext=cpp
28526 ac_cpp='$CXXCPP $CPPFLAGS'
28527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28532 /* end confdefs.h. */
28533 #include <math.h>
28534 #ifdef HAVE_IEEEFP_H
28535 #include <ieeefp.h>
28536 #endif
28539 main ()
28541 finite(0);
28543 return 0;
28545 _ACEOF
28546 if ac_fn_cxx_try_compile "$LINENO"; then :
28547 glibcxx_cv_func_finite_use=yes
28548 else
28549 glibcxx_cv_func_finite_use=no
28551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28552 ac_ext=c
28553 ac_cpp='$CPP $CPPFLAGS'
28554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28563 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28565 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28566 for ac_func in finite
28567 do :
28568 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28569 if test "x$ac_cv_func_finite" = x""yes; then :
28570 cat >>confdefs.h <<_ACEOF
28571 #define HAVE_FINITE 1
28572 _ACEOF
28575 done
28577 else
28579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28580 $as_echo_n "checking for _finite declaration... " >&6; }
28581 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28582 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28583 $as_echo_n "(cached) " >&6
28584 else
28587 ac_ext=cpp
28588 ac_cpp='$CXXCPP $CPPFLAGS'
28589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28594 /* end confdefs.h. */
28595 #include <math.h>
28596 #ifdef HAVE_IEEEFP_H
28597 #include <ieeefp.h>
28598 #endif
28601 main ()
28603 _finite(0);
28605 return 0;
28607 _ACEOF
28608 if ac_fn_cxx_try_compile "$LINENO"; then :
28609 glibcxx_cv_func__finite_use=yes
28610 else
28611 glibcxx_cv_func__finite_use=no
28613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28614 ac_ext=c
28615 ac_cpp='$CPP $CPPFLAGS'
28616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28625 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28627 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28628 for ac_func in _finite
28629 do :
28630 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28631 if test "x$ac_cv_func__finite" = x""yes; then :
28632 cat >>confdefs.h <<_ACEOF
28633 #define HAVE__FINITE 1
28634 _ACEOF
28637 done
28646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28647 $as_echo_n "checking for sincos declaration... " >&6; }
28648 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28649 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28650 $as_echo_n "(cached) " >&6
28651 else
28654 ac_ext=cpp
28655 ac_cpp='$CXXCPP $CPPFLAGS'
28656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28661 /* end confdefs.h. */
28662 #include <math.h>
28664 main ()
28666 sincos(0, 0, 0);
28668 return 0;
28670 _ACEOF
28671 if ac_fn_cxx_try_compile "$LINENO"; then :
28672 glibcxx_cv_func_sincos_use=yes
28673 else
28674 glibcxx_cv_func_sincos_use=no
28676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28677 ac_ext=c
28678 ac_cpp='$CPP $CPPFLAGS'
28679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28688 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28690 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28691 for ac_func in sincos
28692 do :
28693 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28694 if test "x$ac_cv_func_sincos" = x""yes; then :
28695 cat >>confdefs.h <<_ACEOF
28696 #define HAVE_SINCOS 1
28697 _ACEOF
28700 done
28702 else
28704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28705 $as_echo_n "checking for _sincos declaration... " >&6; }
28706 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28707 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28708 $as_echo_n "(cached) " >&6
28709 else
28712 ac_ext=cpp
28713 ac_cpp='$CXXCPP $CPPFLAGS'
28714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28719 /* end confdefs.h. */
28720 #include <math.h>
28722 main ()
28724 _sincos(0, 0, 0);
28726 return 0;
28728 _ACEOF
28729 if ac_fn_cxx_try_compile "$LINENO"; then :
28730 glibcxx_cv_func__sincos_use=yes
28731 else
28732 glibcxx_cv_func__sincos_use=no
28734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28735 ac_ext=c
28736 ac_cpp='$CPP $CPPFLAGS'
28737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28746 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28748 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28749 for ac_func in _sincos
28750 do :
28751 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28752 if test "x$ac_cv_func__sincos" = x""yes; then :
28753 cat >>confdefs.h <<_ACEOF
28754 #define HAVE__SINCOS 1
28755 _ACEOF
28758 done
28767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28768 $as_echo_n "checking for fpclass declaration... " >&6; }
28769 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28770 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28771 $as_echo_n "(cached) " >&6
28772 else
28775 ac_ext=cpp
28776 ac_cpp='$CXXCPP $CPPFLAGS'
28777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28782 /* end confdefs.h. */
28783 #include <math.h>
28784 #ifdef HAVE_IEEEFP_H
28785 #include <ieeefp.h>
28786 #endif
28789 main ()
28791 fpclass(0);
28793 return 0;
28795 _ACEOF
28796 if ac_fn_cxx_try_compile "$LINENO"; then :
28797 glibcxx_cv_func_fpclass_use=yes
28798 else
28799 glibcxx_cv_func_fpclass_use=no
28801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28802 ac_ext=c
28803 ac_cpp='$CPP $CPPFLAGS'
28804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28813 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28815 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28816 for ac_func in fpclass
28817 do :
28818 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28819 if test "x$ac_cv_func_fpclass" = x""yes; then :
28820 cat >>confdefs.h <<_ACEOF
28821 #define HAVE_FPCLASS 1
28822 _ACEOF
28825 done
28827 else
28829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28830 $as_echo_n "checking for _fpclass declaration... " >&6; }
28831 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28832 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28833 $as_echo_n "(cached) " >&6
28834 else
28837 ac_ext=cpp
28838 ac_cpp='$CXXCPP $CPPFLAGS'
28839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28844 /* end confdefs.h. */
28845 #include <math.h>
28846 #ifdef HAVE_IEEEFP_H
28847 #include <ieeefp.h>
28848 #endif
28851 main ()
28853 _fpclass(0);
28855 return 0;
28857 _ACEOF
28858 if ac_fn_cxx_try_compile "$LINENO"; then :
28859 glibcxx_cv_func__fpclass_use=yes
28860 else
28861 glibcxx_cv_func__fpclass_use=no
28863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28864 ac_ext=c
28865 ac_cpp='$CPP $CPPFLAGS'
28866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28875 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28877 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28878 for ac_func in _fpclass
28879 do :
28880 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28881 if test "x$ac_cv_func__fpclass" = x""yes; then :
28882 cat >>confdefs.h <<_ACEOF
28883 #define HAVE__FPCLASS 1
28884 _ACEOF
28887 done
28896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28897 $as_echo_n "checking for qfpclass declaration... " >&6; }
28898 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28899 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28900 $as_echo_n "(cached) " >&6
28901 else
28904 ac_ext=cpp
28905 ac_cpp='$CXXCPP $CPPFLAGS'
28906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28911 /* end confdefs.h. */
28912 #include <math.h>
28913 #ifdef HAVE_IEEEFP_H
28914 #include <ieeefp.h>
28915 #endif
28918 main ()
28920 qfpclass(0);
28922 return 0;
28924 _ACEOF
28925 if ac_fn_cxx_try_compile "$LINENO"; then :
28926 glibcxx_cv_func_qfpclass_use=yes
28927 else
28928 glibcxx_cv_func_qfpclass_use=no
28930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28931 ac_ext=c
28932 ac_cpp='$CPP $CPPFLAGS'
28933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28942 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28944 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28945 for ac_func in qfpclass
28946 do :
28947 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28948 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28949 cat >>confdefs.h <<_ACEOF
28950 #define HAVE_QFPCLASS 1
28951 _ACEOF
28954 done
28956 else
28958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28959 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28960 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28961 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28962 $as_echo_n "(cached) " >&6
28963 else
28966 ac_ext=cpp
28967 ac_cpp='$CXXCPP $CPPFLAGS'
28968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28973 /* end confdefs.h. */
28974 #include <math.h>
28975 #ifdef HAVE_IEEEFP_H
28976 #include <ieeefp.h>
28977 #endif
28980 main ()
28982 _qfpclass(0);
28984 return 0;
28986 _ACEOF
28987 if ac_fn_cxx_try_compile "$LINENO"; then :
28988 glibcxx_cv_func__qfpclass_use=yes
28989 else
28990 glibcxx_cv_func__qfpclass_use=no
28992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28993 ac_ext=c
28994 ac_cpp='$CPP $CPPFLAGS'
28995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
29004 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
29006 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29007 for ac_func in _qfpclass
29008 do :
29009 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
29010 if test "x$ac_cv_func__qfpclass" = x""yes; then :
29011 cat >>confdefs.h <<_ACEOF
29012 #define HAVE__QFPCLASS 1
29013 _ACEOF
29016 done
29025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29026 $as_echo_n "checking for hypot declaration... " >&6; }
29027 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29028 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29029 $as_echo_n "(cached) " >&6
29030 else
29033 ac_ext=cpp
29034 ac_cpp='$CXXCPP $CPPFLAGS'
29035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29040 /* end confdefs.h. */
29041 #include <math.h>
29043 main ()
29045 hypot(0, 0);
29047 return 0;
29049 _ACEOF
29050 if ac_fn_cxx_try_compile "$LINENO"; then :
29051 glibcxx_cv_func_hypot_use=yes
29052 else
29053 glibcxx_cv_func_hypot_use=no
29055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29056 ac_ext=c
29057 ac_cpp='$CPP $CPPFLAGS'
29058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29067 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29069 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29070 for ac_func in hypot
29071 do :
29072 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29073 if test "x$ac_cv_func_hypot" = x""yes; then :
29074 cat >>confdefs.h <<_ACEOF
29075 #define HAVE_HYPOT 1
29076 _ACEOF
29079 done
29081 else
29083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29084 $as_echo_n "checking for _hypot declaration... " >&6; }
29085 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29086 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29087 $as_echo_n "(cached) " >&6
29088 else
29091 ac_ext=cpp
29092 ac_cpp='$CXXCPP $CPPFLAGS'
29093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29098 /* end confdefs.h. */
29099 #include <math.h>
29101 main ()
29103 _hypot(0, 0);
29105 return 0;
29107 _ACEOF
29108 if ac_fn_cxx_try_compile "$LINENO"; then :
29109 glibcxx_cv_func__hypot_use=yes
29110 else
29111 glibcxx_cv_func__hypot_use=no
29113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29114 ac_ext=c
29115 ac_cpp='$CPP $CPPFLAGS'
29116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29125 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29127 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29128 for ac_func in _hypot
29129 do :
29130 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29131 if test "x$ac_cv_func__hypot" = x""yes; then :
29132 cat >>confdefs.h <<_ACEOF
29133 #define HAVE__HYPOT 1
29134 _ACEOF
29137 done
29146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29147 $as_echo_n "checking for float trig functions... " >&6; }
29148 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29149 $as_echo_n "(cached) " >&6
29150 else
29153 ac_ext=cpp
29154 ac_cpp='$CXXCPP $CPPFLAGS'
29155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29160 /* end confdefs.h. */
29161 #include <math.h>
29163 main ()
29165 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29167 return 0;
29169 _ACEOF
29170 if ac_fn_cxx_try_compile "$LINENO"; then :
29171 glibcxx_cv_func_float_trig_use=yes
29172 else
29173 glibcxx_cv_func_float_trig_use=no
29175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29176 ac_ext=c
29177 ac_cpp='$CPP $CPPFLAGS'
29178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29185 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29186 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29187 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29188 do :
29189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29191 eval as_val=\$$as_ac_var
29192 if test "x$as_val" = x""yes; then :
29193 cat >>confdefs.h <<_ACEOF
29194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29195 _ACEOF
29198 done
29200 else
29201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29202 $as_echo_n "checking for _float trig functions... " >&6; }
29203 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29204 $as_echo_n "(cached) " >&6
29205 else
29208 ac_ext=cpp
29209 ac_cpp='$CXXCPP $CPPFLAGS'
29210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29215 /* end confdefs.h. */
29216 #include <math.h>
29218 main ()
29220 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29222 return 0;
29224 _ACEOF
29225 if ac_fn_cxx_try_compile "$LINENO"; then :
29226 glibcxx_cv_func__float_trig_use=yes
29227 else
29228 glibcxx_cv_func__float_trig_use=no
29230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29231 ac_ext=c
29232 ac_cpp='$CPP $CPPFLAGS'
29233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29240 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29241 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29242 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29243 do :
29244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29246 eval as_val=\$$as_ac_var
29247 if test "x$as_val" = x""yes; then :
29248 cat >>confdefs.h <<_ACEOF
29249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29250 _ACEOF
29253 done
29262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29263 $as_echo_n "checking for float round functions... " >&6; }
29264 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29265 $as_echo_n "(cached) " >&6
29266 else
29269 ac_ext=cpp
29270 ac_cpp='$CXXCPP $CPPFLAGS'
29271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29276 /* end confdefs.h. */
29277 #include <math.h>
29279 main ()
29281 ceilf (0); floorf (0);
29283 return 0;
29285 _ACEOF
29286 if ac_fn_cxx_try_compile "$LINENO"; then :
29287 glibcxx_cv_func_float_round_use=yes
29288 else
29289 glibcxx_cv_func_float_round_use=no
29291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29292 ac_ext=c
29293 ac_cpp='$CPP $CPPFLAGS'
29294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29301 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29302 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29303 for ac_func in ceilf floorf
29304 do :
29305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29307 eval as_val=\$$as_ac_var
29308 if test "x$as_val" = x""yes; then :
29309 cat >>confdefs.h <<_ACEOF
29310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29311 _ACEOF
29314 done
29316 else
29317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29318 $as_echo_n "checking for _float round functions... " >&6; }
29319 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29320 $as_echo_n "(cached) " >&6
29321 else
29324 ac_ext=cpp
29325 ac_cpp='$CXXCPP $CPPFLAGS'
29326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29331 /* end confdefs.h. */
29332 #include <math.h>
29334 main ()
29336 _ceilf (0); _floorf (0);
29338 return 0;
29340 _ACEOF
29341 if ac_fn_cxx_try_compile "$LINENO"; then :
29342 glibcxx_cv_func__float_round_use=yes
29343 else
29344 glibcxx_cv_func__float_round_use=no
29346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29347 ac_ext=c
29348 ac_cpp='$CPP $CPPFLAGS'
29349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29356 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29357 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29358 for ac_func in _ceilf _floorf
29359 do :
29360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29362 eval as_val=\$$as_ac_var
29363 if test "x$as_val" = x""yes; then :
29364 cat >>confdefs.h <<_ACEOF
29365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29366 _ACEOF
29369 done
29379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29380 $as_echo_n "checking for expf declaration... " >&6; }
29381 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29382 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29383 $as_echo_n "(cached) " >&6
29384 else
29387 ac_ext=cpp
29388 ac_cpp='$CXXCPP $CPPFLAGS'
29389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29394 /* end confdefs.h. */
29395 #include <math.h>
29396 #ifdef HAVE_IEEEFP_H
29397 #include <ieeefp.h>
29398 #endif
29401 main ()
29403 expf(0);
29405 return 0;
29407 _ACEOF
29408 if ac_fn_cxx_try_compile "$LINENO"; then :
29409 glibcxx_cv_func_expf_use=yes
29410 else
29411 glibcxx_cv_func_expf_use=no
29413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29414 ac_ext=c
29415 ac_cpp='$CPP $CPPFLAGS'
29416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29425 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29427 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29428 for ac_func in expf
29429 do :
29430 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29431 if test "x$ac_cv_func_expf" = x""yes; then :
29432 cat >>confdefs.h <<_ACEOF
29433 #define HAVE_EXPF 1
29434 _ACEOF
29437 done
29439 else
29441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29442 $as_echo_n "checking for _expf declaration... " >&6; }
29443 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29444 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29445 $as_echo_n "(cached) " >&6
29446 else
29449 ac_ext=cpp
29450 ac_cpp='$CXXCPP $CPPFLAGS'
29451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29456 /* end confdefs.h. */
29457 #include <math.h>
29458 #ifdef HAVE_IEEEFP_H
29459 #include <ieeefp.h>
29460 #endif
29463 main ()
29465 _expf(0);
29467 return 0;
29469 _ACEOF
29470 if ac_fn_cxx_try_compile "$LINENO"; then :
29471 glibcxx_cv_func__expf_use=yes
29472 else
29473 glibcxx_cv_func__expf_use=no
29475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29476 ac_ext=c
29477 ac_cpp='$CPP $CPPFLAGS'
29478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29487 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29489 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29490 for ac_func in _expf
29491 do :
29492 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29493 if test "x$ac_cv_func__expf" = x""yes; then :
29494 cat >>confdefs.h <<_ACEOF
29495 #define HAVE__EXPF 1
29496 _ACEOF
29499 done
29508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29509 $as_echo_n "checking for isnanf declaration... " >&6; }
29510 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29511 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29512 $as_echo_n "(cached) " >&6
29513 else
29516 ac_ext=cpp
29517 ac_cpp='$CXXCPP $CPPFLAGS'
29518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29523 /* end confdefs.h. */
29524 #include <math.h>
29525 #ifdef HAVE_IEEEFP_H
29526 #include <ieeefp.h>
29527 #endif
29530 main ()
29532 isnanf(0);
29534 return 0;
29536 _ACEOF
29537 if ac_fn_cxx_try_compile "$LINENO"; then :
29538 glibcxx_cv_func_isnanf_use=yes
29539 else
29540 glibcxx_cv_func_isnanf_use=no
29542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29543 ac_ext=c
29544 ac_cpp='$CPP $CPPFLAGS'
29545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29554 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29556 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29557 for ac_func in isnanf
29558 do :
29559 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29560 if test "x$ac_cv_func_isnanf" = x""yes; then :
29561 cat >>confdefs.h <<_ACEOF
29562 #define HAVE_ISNANF 1
29563 _ACEOF
29566 done
29568 else
29570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29571 $as_echo_n "checking for _isnanf declaration... " >&6; }
29572 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29573 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29574 $as_echo_n "(cached) " >&6
29575 else
29578 ac_ext=cpp
29579 ac_cpp='$CXXCPP $CPPFLAGS'
29580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29585 /* end confdefs.h. */
29586 #include <math.h>
29587 #ifdef HAVE_IEEEFP_H
29588 #include <ieeefp.h>
29589 #endif
29592 main ()
29594 _isnanf(0);
29596 return 0;
29598 _ACEOF
29599 if ac_fn_cxx_try_compile "$LINENO"; then :
29600 glibcxx_cv_func__isnanf_use=yes
29601 else
29602 glibcxx_cv_func__isnanf_use=no
29604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29605 ac_ext=c
29606 ac_cpp='$CPP $CPPFLAGS'
29607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29616 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29618 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29619 for ac_func in _isnanf
29620 do :
29621 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29622 if test "x$ac_cv_func__isnanf" = x""yes; then :
29623 cat >>confdefs.h <<_ACEOF
29624 #define HAVE__ISNANF 1
29625 _ACEOF
29628 done
29637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29638 $as_echo_n "checking for isinff declaration... " >&6; }
29639 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29640 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29641 $as_echo_n "(cached) " >&6
29642 else
29645 ac_ext=cpp
29646 ac_cpp='$CXXCPP $CPPFLAGS'
29647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29652 /* end confdefs.h. */
29653 #include <math.h>
29654 #ifdef HAVE_IEEEFP_H
29655 #include <ieeefp.h>
29656 #endif
29659 main ()
29661 isinff(0);
29663 return 0;
29665 _ACEOF
29666 if ac_fn_cxx_try_compile "$LINENO"; then :
29667 glibcxx_cv_func_isinff_use=yes
29668 else
29669 glibcxx_cv_func_isinff_use=no
29671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29672 ac_ext=c
29673 ac_cpp='$CPP $CPPFLAGS'
29674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29683 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29685 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29686 for ac_func in isinff
29687 do :
29688 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29689 if test "x$ac_cv_func_isinff" = x""yes; then :
29690 cat >>confdefs.h <<_ACEOF
29691 #define HAVE_ISINFF 1
29692 _ACEOF
29695 done
29697 else
29699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29700 $as_echo_n "checking for _isinff declaration... " >&6; }
29701 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29702 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29703 $as_echo_n "(cached) " >&6
29704 else
29707 ac_ext=cpp
29708 ac_cpp='$CXXCPP $CPPFLAGS'
29709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29714 /* end confdefs.h. */
29715 #include <math.h>
29716 #ifdef HAVE_IEEEFP_H
29717 #include <ieeefp.h>
29718 #endif
29721 main ()
29723 _isinff(0);
29725 return 0;
29727 _ACEOF
29728 if ac_fn_cxx_try_compile "$LINENO"; then :
29729 glibcxx_cv_func__isinff_use=yes
29730 else
29731 glibcxx_cv_func__isinff_use=no
29733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29734 ac_ext=c
29735 ac_cpp='$CPP $CPPFLAGS'
29736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29745 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29747 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29748 for ac_func in _isinff
29749 do :
29750 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29751 if test "x$ac_cv_func__isinff" = x""yes; then :
29752 cat >>confdefs.h <<_ACEOF
29753 #define HAVE__ISINFF 1
29754 _ACEOF
29757 done
29766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29767 $as_echo_n "checking for atan2f declaration... " >&6; }
29768 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29769 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29770 $as_echo_n "(cached) " >&6
29771 else
29774 ac_ext=cpp
29775 ac_cpp='$CXXCPP $CPPFLAGS'
29776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29781 /* end confdefs.h. */
29782 #include <math.h>
29784 main ()
29786 atan2f(0, 0);
29788 return 0;
29790 _ACEOF
29791 if ac_fn_cxx_try_compile "$LINENO"; then :
29792 glibcxx_cv_func_atan2f_use=yes
29793 else
29794 glibcxx_cv_func_atan2f_use=no
29796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29797 ac_ext=c
29798 ac_cpp='$CPP $CPPFLAGS'
29799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29808 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29810 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29811 for ac_func in atan2f
29812 do :
29813 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29814 if test "x$ac_cv_func_atan2f" = x""yes; then :
29815 cat >>confdefs.h <<_ACEOF
29816 #define HAVE_ATAN2F 1
29817 _ACEOF
29820 done
29822 else
29824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29825 $as_echo_n "checking for _atan2f declaration... " >&6; }
29826 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29827 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29828 $as_echo_n "(cached) " >&6
29829 else
29832 ac_ext=cpp
29833 ac_cpp='$CXXCPP $CPPFLAGS'
29834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29839 /* end confdefs.h. */
29840 #include <math.h>
29842 main ()
29844 _atan2f(0, 0);
29846 return 0;
29848 _ACEOF
29849 if ac_fn_cxx_try_compile "$LINENO"; then :
29850 glibcxx_cv_func__atan2f_use=yes
29851 else
29852 glibcxx_cv_func__atan2f_use=no
29854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29855 ac_ext=c
29856 ac_cpp='$CPP $CPPFLAGS'
29857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29866 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29868 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29869 for ac_func in _atan2f
29870 do :
29871 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29872 if test "x$ac_cv_func__atan2f" = x""yes; then :
29873 cat >>confdefs.h <<_ACEOF
29874 #define HAVE__ATAN2F 1
29875 _ACEOF
29878 done
29887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29888 $as_echo_n "checking for fabsf declaration... " >&6; }
29889 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29890 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29891 $as_echo_n "(cached) " >&6
29892 else
29895 ac_ext=cpp
29896 ac_cpp='$CXXCPP $CPPFLAGS'
29897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29902 /* end confdefs.h. */
29903 #include <math.h>
29904 #ifdef HAVE_IEEEFP_H
29905 #include <ieeefp.h>
29906 #endif
29909 main ()
29911 fabsf(0);
29913 return 0;
29915 _ACEOF
29916 if ac_fn_cxx_try_compile "$LINENO"; then :
29917 glibcxx_cv_func_fabsf_use=yes
29918 else
29919 glibcxx_cv_func_fabsf_use=no
29921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29922 ac_ext=c
29923 ac_cpp='$CPP $CPPFLAGS'
29924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29933 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29935 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29936 for ac_func in fabsf
29937 do :
29938 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29939 if test "x$ac_cv_func_fabsf" = x""yes; then :
29940 cat >>confdefs.h <<_ACEOF
29941 #define HAVE_FABSF 1
29942 _ACEOF
29945 done
29947 else
29949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29950 $as_echo_n "checking for _fabsf declaration... " >&6; }
29951 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29952 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29953 $as_echo_n "(cached) " >&6
29954 else
29957 ac_ext=cpp
29958 ac_cpp='$CXXCPP $CPPFLAGS'
29959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29964 /* end confdefs.h. */
29965 #include <math.h>
29966 #ifdef HAVE_IEEEFP_H
29967 #include <ieeefp.h>
29968 #endif
29971 main ()
29973 _fabsf(0);
29975 return 0;
29977 _ACEOF
29978 if ac_fn_cxx_try_compile "$LINENO"; then :
29979 glibcxx_cv_func__fabsf_use=yes
29980 else
29981 glibcxx_cv_func__fabsf_use=no
29983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29984 ac_ext=c
29985 ac_cpp='$CPP $CPPFLAGS'
29986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29995 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29997 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29998 for ac_func in _fabsf
29999 do :
30000 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
30001 if test "x$ac_cv_func__fabsf" = x""yes; then :
30002 cat >>confdefs.h <<_ACEOF
30003 #define HAVE__FABSF 1
30004 _ACEOF
30007 done
30016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30017 $as_echo_n "checking for fmodf declaration... " >&6; }
30018 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30019 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
30020 $as_echo_n "(cached) " >&6
30021 else
30024 ac_ext=cpp
30025 ac_cpp='$CXXCPP $CPPFLAGS'
30026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30031 /* end confdefs.h. */
30032 #include <math.h>
30034 main ()
30036 fmodf(0, 0);
30038 return 0;
30040 _ACEOF
30041 if ac_fn_cxx_try_compile "$LINENO"; then :
30042 glibcxx_cv_func_fmodf_use=yes
30043 else
30044 glibcxx_cv_func_fmodf_use=no
30046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30047 ac_ext=c
30048 ac_cpp='$CPP $CPPFLAGS'
30049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
30058 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30060 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30061 for ac_func in fmodf
30062 do :
30063 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30064 if test "x$ac_cv_func_fmodf" = x""yes; then :
30065 cat >>confdefs.h <<_ACEOF
30066 #define HAVE_FMODF 1
30067 _ACEOF
30070 done
30072 else
30074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30075 $as_echo_n "checking for _fmodf declaration... " >&6; }
30076 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30077 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30078 $as_echo_n "(cached) " >&6
30079 else
30082 ac_ext=cpp
30083 ac_cpp='$CXXCPP $CPPFLAGS'
30084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30089 /* end confdefs.h. */
30090 #include <math.h>
30092 main ()
30094 _fmodf(0, 0);
30096 return 0;
30098 _ACEOF
30099 if ac_fn_cxx_try_compile "$LINENO"; then :
30100 glibcxx_cv_func__fmodf_use=yes
30101 else
30102 glibcxx_cv_func__fmodf_use=no
30104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30105 ac_ext=c
30106 ac_cpp='$CPP $CPPFLAGS'
30107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30116 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30118 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30119 for ac_func in _fmodf
30120 do :
30121 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30122 if test "x$ac_cv_func__fmodf" = x""yes; then :
30123 cat >>confdefs.h <<_ACEOF
30124 #define HAVE__FMODF 1
30125 _ACEOF
30128 done
30137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30138 $as_echo_n "checking for frexpf declaration... " >&6; }
30139 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30140 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30141 $as_echo_n "(cached) " >&6
30142 else
30145 ac_ext=cpp
30146 ac_cpp='$CXXCPP $CPPFLAGS'
30147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30152 /* end confdefs.h. */
30153 #include <math.h>
30155 main ()
30157 frexpf(0, 0);
30159 return 0;
30161 _ACEOF
30162 if ac_fn_cxx_try_compile "$LINENO"; then :
30163 glibcxx_cv_func_frexpf_use=yes
30164 else
30165 glibcxx_cv_func_frexpf_use=no
30167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30168 ac_ext=c
30169 ac_cpp='$CPP $CPPFLAGS'
30170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30179 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30181 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30182 for ac_func in frexpf
30183 do :
30184 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30185 if test "x$ac_cv_func_frexpf" = x""yes; then :
30186 cat >>confdefs.h <<_ACEOF
30187 #define HAVE_FREXPF 1
30188 _ACEOF
30191 done
30193 else
30195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30196 $as_echo_n "checking for _frexpf declaration... " >&6; }
30197 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30198 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30199 $as_echo_n "(cached) " >&6
30200 else
30203 ac_ext=cpp
30204 ac_cpp='$CXXCPP $CPPFLAGS'
30205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30210 /* end confdefs.h. */
30211 #include <math.h>
30213 main ()
30215 _frexpf(0, 0);
30217 return 0;
30219 _ACEOF
30220 if ac_fn_cxx_try_compile "$LINENO"; then :
30221 glibcxx_cv_func__frexpf_use=yes
30222 else
30223 glibcxx_cv_func__frexpf_use=no
30225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30226 ac_ext=c
30227 ac_cpp='$CPP $CPPFLAGS'
30228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30237 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30239 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30240 for ac_func in _frexpf
30241 do :
30242 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30243 if test "x$ac_cv_func__frexpf" = x""yes; then :
30244 cat >>confdefs.h <<_ACEOF
30245 #define HAVE__FREXPF 1
30246 _ACEOF
30249 done
30258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30259 $as_echo_n "checking for hypotf declaration... " >&6; }
30260 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30261 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30262 $as_echo_n "(cached) " >&6
30263 else
30266 ac_ext=cpp
30267 ac_cpp='$CXXCPP $CPPFLAGS'
30268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30273 /* end confdefs.h. */
30274 #include <math.h>
30276 main ()
30278 hypotf(0, 0);
30280 return 0;
30282 _ACEOF
30283 if ac_fn_cxx_try_compile "$LINENO"; then :
30284 glibcxx_cv_func_hypotf_use=yes
30285 else
30286 glibcxx_cv_func_hypotf_use=no
30288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30289 ac_ext=c
30290 ac_cpp='$CPP $CPPFLAGS'
30291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30300 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30302 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30303 for ac_func in hypotf
30304 do :
30305 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30306 if test "x$ac_cv_func_hypotf" = x""yes; then :
30307 cat >>confdefs.h <<_ACEOF
30308 #define HAVE_HYPOTF 1
30309 _ACEOF
30312 done
30314 else
30316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30317 $as_echo_n "checking for _hypotf declaration... " >&6; }
30318 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30319 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30320 $as_echo_n "(cached) " >&6
30321 else
30324 ac_ext=cpp
30325 ac_cpp='$CXXCPP $CPPFLAGS'
30326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30331 /* end confdefs.h. */
30332 #include <math.h>
30334 main ()
30336 _hypotf(0, 0);
30338 return 0;
30340 _ACEOF
30341 if ac_fn_cxx_try_compile "$LINENO"; then :
30342 glibcxx_cv_func__hypotf_use=yes
30343 else
30344 glibcxx_cv_func__hypotf_use=no
30346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30347 ac_ext=c
30348 ac_cpp='$CPP $CPPFLAGS'
30349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30358 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30360 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30361 for ac_func in _hypotf
30362 do :
30363 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30364 if test "x$ac_cv_func__hypotf" = x""yes; then :
30365 cat >>confdefs.h <<_ACEOF
30366 #define HAVE__HYPOTF 1
30367 _ACEOF
30370 done
30379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30380 $as_echo_n "checking for ldexpf declaration... " >&6; }
30381 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30382 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30383 $as_echo_n "(cached) " >&6
30384 else
30387 ac_ext=cpp
30388 ac_cpp='$CXXCPP $CPPFLAGS'
30389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30394 /* end confdefs.h. */
30395 #include <math.h>
30397 main ()
30399 ldexpf(0, 0);
30401 return 0;
30403 _ACEOF
30404 if ac_fn_cxx_try_compile "$LINENO"; then :
30405 glibcxx_cv_func_ldexpf_use=yes
30406 else
30407 glibcxx_cv_func_ldexpf_use=no
30409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30410 ac_ext=c
30411 ac_cpp='$CPP $CPPFLAGS'
30412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30421 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30423 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30424 for ac_func in ldexpf
30425 do :
30426 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30427 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30428 cat >>confdefs.h <<_ACEOF
30429 #define HAVE_LDEXPF 1
30430 _ACEOF
30433 done
30435 else
30437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30438 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30439 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30440 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30441 $as_echo_n "(cached) " >&6
30442 else
30445 ac_ext=cpp
30446 ac_cpp='$CXXCPP $CPPFLAGS'
30447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30452 /* end confdefs.h. */
30453 #include <math.h>
30455 main ()
30457 _ldexpf(0, 0);
30459 return 0;
30461 _ACEOF
30462 if ac_fn_cxx_try_compile "$LINENO"; then :
30463 glibcxx_cv_func__ldexpf_use=yes
30464 else
30465 glibcxx_cv_func__ldexpf_use=no
30467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30468 ac_ext=c
30469 ac_cpp='$CPP $CPPFLAGS'
30470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30479 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30481 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30482 for ac_func in _ldexpf
30483 do :
30484 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30485 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30486 cat >>confdefs.h <<_ACEOF
30487 #define HAVE__LDEXPF 1
30488 _ACEOF
30491 done
30500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30501 $as_echo_n "checking for logf declaration... " >&6; }
30502 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30503 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30504 $as_echo_n "(cached) " >&6
30505 else
30508 ac_ext=cpp
30509 ac_cpp='$CXXCPP $CPPFLAGS'
30510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30515 /* end confdefs.h. */
30516 #include <math.h>
30517 #ifdef HAVE_IEEEFP_H
30518 #include <ieeefp.h>
30519 #endif
30522 main ()
30524 logf(0);
30526 return 0;
30528 _ACEOF
30529 if ac_fn_cxx_try_compile "$LINENO"; then :
30530 glibcxx_cv_func_logf_use=yes
30531 else
30532 glibcxx_cv_func_logf_use=no
30534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30535 ac_ext=c
30536 ac_cpp='$CPP $CPPFLAGS'
30537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30546 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30548 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30549 for ac_func in logf
30550 do :
30551 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30552 if test "x$ac_cv_func_logf" = x""yes; then :
30553 cat >>confdefs.h <<_ACEOF
30554 #define HAVE_LOGF 1
30555 _ACEOF
30558 done
30560 else
30562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30563 $as_echo_n "checking for _logf declaration... " >&6; }
30564 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30565 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30566 $as_echo_n "(cached) " >&6
30567 else
30570 ac_ext=cpp
30571 ac_cpp='$CXXCPP $CPPFLAGS'
30572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30577 /* end confdefs.h. */
30578 #include <math.h>
30579 #ifdef HAVE_IEEEFP_H
30580 #include <ieeefp.h>
30581 #endif
30584 main ()
30586 _logf(0);
30588 return 0;
30590 _ACEOF
30591 if ac_fn_cxx_try_compile "$LINENO"; then :
30592 glibcxx_cv_func__logf_use=yes
30593 else
30594 glibcxx_cv_func__logf_use=no
30596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30597 ac_ext=c
30598 ac_cpp='$CPP $CPPFLAGS'
30599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30608 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30610 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30611 for ac_func in _logf
30612 do :
30613 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30614 if test "x$ac_cv_func__logf" = x""yes; then :
30615 cat >>confdefs.h <<_ACEOF
30616 #define HAVE__LOGF 1
30617 _ACEOF
30620 done
30629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30630 $as_echo_n "checking for log10f declaration... " >&6; }
30631 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30632 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30633 $as_echo_n "(cached) " >&6
30634 else
30637 ac_ext=cpp
30638 ac_cpp='$CXXCPP $CPPFLAGS'
30639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30644 /* end confdefs.h. */
30645 #include <math.h>
30646 #ifdef HAVE_IEEEFP_H
30647 #include <ieeefp.h>
30648 #endif
30651 main ()
30653 log10f(0);
30655 return 0;
30657 _ACEOF
30658 if ac_fn_cxx_try_compile "$LINENO"; then :
30659 glibcxx_cv_func_log10f_use=yes
30660 else
30661 glibcxx_cv_func_log10f_use=no
30663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30664 ac_ext=c
30665 ac_cpp='$CPP $CPPFLAGS'
30666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30675 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30677 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30678 for ac_func in log10f
30679 do :
30680 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30681 if test "x$ac_cv_func_log10f" = x""yes; then :
30682 cat >>confdefs.h <<_ACEOF
30683 #define HAVE_LOG10F 1
30684 _ACEOF
30687 done
30689 else
30691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30692 $as_echo_n "checking for _log10f declaration... " >&6; }
30693 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30694 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30695 $as_echo_n "(cached) " >&6
30696 else
30699 ac_ext=cpp
30700 ac_cpp='$CXXCPP $CPPFLAGS'
30701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30706 /* end confdefs.h. */
30707 #include <math.h>
30708 #ifdef HAVE_IEEEFP_H
30709 #include <ieeefp.h>
30710 #endif
30713 main ()
30715 _log10f(0);
30717 return 0;
30719 _ACEOF
30720 if ac_fn_cxx_try_compile "$LINENO"; then :
30721 glibcxx_cv_func__log10f_use=yes
30722 else
30723 glibcxx_cv_func__log10f_use=no
30725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30726 ac_ext=c
30727 ac_cpp='$CPP $CPPFLAGS'
30728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30737 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30739 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30740 for ac_func in _log10f
30741 do :
30742 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30743 if test "x$ac_cv_func__log10f" = x""yes; then :
30744 cat >>confdefs.h <<_ACEOF
30745 #define HAVE__LOG10F 1
30746 _ACEOF
30749 done
30758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30759 $as_echo_n "checking for modff declaration... " >&6; }
30760 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30761 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30762 $as_echo_n "(cached) " >&6
30763 else
30766 ac_ext=cpp
30767 ac_cpp='$CXXCPP $CPPFLAGS'
30768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30773 /* end confdefs.h. */
30774 #include <math.h>
30776 main ()
30778 modff(0, 0);
30780 return 0;
30782 _ACEOF
30783 if ac_fn_cxx_try_compile "$LINENO"; then :
30784 glibcxx_cv_func_modff_use=yes
30785 else
30786 glibcxx_cv_func_modff_use=no
30788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30789 ac_ext=c
30790 ac_cpp='$CPP $CPPFLAGS'
30791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30800 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30802 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30803 for ac_func in modff
30804 do :
30805 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30806 if test "x$ac_cv_func_modff" = x""yes; then :
30807 cat >>confdefs.h <<_ACEOF
30808 #define HAVE_MODFF 1
30809 _ACEOF
30812 done
30814 else
30816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30817 $as_echo_n "checking for _modff declaration... " >&6; }
30818 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30819 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30820 $as_echo_n "(cached) " >&6
30821 else
30824 ac_ext=cpp
30825 ac_cpp='$CXXCPP $CPPFLAGS'
30826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30831 /* end confdefs.h. */
30832 #include <math.h>
30834 main ()
30836 _modff(0, 0);
30838 return 0;
30840 _ACEOF
30841 if ac_fn_cxx_try_compile "$LINENO"; then :
30842 glibcxx_cv_func__modff_use=yes
30843 else
30844 glibcxx_cv_func__modff_use=no
30846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30847 ac_ext=c
30848 ac_cpp='$CPP $CPPFLAGS'
30849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30858 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30860 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30861 for ac_func in _modff
30862 do :
30863 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30864 if test "x$ac_cv_func__modff" = x""yes; then :
30865 cat >>confdefs.h <<_ACEOF
30866 #define HAVE__MODFF 1
30867 _ACEOF
30870 done
30879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30880 $as_echo_n "checking for modf declaration... " >&6; }
30881 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30882 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30883 $as_echo_n "(cached) " >&6
30884 else
30887 ac_ext=cpp
30888 ac_cpp='$CXXCPP $CPPFLAGS'
30889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30894 /* end confdefs.h. */
30895 #include <math.h>
30897 main ()
30899 modf(0, 0);
30901 return 0;
30903 _ACEOF
30904 if ac_fn_cxx_try_compile "$LINENO"; then :
30905 glibcxx_cv_func_modf_use=yes
30906 else
30907 glibcxx_cv_func_modf_use=no
30909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30910 ac_ext=c
30911 ac_cpp='$CPP $CPPFLAGS'
30912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30921 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30923 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30924 for ac_func in modf
30925 do :
30926 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30927 if test "x$ac_cv_func_modf" = x""yes; then :
30928 cat >>confdefs.h <<_ACEOF
30929 #define HAVE_MODF 1
30930 _ACEOF
30933 done
30935 else
30937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30938 $as_echo_n "checking for _modf declaration... " >&6; }
30939 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30940 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30941 $as_echo_n "(cached) " >&6
30942 else
30945 ac_ext=cpp
30946 ac_cpp='$CXXCPP $CPPFLAGS'
30947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30952 /* end confdefs.h. */
30953 #include <math.h>
30955 main ()
30957 _modf(0, 0);
30959 return 0;
30961 _ACEOF
30962 if ac_fn_cxx_try_compile "$LINENO"; then :
30963 glibcxx_cv_func__modf_use=yes
30964 else
30965 glibcxx_cv_func__modf_use=no
30967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30968 ac_ext=c
30969 ac_cpp='$CPP $CPPFLAGS'
30970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30979 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30981 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30982 for ac_func in _modf
30983 do :
30984 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30985 if test "x$ac_cv_func__modf" = x""yes; then :
30986 cat >>confdefs.h <<_ACEOF
30987 #define HAVE__MODF 1
30988 _ACEOF
30991 done
31000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
31001 $as_echo_n "checking for powf declaration... " >&6; }
31002 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31003 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
31004 $as_echo_n "(cached) " >&6
31005 else
31008 ac_ext=cpp
31009 ac_cpp='$CXXCPP $CPPFLAGS'
31010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31015 /* end confdefs.h. */
31016 #include <math.h>
31018 main ()
31020 powf(0, 0);
31022 return 0;
31024 _ACEOF
31025 if ac_fn_cxx_try_compile "$LINENO"; then :
31026 glibcxx_cv_func_powf_use=yes
31027 else
31028 glibcxx_cv_func_powf_use=no
31030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31031 ac_ext=c
31032 ac_cpp='$CPP $CPPFLAGS'
31033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31042 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31044 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31045 for ac_func in powf
31046 do :
31047 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31048 if test "x$ac_cv_func_powf" = x""yes; then :
31049 cat >>confdefs.h <<_ACEOF
31050 #define HAVE_POWF 1
31051 _ACEOF
31054 done
31056 else
31058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31059 $as_echo_n "checking for _powf declaration... " >&6; }
31060 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31061 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31062 $as_echo_n "(cached) " >&6
31063 else
31066 ac_ext=cpp
31067 ac_cpp='$CXXCPP $CPPFLAGS'
31068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31073 /* end confdefs.h. */
31074 #include <math.h>
31076 main ()
31078 _powf(0, 0);
31080 return 0;
31082 _ACEOF
31083 if ac_fn_cxx_try_compile "$LINENO"; then :
31084 glibcxx_cv_func__powf_use=yes
31085 else
31086 glibcxx_cv_func__powf_use=no
31088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31089 ac_ext=c
31090 ac_cpp='$CPP $CPPFLAGS'
31091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31100 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31102 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31103 for ac_func in _powf
31104 do :
31105 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31106 if test "x$ac_cv_func__powf" = x""yes; then :
31107 cat >>confdefs.h <<_ACEOF
31108 #define HAVE__POWF 1
31109 _ACEOF
31112 done
31121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31122 $as_echo_n "checking for sqrtf declaration... " >&6; }
31123 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31124 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31125 $as_echo_n "(cached) " >&6
31126 else
31129 ac_ext=cpp
31130 ac_cpp='$CXXCPP $CPPFLAGS'
31131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31136 /* end confdefs.h. */
31137 #include <math.h>
31138 #ifdef HAVE_IEEEFP_H
31139 #include <ieeefp.h>
31140 #endif
31143 main ()
31145 sqrtf(0);
31147 return 0;
31149 _ACEOF
31150 if ac_fn_cxx_try_compile "$LINENO"; then :
31151 glibcxx_cv_func_sqrtf_use=yes
31152 else
31153 glibcxx_cv_func_sqrtf_use=no
31155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31156 ac_ext=c
31157 ac_cpp='$CPP $CPPFLAGS'
31158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31167 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31169 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31170 for ac_func in sqrtf
31171 do :
31172 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31173 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31174 cat >>confdefs.h <<_ACEOF
31175 #define HAVE_SQRTF 1
31176 _ACEOF
31179 done
31181 else
31183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31184 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31185 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31186 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31187 $as_echo_n "(cached) " >&6
31188 else
31191 ac_ext=cpp
31192 ac_cpp='$CXXCPP $CPPFLAGS'
31193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31198 /* end confdefs.h. */
31199 #include <math.h>
31200 #ifdef HAVE_IEEEFP_H
31201 #include <ieeefp.h>
31202 #endif
31205 main ()
31207 _sqrtf(0);
31209 return 0;
31211 _ACEOF
31212 if ac_fn_cxx_try_compile "$LINENO"; then :
31213 glibcxx_cv_func__sqrtf_use=yes
31214 else
31215 glibcxx_cv_func__sqrtf_use=no
31217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31218 ac_ext=c
31219 ac_cpp='$CPP $CPPFLAGS'
31220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31229 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31231 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31232 for ac_func in _sqrtf
31233 do :
31234 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31235 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31236 cat >>confdefs.h <<_ACEOF
31237 #define HAVE__SQRTF 1
31238 _ACEOF
31241 done
31250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31251 $as_echo_n "checking for sincosf declaration... " >&6; }
31252 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31253 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31254 $as_echo_n "(cached) " >&6
31255 else
31258 ac_ext=cpp
31259 ac_cpp='$CXXCPP $CPPFLAGS'
31260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31265 /* end confdefs.h. */
31266 #include <math.h>
31268 main ()
31270 sincosf(0, 0, 0);
31272 return 0;
31274 _ACEOF
31275 if ac_fn_cxx_try_compile "$LINENO"; then :
31276 glibcxx_cv_func_sincosf_use=yes
31277 else
31278 glibcxx_cv_func_sincosf_use=no
31280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31281 ac_ext=c
31282 ac_cpp='$CPP $CPPFLAGS'
31283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31292 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31294 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31295 for ac_func in sincosf
31296 do :
31297 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31298 if test "x$ac_cv_func_sincosf" = x""yes; then :
31299 cat >>confdefs.h <<_ACEOF
31300 #define HAVE_SINCOSF 1
31301 _ACEOF
31304 done
31306 else
31308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31309 $as_echo_n "checking for _sincosf declaration... " >&6; }
31310 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31311 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31312 $as_echo_n "(cached) " >&6
31313 else
31316 ac_ext=cpp
31317 ac_cpp='$CXXCPP $CPPFLAGS'
31318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31323 /* end confdefs.h. */
31324 #include <math.h>
31326 main ()
31328 _sincosf(0, 0, 0);
31330 return 0;
31332 _ACEOF
31333 if ac_fn_cxx_try_compile "$LINENO"; then :
31334 glibcxx_cv_func__sincosf_use=yes
31335 else
31336 glibcxx_cv_func__sincosf_use=no
31338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31339 ac_ext=c
31340 ac_cpp='$CPP $CPPFLAGS'
31341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31350 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31352 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31353 for ac_func in _sincosf
31354 do :
31355 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31356 if test "x$ac_cv_func__sincosf" = x""yes; then :
31357 cat >>confdefs.h <<_ACEOF
31358 #define HAVE__SINCOSF 1
31359 _ACEOF
31362 done
31371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31372 $as_echo_n "checking for finitef declaration... " >&6; }
31373 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31374 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31375 $as_echo_n "(cached) " >&6
31376 else
31379 ac_ext=cpp
31380 ac_cpp='$CXXCPP $CPPFLAGS'
31381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31386 /* end confdefs.h. */
31387 #include <math.h>
31388 #ifdef HAVE_IEEEFP_H
31389 #include <ieeefp.h>
31390 #endif
31393 main ()
31395 finitef(0);
31397 return 0;
31399 _ACEOF
31400 if ac_fn_cxx_try_compile "$LINENO"; then :
31401 glibcxx_cv_func_finitef_use=yes
31402 else
31403 glibcxx_cv_func_finitef_use=no
31405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31406 ac_ext=c
31407 ac_cpp='$CPP $CPPFLAGS'
31408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31417 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31419 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31420 for ac_func in finitef
31421 do :
31422 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31423 if test "x$ac_cv_func_finitef" = x""yes; then :
31424 cat >>confdefs.h <<_ACEOF
31425 #define HAVE_FINITEF 1
31426 _ACEOF
31429 done
31431 else
31433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31434 $as_echo_n "checking for _finitef declaration... " >&6; }
31435 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31436 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31437 $as_echo_n "(cached) " >&6
31438 else
31441 ac_ext=cpp
31442 ac_cpp='$CXXCPP $CPPFLAGS'
31443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31448 /* end confdefs.h. */
31449 #include <math.h>
31450 #ifdef HAVE_IEEEFP_H
31451 #include <ieeefp.h>
31452 #endif
31455 main ()
31457 _finitef(0);
31459 return 0;
31461 _ACEOF
31462 if ac_fn_cxx_try_compile "$LINENO"; then :
31463 glibcxx_cv_func__finitef_use=yes
31464 else
31465 glibcxx_cv_func__finitef_use=no
31467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31468 ac_ext=c
31469 ac_cpp='$CPP $CPPFLAGS'
31470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31479 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31481 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31482 for ac_func in _finitef
31483 do :
31484 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31485 if test "x$ac_cv_func__finitef" = x""yes; then :
31486 cat >>confdefs.h <<_ACEOF
31487 #define HAVE__FINITEF 1
31488 _ACEOF
31491 done
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31501 $as_echo_n "checking for long double trig functions... " >&6; }
31502 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31503 $as_echo_n "(cached) " >&6
31504 else
31507 ac_ext=cpp
31508 ac_cpp='$CXXCPP $CPPFLAGS'
31509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31514 /* end confdefs.h. */
31515 #include <math.h>
31517 main ()
31519 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31521 return 0;
31523 _ACEOF
31524 if ac_fn_cxx_try_compile "$LINENO"; then :
31525 glibcxx_cv_func_long_double_trig_use=yes
31526 else
31527 glibcxx_cv_func_long_double_trig_use=no
31529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31530 ac_ext=c
31531 ac_cpp='$CPP $CPPFLAGS'
31532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31539 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31540 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31541 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31542 do :
31543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31545 eval as_val=\$$as_ac_var
31546 if test "x$as_val" = x""yes; then :
31547 cat >>confdefs.h <<_ACEOF
31548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31549 _ACEOF
31552 done
31554 else
31555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31556 $as_echo_n "checking for _long double trig functions... " >&6; }
31557 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31558 $as_echo_n "(cached) " >&6
31559 else
31562 ac_ext=cpp
31563 ac_cpp='$CXXCPP $CPPFLAGS'
31564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31569 /* end confdefs.h. */
31570 #include <math.h>
31572 main ()
31574 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31576 return 0;
31578 _ACEOF
31579 if ac_fn_cxx_try_compile "$LINENO"; then :
31580 glibcxx_cv_func__long_double_trig_use=yes
31581 else
31582 glibcxx_cv_func__long_double_trig_use=no
31584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31585 ac_ext=c
31586 ac_cpp='$CPP $CPPFLAGS'
31587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31594 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31595 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31596 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31597 do :
31598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31600 eval as_val=\$$as_ac_var
31601 if test "x$as_val" = x""yes; then :
31602 cat >>confdefs.h <<_ACEOF
31603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31604 _ACEOF
31607 done
31616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31617 $as_echo_n "checking for long double round functions... " >&6; }
31618 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31619 $as_echo_n "(cached) " >&6
31620 else
31623 ac_ext=cpp
31624 ac_cpp='$CXXCPP $CPPFLAGS'
31625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31630 /* end confdefs.h. */
31631 #include <math.h>
31633 main ()
31635 ceill (0); floorl (0);
31637 return 0;
31639 _ACEOF
31640 if ac_fn_cxx_try_compile "$LINENO"; then :
31641 glibcxx_cv_func_long_double_round_use=yes
31642 else
31643 glibcxx_cv_func_long_double_round_use=no
31645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31646 ac_ext=c
31647 ac_cpp='$CPP $CPPFLAGS'
31648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31655 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31656 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31657 for ac_func in ceill floorl
31658 do :
31659 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31660 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31661 eval as_val=\$$as_ac_var
31662 if test "x$as_val" = x""yes; then :
31663 cat >>confdefs.h <<_ACEOF
31664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31665 _ACEOF
31668 done
31670 else
31671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31672 $as_echo_n "checking for _long double round functions... " >&6; }
31673 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31674 $as_echo_n "(cached) " >&6
31675 else
31678 ac_ext=cpp
31679 ac_cpp='$CXXCPP $CPPFLAGS'
31680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31685 /* end confdefs.h. */
31686 #include <math.h>
31688 main ()
31690 _ceill (0); _floorl (0);
31692 return 0;
31694 _ACEOF
31695 if ac_fn_cxx_try_compile "$LINENO"; then :
31696 glibcxx_cv_func__long_double_round_use=yes
31697 else
31698 glibcxx_cv_func__long_double_round_use=no
31700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31701 ac_ext=c
31702 ac_cpp='$CPP $CPPFLAGS'
31703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31710 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31711 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31712 for ac_func in _ceill _floorl
31713 do :
31714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31716 eval as_val=\$$as_ac_var
31717 if test "x$as_val" = x""yes; then :
31718 cat >>confdefs.h <<_ACEOF
31719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31720 _ACEOF
31723 done
31733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31734 $as_echo_n "checking for isnanl declaration... " >&6; }
31735 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31736 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31737 $as_echo_n "(cached) " >&6
31738 else
31741 ac_ext=cpp
31742 ac_cpp='$CXXCPP $CPPFLAGS'
31743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31748 /* end confdefs.h. */
31749 #include <math.h>
31750 #ifdef HAVE_IEEEFP_H
31751 #include <ieeefp.h>
31752 #endif
31755 main ()
31757 isnanl(0);
31759 return 0;
31761 _ACEOF
31762 if ac_fn_cxx_try_compile "$LINENO"; then :
31763 glibcxx_cv_func_isnanl_use=yes
31764 else
31765 glibcxx_cv_func_isnanl_use=no
31767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31768 ac_ext=c
31769 ac_cpp='$CPP $CPPFLAGS'
31770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31779 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31781 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31782 for ac_func in isnanl
31783 do :
31784 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31785 if test "x$ac_cv_func_isnanl" = x""yes; then :
31786 cat >>confdefs.h <<_ACEOF
31787 #define HAVE_ISNANL 1
31788 _ACEOF
31791 done
31793 else
31795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31796 $as_echo_n "checking for _isnanl declaration... " >&6; }
31797 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31798 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31799 $as_echo_n "(cached) " >&6
31800 else
31803 ac_ext=cpp
31804 ac_cpp='$CXXCPP $CPPFLAGS'
31805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31810 /* end confdefs.h. */
31811 #include <math.h>
31812 #ifdef HAVE_IEEEFP_H
31813 #include <ieeefp.h>
31814 #endif
31817 main ()
31819 _isnanl(0);
31821 return 0;
31823 _ACEOF
31824 if ac_fn_cxx_try_compile "$LINENO"; then :
31825 glibcxx_cv_func__isnanl_use=yes
31826 else
31827 glibcxx_cv_func__isnanl_use=no
31829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31830 ac_ext=c
31831 ac_cpp='$CPP $CPPFLAGS'
31832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31841 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31843 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31844 for ac_func in _isnanl
31845 do :
31846 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31847 if test "x$ac_cv_func__isnanl" = x""yes; then :
31848 cat >>confdefs.h <<_ACEOF
31849 #define HAVE__ISNANL 1
31850 _ACEOF
31853 done
31862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31863 $as_echo_n "checking for isinfl declaration... " >&6; }
31864 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31865 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31866 $as_echo_n "(cached) " >&6
31867 else
31870 ac_ext=cpp
31871 ac_cpp='$CXXCPP $CPPFLAGS'
31872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31877 /* end confdefs.h. */
31878 #include <math.h>
31879 #ifdef HAVE_IEEEFP_H
31880 #include <ieeefp.h>
31881 #endif
31884 main ()
31886 isinfl(0);
31888 return 0;
31890 _ACEOF
31891 if ac_fn_cxx_try_compile "$LINENO"; then :
31892 glibcxx_cv_func_isinfl_use=yes
31893 else
31894 glibcxx_cv_func_isinfl_use=no
31896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31897 ac_ext=c
31898 ac_cpp='$CPP $CPPFLAGS'
31899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31908 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31910 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31911 for ac_func in isinfl
31912 do :
31913 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31914 if test "x$ac_cv_func_isinfl" = x""yes; then :
31915 cat >>confdefs.h <<_ACEOF
31916 #define HAVE_ISINFL 1
31917 _ACEOF
31920 done
31922 else
31924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31925 $as_echo_n "checking for _isinfl declaration... " >&6; }
31926 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31927 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31928 $as_echo_n "(cached) " >&6
31929 else
31932 ac_ext=cpp
31933 ac_cpp='$CXXCPP $CPPFLAGS'
31934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31939 /* end confdefs.h. */
31940 #include <math.h>
31941 #ifdef HAVE_IEEEFP_H
31942 #include <ieeefp.h>
31943 #endif
31946 main ()
31948 _isinfl(0);
31950 return 0;
31952 _ACEOF
31953 if ac_fn_cxx_try_compile "$LINENO"; then :
31954 glibcxx_cv_func__isinfl_use=yes
31955 else
31956 glibcxx_cv_func__isinfl_use=no
31958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31959 ac_ext=c
31960 ac_cpp='$CPP $CPPFLAGS'
31961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31970 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31972 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31973 for ac_func in _isinfl
31974 do :
31975 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31976 if test "x$ac_cv_func__isinfl" = x""yes; then :
31977 cat >>confdefs.h <<_ACEOF
31978 #define HAVE__ISINFL 1
31979 _ACEOF
31982 done
31991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31992 $as_echo_n "checking for atan2l declaration... " >&6; }
31993 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31994 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31995 $as_echo_n "(cached) " >&6
31996 else
31999 ac_ext=cpp
32000 ac_cpp='$CXXCPP $CPPFLAGS'
32001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32006 /* end confdefs.h. */
32007 #include <math.h>
32009 main ()
32011 atan2l(0, 0);
32013 return 0;
32015 _ACEOF
32016 if ac_fn_cxx_try_compile "$LINENO"; then :
32017 glibcxx_cv_func_atan2l_use=yes
32018 else
32019 glibcxx_cv_func_atan2l_use=no
32021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32022 ac_ext=c
32023 ac_cpp='$CPP $CPPFLAGS'
32024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32033 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32035 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32036 for ac_func in atan2l
32037 do :
32038 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32039 if test "x$ac_cv_func_atan2l" = x""yes; then :
32040 cat >>confdefs.h <<_ACEOF
32041 #define HAVE_ATAN2L 1
32042 _ACEOF
32045 done
32047 else
32049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32050 $as_echo_n "checking for _atan2l declaration... " >&6; }
32051 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32052 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32053 $as_echo_n "(cached) " >&6
32054 else
32057 ac_ext=cpp
32058 ac_cpp='$CXXCPP $CPPFLAGS'
32059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32064 /* end confdefs.h. */
32065 #include <math.h>
32067 main ()
32069 _atan2l(0, 0);
32071 return 0;
32073 _ACEOF
32074 if ac_fn_cxx_try_compile "$LINENO"; then :
32075 glibcxx_cv_func__atan2l_use=yes
32076 else
32077 glibcxx_cv_func__atan2l_use=no
32079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32080 ac_ext=c
32081 ac_cpp='$CPP $CPPFLAGS'
32082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32091 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32093 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32094 for ac_func in _atan2l
32095 do :
32096 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32097 if test "x$ac_cv_func__atan2l" = x""yes; then :
32098 cat >>confdefs.h <<_ACEOF
32099 #define HAVE__ATAN2L 1
32100 _ACEOF
32103 done
32112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32113 $as_echo_n "checking for expl declaration... " >&6; }
32114 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32115 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32116 $as_echo_n "(cached) " >&6
32117 else
32120 ac_ext=cpp
32121 ac_cpp='$CXXCPP $CPPFLAGS'
32122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32127 /* end confdefs.h. */
32128 #include <math.h>
32129 #ifdef HAVE_IEEEFP_H
32130 #include <ieeefp.h>
32131 #endif
32134 main ()
32136 expl(0);
32138 return 0;
32140 _ACEOF
32141 if ac_fn_cxx_try_compile "$LINENO"; then :
32142 glibcxx_cv_func_expl_use=yes
32143 else
32144 glibcxx_cv_func_expl_use=no
32146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32147 ac_ext=c
32148 ac_cpp='$CPP $CPPFLAGS'
32149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32158 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32160 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32161 for ac_func in expl
32162 do :
32163 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32164 if test "x$ac_cv_func_expl" = x""yes; then :
32165 cat >>confdefs.h <<_ACEOF
32166 #define HAVE_EXPL 1
32167 _ACEOF
32170 done
32172 else
32174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32175 $as_echo_n "checking for _expl declaration... " >&6; }
32176 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32177 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32178 $as_echo_n "(cached) " >&6
32179 else
32182 ac_ext=cpp
32183 ac_cpp='$CXXCPP $CPPFLAGS'
32184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32189 /* end confdefs.h. */
32190 #include <math.h>
32191 #ifdef HAVE_IEEEFP_H
32192 #include <ieeefp.h>
32193 #endif
32196 main ()
32198 _expl(0);
32200 return 0;
32202 _ACEOF
32203 if ac_fn_cxx_try_compile "$LINENO"; then :
32204 glibcxx_cv_func__expl_use=yes
32205 else
32206 glibcxx_cv_func__expl_use=no
32208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32209 ac_ext=c
32210 ac_cpp='$CPP $CPPFLAGS'
32211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32220 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32222 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32223 for ac_func in _expl
32224 do :
32225 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32226 if test "x$ac_cv_func__expl" = x""yes; then :
32227 cat >>confdefs.h <<_ACEOF
32228 #define HAVE__EXPL 1
32229 _ACEOF
32232 done
32241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32242 $as_echo_n "checking for fabsl declaration... " >&6; }
32243 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32244 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32245 $as_echo_n "(cached) " >&6
32246 else
32249 ac_ext=cpp
32250 ac_cpp='$CXXCPP $CPPFLAGS'
32251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32256 /* end confdefs.h. */
32257 #include <math.h>
32258 #ifdef HAVE_IEEEFP_H
32259 #include <ieeefp.h>
32260 #endif
32263 main ()
32265 fabsl(0);
32267 return 0;
32269 _ACEOF
32270 if ac_fn_cxx_try_compile "$LINENO"; then :
32271 glibcxx_cv_func_fabsl_use=yes
32272 else
32273 glibcxx_cv_func_fabsl_use=no
32275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32276 ac_ext=c
32277 ac_cpp='$CPP $CPPFLAGS'
32278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32287 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32289 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32290 for ac_func in fabsl
32291 do :
32292 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32293 if test "x$ac_cv_func_fabsl" = x""yes; then :
32294 cat >>confdefs.h <<_ACEOF
32295 #define HAVE_FABSL 1
32296 _ACEOF
32299 done
32301 else
32303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32304 $as_echo_n "checking for _fabsl declaration... " >&6; }
32305 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32306 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32307 $as_echo_n "(cached) " >&6
32308 else
32311 ac_ext=cpp
32312 ac_cpp='$CXXCPP $CPPFLAGS'
32313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32318 /* end confdefs.h. */
32319 #include <math.h>
32320 #ifdef HAVE_IEEEFP_H
32321 #include <ieeefp.h>
32322 #endif
32325 main ()
32327 _fabsl(0);
32329 return 0;
32331 _ACEOF
32332 if ac_fn_cxx_try_compile "$LINENO"; then :
32333 glibcxx_cv_func__fabsl_use=yes
32334 else
32335 glibcxx_cv_func__fabsl_use=no
32337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32338 ac_ext=c
32339 ac_cpp='$CPP $CPPFLAGS'
32340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32349 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32351 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32352 for ac_func in _fabsl
32353 do :
32354 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32355 if test "x$ac_cv_func__fabsl" = x""yes; then :
32356 cat >>confdefs.h <<_ACEOF
32357 #define HAVE__FABSL 1
32358 _ACEOF
32361 done
32370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32371 $as_echo_n "checking for fmodl declaration... " >&6; }
32372 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32373 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32374 $as_echo_n "(cached) " >&6
32375 else
32378 ac_ext=cpp
32379 ac_cpp='$CXXCPP $CPPFLAGS'
32380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32385 /* end confdefs.h. */
32386 #include <math.h>
32388 main ()
32390 fmodl(0, 0);
32392 return 0;
32394 _ACEOF
32395 if ac_fn_cxx_try_compile "$LINENO"; then :
32396 glibcxx_cv_func_fmodl_use=yes
32397 else
32398 glibcxx_cv_func_fmodl_use=no
32400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32401 ac_ext=c
32402 ac_cpp='$CPP $CPPFLAGS'
32403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32412 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32414 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32415 for ac_func in fmodl
32416 do :
32417 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32418 if test "x$ac_cv_func_fmodl" = x""yes; then :
32419 cat >>confdefs.h <<_ACEOF
32420 #define HAVE_FMODL 1
32421 _ACEOF
32424 done
32426 else
32428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32429 $as_echo_n "checking for _fmodl declaration... " >&6; }
32430 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32431 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32432 $as_echo_n "(cached) " >&6
32433 else
32436 ac_ext=cpp
32437 ac_cpp='$CXXCPP $CPPFLAGS'
32438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32443 /* end confdefs.h. */
32444 #include <math.h>
32446 main ()
32448 _fmodl(0, 0);
32450 return 0;
32452 _ACEOF
32453 if ac_fn_cxx_try_compile "$LINENO"; then :
32454 glibcxx_cv_func__fmodl_use=yes
32455 else
32456 glibcxx_cv_func__fmodl_use=no
32458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32459 ac_ext=c
32460 ac_cpp='$CPP $CPPFLAGS'
32461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32470 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32472 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32473 for ac_func in _fmodl
32474 do :
32475 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32476 if test "x$ac_cv_func__fmodl" = x""yes; then :
32477 cat >>confdefs.h <<_ACEOF
32478 #define HAVE__FMODL 1
32479 _ACEOF
32482 done
32491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32492 $as_echo_n "checking for frexpl declaration... " >&6; }
32493 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32494 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32495 $as_echo_n "(cached) " >&6
32496 else
32499 ac_ext=cpp
32500 ac_cpp='$CXXCPP $CPPFLAGS'
32501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32506 /* end confdefs.h. */
32507 #include <math.h>
32509 main ()
32511 frexpl(0, 0);
32513 return 0;
32515 _ACEOF
32516 if ac_fn_cxx_try_compile "$LINENO"; then :
32517 glibcxx_cv_func_frexpl_use=yes
32518 else
32519 glibcxx_cv_func_frexpl_use=no
32521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32522 ac_ext=c
32523 ac_cpp='$CPP $CPPFLAGS'
32524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32533 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32535 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32536 for ac_func in frexpl
32537 do :
32538 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32539 if test "x$ac_cv_func_frexpl" = x""yes; then :
32540 cat >>confdefs.h <<_ACEOF
32541 #define HAVE_FREXPL 1
32542 _ACEOF
32545 done
32547 else
32549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32550 $as_echo_n "checking for _frexpl declaration... " >&6; }
32551 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32552 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32553 $as_echo_n "(cached) " >&6
32554 else
32557 ac_ext=cpp
32558 ac_cpp='$CXXCPP $CPPFLAGS'
32559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32564 /* end confdefs.h. */
32565 #include <math.h>
32567 main ()
32569 _frexpl(0, 0);
32571 return 0;
32573 _ACEOF
32574 if ac_fn_cxx_try_compile "$LINENO"; then :
32575 glibcxx_cv_func__frexpl_use=yes
32576 else
32577 glibcxx_cv_func__frexpl_use=no
32579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32580 ac_ext=c
32581 ac_cpp='$CPP $CPPFLAGS'
32582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32591 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32593 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32594 for ac_func in _frexpl
32595 do :
32596 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32597 if test "x$ac_cv_func__frexpl" = x""yes; then :
32598 cat >>confdefs.h <<_ACEOF
32599 #define HAVE__FREXPL 1
32600 _ACEOF
32603 done
32612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32613 $as_echo_n "checking for hypotl declaration... " >&6; }
32614 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32615 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32616 $as_echo_n "(cached) " >&6
32617 else
32620 ac_ext=cpp
32621 ac_cpp='$CXXCPP $CPPFLAGS'
32622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32627 /* end confdefs.h. */
32628 #include <math.h>
32630 main ()
32632 hypotl(0, 0);
32634 return 0;
32636 _ACEOF
32637 if ac_fn_cxx_try_compile "$LINENO"; then :
32638 glibcxx_cv_func_hypotl_use=yes
32639 else
32640 glibcxx_cv_func_hypotl_use=no
32642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32643 ac_ext=c
32644 ac_cpp='$CPP $CPPFLAGS'
32645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32654 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32656 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32657 for ac_func in hypotl
32658 do :
32659 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32660 if test "x$ac_cv_func_hypotl" = x""yes; then :
32661 cat >>confdefs.h <<_ACEOF
32662 #define HAVE_HYPOTL 1
32663 _ACEOF
32666 done
32668 else
32670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32671 $as_echo_n "checking for _hypotl declaration... " >&6; }
32672 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32673 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32674 $as_echo_n "(cached) " >&6
32675 else
32678 ac_ext=cpp
32679 ac_cpp='$CXXCPP $CPPFLAGS'
32680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32685 /* end confdefs.h. */
32686 #include <math.h>
32688 main ()
32690 _hypotl(0, 0);
32692 return 0;
32694 _ACEOF
32695 if ac_fn_cxx_try_compile "$LINENO"; then :
32696 glibcxx_cv_func__hypotl_use=yes
32697 else
32698 glibcxx_cv_func__hypotl_use=no
32700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32701 ac_ext=c
32702 ac_cpp='$CPP $CPPFLAGS'
32703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32712 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32714 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32715 for ac_func in _hypotl
32716 do :
32717 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32718 if test "x$ac_cv_func__hypotl" = x""yes; then :
32719 cat >>confdefs.h <<_ACEOF
32720 #define HAVE__HYPOTL 1
32721 _ACEOF
32724 done
32733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32734 $as_echo_n "checking for ldexpl declaration... " >&6; }
32735 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32736 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32737 $as_echo_n "(cached) " >&6
32738 else
32741 ac_ext=cpp
32742 ac_cpp='$CXXCPP $CPPFLAGS'
32743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32748 /* end confdefs.h. */
32749 #include <math.h>
32751 main ()
32753 ldexpl(0, 0);
32755 return 0;
32757 _ACEOF
32758 if ac_fn_cxx_try_compile "$LINENO"; then :
32759 glibcxx_cv_func_ldexpl_use=yes
32760 else
32761 glibcxx_cv_func_ldexpl_use=no
32763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32764 ac_ext=c
32765 ac_cpp='$CPP $CPPFLAGS'
32766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32775 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32777 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32778 for ac_func in ldexpl
32779 do :
32780 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32781 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32782 cat >>confdefs.h <<_ACEOF
32783 #define HAVE_LDEXPL 1
32784 _ACEOF
32787 done
32789 else
32791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32792 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32793 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32794 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32795 $as_echo_n "(cached) " >&6
32796 else
32799 ac_ext=cpp
32800 ac_cpp='$CXXCPP $CPPFLAGS'
32801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32806 /* end confdefs.h. */
32807 #include <math.h>
32809 main ()
32811 _ldexpl(0, 0);
32813 return 0;
32815 _ACEOF
32816 if ac_fn_cxx_try_compile "$LINENO"; then :
32817 glibcxx_cv_func__ldexpl_use=yes
32818 else
32819 glibcxx_cv_func__ldexpl_use=no
32821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32822 ac_ext=c
32823 ac_cpp='$CPP $CPPFLAGS'
32824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32833 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32835 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32836 for ac_func in _ldexpl
32837 do :
32838 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32839 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32840 cat >>confdefs.h <<_ACEOF
32841 #define HAVE__LDEXPL 1
32842 _ACEOF
32845 done
32854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32855 $as_echo_n "checking for logl declaration... " >&6; }
32856 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32857 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32858 $as_echo_n "(cached) " >&6
32859 else
32862 ac_ext=cpp
32863 ac_cpp='$CXXCPP $CPPFLAGS'
32864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32869 /* end confdefs.h. */
32870 #include <math.h>
32871 #ifdef HAVE_IEEEFP_H
32872 #include <ieeefp.h>
32873 #endif
32876 main ()
32878 logl(0);
32880 return 0;
32882 _ACEOF
32883 if ac_fn_cxx_try_compile "$LINENO"; then :
32884 glibcxx_cv_func_logl_use=yes
32885 else
32886 glibcxx_cv_func_logl_use=no
32888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32889 ac_ext=c
32890 ac_cpp='$CPP $CPPFLAGS'
32891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32900 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32902 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32903 for ac_func in logl
32904 do :
32905 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32906 if test "x$ac_cv_func_logl" = x""yes; then :
32907 cat >>confdefs.h <<_ACEOF
32908 #define HAVE_LOGL 1
32909 _ACEOF
32912 done
32914 else
32916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32917 $as_echo_n "checking for _logl declaration... " >&6; }
32918 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32919 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32920 $as_echo_n "(cached) " >&6
32921 else
32924 ac_ext=cpp
32925 ac_cpp='$CXXCPP $CPPFLAGS'
32926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32931 /* end confdefs.h. */
32932 #include <math.h>
32933 #ifdef HAVE_IEEEFP_H
32934 #include <ieeefp.h>
32935 #endif
32938 main ()
32940 _logl(0);
32942 return 0;
32944 _ACEOF
32945 if ac_fn_cxx_try_compile "$LINENO"; then :
32946 glibcxx_cv_func__logl_use=yes
32947 else
32948 glibcxx_cv_func__logl_use=no
32950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32951 ac_ext=c
32952 ac_cpp='$CPP $CPPFLAGS'
32953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32962 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32964 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32965 for ac_func in _logl
32966 do :
32967 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32968 if test "x$ac_cv_func__logl" = x""yes; then :
32969 cat >>confdefs.h <<_ACEOF
32970 #define HAVE__LOGL 1
32971 _ACEOF
32974 done
32983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32984 $as_echo_n "checking for log10l declaration... " >&6; }
32985 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32986 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32987 $as_echo_n "(cached) " >&6
32988 else
32991 ac_ext=cpp
32992 ac_cpp='$CXXCPP $CPPFLAGS'
32993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32998 /* end confdefs.h. */
32999 #include <math.h>
33000 #ifdef HAVE_IEEEFP_H
33001 #include <ieeefp.h>
33002 #endif
33005 main ()
33007 log10l(0);
33009 return 0;
33011 _ACEOF
33012 if ac_fn_cxx_try_compile "$LINENO"; then :
33013 glibcxx_cv_func_log10l_use=yes
33014 else
33015 glibcxx_cv_func_log10l_use=no
33017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33018 ac_ext=c
33019 ac_cpp='$CPP $CPPFLAGS'
33020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33029 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33031 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33032 for ac_func in log10l
33033 do :
33034 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33035 if test "x$ac_cv_func_log10l" = x""yes; then :
33036 cat >>confdefs.h <<_ACEOF
33037 #define HAVE_LOG10L 1
33038 _ACEOF
33041 done
33043 else
33045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33046 $as_echo_n "checking for _log10l declaration... " >&6; }
33047 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33048 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33049 $as_echo_n "(cached) " >&6
33050 else
33053 ac_ext=cpp
33054 ac_cpp='$CXXCPP $CPPFLAGS'
33055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33060 /* end confdefs.h. */
33061 #include <math.h>
33062 #ifdef HAVE_IEEEFP_H
33063 #include <ieeefp.h>
33064 #endif
33067 main ()
33069 _log10l(0);
33071 return 0;
33073 _ACEOF
33074 if ac_fn_cxx_try_compile "$LINENO"; then :
33075 glibcxx_cv_func__log10l_use=yes
33076 else
33077 glibcxx_cv_func__log10l_use=no
33079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33080 ac_ext=c
33081 ac_cpp='$CPP $CPPFLAGS'
33082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33091 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33093 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33094 for ac_func in _log10l
33095 do :
33096 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33097 if test "x$ac_cv_func__log10l" = x""yes; then :
33098 cat >>confdefs.h <<_ACEOF
33099 #define HAVE__LOG10L 1
33100 _ACEOF
33103 done
33112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33113 $as_echo_n "checking for modfl declaration... " >&6; }
33114 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33115 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33116 $as_echo_n "(cached) " >&6
33117 else
33120 ac_ext=cpp
33121 ac_cpp='$CXXCPP $CPPFLAGS'
33122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33127 /* end confdefs.h. */
33128 #include <math.h>
33130 main ()
33132 modfl(0, 0);
33134 return 0;
33136 _ACEOF
33137 if ac_fn_cxx_try_compile "$LINENO"; then :
33138 glibcxx_cv_func_modfl_use=yes
33139 else
33140 glibcxx_cv_func_modfl_use=no
33142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33143 ac_ext=c
33144 ac_cpp='$CPP $CPPFLAGS'
33145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33154 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33156 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33157 for ac_func in modfl
33158 do :
33159 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33160 if test "x$ac_cv_func_modfl" = x""yes; then :
33161 cat >>confdefs.h <<_ACEOF
33162 #define HAVE_MODFL 1
33163 _ACEOF
33166 done
33168 else
33170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33171 $as_echo_n "checking for _modfl declaration... " >&6; }
33172 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33173 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33174 $as_echo_n "(cached) " >&6
33175 else
33178 ac_ext=cpp
33179 ac_cpp='$CXXCPP $CPPFLAGS'
33180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33185 /* end confdefs.h. */
33186 #include <math.h>
33188 main ()
33190 _modfl(0, 0);
33192 return 0;
33194 _ACEOF
33195 if ac_fn_cxx_try_compile "$LINENO"; then :
33196 glibcxx_cv_func__modfl_use=yes
33197 else
33198 glibcxx_cv_func__modfl_use=no
33200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33201 ac_ext=c
33202 ac_cpp='$CPP $CPPFLAGS'
33203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33212 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33214 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33215 for ac_func in _modfl
33216 do :
33217 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33218 if test "x$ac_cv_func__modfl" = x""yes; then :
33219 cat >>confdefs.h <<_ACEOF
33220 #define HAVE__MODFL 1
33221 _ACEOF
33224 done
33233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33234 $as_echo_n "checking for powl declaration... " >&6; }
33235 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33236 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33237 $as_echo_n "(cached) " >&6
33238 else
33241 ac_ext=cpp
33242 ac_cpp='$CXXCPP $CPPFLAGS'
33243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33248 /* end confdefs.h. */
33249 #include <math.h>
33251 main ()
33253 powl(0, 0);
33255 return 0;
33257 _ACEOF
33258 if ac_fn_cxx_try_compile "$LINENO"; then :
33259 glibcxx_cv_func_powl_use=yes
33260 else
33261 glibcxx_cv_func_powl_use=no
33263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33264 ac_ext=c
33265 ac_cpp='$CPP $CPPFLAGS'
33266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33275 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33277 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33278 for ac_func in powl
33279 do :
33280 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33281 if test "x$ac_cv_func_powl" = x""yes; then :
33282 cat >>confdefs.h <<_ACEOF
33283 #define HAVE_POWL 1
33284 _ACEOF
33287 done
33289 else
33291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33292 $as_echo_n "checking for _powl declaration... " >&6; }
33293 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33294 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33295 $as_echo_n "(cached) " >&6
33296 else
33299 ac_ext=cpp
33300 ac_cpp='$CXXCPP $CPPFLAGS'
33301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33306 /* end confdefs.h. */
33307 #include <math.h>
33309 main ()
33311 _powl(0, 0);
33313 return 0;
33315 _ACEOF
33316 if ac_fn_cxx_try_compile "$LINENO"; then :
33317 glibcxx_cv_func__powl_use=yes
33318 else
33319 glibcxx_cv_func__powl_use=no
33321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33322 ac_ext=c
33323 ac_cpp='$CPP $CPPFLAGS'
33324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33333 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33335 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33336 for ac_func in _powl
33337 do :
33338 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33339 if test "x$ac_cv_func__powl" = x""yes; then :
33340 cat >>confdefs.h <<_ACEOF
33341 #define HAVE__POWL 1
33342 _ACEOF
33345 done
33354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33355 $as_echo_n "checking for sqrtl declaration... " >&6; }
33356 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33357 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33358 $as_echo_n "(cached) " >&6
33359 else
33362 ac_ext=cpp
33363 ac_cpp='$CXXCPP $CPPFLAGS'
33364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33369 /* end confdefs.h. */
33370 #include <math.h>
33371 #ifdef HAVE_IEEEFP_H
33372 #include <ieeefp.h>
33373 #endif
33376 main ()
33378 sqrtl(0);
33380 return 0;
33382 _ACEOF
33383 if ac_fn_cxx_try_compile "$LINENO"; then :
33384 glibcxx_cv_func_sqrtl_use=yes
33385 else
33386 glibcxx_cv_func_sqrtl_use=no
33388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33389 ac_ext=c
33390 ac_cpp='$CPP $CPPFLAGS'
33391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33400 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33402 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33403 for ac_func in sqrtl
33404 do :
33405 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33406 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33407 cat >>confdefs.h <<_ACEOF
33408 #define HAVE_SQRTL 1
33409 _ACEOF
33412 done
33414 else
33416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33417 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33418 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33419 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33420 $as_echo_n "(cached) " >&6
33421 else
33424 ac_ext=cpp
33425 ac_cpp='$CXXCPP $CPPFLAGS'
33426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33431 /* end confdefs.h. */
33432 #include <math.h>
33433 #ifdef HAVE_IEEEFP_H
33434 #include <ieeefp.h>
33435 #endif
33438 main ()
33440 _sqrtl(0);
33442 return 0;
33444 _ACEOF
33445 if ac_fn_cxx_try_compile "$LINENO"; then :
33446 glibcxx_cv_func__sqrtl_use=yes
33447 else
33448 glibcxx_cv_func__sqrtl_use=no
33450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33451 ac_ext=c
33452 ac_cpp='$CPP $CPPFLAGS'
33453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33462 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33464 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33465 for ac_func in _sqrtl
33466 do :
33467 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33468 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33469 cat >>confdefs.h <<_ACEOF
33470 #define HAVE__SQRTL 1
33471 _ACEOF
33474 done
33483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33484 $as_echo_n "checking for sincosl declaration... " >&6; }
33485 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33486 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33487 $as_echo_n "(cached) " >&6
33488 else
33491 ac_ext=cpp
33492 ac_cpp='$CXXCPP $CPPFLAGS'
33493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33498 /* end confdefs.h. */
33499 #include <math.h>
33501 main ()
33503 sincosl(0, 0, 0);
33505 return 0;
33507 _ACEOF
33508 if ac_fn_cxx_try_compile "$LINENO"; then :
33509 glibcxx_cv_func_sincosl_use=yes
33510 else
33511 glibcxx_cv_func_sincosl_use=no
33513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33514 ac_ext=c
33515 ac_cpp='$CPP $CPPFLAGS'
33516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33525 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33527 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33528 for ac_func in sincosl
33529 do :
33530 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33531 if test "x$ac_cv_func_sincosl" = x""yes; then :
33532 cat >>confdefs.h <<_ACEOF
33533 #define HAVE_SINCOSL 1
33534 _ACEOF
33537 done
33539 else
33541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33542 $as_echo_n "checking for _sincosl declaration... " >&6; }
33543 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33544 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33545 $as_echo_n "(cached) " >&6
33546 else
33549 ac_ext=cpp
33550 ac_cpp='$CXXCPP $CPPFLAGS'
33551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33556 /* end confdefs.h. */
33557 #include <math.h>
33559 main ()
33561 _sincosl(0, 0, 0);
33563 return 0;
33565 _ACEOF
33566 if ac_fn_cxx_try_compile "$LINENO"; then :
33567 glibcxx_cv_func__sincosl_use=yes
33568 else
33569 glibcxx_cv_func__sincosl_use=no
33571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33572 ac_ext=c
33573 ac_cpp='$CPP $CPPFLAGS'
33574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33583 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33585 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33586 for ac_func in _sincosl
33587 do :
33588 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33589 if test "x$ac_cv_func__sincosl" = x""yes; then :
33590 cat >>confdefs.h <<_ACEOF
33591 #define HAVE__SINCOSL 1
33592 _ACEOF
33595 done
33604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33605 $as_echo_n "checking for finitel declaration... " >&6; }
33606 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33607 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33608 $as_echo_n "(cached) " >&6
33609 else
33612 ac_ext=cpp
33613 ac_cpp='$CXXCPP $CPPFLAGS'
33614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33619 /* end confdefs.h. */
33620 #include <math.h>
33621 #ifdef HAVE_IEEEFP_H
33622 #include <ieeefp.h>
33623 #endif
33626 main ()
33628 finitel(0);
33630 return 0;
33632 _ACEOF
33633 if ac_fn_cxx_try_compile "$LINENO"; then :
33634 glibcxx_cv_func_finitel_use=yes
33635 else
33636 glibcxx_cv_func_finitel_use=no
33638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33639 ac_ext=c
33640 ac_cpp='$CPP $CPPFLAGS'
33641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33650 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33652 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33653 for ac_func in finitel
33654 do :
33655 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33656 if test "x$ac_cv_func_finitel" = x""yes; then :
33657 cat >>confdefs.h <<_ACEOF
33658 #define HAVE_FINITEL 1
33659 _ACEOF
33662 done
33664 else
33666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33667 $as_echo_n "checking for _finitel declaration... " >&6; }
33668 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33669 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33670 $as_echo_n "(cached) " >&6
33671 else
33674 ac_ext=cpp
33675 ac_cpp='$CXXCPP $CPPFLAGS'
33676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33681 /* end confdefs.h. */
33682 #include <math.h>
33683 #ifdef HAVE_IEEEFP_H
33684 #include <ieeefp.h>
33685 #endif
33688 main ()
33690 _finitel(0);
33692 return 0;
33694 _ACEOF
33695 if ac_fn_cxx_try_compile "$LINENO"; then :
33696 glibcxx_cv_func__finitel_use=yes
33697 else
33698 glibcxx_cv_func__finitel_use=no
33700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33701 ac_ext=c
33702 ac_cpp='$CPP $CPPFLAGS'
33703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33712 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33714 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33715 for ac_func in _finitel
33716 do :
33717 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33718 if test "x$ac_cv_func__finitel" = x""yes; then :
33719 cat >>confdefs.h <<_ACEOF
33720 #define HAVE__FINITEL 1
33721 _ACEOF
33724 done
33732 LIBS="$ac_save_LIBS"
33733 CXXFLAGS="$ac_save_CXXFLAGS"
33736 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33737 ac_save_CXXFLAGS="$CXXFLAGS"
33738 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33742 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33743 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33744 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33745 $as_echo_n "(cached) " >&6
33746 else
33749 ac_ext=cpp
33750 ac_cpp='$CXXCPP $CPPFLAGS'
33751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33756 /* end confdefs.h. */
33757 #include <stdlib.h>
33759 main ()
33761 at_quick_exit(0);
33763 return 0;
33765 _ACEOF
33766 if ac_fn_cxx_try_compile "$LINENO"; then :
33767 glibcxx_cv_func_at_quick_exit_use=yes
33768 else
33769 glibcxx_cv_func_at_quick_exit_use=no
33771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33772 ac_ext=c
33773 ac_cpp='$CPP $CPPFLAGS'
33774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33783 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33784 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33785 for ac_func in at_quick_exit
33786 do :
33787 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33788 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33789 cat >>confdefs.h <<_ACEOF
33790 #define HAVE_AT_QUICK_EXIT 1
33791 _ACEOF
33794 done
33799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33800 $as_echo_n "checking for quick_exit declaration... " >&6; }
33801 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33802 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33803 $as_echo_n "(cached) " >&6
33804 else
33807 ac_ext=cpp
33808 ac_cpp='$CXXCPP $CPPFLAGS'
33809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33814 /* end confdefs.h. */
33815 #include <stdlib.h>
33817 main ()
33819 quick_exit(0);
33821 return 0;
33823 _ACEOF
33824 if ac_fn_cxx_try_compile "$LINENO"; then :
33825 glibcxx_cv_func_quick_exit_use=yes
33826 else
33827 glibcxx_cv_func_quick_exit_use=no
33829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33830 ac_ext=c
33831 ac_cpp='$CPP $CPPFLAGS'
33832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33841 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33842 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33843 for ac_func in quick_exit
33844 do :
33845 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33846 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33847 cat >>confdefs.h <<_ACEOF
33848 #define HAVE_QUICK_EXIT 1
33849 _ACEOF
33852 done
33857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33858 $as_echo_n "checking for strtold declaration... " >&6; }
33859 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33860 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33861 $as_echo_n "(cached) " >&6
33862 else
33865 ac_ext=cpp
33866 ac_cpp='$CXXCPP $CPPFLAGS'
33867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33872 /* end confdefs.h. */
33873 #include <stdlib.h>
33875 main ()
33877 strtold(0, 0);
33879 return 0;
33881 _ACEOF
33882 if ac_fn_cxx_try_compile "$LINENO"; then :
33883 glibcxx_cv_func_strtold_use=yes
33884 else
33885 glibcxx_cv_func_strtold_use=no
33887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33888 ac_ext=c
33889 ac_cpp='$CPP $CPPFLAGS'
33890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33899 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33900 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33901 for ac_func in strtold
33902 do :
33903 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33904 if test "x$ac_cv_func_strtold" = x""yes; then :
33905 cat >>confdefs.h <<_ACEOF
33906 #define HAVE_STRTOLD 1
33907 _ACEOF
33910 done
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33918 $as_echo_n "checking for strtof declaration... " >&6; }
33919 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33920 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33921 $as_echo_n "(cached) " >&6
33922 else
33925 ac_ext=cpp
33926 ac_cpp='$CXXCPP $CPPFLAGS'
33927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33932 /* end confdefs.h. */
33933 #include <stdlib.h>
33935 main ()
33937 strtof(0, 0);
33939 return 0;
33941 _ACEOF
33942 if ac_fn_cxx_try_compile "$LINENO"; then :
33943 glibcxx_cv_func_strtof_use=yes
33944 else
33945 glibcxx_cv_func_strtof_use=no
33947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33948 ac_ext=c
33949 ac_cpp='$CPP $CPPFLAGS'
33950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33959 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33960 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33961 for ac_func in strtof
33962 do :
33963 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33964 if test "x$ac_cv_func_strtof" = x""yes; then :
33965 cat >>confdefs.h <<_ACEOF
33966 #define HAVE_STRTOF 1
33967 _ACEOF
33970 done
33977 CXXFLAGS="$ac_save_CXXFLAGS"
33980 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33982 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33984 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33986 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33989 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33991 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33993 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33997 spu-*-elf*)
33999 # All these tests are for C++; save the language and the compiler flags.
34000 # The CXXFLAGS thing is suspicious, but based on similar bits previously
34001 # found in GLIBCXX_CONFIGURE.
34003 ac_ext=cpp
34004 ac_cpp='$CXXCPP $CPPFLAGS'
34005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34009 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34010 ac_save_CXXFLAGS="$CXXFLAGS"
34012 # Check for maintainer-mode bits.
34013 if test x"$USE_MAINTAINER_MODE" = xno; then
34014 WERROR=''
34015 else
34016 WERROR='-Werror'
34019 # Check for -ffunction-sections -fdata-sections
34020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34021 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34022 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34024 /* end confdefs.h. */
34025 int foo; void bar() { };
34027 main ()
34031 return 0;
34033 _ACEOF
34034 if ac_fn_cxx_try_compile "$LINENO"; then :
34035 ac_fdsections=yes
34036 else
34037 ac_fdsections=no
34039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34040 if test "$ac_test_CXXFLAGS" = set; then
34041 CXXFLAGS="$ac_save_CXXFLAGS"
34042 else
34043 # this is the suspicious part
34044 CXXFLAGS=''
34046 if test x"$ac_fdsections" = x"yes"; then
34047 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34050 $as_echo "$ac_fdsections" >&6; }
34052 ac_ext=c
34053 ac_cpp='$CPP $CPPFLAGS'
34054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34062 # If we're not using GNU ld, then there's no point in even trying these
34063 # tests. Check for that first. We should have already tested for gld
34064 # by now (in libtool), but require it now just to be safe...
34065 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34066 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34070 # The name set by libtool depends on the version of libtool. Shame on us
34071 # for depending on an impl detail, but c'est la vie. Older versions used
34072 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34073 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34074 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34075 # set (hence we're using an older libtool), then set it.
34076 if test x${with_gnu_ld+set} != xset; then
34077 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34078 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34079 with_gnu_ld=no
34080 else
34081 with_gnu_ld=$ac_cv_prog_gnu_ld
34085 # Start by getting the version number. I think the libtool test already
34086 # does some of this, but throws away the result.
34087 glibcxx_ld_is_gold=no
34088 if test x"$with_gnu_ld" = x"yes"; then
34089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34090 $as_echo_n "checking for ld version... " >&6; }
34092 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34093 glibcxx_ld_is_gold=yes
34095 ldver=`$LD --version 2>/dev/null |
34096 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'`
34098 glibcxx_gnu_ld_version=`echo $ldver | \
34099 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34101 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34104 # Set --gc-sections.
34105 glibcxx_have_gc_sections=no
34106 if test "$glibcxx_ld_is_gold" = "yes"; then
34107 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34108 glibcxx_have_gc_sections=yes
34110 else
34111 glibcxx_gcsections_min_ld=21602
34112 if test x"$with_gnu_ld" = x"yes" &&
34113 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34114 glibcxx_have_gc_sections=yes
34117 if test "$glibcxx_have_gc_sections" = "yes"; then
34118 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34119 # NB: This flag only works reliably after 2.16.1. Configure tests
34120 # for this are difficult, so hard wire a value that should work.
34122 ac_test_CFLAGS="${CFLAGS+set}"
34123 ac_save_CFLAGS="$CFLAGS"
34124 CFLAGS='-Wl,--gc-sections'
34126 # Check for -Wl,--gc-sections
34127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34128 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34129 if test x$gcc_no_link = xyes; then
34130 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34133 /* end confdefs.h. */
34134 int one(void) { return 1; }
34135 int two(void) { return 2; }
34138 main ()
34140 two();
34142 return 0;
34144 _ACEOF
34145 if ac_fn_c_try_link "$LINENO"; then :
34146 ac_gcsections=yes
34147 else
34148 ac_gcsections=no
34150 rm -f core conftest.err conftest.$ac_objext \
34151 conftest$ac_exeext conftest.$ac_ext
34152 if test "$ac_gcsections" = "yes"; then
34153 rm -f conftest.c
34154 touch conftest.c
34155 if $CC -c conftest.c; then
34156 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34157 grep "Warning: gc-sections option ignored" > /dev/null; then
34158 ac_gcsections=no
34161 rm -f conftest.c conftest.o conftest
34163 if test "$ac_gcsections" = "yes"; then
34164 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34167 $as_echo "$ac_gcsections" >&6; }
34169 if test "$ac_test_CFLAGS" = set; then
34170 CFLAGS="$ac_save_CFLAGS"
34171 else
34172 # this is the suspicious part
34173 CFLAGS=''
34177 # Set -z,relro.
34178 # Note this is only for shared objects.
34179 ac_ld_relro=no
34180 if test x"$with_gnu_ld" = x"yes"; then
34181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34182 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34183 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34184 if test -n "$cxx_z_relo"; then
34185 OPT_LDFLAGS="-Wl,-z,relro"
34186 ac_ld_relro=yes
34188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34189 $as_echo "$ac_ld_relro" >&6; }
34192 # Set linker optimization flags.
34193 if test x"$with_gnu_ld" = x"yes"; then
34194 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34201 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34202 ac_save_CXXFLAGS="$CXXFLAGS"
34203 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34206 $as_echo_n "checking for sin in -lm... " >&6; }
34207 if test "${ac_cv_lib_m_sin+set}" = set; then :
34208 $as_echo_n "(cached) " >&6
34209 else
34210 ac_check_lib_save_LIBS=$LIBS
34211 LIBS="-lm $LIBS"
34212 if test x$gcc_no_link = xyes; then
34213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34216 /* end confdefs.h. */
34218 /* Override any GCC internal prototype to avoid an error.
34219 Use char because int might match the return type of a GCC
34220 builtin and then its argument prototype would still apply. */
34221 #ifdef __cplusplus
34222 extern "C"
34223 #endif
34224 char sin ();
34226 main ()
34228 return sin ();
34230 return 0;
34232 _ACEOF
34233 if ac_fn_c_try_link "$LINENO"; then :
34234 ac_cv_lib_m_sin=yes
34235 else
34236 ac_cv_lib_m_sin=no
34238 rm -f core conftest.err conftest.$ac_objext \
34239 conftest$ac_exeext conftest.$ac_ext
34240 LIBS=$ac_check_lib_save_LIBS
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34243 $as_echo "$ac_cv_lib_m_sin" >&6; }
34244 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34245 libm="-lm"
34248 ac_save_LIBS="$LIBS"
34249 LIBS="$LIBS $libm"
34253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34254 $as_echo_n "checking for isinf declaration... " >&6; }
34255 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34256 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34257 $as_echo_n "(cached) " >&6
34258 else
34261 ac_ext=cpp
34262 ac_cpp='$CXXCPP $CPPFLAGS'
34263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34268 /* end confdefs.h. */
34269 #include <math.h>
34270 #ifdef HAVE_IEEEFP_H
34271 #include <ieeefp.h>
34272 #endif
34275 main ()
34277 isinf(0);
34279 return 0;
34281 _ACEOF
34282 if ac_fn_cxx_try_compile "$LINENO"; then :
34283 glibcxx_cv_func_isinf_use=yes
34284 else
34285 glibcxx_cv_func_isinf_use=no
34287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34288 ac_ext=c
34289 ac_cpp='$CPP $CPPFLAGS'
34290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34299 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34301 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34302 for ac_func in isinf
34303 do :
34304 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34305 if test "x$ac_cv_func_isinf" = x""yes; then :
34306 cat >>confdefs.h <<_ACEOF
34307 #define HAVE_ISINF 1
34308 _ACEOF
34311 done
34313 else
34315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34316 $as_echo_n "checking for _isinf declaration... " >&6; }
34317 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34318 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34319 $as_echo_n "(cached) " >&6
34320 else
34323 ac_ext=cpp
34324 ac_cpp='$CXXCPP $CPPFLAGS'
34325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34330 /* end confdefs.h. */
34331 #include <math.h>
34332 #ifdef HAVE_IEEEFP_H
34333 #include <ieeefp.h>
34334 #endif
34337 main ()
34339 _isinf(0);
34341 return 0;
34343 _ACEOF
34344 if ac_fn_cxx_try_compile "$LINENO"; then :
34345 glibcxx_cv_func__isinf_use=yes
34346 else
34347 glibcxx_cv_func__isinf_use=no
34349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34350 ac_ext=c
34351 ac_cpp='$CPP $CPPFLAGS'
34352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34361 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34363 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34364 for ac_func in _isinf
34365 do :
34366 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34367 if test "x$ac_cv_func__isinf" = x""yes; then :
34368 cat >>confdefs.h <<_ACEOF
34369 #define HAVE__ISINF 1
34370 _ACEOF
34373 done
34382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34383 $as_echo_n "checking for isnan declaration... " >&6; }
34384 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34385 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34386 $as_echo_n "(cached) " >&6
34387 else
34390 ac_ext=cpp
34391 ac_cpp='$CXXCPP $CPPFLAGS'
34392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34397 /* end confdefs.h. */
34398 #include <math.h>
34399 #ifdef HAVE_IEEEFP_H
34400 #include <ieeefp.h>
34401 #endif
34404 main ()
34406 isnan(0);
34408 return 0;
34410 _ACEOF
34411 if ac_fn_cxx_try_compile "$LINENO"; then :
34412 glibcxx_cv_func_isnan_use=yes
34413 else
34414 glibcxx_cv_func_isnan_use=no
34416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34417 ac_ext=c
34418 ac_cpp='$CPP $CPPFLAGS'
34419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34428 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34430 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34431 for ac_func in isnan
34432 do :
34433 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34434 if test "x$ac_cv_func_isnan" = x""yes; then :
34435 cat >>confdefs.h <<_ACEOF
34436 #define HAVE_ISNAN 1
34437 _ACEOF
34440 done
34442 else
34444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34445 $as_echo_n "checking for _isnan declaration... " >&6; }
34446 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34447 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34448 $as_echo_n "(cached) " >&6
34449 else
34452 ac_ext=cpp
34453 ac_cpp='$CXXCPP $CPPFLAGS'
34454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34459 /* end confdefs.h. */
34460 #include <math.h>
34461 #ifdef HAVE_IEEEFP_H
34462 #include <ieeefp.h>
34463 #endif
34466 main ()
34468 _isnan(0);
34470 return 0;
34472 _ACEOF
34473 if ac_fn_cxx_try_compile "$LINENO"; then :
34474 glibcxx_cv_func__isnan_use=yes
34475 else
34476 glibcxx_cv_func__isnan_use=no
34478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34479 ac_ext=c
34480 ac_cpp='$CPP $CPPFLAGS'
34481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34490 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34492 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34493 for ac_func in _isnan
34494 do :
34495 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34496 if test "x$ac_cv_func__isnan" = x""yes; then :
34497 cat >>confdefs.h <<_ACEOF
34498 #define HAVE__ISNAN 1
34499 _ACEOF
34502 done
34511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34512 $as_echo_n "checking for finite declaration... " >&6; }
34513 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34514 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34515 $as_echo_n "(cached) " >&6
34516 else
34519 ac_ext=cpp
34520 ac_cpp='$CXXCPP $CPPFLAGS'
34521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34526 /* end confdefs.h. */
34527 #include <math.h>
34528 #ifdef HAVE_IEEEFP_H
34529 #include <ieeefp.h>
34530 #endif
34533 main ()
34535 finite(0);
34537 return 0;
34539 _ACEOF
34540 if ac_fn_cxx_try_compile "$LINENO"; then :
34541 glibcxx_cv_func_finite_use=yes
34542 else
34543 glibcxx_cv_func_finite_use=no
34545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34546 ac_ext=c
34547 ac_cpp='$CPP $CPPFLAGS'
34548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34557 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34559 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34560 for ac_func in finite
34561 do :
34562 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34563 if test "x$ac_cv_func_finite" = x""yes; then :
34564 cat >>confdefs.h <<_ACEOF
34565 #define HAVE_FINITE 1
34566 _ACEOF
34569 done
34571 else
34573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34574 $as_echo_n "checking for _finite declaration... " >&6; }
34575 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34576 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34577 $as_echo_n "(cached) " >&6
34578 else
34581 ac_ext=cpp
34582 ac_cpp='$CXXCPP $CPPFLAGS'
34583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34588 /* end confdefs.h. */
34589 #include <math.h>
34590 #ifdef HAVE_IEEEFP_H
34591 #include <ieeefp.h>
34592 #endif
34595 main ()
34597 _finite(0);
34599 return 0;
34601 _ACEOF
34602 if ac_fn_cxx_try_compile "$LINENO"; then :
34603 glibcxx_cv_func__finite_use=yes
34604 else
34605 glibcxx_cv_func__finite_use=no
34607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34608 ac_ext=c
34609 ac_cpp='$CPP $CPPFLAGS'
34610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34619 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34621 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34622 for ac_func in _finite
34623 do :
34624 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34625 if test "x$ac_cv_func__finite" = x""yes; then :
34626 cat >>confdefs.h <<_ACEOF
34627 #define HAVE__FINITE 1
34628 _ACEOF
34631 done
34640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34641 $as_echo_n "checking for sincos declaration... " >&6; }
34642 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34643 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34644 $as_echo_n "(cached) " >&6
34645 else
34648 ac_ext=cpp
34649 ac_cpp='$CXXCPP $CPPFLAGS'
34650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34655 /* end confdefs.h. */
34656 #include <math.h>
34658 main ()
34660 sincos(0, 0, 0);
34662 return 0;
34664 _ACEOF
34665 if ac_fn_cxx_try_compile "$LINENO"; then :
34666 glibcxx_cv_func_sincos_use=yes
34667 else
34668 glibcxx_cv_func_sincos_use=no
34670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34671 ac_ext=c
34672 ac_cpp='$CPP $CPPFLAGS'
34673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34682 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34684 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34685 for ac_func in sincos
34686 do :
34687 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34688 if test "x$ac_cv_func_sincos" = x""yes; then :
34689 cat >>confdefs.h <<_ACEOF
34690 #define HAVE_SINCOS 1
34691 _ACEOF
34694 done
34696 else
34698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34699 $as_echo_n "checking for _sincos declaration... " >&6; }
34700 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34701 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34702 $as_echo_n "(cached) " >&6
34703 else
34706 ac_ext=cpp
34707 ac_cpp='$CXXCPP $CPPFLAGS'
34708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34713 /* end confdefs.h. */
34714 #include <math.h>
34716 main ()
34718 _sincos(0, 0, 0);
34720 return 0;
34722 _ACEOF
34723 if ac_fn_cxx_try_compile "$LINENO"; then :
34724 glibcxx_cv_func__sincos_use=yes
34725 else
34726 glibcxx_cv_func__sincos_use=no
34728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34729 ac_ext=c
34730 ac_cpp='$CPP $CPPFLAGS'
34731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34740 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34742 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34743 for ac_func in _sincos
34744 do :
34745 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34746 if test "x$ac_cv_func__sincos" = x""yes; then :
34747 cat >>confdefs.h <<_ACEOF
34748 #define HAVE__SINCOS 1
34749 _ACEOF
34752 done
34761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34762 $as_echo_n "checking for fpclass declaration... " >&6; }
34763 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34764 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34765 $as_echo_n "(cached) " >&6
34766 else
34769 ac_ext=cpp
34770 ac_cpp='$CXXCPP $CPPFLAGS'
34771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34776 /* end confdefs.h. */
34777 #include <math.h>
34778 #ifdef HAVE_IEEEFP_H
34779 #include <ieeefp.h>
34780 #endif
34783 main ()
34785 fpclass(0);
34787 return 0;
34789 _ACEOF
34790 if ac_fn_cxx_try_compile "$LINENO"; then :
34791 glibcxx_cv_func_fpclass_use=yes
34792 else
34793 glibcxx_cv_func_fpclass_use=no
34795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34796 ac_ext=c
34797 ac_cpp='$CPP $CPPFLAGS'
34798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34807 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34809 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34810 for ac_func in fpclass
34811 do :
34812 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34813 if test "x$ac_cv_func_fpclass" = x""yes; then :
34814 cat >>confdefs.h <<_ACEOF
34815 #define HAVE_FPCLASS 1
34816 _ACEOF
34819 done
34821 else
34823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34824 $as_echo_n "checking for _fpclass declaration... " >&6; }
34825 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34826 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34827 $as_echo_n "(cached) " >&6
34828 else
34831 ac_ext=cpp
34832 ac_cpp='$CXXCPP $CPPFLAGS'
34833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34838 /* end confdefs.h. */
34839 #include <math.h>
34840 #ifdef HAVE_IEEEFP_H
34841 #include <ieeefp.h>
34842 #endif
34845 main ()
34847 _fpclass(0);
34849 return 0;
34851 _ACEOF
34852 if ac_fn_cxx_try_compile "$LINENO"; then :
34853 glibcxx_cv_func__fpclass_use=yes
34854 else
34855 glibcxx_cv_func__fpclass_use=no
34857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34858 ac_ext=c
34859 ac_cpp='$CPP $CPPFLAGS'
34860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34869 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34871 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34872 for ac_func in _fpclass
34873 do :
34874 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34875 if test "x$ac_cv_func__fpclass" = x""yes; then :
34876 cat >>confdefs.h <<_ACEOF
34877 #define HAVE__FPCLASS 1
34878 _ACEOF
34881 done
34890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34891 $as_echo_n "checking for qfpclass declaration... " >&6; }
34892 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34893 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34894 $as_echo_n "(cached) " >&6
34895 else
34898 ac_ext=cpp
34899 ac_cpp='$CXXCPP $CPPFLAGS'
34900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34905 /* end confdefs.h. */
34906 #include <math.h>
34907 #ifdef HAVE_IEEEFP_H
34908 #include <ieeefp.h>
34909 #endif
34912 main ()
34914 qfpclass(0);
34916 return 0;
34918 _ACEOF
34919 if ac_fn_cxx_try_compile "$LINENO"; then :
34920 glibcxx_cv_func_qfpclass_use=yes
34921 else
34922 glibcxx_cv_func_qfpclass_use=no
34924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34925 ac_ext=c
34926 ac_cpp='$CPP $CPPFLAGS'
34927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34936 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34938 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34939 for ac_func in qfpclass
34940 do :
34941 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34942 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34943 cat >>confdefs.h <<_ACEOF
34944 #define HAVE_QFPCLASS 1
34945 _ACEOF
34948 done
34950 else
34952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34953 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34954 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34955 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34956 $as_echo_n "(cached) " >&6
34957 else
34960 ac_ext=cpp
34961 ac_cpp='$CXXCPP $CPPFLAGS'
34962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34967 /* end confdefs.h. */
34968 #include <math.h>
34969 #ifdef HAVE_IEEEFP_H
34970 #include <ieeefp.h>
34971 #endif
34974 main ()
34976 _qfpclass(0);
34978 return 0;
34980 _ACEOF
34981 if ac_fn_cxx_try_compile "$LINENO"; then :
34982 glibcxx_cv_func__qfpclass_use=yes
34983 else
34984 glibcxx_cv_func__qfpclass_use=no
34986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34987 ac_ext=c
34988 ac_cpp='$CPP $CPPFLAGS'
34989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34998 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
35000 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35001 for ac_func in _qfpclass
35002 do :
35003 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
35004 if test "x$ac_cv_func__qfpclass" = x""yes; then :
35005 cat >>confdefs.h <<_ACEOF
35006 #define HAVE__QFPCLASS 1
35007 _ACEOF
35010 done
35019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35020 $as_echo_n "checking for hypot declaration... " >&6; }
35021 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35022 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35023 $as_echo_n "(cached) " >&6
35024 else
35027 ac_ext=cpp
35028 ac_cpp='$CXXCPP $CPPFLAGS'
35029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35034 /* end confdefs.h. */
35035 #include <math.h>
35037 main ()
35039 hypot(0, 0);
35041 return 0;
35043 _ACEOF
35044 if ac_fn_cxx_try_compile "$LINENO"; then :
35045 glibcxx_cv_func_hypot_use=yes
35046 else
35047 glibcxx_cv_func_hypot_use=no
35049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35050 ac_ext=c
35051 ac_cpp='$CPP $CPPFLAGS'
35052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35061 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35063 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35064 for ac_func in hypot
35065 do :
35066 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35067 if test "x$ac_cv_func_hypot" = x""yes; then :
35068 cat >>confdefs.h <<_ACEOF
35069 #define HAVE_HYPOT 1
35070 _ACEOF
35073 done
35075 else
35077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35078 $as_echo_n "checking for _hypot declaration... " >&6; }
35079 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35080 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35081 $as_echo_n "(cached) " >&6
35082 else
35085 ac_ext=cpp
35086 ac_cpp='$CXXCPP $CPPFLAGS'
35087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35092 /* end confdefs.h. */
35093 #include <math.h>
35095 main ()
35097 _hypot(0, 0);
35099 return 0;
35101 _ACEOF
35102 if ac_fn_cxx_try_compile "$LINENO"; then :
35103 glibcxx_cv_func__hypot_use=yes
35104 else
35105 glibcxx_cv_func__hypot_use=no
35107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35108 ac_ext=c
35109 ac_cpp='$CPP $CPPFLAGS'
35110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35119 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35121 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35122 for ac_func in _hypot
35123 do :
35124 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35125 if test "x$ac_cv_func__hypot" = x""yes; then :
35126 cat >>confdefs.h <<_ACEOF
35127 #define HAVE__HYPOT 1
35128 _ACEOF
35131 done
35140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35141 $as_echo_n "checking for float trig functions... " >&6; }
35142 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35143 $as_echo_n "(cached) " >&6
35144 else
35147 ac_ext=cpp
35148 ac_cpp='$CXXCPP $CPPFLAGS'
35149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35154 /* end confdefs.h. */
35155 #include <math.h>
35157 main ()
35159 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35161 return 0;
35163 _ACEOF
35164 if ac_fn_cxx_try_compile "$LINENO"; then :
35165 glibcxx_cv_func_float_trig_use=yes
35166 else
35167 glibcxx_cv_func_float_trig_use=no
35169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35170 ac_ext=c
35171 ac_cpp='$CPP $CPPFLAGS'
35172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35179 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35180 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35181 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35182 do :
35183 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35184 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35185 eval as_val=\$$as_ac_var
35186 if test "x$as_val" = x""yes; then :
35187 cat >>confdefs.h <<_ACEOF
35188 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35189 _ACEOF
35192 done
35194 else
35195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35196 $as_echo_n "checking for _float trig functions... " >&6; }
35197 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35198 $as_echo_n "(cached) " >&6
35199 else
35202 ac_ext=cpp
35203 ac_cpp='$CXXCPP $CPPFLAGS'
35204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35209 /* end confdefs.h. */
35210 #include <math.h>
35212 main ()
35214 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35216 return 0;
35218 _ACEOF
35219 if ac_fn_cxx_try_compile "$LINENO"; then :
35220 glibcxx_cv_func__float_trig_use=yes
35221 else
35222 glibcxx_cv_func__float_trig_use=no
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35225 ac_ext=c
35226 ac_cpp='$CPP $CPPFLAGS'
35227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35234 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35235 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35236 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35237 do :
35238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35240 eval as_val=\$$as_ac_var
35241 if test "x$as_val" = x""yes; then :
35242 cat >>confdefs.h <<_ACEOF
35243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35244 _ACEOF
35247 done
35256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35257 $as_echo_n "checking for float round functions... " >&6; }
35258 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35259 $as_echo_n "(cached) " >&6
35260 else
35263 ac_ext=cpp
35264 ac_cpp='$CXXCPP $CPPFLAGS'
35265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35270 /* end confdefs.h. */
35271 #include <math.h>
35273 main ()
35275 ceilf (0); floorf (0);
35277 return 0;
35279 _ACEOF
35280 if ac_fn_cxx_try_compile "$LINENO"; then :
35281 glibcxx_cv_func_float_round_use=yes
35282 else
35283 glibcxx_cv_func_float_round_use=no
35285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35286 ac_ext=c
35287 ac_cpp='$CPP $CPPFLAGS'
35288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35295 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35296 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35297 for ac_func in ceilf floorf
35298 do :
35299 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35300 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35301 eval as_val=\$$as_ac_var
35302 if test "x$as_val" = x""yes; then :
35303 cat >>confdefs.h <<_ACEOF
35304 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35305 _ACEOF
35308 done
35310 else
35311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35312 $as_echo_n "checking for _float round functions... " >&6; }
35313 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35314 $as_echo_n "(cached) " >&6
35315 else
35318 ac_ext=cpp
35319 ac_cpp='$CXXCPP $CPPFLAGS'
35320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35325 /* end confdefs.h. */
35326 #include <math.h>
35328 main ()
35330 _ceilf (0); _floorf (0);
35332 return 0;
35334 _ACEOF
35335 if ac_fn_cxx_try_compile "$LINENO"; then :
35336 glibcxx_cv_func__float_round_use=yes
35337 else
35338 glibcxx_cv_func__float_round_use=no
35340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35341 ac_ext=c
35342 ac_cpp='$CPP $CPPFLAGS'
35343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35350 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35351 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35352 for ac_func in _ceilf _floorf
35353 do :
35354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35356 eval as_val=\$$as_ac_var
35357 if test "x$as_val" = x""yes; then :
35358 cat >>confdefs.h <<_ACEOF
35359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35360 _ACEOF
35363 done
35373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35374 $as_echo_n "checking for expf declaration... " >&6; }
35375 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35376 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35377 $as_echo_n "(cached) " >&6
35378 else
35381 ac_ext=cpp
35382 ac_cpp='$CXXCPP $CPPFLAGS'
35383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35388 /* end confdefs.h. */
35389 #include <math.h>
35390 #ifdef HAVE_IEEEFP_H
35391 #include <ieeefp.h>
35392 #endif
35395 main ()
35397 expf(0);
35399 return 0;
35401 _ACEOF
35402 if ac_fn_cxx_try_compile "$LINENO"; then :
35403 glibcxx_cv_func_expf_use=yes
35404 else
35405 glibcxx_cv_func_expf_use=no
35407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35408 ac_ext=c
35409 ac_cpp='$CPP $CPPFLAGS'
35410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35419 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35421 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35422 for ac_func in expf
35423 do :
35424 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35425 if test "x$ac_cv_func_expf" = x""yes; then :
35426 cat >>confdefs.h <<_ACEOF
35427 #define HAVE_EXPF 1
35428 _ACEOF
35431 done
35433 else
35435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35436 $as_echo_n "checking for _expf declaration... " >&6; }
35437 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35438 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35439 $as_echo_n "(cached) " >&6
35440 else
35443 ac_ext=cpp
35444 ac_cpp='$CXXCPP $CPPFLAGS'
35445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35450 /* end confdefs.h. */
35451 #include <math.h>
35452 #ifdef HAVE_IEEEFP_H
35453 #include <ieeefp.h>
35454 #endif
35457 main ()
35459 _expf(0);
35461 return 0;
35463 _ACEOF
35464 if ac_fn_cxx_try_compile "$LINENO"; then :
35465 glibcxx_cv_func__expf_use=yes
35466 else
35467 glibcxx_cv_func__expf_use=no
35469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35470 ac_ext=c
35471 ac_cpp='$CPP $CPPFLAGS'
35472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35481 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35483 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35484 for ac_func in _expf
35485 do :
35486 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35487 if test "x$ac_cv_func__expf" = x""yes; then :
35488 cat >>confdefs.h <<_ACEOF
35489 #define HAVE__EXPF 1
35490 _ACEOF
35493 done
35502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35503 $as_echo_n "checking for isnanf declaration... " >&6; }
35504 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35505 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35506 $as_echo_n "(cached) " >&6
35507 else
35510 ac_ext=cpp
35511 ac_cpp='$CXXCPP $CPPFLAGS'
35512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35517 /* end confdefs.h. */
35518 #include <math.h>
35519 #ifdef HAVE_IEEEFP_H
35520 #include <ieeefp.h>
35521 #endif
35524 main ()
35526 isnanf(0);
35528 return 0;
35530 _ACEOF
35531 if ac_fn_cxx_try_compile "$LINENO"; then :
35532 glibcxx_cv_func_isnanf_use=yes
35533 else
35534 glibcxx_cv_func_isnanf_use=no
35536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35537 ac_ext=c
35538 ac_cpp='$CPP $CPPFLAGS'
35539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35548 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35550 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35551 for ac_func in isnanf
35552 do :
35553 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35554 if test "x$ac_cv_func_isnanf" = x""yes; then :
35555 cat >>confdefs.h <<_ACEOF
35556 #define HAVE_ISNANF 1
35557 _ACEOF
35560 done
35562 else
35564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35565 $as_echo_n "checking for _isnanf declaration... " >&6; }
35566 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35567 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35568 $as_echo_n "(cached) " >&6
35569 else
35572 ac_ext=cpp
35573 ac_cpp='$CXXCPP $CPPFLAGS'
35574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35579 /* end confdefs.h. */
35580 #include <math.h>
35581 #ifdef HAVE_IEEEFP_H
35582 #include <ieeefp.h>
35583 #endif
35586 main ()
35588 _isnanf(0);
35590 return 0;
35592 _ACEOF
35593 if ac_fn_cxx_try_compile "$LINENO"; then :
35594 glibcxx_cv_func__isnanf_use=yes
35595 else
35596 glibcxx_cv_func__isnanf_use=no
35598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35599 ac_ext=c
35600 ac_cpp='$CPP $CPPFLAGS'
35601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35610 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35612 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35613 for ac_func in _isnanf
35614 do :
35615 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35616 if test "x$ac_cv_func__isnanf" = x""yes; then :
35617 cat >>confdefs.h <<_ACEOF
35618 #define HAVE__ISNANF 1
35619 _ACEOF
35622 done
35631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35632 $as_echo_n "checking for isinff declaration... " >&6; }
35633 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35634 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35635 $as_echo_n "(cached) " >&6
35636 else
35639 ac_ext=cpp
35640 ac_cpp='$CXXCPP $CPPFLAGS'
35641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35646 /* end confdefs.h. */
35647 #include <math.h>
35648 #ifdef HAVE_IEEEFP_H
35649 #include <ieeefp.h>
35650 #endif
35653 main ()
35655 isinff(0);
35657 return 0;
35659 _ACEOF
35660 if ac_fn_cxx_try_compile "$LINENO"; then :
35661 glibcxx_cv_func_isinff_use=yes
35662 else
35663 glibcxx_cv_func_isinff_use=no
35665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35666 ac_ext=c
35667 ac_cpp='$CPP $CPPFLAGS'
35668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35677 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35679 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35680 for ac_func in isinff
35681 do :
35682 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35683 if test "x$ac_cv_func_isinff" = x""yes; then :
35684 cat >>confdefs.h <<_ACEOF
35685 #define HAVE_ISINFF 1
35686 _ACEOF
35689 done
35691 else
35693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35694 $as_echo_n "checking for _isinff declaration... " >&6; }
35695 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35696 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35697 $as_echo_n "(cached) " >&6
35698 else
35701 ac_ext=cpp
35702 ac_cpp='$CXXCPP $CPPFLAGS'
35703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35708 /* end confdefs.h. */
35709 #include <math.h>
35710 #ifdef HAVE_IEEEFP_H
35711 #include <ieeefp.h>
35712 #endif
35715 main ()
35717 _isinff(0);
35719 return 0;
35721 _ACEOF
35722 if ac_fn_cxx_try_compile "$LINENO"; then :
35723 glibcxx_cv_func__isinff_use=yes
35724 else
35725 glibcxx_cv_func__isinff_use=no
35727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35728 ac_ext=c
35729 ac_cpp='$CPP $CPPFLAGS'
35730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35739 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35741 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35742 for ac_func in _isinff
35743 do :
35744 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35745 if test "x$ac_cv_func__isinff" = x""yes; then :
35746 cat >>confdefs.h <<_ACEOF
35747 #define HAVE__ISINFF 1
35748 _ACEOF
35751 done
35760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35761 $as_echo_n "checking for atan2f declaration... " >&6; }
35762 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35763 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35764 $as_echo_n "(cached) " >&6
35765 else
35768 ac_ext=cpp
35769 ac_cpp='$CXXCPP $CPPFLAGS'
35770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35775 /* end confdefs.h. */
35776 #include <math.h>
35778 main ()
35780 atan2f(0, 0);
35782 return 0;
35784 _ACEOF
35785 if ac_fn_cxx_try_compile "$LINENO"; then :
35786 glibcxx_cv_func_atan2f_use=yes
35787 else
35788 glibcxx_cv_func_atan2f_use=no
35790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35791 ac_ext=c
35792 ac_cpp='$CPP $CPPFLAGS'
35793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35802 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35804 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35805 for ac_func in atan2f
35806 do :
35807 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35808 if test "x$ac_cv_func_atan2f" = x""yes; then :
35809 cat >>confdefs.h <<_ACEOF
35810 #define HAVE_ATAN2F 1
35811 _ACEOF
35814 done
35816 else
35818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35819 $as_echo_n "checking for _atan2f declaration... " >&6; }
35820 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35821 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35822 $as_echo_n "(cached) " >&6
35823 else
35826 ac_ext=cpp
35827 ac_cpp='$CXXCPP $CPPFLAGS'
35828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35833 /* end confdefs.h. */
35834 #include <math.h>
35836 main ()
35838 _atan2f(0, 0);
35840 return 0;
35842 _ACEOF
35843 if ac_fn_cxx_try_compile "$LINENO"; then :
35844 glibcxx_cv_func__atan2f_use=yes
35845 else
35846 glibcxx_cv_func__atan2f_use=no
35848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35849 ac_ext=c
35850 ac_cpp='$CPP $CPPFLAGS'
35851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35860 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35862 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35863 for ac_func in _atan2f
35864 do :
35865 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35866 if test "x$ac_cv_func__atan2f" = x""yes; then :
35867 cat >>confdefs.h <<_ACEOF
35868 #define HAVE__ATAN2F 1
35869 _ACEOF
35872 done
35881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35882 $as_echo_n "checking for fabsf declaration... " >&6; }
35883 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35884 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35885 $as_echo_n "(cached) " >&6
35886 else
35889 ac_ext=cpp
35890 ac_cpp='$CXXCPP $CPPFLAGS'
35891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35896 /* end confdefs.h. */
35897 #include <math.h>
35898 #ifdef HAVE_IEEEFP_H
35899 #include <ieeefp.h>
35900 #endif
35903 main ()
35905 fabsf(0);
35907 return 0;
35909 _ACEOF
35910 if ac_fn_cxx_try_compile "$LINENO"; then :
35911 glibcxx_cv_func_fabsf_use=yes
35912 else
35913 glibcxx_cv_func_fabsf_use=no
35915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35916 ac_ext=c
35917 ac_cpp='$CPP $CPPFLAGS'
35918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35927 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35929 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35930 for ac_func in fabsf
35931 do :
35932 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35933 if test "x$ac_cv_func_fabsf" = x""yes; then :
35934 cat >>confdefs.h <<_ACEOF
35935 #define HAVE_FABSF 1
35936 _ACEOF
35939 done
35941 else
35943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35944 $as_echo_n "checking for _fabsf declaration... " >&6; }
35945 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35946 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35947 $as_echo_n "(cached) " >&6
35948 else
35951 ac_ext=cpp
35952 ac_cpp='$CXXCPP $CPPFLAGS'
35953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35958 /* end confdefs.h. */
35959 #include <math.h>
35960 #ifdef HAVE_IEEEFP_H
35961 #include <ieeefp.h>
35962 #endif
35965 main ()
35967 _fabsf(0);
35969 return 0;
35971 _ACEOF
35972 if ac_fn_cxx_try_compile "$LINENO"; then :
35973 glibcxx_cv_func__fabsf_use=yes
35974 else
35975 glibcxx_cv_func__fabsf_use=no
35977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35978 ac_ext=c
35979 ac_cpp='$CPP $CPPFLAGS'
35980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35989 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35991 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35992 for ac_func in _fabsf
35993 do :
35994 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35995 if test "x$ac_cv_func__fabsf" = x""yes; then :
35996 cat >>confdefs.h <<_ACEOF
35997 #define HAVE__FABSF 1
35998 _ACEOF
36001 done
36010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
36011 $as_echo_n "checking for fmodf declaration... " >&6; }
36012 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36013 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
36014 $as_echo_n "(cached) " >&6
36015 else
36018 ac_ext=cpp
36019 ac_cpp='$CXXCPP $CPPFLAGS'
36020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36025 /* end confdefs.h. */
36026 #include <math.h>
36028 main ()
36030 fmodf(0, 0);
36032 return 0;
36034 _ACEOF
36035 if ac_fn_cxx_try_compile "$LINENO"; then :
36036 glibcxx_cv_func_fmodf_use=yes
36037 else
36038 glibcxx_cv_func_fmodf_use=no
36040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36041 ac_ext=c
36042 ac_cpp='$CPP $CPPFLAGS'
36043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36052 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36054 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36055 for ac_func in fmodf
36056 do :
36057 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36058 if test "x$ac_cv_func_fmodf" = x""yes; then :
36059 cat >>confdefs.h <<_ACEOF
36060 #define HAVE_FMODF 1
36061 _ACEOF
36064 done
36066 else
36068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36069 $as_echo_n "checking for _fmodf declaration... " >&6; }
36070 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36071 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36072 $as_echo_n "(cached) " >&6
36073 else
36076 ac_ext=cpp
36077 ac_cpp='$CXXCPP $CPPFLAGS'
36078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36083 /* end confdefs.h. */
36084 #include <math.h>
36086 main ()
36088 _fmodf(0, 0);
36090 return 0;
36092 _ACEOF
36093 if ac_fn_cxx_try_compile "$LINENO"; then :
36094 glibcxx_cv_func__fmodf_use=yes
36095 else
36096 glibcxx_cv_func__fmodf_use=no
36098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36099 ac_ext=c
36100 ac_cpp='$CPP $CPPFLAGS'
36101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36110 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36112 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36113 for ac_func in _fmodf
36114 do :
36115 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36116 if test "x$ac_cv_func__fmodf" = x""yes; then :
36117 cat >>confdefs.h <<_ACEOF
36118 #define HAVE__FMODF 1
36119 _ACEOF
36122 done
36131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36132 $as_echo_n "checking for frexpf declaration... " >&6; }
36133 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36134 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36135 $as_echo_n "(cached) " >&6
36136 else
36139 ac_ext=cpp
36140 ac_cpp='$CXXCPP $CPPFLAGS'
36141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36146 /* end confdefs.h. */
36147 #include <math.h>
36149 main ()
36151 frexpf(0, 0);
36153 return 0;
36155 _ACEOF
36156 if ac_fn_cxx_try_compile "$LINENO"; then :
36157 glibcxx_cv_func_frexpf_use=yes
36158 else
36159 glibcxx_cv_func_frexpf_use=no
36161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36162 ac_ext=c
36163 ac_cpp='$CPP $CPPFLAGS'
36164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36173 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36175 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36176 for ac_func in frexpf
36177 do :
36178 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36179 if test "x$ac_cv_func_frexpf" = x""yes; then :
36180 cat >>confdefs.h <<_ACEOF
36181 #define HAVE_FREXPF 1
36182 _ACEOF
36185 done
36187 else
36189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36190 $as_echo_n "checking for _frexpf declaration... " >&6; }
36191 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36192 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36193 $as_echo_n "(cached) " >&6
36194 else
36197 ac_ext=cpp
36198 ac_cpp='$CXXCPP $CPPFLAGS'
36199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36204 /* end confdefs.h. */
36205 #include <math.h>
36207 main ()
36209 _frexpf(0, 0);
36211 return 0;
36213 _ACEOF
36214 if ac_fn_cxx_try_compile "$LINENO"; then :
36215 glibcxx_cv_func__frexpf_use=yes
36216 else
36217 glibcxx_cv_func__frexpf_use=no
36219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36220 ac_ext=c
36221 ac_cpp='$CPP $CPPFLAGS'
36222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36231 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36233 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36234 for ac_func in _frexpf
36235 do :
36236 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36237 if test "x$ac_cv_func__frexpf" = x""yes; then :
36238 cat >>confdefs.h <<_ACEOF
36239 #define HAVE__FREXPF 1
36240 _ACEOF
36243 done
36252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36253 $as_echo_n "checking for hypotf declaration... " >&6; }
36254 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36255 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36256 $as_echo_n "(cached) " >&6
36257 else
36260 ac_ext=cpp
36261 ac_cpp='$CXXCPP $CPPFLAGS'
36262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36267 /* end confdefs.h. */
36268 #include <math.h>
36270 main ()
36272 hypotf(0, 0);
36274 return 0;
36276 _ACEOF
36277 if ac_fn_cxx_try_compile "$LINENO"; then :
36278 glibcxx_cv_func_hypotf_use=yes
36279 else
36280 glibcxx_cv_func_hypotf_use=no
36282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36283 ac_ext=c
36284 ac_cpp='$CPP $CPPFLAGS'
36285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36294 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36296 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36297 for ac_func in hypotf
36298 do :
36299 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36300 if test "x$ac_cv_func_hypotf" = x""yes; then :
36301 cat >>confdefs.h <<_ACEOF
36302 #define HAVE_HYPOTF 1
36303 _ACEOF
36306 done
36308 else
36310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36311 $as_echo_n "checking for _hypotf declaration... " >&6; }
36312 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36313 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36314 $as_echo_n "(cached) " >&6
36315 else
36318 ac_ext=cpp
36319 ac_cpp='$CXXCPP $CPPFLAGS'
36320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36325 /* end confdefs.h. */
36326 #include <math.h>
36328 main ()
36330 _hypotf(0, 0);
36332 return 0;
36334 _ACEOF
36335 if ac_fn_cxx_try_compile "$LINENO"; then :
36336 glibcxx_cv_func__hypotf_use=yes
36337 else
36338 glibcxx_cv_func__hypotf_use=no
36340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36341 ac_ext=c
36342 ac_cpp='$CPP $CPPFLAGS'
36343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36352 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36354 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36355 for ac_func in _hypotf
36356 do :
36357 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36358 if test "x$ac_cv_func__hypotf" = x""yes; then :
36359 cat >>confdefs.h <<_ACEOF
36360 #define HAVE__HYPOTF 1
36361 _ACEOF
36364 done
36373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36374 $as_echo_n "checking for ldexpf declaration... " >&6; }
36375 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36376 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36377 $as_echo_n "(cached) " >&6
36378 else
36381 ac_ext=cpp
36382 ac_cpp='$CXXCPP $CPPFLAGS'
36383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36388 /* end confdefs.h. */
36389 #include <math.h>
36391 main ()
36393 ldexpf(0, 0);
36395 return 0;
36397 _ACEOF
36398 if ac_fn_cxx_try_compile "$LINENO"; then :
36399 glibcxx_cv_func_ldexpf_use=yes
36400 else
36401 glibcxx_cv_func_ldexpf_use=no
36403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36404 ac_ext=c
36405 ac_cpp='$CPP $CPPFLAGS'
36406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36415 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36417 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36418 for ac_func in ldexpf
36419 do :
36420 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36421 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36422 cat >>confdefs.h <<_ACEOF
36423 #define HAVE_LDEXPF 1
36424 _ACEOF
36427 done
36429 else
36431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36432 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36433 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36434 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36435 $as_echo_n "(cached) " >&6
36436 else
36439 ac_ext=cpp
36440 ac_cpp='$CXXCPP $CPPFLAGS'
36441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36446 /* end confdefs.h. */
36447 #include <math.h>
36449 main ()
36451 _ldexpf(0, 0);
36453 return 0;
36455 _ACEOF
36456 if ac_fn_cxx_try_compile "$LINENO"; then :
36457 glibcxx_cv_func__ldexpf_use=yes
36458 else
36459 glibcxx_cv_func__ldexpf_use=no
36461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36462 ac_ext=c
36463 ac_cpp='$CPP $CPPFLAGS'
36464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36473 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36475 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36476 for ac_func in _ldexpf
36477 do :
36478 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36479 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36480 cat >>confdefs.h <<_ACEOF
36481 #define HAVE__LDEXPF 1
36482 _ACEOF
36485 done
36494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36495 $as_echo_n "checking for logf declaration... " >&6; }
36496 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36497 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36498 $as_echo_n "(cached) " >&6
36499 else
36502 ac_ext=cpp
36503 ac_cpp='$CXXCPP $CPPFLAGS'
36504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36509 /* end confdefs.h. */
36510 #include <math.h>
36511 #ifdef HAVE_IEEEFP_H
36512 #include <ieeefp.h>
36513 #endif
36516 main ()
36518 logf(0);
36520 return 0;
36522 _ACEOF
36523 if ac_fn_cxx_try_compile "$LINENO"; then :
36524 glibcxx_cv_func_logf_use=yes
36525 else
36526 glibcxx_cv_func_logf_use=no
36528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36529 ac_ext=c
36530 ac_cpp='$CPP $CPPFLAGS'
36531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36540 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36542 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36543 for ac_func in logf
36544 do :
36545 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36546 if test "x$ac_cv_func_logf" = x""yes; then :
36547 cat >>confdefs.h <<_ACEOF
36548 #define HAVE_LOGF 1
36549 _ACEOF
36552 done
36554 else
36556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36557 $as_echo_n "checking for _logf declaration... " >&6; }
36558 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36559 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36560 $as_echo_n "(cached) " >&6
36561 else
36564 ac_ext=cpp
36565 ac_cpp='$CXXCPP $CPPFLAGS'
36566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36571 /* end confdefs.h. */
36572 #include <math.h>
36573 #ifdef HAVE_IEEEFP_H
36574 #include <ieeefp.h>
36575 #endif
36578 main ()
36580 _logf(0);
36582 return 0;
36584 _ACEOF
36585 if ac_fn_cxx_try_compile "$LINENO"; then :
36586 glibcxx_cv_func__logf_use=yes
36587 else
36588 glibcxx_cv_func__logf_use=no
36590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36591 ac_ext=c
36592 ac_cpp='$CPP $CPPFLAGS'
36593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36602 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36604 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36605 for ac_func in _logf
36606 do :
36607 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36608 if test "x$ac_cv_func__logf" = x""yes; then :
36609 cat >>confdefs.h <<_ACEOF
36610 #define HAVE__LOGF 1
36611 _ACEOF
36614 done
36623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36624 $as_echo_n "checking for log10f declaration... " >&6; }
36625 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36626 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36627 $as_echo_n "(cached) " >&6
36628 else
36631 ac_ext=cpp
36632 ac_cpp='$CXXCPP $CPPFLAGS'
36633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36638 /* end confdefs.h. */
36639 #include <math.h>
36640 #ifdef HAVE_IEEEFP_H
36641 #include <ieeefp.h>
36642 #endif
36645 main ()
36647 log10f(0);
36649 return 0;
36651 _ACEOF
36652 if ac_fn_cxx_try_compile "$LINENO"; then :
36653 glibcxx_cv_func_log10f_use=yes
36654 else
36655 glibcxx_cv_func_log10f_use=no
36657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36658 ac_ext=c
36659 ac_cpp='$CPP $CPPFLAGS'
36660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36669 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36671 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36672 for ac_func in log10f
36673 do :
36674 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36675 if test "x$ac_cv_func_log10f" = x""yes; then :
36676 cat >>confdefs.h <<_ACEOF
36677 #define HAVE_LOG10F 1
36678 _ACEOF
36681 done
36683 else
36685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36686 $as_echo_n "checking for _log10f declaration... " >&6; }
36687 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36688 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36689 $as_echo_n "(cached) " >&6
36690 else
36693 ac_ext=cpp
36694 ac_cpp='$CXXCPP $CPPFLAGS'
36695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36700 /* end confdefs.h. */
36701 #include <math.h>
36702 #ifdef HAVE_IEEEFP_H
36703 #include <ieeefp.h>
36704 #endif
36707 main ()
36709 _log10f(0);
36711 return 0;
36713 _ACEOF
36714 if ac_fn_cxx_try_compile "$LINENO"; then :
36715 glibcxx_cv_func__log10f_use=yes
36716 else
36717 glibcxx_cv_func__log10f_use=no
36719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36720 ac_ext=c
36721 ac_cpp='$CPP $CPPFLAGS'
36722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36731 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36733 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36734 for ac_func in _log10f
36735 do :
36736 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36737 if test "x$ac_cv_func__log10f" = x""yes; then :
36738 cat >>confdefs.h <<_ACEOF
36739 #define HAVE__LOG10F 1
36740 _ACEOF
36743 done
36752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36753 $as_echo_n "checking for modff declaration... " >&6; }
36754 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36755 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36756 $as_echo_n "(cached) " >&6
36757 else
36760 ac_ext=cpp
36761 ac_cpp='$CXXCPP $CPPFLAGS'
36762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36767 /* end confdefs.h. */
36768 #include <math.h>
36770 main ()
36772 modff(0, 0);
36774 return 0;
36776 _ACEOF
36777 if ac_fn_cxx_try_compile "$LINENO"; then :
36778 glibcxx_cv_func_modff_use=yes
36779 else
36780 glibcxx_cv_func_modff_use=no
36782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36783 ac_ext=c
36784 ac_cpp='$CPP $CPPFLAGS'
36785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36794 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36796 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36797 for ac_func in modff
36798 do :
36799 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36800 if test "x$ac_cv_func_modff" = x""yes; then :
36801 cat >>confdefs.h <<_ACEOF
36802 #define HAVE_MODFF 1
36803 _ACEOF
36806 done
36808 else
36810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36811 $as_echo_n "checking for _modff declaration... " >&6; }
36812 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36813 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36814 $as_echo_n "(cached) " >&6
36815 else
36818 ac_ext=cpp
36819 ac_cpp='$CXXCPP $CPPFLAGS'
36820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36825 /* end confdefs.h. */
36826 #include <math.h>
36828 main ()
36830 _modff(0, 0);
36832 return 0;
36834 _ACEOF
36835 if ac_fn_cxx_try_compile "$LINENO"; then :
36836 glibcxx_cv_func__modff_use=yes
36837 else
36838 glibcxx_cv_func__modff_use=no
36840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36841 ac_ext=c
36842 ac_cpp='$CPP $CPPFLAGS'
36843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36852 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36854 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36855 for ac_func in _modff
36856 do :
36857 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36858 if test "x$ac_cv_func__modff" = x""yes; then :
36859 cat >>confdefs.h <<_ACEOF
36860 #define HAVE__MODFF 1
36861 _ACEOF
36864 done
36873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36874 $as_echo_n "checking for modf declaration... " >&6; }
36875 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36876 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36877 $as_echo_n "(cached) " >&6
36878 else
36881 ac_ext=cpp
36882 ac_cpp='$CXXCPP $CPPFLAGS'
36883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36888 /* end confdefs.h. */
36889 #include <math.h>
36891 main ()
36893 modf(0, 0);
36895 return 0;
36897 _ACEOF
36898 if ac_fn_cxx_try_compile "$LINENO"; then :
36899 glibcxx_cv_func_modf_use=yes
36900 else
36901 glibcxx_cv_func_modf_use=no
36903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36904 ac_ext=c
36905 ac_cpp='$CPP $CPPFLAGS'
36906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36915 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36917 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36918 for ac_func in modf
36919 do :
36920 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36921 if test "x$ac_cv_func_modf" = x""yes; then :
36922 cat >>confdefs.h <<_ACEOF
36923 #define HAVE_MODF 1
36924 _ACEOF
36927 done
36929 else
36931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36932 $as_echo_n "checking for _modf declaration... " >&6; }
36933 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36934 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36935 $as_echo_n "(cached) " >&6
36936 else
36939 ac_ext=cpp
36940 ac_cpp='$CXXCPP $CPPFLAGS'
36941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36946 /* end confdefs.h. */
36947 #include <math.h>
36949 main ()
36951 _modf(0, 0);
36953 return 0;
36955 _ACEOF
36956 if ac_fn_cxx_try_compile "$LINENO"; then :
36957 glibcxx_cv_func__modf_use=yes
36958 else
36959 glibcxx_cv_func__modf_use=no
36961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36962 ac_ext=c
36963 ac_cpp='$CPP $CPPFLAGS'
36964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36973 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36975 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36976 for ac_func in _modf
36977 do :
36978 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36979 if test "x$ac_cv_func__modf" = x""yes; then :
36980 cat >>confdefs.h <<_ACEOF
36981 #define HAVE__MODF 1
36982 _ACEOF
36985 done
36994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36995 $as_echo_n "checking for powf declaration... " >&6; }
36996 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36997 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36998 $as_echo_n "(cached) " >&6
36999 else
37002 ac_ext=cpp
37003 ac_cpp='$CXXCPP $CPPFLAGS'
37004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37009 /* end confdefs.h. */
37010 #include <math.h>
37012 main ()
37014 powf(0, 0);
37016 return 0;
37018 _ACEOF
37019 if ac_fn_cxx_try_compile "$LINENO"; then :
37020 glibcxx_cv_func_powf_use=yes
37021 else
37022 glibcxx_cv_func_powf_use=no
37024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37025 ac_ext=c
37026 ac_cpp='$CPP $CPPFLAGS'
37027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37036 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37038 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37039 for ac_func in powf
37040 do :
37041 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37042 if test "x$ac_cv_func_powf" = x""yes; then :
37043 cat >>confdefs.h <<_ACEOF
37044 #define HAVE_POWF 1
37045 _ACEOF
37048 done
37050 else
37052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37053 $as_echo_n "checking for _powf declaration... " >&6; }
37054 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37055 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37056 $as_echo_n "(cached) " >&6
37057 else
37060 ac_ext=cpp
37061 ac_cpp='$CXXCPP $CPPFLAGS'
37062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37067 /* end confdefs.h. */
37068 #include <math.h>
37070 main ()
37072 _powf(0, 0);
37074 return 0;
37076 _ACEOF
37077 if ac_fn_cxx_try_compile "$LINENO"; then :
37078 glibcxx_cv_func__powf_use=yes
37079 else
37080 glibcxx_cv_func__powf_use=no
37082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37083 ac_ext=c
37084 ac_cpp='$CPP $CPPFLAGS'
37085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37094 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37096 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37097 for ac_func in _powf
37098 do :
37099 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37100 if test "x$ac_cv_func__powf" = x""yes; then :
37101 cat >>confdefs.h <<_ACEOF
37102 #define HAVE__POWF 1
37103 _ACEOF
37106 done
37115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37116 $as_echo_n "checking for sqrtf declaration... " >&6; }
37117 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37118 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37119 $as_echo_n "(cached) " >&6
37120 else
37123 ac_ext=cpp
37124 ac_cpp='$CXXCPP $CPPFLAGS'
37125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37130 /* end confdefs.h. */
37131 #include <math.h>
37132 #ifdef HAVE_IEEEFP_H
37133 #include <ieeefp.h>
37134 #endif
37137 main ()
37139 sqrtf(0);
37141 return 0;
37143 _ACEOF
37144 if ac_fn_cxx_try_compile "$LINENO"; then :
37145 glibcxx_cv_func_sqrtf_use=yes
37146 else
37147 glibcxx_cv_func_sqrtf_use=no
37149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37150 ac_ext=c
37151 ac_cpp='$CPP $CPPFLAGS'
37152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37161 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37163 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37164 for ac_func in sqrtf
37165 do :
37166 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37167 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37168 cat >>confdefs.h <<_ACEOF
37169 #define HAVE_SQRTF 1
37170 _ACEOF
37173 done
37175 else
37177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37178 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37179 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37180 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37181 $as_echo_n "(cached) " >&6
37182 else
37185 ac_ext=cpp
37186 ac_cpp='$CXXCPP $CPPFLAGS'
37187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37192 /* end confdefs.h. */
37193 #include <math.h>
37194 #ifdef HAVE_IEEEFP_H
37195 #include <ieeefp.h>
37196 #endif
37199 main ()
37201 _sqrtf(0);
37203 return 0;
37205 _ACEOF
37206 if ac_fn_cxx_try_compile "$LINENO"; then :
37207 glibcxx_cv_func__sqrtf_use=yes
37208 else
37209 glibcxx_cv_func__sqrtf_use=no
37211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37212 ac_ext=c
37213 ac_cpp='$CPP $CPPFLAGS'
37214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37223 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37225 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37226 for ac_func in _sqrtf
37227 do :
37228 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37229 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37230 cat >>confdefs.h <<_ACEOF
37231 #define HAVE__SQRTF 1
37232 _ACEOF
37235 done
37244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37245 $as_echo_n "checking for sincosf declaration... " >&6; }
37246 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37247 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37248 $as_echo_n "(cached) " >&6
37249 else
37252 ac_ext=cpp
37253 ac_cpp='$CXXCPP $CPPFLAGS'
37254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37259 /* end confdefs.h. */
37260 #include <math.h>
37262 main ()
37264 sincosf(0, 0, 0);
37266 return 0;
37268 _ACEOF
37269 if ac_fn_cxx_try_compile "$LINENO"; then :
37270 glibcxx_cv_func_sincosf_use=yes
37271 else
37272 glibcxx_cv_func_sincosf_use=no
37274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37275 ac_ext=c
37276 ac_cpp='$CPP $CPPFLAGS'
37277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37286 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37288 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37289 for ac_func in sincosf
37290 do :
37291 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37292 if test "x$ac_cv_func_sincosf" = x""yes; then :
37293 cat >>confdefs.h <<_ACEOF
37294 #define HAVE_SINCOSF 1
37295 _ACEOF
37298 done
37300 else
37302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37303 $as_echo_n "checking for _sincosf declaration... " >&6; }
37304 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37305 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37306 $as_echo_n "(cached) " >&6
37307 else
37310 ac_ext=cpp
37311 ac_cpp='$CXXCPP $CPPFLAGS'
37312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37317 /* end confdefs.h. */
37318 #include <math.h>
37320 main ()
37322 _sincosf(0, 0, 0);
37324 return 0;
37326 _ACEOF
37327 if ac_fn_cxx_try_compile "$LINENO"; then :
37328 glibcxx_cv_func__sincosf_use=yes
37329 else
37330 glibcxx_cv_func__sincosf_use=no
37332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37333 ac_ext=c
37334 ac_cpp='$CPP $CPPFLAGS'
37335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37344 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37346 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37347 for ac_func in _sincosf
37348 do :
37349 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37350 if test "x$ac_cv_func__sincosf" = x""yes; then :
37351 cat >>confdefs.h <<_ACEOF
37352 #define HAVE__SINCOSF 1
37353 _ACEOF
37356 done
37365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37366 $as_echo_n "checking for finitef declaration... " >&6; }
37367 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37368 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37369 $as_echo_n "(cached) " >&6
37370 else
37373 ac_ext=cpp
37374 ac_cpp='$CXXCPP $CPPFLAGS'
37375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37380 /* end confdefs.h. */
37381 #include <math.h>
37382 #ifdef HAVE_IEEEFP_H
37383 #include <ieeefp.h>
37384 #endif
37387 main ()
37389 finitef(0);
37391 return 0;
37393 _ACEOF
37394 if ac_fn_cxx_try_compile "$LINENO"; then :
37395 glibcxx_cv_func_finitef_use=yes
37396 else
37397 glibcxx_cv_func_finitef_use=no
37399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37400 ac_ext=c
37401 ac_cpp='$CPP $CPPFLAGS'
37402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37411 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37413 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37414 for ac_func in finitef
37415 do :
37416 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37417 if test "x$ac_cv_func_finitef" = x""yes; then :
37418 cat >>confdefs.h <<_ACEOF
37419 #define HAVE_FINITEF 1
37420 _ACEOF
37423 done
37425 else
37427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37428 $as_echo_n "checking for _finitef declaration... " >&6; }
37429 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37430 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37431 $as_echo_n "(cached) " >&6
37432 else
37435 ac_ext=cpp
37436 ac_cpp='$CXXCPP $CPPFLAGS'
37437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37442 /* end confdefs.h. */
37443 #include <math.h>
37444 #ifdef HAVE_IEEEFP_H
37445 #include <ieeefp.h>
37446 #endif
37449 main ()
37451 _finitef(0);
37453 return 0;
37455 _ACEOF
37456 if ac_fn_cxx_try_compile "$LINENO"; then :
37457 glibcxx_cv_func__finitef_use=yes
37458 else
37459 glibcxx_cv_func__finitef_use=no
37461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37462 ac_ext=c
37463 ac_cpp='$CPP $CPPFLAGS'
37464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37473 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37475 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37476 for ac_func in _finitef
37477 do :
37478 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37479 if test "x$ac_cv_func__finitef" = x""yes; then :
37480 cat >>confdefs.h <<_ACEOF
37481 #define HAVE__FINITEF 1
37482 _ACEOF
37485 done
37494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37495 $as_echo_n "checking for long double trig functions... " >&6; }
37496 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37497 $as_echo_n "(cached) " >&6
37498 else
37501 ac_ext=cpp
37502 ac_cpp='$CXXCPP $CPPFLAGS'
37503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37508 /* end confdefs.h. */
37509 #include <math.h>
37511 main ()
37513 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37515 return 0;
37517 _ACEOF
37518 if ac_fn_cxx_try_compile "$LINENO"; then :
37519 glibcxx_cv_func_long_double_trig_use=yes
37520 else
37521 glibcxx_cv_func_long_double_trig_use=no
37523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37524 ac_ext=c
37525 ac_cpp='$CPP $CPPFLAGS'
37526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37533 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37534 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37535 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37536 do :
37537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37539 eval as_val=\$$as_ac_var
37540 if test "x$as_val" = x""yes; then :
37541 cat >>confdefs.h <<_ACEOF
37542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37543 _ACEOF
37546 done
37548 else
37549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37550 $as_echo_n "checking for _long double trig functions... " >&6; }
37551 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37552 $as_echo_n "(cached) " >&6
37553 else
37556 ac_ext=cpp
37557 ac_cpp='$CXXCPP $CPPFLAGS'
37558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37563 /* end confdefs.h. */
37564 #include <math.h>
37566 main ()
37568 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37570 return 0;
37572 _ACEOF
37573 if ac_fn_cxx_try_compile "$LINENO"; then :
37574 glibcxx_cv_func__long_double_trig_use=yes
37575 else
37576 glibcxx_cv_func__long_double_trig_use=no
37578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37579 ac_ext=c
37580 ac_cpp='$CPP $CPPFLAGS'
37581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37588 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37589 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37590 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37591 do :
37592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37594 eval as_val=\$$as_ac_var
37595 if test "x$as_val" = x""yes; then :
37596 cat >>confdefs.h <<_ACEOF
37597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37598 _ACEOF
37601 done
37610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37611 $as_echo_n "checking for long double round functions... " >&6; }
37612 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37613 $as_echo_n "(cached) " >&6
37614 else
37617 ac_ext=cpp
37618 ac_cpp='$CXXCPP $CPPFLAGS'
37619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37624 /* end confdefs.h. */
37625 #include <math.h>
37627 main ()
37629 ceill (0); floorl (0);
37631 return 0;
37633 _ACEOF
37634 if ac_fn_cxx_try_compile "$LINENO"; then :
37635 glibcxx_cv_func_long_double_round_use=yes
37636 else
37637 glibcxx_cv_func_long_double_round_use=no
37639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37640 ac_ext=c
37641 ac_cpp='$CPP $CPPFLAGS'
37642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37649 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37650 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37651 for ac_func in ceill floorl
37652 do :
37653 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37654 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37655 eval as_val=\$$as_ac_var
37656 if test "x$as_val" = x""yes; then :
37657 cat >>confdefs.h <<_ACEOF
37658 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37659 _ACEOF
37662 done
37664 else
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37666 $as_echo_n "checking for _long double round functions... " >&6; }
37667 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37668 $as_echo_n "(cached) " >&6
37669 else
37672 ac_ext=cpp
37673 ac_cpp='$CXXCPP $CPPFLAGS'
37674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37679 /* end confdefs.h. */
37680 #include <math.h>
37682 main ()
37684 _ceill (0); _floorl (0);
37686 return 0;
37688 _ACEOF
37689 if ac_fn_cxx_try_compile "$LINENO"; then :
37690 glibcxx_cv_func__long_double_round_use=yes
37691 else
37692 glibcxx_cv_func__long_double_round_use=no
37694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37695 ac_ext=c
37696 ac_cpp='$CPP $CPPFLAGS'
37697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37704 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37705 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37706 for ac_func in _ceill _floorl
37707 do :
37708 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37709 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37710 eval as_val=\$$as_ac_var
37711 if test "x$as_val" = x""yes; then :
37712 cat >>confdefs.h <<_ACEOF
37713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37714 _ACEOF
37717 done
37727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37728 $as_echo_n "checking for isnanl declaration... " >&6; }
37729 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37730 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37731 $as_echo_n "(cached) " >&6
37732 else
37735 ac_ext=cpp
37736 ac_cpp='$CXXCPP $CPPFLAGS'
37737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37742 /* end confdefs.h. */
37743 #include <math.h>
37744 #ifdef HAVE_IEEEFP_H
37745 #include <ieeefp.h>
37746 #endif
37749 main ()
37751 isnanl(0);
37753 return 0;
37755 _ACEOF
37756 if ac_fn_cxx_try_compile "$LINENO"; then :
37757 glibcxx_cv_func_isnanl_use=yes
37758 else
37759 glibcxx_cv_func_isnanl_use=no
37761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37762 ac_ext=c
37763 ac_cpp='$CPP $CPPFLAGS'
37764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37773 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37775 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37776 for ac_func in isnanl
37777 do :
37778 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37779 if test "x$ac_cv_func_isnanl" = x""yes; then :
37780 cat >>confdefs.h <<_ACEOF
37781 #define HAVE_ISNANL 1
37782 _ACEOF
37785 done
37787 else
37789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37790 $as_echo_n "checking for _isnanl declaration... " >&6; }
37791 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37792 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37793 $as_echo_n "(cached) " >&6
37794 else
37797 ac_ext=cpp
37798 ac_cpp='$CXXCPP $CPPFLAGS'
37799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37804 /* end confdefs.h. */
37805 #include <math.h>
37806 #ifdef HAVE_IEEEFP_H
37807 #include <ieeefp.h>
37808 #endif
37811 main ()
37813 _isnanl(0);
37815 return 0;
37817 _ACEOF
37818 if ac_fn_cxx_try_compile "$LINENO"; then :
37819 glibcxx_cv_func__isnanl_use=yes
37820 else
37821 glibcxx_cv_func__isnanl_use=no
37823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37824 ac_ext=c
37825 ac_cpp='$CPP $CPPFLAGS'
37826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37835 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37837 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37838 for ac_func in _isnanl
37839 do :
37840 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37841 if test "x$ac_cv_func__isnanl" = x""yes; then :
37842 cat >>confdefs.h <<_ACEOF
37843 #define HAVE__ISNANL 1
37844 _ACEOF
37847 done
37856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37857 $as_echo_n "checking for isinfl declaration... " >&6; }
37858 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37859 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37860 $as_echo_n "(cached) " >&6
37861 else
37864 ac_ext=cpp
37865 ac_cpp='$CXXCPP $CPPFLAGS'
37866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37871 /* end confdefs.h. */
37872 #include <math.h>
37873 #ifdef HAVE_IEEEFP_H
37874 #include <ieeefp.h>
37875 #endif
37878 main ()
37880 isinfl(0);
37882 return 0;
37884 _ACEOF
37885 if ac_fn_cxx_try_compile "$LINENO"; then :
37886 glibcxx_cv_func_isinfl_use=yes
37887 else
37888 glibcxx_cv_func_isinfl_use=no
37890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37891 ac_ext=c
37892 ac_cpp='$CPP $CPPFLAGS'
37893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37902 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37904 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37905 for ac_func in isinfl
37906 do :
37907 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37908 if test "x$ac_cv_func_isinfl" = x""yes; then :
37909 cat >>confdefs.h <<_ACEOF
37910 #define HAVE_ISINFL 1
37911 _ACEOF
37914 done
37916 else
37918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37919 $as_echo_n "checking for _isinfl declaration... " >&6; }
37920 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37921 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37922 $as_echo_n "(cached) " >&6
37923 else
37926 ac_ext=cpp
37927 ac_cpp='$CXXCPP $CPPFLAGS'
37928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37933 /* end confdefs.h. */
37934 #include <math.h>
37935 #ifdef HAVE_IEEEFP_H
37936 #include <ieeefp.h>
37937 #endif
37940 main ()
37942 _isinfl(0);
37944 return 0;
37946 _ACEOF
37947 if ac_fn_cxx_try_compile "$LINENO"; then :
37948 glibcxx_cv_func__isinfl_use=yes
37949 else
37950 glibcxx_cv_func__isinfl_use=no
37952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37953 ac_ext=c
37954 ac_cpp='$CPP $CPPFLAGS'
37955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37964 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37966 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37967 for ac_func in _isinfl
37968 do :
37969 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37970 if test "x$ac_cv_func__isinfl" = x""yes; then :
37971 cat >>confdefs.h <<_ACEOF
37972 #define HAVE__ISINFL 1
37973 _ACEOF
37976 done
37985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37986 $as_echo_n "checking for atan2l declaration... " >&6; }
37987 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37988 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37989 $as_echo_n "(cached) " >&6
37990 else
37993 ac_ext=cpp
37994 ac_cpp='$CXXCPP $CPPFLAGS'
37995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38000 /* end confdefs.h. */
38001 #include <math.h>
38003 main ()
38005 atan2l(0, 0);
38007 return 0;
38009 _ACEOF
38010 if ac_fn_cxx_try_compile "$LINENO"; then :
38011 glibcxx_cv_func_atan2l_use=yes
38012 else
38013 glibcxx_cv_func_atan2l_use=no
38015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38016 ac_ext=c
38017 ac_cpp='$CPP $CPPFLAGS'
38018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38027 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38029 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38030 for ac_func in atan2l
38031 do :
38032 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38033 if test "x$ac_cv_func_atan2l" = x""yes; then :
38034 cat >>confdefs.h <<_ACEOF
38035 #define HAVE_ATAN2L 1
38036 _ACEOF
38039 done
38041 else
38043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38044 $as_echo_n "checking for _atan2l declaration... " >&6; }
38045 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38046 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38047 $as_echo_n "(cached) " >&6
38048 else
38051 ac_ext=cpp
38052 ac_cpp='$CXXCPP $CPPFLAGS'
38053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38058 /* end confdefs.h. */
38059 #include <math.h>
38061 main ()
38063 _atan2l(0, 0);
38065 return 0;
38067 _ACEOF
38068 if ac_fn_cxx_try_compile "$LINENO"; then :
38069 glibcxx_cv_func__atan2l_use=yes
38070 else
38071 glibcxx_cv_func__atan2l_use=no
38073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38074 ac_ext=c
38075 ac_cpp='$CPP $CPPFLAGS'
38076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38085 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38087 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38088 for ac_func in _atan2l
38089 do :
38090 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38091 if test "x$ac_cv_func__atan2l" = x""yes; then :
38092 cat >>confdefs.h <<_ACEOF
38093 #define HAVE__ATAN2L 1
38094 _ACEOF
38097 done
38106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38107 $as_echo_n "checking for expl declaration... " >&6; }
38108 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38109 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38110 $as_echo_n "(cached) " >&6
38111 else
38114 ac_ext=cpp
38115 ac_cpp='$CXXCPP $CPPFLAGS'
38116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38121 /* end confdefs.h. */
38122 #include <math.h>
38123 #ifdef HAVE_IEEEFP_H
38124 #include <ieeefp.h>
38125 #endif
38128 main ()
38130 expl(0);
38132 return 0;
38134 _ACEOF
38135 if ac_fn_cxx_try_compile "$LINENO"; then :
38136 glibcxx_cv_func_expl_use=yes
38137 else
38138 glibcxx_cv_func_expl_use=no
38140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38141 ac_ext=c
38142 ac_cpp='$CPP $CPPFLAGS'
38143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38152 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38154 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38155 for ac_func in expl
38156 do :
38157 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38158 if test "x$ac_cv_func_expl" = x""yes; then :
38159 cat >>confdefs.h <<_ACEOF
38160 #define HAVE_EXPL 1
38161 _ACEOF
38164 done
38166 else
38168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38169 $as_echo_n "checking for _expl declaration... " >&6; }
38170 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38171 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38172 $as_echo_n "(cached) " >&6
38173 else
38176 ac_ext=cpp
38177 ac_cpp='$CXXCPP $CPPFLAGS'
38178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38183 /* end confdefs.h. */
38184 #include <math.h>
38185 #ifdef HAVE_IEEEFP_H
38186 #include <ieeefp.h>
38187 #endif
38190 main ()
38192 _expl(0);
38194 return 0;
38196 _ACEOF
38197 if ac_fn_cxx_try_compile "$LINENO"; then :
38198 glibcxx_cv_func__expl_use=yes
38199 else
38200 glibcxx_cv_func__expl_use=no
38202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38203 ac_ext=c
38204 ac_cpp='$CPP $CPPFLAGS'
38205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38214 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38216 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38217 for ac_func in _expl
38218 do :
38219 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38220 if test "x$ac_cv_func__expl" = x""yes; then :
38221 cat >>confdefs.h <<_ACEOF
38222 #define HAVE__EXPL 1
38223 _ACEOF
38226 done
38235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38236 $as_echo_n "checking for fabsl declaration... " >&6; }
38237 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38238 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38239 $as_echo_n "(cached) " >&6
38240 else
38243 ac_ext=cpp
38244 ac_cpp='$CXXCPP $CPPFLAGS'
38245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38250 /* end confdefs.h. */
38251 #include <math.h>
38252 #ifdef HAVE_IEEEFP_H
38253 #include <ieeefp.h>
38254 #endif
38257 main ()
38259 fabsl(0);
38261 return 0;
38263 _ACEOF
38264 if ac_fn_cxx_try_compile "$LINENO"; then :
38265 glibcxx_cv_func_fabsl_use=yes
38266 else
38267 glibcxx_cv_func_fabsl_use=no
38269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38270 ac_ext=c
38271 ac_cpp='$CPP $CPPFLAGS'
38272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38281 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38283 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38284 for ac_func in fabsl
38285 do :
38286 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38287 if test "x$ac_cv_func_fabsl" = x""yes; then :
38288 cat >>confdefs.h <<_ACEOF
38289 #define HAVE_FABSL 1
38290 _ACEOF
38293 done
38295 else
38297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38298 $as_echo_n "checking for _fabsl declaration... " >&6; }
38299 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38300 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38301 $as_echo_n "(cached) " >&6
38302 else
38305 ac_ext=cpp
38306 ac_cpp='$CXXCPP $CPPFLAGS'
38307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38312 /* end confdefs.h. */
38313 #include <math.h>
38314 #ifdef HAVE_IEEEFP_H
38315 #include <ieeefp.h>
38316 #endif
38319 main ()
38321 _fabsl(0);
38323 return 0;
38325 _ACEOF
38326 if ac_fn_cxx_try_compile "$LINENO"; then :
38327 glibcxx_cv_func__fabsl_use=yes
38328 else
38329 glibcxx_cv_func__fabsl_use=no
38331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38332 ac_ext=c
38333 ac_cpp='$CPP $CPPFLAGS'
38334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38343 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38345 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38346 for ac_func in _fabsl
38347 do :
38348 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38349 if test "x$ac_cv_func__fabsl" = x""yes; then :
38350 cat >>confdefs.h <<_ACEOF
38351 #define HAVE__FABSL 1
38352 _ACEOF
38355 done
38364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38365 $as_echo_n "checking for fmodl declaration... " >&6; }
38366 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38367 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38368 $as_echo_n "(cached) " >&6
38369 else
38372 ac_ext=cpp
38373 ac_cpp='$CXXCPP $CPPFLAGS'
38374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38379 /* end confdefs.h. */
38380 #include <math.h>
38382 main ()
38384 fmodl(0, 0);
38386 return 0;
38388 _ACEOF
38389 if ac_fn_cxx_try_compile "$LINENO"; then :
38390 glibcxx_cv_func_fmodl_use=yes
38391 else
38392 glibcxx_cv_func_fmodl_use=no
38394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38395 ac_ext=c
38396 ac_cpp='$CPP $CPPFLAGS'
38397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38406 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38408 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38409 for ac_func in fmodl
38410 do :
38411 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38412 if test "x$ac_cv_func_fmodl" = x""yes; then :
38413 cat >>confdefs.h <<_ACEOF
38414 #define HAVE_FMODL 1
38415 _ACEOF
38418 done
38420 else
38422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38423 $as_echo_n "checking for _fmodl declaration... " >&6; }
38424 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38425 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38426 $as_echo_n "(cached) " >&6
38427 else
38430 ac_ext=cpp
38431 ac_cpp='$CXXCPP $CPPFLAGS'
38432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38437 /* end confdefs.h. */
38438 #include <math.h>
38440 main ()
38442 _fmodl(0, 0);
38444 return 0;
38446 _ACEOF
38447 if ac_fn_cxx_try_compile "$LINENO"; then :
38448 glibcxx_cv_func__fmodl_use=yes
38449 else
38450 glibcxx_cv_func__fmodl_use=no
38452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38453 ac_ext=c
38454 ac_cpp='$CPP $CPPFLAGS'
38455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38464 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38466 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38467 for ac_func in _fmodl
38468 do :
38469 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38470 if test "x$ac_cv_func__fmodl" = x""yes; then :
38471 cat >>confdefs.h <<_ACEOF
38472 #define HAVE__FMODL 1
38473 _ACEOF
38476 done
38485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38486 $as_echo_n "checking for frexpl declaration... " >&6; }
38487 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38488 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38489 $as_echo_n "(cached) " >&6
38490 else
38493 ac_ext=cpp
38494 ac_cpp='$CXXCPP $CPPFLAGS'
38495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38500 /* end confdefs.h. */
38501 #include <math.h>
38503 main ()
38505 frexpl(0, 0);
38507 return 0;
38509 _ACEOF
38510 if ac_fn_cxx_try_compile "$LINENO"; then :
38511 glibcxx_cv_func_frexpl_use=yes
38512 else
38513 glibcxx_cv_func_frexpl_use=no
38515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38516 ac_ext=c
38517 ac_cpp='$CPP $CPPFLAGS'
38518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38527 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38529 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38530 for ac_func in frexpl
38531 do :
38532 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38533 if test "x$ac_cv_func_frexpl" = x""yes; then :
38534 cat >>confdefs.h <<_ACEOF
38535 #define HAVE_FREXPL 1
38536 _ACEOF
38539 done
38541 else
38543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38544 $as_echo_n "checking for _frexpl declaration... " >&6; }
38545 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38546 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38547 $as_echo_n "(cached) " >&6
38548 else
38551 ac_ext=cpp
38552 ac_cpp='$CXXCPP $CPPFLAGS'
38553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38558 /* end confdefs.h. */
38559 #include <math.h>
38561 main ()
38563 _frexpl(0, 0);
38565 return 0;
38567 _ACEOF
38568 if ac_fn_cxx_try_compile "$LINENO"; then :
38569 glibcxx_cv_func__frexpl_use=yes
38570 else
38571 glibcxx_cv_func__frexpl_use=no
38573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38574 ac_ext=c
38575 ac_cpp='$CPP $CPPFLAGS'
38576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38585 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38587 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38588 for ac_func in _frexpl
38589 do :
38590 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38591 if test "x$ac_cv_func__frexpl" = x""yes; then :
38592 cat >>confdefs.h <<_ACEOF
38593 #define HAVE__FREXPL 1
38594 _ACEOF
38597 done
38606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38607 $as_echo_n "checking for hypotl declaration... " >&6; }
38608 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38609 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38610 $as_echo_n "(cached) " >&6
38611 else
38614 ac_ext=cpp
38615 ac_cpp='$CXXCPP $CPPFLAGS'
38616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38621 /* end confdefs.h. */
38622 #include <math.h>
38624 main ()
38626 hypotl(0, 0);
38628 return 0;
38630 _ACEOF
38631 if ac_fn_cxx_try_compile "$LINENO"; then :
38632 glibcxx_cv_func_hypotl_use=yes
38633 else
38634 glibcxx_cv_func_hypotl_use=no
38636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38637 ac_ext=c
38638 ac_cpp='$CPP $CPPFLAGS'
38639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38648 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38650 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38651 for ac_func in hypotl
38652 do :
38653 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38654 if test "x$ac_cv_func_hypotl" = x""yes; then :
38655 cat >>confdefs.h <<_ACEOF
38656 #define HAVE_HYPOTL 1
38657 _ACEOF
38660 done
38662 else
38664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38665 $as_echo_n "checking for _hypotl declaration... " >&6; }
38666 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38667 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38668 $as_echo_n "(cached) " >&6
38669 else
38672 ac_ext=cpp
38673 ac_cpp='$CXXCPP $CPPFLAGS'
38674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38679 /* end confdefs.h. */
38680 #include <math.h>
38682 main ()
38684 _hypotl(0, 0);
38686 return 0;
38688 _ACEOF
38689 if ac_fn_cxx_try_compile "$LINENO"; then :
38690 glibcxx_cv_func__hypotl_use=yes
38691 else
38692 glibcxx_cv_func__hypotl_use=no
38694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38695 ac_ext=c
38696 ac_cpp='$CPP $CPPFLAGS'
38697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38706 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38708 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38709 for ac_func in _hypotl
38710 do :
38711 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38712 if test "x$ac_cv_func__hypotl" = x""yes; then :
38713 cat >>confdefs.h <<_ACEOF
38714 #define HAVE__HYPOTL 1
38715 _ACEOF
38718 done
38727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38728 $as_echo_n "checking for ldexpl declaration... " >&6; }
38729 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38730 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38731 $as_echo_n "(cached) " >&6
38732 else
38735 ac_ext=cpp
38736 ac_cpp='$CXXCPP $CPPFLAGS'
38737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38742 /* end confdefs.h. */
38743 #include <math.h>
38745 main ()
38747 ldexpl(0, 0);
38749 return 0;
38751 _ACEOF
38752 if ac_fn_cxx_try_compile "$LINENO"; then :
38753 glibcxx_cv_func_ldexpl_use=yes
38754 else
38755 glibcxx_cv_func_ldexpl_use=no
38757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38758 ac_ext=c
38759 ac_cpp='$CPP $CPPFLAGS'
38760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38769 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38771 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38772 for ac_func in ldexpl
38773 do :
38774 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38775 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38776 cat >>confdefs.h <<_ACEOF
38777 #define HAVE_LDEXPL 1
38778 _ACEOF
38781 done
38783 else
38785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38786 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38787 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38788 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38789 $as_echo_n "(cached) " >&6
38790 else
38793 ac_ext=cpp
38794 ac_cpp='$CXXCPP $CPPFLAGS'
38795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38800 /* end confdefs.h. */
38801 #include <math.h>
38803 main ()
38805 _ldexpl(0, 0);
38807 return 0;
38809 _ACEOF
38810 if ac_fn_cxx_try_compile "$LINENO"; then :
38811 glibcxx_cv_func__ldexpl_use=yes
38812 else
38813 glibcxx_cv_func__ldexpl_use=no
38815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38816 ac_ext=c
38817 ac_cpp='$CPP $CPPFLAGS'
38818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38827 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38829 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38830 for ac_func in _ldexpl
38831 do :
38832 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38833 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38834 cat >>confdefs.h <<_ACEOF
38835 #define HAVE__LDEXPL 1
38836 _ACEOF
38839 done
38848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38849 $as_echo_n "checking for logl declaration... " >&6; }
38850 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38851 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38852 $as_echo_n "(cached) " >&6
38853 else
38856 ac_ext=cpp
38857 ac_cpp='$CXXCPP $CPPFLAGS'
38858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38863 /* end confdefs.h. */
38864 #include <math.h>
38865 #ifdef HAVE_IEEEFP_H
38866 #include <ieeefp.h>
38867 #endif
38870 main ()
38872 logl(0);
38874 return 0;
38876 _ACEOF
38877 if ac_fn_cxx_try_compile "$LINENO"; then :
38878 glibcxx_cv_func_logl_use=yes
38879 else
38880 glibcxx_cv_func_logl_use=no
38882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38883 ac_ext=c
38884 ac_cpp='$CPP $CPPFLAGS'
38885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38894 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38896 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38897 for ac_func in logl
38898 do :
38899 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38900 if test "x$ac_cv_func_logl" = x""yes; then :
38901 cat >>confdefs.h <<_ACEOF
38902 #define HAVE_LOGL 1
38903 _ACEOF
38906 done
38908 else
38910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38911 $as_echo_n "checking for _logl declaration... " >&6; }
38912 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38913 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38914 $as_echo_n "(cached) " >&6
38915 else
38918 ac_ext=cpp
38919 ac_cpp='$CXXCPP $CPPFLAGS'
38920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38925 /* end confdefs.h. */
38926 #include <math.h>
38927 #ifdef HAVE_IEEEFP_H
38928 #include <ieeefp.h>
38929 #endif
38932 main ()
38934 _logl(0);
38936 return 0;
38938 _ACEOF
38939 if ac_fn_cxx_try_compile "$LINENO"; then :
38940 glibcxx_cv_func__logl_use=yes
38941 else
38942 glibcxx_cv_func__logl_use=no
38944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38945 ac_ext=c
38946 ac_cpp='$CPP $CPPFLAGS'
38947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38956 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38958 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38959 for ac_func in _logl
38960 do :
38961 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38962 if test "x$ac_cv_func__logl" = x""yes; then :
38963 cat >>confdefs.h <<_ACEOF
38964 #define HAVE__LOGL 1
38965 _ACEOF
38968 done
38977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38978 $as_echo_n "checking for log10l declaration... " >&6; }
38979 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38980 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38981 $as_echo_n "(cached) " >&6
38982 else
38985 ac_ext=cpp
38986 ac_cpp='$CXXCPP $CPPFLAGS'
38987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38992 /* end confdefs.h. */
38993 #include <math.h>
38994 #ifdef HAVE_IEEEFP_H
38995 #include <ieeefp.h>
38996 #endif
38999 main ()
39001 log10l(0);
39003 return 0;
39005 _ACEOF
39006 if ac_fn_cxx_try_compile "$LINENO"; then :
39007 glibcxx_cv_func_log10l_use=yes
39008 else
39009 glibcxx_cv_func_log10l_use=no
39011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39012 ac_ext=c
39013 ac_cpp='$CPP $CPPFLAGS'
39014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39023 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39025 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39026 for ac_func in log10l
39027 do :
39028 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39029 if test "x$ac_cv_func_log10l" = x""yes; then :
39030 cat >>confdefs.h <<_ACEOF
39031 #define HAVE_LOG10L 1
39032 _ACEOF
39035 done
39037 else
39039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39040 $as_echo_n "checking for _log10l declaration... " >&6; }
39041 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39042 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39043 $as_echo_n "(cached) " >&6
39044 else
39047 ac_ext=cpp
39048 ac_cpp='$CXXCPP $CPPFLAGS'
39049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39054 /* end confdefs.h. */
39055 #include <math.h>
39056 #ifdef HAVE_IEEEFP_H
39057 #include <ieeefp.h>
39058 #endif
39061 main ()
39063 _log10l(0);
39065 return 0;
39067 _ACEOF
39068 if ac_fn_cxx_try_compile "$LINENO"; then :
39069 glibcxx_cv_func__log10l_use=yes
39070 else
39071 glibcxx_cv_func__log10l_use=no
39073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39074 ac_ext=c
39075 ac_cpp='$CPP $CPPFLAGS'
39076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39085 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39087 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39088 for ac_func in _log10l
39089 do :
39090 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39091 if test "x$ac_cv_func__log10l" = x""yes; then :
39092 cat >>confdefs.h <<_ACEOF
39093 #define HAVE__LOG10L 1
39094 _ACEOF
39097 done
39106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39107 $as_echo_n "checking for modfl declaration... " >&6; }
39108 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39109 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39110 $as_echo_n "(cached) " >&6
39111 else
39114 ac_ext=cpp
39115 ac_cpp='$CXXCPP $CPPFLAGS'
39116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39121 /* end confdefs.h. */
39122 #include <math.h>
39124 main ()
39126 modfl(0, 0);
39128 return 0;
39130 _ACEOF
39131 if ac_fn_cxx_try_compile "$LINENO"; then :
39132 glibcxx_cv_func_modfl_use=yes
39133 else
39134 glibcxx_cv_func_modfl_use=no
39136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39137 ac_ext=c
39138 ac_cpp='$CPP $CPPFLAGS'
39139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39148 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39150 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39151 for ac_func in modfl
39152 do :
39153 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39154 if test "x$ac_cv_func_modfl" = x""yes; then :
39155 cat >>confdefs.h <<_ACEOF
39156 #define HAVE_MODFL 1
39157 _ACEOF
39160 done
39162 else
39164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39165 $as_echo_n "checking for _modfl declaration... " >&6; }
39166 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39167 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39168 $as_echo_n "(cached) " >&6
39169 else
39172 ac_ext=cpp
39173 ac_cpp='$CXXCPP $CPPFLAGS'
39174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39179 /* end confdefs.h. */
39180 #include <math.h>
39182 main ()
39184 _modfl(0, 0);
39186 return 0;
39188 _ACEOF
39189 if ac_fn_cxx_try_compile "$LINENO"; then :
39190 glibcxx_cv_func__modfl_use=yes
39191 else
39192 glibcxx_cv_func__modfl_use=no
39194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39195 ac_ext=c
39196 ac_cpp='$CPP $CPPFLAGS'
39197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39206 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39208 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39209 for ac_func in _modfl
39210 do :
39211 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39212 if test "x$ac_cv_func__modfl" = x""yes; then :
39213 cat >>confdefs.h <<_ACEOF
39214 #define HAVE__MODFL 1
39215 _ACEOF
39218 done
39227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39228 $as_echo_n "checking for powl declaration... " >&6; }
39229 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39230 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39231 $as_echo_n "(cached) " >&6
39232 else
39235 ac_ext=cpp
39236 ac_cpp='$CXXCPP $CPPFLAGS'
39237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39242 /* end confdefs.h. */
39243 #include <math.h>
39245 main ()
39247 powl(0, 0);
39249 return 0;
39251 _ACEOF
39252 if ac_fn_cxx_try_compile "$LINENO"; then :
39253 glibcxx_cv_func_powl_use=yes
39254 else
39255 glibcxx_cv_func_powl_use=no
39257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39258 ac_ext=c
39259 ac_cpp='$CPP $CPPFLAGS'
39260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39269 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39271 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39272 for ac_func in powl
39273 do :
39274 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39275 if test "x$ac_cv_func_powl" = x""yes; then :
39276 cat >>confdefs.h <<_ACEOF
39277 #define HAVE_POWL 1
39278 _ACEOF
39281 done
39283 else
39285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39286 $as_echo_n "checking for _powl declaration... " >&6; }
39287 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39288 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39289 $as_echo_n "(cached) " >&6
39290 else
39293 ac_ext=cpp
39294 ac_cpp='$CXXCPP $CPPFLAGS'
39295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39300 /* end confdefs.h. */
39301 #include <math.h>
39303 main ()
39305 _powl(0, 0);
39307 return 0;
39309 _ACEOF
39310 if ac_fn_cxx_try_compile "$LINENO"; then :
39311 glibcxx_cv_func__powl_use=yes
39312 else
39313 glibcxx_cv_func__powl_use=no
39315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39316 ac_ext=c
39317 ac_cpp='$CPP $CPPFLAGS'
39318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39327 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39329 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39330 for ac_func in _powl
39331 do :
39332 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39333 if test "x$ac_cv_func__powl" = x""yes; then :
39334 cat >>confdefs.h <<_ACEOF
39335 #define HAVE__POWL 1
39336 _ACEOF
39339 done
39348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39349 $as_echo_n "checking for sqrtl declaration... " >&6; }
39350 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39351 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39352 $as_echo_n "(cached) " >&6
39353 else
39356 ac_ext=cpp
39357 ac_cpp='$CXXCPP $CPPFLAGS'
39358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39363 /* end confdefs.h. */
39364 #include <math.h>
39365 #ifdef HAVE_IEEEFP_H
39366 #include <ieeefp.h>
39367 #endif
39370 main ()
39372 sqrtl(0);
39374 return 0;
39376 _ACEOF
39377 if ac_fn_cxx_try_compile "$LINENO"; then :
39378 glibcxx_cv_func_sqrtl_use=yes
39379 else
39380 glibcxx_cv_func_sqrtl_use=no
39382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39383 ac_ext=c
39384 ac_cpp='$CPP $CPPFLAGS'
39385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39394 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39396 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39397 for ac_func in sqrtl
39398 do :
39399 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39400 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39401 cat >>confdefs.h <<_ACEOF
39402 #define HAVE_SQRTL 1
39403 _ACEOF
39406 done
39408 else
39410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39411 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39412 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39413 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39414 $as_echo_n "(cached) " >&6
39415 else
39418 ac_ext=cpp
39419 ac_cpp='$CXXCPP $CPPFLAGS'
39420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39425 /* end confdefs.h. */
39426 #include <math.h>
39427 #ifdef HAVE_IEEEFP_H
39428 #include <ieeefp.h>
39429 #endif
39432 main ()
39434 _sqrtl(0);
39436 return 0;
39438 _ACEOF
39439 if ac_fn_cxx_try_compile "$LINENO"; then :
39440 glibcxx_cv_func__sqrtl_use=yes
39441 else
39442 glibcxx_cv_func__sqrtl_use=no
39444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39445 ac_ext=c
39446 ac_cpp='$CPP $CPPFLAGS'
39447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39456 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39458 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39459 for ac_func in _sqrtl
39460 do :
39461 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39462 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39463 cat >>confdefs.h <<_ACEOF
39464 #define HAVE__SQRTL 1
39465 _ACEOF
39468 done
39477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39478 $as_echo_n "checking for sincosl declaration... " >&6; }
39479 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39480 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39481 $as_echo_n "(cached) " >&6
39482 else
39485 ac_ext=cpp
39486 ac_cpp='$CXXCPP $CPPFLAGS'
39487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39492 /* end confdefs.h. */
39493 #include <math.h>
39495 main ()
39497 sincosl(0, 0, 0);
39499 return 0;
39501 _ACEOF
39502 if ac_fn_cxx_try_compile "$LINENO"; then :
39503 glibcxx_cv_func_sincosl_use=yes
39504 else
39505 glibcxx_cv_func_sincosl_use=no
39507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39508 ac_ext=c
39509 ac_cpp='$CPP $CPPFLAGS'
39510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39519 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39521 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39522 for ac_func in sincosl
39523 do :
39524 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39525 if test "x$ac_cv_func_sincosl" = x""yes; then :
39526 cat >>confdefs.h <<_ACEOF
39527 #define HAVE_SINCOSL 1
39528 _ACEOF
39531 done
39533 else
39535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39536 $as_echo_n "checking for _sincosl declaration... " >&6; }
39537 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39538 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39539 $as_echo_n "(cached) " >&6
39540 else
39543 ac_ext=cpp
39544 ac_cpp='$CXXCPP $CPPFLAGS'
39545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39550 /* end confdefs.h. */
39551 #include <math.h>
39553 main ()
39555 _sincosl(0, 0, 0);
39557 return 0;
39559 _ACEOF
39560 if ac_fn_cxx_try_compile "$LINENO"; then :
39561 glibcxx_cv_func__sincosl_use=yes
39562 else
39563 glibcxx_cv_func__sincosl_use=no
39565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39566 ac_ext=c
39567 ac_cpp='$CPP $CPPFLAGS'
39568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39577 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39579 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39580 for ac_func in _sincosl
39581 do :
39582 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39583 if test "x$ac_cv_func__sincosl" = x""yes; then :
39584 cat >>confdefs.h <<_ACEOF
39585 #define HAVE__SINCOSL 1
39586 _ACEOF
39589 done
39598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39599 $as_echo_n "checking for finitel declaration... " >&6; }
39600 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39601 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39602 $as_echo_n "(cached) " >&6
39603 else
39606 ac_ext=cpp
39607 ac_cpp='$CXXCPP $CPPFLAGS'
39608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39613 /* end confdefs.h. */
39614 #include <math.h>
39615 #ifdef HAVE_IEEEFP_H
39616 #include <ieeefp.h>
39617 #endif
39620 main ()
39622 finitel(0);
39624 return 0;
39626 _ACEOF
39627 if ac_fn_cxx_try_compile "$LINENO"; then :
39628 glibcxx_cv_func_finitel_use=yes
39629 else
39630 glibcxx_cv_func_finitel_use=no
39632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39633 ac_ext=c
39634 ac_cpp='$CPP $CPPFLAGS'
39635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39644 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39646 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39647 for ac_func in finitel
39648 do :
39649 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39650 if test "x$ac_cv_func_finitel" = x""yes; then :
39651 cat >>confdefs.h <<_ACEOF
39652 #define HAVE_FINITEL 1
39653 _ACEOF
39656 done
39658 else
39660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39661 $as_echo_n "checking for _finitel declaration... " >&6; }
39662 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39663 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39664 $as_echo_n "(cached) " >&6
39665 else
39668 ac_ext=cpp
39669 ac_cpp='$CXXCPP $CPPFLAGS'
39670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39675 /* end confdefs.h. */
39676 #include <math.h>
39677 #ifdef HAVE_IEEEFP_H
39678 #include <ieeefp.h>
39679 #endif
39682 main ()
39684 _finitel(0);
39686 return 0;
39688 _ACEOF
39689 if ac_fn_cxx_try_compile "$LINENO"; then :
39690 glibcxx_cv_func__finitel_use=yes
39691 else
39692 glibcxx_cv_func__finitel_use=no
39694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39695 ac_ext=c
39696 ac_cpp='$CPP $CPPFLAGS'
39697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39706 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39708 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39709 for ac_func in _finitel
39710 do :
39711 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39712 if test "x$ac_cv_func__finitel" = x""yes; then :
39713 cat >>confdefs.h <<_ACEOF
39714 #define HAVE__FINITEL 1
39715 _ACEOF
39718 done
39726 LIBS="$ac_save_LIBS"
39727 CXXFLAGS="$ac_save_CXXFLAGS"
39730 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39731 ac_save_CXXFLAGS="$CXXFLAGS"
39732 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39736 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39737 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39738 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39739 $as_echo_n "(cached) " >&6
39740 else
39743 ac_ext=cpp
39744 ac_cpp='$CXXCPP $CPPFLAGS'
39745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39750 /* end confdefs.h. */
39751 #include <stdlib.h>
39753 main ()
39755 at_quick_exit(0);
39757 return 0;
39759 _ACEOF
39760 if ac_fn_cxx_try_compile "$LINENO"; then :
39761 glibcxx_cv_func_at_quick_exit_use=yes
39762 else
39763 glibcxx_cv_func_at_quick_exit_use=no
39765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39766 ac_ext=c
39767 ac_cpp='$CPP $CPPFLAGS'
39768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39777 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39778 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39779 for ac_func in at_quick_exit
39780 do :
39781 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39782 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39783 cat >>confdefs.h <<_ACEOF
39784 #define HAVE_AT_QUICK_EXIT 1
39785 _ACEOF
39788 done
39793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39794 $as_echo_n "checking for quick_exit declaration... " >&6; }
39795 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39796 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39797 $as_echo_n "(cached) " >&6
39798 else
39801 ac_ext=cpp
39802 ac_cpp='$CXXCPP $CPPFLAGS'
39803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39808 /* end confdefs.h. */
39809 #include <stdlib.h>
39811 main ()
39813 quick_exit(0);
39815 return 0;
39817 _ACEOF
39818 if ac_fn_cxx_try_compile "$LINENO"; then :
39819 glibcxx_cv_func_quick_exit_use=yes
39820 else
39821 glibcxx_cv_func_quick_exit_use=no
39823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39824 ac_ext=c
39825 ac_cpp='$CPP $CPPFLAGS'
39826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39835 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39836 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39837 for ac_func in quick_exit
39838 do :
39839 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39840 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39841 cat >>confdefs.h <<_ACEOF
39842 #define HAVE_QUICK_EXIT 1
39843 _ACEOF
39846 done
39851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39852 $as_echo_n "checking for strtold declaration... " >&6; }
39853 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39854 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39855 $as_echo_n "(cached) " >&6
39856 else
39859 ac_ext=cpp
39860 ac_cpp='$CXXCPP $CPPFLAGS'
39861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39866 /* end confdefs.h. */
39867 #include <stdlib.h>
39869 main ()
39871 strtold(0, 0);
39873 return 0;
39875 _ACEOF
39876 if ac_fn_cxx_try_compile "$LINENO"; then :
39877 glibcxx_cv_func_strtold_use=yes
39878 else
39879 glibcxx_cv_func_strtold_use=no
39881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39882 ac_ext=c
39883 ac_cpp='$CPP $CPPFLAGS'
39884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39893 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39894 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39895 for ac_func in strtold
39896 do :
39897 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39898 if test "x$ac_cv_func_strtold" = x""yes; then :
39899 cat >>confdefs.h <<_ACEOF
39900 #define HAVE_STRTOLD 1
39901 _ACEOF
39904 done
39911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39912 $as_echo_n "checking for strtof declaration... " >&6; }
39913 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39914 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39915 $as_echo_n "(cached) " >&6
39916 else
39919 ac_ext=cpp
39920 ac_cpp='$CXXCPP $CPPFLAGS'
39921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39926 /* end confdefs.h. */
39927 #include <stdlib.h>
39929 main ()
39931 strtof(0, 0);
39933 return 0;
39935 _ACEOF
39936 if ac_fn_cxx_try_compile "$LINENO"; then :
39937 glibcxx_cv_func_strtof_use=yes
39938 else
39939 glibcxx_cv_func_strtof_use=no
39941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39942 ac_ext=c
39943 ac_cpp='$CPP $CPPFLAGS'
39944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39953 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39954 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39955 for ac_func in strtof
39956 do :
39957 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39958 if test "x$ac_cv_func_strtof" = x""yes; then :
39959 cat >>confdefs.h <<_ACEOF
39960 #define HAVE_STRTOF 1
39961 _ACEOF
39964 done
39971 CXXFLAGS="$ac_save_CXXFLAGS"
39978 am_save_CPPFLAGS="$CPPFLAGS"
39980 for element in $INCICONV; do
39981 haveit=
39982 for x in $CPPFLAGS; do
39984 acl_save_prefix="$prefix"
39985 prefix="$acl_final_prefix"
39986 acl_save_exec_prefix="$exec_prefix"
39987 exec_prefix="$acl_final_exec_prefix"
39988 eval x=\"$x\"
39989 exec_prefix="$acl_save_exec_prefix"
39990 prefix="$acl_save_prefix"
39992 if test "X$x" = "X$element"; then
39993 haveit=yes
39994 break
39996 done
39997 if test -z "$haveit"; then
39998 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40000 done
40003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40004 $as_echo_n "checking for iconv... " >&6; }
40005 if test "${am_cv_func_iconv+set}" = set; then :
40006 $as_echo_n "(cached) " >&6
40007 else
40009 am_cv_func_iconv="no, consider installing GNU libiconv"
40010 am_cv_lib_iconv=no
40011 if test x$gcc_no_link = xyes; then
40012 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40015 /* end confdefs.h. */
40016 #include <stdlib.h>
40017 #include <iconv.h>
40019 main ()
40021 iconv_t cd = iconv_open("","");
40022 iconv(cd,NULL,NULL,NULL,NULL);
40023 iconv_close(cd);
40025 return 0;
40027 _ACEOF
40028 if ac_fn_c_try_link "$LINENO"; then :
40029 am_cv_func_iconv=yes
40031 rm -f core conftest.err conftest.$ac_objext \
40032 conftest$ac_exeext conftest.$ac_ext
40033 if test "$am_cv_func_iconv" != yes; then
40034 am_save_LIBS="$LIBS"
40035 LIBS="$LIBS $LIBICONV"
40036 if test x$gcc_no_link = xyes; then
40037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40040 /* end confdefs.h. */
40041 #include <stdlib.h>
40042 #include <iconv.h>
40044 main ()
40046 iconv_t cd = iconv_open("","");
40047 iconv(cd,NULL,NULL,NULL,NULL);
40048 iconv_close(cd);
40050 return 0;
40052 _ACEOF
40053 if ac_fn_c_try_link "$LINENO"; then :
40054 am_cv_lib_iconv=yes
40055 am_cv_func_iconv=yes
40057 rm -f core conftest.err conftest.$ac_objext \
40058 conftest$ac_exeext conftest.$ac_ext
40059 LIBS="$am_save_LIBS"
40063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40064 $as_echo "$am_cv_func_iconv" >&6; }
40065 if test "$am_cv_func_iconv" = yes; then
40067 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40070 if test "$am_cv_lib_iconv" = yes; then
40071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40072 $as_echo_n "checking how to link with libiconv... " >&6; }
40073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40074 $as_echo "$LIBICONV" >&6; }
40075 else
40076 CPPFLAGS="$am_save_CPPFLAGS"
40077 LIBICONV=
40078 LTLIBICONV=
40083 if test "$am_cv_func_iconv" = yes; then
40084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40085 $as_echo_n "checking for iconv declaration... " >&6; }
40086 if test "${am_cv_proto_iconv+set}" = set; then :
40087 $as_echo_n "(cached) " >&6
40088 else
40090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40091 /* end confdefs.h. */
40093 #include <stdlib.h>
40094 #include <iconv.h>
40095 extern
40096 #ifdef __cplusplus
40098 #endif
40099 #if defined(__STDC__) || defined(__cplusplus)
40100 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40101 #else
40102 size_t iconv();
40103 #endif
40106 main ()
40110 return 0;
40112 _ACEOF
40113 if ac_fn_c_try_compile "$LINENO"; then :
40114 am_cv_proto_iconv_arg1=""
40115 else
40116 am_cv_proto_iconv_arg1="const"
40118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40119 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);"
40122 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40124 }$am_cv_proto_iconv" >&5
40125 $as_echo "${ac_t:-
40126 }$am_cv_proto_iconv" >&6; }
40128 cat >>confdefs.h <<_ACEOF
40129 #define ICONV_CONST $am_cv_proto_iconv_arg1
40130 _ACEOF
40136 *-aix*)
40138 # If we're not using GNU ld, then there's no point in even trying these
40139 # tests. Check for that first. We should have already tested for gld
40140 # by now (in libtool), but require it now just to be safe...
40141 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40142 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40146 # The name set by libtool depends on the version of libtool. Shame on us
40147 # for depending on an impl detail, but c'est la vie. Older versions used
40148 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40149 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40150 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40151 # set (hence we're using an older libtool), then set it.
40152 if test x${with_gnu_ld+set} != xset; then
40153 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40154 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40155 with_gnu_ld=no
40156 else
40157 with_gnu_ld=$ac_cv_prog_gnu_ld
40161 # Start by getting the version number. I think the libtool test already
40162 # does some of this, but throws away the result.
40163 glibcxx_ld_is_gold=no
40164 if test x"$with_gnu_ld" = x"yes"; then
40165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40166 $as_echo_n "checking for ld version... " >&6; }
40168 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40169 glibcxx_ld_is_gold=yes
40171 ldver=`$LD --version 2>/dev/null |
40172 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'`
40174 glibcxx_gnu_ld_version=`echo $ldver | \
40175 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40177 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40180 # Set --gc-sections.
40181 glibcxx_have_gc_sections=no
40182 if test "$glibcxx_ld_is_gold" = "yes"; then
40183 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40184 glibcxx_have_gc_sections=yes
40186 else
40187 glibcxx_gcsections_min_ld=21602
40188 if test x"$with_gnu_ld" = x"yes" &&
40189 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40190 glibcxx_have_gc_sections=yes
40193 if test "$glibcxx_have_gc_sections" = "yes"; then
40194 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40195 # NB: This flag only works reliably after 2.16.1. Configure tests
40196 # for this are difficult, so hard wire a value that should work.
40198 ac_test_CFLAGS="${CFLAGS+set}"
40199 ac_save_CFLAGS="$CFLAGS"
40200 CFLAGS='-Wl,--gc-sections'
40202 # Check for -Wl,--gc-sections
40203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40204 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40205 if test x$gcc_no_link = xyes; then
40206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40209 /* end confdefs.h. */
40210 int one(void) { return 1; }
40211 int two(void) { return 2; }
40214 main ()
40216 two();
40218 return 0;
40220 _ACEOF
40221 if ac_fn_c_try_link "$LINENO"; then :
40222 ac_gcsections=yes
40223 else
40224 ac_gcsections=no
40226 rm -f core conftest.err conftest.$ac_objext \
40227 conftest$ac_exeext conftest.$ac_ext
40228 if test "$ac_gcsections" = "yes"; then
40229 rm -f conftest.c
40230 touch conftest.c
40231 if $CC -c conftest.c; then
40232 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40233 grep "Warning: gc-sections option ignored" > /dev/null; then
40234 ac_gcsections=no
40237 rm -f conftest.c conftest.o conftest
40239 if test "$ac_gcsections" = "yes"; then
40240 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40243 $as_echo "$ac_gcsections" >&6; }
40245 if test "$ac_test_CFLAGS" = set; then
40246 CFLAGS="$ac_save_CFLAGS"
40247 else
40248 # this is the suspicious part
40249 CFLAGS=''
40253 # Set -z,relro.
40254 # Note this is only for shared objects.
40255 ac_ld_relro=no
40256 if test x"$with_gnu_ld" = x"yes"; then
40257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40258 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40259 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40260 if test -n "$cxx_z_relo"; then
40261 OPT_LDFLAGS="-Wl,-z,relro"
40262 ac_ld_relro=yes
40264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40265 $as_echo "$ac_ld_relro" >&6; }
40268 # Set linker optimization flags.
40269 if test x"$with_gnu_ld" = x"yes"; then
40270 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40277 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40278 ac_save_CXXFLAGS="$CXXFLAGS"
40279 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40282 $as_echo_n "checking for sin in -lm... " >&6; }
40283 if test "${ac_cv_lib_m_sin+set}" = set; then :
40284 $as_echo_n "(cached) " >&6
40285 else
40286 ac_check_lib_save_LIBS=$LIBS
40287 LIBS="-lm $LIBS"
40288 if test x$gcc_no_link = xyes; then
40289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40292 /* end confdefs.h. */
40294 /* Override any GCC internal prototype to avoid an error.
40295 Use char because int might match the return type of a GCC
40296 builtin and then its argument prototype would still apply. */
40297 #ifdef __cplusplus
40298 extern "C"
40299 #endif
40300 char sin ();
40302 main ()
40304 return sin ();
40306 return 0;
40308 _ACEOF
40309 if ac_fn_c_try_link "$LINENO"; then :
40310 ac_cv_lib_m_sin=yes
40311 else
40312 ac_cv_lib_m_sin=no
40314 rm -f core conftest.err conftest.$ac_objext \
40315 conftest$ac_exeext conftest.$ac_ext
40316 LIBS=$ac_check_lib_save_LIBS
40318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40319 $as_echo "$ac_cv_lib_m_sin" >&6; }
40320 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40321 libm="-lm"
40324 ac_save_LIBS="$LIBS"
40325 LIBS="$LIBS $libm"
40329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40330 $as_echo_n "checking for isinf declaration... " >&6; }
40331 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40332 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40333 $as_echo_n "(cached) " >&6
40334 else
40337 ac_ext=cpp
40338 ac_cpp='$CXXCPP $CPPFLAGS'
40339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40344 /* end confdefs.h. */
40345 #include <math.h>
40346 #ifdef HAVE_IEEEFP_H
40347 #include <ieeefp.h>
40348 #endif
40351 main ()
40353 isinf(0);
40355 return 0;
40357 _ACEOF
40358 if ac_fn_cxx_try_compile "$LINENO"; then :
40359 glibcxx_cv_func_isinf_use=yes
40360 else
40361 glibcxx_cv_func_isinf_use=no
40363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40364 ac_ext=c
40365 ac_cpp='$CPP $CPPFLAGS'
40366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40375 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40377 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40378 for ac_func in isinf
40379 do :
40380 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40381 if test "x$ac_cv_func_isinf" = x""yes; then :
40382 cat >>confdefs.h <<_ACEOF
40383 #define HAVE_ISINF 1
40384 _ACEOF
40387 done
40389 else
40391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40392 $as_echo_n "checking for _isinf declaration... " >&6; }
40393 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40394 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40395 $as_echo_n "(cached) " >&6
40396 else
40399 ac_ext=cpp
40400 ac_cpp='$CXXCPP $CPPFLAGS'
40401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40406 /* end confdefs.h. */
40407 #include <math.h>
40408 #ifdef HAVE_IEEEFP_H
40409 #include <ieeefp.h>
40410 #endif
40413 main ()
40415 _isinf(0);
40417 return 0;
40419 _ACEOF
40420 if ac_fn_cxx_try_compile "$LINENO"; then :
40421 glibcxx_cv_func__isinf_use=yes
40422 else
40423 glibcxx_cv_func__isinf_use=no
40425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40426 ac_ext=c
40427 ac_cpp='$CPP $CPPFLAGS'
40428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40437 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40439 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40440 for ac_func in _isinf
40441 do :
40442 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40443 if test "x$ac_cv_func__isinf" = x""yes; then :
40444 cat >>confdefs.h <<_ACEOF
40445 #define HAVE__ISINF 1
40446 _ACEOF
40449 done
40458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40459 $as_echo_n "checking for isnan declaration... " >&6; }
40460 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40461 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40462 $as_echo_n "(cached) " >&6
40463 else
40466 ac_ext=cpp
40467 ac_cpp='$CXXCPP $CPPFLAGS'
40468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40473 /* end confdefs.h. */
40474 #include <math.h>
40475 #ifdef HAVE_IEEEFP_H
40476 #include <ieeefp.h>
40477 #endif
40480 main ()
40482 isnan(0);
40484 return 0;
40486 _ACEOF
40487 if ac_fn_cxx_try_compile "$LINENO"; then :
40488 glibcxx_cv_func_isnan_use=yes
40489 else
40490 glibcxx_cv_func_isnan_use=no
40492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40493 ac_ext=c
40494 ac_cpp='$CPP $CPPFLAGS'
40495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40504 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40506 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40507 for ac_func in isnan
40508 do :
40509 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40510 if test "x$ac_cv_func_isnan" = x""yes; then :
40511 cat >>confdefs.h <<_ACEOF
40512 #define HAVE_ISNAN 1
40513 _ACEOF
40516 done
40518 else
40520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40521 $as_echo_n "checking for _isnan declaration... " >&6; }
40522 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40523 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40524 $as_echo_n "(cached) " >&6
40525 else
40528 ac_ext=cpp
40529 ac_cpp='$CXXCPP $CPPFLAGS'
40530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40535 /* end confdefs.h. */
40536 #include <math.h>
40537 #ifdef HAVE_IEEEFP_H
40538 #include <ieeefp.h>
40539 #endif
40542 main ()
40544 _isnan(0);
40546 return 0;
40548 _ACEOF
40549 if ac_fn_cxx_try_compile "$LINENO"; then :
40550 glibcxx_cv_func__isnan_use=yes
40551 else
40552 glibcxx_cv_func__isnan_use=no
40554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40555 ac_ext=c
40556 ac_cpp='$CPP $CPPFLAGS'
40557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40566 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40568 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40569 for ac_func in _isnan
40570 do :
40571 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40572 if test "x$ac_cv_func__isnan" = x""yes; then :
40573 cat >>confdefs.h <<_ACEOF
40574 #define HAVE__ISNAN 1
40575 _ACEOF
40578 done
40587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40588 $as_echo_n "checking for finite declaration... " >&6; }
40589 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40590 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40591 $as_echo_n "(cached) " >&6
40592 else
40595 ac_ext=cpp
40596 ac_cpp='$CXXCPP $CPPFLAGS'
40597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40602 /* end confdefs.h. */
40603 #include <math.h>
40604 #ifdef HAVE_IEEEFP_H
40605 #include <ieeefp.h>
40606 #endif
40609 main ()
40611 finite(0);
40613 return 0;
40615 _ACEOF
40616 if ac_fn_cxx_try_compile "$LINENO"; then :
40617 glibcxx_cv_func_finite_use=yes
40618 else
40619 glibcxx_cv_func_finite_use=no
40621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40622 ac_ext=c
40623 ac_cpp='$CPP $CPPFLAGS'
40624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40633 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40635 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40636 for ac_func in finite
40637 do :
40638 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40639 if test "x$ac_cv_func_finite" = x""yes; then :
40640 cat >>confdefs.h <<_ACEOF
40641 #define HAVE_FINITE 1
40642 _ACEOF
40645 done
40647 else
40649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40650 $as_echo_n "checking for _finite declaration... " >&6; }
40651 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40652 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40653 $as_echo_n "(cached) " >&6
40654 else
40657 ac_ext=cpp
40658 ac_cpp='$CXXCPP $CPPFLAGS'
40659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40664 /* end confdefs.h. */
40665 #include <math.h>
40666 #ifdef HAVE_IEEEFP_H
40667 #include <ieeefp.h>
40668 #endif
40671 main ()
40673 _finite(0);
40675 return 0;
40677 _ACEOF
40678 if ac_fn_cxx_try_compile "$LINENO"; then :
40679 glibcxx_cv_func__finite_use=yes
40680 else
40681 glibcxx_cv_func__finite_use=no
40683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40684 ac_ext=c
40685 ac_cpp='$CPP $CPPFLAGS'
40686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40695 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40697 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40698 for ac_func in _finite
40699 do :
40700 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40701 if test "x$ac_cv_func__finite" = x""yes; then :
40702 cat >>confdefs.h <<_ACEOF
40703 #define HAVE__FINITE 1
40704 _ACEOF
40707 done
40716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40717 $as_echo_n "checking for sincos declaration... " >&6; }
40718 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40719 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40720 $as_echo_n "(cached) " >&6
40721 else
40724 ac_ext=cpp
40725 ac_cpp='$CXXCPP $CPPFLAGS'
40726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40731 /* end confdefs.h. */
40732 #include <math.h>
40734 main ()
40736 sincos(0, 0, 0);
40738 return 0;
40740 _ACEOF
40741 if ac_fn_cxx_try_compile "$LINENO"; then :
40742 glibcxx_cv_func_sincos_use=yes
40743 else
40744 glibcxx_cv_func_sincos_use=no
40746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40747 ac_ext=c
40748 ac_cpp='$CPP $CPPFLAGS'
40749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40758 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40760 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40761 for ac_func in sincos
40762 do :
40763 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40764 if test "x$ac_cv_func_sincos" = x""yes; then :
40765 cat >>confdefs.h <<_ACEOF
40766 #define HAVE_SINCOS 1
40767 _ACEOF
40770 done
40772 else
40774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40775 $as_echo_n "checking for _sincos declaration... " >&6; }
40776 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40777 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40778 $as_echo_n "(cached) " >&6
40779 else
40782 ac_ext=cpp
40783 ac_cpp='$CXXCPP $CPPFLAGS'
40784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40789 /* end confdefs.h. */
40790 #include <math.h>
40792 main ()
40794 _sincos(0, 0, 0);
40796 return 0;
40798 _ACEOF
40799 if ac_fn_cxx_try_compile "$LINENO"; then :
40800 glibcxx_cv_func__sincos_use=yes
40801 else
40802 glibcxx_cv_func__sincos_use=no
40804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40805 ac_ext=c
40806 ac_cpp='$CPP $CPPFLAGS'
40807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40816 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40818 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40819 for ac_func in _sincos
40820 do :
40821 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40822 if test "x$ac_cv_func__sincos" = x""yes; then :
40823 cat >>confdefs.h <<_ACEOF
40824 #define HAVE__SINCOS 1
40825 _ACEOF
40828 done
40837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40838 $as_echo_n "checking for fpclass declaration... " >&6; }
40839 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40840 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40841 $as_echo_n "(cached) " >&6
40842 else
40845 ac_ext=cpp
40846 ac_cpp='$CXXCPP $CPPFLAGS'
40847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40852 /* end confdefs.h. */
40853 #include <math.h>
40854 #ifdef HAVE_IEEEFP_H
40855 #include <ieeefp.h>
40856 #endif
40859 main ()
40861 fpclass(0);
40863 return 0;
40865 _ACEOF
40866 if ac_fn_cxx_try_compile "$LINENO"; then :
40867 glibcxx_cv_func_fpclass_use=yes
40868 else
40869 glibcxx_cv_func_fpclass_use=no
40871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40872 ac_ext=c
40873 ac_cpp='$CPP $CPPFLAGS'
40874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40883 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40885 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40886 for ac_func in fpclass
40887 do :
40888 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40889 if test "x$ac_cv_func_fpclass" = x""yes; then :
40890 cat >>confdefs.h <<_ACEOF
40891 #define HAVE_FPCLASS 1
40892 _ACEOF
40895 done
40897 else
40899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40900 $as_echo_n "checking for _fpclass declaration... " >&6; }
40901 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40902 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40903 $as_echo_n "(cached) " >&6
40904 else
40907 ac_ext=cpp
40908 ac_cpp='$CXXCPP $CPPFLAGS'
40909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40914 /* end confdefs.h. */
40915 #include <math.h>
40916 #ifdef HAVE_IEEEFP_H
40917 #include <ieeefp.h>
40918 #endif
40921 main ()
40923 _fpclass(0);
40925 return 0;
40927 _ACEOF
40928 if ac_fn_cxx_try_compile "$LINENO"; then :
40929 glibcxx_cv_func__fpclass_use=yes
40930 else
40931 glibcxx_cv_func__fpclass_use=no
40933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40934 ac_ext=c
40935 ac_cpp='$CPP $CPPFLAGS'
40936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40945 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40947 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40948 for ac_func in _fpclass
40949 do :
40950 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40951 if test "x$ac_cv_func__fpclass" = x""yes; then :
40952 cat >>confdefs.h <<_ACEOF
40953 #define HAVE__FPCLASS 1
40954 _ACEOF
40957 done
40966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40967 $as_echo_n "checking for qfpclass declaration... " >&6; }
40968 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40969 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40970 $as_echo_n "(cached) " >&6
40971 else
40974 ac_ext=cpp
40975 ac_cpp='$CXXCPP $CPPFLAGS'
40976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40981 /* end confdefs.h. */
40982 #include <math.h>
40983 #ifdef HAVE_IEEEFP_H
40984 #include <ieeefp.h>
40985 #endif
40988 main ()
40990 qfpclass(0);
40992 return 0;
40994 _ACEOF
40995 if ac_fn_cxx_try_compile "$LINENO"; then :
40996 glibcxx_cv_func_qfpclass_use=yes
40997 else
40998 glibcxx_cv_func_qfpclass_use=no
41000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41001 ac_ext=c
41002 ac_cpp='$CPP $CPPFLAGS'
41003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41012 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41014 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41015 for ac_func in qfpclass
41016 do :
41017 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41018 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41019 cat >>confdefs.h <<_ACEOF
41020 #define HAVE_QFPCLASS 1
41021 _ACEOF
41024 done
41026 else
41028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41029 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41030 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41031 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41032 $as_echo_n "(cached) " >&6
41033 else
41036 ac_ext=cpp
41037 ac_cpp='$CXXCPP $CPPFLAGS'
41038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41043 /* end confdefs.h. */
41044 #include <math.h>
41045 #ifdef HAVE_IEEEFP_H
41046 #include <ieeefp.h>
41047 #endif
41050 main ()
41052 _qfpclass(0);
41054 return 0;
41056 _ACEOF
41057 if ac_fn_cxx_try_compile "$LINENO"; then :
41058 glibcxx_cv_func__qfpclass_use=yes
41059 else
41060 glibcxx_cv_func__qfpclass_use=no
41062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41063 ac_ext=c
41064 ac_cpp='$CPP $CPPFLAGS'
41065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41074 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41076 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41077 for ac_func in _qfpclass
41078 do :
41079 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41080 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41081 cat >>confdefs.h <<_ACEOF
41082 #define HAVE__QFPCLASS 1
41083 _ACEOF
41086 done
41095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41096 $as_echo_n "checking for hypot declaration... " >&6; }
41097 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41098 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41099 $as_echo_n "(cached) " >&6
41100 else
41103 ac_ext=cpp
41104 ac_cpp='$CXXCPP $CPPFLAGS'
41105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41110 /* end confdefs.h. */
41111 #include <math.h>
41113 main ()
41115 hypot(0, 0);
41117 return 0;
41119 _ACEOF
41120 if ac_fn_cxx_try_compile "$LINENO"; then :
41121 glibcxx_cv_func_hypot_use=yes
41122 else
41123 glibcxx_cv_func_hypot_use=no
41125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41126 ac_ext=c
41127 ac_cpp='$CPP $CPPFLAGS'
41128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41137 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41139 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41140 for ac_func in hypot
41141 do :
41142 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41143 if test "x$ac_cv_func_hypot" = x""yes; then :
41144 cat >>confdefs.h <<_ACEOF
41145 #define HAVE_HYPOT 1
41146 _ACEOF
41149 done
41151 else
41153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41154 $as_echo_n "checking for _hypot declaration... " >&6; }
41155 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41156 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41157 $as_echo_n "(cached) " >&6
41158 else
41161 ac_ext=cpp
41162 ac_cpp='$CXXCPP $CPPFLAGS'
41163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41168 /* end confdefs.h. */
41169 #include <math.h>
41171 main ()
41173 _hypot(0, 0);
41175 return 0;
41177 _ACEOF
41178 if ac_fn_cxx_try_compile "$LINENO"; then :
41179 glibcxx_cv_func__hypot_use=yes
41180 else
41181 glibcxx_cv_func__hypot_use=no
41183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41184 ac_ext=c
41185 ac_cpp='$CPP $CPPFLAGS'
41186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41195 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41197 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41198 for ac_func in _hypot
41199 do :
41200 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41201 if test "x$ac_cv_func__hypot" = x""yes; then :
41202 cat >>confdefs.h <<_ACEOF
41203 #define HAVE__HYPOT 1
41204 _ACEOF
41207 done
41216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41217 $as_echo_n "checking for float trig functions... " >&6; }
41218 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41219 $as_echo_n "(cached) " >&6
41220 else
41223 ac_ext=cpp
41224 ac_cpp='$CXXCPP $CPPFLAGS'
41225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41230 /* end confdefs.h. */
41231 #include <math.h>
41233 main ()
41235 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41237 return 0;
41239 _ACEOF
41240 if ac_fn_cxx_try_compile "$LINENO"; then :
41241 glibcxx_cv_func_float_trig_use=yes
41242 else
41243 glibcxx_cv_func_float_trig_use=no
41245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41246 ac_ext=c
41247 ac_cpp='$CPP $CPPFLAGS'
41248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41255 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41256 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41257 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41258 do :
41259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41261 eval as_val=\$$as_ac_var
41262 if test "x$as_val" = x""yes; then :
41263 cat >>confdefs.h <<_ACEOF
41264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41265 _ACEOF
41268 done
41270 else
41271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41272 $as_echo_n "checking for _float trig functions... " >&6; }
41273 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41274 $as_echo_n "(cached) " >&6
41275 else
41278 ac_ext=cpp
41279 ac_cpp='$CXXCPP $CPPFLAGS'
41280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41285 /* end confdefs.h. */
41286 #include <math.h>
41288 main ()
41290 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41292 return 0;
41294 _ACEOF
41295 if ac_fn_cxx_try_compile "$LINENO"; then :
41296 glibcxx_cv_func__float_trig_use=yes
41297 else
41298 glibcxx_cv_func__float_trig_use=no
41300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41301 ac_ext=c
41302 ac_cpp='$CPP $CPPFLAGS'
41303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41310 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41311 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41312 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41313 do :
41314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41316 eval as_val=\$$as_ac_var
41317 if test "x$as_val" = x""yes; then :
41318 cat >>confdefs.h <<_ACEOF
41319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41320 _ACEOF
41323 done
41332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41333 $as_echo_n "checking for float round functions... " >&6; }
41334 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41335 $as_echo_n "(cached) " >&6
41336 else
41339 ac_ext=cpp
41340 ac_cpp='$CXXCPP $CPPFLAGS'
41341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41346 /* end confdefs.h. */
41347 #include <math.h>
41349 main ()
41351 ceilf (0); floorf (0);
41353 return 0;
41355 _ACEOF
41356 if ac_fn_cxx_try_compile "$LINENO"; then :
41357 glibcxx_cv_func_float_round_use=yes
41358 else
41359 glibcxx_cv_func_float_round_use=no
41361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41362 ac_ext=c
41363 ac_cpp='$CPP $CPPFLAGS'
41364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41371 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41372 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41373 for ac_func in ceilf floorf
41374 do :
41375 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41376 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41377 eval as_val=\$$as_ac_var
41378 if test "x$as_val" = x""yes; then :
41379 cat >>confdefs.h <<_ACEOF
41380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41381 _ACEOF
41384 done
41386 else
41387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41388 $as_echo_n "checking for _float round functions... " >&6; }
41389 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41390 $as_echo_n "(cached) " >&6
41391 else
41394 ac_ext=cpp
41395 ac_cpp='$CXXCPP $CPPFLAGS'
41396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41401 /* end confdefs.h. */
41402 #include <math.h>
41404 main ()
41406 _ceilf (0); _floorf (0);
41408 return 0;
41410 _ACEOF
41411 if ac_fn_cxx_try_compile "$LINENO"; then :
41412 glibcxx_cv_func__float_round_use=yes
41413 else
41414 glibcxx_cv_func__float_round_use=no
41416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41417 ac_ext=c
41418 ac_cpp='$CPP $CPPFLAGS'
41419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41426 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41427 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41428 for ac_func in _ceilf _floorf
41429 do :
41430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41432 eval as_val=\$$as_ac_var
41433 if test "x$as_val" = x""yes; then :
41434 cat >>confdefs.h <<_ACEOF
41435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41436 _ACEOF
41439 done
41449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41450 $as_echo_n "checking for expf declaration... " >&6; }
41451 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41452 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41453 $as_echo_n "(cached) " >&6
41454 else
41457 ac_ext=cpp
41458 ac_cpp='$CXXCPP $CPPFLAGS'
41459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41464 /* end confdefs.h. */
41465 #include <math.h>
41466 #ifdef HAVE_IEEEFP_H
41467 #include <ieeefp.h>
41468 #endif
41471 main ()
41473 expf(0);
41475 return 0;
41477 _ACEOF
41478 if ac_fn_cxx_try_compile "$LINENO"; then :
41479 glibcxx_cv_func_expf_use=yes
41480 else
41481 glibcxx_cv_func_expf_use=no
41483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41484 ac_ext=c
41485 ac_cpp='$CPP $CPPFLAGS'
41486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41495 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41497 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41498 for ac_func in expf
41499 do :
41500 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41501 if test "x$ac_cv_func_expf" = x""yes; then :
41502 cat >>confdefs.h <<_ACEOF
41503 #define HAVE_EXPF 1
41504 _ACEOF
41507 done
41509 else
41511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41512 $as_echo_n "checking for _expf declaration... " >&6; }
41513 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41514 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41515 $as_echo_n "(cached) " >&6
41516 else
41519 ac_ext=cpp
41520 ac_cpp='$CXXCPP $CPPFLAGS'
41521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41526 /* end confdefs.h. */
41527 #include <math.h>
41528 #ifdef HAVE_IEEEFP_H
41529 #include <ieeefp.h>
41530 #endif
41533 main ()
41535 _expf(0);
41537 return 0;
41539 _ACEOF
41540 if ac_fn_cxx_try_compile "$LINENO"; then :
41541 glibcxx_cv_func__expf_use=yes
41542 else
41543 glibcxx_cv_func__expf_use=no
41545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41546 ac_ext=c
41547 ac_cpp='$CPP $CPPFLAGS'
41548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41557 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41559 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41560 for ac_func in _expf
41561 do :
41562 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41563 if test "x$ac_cv_func__expf" = x""yes; then :
41564 cat >>confdefs.h <<_ACEOF
41565 #define HAVE__EXPF 1
41566 _ACEOF
41569 done
41578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41579 $as_echo_n "checking for isnanf declaration... " >&6; }
41580 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41581 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41582 $as_echo_n "(cached) " >&6
41583 else
41586 ac_ext=cpp
41587 ac_cpp='$CXXCPP $CPPFLAGS'
41588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41593 /* end confdefs.h. */
41594 #include <math.h>
41595 #ifdef HAVE_IEEEFP_H
41596 #include <ieeefp.h>
41597 #endif
41600 main ()
41602 isnanf(0);
41604 return 0;
41606 _ACEOF
41607 if ac_fn_cxx_try_compile "$LINENO"; then :
41608 glibcxx_cv_func_isnanf_use=yes
41609 else
41610 glibcxx_cv_func_isnanf_use=no
41612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41613 ac_ext=c
41614 ac_cpp='$CPP $CPPFLAGS'
41615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41624 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41626 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41627 for ac_func in isnanf
41628 do :
41629 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41630 if test "x$ac_cv_func_isnanf" = x""yes; then :
41631 cat >>confdefs.h <<_ACEOF
41632 #define HAVE_ISNANF 1
41633 _ACEOF
41636 done
41638 else
41640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41641 $as_echo_n "checking for _isnanf declaration... " >&6; }
41642 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41643 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41644 $as_echo_n "(cached) " >&6
41645 else
41648 ac_ext=cpp
41649 ac_cpp='$CXXCPP $CPPFLAGS'
41650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41655 /* end confdefs.h. */
41656 #include <math.h>
41657 #ifdef HAVE_IEEEFP_H
41658 #include <ieeefp.h>
41659 #endif
41662 main ()
41664 _isnanf(0);
41666 return 0;
41668 _ACEOF
41669 if ac_fn_cxx_try_compile "$LINENO"; then :
41670 glibcxx_cv_func__isnanf_use=yes
41671 else
41672 glibcxx_cv_func__isnanf_use=no
41674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41675 ac_ext=c
41676 ac_cpp='$CPP $CPPFLAGS'
41677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41686 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41688 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41689 for ac_func in _isnanf
41690 do :
41691 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41692 if test "x$ac_cv_func__isnanf" = x""yes; then :
41693 cat >>confdefs.h <<_ACEOF
41694 #define HAVE__ISNANF 1
41695 _ACEOF
41698 done
41707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41708 $as_echo_n "checking for isinff declaration... " >&6; }
41709 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41710 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41711 $as_echo_n "(cached) " >&6
41712 else
41715 ac_ext=cpp
41716 ac_cpp='$CXXCPP $CPPFLAGS'
41717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41722 /* end confdefs.h. */
41723 #include <math.h>
41724 #ifdef HAVE_IEEEFP_H
41725 #include <ieeefp.h>
41726 #endif
41729 main ()
41731 isinff(0);
41733 return 0;
41735 _ACEOF
41736 if ac_fn_cxx_try_compile "$LINENO"; then :
41737 glibcxx_cv_func_isinff_use=yes
41738 else
41739 glibcxx_cv_func_isinff_use=no
41741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41742 ac_ext=c
41743 ac_cpp='$CPP $CPPFLAGS'
41744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41753 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41755 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41756 for ac_func in isinff
41757 do :
41758 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41759 if test "x$ac_cv_func_isinff" = x""yes; then :
41760 cat >>confdefs.h <<_ACEOF
41761 #define HAVE_ISINFF 1
41762 _ACEOF
41765 done
41767 else
41769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41770 $as_echo_n "checking for _isinff declaration... " >&6; }
41771 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41772 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41773 $as_echo_n "(cached) " >&6
41774 else
41777 ac_ext=cpp
41778 ac_cpp='$CXXCPP $CPPFLAGS'
41779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41784 /* end confdefs.h. */
41785 #include <math.h>
41786 #ifdef HAVE_IEEEFP_H
41787 #include <ieeefp.h>
41788 #endif
41791 main ()
41793 _isinff(0);
41795 return 0;
41797 _ACEOF
41798 if ac_fn_cxx_try_compile "$LINENO"; then :
41799 glibcxx_cv_func__isinff_use=yes
41800 else
41801 glibcxx_cv_func__isinff_use=no
41803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41804 ac_ext=c
41805 ac_cpp='$CPP $CPPFLAGS'
41806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41815 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41817 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41818 for ac_func in _isinff
41819 do :
41820 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41821 if test "x$ac_cv_func__isinff" = x""yes; then :
41822 cat >>confdefs.h <<_ACEOF
41823 #define HAVE__ISINFF 1
41824 _ACEOF
41827 done
41836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41837 $as_echo_n "checking for atan2f declaration... " >&6; }
41838 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41839 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41840 $as_echo_n "(cached) " >&6
41841 else
41844 ac_ext=cpp
41845 ac_cpp='$CXXCPP $CPPFLAGS'
41846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41851 /* end confdefs.h. */
41852 #include <math.h>
41854 main ()
41856 atan2f(0, 0);
41858 return 0;
41860 _ACEOF
41861 if ac_fn_cxx_try_compile "$LINENO"; then :
41862 glibcxx_cv_func_atan2f_use=yes
41863 else
41864 glibcxx_cv_func_atan2f_use=no
41866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41867 ac_ext=c
41868 ac_cpp='$CPP $CPPFLAGS'
41869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41878 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41880 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41881 for ac_func in atan2f
41882 do :
41883 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41884 if test "x$ac_cv_func_atan2f" = x""yes; then :
41885 cat >>confdefs.h <<_ACEOF
41886 #define HAVE_ATAN2F 1
41887 _ACEOF
41890 done
41892 else
41894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41895 $as_echo_n "checking for _atan2f declaration... " >&6; }
41896 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41897 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41898 $as_echo_n "(cached) " >&6
41899 else
41902 ac_ext=cpp
41903 ac_cpp='$CXXCPP $CPPFLAGS'
41904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41909 /* end confdefs.h. */
41910 #include <math.h>
41912 main ()
41914 _atan2f(0, 0);
41916 return 0;
41918 _ACEOF
41919 if ac_fn_cxx_try_compile "$LINENO"; then :
41920 glibcxx_cv_func__atan2f_use=yes
41921 else
41922 glibcxx_cv_func__atan2f_use=no
41924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41925 ac_ext=c
41926 ac_cpp='$CPP $CPPFLAGS'
41927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41936 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41938 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41939 for ac_func in _atan2f
41940 do :
41941 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41942 if test "x$ac_cv_func__atan2f" = x""yes; then :
41943 cat >>confdefs.h <<_ACEOF
41944 #define HAVE__ATAN2F 1
41945 _ACEOF
41948 done
41957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41958 $as_echo_n "checking for fabsf declaration... " >&6; }
41959 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41960 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41961 $as_echo_n "(cached) " >&6
41962 else
41965 ac_ext=cpp
41966 ac_cpp='$CXXCPP $CPPFLAGS'
41967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41972 /* end confdefs.h. */
41973 #include <math.h>
41974 #ifdef HAVE_IEEEFP_H
41975 #include <ieeefp.h>
41976 #endif
41979 main ()
41981 fabsf(0);
41983 return 0;
41985 _ACEOF
41986 if ac_fn_cxx_try_compile "$LINENO"; then :
41987 glibcxx_cv_func_fabsf_use=yes
41988 else
41989 glibcxx_cv_func_fabsf_use=no
41991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41992 ac_ext=c
41993 ac_cpp='$CPP $CPPFLAGS'
41994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42003 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42005 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42006 for ac_func in fabsf
42007 do :
42008 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42009 if test "x$ac_cv_func_fabsf" = x""yes; then :
42010 cat >>confdefs.h <<_ACEOF
42011 #define HAVE_FABSF 1
42012 _ACEOF
42015 done
42017 else
42019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42020 $as_echo_n "checking for _fabsf declaration... " >&6; }
42021 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42022 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42023 $as_echo_n "(cached) " >&6
42024 else
42027 ac_ext=cpp
42028 ac_cpp='$CXXCPP $CPPFLAGS'
42029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42034 /* end confdefs.h. */
42035 #include <math.h>
42036 #ifdef HAVE_IEEEFP_H
42037 #include <ieeefp.h>
42038 #endif
42041 main ()
42043 _fabsf(0);
42045 return 0;
42047 _ACEOF
42048 if ac_fn_cxx_try_compile "$LINENO"; then :
42049 glibcxx_cv_func__fabsf_use=yes
42050 else
42051 glibcxx_cv_func__fabsf_use=no
42053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42054 ac_ext=c
42055 ac_cpp='$CPP $CPPFLAGS'
42056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42065 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42067 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42068 for ac_func in _fabsf
42069 do :
42070 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42071 if test "x$ac_cv_func__fabsf" = x""yes; then :
42072 cat >>confdefs.h <<_ACEOF
42073 #define HAVE__FABSF 1
42074 _ACEOF
42077 done
42086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42087 $as_echo_n "checking for fmodf declaration... " >&6; }
42088 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42089 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42090 $as_echo_n "(cached) " >&6
42091 else
42094 ac_ext=cpp
42095 ac_cpp='$CXXCPP $CPPFLAGS'
42096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42101 /* end confdefs.h. */
42102 #include <math.h>
42104 main ()
42106 fmodf(0, 0);
42108 return 0;
42110 _ACEOF
42111 if ac_fn_cxx_try_compile "$LINENO"; then :
42112 glibcxx_cv_func_fmodf_use=yes
42113 else
42114 glibcxx_cv_func_fmodf_use=no
42116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42117 ac_ext=c
42118 ac_cpp='$CPP $CPPFLAGS'
42119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42128 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42130 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42131 for ac_func in fmodf
42132 do :
42133 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42134 if test "x$ac_cv_func_fmodf" = x""yes; then :
42135 cat >>confdefs.h <<_ACEOF
42136 #define HAVE_FMODF 1
42137 _ACEOF
42140 done
42142 else
42144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42145 $as_echo_n "checking for _fmodf declaration... " >&6; }
42146 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42147 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42148 $as_echo_n "(cached) " >&6
42149 else
42152 ac_ext=cpp
42153 ac_cpp='$CXXCPP $CPPFLAGS'
42154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42159 /* end confdefs.h. */
42160 #include <math.h>
42162 main ()
42164 _fmodf(0, 0);
42166 return 0;
42168 _ACEOF
42169 if ac_fn_cxx_try_compile "$LINENO"; then :
42170 glibcxx_cv_func__fmodf_use=yes
42171 else
42172 glibcxx_cv_func__fmodf_use=no
42174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42175 ac_ext=c
42176 ac_cpp='$CPP $CPPFLAGS'
42177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42186 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42188 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42189 for ac_func in _fmodf
42190 do :
42191 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42192 if test "x$ac_cv_func__fmodf" = x""yes; then :
42193 cat >>confdefs.h <<_ACEOF
42194 #define HAVE__FMODF 1
42195 _ACEOF
42198 done
42207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42208 $as_echo_n "checking for frexpf declaration... " >&6; }
42209 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42210 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42211 $as_echo_n "(cached) " >&6
42212 else
42215 ac_ext=cpp
42216 ac_cpp='$CXXCPP $CPPFLAGS'
42217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42222 /* end confdefs.h. */
42223 #include <math.h>
42225 main ()
42227 frexpf(0, 0);
42229 return 0;
42231 _ACEOF
42232 if ac_fn_cxx_try_compile "$LINENO"; then :
42233 glibcxx_cv_func_frexpf_use=yes
42234 else
42235 glibcxx_cv_func_frexpf_use=no
42237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42238 ac_ext=c
42239 ac_cpp='$CPP $CPPFLAGS'
42240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42249 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42251 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42252 for ac_func in frexpf
42253 do :
42254 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42255 if test "x$ac_cv_func_frexpf" = x""yes; then :
42256 cat >>confdefs.h <<_ACEOF
42257 #define HAVE_FREXPF 1
42258 _ACEOF
42261 done
42263 else
42265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42266 $as_echo_n "checking for _frexpf declaration... " >&6; }
42267 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42268 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42269 $as_echo_n "(cached) " >&6
42270 else
42273 ac_ext=cpp
42274 ac_cpp='$CXXCPP $CPPFLAGS'
42275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42280 /* end confdefs.h. */
42281 #include <math.h>
42283 main ()
42285 _frexpf(0, 0);
42287 return 0;
42289 _ACEOF
42290 if ac_fn_cxx_try_compile "$LINENO"; then :
42291 glibcxx_cv_func__frexpf_use=yes
42292 else
42293 glibcxx_cv_func__frexpf_use=no
42295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42296 ac_ext=c
42297 ac_cpp='$CPP $CPPFLAGS'
42298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42307 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42309 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42310 for ac_func in _frexpf
42311 do :
42312 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42313 if test "x$ac_cv_func__frexpf" = x""yes; then :
42314 cat >>confdefs.h <<_ACEOF
42315 #define HAVE__FREXPF 1
42316 _ACEOF
42319 done
42328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42329 $as_echo_n "checking for hypotf declaration... " >&6; }
42330 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42331 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42332 $as_echo_n "(cached) " >&6
42333 else
42336 ac_ext=cpp
42337 ac_cpp='$CXXCPP $CPPFLAGS'
42338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42343 /* end confdefs.h. */
42344 #include <math.h>
42346 main ()
42348 hypotf(0, 0);
42350 return 0;
42352 _ACEOF
42353 if ac_fn_cxx_try_compile "$LINENO"; then :
42354 glibcxx_cv_func_hypotf_use=yes
42355 else
42356 glibcxx_cv_func_hypotf_use=no
42358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42359 ac_ext=c
42360 ac_cpp='$CPP $CPPFLAGS'
42361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42370 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42372 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42373 for ac_func in hypotf
42374 do :
42375 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42376 if test "x$ac_cv_func_hypotf" = x""yes; then :
42377 cat >>confdefs.h <<_ACEOF
42378 #define HAVE_HYPOTF 1
42379 _ACEOF
42382 done
42384 else
42386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42387 $as_echo_n "checking for _hypotf declaration... " >&6; }
42388 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42389 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42390 $as_echo_n "(cached) " >&6
42391 else
42394 ac_ext=cpp
42395 ac_cpp='$CXXCPP $CPPFLAGS'
42396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42401 /* end confdefs.h. */
42402 #include <math.h>
42404 main ()
42406 _hypotf(0, 0);
42408 return 0;
42410 _ACEOF
42411 if ac_fn_cxx_try_compile "$LINENO"; then :
42412 glibcxx_cv_func__hypotf_use=yes
42413 else
42414 glibcxx_cv_func__hypotf_use=no
42416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42417 ac_ext=c
42418 ac_cpp='$CPP $CPPFLAGS'
42419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42428 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42430 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42431 for ac_func in _hypotf
42432 do :
42433 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42434 if test "x$ac_cv_func__hypotf" = x""yes; then :
42435 cat >>confdefs.h <<_ACEOF
42436 #define HAVE__HYPOTF 1
42437 _ACEOF
42440 done
42449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42450 $as_echo_n "checking for ldexpf declaration... " >&6; }
42451 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42452 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42453 $as_echo_n "(cached) " >&6
42454 else
42457 ac_ext=cpp
42458 ac_cpp='$CXXCPP $CPPFLAGS'
42459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42464 /* end confdefs.h. */
42465 #include <math.h>
42467 main ()
42469 ldexpf(0, 0);
42471 return 0;
42473 _ACEOF
42474 if ac_fn_cxx_try_compile "$LINENO"; then :
42475 glibcxx_cv_func_ldexpf_use=yes
42476 else
42477 glibcxx_cv_func_ldexpf_use=no
42479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42480 ac_ext=c
42481 ac_cpp='$CPP $CPPFLAGS'
42482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42491 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42493 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42494 for ac_func in ldexpf
42495 do :
42496 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42497 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42498 cat >>confdefs.h <<_ACEOF
42499 #define HAVE_LDEXPF 1
42500 _ACEOF
42503 done
42505 else
42507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42508 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42509 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42510 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42511 $as_echo_n "(cached) " >&6
42512 else
42515 ac_ext=cpp
42516 ac_cpp='$CXXCPP $CPPFLAGS'
42517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42522 /* end confdefs.h. */
42523 #include <math.h>
42525 main ()
42527 _ldexpf(0, 0);
42529 return 0;
42531 _ACEOF
42532 if ac_fn_cxx_try_compile "$LINENO"; then :
42533 glibcxx_cv_func__ldexpf_use=yes
42534 else
42535 glibcxx_cv_func__ldexpf_use=no
42537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42538 ac_ext=c
42539 ac_cpp='$CPP $CPPFLAGS'
42540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42549 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42551 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42552 for ac_func in _ldexpf
42553 do :
42554 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42555 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42556 cat >>confdefs.h <<_ACEOF
42557 #define HAVE__LDEXPF 1
42558 _ACEOF
42561 done
42570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42571 $as_echo_n "checking for logf declaration... " >&6; }
42572 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42573 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42574 $as_echo_n "(cached) " >&6
42575 else
42578 ac_ext=cpp
42579 ac_cpp='$CXXCPP $CPPFLAGS'
42580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42585 /* end confdefs.h. */
42586 #include <math.h>
42587 #ifdef HAVE_IEEEFP_H
42588 #include <ieeefp.h>
42589 #endif
42592 main ()
42594 logf(0);
42596 return 0;
42598 _ACEOF
42599 if ac_fn_cxx_try_compile "$LINENO"; then :
42600 glibcxx_cv_func_logf_use=yes
42601 else
42602 glibcxx_cv_func_logf_use=no
42604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42605 ac_ext=c
42606 ac_cpp='$CPP $CPPFLAGS'
42607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42616 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42618 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42619 for ac_func in logf
42620 do :
42621 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42622 if test "x$ac_cv_func_logf" = x""yes; then :
42623 cat >>confdefs.h <<_ACEOF
42624 #define HAVE_LOGF 1
42625 _ACEOF
42628 done
42630 else
42632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42633 $as_echo_n "checking for _logf declaration... " >&6; }
42634 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42635 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42636 $as_echo_n "(cached) " >&6
42637 else
42640 ac_ext=cpp
42641 ac_cpp='$CXXCPP $CPPFLAGS'
42642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42647 /* end confdefs.h. */
42648 #include <math.h>
42649 #ifdef HAVE_IEEEFP_H
42650 #include <ieeefp.h>
42651 #endif
42654 main ()
42656 _logf(0);
42658 return 0;
42660 _ACEOF
42661 if ac_fn_cxx_try_compile "$LINENO"; then :
42662 glibcxx_cv_func__logf_use=yes
42663 else
42664 glibcxx_cv_func__logf_use=no
42666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42667 ac_ext=c
42668 ac_cpp='$CPP $CPPFLAGS'
42669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42678 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42680 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42681 for ac_func in _logf
42682 do :
42683 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42684 if test "x$ac_cv_func__logf" = x""yes; then :
42685 cat >>confdefs.h <<_ACEOF
42686 #define HAVE__LOGF 1
42687 _ACEOF
42690 done
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42700 $as_echo_n "checking for log10f declaration... " >&6; }
42701 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42702 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42703 $as_echo_n "(cached) " >&6
42704 else
42707 ac_ext=cpp
42708 ac_cpp='$CXXCPP $CPPFLAGS'
42709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42714 /* end confdefs.h. */
42715 #include <math.h>
42716 #ifdef HAVE_IEEEFP_H
42717 #include <ieeefp.h>
42718 #endif
42721 main ()
42723 log10f(0);
42725 return 0;
42727 _ACEOF
42728 if ac_fn_cxx_try_compile "$LINENO"; then :
42729 glibcxx_cv_func_log10f_use=yes
42730 else
42731 glibcxx_cv_func_log10f_use=no
42733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42734 ac_ext=c
42735 ac_cpp='$CPP $CPPFLAGS'
42736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42745 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42747 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42748 for ac_func in log10f
42749 do :
42750 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42751 if test "x$ac_cv_func_log10f" = x""yes; then :
42752 cat >>confdefs.h <<_ACEOF
42753 #define HAVE_LOG10F 1
42754 _ACEOF
42757 done
42759 else
42761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42762 $as_echo_n "checking for _log10f declaration... " >&6; }
42763 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42764 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42765 $as_echo_n "(cached) " >&6
42766 else
42769 ac_ext=cpp
42770 ac_cpp='$CXXCPP $CPPFLAGS'
42771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42776 /* end confdefs.h. */
42777 #include <math.h>
42778 #ifdef HAVE_IEEEFP_H
42779 #include <ieeefp.h>
42780 #endif
42783 main ()
42785 _log10f(0);
42787 return 0;
42789 _ACEOF
42790 if ac_fn_cxx_try_compile "$LINENO"; then :
42791 glibcxx_cv_func__log10f_use=yes
42792 else
42793 glibcxx_cv_func__log10f_use=no
42795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42796 ac_ext=c
42797 ac_cpp='$CPP $CPPFLAGS'
42798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42807 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42809 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42810 for ac_func in _log10f
42811 do :
42812 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42813 if test "x$ac_cv_func__log10f" = x""yes; then :
42814 cat >>confdefs.h <<_ACEOF
42815 #define HAVE__LOG10F 1
42816 _ACEOF
42819 done
42828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42829 $as_echo_n "checking for modff declaration... " >&6; }
42830 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42831 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42832 $as_echo_n "(cached) " >&6
42833 else
42836 ac_ext=cpp
42837 ac_cpp='$CXXCPP $CPPFLAGS'
42838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42843 /* end confdefs.h. */
42844 #include <math.h>
42846 main ()
42848 modff(0, 0);
42850 return 0;
42852 _ACEOF
42853 if ac_fn_cxx_try_compile "$LINENO"; then :
42854 glibcxx_cv_func_modff_use=yes
42855 else
42856 glibcxx_cv_func_modff_use=no
42858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42859 ac_ext=c
42860 ac_cpp='$CPP $CPPFLAGS'
42861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42870 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42872 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42873 for ac_func in modff
42874 do :
42875 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42876 if test "x$ac_cv_func_modff" = x""yes; then :
42877 cat >>confdefs.h <<_ACEOF
42878 #define HAVE_MODFF 1
42879 _ACEOF
42882 done
42884 else
42886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42887 $as_echo_n "checking for _modff declaration... " >&6; }
42888 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42889 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42890 $as_echo_n "(cached) " >&6
42891 else
42894 ac_ext=cpp
42895 ac_cpp='$CXXCPP $CPPFLAGS'
42896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42901 /* end confdefs.h. */
42902 #include <math.h>
42904 main ()
42906 _modff(0, 0);
42908 return 0;
42910 _ACEOF
42911 if ac_fn_cxx_try_compile "$LINENO"; then :
42912 glibcxx_cv_func__modff_use=yes
42913 else
42914 glibcxx_cv_func__modff_use=no
42916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42917 ac_ext=c
42918 ac_cpp='$CPP $CPPFLAGS'
42919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42928 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42930 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42931 for ac_func in _modff
42932 do :
42933 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42934 if test "x$ac_cv_func__modff" = x""yes; then :
42935 cat >>confdefs.h <<_ACEOF
42936 #define HAVE__MODFF 1
42937 _ACEOF
42940 done
42949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42950 $as_echo_n "checking for modf declaration... " >&6; }
42951 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42952 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42953 $as_echo_n "(cached) " >&6
42954 else
42957 ac_ext=cpp
42958 ac_cpp='$CXXCPP $CPPFLAGS'
42959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42964 /* end confdefs.h. */
42965 #include <math.h>
42967 main ()
42969 modf(0, 0);
42971 return 0;
42973 _ACEOF
42974 if ac_fn_cxx_try_compile "$LINENO"; then :
42975 glibcxx_cv_func_modf_use=yes
42976 else
42977 glibcxx_cv_func_modf_use=no
42979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42980 ac_ext=c
42981 ac_cpp='$CPP $CPPFLAGS'
42982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42991 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42993 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42994 for ac_func in modf
42995 do :
42996 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42997 if test "x$ac_cv_func_modf" = x""yes; then :
42998 cat >>confdefs.h <<_ACEOF
42999 #define HAVE_MODF 1
43000 _ACEOF
43003 done
43005 else
43007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43008 $as_echo_n "checking for _modf declaration... " >&6; }
43009 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43010 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
43011 $as_echo_n "(cached) " >&6
43012 else
43015 ac_ext=cpp
43016 ac_cpp='$CXXCPP $CPPFLAGS'
43017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43022 /* end confdefs.h. */
43023 #include <math.h>
43025 main ()
43027 _modf(0, 0);
43029 return 0;
43031 _ACEOF
43032 if ac_fn_cxx_try_compile "$LINENO"; then :
43033 glibcxx_cv_func__modf_use=yes
43034 else
43035 glibcxx_cv_func__modf_use=no
43037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43038 ac_ext=c
43039 ac_cpp='$CPP $CPPFLAGS'
43040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
43049 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43051 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43052 for ac_func in _modf
43053 do :
43054 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43055 if test "x$ac_cv_func__modf" = x""yes; then :
43056 cat >>confdefs.h <<_ACEOF
43057 #define HAVE__MODF 1
43058 _ACEOF
43061 done
43070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43071 $as_echo_n "checking for powf declaration... " >&6; }
43072 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43073 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43074 $as_echo_n "(cached) " >&6
43075 else
43078 ac_ext=cpp
43079 ac_cpp='$CXXCPP $CPPFLAGS'
43080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43085 /* end confdefs.h. */
43086 #include <math.h>
43088 main ()
43090 powf(0, 0);
43092 return 0;
43094 _ACEOF
43095 if ac_fn_cxx_try_compile "$LINENO"; then :
43096 glibcxx_cv_func_powf_use=yes
43097 else
43098 glibcxx_cv_func_powf_use=no
43100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43101 ac_ext=c
43102 ac_cpp='$CPP $CPPFLAGS'
43103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43112 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43114 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43115 for ac_func in powf
43116 do :
43117 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43118 if test "x$ac_cv_func_powf" = x""yes; then :
43119 cat >>confdefs.h <<_ACEOF
43120 #define HAVE_POWF 1
43121 _ACEOF
43124 done
43126 else
43128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43129 $as_echo_n "checking for _powf declaration... " >&6; }
43130 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43131 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43132 $as_echo_n "(cached) " >&6
43133 else
43136 ac_ext=cpp
43137 ac_cpp='$CXXCPP $CPPFLAGS'
43138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43143 /* end confdefs.h. */
43144 #include <math.h>
43146 main ()
43148 _powf(0, 0);
43150 return 0;
43152 _ACEOF
43153 if ac_fn_cxx_try_compile "$LINENO"; then :
43154 glibcxx_cv_func__powf_use=yes
43155 else
43156 glibcxx_cv_func__powf_use=no
43158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43159 ac_ext=c
43160 ac_cpp='$CPP $CPPFLAGS'
43161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43170 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43172 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43173 for ac_func in _powf
43174 do :
43175 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43176 if test "x$ac_cv_func__powf" = x""yes; then :
43177 cat >>confdefs.h <<_ACEOF
43178 #define HAVE__POWF 1
43179 _ACEOF
43182 done
43191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43192 $as_echo_n "checking for sqrtf declaration... " >&6; }
43193 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43194 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43195 $as_echo_n "(cached) " >&6
43196 else
43199 ac_ext=cpp
43200 ac_cpp='$CXXCPP $CPPFLAGS'
43201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43206 /* end confdefs.h. */
43207 #include <math.h>
43208 #ifdef HAVE_IEEEFP_H
43209 #include <ieeefp.h>
43210 #endif
43213 main ()
43215 sqrtf(0);
43217 return 0;
43219 _ACEOF
43220 if ac_fn_cxx_try_compile "$LINENO"; then :
43221 glibcxx_cv_func_sqrtf_use=yes
43222 else
43223 glibcxx_cv_func_sqrtf_use=no
43225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43226 ac_ext=c
43227 ac_cpp='$CPP $CPPFLAGS'
43228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43237 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43239 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43240 for ac_func in sqrtf
43241 do :
43242 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43243 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43244 cat >>confdefs.h <<_ACEOF
43245 #define HAVE_SQRTF 1
43246 _ACEOF
43249 done
43251 else
43253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43254 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43255 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43256 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43257 $as_echo_n "(cached) " >&6
43258 else
43261 ac_ext=cpp
43262 ac_cpp='$CXXCPP $CPPFLAGS'
43263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43268 /* end confdefs.h. */
43269 #include <math.h>
43270 #ifdef HAVE_IEEEFP_H
43271 #include <ieeefp.h>
43272 #endif
43275 main ()
43277 _sqrtf(0);
43279 return 0;
43281 _ACEOF
43282 if ac_fn_cxx_try_compile "$LINENO"; then :
43283 glibcxx_cv_func__sqrtf_use=yes
43284 else
43285 glibcxx_cv_func__sqrtf_use=no
43287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43288 ac_ext=c
43289 ac_cpp='$CPP $CPPFLAGS'
43290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43299 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43301 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43302 for ac_func in _sqrtf
43303 do :
43304 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43305 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43306 cat >>confdefs.h <<_ACEOF
43307 #define HAVE__SQRTF 1
43308 _ACEOF
43311 done
43320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43321 $as_echo_n "checking for sincosf declaration... " >&6; }
43322 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43323 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43324 $as_echo_n "(cached) " >&6
43325 else
43328 ac_ext=cpp
43329 ac_cpp='$CXXCPP $CPPFLAGS'
43330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43335 /* end confdefs.h. */
43336 #include <math.h>
43338 main ()
43340 sincosf(0, 0, 0);
43342 return 0;
43344 _ACEOF
43345 if ac_fn_cxx_try_compile "$LINENO"; then :
43346 glibcxx_cv_func_sincosf_use=yes
43347 else
43348 glibcxx_cv_func_sincosf_use=no
43350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43351 ac_ext=c
43352 ac_cpp='$CPP $CPPFLAGS'
43353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43362 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43364 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43365 for ac_func in sincosf
43366 do :
43367 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43368 if test "x$ac_cv_func_sincosf" = x""yes; then :
43369 cat >>confdefs.h <<_ACEOF
43370 #define HAVE_SINCOSF 1
43371 _ACEOF
43374 done
43376 else
43378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43379 $as_echo_n "checking for _sincosf declaration... " >&6; }
43380 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43381 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43382 $as_echo_n "(cached) " >&6
43383 else
43386 ac_ext=cpp
43387 ac_cpp='$CXXCPP $CPPFLAGS'
43388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43393 /* end confdefs.h. */
43394 #include <math.h>
43396 main ()
43398 _sincosf(0, 0, 0);
43400 return 0;
43402 _ACEOF
43403 if ac_fn_cxx_try_compile "$LINENO"; then :
43404 glibcxx_cv_func__sincosf_use=yes
43405 else
43406 glibcxx_cv_func__sincosf_use=no
43408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43409 ac_ext=c
43410 ac_cpp='$CPP $CPPFLAGS'
43411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43420 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43422 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43423 for ac_func in _sincosf
43424 do :
43425 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43426 if test "x$ac_cv_func__sincosf" = x""yes; then :
43427 cat >>confdefs.h <<_ACEOF
43428 #define HAVE__SINCOSF 1
43429 _ACEOF
43432 done
43441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43442 $as_echo_n "checking for finitef declaration... " >&6; }
43443 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43444 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43445 $as_echo_n "(cached) " >&6
43446 else
43449 ac_ext=cpp
43450 ac_cpp='$CXXCPP $CPPFLAGS'
43451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43456 /* end confdefs.h. */
43457 #include <math.h>
43458 #ifdef HAVE_IEEEFP_H
43459 #include <ieeefp.h>
43460 #endif
43463 main ()
43465 finitef(0);
43467 return 0;
43469 _ACEOF
43470 if ac_fn_cxx_try_compile "$LINENO"; then :
43471 glibcxx_cv_func_finitef_use=yes
43472 else
43473 glibcxx_cv_func_finitef_use=no
43475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43476 ac_ext=c
43477 ac_cpp='$CPP $CPPFLAGS'
43478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43487 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43489 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43490 for ac_func in finitef
43491 do :
43492 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43493 if test "x$ac_cv_func_finitef" = x""yes; then :
43494 cat >>confdefs.h <<_ACEOF
43495 #define HAVE_FINITEF 1
43496 _ACEOF
43499 done
43501 else
43503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43504 $as_echo_n "checking for _finitef declaration... " >&6; }
43505 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43506 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43507 $as_echo_n "(cached) " >&6
43508 else
43511 ac_ext=cpp
43512 ac_cpp='$CXXCPP $CPPFLAGS'
43513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43518 /* end confdefs.h. */
43519 #include <math.h>
43520 #ifdef HAVE_IEEEFP_H
43521 #include <ieeefp.h>
43522 #endif
43525 main ()
43527 _finitef(0);
43529 return 0;
43531 _ACEOF
43532 if ac_fn_cxx_try_compile "$LINENO"; then :
43533 glibcxx_cv_func__finitef_use=yes
43534 else
43535 glibcxx_cv_func__finitef_use=no
43537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43538 ac_ext=c
43539 ac_cpp='$CPP $CPPFLAGS'
43540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43549 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43551 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43552 for ac_func in _finitef
43553 do :
43554 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43555 if test "x$ac_cv_func__finitef" = x""yes; then :
43556 cat >>confdefs.h <<_ACEOF
43557 #define HAVE__FINITEF 1
43558 _ACEOF
43561 done
43570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43571 $as_echo_n "checking for long double trig functions... " >&6; }
43572 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43573 $as_echo_n "(cached) " >&6
43574 else
43577 ac_ext=cpp
43578 ac_cpp='$CXXCPP $CPPFLAGS'
43579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43584 /* end confdefs.h. */
43585 #include <math.h>
43587 main ()
43589 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43591 return 0;
43593 _ACEOF
43594 if ac_fn_cxx_try_compile "$LINENO"; then :
43595 glibcxx_cv_func_long_double_trig_use=yes
43596 else
43597 glibcxx_cv_func_long_double_trig_use=no
43599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43600 ac_ext=c
43601 ac_cpp='$CPP $CPPFLAGS'
43602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43609 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43610 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43611 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43612 do :
43613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43615 eval as_val=\$$as_ac_var
43616 if test "x$as_val" = x""yes; then :
43617 cat >>confdefs.h <<_ACEOF
43618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43619 _ACEOF
43622 done
43624 else
43625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43626 $as_echo_n "checking for _long double trig functions... " >&6; }
43627 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43628 $as_echo_n "(cached) " >&6
43629 else
43632 ac_ext=cpp
43633 ac_cpp='$CXXCPP $CPPFLAGS'
43634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43639 /* end confdefs.h. */
43640 #include <math.h>
43642 main ()
43644 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43646 return 0;
43648 _ACEOF
43649 if ac_fn_cxx_try_compile "$LINENO"; then :
43650 glibcxx_cv_func__long_double_trig_use=yes
43651 else
43652 glibcxx_cv_func__long_double_trig_use=no
43654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43655 ac_ext=c
43656 ac_cpp='$CPP $CPPFLAGS'
43657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43664 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43665 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43666 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43667 do :
43668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43670 eval as_val=\$$as_ac_var
43671 if test "x$as_val" = x""yes; then :
43672 cat >>confdefs.h <<_ACEOF
43673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43674 _ACEOF
43677 done
43686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43687 $as_echo_n "checking for long double round functions... " >&6; }
43688 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43689 $as_echo_n "(cached) " >&6
43690 else
43693 ac_ext=cpp
43694 ac_cpp='$CXXCPP $CPPFLAGS'
43695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43700 /* end confdefs.h. */
43701 #include <math.h>
43703 main ()
43705 ceill (0); floorl (0);
43707 return 0;
43709 _ACEOF
43710 if ac_fn_cxx_try_compile "$LINENO"; then :
43711 glibcxx_cv_func_long_double_round_use=yes
43712 else
43713 glibcxx_cv_func_long_double_round_use=no
43715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43716 ac_ext=c
43717 ac_cpp='$CPP $CPPFLAGS'
43718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43725 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43726 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43727 for ac_func in ceill floorl
43728 do :
43729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43731 eval as_val=\$$as_ac_var
43732 if test "x$as_val" = x""yes; then :
43733 cat >>confdefs.h <<_ACEOF
43734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43735 _ACEOF
43738 done
43740 else
43741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43742 $as_echo_n "checking for _long double round functions... " >&6; }
43743 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43744 $as_echo_n "(cached) " >&6
43745 else
43748 ac_ext=cpp
43749 ac_cpp='$CXXCPP $CPPFLAGS'
43750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43755 /* end confdefs.h. */
43756 #include <math.h>
43758 main ()
43760 _ceill (0); _floorl (0);
43762 return 0;
43764 _ACEOF
43765 if ac_fn_cxx_try_compile "$LINENO"; then :
43766 glibcxx_cv_func__long_double_round_use=yes
43767 else
43768 glibcxx_cv_func__long_double_round_use=no
43770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43771 ac_ext=c
43772 ac_cpp='$CPP $CPPFLAGS'
43773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43780 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43781 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43782 for ac_func in _ceill _floorl
43783 do :
43784 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43786 eval as_val=\$$as_ac_var
43787 if test "x$as_val" = x""yes; then :
43788 cat >>confdefs.h <<_ACEOF
43789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43790 _ACEOF
43793 done
43803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43804 $as_echo_n "checking for isnanl declaration... " >&6; }
43805 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43806 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43807 $as_echo_n "(cached) " >&6
43808 else
43811 ac_ext=cpp
43812 ac_cpp='$CXXCPP $CPPFLAGS'
43813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43818 /* end confdefs.h. */
43819 #include <math.h>
43820 #ifdef HAVE_IEEEFP_H
43821 #include <ieeefp.h>
43822 #endif
43825 main ()
43827 isnanl(0);
43829 return 0;
43831 _ACEOF
43832 if ac_fn_cxx_try_compile "$LINENO"; then :
43833 glibcxx_cv_func_isnanl_use=yes
43834 else
43835 glibcxx_cv_func_isnanl_use=no
43837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43838 ac_ext=c
43839 ac_cpp='$CPP $CPPFLAGS'
43840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43849 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43851 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43852 for ac_func in isnanl
43853 do :
43854 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43855 if test "x$ac_cv_func_isnanl" = x""yes; then :
43856 cat >>confdefs.h <<_ACEOF
43857 #define HAVE_ISNANL 1
43858 _ACEOF
43861 done
43863 else
43865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43866 $as_echo_n "checking for _isnanl declaration... " >&6; }
43867 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43868 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43869 $as_echo_n "(cached) " >&6
43870 else
43873 ac_ext=cpp
43874 ac_cpp='$CXXCPP $CPPFLAGS'
43875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43880 /* end confdefs.h. */
43881 #include <math.h>
43882 #ifdef HAVE_IEEEFP_H
43883 #include <ieeefp.h>
43884 #endif
43887 main ()
43889 _isnanl(0);
43891 return 0;
43893 _ACEOF
43894 if ac_fn_cxx_try_compile "$LINENO"; then :
43895 glibcxx_cv_func__isnanl_use=yes
43896 else
43897 glibcxx_cv_func__isnanl_use=no
43899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43900 ac_ext=c
43901 ac_cpp='$CPP $CPPFLAGS'
43902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43911 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43913 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43914 for ac_func in _isnanl
43915 do :
43916 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43917 if test "x$ac_cv_func__isnanl" = x""yes; then :
43918 cat >>confdefs.h <<_ACEOF
43919 #define HAVE__ISNANL 1
43920 _ACEOF
43923 done
43932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43933 $as_echo_n "checking for isinfl declaration... " >&6; }
43934 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43935 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43936 $as_echo_n "(cached) " >&6
43937 else
43940 ac_ext=cpp
43941 ac_cpp='$CXXCPP $CPPFLAGS'
43942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43947 /* end confdefs.h. */
43948 #include <math.h>
43949 #ifdef HAVE_IEEEFP_H
43950 #include <ieeefp.h>
43951 #endif
43954 main ()
43956 isinfl(0);
43958 return 0;
43960 _ACEOF
43961 if ac_fn_cxx_try_compile "$LINENO"; then :
43962 glibcxx_cv_func_isinfl_use=yes
43963 else
43964 glibcxx_cv_func_isinfl_use=no
43966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43967 ac_ext=c
43968 ac_cpp='$CPP $CPPFLAGS'
43969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43978 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43980 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43981 for ac_func in isinfl
43982 do :
43983 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43984 if test "x$ac_cv_func_isinfl" = x""yes; then :
43985 cat >>confdefs.h <<_ACEOF
43986 #define HAVE_ISINFL 1
43987 _ACEOF
43990 done
43992 else
43994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43995 $as_echo_n "checking for _isinfl declaration... " >&6; }
43996 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43997 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43998 $as_echo_n "(cached) " >&6
43999 else
44002 ac_ext=cpp
44003 ac_cpp='$CXXCPP $CPPFLAGS'
44004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44009 /* end confdefs.h. */
44010 #include <math.h>
44011 #ifdef HAVE_IEEEFP_H
44012 #include <ieeefp.h>
44013 #endif
44016 main ()
44018 _isinfl(0);
44020 return 0;
44022 _ACEOF
44023 if ac_fn_cxx_try_compile "$LINENO"; then :
44024 glibcxx_cv_func__isinfl_use=yes
44025 else
44026 glibcxx_cv_func__isinfl_use=no
44028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44029 ac_ext=c
44030 ac_cpp='$CPP $CPPFLAGS'
44031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
44040 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44042 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44043 for ac_func in _isinfl
44044 do :
44045 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44046 if test "x$ac_cv_func__isinfl" = x""yes; then :
44047 cat >>confdefs.h <<_ACEOF
44048 #define HAVE__ISINFL 1
44049 _ACEOF
44052 done
44061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44062 $as_echo_n "checking for atan2l declaration... " >&6; }
44063 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44064 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44065 $as_echo_n "(cached) " >&6
44066 else
44069 ac_ext=cpp
44070 ac_cpp='$CXXCPP $CPPFLAGS'
44071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44076 /* end confdefs.h. */
44077 #include <math.h>
44079 main ()
44081 atan2l(0, 0);
44083 return 0;
44085 _ACEOF
44086 if ac_fn_cxx_try_compile "$LINENO"; then :
44087 glibcxx_cv_func_atan2l_use=yes
44088 else
44089 glibcxx_cv_func_atan2l_use=no
44091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44092 ac_ext=c
44093 ac_cpp='$CPP $CPPFLAGS'
44094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44103 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44105 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44106 for ac_func in atan2l
44107 do :
44108 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44109 if test "x$ac_cv_func_atan2l" = x""yes; then :
44110 cat >>confdefs.h <<_ACEOF
44111 #define HAVE_ATAN2L 1
44112 _ACEOF
44115 done
44117 else
44119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44120 $as_echo_n "checking for _atan2l declaration... " >&6; }
44121 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44122 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44123 $as_echo_n "(cached) " >&6
44124 else
44127 ac_ext=cpp
44128 ac_cpp='$CXXCPP $CPPFLAGS'
44129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44134 /* end confdefs.h. */
44135 #include <math.h>
44137 main ()
44139 _atan2l(0, 0);
44141 return 0;
44143 _ACEOF
44144 if ac_fn_cxx_try_compile "$LINENO"; then :
44145 glibcxx_cv_func__atan2l_use=yes
44146 else
44147 glibcxx_cv_func__atan2l_use=no
44149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44150 ac_ext=c
44151 ac_cpp='$CPP $CPPFLAGS'
44152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44161 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44163 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44164 for ac_func in _atan2l
44165 do :
44166 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44167 if test "x$ac_cv_func__atan2l" = x""yes; then :
44168 cat >>confdefs.h <<_ACEOF
44169 #define HAVE__ATAN2L 1
44170 _ACEOF
44173 done
44182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44183 $as_echo_n "checking for expl declaration... " >&6; }
44184 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44185 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44186 $as_echo_n "(cached) " >&6
44187 else
44190 ac_ext=cpp
44191 ac_cpp='$CXXCPP $CPPFLAGS'
44192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44197 /* end confdefs.h. */
44198 #include <math.h>
44199 #ifdef HAVE_IEEEFP_H
44200 #include <ieeefp.h>
44201 #endif
44204 main ()
44206 expl(0);
44208 return 0;
44210 _ACEOF
44211 if ac_fn_cxx_try_compile "$LINENO"; then :
44212 glibcxx_cv_func_expl_use=yes
44213 else
44214 glibcxx_cv_func_expl_use=no
44216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44217 ac_ext=c
44218 ac_cpp='$CPP $CPPFLAGS'
44219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44228 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44230 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44231 for ac_func in expl
44232 do :
44233 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44234 if test "x$ac_cv_func_expl" = x""yes; then :
44235 cat >>confdefs.h <<_ACEOF
44236 #define HAVE_EXPL 1
44237 _ACEOF
44240 done
44242 else
44244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44245 $as_echo_n "checking for _expl declaration... " >&6; }
44246 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44247 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44248 $as_echo_n "(cached) " >&6
44249 else
44252 ac_ext=cpp
44253 ac_cpp='$CXXCPP $CPPFLAGS'
44254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44259 /* end confdefs.h. */
44260 #include <math.h>
44261 #ifdef HAVE_IEEEFP_H
44262 #include <ieeefp.h>
44263 #endif
44266 main ()
44268 _expl(0);
44270 return 0;
44272 _ACEOF
44273 if ac_fn_cxx_try_compile "$LINENO"; then :
44274 glibcxx_cv_func__expl_use=yes
44275 else
44276 glibcxx_cv_func__expl_use=no
44278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44279 ac_ext=c
44280 ac_cpp='$CPP $CPPFLAGS'
44281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44290 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44292 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44293 for ac_func in _expl
44294 do :
44295 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44296 if test "x$ac_cv_func__expl" = x""yes; then :
44297 cat >>confdefs.h <<_ACEOF
44298 #define HAVE__EXPL 1
44299 _ACEOF
44302 done
44311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44312 $as_echo_n "checking for fabsl declaration... " >&6; }
44313 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44314 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44315 $as_echo_n "(cached) " >&6
44316 else
44319 ac_ext=cpp
44320 ac_cpp='$CXXCPP $CPPFLAGS'
44321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44326 /* end confdefs.h. */
44327 #include <math.h>
44328 #ifdef HAVE_IEEEFP_H
44329 #include <ieeefp.h>
44330 #endif
44333 main ()
44335 fabsl(0);
44337 return 0;
44339 _ACEOF
44340 if ac_fn_cxx_try_compile "$LINENO"; then :
44341 glibcxx_cv_func_fabsl_use=yes
44342 else
44343 glibcxx_cv_func_fabsl_use=no
44345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44346 ac_ext=c
44347 ac_cpp='$CPP $CPPFLAGS'
44348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44357 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44359 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44360 for ac_func in fabsl
44361 do :
44362 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44363 if test "x$ac_cv_func_fabsl" = x""yes; then :
44364 cat >>confdefs.h <<_ACEOF
44365 #define HAVE_FABSL 1
44366 _ACEOF
44369 done
44371 else
44373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44374 $as_echo_n "checking for _fabsl declaration... " >&6; }
44375 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44376 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44377 $as_echo_n "(cached) " >&6
44378 else
44381 ac_ext=cpp
44382 ac_cpp='$CXXCPP $CPPFLAGS'
44383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44388 /* end confdefs.h. */
44389 #include <math.h>
44390 #ifdef HAVE_IEEEFP_H
44391 #include <ieeefp.h>
44392 #endif
44395 main ()
44397 _fabsl(0);
44399 return 0;
44401 _ACEOF
44402 if ac_fn_cxx_try_compile "$LINENO"; then :
44403 glibcxx_cv_func__fabsl_use=yes
44404 else
44405 glibcxx_cv_func__fabsl_use=no
44407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44408 ac_ext=c
44409 ac_cpp='$CPP $CPPFLAGS'
44410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44419 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44421 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44422 for ac_func in _fabsl
44423 do :
44424 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44425 if test "x$ac_cv_func__fabsl" = x""yes; then :
44426 cat >>confdefs.h <<_ACEOF
44427 #define HAVE__FABSL 1
44428 _ACEOF
44431 done
44440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44441 $as_echo_n "checking for fmodl declaration... " >&6; }
44442 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44443 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44444 $as_echo_n "(cached) " >&6
44445 else
44448 ac_ext=cpp
44449 ac_cpp='$CXXCPP $CPPFLAGS'
44450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44455 /* end confdefs.h. */
44456 #include <math.h>
44458 main ()
44460 fmodl(0, 0);
44462 return 0;
44464 _ACEOF
44465 if ac_fn_cxx_try_compile "$LINENO"; then :
44466 glibcxx_cv_func_fmodl_use=yes
44467 else
44468 glibcxx_cv_func_fmodl_use=no
44470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44471 ac_ext=c
44472 ac_cpp='$CPP $CPPFLAGS'
44473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44482 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44484 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44485 for ac_func in fmodl
44486 do :
44487 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44488 if test "x$ac_cv_func_fmodl" = x""yes; then :
44489 cat >>confdefs.h <<_ACEOF
44490 #define HAVE_FMODL 1
44491 _ACEOF
44494 done
44496 else
44498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44499 $as_echo_n "checking for _fmodl declaration... " >&6; }
44500 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44501 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44502 $as_echo_n "(cached) " >&6
44503 else
44506 ac_ext=cpp
44507 ac_cpp='$CXXCPP $CPPFLAGS'
44508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44513 /* end confdefs.h. */
44514 #include <math.h>
44516 main ()
44518 _fmodl(0, 0);
44520 return 0;
44522 _ACEOF
44523 if ac_fn_cxx_try_compile "$LINENO"; then :
44524 glibcxx_cv_func__fmodl_use=yes
44525 else
44526 glibcxx_cv_func__fmodl_use=no
44528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44529 ac_ext=c
44530 ac_cpp='$CPP $CPPFLAGS'
44531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44540 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44542 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44543 for ac_func in _fmodl
44544 do :
44545 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44546 if test "x$ac_cv_func__fmodl" = x""yes; then :
44547 cat >>confdefs.h <<_ACEOF
44548 #define HAVE__FMODL 1
44549 _ACEOF
44552 done
44561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44562 $as_echo_n "checking for frexpl declaration... " >&6; }
44563 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44564 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44565 $as_echo_n "(cached) " >&6
44566 else
44569 ac_ext=cpp
44570 ac_cpp='$CXXCPP $CPPFLAGS'
44571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44576 /* end confdefs.h. */
44577 #include <math.h>
44579 main ()
44581 frexpl(0, 0);
44583 return 0;
44585 _ACEOF
44586 if ac_fn_cxx_try_compile "$LINENO"; then :
44587 glibcxx_cv_func_frexpl_use=yes
44588 else
44589 glibcxx_cv_func_frexpl_use=no
44591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44592 ac_ext=c
44593 ac_cpp='$CPP $CPPFLAGS'
44594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44603 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44605 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44606 for ac_func in frexpl
44607 do :
44608 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44609 if test "x$ac_cv_func_frexpl" = x""yes; then :
44610 cat >>confdefs.h <<_ACEOF
44611 #define HAVE_FREXPL 1
44612 _ACEOF
44615 done
44617 else
44619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44620 $as_echo_n "checking for _frexpl declaration... " >&6; }
44621 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44622 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44623 $as_echo_n "(cached) " >&6
44624 else
44627 ac_ext=cpp
44628 ac_cpp='$CXXCPP $CPPFLAGS'
44629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44634 /* end confdefs.h. */
44635 #include <math.h>
44637 main ()
44639 _frexpl(0, 0);
44641 return 0;
44643 _ACEOF
44644 if ac_fn_cxx_try_compile "$LINENO"; then :
44645 glibcxx_cv_func__frexpl_use=yes
44646 else
44647 glibcxx_cv_func__frexpl_use=no
44649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44650 ac_ext=c
44651 ac_cpp='$CPP $CPPFLAGS'
44652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44661 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44663 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44664 for ac_func in _frexpl
44665 do :
44666 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44667 if test "x$ac_cv_func__frexpl" = x""yes; then :
44668 cat >>confdefs.h <<_ACEOF
44669 #define HAVE__FREXPL 1
44670 _ACEOF
44673 done
44682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44683 $as_echo_n "checking for hypotl declaration... " >&6; }
44684 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44685 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44686 $as_echo_n "(cached) " >&6
44687 else
44690 ac_ext=cpp
44691 ac_cpp='$CXXCPP $CPPFLAGS'
44692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44697 /* end confdefs.h. */
44698 #include <math.h>
44700 main ()
44702 hypotl(0, 0);
44704 return 0;
44706 _ACEOF
44707 if ac_fn_cxx_try_compile "$LINENO"; then :
44708 glibcxx_cv_func_hypotl_use=yes
44709 else
44710 glibcxx_cv_func_hypotl_use=no
44712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44713 ac_ext=c
44714 ac_cpp='$CPP $CPPFLAGS'
44715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44724 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44726 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44727 for ac_func in hypotl
44728 do :
44729 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44730 if test "x$ac_cv_func_hypotl" = x""yes; then :
44731 cat >>confdefs.h <<_ACEOF
44732 #define HAVE_HYPOTL 1
44733 _ACEOF
44736 done
44738 else
44740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44741 $as_echo_n "checking for _hypotl declaration... " >&6; }
44742 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44743 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44744 $as_echo_n "(cached) " >&6
44745 else
44748 ac_ext=cpp
44749 ac_cpp='$CXXCPP $CPPFLAGS'
44750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44755 /* end confdefs.h. */
44756 #include <math.h>
44758 main ()
44760 _hypotl(0, 0);
44762 return 0;
44764 _ACEOF
44765 if ac_fn_cxx_try_compile "$LINENO"; then :
44766 glibcxx_cv_func__hypotl_use=yes
44767 else
44768 glibcxx_cv_func__hypotl_use=no
44770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44771 ac_ext=c
44772 ac_cpp='$CPP $CPPFLAGS'
44773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44782 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44784 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44785 for ac_func in _hypotl
44786 do :
44787 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44788 if test "x$ac_cv_func__hypotl" = x""yes; then :
44789 cat >>confdefs.h <<_ACEOF
44790 #define HAVE__HYPOTL 1
44791 _ACEOF
44794 done
44803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44804 $as_echo_n "checking for ldexpl declaration... " >&6; }
44805 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44806 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44807 $as_echo_n "(cached) " >&6
44808 else
44811 ac_ext=cpp
44812 ac_cpp='$CXXCPP $CPPFLAGS'
44813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44818 /* end confdefs.h. */
44819 #include <math.h>
44821 main ()
44823 ldexpl(0, 0);
44825 return 0;
44827 _ACEOF
44828 if ac_fn_cxx_try_compile "$LINENO"; then :
44829 glibcxx_cv_func_ldexpl_use=yes
44830 else
44831 glibcxx_cv_func_ldexpl_use=no
44833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44834 ac_ext=c
44835 ac_cpp='$CPP $CPPFLAGS'
44836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44845 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44847 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44848 for ac_func in ldexpl
44849 do :
44850 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44851 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44852 cat >>confdefs.h <<_ACEOF
44853 #define HAVE_LDEXPL 1
44854 _ACEOF
44857 done
44859 else
44861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44862 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44863 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44864 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44865 $as_echo_n "(cached) " >&6
44866 else
44869 ac_ext=cpp
44870 ac_cpp='$CXXCPP $CPPFLAGS'
44871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44876 /* end confdefs.h. */
44877 #include <math.h>
44879 main ()
44881 _ldexpl(0, 0);
44883 return 0;
44885 _ACEOF
44886 if ac_fn_cxx_try_compile "$LINENO"; then :
44887 glibcxx_cv_func__ldexpl_use=yes
44888 else
44889 glibcxx_cv_func__ldexpl_use=no
44891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44892 ac_ext=c
44893 ac_cpp='$CPP $CPPFLAGS'
44894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44903 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44905 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44906 for ac_func in _ldexpl
44907 do :
44908 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44909 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44910 cat >>confdefs.h <<_ACEOF
44911 #define HAVE__LDEXPL 1
44912 _ACEOF
44915 done
44924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44925 $as_echo_n "checking for logl declaration... " >&6; }
44926 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44927 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44928 $as_echo_n "(cached) " >&6
44929 else
44932 ac_ext=cpp
44933 ac_cpp='$CXXCPP $CPPFLAGS'
44934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44939 /* end confdefs.h. */
44940 #include <math.h>
44941 #ifdef HAVE_IEEEFP_H
44942 #include <ieeefp.h>
44943 #endif
44946 main ()
44948 logl(0);
44950 return 0;
44952 _ACEOF
44953 if ac_fn_cxx_try_compile "$LINENO"; then :
44954 glibcxx_cv_func_logl_use=yes
44955 else
44956 glibcxx_cv_func_logl_use=no
44958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44959 ac_ext=c
44960 ac_cpp='$CPP $CPPFLAGS'
44961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44970 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44972 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44973 for ac_func in logl
44974 do :
44975 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44976 if test "x$ac_cv_func_logl" = x""yes; then :
44977 cat >>confdefs.h <<_ACEOF
44978 #define HAVE_LOGL 1
44979 _ACEOF
44982 done
44984 else
44986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44987 $as_echo_n "checking for _logl declaration... " >&6; }
44988 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44989 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44990 $as_echo_n "(cached) " >&6
44991 else
44994 ac_ext=cpp
44995 ac_cpp='$CXXCPP $CPPFLAGS'
44996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45001 /* end confdefs.h. */
45002 #include <math.h>
45003 #ifdef HAVE_IEEEFP_H
45004 #include <ieeefp.h>
45005 #endif
45008 main ()
45010 _logl(0);
45012 return 0;
45014 _ACEOF
45015 if ac_fn_cxx_try_compile "$LINENO"; then :
45016 glibcxx_cv_func__logl_use=yes
45017 else
45018 glibcxx_cv_func__logl_use=no
45020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45021 ac_ext=c
45022 ac_cpp='$CPP $CPPFLAGS'
45023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45032 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45034 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45035 for ac_func in _logl
45036 do :
45037 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45038 if test "x$ac_cv_func__logl" = x""yes; then :
45039 cat >>confdefs.h <<_ACEOF
45040 #define HAVE__LOGL 1
45041 _ACEOF
45044 done
45053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45054 $as_echo_n "checking for log10l declaration... " >&6; }
45055 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45056 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45057 $as_echo_n "(cached) " >&6
45058 else
45061 ac_ext=cpp
45062 ac_cpp='$CXXCPP $CPPFLAGS'
45063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45068 /* end confdefs.h. */
45069 #include <math.h>
45070 #ifdef HAVE_IEEEFP_H
45071 #include <ieeefp.h>
45072 #endif
45075 main ()
45077 log10l(0);
45079 return 0;
45081 _ACEOF
45082 if ac_fn_cxx_try_compile "$LINENO"; then :
45083 glibcxx_cv_func_log10l_use=yes
45084 else
45085 glibcxx_cv_func_log10l_use=no
45087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45088 ac_ext=c
45089 ac_cpp='$CPP $CPPFLAGS'
45090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45099 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45101 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45102 for ac_func in log10l
45103 do :
45104 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45105 if test "x$ac_cv_func_log10l" = x""yes; then :
45106 cat >>confdefs.h <<_ACEOF
45107 #define HAVE_LOG10L 1
45108 _ACEOF
45111 done
45113 else
45115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45116 $as_echo_n "checking for _log10l declaration... " >&6; }
45117 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45118 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45119 $as_echo_n "(cached) " >&6
45120 else
45123 ac_ext=cpp
45124 ac_cpp='$CXXCPP $CPPFLAGS'
45125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45130 /* end confdefs.h. */
45131 #include <math.h>
45132 #ifdef HAVE_IEEEFP_H
45133 #include <ieeefp.h>
45134 #endif
45137 main ()
45139 _log10l(0);
45141 return 0;
45143 _ACEOF
45144 if ac_fn_cxx_try_compile "$LINENO"; then :
45145 glibcxx_cv_func__log10l_use=yes
45146 else
45147 glibcxx_cv_func__log10l_use=no
45149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45150 ac_ext=c
45151 ac_cpp='$CPP $CPPFLAGS'
45152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45161 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45163 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45164 for ac_func in _log10l
45165 do :
45166 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45167 if test "x$ac_cv_func__log10l" = x""yes; then :
45168 cat >>confdefs.h <<_ACEOF
45169 #define HAVE__LOG10L 1
45170 _ACEOF
45173 done
45182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45183 $as_echo_n "checking for modfl declaration... " >&6; }
45184 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45185 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45186 $as_echo_n "(cached) " >&6
45187 else
45190 ac_ext=cpp
45191 ac_cpp='$CXXCPP $CPPFLAGS'
45192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45197 /* end confdefs.h. */
45198 #include <math.h>
45200 main ()
45202 modfl(0, 0);
45204 return 0;
45206 _ACEOF
45207 if ac_fn_cxx_try_compile "$LINENO"; then :
45208 glibcxx_cv_func_modfl_use=yes
45209 else
45210 glibcxx_cv_func_modfl_use=no
45212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45213 ac_ext=c
45214 ac_cpp='$CPP $CPPFLAGS'
45215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45224 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45226 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45227 for ac_func in modfl
45228 do :
45229 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45230 if test "x$ac_cv_func_modfl" = x""yes; then :
45231 cat >>confdefs.h <<_ACEOF
45232 #define HAVE_MODFL 1
45233 _ACEOF
45236 done
45238 else
45240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45241 $as_echo_n "checking for _modfl declaration... " >&6; }
45242 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45243 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45244 $as_echo_n "(cached) " >&6
45245 else
45248 ac_ext=cpp
45249 ac_cpp='$CXXCPP $CPPFLAGS'
45250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45255 /* end confdefs.h. */
45256 #include <math.h>
45258 main ()
45260 _modfl(0, 0);
45262 return 0;
45264 _ACEOF
45265 if ac_fn_cxx_try_compile "$LINENO"; then :
45266 glibcxx_cv_func__modfl_use=yes
45267 else
45268 glibcxx_cv_func__modfl_use=no
45270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45271 ac_ext=c
45272 ac_cpp='$CPP $CPPFLAGS'
45273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45282 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45284 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45285 for ac_func in _modfl
45286 do :
45287 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45288 if test "x$ac_cv_func__modfl" = x""yes; then :
45289 cat >>confdefs.h <<_ACEOF
45290 #define HAVE__MODFL 1
45291 _ACEOF
45294 done
45303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45304 $as_echo_n "checking for powl declaration... " >&6; }
45305 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45306 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45307 $as_echo_n "(cached) " >&6
45308 else
45311 ac_ext=cpp
45312 ac_cpp='$CXXCPP $CPPFLAGS'
45313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45318 /* end confdefs.h. */
45319 #include <math.h>
45321 main ()
45323 powl(0, 0);
45325 return 0;
45327 _ACEOF
45328 if ac_fn_cxx_try_compile "$LINENO"; then :
45329 glibcxx_cv_func_powl_use=yes
45330 else
45331 glibcxx_cv_func_powl_use=no
45333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45334 ac_ext=c
45335 ac_cpp='$CPP $CPPFLAGS'
45336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45345 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45347 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45348 for ac_func in powl
45349 do :
45350 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45351 if test "x$ac_cv_func_powl" = x""yes; then :
45352 cat >>confdefs.h <<_ACEOF
45353 #define HAVE_POWL 1
45354 _ACEOF
45357 done
45359 else
45361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45362 $as_echo_n "checking for _powl declaration... " >&6; }
45363 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45364 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45365 $as_echo_n "(cached) " >&6
45366 else
45369 ac_ext=cpp
45370 ac_cpp='$CXXCPP $CPPFLAGS'
45371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45376 /* end confdefs.h. */
45377 #include <math.h>
45379 main ()
45381 _powl(0, 0);
45383 return 0;
45385 _ACEOF
45386 if ac_fn_cxx_try_compile "$LINENO"; then :
45387 glibcxx_cv_func__powl_use=yes
45388 else
45389 glibcxx_cv_func__powl_use=no
45391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45392 ac_ext=c
45393 ac_cpp='$CPP $CPPFLAGS'
45394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45403 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45405 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45406 for ac_func in _powl
45407 do :
45408 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45409 if test "x$ac_cv_func__powl" = x""yes; then :
45410 cat >>confdefs.h <<_ACEOF
45411 #define HAVE__POWL 1
45412 _ACEOF
45415 done
45424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45425 $as_echo_n "checking for sqrtl declaration... " >&6; }
45426 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45427 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45428 $as_echo_n "(cached) " >&6
45429 else
45432 ac_ext=cpp
45433 ac_cpp='$CXXCPP $CPPFLAGS'
45434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45439 /* end confdefs.h. */
45440 #include <math.h>
45441 #ifdef HAVE_IEEEFP_H
45442 #include <ieeefp.h>
45443 #endif
45446 main ()
45448 sqrtl(0);
45450 return 0;
45452 _ACEOF
45453 if ac_fn_cxx_try_compile "$LINENO"; then :
45454 glibcxx_cv_func_sqrtl_use=yes
45455 else
45456 glibcxx_cv_func_sqrtl_use=no
45458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45459 ac_ext=c
45460 ac_cpp='$CPP $CPPFLAGS'
45461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45470 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45472 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45473 for ac_func in sqrtl
45474 do :
45475 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45476 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45477 cat >>confdefs.h <<_ACEOF
45478 #define HAVE_SQRTL 1
45479 _ACEOF
45482 done
45484 else
45486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45487 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45488 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45489 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45490 $as_echo_n "(cached) " >&6
45491 else
45494 ac_ext=cpp
45495 ac_cpp='$CXXCPP $CPPFLAGS'
45496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45501 /* end confdefs.h. */
45502 #include <math.h>
45503 #ifdef HAVE_IEEEFP_H
45504 #include <ieeefp.h>
45505 #endif
45508 main ()
45510 _sqrtl(0);
45512 return 0;
45514 _ACEOF
45515 if ac_fn_cxx_try_compile "$LINENO"; then :
45516 glibcxx_cv_func__sqrtl_use=yes
45517 else
45518 glibcxx_cv_func__sqrtl_use=no
45520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45521 ac_ext=c
45522 ac_cpp='$CPP $CPPFLAGS'
45523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45532 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45534 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45535 for ac_func in _sqrtl
45536 do :
45537 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45538 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45539 cat >>confdefs.h <<_ACEOF
45540 #define HAVE__SQRTL 1
45541 _ACEOF
45544 done
45553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45554 $as_echo_n "checking for sincosl declaration... " >&6; }
45555 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45556 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45557 $as_echo_n "(cached) " >&6
45558 else
45561 ac_ext=cpp
45562 ac_cpp='$CXXCPP $CPPFLAGS'
45563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45568 /* end confdefs.h. */
45569 #include <math.h>
45571 main ()
45573 sincosl(0, 0, 0);
45575 return 0;
45577 _ACEOF
45578 if ac_fn_cxx_try_compile "$LINENO"; then :
45579 glibcxx_cv_func_sincosl_use=yes
45580 else
45581 glibcxx_cv_func_sincosl_use=no
45583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45584 ac_ext=c
45585 ac_cpp='$CPP $CPPFLAGS'
45586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45595 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45597 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45598 for ac_func in sincosl
45599 do :
45600 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45601 if test "x$ac_cv_func_sincosl" = x""yes; then :
45602 cat >>confdefs.h <<_ACEOF
45603 #define HAVE_SINCOSL 1
45604 _ACEOF
45607 done
45609 else
45611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45612 $as_echo_n "checking for _sincosl declaration... " >&6; }
45613 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45614 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45615 $as_echo_n "(cached) " >&6
45616 else
45619 ac_ext=cpp
45620 ac_cpp='$CXXCPP $CPPFLAGS'
45621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45626 /* end confdefs.h. */
45627 #include <math.h>
45629 main ()
45631 _sincosl(0, 0, 0);
45633 return 0;
45635 _ACEOF
45636 if ac_fn_cxx_try_compile "$LINENO"; then :
45637 glibcxx_cv_func__sincosl_use=yes
45638 else
45639 glibcxx_cv_func__sincosl_use=no
45641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45642 ac_ext=c
45643 ac_cpp='$CPP $CPPFLAGS'
45644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45653 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45655 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45656 for ac_func in _sincosl
45657 do :
45658 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45659 if test "x$ac_cv_func__sincosl" = x""yes; then :
45660 cat >>confdefs.h <<_ACEOF
45661 #define HAVE__SINCOSL 1
45662 _ACEOF
45665 done
45674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45675 $as_echo_n "checking for finitel declaration... " >&6; }
45676 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45677 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45678 $as_echo_n "(cached) " >&6
45679 else
45682 ac_ext=cpp
45683 ac_cpp='$CXXCPP $CPPFLAGS'
45684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45689 /* end confdefs.h. */
45690 #include <math.h>
45691 #ifdef HAVE_IEEEFP_H
45692 #include <ieeefp.h>
45693 #endif
45696 main ()
45698 finitel(0);
45700 return 0;
45702 _ACEOF
45703 if ac_fn_cxx_try_compile "$LINENO"; then :
45704 glibcxx_cv_func_finitel_use=yes
45705 else
45706 glibcxx_cv_func_finitel_use=no
45708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45709 ac_ext=c
45710 ac_cpp='$CPP $CPPFLAGS'
45711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45720 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45722 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45723 for ac_func in finitel
45724 do :
45725 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45726 if test "x$ac_cv_func_finitel" = x""yes; then :
45727 cat >>confdefs.h <<_ACEOF
45728 #define HAVE_FINITEL 1
45729 _ACEOF
45732 done
45734 else
45736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45737 $as_echo_n "checking for _finitel declaration... " >&6; }
45738 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45739 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45740 $as_echo_n "(cached) " >&6
45741 else
45744 ac_ext=cpp
45745 ac_cpp='$CXXCPP $CPPFLAGS'
45746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45751 /* end confdefs.h. */
45752 #include <math.h>
45753 #ifdef HAVE_IEEEFP_H
45754 #include <ieeefp.h>
45755 #endif
45758 main ()
45760 _finitel(0);
45762 return 0;
45764 _ACEOF
45765 if ac_fn_cxx_try_compile "$LINENO"; then :
45766 glibcxx_cv_func__finitel_use=yes
45767 else
45768 glibcxx_cv_func__finitel_use=no
45770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45771 ac_ext=c
45772 ac_cpp='$CPP $CPPFLAGS'
45773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45782 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45784 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45785 for ac_func in _finitel
45786 do :
45787 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45788 if test "x$ac_cv_func__finitel" = x""yes; then :
45789 cat >>confdefs.h <<_ACEOF
45790 #define HAVE__FINITEL 1
45791 _ACEOF
45794 done
45802 LIBS="$ac_save_LIBS"
45803 CXXFLAGS="$ac_save_CXXFLAGS"
45806 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45807 ac_save_CXXFLAGS="$CXXFLAGS"
45808 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45812 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45813 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45814 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45815 $as_echo_n "(cached) " >&6
45816 else
45819 ac_ext=cpp
45820 ac_cpp='$CXXCPP $CPPFLAGS'
45821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45826 /* end confdefs.h. */
45827 #include <stdlib.h>
45829 main ()
45831 at_quick_exit(0);
45833 return 0;
45835 _ACEOF
45836 if ac_fn_cxx_try_compile "$LINENO"; then :
45837 glibcxx_cv_func_at_quick_exit_use=yes
45838 else
45839 glibcxx_cv_func_at_quick_exit_use=no
45841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45842 ac_ext=c
45843 ac_cpp='$CPP $CPPFLAGS'
45844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45853 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45854 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45855 for ac_func in at_quick_exit
45856 do :
45857 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45858 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45859 cat >>confdefs.h <<_ACEOF
45860 #define HAVE_AT_QUICK_EXIT 1
45861 _ACEOF
45864 done
45869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45870 $as_echo_n "checking for quick_exit declaration... " >&6; }
45871 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45872 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45873 $as_echo_n "(cached) " >&6
45874 else
45877 ac_ext=cpp
45878 ac_cpp='$CXXCPP $CPPFLAGS'
45879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45884 /* end confdefs.h. */
45885 #include <stdlib.h>
45887 main ()
45889 quick_exit(0);
45891 return 0;
45893 _ACEOF
45894 if ac_fn_cxx_try_compile "$LINENO"; then :
45895 glibcxx_cv_func_quick_exit_use=yes
45896 else
45897 glibcxx_cv_func_quick_exit_use=no
45899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45900 ac_ext=c
45901 ac_cpp='$CPP $CPPFLAGS'
45902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45911 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45912 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45913 for ac_func in quick_exit
45914 do :
45915 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45916 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45917 cat >>confdefs.h <<_ACEOF
45918 #define HAVE_QUICK_EXIT 1
45919 _ACEOF
45922 done
45927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45928 $as_echo_n "checking for strtold declaration... " >&6; }
45929 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45930 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45931 $as_echo_n "(cached) " >&6
45932 else
45935 ac_ext=cpp
45936 ac_cpp='$CXXCPP $CPPFLAGS'
45937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45942 /* end confdefs.h. */
45943 #include <stdlib.h>
45945 main ()
45947 strtold(0, 0);
45949 return 0;
45951 _ACEOF
45952 if ac_fn_cxx_try_compile "$LINENO"; then :
45953 glibcxx_cv_func_strtold_use=yes
45954 else
45955 glibcxx_cv_func_strtold_use=no
45957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45958 ac_ext=c
45959 ac_cpp='$CPP $CPPFLAGS'
45960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45969 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45970 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45971 for ac_func in strtold
45972 do :
45973 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45974 if test "x$ac_cv_func_strtold" = x""yes; then :
45975 cat >>confdefs.h <<_ACEOF
45976 #define HAVE_STRTOLD 1
45977 _ACEOF
45980 done
45987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45988 $as_echo_n "checking for strtof declaration... " >&6; }
45989 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45990 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45991 $as_echo_n "(cached) " >&6
45992 else
45995 ac_ext=cpp
45996 ac_cpp='$CXXCPP $CPPFLAGS'
45997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46002 /* end confdefs.h. */
46003 #include <stdlib.h>
46005 main ()
46007 strtof(0, 0);
46009 return 0;
46011 _ACEOF
46012 if ac_fn_cxx_try_compile "$LINENO"; then :
46013 glibcxx_cv_func_strtof_use=yes
46014 else
46015 glibcxx_cv_func_strtof_use=no
46017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46018 ac_ext=c
46019 ac_cpp='$CPP $CPPFLAGS'
46020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46029 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46030 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46031 for ac_func in strtof
46032 do :
46033 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46034 if test "x$ac_cv_func_strtof" = x""yes; then :
46035 cat >>confdefs.h <<_ACEOF
46036 #define HAVE_STRTOF 1
46037 _ACEOF
46040 done
46047 CXXFLAGS="$ac_save_CXXFLAGS"
46049 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46051 # We don't yet support AIX's TLS ABI.
46052 #GCC_CHECK_TLS
46058 am_save_CPPFLAGS="$CPPFLAGS"
46060 for element in $INCICONV; do
46061 haveit=
46062 for x in $CPPFLAGS; do
46064 acl_save_prefix="$prefix"
46065 prefix="$acl_final_prefix"
46066 acl_save_exec_prefix="$exec_prefix"
46067 exec_prefix="$acl_final_exec_prefix"
46068 eval x=\"$x\"
46069 exec_prefix="$acl_save_exec_prefix"
46070 prefix="$acl_save_prefix"
46072 if test "X$x" = "X$element"; then
46073 haveit=yes
46074 break
46076 done
46077 if test -z "$haveit"; then
46078 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
46080 done
46083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46084 $as_echo_n "checking for iconv... " >&6; }
46085 if test "${am_cv_func_iconv+set}" = set; then :
46086 $as_echo_n "(cached) " >&6
46087 else
46089 am_cv_func_iconv="no, consider installing GNU libiconv"
46090 am_cv_lib_iconv=no
46091 if test x$gcc_no_link = xyes; then
46092 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46095 /* end confdefs.h. */
46096 #include <stdlib.h>
46097 #include <iconv.h>
46099 main ()
46101 iconv_t cd = iconv_open("","");
46102 iconv(cd,NULL,NULL,NULL,NULL);
46103 iconv_close(cd);
46105 return 0;
46107 _ACEOF
46108 if ac_fn_c_try_link "$LINENO"; then :
46109 am_cv_func_iconv=yes
46111 rm -f core conftest.err conftest.$ac_objext \
46112 conftest$ac_exeext conftest.$ac_ext
46113 if test "$am_cv_func_iconv" != yes; then
46114 am_save_LIBS="$LIBS"
46115 LIBS="$LIBS $LIBICONV"
46116 if test x$gcc_no_link = xyes; then
46117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46120 /* end confdefs.h. */
46121 #include <stdlib.h>
46122 #include <iconv.h>
46124 main ()
46126 iconv_t cd = iconv_open("","");
46127 iconv(cd,NULL,NULL,NULL,NULL);
46128 iconv_close(cd);
46130 return 0;
46132 _ACEOF
46133 if ac_fn_c_try_link "$LINENO"; then :
46134 am_cv_lib_iconv=yes
46135 am_cv_func_iconv=yes
46137 rm -f core conftest.err conftest.$ac_objext \
46138 conftest$ac_exeext conftest.$ac_ext
46139 LIBS="$am_save_LIBS"
46143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46144 $as_echo "$am_cv_func_iconv" >&6; }
46145 if test "$am_cv_func_iconv" = yes; then
46147 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46150 if test "$am_cv_lib_iconv" = yes; then
46151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46152 $as_echo_n "checking how to link with libiconv... " >&6; }
46153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46154 $as_echo "$LIBICONV" >&6; }
46155 else
46156 CPPFLAGS="$am_save_CPPFLAGS"
46157 LIBICONV=
46158 LTLIBICONV=
46163 if test "$am_cv_func_iconv" = yes; then
46164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46165 $as_echo_n "checking for iconv declaration... " >&6; }
46166 if test "${am_cv_proto_iconv+set}" = set; then :
46167 $as_echo_n "(cached) " >&6
46168 else
46170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46171 /* end confdefs.h. */
46173 #include <stdlib.h>
46174 #include <iconv.h>
46175 extern
46176 #ifdef __cplusplus
46178 #endif
46179 #if defined(__STDC__) || defined(__cplusplus)
46180 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46181 #else
46182 size_t iconv();
46183 #endif
46186 main ()
46190 return 0;
46192 _ACEOF
46193 if ac_fn_c_try_compile "$LINENO"; then :
46194 am_cv_proto_iconv_arg1=""
46195 else
46196 am_cv_proto_iconv_arg1="const"
46198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46199 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);"
46202 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46204 }$am_cv_proto_iconv" >&5
46205 $as_echo "${ac_t:-
46206 }$am_cv_proto_iconv" >&6; }
46208 cat >>confdefs.h <<_ACEOF
46209 #define ICONV_CONST $am_cv_proto_iconv_arg1
46210 _ACEOF
46216 *-darwin*)
46217 # Darwin versions vary, but the linker should work in a cross environment,
46218 # so we just check for all the features here.
46219 # Check for available headers.
46221 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46223 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46224 ac_save_CXXFLAGS="$CXXFLAGS"
46225 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46228 $as_echo_n "checking for sin in -lm... " >&6; }
46229 if test "${ac_cv_lib_m_sin+set}" = set; then :
46230 $as_echo_n "(cached) " >&6
46231 else
46232 ac_check_lib_save_LIBS=$LIBS
46233 LIBS="-lm $LIBS"
46234 if test x$gcc_no_link = xyes; then
46235 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46238 /* end confdefs.h. */
46240 /* Override any GCC internal prototype to avoid an error.
46241 Use char because int might match the return type of a GCC
46242 builtin and then its argument prototype would still apply. */
46243 #ifdef __cplusplus
46244 extern "C"
46245 #endif
46246 char sin ();
46248 main ()
46250 return sin ();
46252 return 0;
46254 _ACEOF
46255 if ac_fn_c_try_link "$LINENO"; then :
46256 ac_cv_lib_m_sin=yes
46257 else
46258 ac_cv_lib_m_sin=no
46260 rm -f core conftest.err conftest.$ac_objext \
46261 conftest$ac_exeext conftest.$ac_ext
46262 LIBS=$ac_check_lib_save_LIBS
46264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46265 $as_echo "$ac_cv_lib_m_sin" >&6; }
46266 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46267 libm="-lm"
46270 ac_save_LIBS="$LIBS"
46271 LIBS="$LIBS $libm"
46275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46276 $as_echo_n "checking for isinf declaration... " >&6; }
46277 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46278 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46279 $as_echo_n "(cached) " >&6
46280 else
46283 ac_ext=cpp
46284 ac_cpp='$CXXCPP $CPPFLAGS'
46285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46290 /* end confdefs.h. */
46291 #include <math.h>
46292 #ifdef HAVE_IEEEFP_H
46293 #include <ieeefp.h>
46294 #endif
46297 main ()
46299 isinf(0);
46301 return 0;
46303 _ACEOF
46304 if ac_fn_cxx_try_compile "$LINENO"; then :
46305 glibcxx_cv_func_isinf_use=yes
46306 else
46307 glibcxx_cv_func_isinf_use=no
46309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46310 ac_ext=c
46311 ac_cpp='$CPP $CPPFLAGS'
46312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46321 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46323 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46324 for ac_func in isinf
46325 do :
46326 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46327 if test "x$ac_cv_func_isinf" = x""yes; then :
46328 cat >>confdefs.h <<_ACEOF
46329 #define HAVE_ISINF 1
46330 _ACEOF
46333 done
46335 else
46337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46338 $as_echo_n "checking for _isinf declaration... " >&6; }
46339 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46340 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46341 $as_echo_n "(cached) " >&6
46342 else
46345 ac_ext=cpp
46346 ac_cpp='$CXXCPP $CPPFLAGS'
46347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46352 /* end confdefs.h. */
46353 #include <math.h>
46354 #ifdef HAVE_IEEEFP_H
46355 #include <ieeefp.h>
46356 #endif
46359 main ()
46361 _isinf(0);
46363 return 0;
46365 _ACEOF
46366 if ac_fn_cxx_try_compile "$LINENO"; then :
46367 glibcxx_cv_func__isinf_use=yes
46368 else
46369 glibcxx_cv_func__isinf_use=no
46371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46372 ac_ext=c
46373 ac_cpp='$CPP $CPPFLAGS'
46374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46383 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46385 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46386 for ac_func in _isinf
46387 do :
46388 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46389 if test "x$ac_cv_func__isinf" = x""yes; then :
46390 cat >>confdefs.h <<_ACEOF
46391 #define HAVE__ISINF 1
46392 _ACEOF
46395 done
46404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46405 $as_echo_n "checking for isnan declaration... " >&6; }
46406 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46407 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46408 $as_echo_n "(cached) " >&6
46409 else
46412 ac_ext=cpp
46413 ac_cpp='$CXXCPP $CPPFLAGS'
46414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46419 /* end confdefs.h. */
46420 #include <math.h>
46421 #ifdef HAVE_IEEEFP_H
46422 #include <ieeefp.h>
46423 #endif
46426 main ()
46428 isnan(0);
46430 return 0;
46432 _ACEOF
46433 if ac_fn_cxx_try_compile "$LINENO"; then :
46434 glibcxx_cv_func_isnan_use=yes
46435 else
46436 glibcxx_cv_func_isnan_use=no
46438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46439 ac_ext=c
46440 ac_cpp='$CPP $CPPFLAGS'
46441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46450 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46452 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46453 for ac_func in isnan
46454 do :
46455 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46456 if test "x$ac_cv_func_isnan" = x""yes; then :
46457 cat >>confdefs.h <<_ACEOF
46458 #define HAVE_ISNAN 1
46459 _ACEOF
46462 done
46464 else
46466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46467 $as_echo_n "checking for _isnan declaration... " >&6; }
46468 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46469 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46470 $as_echo_n "(cached) " >&6
46471 else
46474 ac_ext=cpp
46475 ac_cpp='$CXXCPP $CPPFLAGS'
46476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46481 /* end confdefs.h. */
46482 #include <math.h>
46483 #ifdef HAVE_IEEEFP_H
46484 #include <ieeefp.h>
46485 #endif
46488 main ()
46490 _isnan(0);
46492 return 0;
46494 _ACEOF
46495 if ac_fn_cxx_try_compile "$LINENO"; then :
46496 glibcxx_cv_func__isnan_use=yes
46497 else
46498 glibcxx_cv_func__isnan_use=no
46500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46501 ac_ext=c
46502 ac_cpp='$CPP $CPPFLAGS'
46503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46512 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46514 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46515 for ac_func in _isnan
46516 do :
46517 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46518 if test "x$ac_cv_func__isnan" = x""yes; then :
46519 cat >>confdefs.h <<_ACEOF
46520 #define HAVE__ISNAN 1
46521 _ACEOF
46524 done
46533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46534 $as_echo_n "checking for finite declaration... " >&6; }
46535 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46536 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46537 $as_echo_n "(cached) " >&6
46538 else
46541 ac_ext=cpp
46542 ac_cpp='$CXXCPP $CPPFLAGS'
46543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46548 /* end confdefs.h. */
46549 #include <math.h>
46550 #ifdef HAVE_IEEEFP_H
46551 #include <ieeefp.h>
46552 #endif
46555 main ()
46557 finite(0);
46559 return 0;
46561 _ACEOF
46562 if ac_fn_cxx_try_compile "$LINENO"; then :
46563 glibcxx_cv_func_finite_use=yes
46564 else
46565 glibcxx_cv_func_finite_use=no
46567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46568 ac_ext=c
46569 ac_cpp='$CPP $CPPFLAGS'
46570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46579 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46581 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46582 for ac_func in finite
46583 do :
46584 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46585 if test "x$ac_cv_func_finite" = x""yes; then :
46586 cat >>confdefs.h <<_ACEOF
46587 #define HAVE_FINITE 1
46588 _ACEOF
46591 done
46593 else
46595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46596 $as_echo_n "checking for _finite declaration... " >&6; }
46597 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46598 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46599 $as_echo_n "(cached) " >&6
46600 else
46603 ac_ext=cpp
46604 ac_cpp='$CXXCPP $CPPFLAGS'
46605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46610 /* end confdefs.h. */
46611 #include <math.h>
46612 #ifdef HAVE_IEEEFP_H
46613 #include <ieeefp.h>
46614 #endif
46617 main ()
46619 _finite(0);
46621 return 0;
46623 _ACEOF
46624 if ac_fn_cxx_try_compile "$LINENO"; then :
46625 glibcxx_cv_func__finite_use=yes
46626 else
46627 glibcxx_cv_func__finite_use=no
46629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46630 ac_ext=c
46631 ac_cpp='$CPP $CPPFLAGS'
46632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46641 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46643 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46644 for ac_func in _finite
46645 do :
46646 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46647 if test "x$ac_cv_func__finite" = x""yes; then :
46648 cat >>confdefs.h <<_ACEOF
46649 #define HAVE__FINITE 1
46650 _ACEOF
46653 done
46662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46663 $as_echo_n "checking for sincos declaration... " >&6; }
46664 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46665 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46666 $as_echo_n "(cached) " >&6
46667 else
46670 ac_ext=cpp
46671 ac_cpp='$CXXCPP $CPPFLAGS'
46672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46677 /* end confdefs.h. */
46678 #include <math.h>
46680 main ()
46682 sincos(0, 0, 0);
46684 return 0;
46686 _ACEOF
46687 if ac_fn_cxx_try_compile "$LINENO"; then :
46688 glibcxx_cv_func_sincos_use=yes
46689 else
46690 glibcxx_cv_func_sincos_use=no
46692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46693 ac_ext=c
46694 ac_cpp='$CPP $CPPFLAGS'
46695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46704 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46706 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46707 for ac_func in sincos
46708 do :
46709 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46710 if test "x$ac_cv_func_sincos" = x""yes; then :
46711 cat >>confdefs.h <<_ACEOF
46712 #define HAVE_SINCOS 1
46713 _ACEOF
46716 done
46718 else
46720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46721 $as_echo_n "checking for _sincos declaration... " >&6; }
46722 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46723 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46724 $as_echo_n "(cached) " >&6
46725 else
46728 ac_ext=cpp
46729 ac_cpp='$CXXCPP $CPPFLAGS'
46730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46735 /* end confdefs.h. */
46736 #include <math.h>
46738 main ()
46740 _sincos(0, 0, 0);
46742 return 0;
46744 _ACEOF
46745 if ac_fn_cxx_try_compile "$LINENO"; then :
46746 glibcxx_cv_func__sincos_use=yes
46747 else
46748 glibcxx_cv_func__sincos_use=no
46750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46751 ac_ext=c
46752 ac_cpp='$CPP $CPPFLAGS'
46753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46762 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46764 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46765 for ac_func in _sincos
46766 do :
46767 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46768 if test "x$ac_cv_func__sincos" = x""yes; then :
46769 cat >>confdefs.h <<_ACEOF
46770 #define HAVE__SINCOS 1
46771 _ACEOF
46774 done
46783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46784 $as_echo_n "checking for fpclass declaration... " >&6; }
46785 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46786 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46787 $as_echo_n "(cached) " >&6
46788 else
46791 ac_ext=cpp
46792 ac_cpp='$CXXCPP $CPPFLAGS'
46793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46798 /* end confdefs.h. */
46799 #include <math.h>
46800 #ifdef HAVE_IEEEFP_H
46801 #include <ieeefp.h>
46802 #endif
46805 main ()
46807 fpclass(0);
46809 return 0;
46811 _ACEOF
46812 if ac_fn_cxx_try_compile "$LINENO"; then :
46813 glibcxx_cv_func_fpclass_use=yes
46814 else
46815 glibcxx_cv_func_fpclass_use=no
46817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46818 ac_ext=c
46819 ac_cpp='$CPP $CPPFLAGS'
46820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46829 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46831 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46832 for ac_func in fpclass
46833 do :
46834 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46835 if test "x$ac_cv_func_fpclass" = x""yes; then :
46836 cat >>confdefs.h <<_ACEOF
46837 #define HAVE_FPCLASS 1
46838 _ACEOF
46841 done
46843 else
46845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46846 $as_echo_n "checking for _fpclass declaration... " >&6; }
46847 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46848 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46849 $as_echo_n "(cached) " >&6
46850 else
46853 ac_ext=cpp
46854 ac_cpp='$CXXCPP $CPPFLAGS'
46855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46860 /* end confdefs.h. */
46861 #include <math.h>
46862 #ifdef HAVE_IEEEFP_H
46863 #include <ieeefp.h>
46864 #endif
46867 main ()
46869 _fpclass(0);
46871 return 0;
46873 _ACEOF
46874 if ac_fn_cxx_try_compile "$LINENO"; then :
46875 glibcxx_cv_func__fpclass_use=yes
46876 else
46877 glibcxx_cv_func__fpclass_use=no
46879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46880 ac_ext=c
46881 ac_cpp='$CPP $CPPFLAGS'
46882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46891 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46893 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46894 for ac_func in _fpclass
46895 do :
46896 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46897 if test "x$ac_cv_func__fpclass" = x""yes; then :
46898 cat >>confdefs.h <<_ACEOF
46899 #define HAVE__FPCLASS 1
46900 _ACEOF
46903 done
46912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46913 $as_echo_n "checking for qfpclass declaration... " >&6; }
46914 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46915 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46916 $as_echo_n "(cached) " >&6
46917 else
46920 ac_ext=cpp
46921 ac_cpp='$CXXCPP $CPPFLAGS'
46922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46927 /* end confdefs.h. */
46928 #include <math.h>
46929 #ifdef HAVE_IEEEFP_H
46930 #include <ieeefp.h>
46931 #endif
46934 main ()
46936 qfpclass(0);
46938 return 0;
46940 _ACEOF
46941 if ac_fn_cxx_try_compile "$LINENO"; then :
46942 glibcxx_cv_func_qfpclass_use=yes
46943 else
46944 glibcxx_cv_func_qfpclass_use=no
46946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46947 ac_ext=c
46948 ac_cpp='$CPP $CPPFLAGS'
46949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46958 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46960 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46961 for ac_func in qfpclass
46962 do :
46963 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46964 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46965 cat >>confdefs.h <<_ACEOF
46966 #define HAVE_QFPCLASS 1
46967 _ACEOF
46970 done
46972 else
46974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46975 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46976 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46977 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46978 $as_echo_n "(cached) " >&6
46979 else
46982 ac_ext=cpp
46983 ac_cpp='$CXXCPP $CPPFLAGS'
46984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46989 /* end confdefs.h. */
46990 #include <math.h>
46991 #ifdef HAVE_IEEEFP_H
46992 #include <ieeefp.h>
46993 #endif
46996 main ()
46998 _qfpclass(0);
47000 return 0;
47002 _ACEOF
47003 if ac_fn_cxx_try_compile "$LINENO"; then :
47004 glibcxx_cv_func__qfpclass_use=yes
47005 else
47006 glibcxx_cv_func__qfpclass_use=no
47008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47009 ac_ext=c
47010 ac_cpp='$CPP $CPPFLAGS'
47011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47020 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47022 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47023 for ac_func in _qfpclass
47024 do :
47025 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47026 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47027 cat >>confdefs.h <<_ACEOF
47028 #define HAVE__QFPCLASS 1
47029 _ACEOF
47032 done
47041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47042 $as_echo_n "checking for hypot declaration... " >&6; }
47043 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47044 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47045 $as_echo_n "(cached) " >&6
47046 else
47049 ac_ext=cpp
47050 ac_cpp='$CXXCPP $CPPFLAGS'
47051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47056 /* end confdefs.h. */
47057 #include <math.h>
47059 main ()
47061 hypot(0, 0);
47063 return 0;
47065 _ACEOF
47066 if ac_fn_cxx_try_compile "$LINENO"; then :
47067 glibcxx_cv_func_hypot_use=yes
47068 else
47069 glibcxx_cv_func_hypot_use=no
47071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47072 ac_ext=c
47073 ac_cpp='$CPP $CPPFLAGS'
47074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47083 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47085 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47086 for ac_func in hypot
47087 do :
47088 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47089 if test "x$ac_cv_func_hypot" = x""yes; then :
47090 cat >>confdefs.h <<_ACEOF
47091 #define HAVE_HYPOT 1
47092 _ACEOF
47095 done
47097 else
47099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47100 $as_echo_n "checking for _hypot declaration... " >&6; }
47101 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47102 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47103 $as_echo_n "(cached) " >&6
47104 else
47107 ac_ext=cpp
47108 ac_cpp='$CXXCPP $CPPFLAGS'
47109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47114 /* end confdefs.h. */
47115 #include <math.h>
47117 main ()
47119 _hypot(0, 0);
47121 return 0;
47123 _ACEOF
47124 if ac_fn_cxx_try_compile "$LINENO"; then :
47125 glibcxx_cv_func__hypot_use=yes
47126 else
47127 glibcxx_cv_func__hypot_use=no
47129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47130 ac_ext=c
47131 ac_cpp='$CPP $CPPFLAGS'
47132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47141 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47143 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47144 for ac_func in _hypot
47145 do :
47146 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47147 if test "x$ac_cv_func__hypot" = x""yes; then :
47148 cat >>confdefs.h <<_ACEOF
47149 #define HAVE__HYPOT 1
47150 _ACEOF
47153 done
47162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47163 $as_echo_n "checking for float trig functions... " >&6; }
47164 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47165 $as_echo_n "(cached) " >&6
47166 else
47169 ac_ext=cpp
47170 ac_cpp='$CXXCPP $CPPFLAGS'
47171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47176 /* end confdefs.h. */
47177 #include <math.h>
47179 main ()
47181 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47183 return 0;
47185 _ACEOF
47186 if ac_fn_cxx_try_compile "$LINENO"; then :
47187 glibcxx_cv_func_float_trig_use=yes
47188 else
47189 glibcxx_cv_func_float_trig_use=no
47191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47192 ac_ext=c
47193 ac_cpp='$CPP $CPPFLAGS'
47194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47201 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47202 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47203 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47204 do :
47205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47207 eval as_val=\$$as_ac_var
47208 if test "x$as_val" = x""yes; then :
47209 cat >>confdefs.h <<_ACEOF
47210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47211 _ACEOF
47214 done
47216 else
47217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47218 $as_echo_n "checking for _float trig functions... " >&6; }
47219 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47220 $as_echo_n "(cached) " >&6
47221 else
47224 ac_ext=cpp
47225 ac_cpp='$CXXCPP $CPPFLAGS'
47226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47231 /* end confdefs.h. */
47232 #include <math.h>
47234 main ()
47236 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47238 return 0;
47240 _ACEOF
47241 if ac_fn_cxx_try_compile "$LINENO"; then :
47242 glibcxx_cv_func__float_trig_use=yes
47243 else
47244 glibcxx_cv_func__float_trig_use=no
47246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47247 ac_ext=c
47248 ac_cpp='$CPP $CPPFLAGS'
47249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47256 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47257 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47258 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47259 do :
47260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47262 eval as_val=\$$as_ac_var
47263 if test "x$as_val" = x""yes; then :
47264 cat >>confdefs.h <<_ACEOF
47265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47266 _ACEOF
47269 done
47278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47279 $as_echo_n "checking for float round functions... " >&6; }
47280 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47281 $as_echo_n "(cached) " >&6
47282 else
47285 ac_ext=cpp
47286 ac_cpp='$CXXCPP $CPPFLAGS'
47287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47292 /* end confdefs.h. */
47293 #include <math.h>
47295 main ()
47297 ceilf (0); floorf (0);
47299 return 0;
47301 _ACEOF
47302 if ac_fn_cxx_try_compile "$LINENO"; then :
47303 glibcxx_cv_func_float_round_use=yes
47304 else
47305 glibcxx_cv_func_float_round_use=no
47307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47308 ac_ext=c
47309 ac_cpp='$CPP $CPPFLAGS'
47310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47317 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47318 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47319 for ac_func in ceilf floorf
47320 do :
47321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47323 eval as_val=\$$as_ac_var
47324 if test "x$as_val" = x""yes; then :
47325 cat >>confdefs.h <<_ACEOF
47326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47327 _ACEOF
47330 done
47332 else
47333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47334 $as_echo_n "checking for _float round functions... " >&6; }
47335 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47336 $as_echo_n "(cached) " >&6
47337 else
47340 ac_ext=cpp
47341 ac_cpp='$CXXCPP $CPPFLAGS'
47342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47347 /* end confdefs.h. */
47348 #include <math.h>
47350 main ()
47352 _ceilf (0); _floorf (0);
47354 return 0;
47356 _ACEOF
47357 if ac_fn_cxx_try_compile "$LINENO"; then :
47358 glibcxx_cv_func__float_round_use=yes
47359 else
47360 glibcxx_cv_func__float_round_use=no
47362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47363 ac_ext=c
47364 ac_cpp='$CPP $CPPFLAGS'
47365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47372 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47373 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47374 for ac_func in _ceilf _floorf
47375 do :
47376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47378 eval as_val=\$$as_ac_var
47379 if test "x$as_val" = x""yes; then :
47380 cat >>confdefs.h <<_ACEOF
47381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47382 _ACEOF
47385 done
47395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47396 $as_echo_n "checking for expf declaration... " >&6; }
47397 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47398 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47399 $as_echo_n "(cached) " >&6
47400 else
47403 ac_ext=cpp
47404 ac_cpp='$CXXCPP $CPPFLAGS'
47405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47410 /* end confdefs.h. */
47411 #include <math.h>
47412 #ifdef HAVE_IEEEFP_H
47413 #include <ieeefp.h>
47414 #endif
47417 main ()
47419 expf(0);
47421 return 0;
47423 _ACEOF
47424 if ac_fn_cxx_try_compile "$LINENO"; then :
47425 glibcxx_cv_func_expf_use=yes
47426 else
47427 glibcxx_cv_func_expf_use=no
47429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47430 ac_ext=c
47431 ac_cpp='$CPP $CPPFLAGS'
47432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47441 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47443 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47444 for ac_func in expf
47445 do :
47446 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47447 if test "x$ac_cv_func_expf" = x""yes; then :
47448 cat >>confdefs.h <<_ACEOF
47449 #define HAVE_EXPF 1
47450 _ACEOF
47453 done
47455 else
47457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47458 $as_echo_n "checking for _expf declaration... " >&6; }
47459 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47460 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47461 $as_echo_n "(cached) " >&6
47462 else
47465 ac_ext=cpp
47466 ac_cpp='$CXXCPP $CPPFLAGS'
47467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47472 /* end confdefs.h. */
47473 #include <math.h>
47474 #ifdef HAVE_IEEEFP_H
47475 #include <ieeefp.h>
47476 #endif
47479 main ()
47481 _expf(0);
47483 return 0;
47485 _ACEOF
47486 if ac_fn_cxx_try_compile "$LINENO"; then :
47487 glibcxx_cv_func__expf_use=yes
47488 else
47489 glibcxx_cv_func__expf_use=no
47491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47492 ac_ext=c
47493 ac_cpp='$CPP $CPPFLAGS'
47494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47503 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47505 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47506 for ac_func in _expf
47507 do :
47508 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47509 if test "x$ac_cv_func__expf" = x""yes; then :
47510 cat >>confdefs.h <<_ACEOF
47511 #define HAVE__EXPF 1
47512 _ACEOF
47515 done
47524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47525 $as_echo_n "checking for isnanf declaration... " >&6; }
47526 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47527 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47528 $as_echo_n "(cached) " >&6
47529 else
47532 ac_ext=cpp
47533 ac_cpp='$CXXCPP $CPPFLAGS'
47534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47539 /* end confdefs.h. */
47540 #include <math.h>
47541 #ifdef HAVE_IEEEFP_H
47542 #include <ieeefp.h>
47543 #endif
47546 main ()
47548 isnanf(0);
47550 return 0;
47552 _ACEOF
47553 if ac_fn_cxx_try_compile "$LINENO"; then :
47554 glibcxx_cv_func_isnanf_use=yes
47555 else
47556 glibcxx_cv_func_isnanf_use=no
47558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47559 ac_ext=c
47560 ac_cpp='$CPP $CPPFLAGS'
47561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47570 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47572 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47573 for ac_func in isnanf
47574 do :
47575 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47576 if test "x$ac_cv_func_isnanf" = x""yes; then :
47577 cat >>confdefs.h <<_ACEOF
47578 #define HAVE_ISNANF 1
47579 _ACEOF
47582 done
47584 else
47586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47587 $as_echo_n "checking for _isnanf declaration... " >&6; }
47588 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47589 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47590 $as_echo_n "(cached) " >&6
47591 else
47594 ac_ext=cpp
47595 ac_cpp='$CXXCPP $CPPFLAGS'
47596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47601 /* end confdefs.h. */
47602 #include <math.h>
47603 #ifdef HAVE_IEEEFP_H
47604 #include <ieeefp.h>
47605 #endif
47608 main ()
47610 _isnanf(0);
47612 return 0;
47614 _ACEOF
47615 if ac_fn_cxx_try_compile "$LINENO"; then :
47616 glibcxx_cv_func__isnanf_use=yes
47617 else
47618 glibcxx_cv_func__isnanf_use=no
47620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47621 ac_ext=c
47622 ac_cpp='$CPP $CPPFLAGS'
47623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47632 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47634 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47635 for ac_func in _isnanf
47636 do :
47637 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47638 if test "x$ac_cv_func__isnanf" = x""yes; then :
47639 cat >>confdefs.h <<_ACEOF
47640 #define HAVE__ISNANF 1
47641 _ACEOF
47644 done
47653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47654 $as_echo_n "checking for isinff declaration... " >&6; }
47655 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47656 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47657 $as_echo_n "(cached) " >&6
47658 else
47661 ac_ext=cpp
47662 ac_cpp='$CXXCPP $CPPFLAGS'
47663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47668 /* end confdefs.h. */
47669 #include <math.h>
47670 #ifdef HAVE_IEEEFP_H
47671 #include <ieeefp.h>
47672 #endif
47675 main ()
47677 isinff(0);
47679 return 0;
47681 _ACEOF
47682 if ac_fn_cxx_try_compile "$LINENO"; then :
47683 glibcxx_cv_func_isinff_use=yes
47684 else
47685 glibcxx_cv_func_isinff_use=no
47687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47688 ac_ext=c
47689 ac_cpp='$CPP $CPPFLAGS'
47690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47699 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47701 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47702 for ac_func in isinff
47703 do :
47704 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47705 if test "x$ac_cv_func_isinff" = x""yes; then :
47706 cat >>confdefs.h <<_ACEOF
47707 #define HAVE_ISINFF 1
47708 _ACEOF
47711 done
47713 else
47715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47716 $as_echo_n "checking for _isinff declaration... " >&6; }
47717 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47718 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47719 $as_echo_n "(cached) " >&6
47720 else
47723 ac_ext=cpp
47724 ac_cpp='$CXXCPP $CPPFLAGS'
47725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47730 /* end confdefs.h. */
47731 #include <math.h>
47732 #ifdef HAVE_IEEEFP_H
47733 #include <ieeefp.h>
47734 #endif
47737 main ()
47739 _isinff(0);
47741 return 0;
47743 _ACEOF
47744 if ac_fn_cxx_try_compile "$LINENO"; then :
47745 glibcxx_cv_func__isinff_use=yes
47746 else
47747 glibcxx_cv_func__isinff_use=no
47749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47750 ac_ext=c
47751 ac_cpp='$CPP $CPPFLAGS'
47752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47761 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47763 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47764 for ac_func in _isinff
47765 do :
47766 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47767 if test "x$ac_cv_func__isinff" = x""yes; then :
47768 cat >>confdefs.h <<_ACEOF
47769 #define HAVE__ISINFF 1
47770 _ACEOF
47773 done
47782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47783 $as_echo_n "checking for atan2f declaration... " >&6; }
47784 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47785 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47786 $as_echo_n "(cached) " >&6
47787 else
47790 ac_ext=cpp
47791 ac_cpp='$CXXCPP $CPPFLAGS'
47792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47797 /* end confdefs.h. */
47798 #include <math.h>
47800 main ()
47802 atan2f(0, 0);
47804 return 0;
47806 _ACEOF
47807 if ac_fn_cxx_try_compile "$LINENO"; then :
47808 glibcxx_cv_func_atan2f_use=yes
47809 else
47810 glibcxx_cv_func_atan2f_use=no
47812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47813 ac_ext=c
47814 ac_cpp='$CPP $CPPFLAGS'
47815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47824 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47826 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47827 for ac_func in atan2f
47828 do :
47829 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47830 if test "x$ac_cv_func_atan2f" = x""yes; then :
47831 cat >>confdefs.h <<_ACEOF
47832 #define HAVE_ATAN2F 1
47833 _ACEOF
47836 done
47838 else
47840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47841 $as_echo_n "checking for _atan2f declaration... " >&6; }
47842 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47843 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47844 $as_echo_n "(cached) " >&6
47845 else
47848 ac_ext=cpp
47849 ac_cpp='$CXXCPP $CPPFLAGS'
47850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47855 /* end confdefs.h. */
47856 #include <math.h>
47858 main ()
47860 _atan2f(0, 0);
47862 return 0;
47864 _ACEOF
47865 if ac_fn_cxx_try_compile "$LINENO"; then :
47866 glibcxx_cv_func__atan2f_use=yes
47867 else
47868 glibcxx_cv_func__atan2f_use=no
47870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47871 ac_ext=c
47872 ac_cpp='$CPP $CPPFLAGS'
47873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47882 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47884 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47885 for ac_func in _atan2f
47886 do :
47887 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47888 if test "x$ac_cv_func__atan2f" = x""yes; then :
47889 cat >>confdefs.h <<_ACEOF
47890 #define HAVE__ATAN2F 1
47891 _ACEOF
47894 done
47903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47904 $as_echo_n "checking for fabsf declaration... " >&6; }
47905 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47906 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47907 $as_echo_n "(cached) " >&6
47908 else
47911 ac_ext=cpp
47912 ac_cpp='$CXXCPP $CPPFLAGS'
47913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47918 /* end confdefs.h. */
47919 #include <math.h>
47920 #ifdef HAVE_IEEEFP_H
47921 #include <ieeefp.h>
47922 #endif
47925 main ()
47927 fabsf(0);
47929 return 0;
47931 _ACEOF
47932 if ac_fn_cxx_try_compile "$LINENO"; then :
47933 glibcxx_cv_func_fabsf_use=yes
47934 else
47935 glibcxx_cv_func_fabsf_use=no
47937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47938 ac_ext=c
47939 ac_cpp='$CPP $CPPFLAGS'
47940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47949 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47951 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47952 for ac_func in fabsf
47953 do :
47954 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47955 if test "x$ac_cv_func_fabsf" = x""yes; then :
47956 cat >>confdefs.h <<_ACEOF
47957 #define HAVE_FABSF 1
47958 _ACEOF
47961 done
47963 else
47965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47966 $as_echo_n "checking for _fabsf declaration... " >&6; }
47967 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47968 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47969 $as_echo_n "(cached) " >&6
47970 else
47973 ac_ext=cpp
47974 ac_cpp='$CXXCPP $CPPFLAGS'
47975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47980 /* end confdefs.h. */
47981 #include <math.h>
47982 #ifdef HAVE_IEEEFP_H
47983 #include <ieeefp.h>
47984 #endif
47987 main ()
47989 _fabsf(0);
47991 return 0;
47993 _ACEOF
47994 if ac_fn_cxx_try_compile "$LINENO"; then :
47995 glibcxx_cv_func__fabsf_use=yes
47996 else
47997 glibcxx_cv_func__fabsf_use=no
47999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48000 ac_ext=c
48001 ac_cpp='$CPP $CPPFLAGS'
48002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48011 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48013 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48014 for ac_func in _fabsf
48015 do :
48016 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48017 if test "x$ac_cv_func__fabsf" = x""yes; then :
48018 cat >>confdefs.h <<_ACEOF
48019 #define HAVE__FABSF 1
48020 _ACEOF
48023 done
48032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48033 $as_echo_n "checking for fmodf declaration... " >&6; }
48034 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48035 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48036 $as_echo_n "(cached) " >&6
48037 else
48040 ac_ext=cpp
48041 ac_cpp='$CXXCPP $CPPFLAGS'
48042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48047 /* end confdefs.h. */
48048 #include <math.h>
48050 main ()
48052 fmodf(0, 0);
48054 return 0;
48056 _ACEOF
48057 if ac_fn_cxx_try_compile "$LINENO"; then :
48058 glibcxx_cv_func_fmodf_use=yes
48059 else
48060 glibcxx_cv_func_fmodf_use=no
48062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48063 ac_ext=c
48064 ac_cpp='$CPP $CPPFLAGS'
48065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48074 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48076 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48077 for ac_func in fmodf
48078 do :
48079 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48080 if test "x$ac_cv_func_fmodf" = x""yes; then :
48081 cat >>confdefs.h <<_ACEOF
48082 #define HAVE_FMODF 1
48083 _ACEOF
48086 done
48088 else
48090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48091 $as_echo_n "checking for _fmodf declaration... " >&6; }
48092 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48093 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48094 $as_echo_n "(cached) " >&6
48095 else
48098 ac_ext=cpp
48099 ac_cpp='$CXXCPP $CPPFLAGS'
48100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48105 /* end confdefs.h. */
48106 #include <math.h>
48108 main ()
48110 _fmodf(0, 0);
48112 return 0;
48114 _ACEOF
48115 if ac_fn_cxx_try_compile "$LINENO"; then :
48116 glibcxx_cv_func__fmodf_use=yes
48117 else
48118 glibcxx_cv_func__fmodf_use=no
48120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48121 ac_ext=c
48122 ac_cpp='$CPP $CPPFLAGS'
48123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48132 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48134 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48135 for ac_func in _fmodf
48136 do :
48137 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48138 if test "x$ac_cv_func__fmodf" = x""yes; then :
48139 cat >>confdefs.h <<_ACEOF
48140 #define HAVE__FMODF 1
48141 _ACEOF
48144 done
48153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48154 $as_echo_n "checking for frexpf declaration... " >&6; }
48155 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48156 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48157 $as_echo_n "(cached) " >&6
48158 else
48161 ac_ext=cpp
48162 ac_cpp='$CXXCPP $CPPFLAGS'
48163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48168 /* end confdefs.h. */
48169 #include <math.h>
48171 main ()
48173 frexpf(0, 0);
48175 return 0;
48177 _ACEOF
48178 if ac_fn_cxx_try_compile "$LINENO"; then :
48179 glibcxx_cv_func_frexpf_use=yes
48180 else
48181 glibcxx_cv_func_frexpf_use=no
48183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48184 ac_ext=c
48185 ac_cpp='$CPP $CPPFLAGS'
48186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48195 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48197 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48198 for ac_func in frexpf
48199 do :
48200 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48201 if test "x$ac_cv_func_frexpf" = x""yes; then :
48202 cat >>confdefs.h <<_ACEOF
48203 #define HAVE_FREXPF 1
48204 _ACEOF
48207 done
48209 else
48211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48212 $as_echo_n "checking for _frexpf declaration... " >&6; }
48213 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48214 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48215 $as_echo_n "(cached) " >&6
48216 else
48219 ac_ext=cpp
48220 ac_cpp='$CXXCPP $CPPFLAGS'
48221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48226 /* end confdefs.h. */
48227 #include <math.h>
48229 main ()
48231 _frexpf(0, 0);
48233 return 0;
48235 _ACEOF
48236 if ac_fn_cxx_try_compile "$LINENO"; then :
48237 glibcxx_cv_func__frexpf_use=yes
48238 else
48239 glibcxx_cv_func__frexpf_use=no
48241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48242 ac_ext=c
48243 ac_cpp='$CPP $CPPFLAGS'
48244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48253 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48255 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48256 for ac_func in _frexpf
48257 do :
48258 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48259 if test "x$ac_cv_func__frexpf" = x""yes; then :
48260 cat >>confdefs.h <<_ACEOF
48261 #define HAVE__FREXPF 1
48262 _ACEOF
48265 done
48274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48275 $as_echo_n "checking for hypotf declaration... " >&6; }
48276 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48277 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48278 $as_echo_n "(cached) " >&6
48279 else
48282 ac_ext=cpp
48283 ac_cpp='$CXXCPP $CPPFLAGS'
48284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48289 /* end confdefs.h. */
48290 #include <math.h>
48292 main ()
48294 hypotf(0, 0);
48296 return 0;
48298 _ACEOF
48299 if ac_fn_cxx_try_compile "$LINENO"; then :
48300 glibcxx_cv_func_hypotf_use=yes
48301 else
48302 glibcxx_cv_func_hypotf_use=no
48304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48305 ac_ext=c
48306 ac_cpp='$CPP $CPPFLAGS'
48307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48316 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48318 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48319 for ac_func in hypotf
48320 do :
48321 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48322 if test "x$ac_cv_func_hypotf" = x""yes; then :
48323 cat >>confdefs.h <<_ACEOF
48324 #define HAVE_HYPOTF 1
48325 _ACEOF
48328 done
48330 else
48332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48333 $as_echo_n "checking for _hypotf declaration... " >&6; }
48334 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48335 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48336 $as_echo_n "(cached) " >&6
48337 else
48340 ac_ext=cpp
48341 ac_cpp='$CXXCPP $CPPFLAGS'
48342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48347 /* end confdefs.h. */
48348 #include <math.h>
48350 main ()
48352 _hypotf(0, 0);
48354 return 0;
48356 _ACEOF
48357 if ac_fn_cxx_try_compile "$LINENO"; then :
48358 glibcxx_cv_func__hypotf_use=yes
48359 else
48360 glibcxx_cv_func__hypotf_use=no
48362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48363 ac_ext=c
48364 ac_cpp='$CPP $CPPFLAGS'
48365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48374 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48376 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48377 for ac_func in _hypotf
48378 do :
48379 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48380 if test "x$ac_cv_func__hypotf" = x""yes; then :
48381 cat >>confdefs.h <<_ACEOF
48382 #define HAVE__HYPOTF 1
48383 _ACEOF
48386 done
48395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48396 $as_echo_n "checking for ldexpf declaration... " >&6; }
48397 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48398 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48399 $as_echo_n "(cached) " >&6
48400 else
48403 ac_ext=cpp
48404 ac_cpp='$CXXCPP $CPPFLAGS'
48405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48410 /* end confdefs.h. */
48411 #include <math.h>
48413 main ()
48415 ldexpf(0, 0);
48417 return 0;
48419 _ACEOF
48420 if ac_fn_cxx_try_compile "$LINENO"; then :
48421 glibcxx_cv_func_ldexpf_use=yes
48422 else
48423 glibcxx_cv_func_ldexpf_use=no
48425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48426 ac_ext=c
48427 ac_cpp='$CPP $CPPFLAGS'
48428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48437 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48439 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48440 for ac_func in ldexpf
48441 do :
48442 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48443 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48444 cat >>confdefs.h <<_ACEOF
48445 #define HAVE_LDEXPF 1
48446 _ACEOF
48449 done
48451 else
48453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48454 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48455 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48456 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48457 $as_echo_n "(cached) " >&6
48458 else
48461 ac_ext=cpp
48462 ac_cpp='$CXXCPP $CPPFLAGS'
48463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48468 /* end confdefs.h. */
48469 #include <math.h>
48471 main ()
48473 _ldexpf(0, 0);
48475 return 0;
48477 _ACEOF
48478 if ac_fn_cxx_try_compile "$LINENO"; then :
48479 glibcxx_cv_func__ldexpf_use=yes
48480 else
48481 glibcxx_cv_func__ldexpf_use=no
48483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48484 ac_ext=c
48485 ac_cpp='$CPP $CPPFLAGS'
48486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48495 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48497 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48498 for ac_func in _ldexpf
48499 do :
48500 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48501 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48502 cat >>confdefs.h <<_ACEOF
48503 #define HAVE__LDEXPF 1
48504 _ACEOF
48507 done
48516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48517 $as_echo_n "checking for logf declaration... " >&6; }
48518 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48519 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48520 $as_echo_n "(cached) " >&6
48521 else
48524 ac_ext=cpp
48525 ac_cpp='$CXXCPP $CPPFLAGS'
48526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48531 /* end confdefs.h. */
48532 #include <math.h>
48533 #ifdef HAVE_IEEEFP_H
48534 #include <ieeefp.h>
48535 #endif
48538 main ()
48540 logf(0);
48542 return 0;
48544 _ACEOF
48545 if ac_fn_cxx_try_compile "$LINENO"; then :
48546 glibcxx_cv_func_logf_use=yes
48547 else
48548 glibcxx_cv_func_logf_use=no
48550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48551 ac_ext=c
48552 ac_cpp='$CPP $CPPFLAGS'
48553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48562 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48564 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48565 for ac_func in logf
48566 do :
48567 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48568 if test "x$ac_cv_func_logf" = x""yes; then :
48569 cat >>confdefs.h <<_ACEOF
48570 #define HAVE_LOGF 1
48571 _ACEOF
48574 done
48576 else
48578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48579 $as_echo_n "checking for _logf declaration... " >&6; }
48580 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48581 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48582 $as_echo_n "(cached) " >&6
48583 else
48586 ac_ext=cpp
48587 ac_cpp='$CXXCPP $CPPFLAGS'
48588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48593 /* end confdefs.h. */
48594 #include <math.h>
48595 #ifdef HAVE_IEEEFP_H
48596 #include <ieeefp.h>
48597 #endif
48600 main ()
48602 _logf(0);
48604 return 0;
48606 _ACEOF
48607 if ac_fn_cxx_try_compile "$LINENO"; then :
48608 glibcxx_cv_func__logf_use=yes
48609 else
48610 glibcxx_cv_func__logf_use=no
48612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48613 ac_ext=c
48614 ac_cpp='$CPP $CPPFLAGS'
48615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48624 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48626 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48627 for ac_func in _logf
48628 do :
48629 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48630 if test "x$ac_cv_func__logf" = x""yes; then :
48631 cat >>confdefs.h <<_ACEOF
48632 #define HAVE__LOGF 1
48633 _ACEOF
48636 done
48645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48646 $as_echo_n "checking for log10f declaration... " >&6; }
48647 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48648 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48649 $as_echo_n "(cached) " >&6
48650 else
48653 ac_ext=cpp
48654 ac_cpp='$CXXCPP $CPPFLAGS'
48655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48660 /* end confdefs.h. */
48661 #include <math.h>
48662 #ifdef HAVE_IEEEFP_H
48663 #include <ieeefp.h>
48664 #endif
48667 main ()
48669 log10f(0);
48671 return 0;
48673 _ACEOF
48674 if ac_fn_cxx_try_compile "$LINENO"; then :
48675 glibcxx_cv_func_log10f_use=yes
48676 else
48677 glibcxx_cv_func_log10f_use=no
48679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48680 ac_ext=c
48681 ac_cpp='$CPP $CPPFLAGS'
48682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48691 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48693 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48694 for ac_func in log10f
48695 do :
48696 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48697 if test "x$ac_cv_func_log10f" = x""yes; then :
48698 cat >>confdefs.h <<_ACEOF
48699 #define HAVE_LOG10F 1
48700 _ACEOF
48703 done
48705 else
48707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48708 $as_echo_n "checking for _log10f declaration... " >&6; }
48709 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48710 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48711 $as_echo_n "(cached) " >&6
48712 else
48715 ac_ext=cpp
48716 ac_cpp='$CXXCPP $CPPFLAGS'
48717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48722 /* end confdefs.h. */
48723 #include <math.h>
48724 #ifdef HAVE_IEEEFP_H
48725 #include <ieeefp.h>
48726 #endif
48729 main ()
48731 _log10f(0);
48733 return 0;
48735 _ACEOF
48736 if ac_fn_cxx_try_compile "$LINENO"; then :
48737 glibcxx_cv_func__log10f_use=yes
48738 else
48739 glibcxx_cv_func__log10f_use=no
48741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48742 ac_ext=c
48743 ac_cpp='$CPP $CPPFLAGS'
48744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48753 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48755 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48756 for ac_func in _log10f
48757 do :
48758 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48759 if test "x$ac_cv_func__log10f" = x""yes; then :
48760 cat >>confdefs.h <<_ACEOF
48761 #define HAVE__LOG10F 1
48762 _ACEOF
48765 done
48774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48775 $as_echo_n "checking for modff declaration... " >&6; }
48776 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48777 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48778 $as_echo_n "(cached) " >&6
48779 else
48782 ac_ext=cpp
48783 ac_cpp='$CXXCPP $CPPFLAGS'
48784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48789 /* end confdefs.h. */
48790 #include <math.h>
48792 main ()
48794 modff(0, 0);
48796 return 0;
48798 _ACEOF
48799 if ac_fn_cxx_try_compile "$LINENO"; then :
48800 glibcxx_cv_func_modff_use=yes
48801 else
48802 glibcxx_cv_func_modff_use=no
48804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48805 ac_ext=c
48806 ac_cpp='$CPP $CPPFLAGS'
48807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48816 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48818 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48819 for ac_func in modff
48820 do :
48821 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48822 if test "x$ac_cv_func_modff" = x""yes; then :
48823 cat >>confdefs.h <<_ACEOF
48824 #define HAVE_MODFF 1
48825 _ACEOF
48828 done
48830 else
48832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48833 $as_echo_n "checking for _modff declaration... " >&6; }
48834 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48835 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48836 $as_echo_n "(cached) " >&6
48837 else
48840 ac_ext=cpp
48841 ac_cpp='$CXXCPP $CPPFLAGS'
48842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48847 /* end confdefs.h. */
48848 #include <math.h>
48850 main ()
48852 _modff(0, 0);
48854 return 0;
48856 _ACEOF
48857 if ac_fn_cxx_try_compile "$LINENO"; then :
48858 glibcxx_cv_func__modff_use=yes
48859 else
48860 glibcxx_cv_func__modff_use=no
48862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48863 ac_ext=c
48864 ac_cpp='$CPP $CPPFLAGS'
48865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48874 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48876 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48877 for ac_func in _modff
48878 do :
48879 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48880 if test "x$ac_cv_func__modff" = x""yes; then :
48881 cat >>confdefs.h <<_ACEOF
48882 #define HAVE__MODFF 1
48883 _ACEOF
48886 done
48895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48896 $as_echo_n "checking for modf declaration... " >&6; }
48897 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48898 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48899 $as_echo_n "(cached) " >&6
48900 else
48903 ac_ext=cpp
48904 ac_cpp='$CXXCPP $CPPFLAGS'
48905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48910 /* end confdefs.h. */
48911 #include <math.h>
48913 main ()
48915 modf(0, 0);
48917 return 0;
48919 _ACEOF
48920 if ac_fn_cxx_try_compile "$LINENO"; then :
48921 glibcxx_cv_func_modf_use=yes
48922 else
48923 glibcxx_cv_func_modf_use=no
48925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48926 ac_ext=c
48927 ac_cpp='$CPP $CPPFLAGS'
48928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48937 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48939 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48940 for ac_func in modf
48941 do :
48942 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48943 if test "x$ac_cv_func_modf" = x""yes; then :
48944 cat >>confdefs.h <<_ACEOF
48945 #define HAVE_MODF 1
48946 _ACEOF
48949 done
48951 else
48953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48954 $as_echo_n "checking for _modf declaration... " >&6; }
48955 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48956 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48957 $as_echo_n "(cached) " >&6
48958 else
48961 ac_ext=cpp
48962 ac_cpp='$CXXCPP $CPPFLAGS'
48963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48968 /* end confdefs.h. */
48969 #include <math.h>
48971 main ()
48973 _modf(0, 0);
48975 return 0;
48977 _ACEOF
48978 if ac_fn_cxx_try_compile "$LINENO"; then :
48979 glibcxx_cv_func__modf_use=yes
48980 else
48981 glibcxx_cv_func__modf_use=no
48983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48984 ac_ext=c
48985 ac_cpp='$CPP $CPPFLAGS'
48986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48995 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48997 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48998 for ac_func in _modf
48999 do :
49000 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49001 if test "x$ac_cv_func__modf" = x""yes; then :
49002 cat >>confdefs.h <<_ACEOF
49003 #define HAVE__MODF 1
49004 _ACEOF
49007 done
49016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49017 $as_echo_n "checking for powf declaration... " >&6; }
49018 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49019 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49020 $as_echo_n "(cached) " >&6
49021 else
49024 ac_ext=cpp
49025 ac_cpp='$CXXCPP $CPPFLAGS'
49026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49031 /* end confdefs.h. */
49032 #include <math.h>
49034 main ()
49036 powf(0, 0);
49038 return 0;
49040 _ACEOF
49041 if ac_fn_cxx_try_compile "$LINENO"; then :
49042 glibcxx_cv_func_powf_use=yes
49043 else
49044 glibcxx_cv_func_powf_use=no
49046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49047 ac_ext=c
49048 ac_cpp='$CPP $CPPFLAGS'
49049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49058 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49060 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49061 for ac_func in powf
49062 do :
49063 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49064 if test "x$ac_cv_func_powf" = x""yes; then :
49065 cat >>confdefs.h <<_ACEOF
49066 #define HAVE_POWF 1
49067 _ACEOF
49070 done
49072 else
49074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49075 $as_echo_n "checking for _powf declaration... " >&6; }
49076 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49077 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49078 $as_echo_n "(cached) " >&6
49079 else
49082 ac_ext=cpp
49083 ac_cpp='$CXXCPP $CPPFLAGS'
49084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49089 /* end confdefs.h. */
49090 #include <math.h>
49092 main ()
49094 _powf(0, 0);
49096 return 0;
49098 _ACEOF
49099 if ac_fn_cxx_try_compile "$LINENO"; then :
49100 glibcxx_cv_func__powf_use=yes
49101 else
49102 glibcxx_cv_func__powf_use=no
49104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49105 ac_ext=c
49106 ac_cpp='$CPP $CPPFLAGS'
49107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49116 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49118 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49119 for ac_func in _powf
49120 do :
49121 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49122 if test "x$ac_cv_func__powf" = x""yes; then :
49123 cat >>confdefs.h <<_ACEOF
49124 #define HAVE__POWF 1
49125 _ACEOF
49128 done
49137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49138 $as_echo_n "checking for sqrtf declaration... " >&6; }
49139 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49140 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49141 $as_echo_n "(cached) " >&6
49142 else
49145 ac_ext=cpp
49146 ac_cpp='$CXXCPP $CPPFLAGS'
49147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49152 /* end confdefs.h. */
49153 #include <math.h>
49154 #ifdef HAVE_IEEEFP_H
49155 #include <ieeefp.h>
49156 #endif
49159 main ()
49161 sqrtf(0);
49163 return 0;
49165 _ACEOF
49166 if ac_fn_cxx_try_compile "$LINENO"; then :
49167 glibcxx_cv_func_sqrtf_use=yes
49168 else
49169 glibcxx_cv_func_sqrtf_use=no
49171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49172 ac_ext=c
49173 ac_cpp='$CPP $CPPFLAGS'
49174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49183 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49185 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49186 for ac_func in sqrtf
49187 do :
49188 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49189 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49190 cat >>confdefs.h <<_ACEOF
49191 #define HAVE_SQRTF 1
49192 _ACEOF
49195 done
49197 else
49199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49200 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49201 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49202 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49203 $as_echo_n "(cached) " >&6
49204 else
49207 ac_ext=cpp
49208 ac_cpp='$CXXCPP $CPPFLAGS'
49209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49214 /* end confdefs.h. */
49215 #include <math.h>
49216 #ifdef HAVE_IEEEFP_H
49217 #include <ieeefp.h>
49218 #endif
49221 main ()
49223 _sqrtf(0);
49225 return 0;
49227 _ACEOF
49228 if ac_fn_cxx_try_compile "$LINENO"; then :
49229 glibcxx_cv_func__sqrtf_use=yes
49230 else
49231 glibcxx_cv_func__sqrtf_use=no
49233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49234 ac_ext=c
49235 ac_cpp='$CPP $CPPFLAGS'
49236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49245 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49247 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49248 for ac_func in _sqrtf
49249 do :
49250 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49251 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49252 cat >>confdefs.h <<_ACEOF
49253 #define HAVE__SQRTF 1
49254 _ACEOF
49257 done
49266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49267 $as_echo_n "checking for sincosf declaration... " >&6; }
49268 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49269 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49270 $as_echo_n "(cached) " >&6
49271 else
49274 ac_ext=cpp
49275 ac_cpp='$CXXCPP $CPPFLAGS'
49276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49281 /* end confdefs.h. */
49282 #include <math.h>
49284 main ()
49286 sincosf(0, 0, 0);
49288 return 0;
49290 _ACEOF
49291 if ac_fn_cxx_try_compile "$LINENO"; then :
49292 glibcxx_cv_func_sincosf_use=yes
49293 else
49294 glibcxx_cv_func_sincosf_use=no
49296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49297 ac_ext=c
49298 ac_cpp='$CPP $CPPFLAGS'
49299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49308 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49310 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49311 for ac_func in sincosf
49312 do :
49313 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49314 if test "x$ac_cv_func_sincosf" = x""yes; then :
49315 cat >>confdefs.h <<_ACEOF
49316 #define HAVE_SINCOSF 1
49317 _ACEOF
49320 done
49322 else
49324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49325 $as_echo_n "checking for _sincosf declaration... " >&6; }
49326 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49327 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49328 $as_echo_n "(cached) " >&6
49329 else
49332 ac_ext=cpp
49333 ac_cpp='$CXXCPP $CPPFLAGS'
49334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49339 /* end confdefs.h. */
49340 #include <math.h>
49342 main ()
49344 _sincosf(0, 0, 0);
49346 return 0;
49348 _ACEOF
49349 if ac_fn_cxx_try_compile "$LINENO"; then :
49350 glibcxx_cv_func__sincosf_use=yes
49351 else
49352 glibcxx_cv_func__sincosf_use=no
49354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49355 ac_ext=c
49356 ac_cpp='$CPP $CPPFLAGS'
49357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49366 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49368 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49369 for ac_func in _sincosf
49370 do :
49371 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49372 if test "x$ac_cv_func__sincosf" = x""yes; then :
49373 cat >>confdefs.h <<_ACEOF
49374 #define HAVE__SINCOSF 1
49375 _ACEOF
49378 done
49387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49388 $as_echo_n "checking for finitef declaration... " >&6; }
49389 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49390 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49391 $as_echo_n "(cached) " >&6
49392 else
49395 ac_ext=cpp
49396 ac_cpp='$CXXCPP $CPPFLAGS'
49397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49402 /* end confdefs.h. */
49403 #include <math.h>
49404 #ifdef HAVE_IEEEFP_H
49405 #include <ieeefp.h>
49406 #endif
49409 main ()
49411 finitef(0);
49413 return 0;
49415 _ACEOF
49416 if ac_fn_cxx_try_compile "$LINENO"; then :
49417 glibcxx_cv_func_finitef_use=yes
49418 else
49419 glibcxx_cv_func_finitef_use=no
49421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49422 ac_ext=c
49423 ac_cpp='$CPP $CPPFLAGS'
49424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49433 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49435 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49436 for ac_func in finitef
49437 do :
49438 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49439 if test "x$ac_cv_func_finitef" = x""yes; then :
49440 cat >>confdefs.h <<_ACEOF
49441 #define HAVE_FINITEF 1
49442 _ACEOF
49445 done
49447 else
49449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49450 $as_echo_n "checking for _finitef declaration... " >&6; }
49451 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49452 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49453 $as_echo_n "(cached) " >&6
49454 else
49457 ac_ext=cpp
49458 ac_cpp='$CXXCPP $CPPFLAGS'
49459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49464 /* end confdefs.h. */
49465 #include <math.h>
49466 #ifdef HAVE_IEEEFP_H
49467 #include <ieeefp.h>
49468 #endif
49471 main ()
49473 _finitef(0);
49475 return 0;
49477 _ACEOF
49478 if ac_fn_cxx_try_compile "$LINENO"; then :
49479 glibcxx_cv_func__finitef_use=yes
49480 else
49481 glibcxx_cv_func__finitef_use=no
49483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49484 ac_ext=c
49485 ac_cpp='$CPP $CPPFLAGS'
49486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49495 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49497 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49498 for ac_func in _finitef
49499 do :
49500 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49501 if test "x$ac_cv_func__finitef" = x""yes; then :
49502 cat >>confdefs.h <<_ACEOF
49503 #define HAVE__FINITEF 1
49504 _ACEOF
49507 done
49516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49517 $as_echo_n "checking for long double trig functions... " >&6; }
49518 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49519 $as_echo_n "(cached) " >&6
49520 else
49523 ac_ext=cpp
49524 ac_cpp='$CXXCPP $CPPFLAGS'
49525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49530 /* end confdefs.h. */
49531 #include <math.h>
49533 main ()
49535 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49537 return 0;
49539 _ACEOF
49540 if ac_fn_cxx_try_compile "$LINENO"; then :
49541 glibcxx_cv_func_long_double_trig_use=yes
49542 else
49543 glibcxx_cv_func_long_double_trig_use=no
49545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49546 ac_ext=c
49547 ac_cpp='$CPP $CPPFLAGS'
49548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49555 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49556 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49557 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49558 do :
49559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49561 eval as_val=\$$as_ac_var
49562 if test "x$as_val" = x""yes; then :
49563 cat >>confdefs.h <<_ACEOF
49564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49565 _ACEOF
49568 done
49570 else
49571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49572 $as_echo_n "checking for _long double trig functions... " >&6; }
49573 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49574 $as_echo_n "(cached) " >&6
49575 else
49578 ac_ext=cpp
49579 ac_cpp='$CXXCPP $CPPFLAGS'
49580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49585 /* end confdefs.h. */
49586 #include <math.h>
49588 main ()
49590 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49592 return 0;
49594 _ACEOF
49595 if ac_fn_cxx_try_compile "$LINENO"; then :
49596 glibcxx_cv_func__long_double_trig_use=yes
49597 else
49598 glibcxx_cv_func__long_double_trig_use=no
49600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49601 ac_ext=c
49602 ac_cpp='$CPP $CPPFLAGS'
49603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49610 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49611 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49612 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49613 do :
49614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49616 eval as_val=\$$as_ac_var
49617 if test "x$as_val" = x""yes; then :
49618 cat >>confdefs.h <<_ACEOF
49619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49620 _ACEOF
49623 done
49632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49633 $as_echo_n "checking for long double round functions... " >&6; }
49634 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49635 $as_echo_n "(cached) " >&6
49636 else
49639 ac_ext=cpp
49640 ac_cpp='$CXXCPP $CPPFLAGS'
49641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49646 /* end confdefs.h. */
49647 #include <math.h>
49649 main ()
49651 ceill (0); floorl (0);
49653 return 0;
49655 _ACEOF
49656 if ac_fn_cxx_try_compile "$LINENO"; then :
49657 glibcxx_cv_func_long_double_round_use=yes
49658 else
49659 glibcxx_cv_func_long_double_round_use=no
49661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49662 ac_ext=c
49663 ac_cpp='$CPP $CPPFLAGS'
49664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49671 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49672 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49673 for ac_func in ceill floorl
49674 do :
49675 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49677 eval as_val=\$$as_ac_var
49678 if test "x$as_val" = x""yes; then :
49679 cat >>confdefs.h <<_ACEOF
49680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49681 _ACEOF
49684 done
49686 else
49687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49688 $as_echo_n "checking for _long double round functions... " >&6; }
49689 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49690 $as_echo_n "(cached) " >&6
49691 else
49694 ac_ext=cpp
49695 ac_cpp='$CXXCPP $CPPFLAGS'
49696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49701 /* end confdefs.h. */
49702 #include <math.h>
49704 main ()
49706 _ceill (0); _floorl (0);
49708 return 0;
49710 _ACEOF
49711 if ac_fn_cxx_try_compile "$LINENO"; then :
49712 glibcxx_cv_func__long_double_round_use=yes
49713 else
49714 glibcxx_cv_func__long_double_round_use=no
49716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49717 ac_ext=c
49718 ac_cpp='$CPP $CPPFLAGS'
49719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49726 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49727 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49728 for ac_func in _ceill _floorl
49729 do :
49730 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49732 eval as_val=\$$as_ac_var
49733 if test "x$as_val" = x""yes; then :
49734 cat >>confdefs.h <<_ACEOF
49735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49736 _ACEOF
49739 done
49749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49750 $as_echo_n "checking for isnanl declaration... " >&6; }
49751 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49752 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49753 $as_echo_n "(cached) " >&6
49754 else
49757 ac_ext=cpp
49758 ac_cpp='$CXXCPP $CPPFLAGS'
49759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49764 /* end confdefs.h. */
49765 #include <math.h>
49766 #ifdef HAVE_IEEEFP_H
49767 #include <ieeefp.h>
49768 #endif
49771 main ()
49773 isnanl(0);
49775 return 0;
49777 _ACEOF
49778 if ac_fn_cxx_try_compile "$LINENO"; then :
49779 glibcxx_cv_func_isnanl_use=yes
49780 else
49781 glibcxx_cv_func_isnanl_use=no
49783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49784 ac_ext=c
49785 ac_cpp='$CPP $CPPFLAGS'
49786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49795 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49797 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49798 for ac_func in isnanl
49799 do :
49800 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49801 if test "x$ac_cv_func_isnanl" = x""yes; then :
49802 cat >>confdefs.h <<_ACEOF
49803 #define HAVE_ISNANL 1
49804 _ACEOF
49807 done
49809 else
49811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49812 $as_echo_n "checking for _isnanl declaration... " >&6; }
49813 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49814 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49815 $as_echo_n "(cached) " >&6
49816 else
49819 ac_ext=cpp
49820 ac_cpp='$CXXCPP $CPPFLAGS'
49821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49826 /* end confdefs.h. */
49827 #include <math.h>
49828 #ifdef HAVE_IEEEFP_H
49829 #include <ieeefp.h>
49830 #endif
49833 main ()
49835 _isnanl(0);
49837 return 0;
49839 _ACEOF
49840 if ac_fn_cxx_try_compile "$LINENO"; then :
49841 glibcxx_cv_func__isnanl_use=yes
49842 else
49843 glibcxx_cv_func__isnanl_use=no
49845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49846 ac_ext=c
49847 ac_cpp='$CPP $CPPFLAGS'
49848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49857 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49859 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49860 for ac_func in _isnanl
49861 do :
49862 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49863 if test "x$ac_cv_func__isnanl" = x""yes; then :
49864 cat >>confdefs.h <<_ACEOF
49865 #define HAVE__ISNANL 1
49866 _ACEOF
49869 done
49878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49879 $as_echo_n "checking for isinfl declaration... " >&6; }
49880 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49881 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49882 $as_echo_n "(cached) " >&6
49883 else
49886 ac_ext=cpp
49887 ac_cpp='$CXXCPP $CPPFLAGS'
49888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49893 /* end confdefs.h. */
49894 #include <math.h>
49895 #ifdef HAVE_IEEEFP_H
49896 #include <ieeefp.h>
49897 #endif
49900 main ()
49902 isinfl(0);
49904 return 0;
49906 _ACEOF
49907 if ac_fn_cxx_try_compile "$LINENO"; then :
49908 glibcxx_cv_func_isinfl_use=yes
49909 else
49910 glibcxx_cv_func_isinfl_use=no
49912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49913 ac_ext=c
49914 ac_cpp='$CPP $CPPFLAGS'
49915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49924 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49926 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49927 for ac_func in isinfl
49928 do :
49929 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49930 if test "x$ac_cv_func_isinfl" = x""yes; then :
49931 cat >>confdefs.h <<_ACEOF
49932 #define HAVE_ISINFL 1
49933 _ACEOF
49936 done
49938 else
49940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49941 $as_echo_n "checking for _isinfl declaration... " >&6; }
49942 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49943 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49944 $as_echo_n "(cached) " >&6
49945 else
49948 ac_ext=cpp
49949 ac_cpp='$CXXCPP $CPPFLAGS'
49950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49955 /* end confdefs.h. */
49956 #include <math.h>
49957 #ifdef HAVE_IEEEFP_H
49958 #include <ieeefp.h>
49959 #endif
49962 main ()
49964 _isinfl(0);
49966 return 0;
49968 _ACEOF
49969 if ac_fn_cxx_try_compile "$LINENO"; then :
49970 glibcxx_cv_func__isinfl_use=yes
49971 else
49972 glibcxx_cv_func__isinfl_use=no
49974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49975 ac_ext=c
49976 ac_cpp='$CPP $CPPFLAGS'
49977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49986 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49988 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49989 for ac_func in _isinfl
49990 do :
49991 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49992 if test "x$ac_cv_func__isinfl" = x""yes; then :
49993 cat >>confdefs.h <<_ACEOF
49994 #define HAVE__ISINFL 1
49995 _ACEOF
49998 done
50007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50008 $as_echo_n "checking for atan2l declaration... " >&6; }
50009 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50010 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50011 $as_echo_n "(cached) " >&6
50012 else
50015 ac_ext=cpp
50016 ac_cpp='$CXXCPP $CPPFLAGS'
50017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50022 /* end confdefs.h. */
50023 #include <math.h>
50025 main ()
50027 atan2l(0, 0);
50029 return 0;
50031 _ACEOF
50032 if ac_fn_cxx_try_compile "$LINENO"; then :
50033 glibcxx_cv_func_atan2l_use=yes
50034 else
50035 glibcxx_cv_func_atan2l_use=no
50037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50038 ac_ext=c
50039 ac_cpp='$CPP $CPPFLAGS'
50040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50049 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50051 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50052 for ac_func in atan2l
50053 do :
50054 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50055 if test "x$ac_cv_func_atan2l" = x""yes; then :
50056 cat >>confdefs.h <<_ACEOF
50057 #define HAVE_ATAN2L 1
50058 _ACEOF
50061 done
50063 else
50065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50066 $as_echo_n "checking for _atan2l declaration... " >&6; }
50067 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50068 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50069 $as_echo_n "(cached) " >&6
50070 else
50073 ac_ext=cpp
50074 ac_cpp='$CXXCPP $CPPFLAGS'
50075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50080 /* end confdefs.h. */
50081 #include <math.h>
50083 main ()
50085 _atan2l(0, 0);
50087 return 0;
50089 _ACEOF
50090 if ac_fn_cxx_try_compile "$LINENO"; then :
50091 glibcxx_cv_func__atan2l_use=yes
50092 else
50093 glibcxx_cv_func__atan2l_use=no
50095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50096 ac_ext=c
50097 ac_cpp='$CPP $CPPFLAGS'
50098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50107 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50109 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50110 for ac_func in _atan2l
50111 do :
50112 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50113 if test "x$ac_cv_func__atan2l" = x""yes; then :
50114 cat >>confdefs.h <<_ACEOF
50115 #define HAVE__ATAN2L 1
50116 _ACEOF
50119 done
50128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50129 $as_echo_n "checking for expl declaration... " >&6; }
50130 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50131 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50132 $as_echo_n "(cached) " >&6
50133 else
50136 ac_ext=cpp
50137 ac_cpp='$CXXCPP $CPPFLAGS'
50138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50143 /* end confdefs.h. */
50144 #include <math.h>
50145 #ifdef HAVE_IEEEFP_H
50146 #include <ieeefp.h>
50147 #endif
50150 main ()
50152 expl(0);
50154 return 0;
50156 _ACEOF
50157 if ac_fn_cxx_try_compile "$LINENO"; then :
50158 glibcxx_cv_func_expl_use=yes
50159 else
50160 glibcxx_cv_func_expl_use=no
50162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50163 ac_ext=c
50164 ac_cpp='$CPP $CPPFLAGS'
50165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50174 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50176 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50177 for ac_func in expl
50178 do :
50179 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50180 if test "x$ac_cv_func_expl" = x""yes; then :
50181 cat >>confdefs.h <<_ACEOF
50182 #define HAVE_EXPL 1
50183 _ACEOF
50186 done
50188 else
50190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50191 $as_echo_n "checking for _expl declaration... " >&6; }
50192 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50193 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50194 $as_echo_n "(cached) " >&6
50195 else
50198 ac_ext=cpp
50199 ac_cpp='$CXXCPP $CPPFLAGS'
50200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50205 /* end confdefs.h. */
50206 #include <math.h>
50207 #ifdef HAVE_IEEEFP_H
50208 #include <ieeefp.h>
50209 #endif
50212 main ()
50214 _expl(0);
50216 return 0;
50218 _ACEOF
50219 if ac_fn_cxx_try_compile "$LINENO"; then :
50220 glibcxx_cv_func__expl_use=yes
50221 else
50222 glibcxx_cv_func__expl_use=no
50224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50225 ac_ext=c
50226 ac_cpp='$CPP $CPPFLAGS'
50227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50236 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50238 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50239 for ac_func in _expl
50240 do :
50241 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50242 if test "x$ac_cv_func__expl" = x""yes; then :
50243 cat >>confdefs.h <<_ACEOF
50244 #define HAVE__EXPL 1
50245 _ACEOF
50248 done
50257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50258 $as_echo_n "checking for fabsl declaration... " >&6; }
50259 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50260 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50261 $as_echo_n "(cached) " >&6
50262 else
50265 ac_ext=cpp
50266 ac_cpp='$CXXCPP $CPPFLAGS'
50267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50272 /* end confdefs.h. */
50273 #include <math.h>
50274 #ifdef HAVE_IEEEFP_H
50275 #include <ieeefp.h>
50276 #endif
50279 main ()
50281 fabsl(0);
50283 return 0;
50285 _ACEOF
50286 if ac_fn_cxx_try_compile "$LINENO"; then :
50287 glibcxx_cv_func_fabsl_use=yes
50288 else
50289 glibcxx_cv_func_fabsl_use=no
50291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50292 ac_ext=c
50293 ac_cpp='$CPP $CPPFLAGS'
50294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50303 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50305 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50306 for ac_func in fabsl
50307 do :
50308 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50309 if test "x$ac_cv_func_fabsl" = x""yes; then :
50310 cat >>confdefs.h <<_ACEOF
50311 #define HAVE_FABSL 1
50312 _ACEOF
50315 done
50317 else
50319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50320 $as_echo_n "checking for _fabsl declaration... " >&6; }
50321 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50322 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50323 $as_echo_n "(cached) " >&6
50324 else
50327 ac_ext=cpp
50328 ac_cpp='$CXXCPP $CPPFLAGS'
50329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50334 /* end confdefs.h. */
50335 #include <math.h>
50336 #ifdef HAVE_IEEEFP_H
50337 #include <ieeefp.h>
50338 #endif
50341 main ()
50343 _fabsl(0);
50345 return 0;
50347 _ACEOF
50348 if ac_fn_cxx_try_compile "$LINENO"; then :
50349 glibcxx_cv_func__fabsl_use=yes
50350 else
50351 glibcxx_cv_func__fabsl_use=no
50353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50354 ac_ext=c
50355 ac_cpp='$CPP $CPPFLAGS'
50356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50365 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50367 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50368 for ac_func in _fabsl
50369 do :
50370 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50371 if test "x$ac_cv_func__fabsl" = x""yes; then :
50372 cat >>confdefs.h <<_ACEOF
50373 #define HAVE__FABSL 1
50374 _ACEOF
50377 done
50386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50387 $as_echo_n "checking for fmodl declaration... " >&6; }
50388 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50389 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50390 $as_echo_n "(cached) " >&6
50391 else
50394 ac_ext=cpp
50395 ac_cpp='$CXXCPP $CPPFLAGS'
50396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50401 /* end confdefs.h. */
50402 #include <math.h>
50404 main ()
50406 fmodl(0, 0);
50408 return 0;
50410 _ACEOF
50411 if ac_fn_cxx_try_compile "$LINENO"; then :
50412 glibcxx_cv_func_fmodl_use=yes
50413 else
50414 glibcxx_cv_func_fmodl_use=no
50416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50417 ac_ext=c
50418 ac_cpp='$CPP $CPPFLAGS'
50419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50428 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50430 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50431 for ac_func in fmodl
50432 do :
50433 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50434 if test "x$ac_cv_func_fmodl" = x""yes; then :
50435 cat >>confdefs.h <<_ACEOF
50436 #define HAVE_FMODL 1
50437 _ACEOF
50440 done
50442 else
50444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50445 $as_echo_n "checking for _fmodl declaration... " >&6; }
50446 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50447 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50448 $as_echo_n "(cached) " >&6
50449 else
50452 ac_ext=cpp
50453 ac_cpp='$CXXCPP $CPPFLAGS'
50454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50459 /* end confdefs.h. */
50460 #include <math.h>
50462 main ()
50464 _fmodl(0, 0);
50466 return 0;
50468 _ACEOF
50469 if ac_fn_cxx_try_compile "$LINENO"; then :
50470 glibcxx_cv_func__fmodl_use=yes
50471 else
50472 glibcxx_cv_func__fmodl_use=no
50474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50475 ac_ext=c
50476 ac_cpp='$CPP $CPPFLAGS'
50477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50486 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50488 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50489 for ac_func in _fmodl
50490 do :
50491 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50492 if test "x$ac_cv_func__fmodl" = x""yes; then :
50493 cat >>confdefs.h <<_ACEOF
50494 #define HAVE__FMODL 1
50495 _ACEOF
50498 done
50507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50508 $as_echo_n "checking for frexpl declaration... " >&6; }
50509 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50510 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50511 $as_echo_n "(cached) " >&6
50512 else
50515 ac_ext=cpp
50516 ac_cpp='$CXXCPP $CPPFLAGS'
50517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50522 /* end confdefs.h. */
50523 #include <math.h>
50525 main ()
50527 frexpl(0, 0);
50529 return 0;
50531 _ACEOF
50532 if ac_fn_cxx_try_compile "$LINENO"; then :
50533 glibcxx_cv_func_frexpl_use=yes
50534 else
50535 glibcxx_cv_func_frexpl_use=no
50537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50538 ac_ext=c
50539 ac_cpp='$CPP $CPPFLAGS'
50540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50549 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50551 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50552 for ac_func in frexpl
50553 do :
50554 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50555 if test "x$ac_cv_func_frexpl" = x""yes; then :
50556 cat >>confdefs.h <<_ACEOF
50557 #define HAVE_FREXPL 1
50558 _ACEOF
50561 done
50563 else
50565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50566 $as_echo_n "checking for _frexpl declaration... " >&6; }
50567 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50568 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50569 $as_echo_n "(cached) " >&6
50570 else
50573 ac_ext=cpp
50574 ac_cpp='$CXXCPP $CPPFLAGS'
50575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50580 /* end confdefs.h. */
50581 #include <math.h>
50583 main ()
50585 _frexpl(0, 0);
50587 return 0;
50589 _ACEOF
50590 if ac_fn_cxx_try_compile "$LINENO"; then :
50591 glibcxx_cv_func__frexpl_use=yes
50592 else
50593 glibcxx_cv_func__frexpl_use=no
50595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50596 ac_ext=c
50597 ac_cpp='$CPP $CPPFLAGS'
50598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50607 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50609 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50610 for ac_func in _frexpl
50611 do :
50612 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50613 if test "x$ac_cv_func__frexpl" = x""yes; then :
50614 cat >>confdefs.h <<_ACEOF
50615 #define HAVE__FREXPL 1
50616 _ACEOF
50619 done
50628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50629 $as_echo_n "checking for hypotl declaration... " >&6; }
50630 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50631 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50632 $as_echo_n "(cached) " >&6
50633 else
50636 ac_ext=cpp
50637 ac_cpp='$CXXCPP $CPPFLAGS'
50638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50643 /* end confdefs.h. */
50644 #include <math.h>
50646 main ()
50648 hypotl(0, 0);
50650 return 0;
50652 _ACEOF
50653 if ac_fn_cxx_try_compile "$LINENO"; then :
50654 glibcxx_cv_func_hypotl_use=yes
50655 else
50656 glibcxx_cv_func_hypotl_use=no
50658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50659 ac_ext=c
50660 ac_cpp='$CPP $CPPFLAGS'
50661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50670 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50672 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50673 for ac_func in hypotl
50674 do :
50675 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50676 if test "x$ac_cv_func_hypotl" = x""yes; then :
50677 cat >>confdefs.h <<_ACEOF
50678 #define HAVE_HYPOTL 1
50679 _ACEOF
50682 done
50684 else
50686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50687 $as_echo_n "checking for _hypotl declaration... " >&6; }
50688 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50689 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50690 $as_echo_n "(cached) " >&6
50691 else
50694 ac_ext=cpp
50695 ac_cpp='$CXXCPP $CPPFLAGS'
50696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50701 /* end confdefs.h. */
50702 #include <math.h>
50704 main ()
50706 _hypotl(0, 0);
50708 return 0;
50710 _ACEOF
50711 if ac_fn_cxx_try_compile "$LINENO"; then :
50712 glibcxx_cv_func__hypotl_use=yes
50713 else
50714 glibcxx_cv_func__hypotl_use=no
50716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50717 ac_ext=c
50718 ac_cpp='$CPP $CPPFLAGS'
50719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50728 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50730 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50731 for ac_func in _hypotl
50732 do :
50733 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50734 if test "x$ac_cv_func__hypotl" = x""yes; then :
50735 cat >>confdefs.h <<_ACEOF
50736 #define HAVE__HYPOTL 1
50737 _ACEOF
50740 done
50749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50750 $as_echo_n "checking for ldexpl declaration... " >&6; }
50751 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50752 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50753 $as_echo_n "(cached) " >&6
50754 else
50757 ac_ext=cpp
50758 ac_cpp='$CXXCPP $CPPFLAGS'
50759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50764 /* end confdefs.h. */
50765 #include <math.h>
50767 main ()
50769 ldexpl(0, 0);
50771 return 0;
50773 _ACEOF
50774 if ac_fn_cxx_try_compile "$LINENO"; then :
50775 glibcxx_cv_func_ldexpl_use=yes
50776 else
50777 glibcxx_cv_func_ldexpl_use=no
50779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50780 ac_ext=c
50781 ac_cpp='$CPP $CPPFLAGS'
50782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50791 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50793 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50794 for ac_func in ldexpl
50795 do :
50796 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50797 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50798 cat >>confdefs.h <<_ACEOF
50799 #define HAVE_LDEXPL 1
50800 _ACEOF
50803 done
50805 else
50807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50808 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50809 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50810 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50811 $as_echo_n "(cached) " >&6
50812 else
50815 ac_ext=cpp
50816 ac_cpp='$CXXCPP $CPPFLAGS'
50817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50822 /* end confdefs.h. */
50823 #include <math.h>
50825 main ()
50827 _ldexpl(0, 0);
50829 return 0;
50831 _ACEOF
50832 if ac_fn_cxx_try_compile "$LINENO"; then :
50833 glibcxx_cv_func__ldexpl_use=yes
50834 else
50835 glibcxx_cv_func__ldexpl_use=no
50837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50838 ac_ext=c
50839 ac_cpp='$CPP $CPPFLAGS'
50840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50849 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50851 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50852 for ac_func in _ldexpl
50853 do :
50854 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50855 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50856 cat >>confdefs.h <<_ACEOF
50857 #define HAVE__LDEXPL 1
50858 _ACEOF
50861 done
50870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50871 $as_echo_n "checking for logl declaration... " >&6; }
50872 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50873 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50874 $as_echo_n "(cached) " >&6
50875 else
50878 ac_ext=cpp
50879 ac_cpp='$CXXCPP $CPPFLAGS'
50880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50885 /* end confdefs.h. */
50886 #include <math.h>
50887 #ifdef HAVE_IEEEFP_H
50888 #include <ieeefp.h>
50889 #endif
50892 main ()
50894 logl(0);
50896 return 0;
50898 _ACEOF
50899 if ac_fn_cxx_try_compile "$LINENO"; then :
50900 glibcxx_cv_func_logl_use=yes
50901 else
50902 glibcxx_cv_func_logl_use=no
50904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50905 ac_ext=c
50906 ac_cpp='$CPP $CPPFLAGS'
50907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50916 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50918 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50919 for ac_func in logl
50920 do :
50921 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50922 if test "x$ac_cv_func_logl" = x""yes; then :
50923 cat >>confdefs.h <<_ACEOF
50924 #define HAVE_LOGL 1
50925 _ACEOF
50928 done
50930 else
50932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50933 $as_echo_n "checking for _logl declaration... " >&6; }
50934 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50935 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50936 $as_echo_n "(cached) " >&6
50937 else
50940 ac_ext=cpp
50941 ac_cpp='$CXXCPP $CPPFLAGS'
50942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50947 /* end confdefs.h. */
50948 #include <math.h>
50949 #ifdef HAVE_IEEEFP_H
50950 #include <ieeefp.h>
50951 #endif
50954 main ()
50956 _logl(0);
50958 return 0;
50960 _ACEOF
50961 if ac_fn_cxx_try_compile "$LINENO"; then :
50962 glibcxx_cv_func__logl_use=yes
50963 else
50964 glibcxx_cv_func__logl_use=no
50966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50967 ac_ext=c
50968 ac_cpp='$CPP $CPPFLAGS'
50969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50978 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50980 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50981 for ac_func in _logl
50982 do :
50983 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50984 if test "x$ac_cv_func__logl" = x""yes; then :
50985 cat >>confdefs.h <<_ACEOF
50986 #define HAVE__LOGL 1
50987 _ACEOF
50990 done
50999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51000 $as_echo_n "checking for log10l declaration... " >&6; }
51001 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51002 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51003 $as_echo_n "(cached) " >&6
51004 else
51007 ac_ext=cpp
51008 ac_cpp='$CXXCPP $CPPFLAGS'
51009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51014 /* end confdefs.h. */
51015 #include <math.h>
51016 #ifdef HAVE_IEEEFP_H
51017 #include <ieeefp.h>
51018 #endif
51021 main ()
51023 log10l(0);
51025 return 0;
51027 _ACEOF
51028 if ac_fn_cxx_try_compile "$LINENO"; then :
51029 glibcxx_cv_func_log10l_use=yes
51030 else
51031 glibcxx_cv_func_log10l_use=no
51033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51034 ac_ext=c
51035 ac_cpp='$CPP $CPPFLAGS'
51036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51045 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51047 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51048 for ac_func in log10l
51049 do :
51050 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51051 if test "x$ac_cv_func_log10l" = x""yes; then :
51052 cat >>confdefs.h <<_ACEOF
51053 #define HAVE_LOG10L 1
51054 _ACEOF
51057 done
51059 else
51061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51062 $as_echo_n "checking for _log10l declaration... " >&6; }
51063 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51064 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51065 $as_echo_n "(cached) " >&6
51066 else
51069 ac_ext=cpp
51070 ac_cpp='$CXXCPP $CPPFLAGS'
51071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51076 /* end confdefs.h. */
51077 #include <math.h>
51078 #ifdef HAVE_IEEEFP_H
51079 #include <ieeefp.h>
51080 #endif
51083 main ()
51085 _log10l(0);
51087 return 0;
51089 _ACEOF
51090 if ac_fn_cxx_try_compile "$LINENO"; then :
51091 glibcxx_cv_func__log10l_use=yes
51092 else
51093 glibcxx_cv_func__log10l_use=no
51095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51096 ac_ext=c
51097 ac_cpp='$CPP $CPPFLAGS'
51098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51107 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51109 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51110 for ac_func in _log10l
51111 do :
51112 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51113 if test "x$ac_cv_func__log10l" = x""yes; then :
51114 cat >>confdefs.h <<_ACEOF
51115 #define HAVE__LOG10L 1
51116 _ACEOF
51119 done
51128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51129 $as_echo_n "checking for modfl declaration... " >&6; }
51130 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51131 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51132 $as_echo_n "(cached) " >&6
51133 else
51136 ac_ext=cpp
51137 ac_cpp='$CXXCPP $CPPFLAGS'
51138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51143 /* end confdefs.h. */
51144 #include <math.h>
51146 main ()
51148 modfl(0, 0);
51150 return 0;
51152 _ACEOF
51153 if ac_fn_cxx_try_compile "$LINENO"; then :
51154 glibcxx_cv_func_modfl_use=yes
51155 else
51156 glibcxx_cv_func_modfl_use=no
51158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51159 ac_ext=c
51160 ac_cpp='$CPP $CPPFLAGS'
51161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51170 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51172 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51173 for ac_func in modfl
51174 do :
51175 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51176 if test "x$ac_cv_func_modfl" = x""yes; then :
51177 cat >>confdefs.h <<_ACEOF
51178 #define HAVE_MODFL 1
51179 _ACEOF
51182 done
51184 else
51186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51187 $as_echo_n "checking for _modfl declaration... " >&6; }
51188 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51189 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51190 $as_echo_n "(cached) " >&6
51191 else
51194 ac_ext=cpp
51195 ac_cpp='$CXXCPP $CPPFLAGS'
51196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51201 /* end confdefs.h. */
51202 #include <math.h>
51204 main ()
51206 _modfl(0, 0);
51208 return 0;
51210 _ACEOF
51211 if ac_fn_cxx_try_compile "$LINENO"; then :
51212 glibcxx_cv_func__modfl_use=yes
51213 else
51214 glibcxx_cv_func__modfl_use=no
51216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51217 ac_ext=c
51218 ac_cpp='$CPP $CPPFLAGS'
51219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51228 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51230 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51231 for ac_func in _modfl
51232 do :
51233 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51234 if test "x$ac_cv_func__modfl" = x""yes; then :
51235 cat >>confdefs.h <<_ACEOF
51236 #define HAVE__MODFL 1
51237 _ACEOF
51240 done
51249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51250 $as_echo_n "checking for powl declaration... " >&6; }
51251 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51252 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51253 $as_echo_n "(cached) " >&6
51254 else
51257 ac_ext=cpp
51258 ac_cpp='$CXXCPP $CPPFLAGS'
51259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51264 /* end confdefs.h. */
51265 #include <math.h>
51267 main ()
51269 powl(0, 0);
51271 return 0;
51273 _ACEOF
51274 if ac_fn_cxx_try_compile "$LINENO"; then :
51275 glibcxx_cv_func_powl_use=yes
51276 else
51277 glibcxx_cv_func_powl_use=no
51279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51280 ac_ext=c
51281 ac_cpp='$CPP $CPPFLAGS'
51282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51291 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51293 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51294 for ac_func in powl
51295 do :
51296 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51297 if test "x$ac_cv_func_powl" = x""yes; then :
51298 cat >>confdefs.h <<_ACEOF
51299 #define HAVE_POWL 1
51300 _ACEOF
51303 done
51305 else
51307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51308 $as_echo_n "checking for _powl declaration... " >&6; }
51309 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51310 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51311 $as_echo_n "(cached) " >&6
51312 else
51315 ac_ext=cpp
51316 ac_cpp='$CXXCPP $CPPFLAGS'
51317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51322 /* end confdefs.h. */
51323 #include <math.h>
51325 main ()
51327 _powl(0, 0);
51329 return 0;
51331 _ACEOF
51332 if ac_fn_cxx_try_compile "$LINENO"; then :
51333 glibcxx_cv_func__powl_use=yes
51334 else
51335 glibcxx_cv_func__powl_use=no
51337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51338 ac_ext=c
51339 ac_cpp='$CPP $CPPFLAGS'
51340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51349 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51351 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51352 for ac_func in _powl
51353 do :
51354 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51355 if test "x$ac_cv_func__powl" = x""yes; then :
51356 cat >>confdefs.h <<_ACEOF
51357 #define HAVE__POWL 1
51358 _ACEOF
51361 done
51370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51371 $as_echo_n "checking for sqrtl declaration... " >&6; }
51372 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51373 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51374 $as_echo_n "(cached) " >&6
51375 else
51378 ac_ext=cpp
51379 ac_cpp='$CXXCPP $CPPFLAGS'
51380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51385 /* end confdefs.h. */
51386 #include <math.h>
51387 #ifdef HAVE_IEEEFP_H
51388 #include <ieeefp.h>
51389 #endif
51392 main ()
51394 sqrtl(0);
51396 return 0;
51398 _ACEOF
51399 if ac_fn_cxx_try_compile "$LINENO"; then :
51400 glibcxx_cv_func_sqrtl_use=yes
51401 else
51402 glibcxx_cv_func_sqrtl_use=no
51404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51405 ac_ext=c
51406 ac_cpp='$CPP $CPPFLAGS'
51407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51416 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51418 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51419 for ac_func in sqrtl
51420 do :
51421 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51422 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51423 cat >>confdefs.h <<_ACEOF
51424 #define HAVE_SQRTL 1
51425 _ACEOF
51428 done
51430 else
51432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51433 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51434 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51435 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51436 $as_echo_n "(cached) " >&6
51437 else
51440 ac_ext=cpp
51441 ac_cpp='$CXXCPP $CPPFLAGS'
51442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51447 /* end confdefs.h. */
51448 #include <math.h>
51449 #ifdef HAVE_IEEEFP_H
51450 #include <ieeefp.h>
51451 #endif
51454 main ()
51456 _sqrtl(0);
51458 return 0;
51460 _ACEOF
51461 if ac_fn_cxx_try_compile "$LINENO"; then :
51462 glibcxx_cv_func__sqrtl_use=yes
51463 else
51464 glibcxx_cv_func__sqrtl_use=no
51466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51467 ac_ext=c
51468 ac_cpp='$CPP $CPPFLAGS'
51469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51478 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51480 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51481 for ac_func in _sqrtl
51482 do :
51483 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51484 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51485 cat >>confdefs.h <<_ACEOF
51486 #define HAVE__SQRTL 1
51487 _ACEOF
51490 done
51499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51500 $as_echo_n "checking for sincosl declaration... " >&6; }
51501 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51502 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51503 $as_echo_n "(cached) " >&6
51504 else
51507 ac_ext=cpp
51508 ac_cpp='$CXXCPP $CPPFLAGS'
51509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51514 /* end confdefs.h. */
51515 #include <math.h>
51517 main ()
51519 sincosl(0, 0, 0);
51521 return 0;
51523 _ACEOF
51524 if ac_fn_cxx_try_compile "$LINENO"; then :
51525 glibcxx_cv_func_sincosl_use=yes
51526 else
51527 glibcxx_cv_func_sincosl_use=no
51529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51530 ac_ext=c
51531 ac_cpp='$CPP $CPPFLAGS'
51532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51541 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51543 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51544 for ac_func in sincosl
51545 do :
51546 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51547 if test "x$ac_cv_func_sincosl" = x""yes; then :
51548 cat >>confdefs.h <<_ACEOF
51549 #define HAVE_SINCOSL 1
51550 _ACEOF
51553 done
51555 else
51557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51558 $as_echo_n "checking for _sincosl declaration... " >&6; }
51559 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51560 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51561 $as_echo_n "(cached) " >&6
51562 else
51565 ac_ext=cpp
51566 ac_cpp='$CXXCPP $CPPFLAGS'
51567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51572 /* end confdefs.h. */
51573 #include <math.h>
51575 main ()
51577 _sincosl(0, 0, 0);
51579 return 0;
51581 _ACEOF
51582 if ac_fn_cxx_try_compile "$LINENO"; then :
51583 glibcxx_cv_func__sincosl_use=yes
51584 else
51585 glibcxx_cv_func__sincosl_use=no
51587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51588 ac_ext=c
51589 ac_cpp='$CPP $CPPFLAGS'
51590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51599 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51601 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51602 for ac_func in _sincosl
51603 do :
51604 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51605 if test "x$ac_cv_func__sincosl" = x""yes; then :
51606 cat >>confdefs.h <<_ACEOF
51607 #define HAVE__SINCOSL 1
51608 _ACEOF
51611 done
51620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51621 $as_echo_n "checking for finitel declaration... " >&6; }
51622 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51623 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51624 $as_echo_n "(cached) " >&6
51625 else
51628 ac_ext=cpp
51629 ac_cpp='$CXXCPP $CPPFLAGS'
51630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51635 /* end confdefs.h. */
51636 #include <math.h>
51637 #ifdef HAVE_IEEEFP_H
51638 #include <ieeefp.h>
51639 #endif
51642 main ()
51644 finitel(0);
51646 return 0;
51648 _ACEOF
51649 if ac_fn_cxx_try_compile "$LINENO"; then :
51650 glibcxx_cv_func_finitel_use=yes
51651 else
51652 glibcxx_cv_func_finitel_use=no
51654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51655 ac_ext=c
51656 ac_cpp='$CPP $CPPFLAGS'
51657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51666 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51668 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51669 for ac_func in finitel
51670 do :
51671 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51672 if test "x$ac_cv_func_finitel" = x""yes; then :
51673 cat >>confdefs.h <<_ACEOF
51674 #define HAVE_FINITEL 1
51675 _ACEOF
51678 done
51680 else
51682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51683 $as_echo_n "checking for _finitel declaration... " >&6; }
51684 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51685 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51686 $as_echo_n "(cached) " >&6
51687 else
51690 ac_ext=cpp
51691 ac_cpp='$CXXCPP $CPPFLAGS'
51692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51697 /* end confdefs.h. */
51698 #include <math.h>
51699 #ifdef HAVE_IEEEFP_H
51700 #include <ieeefp.h>
51701 #endif
51704 main ()
51706 _finitel(0);
51708 return 0;
51710 _ACEOF
51711 if ac_fn_cxx_try_compile "$LINENO"; then :
51712 glibcxx_cv_func__finitel_use=yes
51713 else
51714 glibcxx_cv_func__finitel_use=no
51716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51717 ac_ext=c
51718 ac_cpp='$CPP $CPPFLAGS'
51719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51728 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51730 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51731 for ac_func in _finitel
51732 do :
51733 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51734 if test "x$ac_cv_func__finitel" = x""yes; then :
51735 cat >>confdefs.h <<_ACEOF
51736 #define HAVE__FINITEL 1
51737 _ACEOF
51740 done
51748 LIBS="$ac_save_LIBS"
51749 CXXFLAGS="$ac_save_CXXFLAGS"
51752 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51753 ac_save_CXXFLAGS="$CXXFLAGS"
51754 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51758 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51759 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51760 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51761 $as_echo_n "(cached) " >&6
51762 else
51765 ac_ext=cpp
51766 ac_cpp='$CXXCPP $CPPFLAGS'
51767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51772 /* end confdefs.h. */
51773 #include <stdlib.h>
51775 main ()
51777 at_quick_exit(0);
51779 return 0;
51781 _ACEOF
51782 if ac_fn_cxx_try_compile "$LINENO"; then :
51783 glibcxx_cv_func_at_quick_exit_use=yes
51784 else
51785 glibcxx_cv_func_at_quick_exit_use=no
51787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51788 ac_ext=c
51789 ac_cpp='$CPP $CPPFLAGS'
51790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51799 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51800 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51801 for ac_func in at_quick_exit
51802 do :
51803 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51804 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51805 cat >>confdefs.h <<_ACEOF
51806 #define HAVE_AT_QUICK_EXIT 1
51807 _ACEOF
51810 done
51815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51816 $as_echo_n "checking for quick_exit declaration... " >&6; }
51817 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51818 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51819 $as_echo_n "(cached) " >&6
51820 else
51823 ac_ext=cpp
51824 ac_cpp='$CXXCPP $CPPFLAGS'
51825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51830 /* end confdefs.h. */
51831 #include <stdlib.h>
51833 main ()
51835 quick_exit(0);
51837 return 0;
51839 _ACEOF
51840 if ac_fn_cxx_try_compile "$LINENO"; then :
51841 glibcxx_cv_func_quick_exit_use=yes
51842 else
51843 glibcxx_cv_func_quick_exit_use=no
51845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51846 ac_ext=c
51847 ac_cpp='$CPP $CPPFLAGS'
51848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51857 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51858 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51859 for ac_func in quick_exit
51860 do :
51861 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51862 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51863 cat >>confdefs.h <<_ACEOF
51864 #define HAVE_QUICK_EXIT 1
51865 _ACEOF
51868 done
51873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51874 $as_echo_n "checking for strtold declaration... " >&6; }
51875 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51876 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51877 $as_echo_n "(cached) " >&6
51878 else
51881 ac_ext=cpp
51882 ac_cpp='$CXXCPP $CPPFLAGS'
51883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51888 /* end confdefs.h. */
51889 #include <stdlib.h>
51891 main ()
51893 strtold(0, 0);
51895 return 0;
51897 _ACEOF
51898 if ac_fn_cxx_try_compile "$LINENO"; then :
51899 glibcxx_cv_func_strtold_use=yes
51900 else
51901 glibcxx_cv_func_strtold_use=no
51903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51904 ac_ext=c
51905 ac_cpp='$CPP $CPPFLAGS'
51906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51915 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51916 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51917 for ac_func in strtold
51918 do :
51919 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51920 if test "x$ac_cv_func_strtold" = x""yes; then :
51921 cat >>confdefs.h <<_ACEOF
51922 #define HAVE_STRTOLD 1
51923 _ACEOF
51926 done
51933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51934 $as_echo_n "checking for strtof declaration... " >&6; }
51935 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51936 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51937 $as_echo_n "(cached) " >&6
51938 else
51941 ac_ext=cpp
51942 ac_cpp='$CXXCPP $CPPFLAGS'
51943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51948 /* end confdefs.h. */
51949 #include <stdlib.h>
51951 main ()
51953 strtof(0, 0);
51955 return 0;
51957 _ACEOF
51958 if ac_fn_cxx_try_compile "$LINENO"; then :
51959 glibcxx_cv_func_strtof_use=yes
51960 else
51961 glibcxx_cv_func_strtof_use=no
51963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51964 ac_ext=c
51965 ac_cpp='$CPP $CPPFLAGS'
51966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51975 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51976 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51977 for ac_func in strtof
51978 do :
51979 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51980 if test "x$ac_cv_func_strtof" = x""yes; then :
51981 cat >>confdefs.h <<_ACEOF
51982 #define HAVE_STRTOF 1
51983 _ACEOF
51986 done
51993 CXXFLAGS="$ac_save_CXXFLAGS"
51997 *djgpp)
51998 # GLIBCXX_CHECK_MATH_SUPPORT
51999 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52001 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52003 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52005 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52007 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52011 *-freebsd*)
52012 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52015 # If we're not using GNU ld, then there's no point in even trying these
52016 # tests. Check for that first. We should have already tested for gld
52017 # by now (in libtool), but require it now just to be safe...
52018 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52019 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52023 # The name set by libtool depends on the version of libtool. Shame on us
52024 # for depending on an impl detail, but c'est la vie. Older versions used
52025 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52026 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52027 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52028 # set (hence we're using an older libtool), then set it.
52029 if test x${with_gnu_ld+set} != xset; then
52030 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52031 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52032 with_gnu_ld=no
52033 else
52034 with_gnu_ld=$ac_cv_prog_gnu_ld
52038 # Start by getting the version number. I think the libtool test already
52039 # does some of this, but throws away the result.
52040 glibcxx_ld_is_gold=no
52041 if test x"$with_gnu_ld" = x"yes"; then
52042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52043 $as_echo_n "checking for ld version... " >&6; }
52045 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52046 glibcxx_ld_is_gold=yes
52048 ldver=`$LD --version 2>/dev/null |
52049 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'`
52051 glibcxx_gnu_ld_version=`echo $ldver | \
52052 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52054 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52057 # Set --gc-sections.
52058 glibcxx_have_gc_sections=no
52059 if test "$glibcxx_ld_is_gold" = "yes"; then
52060 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52061 glibcxx_have_gc_sections=yes
52063 else
52064 glibcxx_gcsections_min_ld=21602
52065 if test x"$with_gnu_ld" = x"yes" &&
52066 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52067 glibcxx_have_gc_sections=yes
52070 if test "$glibcxx_have_gc_sections" = "yes"; then
52071 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52072 # NB: This flag only works reliably after 2.16.1. Configure tests
52073 # for this are difficult, so hard wire a value that should work.
52075 ac_test_CFLAGS="${CFLAGS+set}"
52076 ac_save_CFLAGS="$CFLAGS"
52077 CFLAGS='-Wl,--gc-sections'
52079 # Check for -Wl,--gc-sections
52080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52081 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52082 if test x$gcc_no_link = xyes; then
52083 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52086 /* end confdefs.h. */
52087 int one(void) { return 1; }
52088 int two(void) { return 2; }
52091 main ()
52093 two();
52095 return 0;
52097 _ACEOF
52098 if ac_fn_c_try_link "$LINENO"; then :
52099 ac_gcsections=yes
52100 else
52101 ac_gcsections=no
52103 rm -f core conftest.err conftest.$ac_objext \
52104 conftest$ac_exeext conftest.$ac_ext
52105 if test "$ac_gcsections" = "yes"; then
52106 rm -f conftest.c
52107 touch conftest.c
52108 if $CC -c conftest.c; then
52109 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52110 grep "Warning: gc-sections option ignored" > /dev/null; then
52111 ac_gcsections=no
52114 rm -f conftest.c conftest.o conftest
52116 if test "$ac_gcsections" = "yes"; then
52117 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52120 $as_echo "$ac_gcsections" >&6; }
52122 if test "$ac_test_CFLAGS" = set; then
52123 CFLAGS="$ac_save_CFLAGS"
52124 else
52125 # this is the suspicious part
52126 CFLAGS=''
52130 # Set -z,relro.
52131 # Note this is only for shared objects.
52132 ac_ld_relro=no
52133 if test x"$with_gnu_ld" = x"yes"; then
52134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52135 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52136 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52137 if test -n "$cxx_z_relo"; then
52138 OPT_LDFLAGS="-Wl,-z,relro"
52139 ac_ld_relro=yes
52141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52142 $as_echo "$ac_ld_relro" >&6; }
52145 # Set linker optimization flags.
52146 if test x"$with_gnu_ld" = x"yes"; then
52147 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52153 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52155 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52157 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52159 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52161 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52163 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52165 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52167 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52169 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52172 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52174 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52176 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52178 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52180 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52182 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52184 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52186 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52188 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52190 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52192 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52194 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52196 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52198 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52200 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52202 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52204 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52206 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52208 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52210 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52212 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52214 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52216 if test x"long_double_math_on_this_cpu" = x"yes"; then
52217 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52219 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52221 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52225 *-hpux*)
52226 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52229 # If we're not using GNU ld, then there's no point in even trying these
52230 # tests. Check for that first. We should have already tested for gld
52231 # by now (in libtool), but require it now just to be safe...
52232 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52233 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52237 # The name set by libtool depends on the version of libtool. Shame on us
52238 # for depending on an impl detail, but c'est la vie. Older versions used
52239 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52240 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52241 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52242 # set (hence we're using an older libtool), then set it.
52243 if test x${with_gnu_ld+set} != xset; then
52244 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52245 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52246 with_gnu_ld=no
52247 else
52248 with_gnu_ld=$ac_cv_prog_gnu_ld
52252 # Start by getting the version number. I think the libtool test already
52253 # does some of this, but throws away the result.
52254 glibcxx_ld_is_gold=no
52255 if test x"$with_gnu_ld" = x"yes"; then
52256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52257 $as_echo_n "checking for ld version... " >&6; }
52259 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52260 glibcxx_ld_is_gold=yes
52262 ldver=`$LD --version 2>/dev/null |
52263 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'`
52265 glibcxx_gnu_ld_version=`echo $ldver | \
52266 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52268 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52271 # Set --gc-sections.
52272 glibcxx_have_gc_sections=no
52273 if test "$glibcxx_ld_is_gold" = "yes"; then
52274 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52275 glibcxx_have_gc_sections=yes
52277 else
52278 glibcxx_gcsections_min_ld=21602
52279 if test x"$with_gnu_ld" = x"yes" &&
52280 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52281 glibcxx_have_gc_sections=yes
52284 if test "$glibcxx_have_gc_sections" = "yes"; then
52285 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52286 # NB: This flag only works reliably after 2.16.1. Configure tests
52287 # for this are difficult, so hard wire a value that should work.
52289 ac_test_CFLAGS="${CFLAGS+set}"
52290 ac_save_CFLAGS="$CFLAGS"
52291 CFLAGS='-Wl,--gc-sections'
52293 # Check for -Wl,--gc-sections
52294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52295 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52296 if test x$gcc_no_link = xyes; then
52297 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52300 /* end confdefs.h. */
52301 int one(void) { return 1; }
52302 int two(void) { return 2; }
52305 main ()
52307 two();
52309 return 0;
52311 _ACEOF
52312 if ac_fn_c_try_link "$LINENO"; then :
52313 ac_gcsections=yes
52314 else
52315 ac_gcsections=no
52317 rm -f core conftest.err conftest.$ac_objext \
52318 conftest$ac_exeext conftest.$ac_ext
52319 if test "$ac_gcsections" = "yes"; then
52320 rm -f conftest.c
52321 touch conftest.c
52322 if $CC -c conftest.c; then
52323 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52324 grep "Warning: gc-sections option ignored" > /dev/null; then
52325 ac_gcsections=no
52328 rm -f conftest.c conftest.o conftest
52330 if test "$ac_gcsections" = "yes"; then
52331 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52334 $as_echo "$ac_gcsections" >&6; }
52336 if test "$ac_test_CFLAGS" = set; then
52337 CFLAGS="$ac_save_CFLAGS"
52338 else
52339 # this is the suspicious part
52340 CFLAGS=''
52344 # Set -z,relro.
52345 # Note this is only for shared objects.
52346 ac_ld_relro=no
52347 if test x"$with_gnu_ld" = x"yes"; then
52348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52349 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52350 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52351 if test -n "$cxx_z_relo"; then
52352 OPT_LDFLAGS="-Wl,-z,relro"
52353 ac_ld_relro=yes
52355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52356 $as_echo "$ac_ld_relro" >&6; }
52359 # Set linker optimization flags.
52360 if test x"$with_gnu_ld" = x"yes"; then
52361 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52368 # GLIBCXX_CHECK_MATH_SUPPORT
52369 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52371 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52373 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52375 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52377 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52379 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52381 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52383 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52385 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52387 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52389 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52391 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52393 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52395 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52397 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52399 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52401 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52403 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52405 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52407 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52409 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52412 # GLIBCXX_CHECK_STDLIB_SUPPORT
52413 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52418 # Check whether --enable-tls was given.
52419 if test "${enable_tls+set}" = set; then :
52420 enableval=$enable_tls;
52421 case "$enableval" in
52422 yes|no) ;;
52423 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52424 esac
52426 else
52427 enable_tls=yes
52431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52432 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52433 if test "${gcc_cv_have_tls+set}" = set; then :
52434 $as_echo_n "(cached) " >&6
52435 else
52437 if test "$cross_compiling" = yes; then :
52438 if test x$gcc_no_link = xyes; then
52439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52442 /* end confdefs.h. */
52443 __thread int a; int b; int main() { return a = b; }
52444 _ACEOF
52445 if ac_fn_c_try_link "$LINENO"; then :
52446 chktls_save_LDFLAGS="$LDFLAGS"
52447 case $host in
52448 *-*-linux*)
52449 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52451 esac
52452 chktls_save_CFLAGS="$CFLAGS"
52453 CFLAGS="-fPIC $CFLAGS"
52454 if test x$gcc_no_link = xyes; then
52455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52458 /* end confdefs.h. */
52459 int f() { return 0; }
52460 _ACEOF
52461 if ac_fn_c_try_link "$LINENO"; then :
52462 if test x$gcc_no_link = xyes; then
52463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52466 /* end confdefs.h. */
52467 __thread int a; int b; int f() { return a = b; }
52468 _ACEOF
52469 if ac_fn_c_try_link "$LINENO"; then :
52470 gcc_cv_have_tls=yes
52471 else
52472 gcc_cv_have_tls=no
52474 rm -f core conftest.err conftest.$ac_objext \
52475 conftest$ac_exeext conftest.$ac_ext
52476 else
52477 gcc_cv_have_tls=yes
52479 rm -f core conftest.err conftest.$ac_objext \
52480 conftest$ac_exeext conftest.$ac_ext
52481 CFLAGS="$chktls_save_CFLAGS"
52482 LDFLAGS="$chktls_save_LDFLAGS"
52483 else
52484 gcc_cv_have_tls=no
52486 rm -f core conftest.err conftest.$ac_objext \
52487 conftest$ac_exeext conftest.$ac_ext
52490 else
52491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52492 /* end confdefs.h. */
52493 __thread int a; int b; int main() { return a = b; }
52494 _ACEOF
52495 if ac_fn_c_try_run "$LINENO"; then :
52496 chktls_save_LDFLAGS="$LDFLAGS"
52497 LDFLAGS="-static $LDFLAGS"
52498 if test x$gcc_no_link = xyes; then
52499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52502 /* end confdefs.h. */
52503 int main() { return 0; }
52504 _ACEOF
52505 if ac_fn_c_try_link "$LINENO"; then :
52506 if test "$cross_compiling" = yes; then :
52507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52509 as_fn_error "cannot run test program while cross compiling
52510 See \`config.log' for more details." "$LINENO" 5; }
52511 else
52512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52513 /* end confdefs.h. */
52514 __thread int a; int b; int main() { return a = b; }
52515 _ACEOF
52516 if ac_fn_c_try_run "$LINENO"; then :
52517 gcc_cv_have_tls=yes
52518 else
52519 gcc_cv_have_tls=no
52521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52522 conftest.$ac_objext conftest.beam conftest.$ac_ext
52525 else
52526 gcc_cv_have_tls=yes
52528 rm -f core conftest.err conftest.$ac_objext \
52529 conftest$ac_exeext conftest.$ac_ext
52530 LDFLAGS="$chktls_save_LDFLAGS"
52531 if test $gcc_cv_have_tls = yes; then
52532 chktls_save_CFLAGS="$CFLAGS"
52533 thread_CFLAGS=failed
52534 for flag in '' '-pthread' '-lpthread'; do
52535 CFLAGS="$flag $chktls_save_CFLAGS"
52536 if test x$gcc_no_link = xyes; then
52537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52540 /* end confdefs.h. */
52541 #include <pthread.h>
52542 void *g(void *d) { return NULL; }
52544 main ()
52546 pthread_t t; pthread_create(&t,NULL,g,NULL);
52548 return 0;
52550 _ACEOF
52551 if ac_fn_c_try_link "$LINENO"; then :
52552 thread_CFLAGS="$flag"
52554 rm -f core conftest.err conftest.$ac_objext \
52555 conftest$ac_exeext conftest.$ac_ext
52556 if test "X$thread_CFLAGS" != Xfailed; then
52557 break
52559 done
52560 CFLAGS="$chktls_save_CFLAGS"
52561 if test "X$thread_CFLAGS" != Xfailed; then
52562 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52563 if test "$cross_compiling" = yes; then :
52564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52566 as_fn_error "cannot run test program while cross compiling
52567 See \`config.log' for more details." "$LINENO" 5; }
52568 else
52569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52570 /* end confdefs.h. */
52571 #include <pthread.h>
52572 __thread int a;
52573 static int *volatile a_in_other_thread;
52574 static void *
52575 thread_func (void *arg)
52577 a_in_other_thread = &a;
52578 return (void *)0;
52581 main ()
52583 pthread_t thread;
52584 void *thread_retval;
52585 int *volatile a_in_main_thread;
52586 a_in_main_thread = &a;
52587 if (pthread_create (&thread, (pthread_attr_t *)0,
52588 thread_func, (void *)0))
52589 return 0;
52590 if (pthread_join (thread, &thread_retval))
52591 return 0;
52592 return (a_in_other_thread == a_in_main_thread);
52594 return 0;
52596 _ACEOF
52597 if ac_fn_c_try_run "$LINENO"; then :
52598 gcc_cv_have_tls=yes
52599 else
52600 gcc_cv_have_tls=no
52602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52603 conftest.$ac_objext conftest.beam conftest.$ac_ext
52606 CFLAGS="$chktls_save_CFLAGS"
52609 else
52610 gcc_cv_have_tls=no
52612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52613 conftest.$ac_objext conftest.beam conftest.$ac_ext
52617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52618 $as_echo "$gcc_cv_have_tls" >&6; }
52619 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52621 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52624 case "$target" in
52625 *-hpux10*)
52626 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52628 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52630 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52632 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52634 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52637 esac
52639 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52641 # All these tests are for C++; save the language and the compiler flags.
52642 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52643 # found in GLIBCXX_CONFIGURE.
52645 ac_ext=cpp
52646 ac_cpp='$CXXCPP $CPPFLAGS'
52647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52651 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52652 ac_save_CXXFLAGS="$CXXFLAGS"
52654 # Check for maintainer-mode bits.
52655 if test x"$USE_MAINTAINER_MODE" = xno; then
52656 WERROR=''
52657 else
52658 WERROR='-Werror'
52661 # Check for -ffunction-sections -fdata-sections
52662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52663 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52664 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52666 /* end confdefs.h. */
52667 int foo; void bar() { };
52669 main ()
52673 return 0;
52675 _ACEOF
52676 if ac_fn_cxx_try_compile "$LINENO"; then :
52677 ac_fdsections=yes
52678 else
52679 ac_fdsections=no
52681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52682 if test "$ac_test_CXXFLAGS" = set; then
52683 CXXFLAGS="$ac_save_CXXFLAGS"
52684 else
52685 # this is the suspicious part
52686 CXXFLAGS=''
52688 if test x"$ac_fdsections" = x"yes"; then
52689 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52692 $as_echo "$ac_fdsections" >&6; }
52694 ac_ext=c
52695 ac_cpp='$CPP $CPPFLAGS'
52696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52704 # If we're not using GNU ld, then there's no point in even trying these
52705 # tests. Check for that first. We should have already tested for gld
52706 # by now (in libtool), but require it now just to be safe...
52707 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52708 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52712 # The name set by libtool depends on the version of libtool. Shame on us
52713 # for depending on an impl detail, but c'est la vie. Older versions used
52714 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52715 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52716 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52717 # set (hence we're using an older libtool), then set it.
52718 if test x${with_gnu_ld+set} != xset; then
52719 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52720 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52721 with_gnu_ld=no
52722 else
52723 with_gnu_ld=$ac_cv_prog_gnu_ld
52727 # Start by getting the version number. I think the libtool test already
52728 # does some of this, but throws away the result.
52729 glibcxx_ld_is_gold=no
52730 if test x"$with_gnu_ld" = x"yes"; then
52731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52732 $as_echo_n "checking for ld version... " >&6; }
52734 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52735 glibcxx_ld_is_gold=yes
52737 ldver=`$LD --version 2>/dev/null |
52738 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'`
52740 glibcxx_gnu_ld_version=`echo $ldver | \
52741 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52743 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52746 # Set --gc-sections.
52747 glibcxx_have_gc_sections=no
52748 if test "$glibcxx_ld_is_gold" = "yes"; then
52749 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52750 glibcxx_have_gc_sections=yes
52752 else
52753 glibcxx_gcsections_min_ld=21602
52754 if test x"$with_gnu_ld" = x"yes" &&
52755 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52756 glibcxx_have_gc_sections=yes
52759 if test "$glibcxx_have_gc_sections" = "yes"; then
52760 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52761 # NB: This flag only works reliably after 2.16.1. Configure tests
52762 # for this are difficult, so hard wire a value that should work.
52764 ac_test_CFLAGS="${CFLAGS+set}"
52765 ac_save_CFLAGS="$CFLAGS"
52766 CFLAGS='-Wl,--gc-sections'
52768 # Check for -Wl,--gc-sections
52769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52770 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52771 if test x$gcc_no_link = xyes; then
52772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52775 /* end confdefs.h. */
52776 int one(void) { return 1; }
52777 int two(void) { return 2; }
52780 main ()
52782 two();
52784 return 0;
52786 _ACEOF
52787 if ac_fn_c_try_link "$LINENO"; then :
52788 ac_gcsections=yes
52789 else
52790 ac_gcsections=no
52792 rm -f core conftest.err conftest.$ac_objext \
52793 conftest$ac_exeext conftest.$ac_ext
52794 if test "$ac_gcsections" = "yes"; then
52795 rm -f conftest.c
52796 touch conftest.c
52797 if $CC -c conftest.c; then
52798 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52799 grep "Warning: gc-sections option ignored" > /dev/null; then
52800 ac_gcsections=no
52803 rm -f conftest.c conftest.o conftest
52805 if test "$ac_gcsections" = "yes"; then
52806 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52809 $as_echo "$ac_gcsections" >&6; }
52811 if test "$ac_test_CFLAGS" = set; then
52812 CFLAGS="$ac_save_CFLAGS"
52813 else
52814 # this is the suspicious part
52815 CFLAGS=''
52819 # Set -z,relro.
52820 # Note this is only for shared objects.
52821 ac_ld_relro=no
52822 if test x"$with_gnu_ld" = x"yes"; then
52823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52824 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52825 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52826 if test -n "$cxx_z_relo"; then
52827 OPT_LDFLAGS="-Wl,-z,relro"
52828 ac_ld_relro=yes
52830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52831 $as_echo "$ac_ld_relro" >&6; }
52834 # Set linker optimization flags.
52835 if test x"$with_gnu_ld" = x"yes"; then
52836 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52843 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52844 ac_save_CXXFLAGS="$CXXFLAGS"
52845 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52848 $as_echo_n "checking for sin in -lm... " >&6; }
52849 if test "${ac_cv_lib_m_sin+set}" = set; then :
52850 $as_echo_n "(cached) " >&6
52851 else
52852 ac_check_lib_save_LIBS=$LIBS
52853 LIBS="-lm $LIBS"
52854 if test x$gcc_no_link = xyes; then
52855 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52858 /* end confdefs.h. */
52860 /* Override any GCC internal prototype to avoid an error.
52861 Use char because int might match the return type of a GCC
52862 builtin and then its argument prototype would still apply. */
52863 #ifdef __cplusplus
52864 extern "C"
52865 #endif
52866 char sin ();
52868 main ()
52870 return sin ();
52872 return 0;
52874 _ACEOF
52875 if ac_fn_c_try_link "$LINENO"; then :
52876 ac_cv_lib_m_sin=yes
52877 else
52878 ac_cv_lib_m_sin=no
52880 rm -f core conftest.err conftest.$ac_objext \
52881 conftest$ac_exeext conftest.$ac_ext
52882 LIBS=$ac_check_lib_save_LIBS
52884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52885 $as_echo "$ac_cv_lib_m_sin" >&6; }
52886 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52887 libm="-lm"
52890 ac_save_LIBS="$LIBS"
52891 LIBS="$LIBS $libm"
52895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52896 $as_echo_n "checking for isinf declaration... " >&6; }
52897 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52898 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52899 $as_echo_n "(cached) " >&6
52900 else
52903 ac_ext=cpp
52904 ac_cpp='$CXXCPP $CPPFLAGS'
52905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52910 /* end confdefs.h. */
52911 #include <math.h>
52912 #ifdef HAVE_IEEEFP_H
52913 #include <ieeefp.h>
52914 #endif
52917 main ()
52919 isinf(0);
52921 return 0;
52923 _ACEOF
52924 if ac_fn_cxx_try_compile "$LINENO"; then :
52925 glibcxx_cv_func_isinf_use=yes
52926 else
52927 glibcxx_cv_func_isinf_use=no
52929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52930 ac_ext=c
52931 ac_cpp='$CPP $CPPFLAGS'
52932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52941 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52943 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52944 for ac_func in isinf
52945 do :
52946 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52947 if test "x$ac_cv_func_isinf" = x""yes; then :
52948 cat >>confdefs.h <<_ACEOF
52949 #define HAVE_ISINF 1
52950 _ACEOF
52953 done
52955 else
52957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52958 $as_echo_n "checking for _isinf declaration... " >&6; }
52959 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52960 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52961 $as_echo_n "(cached) " >&6
52962 else
52965 ac_ext=cpp
52966 ac_cpp='$CXXCPP $CPPFLAGS'
52967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52972 /* end confdefs.h. */
52973 #include <math.h>
52974 #ifdef HAVE_IEEEFP_H
52975 #include <ieeefp.h>
52976 #endif
52979 main ()
52981 _isinf(0);
52983 return 0;
52985 _ACEOF
52986 if ac_fn_cxx_try_compile "$LINENO"; then :
52987 glibcxx_cv_func__isinf_use=yes
52988 else
52989 glibcxx_cv_func__isinf_use=no
52991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52992 ac_ext=c
52993 ac_cpp='$CPP $CPPFLAGS'
52994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53003 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53005 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53006 for ac_func in _isinf
53007 do :
53008 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53009 if test "x$ac_cv_func__isinf" = x""yes; then :
53010 cat >>confdefs.h <<_ACEOF
53011 #define HAVE__ISINF 1
53012 _ACEOF
53015 done
53024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53025 $as_echo_n "checking for isnan declaration... " >&6; }
53026 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53027 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53028 $as_echo_n "(cached) " >&6
53029 else
53032 ac_ext=cpp
53033 ac_cpp='$CXXCPP $CPPFLAGS'
53034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53039 /* end confdefs.h. */
53040 #include <math.h>
53041 #ifdef HAVE_IEEEFP_H
53042 #include <ieeefp.h>
53043 #endif
53046 main ()
53048 isnan(0);
53050 return 0;
53052 _ACEOF
53053 if ac_fn_cxx_try_compile "$LINENO"; then :
53054 glibcxx_cv_func_isnan_use=yes
53055 else
53056 glibcxx_cv_func_isnan_use=no
53058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53059 ac_ext=c
53060 ac_cpp='$CPP $CPPFLAGS'
53061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53070 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53072 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53073 for ac_func in isnan
53074 do :
53075 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53076 if test "x$ac_cv_func_isnan" = x""yes; then :
53077 cat >>confdefs.h <<_ACEOF
53078 #define HAVE_ISNAN 1
53079 _ACEOF
53082 done
53084 else
53086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53087 $as_echo_n "checking for _isnan declaration... " >&6; }
53088 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53089 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53090 $as_echo_n "(cached) " >&6
53091 else
53094 ac_ext=cpp
53095 ac_cpp='$CXXCPP $CPPFLAGS'
53096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53101 /* end confdefs.h. */
53102 #include <math.h>
53103 #ifdef HAVE_IEEEFP_H
53104 #include <ieeefp.h>
53105 #endif
53108 main ()
53110 _isnan(0);
53112 return 0;
53114 _ACEOF
53115 if ac_fn_cxx_try_compile "$LINENO"; then :
53116 glibcxx_cv_func__isnan_use=yes
53117 else
53118 glibcxx_cv_func__isnan_use=no
53120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53121 ac_ext=c
53122 ac_cpp='$CPP $CPPFLAGS'
53123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53132 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53134 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53135 for ac_func in _isnan
53136 do :
53137 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53138 if test "x$ac_cv_func__isnan" = x""yes; then :
53139 cat >>confdefs.h <<_ACEOF
53140 #define HAVE__ISNAN 1
53141 _ACEOF
53144 done
53153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53154 $as_echo_n "checking for finite declaration... " >&6; }
53155 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53156 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53157 $as_echo_n "(cached) " >&6
53158 else
53161 ac_ext=cpp
53162 ac_cpp='$CXXCPP $CPPFLAGS'
53163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53168 /* end confdefs.h. */
53169 #include <math.h>
53170 #ifdef HAVE_IEEEFP_H
53171 #include <ieeefp.h>
53172 #endif
53175 main ()
53177 finite(0);
53179 return 0;
53181 _ACEOF
53182 if ac_fn_cxx_try_compile "$LINENO"; then :
53183 glibcxx_cv_func_finite_use=yes
53184 else
53185 glibcxx_cv_func_finite_use=no
53187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53188 ac_ext=c
53189 ac_cpp='$CPP $CPPFLAGS'
53190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53199 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53201 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53202 for ac_func in finite
53203 do :
53204 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53205 if test "x$ac_cv_func_finite" = x""yes; then :
53206 cat >>confdefs.h <<_ACEOF
53207 #define HAVE_FINITE 1
53208 _ACEOF
53211 done
53213 else
53215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53216 $as_echo_n "checking for _finite declaration... " >&6; }
53217 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53218 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53219 $as_echo_n "(cached) " >&6
53220 else
53223 ac_ext=cpp
53224 ac_cpp='$CXXCPP $CPPFLAGS'
53225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53230 /* end confdefs.h. */
53231 #include <math.h>
53232 #ifdef HAVE_IEEEFP_H
53233 #include <ieeefp.h>
53234 #endif
53237 main ()
53239 _finite(0);
53241 return 0;
53243 _ACEOF
53244 if ac_fn_cxx_try_compile "$LINENO"; then :
53245 glibcxx_cv_func__finite_use=yes
53246 else
53247 glibcxx_cv_func__finite_use=no
53249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53250 ac_ext=c
53251 ac_cpp='$CPP $CPPFLAGS'
53252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53261 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53263 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53264 for ac_func in _finite
53265 do :
53266 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53267 if test "x$ac_cv_func__finite" = x""yes; then :
53268 cat >>confdefs.h <<_ACEOF
53269 #define HAVE__FINITE 1
53270 _ACEOF
53273 done
53282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53283 $as_echo_n "checking for sincos declaration... " >&6; }
53284 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53285 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53286 $as_echo_n "(cached) " >&6
53287 else
53290 ac_ext=cpp
53291 ac_cpp='$CXXCPP $CPPFLAGS'
53292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53297 /* end confdefs.h. */
53298 #include <math.h>
53300 main ()
53302 sincos(0, 0, 0);
53304 return 0;
53306 _ACEOF
53307 if ac_fn_cxx_try_compile "$LINENO"; then :
53308 glibcxx_cv_func_sincos_use=yes
53309 else
53310 glibcxx_cv_func_sincos_use=no
53312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53313 ac_ext=c
53314 ac_cpp='$CPP $CPPFLAGS'
53315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53324 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53326 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53327 for ac_func in sincos
53328 do :
53329 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53330 if test "x$ac_cv_func_sincos" = x""yes; then :
53331 cat >>confdefs.h <<_ACEOF
53332 #define HAVE_SINCOS 1
53333 _ACEOF
53336 done
53338 else
53340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53341 $as_echo_n "checking for _sincos declaration... " >&6; }
53342 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53343 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53344 $as_echo_n "(cached) " >&6
53345 else
53348 ac_ext=cpp
53349 ac_cpp='$CXXCPP $CPPFLAGS'
53350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53355 /* end confdefs.h. */
53356 #include <math.h>
53358 main ()
53360 _sincos(0, 0, 0);
53362 return 0;
53364 _ACEOF
53365 if ac_fn_cxx_try_compile "$LINENO"; then :
53366 glibcxx_cv_func__sincos_use=yes
53367 else
53368 glibcxx_cv_func__sincos_use=no
53370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53371 ac_ext=c
53372 ac_cpp='$CPP $CPPFLAGS'
53373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53382 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53384 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53385 for ac_func in _sincos
53386 do :
53387 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53388 if test "x$ac_cv_func__sincos" = x""yes; then :
53389 cat >>confdefs.h <<_ACEOF
53390 #define HAVE__SINCOS 1
53391 _ACEOF
53394 done
53403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53404 $as_echo_n "checking for fpclass declaration... " >&6; }
53405 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53406 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53407 $as_echo_n "(cached) " >&6
53408 else
53411 ac_ext=cpp
53412 ac_cpp='$CXXCPP $CPPFLAGS'
53413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53418 /* end confdefs.h. */
53419 #include <math.h>
53420 #ifdef HAVE_IEEEFP_H
53421 #include <ieeefp.h>
53422 #endif
53425 main ()
53427 fpclass(0);
53429 return 0;
53431 _ACEOF
53432 if ac_fn_cxx_try_compile "$LINENO"; then :
53433 glibcxx_cv_func_fpclass_use=yes
53434 else
53435 glibcxx_cv_func_fpclass_use=no
53437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53438 ac_ext=c
53439 ac_cpp='$CPP $CPPFLAGS'
53440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53449 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53451 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53452 for ac_func in fpclass
53453 do :
53454 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53455 if test "x$ac_cv_func_fpclass" = x""yes; then :
53456 cat >>confdefs.h <<_ACEOF
53457 #define HAVE_FPCLASS 1
53458 _ACEOF
53461 done
53463 else
53465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53466 $as_echo_n "checking for _fpclass declaration... " >&6; }
53467 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53468 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53469 $as_echo_n "(cached) " >&6
53470 else
53473 ac_ext=cpp
53474 ac_cpp='$CXXCPP $CPPFLAGS'
53475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53480 /* end confdefs.h. */
53481 #include <math.h>
53482 #ifdef HAVE_IEEEFP_H
53483 #include <ieeefp.h>
53484 #endif
53487 main ()
53489 _fpclass(0);
53491 return 0;
53493 _ACEOF
53494 if ac_fn_cxx_try_compile "$LINENO"; then :
53495 glibcxx_cv_func__fpclass_use=yes
53496 else
53497 glibcxx_cv_func__fpclass_use=no
53499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53500 ac_ext=c
53501 ac_cpp='$CPP $CPPFLAGS'
53502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53511 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53513 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53514 for ac_func in _fpclass
53515 do :
53516 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53517 if test "x$ac_cv_func__fpclass" = x""yes; then :
53518 cat >>confdefs.h <<_ACEOF
53519 #define HAVE__FPCLASS 1
53520 _ACEOF
53523 done
53532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53533 $as_echo_n "checking for qfpclass declaration... " >&6; }
53534 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53535 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53536 $as_echo_n "(cached) " >&6
53537 else
53540 ac_ext=cpp
53541 ac_cpp='$CXXCPP $CPPFLAGS'
53542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53547 /* end confdefs.h. */
53548 #include <math.h>
53549 #ifdef HAVE_IEEEFP_H
53550 #include <ieeefp.h>
53551 #endif
53554 main ()
53556 qfpclass(0);
53558 return 0;
53560 _ACEOF
53561 if ac_fn_cxx_try_compile "$LINENO"; then :
53562 glibcxx_cv_func_qfpclass_use=yes
53563 else
53564 glibcxx_cv_func_qfpclass_use=no
53566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53567 ac_ext=c
53568 ac_cpp='$CPP $CPPFLAGS'
53569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53578 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53580 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53581 for ac_func in qfpclass
53582 do :
53583 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53584 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53585 cat >>confdefs.h <<_ACEOF
53586 #define HAVE_QFPCLASS 1
53587 _ACEOF
53590 done
53592 else
53594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53595 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53596 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53597 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53598 $as_echo_n "(cached) " >&6
53599 else
53602 ac_ext=cpp
53603 ac_cpp='$CXXCPP $CPPFLAGS'
53604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53609 /* end confdefs.h. */
53610 #include <math.h>
53611 #ifdef HAVE_IEEEFP_H
53612 #include <ieeefp.h>
53613 #endif
53616 main ()
53618 _qfpclass(0);
53620 return 0;
53622 _ACEOF
53623 if ac_fn_cxx_try_compile "$LINENO"; then :
53624 glibcxx_cv_func__qfpclass_use=yes
53625 else
53626 glibcxx_cv_func__qfpclass_use=no
53628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53629 ac_ext=c
53630 ac_cpp='$CPP $CPPFLAGS'
53631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53640 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53642 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53643 for ac_func in _qfpclass
53644 do :
53645 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53646 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53647 cat >>confdefs.h <<_ACEOF
53648 #define HAVE__QFPCLASS 1
53649 _ACEOF
53652 done
53661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53662 $as_echo_n "checking for hypot declaration... " >&6; }
53663 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53664 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53665 $as_echo_n "(cached) " >&6
53666 else
53669 ac_ext=cpp
53670 ac_cpp='$CXXCPP $CPPFLAGS'
53671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53676 /* end confdefs.h. */
53677 #include <math.h>
53679 main ()
53681 hypot(0, 0);
53683 return 0;
53685 _ACEOF
53686 if ac_fn_cxx_try_compile "$LINENO"; then :
53687 glibcxx_cv_func_hypot_use=yes
53688 else
53689 glibcxx_cv_func_hypot_use=no
53691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53692 ac_ext=c
53693 ac_cpp='$CPP $CPPFLAGS'
53694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53703 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53705 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53706 for ac_func in hypot
53707 do :
53708 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53709 if test "x$ac_cv_func_hypot" = x""yes; then :
53710 cat >>confdefs.h <<_ACEOF
53711 #define HAVE_HYPOT 1
53712 _ACEOF
53715 done
53717 else
53719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53720 $as_echo_n "checking for _hypot declaration... " >&6; }
53721 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53722 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53723 $as_echo_n "(cached) " >&6
53724 else
53727 ac_ext=cpp
53728 ac_cpp='$CXXCPP $CPPFLAGS'
53729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53734 /* end confdefs.h. */
53735 #include <math.h>
53737 main ()
53739 _hypot(0, 0);
53741 return 0;
53743 _ACEOF
53744 if ac_fn_cxx_try_compile "$LINENO"; then :
53745 glibcxx_cv_func__hypot_use=yes
53746 else
53747 glibcxx_cv_func__hypot_use=no
53749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53750 ac_ext=c
53751 ac_cpp='$CPP $CPPFLAGS'
53752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53761 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53763 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53764 for ac_func in _hypot
53765 do :
53766 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53767 if test "x$ac_cv_func__hypot" = x""yes; then :
53768 cat >>confdefs.h <<_ACEOF
53769 #define HAVE__HYPOT 1
53770 _ACEOF
53773 done
53782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53783 $as_echo_n "checking for float trig functions... " >&6; }
53784 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53785 $as_echo_n "(cached) " >&6
53786 else
53789 ac_ext=cpp
53790 ac_cpp='$CXXCPP $CPPFLAGS'
53791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53796 /* end confdefs.h. */
53797 #include <math.h>
53799 main ()
53801 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53803 return 0;
53805 _ACEOF
53806 if ac_fn_cxx_try_compile "$LINENO"; then :
53807 glibcxx_cv_func_float_trig_use=yes
53808 else
53809 glibcxx_cv_func_float_trig_use=no
53811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53812 ac_ext=c
53813 ac_cpp='$CPP $CPPFLAGS'
53814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53821 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53822 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53823 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53824 do :
53825 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53827 eval as_val=\$$as_ac_var
53828 if test "x$as_val" = x""yes; then :
53829 cat >>confdefs.h <<_ACEOF
53830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53831 _ACEOF
53834 done
53836 else
53837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53838 $as_echo_n "checking for _float trig functions... " >&6; }
53839 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53840 $as_echo_n "(cached) " >&6
53841 else
53844 ac_ext=cpp
53845 ac_cpp='$CXXCPP $CPPFLAGS'
53846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53851 /* end confdefs.h. */
53852 #include <math.h>
53854 main ()
53856 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53858 return 0;
53860 _ACEOF
53861 if ac_fn_cxx_try_compile "$LINENO"; then :
53862 glibcxx_cv_func__float_trig_use=yes
53863 else
53864 glibcxx_cv_func__float_trig_use=no
53866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53867 ac_ext=c
53868 ac_cpp='$CPP $CPPFLAGS'
53869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53876 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53877 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53878 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53879 do :
53880 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53882 eval as_val=\$$as_ac_var
53883 if test "x$as_val" = x""yes; then :
53884 cat >>confdefs.h <<_ACEOF
53885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53886 _ACEOF
53889 done
53898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53899 $as_echo_n "checking for float round functions... " >&6; }
53900 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53901 $as_echo_n "(cached) " >&6
53902 else
53905 ac_ext=cpp
53906 ac_cpp='$CXXCPP $CPPFLAGS'
53907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53912 /* end confdefs.h. */
53913 #include <math.h>
53915 main ()
53917 ceilf (0); floorf (0);
53919 return 0;
53921 _ACEOF
53922 if ac_fn_cxx_try_compile "$LINENO"; then :
53923 glibcxx_cv_func_float_round_use=yes
53924 else
53925 glibcxx_cv_func_float_round_use=no
53927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53928 ac_ext=c
53929 ac_cpp='$CPP $CPPFLAGS'
53930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53937 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53938 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53939 for ac_func in ceilf floorf
53940 do :
53941 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53942 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53943 eval as_val=\$$as_ac_var
53944 if test "x$as_val" = x""yes; then :
53945 cat >>confdefs.h <<_ACEOF
53946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53947 _ACEOF
53950 done
53952 else
53953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53954 $as_echo_n "checking for _float round functions... " >&6; }
53955 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53956 $as_echo_n "(cached) " >&6
53957 else
53960 ac_ext=cpp
53961 ac_cpp='$CXXCPP $CPPFLAGS'
53962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53967 /* end confdefs.h. */
53968 #include <math.h>
53970 main ()
53972 _ceilf (0); _floorf (0);
53974 return 0;
53976 _ACEOF
53977 if ac_fn_cxx_try_compile "$LINENO"; then :
53978 glibcxx_cv_func__float_round_use=yes
53979 else
53980 glibcxx_cv_func__float_round_use=no
53982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53983 ac_ext=c
53984 ac_cpp='$CPP $CPPFLAGS'
53985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53992 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53993 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53994 for ac_func in _ceilf _floorf
53995 do :
53996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53998 eval as_val=\$$as_ac_var
53999 if test "x$as_val" = x""yes; then :
54000 cat >>confdefs.h <<_ACEOF
54001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54002 _ACEOF
54005 done
54015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54016 $as_echo_n "checking for expf declaration... " >&6; }
54017 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54018 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54019 $as_echo_n "(cached) " >&6
54020 else
54023 ac_ext=cpp
54024 ac_cpp='$CXXCPP $CPPFLAGS'
54025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54030 /* end confdefs.h. */
54031 #include <math.h>
54032 #ifdef HAVE_IEEEFP_H
54033 #include <ieeefp.h>
54034 #endif
54037 main ()
54039 expf(0);
54041 return 0;
54043 _ACEOF
54044 if ac_fn_cxx_try_compile "$LINENO"; then :
54045 glibcxx_cv_func_expf_use=yes
54046 else
54047 glibcxx_cv_func_expf_use=no
54049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54050 ac_ext=c
54051 ac_cpp='$CPP $CPPFLAGS'
54052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54061 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54063 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54064 for ac_func in expf
54065 do :
54066 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54067 if test "x$ac_cv_func_expf" = x""yes; then :
54068 cat >>confdefs.h <<_ACEOF
54069 #define HAVE_EXPF 1
54070 _ACEOF
54073 done
54075 else
54077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54078 $as_echo_n "checking for _expf declaration... " >&6; }
54079 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54080 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54081 $as_echo_n "(cached) " >&6
54082 else
54085 ac_ext=cpp
54086 ac_cpp='$CXXCPP $CPPFLAGS'
54087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54092 /* end confdefs.h. */
54093 #include <math.h>
54094 #ifdef HAVE_IEEEFP_H
54095 #include <ieeefp.h>
54096 #endif
54099 main ()
54101 _expf(0);
54103 return 0;
54105 _ACEOF
54106 if ac_fn_cxx_try_compile "$LINENO"; then :
54107 glibcxx_cv_func__expf_use=yes
54108 else
54109 glibcxx_cv_func__expf_use=no
54111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54112 ac_ext=c
54113 ac_cpp='$CPP $CPPFLAGS'
54114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54123 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54125 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54126 for ac_func in _expf
54127 do :
54128 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54129 if test "x$ac_cv_func__expf" = x""yes; then :
54130 cat >>confdefs.h <<_ACEOF
54131 #define HAVE__EXPF 1
54132 _ACEOF
54135 done
54144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54145 $as_echo_n "checking for isnanf declaration... " >&6; }
54146 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54147 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54148 $as_echo_n "(cached) " >&6
54149 else
54152 ac_ext=cpp
54153 ac_cpp='$CXXCPP $CPPFLAGS'
54154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54159 /* end confdefs.h. */
54160 #include <math.h>
54161 #ifdef HAVE_IEEEFP_H
54162 #include <ieeefp.h>
54163 #endif
54166 main ()
54168 isnanf(0);
54170 return 0;
54172 _ACEOF
54173 if ac_fn_cxx_try_compile "$LINENO"; then :
54174 glibcxx_cv_func_isnanf_use=yes
54175 else
54176 glibcxx_cv_func_isnanf_use=no
54178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54179 ac_ext=c
54180 ac_cpp='$CPP $CPPFLAGS'
54181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54190 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54192 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54193 for ac_func in isnanf
54194 do :
54195 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54196 if test "x$ac_cv_func_isnanf" = x""yes; then :
54197 cat >>confdefs.h <<_ACEOF
54198 #define HAVE_ISNANF 1
54199 _ACEOF
54202 done
54204 else
54206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54207 $as_echo_n "checking for _isnanf declaration... " >&6; }
54208 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54209 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54210 $as_echo_n "(cached) " >&6
54211 else
54214 ac_ext=cpp
54215 ac_cpp='$CXXCPP $CPPFLAGS'
54216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54221 /* end confdefs.h. */
54222 #include <math.h>
54223 #ifdef HAVE_IEEEFP_H
54224 #include <ieeefp.h>
54225 #endif
54228 main ()
54230 _isnanf(0);
54232 return 0;
54234 _ACEOF
54235 if ac_fn_cxx_try_compile "$LINENO"; then :
54236 glibcxx_cv_func__isnanf_use=yes
54237 else
54238 glibcxx_cv_func__isnanf_use=no
54240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54241 ac_ext=c
54242 ac_cpp='$CPP $CPPFLAGS'
54243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54252 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54254 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54255 for ac_func in _isnanf
54256 do :
54257 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54258 if test "x$ac_cv_func__isnanf" = x""yes; then :
54259 cat >>confdefs.h <<_ACEOF
54260 #define HAVE__ISNANF 1
54261 _ACEOF
54264 done
54273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54274 $as_echo_n "checking for isinff declaration... " >&6; }
54275 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54276 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54277 $as_echo_n "(cached) " >&6
54278 else
54281 ac_ext=cpp
54282 ac_cpp='$CXXCPP $CPPFLAGS'
54283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54288 /* end confdefs.h. */
54289 #include <math.h>
54290 #ifdef HAVE_IEEEFP_H
54291 #include <ieeefp.h>
54292 #endif
54295 main ()
54297 isinff(0);
54299 return 0;
54301 _ACEOF
54302 if ac_fn_cxx_try_compile "$LINENO"; then :
54303 glibcxx_cv_func_isinff_use=yes
54304 else
54305 glibcxx_cv_func_isinff_use=no
54307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54308 ac_ext=c
54309 ac_cpp='$CPP $CPPFLAGS'
54310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54319 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54321 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54322 for ac_func in isinff
54323 do :
54324 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54325 if test "x$ac_cv_func_isinff" = x""yes; then :
54326 cat >>confdefs.h <<_ACEOF
54327 #define HAVE_ISINFF 1
54328 _ACEOF
54331 done
54333 else
54335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54336 $as_echo_n "checking for _isinff declaration... " >&6; }
54337 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54338 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54339 $as_echo_n "(cached) " >&6
54340 else
54343 ac_ext=cpp
54344 ac_cpp='$CXXCPP $CPPFLAGS'
54345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54350 /* end confdefs.h. */
54351 #include <math.h>
54352 #ifdef HAVE_IEEEFP_H
54353 #include <ieeefp.h>
54354 #endif
54357 main ()
54359 _isinff(0);
54361 return 0;
54363 _ACEOF
54364 if ac_fn_cxx_try_compile "$LINENO"; then :
54365 glibcxx_cv_func__isinff_use=yes
54366 else
54367 glibcxx_cv_func__isinff_use=no
54369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54370 ac_ext=c
54371 ac_cpp='$CPP $CPPFLAGS'
54372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54381 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54383 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54384 for ac_func in _isinff
54385 do :
54386 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54387 if test "x$ac_cv_func__isinff" = x""yes; then :
54388 cat >>confdefs.h <<_ACEOF
54389 #define HAVE__ISINFF 1
54390 _ACEOF
54393 done
54402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54403 $as_echo_n "checking for atan2f declaration... " >&6; }
54404 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54405 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54406 $as_echo_n "(cached) " >&6
54407 else
54410 ac_ext=cpp
54411 ac_cpp='$CXXCPP $CPPFLAGS'
54412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54417 /* end confdefs.h. */
54418 #include <math.h>
54420 main ()
54422 atan2f(0, 0);
54424 return 0;
54426 _ACEOF
54427 if ac_fn_cxx_try_compile "$LINENO"; then :
54428 glibcxx_cv_func_atan2f_use=yes
54429 else
54430 glibcxx_cv_func_atan2f_use=no
54432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54433 ac_ext=c
54434 ac_cpp='$CPP $CPPFLAGS'
54435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54444 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54446 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54447 for ac_func in atan2f
54448 do :
54449 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54450 if test "x$ac_cv_func_atan2f" = x""yes; then :
54451 cat >>confdefs.h <<_ACEOF
54452 #define HAVE_ATAN2F 1
54453 _ACEOF
54456 done
54458 else
54460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54461 $as_echo_n "checking for _atan2f declaration... " >&6; }
54462 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54463 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54464 $as_echo_n "(cached) " >&6
54465 else
54468 ac_ext=cpp
54469 ac_cpp='$CXXCPP $CPPFLAGS'
54470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54475 /* end confdefs.h. */
54476 #include <math.h>
54478 main ()
54480 _atan2f(0, 0);
54482 return 0;
54484 _ACEOF
54485 if ac_fn_cxx_try_compile "$LINENO"; then :
54486 glibcxx_cv_func__atan2f_use=yes
54487 else
54488 glibcxx_cv_func__atan2f_use=no
54490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54491 ac_ext=c
54492 ac_cpp='$CPP $CPPFLAGS'
54493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54502 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54504 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54505 for ac_func in _atan2f
54506 do :
54507 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54508 if test "x$ac_cv_func__atan2f" = x""yes; then :
54509 cat >>confdefs.h <<_ACEOF
54510 #define HAVE__ATAN2F 1
54511 _ACEOF
54514 done
54523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54524 $as_echo_n "checking for fabsf declaration... " >&6; }
54525 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54526 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54527 $as_echo_n "(cached) " >&6
54528 else
54531 ac_ext=cpp
54532 ac_cpp='$CXXCPP $CPPFLAGS'
54533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54538 /* end confdefs.h. */
54539 #include <math.h>
54540 #ifdef HAVE_IEEEFP_H
54541 #include <ieeefp.h>
54542 #endif
54545 main ()
54547 fabsf(0);
54549 return 0;
54551 _ACEOF
54552 if ac_fn_cxx_try_compile "$LINENO"; then :
54553 glibcxx_cv_func_fabsf_use=yes
54554 else
54555 glibcxx_cv_func_fabsf_use=no
54557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54558 ac_ext=c
54559 ac_cpp='$CPP $CPPFLAGS'
54560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54569 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54571 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54572 for ac_func in fabsf
54573 do :
54574 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54575 if test "x$ac_cv_func_fabsf" = x""yes; then :
54576 cat >>confdefs.h <<_ACEOF
54577 #define HAVE_FABSF 1
54578 _ACEOF
54581 done
54583 else
54585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54586 $as_echo_n "checking for _fabsf declaration... " >&6; }
54587 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54588 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54589 $as_echo_n "(cached) " >&6
54590 else
54593 ac_ext=cpp
54594 ac_cpp='$CXXCPP $CPPFLAGS'
54595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54600 /* end confdefs.h. */
54601 #include <math.h>
54602 #ifdef HAVE_IEEEFP_H
54603 #include <ieeefp.h>
54604 #endif
54607 main ()
54609 _fabsf(0);
54611 return 0;
54613 _ACEOF
54614 if ac_fn_cxx_try_compile "$LINENO"; then :
54615 glibcxx_cv_func__fabsf_use=yes
54616 else
54617 glibcxx_cv_func__fabsf_use=no
54619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54620 ac_ext=c
54621 ac_cpp='$CPP $CPPFLAGS'
54622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54631 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54633 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54634 for ac_func in _fabsf
54635 do :
54636 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54637 if test "x$ac_cv_func__fabsf" = x""yes; then :
54638 cat >>confdefs.h <<_ACEOF
54639 #define HAVE__FABSF 1
54640 _ACEOF
54643 done
54652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54653 $as_echo_n "checking for fmodf declaration... " >&6; }
54654 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54655 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54656 $as_echo_n "(cached) " >&6
54657 else
54660 ac_ext=cpp
54661 ac_cpp='$CXXCPP $CPPFLAGS'
54662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54667 /* end confdefs.h. */
54668 #include <math.h>
54670 main ()
54672 fmodf(0, 0);
54674 return 0;
54676 _ACEOF
54677 if ac_fn_cxx_try_compile "$LINENO"; then :
54678 glibcxx_cv_func_fmodf_use=yes
54679 else
54680 glibcxx_cv_func_fmodf_use=no
54682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54683 ac_ext=c
54684 ac_cpp='$CPP $CPPFLAGS'
54685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54694 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54696 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54697 for ac_func in fmodf
54698 do :
54699 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54700 if test "x$ac_cv_func_fmodf" = x""yes; then :
54701 cat >>confdefs.h <<_ACEOF
54702 #define HAVE_FMODF 1
54703 _ACEOF
54706 done
54708 else
54710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54711 $as_echo_n "checking for _fmodf declaration... " >&6; }
54712 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54713 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54714 $as_echo_n "(cached) " >&6
54715 else
54718 ac_ext=cpp
54719 ac_cpp='$CXXCPP $CPPFLAGS'
54720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54725 /* end confdefs.h. */
54726 #include <math.h>
54728 main ()
54730 _fmodf(0, 0);
54732 return 0;
54734 _ACEOF
54735 if ac_fn_cxx_try_compile "$LINENO"; then :
54736 glibcxx_cv_func__fmodf_use=yes
54737 else
54738 glibcxx_cv_func__fmodf_use=no
54740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54741 ac_ext=c
54742 ac_cpp='$CPP $CPPFLAGS'
54743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54752 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54754 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54755 for ac_func in _fmodf
54756 do :
54757 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54758 if test "x$ac_cv_func__fmodf" = x""yes; then :
54759 cat >>confdefs.h <<_ACEOF
54760 #define HAVE__FMODF 1
54761 _ACEOF
54764 done
54773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54774 $as_echo_n "checking for frexpf declaration... " >&6; }
54775 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54776 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54777 $as_echo_n "(cached) " >&6
54778 else
54781 ac_ext=cpp
54782 ac_cpp='$CXXCPP $CPPFLAGS'
54783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54788 /* end confdefs.h. */
54789 #include <math.h>
54791 main ()
54793 frexpf(0, 0);
54795 return 0;
54797 _ACEOF
54798 if ac_fn_cxx_try_compile "$LINENO"; then :
54799 glibcxx_cv_func_frexpf_use=yes
54800 else
54801 glibcxx_cv_func_frexpf_use=no
54803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54804 ac_ext=c
54805 ac_cpp='$CPP $CPPFLAGS'
54806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54815 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54817 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54818 for ac_func in frexpf
54819 do :
54820 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54821 if test "x$ac_cv_func_frexpf" = x""yes; then :
54822 cat >>confdefs.h <<_ACEOF
54823 #define HAVE_FREXPF 1
54824 _ACEOF
54827 done
54829 else
54831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54832 $as_echo_n "checking for _frexpf declaration... " >&6; }
54833 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54834 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54835 $as_echo_n "(cached) " >&6
54836 else
54839 ac_ext=cpp
54840 ac_cpp='$CXXCPP $CPPFLAGS'
54841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54846 /* end confdefs.h. */
54847 #include <math.h>
54849 main ()
54851 _frexpf(0, 0);
54853 return 0;
54855 _ACEOF
54856 if ac_fn_cxx_try_compile "$LINENO"; then :
54857 glibcxx_cv_func__frexpf_use=yes
54858 else
54859 glibcxx_cv_func__frexpf_use=no
54861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54862 ac_ext=c
54863 ac_cpp='$CPP $CPPFLAGS'
54864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54873 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54875 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54876 for ac_func in _frexpf
54877 do :
54878 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54879 if test "x$ac_cv_func__frexpf" = x""yes; then :
54880 cat >>confdefs.h <<_ACEOF
54881 #define HAVE__FREXPF 1
54882 _ACEOF
54885 done
54894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54895 $as_echo_n "checking for hypotf declaration... " >&6; }
54896 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54897 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54898 $as_echo_n "(cached) " >&6
54899 else
54902 ac_ext=cpp
54903 ac_cpp='$CXXCPP $CPPFLAGS'
54904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54909 /* end confdefs.h. */
54910 #include <math.h>
54912 main ()
54914 hypotf(0, 0);
54916 return 0;
54918 _ACEOF
54919 if ac_fn_cxx_try_compile "$LINENO"; then :
54920 glibcxx_cv_func_hypotf_use=yes
54921 else
54922 glibcxx_cv_func_hypotf_use=no
54924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54925 ac_ext=c
54926 ac_cpp='$CPP $CPPFLAGS'
54927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54936 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54938 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54939 for ac_func in hypotf
54940 do :
54941 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54942 if test "x$ac_cv_func_hypotf" = x""yes; then :
54943 cat >>confdefs.h <<_ACEOF
54944 #define HAVE_HYPOTF 1
54945 _ACEOF
54948 done
54950 else
54952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54953 $as_echo_n "checking for _hypotf declaration... " >&6; }
54954 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54955 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54956 $as_echo_n "(cached) " >&6
54957 else
54960 ac_ext=cpp
54961 ac_cpp='$CXXCPP $CPPFLAGS'
54962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54967 /* end confdefs.h. */
54968 #include <math.h>
54970 main ()
54972 _hypotf(0, 0);
54974 return 0;
54976 _ACEOF
54977 if ac_fn_cxx_try_compile "$LINENO"; then :
54978 glibcxx_cv_func__hypotf_use=yes
54979 else
54980 glibcxx_cv_func__hypotf_use=no
54982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54983 ac_ext=c
54984 ac_cpp='$CPP $CPPFLAGS'
54985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54994 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54996 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54997 for ac_func in _hypotf
54998 do :
54999 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55000 if test "x$ac_cv_func__hypotf" = x""yes; then :
55001 cat >>confdefs.h <<_ACEOF
55002 #define HAVE__HYPOTF 1
55003 _ACEOF
55006 done
55015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55016 $as_echo_n "checking for ldexpf declaration... " >&6; }
55017 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55018 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55019 $as_echo_n "(cached) " >&6
55020 else
55023 ac_ext=cpp
55024 ac_cpp='$CXXCPP $CPPFLAGS'
55025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55030 /* end confdefs.h. */
55031 #include <math.h>
55033 main ()
55035 ldexpf(0, 0);
55037 return 0;
55039 _ACEOF
55040 if ac_fn_cxx_try_compile "$LINENO"; then :
55041 glibcxx_cv_func_ldexpf_use=yes
55042 else
55043 glibcxx_cv_func_ldexpf_use=no
55045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55046 ac_ext=c
55047 ac_cpp='$CPP $CPPFLAGS'
55048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55057 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55059 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55060 for ac_func in ldexpf
55061 do :
55062 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55063 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55064 cat >>confdefs.h <<_ACEOF
55065 #define HAVE_LDEXPF 1
55066 _ACEOF
55069 done
55071 else
55073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55074 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55075 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55076 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55077 $as_echo_n "(cached) " >&6
55078 else
55081 ac_ext=cpp
55082 ac_cpp='$CXXCPP $CPPFLAGS'
55083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55088 /* end confdefs.h. */
55089 #include <math.h>
55091 main ()
55093 _ldexpf(0, 0);
55095 return 0;
55097 _ACEOF
55098 if ac_fn_cxx_try_compile "$LINENO"; then :
55099 glibcxx_cv_func__ldexpf_use=yes
55100 else
55101 glibcxx_cv_func__ldexpf_use=no
55103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55104 ac_ext=c
55105 ac_cpp='$CPP $CPPFLAGS'
55106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55115 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55117 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55118 for ac_func in _ldexpf
55119 do :
55120 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55121 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55122 cat >>confdefs.h <<_ACEOF
55123 #define HAVE__LDEXPF 1
55124 _ACEOF
55127 done
55136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55137 $as_echo_n "checking for logf declaration... " >&6; }
55138 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55139 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55140 $as_echo_n "(cached) " >&6
55141 else
55144 ac_ext=cpp
55145 ac_cpp='$CXXCPP $CPPFLAGS'
55146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55151 /* end confdefs.h. */
55152 #include <math.h>
55153 #ifdef HAVE_IEEEFP_H
55154 #include <ieeefp.h>
55155 #endif
55158 main ()
55160 logf(0);
55162 return 0;
55164 _ACEOF
55165 if ac_fn_cxx_try_compile "$LINENO"; then :
55166 glibcxx_cv_func_logf_use=yes
55167 else
55168 glibcxx_cv_func_logf_use=no
55170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55171 ac_ext=c
55172 ac_cpp='$CPP $CPPFLAGS'
55173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55182 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55184 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55185 for ac_func in logf
55186 do :
55187 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55188 if test "x$ac_cv_func_logf" = x""yes; then :
55189 cat >>confdefs.h <<_ACEOF
55190 #define HAVE_LOGF 1
55191 _ACEOF
55194 done
55196 else
55198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55199 $as_echo_n "checking for _logf declaration... " >&6; }
55200 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55201 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55202 $as_echo_n "(cached) " >&6
55203 else
55206 ac_ext=cpp
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55213 /* end confdefs.h. */
55214 #include <math.h>
55215 #ifdef HAVE_IEEEFP_H
55216 #include <ieeefp.h>
55217 #endif
55220 main ()
55222 _logf(0);
55224 return 0;
55226 _ACEOF
55227 if ac_fn_cxx_try_compile "$LINENO"; then :
55228 glibcxx_cv_func__logf_use=yes
55229 else
55230 glibcxx_cv_func__logf_use=no
55232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55233 ac_ext=c
55234 ac_cpp='$CPP $CPPFLAGS'
55235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55244 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55246 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55247 for ac_func in _logf
55248 do :
55249 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55250 if test "x$ac_cv_func__logf" = x""yes; then :
55251 cat >>confdefs.h <<_ACEOF
55252 #define HAVE__LOGF 1
55253 _ACEOF
55256 done
55265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55266 $as_echo_n "checking for log10f declaration... " >&6; }
55267 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55268 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55269 $as_echo_n "(cached) " >&6
55270 else
55273 ac_ext=cpp
55274 ac_cpp='$CXXCPP $CPPFLAGS'
55275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55280 /* end confdefs.h. */
55281 #include <math.h>
55282 #ifdef HAVE_IEEEFP_H
55283 #include <ieeefp.h>
55284 #endif
55287 main ()
55289 log10f(0);
55291 return 0;
55293 _ACEOF
55294 if ac_fn_cxx_try_compile "$LINENO"; then :
55295 glibcxx_cv_func_log10f_use=yes
55296 else
55297 glibcxx_cv_func_log10f_use=no
55299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55300 ac_ext=c
55301 ac_cpp='$CPP $CPPFLAGS'
55302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55311 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55313 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55314 for ac_func in log10f
55315 do :
55316 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55317 if test "x$ac_cv_func_log10f" = x""yes; then :
55318 cat >>confdefs.h <<_ACEOF
55319 #define HAVE_LOG10F 1
55320 _ACEOF
55323 done
55325 else
55327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55328 $as_echo_n "checking for _log10f declaration... " >&6; }
55329 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55330 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55331 $as_echo_n "(cached) " >&6
55332 else
55335 ac_ext=cpp
55336 ac_cpp='$CXXCPP $CPPFLAGS'
55337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55342 /* end confdefs.h. */
55343 #include <math.h>
55344 #ifdef HAVE_IEEEFP_H
55345 #include <ieeefp.h>
55346 #endif
55349 main ()
55351 _log10f(0);
55353 return 0;
55355 _ACEOF
55356 if ac_fn_cxx_try_compile "$LINENO"; then :
55357 glibcxx_cv_func__log10f_use=yes
55358 else
55359 glibcxx_cv_func__log10f_use=no
55361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55362 ac_ext=c
55363 ac_cpp='$CPP $CPPFLAGS'
55364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55373 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55375 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55376 for ac_func in _log10f
55377 do :
55378 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55379 if test "x$ac_cv_func__log10f" = x""yes; then :
55380 cat >>confdefs.h <<_ACEOF
55381 #define HAVE__LOG10F 1
55382 _ACEOF
55385 done
55394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55395 $as_echo_n "checking for modff declaration... " >&6; }
55396 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55397 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55398 $as_echo_n "(cached) " >&6
55399 else
55402 ac_ext=cpp
55403 ac_cpp='$CXXCPP $CPPFLAGS'
55404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55409 /* end confdefs.h. */
55410 #include <math.h>
55412 main ()
55414 modff(0, 0);
55416 return 0;
55418 _ACEOF
55419 if ac_fn_cxx_try_compile "$LINENO"; then :
55420 glibcxx_cv_func_modff_use=yes
55421 else
55422 glibcxx_cv_func_modff_use=no
55424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55425 ac_ext=c
55426 ac_cpp='$CPP $CPPFLAGS'
55427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55436 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55438 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55439 for ac_func in modff
55440 do :
55441 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55442 if test "x$ac_cv_func_modff" = x""yes; then :
55443 cat >>confdefs.h <<_ACEOF
55444 #define HAVE_MODFF 1
55445 _ACEOF
55448 done
55450 else
55452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55453 $as_echo_n "checking for _modff declaration... " >&6; }
55454 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55455 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55456 $as_echo_n "(cached) " >&6
55457 else
55460 ac_ext=cpp
55461 ac_cpp='$CXXCPP $CPPFLAGS'
55462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55467 /* end confdefs.h. */
55468 #include <math.h>
55470 main ()
55472 _modff(0, 0);
55474 return 0;
55476 _ACEOF
55477 if ac_fn_cxx_try_compile "$LINENO"; then :
55478 glibcxx_cv_func__modff_use=yes
55479 else
55480 glibcxx_cv_func__modff_use=no
55482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55483 ac_ext=c
55484 ac_cpp='$CPP $CPPFLAGS'
55485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55494 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55496 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55497 for ac_func in _modff
55498 do :
55499 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55500 if test "x$ac_cv_func__modff" = x""yes; then :
55501 cat >>confdefs.h <<_ACEOF
55502 #define HAVE__MODFF 1
55503 _ACEOF
55506 done
55515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55516 $as_echo_n "checking for modf declaration... " >&6; }
55517 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55518 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55519 $as_echo_n "(cached) " >&6
55520 else
55523 ac_ext=cpp
55524 ac_cpp='$CXXCPP $CPPFLAGS'
55525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55530 /* end confdefs.h. */
55531 #include <math.h>
55533 main ()
55535 modf(0, 0);
55537 return 0;
55539 _ACEOF
55540 if ac_fn_cxx_try_compile "$LINENO"; then :
55541 glibcxx_cv_func_modf_use=yes
55542 else
55543 glibcxx_cv_func_modf_use=no
55545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55546 ac_ext=c
55547 ac_cpp='$CPP $CPPFLAGS'
55548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55557 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55559 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55560 for ac_func in modf
55561 do :
55562 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55563 if test "x$ac_cv_func_modf" = x""yes; then :
55564 cat >>confdefs.h <<_ACEOF
55565 #define HAVE_MODF 1
55566 _ACEOF
55569 done
55571 else
55573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55574 $as_echo_n "checking for _modf declaration... " >&6; }
55575 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55576 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55577 $as_echo_n "(cached) " >&6
55578 else
55581 ac_ext=cpp
55582 ac_cpp='$CXXCPP $CPPFLAGS'
55583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55588 /* end confdefs.h. */
55589 #include <math.h>
55591 main ()
55593 _modf(0, 0);
55595 return 0;
55597 _ACEOF
55598 if ac_fn_cxx_try_compile "$LINENO"; then :
55599 glibcxx_cv_func__modf_use=yes
55600 else
55601 glibcxx_cv_func__modf_use=no
55603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55604 ac_ext=c
55605 ac_cpp='$CPP $CPPFLAGS'
55606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55615 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55617 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55618 for ac_func in _modf
55619 do :
55620 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55621 if test "x$ac_cv_func__modf" = x""yes; then :
55622 cat >>confdefs.h <<_ACEOF
55623 #define HAVE__MODF 1
55624 _ACEOF
55627 done
55636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55637 $as_echo_n "checking for powf declaration... " >&6; }
55638 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55639 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55640 $as_echo_n "(cached) " >&6
55641 else
55644 ac_ext=cpp
55645 ac_cpp='$CXXCPP $CPPFLAGS'
55646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55651 /* end confdefs.h. */
55652 #include <math.h>
55654 main ()
55656 powf(0, 0);
55658 return 0;
55660 _ACEOF
55661 if ac_fn_cxx_try_compile "$LINENO"; then :
55662 glibcxx_cv_func_powf_use=yes
55663 else
55664 glibcxx_cv_func_powf_use=no
55666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55667 ac_ext=c
55668 ac_cpp='$CPP $CPPFLAGS'
55669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55678 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55680 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55681 for ac_func in powf
55682 do :
55683 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55684 if test "x$ac_cv_func_powf" = x""yes; then :
55685 cat >>confdefs.h <<_ACEOF
55686 #define HAVE_POWF 1
55687 _ACEOF
55690 done
55692 else
55694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55695 $as_echo_n "checking for _powf declaration... " >&6; }
55696 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55697 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55698 $as_echo_n "(cached) " >&6
55699 else
55702 ac_ext=cpp
55703 ac_cpp='$CXXCPP $CPPFLAGS'
55704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55709 /* end confdefs.h. */
55710 #include <math.h>
55712 main ()
55714 _powf(0, 0);
55716 return 0;
55718 _ACEOF
55719 if ac_fn_cxx_try_compile "$LINENO"; then :
55720 glibcxx_cv_func__powf_use=yes
55721 else
55722 glibcxx_cv_func__powf_use=no
55724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55725 ac_ext=c
55726 ac_cpp='$CPP $CPPFLAGS'
55727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55736 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55738 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55739 for ac_func in _powf
55740 do :
55741 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55742 if test "x$ac_cv_func__powf" = x""yes; then :
55743 cat >>confdefs.h <<_ACEOF
55744 #define HAVE__POWF 1
55745 _ACEOF
55748 done
55757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55758 $as_echo_n "checking for sqrtf declaration... " >&6; }
55759 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55760 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55761 $as_echo_n "(cached) " >&6
55762 else
55765 ac_ext=cpp
55766 ac_cpp='$CXXCPP $CPPFLAGS'
55767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55772 /* end confdefs.h. */
55773 #include <math.h>
55774 #ifdef HAVE_IEEEFP_H
55775 #include <ieeefp.h>
55776 #endif
55779 main ()
55781 sqrtf(0);
55783 return 0;
55785 _ACEOF
55786 if ac_fn_cxx_try_compile "$LINENO"; then :
55787 glibcxx_cv_func_sqrtf_use=yes
55788 else
55789 glibcxx_cv_func_sqrtf_use=no
55791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55792 ac_ext=c
55793 ac_cpp='$CPP $CPPFLAGS'
55794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55803 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55805 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55806 for ac_func in sqrtf
55807 do :
55808 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55809 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55810 cat >>confdefs.h <<_ACEOF
55811 #define HAVE_SQRTF 1
55812 _ACEOF
55815 done
55817 else
55819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55820 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55821 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55822 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55823 $as_echo_n "(cached) " >&6
55824 else
55827 ac_ext=cpp
55828 ac_cpp='$CXXCPP $CPPFLAGS'
55829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55834 /* end confdefs.h. */
55835 #include <math.h>
55836 #ifdef HAVE_IEEEFP_H
55837 #include <ieeefp.h>
55838 #endif
55841 main ()
55843 _sqrtf(0);
55845 return 0;
55847 _ACEOF
55848 if ac_fn_cxx_try_compile "$LINENO"; then :
55849 glibcxx_cv_func__sqrtf_use=yes
55850 else
55851 glibcxx_cv_func__sqrtf_use=no
55853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55854 ac_ext=c
55855 ac_cpp='$CPP $CPPFLAGS'
55856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55865 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55867 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55868 for ac_func in _sqrtf
55869 do :
55870 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55871 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55872 cat >>confdefs.h <<_ACEOF
55873 #define HAVE__SQRTF 1
55874 _ACEOF
55877 done
55886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55887 $as_echo_n "checking for sincosf declaration... " >&6; }
55888 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55889 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55890 $as_echo_n "(cached) " >&6
55891 else
55894 ac_ext=cpp
55895 ac_cpp='$CXXCPP $CPPFLAGS'
55896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55901 /* end confdefs.h. */
55902 #include <math.h>
55904 main ()
55906 sincosf(0, 0, 0);
55908 return 0;
55910 _ACEOF
55911 if ac_fn_cxx_try_compile "$LINENO"; then :
55912 glibcxx_cv_func_sincosf_use=yes
55913 else
55914 glibcxx_cv_func_sincosf_use=no
55916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55917 ac_ext=c
55918 ac_cpp='$CPP $CPPFLAGS'
55919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55928 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55930 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55931 for ac_func in sincosf
55932 do :
55933 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55934 if test "x$ac_cv_func_sincosf" = x""yes; then :
55935 cat >>confdefs.h <<_ACEOF
55936 #define HAVE_SINCOSF 1
55937 _ACEOF
55940 done
55942 else
55944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55945 $as_echo_n "checking for _sincosf declaration... " >&6; }
55946 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55947 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55948 $as_echo_n "(cached) " >&6
55949 else
55952 ac_ext=cpp
55953 ac_cpp='$CXXCPP $CPPFLAGS'
55954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55959 /* end confdefs.h. */
55960 #include <math.h>
55962 main ()
55964 _sincosf(0, 0, 0);
55966 return 0;
55968 _ACEOF
55969 if ac_fn_cxx_try_compile "$LINENO"; then :
55970 glibcxx_cv_func__sincosf_use=yes
55971 else
55972 glibcxx_cv_func__sincosf_use=no
55974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55975 ac_ext=c
55976 ac_cpp='$CPP $CPPFLAGS'
55977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55986 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55988 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55989 for ac_func in _sincosf
55990 do :
55991 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55992 if test "x$ac_cv_func__sincosf" = x""yes; then :
55993 cat >>confdefs.h <<_ACEOF
55994 #define HAVE__SINCOSF 1
55995 _ACEOF
55998 done
56007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56008 $as_echo_n "checking for finitef declaration... " >&6; }
56009 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56010 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56011 $as_echo_n "(cached) " >&6
56012 else
56015 ac_ext=cpp
56016 ac_cpp='$CXXCPP $CPPFLAGS'
56017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56022 /* end confdefs.h. */
56023 #include <math.h>
56024 #ifdef HAVE_IEEEFP_H
56025 #include <ieeefp.h>
56026 #endif
56029 main ()
56031 finitef(0);
56033 return 0;
56035 _ACEOF
56036 if ac_fn_cxx_try_compile "$LINENO"; then :
56037 glibcxx_cv_func_finitef_use=yes
56038 else
56039 glibcxx_cv_func_finitef_use=no
56041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56042 ac_ext=c
56043 ac_cpp='$CPP $CPPFLAGS'
56044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56053 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56055 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56056 for ac_func in finitef
56057 do :
56058 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56059 if test "x$ac_cv_func_finitef" = x""yes; then :
56060 cat >>confdefs.h <<_ACEOF
56061 #define HAVE_FINITEF 1
56062 _ACEOF
56065 done
56067 else
56069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56070 $as_echo_n "checking for _finitef declaration... " >&6; }
56071 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56072 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56073 $as_echo_n "(cached) " >&6
56074 else
56077 ac_ext=cpp
56078 ac_cpp='$CXXCPP $CPPFLAGS'
56079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56084 /* end confdefs.h. */
56085 #include <math.h>
56086 #ifdef HAVE_IEEEFP_H
56087 #include <ieeefp.h>
56088 #endif
56091 main ()
56093 _finitef(0);
56095 return 0;
56097 _ACEOF
56098 if ac_fn_cxx_try_compile "$LINENO"; then :
56099 glibcxx_cv_func__finitef_use=yes
56100 else
56101 glibcxx_cv_func__finitef_use=no
56103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56104 ac_ext=c
56105 ac_cpp='$CPP $CPPFLAGS'
56106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56115 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56117 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56118 for ac_func in _finitef
56119 do :
56120 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56121 if test "x$ac_cv_func__finitef" = x""yes; then :
56122 cat >>confdefs.h <<_ACEOF
56123 #define HAVE__FINITEF 1
56124 _ACEOF
56127 done
56136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56137 $as_echo_n "checking for long double trig functions... " >&6; }
56138 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56139 $as_echo_n "(cached) " >&6
56140 else
56143 ac_ext=cpp
56144 ac_cpp='$CXXCPP $CPPFLAGS'
56145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56150 /* end confdefs.h. */
56151 #include <math.h>
56153 main ()
56155 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56157 return 0;
56159 _ACEOF
56160 if ac_fn_cxx_try_compile "$LINENO"; then :
56161 glibcxx_cv_func_long_double_trig_use=yes
56162 else
56163 glibcxx_cv_func_long_double_trig_use=no
56165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56166 ac_ext=c
56167 ac_cpp='$CPP $CPPFLAGS'
56168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56175 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56176 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56177 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56178 do :
56179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56181 eval as_val=\$$as_ac_var
56182 if test "x$as_val" = x""yes; then :
56183 cat >>confdefs.h <<_ACEOF
56184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56185 _ACEOF
56188 done
56190 else
56191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56192 $as_echo_n "checking for _long double trig functions... " >&6; }
56193 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56194 $as_echo_n "(cached) " >&6
56195 else
56198 ac_ext=cpp
56199 ac_cpp='$CXXCPP $CPPFLAGS'
56200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56205 /* end confdefs.h. */
56206 #include <math.h>
56208 main ()
56210 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56212 return 0;
56214 _ACEOF
56215 if ac_fn_cxx_try_compile "$LINENO"; then :
56216 glibcxx_cv_func__long_double_trig_use=yes
56217 else
56218 glibcxx_cv_func__long_double_trig_use=no
56220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56221 ac_ext=c
56222 ac_cpp='$CPP $CPPFLAGS'
56223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56230 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56231 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56232 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56233 do :
56234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56236 eval as_val=\$$as_ac_var
56237 if test "x$as_val" = x""yes; then :
56238 cat >>confdefs.h <<_ACEOF
56239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56240 _ACEOF
56243 done
56252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56253 $as_echo_n "checking for long double round functions... " >&6; }
56254 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56255 $as_echo_n "(cached) " >&6
56256 else
56259 ac_ext=cpp
56260 ac_cpp='$CXXCPP $CPPFLAGS'
56261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56266 /* end confdefs.h. */
56267 #include <math.h>
56269 main ()
56271 ceill (0); floorl (0);
56273 return 0;
56275 _ACEOF
56276 if ac_fn_cxx_try_compile "$LINENO"; then :
56277 glibcxx_cv_func_long_double_round_use=yes
56278 else
56279 glibcxx_cv_func_long_double_round_use=no
56281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56282 ac_ext=c
56283 ac_cpp='$CPP $CPPFLAGS'
56284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56291 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56292 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56293 for ac_func in ceill floorl
56294 do :
56295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56297 eval as_val=\$$as_ac_var
56298 if test "x$as_val" = x""yes; then :
56299 cat >>confdefs.h <<_ACEOF
56300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56301 _ACEOF
56304 done
56306 else
56307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56308 $as_echo_n "checking for _long double round functions... " >&6; }
56309 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56310 $as_echo_n "(cached) " >&6
56311 else
56314 ac_ext=cpp
56315 ac_cpp='$CXXCPP $CPPFLAGS'
56316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56321 /* end confdefs.h. */
56322 #include <math.h>
56324 main ()
56326 _ceill (0); _floorl (0);
56328 return 0;
56330 _ACEOF
56331 if ac_fn_cxx_try_compile "$LINENO"; then :
56332 glibcxx_cv_func__long_double_round_use=yes
56333 else
56334 glibcxx_cv_func__long_double_round_use=no
56336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56337 ac_ext=c
56338 ac_cpp='$CPP $CPPFLAGS'
56339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56346 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56347 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56348 for ac_func in _ceill _floorl
56349 do :
56350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56352 eval as_val=\$$as_ac_var
56353 if test "x$as_val" = x""yes; then :
56354 cat >>confdefs.h <<_ACEOF
56355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56356 _ACEOF
56359 done
56369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56370 $as_echo_n "checking for isnanl declaration... " >&6; }
56371 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56372 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56373 $as_echo_n "(cached) " >&6
56374 else
56377 ac_ext=cpp
56378 ac_cpp='$CXXCPP $CPPFLAGS'
56379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56384 /* end confdefs.h. */
56385 #include <math.h>
56386 #ifdef HAVE_IEEEFP_H
56387 #include <ieeefp.h>
56388 #endif
56391 main ()
56393 isnanl(0);
56395 return 0;
56397 _ACEOF
56398 if ac_fn_cxx_try_compile "$LINENO"; then :
56399 glibcxx_cv_func_isnanl_use=yes
56400 else
56401 glibcxx_cv_func_isnanl_use=no
56403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56404 ac_ext=c
56405 ac_cpp='$CPP $CPPFLAGS'
56406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56415 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56417 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56418 for ac_func in isnanl
56419 do :
56420 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56421 if test "x$ac_cv_func_isnanl" = x""yes; then :
56422 cat >>confdefs.h <<_ACEOF
56423 #define HAVE_ISNANL 1
56424 _ACEOF
56427 done
56429 else
56431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56432 $as_echo_n "checking for _isnanl declaration... " >&6; }
56433 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56434 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56435 $as_echo_n "(cached) " >&6
56436 else
56439 ac_ext=cpp
56440 ac_cpp='$CXXCPP $CPPFLAGS'
56441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56446 /* end confdefs.h. */
56447 #include <math.h>
56448 #ifdef HAVE_IEEEFP_H
56449 #include <ieeefp.h>
56450 #endif
56453 main ()
56455 _isnanl(0);
56457 return 0;
56459 _ACEOF
56460 if ac_fn_cxx_try_compile "$LINENO"; then :
56461 glibcxx_cv_func__isnanl_use=yes
56462 else
56463 glibcxx_cv_func__isnanl_use=no
56465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56466 ac_ext=c
56467 ac_cpp='$CPP $CPPFLAGS'
56468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56477 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56479 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56480 for ac_func in _isnanl
56481 do :
56482 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56483 if test "x$ac_cv_func__isnanl" = x""yes; then :
56484 cat >>confdefs.h <<_ACEOF
56485 #define HAVE__ISNANL 1
56486 _ACEOF
56489 done
56498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56499 $as_echo_n "checking for isinfl declaration... " >&6; }
56500 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56501 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56502 $as_echo_n "(cached) " >&6
56503 else
56506 ac_ext=cpp
56507 ac_cpp='$CXXCPP $CPPFLAGS'
56508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56513 /* end confdefs.h. */
56514 #include <math.h>
56515 #ifdef HAVE_IEEEFP_H
56516 #include <ieeefp.h>
56517 #endif
56520 main ()
56522 isinfl(0);
56524 return 0;
56526 _ACEOF
56527 if ac_fn_cxx_try_compile "$LINENO"; then :
56528 glibcxx_cv_func_isinfl_use=yes
56529 else
56530 glibcxx_cv_func_isinfl_use=no
56532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56533 ac_ext=c
56534 ac_cpp='$CPP $CPPFLAGS'
56535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56544 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56546 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56547 for ac_func in isinfl
56548 do :
56549 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56550 if test "x$ac_cv_func_isinfl" = x""yes; then :
56551 cat >>confdefs.h <<_ACEOF
56552 #define HAVE_ISINFL 1
56553 _ACEOF
56556 done
56558 else
56560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56561 $as_echo_n "checking for _isinfl declaration... " >&6; }
56562 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56563 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56564 $as_echo_n "(cached) " >&6
56565 else
56568 ac_ext=cpp
56569 ac_cpp='$CXXCPP $CPPFLAGS'
56570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56575 /* end confdefs.h. */
56576 #include <math.h>
56577 #ifdef HAVE_IEEEFP_H
56578 #include <ieeefp.h>
56579 #endif
56582 main ()
56584 _isinfl(0);
56586 return 0;
56588 _ACEOF
56589 if ac_fn_cxx_try_compile "$LINENO"; then :
56590 glibcxx_cv_func__isinfl_use=yes
56591 else
56592 glibcxx_cv_func__isinfl_use=no
56594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56595 ac_ext=c
56596 ac_cpp='$CPP $CPPFLAGS'
56597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56606 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56608 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56609 for ac_func in _isinfl
56610 do :
56611 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56612 if test "x$ac_cv_func__isinfl" = x""yes; then :
56613 cat >>confdefs.h <<_ACEOF
56614 #define HAVE__ISINFL 1
56615 _ACEOF
56618 done
56627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56628 $as_echo_n "checking for atan2l declaration... " >&6; }
56629 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56630 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56631 $as_echo_n "(cached) " >&6
56632 else
56635 ac_ext=cpp
56636 ac_cpp='$CXXCPP $CPPFLAGS'
56637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56642 /* end confdefs.h. */
56643 #include <math.h>
56645 main ()
56647 atan2l(0, 0);
56649 return 0;
56651 _ACEOF
56652 if ac_fn_cxx_try_compile "$LINENO"; then :
56653 glibcxx_cv_func_atan2l_use=yes
56654 else
56655 glibcxx_cv_func_atan2l_use=no
56657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56658 ac_ext=c
56659 ac_cpp='$CPP $CPPFLAGS'
56660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56669 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56671 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56672 for ac_func in atan2l
56673 do :
56674 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56675 if test "x$ac_cv_func_atan2l" = x""yes; then :
56676 cat >>confdefs.h <<_ACEOF
56677 #define HAVE_ATAN2L 1
56678 _ACEOF
56681 done
56683 else
56685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56686 $as_echo_n "checking for _atan2l declaration... " >&6; }
56687 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56688 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56689 $as_echo_n "(cached) " >&6
56690 else
56693 ac_ext=cpp
56694 ac_cpp='$CXXCPP $CPPFLAGS'
56695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56700 /* end confdefs.h. */
56701 #include <math.h>
56703 main ()
56705 _atan2l(0, 0);
56707 return 0;
56709 _ACEOF
56710 if ac_fn_cxx_try_compile "$LINENO"; then :
56711 glibcxx_cv_func__atan2l_use=yes
56712 else
56713 glibcxx_cv_func__atan2l_use=no
56715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56716 ac_ext=c
56717 ac_cpp='$CPP $CPPFLAGS'
56718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56727 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56729 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56730 for ac_func in _atan2l
56731 do :
56732 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56733 if test "x$ac_cv_func__atan2l" = x""yes; then :
56734 cat >>confdefs.h <<_ACEOF
56735 #define HAVE__ATAN2L 1
56736 _ACEOF
56739 done
56748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56749 $as_echo_n "checking for expl declaration... " >&6; }
56750 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56751 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56752 $as_echo_n "(cached) " >&6
56753 else
56756 ac_ext=cpp
56757 ac_cpp='$CXXCPP $CPPFLAGS'
56758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56763 /* end confdefs.h. */
56764 #include <math.h>
56765 #ifdef HAVE_IEEEFP_H
56766 #include <ieeefp.h>
56767 #endif
56770 main ()
56772 expl(0);
56774 return 0;
56776 _ACEOF
56777 if ac_fn_cxx_try_compile "$LINENO"; then :
56778 glibcxx_cv_func_expl_use=yes
56779 else
56780 glibcxx_cv_func_expl_use=no
56782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56783 ac_ext=c
56784 ac_cpp='$CPP $CPPFLAGS'
56785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56794 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56796 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56797 for ac_func in expl
56798 do :
56799 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56800 if test "x$ac_cv_func_expl" = x""yes; then :
56801 cat >>confdefs.h <<_ACEOF
56802 #define HAVE_EXPL 1
56803 _ACEOF
56806 done
56808 else
56810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56811 $as_echo_n "checking for _expl declaration... " >&6; }
56812 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56813 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56814 $as_echo_n "(cached) " >&6
56815 else
56818 ac_ext=cpp
56819 ac_cpp='$CXXCPP $CPPFLAGS'
56820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56825 /* end confdefs.h. */
56826 #include <math.h>
56827 #ifdef HAVE_IEEEFP_H
56828 #include <ieeefp.h>
56829 #endif
56832 main ()
56834 _expl(0);
56836 return 0;
56838 _ACEOF
56839 if ac_fn_cxx_try_compile "$LINENO"; then :
56840 glibcxx_cv_func__expl_use=yes
56841 else
56842 glibcxx_cv_func__expl_use=no
56844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56845 ac_ext=c
56846 ac_cpp='$CPP $CPPFLAGS'
56847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56856 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56858 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56859 for ac_func in _expl
56860 do :
56861 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56862 if test "x$ac_cv_func__expl" = x""yes; then :
56863 cat >>confdefs.h <<_ACEOF
56864 #define HAVE__EXPL 1
56865 _ACEOF
56868 done
56877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56878 $as_echo_n "checking for fabsl declaration... " >&6; }
56879 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56880 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56881 $as_echo_n "(cached) " >&6
56882 else
56885 ac_ext=cpp
56886 ac_cpp='$CXXCPP $CPPFLAGS'
56887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56892 /* end confdefs.h. */
56893 #include <math.h>
56894 #ifdef HAVE_IEEEFP_H
56895 #include <ieeefp.h>
56896 #endif
56899 main ()
56901 fabsl(0);
56903 return 0;
56905 _ACEOF
56906 if ac_fn_cxx_try_compile "$LINENO"; then :
56907 glibcxx_cv_func_fabsl_use=yes
56908 else
56909 glibcxx_cv_func_fabsl_use=no
56911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56912 ac_ext=c
56913 ac_cpp='$CPP $CPPFLAGS'
56914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56923 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56925 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56926 for ac_func in fabsl
56927 do :
56928 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56929 if test "x$ac_cv_func_fabsl" = x""yes; then :
56930 cat >>confdefs.h <<_ACEOF
56931 #define HAVE_FABSL 1
56932 _ACEOF
56935 done
56937 else
56939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56940 $as_echo_n "checking for _fabsl declaration... " >&6; }
56941 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56942 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56943 $as_echo_n "(cached) " >&6
56944 else
56947 ac_ext=cpp
56948 ac_cpp='$CXXCPP $CPPFLAGS'
56949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56954 /* end confdefs.h. */
56955 #include <math.h>
56956 #ifdef HAVE_IEEEFP_H
56957 #include <ieeefp.h>
56958 #endif
56961 main ()
56963 _fabsl(0);
56965 return 0;
56967 _ACEOF
56968 if ac_fn_cxx_try_compile "$LINENO"; then :
56969 glibcxx_cv_func__fabsl_use=yes
56970 else
56971 glibcxx_cv_func__fabsl_use=no
56973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56974 ac_ext=c
56975 ac_cpp='$CPP $CPPFLAGS'
56976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56985 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56987 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56988 for ac_func in _fabsl
56989 do :
56990 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56991 if test "x$ac_cv_func__fabsl" = x""yes; then :
56992 cat >>confdefs.h <<_ACEOF
56993 #define HAVE__FABSL 1
56994 _ACEOF
56997 done
57006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57007 $as_echo_n "checking for fmodl declaration... " >&6; }
57008 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57009 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57010 $as_echo_n "(cached) " >&6
57011 else
57014 ac_ext=cpp
57015 ac_cpp='$CXXCPP $CPPFLAGS'
57016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57021 /* end confdefs.h. */
57022 #include <math.h>
57024 main ()
57026 fmodl(0, 0);
57028 return 0;
57030 _ACEOF
57031 if ac_fn_cxx_try_compile "$LINENO"; then :
57032 glibcxx_cv_func_fmodl_use=yes
57033 else
57034 glibcxx_cv_func_fmodl_use=no
57036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57037 ac_ext=c
57038 ac_cpp='$CPP $CPPFLAGS'
57039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57048 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57050 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57051 for ac_func in fmodl
57052 do :
57053 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57054 if test "x$ac_cv_func_fmodl" = x""yes; then :
57055 cat >>confdefs.h <<_ACEOF
57056 #define HAVE_FMODL 1
57057 _ACEOF
57060 done
57062 else
57064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57065 $as_echo_n "checking for _fmodl declaration... " >&6; }
57066 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57067 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57068 $as_echo_n "(cached) " >&6
57069 else
57072 ac_ext=cpp
57073 ac_cpp='$CXXCPP $CPPFLAGS'
57074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57079 /* end confdefs.h. */
57080 #include <math.h>
57082 main ()
57084 _fmodl(0, 0);
57086 return 0;
57088 _ACEOF
57089 if ac_fn_cxx_try_compile "$LINENO"; then :
57090 glibcxx_cv_func__fmodl_use=yes
57091 else
57092 glibcxx_cv_func__fmodl_use=no
57094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57095 ac_ext=c
57096 ac_cpp='$CPP $CPPFLAGS'
57097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57106 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57108 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57109 for ac_func in _fmodl
57110 do :
57111 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57112 if test "x$ac_cv_func__fmodl" = x""yes; then :
57113 cat >>confdefs.h <<_ACEOF
57114 #define HAVE__FMODL 1
57115 _ACEOF
57118 done
57127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57128 $as_echo_n "checking for frexpl declaration... " >&6; }
57129 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57130 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57131 $as_echo_n "(cached) " >&6
57132 else
57135 ac_ext=cpp
57136 ac_cpp='$CXXCPP $CPPFLAGS'
57137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57142 /* end confdefs.h. */
57143 #include <math.h>
57145 main ()
57147 frexpl(0, 0);
57149 return 0;
57151 _ACEOF
57152 if ac_fn_cxx_try_compile "$LINENO"; then :
57153 glibcxx_cv_func_frexpl_use=yes
57154 else
57155 glibcxx_cv_func_frexpl_use=no
57157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57158 ac_ext=c
57159 ac_cpp='$CPP $CPPFLAGS'
57160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57169 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57171 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57172 for ac_func in frexpl
57173 do :
57174 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57175 if test "x$ac_cv_func_frexpl" = x""yes; then :
57176 cat >>confdefs.h <<_ACEOF
57177 #define HAVE_FREXPL 1
57178 _ACEOF
57181 done
57183 else
57185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57186 $as_echo_n "checking for _frexpl declaration... " >&6; }
57187 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57188 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57189 $as_echo_n "(cached) " >&6
57190 else
57193 ac_ext=cpp
57194 ac_cpp='$CXXCPP $CPPFLAGS'
57195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57200 /* end confdefs.h. */
57201 #include <math.h>
57203 main ()
57205 _frexpl(0, 0);
57207 return 0;
57209 _ACEOF
57210 if ac_fn_cxx_try_compile "$LINENO"; then :
57211 glibcxx_cv_func__frexpl_use=yes
57212 else
57213 glibcxx_cv_func__frexpl_use=no
57215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57216 ac_ext=c
57217 ac_cpp='$CPP $CPPFLAGS'
57218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57227 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57229 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57230 for ac_func in _frexpl
57231 do :
57232 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57233 if test "x$ac_cv_func__frexpl" = x""yes; then :
57234 cat >>confdefs.h <<_ACEOF
57235 #define HAVE__FREXPL 1
57236 _ACEOF
57239 done
57248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57249 $as_echo_n "checking for hypotl declaration... " >&6; }
57250 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57251 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57252 $as_echo_n "(cached) " >&6
57253 else
57256 ac_ext=cpp
57257 ac_cpp='$CXXCPP $CPPFLAGS'
57258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57263 /* end confdefs.h. */
57264 #include <math.h>
57266 main ()
57268 hypotl(0, 0);
57270 return 0;
57272 _ACEOF
57273 if ac_fn_cxx_try_compile "$LINENO"; then :
57274 glibcxx_cv_func_hypotl_use=yes
57275 else
57276 glibcxx_cv_func_hypotl_use=no
57278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57279 ac_ext=c
57280 ac_cpp='$CPP $CPPFLAGS'
57281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57290 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57292 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57293 for ac_func in hypotl
57294 do :
57295 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57296 if test "x$ac_cv_func_hypotl" = x""yes; then :
57297 cat >>confdefs.h <<_ACEOF
57298 #define HAVE_HYPOTL 1
57299 _ACEOF
57302 done
57304 else
57306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57307 $as_echo_n "checking for _hypotl declaration... " >&6; }
57308 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57309 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57310 $as_echo_n "(cached) " >&6
57311 else
57314 ac_ext=cpp
57315 ac_cpp='$CXXCPP $CPPFLAGS'
57316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57321 /* end confdefs.h. */
57322 #include <math.h>
57324 main ()
57326 _hypotl(0, 0);
57328 return 0;
57330 _ACEOF
57331 if ac_fn_cxx_try_compile "$LINENO"; then :
57332 glibcxx_cv_func__hypotl_use=yes
57333 else
57334 glibcxx_cv_func__hypotl_use=no
57336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57337 ac_ext=c
57338 ac_cpp='$CPP $CPPFLAGS'
57339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57348 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57350 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57351 for ac_func in _hypotl
57352 do :
57353 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57354 if test "x$ac_cv_func__hypotl" = x""yes; then :
57355 cat >>confdefs.h <<_ACEOF
57356 #define HAVE__HYPOTL 1
57357 _ACEOF
57360 done
57369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57370 $as_echo_n "checking for ldexpl declaration... " >&6; }
57371 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57372 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57373 $as_echo_n "(cached) " >&6
57374 else
57377 ac_ext=cpp
57378 ac_cpp='$CXXCPP $CPPFLAGS'
57379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57384 /* end confdefs.h. */
57385 #include <math.h>
57387 main ()
57389 ldexpl(0, 0);
57391 return 0;
57393 _ACEOF
57394 if ac_fn_cxx_try_compile "$LINENO"; then :
57395 glibcxx_cv_func_ldexpl_use=yes
57396 else
57397 glibcxx_cv_func_ldexpl_use=no
57399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57400 ac_ext=c
57401 ac_cpp='$CPP $CPPFLAGS'
57402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57411 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57413 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57414 for ac_func in ldexpl
57415 do :
57416 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57417 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57418 cat >>confdefs.h <<_ACEOF
57419 #define HAVE_LDEXPL 1
57420 _ACEOF
57423 done
57425 else
57427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57428 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57429 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57430 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57431 $as_echo_n "(cached) " >&6
57432 else
57435 ac_ext=cpp
57436 ac_cpp='$CXXCPP $CPPFLAGS'
57437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57442 /* end confdefs.h. */
57443 #include <math.h>
57445 main ()
57447 _ldexpl(0, 0);
57449 return 0;
57451 _ACEOF
57452 if ac_fn_cxx_try_compile "$LINENO"; then :
57453 glibcxx_cv_func__ldexpl_use=yes
57454 else
57455 glibcxx_cv_func__ldexpl_use=no
57457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57458 ac_ext=c
57459 ac_cpp='$CPP $CPPFLAGS'
57460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57469 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57471 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57472 for ac_func in _ldexpl
57473 do :
57474 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57475 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57476 cat >>confdefs.h <<_ACEOF
57477 #define HAVE__LDEXPL 1
57478 _ACEOF
57481 done
57490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57491 $as_echo_n "checking for logl declaration... " >&6; }
57492 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57493 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57494 $as_echo_n "(cached) " >&6
57495 else
57498 ac_ext=cpp
57499 ac_cpp='$CXXCPP $CPPFLAGS'
57500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57505 /* end confdefs.h. */
57506 #include <math.h>
57507 #ifdef HAVE_IEEEFP_H
57508 #include <ieeefp.h>
57509 #endif
57512 main ()
57514 logl(0);
57516 return 0;
57518 _ACEOF
57519 if ac_fn_cxx_try_compile "$LINENO"; then :
57520 glibcxx_cv_func_logl_use=yes
57521 else
57522 glibcxx_cv_func_logl_use=no
57524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57525 ac_ext=c
57526 ac_cpp='$CPP $CPPFLAGS'
57527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57536 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57538 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57539 for ac_func in logl
57540 do :
57541 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57542 if test "x$ac_cv_func_logl" = x""yes; then :
57543 cat >>confdefs.h <<_ACEOF
57544 #define HAVE_LOGL 1
57545 _ACEOF
57548 done
57550 else
57552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57553 $as_echo_n "checking for _logl declaration... " >&6; }
57554 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57555 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57556 $as_echo_n "(cached) " >&6
57557 else
57560 ac_ext=cpp
57561 ac_cpp='$CXXCPP $CPPFLAGS'
57562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57567 /* end confdefs.h. */
57568 #include <math.h>
57569 #ifdef HAVE_IEEEFP_H
57570 #include <ieeefp.h>
57571 #endif
57574 main ()
57576 _logl(0);
57578 return 0;
57580 _ACEOF
57581 if ac_fn_cxx_try_compile "$LINENO"; then :
57582 glibcxx_cv_func__logl_use=yes
57583 else
57584 glibcxx_cv_func__logl_use=no
57586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57587 ac_ext=c
57588 ac_cpp='$CPP $CPPFLAGS'
57589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57598 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57600 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57601 for ac_func in _logl
57602 do :
57603 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57604 if test "x$ac_cv_func__logl" = x""yes; then :
57605 cat >>confdefs.h <<_ACEOF
57606 #define HAVE__LOGL 1
57607 _ACEOF
57610 done
57619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57620 $as_echo_n "checking for log10l declaration... " >&6; }
57621 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57622 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57623 $as_echo_n "(cached) " >&6
57624 else
57627 ac_ext=cpp
57628 ac_cpp='$CXXCPP $CPPFLAGS'
57629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57634 /* end confdefs.h. */
57635 #include <math.h>
57636 #ifdef HAVE_IEEEFP_H
57637 #include <ieeefp.h>
57638 #endif
57641 main ()
57643 log10l(0);
57645 return 0;
57647 _ACEOF
57648 if ac_fn_cxx_try_compile "$LINENO"; then :
57649 glibcxx_cv_func_log10l_use=yes
57650 else
57651 glibcxx_cv_func_log10l_use=no
57653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57654 ac_ext=c
57655 ac_cpp='$CPP $CPPFLAGS'
57656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57665 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57667 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57668 for ac_func in log10l
57669 do :
57670 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57671 if test "x$ac_cv_func_log10l" = x""yes; then :
57672 cat >>confdefs.h <<_ACEOF
57673 #define HAVE_LOG10L 1
57674 _ACEOF
57677 done
57679 else
57681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57682 $as_echo_n "checking for _log10l declaration... " >&6; }
57683 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57684 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57685 $as_echo_n "(cached) " >&6
57686 else
57689 ac_ext=cpp
57690 ac_cpp='$CXXCPP $CPPFLAGS'
57691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57696 /* end confdefs.h. */
57697 #include <math.h>
57698 #ifdef HAVE_IEEEFP_H
57699 #include <ieeefp.h>
57700 #endif
57703 main ()
57705 _log10l(0);
57707 return 0;
57709 _ACEOF
57710 if ac_fn_cxx_try_compile "$LINENO"; then :
57711 glibcxx_cv_func__log10l_use=yes
57712 else
57713 glibcxx_cv_func__log10l_use=no
57715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57716 ac_ext=c
57717 ac_cpp='$CPP $CPPFLAGS'
57718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57727 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57729 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57730 for ac_func in _log10l
57731 do :
57732 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57733 if test "x$ac_cv_func__log10l" = x""yes; then :
57734 cat >>confdefs.h <<_ACEOF
57735 #define HAVE__LOG10L 1
57736 _ACEOF
57739 done
57748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57749 $as_echo_n "checking for modfl declaration... " >&6; }
57750 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57751 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57752 $as_echo_n "(cached) " >&6
57753 else
57756 ac_ext=cpp
57757 ac_cpp='$CXXCPP $CPPFLAGS'
57758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57763 /* end confdefs.h. */
57764 #include <math.h>
57766 main ()
57768 modfl(0, 0);
57770 return 0;
57772 _ACEOF
57773 if ac_fn_cxx_try_compile "$LINENO"; then :
57774 glibcxx_cv_func_modfl_use=yes
57775 else
57776 glibcxx_cv_func_modfl_use=no
57778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57779 ac_ext=c
57780 ac_cpp='$CPP $CPPFLAGS'
57781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57790 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57792 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57793 for ac_func in modfl
57794 do :
57795 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57796 if test "x$ac_cv_func_modfl" = x""yes; then :
57797 cat >>confdefs.h <<_ACEOF
57798 #define HAVE_MODFL 1
57799 _ACEOF
57802 done
57804 else
57806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57807 $as_echo_n "checking for _modfl declaration... " >&6; }
57808 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57809 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57810 $as_echo_n "(cached) " >&6
57811 else
57814 ac_ext=cpp
57815 ac_cpp='$CXXCPP $CPPFLAGS'
57816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57821 /* end confdefs.h. */
57822 #include <math.h>
57824 main ()
57826 _modfl(0, 0);
57828 return 0;
57830 _ACEOF
57831 if ac_fn_cxx_try_compile "$LINENO"; then :
57832 glibcxx_cv_func__modfl_use=yes
57833 else
57834 glibcxx_cv_func__modfl_use=no
57836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57837 ac_ext=c
57838 ac_cpp='$CPP $CPPFLAGS'
57839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57848 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57850 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57851 for ac_func in _modfl
57852 do :
57853 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57854 if test "x$ac_cv_func__modfl" = x""yes; then :
57855 cat >>confdefs.h <<_ACEOF
57856 #define HAVE__MODFL 1
57857 _ACEOF
57860 done
57869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57870 $as_echo_n "checking for powl declaration... " >&6; }
57871 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57872 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57873 $as_echo_n "(cached) " >&6
57874 else
57877 ac_ext=cpp
57878 ac_cpp='$CXXCPP $CPPFLAGS'
57879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57884 /* end confdefs.h. */
57885 #include <math.h>
57887 main ()
57889 powl(0, 0);
57891 return 0;
57893 _ACEOF
57894 if ac_fn_cxx_try_compile "$LINENO"; then :
57895 glibcxx_cv_func_powl_use=yes
57896 else
57897 glibcxx_cv_func_powl_use=no
57899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57900 ac_ext=c
57901 ac_cpp='$CPP $CPPFLAGS'
57902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57911 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57913 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57914 for ac_func in powl
57915 do :
57916 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57917 if test "x$ac_cv_func_powl" = x""yes; then :
57918 cat >>confdefs.h <<_ACEOF
57919 #define HAVE_POWL 1
57920 _ACEOF
57923 done
57925 else
57927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57928 $as_echo_n "checking for _powl declaration... " >&6; }
57929 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57930 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57931 $as_echo_n "(cached) " >&6
57932 else
57935 ac_ext=cpp
57936 ac_cpp='$CXXCPP $CPPFLAGS'
57937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57942 /* end confdefs.h. */
57943 #include <math.h>
57945 main ()
57947 _powl(0, 0);
57949 return 0;
57951 _ACEOF
57952 if ac_fn_cxx_try_compile "$LINENO"; then :
57953 glibcxx_cv_func__powl_use=yes
57954 else
57955 glibcxx_cv_func__powl_use=no
57957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57958 ac_ext=c
57959 ac_cpp='$CPP $CPPFLAGS'
57960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57969 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57971 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57972 for ac_func in _powl
57973 do :
57974 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57975 if test "x$ac_cv_func__powl" = x""yes; then :
57976 cat >>confdefs.h <<_ACEOF
57977 #define HAVE__POWL 1
57978 _ACEOF
57981 done
57990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57991 $as_echo_n "checking for sqrtl declaration... " >&6; }
57992 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57993 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57994 $as_echo_n "(cached) " >&6
57995 else
57998 ac_ext=cpp
57999 ac_cpp='$CXXCPP $CPPFLAGS'
58000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58005 /* end confdefs.h. */
58006 #include <math.h>
58007 #ifdef HAVE_IEEEFP_H
58008 #include <ieeefp.h>
58009 #endif
58012 main ()
58014 sqrtl(0);
58016 return 0;
58018 _ACEOF
58019 if ac_fn_cxx_try_compile "$LINENO"; then :
58020 glibcxx_cv_func_sqrtl_use=yes
58021 else
58022 glibcxx_cv_func_sqrtl_use=no
58024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58025 ac_ext=c
58026 ac_cpp='$CPP $CPPFLAGS'
58027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58036 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58038 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58039 for ac_func in sqrtl
58040 do :
58041 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58042 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58043 cat >>confdefs.h <<_ACEOF
58044 #define HAVE_SQRTL 1
58045 _ACEOF
58048 done
58050 else
58052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58053 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58054 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58055 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58056 $as_echo_n "(cached) " >&6
58057 else
58060 ac_ext=cpp
58061 ac_cpp='$CXXCPP $CPPFLAGS'
58062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58067 /* end confdefs.h. */
58068 #include <math.h>
58069 #ifdef HAVE_IEEEFP_H
58070 #include <ieeefp.h>
58071 #endif
58074 main ()
58076 _sqrtl(0);
58078 return 0;
58080 _ACEOF
58081 if ac_fn_cxx_try_compile "$LINENO"; then :
58082 glibcxx_cv_func__sqrtl_use=yes
58083 else
58084 glibcxx_cv_func__sqrtl_use=no
58086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58087 ac_ext=c
58088 ac_cpp='$CPP $CPPFLAGS'
58089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58098 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58100 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58101 for ac_func in _sqrtl
58102 do :
58103 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58104 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58105 cat >>confdefs.h <<_ACEOF
58106 #define HAVE__SQRTL 1
58107 _ACEOF
58110 done
58119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58120 $as_echo_n "checking for sincosl declaration... " >&6; }
58121 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58122 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58123 $as_echo_n "(cached) " >&6
58124 else
58127 ac_ext=cpp
58128 ac_cpp='$CXXCPP $CPPFLAGS'
58129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58134 /* end confdefs.h. */
58135 #include <math.h>
58137 main ()
58139 sincosl(0, 0, 0);
58141 return 0;
58143 _ACEOF
58144 if ac_fn_cxx_try_compile "$LINENO"; then :
58145 glibcxx_cv_func_sincosl_use=yes
58146 else
58147 glibcxx_cv_func_sincosl_use=no
58149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58150 ac_ext=c
58151 ac_cpp='$CPP $CPPFLAGS'
58152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58161 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58163 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58164 for ac_func in sincosl
58165 do :
58166 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58167 if test "x$ac_cv_func_sincosl" = x""yes; then :
58168 cat >>confdefs.h <<_ACEOF
58169 #define HAVE_SINCOSL 1
58170 _ACEOF
58173 done
58175 else
58177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58178 $as_echo_n "checking for _sincosl declaration... " >&6; }
58179 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58180 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58181 $as_echo_n "(cached) " >&6
58182 else
58185 ac_ext=cpp
58186 ac_cpp='$CXXCPP $CPPFLAGS'
58187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58192 /* end confdefs.h. */
58193 #include <math.h>
58195 main ()
58197 _sincosl(0, 0, 0);
58199 return 0;
58201 _ACEOF
58202 if ac_fn_cxx_try_compile "$LINENO"; then :
58203 glibcxx_cv_func__sincosl_use=yes
58204 else
58205 glibcxx_cv_func__sincosl_use=no
58207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58208 ac_ext=c
58209 ac_cpp='$CPP $CPPFLAGS'
58210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58219 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58221 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58222 for ac_func in _sincosl
58223 do :
58224 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58225 if test "x$ac_cv_func__sincosl" = x""yes; then :
58226 cat >>confdefs.h <<_ACEOF
58227 #define HAVE__SINCOSL 1
58228 _ACEOF
58231 done
58240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58241 $as_echo_n "checking for finitel declaration... " >&6; }
58242 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58243 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58244 $as_echo_n "(cached) " >&6
58245 else
58248 ac_ext=cpp
58249 ac_cpp='$CXXCPP $CPPFLAGS'
58250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58255 /* end confdefs.h. */
58256 #include <math.h>
58257 #ifdef HAVE_IEEEFP_H
58258 #include <ieeefp.h>
58259 #endif
58262 main ()
58264 finitel(0);
58266 return 0;
58268 _ACEOF
58269 if ac_fn_cxx_try_compile "$LINENO"; then :
58270 glibcxx_cv_func_finitel_use=yes
58271 else
58272 glibcxx_cv_func_finitel_use=no
58274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58275 ac_ext=c
58276 ac_cpp='$CPP $CPPFLAGS'
58277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58286 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58288 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58289 for ac_func in finitel
58290 do :
58291 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58292 if test "x$ac_cv_func_finitel" = x""yes; then :
58293 cat >>confdefs.h <<_ACEOF
58294 #define HAVE_FINITEL 1
58295 _ACEOF
58298 done
58300 else
58302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58303 $as_echo_n "checking for _finitel declaration... " >&6; }
58304 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58305 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58306 $as_echo_n "(cached) " >&6
58307 else
58310 ac_ext=cpp
58311 ac_cpp='$CXXCPP $CPPFLAGS'
58312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58317 /* end confdefs.h. */
58318 #include <math.h>
58319 #ifdef HAVE_IEEEFP_H
58320 #include <ieeefp.h>
58321 #endif
58324 main ()
58326 _finitel(0);
58328 return 0;
58330 _ACEOF
58331 if ac_fn_cxx_try_compile "$LINENO"; then :
58332 glibcxx_cv_func__finitel_use=yes
58333 else
58334 glibcxx_cv_func__finitel_use=no
58336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58337 ac_ext=c
58338 ac_cpp='$CPP $CPPFLAGS'
58339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58348 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58350 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58351 for ac_func in _finitel
58352 do :
58353 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58354 if test "x$ac_cv_func__finitel" = x""yes; then :
58355 cat >>confdefs.h <<_ACEOF
58356 #define HAVE__FINITEL 1
58357 _ACEOF
58360 done
58368 LIBS="$ac_save_LIBS"
58369 CXXFLAGS="$ac_save_CXXFLAGS"
58372 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58373 ac_save_CXXFLAGS="$CXXFLAGS"
58374 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58378 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58379 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58380 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58381 $as_echo_n "(cached) " >&6
58382 else
58385 ac_ext=cpp
58386 ac_cpp='$CXXCPP $CPPFLAGS'
58387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58392 /* end confdefs.h. */
58393 #include <stdlib.h>
58395 main ()
58397 at_quick_exit(0);
58399 return 0;
58401 _ACEOF
58402 if ac_fn_cxx_try_compile "$LINENO"; then :
58403 glibcxx_cv_func_at_quick_exit_use=yes
58404 else
58405 glibcxx_cv_func_at_quick_exit_use=no
58407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58408 ac_ext=c
58409 ac_cpp='$CPP $CPPFLAGS'
58410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58419 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58420 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58421 for ac_func in at_quick_exit
58422 do :
58423 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58424 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58425 cat >>confdefs.h <<_ACEOF
58426 #define HAVE_AT_QUICK_EXIT 1
58427 _ACEOF
58430 done
58435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58436 $as_echo_n "checking for quick_exit declaration... " >&6; }
58437 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58438 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58439 $as_echo_n "(cached) " >&6
58440 else
58443 ac_ext=cpp
58444 ac_cpp='$CXXCPP $CPPFLAGS'
58445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58450 /* end confdefs.h. */
58451 #include <stdlib.h>
58453 main ()
58455 quick_exit(0);
58457 return 0;
58459 _ACEOF
58460 if ac_fn_cxx_try_compile "$LINENO"; then :
58461 glibcxx_cv_func_quick_exit_use=yes
58462 else
58463 glibcxx_cv_func_quick_exit_use=no
58465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58466 ac_ext=c
58467 ac_cpp='$CPP $CPPFLAGS'
58468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58477 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58478 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58479 for ac_func in quick_exit
58480 do :
58481 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58482 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58483 cat >>confdefs.h <<_ACEOF
58484 #define HAVE_QUICK_EXIT 1
58485 _ACEOF
58488 done
58493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58494 $as_echo_n "checking for strtold declaration... " >&6; }
58495 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58496 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58497 $as_echo_n "(cached) " >&6
58498 else
58501 ac_ext=cpp
58502 ac_cpp='$CXXCPP $CPPFLAGS'
58503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58508 /* end confdefs.h. */
58509 #include <stdlib.h>
58511 main ()
58513 strtold(0, 0);
58515 return 0;
58517 _ACEOF
58518 if ac_fn_cxx_try_compile "$LINENO"; then :
58519 glibcxx_cv_func_strtold_use=yes
58520 else
58521 glibcxx_cv_func_strtold_use=no
58523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58524 ac_ext=c
58525 ac_cpp='$CPP $CPPFLAGS'
58526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58535 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58536 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58537 for ac_func in strtold
58538 do :
58539 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58540 if test "x$ac_cv_func_strtold" = x""yes; then :
58541 cat >>confdefs.h <<_ACEOF
58542 #define HAVE_STRTOLD 1
58543 _ACEOF
58546 done
58553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58554 $as_echo_n "checking for strtof declaration... " >&6; }
58555 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58556 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58557 $as_echo_n "(cached) " >&6
58558 else
58561 ac_ext=cpp
58562 ac_cpp='$CXXCPP $CPPFLAGS'
58563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58568 /* end confdefs.h. */
58569 #include <stdlib.h>
58571 main ()
58573 strtof(0, 0);
58575 return 0;
58577 _ACEOF
58578 if ac_fn_cxx_try_compile "$LINENO"; then :
58579 glibcxx_cv_func_strtof_use=yes
58580 else
58581 glibcxx_cv_func_strtof_use=no
58583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58584 ac_ext=c
58585 ac_cpp='$CPP $CPPFLAGS'
58586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58595 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58596 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58597 for ac_func in strtof
58598 do :
58599 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58600 if test "x$ac_cv_func_strtof" = x""yes; then :
58601 cat >>confdefs.h <<_ACEOF
58602 #define HAVE_STRTOF 1
58603 _ACEOF
58606 done
58613 CXXFLAGS="$ac_save_CXXFLAGS"
58615 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58619 # Check whether --enable-tls was given.
58620 if test "${enable_tls+set}" = set; then :
58621 enableval=$enable_tls;
58622 case "$enableval" in
58623 yes|no) ;;
58624 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58625 esac
58627 else
58628 enable_tls=yes
58632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58633 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58634 if test "${gcc_cv_have_tls+set}" = set; then :
58635 $as_echo_n "(cached) " >&6
58636 else
58638 if test "$cross_compiling" = yes; then :
58639 if test x$gcc_no_link = xyes; then
58640 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58643 /* end confdefs.h. */
58644 __thread int a; int b; int main() { return a = b; }
58645 _ACEOF
58646 if ac_fn_c_try_link "$LINENO"; then :
58647 chktls_save_LDFLAGS="$LDFLAGS"
58648 case $host in
58649 *-*-linux*)
58650 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58652 esac
58653 chktls_save_CFLAGS="$CFLAGS"
58654 CFLAGS="-fPIC $CFLAGS"
58655 if test x$gcc_no_link = xyes; then
58656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58659 /* end confdefs.h. */
58660 int f() { return 0; }
58661 _ACEOF
58662 if ac_fn_c_try_link "$LINENO"; then :
58663 if test x$gcc_no_link = xyes; then
58664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58667 /* end confdefs.h. */
58668 __thread int a; int b; int f() { return a = b; }
58669 _ACEOF
58670 if ac_fn_c_try_link "$LINENO"; then :
58671 gcc_cv_have_tls=yes
58672 else
58673 gcc_cv_have_tls=no
58675 rm -f core conftest.err conftest.$ac_objext \
58676 conftest$ac_exeext conftest.$ac_ext
58677 else
58678 gcc_cv_have_tls=yes
58680 rm -f core conftest.err conftest.$ac_objext \
58681 conftest$ac_exeext conftest.$ac_ext
58682 CFLAGS="$chktls_save_CFLAGS"
58683 LDFLAGS="$chktls_save_LDFLAGS"
58684 else
58685 gcc_cv_have_tls=no
58687 rm -f core conftest.err conftest.$ac_objext \
58688 conftest$ac_exeext conftest.$ac_ext
58691 else
58692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58693 /* end confdefs.h. */
58694 __thread int a; int b; int main() { return a = b; }
58695 _ACEOF
58696 if ac_fn_c_try_run "$LINENO"; then :
58697 chktls_save_LDFLAGS="$LDFLAGS"
58698 LDFLAGS="-static $LDFLAGS"
58699 if test x$gcc_no_link = xyes; then
58700 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58703 /* end confdefs.h. */
58704 int main() { return 0; }
58705 _ACEOF
58706 if ac_fn_c_try_link "$LINENO"; then :
58707 if test "$cross_compiling" = yes; then :
58708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58710 as_fn_error "cannot run test program while cross compiling
58711 See \`config.log' for more details." "$LINENO" 5; }
58712 else
58713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58714 /* end confdefs.h. */
58715 __thread int a; int b; int main() { return a = b; }
58716 _ACEOF
58717 if ac_fn_c_try_run "$LINENO"; then :
58718 gcc_cv_have_tls=yes
58719 else
58720 gcc_cv_have_tls=no
58722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58723 conftest.$ac_objext conftest.beam conftest.$ac_ext
58726 else
58727 gcc_cv_have_tls=yes
58729 rm -f core conftest.err conftest.$ac_objext \
58730 conftest$ac_exeext conftest.$ac_ext
58731 LDFLAGS="$chktls_save_LDFLAGS"
58732 if test $gcc_cv_have_tls = yes; then
58733 chktls_save_CFLAGS="$CFLAGS"
58734 thread_CFLAGS=failed
58735 for flag in '' '-pthread' '-lpthread'; do
58736 CFLAGS="$flag $chktls_save_CFLAGS"
58737 if test x$gcc_no_link = xyes; then
58738 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58741 /* end confdefs.h. */
58742 #include <pthread.h>
58743 void *g(void *d) { return NULL; }
58745 main ()
58747 pthread_t t; pthread_create(&t,NULL,g,NULL);
58749 return 0;
58751 _ACEOF
58752 if ac_fn_c_try_link "$LINENO"; then :
58753 thread_CFLAGS="$flag"
58755 rm -f core conftest.err conftest.$ac_objext \
58756 conftest$ac_exeext conftest.$ac_ext
58757 if test "X$thread_CFLAGS" != Xfailed; then
58758 break
58760 done
58761 CFLAGS="$chktls_save_CFLAGS"
58762 if test "X$thread_CFLAGS" != Xfailed; then
58763 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58764 if test "$cross_compiling" = yes; then :
58765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58767 as_fn_error "cannot run test program while cross compiling
58768 See \`config.log' for more details." "$LINENO" 5; }
58769 else
58770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58771 /* end confdefs.h. */
58772 #include <pthread.h>
58773 __thread int a;
58774 static int *volatile a_in_other_thread;
58775 static void *
58776 thread_func (void *arg)
58778 a_in_other_thread = &a;
58779 return (void *)0;
58782 main ()
58784 pthread_t thread;
58785 void *thread_retval;
58786 int *volatile a_in_main_thread;
58787 a_in_main_thread = &a;
58788 if (pthread_create (&thread, (pthread_attr_t *)0,
58789 thread_func, (void *)0))
58790 return 0;
58791 if (pthread_join (thread, &thread_retval))
58792 return 0;
58793 return (a_in_other_thread == a_in_main_thread);
58795 return 0;
58797 _ACEOF
58798 if ac_fn_c_try_run "$LINENO"; then :
58799 gcc_cv_have_tls=yes
58800 else
58801 gcc_cv_have_tls=no
58803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58804 conftest.$ac_objext conftest.beam conftest.$ac_ext
58807 CFLAGS="$chktls_save_CFLAGS"
58810 else
58811 gcc_cv_have_tls=no
58813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58814 conftest.$ac_objext conftest.beam conftest.$ac_ext
58818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58819 $as_echo "$gcc_cv_have_tls" >&6; }
58820 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58822 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58830 am_save_CPPFLAGS="$CPPFLAGS"
58832 for element in $INCICONV; do
58833 haveit=
58834 for x in $CPPFLAGS; do
58836 acl_save_prefix="$prefix"
58837 prefix="$acl_final_prefix"
58838 acl_save_exec_prefix="$exec_prefix"
58839 exec_prefix="$acl_final_exec_prefix"
58840 eval x=\"$x\"
58841 exec_prefix="$acl_save_exec_prefix"
58842 prefix="$acl_save_prefix"
58844 if test "X$x" = "X$element"; then
58845 haveit=yes
58846 break
58848 done
58849 if test -z "$haveit"; then
58850 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58852 done
58855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58856 $as_echo_n "checking for iconv... " >&6; }
58857 if test "${am_cv_func_iconv+set}" = set; then :
58858 $as_echo_n "(cached) " >&6
58859 else
58861 am_cv_func_iconv="no, consider installing GNU libiconv"
58862 am_cv_lib_iconv=no
58863 if test x$gcc_no_link = xyes; then
58864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58867 /* end confdefs.h. */
58868 #include <stdlib.h>
58869 #include <iconv.h>
58871 main ()
58873 iconv_t cd = iconv_open("","");
58874 iconv(cd,NULL,NULL,NULL,NULL);
58875 iconv_close(cd);
58877 return 0;
58879 _ACEOF
58880 if ac_fn_c_try_link "$LINENO"; then :
58881 am_cv_func_iconv=yes
58883 rm -f core conftest.err conftest.$ac_objext \
58884 conftest$ac_exeext conftest.$ac_ext
58885 if test "$am_cv_func_iconv" != yes; then
58886 am_save_LIBS="$LIBS"
58887 LIBS="$LIBS $LIBICONV"
58888 if test x$gcc_no_link = xyes; then
58889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58892 /* end confdefs.h. */
58893 #include <stdlib.h>
58894 #include <iconv.h>
58896 main ()
58898 iconv_t cd = iconv_open("","");
58899 iconv(cd,NULL,NULL,NULL,NULL);
58900 iconv_close(cd);
58902 return 0;
58904 _ACEOF
58905 if ac_fn_c_try_link "$LINENO"; then :
58906 am_cv_lib_iconv=yes
58907 am_cv_func_iconv=yes
58909 rm -f core conftest.err conftest.$ac_objext \
58910 conftest$ac_exeext conftest.$ac_ext
58911 LIBS="$am_save_LIBS"
58915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58916 $as_echo "$am_cv_func_iconv" >&6; }
58917 if test "$am_cv_func_iconv" = yes; then
58919 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58922 if test "$am_cv_lib_iconv" = yes; then
58923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58924 $as_echo_n "checking how to link with libiconv... " >&6; }
58925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58926 $as_echo "$LIBICONV" >&6; }
58927 else
58928 CPPFLAGS="$am_save_CPPFLAGS"
58929 LIBICONV=
58930 LTLIBICONV=
58935 if test "$am_cv_func_iconv" = yes; then
58936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58937 $as_echo_n "checking for iconv declaration... " >&6; }
58938 if test "${am_cv_proto_iconv+set}" = set; then :
58939 $as_echo_n "(cached) " >&6
58940 else
58942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58943 /* end confdefs.h. */
58945 #include <stdlib.h>
58946 #include <iconv.h>
58947 extern
58948 #ifdef __cplusplus
58950 #endif
58951 #if defined(__STDC__) || defined(__cplusplus)
58952 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58953 #else
58954 size_t iconv();
58955 #endif
58958 main ()
58962 return 0;
58964 _ACEOF
58965 if ac_fn_c_try_compile "$LINENO"; then :
58966 am_cv_proto_iconv_arg1=""
58967 else
58968 am_cv_proto_iconv_arg1="const"
58970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58971 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);"
58974 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58976 }$am_cv_proto_iconv" >&5
58977 $as_echo "${ac_t:-
58978 }$am_cv_proto_iconv" >&6; }
58980 cat >>confdefs.h <<_ACEOF
58981 #define ICONV_CONST $am_cv_proto_iconv_arg1
58982 _ACEOF
58987 *-mingw32*)
58989 # If we're not using GNU ld, then there's no point in even trying these
58990 # tests. Check for that first. We should have already tested for gld
58991 # by now (in libtool), but require it now just to be safe...
58992 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58993 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58997 # The name set by libtool depends on the version of libtool. Shame on us
58998 # for depending on an impl detail, but c'est la vie. Older versions used
58999 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59000 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59001 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59002 # set (hence we're using an older libtool), then set it.
59003 if test x${with_gnu_ld+set} != xset; then
59004 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59005 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59006 with_gnu_ld=no
59007 else
59008 with_gnu_ld=$ac_cv_prog_gnu_ld
59012 # Start by getting the version number. I think the libtool test already
59013 # does some of this, but throws away the result.
59014 glibcxx_ld_is_gold=no
59015 if test x"$with_gnu_ld" = x"yes"; then
59016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59017 $as_echo_n "checking for ld version... " >&6; }
59019 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59020 glibcxx_ld_is_gold=yes
59022 ldver=`$LD --version 2>/dev/null |
59023 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'`
59025 glibcxx_gnu_ld_version=`echo $ldver | \
59026 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59028 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59031 # Set --gc-sections.
59032 glibcxx_have_gc_sections=no
59033 if test "$glibcxx_ld_is_gold" = "yes"; then
59034 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59035 glibcxx_have_gc_sections=yes
59037 else
59038 glibcxx_gcsections_min_ld=21602
59039 if test x"$with_gnu_ld" = x"yes" &&
59040 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59041 glibcxx_have_gc_sections=yes
59044 if test "$glibcxx_have_gc_sections" = "yes"; then
59045 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
59046 # NB: This flag only works reliably after 2.16.1. Configure tests
59047 # for this are difficult, so hard wire a value that should work.
59049 ac_test_CFLAGS="${CFLAGS+set}"
59050 ac_save_CFLAGS="$CFLAGS"
59051 CFLAGS='-Wl,--gc-sections'
59053 # Check for -Wl,--gc-sections
59054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
59055 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
59056 if test x$gcc_no_link = xyes; then
59057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59060 /* end confdefs.h. */
59061 int one(void) { return 1; }
59062 int two(void) { return 2; }
59065 main ()
59067 two();
59069 return 0;
59071 _ACEOF
59072 if ac_fn_c_try_link "$LINENO"; then :
59073 ac_gcsections=yes
59074 else
59075 ac_gcsections=no
59077 rm -f core conftest.err conftest.$ac_objext \
59078 conftest$ac_exeext conftest.$ac_ext
59079 if test "$ac_gcsections" = "yes"; then
59080 rm -f conftest.c
59081 touch conftest.c
59082 if $CC -c conftest.c; then
59083 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59084 grep "Warning: gc-sections option ignored" > /dev/null; then
59085 ac_gcsections=no
59088 rm -f conftest.c conftest.o conftest
59090 if test "$ac_gcsections" = "yes"; then
59091 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59094 $as_echo "$ac_gcsections" >&6; }
59096 if test "$ac_test_CFLAGS" = set; then
59097 CFLAGS="$ac_save_CFLAGS"
59098 else
59099 # this is the suspicious part
59100 CFLAGS=''
59104 # Set -z,relro.
59105 # Note this is only for shared objects.
59106 ac_ld_relro=no
59107 if test x"$with_gnu_ld" = x"yes"; then
59108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59109 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59110 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59111 if test -n "$cxx_z_relo"; then
59112 OPT_LDFLAGS="-Wl,-z,relro"
59113 ac_ld_relro=yes
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59116 $as_echo "$ac_ld_relro" >&6; }
59119 # Set linker optimization flags.
59120 if test x"$with_gnu_ld" = x"yes"; then
59121 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59128 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59129 ac_save_CXXFLAGS="$CXXFLAGS"
59130 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59133 $as_echo_n "checking for sin in -lm... " >&6; }
59134 if test "${ac_cv_lib_m_sin+set}" = set; then :
59135 $as_echo_n "(cached) " >&6
59136 else
59137 ac_check_lib_save_LIBS=$LIBS
59138 LIBS="-lm $LIBS"
59139 if test x$gcc_no_link = xyes; then
59140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59143 /* end confdefs.h. */
59145 /* Override any GCC internal prototype to avoid an error.
59146 Use char because int might match the return type of a GCC
59147 builtin and then its argument prototype would still apply. */
59148 #ifdef __cplusplus
59149 extern "C"
59150 #endif
59151 char sin ();
59153 main ()
59155 return sin ();
59157 return 0;
59159 _ACEOF
59160 if ac_fn_c_try_link "$LINENO"; then :
59161 ac_cv_lib_m_sin=yes
59162 else
59163 ac_cv_lib_m_sin=no
59165 rm -f core conftest.err conftest.$ac_objext \
59166 conftest$ac_exeext conftest.$ac_ext
59167 LIBS=$ac_check_lib_save_LIBS
59169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59170 $as_echo "$ac_cv_lib_m_sin" >&6; }
59171 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59172 libm="-lm"
59175 ac_save_LIBS="$LIBS"
59176 LIBS="$LIBS $libm"
59180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59181 $as_echo_n "checking for isinf declaration... " >&6; }
59182 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59183 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59184 $as_echo_n "(cached) " >&6
59185 else
59188 ac_ext=cpp
59189 ac_cpp='$CXXCPP $CPPFLAGS'
59190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59195 /* end confdefs.h. */
59196 #include <math.h>
59197 #ifdef HAVE_IEEEFP_H
59198 #include <ieeefp.h>
59199 #endif
59202 main ()
59204 isinf(0);
59206 return 0;
59208 _ACEOF
59209 if ac_fn_cxx_try_compile "$LINENO"; then :
59210 glibcxx_cv_func_isinf_use=yes
59211 else
59212 glibcxx_cv_func_isinf_use=no
59214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59215 ac_ext=c
59216 ac_cpp='$CPP $CPPFLAGS'
59217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59226 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59228 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59229 for ac_func in isinf
59230 do :
59231 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59232 if test "x$ac_cv_func_isinf" = x""yes; then :
59233 cat >>confdefs.h <<_ACEOF
59234 #define HAVE_ISINF 1
59235 _ACEOF
59238 done
59240 else
59242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59243 $as_echo_n "checking for _isinf declaration... " >&6; }
59244 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59245 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59246 $as_echo_n "(cached) " >&6
59247 else
59250 ac_ext=cpp
59251 ac_cpp='$CXXCPP $CPPFLAGS'
59252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59257 /* end confdefs.h. */
59258 #include <math.h>
59259 #ifdef HAVE_IEEEFP_H
59260 #include <ieeefp.h>
59261 #endif
59264 main ()
59266 _isinf(0);
59268 return 0;
59270 _ACEOF
59271 if ac_fn_cxx_try_compile "$LINENO"; then :
59272 glibcxx_cv_func__isinf_use=yes
59273 else
59274 glibcxx_cv_func__isinf_use=no
59276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59277 ac_ext=c
59278 ac_cpp='$CPP $CPPFLAGS'
59279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59288 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59290 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59291 for ac_func in _isinf
59292 do :
59293 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59294 if test "x$ac_cv_func__isinf" = x""yes; then :
59295 cat >>confdefs.h <<_ACEOF
59296 #define HAVE__ISINF 1
59297 _ACEOF
59300 done
59309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59310 $as_echo_n "checking for isnan declaration... " >&6; }
59311 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59312 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59313 $as_echo_n "(cached) " >&6
59314 else
59317 ac_ext=cpp
59318 ac_cpp='$CXXCPP $CPPFLAGS'
59319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59324 /* end confdefs.h. */
59325 #include <math.h>
59326 #ifdef HAVE_IEEEFP_H
59327 #include <ieeefp.h>
59328 #endif
59331 main ()
59333 isnan(0);
59335 return 0;
59337 _ACEOF
59338 if ac_fn_cxx_try_compile "$LINENO"; then :
59339 glibcxx_cv_func_isnan_use=yes
59340 else
59341 glibcxx_cv_func_isnan_use=no
59343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59344 ac_ext=c
59345 ac_cpp='$CPP $CPPFLAGS'
59346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59355 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59357 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59358 for ac_func in isnan
59359 do :
59360 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59361 if test "x$ac_cv_func_isnan" = x""yes; then :
59362 cat >>confdefs.h <<_ACEOF
59363 #define HAVE_ISNAN 1
59364 _ACEOF
59367 done
59369 else
59371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59372 $as_echo_n "checking for _isnan declaration... " >&6; }
59373 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59374 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59375 $as_echo_n "(cached) " >&6
59376 else
59379 ac_ext=cpp
59380 ac_cpp='$CXXCPP $CPPFLAGS'
59381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59386 /* end confdefs.h. */
59387 #include <math.h>
59388 #ifdef HAVE_IEEEFP_H
59389 #include <ieeefp.h>
59390 #endif
59393 main ()
59395 _isnan(0);
59397 return 0;
59399 _ACEOF
59400 if ac_fn_cxx_try_compile "$LINENO"; then :
59401 glibcxx_cv_func__isnan_use=yes
59402 else
59403 glibcxx_cv_func__isnan_use=no
59405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59406 ac_ext=c
59407 ac_cpp='$CPP $CPPFLAGS'
59408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59417 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59419 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59420 for ac_func in _isnan
59421 do :
59422 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59423 if test "x$ac_cv_func__isnan" = x""yes; then :
59424 cat >>confdefs.h <<_ACEOF
59425 #define HAVE__ISNAN 1
59426 _ACEOF
59429 done
59438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59439 $as_echo_n "checking for finite declaration... " >&6; }
59440 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59441 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59442 $as_echo_n "(cached) " >&6
59443 else
59446 ac_ext=cpp
59447 ac_cpp='$CXXCPP $CPPFLAGS'
59448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59453 /* end confdefs.h. */
59454 #include <math.h>
59455 #ifdef HAVE_IEEEFP_H
59456 #include <ieeefp.h>
59457 #endif
59460 main ()
59462 finite(0);
59464 return 0;
59466 _ACEOF
59467 if ac_fn_cxx_try_compile "$LINENO"; then :
59468 glibcxx_cv_func_finite_use=yes
59469 else
59470 glibcxx_cv_func_finite_use=no
59472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59473 ac_ext=c
59474 ac_cpp='$CPP $CPPFLAGS'
59475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59484 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59486 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59487 for ac_func in finite
59488 do :
59489 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59490 if test "x$ac_cv_func_finite" = x""yes; then :
59491 cat >>confdefs.h <<_ACEOF
59492 #define HAVE_FINITE 1
59493 _ACEOF
59496 done
59498 else
59500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59501 $as_echo_n "checking for _finite declaration... " >&6; }
59502 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59503 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59504 $as_echo_n "(cached) " >&6
59505 else
59508 ac_ext=cpp
59509 ac_cpp='$CXXCPP $CPPFLAGS'
59510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59515 /* end confdefs.h. */
59516 #include <math.h>
59517 #ifdef HAVE_IEEEFP_H
59518 #include <ieeefp.h>
59519 #endif
59522 main ()
59524 _finite(0);
59526 return 0;
59528 _ACEOF
59529 if ac_fn_cxx_try_compile "$LINENO"; then :
59530 glibcxx_cv_func__finite_use=yes
59531 else
59532 glibcxx_cv_func__finite_use=no
59534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59535 ac_ext=c
59536 ac_cpp='$CPP $CPPFLAGS'
59537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59546 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59548 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59549 for ac_func in _finite
59550 do :
59551 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59552 if test "x$ac_cv_func__finite" = x""yes; then :
59553 cat >>confdefs.h <<_ACEOF
59554 #define HAVE__FINITE 1
59555 _ACEOF
59558 done
59567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59568 $as_echo_n "checking for sincos declaration... " >&6; }
59569 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59570 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59571 $as_echo_n "(cached) " >&6
59572 else
59575 ac_ext=cpp
59576 ac_cpp='$CXXCPP $CPPFLAGS'
59577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59582 /* end confdefs.h. */
59583 #include <math.h>
59585 main ()
59587 sincos(0, 0, 0);
59589 return 0;
59591 _ACEOF
59592 if ac_fn_cxx_try_compile "$LINENO"; then :
59593 glibcxx_cv_func_sincos_use=yes
59594 else
59595 glibcxx_cv_func_sincos_use=no
59597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59598 ac_ext=c
59599 ac_cpp='$CPP $CPPFLAGS'
59600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59609 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59611 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59612 for ac_func in sincos
59613 do :
59614 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59615 if test "x$ac_cv_func_sincos" = x""yes; then :
59616 cat >>confdefs.h <<_ACEOF
59617 #define HAVE_SINCOS 1
59618 _ACEOF
59621 done
59623 else
59625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59626 $as_echo_n "checking for _sincos declaration... " >&6; }
59627 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59628 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59629 $as_echo_n "(cached) " >&6
59630 else
59633 ac_ext=cpp
59634 ac_cpp='$CXXCPP $CPPFLAGS'
59635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59640 /* end confdefs.h. */
59641 #include <math.h>
59643 main ()
59645 _sincos(0, 0, 0);
59647 return 0;
59649 _ACEOF
59650 if ac_fn_cxx_try_compile "$LINENO"; then :
59651 glibcxx_cv_func__sincos_use=yes
59652 else
59653 glibcxx_cv_func__sincos_use=no
59655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59656 ac_ext=c
59657 ac_cpp='$CPP $CPPFLAGS'
59658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59667 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59669 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59670 for ac_func in _sincos
59671 do :
59672 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59673 if test "x$ac_cv_func__sincos" = x""yes; then :
59674 cat >>confdefs.h <<_ACEOF
59675 #define HAVE__SINCOS 1
59676 _ACEOF
59679 done
59688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59689 $as_echo_n "checking for fpclass declaration... " >&6; }
59690 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59691 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59692 $as_echo_n "(cached) " >&6
59693 else
59696 ac_ext=cpp
59697 ac_cpp='$CXXCPP $CPPFLAGS'
59698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59703 /* end confdefs.h. */
59704 #include <math.h>
59705 #ifdef HAVE_IEEEFP_H
59706 #include <ieeefp.h>
59707 #endif
59710 main ()
59712 fpclass(0);
59714 return 0;
59716 _ACEOF
59717 if ac_fn_cxx_try_compile "$LINENO"; then :
59718 glibcxx_cv_func_fpclass_use=yes
59719 else
59720 glibcxx_cv_func_fpclass_use=no
59722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59723 ac_ext=c
59724 ac_cpp='$CPP $CPPFLAGS'
59725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59734 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59736 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59737 for ac_func in fpclass
59738 do :
59739 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59740 if test "x$ac_cv_func_fpclass" = x""yes; then :
59741 cat >>confdefs.h <<_ACEOF
59742 #define HAVE_FPCLASS 1
59743 _ACEOF
59746 done
59748 else
59750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59751 $as_echo_n "checking for _fpclass declaration... " >&6; }
59752 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59753 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59754 $as_echo_n "(cached) " >&6
59755 else
59758 ac_ext=cpp
59759 ac_cpp='$CXXCPP $CPPFLAGS'
59760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59765 /* end confdefs.h. */
59766 #include <math.h>
59767 #ifdef HAVE_IEEEFP_H
59768 #include <ieeefp.h>
59769 #endif
59772 main ()
59774 _fpclass(0);
59776 return 0;
59778 _ACEOF
59779 if ac_fn_cxx_try_compile "$LINENO"; then :
59780 glibcxx_cv_func__fpclass_use=yes
59781 else
59782 glibcxx_cv_func__fpclass_use=no
59784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59785 ac_ext=c
59786 ac_cpp='$CPP $CPPFLAGS'
59787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59796 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59798 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59799 for ac_func in _fpclass
59800 do :
59801 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59802 if test "x$ac_cv_func__fpclass" = x""yes; then :
59803 cat >>confdefs.h <<_ACEOF
59804 #define HAVE__FPCLASS 1
59805 _ACEOF
59808 done
59817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59818 $as_echo_n "checking for qfpclass declaration... " >&6; }
59819 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59820 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59821 $as_echo_n "(cached) " >&6
59822 else
59825 ac_ext=cpp
59826 ac_cpp='$CXXCPP $CPPFLAGS'
59827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59832 /* end confdefs.h. */
59833 #include <math.h>
59834 #ifdef HAVE_IEEEFP_H
59835 #include <ieeefp.h>
59836 #endif
59839 main ()
59841 qfpclass(0);
59843 return 0;
59845 _ACEOF
59846 if ac_fn_cxx_try_compile "$LINENO"; then :
59847 glibcxx_cv_func_qfpclass_use=yes
59848 else
59849 glibcxx_cv_func_qfpclass_use=no
59851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59852 ac_ext=c
59853 ac_cpp='$CPP $CPPFLAGS'
59854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59863 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59865 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59866 for ac_func in qfpclass
59867 do :
59868 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59869 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59870 cat >>confdefs.h <<_ACEOF
59871 #define HAVE_QFPCLASS 1
59872 _ACEOF
59875 done
59877 else
59879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59880 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59881 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59882 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59883 $as_echo_n "(cached) " >&6
59884 else
59887 ac_ext=cpp
59888 ac_cpp='$CXXCPP $CPPFLAGS'
59889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59894 /* end confdefs.h. */
59895 #include <math.h>
59896 #ifdef HAVE_IEEEFP_H
59897 #include <ieeefp.h>
59898 #endif
59901 main ()
59903 _qfpclass(0);
59905 return 0;
59907 _ACEOF
59908 if ac_fn_cxx_try_compile "$LINENO"; then :
59909 glibcxx_cv_func__qfpclass_use=yes
59910 else
59911 glibcxx_cv_func__qfpclass_use=no
59913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59914 ac_ext=c
59915 ac_cpp='$CPP $CPPFLAGS'
59916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59925 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59927 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59928 for ac_func in _qfpclass
59929 do :
59930 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59931 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59932 cat >>confdefs.h <<_ACEOF
59933 #define HAVE__QFPCLASS 1
59934 _ACEOF
59937 done
59946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59947 $as_echo_n "checking for hypot declaration... " >&6; }
59948 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59949 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59950 $as_echo_n "(cached) " >&6
59951 else
59954 ac_ext=cpp
59955 ac_cpp='$CXXCPP $CPPFLAGS'
59956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59961 /* end confdefs.h. */
59962 #include <math.h>
59964 main ()
59966 hypot(0, 0);
59968 return 0;
59970 _ACEOF
59971 if ac_fn_cxx_try_compile "$LINENO"; then :
59972 glibcxx_cv_func_hypot_use=yes
59973 else
59974 glibcxx_cv_func_hypot_use=no
59976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59977 ac_ext=c
59978 ac_cpp='$CPP $CPPFLAGS'
59979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59988 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59990 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59991 for ac_func in hypot
59992 do :
59993 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59994 if test "x$ac_cv_func_hypot" = x""yes; then :
59995 cat >>confdefs.h <<_ACEOF
59996 #define HAVE_HYPOT 1
59997 _ACEOF
60000 done
60002 else
60004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60005 $as_echo_n "checking for _hypot declaration... " >&6; }
60006 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60007 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60008 $as_echo_n "(cached) " >&6
60009 else
60012 ac_ext=cpp
60013 ac_cpp='$CXXCPP $CPPFLAGS'
60014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60019 /* end confdefs.h. */
60020 #include <math.h>
60022 main ()
60024 _hypot(0, 0);
60026 return 0;
60028 _ACEOF
60029 if ac_fn_cxx_try_compile "$LINENO"; then :
60030 glibcxx_cv_func__hypot_use=yes
60031 else
60032 glibcxx_cv_func__hypot_use=no
60034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60035 ac_ext=c
60036 ac_cpp='$CPP $CPPFLAGS'
60037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
60046 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
60048 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
60049 for ac_func in _hypot
60050 do :
60051 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
60052 if test "x$ac_cv_func__hypot" = x""yes; then :
60053 cat >>confdefs.h <<_ACEOF
60054 #define HAVE__HYPOT 1
60055 _ACEOF
60058 done
60067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60068 $as_echo_n "checking for float trig functions... " >&6; }
60069 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60070 $as_echo_n "(cached) " >&6
60071 else
60074 ac_ext=cpp
60075 ac_cpp='$CXXCPP $CPPFLAGS'
60076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60081 /* end confdefs.h. */
60082 #include <math.h>
60084 main ()
60086 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60088 return 0;
60090 _ACEOF
60091 if ac_fn_cxx_try_compile "$LINENO"; then :
60092 glibcxx_cv_func_float_trig_use=yes
60093 else
60094 glibcxx_cv_func_float_trig_use=no
60096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60097 ac_ext=c
60098 ac_cpp='$CPP $CPPFLAGS'
60099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60106 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60107 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60108 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60109 do :
60110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60112 eval as_val=\$$as_ac_var
60113 if test "x$as_val" = x""yes; then :
60114 cat >>confdefs.h <<_ACEOF
60115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60116 _ACEOF
60119 done
60121 else
60122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60123 $as_echo_n "checking for _float trig functions... " >&6; }
60124 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60125 $as_echo_n "(cached) " >&6
60126 else
60129 ac_ext=cpp
60130 ac_cpp='$CXXCPP $CPPFLAGS'
60131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60136 /* end confdefs.h. */
60137 #include <math.h>
60139 main ()
60141 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60143 return 0;
60145 _ACEOF
60146 if ac_fn_cxx_try_compile "$LINENO"; then :
60147 glibcxx_cv_func__float_trig_use=yes
60148 else
60149 glibcxx_cv_func__float_trig_use=no
60151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60152 ac_ext=c
60153 ac_cpp='$CPP $CPPFLAGS'
60154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60161 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60162 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60163 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60164 do :
60165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60167 eval as_val=\$$as_ac_var
60168 if test "x$as_val" = x""yes; then :
60169 cat >>confdefs.h <<_ACEOF
60170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60171 _ACEOF
60174 done
60183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60184 $as_echo_n "checking for float round functions... " >&6; }
60185 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60186 $as_echo_n "(cached) " >&6
60187 else
60190 ac_ext=cpp
60191 ac_cpp='$CXXCPP $CPPFLAGS'
60192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60197 /* end confdefs.h. */
60198 #include <math.h>
60200 main ()
60202 ceilf (0); floorf (0);
60204 return 0;
60206 _ACEOF
60207 if ac_fn_cxx_try_compile "$LINENO"; then :
60208 glibcxx_cv_func_float_round_use=yes
60209 else
60210 glibcxx_cv_func_float_round_use=no
60212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60213 ac_ext=c
60214 ac_cpp='$CPP $CPPFLAGS'
60215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60222 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60223 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60224 for ac_func in ceilf floorf
60225 do :
60226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60228 eval as_val=\$$as_ac_var
60229 if test "x$as_val" = x""yes; then :
60230 cat >>confdefs.h <<_ACEOF
60231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60232 _ACEOF
60235 done
60237 else
60238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60239 $as_echo_n "checking for _float round functions... " >&6; }
60240 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60241 $as_echo_n "(cached) " >&6
60242 else
60245 ac_ext=cpp
60246 ac_cpp='$CXXCPP $CPPFLAGS'
60247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60252 /* end confdefs.h. */
60253 #include <math.h>
60255 main ()
60257 _ceilf (0); _floorf (0);
60259 return 0;
60261 _ACEOF
60262 if ac_fn_cxx_try_compile "$LINENO"; then :
60263 glibcxx_cv_func__float_round_use=yes
60264 else
60265 glibcxx_cv_func__float_round_use=no
60267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60268 ac_ext=c
60269 ac_cpp='$CPP $CPPFLAGS'
60270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60277 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60278 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60279 for ac_func in _ceilf _floorf
60280 do :
60281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60283 eval as_val=\$$as_ac_var
60284 if test "x$as_val" = x""yes; then :
60285 cat >>confdefs.h <<_ACEOF
60286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60287 _ACEOF
60290 done
60300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60301 $as_echo_n "checking for expf declaration... " >&6; }
60302 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60303 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60304 $as_echo_n "(cached) " >&6
60305 else
60308 ac_ext=cpp
60309 ac_cpp='$CXXCPP $CPPFLAGS'
60310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60315 /* end confdefs.h. */
60316 #include <math.h>
60317 #ifdef HAVE_IEEEFP_H
60318 #include <ieeefp.h>
60319 #endif
60322 main ()
60324 expf(0);
60326 return 0;
60328 _ACEOF
60329 if ac_fn_cxx_try_compile "$LINENO"; then :
60330 glibcxx_cv_func_expf_use=yes
60331 else
60332 glibcxx_cv_func_expf_use=no
60334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60335 ac_ext=c
60336 ac_cpp='$CPP $CPPFLAGS'
60337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60346 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60348 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60349 for ac_func in expf
60350 do :
60351 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60352 if test "x$ac_cv_func_expf" = x""yes; then :
60353 cat >>confdefs.h <<_ACEOF
60354 #define HAVE_EXPF 1
60355 _ACEOF
60358 done
60360 else
60362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60363 $as_echo_n "checking for _expf declaration... " >&6; }
60364 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60365 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60366 $as_echo_n "(cached) " >&6
60367 else
60370 ac_ext=cpp
60371 ac_cpp='$CXXCPP $CPPFLAGS'
60372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60377 /* end confdefs.h. */
60378 #include <math.h>
60379 #ifdef HAVE_IEEEFP_H
60380 #include <ieeefp.h>
60381 #endif
60384 main ()
60386 _expf(0);
60388 return 0;
60390 _ACEOF
60391 if ac_fn_cxx_try_compile "$LINENO"; then :
60392 glibcxx_cv_func__expf_use=yes
60393 else
60394 glibcxx_cv_func__expf_use=no
60396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60397 ac_ext=c
60398 ac_cpp='$CPP $CPPFLAGS'
60399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60408 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60410 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60411 for ac_func in _expf
60412 do :
60413 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60414 if test "x$ac_cv_func__expf" = x""yes; then :
60415 cat >>confdefs.h <<_ACEOF
60416 #define HAVE__EXPF 1
60417 _ACEOF
60420 done
60429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60430 $as_echo_n "checking for isnanf declaration... " >&6; }
60431 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60432 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60433 $as_echo_n "(cached) " >&6
60434 else
60437 ac_ext=cpp
60438 ac_cpp='$CXXCPP $CPPFLAGS'
60439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60444 /* end confdefs.h. */
60445 #include <math.h>
60446 #ifdef HAVE_IEEEFP_H
60447 #include <ieeefp.h>
60448 #endif
60451 main ()
60453 isnanf(0);
60455 return 0;
60457 _ACEOF
60458 if ac_fn_cxx_try_compile "$LINENO"; then :
60459 glibcxx_cv_func_isnanf_use=yes
60460 else
60461 glibcxx_cv_func_isnanf_use=no
60463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60464 ac_ext=c
60465 ac_cpp='$CPP $CPPFLAGS'
60466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60475 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60477 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60478 for ac_func in isnanf
60479 do :
60480 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60481 if test "x$ac_cv_func_isnanf" = x""yes; then :
60482 cat >>confdefs.h <<_ACEOF
60483 #define HAVE_ISNANF 1
60484 _ACEOF
60487 done
60489 else
60491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60492 $as_echo_n "checking for _isnanf declaration... " >&6; }
60493 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60494 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60495 $as_echo_n "(cached) " >&6
60496 else
60499 ac_ext=cpp
60500 ac_cpp='$CXXCPP $CPPFLAGS'
60501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60506 /* end confdefs.h. */
60507 #include <math.h>
60508 #ifdef HAVE_IEEEFP_H
60509 #include <ieeefp.h>
60510 #endif
60513 main ()
60515 _isnanf(0);
60517 return 0;
60519 _ACEOF
60520 if ac_fn_cxx_try_compile "$LINENO"; then :
60521 glibcxx_cv_func__isnanf_use=yes
60522 else
60523 glibcxx_cv_func__isnanf_use=no
60525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60526 ac_ext=c
60527 ac_cpp='$CPP $CPPFLAGS'
60528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60537 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60539 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60540 for ac_func in _isnanf
60541 do :
60542 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60543 if test "x$ac_cv_func__isnanf" = x""yes; then :
60544 cat >>confdefs.h <<_ACEOF
60545 #define HAVE__ISNANF 1
60546 _ACEOF
60549 done
60558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60559 $as_echo_n "checking for isinff declaration... " >&6; }
60560 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60561 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60562 $as_echo_n "(cached) " >&6
60563 else
60566 ac_ext=cpp
60567 ac_cpp='$CXXCPP $CPPFLAGS'
60568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60573 /* end confdefs.h. */
60574 #include <math.h>
60575 #ifdef HAVE_IEEEFP_H
60576 #include <ieeefp.h>
60577 #endif
60580 main ()
60582 isinff(0);
60584 return 0;
60586 _ACEOF
60587 if ac_fn_cxx_try_compile "$LINENO"; then :
60588 glibcxx_cv_func_isinff_use=yes
60589 else
60590 glibcxx_cv_func_isinff_use=no
60592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60593 ac_ext=c
60594 ac_cpp='$CPP $CPPFLAGS'
60595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60604 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60606 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60607 for ac_func in isinff
60608 do :
60609 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60610 if test "x$ac_cv_func_isinff" = x""yes; then :
60611 cat >>confdefs.h <<_ACEOF
60612 #define HAVE_ISINFF 1
60613 _ACEOF
60616 done
60618 else
60620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60621 $as_echo_n "checking for _isinff declaration... " >&6; }
60622 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60623 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60624 $as_echo_n "(cached) " >&6
60625 else
60628 ac_ext=cpp
60629 ac_cpp='$CXXCPP $CPPFLAGS'
60630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60635 /* end confdefs.h. */
60636 #include <math.h>
60637 #ifdef HAVE_IEEEFP_H
60638 #include <ieeefp.h>
60639 #endif
60642 main ()
60644 _isinff(0);
60646 return 0;
60648 _ACEOF
60649 if ac_fn_cxx_try_compile "$LINENO"; then :
60650 glibcxx_cv_func__isinff_use=yes
60651 else
60652 glibcxx_cv_func__isinff_use=no
60654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60655 ac_ext=c
60656 ac_cpp='$CPP $CPPFLAGS'
60657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60666 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60668 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60669 for ac_func in _isinff
60670 do :
60671 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60672 if test "x$ac_cv_func__isinff" = x""yes; then :
60673 cat >>confdefs.h <<_ACEOF
60674 #define HAVE__ISINFF 1
60675 _ACEOF
60678 done
60687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60688 $as_echo_n "checking for atan2f declaration... " >&6; }
60689 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60690 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60691 $as_echo_n "(cached) " >&6
60692 else
60695 ac_ext=cpp
60696 ac_cpp='$CXXCPP $CPPFLAGS'
60697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60702 /* end confdefs.h. */
60703 #include <math.h>
60705 main ()
60707 atan2f(0, 0);
60709 return 0;
60711 _ACEOF
60712 if ac_fn_cxx_try_compile "$LINENO"; then :
60713 glibcxx_cv_func_atan2f_use=yes
60714 else
60715 glibcxx_cv_func_atan2f_use=no
60717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60718 ac_ext=c
60719 ac_cpp='$CPP $CPPFLAGS'
60720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60729 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60731 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60732 for ac_func in atan2f
60733 do :
60734 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60735 if test "x$ac_cv_func_atan2f" = x""yes; then :
60736 cat >>confdefs.h <<_ACEOF
60737 #define HAVE_ATAN2F 1
60738 _ACEOF
60741 done
60743 else
60745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60746 $as_echo_n "checking for _atan2f declaration... " >&6; }
60747 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60748 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60749 $as_echo_n "(cached) " >&6
60750 else
60753 ac_ext=cpp
60754 ac_cpp='$CXXCPP $CPPFLAGS'
60755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60760 /* end confdefs.h. */
60761 #include <math.h>
60763 main ()
60765 _atan2f(0, 0);
60767 return 0;
60769 _ACEOF
60770 if ac_fn_cxx_try_compile "$LINENO"; then :
60771 glibcxx_cv_func__atan2f_use=yes
60772 else
60773 glibcxx_cv_func__atan2f_use=no
60775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60776 ac_ext=c
60777 ac_cpp='$CPP $CPPFLAGS'
60778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60787 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60789 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60790 for ac_func in _atan2f
60791 do :
60792 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60793 if test "x$ac_cv_func__atan2f" = x""yes; then :
60794 cat >>confdefs.h <<_ACEOF
60795 #define HAVE__ATAN2F 1
60796 _ACEOF
60799 done
60808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60809 $as_echo_n "checking for fabsf declaration... " >&6; }
60810 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60811 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60812 $as_echo_n "(cached) " >&6
60813 else
60816 ac_ext=cpp
60817 ac_cpp='$CXXCPP $CPPFLAGS'
60818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60823 /* end confdefs.h. */
60824 #include <math.h>
60825 #ifdef HAVE_IEEEFP_H
60826 #include <ieeefp.h>
60827 #endif
60830 main ()
60832 fabsf(0);
60834 return 0;
60836 _ACEOF
60837 if ac_fn_cxx_try_compile "$LINENO"; then :
60838 glibcxx_cv_func_fabsf_use=yes
60839 else
60840 glibcxx_cv_func_fabsf_use=no
60842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60843 ac_ext=c
60844 ac_cpp='$CPP $CPPFLAGS'
60845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60854 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60856 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60857 for ac_func in fabsf
60858 do :
60859 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60860 if test "x$ac_cv_func_fabsf" = x""yes; then :
60861 cat >>confdefs.h <<_ACEOF
60862 #define HAVE_FABSF 1
60863 _ACEOF
60866 done
60868 else
60870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60871 $as_echo_n "checking for _fabsf declaration... " >&6; }
60872 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60873 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60874 $as_echo_n "(cached) " >&6
60875 else
60878 ac_ext=cpp
60879 ac_cpp='$CXXCPP $CPPFLAGS'
60880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60885 /* end confdefs.h. */
60886 #include <math.h>
60887 #ifdef HAVE_IEEEFP_H
60888 #include <ieeefp.h>
60889 #endif
60892 main ()
60894 _fabsf(0);
60896 return 0;
60898 _ACEOF
60899 if ac_fn_cxx_try_compile "$LINENO"; then :
60900 glibcxx_cv_func__fabsf_use=yes
60901 else
60902 glibcxx_cv_func__fabsf_use=no
60904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60905 ac_ext=c
60906 ac_cpp='$CPP $CPPFLAGS'
60907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60916 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60918 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60919 for ac_func in _fabsf
60920 do :
60921 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60922 if test "x$ac_cv_func__fabsf" = x""yes; then :
60923 cat >>confdefs.h <<_ACEOF
60924 #define HAVE__FABSF 1
60925 _ACEOF
60928 done
60937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60938 $as_echo_n "checking for fmodf declaration... " >&6; }
60939 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60940 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60941 $as_echo_n "(cached) " >&6
60942 else
60945 ac_ext=cpp
60946 ac_cpp='$CXXCPP $CPPFLAGS'
60947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60952 /* end confdefs.h. */
60953 #include <math.h>
60955 main ()
60957 fmodf(0, 0);
60959 return 0;
60961 _ACEOF
60962 if ac_fn_cxx_try_compile "$LINENO"; then :
60963 glibcxx_cv_func_fmodf_use=yes
60964 else
60965 glibcxx_cv_func_fmodf_use=no
60967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60968 ac_ext=c
60969 ac_cpp='$CPP $CPPFLAGS'
60970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60979 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60981 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60982 for ac_func in fmodf
60983 do :
60984 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60985 if test "x$ac_cv_func_fmodf" = x""yes; then :
60986 cat >>confdefs.h <<_ACEOF
60987 #define HAVE_FMODF 1
60988 _ACEOF
60991 done
60993 else
60995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60996 $as_echo_n "checking for _fmodf declaration... " >&6; }
60997 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60998 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60999 $as_echo_n "(cached) " >&6
61000 else
61003 ac_ext=cpp
61004 ac_cpp='$CXXCPP $CPPFLAGS'
61005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61010 /* end confdefs.h. */
61011 #include <math.h>
61013 main ()
61015 _fmodf(0, 0);
61017 return 0;
61019 _ACEOF
61020 if ac_fn_cxx_try_compile "$LINENO"; then :
61021 glibcxx_cv_func__fmodf_use=yes
61022 else
61023 glibcxx_cv_func__fmodf_use=no
61025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61026 ac_ext=c
61027 ac_cpp='$CPP $CPPFLAGS'
61028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
61037 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
61039 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
61040 for ac_func in _fmodf
61041 do :
61042 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
61043 if test "x$ac_cv_func__fmodf" = x""yes; then :
61044 cat >>confdefs.h <<_ACEOF
61045 #define HAVE__FMODF 1
61046 _ACEOF
61049 done
61058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
61059 $as_echo_n "checking for frexpf declaration... " >&6; }
61060 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61061 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61062 $as_echo_n "(cached) " >&6
61063 else
61066 ac_ext=cpp
61067 ac_cpp='$CXXCPP $CPPFLAGS'
61068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61073 /* end confdefs.h. */
61074 #include <math.h>
61076 main ()
61078 frexpf(0, 0);
61080 return 0;
61082 _ACEOF
61083 if ac_fn_cxx_try_compile "$LINENO"; then :
61084 glibcxx_cv_func_frexpf_use=yes
61085 else
61086 glibcxx_cv_func_frexpf_use=no
61088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61089 ac_ext=c
61090 ac_cpp='$CPP $CPPFLAGS'
61091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61100 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61102 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61103 for ac_func in frexpf
61104 do :
61105 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61106 if test "x$ac_cv_func_frexpf" = x""yes; then :
61107 cat >>confdefs.h <<_ACEOF
61108 #define HAVE_FREXPF 1
61109 _ACEOF
61112 done
61114 else
61116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61117 $as_echo_n "checking for _frexpf declaration... " >&6; }
61118 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61119 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61120 $as_echo_n "(cached) " >&6
61121 else
61124 ac_ext=cpp
61125 ac_cpp='$CXXCPP $CPPFLAGS'
61126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61131 /* end confdefs.h. */
61132 #include <math.h>
61134 main ()
61136 _frexpf(0, 0);
61138 return 0;
61140 _ACEOF
61141 if ac_fn_cxx_try_compile "$LINENO"; then :
61142 glibcxx_cv_func__frexpf_use=yes
61143 else
61144 glibcxx_cv_func__frexpf_use=no
61146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61147 ac_ext=c
61148 ac_cpp='$CPP $CPPFLAGS'
61149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61158 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61160 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61161 for ac_func in _frexpf
61162 do :
61163 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61164 if test "x$ac_cv_func__frexpf" = x""yes; then :
61165 cat >>confdefs.h <<_ACEOF
61166 #define HAVE__FREXPF 1
61167 _ACEOF
61170 done
61179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61180 $as_echo_n "checking for hypotf declaration... " >&6; }
61181 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61182 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61183 $as_echo_n "(cached) " >&6
61184 else
61187 ac_ext=cpp
61188 ac_cpp='$CXXCPP $CPPFLAGS'
61189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61194 /* end confdefs.h. */
61195 #include <math.h>
61197 main ()
61199 hypotf(0, 0);
61201 return 0;
61203 _ACEOF
61204 if ac_fn_cxx_try_compile "$LINENO"; then :
61205 glibcxx_cv_func_hypotf_use=yes
61206 else
61207 glibcxx_cv_func_hypotf_use=no
61209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61210 ac_ext=c
61211 ac_cpp='$CPP $CPPFLAGS'
61212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61221 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61223 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61224 for ac_func in hypotf
61225 do :
61226 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61227 if test "x$ac_cv_func_hypotf" = x""yes; then :
61228 cat >>confdefs.h <<_ACEOF
61229 #define HAVE_HYPOTF 1
61230 _ACEOF
61233 done
61235 else
61237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61238 $as_echo_n "checking for _hypotf declaration... " >&6; }
61239 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61240 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61241 $as_echo_n "(cached) " >&6
61242 else
61245 ac_ext=cpp
61246 ac_cpp='$CXXCPP $CPPFLAGS'
61247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61252 /* end confdefs.h. */
61253 #include <math.h>
61255 main ()
61257 _hypotf(0, 0);
61259 return 0;
61261 _ACEOF
61262 if ac_fn_cxx_try_compile "$LINENO"; then :
61263 glibcxx_cv_func__hypotf_use=yes
61264 else
61265 glibcxx_cv_func__hypotf_use=no
61267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61268 ac_ext=c
61269 ac_cpp='$CPP $CPPFLAGS'
61270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61279 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61281 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61282 for ac_func in _hypotf
61283 do :
61284 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61285 if test "x$ac_cv_func__hypotf" = x""yes; then :
61286 cat >>confdefs.h <<_ACEOF
61287 #define HAVE__HYPOTF 1
61288 _ACEOF
61291 done
61300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61301 $as_echo_n "checking for ldexpf declaration... " >&6; }
61302 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61303 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61304 $as_echo_n "(cached) " >&6
61305 else
61308 ac_ext=cpp
61309 ac_cpp='$CXXCPP $CPPFLAGS'
61310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61315 /* end confdefs.h. */
61316 #include <math.h>
61318 main ()
61320 ldexpf(0, 0);
61322 return 0;
61324 _ACEOF
61325 if ac_fn_cxx_try_compile "$LINENO"; then :
61326 glibcxx_cv_func_ldexpf_use=yes
61327 else
61328 glibcxx_cv_func_ldexpf_use=no
61330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61331 ac_ext=c
61332 ac_cpp='$CPP $CPPFLAGS'
61333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61342 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61344 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61345 for ac_func in ldexpf
61346 do :
61347 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61348 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61349 cat >>confdefs.h <<_ACEOF
61350 #define HAVE_LDEXPF 1
61351 _ACEOF
61354 done
61356 else
61358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61359 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61360 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61361 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61362 $as_echo_n "(cached) " >&6
61363 else
61366 ac_ext=cpp
61367 ac_cpp='$CXXCPP $CPPFLAGS'
61368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61373 /* end confdefs.h. */
61374 #include <math.h>
61376 main ()
61378 _ldexpf(0, 0);
61380 return 0;
61382 _ACEOF
61383 if ac_fn_cxx_try_compile "$LINENO"; then :
61384 glibcxx_cv_func__ldexpf_use=yes
61385 else
61386 glibcxx_cv_func__ldexpf_use=no
61388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61389 ac_ext=c
61390 ac_cpp='$CPP $CPPFLAGS'
61391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61400 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61402 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61403 for ac_func in _ldexpf
61404 do :
61405 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61406 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61407 cat >>confdefs.h <<_ACEOF
61408 #define HAVE__LDEXPF 1
61409 _ACEOF
61412 done
61421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61422 $as_echo_n "checking for logf declaration... " >&6; }
61423 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61424 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61425 $as_echo_n "(cached) " >&6
61426 else
61429 ac_ext=cpp
61430 ac_cpp='$CXXCPP $CPPFLAGS'
61431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61436 /* end confdefs.h. */
61437 #include <math.h>
61438 #ifdef HAVE_IEEEFP_H
61439 #include <ieeefp.h>
61440 #endif
61443 main ()
61445 logf(0);
61447 return 0;
61449 _ACEOF
61450 if ac_fn_cxx_try_compile "$LINENO"; then :
61451 glibcxx_cv_func_logf_use=yes
61452 else
61453 glibcxx_cv_func_logf_use=no
61455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61456 ac_ext=c
61457 ac_cpp='$CPP $CPPFLAGS'
61458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61467 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61469 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61470 for ac_func in logf
61471 do :
61472 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61473 if test "x$ac_cv_func_logf" = x""yes; then :
61474 cat >>confdefs.h <<_ACEOF
61475 #define HAVE_LOGF 1
61476 _ACEOF
61479 done
61481 else
61483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61484 $as_echo_n "checking for _logf declaration... " >&6; }
61485 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61486 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61487 $as_echo_n "(cached) " >&6
61488 else
61491 ac_ext=cpp
61492 ac_cpp='$CXXCPP $CPPFLAGS'
61493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61498 /* end confdefs.h. */
61499 #include <math.h>
61500 #ifdef HAVE_IEEEFP_H
61501 #include <ieeefp.h>
61502 #endif
61505 main ()
61507 _logf(0);
61509 return 0;
61511 _ACEOF
61512 if ac_fn_cxx_try_compile "$LINENO"; then :
61513 glibcxx_cv_func__logf_use=yes
61514 else
61515 glibcxx_cv_func__logf_use=no
61517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61518 ac_ext=c
61519 ac_cpp='$CPP $CPPFLAGS'
61520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61529 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61531 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61532 for ac_func in _logf
61533 do :
61534 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61535 if test "x$ac_cv_func__logf" = x""yes; then :
61536 cat >>confdefs.h <<_ACEOF
61537 #define HAVE__LOGF 1
61538 _ACEOF
61541 done
61550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61551 $as_echo_n "checking for log10f declaration... " >&6; }
61552 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61553 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61554 $as_echo_n "(cached) " >&6
61555 else
61558 ac_ext=cpp
61559 ac_cpp='$CXXCPP $CPPFLAGS'
61560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61565 /* end confdefs.h. */
61566 #include <math.h>
61567 #ifdef HAVE_IEEEFP_H
61568 #include <ieeefp.h>
61569 #endif
61572 main ()
61574 log10f(0);
61576 return 0;
61578 _ACEOF
61579 if ac_fn_cxx_try_compile "$LINENO"; then :
61580 glibcxx_cv_func_log10f_use=yes
61581 else
61582 glibcxx_cv_func_log10f_use=no
61584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61585 ac_ext=c
61586 ac_cpp='$CPP $CPPFLAGS'
61587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61596 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61598 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61599 for ac_func in log10f
61600 do :
61601 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61602 if test "x$ac_cv_func_log10f" = x""yes; then :
61603 cat >>confdefs.h <<_ACEOF
61604 #define HAVE_LOG10F 1
61605 _ACEOF
61608 done
61610 else
61612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61613 $as_echo_n "checking for _log10f declaration... " >&6; }
61614 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61615 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61616 $as_echo_n "(cached) " >&6
61617 else
61620 ac_ext=cpp
61621 ac_cpp='$CXXCPP $CPPFLAGS'
61622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61627 /* end confdefs.h. */
61628 #include <math.h>
61629 #ifdef HAVE_IEEEFP_H
61630 #include <ieeefp.h>
61631 #endif
61634 main ()
61636 _log10f(0);
61638 return 0;
61640 _ACEOF
61641 if ac_fn_cxx_try_compile "$LINENO"; then :
61642 glibcxx_cv_func__log10f_use=yes
61643 else
61644 glibcxx_cv_func__log10f_use=no
61646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61647 ac_ext=c
61648 ac_cpp='$CPP $CPPFLAGS'
61649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61658 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61660 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61661 for ac_func in _log10f
61662 do :
61663 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61664 if test "x$ac_cv_func__log10f" = x""yes; then :
61665 cat >>confdefs.h <<_ACEOF
61666 #define HAVE__LOG10F 1
61667 _ACEOF
61670 done
61679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61680 $as_echo_n "checking for modff declaration... " >&6; }
61681 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61682 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61683 $as_echo_n "(cached) " >&6
61684 else
61687 ac_ext=cpp
61688 ac_cpp='$CXXCPP $CPPFLAGS'
61689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61694 /* end confdefs.h. */
61695 #include <math.h>
61697 main ()
61699 modff(0, 0);
61701 return 0;
61703 _ACEOF
61704 if ac_fn_cxx_try_compile "$LINENO"; then :
61705 glibcxx_cv_func_modff_use=yes
61706 else
61707 glibcxx_cv_func_modff_use=no
61709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61710 ac_ext=c
61711 ac_cpp='$CPP $CPPFLAGS'
61712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61721 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61723 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61724 for ac_func in modff
61725 do :
61726 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61727 if test "x$ac_cv_func_modff" = x""yes; then :
61728 cat >>confdefs.h <<_ACEOF
61729 #define HAVE_MODFF 1
61730 _ACEOF
61733 done
61735 else
61737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61738 $as_echo_n "checking for _modff declaration... " >&6; }
61739 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61740 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61741 $as_echo_n "(cached) " >&6
61742 else
61745 ac_ext=cpp
61746 ac_cpp='$CXXCPP $CPPFLAGS'
61747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61752 /* end confdefs.h. */
61753 #include <math.h>
61755 main ()
61757 _modff(0, 0);
61759 return 0;
61761 _ACEOF
61762 if ac_fn_cxx_try_compile "$LINENO"; then :
61763 glibcxx_cv_func__modff_use=yes
61764 else
61765 glibcxx_cv_func__modff_use=no
61767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61768 ac_ext=c
61769 ac_cpp='$CPP $CPPFLAGS'
61770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61779 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61781 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61782 for ac_func in _modff
61783 do :
61784 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61785 if test "x$ac_cv_func__modff" = x""yes; then :
61786 cat >>confdefs.h <<_ACEOF
61787 #define HAVE__MODFF 1
61788 _ACEOF
61791 done
61800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61801 $as_echo_n "checking for modf declaration... " >&6; }
61802 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61803 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61804 $as_echo_n "(cached) " >&6
61805 else
61808 ac_ext=cpp
61809 ac_cpp='$CXXCPP $CPPFLAGS'
61810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61815 /* end confdefs.h. */
61816 #include <math.h>
61818 main ()
61820 modf(0, 0);
61822 return 0;
61824 _ACEOF
61825 if ac_fn_cxx_try_compile "$LINENO"; then :
61826 glibcxx_cv_func_modf_use=yes
61827 else
61828 glibcxx_cv_func_modf_use=no
61830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61831 ac_ext=c
61832 ac_cpp='$CPP $CPPFLAGS'
61833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61842 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61844 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61845 for ac_func in modf
61846 do :
61847 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61848 if test "x$ac_cv_func_modf" = x""yes; then :
61849 cat >>confdefs.h <<_ACEOF
61850 #define HAVE_MODF 1
61851 _ACEOF
61854 done
61856 else
61858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61859 $as_echo_n "checking for _modf declaration... " >&6; }
61860 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61861 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61862 $as_echo_n "(cached) " >&6
61863 else
61866 ac_ext=cpp
61867 ac_cpp='$CXXCPP $CPPFLAGS'
61868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61873 /* end confdefs.h. */
61874 #include <math.h>
61876 main ()
61878 _modf(0, 0);
61880 return 0;
61882 _ACEOF
61883 if ac_fn_cxx_try_compile "$LINENO"; then :
61884 glibcxx_cv_func__modf_use=yes
61885 else
61886 glibcxx_cv_func__modf_use=no
61888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61889 ac_ext=c
61890 ac_cpp='$CPP $CPPFLAGS'
61891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61900 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61902 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61903 for ac_func in _modf
61904 do :
61905 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61906 if test "x$ac_cv_func__modf" = x""yes; then :
61907 cat >>confdefs.h <<_ACEOF
61908 #define HAVE__MODF 1
61909 _ACEOF
61912 done
61921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61922 $as_echo_n "checking for powf declaration... " >&6; }
61923 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61924 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61925 $as_echo_n "(cached) " >&6
61926 else
61929 ac_ext=cpp
61930 ac_cpp='$CXXCPP $CPPFLAGS'
61931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61936 /* end confdefs.h. */
61937 #include <math.h>
61939 main ()
61941 powf(0, 0);
61943 return 0;
61945 _ACEOF
61946 if ac_fn_cxx_try_compile "$LINENO"; then :
61947 glibcxx_cv_func_powf_use=yes
61948 else
61949 glibcxx_cv_func_powf_use=no
61951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61952 ac_ext=c
61953 ac_cpp='$CPP $CPPFLAGS'
61954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61963 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61965 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61966 for ac_func in powf
61967 do :
61968 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61969 if test "x$ac_cv_func_powf" = x""yes; then :
61970 cat >>confdefs.h <<_ACEOF
61971 #define HAVE_POWF 1
61972 _ACEOF
61975 done
61977 else
61979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61980 $as_echo_n "checking for _powf declaration... " >&6; }
61981 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61982 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61983 $as_echo_n "(cached) " >&6
61984 else
61987 ac_ext=cpp
61988 ac_cpp='$CXXCPP $CPPFLAGS'
61989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61994 /* end confdefs.h. */
61995 #include <math.h>
61997 main ()
61999 _powf(0, 0);
62001 return 0;
62003 _ACEOF
62004 if ac_fn_cxx_try_compile "$LINENO"; then :
62005 glibcxx_cv_func__powf_use=yes
62006 else
62007 glibcxx_cv_func__powf_use=no
62009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62010 ac_ext=c
62011 ac_cpp='$CPP $CPPFLAGS'
62012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62021 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62023 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62024 for ac_func in _powf
62025 do :
62026 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62027 if test "x$ac_cv_func__powf" = x""yes; then :
62028 cat >>confdefs.h <<_ACEOF
62029 #define HAVE__POWF 1
62030 _ACEOF
62033 done
62042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
62043 $as_echo_n "checking for sqrtf declaration... " >&6; }
62044 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62045 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
62046 $as_echo_n "(cached) " >&6
62047 else
62050 ac_ext=cpp
62051 ac_cpp='$CXXCPP $CPPFLAGS'
62052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62057 /* end confdefs.h. */
62058 #include <math.h>
62059 #ifdef HAVE_IEEEFP_H
62060 #include <ieeefp.h>
62061 #endif
62064 main ()
62066 sqrtf(0);
62068 return 0;
62070 _ACEOF
62071 if ac_fn_cxx_try_compile "$LINENO"; then :
62072 glibcxx_cv_func_sqrtf_use=yes
62073 else
62074 glibcxx_cv_func_sqrtf_use=no
62076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62077 ac_ext=c
62078 ac_cpp='$CPP $CPPFLAGS'
62079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62088 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62090 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62091 for ac_func in sqrtf
62092 do :
62093 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62094 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62095 cat >>confdefs.h <<_ACEOF
62096 #define HAVE_SQRTF 1
62097 _ACEOF
62100 done
62102 else
62104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62105 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62106 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62107 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62108 $as_echo_n "(cached) " >&6
62109 else
62112 ac_ext=cpp
62113 ac_cpp='$CXXCPP $CPPFLAGS'
62114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62119 /* end confdefs.h. */
62120 #include <math.h>
62121 #ifdef HAVE_IEEEFP_H
62122 #include <ieeefp.h>
62123 #endif
62126 main ()
62128 _sqrtf(0);
62130 return 0;
62132 _ACEOF
62133 if ac_fn_cxx_try_compile "$LINENO"; then :
62134 glibcxx_cv_func__sqrtf_use=yes
62135 else
62136 glibcxx_cv_func__sqrtf_use=no
62138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62139 ac_ext=c
62140 ac_cpp='$CPP $CPPFLAGS'
62141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62150 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62152 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62153 for ac_func in _sqrtf
62154 do :
62155 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62156 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62157 cat >>confdefs.h <<_ACEOF
62158 #define HAVE__SQRTF 1
62159 _ACEOF
62162 done
62171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62172 $as_echo_n "checking for sincosf declaration... " >&6; }
62173 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62174 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62175 $as_echo_n "(cached) " >&6
62176 else
62179 ac_ext=cpp
62180 ac_cpp='$CXXCPP $CPPFLAGS'
62181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62186 /* end confdefs.h. */
62187 #include <math.h>
62189 main ()
62191 sincosf(0, 0, 0);
62193 return 0;
62195 _ACEOF
62196 if ac_fn_cxx_try_compile "$LINENO"; then :
62197 glibcxx_cv_func_sincosf_use=yes
62198 else
62199 glibcxx_cv_func_sincosf_use=no
62201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62202 ac_ext=c
62203 ac_cpp='$CPP $CPPFLAGS'
62204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62213 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62215 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62216 for ac_func in sincosf
62217 do :
62218 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62219 if test "x$ac_cv_func_sincosf" = x""yes; then :
62220 cat >>confdefs.h <<_ACEOF
62221 #define HAVE_SINCOSF 1
62222 _ACEOF
62225 done
62227 else
62229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62230 $as_echo_n "checking for _sincosf declaration... " >&6; }
62231 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62232 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62233 $as_echo_n "(cached) " >&6
62234 else
62237 ac_ext=cpp
62238 ac_cpp='$CXXCPP $CPPFLAGS'
62239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62244 /* end confdefs.h. */
62245 #include <math.h>
62247 main ()
62249 _sincosf(0, 0, 0);
62251 return 0;
62253 _ACEOF
62254 if ac_fn_cxx_try_compile "$LINENO"; then :
62255 glibcxx_cv_func__sincosf_use=yes
62256 else
62257 glibcxx_cv_func__sincosf_use=no
62259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62260 ac_ext=c
62261 ac_cpp='$CPP $CPPFLAGS'
62262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62271 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62273 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62274 for ac_func in _sincosf
62275 do :
62276 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62277 if test "x$ac_cv_func__sincosf" = x""yes; then :
62278 cat >>confdefs.h <<_ACEOF
62279 #define HAVE__SINCOSF 1
62280 _ACEOF
62283 done
62292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62293 $as_echo_n "checking for finitef declaration... " >&6; }
62294 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62295 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62296 $as_echo_n "(cached) " >&6
62297 else
62300 ac_ext=cpp
62301 ac_cpp='$CXXCPP $CPPFLAGS'
62302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62307 /* end confdefs.h. */
62308 #include <math.h>
62309 #ifdef HAVE_IEEEFP_H
62310 #include <ieeefp.h>
62311 #endif
62314 main ()
62316 finitef(0);
62318 return 0;
62320 _ACEOF
62321 if ac_fn_cxx_try_compile "$LINENO"; then :
62322 glibcxx_cv_func_finitef_use=yes
62323 else
62324 glibcxx_cv_func_finitef_use=no
62326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62327 ac_ext=c
62328 ac_cpp='$CPP $CPPFLAGS'
62329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62338 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62340 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62341 for ac_func in finitef
62342 do :
62343 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62344 if test "x$ac_cv_func_finitef" = x""yes; then :
62345 cat >>confdefs.h <<_ACEOF
62346 #define HAVE_FINITEF 1
62347 _ACEOF
62350 done
62352 else
62354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62355 $as_echo_n "checking for _finitef declaration... " >&6; }
62356 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62357 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62358 $as_echo_n "(cached) " >&6
62359 else
62362 ac_ext=cpp
62363 ac_cpp='$CXXCPP $CPPFLAGS'
62364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62369 /* end confdefs.h. */
62370 #include <math.h>
62371 #ifdef HAVE_IEEEFP_H
62372 #include <ieeefp.h>
62373 #endif
62376 main ()
62378 _finitef(0);
62380 return 0;
62382 _ACEOF
62383 if ac_fn_cxx_try_compile "$LINENO"; then :
62384 glibcxx_cv_func__finitef_use=yes
62385 else
62386 glibcxx_cv_func__finitef_use=no
62388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62389 ac_ext=c
62390 ac_cpp='$CPP $CPPFLAGS'
62391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62400 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62402 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62403 for ac_func in _finitef
62404 do :
62405 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62406 if test "x$ac_cv_func__finitef" = x""yes; then :
62407 cat >>confdefs.h <<_ACEOF
62408 #define HAVE__FINITEF 1
62409 _ACEOF
62412 done
62421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62422 $as_echo_n "checking for long double trig functions... " >&6; }
62423 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62424 $as_echo_n "(cached) " >&6
62425 else
62428 ac_ext=cpp
62429 ac_cpp='$CXXCPP $CPPFLAGS'
62430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62435 /* end confdefs.h. */
62436 #include <math.h>
62438 main ()
62440 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62442 return 0;
62444 _ACEOF
62445 if ac_fn_cxx_try_compile "$LINENO"; then :
62446 glibcxx_cv_func_long_double_trig_use=yes
62447 else
62448 glibcxx_cv_func_long_double_trig_use=no
62450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62451 ac_ext=c
62452 ac_cpp='$CPP $CPPFLAGS'
62453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62460 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62461 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62462 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62463 do :
62464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62466 eval as_val=\$$as_ac_var
62467 if test "x$as_val" = x""yes; then :
62468 cat >>confdefs.h <<_ACEOF
62469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62470 _ACEOF
62473 done
62475 else
62476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62477 $as_echo_n "checking for _long double trig functions... " >&6; }
62478 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62479 $as_echo_n "(cached) " >&6
62480 else
62483 ac_ext=cpp
62484 ac_cpp='$CXXCPP $CPPFLAGS'
62485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62490 /* end confdefs.h. */
62491 #include <math.h>
62493 main ()
62495 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62497 return 0;
62499 _ACEOF
62500 if ac_fn_cxx_try_compile "$LINENO"; then :
62501 glibcxx_cv_func__long_double_trig_use=yes
62502 else
62503 glibcxx_cv_func__long_double_trig_use=no
62505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62506 ac_ext=c
62507 ac_cpp='$CPP $CPPFLAGS'
62508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62515 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62516 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62517 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62518 do :
62519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62521 eval as_val=\$$as_ac_var
62522 if test "x$as_val" = x""yes; then :
62523 cat >>confdefs.h <<_ACEOF
62524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62525 _ACEOF
62528 done
62537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62538 $as_echo_n "checking for long double round functions... " >&6; }
62539 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62540 $as_echo_n "(cached) " >&6
62541 else
62544 ac_ext=cpp
62545 ac_cpp='$CXXCPP $CPPFLAGS'
62546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62551 /* end confdefs.h. */
62552 #include <math.h>
62554 main ()
62556 ceill (0); floorl (0);
62558 return 0;
62560 _ACEOF
62561 if ac_fn_cxx_try_compile "$LINENO"; then :
62562 glibcxx_cv_func_long_double_round_use=yes
62563 else
62564 glibcxx_cv_func_long_double_round_use=no
62566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62567 ac_ext=c
62568 ac_cpp='$CPP $CPPFLAGS'
62569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62576 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62577 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62578 for ac_func in ceill floorl
62579 do :
62580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62582 eval as_val=\$$as_ac_var
62583 if test "x$as_val" = x""yes; then :
62584 cat >>confdefs.h <<_ACEOF
62585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62586 _ACEOF
62589 done
62591 else
62592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62593 $as_echo_n "checking for _long double round functions... " >&6; }
62594 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62595 $as_echo_n "(cached) " >&6
62596 else
62599 ac_ext=cpp
62600 ac_cpp='$CXXCPP $CPPFLAGS'
62601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62606 /* end confdefs.h. */
62607 #include <math.h>
62609 main ()
62611 _ceill (0); _floorl (0);
62613 return 0;
62615 _ACEOF
62616 if ac_fn_cxx_try_compile "$LINENO"; then :
62617 glibcxx_cv_func__long_double_round_use=yes
62618 else
62619 glibcxx_cv_func__long_double_round_use=no
62621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62622 ac_ext=c
62623 ac_cpp='$CPP $CPPFLAGS'
62624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62631 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62632 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62633 for ac_func in _ceill _floorl
62634 do :
62635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62637 eval as_val=\$$as_ac_var
62638 if test "x$as_val" = x""yes; then :
62639 cat >>confdefs.h <<_ACEOF
62640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62641 _ACEOF
62644 done
62654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62655 $as_echo_n "checking for isnanl declaration... " >&6; }
62656 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62657 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62658 $as_echo_n "(cached) " >&6
62659 else
62662 ac_ext=cpp
62663 ac_cpp='$CXXCPP $CPPFLAGS'
62664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62669 /* end confdefs.h. */
62670 #include <math.h>
62671 #ifdef HAVE_IEEEFP_H
62672 #include <ieeefp.h>
62673 #endif
62676 main ()
62678 isnanl(0);
62680 return 0;
62682 _ACEOF
62683 if ac_fn_cxx_try_compile "$LINENO"; then :
62684 glibcxx_cv_func_isnanl_use=yes
62685 else
62686 glibcxx_cv_func_isnanl_use=no
62688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62689 ac_ext=c
62690 ac_cpp='$CPP $CPPFLAGS'
62691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62700 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62702 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62703 for ac_func in isnanl
62704 do :
62705 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62706 if test "x$ac_cv_func_isnanl" = x""yes; then :
62707 cat >>confdefs.h <<_ACEOF
62708 #define HAVE_ISNANL 1
62709 _ACEOF
62712 done
62714 else
62716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62717 $as_echo_n "checking for _isnanl declaration... " >&6; }
62718 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62719 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62720 $as_echo_n "(cached) " >&6
62721 else
62724 ac_ext=cpp
62725 ac_cpp='$CXXCPP $CPPFLAGS'
62726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62731 /* end confdefs.h. */
62732 #include <math.h>
62733 #ifdef HAVE_IEEEFP_H
62734 #include <ieeefp.h>
62735 #endif
62738 main ()
62740 _isnanl(0);
62742 return 0;
62744 _ACEOF
62745 if ac_fn_cxx_try_compile "$LINENO"; then :
62746 glibcxx_cv_func__isnanl_use=yes
62747 else
62748 glibcxx_cv_func__isnanl_use=no
62750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62751 ac_ext=c
62752 ac_cpp='$CPP $CPPFLAGS'
62753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62762 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62764 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62765 for ac_func in _isnanl
62766 do :
62767 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62768 if test "x$ac_cv_func__isnanl" = x""yes; then :
62769 cat >>confdefs.h <<_ACEOF
62770 #define HAVE__ISNANL 1
62771 _ACEOF
62774 done
62783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62784 $as_echo_n "checking for isinfl declaration... " >&6; }
62785 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62786 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62787 $as_echo_n "(cached) " >&6
62788 else
62791 ac_ext=cpp
62792 ac_cpp='$CXXCPP $CPPFLAGS'
62793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62798 /* end confdefs.h. */
62799 #include <math.h>
62800 #ifdef HAVE_IEEEFP_H
62801 #include <ieeefp.h>
62802 #endif
62805 main ()
62807 isinfl(0);
62809 return 0;
62811 _ACEOF
62812 if ac_fn_cxx_try_compile "$LINENO"; then :
62813 glibcxx_cv_func_isinfl_use=yes
62814 else
62815 glibcxx_cv_func_isinfl_use=no
62817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62818 ac_ext=c
62819 ac_cpp='$CPP $CPPFLAGS'
62820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62829 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62831 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62832 for ac_func in isinfl
62833 do :
62834 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62835 if test "x$ac_cv_func_isinfl" = x""yes; then :
62836 cat >>confdefs.h <<_ACEOF
62837 #define HAVE_ISINFL 1
62838 _ACEOF
62841 done
62843 else
62845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62846 $as_echo_n "checking for _isinfl declaration... " >&6; }
62847 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62848 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62849 $as_echo_n "(cached) " >&6
62850 else
62853 ac_ext=cpp
62854 ac_cpp='$CXXCPP $CPPFLAGS'
62855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62860 /* end confdefs.h. */
62861 #include <math.h>
62862 #ifdef HAVE_IEEEFP_H
62863 #include <ieeefp.h>
62864 #endif
62867 main ()
62869 _isinfl(0);
62871 return 0;
62873 _ACEOF
62874 if ac_fn_cxx_try_compile "$LINENO"; then :
62875 glibcxx_cv_func__isinfl_use=yes
62876 else
62877 glibcxx_cv_func__isinfl_use=no
62879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62880 ac_ext=c
62881 ac_cpp='$CPP $CPPFLAGS'
62882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62891 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62893 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62894 for ac_func in _isinfl
62895 do :
62896 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62897 if test "x$ac_cv_func__isinfl" = x""yes; then :
62898 cat >>confdefs.h <<_ACEOF
62899 #define HAVE__ISINFL 1
62900 _ACEOF
62903 done
62912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62913 $as_echo_n "checking for atan2l declaration... " >&6; }
62914 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62915 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62916 $as_echo_n "(cached) " >&6
62917 else
62920 ac_ext=cpp
62921 ac_cpp='$CXXCPP $CPPFLAGS'
62922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62927 /* end confdefs.h. */
62928 #include <math.h>
62930 main ()
62932 atan2l(0, 0);
62934 return 0;
62936 _ACEOF
62937 if ac_fn_cxx_try_compile "$LINENO"; then :
62938 glibcxx_cv_func_atan2l_use=yes
62939 else
62940 glibcxx_cv_func_atan2l_use=no
62942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62943 ac_ext=c
62944 ac_cpp='$CPP $CPPFLAGS'
62945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62954 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62956 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62957 for ac_func in atan2l
62958 do :
62959 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62960 if test "x$ac_cv_func_atan2l" = x""yes; then :
62961 cat >>confdefs.h <<_ACEOF
62962 #define HAVE_ATAN2L 1
62963 _ACEOF
62966 done
62968 else
62970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62971 $as_echo_n "checking for _atan2l declaration... " >&6; }
62972 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62973 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62974 $as_echo_n "(cached) " >&6
62975 else
62978 ac_ext=cpp
62979 ac_cpp='$CXXCPP $CPPFLAGS'
62980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62985 /* end confdefs.h. */
62986 #include <math.h>
62988 main ()
62990 _atan2l(0, 0);
62992 return 0;
62994 _ACEOF
62995 if ac_fn_cxx_try_compile "$LINENO"; then :
62996 glibcxx_cv_func__atan2l_use=yes
62997 else
62998 glibcxx_cv_func__atan2l_use=no
63000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63001 ac_ext=c
63002 ac_cpp='$CPP $CPPFLAGS'
63003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63012 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63014 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63015 for ac_func in _atan2l
63016 do :
63017 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63018 if test "x$ac_cv_func__atan2l" = x""yes; then :
63019 cat >>confdefs.h <<_ACEOF
63020 #define HAVE__ATAN2L 1
63021 _ACEOF
63024 done
63033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63034 $as_echo_n "checking for expl declaration... " >&6; }
63035 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63036 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
63037 $as_echo_n "(cached) " >&6
63038 else
63041 ac_ext=cpp
63042 ac_cpp='$CXXCPP $CPPFLAGS'
63043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63048 /* end confdefs.h. */
63049 #include <math.h>
63050 #ifdef HAVE_IEEEFP_H
63051 #include <ieeefp.h>
63052 #endif
63055 main ()
63057 expl(0);
63059 return 0;
63061 _ACEOF
63062 if ac_fn_cxx_try_compile "$LINENO"; then :
63063 glibcxx_cv_func_expl_use=yes
63064 else
63065 glibcxx_cv_func_expl_use=no
63067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63068 ac_ext=c
63069 ac_cpp='$CPP $CPPFLAGS'
63070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63079 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63081 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63082 for ac_func in expl
63083 do :
63084 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63085 if test "x$ac_cv_func_expl" = x""yes; then :
63086 cat >>confdefs.h <<_ACEOF
63087 #define HAVE_EXPL 1
63088 _ACEOF
63091 done
63093 else
63095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63096 $as_echo_n "checking for _expl declaration... " >&6; }
63097 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63098 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63099 $as_echo_n "(cached) " >&6
63100 else
63103 ac_ext=cpp
63104 ac_cpp='$CXXCPP $CPPFLAGS'
63105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63110 /* end confdefs.h. */
63111 #include <math.h>
63112 #ifdef HAVE_IEEEFP_H
63113 #include <ieeefp.h>
63114 #endif
63117 main ()
63119 _expl(0);
63121 return 0;
63123 _ACEOF
63124 if ac_fn_cxx_try_compile "$LINENO"; then :
63125 glibcxx_cv_func__expl_use=yes
63126 else
63127 glibcxx_cv_func__expl_use=no
63129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63130 ac_ext=c
63131 ac_cpp='$CPP $CPPFLAGS'
63132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63141 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63143 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63144 for ac_func in _expl
63145 do :
63146 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63147 if test "x$ac_cv_func__expl" = x""yes; then :
63148 cat >>confdefs.h <<_ACEOF
63149 #define HAVE__EXPL 1
63150 _ACEOF
63153 done
63162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63163 $as_echo_n "checking for fabsl declaration... " >&6; }
63164 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63165 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63166 $as_echo_n "(cached) " >&6
63167 else
63170 ac_ext=cpp
63171 ac_cpp='$CXXCPP $CPPFLAGS'
63172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63177 /* end confdefs.h. */
63178 #include <math.h>
63179 #ifdef HAVE_IEEEFP_H
63180 #include <ieeefp.h>
63181 #endif
63184 main ()
63186 fabsl(0);
63188 return 0;
63190 _ACEOF
63191 if ac_fn_cxx_try_compile "$LINENO"; then :
63192 glibcxx_cv_func_fabsl_use=yes
63193 else
63194 glibcxx_cv_func_fabsl_use=no
63196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63197 ac_ext=c
63198 ac_cpp='$CPP $CPPFLAGS'
63199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63208 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63210 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63211 for ac_func in fabsl
63212 do :
63213 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63214 if test "x$ac_cv_func_fabsl" = x""yes; then :
63215 cat >>confdefs.h <<_ACEOF
63216 #define HAVE_FABSL 1
63217 _ACEOF
63220 done
63222 else
63224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63225 $as_echo_n "checking for _fabsl declaration... " >&6; }
63226 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63227 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63228 $as_echo_n "(cached) " >&6
63229 else
63232 ac_ext=cpp
63233 ac_cpp='$CXXCPP $CPPFLAGS'
63234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63239 /* end confdefs.h. */
63240 #include <math.h>
63241 #ifdef HAVE_IEEEFP_H
63242 #include <ieeefp.h>
63243 #endif
63246 main ()
63248 _fabsl(0);
63250 return 0;
63252 _ACEOF
63253 if ac_fn_cxx_try_compile "$LINENO"; then :
63254 glibcxx_cv_func__fabsl_use=yes
63255 else
63256 glibcxx_cv_func__fabsl_use=no
63258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63259 ac_ext=c
63260 ac_cpp='$CPP $CPPFLAGS'
63261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63270 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63272 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63273 for ac_func in _fabsl
63274 do :
63275 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63276 if test "x$ac_cv_func__fabsl" = x""yes; then :
63277 cat >>confdefs.h <<_ACEOF
63278 #define HAVE__FABSL 1
63279 _ACEOF
63282 done
63291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63292 $as_echo_n "checking for fmodl declaration... " >&6; }
63293 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63294 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63295 $as_echo_n "(cached) " >&6
63296 else
63299 ac_ext=cpp
63300 ac_cpp='$CXXCPP $CPPFLAGS'
63301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63306 /* end confdefs.h. */
63307 #include <math.h>
63309 main ()
63311 fmodl(0, 0);
63313 return 0;
63315 _ACEOF
63316 if ac_fn_cxx_try_compile "$LINENO"; then :
63317 glibcxx_cv_func_fmodl_use=yes
63318 else
63319 glibcxx_cv_func_fmodl_use=no
63321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63322 ac_ext=c
63323 ac_cpp='$CPP $CPPFLAGS'
63324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63333 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63335 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63336 for ac_func in fmodl
63337 do :
63338 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63339 if test "x$ac_cv_func_fmodl" = x""yes; then :
63340 cat >>confdefs.h <<_ACEOF
63341 #define HAVE_FMODL 1
63342 _ACEOF
63345 done
63347 else
63349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63350 $as_echo_n "checking for _fmodl declaration... " >&6; }
63351 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63352 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63353 $as_echo_n "(cached) " >&6
63354 else
63357 ac_ext=cpp
63358 ac_cpp='$CXXCPP $CPPFLAGS'
63359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63364 /* end confdefs.h. */
63365 #include <math.h>
63367 main ()
63369 _fmodl(0, 0);
63371 return 0;
63373 _ACEOF
63374 if ac_fn_cxx_try_compile "$LINENO"; then :
63375 glibcxx_cv_func__fmodl_use=yes
63376 else
63377 glibcxx_cv_func__fmodl_use=no
63379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63380 ac_ext=c
63381 ac_cpp='$CPP $CPPFLAGS'
63382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63391 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63393 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63394 for ac_func in _fmodl
63395 do :
63396 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63397 if test "x$ac_cv_func__fmodl" = x""yes; then :
63398 cat >>confdefs.h <<_ACEOF
63399 #define HAVE__FMODL 1
63400 _ACEOF
63403 done
63412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63413 $as_echo_n "checking for frexpl declaration... " >&6; }
63414 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63415 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63416 $as_echo_n "(cached) " >&6
63417 else
63420 ac_ext=cpp
63421 ac_cpp='$CXXCPP $CPPFLAGS'
63422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63427 /* end confdefs.h. */
63428 #include <math.h>
63430 main ()
63432 frexpl(0, 0);
63434 return 0;
63436 _ACEOF
63437 if ac_fn_cxx_try_compile "$LINENO"; then :
63438 glibcxx_cv_func_frexpl_use=yes
63439 else
63440 glibcxx_cv_func_frexpl_use=no
63442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63443 ac_ext=c
63444 ac_cpp='$CPP $CPPFLAGS'
63445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63454 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63456 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63457 for ac_func in frexpl
63458 do :
63459 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63460 if test "x$ac_cv_func_frexpl" = x""yes; then :
63461 cat >>confdefs.h <<_ACEOF
63462 #define HAVE_FREXPL 1
63463 _ACEOF
63466 done
63468 else
63470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63471 $as_echo_n "checking for _frexpl declaration... " >&6; }
63472 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63473 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63474 $as_echo_n "(cached) " >&6
63475 else
63478 ac_ext=cpp
63479 ac_cpp='$CXXCPP $CPPFLAGS'
63480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63485 /* end confdefs.h. */
63486 #include <math.h>
63488 main ()
63490 _frexpl(0, 0);
63492 return 0;
63494 _ACEOF
63495 if ac_fn_cxx_try_compile "$LINENO"; then :
63496 glibcxx_cv_func__frexpl_use=yes
63497 else
63498 glibcxx_cv_func__frexpl_use=no
63500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63501 ac_ext=c
63502 ac_cpp='$CPP $CPPFLAGS'
63503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63512 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63514 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63515 for ac_func in _frexpl
63516 do :
63517 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63518 if test "x$ac_cv_func__frexpl" = x""yes; then :
63519 cat >>confdefs.h <<_ACEOF
63520 #define HAVE__FREXPL 1
63521 _ACEOF
63524 done
63533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63534 $as_echo_n "checking for hypotl declaration... " >&6; }
63535 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63536 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63537 $as_echo_n "(cached) " >&6
63538 else
63541 ac_ext=cpp
63542 ac_cpp='$CXXCPP $CPPFLAGS'
63543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63548 /* end confdefs.h. */
63549 #include <math.h>
63551 main ()
63553 hypotl(0, 0);
63555 return 0;
63557 _ACEOF
63558 if ac_fn_cxx_try_compile "$LINENO"; then :
63559 glibcxx_cv_func_hypotl_use=yes
63560 else
63561 glibcxx_cv_func_hypotl_use=no
63563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63564 ac_ext=c
63565 ac_cpp='$CPP $CPPFLAGS'
63566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63575 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63577 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63578 for ac_func in hypotl
63579 do :
63580 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63581 if test "x$ac_cv_func_hypotl" = x""yes; then :
63582 cat >>confdefs.h <<_ACEOF
63583 #define HAVE_HYPOTL 1
63584 _ACEOF
63587 done
63589 else
63591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63592 $as_echo_n "checking for _hypotl declaration... " >&6; }
63593 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63594 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63595 $as_echo_n "(cached) " >&6
63596 else
63599 ac_ext=cpp
63600 ac_cpp='$CXXCPP $CPPFLAGS'
63601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63606 /* end confdefs.h. */
63607 #include <math.h>
63609 main ()
63611 _hypotl(0, 0);
63613 return 0;
63615 _ACEOF
63616 if ac_fn_cxx_try_compile "$LINENO"; then :
63617 glibcxx_cv_func__hypotl_use=yes
63618 else
63619 glibcxx_cv_func__hypotl_use=no
63621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63622 ac_ext=c
63623 ac_cpp='$CPP $CPPFLAGS'
63624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63633 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63635 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63636 for ac_func in _hypotl
63637 do :
63638 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63639 if test "x$ac_cv_func__hypotl" = x""yes; then :
63640 cat >>confdefs.h <<_ACEOF
63641 #define HAVE__HYPOTL 1
63642 _ACEOF
63645 done
63654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63655 $as_echo_n "checking for ldexpl declaration... " >&6; }
63656 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63657 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63658 $as_echo_n "(cached) " >&6
63659 else
63662 ac_ext=cpp
63663 ac_cpp='$CXXCPP $CPPFLAGS'
63664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63669 /* end confdefs.h. */
63670 #include <math.h>
63672 main ()
63674 ldexpl(0, 0);
63676 return 0;
63678 _ACEOF
63679 if ac_fn_cxx_try_compile "$LINENO"; then :
63680 glibcxx_cv_func_ldexpl_use=yes
63681 else
63682 glibcxx_cv_func_ldexpl_use=no
63684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63685 ac_ext=c
63686 ac_cpp='$CPP $CPPFLAGS'
63687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63696 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63698 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63699 for ac_func in ldexpl
63700 do :
63701 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63702 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63703 cat >>confdefs.h <<_ACEOF
63704 #define HAVE_LDEXPL 1
63705 _ACEOF
63708 done
63710 else
63712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63713 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63714 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63715 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63716 $as_echo_n "(cached) " >&6
63717 else
63720 ac_ext=cpp
63721 ac_cpp='$CXXCPP $CPPFLAGS'
63722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63727 /* end confdefs.h. */
63728 #include <math.h>
63730 main ()
63732 _ldexpl(0, 0);
63734 return 0;
63736 _ACEOF
63737 if ac_fn_cxx_try_compile "$LINENO"; then :
63738 glibcxx_cv_func__ldexpl_use=yes
63739 else
63740 glibcxx_cv_func__ldexpl_use=no
63742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63743 ac_ext=c
63744 ac_cpp='$CPP $CPPFLAGS'
63745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63754 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63756 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63757 for ac_func in _ldexpl
63758 do :
63759 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63760 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63761 cat >>confdefs.h <<_ACEOF
63762 #define HAVE__LDEXPL 1
63763 _ACEOF
63766 done
63775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63776 $as_echo_n "checking for logl declaration... " >&6; }
63777 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63778 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63779 $as_echo_n "(cached) " >&6
63780 else
63783 ac_ext=cpp
63784 ac_cpp='$CXXCPP $CPPFLAGS'
63785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63790 /* end confdefs.h. */
63791 #include <math.h>
63792 #ifdef HAVE_IEEEFP_H
63793 #include <ieeefp.h>
63794 #endif
63797 main ()
63799 logl(0);
63801 return 0;
63803 _ACEOF
63804 if ac_fn_cxx_try_compile "$LINENO"; then :
63805 glibcxx_cv_func_logl_use=yes
63806 else
63807 glibcxx_cv_func_logl_use=no
63809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63810 ac_ext=c
63811 ac_cpp='$CPP $CPPFLAGS'
63812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63821 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63823 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63824 for ac_func in logl
63825 do :
63826 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63827 if test "x$ac_cv_func_logl" = x""yes; then :
63828 cat >>confdefs.h <<_ACEOF
63829 #define HAVE_LOGL 1
63830 _ACEOF
63833 done
63835 else
63837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63838 $as_echo_n "checking for _logl declaration... " >&6; }
63839 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63840 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63841 $as_echo_n "(cached) " >&6
63842 else
63845 ac_ext=cpp
63846 ac_cpp='$CXXCPP $CPPFLAGS'
63847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63852 /* end confdefs.h. */
63853 #include <math.h>
63854 #ifdef HAVE_IEEEFP_H
63855 #include <ieeefp.h>
63856 #endif
63859 main ()
63861 _logl(0);
63863 return 0;
63865 _ACEOF
63866 if ac_fn_cxx_try_compile "$LINENO"; then :
63867 glibcxx_cv_func__logl_use=yes
63868 else
63869 glibcxx_cv_func__logl_use=no
63871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63872 ac_ext=c
63873 ac_cpp='$CPP $CPPFLAGS'
63874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63883 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63885 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63886 for ac_func in _logl
63887 do :
63888 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63889 if test "x$ac_cv_func__logl" = x""yes; then :
63890 cat >>confdefs.h <<_ACEOF
63891 #define HAVE__LOGL 1
63892 _ACEOF
63895 done
63904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63905 $as_echo_n "checking for log10l declaration... " >&6; }
63906 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63907 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63908 $as_echo_n "(cached) " >&6
63909 else
63912 ac_ext=cpp
63913 ac_cpp='$CXXCPP $CPPFLAGS'
63914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63919 /* end confdefs.h. */
63920 #include <math.h>
63921 #ifdef HAVE_IEEEFP_H
63922 #include <ieeefp.h>
63923 #endif
63926 main ()
63928 log10l(0);
63930 return 0;
63932 _ACEOF
63933 if ac_fn_cxx_try_compile "$LINENO"; then :
63934 glibcxx_cv_func_log10l_use=yes
63935 else
63936 glibcxx_cv_func_log10l_use=no
63938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63939 ac_ext=c
63940 ac_cpp='$CPP $CPPFLAGS'
63941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63950 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63952 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63953 for ac_func in log10l
63954 do :
63955 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63956 if test "x$ac_cv_func_log10l" = x""yes; then :
63957 cat >>confdefs.h <<_ACEOF
63958 #define HAVE_LOG10L 1
63959 _ACEOF
63962 done
63964 else
63966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63967 $as_echo_n "checking for _log10l declaration... " >&6; }
63968 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63969 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63970 $as_echo_n "(cached) " >&6
63971 else
63974 ac_ext=cpp
63975 ac_cpp='$CXXCPP $CPPFLAGS'
63976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63981 /* end confdefs.h. */
63982 #include <math.h>
63983 #ifdef HAVE_IEEEFP_H
63984 #include <ieeefp.h>
63985 #endif
63988 main ()
63990 _log10l(0);
63992 return 0;
63994 _ACEOF
63995 if ac_fn_cxx_try_compile "$LINENO"; then :
63996 glibcxx_cv_func__log10l_use=yes
63997 else
63998 glibcxx_cv_func__log10l_use=no
64000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64001 ac_ext=c
64002 ac_cpp='$CPP $CPPFLAGS'
64003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64012 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64014 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64015 for ac_func in _log10l
64016 do :
64017 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64018 if test "x$ac_cv_func__log10l" = x""yes; then :
64019 cat >>confdefs.h <<_ACEOF
64020 #define HAVE__LOG10L 1
64021 _ACEOF
64024 done
64033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64034 $as_echo_n "checking for modfl declaration... " >&6; }
64035 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64036 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
64037 $as_echo_n "(cached) " >&6
64038 else
64041 ac_ext=cpp
64042 ac_cpp='$CXXCPP $CPPFLAGS'
64043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64048 /* end confdefs.h. */
64049 #include <math.h>
64051 main ()
64053 modfl(0, 0);
64055 return 0;
64057 _ACEOF
64058 if ac_fn_cxx_try_compile "$LINENO"; then :
64059 glibcxx_cv_func_modfl_use=yes
64060 else
64061 glibcxx_cv_func_modfl_use=no
64063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64064 ac_ext=c
64065 ac_cpp='$CPP $CPPFLAGS'
64066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64075 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64077 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64078 for ac_func in modfl
64079 do :
64080 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64081 if test "x$ac_cv_func_modfl" = x""yes; then :
64082 cat >>confdefs.h <<_ACEOF
64083 #define HAVE_MODFL 1
64084 _ACEOF
64087 done
64089 else
64091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64092 $as_echo_n "checking for _modfl declaration... " >&6; }
64093 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64094 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64095 $as_echo_n "(cached) " >&6
64096 else
64099 ac_ext=cpp
64100 ac_cpp='$CXXCPP $CPPFLAGS'
64101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64106 /* end confdefs.h. */
64107 #include <math.h>
64109 main ()
64111 _modfl(0, 0);
64113 return 0;
64115 _ACEOF
64116 if ac_fn_cxx_try_compile "$LINENO"; then :
64117 glibcxx_cv_func__modfl_use=yes
64118 else
64119 glibcxx_cv_func__modfl_use=no
64121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64122 ac_ext=c
64123 ac_cpp='$CPP $CPPFLAGS'
64124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64133 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64135 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64136 for ac_func in _modfl
64137 do :
64138 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64139 if test "x$ac_cv_func__modfl" = x""yes; then :
64140 cat >>confdefs.h <<_ACEOF
64141 #define HAVE__MODFL 1
64142 _ACEOF
64145 done
64154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64155 $as_echo_n "checking for powl declaration... " >&6; }
64156 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64157 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64158 $as_echo_n "(cached) " >&6
64159 else
64162 ac_ext=cpp
64163 ac_cpp='$CXXCPP $CPPFLAGS'
64164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64169 /* end confdefs.h. */
64170 #include <math.h>
64172 main ()
64174 powl(0, 0);
64176 return 0;
64178 _ACEOF
64179 if ac_fn_cxx_try_compile "$LINENO"; then :
64180 glibcxx_cv_func_powl_use=yes
64181 else
64182 glibcxx_cv_func_powl_use=no
64184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64185 ac_ext=c
64186 ac_cpp='$CPP $CPPFLAGS'
64187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64196 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64198 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64199 for ac_func in powl
64200 do :
64201 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64202 if test "x$ac_cv_func_powl" = x""yes; then :
64203 cat >>confdefs.h <<_ACEOF
64204 #define HAVE_POWL 1
64205 _ACEOF
64208 done
64210 else
64212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64213 $as_echo_n "checking for _powl declaration... " >&6; }
64214 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64215 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64216 $as_echo_n "(cached) " >&6
64217 else
64220 ac_ext=cpp
64221 ac_cpp='$CXXCPP $CPPFLAGS'
64222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64227 /* end confdefs.h. */
64228 #include <math.h>
64230 main ()
64232 _powl(0, 0);
64234 return 0;
64236 _ACEOF
64237 if ac_fn_cxx_try_compile "$LINENO"; then :
64238 glibcxx_cv_func__powl_use=yes
64239 else
64240 glibcxx_cv_func__powl_use=no
64242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64243 ac_ext=c
64244 ac_cpp='$CPP $CPPFLAGS'
64245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64254 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64256 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64257 for ac_func in _powl
64258 do :
64259 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64260 if test "x$ac_cv_func__powl" = x""yes; then :
64261 cat >>confdefs.h <<_ACEOF
64262 #define HAVE__POWL 1
64263 _ACEOF
64266 done
64275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64276 $as_echo_n "checking for sqrtl declaration... " >&6; }
64277 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64278 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64279 $as_echo_n "(cached) " >&6
64280 else
64283 ac_ext=cpp
64284 ac_cpp='$CXXCPP $CPPFLAGS'
64285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64290 /* end confdefs.h. */
64291 #include <math.h>
64292 #ifdef HAVE_IEEEFP_H
64293 #include <ieeefp.h>
64294 #endif
64297 main ()
64299 sqrtl(0);
64301 return 0;
64303 _ACEOF
64304 if ac_fn_cxx_try_compile "$LINENO"; then :
64305 glibcxx_cv_func_sqrtl_use=yes
64306 else
64307 glibcxx_cv_func_sqrtl_use=no
64309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64310 ac_ext=c
64311 ac_cpp='$CPP $CPPFLAGS'
64312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64321 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64323 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64324 for ac_func in sqrtl
64325 do :
64326 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64327 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64328 cat >>confdefs.h <<_ACEOF
64329 #define HAVE_SQRTL 1
64330 _ACEOF
64333 done
64335 else
64337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64338 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64339 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64340 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64341 $as_echo_n "(cached) " >&6
64342 else
64345 ac_ext=cpp
64346 ac_cpp='$CXXCPP $CPPFLAGS'
64347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64352 /* end confdefs.h. */
64353 #include <math.h>
64354 #ifdef HAVE_IEEEFP_H
64355 #include <ieeefp.h>
64356 #endif
64359 main ()
64361 _sqrtl(0);
64363 return 0;
64365 _ACEOF
64366 if ac_fn_cxx_try_compile "$LINENO"; then :
64367 glibcxx_cv_func__sqrtl_use=yes
64368 else
64369 glibcxx_cv_func__sqrtl_use=no
64371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64372 ac_ext=c
64373 ac_cpp='$CPP $CPPFLAGS'
64374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64383 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64385 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64386 for ac_func in _sqrtl
64387 do :
64388 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64389 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64390 cat >>confdefs.h <<_ACEOF
64391 #define HAVE__SQRTL 1
64392 _ACEOF
64395 done
64404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64405 $as_echo_n "checking for sincosl declaration... " >&6; }
64406 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64407 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64408 $as_echo_n "(cached) " >&6
64409 else
64412 ac_ext=cpp
64413 ac_cpp='$CXXCPP $CPPFLAGS'
64414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64419 /* end confdefs.h. */
64420 #include <math.h>
64422 main ()
64424 sincosl(0, 0, 0);
64426 return 0;
64428 _ACEOF
64429 if ac_fn_cxx_try_compile "$LINENO"; then :
64430 glibcxx_cv_func_sincosl_use=yes
64431 else
64432 glibcxx_cv_func_sincosl_use=no
64434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64435 ac_ext=c
64436 ac_cpp='$CPP $CPPFLAGS'
64437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64446 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64448 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64449 for ac_func in sincosl
64450 do :
64451 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64452 if test "x$ac_cv_func_sincosl" = x""yes; then :
64453 cat >>confdefs.h <<_ACEOF
64454 #define HAVE_SINCOSL 1
64455 _ACEOF
64458 done
64460 else
64462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64463 $as_echo_n "checking for _sincosl declaration... " >&6; }
64464 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64465 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64466 $as_echo_n "(cached) " >&6
64467 else
64470 ac_ext=cpp
64471 ac_cpp='$CXXCPP $CPPFLAGS'
64472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64477 /* end confdefs.h. */
64478 #include <math.h>
64480 main ()
64482 _sincosl(0, 0, 0);
64484 return 0;
64486 _ACEOF
64487 if ac_fn_cxx_try_compile "$LINENO"; then :
64488 glibcxx_cv_func__sincosl_use=yes
64489 else
64490 glibcxx_cv_func__sincosl_use=no
64492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64493 ac_ext=c
64494 ac_cpp='$CPP $CPPFLAGS'
64495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64504 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64506 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64507 for ac_func in _sincosl
64508 do :
64509 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64510 if test "x$ac_cv_func__sincosl" = x""yes; then :
64511 cat >>confdefs.h <<_ACEOF
64512 #define HAVE__SINCOSL 1
64513 _ACEOF
64516 done
64525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64526 $as_echo_n "checking for finitel declaration... " >&6; }
64527 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64528 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64529 $as_echo_n "(cached) " >&6
64530 else
64533 ac_ext=cpp
64534 ac_cpp='$CXXCPP $CPPFLAGS'
64535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64540 /* end confdefs.h. */
64541 #include <math.h>
64542 #ifdef HAVE_IEEEFP_H
64543 #include <ieeefp.h>
64544 #endif
64547 main ()
64549 finitel(0);
64551 return 0;
64553 _ACEOF
64554 if ac_fn_cxx_try_compile "$LINENO"; then :
64555 glibcxx_cv_func_finitel_use=yes
64556 else
64557 glibcxx_cv_func_finitel_use=no
64559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64560 ac_ext=c
64561 ac_cpp='$CPP $CPPFLAGS'
64562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64571 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64573 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64574 for ac_func in finitel
64575 do :
64576 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64577 if test "x$ac_cv_func_finitel" = x""yes; then :
64578 cat >>confdefs.h <<_ACEOF
64579 #define HAVE_FINITEL 1
64580 _ACEOF
64583 done
64585 else
64587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64588 $as_echo_n "checking for _finitel declaration... " >&6; }
64589 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64590 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64591 $as_echo_n "(cached) " >&6
64592 else
64595 ac_ext=cpp
64596 ac_cpp='$CXXCPP $CPPFLAGS'
64597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64602 /* end confdefs.h. */
64603 #include <math.h>
64604 #ifdef HAVE_IEEEFP_H
64605 #include <ieeefp.h>
64606 #endif
64609 main ()
64611 _finitel(0);
64613 return 0;
64615 _ACEOF
64616 if ac_fn_cxx_try_compile "$LINENO"; then :
64617 glibcxx_cv_func__finitel_use=yes
64618 else
64619 glibcxx_cv_func__finitel_use=no
64621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64622 ac_ext=c
64623 ac_cpp='$CPP $CPPFLAGS'
64624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64633 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64635 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64636 for ac_func in _finitel
64637 do :
64638 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64639 if test "x$ac_cv_func__finitel" = x""yes; then :
64640 cat >>confdefs.h <<_ACEOF
64641 #define HAVE__FINITEL 1
64642 _ACEOF
64645 done
64653 LIBS="$ac_save_LIBS"
64654 CXXFLAGS="$ac_save_CXXFLAGS"
64657 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64658 ac_save_CXXFLAGS="$CXXFLAGS"
64659 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64663 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64664 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64665 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64666 $as_echo_n "(cached) " >&6
64667 else
64670 ac_ext=cpp
64671 ac_cpp='$CXXCPP $CPPFLAGS'
64672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64677 /* end confdefs.h. */
64678 #include <stdlib.h>
64680 main ()
64682 at_quick_exit(0);
64684 return 0;
64686 _ACEOF
64687 if ac_fn_cxx_try_compile "$LINENO"; then :
64688 glibcxx_cv_func_at_quick_exit_use=yes
64689 else
64690 glibcxx_cv_func_at_quick_exit_use=no
64692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64693 ac_ext=c
64694 ac_cpp='$CPP $CPPFLAGS'
64695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64704 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64705 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64706 for ac_func in at_quick_exit
64707 do :
64708 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64709 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64710 cat >>confdefs.h <<_ACEOF
64711 #define HAVE_AT_QUICK_EXIT 1
64712 _ACEOF
64715 done
64720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64721 $as_echo_n "checking for quick_exit declaration... " >&6; }
64722 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64723 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64724 $as_echo_n "(cached) " >&6
64725 else
64728 ac_ext=cpp
64729 ac_cpp='$CXXCPP $CPPFLAGS'
64730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64735 /* end confdefs.h. */
64736 #include <stdlib.h>
64738 main ()
64740 quick_exit(0);
64742 return 0;
64744 _ACEOF
64745 if ac_fn_cxx_try_compile "$LINENO"; then :
64746 glibcxx_cv_func_quick_exit_use=yes
64747 else
64748 glibcxx_cv_func_quick_exit_use=no
64750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64751 ac_ext=c
64752 ac_cpp='$CPP $CPPFLAGS'
64753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64762 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64763 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64764 for ac_func in quick_exit
64765 do :
64766 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64767 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64768 cat >>confdefs.h <<_ACEOF
64769 #define HAVE_QUICK_EXIT 1
64770 _ACEOF
64773 done
64778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64779 $as_echo_n "checking for strtold declaration... " >&6; }
64780 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64781 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64782 $as_echo_n "(cached) " >&6
64783 else
64786 ac_ext=cpp
64787 ac_cpp='$CXXCPP $CPPFLAGS'
64788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64793 /* end confdefs.h. */
64794 #include <stdlib.h>
64796 main ()
64798 strtold(0, 0);
64800 return 0;
64802 _ACEOF
64803 if ac_fn_cxx_try_compile "$LINENO"; then :
64804 glibcxx_cv_func_strtold_use=yes
64805 else
64806 glibcxx_cv_func_strtold_use=no
64808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64809 ac_ext=c
64810 ac_cpp='$CPP $CPPFLAGS'
64811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64820 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64821 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64822 for ac_func in strtold
64823 do :
64824 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64825 if test "x$ac_cv_func_strtold" = x""yes; then :
64826 cat >>confdefs.h <<_ACEOF
64827 #define HAVE_STRTOLD 1
64828 _ACEOF
64831 done
64838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64839 $as_echo_n "checking for strtof declaration... " >&6; }
64840 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64841 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64842 $as_echo_n "(cached) " >&6
64843 else
64846 ac_ext=cpp
64847 ac_cpp='$CXXCPP $CPPFLAGS'
64848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64853 /* end confdefs.h. */
64854 #include <stdlib.h>
64856 main ()
64858 strtof(0, 0);
64860 return 0;
64862 _ACEOF
64863 if ac_fn_cxx_try_compile "$LINENO"; then :
64864 glibcxx_cv_func_strtof_use=yes
64865 else
64866 glibcxx_cv_func_strtof_use=no
64868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64869 ac_ext=c
64870 ac_cpp='$CPP $CPPFLAGS'
64871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64880 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64881 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64882 for ac_func in strtof
64883 do :
64884 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64885 if test "x$ac_cv_func_strtof" = x""yes; then :
64886 cat >>confdefs.h <<_ACEOF
64887 #define HAVE_STRTOF 1
64888 _ACEOF
64891 done
64898 CXXFLAGS="$ac_save_CXXFLAGS"
64901 *-netbsd*)
64902 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64905 # If we're not using GNU ld, then there's no point in even trying these
64906 # tests. Check for that first. We should have already tested for gld
64907 # by now (in libtool), but require it now just to be safe...
64908 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64909 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64913 # The name set by libtool depends on the version of libtool. Shame on us
64914 # for depending on an impl detail, but c'est la vie. Older versions used
64915 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64916 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64917 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64918 # set (hence we're using an older libtool), then set it.
64919 if test x${with_gnu_ld+set} != xset; then
64920 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64921 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64922 with_gnu_ld=no
64923 else
64924 with_gnu_ld=$ac_cv_prog_gnu_ld
64928 # Start by getting the version number. I think the libtool test already
64929 # does some of this, but throws away the result.
64930 glibcxx_ld_is_gold=no
64931 if test x"$with_gnu_ld" = x"yes"; then
64932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64933 $as_echo_n "checking for ld version... " >&6; }
64935 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64936 glibcxx_ld_is_gold=yes
64938 ldver=`$LD --version 2>/dev/null |
64939 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'`
64941 glibcxx_gnu_ld_version=`echo $ldver | \
64942 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64944 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64947 # Set --gc-sections.
64948 glibcxx_have_gc_sections=no
64949 if test "$glibcxx_ld_is_gold" = "yes"; then
64950 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64951 glibcxx_have_gc_sections=yes
64953 else
64954 glibcxx_gcsections_min_ld=21602
64955 if test x"$with_gnu_ld" = x"yes" &&
64956 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64957 glibcxx_have_gc_sections=yes
64960 if test "$glibcxx_have_gc_sections" = "yes"; then
64961 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64962 # NB: This flag only works reliably after 2.16.1. Configure tests
64963 # for this are difficult, so hard wire a value that should work.
64965 ac_test_CFLAGS="${CFLAGS+set}"
64966 ac_save_CFLAGS="$CFLAGS"
64967 CFLAGS='-Wl,--gc-sections'
64969 # Check for -Wl,--gc-sections
64970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64971 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64972 if test x$gcc_no_link = xyes; then
64973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64976 /* end confdefs.h. */
64977 int one(void) { return 1; }
64978 int two(void) { return 2; }
64981 main ()
64983 two();
64985 return 0;
64987 _ACEOF
64988 if ac_fn_c_try_link "$LINENO"; then :
64989 ac_gcsections=yes
64990 else
64991 ac_gcsections=no
64993 rm -f core conftest.err conftest.$ac_objext \
64994 conftest$ac_exeext conftest.$ac_ext
64995 if test "$ac_gcsections" = "yes"; then
64996 rm -f conftest.c
64997 touch conftest.c
64998 if $CC -c conftest.c; then
64999 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65000 grep "Warning: gc-sections option ignored" > /dev/null; then
65001 ac_gcsections=no
65004 rm -f conftest.c conftest.o conftest
65006 if test "$ac_gcsections" = "yes"; then
65007 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65010 $as_echo "$ac_gcsections" >&6; }
65012 if test "$ac_test_CFLAGS" = set; then
65013 CFLAGS="$ac_save_CFLAGS"
65014 else
65015 # this is the suspicious part
65016 CFLAGS=''
65020 # Set -z,relro.
65021 # Note this is only for shared objects.
65022 ac_ld_relro=no
65023 if test x"$with_gnu_ld" = x"yes"; then
65024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65025 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65026 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65027 if test -n "$cxx_z_relo"; then
65028 OPT_LDFLAGS="-Wl,-z,relro"
65029 ac_ld_relro=yes
65031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65032 $as_echo "$ac_ld_relro" >&6; }
65035 # Set linker optimization flags.
65036 if test x"$with_gnu_ld" = x"yes"; then
65037 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65043 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
65045 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65047 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
65049 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
65051 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
65053 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
65055 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65057 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65059 if test x"long_double_math_on_this_cpu" = x"yes"; then
65060 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65062 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65064 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65068 *-qnx6.1* | *-qnx6.2*)
65069 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65072 # If we're not using GNU ld, then there's no point in even trying these
65073 # tests. Check for that first. We should have already tested for gld
65074 # by now (in libtool), but require it now just to be safe...
65075 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65076 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65080 # The name set by libtool depends on the version of libtool. Shame on us
65081 # for depending on an impl detail, but c'est la vie. Older versions used
65082 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65083 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65084 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65085 # set (hence we're using an older libtool), then set it.
65086 if test x${with_gnu_ld+set} != xset; then
65087 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65088 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65089 with_gnu_ld=no
65090 else
65091 with_gnu_ld=$ac_cv_prog_gnu_ld
65095 # Start by getting the version number. I think the libtool test already
65096 # does some of this, but throws away the result.
65097 glibcxx_ld_is_gold=no
65098 if test x"$with_gnu_ld" = x"yes"; then
65099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65100 $as_echo_n "checking for ld version... " >&6; }
65102 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65103 glibcxx_ld_is_gold=yes
65105 ldver=`$LD --version 2>/dev/null |
65106 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'`
65108 glibcxx_gnu_ld_version=`echo $ldver | \
65109 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65111 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65114 # Set --gc-sections.
65115 glibcxx_have_gc_sections=no
65116 if test "$glibcxx_ld_is_gold" = "yes"; then
65117 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65118 glibcxx_have_gc_sections=yes
65120 else
65121 glibcxx_gcsections_min_ld=21602
65122 if test x"$with_gnu_ld" = x"yes" &&
65123 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65124 glibcxx_have_gc_sections=yes
65127 if test "$glibcxx_have_gc_sections" = "yes"; then
65128 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65129 # NB: This flag only works reliably after 2.16.1. Configure tests
65130 # for this are difficult, so hard wire a value that should work.
65132 ac_test_CFLAGS="${CFLAGS+set}"
65133 ac_save_CFLAGS="$CFLAGS"
65134 CFLAGS='-Wl,--gc-sections'
65136 # Check for -Wl,--gc-sections
65137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65138 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65139 if test x$gcc_no_link = xyes; then
65140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65143 /* end confdefs.h. */
65144 int one(void) { return 1; }
65145 int two(void) { return 2; }
65148 main ()
65150 two();
65152 return 0;
65154 _ACEOF
65155 if ac_fn_c_try_link "$LINENO"; then :
65156 ac_gcsections=yes
65157 else
65158 ac_gcsections=no
65160 rm -f core conftest.err conftest.$ac_objext \
65161 conftest$ac_exeext conftest.$ac_ext
65162 if test "$ac_gcsections" = "yes"; then
65163 rm -f conftest.c
65164 touch conftest.c
65165 if $CC -c conftest.c; then
65166 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65167 grep "Warning: gc-sections option ignored" > /dev/null; then
65168 ac_gcsections=no
65171 rm -f conftest.c conftest.o conftest
65173 if test "$ac_gcsections" = "yes"; then
65174 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65177 $as_echo "$ac_gcsections" >&6; }
65179 if test "$ac_test_CFLAGS" = set; then
65180 CFLAGS="$ac_save_CFLAGS"
65181 else
65182 # this is the suspicious part
65183 CFLAGS=''
65187 # Set -z,relro.
65188 # Note this is only for shared objects.
65189 ac_ld_relro=no
65190 if test x"$with_gnu_ld" = x"yes"; then
65191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65192 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65193 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65194 if test -n "$cxx_z_relo"; then
65195 OPT_LDFLAGS="-Wl,-z,relro"
65196 ac_ld_relro=yes
65198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65199 $as_echo "$ac_ld_relro" >&6; }
65202 # Set linker optimization flags.
65203 if test x"$with_gnu_ld" = x"yes"; then
65204 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65210 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65212 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65214 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65216 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65218 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65220 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65222 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65224 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65226 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65228 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65230 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65232 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65235 *-rtems*)
65237 # All these tests are for C++; save the language and the compiler flags.
65238 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65239 # found in GLIBCXX_CONFIGURE.
65241 ac_ext=cpp
65242 ac_cpp='$CXXCPP $CPPFLAGS'
65243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65247 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65248 ac_save_CXXFLAGS="$CXXFLAGS"
65250 # Check for maintainer-mode bits.
65251 if test x"$USE_MAINTAINER_MODE" = xno; then
65252 WERROR=''
65253 else
65254 WERROR='-Werror'
65257 # Check for -ffunction-sections -fdata-sections
65258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65259 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65260 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65262 /* end confdefs.h. */
65263 int foo; void bar() { };
65265 main ()
65269 return 0;
65271 _ACEOF
65272 if ac_fn_cxx_try_compile "$LINENO"; then :
65273 ac_fdsections=yes
65274 else
65275 ac_fdsections=no
65277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65278 if test "$ac_test_CXXFLAGS" = set; then
65279 CXXFLAGS="$ac_save_CXXFLAGS"
65280 else
65281 # this is the suspicious part
65282 CXXFLAGS=''
65284 if test x"$ac_fdsections" = x"yes"; then
65285 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65288 $as_echo "$ac_fdsections" >&6; }
65290 ac_ext=c
65291 ac_cpp='$CPP $CPPFLAGS'
65292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65300 # If we're not using GNU ld, then there's no point in even trying these
65301 # tests. Check for that first. We should have already tested for gld
65302 # by now (in libtool), but require it now just to be safe...
65303 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65304 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65308 # The name set by libtool depends on the version of libtool. Shame on us
65309 # for depending on an impl detail, but c'est la vie. Older versions used
65310 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65311 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65312 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65313 # set (hence we're using an older libtool), then set it.
65314 if test x${with_gnu_ld+set} != xset; then
65315 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65316 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65317 with_gnu_ld=no
65318 else
65319 with_gnu_ld=$ac_cv_prog_gnu_ld
65323 # Start by getting the version number. I think the libtool test already
65324 # does some of this, but throws away the result.
65325 glibcxx_ld_is_gold=no
65326 if test x"$with_gnu_ld" = x"yes"; then
65327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65328 $as_echo_n "checking for ld version... " >&6; }
65330 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65331 glibcxx_ld_is_gold=yes
65333 ldver=`$LD --version 2>/dev/null |
65334 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'`
65336 glibcxx_gnu_ld_version=`echo $ldver | \
65337 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65339 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65342 # Set --gc-sections.
65343 glibcxx_have_gc_sections=no
65344 if test "$glibcxx_ld_is_gold" = "yes"; then
65345 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65346 glibcxx_have_gc_sections=yes
65348 else
65349 glibcxx_gcsections_min_ld=21602
65350 if test x"$with_gnu_ld" = x"yes" &&
65351 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65352 glibcxx_have_gc_sections=yes
65355 if test "$glibcxx_have_gc_sections" = "yes"; then
65356 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65357 # NB: This flag only works reliably after 2.16.1. Configure tests
65358 # for this are difficult, so hard wire a value that should work.
65360 ac_test_CFLAGS="${CFLAGS+set}"
65361 ac_save_CFLAGS="$CFLAGS"
65362 CFLAGS='-Wl,--gc-sections'
65364 # Check for -Wl,--gc-sections
65365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65366 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65367 if test x$gcc_no_link = xyes; then
65368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65371 /* end confdefs.h. */
65372 int one(void) { return 1; }
65373 int two(void) { return 2; }
65376 main ()
65378 two();
65380 return 0;
65382 _ACEOF
65383 if ac_fn_c_try_link "$LINENO"; then :
65384 ac_gcsections=yes
65385 else
65386 ac_gcsections=no
65388 rm -f core conftest.err conftest.$ac_objext \
65389 conftest$ac_exeext conftest.$ac_ext
65390 if test "$ac_gcsections" = "yes"; then
65391 rm -f conftest.c
65392 touch conftest.c
65393 if $CC -c conftest.c; then
65394 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65395 grep "Warning: gc-sections option ignored" > /dev/null; then
65396 ac_gcsections=no
65399 rm -f conftest.c conftest.o conftest
65401 if test "$ac_gcsections" = "yes"; then
65402 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65405 $as_echo "$ac_gcsections" >&6; }
65407 if test "$ac_test_CFLAGS" = set; then
65408 CFLAGS="$ac_save_CFLAGS"
65409 else
65410 # this is the suspicious part
65411 CFLAGS=''
65415 # Set -z,relro.
65416 # Note this is only for shared objects.
65417 ac_ld_relro=no
65418 if test x"$with_gnu_ld" = x"yes"; then
65419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65420 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65421 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65422 if test -n "$cxx_z_relo"; then
65423 OPT_LDFLAGS="-Wl,-z,relro"
65424 ac_ld_relro=yes
65426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65427 $as_echo "$ac_ld_relro" >&6; }
65430 # Set linker optimization flags.
65431 if test x"$with_gnu_ld" = x"yes"; then
65432 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65439 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65440 ac_save_CXXFLAGS="$CXXFLAGS"
65441 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65444 $as_echo_n "checking for sin in -lm... " >&6; }
65445 if test "${ac_cv_lib_m_sin+set}" = set; then :
65446 $as_echo_n "(cached) " >&6
65447 else
65448 ac_check_lib_save_LIBS=$LIBS
65449 LIBS="-lm $LIBS"
65450 if test x$gcc_no_link = xyes; then
65451 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65454 /* end confdefs.h. */
65456 /* Override any GCC internal prototype to avoid an error.
65457 Use char because int might match the return type of a GCC
65458 builtin and then its argument prototype would still apply. */
65459 #ifdef __cplusplus
65460 extern "C"
65461 #endif
65462 char sin ();
65464 main ()
65466 return sin ();
65468 return 0;
65470 _ACEOF
65471 if ac_fn_c_try_link "$LINENO"; then :
65472 ac_cv_lib_m_sin=yes
65473 else
65474 ac_cv_lib_m_sin=no
65476 rm -f core conftest.err conftest.$ac_objext \
65477 conftest$ac_exeext conftest.$ac_ext
65478 LIBS=$ac_check_lib_save_LIBS
65480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65481 $as_echo "$ac_cv_lib_m_sin" >&6; }
65482 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65483 libm="-lm"
65486 ac_save_LIBS="$LIBS"
65487 LIBS="$LIBS $libm"
65491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65492 $as_echo_n "checking for isinf declaration... " >&6; }
65493 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65494 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65495 $as_echo_n "(cached) " >&6
65496 else
65499 ac_ext=cpp
65500 ac_cpp='$CXXCPP $CPPFLAGS'
65501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65506 /* end confdefs.h. */
65507 #include <math.h>
65508 #ifdef HAVE_IEEEFP_H
65509 #include <ieeefp.h>
65510 #endif
65513 main ()
65515 isinf(0);
65517 return 0;
65519 _ACEOF
65520 if ac_fn_cxx_try_compile "$LINENO"; then :
65521 glibcxx_cv_func_isinf_use=yes
65522 else
65523 glibcxx_cv_func_isinf_use=no
65525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65526 ac_ext=c
65527 ac_cpp='$CPP $CPPFLAGS'
65528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65537 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65539 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65540 for ac_func in isinf
65541 do :
65542 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65543 if test "x$ac_cv_func_isinf" = x""yes; then :
65544 cat >>confdefs.h <<_ACEOF
65545 #define HAVE_ISINF 1
65546 _ACEOF
65549 done
65551 else
65553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65554 $as_echo_n "checking for _isinf declaration... " >&6; }
65555 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65556 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65557 $as_echo_n "(cached) " >&6
65558 else
65561 ac_ext=cpp
65562 ac_cpp='$CXXCPP $CPPFLAGS'
65563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65568 /* end confdefs.h. */
65569 #include <math.h>
65570 #ifdef HAVE_IEEEFP_H
65571 #include <ieeefp.h>
65572 #endif
65575 main ()
65577 _isinf(0);
65579 return 0;
65581 _ACEOF
65582 if ac_fn_cxx_try_compile "$LINENO"; then :
65583 glibcxx_cv_func__isinf_use=yes
65584 else
65585 glibcxx_cv_func__isinf_use=no
65587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65588 ac_ext=c
65589 ac_cpp='$CPP $CPPFLAGS'
65590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65599 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65601 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65602 for ac_func in _isinf
65603 do :
65604 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65605 if test "x$ac_cv_func__isinf" = x""yes; then :
65606 cat >>confdefs.h <<_ACEOF
65607 #define HAVE__ISINF 1
65608 _ACEOF
65611 done
65620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65621 $as_echo_n "checking for isnan declaration... " >&6; }
65622 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65623 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65624 $as_echo_n "(cached) " >&6
65625 else
65628 ac_ext=cpp
65629 ac_cpp='$CXXCPP $CPPFLAGS'
65630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65635 /* end confdefs.h. */
65636 #include <math.h>
65637 #ifdef HAVE_IEEEFP_H
65638 #include <ieeefp.h>
65639 #endif
65642 main ()
65644 isnan(0);
65646 return 0;
65648 _ACEOF
65649 if ac_fn_cxx_try_compile "$LINENO"; then :
65650 glibcxx_cv_func_isnan_use=yes
65651 else
65652 glibcxx_cv_func_isnan_use=no
65654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65655 ac_ext=c
65656 ac_cpp='$CPP $CPPFLAGS'
65657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65666 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65668 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65669 for ac_func in isnan
65670 do :
65671 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65672 if test "x$ac_cv_func_isnan" = x""yes; then :
65673 cat >>confdefs.h <<_ACEOF
65674 #define HAVE_ISNAN 1
65675 _ACEOF
65678 done
65680 else
65682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65683 $as_echo_n "checking for _isnan declaration... " >&6; }
65684 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65685 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65686 $as_echo_n "(cached) " >&6
65687 else
65690 ac_ext=cpp
65691 ac_cpp='$CXXCPP $CPPFLAGS'
65692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65697 /* end confdefs.h. */
65698 #include <math.h>
65699 #ifdef HAVE_IEEEFP_H
65700 #include <ieeefp.h>
65701 #endif
65704 main ()
65706 _isnan(0);
65708 return 0;
65710 _ACEOF
65711 if ac_fn_cxx_try_compile "$LINENO"; then :
65712 glibcxx_cv_func__isnan_use=yes
65713 else
65714 glibcxx_cv_func__isnan_use=no
65716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65717 ac_ext=c
65718 ac_cpp='$CPP $CPPFLAGS'
65719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65728 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65730 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65731 for ac_func in _isnan
65732 do :
65733 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65734 if test "x$ac_cv_func__isnan" = x""yes; then :
65735 cat >>confdefs.h <<_ACEOF
65736 #define HAVE__ISNAN 1
65737 _ACEOF
65740 done
65749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65750 $as_echo_n "checking for finite declaration... " >&6; }
65751 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65752 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65753 $as_echo_n "(cached) " >&6
65754 else
65757 ac_ext=cpp
65758 ac_cpp='$CXXCPP $CPPFLAGS'
65759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65764 /* end confdefs.h. */
65765 #include <math.h>
65766 #ifdef HAVE_IEEEFP_H
65767 #include <ieeefp.h>
65768 #endif
65771 main ()
65773 finite(0);
65775 return 0;
65777 _ACEOF
65778 if ac_fn_cxx_try_compile "$LINENO"; then :
65779 glibcxx_cv_func_finite_use=yes
65780 else
65781 glibcxx_cv_func_finite_use=no
65783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65784 ac_ext=c
65785 ac_cpp='$CPP $CPPFLAGS'
65786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65795 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65797 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65798 for ac_func in finite
65799 do :
65800 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65801 if test "x$ac_cv_func_finite" = x""yes; then :
65802 cat >>confdefs.h <<_ACEOF
65803 #define HAVE_FINITE 1
65804 _ACEOF
65807 done
65809 else
65811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65812 $as_echo_n "checking for _finite declaration... " >&6; }
65813 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65814 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65815 $as_echo_n "(cached) " >&6
65816 else
65819 ac_ext=cpp
65820 ac_cpp='$CXXCPP $CPPFLAGS'
65821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65826 /* end confdefs.h. */
65827 #include <math.h>
65828 #ifdef HAVE_IEEEFP_H
65829 #include <ieeefp.h>
65830 #endif
65833 main ()
65835 _finite(0);
65837 return 0;
65839 _ACEOF
65840 if ac_fn_cxx_try_compile "$LINENO"; then :
65841 glibcxx_cv_func__finite_use=yes
65842 else
65843 glibcxx_cv_func__finite_use=no
65845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65846 ac_ext=c
65847 ac_cpp='$CPP $CPPFLAGS'
65848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65857 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65859 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65860 for ac_func in _finite
65861 do :
65862 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65863 if test "x$ac_cv_func__finite" = x""yes; then :
65864 cat >>confdefs.h <<_ACEOF
65865 #define HAVE__FINITE 1
65866 _ACEOF
65869 done
65878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65879 $as_echo_n "checking for sincos declaration... " >&6; }
65880 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65881 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65882 $as_echo_n "(cached) " >&6
65883 else
65886 ac_ext=cpp
65887 ac_cpp='$CXXCPP $CPPFLAGS'
65888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65893 /* end confdefs.h. */
65894 #include <math.h>
65896 main ()
65898 sincos(0, 0, 0);
65900 return 0;
65902 _ACEOF
65903 if ac_fn_cxx_try_compile "$LINENO"; then :
65904 glibcxx_cv_func_sincos_use=yes
65905 else
65906 glibcxx_cv_func_sincos_use=no
65908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65909 ac_ext=c
65910 ac_cpp='$CPP $CPPFLAGS'
65911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65920 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65922 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65923 for ac_func in sincos
65924 do :
65925 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65926 if test "x$ac_cv_func_sincos" = x""yes; then :
65927 cat >>confdefs.h <<_ACEOF
65928 #define HAVE_SINCOS 1
65929 _ACEOF
65932 done
65934 else
65936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65937 $as_echo_n "checking for _sincos declaration... " >&6; }
65938 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65939 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65940 $as_echo_n "(cached) " >&6
65941 else
65944 ac_ext=cpp
65945 ac_cpp='$CXXCPP $CPPFLAGS'
65946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65951 /* end confdefs.h. */
65952 #include <math.h>
65954 main ()
65956 _sincos(0, 0, 0);
65958 return 0;
65960 _ACEOF
65961 if ac_fn_cxx_try_compile "$LINENO"; then :
65962 glibcxx_cv_func__sincos_use=yes
65963 else
65964 glibcxx_cv_func__sincos_use=no
65966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65967 ac_ext=c
65968 ac_cpp='$CPP $CPPFLAGS'
65969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65978 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65980 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65981 for ac_func in _sincos
65982 do :
65983 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65984 if test "x$ac_cv_func__sincos" = x""yes; then :
65985 cat >>confdefs.h <<_ACEOF
65986 #define HAVE__SINCOS 1
65987 _ACEOF
65990 done
65999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66000 $as_echo_n "checking for fpclass declaration... " >&6; }
66001 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66002 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66003 $as_echo_n "(cached) " >&6
66004 else
66007 ac_ext=cpp
66008 ac_cpp='$CXXCPP $CPPFLAGS'
66009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66014 /* end confdefs.h. */
66015 #include <math.h>
66016 #ifdef HAVE_IEEEFP_H
66017 #include <ieeefp.h>
66018 #endif
66021 main ()
66023 fpclass(0);
66025 return 0;
66027 _ACEOF
66028 if ac_fn_cxx_try_compile "$LINENO"; then :
66029 glibcxx_cv_func_fpclass_use=yes
66030 else
66031 glibcxx_cv_func_fpclass_use=no
66033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66034 ac_ext=c
66035 ac_cpp='$CPP $CPPFLAGS'
66036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
66045 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
66047 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66048 for ac_func in fpclass
66049 do :
66050 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
66051 if test "x$ac_cv_func_fpclass" = x""yes; then :
66052 cat >>confdefs.h <<_ACEOF
66053 #define HAVE_FPCLASS 1
66054 _ACEOF
66057 done
66059 else
66061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
66062 $as_echo_n "checking for _fpclass declaration... " >&6; }
66063 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66064 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
66065 $as_echo_n "(cached) " >&6
66066 else
66069 ac_ext=cpp
66070 ac_cpp='$CXXCPP $CPPFLAGS'
66071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66076 /* end confdefs.h. */
66077 #include <math.h>
66078 #ifdef HAVE_IEEEFP_H
66079 #include <ieeefp.h>
66080 #endif
66083 main ()
66085 _fpclass(0);
66087 return 0;
66089 _ACEOF
66090 if ac_fn_cxx_try_compile "$LINENO"; then :
66091 glibcxx_cv_func__fpclass_use=yes
66092 else
66093 glibcxx_cv_func__fpclass_use=no
66095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66096 ac_ext=c
66097 ac_cpp='$CPP $CPPFLAGS'
66098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
66107 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
66109 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66110 for ac_func in _fpclass
66111 do :
66112 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
66113 if test "x$ac_cv_func__fpclass" = x""yes; then :
66114 cat >>confdefs.h <<_ACEOF
66115 #define HAVE__FPCLASS 1
66116 _ACEOF
66119 done
66128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66129 $as_echo_n "checking for qfpclass declaration... " >&6; }
66130 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66131 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66132 $as_echo_n "(cached) " >&6
66133 else
66136 ac_ext=cpp
66137 ac_cpp='$CXXCPP $CPPFLAGS'
66138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66143 /* end confdefs.h. */
66144 #include <math.h>
66145 #ifdef HAVE_IEEEFP_H
66146 #include <ieeefp.h>
66147 #endif
66150 main ()
66152 qfpclass(0);
66154 return 0;
66156 _ACEOF
66157 if ac_fn_cxx_try_compile "$LINENO"; then :
66158 glibcxx_cv_func_qfpclass_use=yes
66159 else
66160 glibcxx_cv_func_qfpclass_use=no
66162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66163 ac_ext=c
66164 ac_cpp='$CPP $CPPFLAGS'
66165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66174 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66176 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66177 for ac_func in qfpclass
66178 do :
66179 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66180 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66181 cat >>confdefs.h <<_ACEOF
66182 #define HAVE_QFPCLASS 1
66183 _ACEOF
66186 done
66188 else
66190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66191 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66192 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66193 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66194 $as_echo_n "(cached) " >&6
66195 else
66198 ac_ext=cpp
66199 ac_cpp='$CXXCPP $CPPFLAGS'
66200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66205 /* end confdefs.h. */
66206 #include <math.h>
66207 #ifdef HAVE_IEEEFP_H
66208 #include <ieeefp.h>
66209 #endif
66212 main ()
66214 _qfpclass(0);
66216 return 0;
66218 _ACEOF
66219 if ac_fn_cxx_try_compile "$LINENO"; then :
66220 glibcxx_cv_func__qfpclass_use=yes
66221 else
66222 glibcxx_cv_func__qfpclass_use=no
66224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66225 ac_ext=c
66226 ac_cpp='$CPP $CPPFLAGS'
66227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66236 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66238 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66239 for ac_func in _qfpclass
66240 do :
66241 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66242 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66243 cat >>confdefs.h <<_ACEOF
66244 #define HAVE__QFPCLASS 1
66245 _ACEOF
66248 done
66257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66258 $as_echo_n "checking for hypot declaration... " >&6; }
66259 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66260 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66261 $as_echo_n "(cached) " >&6
66262 else
66265 ac_ext=cpp
66266 ac_cpp='$CXXCPP $CPPFLAGS'
66267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66272 /* end confdefs.h. */
66273 #include <math.h>
66275 main ()
66277 hypot(0, 0);
66279 return 0;
66281 _ACEOF
66282 if ac_fn_cxx_try_compile "$LINENO"; then :
66283 glibcxx_cv_func_hypot_use=yes
66284 else
66285 glibcxx_cv_func_hypot_use=no
66287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66288 ac_ext=c
66289 ac_cpp='$CPP $CPPFLAGS'
66290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66299 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66301 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66302 for ac_func in hypot
66303 do :
66304 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66305 if test "x$ac_cv_func_hypot" = x""yes; then :
66306 cat >>confdefs.h <<_ACEOF
66307 #define HAVE_HYPOT 1
66308 _ACEOF
66311 done
66313 else
66315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66316 $as_echo_n "checking for _hypot declaration... " >&6; }
66317 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66318 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66319 $as_echo_n "(cached) " >&6
66320 else
66323 ac_ext=cpp
66324 ac_cpp='$CXXCPP $CPPFLAGS'
66325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66330 /* end confdefs.h. */
66331 #include <math.h>
66333 main ()
66335 _hypot(0, 0);
66337 return 0;
66339 _ACEOF
66340 if ac_fn_cxx_try_compile "$LINENO"; then :
66341 glibcxx_cv_func__hypot_use=yes
66342 else
66343 glibcxx_cv_func__hypot_use=no
66345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66346 ac_ext=c
66347 ac_cpp='$CPP $CPPFLAGS'
66348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66357 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66359 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66360 for ac_func in _hypot
66361 do :
66362 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66363 if test "x$ac_cv_func__hypot" = x""yes; then :
66364 cat >>confdefs.h <<_ACEOF
66365 #define HAVE__HYPOT 1
66366 _ACEOF
66369 done
66378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66379 $as_echo_n "checking for float trig functions... " >&6; }
66380 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66381 $as_echo_n "(cached) " >&6
66382 else
66385 ac_ext=cpp
66386 ac_cpp='$CXXCPP $CPPFLAGS'
66387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66392 /* end confdefs.h. */
66393 #include <math.h>
66395 main ()
66397 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66399 return 0;
66401 _ACEOF
66402 if ac_fn_cxx_try_compile "$LINENO"; then :
66403 glibcxx_cv_func_float_trig_use=yes
66404 else
66405 glibcxx_cv_func_float_trig_use=no
66407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66408 ac_ext=c
66409 ac_cpp='$CPP $CPPFLAGS'
66410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66417 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66418 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66419 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66420 do :
66421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66423 eval as_val=\$$as_ac_var
66424 if test "x$as_val" = x""yes; then :
66425 cat >>confdefs.h <<_ACEOF
66426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66427 _ACEOF
66430 done
66432 else
66433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66434 $as_echo_n "checking for _float trig functions... " >&6; }
66435 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66436 $as_echo_n "(cached) " >&6
66437 else
66440 ac_ext=cpp
66441 ac_cpp='$CXXCPP $CPPFLAGS'
66442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66447 /* end confdefs.h. */
66448 #include <math.h>
66450 main ()
66452 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66454 return 0;
66456 _ACEOF
66457 if ac_fn_cxx_try_compile "$LINENO"; then :
66458 glibcxx_cv_func__float_trig_use=yes
66459 else
66460 glibcxx_cv_func__float_trig_use=no
66462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66463 ac_ext=c
66464 ac_cpp='$CPP $CPPFLAGS'
66465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66472 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66473 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66474 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66475 do :
66476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66478 eval as_val=\$$as_ac_var
66479 if test "x$as_val" = x""yes; then :
66480 cat >>confdefs.h <<_ACEOF
66481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66482 _ACEOF
66485 done
66494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66495 $as_echo_n "checking for float round functions... " >&6; }
66496 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66497 $as_echo_n "(cached) " >&6
66498 else
66501 ac_ext=cpp
66502 ac_cpp='$CXXCPP $CPPFLAGS'
66503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66508 /* end confdefs.h. */
66509 #include <math.h>
66511 main ()
66513 ceilf (0); floorf (0);
66515 return 0;
66517 _ACEOF
66518 if ac_fn_cxx_try_compile "$LINENO"; then :
66519 glibcxx_cv_func_float_round_use=yes
66520 else
66521 glibcxx_cv_func_float_round_use=no
66523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66524 ac_ext=c
66525 ac_cpp='$CPP $CPPFLAGS'
66526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66533 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66534 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66535 for ac_func in ceilf floorf
66536 do :
66537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66539 eval as_val=\$$as_ac_var
66540 if test "x$as_val" = x""yes; then :
66541 cat >>confdefs.h <<_ACEOF
66542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66543 _ACEOF
66546 done
66548 else
66549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66550 $as_echo_n "checking for _float round functions... " >&6; }
66551 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66552 $as_echo_n "(cached) " >&6
66553 else
66556 ac_ext=cpp
66557 ac_cpp='$CXXCPP $CPPFLAGS'
66558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66563 /* end confdefs.h. */
66564 #include <math.h>
66566 main ()
66568 _ceilf (0); _floorf (0);
66570 return 0;
66572 _ACEOF
66573 if ac_fn_cxx_try_compile "$LINENO"; then :
66574 glibcxx_cv_func__float_round_use=yes
66575 else
66576 glibcxx_cv_func__float_round_use=no
66578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66579 ac_ext=c
66580 ac_cpp='$CPP $CPPFLAGS'
66581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66588 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66589 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66590 for ac_func in _ceilf _floorf
66591 do :
66592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66594 eval as_val=\$$as_ac_var
66595 if test "x$as_val" = x""yes; then :
66596 cat >>confdefs.h <<_ACEOF
66597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66598 _ACEOF
66601 done
66611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66612 $as_echo_n "checking for expf declaration... " >&6; }
66613 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66614 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66615 $as_echo_n "(cached) " >&6
66616 else
66619 ac_ext=cpp
66620 ac_cpp='$CXXCPP $CPPFLAGS'
66621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66626 /* end confdefs.h. */
66627 #include <math.h>
66628 #ifdef HAVE_IEEEFP_H
66629 #include <ieeefp.h>
66630 #endif
66633 main ()
66635 expf(0);
66637 return 0;
66639 _ACEOF
66640 if ac_fn_cxx_try_compile "$LINENO"; then :
66641 glibcxx_cv_func_expf_use=yes
66642 else
66643 glibcxx_cv_func_expf_use=no
66645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66646 ac_ext=c
66647 ac_cpp='$CPP $CPPFLAGS'
66648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66657 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66659 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66660 for ac_func in expf
66661 do :
66662 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66663 if test "x$ac_cv_func_expf" = x""yes; then :
66664 cat >>confdefs.h <<_ACEOF
66665 #define HAVE_EXPF 1
66666 _ACEOF
66669 done
66671 else
66673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66674 $as_echo_n "checking for _expf declaration... " >&6; }
66675 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66676 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66677 $as_echo_n "(cached) " >&6
66678 else
66681 ac_ext=cpp
66682 ac_cpp='$CXXCPP $CPPFLAGS'
66683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66688 /* end confdefs.h. */
66689 #include <math.h>
66690 #ifdef HAVE_IEEEFP_H
66691 #include <ieeefp.h>
66692 #endif
66695 main ()
66697 _expf(0);
66699 return 0;
66701 _ACEOF
66702 if ac_fn_cxx_try_compile "$LINENO"; then :
66703 glibcxx_cv_func__expf_use=yes
66704 else
66705 glibcxx_cv_func__expf_use=no
66707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66708 ac_ext=c
66709 ac_cpp='$CPP $CPPFLAGS'
66710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66719 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66721 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66722 for ac_func in _expf
66723 do :
66724 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66725 if test "x$ac_cv_func__expf" = x""yes; then :
66726 cat >>confdefs.h <<_ACEOF
66727 #define HAVE__EXPF 1
66728 _ACEOF
66731 done
66740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66741 $as_echo_n "checking for isnanf declaration... " >&6; }
66742 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66743 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66744 $as_echo_n "(cached) " >&6
66745 else
66748 ac_ext=cpp
66749 ac_cpp='$CXXCPP $CPPFLAGS'
66750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66755 /* end confdefs.h. */
66756 #include <math.h>
66757 #ifdef HAVE_IEEEFP_H
66758 #include <ieeefp.h>
66759 #endif
66762 main ()
66764 isnanf(0);
66766 return 0;
66768 _ACEOF
66769 if ac_fn_cxx_try_compile "$LINENO"; then :
66770 glibcxx_cv_func_isnanf_use=yes
66771 else
66772 glibcxx_cv_func_isnanf_use=no
66774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66775 ac_ext=c
66776 ac_cpp='$CPP $CPPFLAGS'
66777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66786 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66788 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66789 for ac_func in isnanf
66790 do :
66791 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66792 if test "x$ac_cv_func_isnanf" = x""yes; then :
66793 cat >>confdefs.h <<_ACEOF
66794 #define HAVE_ISNANF 1
66795 _ACEOF
66798 done
66800 else
66802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66803 $as_echo_n "checking for _isnanf declaration... " >&6; }
66804 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66805 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66806 $as_echo_n "(cached) " >&6
66807 else
66810 ac_ext=cpp
66811 ac_cpp='$CXXCPP $CPPFLAGS'
66812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66817 /* end confdefs.h. */
66818 #include <math.h>
66819 #ifdef HAVE_IEEEFP_H
66820 #include <ieeefp.h>
66821 #endif
66824 main ()
66826 _isnanf(0);
66828 return 0;
66830 _ACEOF
66831 if ac_fn_cxx_try_compile "$LINENO"; then :
66832 glibcxx_cv_func__isnanf_use=yes
66833 else
66834 glibcxx_cv_func__isnanf_use=no
66836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66837 ac_ext=c
66838 ac_cpp='$CPP $CPPFLAGS'
66839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66848 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66850 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66851 for ac_func in _isnanf
66852 do :
66853 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66854 if test "x$ac_cv_func__isnanf" = x""yes; then :
66855 cat >>confdefs.h <<_ACEOF
66856 #define HAVE__ISNANF 1
66857 _ACEOF
66860 done
66869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66870 $as_echo_n "checking for isinff declaration... " >&6; }
66871 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66872 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66873 $as_echo_n "(cached) " >&6
66874 else
66877 ac_ext=cpp
66878 ac_cpp='$CXXCPP $CPPFLAGS'
66879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66884 /* end confdefs.h. */
66885 #include <math.h>
66886 #ifdef HAVE_IEEEFP_H
66887 #include <ieeefp.h>
66888 #endif
66891 main ()
66893 isinff(0);
66895 return 0;
66897 _ACEOF
66898 if ac_fn_cxx_try_compile "$LINENO"; then :
66899 glibcxx_cv_func_isinff_use=yes
66900 else
66901 glibcxx_cv_func_isinff_use=no
66903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66904 ac_ext=c
66905 ac_cpp='$CPP $CPPFLAGS'
66906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66915 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66917 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66918 for ac_func in isinff
66919 do :
66920 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66921 if test "x$ac_cv_func_isinff" = x""yes; then :
66922 cat >>confdefs.h <<_ACEOF
66923 #define HAVE_ISINFF 1
66924 _ACEOF
66927 done
66929 else
66931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66932 $as_echo_n "checking for _isinff declaration... " >&6; }
66933 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66934 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66935 $as_echo_n "(cached) " >&6
66936 else
66939 ac_ext=cpp
66940 ac_cpp='$CXXCPP $CPPFLAGS'
66941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66946 /* end confdefs.h. */
66947 #include <math.h>
66948 #ifdef HAVE_IEEEFP_H
66949 #include <ieeefp.h>
66950 #endif
66953 main ()
66955 _isinff(0);
66957 return 0;
66959 _ACEOF
66960 if ac_fn_cxx_try_compile "$LINENO"; then :
66961 glibcxx_cv_func__isinff_use=yes
66962 else
66963 glibcxx_cv_func__isinff_use=no
66965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66966 ac_ext=c
66967 ac_cpp='$CPP $CPPFLAGS'
66968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66977 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66979 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66980 for ac_func in _isinff
66981 do :
66982 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66983 if test "x$ac_cv_func__isinff" = x""yes; then :
66984 cat >>confdefs.h <<_ACEOF
66985 #define HAVE__ISINFF 1
66986 _ACEOF
66989 done
66998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66999 $as_echo_n "checking for atan2f declaration... " >&6; }
67000 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67001 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67002 $as_echo_n "(cached) " >&6
67003 else
67006 ac_ext=cpp
67007 ac_cpp='$CXXCPP $CPPFLAGS'
67008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67013 /* end confdefs.h. */
67014 #include <math.h>
67016 main ()
67018 atan2f(0, 0);
67020 return 0;
67022 _ACEOF
67023 if ac_fn_cxx_try_compile "$LINENO"; then :
67024 glibcxx_cv_func_atan2f_use=yes
67025 else
67026 glibcxx_cv_func_atan2f_use=no
67028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67029 ac_ext=c
67030 ac_cpp='$CPP $CPPFLAGS'
67031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
67040 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
67042 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
67043 for ac_func in atan2f
67044 do :
67045 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
67046 if test "x$ac_cv_func_atan2f" = x""yes; then :
67047 cat >>confdefs.h <<_ACEOF
67048 #define HAVE_ATAN2F 1
67049 _ACEOF
67052 done
67054 else
67056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
67057 $as_echo_n "checking for _atan2f declaration... " >&6; }
67058 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
67059 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
67060 $as_echo_n "(cached) " >&6
67061 else
67064 ac_ext=cpp
67065 ac_cpp='$CXXCPP $CPPFLAGS'
67066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67071 /* end confdefs.h. */
67072 #include <math.h>
67074 main ()
67076 _atan2f(0, 0);
67078 return 0;
67080 _ACEOF
67081 if ac_fn_cxx_try_compile "$LINENO"; then :
67082 glibcxx_cv_func__atan2f_use=yes
67083 else
67084 glibcxx_cv_func__atan2f_use=no
67086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67087 ac_ext=c
67088 ac_cpp='$CPP $CPPFLAGS'
67089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
67098 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
67100 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
67101 for ac_func in _atan2f
67102 do :
67103 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
67104 if test "x$ac_cv_func__atan2f" = x""yes; then :
67105 cat >>confdefs.h <<_ACEOF
67106 #define HAVE__ATAN2F 1
67107 _ACEOF
67110 done
67119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67120 $as_echo_n "checking for fabsf declaration... " >&6; }
67121 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67122 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67123 $as_echo_n "(cached) " >&6
67124 else
67127 ac_ext=cpp
67128 ac_cpp='$CXXCPP $CPPFLAGS'
67129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67134 /* end confdefs.h. */
67135 #include <math.h>
67136 #ifdef HAVE_IEEEFP_H
67137 #include <ieeefp.h>
67138 #endif
67141 main ()
67143 fabsf(0);
67145 return 0;
67147 _ACEOF
67148 if ac_fn_cxx_try_compile "$LINENO"; then :
67149 glibcxx_cv_func_fabsf_use=yes
67150 else
67151 glibcxx_cv_func_fabsf_use=no
67153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67154 ac_ext=c
67155 ac_cpp='$CPP $CPPFLAGS'
67156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67165 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67167 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67168 for ac_func in fabsf
67169 do :
67170 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67171 if test "x$ac_cv_func_fabsf" = x""yes; then :
67172 cat >>confdefs.h <<_ACEOF
67173 #define HAVE_FABSF 1
67174 _ACEOF
67177 done
67179 else
67181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67182 $as_echo_n "checking for _fabsf declaration... " >&6; }
67183 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67184 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67185 $as_echo_n "(cached) " >&6
67186 else
67189 ac_ext=cpp
67190 ac_cpp='$CXXCPP $CPPFLAGS'
67191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67196 /* end confdefs.h. */
67197 #include <math.h>
67198 #ifdef HAVE_IEEEFP_H
67199 #include <ieeefp.h>
67200 #endif
67203 main ()
67205 _fabsf(0);
67207 return 0;
67209 _ACEOF
67210 if ac_fn_cxx_try_compile "$LINENO"; then :
67211 glibcxx_cv_func__fabsf_use=yes
67212 else
67213 glibcxx_cv_func__fabsf_use=no
67215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67216 ac_ext=c
67217 ac_cpp='$CPP $CPPFLAGS'
67218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67227 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67229 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67230 for ac_func in _fabsf
67231 do :
67232 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67233 if test "x$ac_cv_func__fabsf" = x""yes; then :
67234 cat >>confdefs.h <<_ACEOF
67235 #define HAVE__FABSF 1
67236 _ACEOF
67239 done
67248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67249 $as_echo_n "checking for fmodf declaration... " >&6; }
67250 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67251 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67252 $as_echo_n "(cached) " >&6
67253 else
67256 ac_ext=cpp
67257 ac_cpp='$CXXCPP $CPPFLAGS'
67258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67263 /* end confdefs.h. */
67264 #include <math.h>
67266 main ()
67268 fmodf(0, 0);
67270 return 0;
67272 _ACEOF
67273 if ac_fn_cxx_try_compile "$LINENO"; then :
67274 glibcxx_cv_func_fmodf_use=yes
67275 else
67276 glibcxx_cv_func_fmodf_use=no
67278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67279 ac_ext=c
67280 ac_cpp='$CPP $CPPFLAGS'
67281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67290 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67292 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67293 for ac_func in fmodf
67294 do :
67295 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67296 if test "x$ac_cv_func_fmodf" = x""yes; then :
67297 cat >>confdefs.h <<_ACEOF
67298 #define HAVE_FMODF 1
67299 _ACEOF
67302 done
67304 else
67306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67307 $as_echo_n "checking for _fmodf declaration... " >&6; }
67308 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67309 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67310 $as_echo_n "(cached) " >&6
67311 else
67314 ac_ext=cpp
67315 ac_cpp='$CXXCPP $CPPFLAGS'
67316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67321 /* end confdefs.h. */
67322 #include <math.h>
67324 main ()
67326 _fmodf(0, 0);
67328 return 0;
67330 _ACEOF
67331 if ac_fn_cxx_try_compile "$LINENO"; then :
67332 glibcxx_cv_func__fmodf_use=yes
67333 else
67334 glibcxx_cv_func__fmodf_use=no
67336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67337 ac_ext=c
67338 ac_cpp='$CPP $CPPFLAGS'
67339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67348 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67350 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67351 for ac_func in _fmodf
67352 do :
67353 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67354 if test "x$ac_cv_func__fmodf" = x""yes; then :
67355 cat >>confdefs.h <<_ACEOF
67356 #define HAVE__FMODF 1
67357 _ACEOF
67360 done
67369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67370 $as_echo_n "checking for frexpf declaration... " >&6; }
67371 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67372 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67373 $as_echo_n "(cached) " >&6
67374 else
67377 ac_ext=cpp
67378 ac_cpp='$CXXCPP $CPPFLAGS'
67379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67384 /* end confdefs.h. */
67385 #include <math.h>
67387 main ()
67389 frexpf(0, 0);
67391 return 0;
67393 _ACEOF
67394 if ac_fn_cxx_try_compile "$LINENO"; then :
67395 glibcxx_cv_func_frexpf_use=yes
67396 else
67397 glibcxx_cv_func_frexpf_use=no
67399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67400 ac_ext=c
67401 ac_cpp='$CPP $CPPFLAGS'
67402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67411 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67413 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67414 for ac_func in frexpf
67415 do :
67416 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67417 if test "x$ac_cv_func_frexpf" = x""yes; then :
67418 cat >>confdefs.h <<_ACEOF
67419 #define HAVE_FREXPF 1
67420 _ACEOF
67423 done
67425 else
67427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67428 $as_echo_n "checking for _frexpf declaration... " >&6; }
67429 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67430 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67431 $as_echo_n "(cached) " >&6
67432 else
67435 ac_ext=cpp
67436 ac_cpp='$CXXCPP $CPPFLAGS'
67437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67442 /* end confdefs.h. */
67443 #include <math.h>
67445 main ()
67447 _frexpf(0, 0);
67449 return 0;
67451 _ACEOF
67452 if ac_fn_cxx_try_compile "$LINENO"; then :
67453 glibcxx_cv_func__frexpf_use=yes
67454 else
67455 glibcxx_cv_func__frexpf_use=no
67457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67458 ac_ext=c
67459 ac_cpp='$CPP $CPPFLAGS'
67460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67469 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67471 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67472 for ac_func in _frexpf
67473 do :
67474 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67475 if test "x$ac_cv_func__frexpf" = x""yes; then :
67476 cat >>confdefs.h <<_ACEOF
67477 #define HAVE__FREXPF 1
67478 _ACEOF
67481 done
67490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67491 $as_echo_n "checking for hypotf declaration... " >&6; }
67492 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67493 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67494 $as_echo_n "(cached) " >&6
67495 else
67498 ac_ext=cpp
67499 ac_cpp='$CXXCPP $CPPFLAGS'
67500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67505 /* end confdefs.h. */
67506 #include <math.h>
67508 main ()
67510 hypotf(0, 0);
67512 return 0;
67514 _ACEOF
67515 if ac_fn_cxx_try_compile "$LINENO"; then :
67516 glibcxx_cv_func_hypotf_use=yes
67517 else
67518 glibcxx_cv_func_hypotf_use=no
67520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67521 ac_ext=c
67522 ac_cpp='$CPP $CPPFLAGS'
67523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67532 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67534 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67535 for ac_func in hypotf
67536 do :
67537 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67538 if test "x$ac_cv_func_hypotf" = x""yes; then :
67539 cat >>confdefs.h <<_ACEOF
67540 #define HAVE_HYPOTF 1
67541 _ACEOF
67544 done
67546 else
67548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67549 $as_echo_n "checking for _hypotf declaration... " >&6; }
67550 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67551 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67552 $as_echo_n "(cached) " >&6
67553 else
67556 ac_ext=cpp
67557 ac_cpp='$CXXCPP $CPPFLAGS'
67558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67563 /* end confdefs.h. */
67564 #include <math.h>
67566 main ()
67568 _hypotf(0, 0);
67570 return 0;
67572 _ACEOF
67573 if ac_fn_cxx_try_compile "$LINENO"; then :
67574 glibcxx_cv_func__hypotf_use=yes
67575 else
67576 glibcxx_cv_func__hypotf_use=no
67578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67579 ac_ext=c
67580 ac_cpp='$CPP $CPPFLAGS'
67581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67590 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67592 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67593 for ac_func in _hypotf
67594 do :
67595 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67596 if test "x$ac_cv_func__hypotf" = x""yes; then :
67597 cat >>confdefs.h <<_ACEOF
67598 #define HAVE__HYPOTF 1
67599 _ACEOF
67602 done
67611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67612 $as_echo_n "checking for ldexpf declaration... " >&6; }
67613 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67614 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67615 $as_echo_n "(cached) " >&6
67616 else
67619 ac_ext=cpp
67620 ac_cpp='$CXXCPP $CPPFLAGS'
67621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67626 /* end confdefs.h. */
67627 #include <math.h>
67629 main ()
67631 ldexpf(0, 0);
67633 return 0;
67635 _ACEOF
67636 if ac_fn_cxx_try_compile "$LINENO"; then :
67637 glibcxx_cv_func_ldexpf_use=yes
67638 else
67639 glibcxx_cv_func_ldexpf_use=no
67641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67642 ac_ext=c
67643 ac_cpp='$CPP $CPPFLAGS'
67644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67653 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67655 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67656 for ac_func in ldexpf
67657 do :
67658 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67659 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67660 cat >>confdefs.h <<_ACEOF
67661 #define HAVE_LDEXPF 1
67662 _ACEOF
67665 done
67667 else
67669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67670 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67671 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67672 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67673 $as_echo_n "(cached) " >&6
67674 else
67677 ac_ext=cpp
67678 ac_cpp='$CXXCPP $CPPFLAGS'
67679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67684 /* end confdefs.h. */
67685 #include <math.h>
67687 main ()
67689 _ldexpf(0, 0);
67691 return 0;
67693 _ACEOF
67694 if ac_fn_cxx_try_compile "$LINENO"; then :
67695 glibcxx_cv_func__ldexpf_use=yes
67696 else
67697 glibcxx_cv_func__ldexpf_use=no
67699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67700 ac_ext=c
67701 ac_cpp='$CPP $CPPFLAGS'
67702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67711 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67713 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67714 for ac_func in _ldexpf
67715 do :
67716 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67717 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67718 cat >>confdefs.h <<_ACEOF
67719 #define HAVE__LDEXPF 1
67720 _ACEOF
67723 done
67732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67733 $as_echo_n "checking for logf declaration... " >&6; }
67734 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67735 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67736 $as_echo_n "(cached) " >&6
67737 else
67740 ac_ext=cpp
67741 ac_cpp='$CXXCPP $CPPFLAGS'
67742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67747 /* end confdefs.h. */
67748 #include <math.h>
67749 #ifdef HAVE_IEEEFP_H
67750 #include <ieeefp.h>
67751 #endif
67754 main ()
67756 logf(0);
67758 return 0;
67760 _ACEOF
67761 if ac_fn_cxx_try_compile "$LINENO"; then :
67762 glibcxx_cv_func_logf_use=yes
67763 else
67764 glibcxx_cv_func_logf_use=no
67766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67767 ac_ext=c
67768 ac_cpp='$CPP $CPPFLAGS'
67769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67778 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67780 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67781 for ac_func in logf
67782 do :
67783 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67784 if test "x$ac_cv_func_logf" = x""yes; then :
67785 cat >>confdefs.h <<_ACEOF
67786 #define HAVE_LOGF 1
67787 _ACEOF
67790 done
67792 else
67794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67795 $as_echo_n "checking for _logf declaration... " >&6; }
67796 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67797 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67798 $as_echo_n "(cached) " >&6
67799 else
67802 ac_ext=cpp
67803 ac_cpp='$CXXCPP $CPPFLAGS'
67804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67809 /* end confdefs.h. */
67810 #include <math.h>
67811 #ifdef HAVE_IEEEFP_H
67812 #include <ieeefp.h>
67813 #endif
67816 main ()
67818 _logf(0);
67820 return 0;
67822 _ACEOF
67823 if ac_fn_cxx_try_compile "$LINENO"; then :
67824 glibcxx_cv_func__logf_use=yes
67825 else
67826 glibcxx_cv_func__logf_use=no
67828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67829 ac_ext=c
67830 ac_cpp='$CPP $CPPFLAGS'
67831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67840 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67842 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67843 for ac_func in _logf
67844 do :
67845 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67846 if test "x$ac_cv_func__logf" = x""yes; then :
67847 cat >>confdefs.h <<_ACEOF
67848 #define HAVE__LOGF 1
67849 _ACEOF
67852 done
67861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67862 $as_echo_n "checking for log10f declaration... " >&6; }
67863 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67864 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67865 $as_echo_n "(cached) " >&6
67866 else
67869 ac_ext=cpp
67870 ac_cpp='$CXXCPP $CPPFLAGS'
67871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67876 /* end confdefs.h. */
67877 #include <math.h>
67878 #ifdef HAVE_IEEEFP_H
67879 #include <ieeefp.h>
67880 #endif
67883 main ()
67885 log10f(0);
67887 return 0;
67889 _ACEOF
67890 if ac_fn_cxx_try_compile "$LINENO"; then :
67891 glibcxx_cv_func_log10f_use=yes
67892 else
67893 glibcxx_cv_func_log10f_use=no
67895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67896 ac_ext=c
67897 ac_cpp='$CPP $CPPFLAGS'
67898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67907 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67909 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67910 for ac_func in log10f
67911 do :
67912 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67913 if test "x$ac_cv_func_log10f" = x""yes; then :
67914 cat >>confdefs.h <<_ACEOF
67915 #define HAVE_LOG10F 1
67916 _ACEOF
67919 done
67921 else
67923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67924 $as_echo_n "checking for _log10f declaration... " >&6; }
67925 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67926 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67927 $as_echo_n "(cached) " >&6
67928 else
67931 ac_ext=cpp
67932 ac_cpp='$CXXCPP $CPPFLAGS'
67933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67938 /* end confdefs.h. */
67939 #include <math.h>
67940 #ifdef HAVE_IEEEFP_H
67941 #include <ieeefp.h>
67942 #endif
67945 main ()
67947 _log10f(0);
67949 return 0;
67951 _ACEOF
67952 if ac_fn_cxx_try_compile "$LINENO"; then :
67953 glibcxx_cv_func__log10f_use=yes
67954 else
67955 glibcxx_cv_func__log10f_use=no
67957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67958 ac_ext=c
67959 ac_cpp='$CPP $CPPFLAGS'
67960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67969 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67971 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67972 for ac_func in _log10f
67973 do :
67974 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67975 if test "x$ac_cv_func__log10f" = x""yes; then :
67976 cat >>confdefs.h <<_ACEOF
67977 #define HAVE__LOG10F 1
67978 _ACEOF
67981 done
67990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67991 $as_echo_n "checking for modff declaration... " >&6; }
67992 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67993 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67994 $as_echo_n "(cached) " >&6
67995 else
67998 ac_ext=cpp
67999 ac_cpp='$CXXCPP $CPPFLAGS'
68000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68005 /* end confdefs.h. */
68006 #include <math.h>
68008 main ()
68010 modff(0, 0);
68012 return 0;
68014 _ACEOF
68015 if ac_fn_cxx_try_compile "$LINENO"; then :
68016 glibcxx_cv_func_modff_use=yes
68017 else
68018 glibcxx_cv_func_modff_use=no
68020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68021 ac_ext=c
68022 ac_cpp='$CPP $CPPFLAGS'
68023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68032 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68034 if test x$glibcxx_cv_func_modff_use = x"yes"; then
68035 for ac_func in modff
68036 do :
68037 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
68038 if test "x$ac_cv_func_modff" = x""yes; then :
68039 cat >>confdefs.h <<_ACEOF
68040 #define HAVE_MODFF 1
68041 _ACEOF
68044 done
68046 else
68048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
68049 $as_echo_n "checking for _modff declaration... " >&6; }
68050 if test x${glibcxx_cv_func__modff_use+set} != xset; then
68051 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
68052 $as_echo_n "(cached) " >&6
68053 else
68056 ac_ext=cpp
68057 ac_cpp='$CXXCPP $CPPFLAGS'
68058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68063 /* end confdefs.h. */
68064 #include <math.h>
68066 main ()
68068 _modff(0, 0);
68070 return 0;
68072 _ACEOF
68073 if ac_fn_cxx_try_compile "$LINENO"; then :
68074 glibcxx_cv_func__modff_use=yes
68075 else
68076 glibcxx_cv_func__modff_use=no
68078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68079 ac_ext=c
68080 ac_cpp='$CPP $CPPFLAGS'
68081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
68090 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
68092 if test x$glibcxx_cv_func__modff_use = x"yes"; then
68093 for ac_func in _modff
68094 do :
68095 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
68096 if test "x$ac_cv_func__modff" = x""yes; then :
68097 cat >>confdefs.h <<_ACEOF
68098 #define HAVE__MODFF 1
68099 _ACEOF
68102 done
68111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
68112 $as_echo_n "checking for modf declaration... " >&6; }
68113 if test x${glibcxx_cv_func_modf_use+set} != xset; then
68114 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
68115 $as_echo_n "(cached) " >&6
68116 else
68119 ac_ext=cpp
68120 ac_cpp='$CXXCPP $CPPFLAGS'
68121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68126 /* end confdefs.h. */
68127 #include <math.h>
68129 main ()
68131 modf(0, 0);
68133 return 0;
68135 _ACEOF
68136 if ac_fn_cxx_try_compile "$LINENO"; then :
68137 glibcxx_cv_func_modf_use=yes
68138 else
68139 glibcxx_cv_func_modf_use=no
68141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68142 ac_ext=c
68143 ac_cpp='$CPP $CPPFLAGS'
68144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68153 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68155 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68156 for ac_func in modf
68157 do :
68158 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68159 if test "x$ac_cv_func_modf" = x""yes; then :
68160 cat >>confdefs.h <<_ACEOF
68161 #define HAVE_MODF 1
68162 _ACEOF
68165 done
68167 else
68169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68170 $as_echo_n "checking for _modf declaration... " >&6; }
68171 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68172 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68173 $as_echo_n "(cached) " >&6
68174 else
68177 ac_ext=cpp
68178 ac_cpp='$CXXCPP $CPPFLAGS'
68179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68184 /* end confdefs.h. */
68185 #include <math.h>
68187 main ()
68189 _modf(0, 0);
68191 return 0;
68193 _ACEOF
68194 if ac_fn_cxx_try_compile "$LINENO"; then :
68195 glibcxx_cv_func__modf_use=yes
68196 else
68197 glibcxx_cv_func__modf_use=no
68199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68200 ac_ext=c
68201 ac_cpp='$CPP $CPPFLAGS'
68202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68211 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68213 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68214 for ac_func in _modf
68215 do :
68216 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68217 if test "x$ac_cv_func__modf" = x""yes; then :
68218 cat >>confdefs.h <<_ACEOF
68219 #define HAVE__MODF 1
68220 _ACEOF
68223 done
68232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68233 $as_echo_n "checking for powf declaration... " >&6; }
68234 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68235 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68236 $as_echo_n "(cached) " >&6
68237 else
68240 ac_ext=cpp
68241 ac_cpp='$CXXCPP $CPPFLAGS'
68242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68247 /* end confdefs.h. */
68248 #include <math.h>
68250 main ()
68252 powf(0, 0);
68254 return 0;
68256 _ACEOF
68257 if ac_fn_cxx_try_compile "$LINENO"; then :
68258 glibcxx_cv_func_powf_use=yes
68259 else
68260 glibcxx_cv_func_powf_use=no
68262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68263 ac_ext=c
68264 ac_cpp='$CPP $CPPFLAGS'
68265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68274 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68276 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68277 for ac_func in powf
68278 do :
68279 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68280 if test "x$ac_cv_func_powf" = x""yes; then :
68281 cat >>confdefs.h <<_ACEOF
68282 #define HAVE_POWF 1
68283 _ACEOF
68286 done
68288 else
68290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68291 $as_echo_n "checking for _powf declaration... " >&6; }
68292 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68293 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68294 $as_echo_n "(cached) " >&6
68295 else
68298 ac_ext=cpp
68299 ac_cpp='$CXXCPP $CPPFLAGS'
68300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68305 /* end confdefs.h. */
68306 #include <math.h>
68308 main ()
68310 _powf(0, 0);
68312 return 0;
68314 _ACEOF
68315 if ac_fn_cxx_try_compile "$LINENO"; then :
68316 glibcxx_cv_func__powf_use=yes
68317 else
68318 glibcxx_cv_func__powf_use=no
68320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68321 ac_ext=c
68322 ac_cpp='$CPP $CPPFLAGS'
68323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68332 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68334 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68335 for ac_func in _powf
68336 do :
68337 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68338 if test "x$ac_cv_func__powf" = x""yes; then :
68339 cat >>confdefs.h <<_ACEOF
68340 #define HAVE__POWF 1
68341 _ACEOF
68344 done
68353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68354 $as_echo_n "checking for sqrtf declaration... " >&6; }
68355 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68356 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68357 $as_echo_n "(cached) " >&6
68358 else
68361 ac_ext=cpp
68362 ac_cpp='$CXXCPP $CPPFLAGS'
68363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68368 /* end confdefs.h. */
68369 #include <math.h>
68370 #ifdef HAVE_IEEEFP_H
68371 #include <ieeefp.h>
68372 #endif
68375 main ()
68377 sqrtf(0);
68379 return 0;
68381 _ACEOF
68382 if ac_fn_cxx_try_compile "$LINENO"; then :
68383 glibcxx_cv_func_sqrtf_use=yes
68384 else
68385 glibcxx_cv_func_sqrtf_use=no
68387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68388 ac_ext=c
68389 ac_cpp='$CPP $CPPFLAGS'
68390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68399 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68401 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68402 for ac_func in sqrtf
68403 do :
68404 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68405 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68406 cat >>confdefs.h <<_ACEOF
68407 #define HAVE_SQRTF 1
68408 _ACEOF
68411 done
68413 else
68415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68416 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68417 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68418 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68419 $as_echo_n "(cached) " >&6
68420 else
68423 ac_ext=cpp
68424 ac_cpp='$CXXCPP $CPPFLAGS'
68425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68430 /* end confdefs.h. */
68431 #include <math.h>
68432 #ifdef HAVE_IEEEFP_H
68433 #include <ieeefp.h>
68434 #endif
68437 main ()
68439 _sqrtf(0);
68441 return 0;
68443 _ACEOF
68444 if ac_fn_cxx_try_compile "$LINENO"; then :
68445 glibcxx_cv_func__sqrtf_use=yes
68446 else
68447 glibcxx_cv_func__sqrtf_use=no
68449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68450 ac_ext=c
68451 ac_cpp='$CPP $CPPFLAGS'
68452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68461 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68463 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68464 for ac_func in _sqrtf
68465 do :
68466 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68467 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68468 cat >>confdefs.h <<_ACEOF
68469 #define HAVE__SQRTF 1
68470 _ACEOF
68473 done
68482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68483 $as_echo_n "checking for sincosf declaration... " >&6; }
68484 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68485 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68486 $as_echo_n "(cached) " >&6
68487 else
68490 ac_ext=cpp
68491 ac_cpp='$CXXCPP $CPPFLAGS'
68492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68497 /* end confdefs.h. */
68498 #include <math.h>
68500 main ()
68502 sincosf(0, 0, 0);
68504 return 0;
68506 _ACEOF
68507 if ac_fn_cxx_try_compile "$LINENO"; then :
68508 glibcxx_cv_func_sincosf_use=yes
68509 else
68510 glibcxx_cv_func_sincosf_use=no
68512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68513 ac_ext=c
68514 ac_cpp='$CPP $CPPFLAGS'
68515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68524 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68526 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68527 for ac_func in sincosf
68528 do :
68529 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68530 if test "x$ac_cv_func_sincosf" = x""yes; then :
68531 cat >>confdefs.h <<_ACEOF
68532 #define HAVE_SINCOSF 1
68533 _ACEOF
68536 done
68538 else
68540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68541 $as_echo_n "checking for _sincosf declaration... " >&6; }
68542 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68543 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68544 $as_echo_n "(cached) " >&6
68545 else
68548 ac_ext=cpp
68549 ac_cpp='$CXXCPP $CPPFLAGS'
68550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68555 /* end confdefs.h. */
68556 #include <math.h>
68558 main ()
68560 _sincosf(0, 0, 0);
68562 return 0;
68564 _ACEOF
68565 if ac_fn_cxx_try_compile "$LINENO"; then :
68566 glibcxx_cv_func__sincosf_use=yes
68567 else
68568 glibcxx_cv_func__sincosf_use=no
68570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68571 ac_ext=c
68572 ac_cpp='$CPP $CPPFLAGS'
68573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68582 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68584 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68585 for ac_func in _sincosf
68586 do :
68587 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68588 if test "x$ac_cv_func__sincosf" = x""yes; then :
68589 cat >>confdefs.h <<_ACEOF
68590 #define HAVE__SINCOSF 1
68591 _ACEOF
68594 done
68603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68604 $as_echo_n "checking for finitef declaration... " >&6; }
68605 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68606 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68607 $as_echo_n "(cached) " >&6
68608 else
68611 ac_ext=cpp
68612 ac_cpp='$CXXCPP $CPPFLAGS'
68613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68618 /* end confdefs.h. */
68619 #include <math.h>
68620 #ifdef HAVE_IEEEFP_H
68621 #include <ieeefp.h>
68622 #endif
68625 main ()
68627 finitef(0);
68629 return 0;
68631 _ACEOF
68632 if ac_fn_cxx_try_compile "$LINENO"; then :
68633 glibcxx_cv_func_finitef_use=yes
68634 else
68635 glibcxx_cv_func_finitef_use=no
68637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68638 ac_ext=c
68639 ac_cpp='$CPP $CPPFLAGS'
68640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68649 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68651 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68652 for ac_func in finitef
68653 do :
68654 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68655 if test "x$ac_cv_func_finitef" = x""yes; then :
68656 cat >>confdefs.h <<_ACEOF
68657 #define HAVE_FINITEF 1
68658 _ACEOF
68661 done
68663 else
68665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68666 $as_echo_n "checking for _finitef declaration... " >&6; }
68667 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68668 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68669 $as_echo_n "(cached) " >&6
68670 else
68673 ac_ext=cpp
68674 ac_cpp='$CXXCPP $CPPFLAGS'
68675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68680 /* end confdefs.h. */
68681 #include <math.h>
68682 #ifdef HAVE_IEEEFP_H
68683 #include <ieeefp.h>
68684 #endif
68687 main ()
68689 _finitef(0);
68691 return 0;
68693 _ACEOF
68694 if ac_fn_cxx_try_compile "$LINENO"; then :
68695 glibcxx_cv_func__finitef_use=yes
68696 else
68697 glibcxx_cv_func__finitef_use=no
68699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68700 ac_ext=c
68701 ac_cpp='$CPP $CPPFLAGS'
68702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68711 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68713 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68714 for ac_func in _finitef
68715 do :
68716 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68717 if test "x$ac_cv_func__finitef" = x""yes; then :
68718 cat >>confdefs.h <<_ACEOF
68719 #define HAVE__FINITEF 1
68720 _ACEOF
68723 done
68732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68733 $as_echo_n "checking for long double trig functions... " >&6; }
68734 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68735 $as_echo_n "(cached) " >&6
68736 else
68739 ac_ext=cpp
68740 ac_cpp='$CXXCPP $CPPFLAGS'
68741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68746 /* end confdefs.h. */
68747 #include <math.h>
68749 main ()
68751 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68753 return 0;
68755 _ACEOF
68756 if ac_fn_cxx_try_compile "$LINENO"; then :
68757 glibcxx_cv_func_long_double_trig_use=yes
68758 else
68759 glibcxx_cv_func_long_double_trig_use=no
68761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68762 ac_ext=c
68763 ac_cpp='$CPP $CPPFLAGS'
68764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68771 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68772 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68773 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68774 do :
68775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68777 eval as_val=\$$as_ac_var
68778 if test "x$as_val" = x""yes; then :
68779 cat >>confdefs.h <<_ACEOF
68780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68781 _ACEOF
68784 done
68786 else
68787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68788 $as_echo_n "checking for _long double trig functions... " >&6; }
68789 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68790 $as_echo_n "(cached) " >&6
68791 else
68794 ac_ext=cpp
68795 ac_cpp='$CXXCPP $CPPFLAGS'
68796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68801 /* end confdefs.h. */
68802 #include <math.h>
68804 main ()
68806 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68808 return 0;
68810 _ACEOF
68811 if ac_fn_cxx_try_compile "$LINENO"; then :
68812 glibcxx_cv_func__long_double_trig_use=yes
68813 else
68814 glibcxx_cv_func__long_double_trig_use=no
68816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68817 ac_ext=c
68818 ac_cpp='$CPP $CPPFLAGS'
68819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68826 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68827 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68828 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68829 do :
68830 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68831 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68832 eval as_val=\$$as_ac_var
68833 if test "x$as_val" = x""yes; then :
68834 cat >>confdefs.h <<_ACEOF
68835 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68836 _ACEOF
68839 done
68848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68849 $as_echo_n "checking for long double round functions... " >&6; }
68850 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68851 $as_echo_n "(cached) " >&6
68852 else
68855 ac_ext=cpp
68856 ac_cpp='$CXXCPP $CPPFLAGS'
68857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68862 /* end confdefs.h. */
68863 #include <math.h>
68865 main ()
68867 ceill (0); floorl (0);
68869 return 0;
68871 _ACEOF
68872 if ac_fn_cxx_try_compile "$LINENO"; then :
68873 glibcxx_cv_func_long_double_round_use=yes
68874 else
68875 glibcxx_cv_func_long_double_round_use=no
68877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68878 ac_ext=c
68879 ac_cpp='$CPP $CPPFLAGS'
68880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68887 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68888 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68889 for ac_func in ceill floorl
68890 do :
68891 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68892 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68893 eval as_val=\$$as_ac_var
68894 if test "x$as_val" = x""yes; then :
68895 cat >>confdefs.h <<_ACEOF
68896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68897 _ACEOF
68900 done
68902 else
68903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68904 $as_echo_n "checking for _long double round functions... " >&6; }
68905 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68906 $as_echo_n "(cached) " >&6
68907 else
68910 ac_ext=cpp
68911 ac_cpp='$CXXCPP $CPPFLAGS'
68912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68917 /* end confdefs.h. */
68918 #include <math.h>
68920 main ()
68922 _ceill (0); _floorl (0);
68924 return 0;
68926 _ACEOF
68927 if ac_fn_cxx_try_compile "$LINENO"; then :
68928 glibcxx_cv_func__long_double_round_use=yes
68929 else
68930 glibcxx_cv_func__long_double_round_use=no
68932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68933 ac_ext=c
68934 ac_cpp='$CPP $CPPFLAGS'
68935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68942 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68943 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68944 for ac_func in _ceill _floorl
68945 do :
68946 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68947 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68948 eval as_val=\$$as_ac_var
68949 if test "x$as_val" = x""yes; then :
68950 cat >>confdefs.h <<_ACEOF
68951 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68952 _ACEOF
68955 done
68965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68966 $as_echo_n "checking for isnanl declaration... " >&6; }
68967 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68968 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68969 $as_echo_n "(cached) " >&6
68970 else
68973 ac_ext=cpp
68974 ac_cpp='$CXXCPP $CPPFLAGS'
68975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68980 /* end confdefs.h. */
68981 #include <math.h>
68982 #ifdef HAVE_IEEEFP_H
68983 #include <ieeefp.h>
68984 #endif
68987 main ()
68989 isnanl(0);
68991 return 0;
68993 _ACEOF
68994 if ac_fn_cxx_try_compile "$LINENO"; then :
68995 glibcxx_cv_func_isnanl_use=yes
68996 else
68997 glibcxx_cv_func_isnanl_use=no
68999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69000 ac_ext=c
69001 ac_cpp='$CPP $CPPFLAGS'
69002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69011 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69013 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69014 for ac_func in isnanl
69015 do :
69016 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69017 if test "x$ac_cv_func_isnanl" = x""yes; then :
69018 cat >>confdefs.h <<_ACEOF
69019 #define HAVE_ISNANL 1
69020 _ACEOF
69023 done
69025 else
69027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
69028 $as_echo_n "checking for _isnanl declaration... " >&6; }
69029 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
69030 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
69031 $as_echo_n "(cached) " >&6
69032 else
69035 ac_ext=cpp
69036 ac_cpp='$CXXCPP $CPPFLAGS'
69037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69042 /* end confdefs.h. */
69043 #include <math.h>
69044 #ifdef HAVE_IEEEFP_H
69045 #include <ieeefp.h>
69046 #endif
69049 main ()
69051 _isnanl(0);
69053 return 0;
69055 _ACEOF
69056 if ac_fn_cxx_try_compile "$LINENO"; then :
69057 glibcxx_cv_func__isnanl_use=yes
69058 else
69059 glibcxx_cv_func__isnanl_use=no
69061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69062 ac_ext=c
69063 ac_cpp='$CPP $CPPFLAGS'
69064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
69073 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
69075 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
69076 for ac_func in _isnanl
69077 do :
69078 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
69079 if test "x$ac_cv_func__isnanl" = x""yes; then :
69080 cat >>confdefs.h <<_ACEOF
69081 #define HAVE__ISNANL 1
69082 _ACEOF
69085 done
69094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
69095 $as_echo_n "checking for isinfl declaration... " >&6; }
69096 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
69097 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
69098 $as_echo_n "(cached) " >&6
69099 else
69102 ac_ext=cpp
69103 ac_cpp='$CXXCPP $CPPFLAGS'
69104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69109 /* end confdefs.h. */
69110 #include <math.h>
69111 #ifdef HAVE_IEEEFP_H
69112 #include <ieeefp.h>
69113 #endif
69116 main ()
69118 isinfl(0);
69120 return 0;
69122 _ACEOF
69123 if ac_fn_cxx_try_compile "$LINENO"; then :
69124 glibcxx_cv_func_isinfl_use=yes
69125 else
69126 glibcxx_cv_func_isinfl_use=no
69128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69129 ac_ext=c
69130 ac_cpp='$CPP $CPPFLAGS'
69131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69140 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69142 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69143 for ac_func in isinfl
69144 do :
69145 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69146 if test "x$ac_cv_func_isinfl" = x""yes; then :
69147 cat >>confdefs.h <<_ACEOF
69148 #define HAVE_ISINFL 1
69149 _ACEOF
69152 done
69154 else
69156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69157 $as_echo_n "checking for _isinfl declaration... " >&6; }
69158 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69159 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69160 $as_echo_n "(cached) " >&6
69161 else
69164 ac_ext=cpp
69165 ac_cpp='$CXXCPP $CPPFLAGS'
69166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69171 /* end confdefs.h. */
69172 #include <math.h>
69173 #ifdef HAVE_IEEEFP_H
69174 #include <ieeefp.h>
69175 #endif
69178 main ()
69180 _isinfl(0);
69182 return 0;
69184 _ACEOF
69185 if ac_fn_cxx_try_compile "$LINENO"; then :
69186 glibcxx_cv_func__isinfl_use=yes
69187 else
69188 glibcxx_cv_func__isinfl_use=no
69190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69191 ac_ext=c
69192 ac_cpp='$CPP $CPPFLAGS'
69193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69202 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69204 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69205 for ac_func in _isinfl
69206 do :
69207 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69208 if test "x$ac_cv_func__isinfl" = x""yes; then :
69209 cat >>confdefs.h <<_ACEOF
69210 #define HAVE__ISINFL 1
69211 _ACEOF
69214 done
69223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69224 $as_echo_n "checking for atan2l declaration... " >&6; }
69225 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69226 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69227 $as_echo_n "(cached) " >&6
69228 else
69231 ac_ext=cpp
69232 ac_cpp='$CXXCPP $CPPFLAGS'
69233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69238 /* end confdefs.h. */
69239 #include <math.h>
69241 main ()
69243 atan2l(0, 0);
69245 return 0;
69247 _ACEOF
69248 if ac_fn_cxx_try_compile "$LINENO"; then :
69249 glibcxx_cv_func_atan2l_use=yes
69250 else
69251 glibcxx_cv_func_atan2l_use=no
69253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69254 ac_ext=c
69255 ac_cpp='$CPP $CPPFLAGS'
69256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69265 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69267 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69268 for ac_func in atan2l
69269 do :
69270 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69271 if test "x$ac_cv_func_atan2l" = x""yes; then :
69272 cat >>confdefs.h <<_ACEOF
69273 #define HAVE_ATAN2L 1
69274 _ACEOF
69277 done
69279 else
69281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69282 $as_echo_n "checking for _atan2l declaration... " >&6; }
69283 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69284 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69285 $as_echo_n "(cached) " >&6
69286 else
69289 ac_ext=cpp
69290 ac_cpp='$CXXCPP $CPPFLAGS'
69291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69296 /* end confdefs.h. */
69297 #include <math.h>
69299 main ()
69301 _atan2l(0, 0);
69303 return 0;
69305 _ACEOF
69306 if ac_fn_cxx_try_compile "$LINENO"; then :
69307 glibcxx_cv_func__atan2l_use=yes
69308 else
69309 glibcxx_cv_func__atan2l_use=no
69311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69312 ac_ext=c
69313 ac_cpp='$CPP $CPPFLAGS'
69314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69323 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69325 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69326 for ac_func in _atan2l
69327 do :
69328 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69329 if test "x$ac_cv_func__atan2l" = x""yes; then :
69330 cat >>confdefs.h <<_ACEOF
69331 #define HAVE__ATAN2L 1
69332 _ACEOF
69335 done
69344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69345 $as_echo_n "checking for expl declaration... " >&6; }
69346 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69347 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69348 $as_echo_n "(cached) " >&6
69349 else
69352 ac_ext=cpp
69353 ac_cpp='$CXXCPP $CPPFLAGS'
69354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69359 /* end confdefs.h. */
69360 #include <math.h>
69361 #ifdef HAVE_IEEEFP_H
69362 #include <ieeefp.h>
69363 #endif
69366 main ()
69368 expl(0);
69370 return 0;
69372 _ACEOF
69373 if ac_fn_cxx_try_compile "$LINENO"; then :
69374 glibcxx_cv_func_expl_use=yes
69375 else
69376 glibcxx_cv_func_expl_use=no
69378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69379 ac_ext=c
69380 ac_cpp='$CPP $CPPFLAGS'
69381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69390 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69392 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69393 for ac_func in expl
69394 do :
69395 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69396 if test "x$ac_cv_func_expl" = x""yes; then :
69397 cat >>confdefs.h <<_ACEOF
69398 #define HAVE_EXPL 1
69399 _ACEOF
69402 done
69404 else
69406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69407 $as_echo_n "checking for _expl declaration... " >&6; }
69408 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69409 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69410 $as_echo_n "(cached) " >&6
69411 else
69414 ac_ext=cpp
69415 ac_cpp='$CXXCPP $CPPFLAGS'
69416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69421 /* end confdefs.h. */
69422 #include <math.h>
69423 #ifdef HAVE_IEEEFP_H
69424 #include <ieeefp.h>
69425 #endif
69428 main ()
69430 _expl(0);
69432 return 0;
69434 _ACEOF
69435 if ac_fn_cxx_try_compile "$LINENO"; then :
69436 glibcxx_cv_func__expl_use=yes
69437 else
69438 glibcxx_cv_func__expl_use=no
69440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69441 ac_ext=c
69442 ac_cpp='$CPP $CPPFLAGS'
69443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69452 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69454 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69455 for ac_func in _expl
69456 do :
69457 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69458 if test "x$ac_cv_func__expl" = x""yes; then :
69459 cat >>confdefs.h <<_ACEOF
69460 #define HAVE__EXPL 1
69461 _ACEOF
69464 done
69473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69474 $as_echo_n "checking for fabsl declaration... " >&6; }
69475 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69476 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69477 $as_echo_n "(cached) " >&6
69478 else
69481 ac_ext=cpp
69482 ac_cpp='$CXXCPP $CPPFLAGS'
69483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69488 /* end confdefs.h. */
69489 #include <math.h>
69490 #ifdef HAVE_IEEEFP_H
69491 #include <ieeefp.h>
69492 #endif
69495 main ()
69497 fabsl(0);
69499 return 0;
69501 _ACEOF
69502 if ac_fn_cxx_try_compile "$LINENO"; then :
69503 glibcxx_cv_func_fabsl_use=yes
69504 else
69505 glibcxx_cv_func_fabsl_use=no
69507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69508 ac_ext=c
69509 ac_cpp='$CPP $CPPFLAGS'
69510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69519 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69521 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69522 for ac_func in fabsl
69523 do :
69524 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69525 if test "x$ac_cv_func_fabsl" = x""yes; then :
69526 cat >>confdefs.h <<_ACEOF
69527 #define HAVE_FABSL 1
69528 _ACEOF
69531 done
69533 else
69535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69536 $as_echo_n "checking for _fabsl declaration... " >&6; }
69537 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69538 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69539 $as_echo_n "(cached) " >&6
69540 else
69543 ac_ext=cpp
69544 ac_cpp='$CXXCPP $CPPFLAGS'
69545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69550 /* end confdefs.h. */
69551 #include <math.h>
69552 #ifdef HAVE_IEEEFP_H
69553 #include <ieeefp.h>
69554 #endif
69557 main ()
69559 _fabsl(0);
69561 return 0;
69563 _ACEOF
69564 if ac_fn_cxx_try_compile "$LINENO"; then :
69565 glibcxx_cv_func__fabsl_use=yes
69566 else
69567 glibcxx_cv_func__fabsl_use=no
69569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69570 ac_ext=c
69571 ac_cpp='$CPP $CPPFLAGS'
69572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69581 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69583 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69584 for ac_func in _fabsl
69585 do :
69586 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69587 if test "x$ac_cv_func__fabsl" = x""yes; then :
69588 cat >>confdefs.h <<_ACEOF
69589 #define HAVE__FABSL 1
69590 _ACEOF
69593 done
69602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69603 $as_echo_n "checking for fmodl declaration... " >&6; }
69604 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69605 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69606 $as_echo_n "(cached) " >&6
69607 else
69610 ac_ext=cpp
69611 ac_cpp='$CXXCPP $CPPFLAGS'
69612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69617 /* end confdefs.h. */
69618 #include <math.h>
69620 main ()
69622 fmodl(0, 0);
69624 return 0;
69626 _ACEOF
69627 if ac_fn_cxx_try_compile "$LINENO"; then :
69628 glibcxx_cv_func_fmodl_use=yes
69629 else
69630 glibcxx_cv_func_fmodl_use=no
69632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69633 ac_ext=c
69634 ac_cpp='$CPP $CPPFLAGS'
69635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69644 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69646 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69647 for ac_func in fmodl
69648 do :
69649 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69650 if test "x$ac_cv_func_fmodl" = x""yes; then :
69651 cat >>confdefs.h <<_ACEOF
69652 #define HAVE_FMODL 1
69653 _ACEOF
69656 done
69658 else
69660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69661 $as_echo_n "checking for _fmodl declaration... " >&6; }
69662 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69663 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69664 $as_echo_n "(cached) " >&6
69665 else
69668 ac_ext=cpp
69669 ac_cpp='$CXXCPP $CPPFLAGS'
69670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69675 /* end confdefs.h. */
69676 #include <math.h>
69678 main ()
69680 _fmodl(0, 0);
69682 return 0;
69684 _ACEOF
69685 if ac_fn_cxx_try_compile "$LINENO"; then :
69686 glibcxx_cv_func__fmodl_use=yes
69687 else
69688 glibcxx_cv_func__fmodl_use=no
69690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69691 ac_ext=c
69692 ac_cpp='$CPP $CPPFLAGS'
69693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69702 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69704 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69705 for ac_func in _fmodl
69706 do :
69707 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69708 if test "x$ac_cv_func__fmodl" = x""yes; then :
69709 cat >>confdefs.h <<_ACEOF
69710 #define HAVE__FMODL 1
69711 _ACEOF
69714 done
69723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69724 $as_echo_n "checking for frexpl declaration... " >&6; }
69725 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69726 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69727 $as_echo_n "(cached) " >&6
69728 else
69731 ac_ext=cpp
69732 ac_cpp='$CXXCPP $CPPFLAGS'
69733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69738 /* end confdefs.h. */
69739 #include <math.h>
69741 main ()
69743 frexpl(0, 0);
69745 return 0;
69747 _ACEOF
69748 if ac_fn_cxx_try_compile "$LINENO"; then :
69749 glibcxx_cv_func_frexpl_use=yes
69750 else
69751 glibcxx_cv_func_frexpl_use=no
69753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69754 ac_ext=c
69755 ac_cpp='$CPP $CPPFLAGS'
69756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69765 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69767 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69768 for ac_func in frexpl
69769 do :
69770 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69771 if test "x$ac_cv_func_frexpl" = x""yes; then :
69772 cat >>confdefs.h <<_ACEOF
69773 #define HAVE_FREXPL 1
69774 _ACEOF
69777 done
69779 else
69781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69782 $as_echo_n "checking for _frexpl declaration... " >&6; }
69783 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69784 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69785 $as_echo_n "(cached) " >&6
69786 else
69789 ac_ext=cpp
69790 ac_cpp='$CXXCPP $CPPFLAGS'
69791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69796 /* end confdefs.h. */
69797 #include <math.h>
69799 main ()
69801 _frexpl(0, 0);
69803 return 0;
69805 _ACEOF
69806 if ac_fn_cxx_try_compile "$LINENO"; then :
69807 glibcxx_cv_func__frexpl_use=yes
69808 else
69809 glibcxx_cv_func__frexpl_use=no
69811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69812 ac_ext=c
69813 ac_cpp='$CPP $CPPFLAGS'
69814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69823 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69825 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69826 for ac_func in _frexpl
69827 do :
69828 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69829 if test "x$ac_cv_func__frexpl" = x""yes; then :
69830 cat >>confdefs.h <<_ACEOF
69831 #define HAVE__FREXPL 1
69832 _ACEOF
69835 done
69844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69845 $as_echo_n "checking for hypotl declaration... " >&6; }
69846 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69847 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69848 $as_echo_n "(cached) " >&6
69849 else
69852 ac_ext=cpp
69853 ac_cpp='$CXXCPP $CPPFLAGS'
69854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69859 /* end confdefs.h. */
69860 #include <math.h>
69862 main ()
69864 hypotl(0, 0);
69866 return 0;
69868 _ACEOF
69869 if ac_fn_cxx_try_compile "$LINENO"; then :
69870 glibcxx_cv_func_hypotl_use=yes
69871 else
69872 glibcxx_cv_func_hypotl_use=no
69874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69875 ac_ext=c
69876 ac_cpp='$CPP $CPPFLAGS'
69877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69886 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69888 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69889 for ac_func in hypotl
69890 do :
69891 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69892 if test "x$ac_cv_func_hypotl" = x""yes; then :
69893 cat >>confdefs.h <<_ACEOF
69894 #define HAVE_HYPOTL 1
69895 _ACEOF
69898 done
69900 else
69902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69903 $as_echo_n "checking for _hypotl declaration... " >&6; }
69904 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69905 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69906 $as_echo_n "(cached) " >&6
69907 else
69910 ac_ext=cpp
69911 ac_cpp='$CXXCPP $CPPFLAGS'
69912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69917 /* end confdefs.h. */
69918 #include <math.h>
69920 main ()
69922 _hypotl(0, 0);
69924 return 0;
69926 _ACEOF
69927 if ac_fn_cxx_try_compile "$LINENO"; then :
69928 glibcxx_cv_func__hypotl_use=yes
69929 else
69930 glibcxx_cv_func__hypotl_use=no
69932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69933 ac_ext=c
69934 ac_cpp='$CPP $CPPFLAGS'
69935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69944 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69946 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69947 for ac_func in _hypotl
69948 do :
69949 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69950 if test "x$ac_cv_func__hypotl" = x""yes; then :
69951 cat >>confdefs.h <<_ACEOF
69952 #define HAVE__HYPOTL 1
69953 _ACEOF
69956 done
69965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69966 $as_echo_n "checking for ldexpl declaration... " >&6; }
69967 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69968 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69969 $as_echo_n "(cached) " >&6
69970 else
69973 ac_ext=cpp
69974 ac_cpp='$CXXCPP $CPPFLAGS'
69975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69980 /* end confdefs.h. */
69981 #include <math.h>
69983 main ()
69985 ldexpl(0, 0);
69987 return 0;
69989 _ACEOF
69990 if ac_fn_cxx_try_compile "$LINENO"; then :
69991 glibcxx_cv_func_ldexpl_use=yes
69992 else
69993 glibcxx_cv_func_ldexpl_use=no
69995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69996 ac_ext=c
69997 ac_cpp='$CPP $CPPFLAGS'
69998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70007 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70009 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70010 for ac_func in ldexpl
70011 do :
70012 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70013 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70014 cat >>confdefs.h <<_ACEOF
70015 #define HAVE_LDEXPL 1
70016 _ACEOF
70019 done
70021 else
70023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
70024 $as_echo_n "checking for _ldexpl declaration... " >&6; }
70025 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
70026 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
70027 $as_echo_n "(cached) " >&6
70028 else
70031 ac_ext=cpp
70032 ac_cpp='$CXXCPP $CPPFLAGS'
70033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70038 /* end confdefs.h. */
70039 #include <math.h>
70041 main ()
70043 _ldexpl(0, 0);
70045 return 0;
70047 _ACEOF
70048 if ac_fn_cxx_try_compile "$LINENO"; then :
70049 glibcxx_cv_func__ldexpl_use=yes
70050 else
70051 glibcxx_cv_func__ldexpl_use=no
70053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70054 ac_ext=c
70055 ac_cpp='$CPP $CPPFLAGS'
70056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
70065 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
70067 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
70068 for ac_func in _ldexpl
70069 do :
70070 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
70071 if test "x$ac_cv_func__ldexpl" = x""yes; then :
70072 cat >>confdefs.h <<_ACEOF
70073 #define HAVE__LDEXPL 1
70074 _ACEOF
70077 done
70086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
70087 $as_echo_n "checking for logl declaration... " >&6; }
70088 if test x${glibcxx_cv_func_logl_use+set} != xset; then
70089 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
70090 $as_echo_n "(cached) " >&6
70091 else
70094 ac_ext=cpp
70095 ac_cpp='$CXXCPP $CPPFLAGS'
70096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70101 /* end confdefs.h. */
70102 #include <math.h>
70103 #ifdef HAVE_IEEEFP_H
70104 #include <ieeefp.h>
70105 #endif
70108 main ()
70110 logl(0);
70112 return 0;
70114 _ACEOF
70115 if ac_fn_cxx_try_compile "$LINENO"; then :
70116 glibcxx_cv_func_logl_use=yes
70117 else
70118 glibcxx_cv_func_logl_use=no
70120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70121 ac_ext=c
70122 ac_cpp='$CPP $CPPFLAGS'
70123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70132 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70134 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70135 for ac_func in logl
70136 do :
70137 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70138 if test "x$ac_cv_func_logl" = x""yes; then :
70139 cat >>confdefs.h <<_ACEOF
70140 #define HAVE_LOGL 1
70141 _ACEOF
70144 done
70146 else
70148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70149 $as_echo_n "checking for _logl declaration... " >&6; }
70150 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70151 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70152 $as_echo_n "(cached) " >&6
70153 else
70156 ac_ext=cpp
70157 ac_cpp='$CXXCPP $CPPFLAGS'
70158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70163 /* end confdefs.h. */
70164 #include <math.h>
70165 #ifdef HAVE_IEEEFP_H
70166 #include <ieeefp.h>
70167 #endif
70170 main ()
70172 _logl(0);
70174 return 0;
70176 _ACEOF
70177 if ac_fn_cxx_try_compile "$LINENO"; then :
70178 glibcxx_cv_func__logl_use=yes
70179 else
70180 glibcxx_cv_func__logl_use=no
70182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70183 ac_ext=c
70184 ac_cpp='$CPP $CPPFLAGS'
70185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70194 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70196 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70197 for ac_func in _logl
70198 do :
70199 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70200 if test "x$ac_cv_func__logl" = x""yes; then :
70201 cat >>confdefs.h <<_ACEOF
70202 #define HAVE__LOGL 1
70203 _ACEOF
70206 done
70215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70216 $as_echo_n "checking for log10l declaration... " >&6; }
70217 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70218 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70219 $as_echo_n "(cached) " >&6
70220 else
70223 ac_ext=cpp
70224 ac_cpp='$CXXCPP $CPPFLAGS'
70225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70230 /* end confdefs.h. */
70231 #include <math.h>
70232 #ifdef HAVE_IEEEFP_H
70233 #include <ieeefp.h>
70234 #endif
70237 main ()
70239 log10l(0);
70241 return 0;
70243 _ACEOF
70244 if ac_fn_cxx_try_compile "$LINENO"; then :
70245 glibcxx_cv_func_log10l_use=yes
70246 else
70247 glibcxx_cv_func_log10l_use=no
70249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70250 ac_ext=c
70251 ac_cpp='$CPP $CPPFLAGS'
70252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70261 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70263 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70264 for ac_func in log10l
70265 do :
70266 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70267 if test "x$ac_cv_func_log10l" = x""yes; then :
70268 cat >>confdefs.h <<_ACEOF
70269 #define HAVE_LOG10L 1
70270 _ACEOF
70273 done
70275 else
70277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70278 $as_echo_n "checking for _log10l declaration... " >&6; }
70279 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70280 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70281 $as_echo_n "(cached) " >&6
70282 else
70285 ac_ext=cpp
70286 ac_cpp='$CXXCPP $CPPFLAGS'
70287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70292 /* end confdefs.h. */
70293 #include <math.h>
70294 #ifdef HAVE_IEEEFP_H
70295 #include <ieeefp.h>
70296 #endif
70299 main ()
70301 _log10l(0);
70303 return 0;
70305 _ACEOF
70306 if ac_fn_cxx_try_compile "$LINENO"; then :
70307 glibcxx_cv_func__log10l_use=yes
70308 else
70309 glibcxx_cv_func__log10l_use=no
70311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70312 ac_ext=c
70313 ac_cpp='$CPP $CPPFLAGS'
70314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70323 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70325 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70326 for ac_func in _log10l
70327 do :
70328 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70329 if test "x$ac_cv_func__log10l" = x""yes; then :
70330 cat >>confdefs.h <<_ACEOF
70331 #define HAVE__LOG10L 1
70332 _ACEOF
70335 done
70344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70345 $as_echo_n "checking for modfl declaration... " >&6; }
70346 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70347 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70348 $as_echo_n "(cached) " >&6
70349 else
70352 ac_ext=cpp
70353 ac_cpp='$CXXCPP $CPPFLAGS'
70354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70359 /* end confdefs.h. */
70360 #include <math.h>
70362 main ()
70364 modfl(0, 0);
70366 return 0;
70368 _ACEOF
70369 if ac_fn_cxx_try_compile "$LINENO"; then :
70370 glibcxx_cv_func_modfl_use=yes
70371 else
70372 glibcxx_cv_func_modfl_use=no
70374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70375 ac_ext=c
70376 ac_cpp='$CPP $CPPFLAGS'
70377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70386 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70388 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70389 for ac_func in modfl
70390 do :
70391 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70392 if test "x$ac_cv_func_modfl" = x""yes; then :
70393 cat >>confdefs.h <<_ACEOF
70394 #define HAVE_MODFL 1
70395 _ACEOF
70398 done
70400 else
70402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70403 $as_echo_n "checking for _modfl declaration... " >&6; }
70404 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70405 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70406 $as_echo_n "(cached) " >&6
70407 else
70410 ac_ext=cpp
70411 ac_cpp='$CXXCPP $CPPFLAGS'
70412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70417 /* end confdefs.h. */
70418 #include <math.h>
70420 main ()
70422 _modfl(0, 0);
70424 return 0;
70426 _ACEOF
70427 if ac_fn_cxx_try_compile "$LINENO"; then :
70428 glibcxx_cv_func__modfl_use=yes
70429 else
70430 glibcxx_cv_func__modfl_use=no
70432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70433 ac_ext=c
70434 ac_cpp='$CPP $CPPFLAGS'
70435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70444 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70446 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70447 for ac_func in _modfl
70448 do :
70449 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70450 if test "x$ac_cv_func__modfl" = x""yes; then :
70451 cat >>confdefs.h <<_ACEOF
70452 #define HAVE__MODFL 1
70453 _ACEOF
70456 done
70465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70466 $as_echo_n "checking for powl declaration... " >&6; }
70467 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70468 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70469 $as_echo_n "(cached) " >&6
70470 else
70473 ac_ext=cpp
70474 ac_cpp='$CXXCPP $CPPFLAGS'
70475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70480 /* end confdefs.h. */
70481 #include <math.h>
70483 main ()
70485 powl(0, 0);
70487 return 0;
70489 _ACEOF
70490 if ac_fn_cxx_try_compile "$LINENO"; then :
70491 glibcxx_cv_func_powl_use=yes
70492 else
70493 glibcxx_cv_func_powl_use=no
70495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70496 ac_ext=c
70497 ac_cpp='$CPP $CPPFLAGS'
70498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70507 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70509 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70510 for ac_func in powl
70511 do :
70512 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70513 if test "x$ac_cv_func_powl" = x""yes; then :
70514 cat >>confdefs.h <<_ACEOF
70515 #define HAVE_POWL 1
70516 _ACEOF
70519 done
70521 else
70523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70524 $as_echo_n "checking for _powl declaration... " >&6; }
70525 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70526 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70527 $as_echo_n "(cached) " >&6
70528 else
70531 ac_ext=cpp
70532 ac_cpp='$CXXCPP $CPPFLAGS'
70533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70538 /* end confdefs.h. */
70539 #include <math.h>
70541 main ()
70543 _powl(0, 0);
70545 return 0;
70547 _ACEOF
70548 if ac_fn_cxx_try_compile "$LINENO"; then :
70549 glibcxx_cv_func__powl_use=yes
70550 else
70551 glibcxx_cv_func__powl_use=no
70553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70554 ac_ext=c
70555 ac_cpp='$CPP $CPPFLAGS'
70556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70565 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70567 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70568 for ac_func in _powl
70569 do :
70570 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70571 if test "x$ac_cv_func__powl" = x""yes; then :
70572 cat >>confdefs.h <<_ACEOF
70573 #define HAVE__POWL 1
70574 _ACEOF
70577 done
70586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70587 $as_echo_n "checking for sqrtl declaration... " >&6; }
70588 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70589 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70590 $as_echo_n "(cached) " >&6
70591 else
70594 ac_ext=cpp
70595 ac_cpp='$CXXCPP $CPPFLAGS'
70596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70601 /* end confdefs.h. */
70602 #include <math.h>
70603 #ifdef HAVE_IEEEFP_H
70604 #include <ieeefp.h>
70605 #endif
70608 main ()
70610 sqrtl(0);
70612 return 0;
70614 _ACEOF
70615 if ac_fn_cxx_try_compile "$LINENO"; then :
70616 glibcxx_cv_func_sqrtl_use=yes
70617 else
70618 glibcxx_cv_func_sqrtl_use=no
70620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70621 ac_ext=c
70622 ac_cpp='$CPP $CPPFLAGS'
70623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70632 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70634 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70635 for ac_func in sqrtl
70636 do :
70637 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70638 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70639 cat >>confdefs.h <<_ACEOF
70640 #define HAVE_SQRTL 1
70641 _ACEOF
70644 done
70646 else
70648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70649 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70650 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70651 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70652 $as_echo_n "(cached) " >&6
70653 else
70656 ac_ext=cpp
70657 ac_cpp='$CXXCPP $CPPFLAGS'
70658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70663 /* end confdefs.h. */
70664 #include <math.h>
70665 #ifdef HAVE_IEEEFP_H
70666 #include <ieeefp.h>
70667 #endif
70670 main ()
70672 _sqrtl(0);
70674 return 0;
70676 _ACEOF
70677 if ac_fn_cxx_try_compile "$LINENO"; then :
70678 glibcxx_cv_func__sqrtl_use=yes
70679 else
70680 glibcxx_cv_func__sqrtl_use=no
70682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70683 ac_ext=c
70684 ac_cpp='$CPP $CPPFLAGS'
70685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70694 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70696 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70697 for ac_func in _sqrtl
70698 do :
70699 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70700 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70701 cat >>confdefs.h <<_ACEOF
70702 #define HAVE__SQRTL 1
70703 _ACEOF
70706 done
70715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70716 $as_echo_n "checking for sincosl declaration... " >&6; }
70717 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70718 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70719 $as_echo_n "(cached) " >&6
70720 else
70723 ac_ext=cpp
70724 ac_cpp='$CXXCPP $CPPFLAGS'
70725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70730 /* end confdefs.h. */
70731 #include <math.h>
70733 main ()
70735 sincosl(0, 0, 0);
70737 return 0;
70739 _ACEOF
70740 if ac_fn_cxx_try_compile "$LINENO"; then :
70741 glibcxx_cv_func_sincosl_use=yes
70742 else
70743 glibcxx_cv_func_sincosl_use=no
70745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70746 ac_ext=c
70747 ac_cpp='$CPP $CPPFLAGS'
70748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70757 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70759 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70760 for ac_func in sincosl
70761 do :
70762 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70763 if test "x$ac_cv_func_sincosl" = x""yes; then :
70764 cat >>confdefs.h <<_ACEOF
70765 #define HAVE_SINCOSL 1
70766 _ACEOF
70769 done
70771 else
70773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70774 $as_echo_n "checking for _sincosl declaration... " >&6; }
70775 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70776 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70777 $as_echo_n "(cached) " >&6
70778 else
70781 ac_ext=cpp
70782 ac_cpp='$CXXCPP $CPPFLAGS'
70783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70788 /* end confdefs.h. */
70789 #include <math.h>
70791 main ()
70793 _sincosl(0, 0, 0);
70795 return 0;
70797 _ACEOF
70798 if ac_fn_cxx_try_compile "$LINENO"; then :
70799 glibcxx_cv_func__sincosl_use=yes
70800 else
70801 glibcxx_cv_func__sincosl_use=no
70803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70804 ac_ext=c
70805 ac_cpp='$CPP $CPPFLAGS'
70806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70815 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70817 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70818 for ac_func in _sincosl
70819 do :
70820 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70821 if test "x$ac_cv_func__sincosl" = x""yes; then :
70822 cat >>confdefs.h <<_ACEOF
70823 #define HAVE__SINCOSL 1
70824 _ACEOF
70827 done
70836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70837 $as_echo_n "checking for finitel declaration... " >&6; }
70838 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70839 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70840 $as_echo_n "(cached) " >&6
70841 else
70844 ac_ext=cpp
70845 ac_cpp='$CXXCPP $CPPFLAGS'
70846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70851 /* end confdefs.h. */
70852 #include <math.h>
70853 #ifdef HAVE_IEEEFP_H
70854 #include <ieeefp.h>
70855 #endif
70858 main ()
70860 finitel(0);
70862 return 0;
70864 _ACEOF
70865 if ac_fn_cxx_try_compile "$LINENO"; then :
70866 glibcxx_cv_func_finitel_use=yes
70867 else
70868 glibcxx_cv_func_finitel_use=no
70870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70871 ac_ext=c
70872 ac_cpp='$CPP $CPPFLAGS'
70873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70882 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70884 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70885 for ac_func in finitel
70886 do :
70887 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70888 if test "x$ac_cv_func_finitel" = x""yes; then :
70889 cat >>confdefs.h <<_ACEOF
70890 #define HAVE_FINITEL 1
70891 _ACEOF
70894 done
70896 else
70898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70899 $as_echo_n "checking for _finitel declaration... " >&6; }
70900 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70901 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70902 $as_echo_n "(cached) " >&6
70903 else
70906 ac_ext=cpp
70907 ac_cpp='$CXXCPP $CPPFLAGS'
70908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70913 /* end confdefs.h. */
70914 #include <math.h>
70915 #ifdef HAVE_IEEEFP_H
70916 #include <ieeefp.h>
70917 #endif
70920 main ()
70922 _finitel(0);
70924 return 0;
70926 _ACEOF
70927 if ac_fn_cxx_try_compile "$LINENO"; then :
70928 glibcxx_cv_func__finitel_use=yes
70929 else
70930 glibcxx_cv_func__finitel_use=no
70932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70933 ac_ext=c
70934 ac_cpp='$CPP $CPPFLAGS'
70935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70944 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70946 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70947 for ac_func in _finitel
70948 do :
70949 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70950 if test "x$ac_cv_func__finitel" = x""yes; then :
70951 cat >>confdefs.h <<_ACEOF
70952 #define HAVE__FINITEL 1
70953 _ACEOF
70956 done
70964 LIBS="$ac_save_LIBS"
70965 CXXFLAGS="$ac_save_CXXFLAGS"
70968 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70969 ac_save_CXXFLAGS="$CXXFLAGS"
70970 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70974 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70975 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70976 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70977 $as_echo_n "(cached) " >&6
70978 else
70981 ac_ext=cpp
70982 ac_cpp='$CXXCPP $CPPFLAGS'
70983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70988 /* end confdefs.h. */
70989 #include <stdlib.h>
70991 main ()
70993 at_quick_exit(0);
70995 return 0;
70997 _ACEOF
70998 if ac_fn_cxx_try_compile "$LINENO"; then :
70999 glibcxx_cv_func_at_quick_exit_use=yes
71000 else
71001 glibcxx_cv_func_at_quick_exit_use=no
71003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71004 ac_ext=c
71005 ac_cpp='$CPP $CPPFLAGS'
71006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71015 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71016 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71017 for ac_func in at_quick_exit
71018 do :
71019 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
71020 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
71021 cat >>confdefs.h <<_ACEOF
71022 #define HAVE_AT_QUICK_EXIT 1
71023 _ACEOF
71026 done
71031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
71032 $as_echo_n "checking for quick_exit declaration... " >&6; }
71033 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
71034 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
71035 $as_echo_n "(cached) " >&6
71036 else
71039 ac_ext=cpp
71040 ac_cpp='$CXXCPP $CPPFLAGS'
71041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71046 /* end confdefs.h. */
71047 #include <stdlib.h>
71049 main ()
71051 quick_exit(0);
71053 return 0;
71055 _ACEOF
71056 if ac_fn_cxx_try_compile "$LINENO"; then :
71057 glibcxx_cv_func_quick_exit_use=yes
71058 else
71059 glibcxx_cv_func_quick_exit_use=no
71061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71062 ac_ext=c
71063 ac_cpp='$CPP $CPPFLAGS'
71064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
71073 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
71074 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
71075 for ac_func in quick_exit
71076 do :
71077 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
71078 if test "x$ac_cv_func_quick_exit" = x""yes; then :
71079 cat >>confdefs.h <<_ACEOF
71080 #define HAVE_QUICK_EXIT 1
71081 _ACEOF
71084 done
71089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
71090 $as_echo_n "checking for strtold declaration... " >&6; }
71091 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71092 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
71093 $as_echo_n "(cached) " >&6
71094 else
71097 ac_ext=cpp
71098 ac_cpp='$CXXCPP $CPPFLAGS'
71099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71104 /* end confdefs.h. */
71105 #include <stdlib.h>
71107 main ()
71109 strtold(0, 0);
71111 return 0;
71113 _ACEOF
71114 if ac_fn_cxx_try_compile "$LINENO"; then :
71115 glibcxx_cv_func_strtold_use=yes
71116 else
71117 glibcxx_cv_func_strtold_use=no
71119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71120 ac_ext=c
71121 ac_cpp='$CPP $CPPFLAGS'
71122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71131 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71132 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71133 for ac_func in strtold
71134 do :
71135 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71136 if test "x$ac_cv_func_strtold" = x""yes; then :
71137 cat >>confdefs.h <<_ACEOF
71138 #define HAVE_STRTOLD 1
71139 _ACEOF
71142 done
71149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71150 $as_echo_n "checking for strtof declaration... " >&6; }
71151 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71152 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71153 $as_echo_n "(cached) " >&6
71154 else
71157 ac_ext=cpp
71158 ac_cpp='$CXXCPP $CPPFLAGS'
71159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71164 /* end confdefs.h. */
71165 #include <stdlib.h>
71167 main ()
71169 strtof(0, 0);
71171 return 0;
71173 _ACEOF
71174 if ac_fn_cxx_try_compile "$LINENO"; then :
71175 glibcxx_cv_func_strtof_use=yes
71176 else
71177 glibcxx_cv_func_strtof_use=no
71179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71180 ac_ext=c
71181 ac_cpp='$CPP $CPPFLAGS'
71182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71191 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71192 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71193 for ac_func in strtof
71194 do :
71195 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71196 if test "x$ac_cv_func_strtof" = x""yes; then :
71197 cat >>confdefs.h <<_ACEOF
71198 #define HAVE_STRTOF 1
71199 _ACEOF
71202 done
71209 CXXFLAGS="$ac_save_CXXFLAGS"
71212 *-solaris*)
71214 # If we're not using GNU ld, then there's no point in even trying these
71215 # tests. Check for that first. We should have already tested for gld
71216 # by now (in libtool), but require it now just to be safe...
71217 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71218 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71222 # The name set by libtool depends on the version of libtool. Shame on us
71223 # for depending on an impl detail, but c'est la vie. Older versions used
71224 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71225 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71226 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71227 # set (hence we're using an older libtool), then set it.
71228 if test x${with_gnu_ld+set} != xset; then
71229 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71230 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71231 with_gnu_ld=no
71232 else
71233 with_gnu_ld=$ac_cv_prog_gnu_ld
71237 # Start by getting the version number. I think the libtool test already
71238 # does some of this, but throws away the result.
71239 glibcxx_ld_is_gold=no
71240 if test x"$with_gnu_ld" = x"yes"; then
71241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71242 $as_echo_n "checking for ld version... " >&6; }
71244 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71245 glibcxx_ld_is_gold=yes
71247 ldver=`$LD --version 2>/dev/null |
71248 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'`
71250 glibcxx_gnu_ld_version=`echo $ldver | \
71251 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71253 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71256 # Set --gc-sections.
71257 glibcxx_have_gc_sections=no
71258 if test "$glibcxx_ld_is_gold" = "yes"; then
71259 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71260 glibcxx_have_gc_sections=yes
71262 else
71263 glibcxx_gcsections_min_ld=21602
71264 if test x"$with_gnu_ld" = x"yes" &&
71265 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71266 glibcxx_have_gc_sections=yes
71269 if test "$glibcxx_have_gc_sections" = "yes"; then
71270 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71271 # NB: This flag only works reliably after 2.16.1. Configure tests
71272 # for this are difficult, so hard wire a value that should work.
71274 ac_test_CFLAGS="${CFLAGS+set}"
71275 ac_save_CFLAGS="$CFLAGS"
71276 CFLAGS='-Wl,--gc-sections'
71278 # Check for -Wl,--gc-sections
71279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71280 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71281 if test x$gcc_no_link = xyes; then
71282 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71285 /* end confdefs.h. */
71286 int one(void) { return 1; }
71287 int two(void) { return 2; }
71290 main ()
71292 two();
71294 return 0;
71296 _ACEOF
71297 if ac_fn_c_try_link "$LINENO"; then :
71298 ac_gcsections=yes
71299 else
71300 ac_gcsections=no
71302 rm -f core conftest.err conftest.$ac_objext \
71303 conftest$ac_exeext conftest.$ac_ext
71304 if test "$ac_gcsections" = "yes"; then
71305 rm -f conftest.c
71306 touch conftest.c
71307 if $CC -c conftest.c; then
71308 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71309 grep "Warning: gc-sections option ignored" > /dev/null; then
71310 ac_gcsections=no
71313 rm -f conftest.c conftest.o conftest
71315 if test "$ac_gcsections" = "yes"; then
71316 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71319 $as_echo "$ac_gcsections" >&6; }
71321 if test "$ac_test_CFLAGS" = set; then
71322 CFLAGS="$ac_save_CFLAGS"
71323 else
71324 # this is the suspicious part
71325 CFLAGS=''
71329 # Set -z,relro.
71330 # Note this is only for shared objects.
71331 ac_ld_relro=no
71332 if test x"$with_gnu_ld" = x"yes"; then
71333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71334 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71335 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71336 if test -n "$cxx_z_relo"; then
71337 OPT_LDFLAGS="-Wl,-z,relro"
71338 ac_ld_relro=yes
71340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71341 $as_echo "$ac_ld_relro" >&6; }
71344 # Set linker optimization flags.
71345 if test x"$with_gnu_ld" = x"yes"; then
71346 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71352 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71354 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71356 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71358 # All of the dependencies for wide character support are here, so
71359 # turn it on.
71360 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71362 # These two C99 functions are present only in Solaris >= 10
71363 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71365 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71367 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71369 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71371 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71373 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71376 *-tpf)
71377 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71378 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71380 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71382 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71384 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71386 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71388 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71390 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71392 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71394 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71396 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71398 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71400 if test x"long_double_math_on_this_cpu" = x"yes"; then
71401 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71403 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71405 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71407 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71411 *-*vms*)
71412 # Check for available headers.
71413 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71415 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71416 ac_save_CXXFLAGS="$CXXFLAGS"
71417 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71420 $as_echo_n "checking for sin in -lm... " >&6; }
71421 if test "${ac_cv_lib_m_sin+set}" = set; then :
71422 $as_echo_n "(cached) " >&6
71423 else
71424 ac_check_lib_save_LIBS=$LIBS
71425 LIBS="-lm $LIBS"
71426 if test x$gcc_no_link = xyes; then
71427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71430 /* end confdefs.h. */
71432 /* Override any GCC internal prototype to avoid an error.
71433 Use char because int might match the return type of a GCC
71434 builtin and then its argument prototype would still apply. */
71435 #ifdef __cplusplus
71436 extern "C"
71437 #endif
71438 char sin ();
71440 main ()
71442 return sin ();
71444 return 0;
71446 _ACEOF
71447 if ac_fn_c_try_link "$LINENO"; then :
71448 ac_cv_lib_m_sin=yes
71449 else
71450 ac_cv_lib_m_sin=no
71452 rm -f core conftest.err conftest.$ac_objext \
71453 conftest$ac_exeext conftest.$ac_ext
71454 LIBS=$ac_check_lib_save_LIBS
71456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71457 $as_echo "$ac_cv_lib_m_sin" >&6; }
71458 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71459 libm="-lm"
71462 ac_save_LIBS="$LIBS"
71463 LIBS="$LIBS $libm"
71467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71468 $as_echo_n "checking for isinf declaration... " >&6; }
71469 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71470 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71471 $as_echo_n "(cached) " >&6
71472 else
71475 ac_ext=cpp
71476 ac_cpp='$CXXCPP $CPPFLAGS'
71477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71482 /* end confdefs.h. */
71483 #include <math.h>
71484 #ifdef HAVE_IEEEFP_H
71485 #include <ieeefp.h>
71486 #endif
71489 main ()
71491 isinf(0);
71493 return 0;
71495 _ACEOF
71496 if ac_fn_cxx_try_compile "$LINENO"; then :
71497 glibcxx_cv_func_isinf_use=yes
71498 else
71499 glibcxx_cv_func_isinf_use=no
71501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71502 ac_ext=c
71503 ac_cpp='$CPP $CPPFLAGS'
71504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71513 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71515 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71516 for ac_func in isinf
71517 do :
71518 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71519 if test "x$ac_cv_func_isinf" = x""yes; then :
71520 cat >>confdefs.h <<_ACEOF
71521 #define HAVE_ISINF 1
71522 _ACEOF
71525 done
71527 else
71529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71530 $as_echo_n "checking for _isinf declaration... " >&6; }
71531 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71532 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71533 $as_echo_n "(cached) " >&6
71534 else
71537 ac_ext=cpp
71538 ac_cpp='$CXXCPP $CPPFLAGS'
71539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71544 /* end confdefs.h. */
71545 #include <math.h>
71546 #ifdef HAVE_IEEEFP_H
71547 #include <ieeefp.h>
71548 #endif
71551 main ()
71553 _isinf(0);
71555 return 0;
71557 _ACEOF
71558 if ac_fn_cxx_try_compile "$LINENO"; then :
71559 glibcxx_cv_func__isinf_use=yes
71560 else
71561 glibcxx_cv_func__isinf_use=no
71563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71564 ac_ext=c
71565 ac_cpp='$CPP $CPPFLAGS'
71566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71575 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71577 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71578 for ac_func in _isinf
71579 do :
71580 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71581 if test "x$ac_cv_func__isinf" = x""yes; then :
71582 cat >>confdefs.h <<_ACEOF
71583 #define HAVE__ISINF 1
71584 _ACEOF
71587 done
71596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71597 $as_echo_n "checking for isnan declaration... " >&6; }
71598 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71599 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71600 $as_echo_n "(cached) " >&6
71601 else
71604 ac_ext=cpp
71605 ac_cpp='$CXXCPP $CPPFLAGS'
71606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71611 /* end confdefs.h. */
71612 #include <math.h>
71613 #ifdef HAVE_IEEEFP_H
71614 #include <ieeefp.h>
71615 #endif
71618 main ()
71620 isnan(0);
71622 return 0;
71624 _ACEOF
71625 if ac_fn_cxx_try_compile "$LINENO"; then :
71626 glibcxx_cv_func_isnan_use=yes
71627 else
71628 glibcxx_cv_func_isnan_use=no
71630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71631 ac_ext=c
71632 ac_cpp='$CPP $CPPFLAGS'
71633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71642 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71644 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71645 for ac_func in isnan
71646 do :
71647 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71648 if test "x$ac_cv_func_isnan" = x""yes; then :
71649 cat >>confdefs.h <<_ACEOF
71650 #define HAVE_ISNAN 1
71651 _ACEOF
71654 done
71656 else
71658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71659 $as_echo_n "checking for _isnan declaration... " >&6; }
71660 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71661 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71662 $as_echo_n "(cached) " >&6
71663 else
71666 ac_ext=cpp
71667 ac_cpp='$CXXCPP $CPPFLAGS'
71668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71673 /* end confdefs.h. */
71674 #include <math.h>
71675 #ifdef HAVE_IEEEFP_H
71676 #include <ieeefp.h>
71677 #endif
71680 main ()
71682 _isnan(0);
71684 return 0;
71686 _ACEOF
71687 if ac_fn_cxx_try_compile "$LINENO"; then :
71688 glibcxx_cv_func__isnan_use=yes
71689 else
71690 glibcxx_cv_func__isnan_use=no
71692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71693 ac_ext=c
71694 ac_cpp='$CPP $CPPFLAGS'
71695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71704 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71706 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71707 for ac_func in _isnan
71708 do :
71709 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71710 if test "x$ac_cv_func__isnan" = x""yes; then :
71711 cat >>confdefs.h <<_ACEOF
71712 #define HAVE__ISNAN 1
71713 _ACEOF
71716 done
71725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71726 $as_echo_n "checking for finite declaration... " >&6; }
71727 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71728 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71729 $as_echo_n "(cached) " >&6
71730 else
71733 ac_ext=cpp
71734 ac_cpp='$CXXCPP $CPPFLAGS'
71735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71740 /* end confdefs.h. */
71741 #include <math.h>
71742 #ifdef HAVE_IEEEFP_H
71743 #include <ieeefp.h>
71744 #endif
71747 main ()
71749 finite(0);
71751 return 0;
71753 _ACEOF
71754 if ac_fn_cxx_try_compile "$LINENO"; then :
71755 glibcxx_cv_func_finite_use=yes
71756 else
71757 glibcxx_cv_func_finite_use=no
71759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71760 ac_ext=c
71761 ac_cpp='$CPP $CPPFLAGS'
71762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71771 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71773 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71774 for ac_func in finite
71775 do :
71776 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71777 if test "x$ac_cv_func_finite" = x""yes; then :
71778 cat >>confdefs.h <<_ACEOF
71779 #define HAVE_FINITE 1
71780 _ACEOF
71783 done
71785 else
71787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71788 $as_echo_n "checking for _finite declaration... " >&6; }
71789 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71790 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71791 $as_echo_n "(cached) " >&6
71792 else
71795 ac_ext=cpp
71796 ac_cpp='$CXXCPP $CPPFLAGS'
71797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71802 /* end confdefs.h. */
71803 #include <math.h>
71804 #ifdef HAVE_IEEEFP_H
71805 #include <ieeefp.h>
71806 #endif
71809 main ()
71811 _finite(0);
71813 return 0;
71815 _ACEOF
71816 if ac_fn_cxx_try_compile "$LINENO"; then :
71817 glibcxx_cv_func__finite_use=yes
71818 else
71819 glibcxx_cv_func__finite_use=no
71821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71822 ac_ext=c
71823 ac_cpp='$CPP $CPPFLAGS'
71824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71833 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71835 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71836 for ac_func in _finite
71837 do :
71838 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71839 if test "x$ac_cv_func__finite" = x""yes; then :
71840 cat >>confdefs.h <<_ACEOF
71841 #define HAVE__FINITE 1
71842 _ACEOF
71845 done
71854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71855 $as_echo_n "checking for sincos declaration... " >&6; }
71856 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71857 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71858 $as_echo_n "(cached) " >&6
71859 else
71862 ac_ext=cpp
71863 ac_cpp='$CXXCPP $CPPFLAGS'
71864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71869 /* end confdefs.h. */
71870 #include <math.h>
71872 main ()
71874 sincos(0, 0, 0);
71876 return 0;
71878 _ACEOF
71879 if ac_fn_cxx_try_compile "$LINENO"; then :
71880 glibcxx_cv_func_sincos_use=yes
71881 else
71882 glibcxx_cv_func_sincos_use=no
71884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71885 ac_ext=c
71886 ac_cpp='$CPP $CPPFLAGS'
71887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71896 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71898 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71899 for ac_func in sincos
71900 do :
71901 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71902 if test "x$ac_cv_func_sincos" = x""yes; then :
71903 cat >>confdefs.h <<_ACEOF
71904 #define HAVE_SINCOS 1
71905 _ACEOF
71908 done
71910 else
71912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71913 $as_echo_n "checking for _sincos declaration... " >&6; }
71914 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71915 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71916 $as_echo_n "(cached) " >&6
71917 else
71920 ac_ext=cpp
71921 ac_cpp='$CXXCPP $CPPFLAGS'
71922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71927 /* end confdefs.h. */
71928 #include <math.h>
71930 main ()
71932 _sincos(0, 0, 0);
71934 return 0;
71936 _ACEOF
71937 if ac_fn_cxx_try_compile "$LINENO"; then :
71938 glibcxx_cv_func__sincos_use=yes
71939 else
71940 glibcxx_cv_func__sincos_use=no
71942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71943 ac_ext=c
71944 ac_cpp='$CPP $CPPFLAGS'
71945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71954 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71956 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71957 for ac_func in _sincos
71958 do :
71959 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71960 if test "x$ac_cv_func__sincos" = x""yes; then :
71961 cat >>confdefs.h <<_ACEOF
71962 #define HAVE__SINCOS 1
71963 _ACEOF
71966 done
71975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71976 $as_echo_n "checking for fpclass declaration... " >&6; }
71977 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71978 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71979 $as_echo_n "(cached) " >&6
71980 else
71983 ac_ext=cpp
71984 ac_cpp='$CXXCPP $CPPFLAGS'
71985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71990 /* end confdefs.h. */
71991 #include <math.h>
71992 #ifdef HAVE_IEEEFP_H
71993 #include <ieeefp.h>
71994 #endif
71997 main ()
71999 fpclass(0);
72001 return 0;
72003 _ACEOF
72004 if ac_fn_cxx_try_compile "$LINENO"; then :
72005 glibcxx_cv_func_fpclass_use=yes
72006 else
72007 glibcxx_cv_func_fpclass_use=no
72009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72010 ac_ext=c
72011 ac_cpp='$CPP $CPPFLAGS'
72012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
72021 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
72023 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
72024 for ac_func in fpclass
72025 do :
72026 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
72027 if test "x$ac_cv_func_fpclass" = x""yes; then :
72028 cat >>confdefs.h <<_ACEOF
72029 #define HAVE_FPCLASS 1
72030 _ACEOF
72033 done
72035 else
72037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
72038 $as_echo_n "checking for _fpclass declaration... " >&6; }
72039 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
72040 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
72041 $as_echo_n "(cached) " >&6
72042 else
72045 ac_ext=cpp
72046 ac_cpp='$CXXCPP $CPPFLAGS'
72047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72052 /* end confdefs.h. */
72053 #include <math.h>
72054 #ifdef HAVE_IEEEFP_H
72055 #include <ieeefp.h>
72056 #endif
72059 main ()
72061 _fpclass(0);
72063 return 0;
72065 _ACEOF
72066 if ac_fn_cxx_try_compile "$LINENO"; then :
72067 glibcxx_cv_func__fpclass_use=yes
72068 else
72069 glibcxx_cv_func__fpclass_use=no
72071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72072 ac_ext=c
72073 ac_cpp='$CPP $CPPFLAGS'
72074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
72083 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
72085 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
72086 for ac_func in _fpclass
72087 do :
72088 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
72089 if test "x$ac_cv_func__fpclass" = x""yes; then :
72090 cat >>confdefs.h <<_ACEOF
72091 #define HAVE__FPCLASS 1
72092 _ACEOF
72095 done
72104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
72105 $as_echo_n "checking for qfpclass declaration... " >&6; }
72106 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
72107 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
72108 $as_echo_n "(cached) " >&6
72109 else
72112 ac_ext=cpp
72113 ac_cpp='$CXXCPP $CPPFLAGS'
72114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72119 /* end confdefs.h. */
72120 #include <math.h>
72121 #ifdef HAVE_IEEEFP_H
72122 #include <ieeefp.h>
72123 #endif
72126 main ()
72128 qfpclass(0);
72130 return 0;
72132 _ACEOF
72133 if ac_fn_cxx_try_compile "$LINENO"; then :
72134 glibcxx_cv_func_qfpclass_use=yes
72135 else
72136 glibcxx_cv_func_qfpclass_use=no
72138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72139 ac_ext=c
72140 ac_cpp='$CPP $CPPFLAGS'
72141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72150 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72152 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72153 for ac_func in qfpclass
72154 do :
72155 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72156 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72157 cat >>confdefs.h <<_ACEOF
72158 #define HAVE_QFPCLASS 1
72159 _ACEOF
72162 done
72164 else
72166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72167 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72168 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72169 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72170 $as_echo_n "(cached) " >&6
72171 else
72174 ac_ext=cpp
72175 ac_cpp='$CXXCPP $CPPFLAGS'
72176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72181 /* end confdefs.h. */
72182 #include <math.h>
72183 #ifdef HAVE_IEEEFP_H
72184 #include <ieeefp.h>
72185 #endif
72188 main ()
72190 _qfpclass(0);
72192 return 0;
72194 _ACEOF
72195 if ac_fn_cxx_try_compile "$LINENO"; then :
72196 glibcxx_cv_func__qfpclass_use=yes
72197 else
72198 glibcxx_cv_func__qfpclass_use=no
72200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72201 ac_ext=c
72202 ac_cpp='$CPP $CPPFLAGS'
72203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72212 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72214 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72215 for ac_func in _qfpclass
72216 do :
72217 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72218 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72219 cat >>confdefs.h <<_ACEOF
72220 #define HAVE__QFPCLASS 1
72221 _ACEOF
72224 done
72233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72234 $as_echo_n "checking for hypot declaration... " >&6; }
72235 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72236 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72237 $as_echo_n "(cached) " >&6
72238 else
72241 ac_ext=cpp
72242 ac_cpp='$CXXCPP $CPPFLAGS'
72243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72248 /* end confdefs.h. */
72249 #include <math.h>
72251 main ()
72253 hypot(0, 0);
72255 return 0;
72257 _ACEOF
72258 if ac_fn_cxx_try_compile "$LINENO"; then :
72259 glibcxx_cv_func_hypot_use=yes
72260 else
72261 glibcxx_cv_func_hypot_use=no
72263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72264 ac_ext=c
72265 ac_cpp='$CPP $CPPFLAGS'
72266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72275 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72277 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72278 for ac_func in hypot
72279 do :
72280 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72281 if test "x$ac_cv_func_hypot" = x""yes; then :
72282 cat >>confdefs.h <<_ACEOF
72283 #define HAVE_HYPOT 1
72284 _ACEOF
72287 done
72289 else
72291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72292 $as_echo_n "checking for _hypot declaration... " >&6; }
72293 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72294 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72295 $as_echo_n "(cached) " >&6
72296 else
72299 ac_ext=cpp
72300 ac_cpp='$CXXCPP $CPPFLAGS'
72301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72306 /* end confdefs.h. */
72307 #include <math.h>
72309 main ()
72311 _hypot(0, 0);
72313 return 0;
72315 _ACEOF
72316 if ac_fn_cxx_try_compile "$LINENO"; then :
72317 glibcxx_cv_func__hypot_use=yes
72318 else
72319 glibcxx_cv_func__hypot_use=no
72321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72322 ac_ext=c
72323 ac_cpp='$CPP $CPPFLAGS'
72324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72333 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72335 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72336 for ac_func in _hypot
72337 do :
72338 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72339 if test "x$ac_cv_func__hypot" = x""yes; then :
72340 cat >>confdefs.h <<_ACEOF
72341 #define HAVE__HYPOT 1
72342 _ACEOF
72345 done
72354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72355 $as_echo_n "checking for float trig functions... " >&6; }
72356 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72357 $as_echo_n "(cached) " >&6
72358 else
72361 ac_ext=cpp
72362 ac_cpp='$CXXCPP $CPPFLAGS'
72363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72368 /* end confdefs.h. */
72369 #include <math.h>
72371 main ()
72373 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72375 return 0;
72377 _ACEOF
72378 if ac_fn_cxx_try_compile "$LINENO"; then :
72379 glibcxx_cv_func_float_trig_use=yes
72380 else
72381 glibcxx_cv_func_float_trig_use=no
72383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72384 ac_ext=c
72385 ac_cpp='$CPP $CPPFLAGS'
72386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72393 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72394 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72395 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72396 do :
72397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72399 eval as_val=\$$as_ac_var
72400 if test "x$as_val" = x""yes; then :
72401 cat >>confdefs.h <<_ACEOF
72402 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72403 _ACEOF
72406 done
72408 else
72409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72410 $as_echo_n "checking for _float trig functions... " >&6; }
72411 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72412 $as_echo_n "(cached) " >&6
72413 else
72416 ac_ext=cpp
72417 ac_cpp='$CXXCPP $CPPFLAGS'
72418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72423 /* end confdefs.h. */
72424 #include <math.h>
72426 main ()
72428 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72430 return 0;
72432 _ACEOF
72433 if ac_fn_cxx_try_compile "$LINENO"; then :
72434 glibcxx_cv_func__float_trig_use=yes
72435 else
72436 glibcxx_cv_func__float_trig_use=no
72438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72439 ac_ext=c
72440 ac_cpp='$CPP $CPPFLAGS'
72441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72448 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72449 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72450 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72451 do :
72452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72454 eval as_val=\$$as_ac_var
72455 if test "x$as_val" = x""yes; then :
72456 cat >>confdefs.h <<_ACEOF
72457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72458 _ACEOF
72461 done
72470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72471 $as_echo_n "checking for float round functions... " >&6; }
72472 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72473 $as_echo_n "(cached) " >&6
72474 else
72477 ac_ext=cpp
72478 ac_cpp='$CXXCPP $CPPFLAGS'
72479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72484 /* end confdefs.h. */
72485 #include <math.h>
72487 main ()
72489 ceilf (0); floorf (0);
72491 return 0;
72493 _ACEOF
72494 if ac_fn_cxx_try_compile "$LINENO"; then :
72495 glibcxx_cv_func_float_round_use=yes
72496 else
72497 glibcxx_cv_func_float_round_use=no
72499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72500 ac_ext=c
72501 ac_cpp='$CPP $CPPFLAGS'
72502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72509 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72510 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72511 for ac_func in ceilf floorf
72512 do :
72513 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72515 eval as_val=\$$as_ac_var
72516 if test "x$as_val" = x""yes; then :
72517 cat >>confdefs.h <<_ACEOF
72518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72519 _ACEOF
72522 done
72524 else
72525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72526 $as_echo_n "checking for _float round functions... " >&6; }
72527 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72528 $as_echo_n "(cached) " >&6
72529 else
72532 ac_ext=cpp
72533 ac_cpp='$CXXCPP $CPPFLAGS'
72534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72539 /* end confdefs.h. */
72540 #include <math.h>
72542 main ()
72544 _ceilf (0); _floorf (0);
72546 return 0;
72548 _ACEOF
72549 if ac_fn_cxx_try_compile "$LINENO"; then :
72550 glibcxx_cv_func__float_round_use=yes
72551 else
72552 glibcxx_cv_func__float_round_use=no
72554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72555 ac_ext=c
72556 ac_cpp='$CPP $CPPFLAGS'
72557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72564 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72565 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72566 for ac_func in _ceilf _floorf
72567 do :
72568 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72569 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72570 eval as_val=\$$as_ac_var
72571 if test "x$as_val" = x""yes; then :
72572 cat >>confdefs.h <<_ACEOF
72573 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72574 _ACEOF
72577 done
72587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72588 $as_echo_n "checking for expf declaration... " >&6; }
72589 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72590 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72591 $as_echo_n "(cached) " >&6
72592 else
72595 ac_ext=cpp
72596 ac_cpp='$CXXCPP $CPPFLAGS'
72597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72602 /* end confdefs.h. */
72603 #include <math.h>
72604 #ifdef HAVE_IEEEFP_H
72605 #include <ieeefp.h>
72606 #endif
72609 main ()
72611 expf(0);
72613 return 0;
72615 _ACEOF
72616 if ac_fn_cxx_try_compile "$LINENO"; then :
72617 glibcxx_cv_func_expf_use=yes
72618 else
72619 glibcxx_cv_func_expf_use=no
72621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72622 ac_ext=c
72623 ac_cpp='$CPP $CPPFLAGS'
72624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72633 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72635 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72636 for ac_func in expf
72637 do :
72638 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72639 if test "x$ac_cv_func_expf" = x""yes; then :
72640 cat >>confdefs.h <<_ACEOF
72641 #define HAVE_EXPF 1
72642 _ACEOF
72645 done
72647 else
72649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72650 $as_echo_n "checking for _expf declaration... " >&6; }
72651 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72652 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72653 $as_echo_n "(cached) " >&6
72654 else
72657 ac_ext=cpp
72658 ac_cpp='$CXXCPP $CPPFLAGS'
72659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72664 /* end confdefs.h. */
72665 #include <math.h>
72666 #ifdef HAVE_IEEEFP_H
72667 #include <ieeefp.h>
72668 #endif
72671 main ()
72673 _expf(0);
72675 return 0;
72677 _ACEOF
72678 if ac_fn_cxx_try_compile "$LINENO"; then :
72679 glibcxx_cv_func__expf_use=yes
72680 else
72681 glibcxx_cv_func__expf_use=no
72683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72684 ac_ext=c
72685 ac_cpp='$CPP $CPPFLAGS'
72686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72695 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72697 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72698 for ac_func in _expf
72699 do :
72700 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72701 if test "x$ac_cv_func__expf" = x""yes; then :
72702 cat >>confdefs.h <<_ACEOF
72703 #define HAVE__EXPF 1
72704 _ACEOF
72707 done
72716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72717 $as_echo_n "checking for isnanf declaration... " >&6; }
72718 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72719 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72720 $as_echo_n "(cached) " >&6
72721 else
72724 ac_ext=cpp
72725 ac_cpp='$CXXCPP $CPPFLAGS'
72726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72731 /* end confdefs.h. */
72732 #include <math.h>
72733 #ifdef HAVE_IEEEFP_H
72734 #include <ieeefp.h>
72735 #endif
72738 main ()
72740 isnanf(0);
72742 return 0;
72744 _ACEOF
72745 if ac_fn_cxx_try_compile "$LINENO"; then :
72746 glibcxx_cv_func_isnanf_use=yes
72747 else
72748 glibcxx_cv_func_isnanf_use=no
72750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72751 ac_ext=c
72752 ac_cpp='$CPP $CPPFLAGS'
72753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72762 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72764 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72765 for ac_func in isnanf
72766 do :
72767 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72768 if test "x$ac_cv_func_isnanf" = x""yes; then :
72769 cat >>confdefs.h <<_ACEOF
72770 #define HAVE_ISNANF 1
72771 _ACEOF
72774 done
72776 else
72778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72779 $as_echo_n "checking for _isnanf declaration... " >&6; }
72780 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72781 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72782 $as_echo_n "(cached) " >&6
72783 else
72786 ac_ext=cpp
72787 ac_cpp='$CXXCPP $CPPFLAGS'
72788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72793 /* end confdefs.h. */
72794 #include <math.h>
72795 #ifdef HAVE_IEEEFP_H
72796 #include <ieeefp.h>
72797 #endif
72800 main ()
72802 _isnanf(0);
72804 return 0;
72806 _ACEOF
72807 if ac_fn_cxx_try_compile "$LINENO"; then :
72808 glibcxx_cv_func__isnanf_use=yes
72809 else
72810 glibcxx_cv_func__isnanf_use=no
72812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72813 ac_ext=c
72814 ac_cpp='$CPP $CPPFLAGS'
72815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72824 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72826 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72827 for ac_func in _isnanf
72828 do :
72829 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72830 if test "x$ac_cv_func__isnanf" = x""yes; then :
72831 cat >>confdefs.h <<_ACEOF
72832 #define HAVE__ISNANF 1
72833 _ACEOF
72836 done
72845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72846 $as_echo_n "checking for isinff declaration... " >&6; }
72847 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72848 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72849 $as_echo_n "(cached) " >&6
72850 else
72853 ac_ext=cpp
72854 ac_cpp='$CXXCPP $CPPFLAGS'
72855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72860 /* end confdefs.h. */
72861 #include <math.h>
72862 #ifdef HAVE_IEEEFP_H
72863 #include <ieeefp.h>
72864 #endif
72867 main ()
72869 isinff(0);
72871 return 0;
72873 _ACEOF
72874 if ac_fn_cxx_try_compile "$LINENO"; then :
72875 glibcxx_cv_func_isinff_use=yes
72876 else
72877 glibcxx_cv_func_isinff_use=no
72879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72880 ac_ext=c
72881 ac_cpp='$CPP $CPPFLAGS'
72882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72891 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72893 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72894 for ac_func in isinff
72895 do :
72896 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72897 if test "x$ac_cv_func_isinff" = x""yes; then :
72898 cat >>confdefs.h <<_ACEOF
72899 #define HAVE_ISINFF 1
72900 _ACEOF
72903 done
72905 else
72907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72908 $as_echo_n "checking for _isinff declaration... " >&6; }
72909 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72910 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72911 $as_echo_n "(cached) " >&6
72912 else
72915 ac_ext=cpp
72916 ac_cpp='$CXXCPP $CPPFLAGS'
72917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72922 /* end confdefs.h. */
72923 #include <math.h>
72924 #ifdef HAVE_IEEEFP_H
72925 #include <ieeefp.h>
72926 #endif
72929 main ()
72931 _isinff(0);
72933 return 0;
72935 _ACEOF
72936 if ac_fn_cxx_try_compile "$LINENO"; then :
72937 glibcxx_cv_func__isinff_use=yes
72938 else
72939 glibcxx_cv_func__isinff_use=no
72941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72942 ac_ext=c
72943 ac_cpp='$CPP $CPPFLAGS'
72944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72953 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72955 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72956 for ac_func in _isinff
72957 do :
72958 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72959 if test "x$ac_cv_func__isinff" = x""yes; then :
72960 cat >>confdefs.h <<_ACEOF
72961 #define HAVE__ISINFF 1
72962 _ACEOF
72965 done
72974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72975 $as_echo_n "checking for atan2f declaration... " >&6; }
72976 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72977 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72978 $as_echo_n "(cached) " >&6
72979 else
72982 ac_ext=cpp
72983 ac_cpp='$CXXCPP $CPPFLAGS'
72984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72989 /* end confdefs.h. */
72990 #include <math.h>
72992 main ()
72994 atan2f(0, 0);
72996 return 0;
72998 _ACEOF
72999 if ac_fn_cxx_try_compile "$LINENO"; then :
73000 glibcxx_cv_func_atan2f_use=yes
73001 else
73002 glibcxx_cv_func_atan2f_use=no
73004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73005 ac_ext=c
73006 ac_cpp='$CPP $CPPFLAGS'
73007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73016 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73018 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73019 for ac_func in atan2f
73020 do :
73021 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
73022 if test "x$ac_cv_func_atan2f" = x""yes; then :
73023 cat >>confdefs.h <<_ACEOF
73024 #define HAVE_ATAN2F 1
73025 _ACEOF
73028 done
73030 else
73032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
73033 $as_echo_n "checking for _atan2f declaration... " >&6; }
73034 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
73035 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
73036 $as_echo_n "(cached) " >&6
73037 else
73040 ac_ext=cpp
73041 ac_cpp='$CXXCPP $CPPFLAGS'
73042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73047 /* end confdefs.h. */
73048 #include <math.h>
73050 main ()
73052 _atan2f(0, 0);
73054 return 0;
73056 _ACEOF
73057 if ac_fn_cxx_try_compile "$LINENO"; then :
73058 glibcxx_cv_func__atan2f_use=yes
73059 else
73060 glibcxx_cv_func__atan2f_use=no
73062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73063 ac_ext=c
73064 ac_cpp='$CPP $CPPFLAGS'
73065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
73074 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
73076 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
73077 for ac_func in _atan2f
73078 do :
73079 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
73080 if test "x$ac_cv_func__atan2f" = x""yes; then :
73081 cat >>confdefs.h <<_ACEOF
73082 #define HAVE__ATAN2F 1
73083 _ACEOF
73086 done
73095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
73096 $as_echo_n "checking for fabsf declaration... " >&6; }
73097 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
73098 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
73099 $as_echo_n "(cached) " >&6
73100 else
73103 ac_ext=cpp
73104 ac_cpp='$CXXCPP $CPPFLAGS'
73105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73110 /* end confdefs.h. */
73111 #include <math.h>
73112 #ifdef HAVE_IEEEFP_H
73113 #include <ieeefp.h>
73114 #endif
73117 main ()
73119 fabsf(0);
73121 return 0;
73123 _ACEOF
73124 if ac_fn_cxx_try_compile "$LINENO"; then :
73125 glibcxx_cv_func_fabsf_use=yes
73126 else
73127 glibcxx_cv_func_fabsf_use=no
73129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73130 ac_ext=c
73131 ac_cpp='$CPP $CPPFLAGS'
73132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73141 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73143 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73144 for ac_func in fabsf
73145 do :
73146 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73147 if test "x$ac_cv_func_fabsf" = x""yes; then :
73148 cat >>confdefs.h <<_ACEOF
73149 #define HAVE_FABSF 1
73150 _ACEOF
73153 done
73155 else
73157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73158 $as_echo_n "checking for _fabsf declaration... " >&6; }
73159 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73160 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73161 $as_echo_n "(cached) " >&6
73162 else
73165 ac_ext=cpp
73166 ac_cpp='$CXXCPP $CPPFLAGS'
73167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73172 /* end confdefs.h. */
73173 #include <math.h>
73174 #ifdef HAVE_IEEEFP_H
73175 #include <ieeefp.h>
73176 #endif
73179 main ()
73181 _fabsf(0);
73183 return 0;
73185 _ACEOF
73186 if ac_fn_cxx_try_compile "$LINENO"; then :
73187 glibcxx_cv_func__fabsf_use=yes
73188 else
73189 glibcxx_cv_func__fabsf_use=no
73191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73192 ac_ext=c
73193 ac_cpp='$CPP $CPPFLAGS'
73194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73203 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73205 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73206 for ac_func in _fabsf
73207 do :
73208 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73209 if test "x$ac_cv_func__fabsf" = x""yes; then :
73210 cat >>confdefs.h <<_ACEOF
73211 #define HAVE__FABSF 1
73212 _ACEOF
73215 done
73224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73225 $as_echo_n "checking for fmodf declaration... " >&6; }
73226 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73227 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73228 $as_echo_n "(cached) " >&6
73229 else
73232 ac_ext=cpp
73233 ac_cpp='$CXXCPP $CPPFLAGS'
73234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73239 /* end confdefs.h. */
73240 #include <math.h>
73242 main ()
73244 fmodf(0, 0);
73246 return 0;
73248 _ACEOF
73249 if ac_fn_cxx_try_compile "$LINENO"; then :
73250 glibcxx_cv_func_fmodf_use=yes
73251 else
73252 glibcxx_cv_func_fmodf_use=no
73254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73255 ac_ext=c
73256 ac_cpp='$CPP $CPPFLAGS'
73257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73266 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73268 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73269 for ac_func in fmodf
73270 do :
73271 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73272 if test "x$ac_cv_func_fmodf" = x""yes; then :
73273 cat >>confdefs.h <<_ACEOF
73274 #define HAVE_FMODF 1
73275 _ACEOF
73278 done
73280 else
73282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73283 $as_echo_n "checking for _fmodf declaration... " >&6; }
73284 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73285 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73286 $as_echo_n "(cached) " >&6
73287 else
73290 ac_ext=cpp
73291 ac_cpp='$CXXCPP $CPPFLAGS'
73292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73297 /* end confdefs.h. */
73298 #include <math.h>
73300 main ()
73302 _fmodf(0, 0);
73304 return 0;
73306 _ACEOF
73307 if ac_fn_cxx_try_compile "$LINENO"; then :
73308 glibcxx_cv_func__fmodf_use=yes
73309 else
73310 glibcxx_cv_func__fmodf_use=no
73312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73313 ac_ext=c
73314 ac_cpp='$CPP $CPPFLAGS'
73315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73324 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73326 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73327 for ac_func in _fmodf
73328 do :
73329 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73330 if test "x$ac_cv_func__fmodf" = x""yes; then :
73331 cat >>confdefs.h <<_ACEOF
73332 #define HAVE__FMODF 1
73333 _ACEOF
73336 done
73345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73346 $as_echo_n "checking for frexpf declaration... " >&6; }
73347 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73348 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73349 $as_echo_n "(cached) " >&6
73350 else
73353 ac_ext=cpp
73354 ac_cpp='$CXXCPP $CPPFLAGS'
73355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73360 /* end confdefs.h. */
73361 #include <math.h>
73363 main ()
73365 frexpf(0, 0);
73367 return 0;
73369 _ACEOF
73370 if ac_fn_cxx_try_compile "$LINENO"; then :
73371 glibcxx_cv_func_frexpf_use=yes
73372 else
73373 glibcxx_cv_func_frexpf_use=no
73375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73376 ac_ext=c
73377 ac_cpp='$CPP $CPPFLAGS'
73378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73387 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73389 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73390 for ac_func in frexpf
73391 do :
73392 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73393 if test "x$ac_cv_func_frexpf" = x""yes; then :
73394 cat >>confdefs.h <<_ACEOF
73395 #define HAVE_FREXPF 1
73396 _ACEOF
73399 done
73401 else
73403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73404 $as_echo_n "checking for _frexpf declaration... " >&6; }
73405 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73406 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73407 $as_echo_n "(cached) " >&6
73408 else
73411 ac_ext=cpp
73412 ac_cpp='$CXXCPP $CPPFLAGS'
73413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73418 /* end confdefs.h. */
73419 #include <math.h>
73421 main ()
73423 _frexpf(0, 0);
73425 return 0;
73427 _ACEOF
73428 if ac_fn_cxx_try_compile "$LINENO"; then :
73429 glibcxx_cv_func__frexpf_use=yes
73430 else
73431 glibcxx_cv_func__frexpf_use=no
73433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73434 ac_ext=c
73435 ac_cpp='$CPP $CPPFLAGS'
73436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73445 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73447 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73448 for ac_func in _frexpf
73449 do :
73450 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73451 if test "x$ac_cv_func__frexpf" = x""yes; then :
73452 cat >>confdefs.h <<_ACEOF
73453 #define HAVE__FREXPF 1
73454 _ACEOF
73457 done
73466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73467 $as_echo_n "checking for hypotf declaration... " >&6; }
73468 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73469 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73470 $as_echo_n "(cached) " >&6
73471 else
73474 ac_ext=cpp
73475 ac_cpp='$CXXCPP $CPPFLAGS'
73476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73481 /* end confdefs.h. */
73482 #include <math.h>
73484 main ()
73486 hypotf(0, 0);
73488 return 0;
73490 _ACEOF
73491 if ac_fn_cxx_try_compile "$LINENO"; then :
73492 glibcxx_cv_func_hypotf_use=yes
73493 else
73494 glibcxx_cv_func_hypotf_use=no
73496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73497 ac_ext=c
73498 ac_cpp='$CPP $CPPFLAGS'
73499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73508 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73510 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73511 for ac_func in hypotf
73512 do :
73513 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73514 if test "x$ac_cv_func_hypotf" = x""yes; then :
73515 cat >>confdefs.h <<_ACEOF
73516 #define HAVE_HYPOTF 1
73517 _ACEOF
73520 done
73522 else
73524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73525 $as_echo_n "checking for _hypotf declaration... " >&6; }
73526 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73527 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73528 $as_echo_n "(cached) " >&6
73529 else
73532 ac_ext=cpp
73533 ac_cpp='$CXXCPP $CPPFLAGS'
73534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73539 /* end confdefs.h. */
73540 #include <math.h>
73542 main ()
73544 _hypotf(0, 0);
73546 return 0;
73548 _ACEOF
73549 if ac_fn_cxx_try_compile "$LINENO"; then :
73550 glibcxx_cv_func__hypotf_use=yes
73551 else
73552 glibcxx_cv_func__hypotf_use=no
73554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73555 ac_ext=c
73556 ac_cpp='$CPP $CPPFLAGS'
73557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73566 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73568 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73569 for ac_func in _hypotf
73570 do :
73571 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73572 if test "x$ac_cv_func__hypotf" = x""yes; then :
73573 cat >>confdefs.h <<_ACEOF
73574 #define HAVE__HYPOTF 1
73575 _ACEOF
73578 done
73587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73588 $as_echo_n "checking for ldexpf declaration... " >&6; }
73589 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73590 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73591 $as_echo_n "(cached) " >&6
73592 else
73595 ac_ext=cpp
73596 ac_cpp='$CXXCPP $CPPFLAGS'
73597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73602 /* end confdefs.h. */
73603 #include <math.h>
73605 main ()
73607 ldexpf(0, 0);
73609 return 0;
73611 _ACEOF
73612 if ac_fn_cxx_try_compile "$LINENO"; then :
73613 glibcxx_cv_func_ldexpf_use=yes
73614 else
73615 glibcxx_cv_func_ldexpf_use=no
73617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73618 ac_ext=c
73619 ac_cpp='$CPP $CPPFLAGS'
73620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73629 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73631 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73632 for ac_func in ldexpf
73633 do :
73634 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73635 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73636 cat >>confdefs.h <<_ACEOF
73637 #define HAVE_LDEXPF 1
73638 _ACEOF
73641 done
73643 else
73645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73646 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73647 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73648 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73649 $as_echo_n "(cached) " >&6
73650 else
73653 ac_ext=cpp
73654 ac_cpp='$CXXCPP $CPPFLAGS'
73655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73660 /* end confdefs.h. */
73661 #include <math.h>
73663 main ()
73665 _ldexpf(0, 0);
73667 return 0;
73669 _ACEOF
73670 if ac_fn_cxx_try_compile "$LINENO"; then :
73671 glibcxx_cv_func__ldexpf_use=yes
73672 else
73673 glibcxx_cv_func__ldexpf_use=no
73675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73676 ac_ext=c
73677 ac_cpp='$CPP $CPPFLAGS'
73678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73687 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73689 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73690 for ac_func in _ldexpf
73691 do :
73692 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73693 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73694 cat >>confdefs.h <<_ACEOF
73695 #define HAVE__LDEXPF 1
73696 _ACEOF
73699 done
73708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73709 $as_echo_n "checking for logf declaration... " >&6; }
73710 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73711 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73712 $as_echo_n "(cached) " >&6
73713 else
73716 ac_ext=cpp
73717 ac_cpp='$CXXCPP $CPPFLAGS'
73718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73723 /* end confdefs.h. */
73724 #include <math.h>
73725 #ifdef HAVE_IEEEFP_H
73726 #include <ieeefp.h>
73727 #endif
73730 main ()
73732 logf(0);
73734 return 0;
73736 _ACEOF
73737 if ac_fn_cxx_try_compile "$LINENO"; then :
73738 glibcxx_cv_func_logf_use=yes
73739 else
73740 glibcxx_cv_func_logf_use=no
73742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73743 ac_ext=c
73744 ac_cpp='$CPP $CPPFLAGS'
73745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73754 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73756 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73757 for ac_func in logf
73758 do :
73759 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73760 if test "x$ac_cv_func_logf" = x""yes; then :
73761 cat >>confdefs.h <<_ACEOF
73762 #define HAVE_LOGF 1
73763 _ACEOF
73766 done
73768 else
73770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73771 $as_echo_n "checking for _logf declaration... " >&6; }
73772 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73773 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73774 $as_echo_n "(cached) " >&6
73775 else
73778 ac_ext=cpp
73779 ac_cpp='$CXXCPP $CPPFLAGS'
73780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73785 /* end confdefs.h. */
73786 #include <math.h>
73787 #ifdef HAVE_IEEEFP_H
73788 #include <ieeefp.h>
73789 #endif
73792 main ()
73794 _logf(0);
73796 return 0;
73798 _ACEOF
73799 if ac_fn_cxx_try_compile "$LINENO"; then :
73800 glibcxx_cv_func__logf_use=yes
73801 else
73802 glibcxx_cv_func__logf_use=no
73804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73805 ac_ext=c
73806 ac_cpp='$CPP $CPPFLAGS'
73807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73816 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73818 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73819 for ac_func in _logf
73820 do :
73821 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73822 if test "x$ac_cv_func__logf" = x""yes; then :
73823 cat >>confdefs.h <<_ACEOF
73824 #define HAVE__LOGF 1
73825 _ACEOF
73828 done
73837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73838 $as_echo_n "checking for log10f declaration... " >&6; }
73839 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73840 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73841 $as_echo_n "(cached) " >&6
73842 else
73845 ac_ext=cpp
73846 ac_cpp='$CXXCPP $CPPFLAGS'
73847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73852 /* end confdefs.h. */
73853 #include <math.h>
73854 #ifdef HAVE_IEEEFP_H
73855 #include <ieeefp.h>
73856 #endif
73859 main ()
73861 log10f(0);
73863 return 0;
73865 _ACEOF
73866 if ac_fn_cxx_try_compile "$LINENO"; then :
73867 glibcxx_cv_func_log10f_use=yes
73868 else
73869 glibcxx_cv_func_log10f_use=no
73871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73872 ac_ext=c
73873 ac_cpp='$CPP $CPPFLAGS'
73874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73883 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73885 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73886 for ac_func in log10f
73887 do :
73888 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73889 if test "x$ac_cv_func_log10f" = x""yes; then :
73890 cat >>confdefs.h <<_ACEOF
73891 #define HAVE_LOG10F 1
73892 _ACEOF
73895 done
73897 else
73899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73900 $as_echo_n "checking for _log10f declaration... " >&6; }
73901 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73902 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73903 $as_echo_n "(cached) " >&6
73904 else
73907 ac_ext=cpp
73908 ac_cpp='$CXXCPP $CPPFLAGS'
73909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73914 /* end confdefs.h. */
73915 #include <math.h>
73916 #ifdef HAVE_IEEEFP_H
73917 #include <ieeefp.h>
73918 #endif
73921 main ()
73923 _log10f(0);
73925 return 0;
73927 _ACEOF
73928 if ac_fn_cxx_try_compile "$LINENO"; then :
73929 glibcxx_cv_func__log10f_use=yes
73930 else
73931 glibcxx_cv_func__log10f_use=no
73933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73934 ac_ext=c
73935 ac_cpp='$CPP $CPPFLAGS'
73936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73945 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73947 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73948 for ac_func in _log10f
73949 do :
73950 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73951 if test "x$ac_cv_func__log10f" = x""yes; then :
73952 cat >>confdefs.h <<_ACEOF
73953 #define HAVE__LOG10F 1
73954 _ACEOF
73957 done
73966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73967 $as_echo_n "checking for modff declaration... " >&6; }
73968 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73969 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73970 $as_echo_n "(cached) " >&6
73971 else
73974 ac_ext=cpp
73975 ac_cpp='$CXXCPP $CPPFLAGS'
73976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73981 /* end confdefs.h. */
73982 #include <math.h>
73984 main ()
73986 modff(0, 0);
73988 return 0;
73990 _ACEOF
73991 if ac_fn_cxx_try_compile "$LINENO"; then :
73992 glibcxx_cv_func_modff_use=yes
73993 else
73994 glibcxx_cv_func_modff_use=no
73996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73997 ac_ext=c
73998 ac_cpp='$CPP $CPPFLAGS'
73999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74008 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74010 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74011 for ac_func in modff
74012 do :
74013 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74014 if test "x$ac_cv_func_modff" = x""yes; then :
74015 cat >>confdefs.h <<_ACEOF
74016 #define HAVE_MODFF 1
74017 _ACEOF
74020 done
74022 else
74024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
74025 $as_echo_n "checking for _modff declaration... " >&6; }
74026 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74027 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
74028 $as_echo_n "(cached) " >&6
74029 else
74032 ac_ext=cpp
74033 ac_cpp='$CXXCPP $CPPFLAGS'
74034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74039 /* end confdefs.h. */
74040 #include <math.h>
74042 main ()
74044 _modff(0, 0);
74046 return 0;
74048 _ACEOF
74049 if ac_fn_cxx_try_compile "$LINENO"; then :
74050 glibcxx_cv_func__modff_use=yes
74051 else
74052 glibcxx_cv_func__modff_use=no
74054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74055 ac_ext=c
74056 ac_cpp='$CPP $CPPFLAGS'
74057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
74066 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
74068 if test x$glibcxx_cv_func__modff_use = x"yes"; then
74069 for ac_func in _modff
74070 do :
74071 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
74072 if test "x$ac_cv_func__modff" = x""yes; then :
74073 cat >>confdefs.h <<_ACEOF
74074 #define HAVE__MODFF 1
74075 _ACEOF
74078 done
74087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
74088 $as_echo_n "checking for modf declaration... " >&6; }
74089 if test x${glibcxx_cv_func_modf_use+set} != xset; then
74090 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
74091 $as_echo_n "(cached) " >&6
74092 else
74095 ac_ext=cpp
74096 ac_cpp='$CXXCPP $CPPFLAGS'
74097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74102 /* end confdefs.h. */
74103 #include <math.h>
74105 main ()
74107 modf(0, 0);
74109 return 0;
74111 _ACEOF
74112 if ac_fn_cxx_try_compile "$LINENO"; then :
74113 glibcxx_cv_func_modf_use=yes
74114 else
74115 glibcxx_cv_func_modf_use=no
74117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74118 ac_ext=c
74119 ac_cpp='$CPP $CPPFLAGS'
74120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74129 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74131 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74132 for ac_func in modf
74133 do :
74134 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74135 if test "x$ac_cv_func_modf" = x""yes; then :
74136 cat >>confdefs.h <<_ACEOF
74137 #define HAVE_MODF 1
74138 _ACEOF
74141 done
74143 else
74145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74146 $as_echo_n "checking for _modf declaration... " >&6; }
74147 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74148 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74149 $as_echo_n "(cached) " >&6
74150 else
74153 ac_ext=cpp
74154 ac_cpp='$CXXCPP $CPPFLAGS'
74155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74160 /* end confdefs.h. */
74161 #include <math.h>
74163 main ()
74165 _modf(0, 0);
74167 return 0;
74169 _ACEOF
74170 if ac_fn_cxx_try_compile "$LINENO"; then :
74171 glibcxx_cv_func__modf_use=yes
74172 else
74173 glibcxx_cv_func__modf_use=no
74175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74176 ac_ext=c
74177 ac_cpp='$CPP $CPPFLAGS'
74178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74187 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74189 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74190 for ac_func in _modf
74191 do :
74192 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74193 if test "x$ac_cv_func__modf" = x""yes; then :
74194 cat >>confdefs.h <<_ACEOF
74195 #define HAVE__MODF 1
74196 _ACEOF
74199 done
74208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74209 $as_echo_n "checking for powf declaration... " >&6; }
74210 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74211 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74212 $as_echo_n "(cached) " >&6
74213 else
74216 ac_ext=cpp
74217 ac_cpp='$CXXCPP $CPPFLAGS'
74218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74223 /* end confdefs.h. */
74224 #include <math.h>
74226 main ()
74228 powf(0, 0);
74230 return 0;
74232 _ACEOF
74233 if ac_fn_cxx_try_compile "$LINENO"; then :
74234 glibcxx_cv_func_powf_use=yes
74235 else
74236 glibcxx_cv_func_powf_use=no
74238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74239 ac_ext=c
74240 ac_cpp='$CPP $CPPFLAGS'
74241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74250 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74252 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74253 for ac_func in powf
74254 do :
74255 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74256 if test "x$ac_cv_func_powf" = x""yes; then :
74257 cat >>confdefs.h <<_ACEOF
74258 #define HAVE_POWF 1
74259 _ACEOF
74262 done
74264 else
74266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74267 $as_echo_n "checking for _powf declaration... " >&6; }
74268 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74269 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74270 $as_echo_n "(cached) " >&6
74271 else
74274 ac_ext=cpp
74275 ac_cpp='$CXXCPP $CPPFLAGS'
74276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74281 /* end confdefs.h. */
74282 #include <math.h>
74284 main ()
74286 _powf(0, 0);
74288 return 0;
74290 _ACEOF
74291 if ac_fn_cxx_try_compile "$LINENO"; then :
74292 glibcxx_cv_func__powf_use=yes
74293 else
74294 glibcxx_cv_func__powf_use=no
74296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74297 ac_ext=c
74298 ac_cpp='$CPP $CPPFLAGS'
74299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74308 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74310 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74311 for ac_func in _powf
74312 do :
74313 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74314 if test "x$ac_cv_func__powf" = x""yes; then :
74315 cat >>confdefs.h <<_ACEOF
74316 #define HAVE__POWF 1
74317 _ACEOF
74320 done
74329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74330 $as_echo_n "checking for sqrtf declaration... " >&6; }
74331 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74332 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74333 $as_echo_n "(cached) " >&6
74334 else
74337 ac_ext=cpp
74338 ac_cpp='$CXXCPP $CPPFLAGS'
74339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74344 /* end confdefs.h. */
74345 #include <math.h>
74346 #ifdef HAVE_IEEEFP_H
74347 #include <ieeefp.h>
74348 #endif
74351 main ()
74353 sqrtf(0);
74355 return 0;
74357 _ACEOF
74358 if ac_fn_cxx_try_compile "$LINENO"; then :
74359 glibcxx_cv_func_sqrtf_use=yes
74360 else
74361 glibcxx_cv_func_sqrtf_use=no
74363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74364 ac_ext=c
74365 ac_cpp='$CPP $CPPFLAGS'
74366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74375 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74377 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74378 for ac_func in sqrtf
74379 do :
74380 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74381 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74382 cat >>confdefs.h <<_ACEOF
74383 #define HAVE_SQRTF 1
74384 _ACEOF
74387 done
74389 else
74391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74392 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74393 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74394 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74395 $as_echo_n "(cached) " >&6
74396 else
74399 ac_ext=cpp
74400 ac_cpp='$CXXCPP $CPPFLAGS'
74401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74406 /* end confdefs.h. */
74407 #include <math.h>
74408 #ifdef HAVE_IEEEFP_H
74409 #include <ieeefp.h>
74410 #endif
74413 main ()
74415 _sqrtf(0);
74417 return 0;
74419 _ACEOF
74420 if ac_fn_cxx_try_compile "$LINENO"; then :
74421 glibcxx_cv_func__sqrtf_use=yes
74422 else
74423 glibcxx_cv_func__sqrtf_use=no
74425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74426 ac_ext=c
74427 ac_cpp='$CPP $CPPFLAGS'
74428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74437 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74439 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74440 for ac_func in _sqrtf
74441 do :
74442 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74443 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74444 cat >>confdefs.h <<_ACEOF
74445 #define HAVE__SQRTF 1
74446 _ACEOF
74449 done
74458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74459 $as_echo_n "checking for sincosf declaration... " >&6; }
74460 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74461 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74462 $as_echo_n "(cached) " >&6
74463 else
74466 ac_ext=cpp
74467 ac_cpp='$CXXCPP $CPPFLAGS'
74468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74473 /* end confdefs.h. */
74474 #include <math.h>
74476 main ()
74478 sincosf(0, 0, 0);
74480 return 0;
74482 _ACEOF
74483 if ac_fn_cxx_try_compile "$LINENO"; then :
74484 glibcxx_cv_func_sincosf_use=yes
74485 else
74486 glibcxx_cv_func_sincosf_use=no
74488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74489 ac_ext=c
74490 ac_cpp='$CPP $CPPFLAGS'
74491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74500 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74502 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74503 for ac_func in sincosf
74504 do :
74505 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74506 if test "x$ac_cv_func_sincosf" = x""yes; then :
74507 cat >>confdefs.h <<_ACEOF
74508 #define HAVE_SINCOSF 1
74509 _ACEOF
74512 done
74514 else
74516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74517 $as_echo_n "checking for _sincosf declaration... " >&6; }
74518 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74519 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74520 $as_echo_n "(cached) " >&6
74521 else
74524 ac_ext=cpp
74525 ac_cpp='$CXXCPP $CPPFLAGS'
74526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74531 /* end confdefs.h. */
74532 #include <math.h>
74534 main ()
74536 _sincosf(0, 0, 0);
74538 return 0;
74540 _ACEOF
74541 if ac_fn_cxx_try_compile "$LINENO"; then :
74542 glibcxx_cv_func__sincosf_use=yes
74543 else
74544 glibcxx_cv_func__sincosf_use=no
74546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74547 ac_ext=c
74548 ac_cpp='$CPP $CPPFLAGS'
74549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74558 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74560 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74561 for ac_func in _sincosf
74562 do :
74563 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74564 if test "x$ac_cv_func__sincosf" = x""yes; then :
74565 cat >>confdefs.h <<_ACEOF
74566 #define HAVE__SINCOSF 1
74567 _ACEOF
74570 done
74579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74580 $as_echo_n "checking for finitef declaration... " >&6; }
74581 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74582 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74583 $as_echo_n "(cached) " >&6
74584 else
74587 ac_ext=cpp
74588 ac_cpp='$CXXCPP $CPPFLAGS'
74589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74594 /* end confdefs.h. */
74595 #include <math.h>
74596 #ifdef HAVE_IEEEFP_H
74597 #include <ieeefp.h>
74598 #endif
74601 main ()
74603 finitef(0);
74605 return 0;
74607 _ACEOF
74608 if ac_fn_cxx_try_compile "$LINENO"; then :
74609 glibcxx_cv_func_finitef_use=yes
74610 else
74611 glibcxx_cv_func_finitef_use=no
74613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74614 ac_ext=c
74615 ac_cpp='$CPP $CPPFLAGS'
74616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74625 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74627 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74628 for ac_func in finitef
74629 do :
74630 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74631 if test "x$ac_cv_func_finitef" = x""yes; then :
74632 cat >>confdefs.h <<_ACEOF
74633 #define HAVE_FINITEF 1
74634 _ACEOF
74637 done
74639 else
74641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74642 $as_echo_n "checking for _finitef declaration... " >&6; }
74643 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74644 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74645 $as_echo_n "(cached) " >&6
74646 else
74649 ac_ext=cpp
74650 ac_cpp='$CXXCPP $CPPFLAGS'
74651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74656 /* end confdefs.h. */
74657 #include <math.h>
74658 #ifdef HAVE_IEEEFP_H
74659 #include <ieeefp.h>
74660 #endif
74663 main ()
74665 _finitef(0);
74667 return 0;
74669 _ACEOF
74670 if ac_fn_cxx_try_compile "$LINENO"; then :
74671 glibcxx_cv_func__finitef_use=yes
74672 else
74673 glibcxx_cv_func__finitef_use=no
74675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74676 ac_ext=c
74677 ac_cpp='$CPP $CPPFLAGS'
74678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74687 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74689 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74690 for ac_func in _finitef
74691 do :
74692 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74693 if test "x$ac_cv_func__finitef" = x""yes; then :
74694 cat >>confdefs.h <<_ACEOF
74695 #define HAVE__FINITEF 1
74696 _ACEOF
74699 done
74708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74709 $as_echo_n "checking for long double trig functions... " >&6; }
74710 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74711 $as_echo_n "(cached) " >&6
74712 else
74715 ac_ext=cpp
74716 ac_cpp='$CXXCPP $CPPFLAGS'
74717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74722 /* end confdefs.h. */
74723 #include <math.h>
74725 main ()
74727 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74729 return 0;
74731 _ACEOF
74732 if ac_fn_cxx_try_compile "$LINENO"; then :
74733 glibcxx_cv_func_long_double_trig_use=yes
74734 else
74735 glibcxx_cv_func_long_double_trig_use=no
74737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74738 ac_ext=c
74739 ac_cpp='$CPP $CPPFLAGS'
74740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74747 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74748 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74749 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74750 do :
74751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74753 eval as_val=\$$as_ac_var
74754 if test "x$as_val" = x""yes; then :
74755 cat >>confdefs.h <<_ACEOF
74756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74757 _ACEOF
74760 done
74762 else
74763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74764 $as_echo_n "checking for _long double trig functions... " >&6; }
74765 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74766 $as_echo_n "(cached) " >&6
74767 else
74770 ac_ext=cpp
74771 ac_cpp='$CXXCPP $CPPFLAGS'
74772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74777 /* end confdefs.h. */
74778 #include <math.h>
74780 main ()
74782 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74784 return 0;
74786 _ACEOF
74787 if ac_fn_cxx_try_compile "$LINENO"; then :
74788 glibcxx_cv_func__long_double_trig_use=yes
74789 else
74790 glibcxx_cv_func__long_double_trig_use=no
74792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74793 ac_ext=c
74794 ac_cpp='$CPP $CPPFLAGS'
74795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74802 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74803 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74804 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74805 do :
74806 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74807 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74808 eval as_val=\$$as_ac_var
74809 if test "x$as_val" = x""yes; then :
74810 cat >>confdefs.h <<_ACEOF
74811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74812 _ACEOF
74815 done
74824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74825 $as_echo_n "checking for long double round functions... " >&6; }
74826 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74827 $as_echo_n "(cached) " >&6
74828 else
74831 ac_ext=cpp
74832 ac_cpp='$CXXCPP $CPPFLAGS'
74833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74838 /* end confdefs.h. */
74839 #include <math.h>
74841 main ()
74843 ceill (0); floorl (0);
74845 return 0;
74847 _ACEOF
74848 if ac_fn_cxx_try_compile "$LINENO"; then :
74849 glibcxx_cv_func_long_double_round_use=yes
74850 else
74851 glibcxx_cv_func_long_double_round_use=no
74853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74854 ac_ext=c
74855 ac_cpp='$CPP $CPPFLAGS'
74856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74863 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74864 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74865 for ac_func in ceill floorl
74866 do :
74867 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74868 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74869 eval as_val=\$$as_ac_var
74870 if test "x$as_val" = x""yes; then :
74871 cat >>confdefs.h <<_ACEOF
74872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74873 _ACEOF
74876 done
74878 else
74879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74880 $as_echo_n "checking for _long double round functions... " >&6; }
74881 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74882 $as_echo_n "(cached) " >&6
74883 else
74886 ac_ext=cpp
74887 ac_cpp='$CXXCPP $CPPFLAGS'
74888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74893 /* end confdefs.h. */
74894 #include <math.h>
74896 main ()
74898 _ceill (0); _floorl (0);
74900 return 0;
74902 _ACEOF
74903 if ac_fn_cxx_try_compile "$LINENO"; then :
74904 glibcxx_cv_func__long_double_round_use=yes
74905 else
74906 glibcxx_cv_func__long_double_round_use=no
74908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74909 ac_ext=c
74910 ac_cpp='$CPP $CPPFLAGS'
74911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74918 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74919 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74920 for ac_func in _ceill _floorl
74921 do :
74922 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74923 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74924 eval as_val=\$$as_ac_var
74925 if test "x$as_val" = x""yes; then :
74926 cat >>confdefs.h <<_ACEOF
74927 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74928 _ACEOF
74931 done
74941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74942 $as_echo_n "checking for isnanl declaration... " >&6; }
74943 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74944 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74945 $as_echo_n "(cached) " >&6
74946 else
74949 ac_ext=cpp
74950 ac_cpp='$CXXCPP $CPPFLAGS'
74951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74956 /* end confdefs.h. */
74957 #include <math.h>
74958 #ifdef HAVE_IEEEFP_H
74959 #include <ieeefp.h>
74960 #endif
74963 main ()
74965 isnanl(0);
74967 return 0;
74969 _ACEOF
74970 if ac_fn_cxx_try_compile "$LINENO"; then :
74971 glibcxx_cv_func_isnanl_use=yes
74972 else
74973 glibcxx_cv_func_isnanl_use=no
74975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74976 ac_ext=c
74977 ac_cpp='$CPP $CPPFLAGS'
74978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74987 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74989 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74990 for ac_func in isnanl
74991 do :
74992 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74993 if test "x$ac_cv_func_isnanl" = x""yes; then :
74994 cat >>confdefs.h <<_ACEOF
74995 #define HAVE_ISNANL 1
74996 _ACEOF
74999 done
75001 else
75003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75004 $as_echo_n "checking for _isnanl declaration... " >&6; }
75005 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75006 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75007 $as_echo_n "(cached) " >&6
75008 else
75011 ac_ext=cpp
75012 ac_cpp='$CXXCPP $CPPFLAGS'
75013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75018 /* end confdefs.h. */
75019 #include <math.h>
75020 #ifdef HAVE_IEEEFP_H
75021 #include <ieeefp.h>
75022 #endif
75025 main ()
75027 _isnanl(0);
75029 return 0;
75031 _ACEOF
75032 if ac_fn_cxx_try_compile "$LINENO"; then :
75033 glibcxx_cv_func__isnanl_use=yes
75034 else
75035 glibcxx_cv_func__isnanl_use=no
75037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75038 ac_ext=c
75039 ac_cpp='$CPP $CPPFLAGS'
75040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
75049 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
75051 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75052 for ac_func in _isnanl
75053 do :
75054 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
75055 if test "x$ac_cv_func__isnanl" = x""yes; then :
75056 cat >>confdefs.h <<_ACEOF
75057 #define HAVE__ISNANL 1
75058 _ACEOF
75061 done
75070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
75071 $as_echo_n "checking for isinfl declaration... " >&6; }
75072 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75073 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
75074 $as_echo_n "(cached) " >&6
75075 else
75078 ac_ext=cpp
75079 ac_cpp='$CXXCPP $CPPFLAGS'
75080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75085 /* end confdefs.h. */
75086 #include <math.h>
75087 #ifdef HAVE_IEEEFP_H
75088 #include <ieeefp.h>
75089 #endif
75092 main ()
75094 isinfl(0);
75096 return 0;
75098 _ACEOF
75099 if ac_fn_cxx_try_compile "$LINENO"; then :
75100 glibcxx_cv_func_isinfl_use=yes
75101 else
75102 glibcxx_cv_func_isinfl_use=no
75104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75105 ac_ext=c
75106 ac_cpp='$CPP $CPPFLAGS'
75107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
75116 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75118 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75119 for ac_func in isinfl
75120 do :
75121 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75122 if test "x$ac_cv_func_isinfl" = x""yes; then :
75123 cat >>confdefs.h <<_ACEOF
75124 #define HAVE_ISINFL 1
75125 _ACEOF
75128 done
75130 else
75132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75133 $as_echo_n "checking for _isinfl declaration... " >&6; }
75134 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75135 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75136 $as_echo_n "(cached) " >&6
75137 else
75140 ac_ext=cpp
75141 ac_cpp='$CXXCPP $CPPFLAGS'
75142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75147 /* end confdefs.h. */
75148 #include <math.h>
75149 #ifdef HAVE_IEEEFP_H
75150 #include <ieeefp.h>
75151 #endif
75154 main ()
75156 _isinfl(0);
75158 return 0;
75160 _ACEOF
75161 if ac_fn_cxx_try_compile "$LINENO"; then :
75162 glibcxx_cv_func__isinfl_use=yes
75163 else
75164 glibcxx_cv_func__isinfl_use=no
75166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75167 ac_ext=c
75168 ac_cpp='$CPP $CPPFLAGS'
75169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75178 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75180 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75181 for ac_func in _isinfl
75182 do :
75183 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75184 if test "x$ac_cv_func__isinfl" = x""yes; then :
75185 cat >>confdefs.h <<_ACEOF
75186 #define HAVE__ISINFL 1
75187 _ACEOF
75190 done
75199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75200 $as_echo_n "checking for atan2l declaration... " >&6; }
75201 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75202 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75203 $as_echo_n "(cached) " >&6
75204 else
75207 ac_ext=cpp
75208 ac_cpp='$CXXCPP $CPPFLAGS'
75209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75214 /* end confdefs.h. */
75215 #include <math.h>
75217 main ()
75219 atan2l(0, 0);
75221 return 0;
75223 _ACEOF
75224 if ac_fn_cxx_try_compile "$LINENO"; then :
75225 glibcxx_cv_func_atan2l_use=yes
75226 else
75227 glibcxx_cv_func_atan2l_use=no
75229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75230 ac_ext=c
75231 ac_cpp='$CPP $CPPFLAGS'
75232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75241 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75243 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75244 for ac_func in atan2l
75245 do :
75246 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75247 if test "x$ac_cv_func_atan2l" = x""yes; then :
75248 cat >>confdefs.h <<_ACEOF
75249 #define HAVE_ATAN2L 1
75250 _ACEOF
75253 done
75255 else
75257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75258 $as_echo_n "checking for _atan2l declaration... " >&6; }
75259 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75260 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75261 $as_echo_n "(cached) " >&6
75262 else
75265 ac_ext=cpp
75266 ac_cpp='$CXXCPP $CPPFLAGS'
75267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75272 /* end confdefs.h. */
75273 #include <math.h>
75275 main ()
75277 _atan2l(0, 0);
75279 return 0;
75281 _ACEOF
75282 if ac_fn_cxx_try_compile "$LINENO"; then :
75283 glibcxx_cv_func__atan2l_use=yes
75284 else
75285 glibcxx_cv_func__atan2l_use=no
75287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75288 ac_ext=c
75289 ac_cpp='$CPP $CPPFLAGS'
75290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75299 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75301 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75302 for ac_func in _atan2l
75303 do :
75304 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75305 if test "x$ac_cv_func__atan2l" = x""yes; then :
75306 cat >>confdefs.h <<_ACEOF
75307 #define HAVE__ATAN2L 1
75308 _ACEOF
75311 done
75320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75321 $as_echo_n "checking for expl declaration... " >&6; }
75322 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75323 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75324 $as_echo_n "(cached) " >&6
75325 else
75328 ac_ext=cpp
75329 ac_cpp='$CXXCPP $CPPFLAGS'
75330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75335 /* end confdefs.h. */
75336 #include <math.h>
75337 #ifdef HAVE_IEEEFP_H
75338 #include <ieeefp.h>
75339 #endif
75342 main ()
75344 expl(0);
75346 return 0;
75348 _ACEOF
75349 if ac_fn_cxx_try_compile "$LINENO"; then :
75350 glibcxx_cv_func_expl_use=yes
75351 else
75352 glibcxx_cv_func_expl_use=no
75354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75355 ac_ext=c
75356 ac_cpp='$CPP $CPPFLAGS'
75357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75366 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75368 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75369 for ac_func in expl
75370 do :
75371 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75372 if test "x$ac_cv_func_expl" = x""yes; then :
75373 cat >>confdefs.h <<_ACEOF
75374 #define HAVE_EXPL 1
75375 _ACEOF
75378 done
75380 else
75382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75383 $as_echo_n "checking for _expl declaration... " >&6; }
75384 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75385 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75386 $as_echo_n "(cached) " >&6
75387 else
75390 ac_ext=cpp
75391 ac_cpp='$CXXCPP $CPPFLAGS'
75392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75397 /* end confdefs.h. */
75398 #include <math.h>
75399 #ifdef HAVE_IEEEFP_H
75400 #include <ieeefp.h>
75401 #endif
75404 main ()
75406 _expl(0);
75408 return 0;
75410 _ACEOF
75411 if ac_fn_cxx_try_compile "$LINENO"; then :
75412 glibcxx_cv_func__expl_use=yes
75413 else
75414 glibcxx_cv_func__expl_use=no
75416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75417 ac_ext=c
75418 ac_cpp='$CPP $CPPFLAGS'
75419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75428 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75430 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75431 for ac_func in _expl
75432 do :
75433 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75434 if test "x$ac_cv_func__expl" = x""yes; then :
75435 cat >>confdefs.h <<_ACEOF
75436 #define HAVE__EXPL 1
75437 _ACEOF
75440 done
75449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75450 $as_echo_n "checking for fabsl declaration... " >&6; }
75451 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75452 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75453 $as_echo_n "(cached) " >&6
75454 else
75457 ac_ext=cpp
75458 ac_cpp='$CXXCPP $CPPFLAGS'
75459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75464 /* end confdefs.h. */
75465 #include <math.h>
75466 #ifdef HAVE_IEEEFP_H
75467 #include <ieeefp.h>
75468 #endif
75471 main ()
75473 fabsl(0);
75475 return 0;
75477 _ACEOF
75478 if ac_fn_cxx_try_compile "$LINENO"; then :
75479 glibcxx_cv_func_fabsl_use=yes
75480 else
75481 glibcxx_cv_func_fabsl_use=no
75483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75484 ac_ext=c
75485 ac_cpp='$CPP $CPPFLAGS'
75486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75495 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75497 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75498 for ac_func in fabsl
75499 do :
75500 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75501 if test "x$ac_cv_func_fabsl" = x""yes; then :
75502 cat >>confdefs.h <<_ACEOF
75503 #define HAVE_FABSL 1
75504 _ACEOF
75507 done
75509 else
75511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75512 $as_echo_n "checking for _fabsl declaration... " >&6; }
75513 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75514 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75515 $as_echo_n "(cached) " >&6
75516 else
75519 ac_ext=cpp
75520 ac_cpp='$CXXCPP $CPPFLAGS'
75521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75526 /* end confdefs.h. */
75527 #include <math.h>
75528 #ifdef HAVE_IEEEFP_H
75529 #include <ieeefp.h>
75530 #endif
75533 main ()
75535 _fabsl(0);
75537 return 0;
75539 _ACEOF
75540 if ac_fn_cxx_try_compile "$LINENO"; then :
75541 glibcxx_cv_func__fabsl_use=yes
75542 else
75543 glibcxx_cv_func__fabsl_use=no
75545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75546 ac_ext=c
75547 ac_cpp='$CPP $CPPFLAGS'
75548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75557 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75559 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75560 for ac_func in _fabsl
75561 do :
75562 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75563 if test "x$ac_cv_func__fabsl" = x""yes; then :
75564 cat >>confdefs.h <<_ACEOF
75565 #define HAVE__FABSL 1
75566 _ACEOF
75569 done
75578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75579 $as_echo_n "checking for fmodl declaration... " >&6; }
75580 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75581 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75582 $as_echo_n "(cached) " >&6
75583 else
75586 ac_ext=cpp
75587 ac_cpp='$CXXCPP $CPPFLAGS'
75588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75593 /* end confdefs.h. */
75594 #include <math.h>
75596 main ()
75598 fmodl(0, 0);
75600 return 0;
75602 _ACEOF
75603 if ac_fn_cxx_try_compile "$LINENO"; then :
75604 glibcxx_cv_func_fmodl_use=yes
75605 else
75606 glibcxx_cv_func_fmodl_use=no
75608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75609 ac_ext=c
75610 ac_cpp='$CPP $CPPFLAGS'
75611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75620 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75622 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75623 for ac_func in fmodl
75624 do :
75625 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75626 if test "x$ac_cv_func_fmodl" = x""yes; then :
75627 cat >>confdefs.h <<_ACEOF
75628 #define HAVE_FMODL 1
75629 _ACEOF
75632 done
75634 else
75636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75637 $as_echo_n "checking for _fmodl declaration... " >&6; }
75638 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75639 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75640 $as_echo_n "(cached) " >&6
75641 else
75644 ac_ext=cpp
75645 ac_cpp='$CXXCPP $CPPFLAGS'
75646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75651 /* end confdefs.h. */
75652 #include <math.h>
75654 main ()
75656 _fmodl(0, 0);
75658 return 0;
75660 _ACEOF
75661 if ac_fn_cxx_try_compile "$LINENO"; then :
75662 glibcxx_cv_func__fmodl_use=yes
75663 else
75664 glibcxx_cv_func__fmodl_use=no
75666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75667 ac_ext=c
75668 ac_cpp='$CPP $CPPFLAGS'
75669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75678 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75680 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75681 for ac_func in _fmodl
75682 do :
75683 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75684 if test "x$ac_cv_func__fmodl" = x""yes; then :
75685 cat >>confdefs.h <<_ACEOF
75686 #define HAVE__FMODL 1
75687 _ACEOF
75690 done
75699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75700 $as_echo_n "checking for frexpl declaration... " >&6; }
75701 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75702 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75703 $as_echo_n "(cached) " >&6
75704 else
75707 ac_ext=cpp
75708 ac_cpp='$CXXCPP $CPPFLAGS'
75709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75714 /* end confdefs.h. */
75715 #include <math.h>
75717 main ()
75719 frexpl(0, 0);
75721 return 0;
75723 _ACEOF
75724 if ac_fn_cxx_try_compile "$LINENO"; then :
75725 glibcxx_cv_func_frexpl_use=yes
75726 else
75727 glibcxx_cv_func_frexpl_use=no
75729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75730 ac_ext=c
75731 ac_cpp='$CPP $CPPFLAGS'
75732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75741 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75743 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75744 for ac_func in frexpl
75745 do :
75746 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75747 if test "x$ac_cv_func_frexpl" = x""yes; then :
75748 cat >>confdefs.h <<_ACEOF
75749 #define HAVE_FREXPL 1
75750 _ACEOF
75753 done
75755 else
75757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75758 $as_echo_n "checking for _frexpl declaration... " >&6; }
75759 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75760 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75761 $as_echo_n "(cached) " >&6
75762 else
75765 ac_ext=cpp
75766 ac_cpp='$CXXCPP $CPPFLAGS'
75767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75772 /* end confdefs.h. */
75773 #include <math.h>
75775 main ()
75777 _frexpl(0, 0);
75779 return 0;
75781 _ACEOF
75782 if ac_fn_cxx_try_compile "$LINENO"; then :
75783 glibcxx_cv_func__frexpl_use=yes
75784 else
75785 glibcxx_cv_func__frexpl_use=no
75787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75788 ac_ext=c
75789 ac_cpp='$CPP $CPPFLAGS'
75790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75799 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75801 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75802 for ac_func in _frexpl
75803 do :
75804 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75805 if test "x$ac_cv_func__frexpl" = x""yes; then :
75806 cat >>confdefs.h <<_ACEOF
75807 #define HAVE__FREXPL 1
75808 _ACEOF
75811 done
75820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75821 $as_echo_n "checking for hypotl declaration... " >&6; }
75822 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75823 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75824 $as_echo_n "(cached) " >&6
75825 else
75828 ac_ext=cpp
75829 ac_cpp='$CXXCPP $CPPFLAGS'
75830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75835 /* end confdefs.h. */
75836 #include <math.h>
75838 main ()
75840 hypotl(0, 0);
75842 return 0;
75844 _ACEOF
75845 if ac_fn_cxx_try_compile "$LINENO"; then :
75846 glibcxx_cv_func_hypotl_use=yes
75847 else
75848 glibcxx_cv_func_hypotl_use=no
75850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75851 ac_ext=c
75852 ac_cpp='$CPP $CPPFLAGS'
75853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75862 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75864 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75865 for ac_func in hypotl
75866 do :
75867 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75868 if test "x$ac_cv_func_hypotl" = x""yes; then :
75869 cat >>confdefs.h <<_ACEOF
75870 #define HAVE_HYPOTL 1
75871 _ACEOF
75874 done
75876 else
75878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75879 $as_echo_n "checking for _hypotl declaration... " >&6; }
75880 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75881 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75882 $as_echo_n "(cached) " >&6
75883 else
75886 ac_ext=cpp
75887 ac_cpp='$CXXCPP $CPPFLAGS'
75888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75893 /* end confdefs.h. */
75894 #include <math.h>
75896 main ()
75898 _hypotl(0, 0);
75900 return 0;
75902 _ACEOF
75903 if ac_fn_cxx_try_compile "$LINENO"; then :
75904 glibcxx_cv_func__hypotl_use=yes
75905 else
75906 glibcxx_cv_func__hypotl_use=no
75908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75909 ac_ext=c
75910 ac_cpp='$CPP $CPPFLAGS'
75911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75920 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75922 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75923 for ac_func in _hypotl
75924 do :
75925 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75926 if test "x$ac_cv_func__hypotl" = x""yes; then :
75927 cat >>confdefs.h <<_ACEOF
75928 #define HAVE__HYPOTL 1
75929 _ACEOF
75932 done
75941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75942 $as_echo_n "checking for ldexpl declaration... " >&6; }
75943 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75944 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75945 $as_echo_n "(cached) " >&6
75946 else
75949 ac_ext=cpp
75950 ac_cpp='$CXXCPP $CPPFLAGS'
75951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75956 /* end confdefs.h. */
75957 #include <math.h>
75959 main ()
75961 ldexpl(0, 0);
75963 return 0;
75965 _ACEOF
75966 if ac_fn_cxx_try_compile "$LINENO"; then :
75967 glibcxx_cv_func_ldexpl_use=yes
75968 else
75969 glibcxx_cv_func_ldexpl_use=no
75971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75972 ac_ext=c
75973 ac_cpp='$CPP $CPPFLAGS'
75974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75983 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75985 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75986 for ac_func in ldexpl
75987 do :
75988 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75989 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75990 cat >>confdefs.h <<_ACEOF
75991 #define HAVE_LDEXPL 1
75992 _ACEOF
75995 done
75997 else
75999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76000 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76001 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76002 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76003 $as_echo_n "(cached) " >&6
76004 else
76007 ac_ext=cpp
76008 ac_cpp='$CXXCPP $CPPFLAGS'
76009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76014 /* end confdefs.h. */
76015 #include <math.h>
76017 main ()
76019 _ldexpl(0, 0);
76021 return 0;
76023 _ACEOF
76024 if ac_fn_cxx_try_compile "$LINENO"; then :
76025 glibcxx_cv_func__ldexpl_use=yes
76026 else
76027 glibcxx_cv_func__ldexpl_use=no
76029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76030 ac_ext=c
76031 ac_cpp='$CPP $CPPFLAGS'
76032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
76041 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
76043 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76044 for ac_func in _ldexpl
76045 do :
76046 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
76047 if test "x$ac_cv_func__ldexpl" = x""yes; then :
76048 cat >>confdefs.h <<_ACEOF
76049 #define HAVE__LDEXPL 1
76050 _ACEOF
76053 done
76062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
76063 $as_echo_n "checking for logl declaration... " >&6; }
76064 if test x${glibcxx_cv_func_logl_use+set} != xset; then
76065 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
76066 $as_echo_n "(cached) " >&6
76067 else
76070 ac_ext=cpp
76071 ac_cpp='$CXXCPP $CPPFLAGS'
76072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76077 /* end confdefs.h. */
76078 #include <math.h>
76079 #ifdef HAVE_IEEEFP_H
76080 #include <ieeefp.h>
76081 #endif
76084 main ()
76086 logl(0);
76088 return 0;
76090 _ACEOF
76091 if ac_fn_cxx_try_compile "$LINENO"; then :
76092 glibcxx_cv_func_logl_use=yes
76093 else
76094 glibcxx_cv_func_logl_use=no
76096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76097 ac_ext=c
76098 ac_cpp='$CPP $CPPFLAGS'
76099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
76108 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
76110 if test x$glibcxx_cv_func_logl_use = x"yes"; then
76111 for ac_func in logl
76112 do :
76113 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
76114 if test "x$ac_cv_func_logl" = x""yes; then :
76115 cat >>confdefs.h <<_ACEOF
76116 #define HAVE_LOGL 1
76117 _ACEOF
76120 done
76122 else
76124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76125 $as_echo_n "checking for _logl declaration... " >&6; }
76126 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76127 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76128 $as_echo_n "(cached) " >&6
76129 else
76132 ac_ext=cpp
76133 ac_cpp='$CXXCPP $CPPFLAGS'
76134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76139 /* end confdefs.h. */
76140 #include <math.h>
76141 #ifdef HAVE_IEEEFP_H
76142 #include <ieeefp.h>
76143 #endif
76146 main ()
76148 _logl(0);
76150 return 0;
76152 _ACEOF
76153 if ac_fn_cxx_try_compile "$LINENO"; then :
76154 glibcxx_cv_func__logl_use=yes
76155 else
76156 glibcxx_cv_func__logl_use=no
76158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76159 ac_ext=c
76160 ac_cpp='$CPP $CPPFLAGS'
76161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76170 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76172 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76173 for ac_func in _logl
76174 do :
76175 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76176 if test "x$ac_cv_func__logl" = x""yes; then :
76177 cat >>confdefs.h <<_ACEOF
76178 #define HAVE__LOGL 1
76179 _ACEOF
76182 done
76191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76192 $as_echo_n "checking for log10l declaration... " >&6; }
76193 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76194 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76195 $as_echo_n "(cached) " >&6
76196 else
76199 ac_ext=cpp
76200 ac_cpp='$CXXCPP $CPPFLAGS'
76201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76206 /* end confdefs.h. */
76207 #include <math.h>
76208 #ifdef HAVE_IEEEFP_H
76209 #include <ieeefp.h>
76210 #endif
76213 main ()
76215 log10l(0);
76217 return 0;
76219 _ACEOF
76220 if ac_fn_cxx_try_compile "$LINENO"; then :
76221 glibcxx_cv_func_log10l_use=yes
76222 else
76223 glibcxx_cv_func_log10l_use=no
76225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76226 ac_ext=c
76227 ac_cpp='$CPP $CPPFLAGS'
76228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76237 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76239 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76240 for ac_func in log10l
76241 do :
76242 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76243 if test "x$ac_cv_func_log10l" = x""yes; then :
76244 cat >>confdefs.h <<_ACEOF
76245 #define HAVE_LOG10L 1
76246 _ACEOF
76249 done
76251 else
76253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76254 $as_echo_n "checking for _log10l declaration... " >&6; }
76255 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76256 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76257 $as_echo_n "(cached) " >&6
76258 else
76261 ac_ext=cpp
76262 ac_cpp='$CXXCPP $CPPFLAGS'
76263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76268 /* end confdefs.h. */
76269 #include <math.h>
76270 #ifdef HAVE_IEEEFP_H
76271 #include <ieeefp.h>
76272 #endif
76275 main ()
76277 _log10l(0);
76279 return 0;
76281 _ACEOF
76282 if ac_fn_cxx_try_compile "$LINENO"; then :
76283 glibcxx_cv_func__log10l_use=yes
76284 else
76285 glibcxx_cv_func__log10l_use=no
76287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76288 ac_ext=c
76289 ac_cpp='$CPP $CPPFLAGS'
76290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76299 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76301 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76302 for ac_func in _log10l
76303 do :
76304 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76305 if test "x$ac_cv_func__log10l" = x""yes; then :
76306 cat >>confdefs.h <<_ACEOF
76307 #define HAVE__LOG10L 1
76308 _ACEOF
76311 done
76320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76321 $as_echo_n "checking for modfl declaration... " >&6; }
76322 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76323 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76324 $as_echo_n "(cached) " >&6
76325 else
76328 ac_ext=cpp
76329 ac_cpp='$CXXCPP $CPPFLAGS'
76330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76335 /* end confdefs.h. */
76336 #include <math.h>
76338 main ()
76340 modfl(0, 0);
76342 return 0;
76344 _ACEOF
76345 if ac_fn_cxx_try_compile "$LINENO"; then :
76346 glibcxx_cv_func_modfl_use=yes
76347 else
76348 glibcxx_cv_func_modfl_use=no
76350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76351 ac_ext=c
76352 ac_cpp='$CPP $CPPFLAGS'
76353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76362 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76364 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76365 for ac_func in modfl
76366 do :
76367 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76368 if test "x$ac_cv_func_modfl" = x""yes; then :
76369 cat >>confdefs.h <<_ACEOF
76370 #define HAVE_MODFL 1
76371 _ACEOF
76374 done
76376 else
76378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76379 $as_echo_n "checking for _modfl declaration... " >&6; }
76380 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76381 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76382 $as_echo_n "(cached) " >&6
76383 else
76386 ac_ext=cpp
76387 ac_cpp='$CXXCPP $CPPFLAGS'
76388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76393 /* end confdefs.h. */
76394 #include <math.h>
76396 main ()
76398 _modfl(0, 0);
76400 return 0;
76402 _ACEOF
76403 if ac_fn_cxx_try_compile "$LINENO"; then :
76404 glibcxx_cv_func__modfl_use=yes
76405 else
76406 glibcxx_cv_func__modfl_use=no
76408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76409 ac_ext=c
76410 ac_cpp='$CPP $CPPFLAGS'
76411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76420 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76422 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76423 for ac_func in _modfl
76424 do :
76425 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76426 if test "x$ac_cv_func__modfl" = x""yes; then :
76427 cat >>confdefs.h <<_ACEOF
76428 #define HAVE__MODFL 1
76429 _ACEOF
76432 done
76441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76442 $as_echo_n "checking for powl declaration... " >&6; }
76443 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76444 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76445 $as_echo_n "(cached) " >&6
76446 else
76449 ac_ext=cpp
76450 ac_cpp='$CXXCPP $CPPFLAGS'
76451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76456 /* end confdefs.h. */
76457 #include <math.h>
76459 main ()
76461 powl(0, 0);
76463 return 0;
76465 _ACEOF
76466 if ac_fn_cxx_try_compile "$LINENO"; then :
76467 glibcxx_cv_func_powl_use=yes
76468 else
76469 glibcxx_cv_func_powl_use=no
76471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76472 ac_ext=c
76473 ac_cpp='$CPP $CPPFLAGS'
76474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76483 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76485 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76486 for ac_func in powl
76487 do :
76488 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76489 if test "x$ac_cv_func_powl" = x""yes; then :
76490 cat >>confdefs.h <<_ACEOF
76491 #define HAVE_POWL 1
76492 _ACEOF
76495 done
76497 else
76499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76500 $as_echo_n "checking for _powl declaration... " >&6; }
76501 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76502 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76503 $as_echo_n "(cached) " >&6
76504 else
76507 ac_ext=cpp
76508 ac_cpp='$CXXCPP $CPPFLAGS'
76509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76514 /* end confdefs.h. */
76515 #include <math.h>
76517 main ()
76519 _powl(0, 0);
76521 return 0;
76523 _ACEOF
76524 if ac_fn_cxx_try_compile "$LINENO"; then :
76525 glibcxx_cv_func__powl_use=yes
76526 else
76527 glibcxx_cv_func__powl_use=no
76529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76530 ac_ext=c
76531 ac_cpp='$CPP $CPPFLAGS'
76532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76541 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76543 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76544 for ac_func in _powl
76545 do :
76546 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76547 if test "x$ac_cv_func__powl" = x""yes; then :
76548 cat >>confdefs.h <<_ACEOF
76549 #define HAVE__POWL 1
76550 _ACEOF
76553 done
76562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76563 $as_echo_n "checking for sqrtl declaration... " >&6; }
76564 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76565 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76566 $as_echo_n "(cached) " >&6
76567 else
76570 ac_ext=cpp
76571 ac_cpp='$CXXCPP $CPPFLAGS'
76572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76577 /* end confdefs.h. */
76578 #include <math.h>
76579 #ifdef HAVE_IEEEFP_H
76580 #include <ieeefp.h>
76581 #endif
76584 main ()
76586 sqrtl(0);
76588 return 0;
76590 _ACEOF
76591 if ac_fn_cxx_try_compile "$LINENO"; then :
76592 glibcxx_cv_func_sqrtl_use=yes
76593 else
76594 glibcxx_cv_func_sqrtl_use=no
76596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76597 ac_ext=c
76598 ac_cpp='$CPP $CPPFLAGS'
76599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76608 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76610 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76611 for ac_func in sqrtl
76612 do :
76613 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76614 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76615 cat >>confdefs.h <<_ACEOF
76616 #define HAVE_SQRTL 1
76617 _ACEOF
76620 done
76622 else
76624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76625 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76626 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76627 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76628 $as_echo_n "(cached) " >&6
76629 else
76632 ac_ext=cpp
76633 ac_cpp='$CXXCPP $CPPFLAGS'
76634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76639 /* end confdefs.h. */
76640 #include <math.h>
76641 #ifdef HAVE_IEEEFP_H
76642 #include <ieeefp.h>
76643 #endif
76646 main ()
76648 _sqrtl(0);
76650 return 0;
76652 _ACEOF
76653 if ac_fn_cxx_try_compile "$LINENO"; then :
76654 glibcxx_cv_func__sqrtl_use=yes
76655 else
76656 glibcxx_cv_func__sqrtl_use=no
76658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76659 ac_ext=c
76660 ac_cpp='$CPP $CPPFLAGS'
76661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76670 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76672 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76673 for ac_func in _sqrtl
76674 do :
76675 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76676 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76677 cat >>confdefs.h <<_ACEOF
76678 #define HAVE__SQRTL 1
76679 _ACEOF
76682 done
76691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76692 $as_echo_n "checking for sincosl declaration... " >&6; }
76693 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76694 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76695 $as_echo_n "(cached) " >&6
76696 else
76699 ac_ext=cpp
76700 ac_cpp='$CXXCPP $CPPFLAGS'
76701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76706 /* end confdefs.h. */
76707 #include <math.h>
76709 main ()
76711 sincosl(0, 0, 0);
76713 return 0;
76715 _ACEOF
76716 if ac_fn_cxx_try_compile "$LINENO"; then :
76717 glibcxx_cv_func_sincosl_use=yes
76718 else
76719 glibcxx_cv_func_sincosl_use=no
76721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76722 ac_ext=c
76723 ac_cpp='$CPP $CPPFLAGS'
76724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76733 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76735 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76736 for ac_func in sincosl
76737 do :
76738 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76739 if test "x$ac_cv_func_sincosl" = x""yes; then :
76740 cat >>confdefs.h <<_ACEOF
76741 #define HAVE_SINCOSL 1
76742 _ACEOF
76745 done
76747 else
76749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76750 $as_echo_n "checking for _sincosl declaration... " >&6; }
76751 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76752 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76753 $as_echo_n "(cached) " >&6
76754 else
76757 ac_ext=cpp
76758 ac_cpp='$CXXCPP $CPPFLAGS'
76759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76764 /* end confdefs.h. */
76765 #include <math.h>
76767 main ()
76769 _sincosl(0, 0, 0);
76771 return 0;
76773 _ACEOF
76774 if ac_fn_cxx_try_compile "$LINENO"; then :
76775 glibcxx_cv_func__sincosl_use=yes
76776 else
76777 glibcxx_cv_func__sincosl_use=no
76779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76780 ac_ext=c
76781 ac_cpp='$CPP $CPPFLAGS'
76782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76791 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76793 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76794 for ac_func in _sincosl
76795 do :
76796 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76797 if test "x$ac_cv_func__sincosl" = x""yes; then :
76798 cat >>confdefs.h <<_ACEOF
76799 #define HAVE__SINCOSL 1
76800 _ACEOF
76803 done
76812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76813 $as_echo_n "checking for finitel declaration... " >&6; }
76814 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76815 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76816 $as_echo_n "(cached) " >&6
76817 else
76820 ac_ext=cpp
76821 ac_cpp='$CXXCPP $CPPFLAGS'
76822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76827 /* end confdefs.h. */
76828 #include <math.h>
76829 #ifdef HAVE_IEEEFP_H
76830 #include <ieeefp.h>
76831 #endif
76834 main ()
76836 finitel(0);
76838 return 0;
76840 _ACEOF
76841 if ac_fn_cxx_try_compile "$LINENO"; then :
76842 glibcxx_cv_func_finitel_use=yes
76843 else
76844 glibcxx_cv_func_finitel_use=no
76846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76847 ac_ext=c
76848 ac_cpp='$CPP $CPPFLAGS'
76849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76858 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76860 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76861 for ac_func in finitel
76862 do :
76863 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76864 if test "x$ac_cv_func_finitel" = x""yes; then :
76865 cat >>confdefs.h <<_ACEOF
76866 #define HAVE_FINITEL 1
76867 _ACEOF
76870 done
76872 else
76874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76875 $as_echo_n "checking for _finitel declaration... " >&6; }
76876 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76877 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76878 $as_echo_n "(cached) " >&6
76879 else
76882 ac_ext=cpp
76883 ac_cpp='$CXXCPP $CPPFLAGS'
76884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76889 /* end confdefs.h. */
76890 #include <math.h>
76891 #ifdef HAVE_IEEEFP_H
76892 #include <ieeefp.h>
76893 #endif
76896 main ()
76898 _finitel(0);
76900 return 0;
76902 _ACEOF
76903 if ac_fn_cxx_try_compile "$LINENO"; then :
76904 glibcxx_cv_func__finitel_use=yes
76905 else
76906 glibcxx_cv_func__finitel_use=no
76908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76909 ac_ext=c
76910 ac_cpp='$CPP $CPPFLAGS'
76911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76920 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76922 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76923 for ac_func in _finitel
76924 do :
76925 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76926 if test "x$ac_cv_func__finitel" = x""yes; then :
76927 cat >>confdefs.h <<_ACEOF
76928 #define HAVE__FINITEL 1
76929 _ACEOF
76932 done
76940 LIBS="$ac_save_LIBS"
76941 CXXFLAGS="$ac_save_CXXFLAGS"
76944 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76945 ac_save_CXXFLAGS="$CXXFLAGS"
76946 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76950 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76951 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76952 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76953 $as_echo_n "(cached) " >&6
76954 else
76957 ac_ext=cpp
76958 ac_cpp='$CXXCPP $CPPFLAGS'
76959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76964 /* end confdefs.h. */
76965 #include <stdlib.h>
76967 main ()
76969 at_quick_exit(0);
76971 return 0;
76973 _ACEOF
76974 if ac_fn_cxx_try_compile "$LINENO"; then :
76975 glibcxx_cv_func_at_quick_exit_use=yes
76976 else
76977 glibcxx_cv_func_at_quick_exit_use=no
76979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76980 ac_ext=c
76981 ac_cpp='$CPP $CPPFLAGS'
76982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76991 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76992 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76993 for ac_func in at_quick_exit
76994 do :
76995 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76996 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76997 cat >>confdefs.h <<_ACEOF
76998 #define HAVE_AT_QUICK_EXIT 1
76999 _ACEOF
77002 done
77007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77008 $as_echo_n "checking for quick_exit declaration... " >&6; }
77009 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77010 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77011 $as_echo_n "(cached) " >&6
77012 else
77015 ac_ext=cpp
77016 ac_cpp='$CXXCPP $CPPFLAGS'
77017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77022 /* end confdefs.h. */
77023 #include <stdlib.h>
77025 main ()
77027 quick_exit(0);
77029 return 0;
77031 _ACEOF
77032 if ac_fn_cxx_try_compile "$LINENO"; then :
77033 glibcxx_cv_func_quick_exit_use=yes
77034 else
77035 glibcxx_cv_func_quick_exit_use=no
77037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77038 ac_ext=c
77039 ac_cpp='$CPP $CPPFLAGS'
77040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
77049 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
77050 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
77051 for ac_func in quick_exit
77052 do :
77053 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
77054 if test "x$ac_cv_func_quick_exit" = x""yes; then :
77055 cat >>confdefs.h <<_ACEOF
77056 #define HAVE_QUICK_EXIT 1
77057 _ACEOF
77060 done
77065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
77066 $as_echo_n "checking for strtold declaration... " >&6; }
77067 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
77068 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
77069 $as_echo_n "(cached) " >&6
77070 else
77073 ac_ext=cpp
77074 ac_cpp='$CXXCPP $CPPFLAGS'
77075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77080 /* end confdefs.h. */
77081 #include <stdlib.h>
77083 main ()
77085 strtold(0, 0);
77087 return 0;
77089 _ACEOF
77090 if ac_fn_cxx_try_compile "$LINENO"; then :
77091 glibcxx_cv_func_strtold_use=yes
77092 else
77093 glibcxx_cv_func_strtold_use=no
77095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77096 ac_ext=c
77097 ac_cpp='$CPP $CPPFLAGS'
77098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
77107 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
77108 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
77109 for ac_func in strtold
77110 do :
77111 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
77112 if test "x$ac_cv_func_strtold" = x""yes; then :
77113 cat >>confdefs.h <<_ACEOF
77114 #define HAVE_STRTOLD 1
77115 _ACEOF
77118 done
77125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77126 $as_echo_n "checking for strtof declaration... " >&6; }
77127 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77128 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77129 $as_echo_n "(cached) " >&6
77130 else
77133 ac_ext=cpp
77134 ac_cpp='$CXXCPP $CPPFLAGS'
77135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77140 /* end confdefs.h. */
77141 #include <stdlib.h>
77143 main ()
77145 strtof(0, 0);
77147 return 0;
77149 _ACEOF
77150 if ac_fn_cxx_try_compile "$LINENO"; then :
77151 glibcxx_cv_func_strtof_use=yes
77152 else
77153 glibcxx_cv_func_strtof_use=no
77155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77156 ac_ext=c
77157 ac_cpp='$CPP $CPPFLAGS'
77158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77167 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77168 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77169 for ac_func in strtof
77170 do :
77171 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77172 if test "x$ac_cv_func_strtof" = x""yes; then :
77173 cat >>confdefs.h <<_ACEOF
77174 #define HAVE_STRTOF 1
77175 _ACEOF
77178 done
77185 CXXFLAGS="$ac_save_CXXFLAGS"
77188 *-vxworks)
77189 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77191 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77193 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77195 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77197 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77199 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77201 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77203 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77205 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77207 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77209 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77211 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77213 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77215 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77217 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77219 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77221 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77223 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77225 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77227 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77231 as_fn_error "No support for this host/target combination." "$LINENO" 5
77233 esac
77237 # At some point, we should differentiate between architectures
77238 # like x86, which have long double versions, and alpha/powerpc/etc.,
77239 # which don't. For the time being, punt.
77240 if test x"long_double_math_on_this_cpu" = x"yes"; then
77241 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77243 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77245 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77247 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77249 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77251 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77253 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77255 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77257 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77259 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77261 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77263 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77265 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77267 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77269 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77271 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77273 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77275 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77277 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77279 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77281 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77283 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77285 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77290 # Check for _Unwind_GetIPInfo.
77293 # Check whether --with-system-libunwind was given.
77294 if test "${with_system_libunwind+set}" = set; then :
77295 withval=$with_system_libunwind;
77298 # If system-libunwind was not specifically set, pick a default setting.
77299 if test x$with_system_libunwind = x; then
77300 case ${target} in
77301 ia64-*-hpux*) with_system_libunwind=yes ;;
77302 *) with_system_libunwind=no ;;
77303 esac
77305 # Based on system-libunwind and target, do we have ipinfo?
77306 if test x$with_system_libunwind = xyes; then
77307 case ${target} in
77308 ia64-*-*) have_unwind_getipinfo=no ;;
77309 *) have_unwind_getipinfo=yes ;;
77310 esac
77311 else
77312 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77314 case ${target} in
77315 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77316 *) have_unwind_getipinfo=yes ;;
77317 esac
77321 if test x$have_unwind_getipinfo = xyes; then
77323 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77328 # Check whether --enable-linux-futex was given.
77329 if test "${enable_linux_futex+set}" = set; then :
77330 enableval=$enable_linux_futex;
77331 case "$enableval" in
77332 yes|no|default) ;;
77333 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77334 esac
77336 else
77337 enable_linux_futex=default
77341 case "$target" in
77342 *-linux*)
77343 case "$enable_linux_futex" in
77344 default)
77345 # If headers don't have gettid/futex syscalls definition, then
77346 # default to no, otherwise there will be compile time failures.
77347 # Otherwise, default to yes. If we don't detect we are
77348 # compiled/linked against NPTL and not cross-compiling, check
77349 # if programs are run by default against NPTL and if not, issue
77350 # a warning.
77351 enable_linux_futex=no
77352 if test x$gcc_no_link = xyes; then
77353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77356 /* end confdefs.h. */
77357 #include <sys/syscall.h>
77358 int lk;
77360 main ()
77362 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77364 return 0;
77366 _ACEOF
77367 if ac_fn_c_try_link "$LINENO"; then :
77368 save_LIBS="$LIBS"
77369 LIBS="-lpthread $LIBS"
77370 if test x$gcc_no_link = xyes; then
77371 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77374 /* end confdefs.h. */
77375 #ifndef _GNU_SOURCE
77376 #define _GNU_SOURCE 1
77377 #endif
77378 #include <pthread.h>
77379 pthread_t th; void *status;
77381 main ()
77383 pthread_tryjoin_np (th, &status);
77385 return 0;
77387 _ACEOF
77388 if ac_fn_c_try_link "$LINENO"; then :
77389 enable_linux_futex=yes
77390 else
77391 if test x$cross_compiling = xno; then
77392 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77393 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77395 If so, please configure with --disable-linux-futex" >&5
77396 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77397 If so, please configure with --disable-linux-futex" >&2;}
77400 enable_linux_futex=yes
77402 rm -f core conftest.err conftest.$ac_objext \
77403 conftest$ac_exeext conftest.$ac_ext
77404 LIBS="$save_LIBS"
77406 rm -f core conftest.err conftest.$ac_objext \
77407 conftest$ac_exeext conftest.$ac_ext
77409 yes)
77410 if test x$gcc_no_link = xyes; then
77411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77414 /* end confdefs.h. */
77415 #include <sys/syscall.h>
77416 int lk;
77418 main ()
77420 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77422 return 0;
77424 _ACEOF
77425 if ac_fn_c_try_link "$LINENO"; then :
77427 else
77428 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77430 rm -f core conftest.err conftest.$ac_objext \
77431 conftest$ac_exeext conftest.$ac_ext
77433 esac
77436 enable_linux_futex=no
77438 esac
77439 if test x$enable_linux_futex = xyes; then
77441 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77448 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77450 acx_cv_header_stdint=stddef.h
77451 acx_cv_header_stdint_kind="(already complete)"
77452 for i in stdint.h $inttype_headers; do
77453 unset ac_cv_type_uintptr_t
77454 unset ac_cv_type_uintmax_t
77455 unset ac_cv_type_int_least32_t
77456 unset ac_cv_type_int_fast32_t
77457 unset ac_cv_type_uint64_t
77458 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77459 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77460 #include <$i>
77462 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77463 acx_cv_header_stdint=$i
77464 else
77465 continue
77468 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77469 #include <$i>
77471 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77473 else
77474 acx_cv_header_stdint_kind="(mostly complete)"
77477 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77478 #include <$i>
77480 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77482 else
77483 acx_cv_header_stdint_kind="(mostly complete)"
77486 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77487 #include <$i>
77489 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77491 else
77492 acx_cv_header_stdint_kind="(mostly complete)"
77495 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77496 #include <$i>
77498 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77500 else
77501 acx_cv_header_stdint_kind="(lacks uint64_t)"
77504 break
77505 done
77506 if test "$acx_cv_header_stdint" = stddef.h; then
77507 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77508 for i in stdint.h $inttype_headers; do
77509 unset ac_cv_type_uintptr_t
77510 unset ac_cv_type_uint32_t
77511 unset ac_cv_type_uint64_t
77512 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77513 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77514 #include <$i>
77516 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77517 acx_cv_header_stdint=$i
77518 else
77519 continue
77522 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77523 #include <$i>
77525 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77529 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77530 #include <$i>
77532 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77536 break
77537 done
77539 if test "$acx_cv_header_stdint" = stddef.h; then
77540 acx_cv_header_stdint_kind="(u_intXX_t style)"
77541 for i in sys/types.h $inttype_headers; do
77542 unset ac_cv_type_u_int32_t
77543 unset ac_cv_type_u_int64_t
77544 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77545 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77546 #include <$i>
77548 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77549 acx_cv_header_stdint=$i
77550 else
77551 continue
77554 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77555 #include <$i>
77557 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77561 break
77562 done
77564 if test "$acx_cv_header_stdint" = stddef.h; then
77565 acx_cv_header_stdint_kind="(using manual detection)"
77568 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77569 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77570 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77571 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77572 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77574 # ----------------- Summarize what we found so far
77576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77577 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77579 case `$as_basename -- include/gstdint.h ||
77580 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77581 Xinclude/gstdint.h : 'X\(//\)$' \| \
77582 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77583 $as_echo X/include/gstdint.h |
77584 sed '/^.*\/\([^/][^/]*\)\/*$/{
77585 s//\1/
77588 /^X\/\(\/\/\)$/{
77589 s//\1/
77592 /^X\/\(\/\).*/{
77593 s//\1/
77596 s/.*/./; q'` in
77597 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77598 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77599 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77600 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77601 *) ;;
77602 esac
77604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77605 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77607 # ----------------- done included file, check C basic types --------
77609 # Lacking an uintptr_t? Test size of void *
77610 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77611 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77612 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77613 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77614 # This bug is HP SR number 8606223364.
77615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77616 $as_echo_n "checking size of void *... " >&6; }
77617 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77618 $as_echo_n "(cached) " >&6
77619 else
77620 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77622 else
77623 if test "$ac_cv_type_void_p" = yes; then
77624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77626 { as_fn_set_status 77
77627 as_fn_error "cannot compute sizeof (void *)
77628 See \`config.log' for more details." "$LINENO" 5; }; }
77629 else
77630 ac_cv_sizeof_void_p=0
77635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77636 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77640 cat >>confdefs.h <<_ACEOF
77641 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77642 _ACEOF
77645 esac
77647 # Lacking an uint64_t? Test size of long
77648 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77649 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77652 # This bug is HP SR number 8606223364.
77653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77654 $as_echo_n "checking size of long... " >&6; }
77655 if test "${ac_cv_sizeof_long+set}" = set; then :
77656 $as_echo_n "(cached) " >&6
77657 else
77658 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77660 else
77661 if test "$ac_cv_type_long" = yes; then
77662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77664 { as_fn_set_status 77
77665 as_fn_error "cannot compute sizeof (long)
77666 See \`config.log' for more details." "$LINENO" 5; }; }
77667 else
77668 ac_cv_sizeof_long=0
77673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77674 $as_echo "$ac_cv_sizeof_long" >&6; }
77678 cat >>confdefs.h <<_ACEOF
77679 #define SIZEOF_LONG $ac_cv_sizeof_long
77680 _ACEOF
77683 esac
77685 if test $acx_cv_header_stdint = stddef.h; then
77686 # Lacking a good header? Test size of everything and deduce all types.
77687 # The cast to long int works around a bug in the HP C Compiler
77688 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77689 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77690 # This bug is HP SR number 8606223364.
77691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77692 $as_echo_n "checking size of int... " >&6; }
77693 if test "${ac_cv_sizeof_int+set}" = set; then :
77694 $as_echo_n "(cached) " >&6
77695 else
77696 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77698 else
77699 if test "$ac_cv_type_int" = yes; then
77700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77702 { as_fn_set_status 77
77703 as_fn_error "cannot compute sizeof (int)
77704 See \`config.log' for more details." "$LINENO" 5; }; }
77705 else
77706 ac_cv_sizeof_int=0
77711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77712 $as_echo "$ac_cv_sizeof_int" >&6; }
77716 cat >>confdefs.h <<_ACEOF
77717 #define SIZEOF_INT $ac_cv_sizeof_int
77718 _ACEOF
77721 # The cast to long int works around a bug in the HP C Compiler
77722 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77723 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77724 # This bug is HP SR number 8606223364.
77725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77726 $as_echo_n "checking size of short... " >&6; }
77727 if test "${ac_cv_sizeof_short+set}" = set; then :
77728 $as_echo_n "(cached) " >&6
77729 else
77730 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77732 else
77733 if test "$ac_cv_type_short" = yes; then
77734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77736 { as_fn_set_status 77
77737 as_fn_error "cannot compute sizeof (short)
77738 See \`config.log' for more details." "$LINENO" 5; }; }
77739 else
77740 ac_cv_sizeof_short=0
77745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77746 $as_echo "$ac_cv_sizeof_short" >&6; }
77750 cat >>confdefs.h <<_ACEOF
77751 #define SIZEOF_SHORT $ac_cv_sizeof_short
77752 _ACEOF
77755 # The cast to long int works around a bug in the HP C Compiler
77756 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77757 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77758 # This bug is HP SR number 8606223364.
77759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77760 $as_echo_n "checking size of char... " >&6; }
77761 if test "${ac_cv_sizeof_char+set}" = set; then :
77762 $as_echo_n "(cached) " >&6
77763 else
77764 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77766 else
77767 if test "$ac_cv_type_char" = yes; then
77768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77770 { as_fn_set_status 77
77771 as_fn_error "cannot compute sizeof (char)
77772 See \`config.log' for more details." "$LINENO" 5; }; }
77773 else
77774 ac_cv_sizeof_char=0
77779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77780 $as_echo "$ac_cv_sizeof_char" >&6; }
77784 cat >>confdefs.h <<_ACEOF
77785 #define SIZEOF_CHAR $ac_cv_sizeof_char
77786 _ACEOF
77790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77791 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77792 case "$ac_cv_sizeof_char" in
77793 1) acx_cv_type_int8_t=char ;;
77794 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77795 esac
77796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77797 $as_echo "$acx_cv_type_int8_t" >&6; }
77799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77800 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77801 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77802 2:*) acx_cv_type_int16_t=int ;;
77803 *:2) acx_cv_type_int16_t=short ;;
77804 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77805 esac
77806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77807 $as_echo "$acx_cv_type_int16_t" >&6; }
77809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77810 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77811 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77812 4:*) acx_cv_type_int32_t=int ;;
77813 *:4) acx_cv_type_int32_t=long ;;
77814 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77815 esac
77816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77817 $as_echo "$acx_cv_type_int32_t" >&6; }
77820 # These tests are here to make the output prettier
77822 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77823 case "$ac_cv_sizeof_long" in
77824 8) acx_cv_type_int64_t=long ;;
77825 esac
77826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77827 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77829 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77832 # Now we can use the above types
77834 if test "$ac_cv_type_uintptr_t" != yes; then
77835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77836 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77837 case $ac_cv_sizeof_void_p in
77838 2) acx_cv_type_intptr_t=int16_t ;;
77839 4) acx_cv_type_intptr_t=int32_t ;;
77840 8) acx_cv_type_intptr_t=int64_t ;;
77841 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77842 esac
77843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77844 $as_echo "$acx_cv_type_intptr_t" >&6; }
77847 # ----------------- done all checks, emit header -------------
77848 ac_config_commands="$ac_config_commands include/gstdint.h"
77854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77855 $as_echo_n "checking for GNU c++filt... " >&6; }
77856 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77857 $as_echo_n "(cached) " >&6
77858 else
77859 if test -z "$CXXFILT"; then
77860 ac_path_CXXFILT_found=false
77861 # Loop through the user's path and test for each of PROGNAME-LIST
77862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77863 for as_dir in $PATH
77865 IFS=$as_save_IFS
77866 test -z "$as_dir" && as_dir=.
77867 for ac_prog in c++filt gc++filt; do
77868 for ac_exec_ext in '' $ac_executable_extensions; do
77869 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77870 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77871 # Check for GNU $ac_path_CXXFILT
77872 case `"$ac_path_CXXFILT" --version 2>&1` in
77873 *GNU*)
77874 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77875 esac
77877 $ac_path_CXXFILT_found && break 3
77878 done
77879 done
77880 done
77881 IFS=$as_save_IFS
77882 if test -z "$ac_cv_path_CXXFILT"; then
77885 else
77886 ac_cv_path_CXXFILT=$CXXFILT
77890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77891 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77892 CXXFILT=$ac_cv_path_CXXFILT
77896 # Check whether --enable-symvers was given.
77897 if test "${enable_symvers+set}" = set; then :
77898 enableval=$enable_symvers;
77899 case "$enableval" in
77900 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77901 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77902 esac
77904 else
77905 enable_symvers=yes
77910 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77911 # don't know enough about $LD to do tricks...
77913 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77914 # with extern "C++" in version scripts.
77917 # Turn a 'yes' into a suitable default.
77918 if test x$enable_symvers = xyes ; then
77919 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77920 enable_symvers=no
77921 else
77922 if test $with_gnu_ld = yes ; then
77923 case ${target_os} in
77924 hpux*)
77925 enable_symvers=no ;;
77927 enable_symvers=gnu ;;
77928 esac
77929 else
77930 case ${target_os} in
77931 darwin*)
77932 enable_symvers=darwin ;;
77933 # Sun symbol versioning exists since Solaris 2.5.
77934 solaris2.[5-9]* | solaris2.1[0-9]*)
77935 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77936 # version scripts, so disable symbol versioning if none can be
77937 # found.
77938 if test -z "$ac_cv_path_CXXFILT"; then
77939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77940 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77942 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77944 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77945 enable_symvers=no
77946 else
77947 enable_symvers=sun
77951 enable_symvers=no ;;
77952 esac
77957 # Check to see if 'darwin' or 'darwin-export' can win.
77958 if test x$enable_symvers = xdarwin-export ; then
77959 enable_symvers=darwin
77962 # Check if 'sun' was requested on non-Solaris 2 platforms.
77963 if test x$enable_symvers = xsun ; then
77964 case ${target_os} in
77965 solaris2*)
77966 # All fine.
77969 # Unlikely to work.
77970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77971 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77973 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77975 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77976 enable_symvers=no
77978 esac
77981 # Check to see if 'gnu' can win.
77982 if test $enable_symvers = gnu ||
77983 test $enable_symvers = gnu-versioned-namespace ||
77984 test $enable_symvers = sun; then
77985 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77987 $as_echo_n "checking for shared libgcc... " >&6; }
77988 ac_save_CFLAGS="$CFLAGS"
77989 CFLAGS=' -lgcc_s'
77990 if test x$gcc_no_link = xyes; then
77991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77994 /* end confdefs.h. */
77997 main ()
77999 return 0;
78001 return 0;
78003 _ACEOF
78004 if ac_fn_c_try_link "$LINENO"; then :
78005 glibcxx_shared_libgcc=yes
78006 else
78007 glibcxx_shared_libgcc=no
78009 rm -f core conftest.err conftest.$ac_objext \
78010 conftest$ac_exeext conftest.$ac_ext
78011 CFLAGS="$ac_save_CFLAGS"
78012 if test $glibcxx_shared_libgcc = no; then
78013 cat > conftest.c <<EOF
78014 int main (void) { return 0; }
78016 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78017 -shared -shared-libgcc -o conftest.so \
78018 conftest.c -v 2>&1 >/dev/null \
78019 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
78020 rm -f conftest.c conftest.so
78021 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
78022 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
78023 if test x$gcc_no_link = xyes; then
78024 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78027 /* end confdefs.h. */
78030 main ()
78032 return 0;
78034 return 0;
78036 _ACEOF
78037 if ac_fn_c_try_link "$LINENO"; then :
78038 glibcxx_shared_libgcc=yes
78040 rm -f core conftest.err conftest.$ac_objext \
78041 conftest$ac_exeext conftest.$ac_ext
78042 CFLAGS="$ac_save_CFLAGS"
78045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
78046 $as_echo "$glibcxx_shared_libgcc" >&6; }
78048 # For GNU ld, we need at least this version. The format is described in
78049 # GLIBCXX_CHECK_LINKER_FEATURES above.
78050 glibcxx_min_gnu_ld_version=21400
78052 # If no shared libgcc, can't win.
78053 if test $glibcxx_shared_libgcc != yes; then
78054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78055 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
78057 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
78058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78059 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78060 enable_symvers=no
78061 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
78062 : All interesting versions of Sun ld support sun style symbol versioning.
78063 elif test $with_gnu_ld != yes ; then
78064 # just fail for now
78065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78066 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
78068 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
78069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78070 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78071 enable_symvers=no
78072 elif test $glibcxx_ld_is_gold = yes ; then
78073 : All versions of gold support symbol versioning.
78074 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
78075 # The right tools, the right setup, but too old. Fallbacks?
78076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
78077 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
78078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
78079 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
78080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
78081 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
78082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
78083 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
78084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78085 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78086 enable_symvers=no
78090 # For libtool versioning info, format is CURRENT:REVISION:AGE
78091 libtool_VERSION=6:22:0
78093 # Everything parsed; figure out what files and settings to use.
78094 case $enable_symvers in
78096 SYMVER_FILE=config/abi/pre/none.ver
78098 gnu)
78099 SYMVER_FILE=config/abi/pre/gnu.ver
78101 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
78104 gnu-versioned-namespace)
78105 libtool_VERSION=7:0:0
78106 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
78108 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
78111 darwin)
78112 SYMVER_FILE=config/abi/pre/gnu.ver
78114 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78117 sun)
78118 SYMVER_FILE=config/abi/pre/gnu.ver
78120 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78123 esac
78125 if test x$enable_symvers != xno ; then
78127 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78132 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78133 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78134 $as_echo_n "(cached) " >&6
78135 else
78137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78138 /* end confdefs.h. */
78139 void foo (void); __asm (".symver foo, bar@SYMVER");
78141 main ()
78145 return 0;
78147 _ACEOF
78148 if ac_fn_c_try_compile "$LINENO"; then :
78149 glibcxx_cv_have_as_symver_directive=yes
78150 else
78151 glibcxx_cv_have_as_symver_directive=no
78153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78156 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78157 if test $glibcxx_cv_have_as_symver_directive = yes; then
78159 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78170 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78171 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78173 if test $enable_symvers != no ; then
78174 case ${target_os} in
78175 # The Solaris 2 runtime linker doesn't support the GNU extension of
78176 # binding the same symbol to different versions
78177 solaris2*)
78179 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78182 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78185 esac
78188 # Now, set up compatibility support, if any.
78189 # In addition, need this to deal with std::size_t mangling in
78190 # src/compatibility.cc. In a perfect world, could use
78191 # typeid(std::size_t).name()[0] to do direct substitution.
78192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78193 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78194 ac_save_CFLAGS="$CFLAGS"
78195 CFLAGS="-Werror"
78196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78197 /* end confdefs.h. */
78200 main ()
78202 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78204 return 0;
78206 _ACEOF
78207 if ac_fn_c_try_compile "$LINENO"; then :
78208 glibcxx_size_t_is_i=yes
78209 else
78210 glibcxx_size_t_is_i=no
78212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78213 CFLAGS=$ac_save_CFLAGS
78214 if test "$glibcxx_size_t_is_i" = yes; then
78216 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78220 $as_echo "$glibcxx_size_t_is_i" >&6; }
78222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78223 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78224 ac_save_CFLAGS="$CFLAGS"
78225 CFLAGS="-Werror"
78226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78227 /* end confdefs.h. */
78230 main ()
78232 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78234 return 0;
78236 _ACEOF
78237 if ac_fn_c_try_compile "$LINENO"; then :
78238 glibcxx_ptrdiff_t_is_i=yes
78239 else
78240 glibcxx_ptrdiff_t_is_i=no
78242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78243 CFLAGS=$ac_save_CFLAGS
78244 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78246 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78250 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78255 # Check whether --enable-libstdcxx-visibility was given.
78256 if test "${enable_libstdcxx_visibility+set}" = set; then :
78257 enableval=$enable_libstdcxx_visibility;
78258 case "$enableval" in
78259 yes|no) ;;
78260 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78261 esac
78263 else
78264 enable_libstdcxx_visibility=yes
78269 if test x$enable_libstdcxx_visibility = xyes ; then
78270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78271 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78272 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78273 $as_echo_n "(cached) " >&6
78274 else
78276 save_CFLAGS="$CFLAGS"
78277 CFLAGS="$CFLAGS -Werror"
78278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78279 /* end confdefs.h. */
78280 void __attribute__((visibility("hidden"))) foo(void) { }
78282 main ()
78286 return 0;
78288 _ACEOF
78289 if ac_fn_c_try_compile "$LINENO"; then :
78290 glibcxx_cv_have_attribute_visibility=yes
78291 else
78292 glibcxx_cv_have_attribute_visibility=no
78294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78295 CFLAGS="$save_CFLAGS"
78297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78298 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78299 if test $glibcxx_cv_have_attribute_visibility = no; then
78300 enable_libstdcxx_visibility=no
78305 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78306 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78310 # Check whether --enable-libstdcxx-dual-abi was given.
78311 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78312 enableval=$enable_libstdcxx_dual_abi;
78313 case "$enableval" in
78314 yes|no) ;;
78315 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78316 esac
78318 else
78319 enable_libstdcxx_dual_abi=yes
78323 if test x$enable_symvers = xgnu-versioned-namespace; then
78324 # gnu-versioned-namespace is incompatible with the dual ABI.
78325 enable_libstdcxx_dual_abi="no"
78327 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78328 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78329 $as_echo "$as_me: dual ABI is disabled" >&6;}
78330 default_libstdcxx_abi="c++98"
78335 if test x$enable_libstdcxx_dual_abi = xyes; then
78336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78337 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78339 # Check whether --with-default-libstdcxx-abi was given.
78340 if test "${with_default_libstdcxx_abi+set}" = set; then :
78341 withval=$with_default_libstdcxx_abi; case "$withval" in
78342 c++98|gnu++98|c++03|gnu++03) default_libstdcxx_abi="c++98" ;;
78343 c++1?|gnu++1?) default_libstdcxx_abi="c++11" ;;
78344 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78345 esac
78346 else
78347 default_libstdcxx_abi="c++11"
78350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78351 $as_echo "${default_libstdcxx_abi}" >&6; }
78353 if test $default_libstdcxx_abi = "c++11"; then
78354 glibcxx_cxx11_abi=1
78355 glibcxx_cxx98_abi=0
78356 else
78357 glibcxx_cxx11_abi=0
78358 glibcxx_cxx98_abi=1
78364 ac_ldbl_compat=no
78365 case "$target" in
78366 powerpc*-*-linux* | \
78367 sparc*-*-linux* | \
78368 s390*-*-linux* | \
78369 alpha*-*-linux*)
78370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78371 /* end confdefs.h. */
78374 main ()
78377 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78378 #error no need for long double compatibility
78379 #endif
78382 return 0;
78384 _ACEOF
78385 if ac_fn_c_try_compile "$LINENO"; then :
78386 ac_ldbl_compat=yes
78387 else
78388 ac_ldbl_compat=no
78390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78391 if test "$ac_ldbl_compat" = yes; then
78393 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78395 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78397 esac
78400 # Check if assembler supports disabling hardware capability support.
78402 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78404 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78405 # with a different meaning.
78406 case ${target_os} in
78407 solaris2*)
78408 ac_save_CFLAGS="$CFLAGS"
78409 CFLAGS="$CFLAGS -Wa,-nH"
78411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78412 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78414 /* end confdefs.h. */
78417 main ()
78419 return 0;
78421 return 0;
78423 _ACEOF
78424 if ac_fn_c_try_compile "$LINENO"; then :
78425 ac_hwcap_flags=yes
78426 else
78427 ac_hwcap_flags=no
78429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78430 if test "$ac_hwcap_flags" = "yes"; then
78431 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78434 $as_echo "$ac_hwcap_flags" >&6; }
78436 CFLAGS="$ac_save_CFLAGS"
78438 esac
78443 # Check if assembler supports rdrand opcode.
78445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78446 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78447 if test "${ac_cv_x86_rdrand+set}" = set; then :
78448 $as_echo_n "(cached) " >&6
78449 else
78451 ac_cv_x86_rdrand=no
78452 case "$target" in
78453 i?86-*-* | \
78454 x86_64-*-*)
78455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78456 /* end confdefs.h. */
78459 main ()
78461 asm("rdrand %eax");
78463 return 0;
78465 _ACEOF
78466 if ac_fn_c_try_compile "$LINENO"; then :
78467 ac_cv_x86_rdrand=yes
78468 else
78469 ac_cv_x86_rdrand=no
78471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78472 esac
78476 if test $ac_cv_x86_rdrand = yes; then
78478 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78482 $as_echo "$ac_cv_x86_rdrand" >&6; }
78485 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78487 if $GLIBCXX_IS_NATIVE ; then
78488 # Do checks for resource limit functions.
78490 setrlimit_have_headers=yes
78491 for ac_header in unistd.h sys/time.h sys/resource.h
78492 do :
78493 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78494 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78495 eval as_val=\$$as_ac_Header
78496 if test "x$as_val" = x""yes; then :
78497 cat >>confdefs.h <<_ACEOF
78498 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78499 _ACEOF
78501 else
78502 setrlimit_have_headers=no
78505 done
78507 # If don't have the headers, then we can't run the tests now, and we
78508 # won't be seeing any of these during testsuite compilation.
78509 if test $setrlimit_have_headers = yes; then
78510 # Can't do these in a loop, else the resulting syntax is wrong.
78512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78513 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78515 /* end confdefs.h. */
78516 #include <unistd.h>
78517 #include <sys/time.h>
78518 #include <sys/resource.h>
78521 main ()
78523 int f = RLIMIT_DATA ;
78525 return 0;
78527 _ACEOF
78528 if ac_fn_c_try_compile "$LINENO"; then :
78529 glibcxx_mresult=1
78530 else
78531 glibcxx_mresult=0
78533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78535 cat >>confdefs.h <<_ACEOF
78536 #define HAVE_LIMIT_DATA $glibcxx_mresult
78537 _ACEOF
78539 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78541 $as_echo "$res" >&6; }
78544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78545 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78547 /* end confdefs.h. */
78548 #include <unistd.h>
78549 #include <sys/time.h>
78550 #include <sys/resource.h>
78553 main ()
78555 int f = RLIMIT_RSS ;
78557 return 0;
78559 _ACEOF
78560 if ac_fn_c_try_compile "$LINENO"; then :
78561 glibcxx_mresult=1
78562 else
78563 glibcxx_mresult=0
78565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78567 cat >>confdefs.h <<_ACEOF
78568 #define HAVE_LIMIT_RSS $glibcxx_mresult
78569 _ACEOF
78571 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78573 $as_echo "$res" >&6; }
78576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78577 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78579 /* end confdefs.h. */
78580 #include <unistd.h>
78581 #include <sys/time.h>
78582 #include <sys/resource.h>
78585 main ()
78587 int f = RLIMIT_VMEM ;
78589 return 0;
78591 _ACEOF
78592 if ac_fn_c_try_compile "$LINENO"; then :
78593 glibcxx_mresult=1
78594 else
78595 glibcxx_mresult=0
78597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78599 cat >>confdefs.h <<_ACEOF
78600 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78601 _ACEOF
78603 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78605 $as_echo "$res" >&6; }
78608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78609 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78611 /* end confdefs.h. */
78612 #include <unistd.h>
78613 #include <sys/time.h>
78614 #include <sys/resource.h>
78617 main ()
78619 int f = RLIMIT_AS ;
78621 return 0;
78623 _ACEOF
78624 if ac_fn_c_try_compile "$LINENO"; then :
78625 glibcxx_mresult=1
78626 else
78627 glibcxx_mresult=0
78629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78631 cat >>confdefs.h <<_ACEOF
78632 #define HAVE_LIMIT_AS $glibcxx_mresult
78633 _ACEOF
78635 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78637 $as_echo "$res" >&6; }
78640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78641 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78643 /* end confdefs.h. */
78644 #include <unistd.h>
78645 #include <sys/time.h>
78646 #include <sys/resource.h>
78649 main ()
78651 int f = RLIMIT_FSIZE ;
78653 return 0;
78655 _ACEOF
78656 if ac_fn_c_try_compile "$LINENO"; then :
78657 glibcxx_mresult=1
78658 else
78659 glibcxx_mresult=0
78661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78663 cat >>confdefs.h <<_ACEOF
78664 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78665 _ACEOF
78667 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78669 $as_echo "$res" >&6; }
78672 # Check for rlimit, setrlimit.
78673 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78674 $as_echo_n "(cached) " >&6
78675 else
78677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78678 /* end confdefs.h. */
78679 #include <unistd.h>
78680 #include <sys/time.h>
78681 #include <sys/resource.h>
78684 main ()
78686 struct rlimit r;
78687 setrlimit(0, &r);
78689 return 0;
78691 _ACEOF
78692 if ac_fn_c_try_compile "$LINENO"; then :
78693 glibcxx_cv_setrlimit=yes
78694 else
78695 glibcxx_cv_setrlimit=no
78697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78704 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78705 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78706 ac_res_limits=yes
78708 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78710 else
78711 ac_res_limits=no
78713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78714 $as_echo "$ac_res_limits" >&6; }
78717 # Look for setenv, so that extended locale tests can be performed.
78719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78720 $as_echo_n "checking for setenv declaration... " >&6; }
78721 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78722 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78723 $as_echo_n "(cached) " >&6
78724 else
78727 ac_ext=cpp
78728 ac_cpp='$CXXCPP $CPPFLAGS'
78729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78734 /* end confdefs.h. */
78735 #include <stdlib.h>
78737 main ()
78739 setenv(0, 0, 0);
78741 return 0;
78743 _ACEOF
78744 if ac_fn_cxx_try_compile "$LINENO"; then :
78745 glibcxx_cv_func_setenv_use=yes
78746 else
78747 glibcxx_cv_func_setenv_use=no
78749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78750 ac_ext=c
78751 ac_cpp='$CPP $CPPFLAGS'
78752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78761 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78762 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78763 for ac_func in setenv
78764 do :
78765 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78766 if test "x$ac_cv_func_setenv" = x""yes; then :
78767 cat >>confdefs.h <<_ACEOF
78768 #define HAVE_SETENV 1
78769 _ACEOF
78772 done
78778 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78779 test $enable_symvers != no; then
78780 case "$host" in
78781 *-*-cygwin*)
78782 enable_abi_check=no ;;
78784 enable_abi_check=yes ;;
78785 esac
78786 else
78787 # Only build this as native, since automake does not understand
78788 # CXX_FOR_BUILD.
78789 enable_abi_check=no
78792 # Export file names for ABI checking.
78793 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78795 baseline_subdir_switch="$abi_baseline_subdir_switch"
78799 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78801 # Check whether --enable-libstdcxx-threads was given.
78802 if test "${enable_libstdcxx_threads+set}" = set; then :
78803 enableval=$enable_libstdcxx_threads;
78804 case "$enableval" in
78805 yes|no) ;;
78806 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78807 esac
78809 else
78810 enable_libstdcxx_threads=auto
78815 if test x$enable_libstdcxx_threads = xauto ||
78816 test x$enable_libstdcxx_threads = xyes; then
78819 ac_ext=cpp
78820 ac_cpp='$CXXCPP $CPPFLAGS'
78821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78826 ac_save_CXXFLAGS="$CXXFLAGS"
78827 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78828 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78830 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78831 case $target_thread_file in
78832 posix)
78833 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78834 esac
78836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78837 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78840 /* end confdefs.h. */
78841 #include <unistd.h>
78843 main ()
78846 // In case of POSIX threads check _POSIX_TIMEOUTS.
78847 #if (defined(_PTHREADS) \
78848 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78849 #error
78850 #endif
78853 return 0;
78855 _ACEOF
78856 if ac_fn_cxx_try_compile "$LINENO"; then :
78857 ac_gthread_use_mutex_timedlock=1
78858 else
78859 ac_gthread_use_mutex_timedlock=0
78861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78864 cat >>confdefs.h <<_ACEOF
78865 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78866 _ACEOF
78869 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78870 else res_mutex_timedlock=no ; fi
78871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78872 $as_echo "$res_mutex_timedlock" >&6; }
78874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78875 $as_echo_n "checking for gthreads library... " >&6; }
78877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78878 /* end confdefs.h. */
78879 #include "gthr.h"
78881 main ()
78884 #ifndef __GTHREADS_CXX0X
78885 #error
78886 #endif
78889 return 0;
78891 _ACEOF
78892 if ac_fn_cxx_try_compile "$LINENO"; then :
78893 ac_has_gthreads=yes
78894 else
78895 ac_has_gthreads=no
78897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78898 else
78899 ac_has_gthreads=no
78902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78903 $as_echo "$ac_has_gthreads" >&6; }
78905 if test x"$ac_has_gthreads" = x"yes"; then
78907 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78910 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
78911 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
78913 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
78915 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
78921 CXXFLAGS="$ac_save_CXXFLAGS"
78922 ac_ext=c
78923 ac_cpp='$CPP $CPPFLAGS'
78924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78930 # For Filesystem TS.
78931 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
78932 do :
78933 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78934 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78935 eval as_val=\$$as_ac_Header
78936 if test "x$as_val" = x""yes; then :
78937 cat >>confdefs.h <<_ACEOF
78938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78939 _ACEOF
78943 done
78945 ac_header_dirent=no
78946 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
78947 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
78948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
78949 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
78950 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
78951 $as_echo_n "(cached) " >&6
78952 else
78953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78954 /* end confdefs.h. */
78955 #include <sys/types.h>
78956 #include <$ac_hdr>
78959 main ()
78961 if ((DIR *) 0)
78962 return 0;
78964 return 0;
78966 _ACEOF
78967 if ac_fn_c_try_compile "$LINENO"; then :
78968 eval "$as_ac_Header=yes"
78969 else
78970 eval "$as_ac_Header=no"
78972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78974 eval ac_res=\$$as_ac_Header
78975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
78976 $as_echo "$ac_res" >&6; }
78977 eval as_val=\$$as_ac_Header
78978 if test "x$as_val" = x""yes; then :
78979 cat >>confdefs.h <<_ACEOF
78980 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
78981 _ACEOF
78983 ac_header_dirent=$ac_hdr; break
78986 done
78987 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
78988 if test $ac_header_dirent = dirent.h; then
78989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
78990 $as_echo_n "checking for library containing opendir... " >&6; }
78991 if test "${ac_cv_search_opendir+set}" = set; then :
78992 $as_echo_n "(cached) " >&6
78993 else
78994 ac_func_search_save_LIBS=$LIBS
78995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78996 /* end confdefs.h. */
78998 /* Override any GCC internal prototype to avoid an error.
78999 Use char because int might match the return type of a GCC
79000 builtin and then its argument prototype would still apply. */
79001 #ifdef __cplusplus
79002 extern "C"
79003 #endif
79004 char opendir ();
79006 main ()
79008 return opendir ();
79010 return 0;
79012 _ACEOF
79013 for ac_lib in '' dir; do
79014 if test -z "$ac_lib"; then
79015 ac_res="none required"
79016 else
79017 ac_res=-l$ac_lib
79018 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
79020 if test x$gcc_no_link = xyes; then
79021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79023 if ac_fn_c_try_link "$LINENO"; then :
79024 ac_cv_search_opendir=$ac_res
79026 rm -f core conftest.err conftest.$ac_objext \
79027 conftest$ac_exeext
79028 if test "${ac_cv_search_opendir+set}" = set; then :
79029 break
79031 done
79032 if test "${ac_cv_search_opendir+set}" = set; then :
79034 else
79035 ac_cv_search_opendir=no
79037 rm conftest.$ac_ext
79038 LIBS=$ac_func_search_save_LIBS
79040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
79041 $as_echo "$ac_cv_search_opendir" >&6; }
79042 ac_res=$ac_cv_search_opendir
79043 if test "$ac_res" != no; then :
79044 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
79048 else
79049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
79050 $as_echo_n "checking for library containing opendir... " >&6; }
79051 if test "${ac_cv_search_opendir+set}" = set; then :
79052 $as_echo_n "(cached) " >&6
79053 else
79054 ac_func_search_save_LIBS=$LIBS
79055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79056 /* end confdefs.h. */
79058 /* Override any GCC internal prototype to avoid an error.
79059 Use char because int might match the return type of a GCC
79060 builtin and then its argument prototype would still apply. */
79061 #ifdef __cplusplus
79062 extern "C"
79063 #endif
79064 char opendir ();
79066 main ()
79068 return opendir ();
79070 return 0;
79072 _ACEOF
79073 for ac_lib in '' x; do
79074 if test -z "$ac_lib"; then
79075 ac_res="none required"
79076 else
79077 ac_res=-l$ac_lib
79078 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
79080 if test x$gcc_no_link = xyes; then
79081 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79083 if ac_fn_c_try_link "$LINENO"; then :
79084 ac_cv_search_opendir=$ac_res
79086 rm -f core conftest.err conftest.$ac_objext \
79087 conftest$ac_exeext
79088 if test "${ac_cv_search_opendir+set}" = set; then :
79089 break
79091 done
79092 if test "${ac_cv_search_opendir+set}" = set; then :
79094 else
79095 ac_cv_search_opendir=no
79097 rm conftest.$ac_ext
79098 LIBS=$ac_func_search_save_LIBS
79100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
79101 $as_echo "$ac_cv_search_opendir" >&6; }
79102 ac_res=$ac_cv_search_opendir
79103 if test "$ac_res" != no; then :
79104 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
79112 ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
79113 #include <sys/types.h>
79114 #ifdef HAVE_DIRENT_H
79115 # include <dirent.h>
79116 #else
79117 # define dirent direct
79118 # ifdef HAVE_SYS_NDIR_H
79119 # include <sys/ndir.h>
79120 # endif
79121 # ifdef HAVE_SYS_DIR_H
79122 # include <sys/dir.h>
79123 # endif
79124 # ifdef HAVE_NDIR_H
79125 # include <ndir.h>
79126 # endif
79127 #endif
79130 if test "x$ac_cv_member_struct_dirent_d_type" = x""yes; then :
79132 cat >>confdefs.h <<_ACEOF
79133 #define HAVE_STRUCT_DIRENT_D_TYPE 1
79134 _ACEOF
79141 # Check whether --enable-libstdcxx-filesystem-ts was given.
79142 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79143 enableval=$enable_libstdcxx_filesystem_ts;
79144 case "$enableval" in
79145 yes|no|auto) ;;
79146 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79147 esac
79149 else
79150 enable_libstdcxx_filesystem_ts=auto
79155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79156 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79157 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79158 enable_libstdcxx_filesystem_ts=no
79160 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79161 case "${target_os}" in
79162 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79163 enable_libstdcxx_filesystem_ts=yes
79165 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79166 enable_libstdcxx_filesystem_ts=yes
79168 solaris*)
79169 enable_libstdcxx_filesystem_ts=no
79172 enable_libstdcxx_filesystem_ts=no
79174 esac
79176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79177 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79181 ac_ext=cpp
79182 ac_cpp='$CXXCPP $CPPFLAGS'
79183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79187 ac_save_CXXFLAGS="$CXXFLAGS"
79188 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
79190 $as_echo_n "checking for realpath... " >&6; }
79191 if test "${glibcxx_cv_realpath+set}" = set; then :
79192 $as_echo_n "(cached) " >&6
79193 else
79194 if test x$gcc_no_link = xyes; then
79195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79196 /* end confdefs.h. */
79197 #include <stdlib.h>
79199 main ()
79201 char *tmp = realpath((const char*)NULL, (char*)NULL);
79203 return 0;
79205 _ACEOF
79206 if ac_fn_cxx_try_compile "$LINENO"; then :
79207 glibcxx_cv_realpath=yes
79208 else
79209 glibcxx_cv_realpath=no
79211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79212 else
79213 if test x$gcc_no_link = xyes; then
79214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79217 /* end confdefs.h. */
79218 #include <stdlib.h>
79220 main ()
79222 char *tmp = realpath((const char*)NULL, (char*)NULL);
79224 return 0;
79226 _ACEOF
79227 if ac_fn_cxx_try_link "$LINENO"; then :
79228 glibcxx_cv_realpath=yes
79229 else
79230 glibcxx_cv_realpath=no
79232 rm -f core conftest.err conftest.$ac_objext \
79233 conftest$ac_exeext conftest.$ac_ext
79238 if test $glibcxx_cv_realpath = yes; then
79240 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
79243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
79244 $as_echo "$glibcxx_cv_realpath" >&6; }
79245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
79246 $as_echo_n "checking for utimensat... " >&6; }
79247 if test "${glibcxx_cv_utimensat+set}" = set; then :
79248 $as_echo_n "(cached) " >&6
79249 else
79250 if test x$gcc_no_link = xyes; then
79251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79252 /* end confdefs.h. */
79254 #include <fcntl.h>
79255 #include <sys/stat.h>
79258 main ()
79261 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79262 int i = utimensat(AT_FDCWD, "path", ts, 0);
79265 return 0;
79267 _ACEOF
79268 if ac_fn_cxx_try_compile "$LINENO"; then :
79269 glibcxx_cv_utimensat=yes
79270 else
79271 glibcxx_cv_utimensat=no
79273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79274 else
79275 if test x$gcc_no_link = xyes; then
79276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79279 /* end confdefs.h. */
79281 #include <fcntl.h>
79282 #include <sys/stat.h>
79285 main ()
79288 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79289 int i = utimensat(AT_FDCWD, "path", ts, 0);
79292 return 0;
79294 _ACEOF
79295 if ac_fn_cxx_try_link "$LINENO"; then :
79296 glibcxx_cv_utimensat=yes
79297 else
79298 glibcxx_cv_utimensat=no
79300 rm -f core conftest.err conftest.$ac_objext \
79301 conftest$ac_exeext conftest.$ac_ext
79306 if test $glibcxx_cv_utimensat = yes; then
79308 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
79311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
79312 $as_echo "$glibcxx_cv_utimensat" >&6; }
79313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
79314 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
79315 if test "${glibcxx_cv_st_mtim+set}" = set; then :
79316 $as_echo_n "(cached) " >&6
79317 else
79318 if test x$gcc_no_link = xyes; then
79319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79320 /* end confdefs.h. */
79321 #include <sys/stat.h>
79323 main ()
79326 struct stat st;
79327 return st.st_mtim.tv_nsec;
79330 return 0;
79332 _ACEOF
79333 if ac_fn_cxx_try_compile "$LINENO"; then :
79334 glibcxx_cv_st_mtim=yes
79335 else
79336 glibcxx_cv_st_mtim=no
79338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79339 else
79340 if test x$gcc_no_link = xyes; then
79341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79344 /* end confdefs.h. */
79345 #include <sys/stat.h>
79347 main ()
79350 struct stat st;
79351 return st.st_mtim.tv_nsec;
79354 return 0;
79356 _ACEOF
79357 if ac_fn_cxx_try_link "$LINENO"; then :
79358 glibcxx_cv_st_mtim=yes
79359 else
79360 glibcxx_cv_st_mtim=no
79362 rm -f core conftest.err conftest.$ac_objext \
79363 conftest$ac_exeext conftest.$ac_ext
79368 if test $glibcxx_cv_st_mtim = yes; then
79370 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
79373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
79374 $as_echo "$glibcxx_cv_st_mtim" >&6; }
79375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
79376 $as_echo_n "checking for fchmodat... " >&6; }
79377 if test "${glibcxx_cv_fchmodat+set}" = set; then :
79378 $as_echo_n "(cached) " >&6
79379 else
79380 if test x$gcc_no_link = xyes; then
79381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79382 /* end confdefs.h. */
79384 #include <fcntl.h>
79385 #include <sys/stat.h>
79388 main ()
79390 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79392 return 0;
79394 _ACEOF
79395 if ac_fn_cxx_try_compile "$LINENO"; then :
79396 glibcxx_cv_fchmodat=yes
79397 else
79398 glibcxx_cv_fchmodat=no
79400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79401 else
79402 if test x$gcc_no_link = xyes; then
79403 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79406 /* end confdefs.h. */
79408 #include <fcntl.h>
79409 #include <sys/stat.h>
79412 main ()
79414 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79416 return 0;
79418 _ACEOF
79419 if ac_fn_cxx_try_link "$LINENO"; then :
79420 glibcxx_cv_fchmodat=yes
79421 else
79422 glibcxx_cv_fchmodat=no
79424 rm -f core conftest.err conftest.$ac_objext \
79425 conftest$ac_exeext conftest.$ac_ext
79430 if test $glibcxx_cv_fchmodat = yes; then
79432 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
79435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
79436 $as_echo "$glibcxx_cv_fchmodat" >&6; }
79437 CXXFLAGS="$ac_save_CXXFLAGS"
79438 ac_ext=c
79439 ac_cpp='$CPP $CPPFLAGS'
79440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79446 # Define documentation rules conditionally.
79448 # See if makeinfo has been installed and is modern enough
79449 # that we can use it.
79451 # Extract the first word of "makeinfo", so it can be a program name with args.
79452 set dummy makeinfo; ac_word=$2
79453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79454 $as_echo_n "checking for $ac_word... " >&6; }
79455 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
79456 $as_echo_n "(cached) " >&6
79457 else
79458 if test -n "$MAKEINFO"; then
79459 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
79460 else
79461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79462 for as_dir in $PATH
79464 IFS=$as_save_IFS
79465 test -z "$as_dir" && as_dir=.
79466 for ac_exec_ext in '' $ac_executable_extensions; do
79467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79468 ac_cv_prog_MAKEINFO="makeinfo"
79469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79470 break 2
79472 done
79473 done
79474 IFS=$as_save_IFS
79478 MAKEINFO=$ac_cv_prog_MAKEINFO
79479 if test -n "$MAKEINFO"; then
79480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
79481 $as_echo "$MAKEINFO" >&6; }
79482 else
79483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79484 $as_echo "no" >&6; }
79488 if test -n "$MAKEINFO"; then
79489 # Found it, now check the version.
79490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
79491 $as_echo_n "checking for modern makeinfo... " >&6; }
79492 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
79493 $as_echo_n "(cached) " >&6
79494 else
79495 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
79496 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
79498 case $ac_prog_version in
79499 '') gcc_cv_prog_makeinfo_modern=no;;
79500 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
79501 *) gcc_cv_prog_makeinfo_modern=no;;
79502 esac
79505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
79506 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
79507 else
79508 gcc_cv_prog_makeinfo_modern=no
79510 if test $gcc_cv_prog_makeinfo_modern = no; then
79511 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
79514 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
79515 BUILD_INFO_TRUE=
79516 BUILD_INFO_FALSE='#'
79517 else
79518 BUILD_INFO_TRUE='#'
79519 BUILD_INFO_FALSE=
79523 # Check for doxygen
79524 # Extract the first word of "doxygen", so it can be a program name with args.
79525 set dummy doxygen; ac_word=$2
79526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79527 $as_echo_n "checking for $ac_word... " >&6; }
79528 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
79529 $as_echo_n "(cached) " >&6
79530 else
79531 if test -n "$DOXYGEN"; then
79532 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
79533 else
79534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79535 for as_dir in $PATH
79537 IFS=$as_save_IFS
79538 test -z "$as_dir" && as_dir=.
79539 for ac_exec_ext in '' $ac_executable_extensions; do
79540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79541 ac_cv_prog_DOXYGEN="yes"
79542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79543 break 2
79545 done
79546 done
79547 IFS=$as_save_IFS
79549 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
79552 DOXYGEN=$ac_cv_prog_DOXYGEN
79553 if test -n "$DOXYGEN"; then
79554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
79555 $as_echo "$DOXYGEN" >&6; }
79556 else
79557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79558 $as_echo "no" >&6; }
79562 # Extract the first word of "dot", so it can be a program name with args.
79563 set dummy dot; ac_word=$2
79564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79565 $as_echo_n "checking for $ac_word... " >&6; }
79566 if test "${ac_cv_prog_DOT+set}" = set; then :
79567 $as_echo_n "(cached) " >&6
79568 else
79569 if test -n "$DOT"; then
79570 ac_cv_prog_DOT="$DOT" # Let the user override the test.
79571 else
79572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79573 for as_dir in $PATH
79575 IFS=$as_save_IFS
79576 test -z "$as_dir" && as_dir=.
79577 for ac_exec_ext in '' $ac_executable_extensions; do
79578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79579 ac_cv_prog_DOT="yes"
79580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79581 break 2
79583 done
79584 done
79585 IFS=$as_save_IFS
79587 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
79590 DOT=$ac_cv_prog_DOT
79591 if test -n "$DOT"; then
79592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
79593 $as_echo "$DOT" >&6; }
79594 else
79595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79596 $as_echo "no" >&6; }
79601 # Check for docbook
79602 # Extract the first word of "xsltproc", so it can be a program name with args.
79603 set dummy xsltproc; ac_word=$2
79604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79605 $as_echo_n "checking for $ac_word... " >&6; }
79606 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
79607 $as_echo_n "(cached) " >&6
79608 else
79609 if test -n "$XSLTPROC"; then
79610 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
79611 else
79612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79613 for as_dir in $PATH
79615 IFS=$as_save_IFS
79616 test -z "$as_dir" && as_dir=.
79617 for ac_exec_ext in '' $ac_executable_extensions; do
79618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79619 ac_cv_prog_XSLTPROC="yes"
79620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79621 break 2
79623 done
79624 done
79625 IFS=$as_save_IFS
79627 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
79630 XSLTPROC=$ac_cv_prog_XSLTPROC
79631 if test -n "$XSLTPROC"; then
79632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
79633 $as_echo "$XSLTPROC" >&6; }
79634 else
79635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79636 $as_echo "no" >&6; }
79640 # Extract the first word of "xmllint", so it can be a program name with args.
79641 set dummy xmllint; ac_word=$2
79642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79643 $as_echo_n "checking for $ac_word... " >&6; }
79644 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
79645 $as_echo_n "(cached) " >&6
79646 else
79647 if test -n "$XMLLINT"; then
79648 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
79649 else
79650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79651 for as_dir in $PATH
79653 IFS=$as_save_IFS
79654 test -z "$as_dir" && as_dir=.
79655 for ac_exec_ext in '' $ac_executable_extensions; do
79656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79657 ac_cv_prog_XMLLINT="yes"
79658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79659 break 2
79661 done
79662 done
79663 IFS=$as_save_IFS
79665 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79668 XMLLINT=$ac_cv_prog_XMLLINT
79669 if test -n "$XMLLINT"; then
79670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79671 $as_echo "$XMLLINT" >&6; }
79672 else
79673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79674 $as_echo "no" >&6; }
79680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79681 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79682 glibcxx_stylesheets=no
79683 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
79684 glibcxx_stylesheets=yes
79686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79687 $as_echo "$glibcxx_stylesheets" >&6; }
79689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79690 $as_echo_n "checking for local stylesheet directory... " >&6; }
79691 glibcxx_local_stylesheets=no
79692 if test x"$glibcxx_stylesheets" = x"yes"; then
79693 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79694 glibcxx_local_stylesheets=yes
79695 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79697 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79698 glibcxx_local_stylesheets=yes
79699 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79701 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79702 glibcxx_local_stylesheets=yes
79703 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79707 $as_echo "$glibcxx_local_stylesheets" >&6; }
79709 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79711 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79712 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79713 else
79714 glibcxx_stylesheets=no
79717 # Check for epub3 dependencies.
79718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79719 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79720 glibcxx_epub_stylesheets=no
79721 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79722 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79723 glibcxx_epub_stylesheets=yes
79726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79727 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79728 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79729 BUILD_EPUB_TRUE=
79730 BUILD_EPUB_FALSE='#'
79731 else
79732 BUILD_EPUB_TRUE='#'
79733 BUILD_EPUB_FALSE=
79739 # Check for xml/html dependencies.
79740 if test $ac_cv_prog_DOXYGEN = "yes" &&
79741 test $ac_cv_prog_DOT = "yes" &&
79742 test $ac_cv_prog_XSLTPROC = "yes" &&
79743 test $ac_cv_prog_XMLLINT = "yes" &&
79744 test $glibcxx_stylesheets = "yes"; then
79745 BUILD_XML_TRUE=
79746 BUILD_XML_FALSE='#'
79747 else
79748 BUILD_XML_TRUE='#'
79749 BUILD_XML_FALSE=
79753 if test $ac_cv_prog_DOXYGEN = "yes" &&
79754 test $ac_cv_prog_DOT = "yes" &&
79755 test $ac_cv_prog_XSLTPROC = "yes" &&
79756 test $ac_cv_prog_XMLLINT = "yes" &&
79757 test $glibcxx_stylesheets = "yes"; then
79758 BUILD_HTML_TRUE=
79759 BUILD_HTML_FALSE='#'
79760 else
79761 BUILD_HTML_TRUE='#'
79762 BUILD_HTML_FALSE=
79766 # Check for man dependencies.
79767 if test $ac_cv_prog_DOXYGEN = "yes" &&
79768 test $ac_cv_prog_DOT = "yes"; then
79769 BUILD_MAN_TRUE=
79770 BUILD_MAN_FALSE='#'
79771 else
79772 BUILD_MAN_TRUE='#'
79773 BUILD_MAN_FALSE=
79777 # Check for pdf dependencies.
79778 # Extract the first word of "dblatex", so it can be a program name with args.
79779 set dummy dblatex; ac_word=$2
79780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79781 $as_echo_n "checking for $ac_word... " >&6; }
79782 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79783 $as_echo_n "(cached) " >&6
79784 else
79785 if test -n "$DBLATEX"; then
79786 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79787 else
79788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79789 for as_dir in $PATH
79791 IFS=$as_save_IFS
79792 test -z "$as_dir" && as_dir=.
79793 for ac_exec_ext in '' $ac_executable_extensions; do
79794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79795 ac_cv_prog_DBLATEX="yes"
79796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79797 break 2
79799 done
79800 done
79801 IFS=$as_save_IFS
79803 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79806 DBLATEX=$ac_cv_prog_DBLATEX
79807 if test -n "$DBLATEX"; then
79808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79809 $as_echo "$DBLATEX" >&6; }
79810 else
79811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79812 $as_echo "no" >&6; }
79816 # Extract the first word of "pdflatex", so it can be a program name with args.
79817 set dummy pdflatex; ac_word=$2
79818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79819 $as_echo_n "checking for $ac_word... " >&6; }
79820 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79821 $as_echo_n "(cached) " >&6
79822 else
79823 if test -n "$PDFLATEX"; then
79824 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79825 else
79826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79827 for as_dir in $PATH
79829 IFS=$as_save_IFS
79830 test -z "$as_dir" && as_dir=.
79831 for ac_exec_ext in '' $ac_executable_extensions; do
79832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79833 ac_cv_prog_PDFLATEX="yes"
79834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79835 break 2
79837 done
79838 done
79839 IFS=$as_save_IFS
79841 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79844 PDFLATEX=$ac_cv_prog_PDFLATEX
79845 if test -n "$PDFLATEX"; then
79846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79847 $as_echo "$PDFLATEX" >&6; }
79848 else
79849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79850 $as_echo "no" >&6; }
79854 if test $ac_cv_prog_DBLATEX = "yes" &&
79855 test $ac_cv_prog_PDFLATEX = "yes"; then
79856 BUILD_PDF_TRUE=
79857 BUILD_PDF_FALSE='#'
79858 else
79859 BUILD_PDF_TRUE='#'
79860 BUILD_PDF_FALSE=
79865 # Propagate the target-specific source directories through the build chain.
79866 ATOMICITY_SRCDIR=config/${atomicity_dir}
79867 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79868 ATOMIC_FLAGS=${atomic_flags}
79869 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79870 OS_INC_SRCDIR=config/${os_include_dir}
79871 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79872 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79873 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79874 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79886 # Determine cross-compile flags and AM_CONDITIONALs.
79887 #AC_SUBST(GLIBCXX_IS_NATIVE)
79888 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79889 if test $is_hosted = yes; then
79890 GLIBCXX_HOSTED_TRUE=
79891 GLIBCXX_HOSTED_FALSE='#'
79892 else
79893 GLIBCXX_HOSTED_TRUE='#'
79894 GLIBCXX_HOSTED_FALSE=
79898 if test $enable_libstdcxx_pch = yes; then
79899 GLIBCXX_BUILD_PCH_TRUE=
79900 GLIBCXX_BUILD_PCH_FALSE='#'
79901 else
79902 GLIBCXX_BUILD_PCH_TRUE='#'
79903 GLIBCXX_BUILD_PCH_FALSE=
79907 if test $enable_cheaders = c; then
79908 GLIBCXX_C_HEADERS_C_TRUE=
79909 GLIBCXX_C_HEADERS_C_FALSE='#'
79910 else
79911 GLIBCXX_C_HEADERS_C_TRUE='#'
79912 GLIBCXX_C_HEADERS_C_FALSE=
79916 if test $enable_cheaders = c_std; then
79917 GLIBCXX_C_HEADERS_C_STD_TRUE=
79918 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79919 else
79920 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79921 GLIBCXX_C_HEADERS_C_STD_FALSE=
79925 if test $enable_cheaders = c_global; then
79926 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79927 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79928 else
79929 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79930 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79934 if test $c_compatibility = yes; then
79935 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79936 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79937 else
79938 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79939 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79943 if test $enable_libstdcxx_debug = yes; then
79944 GLIBCXX_BUILD_DEBUG_TRUE=
79945 GLIBCXX_BUILD_DEBUG_FALSE='#'
79946 else
79947 GLIBCXX_BUILD_DEBUG_TRUE='#'
79948 GLIBCXX_BUILD_DEBUG_FALSE=
79952 if test $enable_extern_template = yes; then
79953 ENABLE_EXTERN_TEMPLATE_TRUE=
79954 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79955 else
79956 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79957 ENABLE_EXTERN_TEMPLATE_FALSE=
79961 if test $python_mod_dir != no; then
79962 ENABLE_PYTHONDIR_TRUE=
79963 ENABLE_PYTHONDIR_FALSE='#'
79964 else
79965 ENABLE_PYTHONDIR_TRUE='#'
79966 ENABLE_PYTHONDIR_FALSE=
79970 if test $enable_werror = yes; then
79971 ENABLE_WERROR_TRUE=
79972 ENABLE_WERROR_FALSE='#'
79973 else
79974 ENABLE_WERROR_TRUE='#'
79975 ENABLE_WERROR_FALSE=
79979 if test $enable_vtable_verify = yes; then
79980 ENABLE_VTABLE_VERIFY_TRUE=
79981 ENABLE_VTABLE_VERIFY_FALSE='#'
79982 else
79983 ENABLE_VTABLE_VERIFY_TRUE='#'
79984 ENABLE_VTABLE_VERIFY_FALSE=
79988 if test $enable_symvers != no; then
79989 ENABLE_SYMVERS_TRUE=
79990 ENABLE_SYMVERS_FALSE='#'
79991 else
79992 ENABLE_SYMVERS_TRUE='#'
79993 ENABLE_SYMVERS_FALSE=
79997 if test $enable_symvers = gnu; then
79998 ENABLE_SYMVERS_GNU_TRUE=
79999 ENABLE_SYMVERS_GNU_FALSE='#'
80000 else
80001 ENABLE_SYMVERS_GNU_TRUE='#'
80002 ENABLE_SYMVERS_GNU_FALSE=
80006 if test $enable_symvers = gnu-versioned-namespace; then
80007 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
80008 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
80009 else
80010 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
80011 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
80015 if test $enable_symvers = darwin; then
80016 ENABLE_SYMVERS_DARWIN_TRUE=
80017 ENABLE_SYMVERS_DARWIN_FALSE='#'
80018 else
80019 ENABLE_SYMVERS_DARWIN_TRUE='#'
80020 ENABLE_SYMVERS_DARWIN_FALSE=
80024 if test $enable_symvers = sun; then
80025 ENABLE_SYMVERS_SUN_TRUE=
80026 ENABLE_SYMVERS_SUN_FALSE='#'
80027 else
80028 ENABLE_SYMVERS_SUN_TRUE='#'
80029 ENABLE_SYMVERS_SUN_FALSE=
80033 if test $enable_libstdcxx_visibility = yes; then
80034 ENABLE_VISIBILITY_TRUE=
80035 ENABLE_VISIBILITY_FALSE='#'
80036 else
80037 ENABLE_VISIBILITY_TRUE='#'
80038 ENABLE_VISIBILITY_FALSE=
80042 if test $enable_libstdcxx_dual_abi = yes; then
80043 ENABLE_DUAL_ABI_TRUE=
80044 ENABLE_DUAL_ABI_FALSE='#'
80045 else
80046 ENABLE_DUAL_ABI_TRUE='#'
80047 ENABLE_DUAL_ABI_FALSE=
80051 if test $glibcxx_cxx11_abi = 1; then
80052 ENABLE_CXX11_ABI_TRUE=
80053 ENABLE_CXX11_ABI_FALSE='#'
80054 else
80055 ENABLE_CXX11_ABI_TRUE='#'
80056 ENABLE_CXX11_ABI_FALSE=
80060 if test $ac_ldbl_compat = yes; then
80061 GLIBCXX_LDBL_COMPAT_TRUE=
80062 GLIBCXX_LDBL_COMPAT_FALSE='#'
80063 else
80064 GLIBCXX_LDBL_COMPAT_TRUE='#'
80065 GLIBCXX_LDBL_COMPAT_FALSE=
80069 if test $enable_libstdcxx_filesystem_ts = yes; then
80070 ENABLE_FILESYSTEM_TS_TRUE=
80071 ENABLE_FILESYSTEM_TS_FALSE='#'
80072 else
80073 ENABLE_FILESYSTEM_TS_TRUE='#'
80074 ENABLE_FILESYSTEM_TS_FALSE=
80080 cat >confcache <<\_ACEOF
80081 # This file is a shell script that caches the results of configure
80082 # tests run on this system so they can be shared between configure
80083 # scripts and configure runs, see configure's option --config-cache.
80084 # It is not useful on other systems. If it contains results you don't
80085 # want to keep, you may remove or edit it.
80087 # config.status only pays attention to the cache file if you give it
80088 # the --recheck option to rerun configure.
80090 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80091 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80092 # following values.
80094 _ACEOF
80096 # The following way of writing the cache mishandles newlines in values,
80097 # but we know of no workaround that is simple, portable, and efficient.
80098 # So, we kill variables containing newlines.
80099 # Ultrix sh set writes to stderr and can't be redirected directly,
80100 # and sets the high bit in the cache file unless we assign to the vars.
80102 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80103 eval ac_val=\$$ac_var
80104 case $ac_val in #(
80105 *${as_nl}*)
80106 case $ac_var in #(
80107 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80108 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80109 esac
80110 case $ac_var in #(
80111 _ | IFS | as_nl) ;; #(
80112 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80113 *) { eval $ac_var=; unset $ac_var;} ;;
80114 esac ;;
80115 esac
80116 done
80118 (set) 2>&1 |
80119 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80120 *${as_nl}ac_space=\ *)
80121 # `set' does not quote correctly, so add quotes: double-quote
80122 # substitution turns \\\\ into \\, and sed turns \\ into \.
80123 sed -n \
80124 "s/'/'\\\\''/g;
80125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80126 ;; #(
80128 # `set' quotes correctly as required by POSIX, so do not add quotes.
80129 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80131 esac |
80132 sort
80134 sed '
80135 /^ac_cv_env_/b end
80136 t clear
80137 :clear
80138 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80139 t end
80140 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80141 :end' >>confcache
80142 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80143 if test -w "$cache_file"; then
80144 test "x$cache_file" != "x/dev/null" &&
80145 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80146 $as_echo "$as_me: updating cache $cache_file" >&6;}
80147 cat confcache >$cache_file
80148 else
80149 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80150 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80153 rm -f confcache
80155 if test ${multilib} = yes; then
80156 multilib_arg="--enable-multilib"
80157 else
80158 multilib_arg=
80161 # Export all the install information.
80163 glibcxx_toolexecdir=no
80164 glibcxx_toolexeclibdir=no
80165 glibcxx_prefixdir=$prefix
80167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
80168 $as_echo_n "checking for gxx-include-dir... " >&6; }
80170 # Check whether --with-gxx-include-dir was given.
80171 if test "${with_gxx_include_dir+set}" = set; then :
80172 withval=$with_gxx_include_dir; case "$withval" in
80173 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
80174 no) gxx_include_dir=no ;;
80175 *) gxx_include_dir=$withval ;;
80176 esac
80177 else
80178 gxx_include_dir=no
80181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80182 $as_echo "$gxx_include_dir" >&6; }
80184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
80185 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
80186 # Check whether --enable-version-specific-runtime-libs was given.
80187 if test "${enable_version_specific_runtime_libs+set}" = set; then :
80188 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
80189 yes) version_specific_libs=yes ;;
80190 no) version_specific_libs=no ;;
80191 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
80192 esac
80193 else
80194 version_specific_libs=no
80197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
80198 $as_echo "$version_specific_libs" >&6; }
80200 # Default case for install directory for include files.
80201 if test $version_specific_libs = no && test $gxx_include_dir = no; then
80202 gxx_include_dir='include/c++/${gcc_version}'
80203 if test -n "$with_cross_host" &&
80204 test x"$with_cross_host" != x"no"; then
80205 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
80206 else
80207 gxx_include_dir='${prefix}/'"$gxx_include_dir"
80211 # Version-specific runtime libs processing.
80212 if test $version_specific_libs = yes; then
80213 # Need the gcc compiler version to know where to install libraries
80214 # and header files if --enable-version-specific-runtime-libs option
80215 # is selected. FIXME: these variables are misnamed, there are
80216 # no executables installed in _toolexecdir or _toolexeclibdir.
80217 if test x"$gxx_include_dir" = x"no"; then
80218 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
80220 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80221 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
80224 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
80225 # Install a library built with a cross compiler in tooldir, not libdir.
80226 if test x"$glibcxx_toolexecdir" = x"no"; then
80227 if test -n "$with_cross_host" &&
80228 test x"$with_cross_host" != x"no"; then
80229 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
80230 glibcxx_toolexeclibdir='${toolexecdir}/lib'
80231 else
80232 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80233 glibcxx_toolexeclibdir='${libdir}'
80235 multi_os_directory=`$CXX -print-multi-os-directory`
80236 case $multi_os_directory in
80237 .) ;; # Avoid trailing /.
80238 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
80239 esac
80242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
80243 $as_echo_n "checking for install location... " >&6; }
80244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80245 $as_echo "$gxx_include_dir" >&6; }
80253 # Export all the include and flag information to Makefiles.
80255 # Used for every C++ compile we perform.
80256 GLIBCXX_INCLUDES="\
80257 -I$glibcxx_builddir/include/$host_alias \
80258 -I$glibcxx_builddir/include \
80259 -I$glibcxx_srcdir/libsupc++"
80261 # For Canadian crosses, pick this up too.
80262 if test $CANADIAN = yes; then
80263 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
80266 # Stuff in the actual top level. Currently only used by libsupc++ to
80267 # get unwind* headers from the libgcc dir.
80268 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
80269 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
80271 # Now, export this to all the little Makefiles....
80276 # Optimization flags that are probably a good idea for thrill-seekers. Just
80277 # uncomment the lines below and make, everything else is ready to go...
80278 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
80279 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
80282 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
80286 ac_config_files="$ac_config_files Makefile"
80288 ac_config_files="$ac_config_files scripts/testsuite_flags"
80290 ac_config_files="$ac_config_files scripts/extract_symvers"
80292 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
80295 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
80296 # that multilib installs will end up installed in the correct place.
80297 # The testsuite needs it for multilib-aware ABI baseline files.
80298 # To work around this not being passed down from config-ml.in ->
80299 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
80300 # append it here. Only modify Makefiles that have just been created.
80302 # Also, get rid of this simulated-VPATH thing that automake does.
80303 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
80306 ac_config_commands="$ac_config_commands generate-headers"
80309 cat >confcache <<\_ACEOF
80310 # This file is a shell script that caches the results of configure
80311 # tests run on this system so they can be shared between configure
80312 # scripts and configure runs, see configure's option --config-cache.
80313 # It is not useful on other systems. If it contains results you don't
80314 # want to keep, you may remove or edit it.
80316 # config.status only pays attention to the cache file if you give it
80317 # the --recheck option to rerun configure.
80319 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80320 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80321 # following values.
80323 _ACEOF
80325 # The following way of writing the cache mishandles newlines in values,
80326 # but we know of no workaround that is simple, portable, and efficient.
80327 # So, we kill variables containing newlines.
80328 # Ultrix sh set writes to stderr and can't be redirected directly,
80329 # and sets the high bit in the cache file unless we assign to the vars.
80331 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80332 eval ac_val=\$$ac_var
80333 case $ac_val in #(
80334 *${as_nl}*)
80335 case $ac_var in #(
80336 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80337 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80338 esac
80339 case $ac_var in #(
80340 _ | IFS | as_nl) ;; #(
80341 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80342 *) { eval $ac_var=; unset $ac_var;} ;;
80343 esac ;;
80344 esac
80345 done
80347 (set) 2>&1 |
80348 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80349 *${as_nl}ac_space=\ *)
80350 # `set' does not quote correctly, so add quotes: double-quote
80351 # substitution turns \\\\ into \\, and sed turns \\ into \.
80352 sed -n \
80353 "s/'/'\\\\''/g;
80354 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80355 ;; #(
80357 # `set' quotes correctly as required by POSIX, so do not add quotes.
80358 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80360 esac |
80361 sort
80363 sed '
80364 /^ac_cv_env_/b end
80365 t clear
80366 :clear
80367 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80368 t end
80369 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80370 :end' >>confcache
80371 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80372 if test -w "$cache_file"; then
80373 test "x$cache_file" != "x/dev/null" &&
80374 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80375 $as_echo "$as_me: updating cache $cache_file" >&6;}
80376 cat confcache >$cache_file
80377 else
80378 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80379 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80382 rm -f confcache
80384 test "x$prefix" = xNONE && prefix=$ac_default_prefix
80385 # Let make expand exec_prefix.
80386 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
80388 DEFS=-DHAVE_CONFIG_H
80390 ac_libobjs=
80391 ac_ltlibobjs=
80392 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
80393 # 1. Remove the extension, and $U if already installed.
80394 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
80395 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
80396 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
80397 # will be set to the directory where LIBOBJS objects are built.
80398 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
80399 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
80400 done
80401 LIBOBJS=$ac_libobjs
80403 LTLIBOBJS=$ac_ltlibobjs
80406 if test -n "$EXEEXT"; then
80407 am__EXEEXT_TRUE=
80408 am__EXEEXT_FALSE='#'
80409 else
80410 am__EXEEXT_TRUE='#'
80411 am__EXEEXT_FALSE=
80414 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
80415 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
80416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80418 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
80419 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
80420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80422 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
80423 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
80424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80426 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
80427 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
80428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80430 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
80431 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
80432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80434 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
80435 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
80436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80438 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
80439 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
80440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80442 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
80443 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
80444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80446 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
80447 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
80448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80450 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
80451 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
80452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80454 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
80455 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
80456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80458 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
80459 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
80460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80462 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
80463 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
80464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80466 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
80467 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
80468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80470 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
80471 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
80472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80474 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
80475 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
80476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80478 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
80479 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
80480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80482 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
80483 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
80484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80486 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
80487 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
80488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80490 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
80491 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
80492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80494 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
80495 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
80496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80498 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
80499 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
80500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80502 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
80503 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
80504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80506 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
80507 as_fn_error "conditional \"BUILD_INFO\" was never defined.
80508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80510 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
80511 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
80512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80514 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
80515 as_fn_error "conditional \"BUILD_XML\" was never defined.
80516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80518 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
80519 as_fn_error "conditional \"BUILD_HTML\" was never defined.
80520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80522 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
80523 as_fn_error "conditional \"BUILD_MAN\" was never defined.
80524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80526 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
80527 as_fn_error "conditional \"BUILD_PDF\" was never defined.
80528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80531 : ${CONFIG_STATUS=./config.status}
80532 ac_write_fail=0
80533 ac_clean_files_save=$ac_clean_files
80534 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
80535 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
80536 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
80537 as_write_fail=0
80538 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
80539 #! $SHELL
80540 # Generated by $as_me.
80541 # Run this file to recreate the current configuration.
80542 # Compiler output produced by configure, useful for debugging
80543 # configure, is in config.log if it exists.
80545 debug=false
80546 ac_cs_recheck=false
80547 ac_cs_silent=false
80549 SHELL=\${CONFIG_SHELL-$SHELL}
80550 export SHELL
80551 _ASEOF
80552 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
80553 ## -------------------- ##
80554 ## M4sh Initialization. ##
80555 ## -------------------- ##
80557 # Be more Bourne compatible
80558 DUALCASE=1; export DUALCASE # for MKS sh
80559 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
80560 emulate sh
80561 NULLCMD=:
80562 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
80563 # is contrary to our usage. Disable this feature.
80564 alias -g '${1+"$@"}'='"$@"'
80565 setopt NO_GLOB_SUBST
80566 else
80567 case `(set -o) 2>/dev/null` in #(
80568 *posix*) :
80569 set -o posix ;; #(
80570 *) :
80572 esac
80576 as_nl='
80578 export as_nl
80579 # Printing a long string crashes Solaris 7 /usr/bin/printf.
80580 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
80581 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
80582 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
80583 # Prefer a ksh shell builtin over an external printf program on Solaris,
80584 # but without wasting forks for bash or zsh.
80585 if test -z "$BASH_VERSION$ZSH_VERSION" \
80586 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
80587 as_echo='print -r --'
80588 as_echo_n='print -rn --'
80589 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
80590 as_echo='printf %s\n'
80591 as_echo_n='printf %s'
80592 else
80593 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
80594 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
80595 as_echo_n='/usr/ucb/echo -n'
80596 else
80597 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
80598 as_echo_n_body='eval
80599 arg=$1;
80600 case $arg in #(
80601 *"$as_nl"*)
80602 expr "X$arg" : "X\\(.*\\)$as_nl";
80603 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80604 esac;
80605 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
80607 export as_echo_n_body
80608 as_echo_n='sh -c $as_echo_n_body as_echo'
80610 export as_echo_body
80611 as_echo='sh -c $as_echo_body as_echo'
80614 # The user is always right.
80615 if test "${PATH_SEPARATOR+set}" != set; then
80616 PATH_SEPARATOR=:
80617 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80618 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80619 PATH_SEPARATOR=';'
80624 # IFS
80625 # We need space, tab and new line, in precisely that order. Quoting is
80626 # there to prevent editors from complaining about space-tab.
80627 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
80628 # splitting by setting IFS to empty value.)
80629 IFS=" "" $as_nl"
80631 # Find who we are. Look in the path if we contain no directory separator.
80632 case $0 in #((
80633 *[\\/]* ) as_myself=$0 ;;
80634 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80635 for as_dir in $PATH
80637 IFS=$as_save_IFS
80638 test -z "$as_dir" && as_dir=.
80639 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80640 done
80641 IFS=$as_save_IFS
80644 esac
80645 # We did not find ourselves, most probably we were run as `sh COMMAND'
80646 # in which case we are not to be found in the path.
80647 if test "x$as_myself" = x; then
80648 as_myself=$0
80650 if test ! -f "$as_myself"; then
80651 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
80652 exit 1
80655 # Unset variables that we do not need and which cause bugs (e.g. in
80656 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
80657 # suppresses any "Segmentation fault" message there. '((' could
80658 # trigger a bug in pdksh 5.2.14.
80659 for as_var in BASH_ENV ENV MAIL MAILPATH
80660 do eval test x\${$as_var+set} = xset \
80661 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
80662 done
80663 PS1='$ '
80664 PS2='> '
80665 PS4='+ '
80667 # NLS nuisances.
80668 LC_ALL=C
80669 export LC_ALL
80670 LANGUAGE=C
80671 export LANGUAGE
80673 # CDPATH.
80674 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80677 # as_fn_error ERROR [LINENO LOG_FD]
80678 # ---------------------------------
80679 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
80680 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
80681 # script with status $?, using 1 if that was 0.
80682 as_fn_error ()
80684 as_status=$?; test $as_status -eq 0 && as_status=1
80685 if test "$3"; then
80686 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80687 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80689 $as_echo "$as_me: error: $1" >&2
80690 as_fn_exit $as_status
80691 } # as_fn_error
80694 # as_fn_set_status STATUS
80695 # -----------------------
80696 # Set $? to STATUS, without forking.
80697 as_fn_set_status ()
80699 return $1
80700 } # as_fn_set_status
80702 # as_fn_exit STATUS
80703 # -----------------
80704 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80705 as_fn_exit ()
80707 set +e
80708 as_fn_set_status $1
80709 exit $1
80710 } # as_fn_exit
80712 # as_fn_unset VAR
80713 # ---------------
80714 # Portably unset VAR.
80715 as_fn_unset ()
80717 { eval $1=; unset $1;}
80719 as_unset=as_fn_unset
80720 # as_fn_append VAR VALUE
80721 # ----------------------
80722 # Append the text in VALUE to the end of the definition contained in VAR. Take
80723 # advantage of any shell optimizations that allow amortized linear growth over
80724 # repeated appends, instead of the typical quadratic growth present in naive
80725 # implementations.
80726 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80727 eval 'as_fn_append ()
80729 eval $1+=\$2
80731 else
80732 as_fn_append ()
80734 eval $1=\$$1\$2
80736 fi # as_fn_append
80738 # as_fn_arith ARG...
80739 # ------------------
80740 # Perform arithmetic evaluation on the ARGs, and store the result in the
80741 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80742 # must be portable across $(()) and expr.
80743 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80744 eval 'as_fn_arith ()
80746 as_val=$(( $* ))
80748 else
80749 as_fn_arith ()
80751 as_val=`expr "$@" || test $? -eq 1`
80753 fi # as_fn_arith
80756 if expr a : '\(a\)' >/dev/null 2>&1 &&
80757 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80758 as_expr=expr
80759 else
80760 as_expr=false
80763 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80764 as_basename=basename
80765 else
80766 as_basename=false
80769 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80770 as_dirname=dirname
80771 else
80772 as_dirname=false
80775 as_me=`$as_basename -- "$0" ||
80776 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80777 X"$0" : 'X\(//\)$' \| \
80778 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80779 $as_echo X/"$0" |
80780 sed '/^.*\/\([^/][^/]*\)\/*$/{
80781 s//\1/
80784 /^X\/\(\/\/\)$/{
80785 s//\1/
80788 /^X\/\(\/\).*/{
80789 s//\1/
80792 s/.*/./; q'`
80794 # Avoid depending upon Character Ranges.
80795 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80796 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80797 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80798 as_cr_digits='0123456789'
80799 as_cr_alnum=$as_cr_Letters$as_cr_digits
80801 ECHO_C= ECHO_N= ECHO_T=
80802 case `echo -n x` in #(((((
80803 -n*)
80804 case `echo 'xy\c'` in
80805 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80806 xy) ECHO_C='\c';;
80807 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80808 ECHO_T=' ';;
80809 esac;;
80811 ECHO_N='-n';;
80812 esac
80814 rm -f conf$$ conf$$.exe conf$$.file
80815 if test -d conf$$.dir; then
80816 rm -f conf$$.dir/conf$$.file
80817 else
80818 rm -f conf$$.dir
80819 mkdir conf$$.dir 2>/dev/null
80821 if (echo >conf$$.file) 2>/dev/null; then
80822 if ln -s conf$$.file conf$$ 2>/dev/null; then
80823 as_ln_s='ln -s'
80824 # ... but there are two gotchas:
80825 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80826 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80827 # In both cases, we have to default to `cp -p'.
80828 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80829 as_ln_s='cp -p'
80830 elif ln conf$$.file conf$$ 2>/dev/null; then
80831 as_ln_s=ln
80832 else
80833 as_ln_s='cp -p'
80835 else
80836 as_ln_s='cp -p'
80838 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80839 rmdir conf$$.dir 2>/dev/null
80842 # as_fn_mkdir_p
80843 # -------------
80844 # Create "$as_dir" as a directory, including parents if necessary.
80845 as_fn_mkdir_p ()
80848 case $as_dir in #(
80849 -*) as_dir=./$as_dir;;
80850 esac
80851 test -d "$as_dir" || eval $as_mkdir_p || {
80852 as_dirs=
80853 while :; do
80854 case $as_dir in #(
80855 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80856 *) as_qdir=$as_dir;;
80857 esac
80858 as_dirs="'$as_qdir' $as_dirs"
80859 as_dir=`$as_dirname -- "$as_dir" ||
80860 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80861 X"$as_dir" : 'X\(//\)[^/]' \| \
80862 X"$as_dir" : 'X\(//\)$' \| \
80863 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80864 $as_echo X"$as_dir" |
80865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80866 s//\1/
80869 /^X\(\/\/\)[^/].*/{
80870 s//\1/
80873 /^X\(\/\/\)$/{
80874 s//\1/
80877 /^X\(\/\).*/{
80878 s//\1/
80881 s/.*/./; q'`
80882 test -d "$as_dir" && break
80883 done
80884 test -z "$as_dirs" || eval "mkdir $as_dirs"
80885 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80888 } # as_fn_mkdir_p
80889 if mkdir -p . 2>/dev/null; then
80890 as_mkdir_p='mkdir -p "$as_dir"'
80891 else
80892 test -d ./-p && rmdir ./-p
80893 as_mkdir_p=false
80896 if test -x / >/dev/null 2>&1; then
80897 as_test_x='test -x'
80898 else
80899 if ls -dL / >/dev/null 2>&1; then
80900 as_ls_L_option=L
80901 else
80902 as_ls_L_option=
80904 as_test_x='
80905 eval sh -c '\''
80906 if test -d "$1"; then
80907 test -d "$1/.";
80908 else
80909 case $1 in #(
80910 -*)set "./$1";;
80911 esac;
80912 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80913 ???[sx]*):;;*)false;;esac;fi
80914 '\'' sh
80917 as_executable_p=$as_test_x
80919 # Sed expression to map a string onto a valid CPP name.
80920 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80922 # Sed expression to map a string onto a valid variable name.
80923 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80926 exec 6>&1
80927 ## ----------------------------------- ##
80928 ## Main body of $CONFIG_STATUS script. ##
80929 ## ----------------------------------- ##
80930 _ASEOF
80931 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80934 # Save the log message, to keep $0 and so on meaningful, and to
80935 # report actual input values of CONFIG_FILES etc. instead of their
80936 # values after options handling.
80937 ac_log="
80938 This file was extended by package-unused $as_me version-unused, which was
80939 generated by GNU Autoconf 2.64. Invocation command line was
80941 CONFIG_FILES = $CONFIG_FILES
80942 CONFIG_HEADERS = $CONFIG_HEADERS
80943 CONFIG_LINKS = $CONFIG_LINKS
80944 CONFIG_COMMANDS = $CONFIG_COMMANDS
80945 $ $0 $@
80947 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80950 _ACEOF
80952 case $ac_config_files in *"
80953 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80954 esac
80956 case $ac_config_headers in *"
80957 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80958 esac
80961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80962 # Files that config.status was made for.
80963 config_files="$ac_config_files"
80964 config_headers="$ac_config_headers"
80965 config_commands="$ac_config_commands"
80967 _ACEOF
80969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80970 ac_cs_usage="\
80971 \`$as_me' instantiates files and other configuration actions
80972 from templates according to the current configuration. Unless the files
80973 and actions are specified as TAGs, all are instantiated by default.
80975 Usage: $0 [OPTION]... [TAG]...
80977 -h, --help print this help, then exit
80978 -V, --version print version number and configuration settings, then exit
80979 -q, --quiet, --silent
80980 do not print progress messages
80981 -d, --debug don't remove temporary files
80982 --recheck update $as_me by reconfiguring in the same conditions
80983 --file=FILE[:TEMPLATE]
80984 instantiate the configuration file FILE
80985 --header=FILE[:TEMPLATE]
80986 instantiate the configuration header FILE
80988 Configuration files:
80989 $config_files
80991 Configuration headers:
80992 $config_headers
80994 Configuration commands:
80995 $config_commands
80997 Report bugs to the package provider."
80999 _ACEOF
81000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81001 ac_cs_version="\\
81002 package-unused config.status version-unused
81003 configured by $0, generated by GNU Autoconf 2.64,
81004 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
81006 Copyright (C) 2009 Free Software Foundation, Inc.
81007 This config.status script is free software; the Free Software Foundation
81008 gives unlimited permission to copy, distribute and modify it."
81010 ac_pwd='$ac_pwd'
81011 srcdir='$srcdir'
81012 INSTALL='$INSTALL'
81013 MKDIR_P='$MKDIR_P'
81014 AWK='$AWK'
81015 test -n "\$AWK" || AWK=awk
81016 _ACEOF
81018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81019 # The default lists apply if the user does not specify any file.
81020 ac_need_defaults=:
81021 while test $# != 0
81023 case $1 in
81024 --*=*)
81025 ac_option=`expr "X$1" : 'X\([^=]*\)='`
81026 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
81027 ac_shift=:
81030 ac_option=$1
81031 ac_optarg=$2
81032 ac_shift=shift
81034 esac
81036 case $ac_option in
81037 # Handling of the options.
81038 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
81039 ac_cs_recheck=: ;;
81040 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
81041 $as_echo "$ac_cs_version"; exit ;;
81042 --debug | --debu | --deb | --de | --d | -d )
81043 debug=: ;;
81044 --file | --fil | --fi | --f )
81045 $ac_shift
81046 case $ac_optarg in
81047 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81048 esac
81049 as_fn_append CONFIG_FILES " '$ac_optarg'"
81050 ac_need_defaults=false;;
81051 --header | --heade | --head | --hea )
81052 $ac_shift
81053 case $ac_optarg in
81054 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81055 esac
81056 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
81057 ac_need_defaults=false;;
81058 --he | --h)
81059 # Conflict between --help and --header
81060 as_fn_error "ambiguous option: \`$1'
81061 Try \`$0 --help' for more information.";;
81062 --help | --hel | -h )
81063 $as_echo "$ac_cs_usage"; exit ;;
81064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
81065 | -silent | --silent | --silen | --sile | --sil | --si | --s)
81066 ac_cs_silent=: ;;
81068 # This is an error.
81069 -*) as_fn_error "unrecognized option: \`$1'
81070 Try \`$0 --help' for more information." ;;
81072 *) as_fn_append ac_config_targets " $1"
81073 ac_need_defaults=false ;;
81075 esac
81076 shift
81077 done
81079 ac_configure_extra_args=
81081 if $ac_cs_silent; then
81082 exec 6>/dev/null
81083 ac_configure_extra_args="$ac_configure_extra_args --silent"
81086 _ACEOF
81087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81088 if \$ac_cs_recheck; then
81089 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
81090 shift
81091 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
81092 CONFIG_SHELL='$SHELL'
81093 export CONFIG_SHELL
81094 exec "\$@"
81097 _ACEOF
81098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81099 exec 5>>config.log
81101 echo
81102 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
81103 ## Running $as_me. ##
81104 _ASBOX
81105 $as_echo "$ac_log"
81106 } >&5
81108 _ACEOF
81109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81111 # INIT-COMMANDS
81114 srcdir="$srcdir"
81115 host="$host"
81116 target="$target"
81117 with_multisubdir="$with_multisubdir"
81118 with_multisrctop="$with_multisrctop"
81119 with_target_subdir="$with_target_subdir"
81120 ac_configure_args="${multilib_arg} ${ac_configure_args}"
81121 multi_basedir="$multi_basedir"
81122 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
81123 CC="$CC"
81124 CXX="$CXX"
81125 GFORTRAN="$GFORTRAN"
81126 GCJ="$GCJ"
81129 # The HP-UX ksh and POSIX shell print the target directory to stdout
81130 # if CDPATH is set.
81131 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81133 sed_quote_subst='$sed_quote_subst'
81134 double_quote_subst='$double_quote_subst'
81135 delay_variable_subst='$delay_variable_subst'
81136 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
81137 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
81138 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
81139 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
81140 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
81141 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
81142 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
81143 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
81144 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
81145 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
81146 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
81147 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
81148 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
81149 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
81150 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
81151 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
81152 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
81153 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
81154 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
81155 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
81156 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
81157 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
81158 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
81159 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
81160 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
81161 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
81162 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
81163 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
81164 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
81165 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
81166 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
81167 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
81168 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
81169 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
81170 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
81171 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
81172 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
81173 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81174 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81175 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
81176 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
81177 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
81178 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
81179 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
81180 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
81181 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
81182 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
81183 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
81184 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"`'
81185 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
81186 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
81187 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
81188 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
81189 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
81190 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
81191 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
81192 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
81193 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
81194 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
81195 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
81196 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
81197 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
81198 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
81199 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
81200 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81201 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
81202 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
81203 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
81204 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
81205 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
81206 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
81207 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81208 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
81209 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81210 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
81211 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81212 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
81213 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
81214 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
81215 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
81216 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
81217 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
81218 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
81219 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
81220 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
81221 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
81222 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
81223 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
81224 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
81225 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
81226 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
81227 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
81228 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
81229 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
81230 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
81231 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
81232 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
81233 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
81234 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
81235 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
81236 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
81237 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
81238 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
81239 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
81240 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
81241 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
81242 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
81243 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81244 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81245 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
81246 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
81247 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
81248 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
81249 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
81250 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
81251 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
81252 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
81253 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
81254 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
81255 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
81256 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
81257 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
81258 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
81259 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
81260 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
81261 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
81262 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
81263 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
81264 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81265 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81266 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
81267 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
81268 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
81269 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
81270 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
81271 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
81272 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
81273 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
81274 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
81275 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81276 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81277 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
81278 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81279 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81280 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81281 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81282 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81283 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81284 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
81285 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81286 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81287 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81288 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
81289 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
81290 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
81291 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
81292 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
81293 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
81294 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
81295 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
81296 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
81297 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
81298 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
81299 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81300 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81301 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81302 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81303 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
81304 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
81305 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
81306 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81307 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81308 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
81309 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
81310 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
81312 LTCC='$LTCC'
81313 LTCFLAGS='$LTCFLAGS'
81314 compiler='$compiler_DEFAULT'
81316 # A function that is used when there is no print builtin or printf.
81317 func_fallback_echo ()
81319 eval 'cat <<_LTECHO_EOF
81321 _LTECHO_EOF'
81324 # Quote evaled strings.
81325 for var in SHELL \
81326 ECHO \
81327 SED \
81328 GREP \
81329 EGREP \
81330 FGREP \
81331 LD \
81332 NM \
81333 LN_S \
81334 lt_SP2NL \
81335 lt_NL2SP \
81336 reload_flag \
81337 OBJDUMP \
81338 deplibs_check_method \
81339 file_magic_cmd \
81340 AR \
81341 AR_FLAGS \
81342 STRIP \
81343 RANLIB \
81344 CC \
81345 CFLAGS \
81346 compiler \
81347 lt_cv_sys_global_symbol_pipe \
81348 lt_cv_sys_global_symbol_to_cdecl \
81349 lt_cv_sys_global_symbol_to_c_name_address \
81350 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
81351 lt_prog_compiler_no_builtin_flag \
81352 lt_prog_compiler_wl \
81353 lt_prog_compiler_pic \
81354 lt_prog_compiler_static \
81355 lt_cv_prog_compiler_c_o \
81356 need_locks \
81357 DSYMUTIL \
81358 NMEDIT \
81359 LIPO \
81360 OTOOL \
81361 OTOOL64 \
81362 shrext_cmds \
81363 export_dynamic_flag_spec \
81364 whole_archive_flag_spec \
81365 compiler_needs_object \
81366 with_gnu_ld \
81367 allow_undefined_flag \
81368 no_undefined_flag \
81369 hardcode_libdir_flag_spec \
81370 hardcode_libdir_flag_spec_ld \
81371 hardcode_libdir_separator \
81372 fix_srcfile_path \
81373 exclude_expsyms \
81374 include_expsyms \
81375 file_list_spec \
81376 variables_saved_for_relink \
81377 libname_spec \
81378 library_names_spec \
81379 soname_spec \
81380 install_override_mode \
81381 finish_eval \
81382 old_striplib \
81383 striplib \
81384 compiler_lib_search_dirs \
81385 predep_objects \
81386 postdep_objects \
81387 predeps \
81388 postdeps \
81389 compiler_lib_search_path \
81390 LD_CXX \
81391 reload_flag_CXX \
81392 compiler_CXX \
81393 lt_prog_compiler_no_builtin_flag_CXX \
81394 lt_prog_compiler_wl_CXX \
81395 lt_prog_compiler_pic_CXX \
81396 lt_prog_compiler_static_CXX \
81397 lt_cv_prog_compiler_c_o_CXX \
81398 export_dynamic_flag_spec_CXX \
81399 whole_archive_flag_spec_CXX \
81400 compiler_needs_object_CXX \
81401 with_gnu_ld_CXX \
81402 allow_undefined_flag_CXX \
81403 no_undefined_flag_CXX \
81404 hardcode_libdir_flag_spec_CXX \
81405 hardcode_libdir_flag_spec_ld_CXX \
81406 hardcode_libdir_separator_CXX \
81407 fix_srcfile_path_CXX \
81408 exclude_expsyms_CXX \
81409 include_expsyms_CXX \
81410 file_list_spec_CXX \
81411 compiler_lib_search_dirs_CXX \
81412 predep_objects_CXX \
81413 postdep_objects_CXX \
81414 predeps_CXX \
81415 postdeps_CXX \
81416 compiler_lib_search_path_CXX; do
81417 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81418 *[\\\\\\\`\\"\\\$]*)
81419 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
81422 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81424 esac
81425 done
81427 # Double-quote double-evaled strings.
81428 for var in reload_cmds \
81429 old_postinstall_cmds \
81430 old_postuninstall_cmds \
81431 old_archive_cmds \
81432 extract_expsyms_cmds \
81433 old_archive_from_new_cmds \
81434 old_archive_from_expsyms_cmds \
81435 archive_cmds \
81436 archive_expsym_cmds \
81437 module_cmds \
81438 module_expsym_cmds \
81439 export_symbols_cmds \
81440 prelink_cmds \
81441 postinstall_cmds \
81442 postuninstall_cmds \
81443 finish_cmds \
81444 sys_lib_search_path_spec \
81445 sys_lib_dlsearch_path_spec \
81446 reload_cmds_CXX \
81447 old_archive_cmds_CXX \
81448 old_archive_from_new_cmds_CXX \
81449 old_archive_from_expsyms_cmds_CXX \
81450 archive_cmds_CXX \
81451 archive_expsym_cmds_CXX \
81452 module_cmds_CXX \
81453 module_expsym_cmds_CXX \
81454 export_symbols_cmds_CXX \
81455 prelink_cmds_CXX; do
81456 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81457 *[\\\\\\\`\\"\\\$]*)
81458 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
81461 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81463 esac
81464 done
81466 ac_aux_dir='$ac_aux_dir'
81467 xsi_shell='$xsi_shell'
81468 lt_shell_append='$lt_shell_append'
81470 # See if we are running on zsh, and set the options which allow our
81471 # commands through without removal of \ escapes INIT.
81472 if test -n "\${ZSH_VERSION+set}" ; then
81473 setopt NO_GLOB_SUBST
81477 PACKAGE='$PACKAGE'
81478 VERSION='$VERSION'
81479 TIMESTAMP='$TIMESTAMP'
81480 RM='$RM'
81481 ofile='$ofile'
81488 GCC="$GCC"
81489 CC="$CC"
81490 acx_cv_header_stdint="$acx_cv_header_stdint"
81491 acx_cv_type_int8_t="$acx_cv_type_int8_t"
81492 acx_cv_type_int16_t="$acx_cv_type_int16_t"
81493 acx_cv_type_int32_t="$acx_cv_type_int32_t"
81494 acx_cv_type_int64_t="$acx_cv_type_int64_t"
81495 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
81496 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
81497 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
81498 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
81499 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
81500 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
81501 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
81502 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
81503 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
81506 _ACEOF
81508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81510 # Handling of arguments.
81511 for ac_config_target in $ac_config_targets
81513 case $ac_config_target in
81514 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
81515 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
81516 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
81517 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
81518 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
81519 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
81520 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
81521 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
81522 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
81523 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
81524 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
81525 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
81526 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
81527 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
81528 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
81529 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
81530 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
81531 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
81532 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
81534 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
81535 esac
81536 done
81539 # If the user did not use the arguments to specify the items to instantiate,
81540 # then the envvar interface is used. Set only those that are not.
81541 # We use the long form for the default assignment because of an extremely
81542 # bizarre bug on SunOS 4.1.3.
81543 if $ac_need_defaults; then
81544 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
81545 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
81546 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
81549 # Have a temporary directory for convenience. Make it in the build tree
81550 # simply because there is no reason against having it here, and in addition,
81551 # creating and moving files from /tmp can sometimes cause problems.
81552 # Hook for its removal unless debugging.
81553 # Note that there is a small window in which the directory will not be cleaned:
81554 # after its creation but before its name has been assigned to `$tmp'.
81555 $debug ||
81557 tmp=
81558 trap 'exit_status=$?
81559 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
81561 trap 'as_fn_exit 1' 1 2 13 15
81563 # Create a (secure) tmp directory for tmp files.
81566 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
81567 test -n "$tmp" && test -d "$tmp"
81568 } ||
81570 tmp=./conf$$-$RANDOM
81571 (umask 077 && mkdir "$tmp")
81572 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
81574 # Set up the scripts for CONFIG_FILES section.
81575 # No need to generate them if there are no CONFIG_FILES.
81576 # This happens for instance with `./config.status config.h'.
81577 if test -n "$CONFIG_FILES"; then
81580 ac_cr=`echo X | tr X '\015'`
81581 # On cygwin, bash can eat \r inside `` if the user requested igncr.
81582 # But we know of no other shell where ac_cr would be empty at this
81583 # point, so we can use a bashism as a fallback.
81584 if test "x$ac_cr" = x; then
81585 eval ac_cr=\$\'\\r\'
81587 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
81588 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
81589 ac_cs_awk_cr='\r'
81590 else
81591 ac_cs_awk_cr=$ac_cr
81594 echo 'BEGIN {' >"$tmp/subs1.awk" &&
81595 _ACEOF
81599 echo "cat >conf$$subs.awk <<_ACEOF" &&
81600 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
81601 echo "_ACEOF"
81602 } >conf$$subs.sh ||
81603 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81604 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
81605 ac_delim='%!_!# '
81606 for ac_last_try in false false false false false :; do
81607 . ./conf$$subs.sh ||
81608 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81610 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
81611 if test $ac_delim_n = $ac_delim_num; then
81612 break
81613 elif $ac_last_try; then
81614 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81615 else
81616 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81618 done
81619 rm -f conf$$subs.sh
81621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81622 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
81623 _ACEOF
81624 sed -n '
81626 s/^/S["/; s/!.*/"]=/
81629 s/^[^!]*!//
81630 :repl
81631 t repl
81632 s/'"$ac_delim"'$//
81633 t delim
81636 s/\(.\{148\}\).*/\1/
81637 t more1
81638 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
81641 b repl
81642 :more1
81643 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81646 s/.\{148\}//
81647 t nl
81648 :delim
81650 s/\(.\{148\}\).*/\1/
81651 t more2
81652 s/["\\]/\\&/g; s/^/"/; s/$/"/
81655 :more2
81656 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81659 s/.\{148\}//
81660 t delim
81661 ' <conf$$subs.awk | sed '
81662 /^[^""]/{
81664 s/\n//
81666 ' >>$CONFIG_STATUS || ac_write_fail=1
81667 rm -f conf$$subs.awk
81668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81669 _ACAWK
81670 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
81671 for (key in S) S_is_set[key] = 1
81672 FS = "\a"
81676 line = $ 0
81677 nfields = split(line, field, "@")
81678 substed = 0
81679 len = length(field[1])
81680 for (i = 2; i < nfields; i++) {
81681 key = field[i]
81682 keylen = length(key)
81683 if (S_is_set[key]) {
81684 value = S[key]
81685 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81686 len += length(value) + length(field[++i])
81687 substed = 1
81688 } else
81689 len += 1 + keylen
81692 print line
81695 _ACAWK
81696 _ACEOF
81697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81698 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81699 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81700 else
81702 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81703 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81704 _ACEOF
81706 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81707 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81708 # trailing colons and then remove the whole line if VPATH becomes empty
81709 # (actually we leave an empty line to preserve line numbers).
81710 if test "x$srcdir" = x.; then
81711 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81712 s/:*\$(srcdir):*/:/
81713 s/:*\${srcdir}:*/:/
81714 s/:*@srcdir@:*/:/
81715 s/^\([^=]*=[ ]*\):*/\1/
81716 s/:*$//
81717 s/^[^=]*=[ ]*$//
81721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81722 fi # test -n "$CONFIG_FILES"
81724 # Set up the scripts for CONFIG_HEADERS section.
81725 # No need to generate them if there are no CONFIG_HEADERS.
81726 # This happens for instance with `./config.status Makefile'.
81727 if test -n "$CONFIG_HEADERS"; then
81728 cat >"$tmp/defines.awk" <<\_ACAWK ||
81729 BEGIN {
81730 _ACEOF
81732 # Transform confdefs.h into an awk script `defines.awk', embedded as
81733 # here-document in config.status, that substitutes the proper values into
81734 # config.h.in to produce config.h.
81736 # Create a delimiter string that does not exist in confdefs.h, to ease
81737 # handling of long lines.
81738 ac_delim='%!_!# '
81739 for ac_last_try in false false :; do
81740 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81741 if test -z "$ac_t"; then
81742 break
81743 elif $ac_last_try; then
81744 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81745 else
81746 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81748 done
81750 # For the awk script, D is an array of macro values keyed by name,
81751 # likewise P contains macro parameters if any. Preserve backslash
81752 # newline sequences.
81754 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81755 sed -n '
81756 s/.\{148\}/&'"$ac_delim"'/g
81757 t rset
81758 :rset
81759 s/^[ ]*#[ ]*define[ ][ ]*/ /
81760 t def
81762 :def
81763 s/\\$//
81764 t bsnl
81765 s/["\\]/\\&/g
81766 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81767 D["\1"]=" \3"/p
81768 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81770 :bsnl
81771 s/["\\]/\\&/g
81772 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81773 D["\1"]=" \3\\\\\\n"\\/p
81774 t cont
81775 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81776 t cont
81778 :cont
81780 s/.\{148\}/&'"$ac_delim"'/g
81781 t clear
81782 :clear
81783 s/\\$//
81784 t bsnlc
81785 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81787 :bsnlc
81788 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81789 b cont
81790 ' <confdefs.h | sed '
81791 s/'"$ac_delim"'/"\\\
81792 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81795 for (key in D) D_is_set[key] = 1
81796 FS = "\a"
81798 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81799 line = \$ 0
81800 split(line, arg, " ")
81801 if (arg[1] == "#") {
81802 defundef = arg[2]
81803 mac1 = arg[3]
81804 } else {
81805 defundef = substr(arg[1], 2)
81806 mac1 = arg[2]
81808 split(mac1, mac2, "(") #)
81809 macro = mac2[1]
81810 prefix = substr(line, 1, index(line, defundef) - 1)
81811 if (D_is_set[macro]) {
81812 # Preserve the white space surrounding the "#".
81813 print prefix "define", macro P[macro] D[macro]
81814 next
81815 } else {
81816 # Replace #undef with comments. This is necessary, for example,
81817 # in the case of _POSIX_SOURCE, which is predefined and required
81818 # on some systems where configure will not decide to define it.
81819 if (defundef == "undef") {
81820 print "/*", prefix defundef, macro, "*/"
81821 next
81825 { print }
81826 _ACAWK
81827 _ACEOF
81828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81829 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81830 fi # test -n "$CONFIG_HEADERS"
81833 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81834 shift
81835 for ac_tag
81837 case $ac_tag in
81838 :[FHLC]) ac_mode=$ac_tag; continue;;
81839 esac
81840 case $ac_mode$ac_tag in
81841 :[FHL]*:*);;
81842 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81843 :[FH]-) ac_tag=-:-;;
81844 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81845 esac
81846 ac_save_IFS=$IFS
81847 IFS=:
81848 set x $ac_tag
81849 IFS=$ac_save_IFS
81850 shift
81851 ac_file=$1
81852 shift
81854 case $ac_mode in
81855 :L) ac_source=$1;;
81856 :[FH])
81857 ac_file_inputs=
81858 for ac_f
81860 case $ac_f in
81861 -) ac_f="$tmp/stdin";;
81862 *) # Look for the file first in the build tree, then in the source tree
81863 # (if the path is not absolute). The absolute path cannot be DOS-style,
81864 # because $ac_f cannot contain `:'.
81865 test -f "$ac_f" ||
81866 case $ac_f in
81867 [\\/$]*) false;;
81868 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81869 esac ||
81870 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81871 esac
81872 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81873 as_fn_append ac_file_inputs " '$ac_f'"
81874 done
81876 # Let's still pretend it is `configure' which instantiates (i.e., don't
81877 # use $as_me), people would be surprised to read:
81878 # /* config.h. Generated by config.status. */
81879 configure_input='Generated from '`
81880 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81881 `' by configure.'
81882 if test x"$ac_file" != x-; then
81883 configure_input="$ac_file. $configure_input"
81884 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81885 $as_echo "$as_me: creating $ac_file" >&6;}
81887 # Neutralize special characters interpreted by sed in replacement strings.
81888 case $configure_input in #(
81889 *\&* | *\|* | *\\* )
81890 ac_sed_conf_input=`$as_echo "$configure_input" |
81891 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81892 *) ac_sed_conf_input=$configure_input;;
81893 esac
81895 case $ac_tag in
81896 *:-:* | *:-) cat >"$tmp/stdin" \
81897 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81898 esac
81900 esac
81902 ac_dir=`$as_dirname -- "$ac_file" ||
81903 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81904 X"$ac_file" : 'X\(//\)[^/]' \| \
81905 X"$ac_file" : 'X\(//\)$' \| \
81906 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81907 $as_echo X"$ac_file" |
81908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81909 s//\1/
81912 /^X\(\/\/\)[^/].*/{
81913 s//\1/
81916 /^X\(\/\/\)$/{
81917 s//\1/
81920 /^X\(\/\).*/{
81921 s//\1/
81924 s/.*/./; q'`
81925 as_dir="$ac_dir"; as_fn_mkdir_p
81926 ac_builddir=.
81928 case "$ac_dir" in
81929 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81931 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81932 # A ".." for each directory in $ac_dir_suffix.
81933 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81934 case $ac_top_builddir_sub in
81935 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81936 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81937 esac ;;
81938 esac
81939 ac_abs_top_builddir=$ac_pwd
81940 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81941 # for backward compatibility:
81942 ac_top_builddir=$ac_top_build_prefix
81944 case $srcdir in
81945 .) # We are building in place.
81946 ac_srcdir=.
81947 ac_top_srcdir=$ac_top_builddir_sub
81948 ac_abs_top_srcdir=$ac_pwd ;;
81949 [\\/]* | ?:[\\/]* ) # Absolute name.
81950 ac_srcdir=$srcdir$ac_dir_suffix;
81951 ac_top_srcdir=$srcdir
81952 ac_abs_top_srcdir=$srcdir ;;
81953 *) # Relative name.
81954 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81955 ac_top_srcdir=$ac_top_build_prefix$srcdir
81956 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81957 esac
81958 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81961 case $ac_mode in
81964 # CONFIG_FILE
81967 case $INSTALL in
81968 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81969 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81970 esac
81971 ac_MKDIR_P=$MKDIR_P
81972 case $MKDIR_P in
81973 [\\/$]* | ?:[\\/]* ) ;;
81974 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81975 esac
81976 _ACEOF
81978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81979 # If the template does not know about datarootdir, expand it.
81980 # FIXME: This hack should be removed a few years after 2.60.
81981 ac_datarootdir_hack=; ac_datarootdir_seen=
81982 ac_sed_dataroot='
81983 /datarootdir/ {
81987 /@datadir@/p
81988 /@docdir@/p
81989 /@infodir@/p
81990 /@localedir@/p
81991 /@mandir@/p'
81992 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81993 *datarootdir*) ac_datarootdir_seen=yes;;
81994 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81996 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81997 _ACEOF
81998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81999 ac_datarootdir_hack='
82000 s&@datadir@&$datadir&g
82001 s&@docdir@&$docdir&g
82002 s&@infodir@&$infodir&g
82003 s&@localedir@&$localedir&g
82004 s&@mandir@&$mandir&g
82005 s&\\\${datarootdir}&$datarootdir&g' ;;
82006 esac
82007 _ACEOF
82009 # Neutralize VPATH when `$srcdir' = `.'.
82010 # Shell code in configure.ac might set extrasub.
82011 # FIXME: do we really want to maintain this feature?
82012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82013 ac_sed_extra="$ac_vpsub
82014 $extrasub
82015 _ACEOF
82016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82018 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
82019 s|@configure_input@|$ac_sed_conf_input|;t t
82020 s&@top_builddir@&$ac_top_builddir_sub&;t t
82021 s&@top_build_prefix@&$ac_top_build_prefix&;t t
82022 s&@srcdir@&$ac_srcdir&;t t
82023 s&@abs_srcdir@&$ac_abs_srcdir&;t t
82024 s&@top_srcdir@&$ac_top_srcdir&;t t
82025 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
82026 s&@builddir@&$ac_builddir&;t t
82027 s&@abs_builddir@&$ac_abs_builddir&;t t
82028 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
82029 s&@INSTALL@&$ac_INSTALL&;t t
82030 s&@MKDIR_P@&$ac_MKDIR_P&;t t
82031 $ac_datarootdir_hack
82033 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
82034 || as_fn_error "could not create $ac_file" "$LINENO" 5
82036 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
82037 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
82038 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
82039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82040 which seems to be undefined. Please make sure it is defined." >&5
82041 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82042 which seems to be undefined. Please make sure it is defined." >&2;}
82044 rm -f "$tmp/stdin"
82045 case $ac_file in
82046 -) cat "$tmp/out" && rm -f "$tmp/out";;
82047 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
82048 esac \
82049 || as_fn_error "could not create $ac_file" "$LINENO" 5
82053 # CONFIG_HEADER
82055 if test x"$ac_file" != x-; then
82057 $as_echo "/* $configure_input */" \
82058 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
82059 } >"$tmp/config.h" \
82060 || as_fn_error "could not create $ac_file" "$LINENO" 5
82061 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
82062 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
82063 $as_echo "$as_me: $ac_file is unchanged" >&6;}
82064 else
82065 rm -f "$ac_file"
82066 mv "$tmp/config.h" "$ac_file" \
82067 || as_fn_error "could not create $ac_file" "$LINENO" 5
82069 else
82070 $as_echo "/* $configure_input */" \
82071 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
82072 || as_fn_error "could not create -" "$LINENO" 5
82074 # Compute "$ac_file"'s index in $config_headers.
82075 _am_arg="$ac_file"
82076 _am_stamp_count=1
82077 for _am_header in $config_headers :; do
82078 case $_am_header in
82079 $_am_arg | $_am_arg:* )
82080 break ;;
82082 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
82083 esac
82084 done
82085 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
82086 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82087 X"$_am_arg" : 'X\(//\)[^/]' \| \
82088 X"$_am_arg" : 'X\(//\)$' \| \
82089 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
82090 $as_echo X"$_am_arg" |
82091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82092 s//\1/
82095 /^X\(\/\/\)[^/].*/{
82096 s//\1/
82099 /^X\(\/\/\)$/{
82100 s//\1/
82103 /^X\(\/\).*/{
82104 s//\1/
82107 s/.*/./; q'`/stamp-h$_am_stamp_count
82110 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
82111 $as_echo "$as_me: executing $ac_file commands" >&6;}
82113 esac
82116 case $ac_file$ac_mode in
82117 "default-1":C)
82118 # Only add multilib support code if we just rebuilt the top-level
82119 # Makefile.
82120 case " $CONFIG_FILES " in
82121 *" Makefile "*)
82122 ac_file=Makefile . ${multi_basedir}/config-ml.in
82124 esac ;;
82125 "libtool":C)
82127 # See if we are running on zsh, and set the options which allow our
82128 # commands through without removal of \ escapes.
82129 if test -n "${ZSH_VERSION+set}" ; then
82130 setopt NO_GLOB_SUBST
82133 cfgfile="${ofile}T"
82134 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
82135 $RM "$cfgfile"
82137 cat <<_LT_EOF >> "$cfgfile"
82138 #! $SHELL
82140 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
82141 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
82142 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
82143 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
82145 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
82146 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
82147 # Written by Gordon Matzigkeit, 1996
82149 # This file is part of GNU Libtool.
82151 # GNU Libtool is free software; you can redistribute it and/or
82152 # modify it under the terms of the GNU General Public License as
82153 # published by the Free Software Foundation; either version 2 of
82154 # the License, or (at your option) any later version.
82156 # As a special exception to the GNU General Public License,
82157 # if you distribute this file as part of a program or library that
82158 # is built using GNU Libtool, you may include this file under the
82159 # same distribution terms that you use for the rest of that program.
82161 # GNU Libtool is distributed in the hope that it will be useful,
82162 # but WITHOUT ANY WARRANTY; without even the implied warranty of
82163 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82164 # GNU General Public License for more details.
82166 # You should have received a copy of the GNU General Public License
82167 # along with GNU Libtool; see the file COPYING. If not, a copy
82168 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
82169 # obtained by writing to the Free Software Foundation, Inc.,
82170 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
82173 # The names of the tagged configurations supported by this script.
82174 available_tags="CXX "
82176 # ### BEGIN LIBTOOL CONFIG
82178 # Which release of libtool.m4 was used?
82179 macro_version=$macro_version
82180 macro_revision=$macro_revision
82182 # Whether or not to build shared libraries.
82183 build_libtool_libs=$enable_shared
82185 # Whether or not to build static libraries.
82186 build_old_libs=$enable_static
82188 # What type of objects to build.
82189 pic_mode=$pic_mode
82191 # Whether or not to optimize for fast installation.
82192 fast_install=$enable_fast_install
82194 # Shell to use when invoking shell scripts.
82195 SHELL=$lt_SHELL
82197 # An echo program that protects backslashes.
82198 ECHO=$lt_ECHO
82200 # The host system.
82201 host_alias=$host_alias
82202 host=$host
82203 host_os=$host_os
82205 # The build system.
82206 build_alias=$build_alias
82207 build=$build
82208 build_os=$build_os
82210 # A sed program that does not truncate output.
82211 SED=$lt_SED
82213 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
82214 Xsed="\$SED -e 1s/^X//"
82216 # A grep program that handles long lines.
82217 GREP=$lt_GREP
82219 # An ERE matcher.
82220 EGREP=$lt_EGREP
82222 # A literal string matcher.
82223 FGREP=$lt_FGREP
82225 # A BSD- or MS-compatible name lister.
82226 NM=$lt_NM
82228 # Whether we need soft or hard links.
82229 LN_S=$lt_LN_S
82231 # What is the maximum length of a command?
82232 max_cmd_len=$max_cmd_len
82234 # Object file suffix (normally "o").
82235 objext=$ac_objext
82237 # Executable file suffix (normally "").
82238 exeext=$exeext
82240 # whether the shell understands "unset".
82241 lt_unset=$lt_unset
82243 # turn spaces into newlines.
82244 SP2NL=$lt_lt_SP2NL
82246 # turn newlines into spaces.
82247 NL2SP=$lt_lt_NL2SP
82249 # An object symbol dumper.
82250 OBJDUMP=$lt_OBJDUMP
82252 # Method to check whether dependent libraries are shared objects.
82253 deplibs_check_method=$lt_deplibs_check_method
82255 # Command to use when deplibs_check_method == "file_magic".
82256 file_magic_cmd=$lt_file_magic_cmd
82258 # The archiver.
82259 AR=$lt_AR
82260 AR_FLAGS=$lt_AR_FLAGS
82262 # A symbol stripping program.
82263 STRIP=$lt_STRIP
82265 # Commands used to install an old-style archive.
82266 RANLIB=$lt_RANLIB
82267 old_postinstall_cmds=$lt_old_postinstall_cmds
82268 old_postuninstall_cmds=$lt_old_postuninstall_cmds
82270 # Whether to use a lock for old archive extraction.
82271 lock_old_archive_extraction=$lock_old_archive_extraction
82273 # A C compiler.
82274 LTCC=$lt_CC
82276 # LTCC compiler flags.
82277 LTCFLAGS=$lt_CFLAGS
82279 # Take the output of nm and produce a listing of raw symbols and C names.
82280 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
82282 # Transform the output of nm in a proper C declaration.
82283 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
82285 # Transform the output of nm in a C name address pair.
82286 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
82288 # Transform the output of nm in a C name address pair when lib prefix is needed.
82289 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
82291 # The name of the directory that contains temporary libtool files.
82292 objdir=$objdir
82294 # Used to examine libraries when file_magic_cmd begins with "file".
82295 MAGIC_CMD=$MAGIC_CMD
82297 # Must we lock files when doing compilation?
82298 need_locks=$lt_need_locks
82300 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
82301 DSYMUTIL=$lt_DSYMUTIL
82303 # Tool to change global to local symbols on Mac OS X.
82304 NMEDIT=$lt_NMEDIT
82306 # Tool to manipulate fat objects and archives on Mac OS X.
82307 LIPO=$lt_LIPO
82309 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
82310 OTOOL=$lt_OTOOL
82312 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
82313 OTOOL64=$lt_OTOOL64
82315 # Old archive suffix (normally "a").
82316 libext=$libext
82318 # Shared library suffix (normally ".so").
82319 shrext_cmds=$lt_shrext_cmds
82321 # The commands to extract the exported symbol list from a shared archive.
82322 extract_expsyms_cmds=$lt_extract_expsyms_cmds
82324 # Variables whose values should be saved in libtool wrapper scripts and
82325 # restored at link time.
82326 variables_saved_for_relink=$lt_variables_saved_for_relink
82328 # Do we need the "lib" prefix for modules?
82329 need_lib_prefix=$need_lib_prefix
82331 # Do we need a version for libraries?
82332 need_version=$need_version
82334 # Library versioning type.
82335 version_type=$version_type
82337 # Shared library runtime path variable.
82338 runpath_var=$runpath_var
82340 # Shared library path variable.
82341 shlibpath_var=$shlibpath_var
82343 # Is shlibpath searched before the hard-coded library search path?
82344 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
82346 # Format of library name prefix.
82347 libname_spec=$lt_libname_spec
82349 # List of archive names. First name is the real one, the rest are links.
82350 # The last name is the one that the linker finds with -lNAME
82351 library_names_spec=$lt_library_names_spec
82353 # The coded name of the library, if different from the real name.
82354 soname_spec=$lt_soname_spec
82356 # Permission mode override for installation of shared libraries.
82357 install_override_mode=$lt_install_override_mode
82359 # Command to use after installation of a shared archive.
82360 postinstall_cmds=$lt_postinstall_cmds
82362 # Command to use after uninstallation of a shared archive.
82363 postuninstall_cmds=$lt_postuninstall_cmds
82365 # Commands used to finish a libtool library installation in a directory.
82366 finish_cmds=$lt_finish_cmds
82368 # As "finish_cmds", except a single script fragment to be evaled but
82369 # not shown.
82370 finish_eval=$lt_finish_eval
82372 # Whether we should hardcode library paths into libraries.
82373 hardcode_into_libs=$hardcode_into_libs
82375 # Compile-time system search path for libraries.
82376 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
82378 # Run-time system search path for libraries.
82379 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
82381 # Whether dlopen is supported.
82382 dlopen_support=$enable_dlopen
82384 # Whether dlopen of programs is supported.
82385 dlopen_self=$enable_dlopen_self
82387 # Whether dlopen of statically linked programs is supported.
82388 dlopen_self_static=$enable_dlopen_self_static
82390 # Commands to strip libraries.
82391 old_striplib=$lt_old_striplib
82392 striplib=$lt_striplib
82395 # The linker used to build libraries.
82396 LD=$lt_LD
82398 # How to create reloadable object files.
82399 reload_flag=$lt_reload_flag
82400 reload_cmds=$lt_reload_cmds
82402 # Commands used to build an old-style archive.
82403 old_archive_cmds=$lt_old_archive_cmds
82405 # A language specific compiler.
82406 CC=$lt_compiler
82408 # Is the compiler the GNU compiler?
82409 with_gcc=$GCC
82411 # Compiler flag to turn off builtin functions.
82412 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
82414 # How to pass a linker flag through the compiler.
82415 wl=$lt_lt_prog_compiler_wl
82417 # Additional compiler flags for building library objects.
82418 pic_flag=$lt_lt_prog_compiler_pic
82420 # Compiler flag to prevent dynamic linking.
82421 link_static_flag=$lt_lt_prog_compiler_static
82423 # Does compiler simultaneously support -c and -o options?
82424 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
82426 # Whether or not to add -lc for building shared libraries.
82427 build_libtool_need_lc=$archive_cmds_need_lc
82429 # Whether or not to disallow shared libs when runtime libs are static.
82430 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
82432 # Compiler flag to allow reflexive dlopens.
82433 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
82435 # Compiler flag to generate shared objects directly from archives.
82436 whole_archive_flag_spec=$lt_whole_archive_flag_spec
82438 # Whether the compiler copes with passing no objects directly.
82439 compiler_needs_object=$lt_compiler_needs_object
82441 # Create an old-style archive from a shared archive.
82442 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
82444 # Create a temporary old-style archive to link instead of a shared archive.
82445 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
82447 # Commands used to build a shared archive.
82448 archive_cmds=$lt_archive_cmds
82449 archive_expsym_cmds=$lt_archive_expsym_cmds
82451 # Commands used to build a loadable module if different from building
82452 # a shared archive.
82453 module_cmds=$lt_module_cmds
82454 module_expsym_cmds=$lt_module_expsym_cmds
82456 # Whether we are building with GNU ld or not.
82457 with_gnu_ld=$lt_with_gnu_ld
82459 # Flag that allows shared libraries with undefined symbols to be built.
82460 allow_undefined_flag=$lt_allow_undefined_flag
82462 # Flag that enforces no undefined symbols.
82463 no_undefined_flag=$lt_no_undefined_flag
82465 # Flag to hardcode \$libdir into a binary during linking.
82466 # This must work even if \$libdir does not exist
82467 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
82469 # If ld is used when linking, flag to hardcode \$libdir into a binary
82470 # during linking. This must work even if \$libdir does not exist.
82471 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
82473 # Whether we need a single "-rpath" flag with a separated argument.
82474 hardcode_libdir_separator=$lt_hardcode_libdir_separator
82476 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82477 # DIR into the resulting binary.
82478 hardcode_direct=$hardcode_direct
82480 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82481 # DIR into the resulting binary and the resulting library dependency is
82482 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82483 # library is relocated.
82484 hardcode_direct_absolute=$hardcode_direct_absolute
82486 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82487 # into the resulting binary.
82488 hardcode_minus_L=$hardcode_minus_L
82490 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82491 # into the resulting binary.
82492 hardcode_shlibpath_var=$hardcode_shlibpath_var
82494 # Set to "yes" if building a shared library automatically hardcodes DIR
82495 # into the library and all subsequent libraries and executables linked
82496 # against it.
82497 hardcode_automatic=$hardcode_automatic
82499 # Set to yes if linker adds runtime paths of dependent libraries
82500 # to runtime path list.
82501 inherit_rpath=$inherit_rpath
82503 # Whether libtool must link a program against all its dependency libraries.
82504 link_all_deplibs=$link_all_deplibs
82506 # Fix the shell variable \$srcfile for the compiler.
82507 fix_srcfile_path=$lt_fix_srcfile_path
82509 # Set to "yes" if exported symbols are required.
82510 always_export_symbols=$always_export_symbols
82512 # The commands to list exported symbols.
82513 export_symbols_cmds=$lt_export_symbols_cmds
82515 # Symbols that should not be listed in the preloaded symbols.
82516 exclude_expsyms=$lt_exclude_expsyms
82518 # Symbols that must always be exported.
82519 include_expsyms=$lt_include_expsyms
82521 # Commands necessary for linking programs (against libraries) with templates.
82522 prelink_cmds=$lt_prelink_cmds
82524 # Specify filename containing input files.
82525 file_list_spec=$lt_file_list_spec
82527 # How to hardcode a shared library path into an executable.
82528 hardcode_action=$hardcode_action
82530 # The directories searched by this compiler when creating a shared library.
82531 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
82533 # Dependencies to place before and after the objects being linked to
82534 # create a shared library.
82535 predep_objects=$lt_predep_objects
82536 postdep_objects=$lt_postdep_objects
82537 predeps=$lt_predeps
82538 postdeps=$lt_postdeps
82540 # The library search path used internally by the compiler when linking
82541 # a shared library.
82542 compiler_lib_search_path=$lt_compiler_lib_search_path
82544 # ### END LIBTOOL CONFIG
82546 _LT_EOF
82548 case $host_os in
82549 aix3*)
82550 cat <<\_LT_EOF >> "$cfgfile"
82551 # AIX sometimes has problems with the GCC collect2 program. For some
82552 # reason, if we set the COLLECT_NAMES environment variable, the problems
82553 # vanish in a puff of smoke.
82554 if test "X${COLLECT_NAMES+set}" != Xset; then
82555 COLLECT_NAMES=
82556 export COLLECT_NAMES
82558 _LT_EOF
82560 esac
82563 ltmain="$ac_aux_dir/ltmain.sh"
82566 # We use sed instead of cat because bash on DJGPP gets confused if
82567 # if finds mixed CR/LF and LF-only lines. Since sed operates in
82568 # text mode, it properly converts lines to CR/LF. This bash problem
82569 # is reportedly fixed, but why not run on old versions too?
82570 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
82571 || (rm -f "$cfgfile"; exit 1)
82573 case $xsi_shell in
82574 yes)
82575 cat << \_LT_EOF >> "$cfgfile"
82577 # func_dirname file append nondir_replacement
82578 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82579 # otherwise set result to NONDIR_REPLACEMENT.
82580 func_dirname ()
82582 case ${1} in
82583 */*) func_dirname_result="${1%/*}${2}" ;;
82584 * ) func_dirname_result="${3}" ;;
82585 esac
82588 # func_basename file
82589 func_basename ()
82591 func_basename_result="${1##*/}"
82594 # func_dirname_and_basename file append nondir_replacement
82595 # perform func_basename and func_dirname in a single function
82596 # call:
82597 # dirname: Compute the dirname of FILE. If nonempty,
82598 # add APPEND to the result, otherwise set result
82599 # to NONDIR_REPLACEMENT.
82600 # value returned in "$func_dirname_result"
82601 # basename: Compute filename of FILE.
82602 # value retuned in "$func_basename_result"
82603 # Implementation must be kept synchronized with func_dirname
82604 # and func_basename. For efficiency, we do not delegate to
82605 # those functions but instead duplicate the functionality here.
82606 func_dirname_and_basename ()
82608 case ${1} in
82609 */*) func_dirname_result="${1%/*}${2}" ;;
82610 * ) func_dirname_result="${3}" ;;
82611 esac
82612 func_basename_result="${1##*/}"
82615 # func_stripname prefix suffix name
82616 # strip PREFIX and SUFFIX off of NAME.
82617 # PREFIX and SUFFIX must not contain globbing or regex special
82618 # characters, hashes, percent signs, but SUFFIX may contain a leading
82619 # dot (in which case that matches only a dot).
82620 func_stripname ()
82622 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
82623 # positional parameters, so assign one to ordinary parameter first.
82624 func_stripname_result=${3}
82625 func_stripname_result=${func_stripname_result#"${1}"}
82626 func_stripname_result=${func_stripname_result%"${2}"}
82629 # func_opt_split
82630 func_opt_split ()
82632 func_opt_split_opt=${1%%=*}
82633 func_opt_split_arg=${1#*=}
82636 # func_lo2o object
82637 func_lo2o ()
82639 case ${1} in
82640 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
82641 *) func_lo2o_result=${1} ;;
82642 esac
82645 # func_xform libobj-or-source
82646 func_xform ()
82648 func_xform_result=${1%.*}.lo
82651 # func_arith arithmetic-term...
82652 func_arith ()
82654 func_arith_result=$(( $* ))
82657 # func_len string
82658 # STRING may not start with a hyphen.
82659 func_len ()
82661 func_len_result=${#1}
82664 _LT_EOF
82666 *) # Bourne compatible functions.
82667 cat << \_LT_EOF >> "$cfgfile"
82669 # func_dirname file append nondir_replacement
82670 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82671 # otherwise set result to NONDIR_REPLACEMENT.
82672 func_dirname ()
82674 # Extract subdirectory from the argument.
82675 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
82676 if test "X$func_dirname_result" = "X${1}"; then
82677 func_dirname_result="${3}"
82678 else
82679 func_dirname_result="$func_dirname_result${2}"
82683 # func_basename file
82684 func_basename ()
82686 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82690 # func_stripname prefix suffix name
82691 # strip PREFIX and SUFFIX off of NAME.
82692 # PREFIX and SUFFIX must not contain globbing or regex special
82693 # characters, hashes, percent signs, but SUFFIX may contain a leading
82694 # dot (in which case that matches only a dot).
82695 # func_strip_suffix prefix name
82696 func_stripname ()
82698 case ${2} in
82699 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82700 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82701 esac
82704 # sed scripts:
82705 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82706 my_sed_long_arg='1s/^-[^=]*=//'
82708 # func_opt_split
82709 func_opt_split ()
82711 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82712 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82715 # func_lo2o object
82716 func_lo2o ()
82718 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82721 # func_xform libobj-or-source
82722 func_xform ()
82724 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82727 # func_arith arithmetic-term...
82728 func_arith ()
82730 func_arith_result=`expr "$@"`
82733 # func_len string
82734 # STRING may not start with a hyphen.
82735 func_len ()
82737 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82740 _LT_EOF
82741 esac
82743 case $lt_shell_append in
82744 yes)
82745 cat << \_LT_EOF >> "$cfgfile"
82747 # func_append var value
82748 # Append VALUE to the end of shell variable VAR.
82749 func_append ()
82751 eval "$1+=\$2"
82753 _LT_EOF
82756 cat << \_LT_EOF >> "$cfgfile"
82758 # func_append var value
82759 # Append VALUE to the end of shell variable VAR.
82760 func_append ()
82762 eval "$1=\$$1\$2"
82765 _LT_EOF
82767 esac
82770 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82771 || (rm -f "$cfgfile"; exit 1)
82773 mv -f "$cfgfile" "$ofile" ||
82774 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82775 chmod +x "$ofile"
82778 cat <<_LT_EOF >> "$ofile"
82780 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82782 # The linker used to build libraries.
82783 LD=$lt_LD_CXX
82785 # How to create reloadable object files.
82786 reload_flag=$lt_reload_flag_CXX
82787 reload_cmds=$lt_reload_cmds_CXX
82789 # Commands used to build an old-style archive.
82790 old_archive_cmds=$lt_old_archive_cmds_CXX
82792 # A language specific compiler.
82793 CC=$lt_compiler_CXX
82795 # Is the compiler the GNU compiler?
82796 with_gcc=$GCC_CXX
82798 # Compiler flag to turn off builtin functions.
82799 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82801 # How to pass a linker flag through the compiler.
82802 wl=$lt_lt_prog_compiler_wl_CXX
82804 # Additional compiler flags for building library objects.
82805 pic_flag=$lt_lt_prog_compiler_pic_CXX
82807 # Compiler flag to prevent dynamic linking.
82808 link_static_flag=$lt_lt_prog_compiler_static_CXX
82810 # Does compiler simultaneously support -c and -o options?
82811 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82813 # Whether or not to add -lc for building shared libraries.
82814 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82816 # Whether or not to disallow shared libs when runtime libs are static.
82817 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82819 # Compiler flag to allow reflexive dlopens.
82820 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82822 # Compiler flag to generate shared objects directly from archives.
82823 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82825 # Whether the compiler copes with passing no objects directly.
82826 compiler_needs_object=$lt_compiler_needs_object_CXX
82828 # Create an old-style archive from a shared archive.
82829 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82831 # Create a temporary old-style archive to link instead of a shared archive.
82832 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82834 # Commands used to build a shared archive.
82835 archive_cmds=$lt_archive_cmds_CXX
82836 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82838 # Commands used to build a loadable module if different from building
82839 # a shared archive.
82840 module_cmds=$lt_module_cmds_CXX
82841 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82843 # Whether we are building with GNU ld or not.
82844 with_gnu_ld=$lt_with_gnu_ld_CXX
82846 # Flag that allows shared libraries with undefined symbols to be built.
82847 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82849 # Flag that enforces no undefined symbols.
82850 no_undefined_flag=$lt_no_undefined_flag_CXX
82852 # Flag to hardcode \$libdir into a binary during linking.
82853 # This must work even if \$libdir does not exist
82854 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82856 # If ld is used when linking, flag to hardcode \$libdir into a binary
82857 # during linking. This must work even if \$libdir does not exist.
82858 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82860 # Whether we need a single "-rpath" flag with a separated argument.
82861 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82863 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82864 # DIR into the resulting binary.
82865 hardcode_direct=$hardcode_direct_CXX
82867 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82868 # DIR into the resulting binary and the resulting library dependency is
82869 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82870 # library is relocated.
82871 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82873 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82874 # into the resulting binary.
82875 hardcode_minus_L=$hardcode_minus_L_CXX
82877 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82878 # into the resulting binary.
82879 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82881 # Set to "yes" if building a shared library automatically hardcodes DIR
82882 # into the library and all subsequent libraries and executables linked
82883 # against it.
82884 hardcode_automatic=$hardcode_automatic_CXX
82886 # Set to yes if linker adds runtime paths of dependent libraries
82887 # to runtime path list.
82888 inherit_rpath=$inherit_rpath_CXX
82890 # Whether libtool must link a program against all its dependency libraries.
82891 link_all_deplibs=$link_all_deplibs_CXX
82893 # Fix the shell variable \$srcfile for the compiler.
82894 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82896 # Set to "yes" if exported symbols are required.
82897 always_export_symbols=$always_export_symbols_CXX
82899 # The commands to list exported symbols.
82900 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82902 # Symbols that should not be listed in the preloaded symbols.
82903 exclude_expsyms=$lt_exclude_expsyms_CXX
82905 # Symbols that must always be exported.
82906 include_expsyms=$lt_include_expsyms_CXX
82908 # Commands necessary for linking programs (against libraries) with templates.
82909 prelink_cmds=$lt_prelink_cmds_CXX
82911 # Specify filename containing input files.
82912 file_list_spec=$lt_file_list_spec_CXX
82914 # How to hardcode a shared library path into an executable.
82915 hardcode_action=$hardcode_action_CXX
82917 # The directories searched by this compiler when creating a shared library.
82918 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82920 # Dependencies to place before and after the objects being linked to
82921 # create a shared library.
82922 predep_objects=$lt_predep_objects_CXX
82923 postdep_objects=$lt_postdep_objects_CXX
82924 predeps=$lt_predeps_CXX
82925 postdeps=$lt_postdeps_CXX
82927 # The library search path used internally by the compiler when linking
82928 # a shared library.
82929 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82931 # ### END LIBTOOL TAG CONFIG: CXX
82932 _LT_EOF
82935 "include/gstdint.h":C)
82936 if test "$GCC" = yes; then
82937 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82938 else
82939 echo "/* generated for $CC */" > tmp-stdint.h
82942 sed 's/^ *//' >> tmp-stdint.h <<EOF
82944 #ifndef GCC_GENERATED_STDINT_H
82945 #define GCC_GENERATED_STDINT_H 1
82947 #include <sys/types.h>
82950 if test "$acx_cv_header_stdint" != stdint.h; then
82951 echo "#include <stddef.h>" >> tmp-stdint.h
82953 if test "$acx_cv_header_stdint" != stddef.h; then
82954 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82957 sed 's/^ *//' >> tmp-stdint.h <<EOF
82958 /* glibc uses these symbols as guards to prevent redefinitions. */
82959 #ifdef __int8_t_defined
82960 #define _INT8_T
82961 #define _INT16_T
82962 #define _INT32_T
82963 #endif
82964 #ifdef __uint32_t_defined
82965 #define _UINT32_T
82966 #endif
82970 # ----------------- done header, emit basic int types -------------
82971 if test "$acx_cv_header_stdint" = stddef.h; then
82972 sed 's/^ *//' >> tmp-stdint.h <<EOF
82974 #ifndef _UINT8_T
82975 #define _UINT8_T
82976 #ifndef __uint8_t_defined
82977 #define __uint8_t_defined
82978 #ifndef uint8_t
82979 typedef unsigned $acx_cv_type_int8_t uint8_t;
82980 #endif
82981 #endif
82982 #endif
82984 #ifndef _UINT16_T
82985 #define _UINT16_T
82986 #ifndef __uint16_t_defined
82987 #define __uint16_t_defined
82988 #ifndef uint16_t
82989 typedef unsigned $acx_cv_type_int16_t uint16_t;
82990 #endif
82991 #endif
82992 #endif
82994 #ifndef _UINT32_T
82995 #define _UINT32_T
82996 #ifndef __uint32_t_defined
82997 #define __uint32_t_defined
82998 #ifndef uint32_t
82999 typedef unsigned $acx_cv_type_int32_t uint32_t;
83000 #endif
83001 #endif
83002 #endif
83004 #ifndef _INT8_T
83005 #define _INT8_T
83006 #ifndef __int8_t_defined
83007 #define __int8_t_defined
83008 #ifndef int8_t
83009 typedef $acx_cv_type_int8_t int8_t;
83010 #endif
83011 #endif
83012 #endif
83014 #ifndef _INT16_T
83015 #define _INT16_T
83016 #ifndef __int16_t_defined
83017 #define __int16_t_defined
83018 #ifndef int16_t
83019 typedef $acx_cv_type_int16_t int16_t;
83020 #endif
83021 #endif
83022 #endif
83024 #ifndef _INT32_T
83025 #define _INT32_T
83026 #ifndef __int32_t_defined
83027 #define __int32_t_defined
83028 #ifndef int32_t
83029 typedef $acx_cv_type_int32_t int32_t;
83030 #endif
83031 #endif
83032 #endif
83034 elif test "$ac_cv_type_u_int32_t" = yes; then
83035 sed 's/^ *//' >> tmp-stdint.h <<EOF
83037 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
83038 #ifndef _INT8_T
83039 #define _INT8_T
83040 #endif
83041 #ifndef _INT16_T
83042 #define _INT16_T
83043 #endif
83044 #ifndef _INT32_T
83045 #define _INT32_T
83046 #endif
83048 #ifndef _UINT8_T
83049 #define _UINT8_T
83050 #ifndef __uint8_t_defined
83051 #define __uint8_t_defined
83052 #ifndef uint8_t
83053 typedef u_int8_t uint8_t;
83054 #endif
83055 #endif
83056 #endif
83058 #ifndef _UINT16_T
83059 #define _UINT16_T
83060 #ifndef __uint16_t_defined
83061 #define __uint16_t_defined
83062 #ifndef uint16_t
83063 typedef u_int16_t uint16_t;
83064 #endif
83065 #endif
83066 #endif
83068 #ifndef _UINT32_T
83069 #define _UINT32_T
83070 #ifndef __uint32_t_defined
83071 #define __uint32_t_defined
83072 #ifndef uint32_t
83073 typedef u_int32_t uint32_t;
83074 #endif
83075 #endif
83076 #endif
83078 else
83079 sed 's/^ *//' >> tmp-stdint.h <<EOF
83081 /* Some systems have guard macros to prevent redefinitions, define them. */
83082 #ifndef _INT8_T
83083 #define _INT8_T
83084 #endif
83085 #ifndef _INT16_T
83086 #define _INT16_T
83087 #endif
83088 #ifndef _INT32_T
83089 #define _INT32_T
83090 #endif
83091 #ifndef _UINT8_T
83092 #define _UINT8_T
83093 #endif
83094 #ifndef _UINT16_T
83095 #define _UINT16_T
83096 #endif
83097 #ifndef _UINT32_T
83098 #define _UINT32_T
83099 #endif
83103 # ------------- done basic int types, emit int64_t types ------------
83104 if test "$ac_cv_type_uint64_t" = yes; then
83105 sed 's/^ *//' >> tmp-stdint.h <<EOF
83107 /* system headers have good uint64_t and int64_t */
83108 #ifndef _INT64_T
83109 #define _INT64_T
83110 #endif
83111 #ifndef _UINT64_T
83112 #define _UINT64_T
83113 #endif
83115 elif test "$ac_cv_type_u_int64_t" = yes; then
83116 sed 's/^ *//' >> tmp-stdint.h <<EOF
83118 /* system headers have an u_int64_t (and int64_t) */
83119 #ifndef _INT64_T
83120 #define _INT64_T
83121 #endif
83122 #ifndef _UINT64_T
83123 #define _UINT64_T
83124 #ifndef __uint64_t_defined
83125 #define __uint64_t_defined
83126 #ifndef uint64_t
83127 typedef u_int64_t uint64_t;
83128 #endif
83129 #endif
83130 #endif
83132 elif test -n "$acx_cv_type_int64_t"; then
83133 sed 's/^ *//' >> tmp-stdint.h <<EOF
83135 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
83136 #ifndef _INT64_T
83137 #define _INT64_T
83138 #ifndef int64_t
83139 typedef $acx_cv_type_int64_t int64_t;
83140 #endif
83141 #endif
83142 #ifndef _UINT64_T
83143 #define _UINT64_T
83144 #ifndef __uint64_t_defined
83145 #define __uint64_t_defined
83146 #ifndef uint64_t
83147 typedef unsigned $acx_cv_type_int64_t uint64_t;
83148 #endif
83149 #endif
83150 #endif
83152 else
83153 sed 's/^ *//' >> tmp-stdint.h <<EOF
83155 /* some common heuristics for int64_t, using compiler-specific tests */
83156 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
83157 #ifndef _INT64_T
83158 #define _INT64_T
83159 #ifndef __int64_t_defined
83160 #ifndef int64_t
83161 typedef long long int64_t;
83162 #endif
83163 #endif
83164 #endif
83165 #ifndef _UINT64_T
83166 #define _UINT64_T
83167 #ifndef uint64_t
83168 typedef unsigned long long uint64_t;
83169 #endif
83170 #endif
83172 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
83173 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
83174 does not implement __extension__. But that compiler doesn't define
83175 __GNUC_MINOR__. */
83176 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
83177 # define __extension__
83178 # endif
83180 # ifndef _INT64_T
83181 # define _INT64_T
83182 # ifndef int64_t
83183 __extension__ typedef long long int64_t;
83184 # endif
83185 # endif
83186 # ifndef _UINT64_T
83187 # define _UINT64_T
83188 # ifndef uint64_t
83189 __extension__ typedef unsigned long long uint64_t;
83190 # endif
83191 # endif
83193 #elif !defined __STRICT_ANSI__
83194 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
83196 # ifndef _INT64_T
83197 # define _INT64_T
83198 # ifndef int64_t
83199 typedef __int64 int64_t;
83200 # endif
83201 # endif
83202 # ifndef _UINT64_T
83203 # define _UINT64_T
83204 # ifndef uint64_t
83205 typedef unsigned __int64 uint64_t;
83206 # endif
83207 # endif
83208 # endif /* compiler */
83210 #endif /* ANSI version */
83214 # ------------- done int64_t types, emit intptr types ------------
83215 if test "$ac_cv_type_uintptr_t" != yes; then
83216 sed 's/^ *//' >> tmp-stdint.h <<EOF
83218 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
83219 #ifndef __uintptr_t_defined
83220 #ifndef uintptr_t
83221 typedef u$acx_cv_type_intptr_t uintptr_t;
83222 #endif
83223 #endif
83224 #ifndef __intptr_t_defined
83225 #ifndef intptr_t
83226 typedef $acx_cv_type_intptr_t intptr_t;
83227 #endif
83228 #endif
83232 # ------------- done intptr types, emit int_least types ------------
83233 if test "$ac_cv_type_int_least32_t" != yes; then
83234 sed 's/^ *//' >> tmp-stdint.h <<EOF
83236 /* Define int_least types */
83237 typedef int8_t int_least8_t;
83238 typedef int16_t int_least16_t;
83239 typedef int32_t int_least32_t;
83240 #ifdef _INT64_T
83241 typedef int64_t int_least64_t;
83242 #endif
83244 typedef uint8_t uint_least8_t;
83245 typedef uint16_t uint_least16_t;
83246 typedef uint32_t uint_least32_t;
83247 #ifdef _UINT64_T
83248 typedef uint64_t uint_least64_t;
83249 #endif
83253 # ------------- done intptr types, emit int_fast types ------------
83254 if test "$ac_cv_type_int_fast32_t" != yes; then
83255 sed 's/^ *//' >> tmp-stdint.h <<EOF
83257 /* Define int_fast types. short is often slow */
83258 typedef int8_t int_fast8_t;
83259 typedef int int_fast16_t;
83260 typedef int32_t int_fast32_t;
83261 #ifdef _INT64_T
83262 typedef int64_t int_fast64_t;
83263 #endif
83265 typedef uint8_t uint_fast8_t;
83266 typedef unsigned int uint_fast16_t;
83267 typedef uint32_t uint_fast32_t;
83268 #ifdef _UINT64_T
83269 typedef uint64_t uint_fast64_t;
83270 #endif
83274 if test "$ac_cv_type_uintmax_t" != yes; then
83275 sed 's/^ *//' >> tmp-stdint.h <<EOF
83277 /* Define intmax based on what we found */
83278 #ifndef intmax_t
83279 #ifdef _INT64_T
83280 typedef int64_t intmax_t;
83281 #else
83282 typedef long intmax_t;
83283 #endif
83284 #endif
83285 #ifndef uintmax_t
83286 #ifdef _UINT64_T
83287 typedef uint64_t uintmax_t;
83288 #else
83289 typedef unsigned long uintmax_t;
83290 #endif
83291 #endif
83295 sed 's/^ *//' >> tmp-stdint.h <<EOF
83297 #endif /* GCC_GENERATED_STDINT_H */
83300 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
83301 rm -f tmp-stdint.h
83302 else
83303 mv -f tmp-stdint.h include/gstdint.h
83307 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
83308 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
83309 "include/Makefile":F) cat > vpsed$$ << \_EOF
83310 s!`test -f '$<' || echo '$(srcdir)/'`!!
83311 _EOF
83312 sed -f vpsed$$ $ac_file > tmp$$
83313 mv tmp$$ $ac_file
83314 rm vpsed$$
83315 echo 'MULTISUBDIR =' >> $ac_file
83316 ml_norecursion=yes
83317 . ${multi_basedir}/config-ml.in
83318 { ml_norecursion=; unset ml_norecursion;}
83320 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
83321 s!`test -f '$<' || echo '$(srcdir)/'`!!
83322 _EOF
83323 sed -f vpsed$$ $ac_file > tmp$$
83324 mv tmp$$ $ac_file
83325 rm vpsed$$
83326 echo 'MULTISUBDIR =' >> $ac_file
83327 ml_norecursion=yes
83328 . ${multi_basedir}/config-ml.in
83329 { ml_norecursion=; unset ml_norecursion;}
83331 "src/Makefile":F) cat > vpsed$$ << \_EOF
83332 s!`test -f '$<' || echo '$(srcdir)/'`!!
83333 _EOF
83334 sed -f vpsed$$ $ac_file > tmp$$
83335 mv tmp$$ $ac_file
83336 rm vpsed$$
83337 echo 'MULTISUBDIR =' >> $ac_file
83338 ml_norecursion=yes
83339 . ${multi_basedir}/config-ml.in
83340 { ml_norecursion=; unset ml_norecursion;}
83342 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
83343 s!`test -f '$<' || echo '$(srcdir)/'`!!
83344 _EOF
83345 sed -f vpsed$$ $ac_file > tmp$$
83346 mv tmp$$ $ac_file
83347 rm vpsed$$
83348 echo 'MULTISUBDIR =' >> $ac_file
83349 ml_norecursion=yes
83350 . ${multi_basedir}/config-ml.in
83351 { ml_norecursion=; unset ml_norecursion;}
83353 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
83354 s!`test -f '$<' || echo '$(srcdir)/'`!!
83355 _EOF
83356 sed -f vpsed$$ $ac_file > tmp$$
83357 mv tmp$$ $ac_file
83358 rm vpsed$$
83359 echo 'MULTISUBDIR =' >> $ac_file
83360 ml_norecursion=yes
83361 . ${multi_basedir}/config-ml.in
83362 { ml_norecursion=; unset ml_norecursion;}
83364 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
83365 s!`test -f '$<' || echo '$(srcdir)/'`!!
83366 _EOF
83367 sed -f vpsed$$ $ac_file > tmp$$
83368 mv tmp$$ $ac_file
83369 rm vpsed$$
83370 echo 'MULTISUBDIR =' >> $ac_file
83371 ml_norecursion=yes
83372 . ${multi_basedir}/config-ml.in
83373 { ml_norecursion=; unset ml_norecursion;}
83375 "doc/Makefile":F) cat > vpsed$$ << \_EOF
83376 s!`test -f '$<' || echo '$(srcdir)/'`!!
83377 _EOF
83378 sed -f vpsed$$ $ac_file > tmp$$
83379 mv tmp$$ $ac_file
83380 rm vpsed$$
83381 echo 'MULTISUBDIR =' >> $ac_file
83382 ml_norecursion=yes
83383 . ${multi_basedir}/config-ml.in
83384 { ml_norecursion=; unset ml_norecursion;}
83386 "po/Makefile":F) cat > vpsed$$ << \_EOF
83387 s!`test -f '$<' || echo '$(srcdir)/'`!!
83388 _EOF
83389 sed -f vpsed$$ $ac_file > tmp$$
83390 mv tmp$$ $ac_file
83391 rm vpsed$$
83392 echo 'MULTISUBDIR =' >> $ac_file
83393 ml_norecursion=yes
83394 . ${multi_basedir}/config-ml.in
83395 { ml_norecursion=; unset ml_norecursion;}
83397 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
83398 s!`test -f '$<' || echo '$(srcdir)/'`!!
83399 _EOF
83400 sed -f vpsed$$ $ac_file > tmp$$
83401 mv tmp$$ $ac_file
83402 rm vpsed$$
83403 echo 'MULTISUBDIR =' >> $ac_file
83404 ml_norecursion=yes
83405 . ${multi_basedir}/config-ml.in
83406 { ml_norecursion=; unset ml_norecursion;}
83408 "python/Makefile":F) cat > vpsed$$ << \_EOF
83409 s!`test -f '$<' || echo '$(srcdir)/'`!!
83410 _EOF
83411 sed -f vpsed$$ $ac_file > tmp$$
83412 mv tmp$$ $ac_file
83413 rm vpsed$$
83414 echo 'MULTISUBDIR =' >> $ac_file
83415 ml_norecursion=yes
83416 . ${multi_basedir}/config-ml.in
83417 { ml_norecursion=; unset ml_norecursion;}
83419 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
83421 esac
83422 done # for ac_tag
83425 as_fn_exit 0
83426 _ACEOF
83427 ac_clean_files=$ac_clean_files_save
83429 test $ac_write_fail = 0 ||
83430 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
83433 # configure is writing to config.log, and then calls config.status.
83434 # config.status does its own redirection, appending to config.log.
83435 # Unfortunately, on DOS this fails, as config.log is still kept open
83436 # by configure, so config.status won't be able to write to it; its
83437 # output is simply discarded. So we exec the FD to /dev/null,
83438 # effectively closing config.log, so it can be properly (re)opened and
83439 # appended to by config.status. When coming back to configure, we
83440 # need to make the FD available again.
83441 if test "$no_create" != yes; then
83442 ac_cs_success=:
83443 ac_config_status_args=
83444 test "$silent" = yes &&
83445 ac_config_status_args="$ac_config_status_args --quiet"
83446 exec 5>/dev/null
83447 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
83448 exec 5>>config.log
83449 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
83450 # would make configure fail if this is the last instruction.
83451 $ac_cs_success || as_fn_exit $?
83453 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
83454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
83455 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}