Avoid including all of <random> in <algorithm>
[official-gcc.git] / libstdc++-v3 / configure
blob5e91deb0016e110236d897cc81a66db114c9a38f
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 ENABLE_ALLOCATOR_NEW_FALSE
704 ENABLE_ALLOCATOR_NEW_TRUE
705 CLOCALE_INTERNAL_H
706 CLOCALE_CC
707 CTIME_CC
708 CTIME_H
709 CNUMERIC_CC
710 CMONEY_CC
711 CMESSAGES_CC
712 CCTYPE_CC
713 CCOLLATE_CC
714 CCODECVT_CC
715 CMESSAGES_H
716 CLOCALE_H
717 USE_NLS
718 glibcxx_localedir
719 glibcxx_POFILES
720 glibcxx_MOFILES
721 check_msgfmt
722 BASIC_FILE_CC
723 BASIC_FILE_H
724 CSTDIO_H
725 SECTION_FLAGS
726 WERROR
727 thread_header
728 glibcxx_PCHFLAGS
729 GLIBCXX_BUILD_PCH_FALSE
730 GLIBCXX_BUILD_PCH_TRUE
731 GLIBCXX_HOSTED_FALSE
732 GLIBCXX_HOSTED_TRUE
733 glibcxx_compiler_shared_flag
734 glibcxx_compiler_pic_flag
735 glibcxx_lt_pic_flag
736 enable_static
737 enable_shared
738 lt_host_flags
739 CXXCPP
740 OTOOL64
741 OTOOL
742 LIPO
743 NMEDIT
744 DSYMUTIL
745 OBJDUMP
747 ac_ct_DUMPBIN
748 DUMPBIN
750 FGREP
752 LIBTOOL
753 EGREP
754 GREP
756 MAINT
757 MAINTAINER_MODE_FALSE
758 MAINTAINER_MODE_TRUE
759 RANLIB
762 LN_S
763 toplevel_srcdir
764 toplevel_builddir
765 glibcxx_srcdir
766 glibcxx_builddir
767 ac_ct_CXX
768 CXXFLAGS
770 OBJEXT
771 EXEEXT
772 ac_ct_CC
773 CPPFLAGS
774 LDFLAGS
775 CFLAGS
777 am__untar
778 am__tar
779 AMTAR
780 am__leading_dot
781 SET_MAKE
783 mkdir_p
784 MKDIR_P
785 INSTALL_STRIP_PROGRAM
786 STRIP
787 install_sh
788 MAKEINFO
789 AUTOHEADER
790 AUTOMAKE
791 AUTOCONF
792 ACLOCAL
793 VERSION
794 PACKAGE
795 CYGPATH_W
796 am__isrc
797 INSTALL_DATA
798 INSTALL_SCRIPT
799 INSTALL_PROGRAM
800 target_os
801 target_vendor
802 target_cpu
803 target
804 host_os
805 host_vendor
806 host_cpu
807 host
808 build_os
809 build_vendor
810 build_cpu
811 build
812 multi_basedir
813 target_alias
814 host_alias
815 build_alias
816 LIBS
817 ECHO_T
818 ECHO_N
819 ECHO_C
820 DEFS
821 mandir
822 localedir
823 libdir
824 psdir
825 pdfdir
826 dvidir
827 htmldir
828 infodir
829 docdir
830 oldincludedir
831 includedir
832 localstatedir
833 sharedstatedir
834 sysconfdir
835 datadir
836 datarootdir
837 libexecdir
838 sbindir
839 bindir
840 program_transform_name
841 prefix
842 exec_prefix
843 PACKAGE_URL
844 PACKAGE_BUGREPORT
845 PACKAGE_STRING
846 PACKAGE_VERSION
847 PACKAGE_TARNAME
848 PACKAGE_NAME
849 PATH_SEPARATOR
850 SHELL'
851 ac_subst_files=''
852 ac_user_opts='
853 enable_option_checking
854 enable_multilib
855 with_target_subdir
856 with_cross_host
857 with_newlib
858 enable_maintainer_mode
859 enable_shared
860 enable_static
861 with_pic
862 enable_fast_install
863 with_gnu_ld
864 enable_libtool_lock
865 enable_hosted_libstdcxx
866 enable_libstdcxx_verbose
867 enable_libstdcxx_pch
868 enable_cstdio
869 enable_clocale
870 enable_nls
871 enable_libstdcxx_allocator
872 enable_cheaders
873 enable_long_long
874 enable_wchar_t
875 enable_c99
876 enable_concept_checks
877 enable_libstdcxx_debug_flags
878 enable_libstdcxx_debug
879 enable_cxx_flags
880 enable_fully_dynamic_string
881 enable_extern_template
882 with_python_dir
883 enable_werror
884 enable_vtable_verify
885 enable_libstdcxx_time
886 enable_tls
887 enable_rpath
888 with_libiconv_prefix
889 with_system_libunwind
890 enable_linux_futex
891 enable_symvers
892 enable_libstdcxx_visibility
893 enable_libstdcxx_dual_abi
894 with_default_libstdcxx_abi
895 enable_libstdcxx_threads
896 enable_libstdcxx_filesystem_ts
897 with_gxx_include_dir
898 enable_version_specific_runtime_libs
900 ac_precious_vars='build_alias
901 host_alias
902 target_alias
904 CFLAGS
905 LDFLAGS
906 LIBS
907 CPPFLAGS
909 CXXFLAGS
912 CXXCPP
913 CXXFILT'
916 # Initialize some variables set by options.
917 ac_init_help=
918 ac_init_version=false
919 ac_unrecognized_opts=
920 ac_unrecognized_sep=
921 # The variables have the same names as the options, with
922 # dashes changed to underlines.
923 cache_file=/dev/null
924 exec_prefix=NONE
925 no_create=
926 no_recursion=
927 prefix=NONE
928 program_prefix=NONE
929 program_suffix=NONE
930 program_transform_name=s,x,x,
931 silent=
932 site=
933 srcdir=
934 verbose=
935 x_includes=NONE
936 x_libraries=NONE
938 # Installation directory options.
939 # These are left unexpanded so users can "make install exec_prefix=/foo"
940 # and all the variables that are supposed to be based on exec_prefix
941 # by default will actually change.
942 # Use braces instead of parens because sh, perl, etc. also accept them.
943 # (The list follows the same order as the GNU Coding Standards.)
944 bindir='${exec_prefix}/bin'
945 sbindir='${exec_prefix}/sbin'
946 libexecdir='${exec_prefix}/libexec'
947 datarootdir='${prefix}/share'
948 datadir='${datarootdir}'
949 sysconfdir='${prefix}/etc'
950 sharedstatedir='${prefix}/com'
951 localstatedir='${prefix}/var'
952 includedir='${prefix}/include'
953 oldincludedir='/usr/include'
954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
955 infodir='${datarootdir}/info'
956 htmldir='${docdir}'
957 dvidir='${docdir}'
958 pdfdir='${docdir}'
959 psdir='${docdir}'
960 libdir='${exec_prefix}/lib'
961 localedir='${datarootdir}/locale'
962 mandir='${datarootdir}/man'
964 ac_prev=
965 ac_dashdash=
966 for ac_option
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\$ac_option
971 ac_prev=
972 continue
975 case $ac_option in
976 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
977 *) ac_optarg=yes ;;
978 esac
980 # Accept the important Cygnus configure options, so we can diagnose typos.
982 case $ac_dashdash$ac_option in
984 ac_dashdash=yes ;;
986 -bindir | --bindir | --bindi | --bind | --bin | --bi)
987 ac_prev=bindir ;;
988 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
989 bindir=$ac_optarg ;;
991 -build | --build | --buil | --bui | --bu)
992 ac_prev=build_alias ;;
993 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
994 build_alias=$ac_optarg ;;
996 -cache-file | --cache-file | --cache-fil | --cache-fi \
997 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
998 ac_prev=cache_file ;;
999 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1000 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1001 cache_file=$ac_optarg ;;
1003 --config-cache | -C)
1004 cache_file=config.cache ;;
1006 -datadir | --datadir | --datadi | --datad)
1007 ac_prev=datadir ;;
1008 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1009 datadir=$ac_optarg ;;
1011 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1012 | --dataroo | --dataro | --datar)
1013 ac_prev=datarootdir ;;
1014 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1015 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1016 datarootdir=$ac_optarg ;;
1018 -disable-* | --disable-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 as_fn_error "invalid feature name: $ac_useropt"
1023 ac_useropt_orig=$ac_useropt
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_$ac_useropt"
1028 "*) ;;
1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1030 ac_unrecognized_sep=', ';;
1031 esac
1032 eval enable_$ac_useropt=no ;;
1034 -docdir | --docdir | --docdi | --doc | --do)
1035 ac_prev=docdir ;;
1036 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1037 docdir=$ac_optarg ;;
1039 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1040 ac_prev=dvidir ;;
1041 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1042 dvidir=$ac_optarg ;;
1044 -enable-* | --enable-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error "invalid feature name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "enable_$ac_useropt"
1054 "*) ;;
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1057 esac
1058 eval enable_$ac_useropt=\$ac_optarg ;;
1060 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1061 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1062 | --exec | --exe | --ex)
1063 ac_prev=exec_prefix ;;
1064 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1065 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1066 | --exec=* | --exe=* | --ex=*)
1067 exec_prefix=$ac_optarg ;;
1069 -gas | --gas | --ga | --g)
1070 # Obsolete; use --with-gas.
1071 with_gas=yes ;;
1073 -help | --help | --hel | --he | -h)
1074 ac_init_help=long ;;
1075 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1076 ac_init_help=recursive ;;
1077 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1078 ac_init_help=short ;;
1080 -host | --host | --hos | --ho)
1081 ac_prev=host_alias ;;
1082 -host=* | --host=* | --hos=* | --ho=*)
1083 host_alias=$ac_optarg ;;
1085 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1086 ac_prev=htmldir ;;
1087 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1088 | --ht=*)
1089 htmldir=$ac_optarg ;;
1091 -includedir | --includedir | --includedi | --included | --include \
1092 | --includ | --inclu | --incl | --inc)
1093 ac_prev=includedir ;;
1094 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1095 | --includ=* | --inclu=* | --incl=* | --inc=*)
1096 includedir=$ac_optarg ;;
1098 -infodir | --infodir | --infodi | --infod | --info | --inf)
1099 ac_prev=infodir ;;
1100 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1101 infodir=$ac_optarg ;;
1103 -libdir | --libdir | --libdi | --libd)
1104 ac_prev=libdir ;;
1105 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1106 libdir=$ac_optarg ;;
1108 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1109 | --libexe | --libex | --libe)
1110 ac_prev=libexecdir ;;
1111 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1112 | --libexe=* | --libex=* | --libe=*)
1113 libexecdir=$ac_optarg ;;
1115 -localedir | --localedir | --localedi | --localed | --locale)
1116 ac_prev=localedir ;;
1117 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1118 localedir=$ac_optarg ;;
1120 -localstatedir | --localstatedir | --localstatedi | --localstated \
1121 | --localstate | --localstat | --localsta | --localst | --locals)
1122 ac_prev=localstatedir ;;
1123 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1124 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1125 localstatedir=$ac_optarg ;;
1127 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1128 ac_prev=mandir ;;
1129 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1130 mandir=$ac_optarg ;;
1132 -nfp | --nfp | --nf)
1133 # Obsolete; use --without-fp.
1134 with_fp=no ;;
1136 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1137 | --no-cr | --no-c | -n)
1138 no_create=yes ;;
1140 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1141 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1142 no_recursion=yes ;;
1144 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1145 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1146 | --oldin | --oldi | --old | --ol | --o)
1147 ac_prev=oldincludedir ;;
1148 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1149 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1150 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1151 oldincludedir=$ac_optarg ;;
1153 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1154 ac_prev=prefix ;;
1155 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1156 prefix=$ac_optarg ;;
1158 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1159 | --program-pre | --program-pr | --program-p)
1160 ac_prev=program_prefix ;;
1161 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1162 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1163 program_prefix=$ac_optarg ;;
1165 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1166 | --program-suf | --program-su | --program-s)
1167 ac_prev=program_suffix ;;
1168 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1169 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1170 program_suffix=$ac_optarg ;;
1172 -program-transform-name | --program-transform-name \
1173 | --program-transform-nam | --program-transform-na \
1174 | --program-transform-n | --program-transform- \
1175 | --program-transform | --program-transfor \
1176 | --program-transfo | --program-transf \
1177 | --program-trans | --program-tran \
1178 | --progr-tra | --program-tr | --program-t)
1179 ac_prev=program_transform_name ;;
1180 -program-transform-name=* | --program-transform-name=* \
1181 | --program-transform-nam=* | --program-transform-na=* \
1182 | --program-transform-n=* | --program-transform-=* \
1183 | --program-transform=* | --program-transfor=* \
1184 | --program-transfo=* | --program-transf=* \
1185 | --program-trans=* | --program-tran=* \
1186 | --progr-tra=* | --program-tr=* | --program-t=*)
1187 program_transform_name=$ac_optarg ;;
1189 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1190 ac_prev=pdfdir ;;
1191 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1192 pdfdir=$ac_optarg ;;
1194 -psdir | --psdir | --psdi | --psd | --ps)
1195 ac_prev=psdir ;;
1196 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1197 psdir=$ac_optarg ;;
1199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1200 | -silent | --silent | --silen | --sile | --sil)
1201 silent=yes ;;
1203 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1204 ac_prev=sbindir ;;
1205 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1206 | --sbi=* | --sb=*)
1207 sbindir=$ac_optarg ;;
1209 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1210 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1211 | --sharedst | --shareds | --shared | --share | --shar \
1212 | --sha | --sh)
1213 ac_prev=sharedstatedir ;;
1214 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1215 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1216 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1217 | --sha=* | --sh=*)
1218 sharedstatedir=$ac_optarg ;;
1220 -site | --site | --sit)
1221 ac_prev=site ;;
1222 -site=* | --site=* | --sit=*)
1223 site=$ac_optarg ;;
1225 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1226 ac_prev=srcdir ;;
1227 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1228 srcdir=$ac_optarg ;;
1230 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1231 | --syscon | --sysco | --sysc | --sys | --sy)
1232 ac_prev=sysconfdir ;;
1233 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1234 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1235 sysconfdir=$ac_optarg ;;
1237 -target | --target | --targe | --targ | --tar | --ta | --t)
1238 ac_prev=target_alias ;;
1239 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1240 target_alias=$ac_optarg ;;
1242 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1243 verbose=yes ;;
1245 -version | --version | --versio | --versi | --vers | -V)
1246 ac_init_version=: ;;
1248 -with-* | --with-*)
1249 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1252 as_fn_error "invalid package name: $ac_useropt"
1253 ac_useropt_orig=$ac_useropt
1254 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1257 "with_$ac_useropt"
1258 "*) ;;
1259 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1260 ac_unrecognized_sep=', ';;
1261 esac
1262 eval with_$ac_useropt=\$ac_optarg ;;
1264 -without-* | --without-*)
1265 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1266 # Reject names that are not valid shell variable names.
1267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1268 as_fn_error "invalid package name: $ac_useropt"
1269 ac_useropt_orig=$ac_useropt
1270 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1271 case $ac_user_opts in
1273 "with_$ac_useropt"
1274 "*) ;;
1275 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1276 ac_unrecognized_sep=', ';;
1277 esac
1278 eval with_$ac_useropt=no ;;
1280 --x)
1281 # Obsolete; use --with-x.
1282 with_x=yes ;;
1284 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1285 | --x-incl | --x-inc | --x-in | --x-i)
1286 ac_prev=x_includes ;;
1287 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1288 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1289 x_includes=$ac_optarg ;;
1291 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1292 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1293 ac_prev=x_libraries ;;
1294 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1295 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1296 x_libraries=$ac_optarg ;;
1298 -*) as_fn_error "unrecognized option: \`$ac_option'
1299 Try \`$0 --help' for more information."
1302 *=*)
1303 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1304 # Reject names that are not valid shell variable names.
1305 case $ac_envvar in #(
1306 '' | [0-9]* | *[!_$as_cr_alnum]* )
1307 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1308 esac
1309 eval $ac_envvar=\$ac_optarg
1310 export $ac_envvar ;;
1313 # FIXME: should be removed in autoconf 3.0.
1314 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1320 esac
1321 done
1323 if test -n "$ac_prev"; then
1324 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1325 as_fn_error "missing argument to $ac_option"
1328 if test -n "$ac_unrecognized_opts"; then
1329 case $enable_option_checking in
1330 no) ;;
1331 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1332 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1333 esac
1336 # Check all directory arguments for consistency.
1337 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1338 datadir sysconfdir sharedstatedir localstatedir includedir \
1339 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1340 libdir localedir mandir
1342 eval ac_val=\$$ac_var
1343 # Remove trailing slashes.
1344 case $ac_val in
1345 */ )
1346 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1347 eval $ac_var=\$ac_val;;
1348 esac
1349 # Be sure to have absolute directory names.
1350 case $ac_val in
1351 [\\/$]* | ?:[\\/]* ) continue;;
1352 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1353 esac
1354 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1355 done
1357 # There might be people who depend on the old broken behavior: `$host'
1358 # used to hold the argument of --host etc.
1359 # FIXME: To remove some day.
1360 build=$build_alias
1361 host=$host_alias
1362 target=$target_alias
1364 # FIXME: To remove some day.
1365 if test "x$host_alias" != x; then
1366 if test "x$build_alias" = x; then
1367 cross_compiling=maybe
1368 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1369 If a cross compiler is detected then cross compile mode will be used." >&2
1370 elif test "x$build_alias" != "x$host_alias"; then
1371 cross_compiling=yes
1375 ac_tool_prefix=
1376 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1378 test "$silent" = yes && exec 6>/dev/null
1381 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1382 ac_ls_di=`ls -di .` &&
1383 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1384 as_fn_error "working directory cannot be determined"
1385 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1386 as_fn_error "pwd does not report name of working directory"
1389 # Find the source files, if location was not specified.
1390 if test -z "$srcdir"; then
1391 ac_srcdir_defaulted=yes
1392 # Try the directory containing this script, then the parent directory.
1393 ac_confdir=`$as_dirname -- "$as_myself" ||
1394 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1395 X"$as_myself" : 'X\(//\)[^/]' \| \
1396 X"$as_myself" : 'X\(//\)$' \| \
1397 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1398 $as_echo X"$as_myself" |
1399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1400 s//\1/
1403 /^X\(\/\/\)[^/].*/{
1404 s//\1/
1407 /^X\(\/\/\)$/{
1408 s//\1/
1411 /^X\(\/\).*/{
1412 s//\1/
1415 s/.*/./; q'`
1416 srcdir=$ac_confdir
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1418 srcdir=..
1420 else
1421 ac_srcdir_defaulted=no
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1424 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1425 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1427 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1428 ac_abs_confdir=`(
1429 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1430 pwd)`
1431 # When building in place, set srcdir=.
1432 if test "$ac_abs_confdir" = "$ac_pwd"; then
1433 srcdir=.
1435 # Remove unnecessary trailing slashes from srcdir.
1436 # Double slashes in file names in object file debugging info
1437 # mess up M-x gdb in Emacs.
1438 case $srcdir in
1439 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1440 esac
1441 for ac_var in $ac_precious_vars; do
1442 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_env_${ac_var}_value=\$${ac_var}
1444 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1446 done
1449 # Report the --help message.
1451 if test "$ac_init_help" = "long"; then
1452 # Omit some internal or obsolete options to make the list less imposing.
1453 # This message is too long to be a string in the A/UX 3.1 sh.
1454 cat <<_ACEOF
1455 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1457 Usage: $0 [OPTION]... [VAR=VALUE]...
1459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460 VAR=VALUE. See below for descriptions of some of the useful variables.
1462 Defaults for the options are specified in brackets.
1464 Configuration:
1465 -h, --help display this help and exit
1466 --help=short display options specific to this package
1467 --help=recursive display the short help of all the included packages
1468 -V, --version display version information and exit
1469 -q, --quiet, --silent do not print \`checking...' messages
1470 --cache-file=FILE cache test results in FILE [disabled]
1471 -C, --config-cache alias for \`--cache-file=config.cache'
1472 -n, --no-create do not create output files
1473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1475 Installation directories:
1476 --prefix=PREFIX install architecture-independent files in PREFIX
1477 [$ac_default_prefix]
1478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1479 [PREFIX]
1481 By default, \`make install' will install all the files in
1482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484 for instance \`--prefix=\$HOME'.
1486 For better control, use the options below.
1488 Fine tuning of the installation directories:
1489 --bindir=DIR user executables [EPREFIX/bin]
1490 --sbindir=DIR system admin executables [EPREFIX/sbin]
1491 --libexecdir=DIR program executables [EPREFIX/libexec]
1492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1495 --libdir=DIR object code libraries [EPREFIX/lib]
1496 --includedir=DIR C header files [PREFIX/include]
1497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1498 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1499 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1500 --infodir=DIR info documentation [DATAROOTDIR/info]
1501 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1502 --mandir=DIR man documentation [DATAROOTDIR/man]
1503 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1504 --htmldir=DIR html documentation [DOCDIR]
1505 --dvidir=DIR dvi documentation [DOCDIR]
1506 --pdfdir=DIR pdf documentation [DOCDIR]
1507 --psdir=DIR ps documentation [DOCDIR]
1508 _ACEOF
1510 cat <<\_ACEOF
1512 Program names:
1513 --program-prefix=PREFIX prepend PREFIX to installed program names
1514 --program-suffix=SUFFIX append SUFFIX to installed program names
1515 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1517 System types:
1518 --build=BUILD configure for building on BUILD [guessed]
1519 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1520 --target=TARGET configure for building compilers for TARGET [HOST]
1521 _ACEOF
1524 if test -n "$ac_init_help"; then
1525 case $ac_init_help in
1526 short | recursive ) echo "Configuration of package-unused version-unused:";;
1527 esac
1528 cat <<\_ACEOF
1530 Optional Features:
1531 --disable-option-checking ignore unrecognized --enable/--with options
1532 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1533 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1534 --enable-multilib build many library versions (default)
1535 --enable-maintainer-mode enable make rules and dependencies not useful
1536 (and sometimes confusing) to the casual installer
1537 --enable-shared[=PKGS] build shared libraries [default=yes]
1538 --enable-static[=PKGS] build static libraries [default=yes]
1539 --enable-fast-install[=PKGS]
1540 optimize for fast installation [default=yes]
1541 --disable-libtool-lock avoid locking (might break parallel builds)
1542 --disable-hosted-libstdcxx
1543 only build freestanding C++ runtime support
1544 --disable-libstdcxx-verbose
1545 disable termination messages to standard error
1546 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1547 [default=$is_hosted]
1548 --enable-cstdio[=PACKAGE]
1549 use target-specific I/O package [default=stdio]
1550 --enable-clocale[=MODEL]
1551 use MODEL for target locale package [default=auto]
1552 --enable-nls use Native Language Support (default)
1553 --enable-libstdcxx-allocator[=KIND]
1554 use KIND for target std::allocator base
1555 [default=auto]
1556 --enable-cheaders[=KIND]
1557 construct "C" headers for g++ [default=$c_model]
1558 --enable-long-long enable template specializations for 'long long'
1559 [default=yes]
1560 --enable-wchar_t enable template specializations for 'wchar_t'
1561 [default=yes]
1562 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1563 --enable-concept-checks use Boost-derived template checks [default=no]
1564 --enable-libstdcxx-debug-flags=FLAGS
1565 pass compiler FLAGS when building debug library
1566 [default="-gdwarf-4 -g3 -O0"]
1567 --enable-libstdcxx-debug
1568 build extra debug library [default=no]
1569 --enable-cxx-flags=FLAGS
1570 pass compiler FLAGS when building library [default=]
1571 --enable-fully-dynamic-string
1572 do not put empty strings in per-process static
1573 memory [default=no]
1574 --enable-extern-template
1575 enable extern template [default=yes]
1576 --enable-werror turns on -Werror [default=yes]
1577 --enable-vtable-verify enable vtable verify [default=no]
1578 --enable-libstdcxx-time[=KIND]
1579 use KIND for check type [default=auto]
1580 --enable-tls Use thread-local storage [default=yes]
1581 --disable-rpath do not hardcode runtime library paths
1582 --enable-linux-futex use the Linux futex system call [default=default]
1583 --enable-symvers[=STYLE]
1584 enables symbol versioning of the shared library
1585 [default=yes]
1586 --enable-libstdcxx-visibility
1587 enables visibility safe usage [default=yes]
1588 --enable-libstdcxx-dual-abi
1589 support two versions of std::string [default=yes]
1590 --enable-libstdcxx-threads
1591 enable C++11 threads support [default=auto]
1592 --enable-libstdcxx-filesystem-ts
1593 turns on ISO/IEC TS 18822 support [default=auto]
1594 --enable-version-specific-runtime-libs
1595 Specify that runtime libraries should be installed
1596 in a compiler-specific directory
1598 Optional Packages:
1599 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1600 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1601 --with-target-subdir=SUBDIR
1602 configuring in a subdirectory
1603 --with-cross-host=HOST configuring with a cross compiler
1604 --with-newlib assume newlib as a system C library
1605 --with-pic try to use only PIC/non-PIC objects [default=use
1606 both]
1607 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1608 --with-python-dir the location to install Python modules. This path is
1609 relative starting from the prefix.
1610 --with-gnu-ld assume the C compiler uses GNU ld default=no
1611 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1612 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1613 --with-system-libunwind use installed libunwind
1614 --with-default-libstdcxx-abi
1615 set the std::string ABI to use by default
1616 --with-gxx-include-dir=DIR
1617 installation directory for include files
1619 Some influential environment variables:
1620 CC C compiler command
1621 CFLAGS C compiler flags
1622 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1623 nonstandard directory <lib dir>
1624 LIBS libraries to pass to the linker, e.g. -l<library>
1625 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1626 you have headers in a nonstandard directory <include dir>
1627 CXX C++ compiler command
1628 CXXFLAGS C++ compiler flags
1629 CPP C preprocessor
1630 CXXCPP C++ preprocessor
1631 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1632 `c++filt', `gc++filt' on PATH.
1634 Use these variables to override the choices made by `configure' or to help
1635 it to find libraries and programs with nonstandard names/locations.
1637 Report bugs to the package provider.
1638 _ACEOF
1639 ac_status=$?
1642 if test "$ac_init_help" = "recursive"; then
1643 # If there are subdirs, report their specific --help.
1644 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645 test -d "$ac_dir" ||
1646 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1647 continue
1648 ac_builddir=.
1650 case "$ac_dir" in
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1654 # A ".." for each directory in $ac_dir_suffix.
1655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1656 case $ac_top_builddir_sub in
1657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1659 esac ;;
1660 esac
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1666 case $srcdir in
1667 .) # We are building in place.
1668 ac_srcdir=.
1669 ac_top_srcdir=$ac_top_builddir_sub
1670 ac_abs_top_srcdir=$ac_pwd ;;
1671 [\\/]* | ?:[\\/]* ) # Absolute name.
1672 ac_srcdir=$srcdir$ac_dir_suffix;
1673 ac_top_srcdir=$srcdir
1674 ac_abs_top_srcdir=$srcdir ;;
1675 *) # Relative name.
1676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677 ac_top_srcdir=$ac_top_build_prefix$srcdir
1678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1679 esac
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1682 cd "$ac_dir" || { ac_status=$?; continue; }
1683 # Check for guested configure.
1684 if test -f "$ac_srcdir/configure.gnu"; then
1685 echo &&
1686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687 elif test -f "$ac_srcdir/configure"; then
1688 echo &&
1689 $SHELL "$ac_srcdir/configure" --help=recursive
1690 else
1691 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692 fi || ac_status=$?
1693 cd "$ac_pwd" || { ac_status=$?; break; }
1694 done
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1699 cat <<\_ACEOF
1700 package-unused configure version-unused
1701 generated by GNU Autoconf 2.64
1703 Copyright (C) 2009 Free Software Foundation, Inc.
1704 This configure script is free software; the Free Software Foundation
1705 gives unlimited permission to copy, distribute and modify it.
1706 _ACEOF
1707 exit
1710 ## ------------------------ ##
1711 ## Autoconf initialization. ##
1712 ## ------------------------ ##
1714 # ac_fn_c_try_compile LINENO
1715 # --------------------------
1716 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1717 ac_fn_c_try_compile ()
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 rm -f conftest.$ac_objext
1721 if { { ac_try="$ac_compile"
1722 case "(($ac_try" in
1723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1725 esac
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_compile") 2>conftest.err
1729 ac_status=$?
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && {
1737 test -z "$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1739 } && test -s conftest.$ac_objext; then :
1740 ac_retval=0
1741 else
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1745 ac_retval=1
1747 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 return $ac_retval
1750 } # ac_fn_c_try_compile
1752 # ac_fn_cxx_try_compile LINENO
1753 # ----------------------------
1754 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1755 ac_fn_cxx_try_compile ()
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 rm -f conftest.$ac_objext
1759 if { { ac_try="$ac_compile"
1760 case "(($ac_try" in
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_compile") 2>conftest.err
1767 ac_status=$?
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && {
1775 test -z "$ac_cxx_werror_flag" ||
1776 test ! -s conftest.err
1777 } && test -s conftest.$ac_objext; then :
1778 ac_retval=0
1779 else
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1783 ac_retval=1
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1786 return $ac_retval
1788 } # ac_fn_cxx_try_compile
1790 # ac_fn_c_try_cpp LINENO
1791 # ----------------------
1792 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1793 ac_fn_c_try_cpp ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 if { { ac_try="$ac_cpp conftest.$ac_ext"
1797 case "(($ac_try" in
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1800 esac
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1804 ac_status=$?
1805 if test -s conftest.err; then
1806 grep -v '^ *+' conftest.err >conftest.er1
1807 cat conftest.er1 >&5
1808 mv -f conftest.er1 conftest.err
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } >/dev/null && {
1812 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1813 test ! -s conftest.err
1814 }; then :
1815 ac_retval=0
1816 else
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1820 ac_retval=1
1822 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 return $ac_retval
1825 } # ac_fn_c_try_cpp
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1830 ac_fn_c_try_link ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1835 case "(($ac_try" in
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1842 ac_status=$?
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 $as_test_x conftest$ac_exeext
1855 }; then :
1856 ac_retval=0
1857 else
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1861 ac_retval=1
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1869 return $ac_retval
1871 } # ac_fn_c_try_link
1873 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1874 # -------------------------------------------------------
1875 # Tests whether HEADER exists and can be compiled using the include files in
1876 # INCLUDES, setting the cache variable VAR accordingly.
1877 ac_fn_c_check_header_compile ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1883 $as_echo_n "(cached) " >&6
1884 else
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1888 #include <$2>
1889 _ACEOF
1890 if ac_fn_c_try_compile "$LINENO"; then :
1891 eval "$3=yes"
1892 else
1893 eval "$3=no"
1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1897 eval ac_res=\$$3
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899 $as_echo "$ac_res" >&6; }
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 } # ac_fn_c_check_header_compile
1904 # ac_fn_c_try_run LINENO
1905 # ----------------------
1906 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1907 # that executables *can* be run.
1908 ac_fn_c_try_run ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 if { { ac_try="$ac_link"
1912 case "(($ac_try" in
1913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1914 *) ac_try_echo=$ac_try;;
1915 esac
1916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917 $as_echo "$ac_try_echo"; } >&5
1918 (eval "$ac_link") 2>&5
1919 ac_status=$?
1920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1921 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1922 { { case "(($ac_try" in
1923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1924 *) ac_try_echo=$ac_try;;
1925 esac
1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928 (eval "$ac_try") 2>&5
1929 ac_status=$?
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; }; }; then :
1932 ac_retval=0
1933 else
1934 $as_echo "$as_me: program exited with status $ac_status" >&5
1935 $as_echo "$as_me: failed program was:" >&5
1936 sed 's/^/| /' conftest.$ac_ext >&5
1938 ac_retval=$ac_status
1940 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1941 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 return $ac_retval
1944 } # ac_fn_c_try_run
1946 # ac_fn_c_check_func LINENO FUNC VAR
1947 # ----------------------------------
1948 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1949 ac_fn_c_check_func ()
1951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953 $as_echo_n "checking for $2... " >&6; }
1954 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1955 $as_echo_n "(cached) " >&6
1956 else
1957 if test x$gcc_no_link = xyes; then
1958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1961 /* end confdefs.h. */
1962 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1964 #define $2 innocuous_$2
1966 /* System header to define __stub macros and hopefully few prototypes,
1967 which can conflict with char $2 (); below.
1968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1969 <limits.h> exists even on freestanding compilers. */
1971 #ifdef __STDC__
1972 # include <limits.h>
1973 #else
1974 # include <assert.h>
1975 #endif
1977 #undef $2
1979 /* Override any GCC internal prototype to avoid an error.
1980 Use char because int might match the return type of a GCC
1981 builtin and then its argument prototype would still apply. */
1982 #ifdef __cplusplus
1983 extern "C"
1984 #endif
1985 char $2 ();
1986 /* The GNU C library defines this for functions which it implements
1987 to always fail with ENOSYS. Some functions are actually named
1988 something starting with __ and the normal name is an alias. */
1989 #if defined __stub_$2 || defined __stub___$2
1990 choke me
1991 #endif
1994 main ()
1996 return $2 ();
1998 return 0;
2000 _ACEOF
2001 if ac_fn_c_try_link "$LINENO"; then :
2002 eval "$3=yes"
2003 else
2004 eval "$3=no"
2006 rm -f core conftest.err conftest.$ac_objext \
2007 conftest$ac_exeext conftest.$ac_ext
2009 eval ac_res=\$$3
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014 } # ac_fn_c_check_func
2016 # ac_fn_cxx_try_cpp LINENO
2017 # ------------------------
2018 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2019 ac_fn_cxx_try_cpp ()
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 if { { ac_try="$ac_cpp conftest.$ac_ext"
2023 case "(($ac_try" in
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2026 esac
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2030 ac_status=$?
2031 if test -s conftest.err; then
2032 grep -v '^ *+' conftest.err >conftest.er1
2033 cat conftest.er1 >&5
2034 mv -f conftest.er1 conftest.err
2036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2037 test $ac_status = 0; } >/dev/null && {
2038 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2039 test ! -s conftest.err
2040 }; then :
2041 ac_retval=0
2042 else
2043 $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2046 ac_retval=1
2048 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2049 return $ac_retval
2051 } # ac_fn_cxx_try_cpp
2053 # ac_fn_cxx_try_link LINENO
2054 # -------------------------
2055 # Try to link conftest.$ac_ext, and return whether this succeeded.
2056 ac_fn_cxx_try_link ()
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 rm -f conftest.$ac_objext conftest$ac_exeext
2060 if { { ac_try="$ac_link"
2061 case "(($ac_try" in
2062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2063 *) ac_try_echo=$ac_try;;
2064 esac
2065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2066 $as_echo "$ac_try_echo"; } >&5
2067 (eval "$ac_link") 2>conftest.err
2068 ac_status=$?
2069 if test -s conftest.err; then
2070 grep -v '^ *+' conftest.err >conftest.er1
2071 cat conftest.er1 >&5
2072 mv -f conftest.er1 conftest.err
2074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075 test $ac_status = 0; } && {
2076 test -z "$ac_cxx_werror_flag" ||
2077 test ! -s conftest.err
2078 } && test -s conftest$ac_exeext && {
2079 test "$cross_compiling" = yes ||
2080 $as_test_x conftest$ac_exeext
2081 }; then :
2082 ac_retval=0
2083 else
2084 $as_echo "$as_me: failed program was:" >&5
2085 sed 's/^/| /' conftest.$ac_ext >&5
2087 ac_retval=1
2089 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2090 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2091 # interfere with the next link command; also delete a directory that is
2092 # left behind by Apple's compiler. We do this before executing the actions.
2093 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2094 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2095 return $ac_retval
2097 } # ac_fn_cxx_try_link
2099 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2100 # -------------------------------------------------------
2101 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2102 # the include files in INCLUDES and setting the cache variable VAR
2103 # accordingly.
2104 ac_fn_c_check_header_mongrel ()
2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2107 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2109 $as_echo_n "checking for $2... " >&6; }
2110 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2111 $as_echo_n "(cached) " >&6
2113 eval ac_res=\$$3
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2115 $as_echo "$ac_res" >&6; }
2116 else
2117 # Is the header compilable?
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2119 $as_echo_n "checking $2 usability... " >&6; }
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_compile "$LINENO"; then :
2126 ac_header_compiler=yes
2127 else
2128 ac_header_compiler=no
2130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2132 $as_echo "$ac_header_compiler" >&6; }
2134 # Is the header present?
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2136 $as_echo_n "checking $2 presence... " >&6; }
2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2139 #include <$2>
2140 _ACEOF
2141 if ac_fn_c_try_cpp "$LINENO"; then :
2142 ac_header_preproc=yes
2143 else
2144 ac_header_preproc=no
2146 rm -f conftest.err conftest.$ac_ext
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2148 $as_echo "$ac_header_preproc" >&6; }
2150 # So? What about this header?
2151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2152 yes:no: )
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2154 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2156 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2158 no:yes:* )
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2160 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2162 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2164 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2166 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2170 esac
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2172 $as_echo_n "checking for $2... " >&6; }
2173 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2174 $as_echo_n "(cached) " >&6
2175 else
2176 eval "$3=\$ac_header_compiler"
2178 eval ac_res=\$$3
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2180 $as_echo "$ac_res" >&6; }
2182 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2184 } # ac_fn_c_check_header_mongrel
2186 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2187 # ---------------------------------------------------------
2188 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2189 # the include files in INCLUDES and setting the cache variable VAR
2190 # accordingly.
2191 ac_fn_cxx_check_header_mongrel ()
2193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2196 $as_echo_n "checking for $2... " >&6; }
2197 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2198 $as_echo_n "(cached) " >&6
2200 eval ac_res=\$$3
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2202 $as_echo "$ac_res" >&6; }
2203 else
2204 # Is the header compilable?
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2206 $as_echo_n "checking $2 usability... " >&6; }
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_compile "$LINENO"; then :
2213 ac_header_compiler=yes
2214 else
2215 ac_header_compiler=no
2217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2219 $as_echo "$ac_header_compiler" >&6; }
2221 # Is the header present?
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2223 $as_echo_n "checking $2 presence... " >&6; }
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2226 #include <$2>
2227 _ACEOF
2228 if ac_fn_cxx_try_cpp "$LINENO"; then :
2229 ac_header_preproc=yes
2230 else
2231 ac_header_preproc=no
2233 rm -f conftest.err conftest.$ac_ext
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2235 $as_echo "$ac_header_preproc" >&6; }
2237 # So? What about this header?
2238 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2239 yes:no: )
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2241 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2243 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2245 no:yes:* )
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2247 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2249 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2251 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2253 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2255 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2257 esac
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2259 $as_echo_n "checking for $2... " >&6; }
2260 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2261 $as_echo_n "(cached) " >&6
2262 else
2263 eval "$3=\$ac_header_compiler"
2265 eval ac_res=\$$3
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2267 $as_echo "$ac_res" >&6; }
2269 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2271 } # ac_fn_cxx_check_header_mongrel
2273 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2274 # --------------------------------------------
2275 # Tries to find the compile-time value of EXPR in a program that includes
2276 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2277 # computed
2278 ac_fn_c_compute_int ()
2280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2281 if test "$cross_compiling" = yes; then
2282 # Depending upon the size, compute the lo and hi bounds.
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2287 main ()
2289 static int test_array [1 - 2 * !(($2) >= 0)];
2290 test_array [0] = 0
2293 return 0;
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_lo=0 ac_mid=0
2298 while :; do
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2303 main ()
2305 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2306 test_array [0] = 0
2309 return 0;
2311 _ACEOF
2312 if ac_fn_c_try_compile "$LINENO"; then :
2313 ac_hi=$ac_mid; break
2314 else
2315 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2316 if test $ac_lo -le $ac_mid; then
2317 ac_lo= ac_hi=
2318 break
2320 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2323 done
2324 else
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2329 main ()
2331 static int test_array [1 - 2 * !(($2) < 0)];
2332 test_array [0] = 0
2335 return 0;
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_hi=-1 ac_mid=-1
2340 while :; do
2341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342 /* end confdefs.h. */
2345 main ()
2347 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2348 test_array [0] = 0
2351 return 0;
2353 _ACEOF
2354 if ac_fn_c_try_compile "$LINENO"; then :
2355 ac_lo=$ac_mid; break
2356 else
2357 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2358 if test $ac_mid -le $ac_hi; then
2359 ac_lo= ac_hi=
2360 break
2362 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2365 done
2366 else
2367 ac_lo= ac_hi=
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 # Binary search between lo and hi bounds.
2373 while test "x$ac_lo" != "x$ac_hi"; do
2374 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2376 /* end confdefs.h. */
2379 main ()
2381 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2382 test_array [0] = 0
2385 return 0;
2387 _ACEOF
2388 if ac_fn_c_try_compile "$LINENO"; then :
2389 ac_hi=$ac_mid
2390 else
2391 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2394 done
2395 case $ac_lo in #((
2396 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2397 '') ac_retval=1 ;;
2398 esac
2399 else
2400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401 /* end confdefs.h. */
2403 static long int longval () { return $2; }
2404 static unsigned long int ulongval () { return $2; }
2405 #include <stdio.h>
2406 #include <stdlib.h>
2408 main ()
2411 FILE *f = fopen ("conftest.val", "w");
2412 if (! f)
2413 return 1;
2414 if (($2) < 0)
2416 long int i = longval ();
2417 if (i != ($2))
2418 return 1;
2419 fprintf (f, "%ld", i);
2421 else
2423 unsigned long int i = ulongval ();
2424 if (i != ($2))
2425 return 1;
2426 fprintf (f, "%lu", i);
2428 /* Do not output a trailing newline, as this causes \r\n confusion
2429 on some platforms. */
2430 return ferror (f) || fclose (f) != 0;
2433 return 0;
2435 _ACEOF
2436 if ac_fn_c_try_run "$LINENO"; then :
2437 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2438 else
2439 ac_retval=1
2441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2442 conftest.$ac_objext conftest.beam conftest.$ac_ext
2443 rm -f conftest.val
2446 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2447 return $ac_retval
2449 } # ac_fn_c_compute_int
2451 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2452 # -------------------------------------------
2453 # Tests whether TYPE exists after having included INCLUDES, setting cache
2454 # variable VAR accordingly.
2455 ac_fn_c_check_type ()
2457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2459 $as_echo_n "checking for $2... " >&6; }
2460 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2461 $as_echo_n "(cached) " >&6
2462 else
2463 eval "$3=no"
2464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2465 /* end confdefs.h. */
2468 main ()
2470 if (sizeof ($2))
2471 return 0;
2473 return 0;
2475 _ACEOF
2476 if ac_fn_c_try_compile "$LINENO"; then :
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2481 main ()
2483 if (sizeof (($2)))
2484 return 0;
2486 return 0;
2488 _ACEOF
2489 if ac_fn_c_try_compile "$LINENO"; then :
2491 else
2492 eval "$3=yes"
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2498 eval ac_res=\$$3
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2500 $as_echo "$ac_res" >&6; }
2501 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2503 } # ac_fn_c_check_type
2505 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2506 # ---------------------------------------------
2507 # Tests whether TYPE exists after having included INCLUDES, setting cache
2508 # variable VAR accordingly.
2509 ac_fn_cxx_check_type ()
2511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2513 $as_echo_n "checking for $2... " >&6; }
2514 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2515 $as_echo_n "(cached) " >&6
2516 else
2517 eval "$3=no"
2518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2522 main ()
2524 if (sizeof ($2))
2525 return 0;
2527 return 0;
2529 _ACEOF
2530 if ac_fn_cxx_try_compile "$LINENO"; then :
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2535 main ()
2537 if (sizeof (($2)))
2538 return 0;
2540 return 0;
2542 _ACEOF
2543 if ac_fn_cxx_try_compile "$LINENO"; then :
2545 else
2546 eval "$3=yes"
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2552 eval ac_res=\$$3
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2554 $as_echo "$ac_res" >&6; }
2555 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2557 } # ac_fn_cxx_check_type
2558 cat >config.log <<_ACEOF
2559 This file contains any messages produced by compilers while
2560 running configure, to aid debugging if configure makes a mistake.
2562 It was created by package-unused $as_me version-unused, which was
2563 generated by GNU Autoconf 2.64. Invocation command line was
2565 $ $0 $@
2567 _ACEOF
2568 exec 5>>config.log
2570 cat <<_ASUNAME
2571 ## --------- ##
2572 ## Platform. ##
2573 ## --------- ##
2575 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2576 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2577 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2578 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2579 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2581 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2582 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2584 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2585 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2586 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2587 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2588 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2589 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2590 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2592 _ASUNAME
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 for as_dir in $PATH
2597 IFS=$as_save_IFS
2598 test -z "$as_dir" && as_dir=.
2599 $as_echo "PATH: $as_dir"
2600 done
2601 IFS=$as_save_IFS
2603 } >&5
2605 cat >&5 <<_ACEOF
2608 ## ----------- ##
2609 ## Core tests. ##
2610 ## ----------- ##
2612 _ACEOF
2615 # Keep a trace of the command line.
2616 # Strip out --no-create and --no-recursion so they do not pile up.
2617 # Strip out --silent because we don't want to record it for future runs.
2618 # Also quote any args containing shell meta-characters.
2619 # Make two passes to allow for proper duplicate-argument suppression.
2620 ac_configure_args=
2621 ac_configure_args0=
2622 ac_configure_args1=
2623 ac_must_keep_next=false
2624 for ac_pass in 1 2
2626 for ac_arg
2628 case $ac_arg in
2629 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2631 | -silent | --silent | --silen | --sile | --sil)
2632 continue ;;
2633 *\'*)
2634 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2635 esac
2636 case $ac_pass in
2637 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2639 as_fn_append ac_configure_args1 " '$ac_arg'"
2640 if test $ac_must_keep_next = true; then
2641 ac_must_keep_next=false # Got value, back to normal.
2642 else
2643 case $ac_arg in
2644 *=* | --config-cache | -C | -disable-* | --disable-* \
2645 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2646 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2647 | -with-* | --with-* | -without-* | --without-* | --x)
2648 case "$ac_configure_args0 " in
2649 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2650 esac
2652 -* ) ac_must_keep_next=true ;;
2653 esac
2655 as_fn_append ac_configure_args " '$ac_arg'"
2657 esac
2658 done
2659 done
2660 { ac_configure_args0=; unset ac_configure_args0;}
2661 { ac_configure_args1=; unset ac_configure_args1;}
2663 # When interrupted or exit'd, cleanup temporary files, and complete
2664 # config.log. We remove comments because anyway the quotes in there
2665 # would cause problems or look ugly.
2666 # WARNING: Use '\'' to represent an apostrophe within the trap.
2667 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2668 trap 'exit_status=$?
2669 # Save into config.log some information that might help in debugging.
2671 echo
2673 cat <<\_ASBOX
2674 ## ---------------- ##
2675 ## Cache variables. ##
2676 ## ---------------- ##
2677 _ASBOX
2678 echo
2679 # The following way of writing the cache mishandles newlines in values,
2681 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2682 eval ac_val=\$$ac_var
2683 case $ac_val in #(
2684 *${as_nl}*)
2685 case $ac_var in #(
2686 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2687 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2688 esac
2689 case $ac_var in #(
2690 _ | IFS | as_nl) ;; #(
2691 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2692 *) { eval $ac_var=; unset $ac_var;} ;;
2693 esac ;;
2694 esac
2695 done
2696 (set) 2>&1 |
2697 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2698 *${as_nl}ac_space=\ *)
2699 sed -n \
2700 "s/'\''/'\''\\\\'\'''\''/g;
2701 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2702 ;; #(
2704 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2706 esac |
2707 sort
2709 echo
2711 cat <<\_ASBOX
2712 ## ----------------- ##
2713 ## Output variables. ##
2714 ## ----------------- ##
2715 _ASBOX
2716 echo
2717 for ac_var in $ac_subst_vars
2719 eval ac_val=\$$ac_var
2720 case $ac_val in
2721 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2722 esac
2723 $as_echo "$ac_var='\''$ac_val'\''"
2724 done | sort
2725 echo
2727 if test -n "$ac_subst_files"; then
2728 cat <<\_ASBOX
2729 ## ------------------- ##
2730 ## File substitutions. ##
2731 ## ------------------- ##
2732 _ASBOX
2733 echo
2734 for ac_var in $ac_subst_files
2736 eval ac_val=\$$ac_var
2737 case $ac_val in
2738 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2739 esac
2740 $as_echo "$ac_var='\''$ac_val'\''"
2741 done | sort
2742 echo
2745 if test -s confdefs.h; then
2746 cat <<\_ASBOX
2747 ## ----------- ##
2748 ## confdefs.h. ##
2749 ## ----------- ##
2750 _ASBOX
2751 echo
2752 cat confdefs.h
2753 echo
2755 test "$ac_signal" != 0 &&
2756 $as_echo "$as_me: caught signal $ac_signal"
2757 $as_echo "$as_me: exit $exit_status"
2758 } >&5
2759 rm -f core *.core core.conftest.* &&
2760 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2761 exit $exit_status
2763 for ac_signal in 1 2 13 15; do
2764 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2765 done
2766 ac_signal=0
2768 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2769 rm -f -r conftest* confdefs.h
2771 $as_echo "/* confdefs.h */" > confdefs.h
2773 # Predefined preprocessor variables.
2775 cat >>confdefs.h <<_ACEOF
2776 #define PACKAGE_NAME "$PACKAGE_NAME"
2777 _ACEOF
2779 cat >>confdefs.h <<_ACEOF
2780 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2781 _ACEOF
2783 cat >>confdefs.h <<_ACEOF
2784 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2785 _ACEOF
2787 cat >>confdefs.h <<_ACEOF
2788 #define PACKAGE_STRING "$PACKAGE_STRING"
2789 _ACEOF
2791 cat >>confdefs.h <<_ACEOF
2792 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2793 _ACEOF
2795 cat >>confdefs.h <<_ACEOF
2796 #define PACKAGE_URL "$PACKAGE_URL"
2797 _ACEOF
2800 # Let the site file select an alternate cache file if it wants to.
2801 # Prefer an explicitly selected file to automatically selected ones.
2802 ac_site_file1=NONE
2803 ac_site_file2=NONE
2804 if test -n "$CONFIG_SITE"; then
2805 ac_site_file1=$CONFIG_SITE
2806 elif test "x$prefix" != xNONE; then
2807 ac_site_file1=$prefix/share/config.site
2808 ac_site_file2=$prefix/etc/config.site
2809 else
2810 ac_site_file1=$ac_default_prefix/share/config.site
2811 ac_site_file2=$ac_default_prefix/etc/config.site
2813 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2815 test "x$ac_site_file" = xNONE && continue
2816 if test -r "$ac_site_file"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2818 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2819 sed 's/^/| /' "$ac_site_file" >&5
2820 . "$ac_site_file"
2822 done
2824 if test -r "$cache_file"; then
2825 # Some versions of bash will fail to source /dev/null (special
2826 # files actually), so we avoid doing that.
2827 if test -f "$cache_file"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2829 $as_echo "$as_me: loading cache $cache_file" >&6;}
2830 case $cache_file in
2831 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2832 *) . "./$cache_file";;
2833 esac
2835 else
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2837 $as_echo "$as_me: creating cache $cache_file" >&6;}
2838 >$cache_file
2841 # Check that the precious variables saved in the cache have kept the same
2842 # value.
2843 ac_cache_corrupted=false
2844 for ac_var in $ac_precious_vars; do
2845 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2846 eval ac_new_set=\$ac_env_${ac_var}_set
2847 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2848 eval ac_new_val=\$ac_env_${ac_var}_value
2849 case $ac_old_set,$ac_new_set in
2850 set,)
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2852 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2853 ac_cache_corrupted=: ;;
2854 ,set)
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2856 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2857 ac_cache_corrupted=: ;;
2858 ,);;
2860 if test "x$ac_old_val" != "x$ac_new_val"; then
2861 # differences in whitespace do not lead to failure.
2862 ac_old_val_w=`echo x $ac_old_val`
2863 ac_new_val_w=`echo x $ac_new_val`
2864 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2866 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2867 ac_cache_corrupted=:
2868 else
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2870 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2871 eval $ac_var=\$ac_old_val
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2874 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2876 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2877 fi;;
2878 esac
2879 # Pass precious variables to config.status.
2880 if test "$ac_new_set" = set; then
2881 case $ac_new_val in
2882 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2883 *) ac_arg=$ac_var=$ac_new_val ;;
2884 esac
2885 case " $ac_configure_args " in
2886 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2887 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2888 esac
2890 done
2891 if $ac_cache_corrupted; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2895 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2896 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2898 ## -------------------- ##
2899 ## Main body of script. ##
2900 ## -------------------- ##
2902 ac_ext=c
2903 ac_cpp='$CPP $CPPFLAGS'
2904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2913 ac_config_headers="$ac_config_headers config.h"
2916 # This works around the fact that libtool configuration may change LD
2917 # for this particular configuration, but some shells, instead of
2918 # keeping the changes in LD private, export them just because LD is
2919 # exported. Only used at the end of this file.
2920 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2922 # Find the rest of the source tree framework.
2923 # Default to --enable-multilib
2924 # Check whether --enable-multilib was given.
2925 if test "${enable_multilib+set}" = set; then :
2926 enableval=$enable_multilib; case "$enableval" in
2927 yes) multilib=yes ;;
2928 no) multilib=no ;;
2929 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2930 esac
2931 else
2932 multilib=yes
2936 # We may get other options which we leave undocumented:
2937 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2938 # See config-ml.in if you want the gory details.
2940 if test "$srcdir" = "."; then
2941 if test "$with_target_subdir" != "."; then
2942 multi_basedir="$srcdir/$with_multisrctop../.."
2943 else
2944 multi_basedir="$srcdir/$with_multisrctop.."
2946 else
2947 multi_basedir="$srcdir/.."
2951 # Even if the default multilib is not a cross compilation,
2952 # it may be that some of the other multilibs are.
2953 if test $cross_compiling = no && test $multilib = yes \
2954 && test "x${with_multisubdir}" != x ; then
2955 cross_compiling=maybe
2958 ac_config_commands="$ac_config_commands default-1"
2961 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2963 # You will slowly go insane if you do not grok the following fact: when
2964 # building v3 as part of the compiler, the top-level /target/ becomes the
2965 # library's /host/. configure then causes --target to default to --host,
2966 # exactly like any other package using autoconf. Therefore, 'target' and
2967 # 'host' will always be the same. This makes sense both for native and
2968 # cross compilers, just think about it for a little while. :-)
2970 # Also, if v3 is being configured as part of a cross compiler, the top-level
2971 # configure script will pass the "real" host as $with_cross_host.
2973 # Do not delete or change the following two lines. For why, see
2974 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2975 ac_aux_dir=
2976 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2977 for ac_t in install-sh install.sh shtool; do
2978 if test -f "$ac_dir/$ac_t"; then
2979 ac_aux_dir=$ac_dir
2980 ac_install_sh="$ac_aux_dir/$ac_t -c"
2981 break 2
2983 done
2984 done
2985 if test -z "$ac_aux_dir"; then
2986 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2989 # These three variables are undocumented and unsupported,
2990 # and are intended to be withdrawn in a future Autoconf release.
2991 # They can cause serious problems if a builder's source tree is in a directory
2992 # whose full name contains unusual characters.
2993 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2994 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2995 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2998 # Make sure we can run config.sub.
2999 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3000 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3003 $as_echo_n "checking build system type... " >&6; }
3004 if test "${ac_cv_build+set}" = set; then :
3005 $as_echo_n "(cached) " >&6
3006 else
3007 ac_build_alias=$build_alias
3008 test "x$ac_build_alias" = x &&
3009 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3010 test "x$ac_build_alias" = x &&
3011 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3012 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3013 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3017 $as_echo "$ac_cv_build" >&6; }
3018 case $ac_cv_build in
3019 *-*-*) ;;
3020 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3021 esac
3022 build=$ac_cv_build
3023 ac_save_IFS=$IFS; IFS='-'
3024 set x $ac_cv_build
3025 shift
3026 build_cpu=$1
3027 build_vendor=$2
3028 shift; shift
3029 # Remember, the first character of IFS is used to create $*,
3030 # except with old shells:
3031 build_os=$*
3032 IFS=$ac_save_IFS
3033 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3037 $as_echo_n "checking host system type... " >&6; }
3038 if test "${ac_cv_host+set}" = set; then :
3039 $as_echo_n "(cached) " >&6
3040 else
3041 if test "x$host_alias" = x; then
3042 ac_cv_host=$ac_cv_build
3043 else
3044 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3045 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3050 $as_echo "$ac_cv_host" >&6; }
3051 case $ac_cv_host in
3052 *-*-*) ;;
3053 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3054 esac
3055 host=$ac_cv_host
3056 ac_save_IFS=$IFS; IFS='-'
3057 set x $ac_cv_host
3058 shift
3059 host_cpu=$1
3060 host_vendor=$2
3061 shift; shift
3062 # Remember, the first character of IFS is used to create $*,
3063 # except with old shells:
3064 host_os=$*
3065 IFS=$ac_save_IFS
3066 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3070 $as_echo_n "checking target system type... " >&6; }
3071 if test "${ac_cv_target+set}" = set; then :
3072 $as_echo_n "(cached) " >&6
3073 else
3074 if test "x$target_alias" = x; then
3075 ac_cv_target=$ac_cv_host
3076 else
3077 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3078 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3083 $as_echo "$ac_cv_target" >&6; }
3084 case $ac_cv_target in
3085 *-*-*) ;;
3086 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3087 esac
3088 target=$ac_cv_target
3089 ac_save_IFS=$IFS; IFS='-'
3090 set x $ac_cv_target
3091 shift
3092 target_cpu=$1
3093 target_vendor=$2
3094 shift; shift
3095 # Remember, the first character of IFS is used to create $*,
3096 # except with old shells:
3097 target_os=$*
3098 IFS=$ac_save_IFS
3099 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3102 # The aliases save the names the user supplied, while $host etc.
3103 # will get canonicalized.
3104 test -n "$target_alias" &&
3105 test "$program_prefix$program_suffix$program_transform_name" = \
3106 NONENONEs,x,x, &&
3107 program_prefix=${target_alias}-
3109 target_alias=${target_alias-$host_alias}
3111 # Handy for debugging:
3112 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3114 if test "$build" != "$host"; then
3115 # We are being configured with some form of cross compiler.
3116 GLIBCXX_IS_NATIVE=false
3117 case "$host","$target" in
3118 # Darwin crosses can use the host system's libraries and headers,
3119 # because of the fat library support. Of course, it must be the
3120 # same version of Darwin on both sides. Allow the user to
3121 # just say --target=foo-darwin without a version number to mean
3122 # "the version on this system".
3123 *-*-darwin*,*-*-darwin*)
3124 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3125 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3126 if test $hostos = $targetos -o $targetos = darwin ; then
3127 GLIBCXX_IS_NATIVE=true
3134 esac
3135 else
3136 GLIBCXX_IS_NATIVE=true
3139 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3140 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3141 # 1.x: minimum required version
3142 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3143 # of other PACKAGE_* variables will, however, and there's nothing
3144 # we can do about that; they come from AC_INIT).
3145 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3146 # file in the top srcdir, etc, etc), so stop complaining.
3147 # no-dependencies: turns off auto dependency generation (just for now)
3148 # no-dist: we don't want 'dist' and related rules.
3149 # -Wall: turns on all automake warnings...
3150 # -Wno-portability: ...except this one, since GNU make is now required.
3151 am__api_version='1.11'
3153 # Find a good install program. We prefer a C program (faster),
3154 # so one script is as good as another. But avoid the broken or
3155 # incompatible versions:
3156 # SysV /etc/install, /usr/sbin/install
3157 # SunOS /usr/etc/install
3158 # IRIX /sbin/install
3159 # AIX /bin/install
3160 # AmigaOS /C/install, which installs bootblocks on floppy discs
3161 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3162 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3163 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3164 # OS/2's system install, which has a completely different semantic
3165 # ./install, which can be erroneously created by make from ./install.sh.
3166 # Reject install programs that cannot install multiple files.
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3168 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3169 if test -z "$INSTALL"; then
3170 if test "${ac_cv_path_install+set}" = set; then :
3171 $as_echo_n "(cached) " >&6
3172 else
3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 for as_dir in $PATH
3176 IFS=$as_save_IFS
3177 test -z "$as_dir" && as_dir=.
3178 # Account for people who put trailing slashes in PATH elements.
3179 case $as_dir/ in #((
3180 ./ | .// | /[cC]/* | \
3181 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3182 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3183 /usr/ucb/* ) ;;
3185 # OSF1 and SCO ODT 3.0 have their own names for install.
3186 # Don't use installbsd from OSF since it installs stuff as root
3187 # by default.
3188 for ac_prog in ginstall scoinst install; do
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3191 if test $ac_prog = install &&
3192 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3193 # AIX install. It has an incompatible calling convention.
3195 elif test $ac_prog = install &&
3196 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3197 # program-specific install script used by HP pwplus--don't use.
3199 else
3200 rm -rf conftest.one conftest.two conftest.dir
3201 echo one > conftest.one
3202 echo two > conftest.two
3203 mkdir conftest.dir
3204 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3205 test -s conftest.one && test -s conftest.two &&
3206 test -s conftest.dir/conftest.one &&
3207 test -s conftest.dir/conftest.two
3208 then
3209 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3210 break 3
3214 done
3215 done
3217 esac
3219 done
3220 IFS=$as_save_IFS
3222 rm -rf conftest.one conftest.two conftest.dir
3225 if test "${ac_cv_path_install+set}" = set; then
3226 INSTALL=$ac_cv_path_install
3227 else
3228 # As a last resort, use the slow shell script. Don't cache a
3229 # value for INSTALL within a source directory, because that will
3230 # break other packages using the cache if that directory is
3231 # removed, or if the value is a relative name.
3232 INSTALL=$ac_install_sh
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3236 $as_echo "$INSTALL" >&6; }
3238 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3239 # It thinks the first close brace ends the variable substitution.
3240 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3242 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3244 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3247 $as_echo_n "checking whether build environment is sane... " >&6; }
3248 # Just in case
3249 sleep 1
3250 echo timestamp > conftest.file
3251 # Reject unsafe characters in $srcdir or the absolute working directory
3252 # name. Accept space and tab only in the latter.
3253 am_lf='
3255 case `pwd` in
3256 *[\\\"\#\$\&\'\`$am_lf]*)
3257 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3258 esac
3259 case $srcdir in
3260 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3261 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3262 esac
3264 # Do `set' in a subshell so we don't clobber the current shell's
3265 # arguments. Must try -L first in case configure is actually a
3266 # symlink; some systems play weird games with the mod time of symlinks
3267 # (eg FreeBSD returns the mod time of the symlink's containing
3268 # directory).
3269 if (
3270 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3271 if test "$*" = "X"; then
3272 # -L didn't work.
3273 set X `ls -t "$srcdir/configure" conftest.file`
3275 rm -f conftest.file
3276 if test "$*" != "X $srcdir/configure conftest.file" \
3277 && test "$*" != "X conftest.file $srcdir/configure"; then
3279 # If neither matched, then we have a broken ls. This can happen
3280 # if, for instance, CONFIG_SHELL is bash and it inherits a
3281 # broken ls alias from the environment. This has actually
3282 # happened. Such a system could not be considered "sane".
3283 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3284 alias in your environment" "$LINENO" 5
3287 test "$2" = conftest.file
3289 then
3290 # Ok.
3292 else
3293 as_fn_error "newly created file is older than distributed files!
3294 Check your system clock" "$LINENO" 5
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297 $as_echo "yes" >&6; }
3298 test "$program_prefix" != NONE &&
3299 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3300 # Use a double $ so make ignores it.
3301 test "$program_suffix" != NONE &&
3302 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3303 # Double any \ or $.
3304 # By default was `s,x,x', remove it if useless.
3305 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3306 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3308 # expand $ac_aux_dir to an absolute path
3309 am_aux_dir=`cd $ac_aux_dir && pwd`
3311 if test x"${MISSING+set}" != xset; then
3312 case $am_aux_dir in
3313 *\ * | *\ *)
3314 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3316 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3317 esac
3319 # Use eval to expand $SHELL
3320 if eval "$MISSING --run true"; then
3321 am_missing_run="$MISSING --run "
3322 else
3323 am_missing_run=
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3325 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3328 if test x"${install_sh}" != xset; then
3329 case $am_aux_dir in
3330 *\ * | *\ *)
3331 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3333 install_sh="\${SHELL} $am_aux_dir/install-sh"
3334 esac
3337 # Installed binaries are usually stripped using `strip' when the user
3338 # run `make install-strip'. However `strip' might not be the right
3339 # tool to use in cross-compilation environments, therefore Automake
3340 # will honor the `STRIP' environment variable to overrule this program.
3341 if test "$cross_compiling" != no; then
3342 if test -n "$ac_tool_prefix"; then
3343 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}strip; ac_word=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if test "${ac_cv_prog_STRIP+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 if test -n "$STRIP"; then
3351 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3352 else
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH
3356 IFS=$as_save_IFS
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 break 2
3364 done
3365 done
3366 IFS=$as_save_IFS
3370 STRIP=$ac_cv_prog_STRIP
3371 if test -n "$STRIP"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3373 $as_echo "$STRIP" >&6; }
3374 else
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3381 if test -z "$ac_cv_prog_STRIP"; then
3382 ac_ct_STRIP=$STRIP
3383 # Extract the first word of "strip", so it can be a program name with args.
3384 set dummy strip; ac_word=$2
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386 $as_echo_n "checking for $ac_word... " >&6; }
3387 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3388 $as_echo_n "(cached) " >&6
3389 else
3390 if test -n "$ac_ct_STRIP"; then
3391 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3392 else
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH
3396 IFS=$as_save_IFS
3397 test -z "$as_dir" && as_dir=.
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_ac_ct_STRIP="strip"
3401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 break 2
3404 done
3405 done
3406 IFS=$as_save_IFS
3410 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3411 if test -n "$ac_ct_STRIP"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3413 $as_echo "$ac_ct_STRIP" >&6; }
3414 else
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3419 if test "x$ac_ct_STRIP" = x; then
3420 STRIP=":"
3421 else
3422 case $cross_compiling:$ac_tool_warned in
3423 yes:)
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3426 ac_tool_warned=yes ;;
3427 esac
3428 STRIP=$ac_ct_STRIP
3430 else
3431 STRIP="$ac_cv_prog_STRIP"
3435 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3438 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3439 if test -z "$MKDIR_P"; then
3440 if test "${ac_cv_path_mkdir+set}" = set; then :
3441 $as_echo_n "(cached) " >&6
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3446 IFS=$as_save_IFS
3447 test -z "$as_dir" && as_dir=.
3448 for ac_prog in mkdir gmkdir; do
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3451 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3452 'mkdir (GNU coreutils) '* | \
3453 'mkdir (coreutils) '* | \
3454 'mkdir (fileutils) '4.1*)
3455 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3456 break 3;;
3457 esac
3458 done
3459 done
3460 done
3461 IFS=$as_save_IFS
3465 if test "${ac_cv_path_mkdir+set}" = set; then
3466 MKDIR_P="$ac_cv_path_mkdir -p"
3467 else
3468 # As a last resort, use the slow shell script. Don't cache a
3469 # value for MKDIR_P within a source directory, because that will
3470 # break other packages using the cache if that directory is
3471 # removed, or if the value is a relative name.
3472 test -d ./--version && rmdir ./--version
3473 MKDIR_P="$ac_install_sh -d"
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3477 $as_echo "$MKDIR_P" >&6; }
3479 mkdir_p="$MKDIR_P"
3480 case $mkdir_p in
3481 [\\/$]* | ?:[\\/]*) ;;
3482 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3483 esac
3485 for ac_prog in gawk mawk nawk awk
3487 # Extract the first word of "$ac_prog", so it can be a program name with args.
3488 set dummy $ac_prog; ac_word=$2
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490 $as_echo_n "checking for $ac_word... " >&6; }
3491 if test "${ac_cv_prog_AWK+set}" = set; then :
3492 $as_echo_n "(cached) " >&6
3493 else
3494 if test -n "$AWK"; then
3495 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3496 else
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498 for as_dir in $PATH
3500 IFS=$as_save_IFS
3501 test -z "$as_dir" && as_dir=.
3502 for ac_exec_ext in '' $ac_executable_extensions; do
3503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3504 ac_cv_prog_AWK="$ac_prog"
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 break 2
3508 done
3509 done
3510 IFS=$as_save_IFS
3514 AWK=$ac_cv_prog_AWK
3515 if test -n "$AWK"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3517 $as_echo "$AWK" >&6; }
3518 else
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3524 test -n "$AWK" && break
3525 done
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3528 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3529 set x ${MAKE-make}
3530 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3531 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3532 $as_echo_n "(cached) " >&6
3533 else
3534 cat >conftest.make <<\_ACEOF
3535 SHELL = /bin/sh
3536 all:
3537 @echo '@@@%%%=$(MAKE)=@@@%%%'
3538 _ACEOF
3539 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3540 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3541 *@@@%%%=?*=@@@%%%*)
3542 eval ac_cv_prog_make_${ac_make}_set=yes;;
3544 eval ac_cv_prog_make_${ac_make}_set=no;;
3545 esac
3546 rm -f conftest.make
3548 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3550 $as_echo "yes" >&6; }
3551 SET_MAKE=
3552 else
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3555 SET_MAKE="MAKE=${MAKE-make}"
3558 rm -rf .tst 2>/dev/null
3559 mkdir .tst 2>/dev/null
3560 if test -d .tst; then
3561 am__leading_dot=.
3562 else
3563 am__leading_dot=_
3565 rmdir .tst 2>/dev/null
3567 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3568 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3569 # is not polluted with repeated "-I."
3570 am__isrc=' -I$(srcdir)'
3571 # test to see if srcdir already configured
3572 if test -f $srcdir/config.status; then
3573 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3577 # test whether we have cygpath
3578 if test -z "$CYGPATH_W"; then
3579 if (cygpath --version) >/dev/null 2>/dev/null; then
3580 CYGPATH_W='cygpath -w'
3581 else
3582 CYGPATH_W=echo
3587 # Define the identity of the package.
3588 PACKAGE='libstdc++'
3589 VERSION='version-unused'
3592 # Some tools Automake needs.
3594 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3597 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3600 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3603 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3606 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3608 # We need awk for the "check" target. The system "awk" is bad on
3609 # some platforms.
3610 # Always define AMTAR for backward compatibility. Yes, it's still used
3611 # in the wild :-( We should find a proper way to deprecate it ...
3612 AMTAR='$${TAR-tar}'
3614 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3623 # -fno-builtin must be present here so that a non-conflicting form of
3624 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3626 save_CXXFLAGS="$CXXFLAGS"
3627 CXXFLAGS="$CXXFLAGS -fno-builtin"
3628 ac_ext=c
3629 ac_cpp='$CPP $CPPFLAGS'
3630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if test "${ac_cv_prog_CC+set}" = set; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 if test -n "$CC"; then
3642 ac_cv_prog_CC="$CC" # Let the user override the test.
3643 else
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 for as_dir in $PATH
3647 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 break 2
3655 done
3656 done
3657 IFS=$as_save_IFS
3661 CC=$ac_cv_prog_CC
3662 if test -n "$CC"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3664 $as_echo "$CC" >&6; }
3665 else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3672 if test -z "$ac_cv_prog_CC"; then
3673 ac_ct_CC=$CC
3674 # Extract the first word of "gcc", so it can be a program name with args.
3675 set dummy gcc; ac_word=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3679 $as_echo_n "(cached) " >&6
3680 else
3681 if test -n "$ac_ct_CC"; then
3682 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3683 else
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3691 ac_cv_prog_ac_ct_CC="gcc"
3692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 break 2
3695 done
3696 done
3697 IFS=$as_save_IFS
3701 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3702 if test -n "$ac_ct_CC"; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3704 $as_echo "$ac_ct_CC" >&6; }
3705 else
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3710 if test "x$ac_ct_CC" = x; then
3711 CC=""
3712 else
3713 case $cross_compiling:$ac_tool_warned in
3714 yes:)
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3717 ac_tool_warned=yes ;;
3718 esac
3719 CC=$ac_ct_CC
3721 else
3722 CC="$ac_cv_prog_CC"
3725 if test -z "$CC"; then
3726 if test -n "$ac_tool_prefix"; then
3727 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3728 set dummy ${ac_tool_prefix}cc; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if test "${ac_cv_prog_CC+set}" = set; then :
3732 $as_echo_n "(cached) " >&6
3733 else
3734 if test -n "$CC"; then
3735 ac_cv_prog_CC="$CC" # Let the user override the test.
3736 else
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH
3740 IFS=$as_save_IFS
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3744 ac_cv_prog_CC="${ac_tool_prefix}cc"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 break 2
3748 done
3749 done
3750 IFS=$as_save_IFS
3754 CC=$ac_cv_prog_CC
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3766 if test -z "$CC"; then
3767 # Extract the first word of "cc", so it can be a program name with args.
3768 set dummy cc; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if test "${ac_cv_prog_CC+set}" = set; then :
3772 $as_echo_n "(cached) " >&6
3773 else
3774 if test -n "$CC"; then
3775 ac_cv_prog_CC="$CC" # Let the user override the test.
3776 else
3777 ac_prog_rejected=no
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3785 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3786 ac_prog_rejected=yes
3787 continue
3789 ac_cv_prog_CC="cc"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 break 2
3793 done
3794 done
3795 IFS=$as_save_IFS
3797 if test $ac_prog_rejected = yes; then
3798 # We found a bogon in the path, so make sure we never use it.
3799 set dummy $ac_cv_prog_CC
3800 shift
3801 if test $# != 0; then
3802 # We chose a different compiler from the bogus one.
3803 # However, it has the same basename, so the bogon will be chosen
3804 # first if we set CC to just the basename; use the full file name.
3805 shift
3806 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3811 CC=$ac_cv_prog_CC
3812 if test -n "$CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3814 $as_echo "$CC" >&6; }
3815 else
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3822 if test -z "$CC"; then
3823 if test -n "$ac_tool_prefix"; then
3824 for ac_prog in cl.exe
3826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3827 set dummy $ac_tool_prefix$ac_prog; 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 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837 for as_dir in $PATH
3839 IFS=$as_save_IFS
3840 test -z "$as_dir" && as_dir=.
3841 for ac_exec_ext in '' $ac_executable_extensions; do
3842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3843 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3845 break 2
3847 done
3848 done
3849 IFS=$as_save_IFS
3853 CC=$ac_cv_prog_CC
3854 if test -n "$CC"; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3856 $as_echo "$CC" >&6; }
3857 else
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3859 $as_echo "no" >&6; }
3863 test -n "$CC" && break
3864 done
3866 if test -z "$CC"; then
3867 ac_ct_CC=$CC
3868 for ac_prog in cl.exe
3870 # Extract the first word of "$ac_prog", so it can be a program name with args.
3871 set dummy $ac_prog; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3875 $as_echo_n "(cached) " >&6
3876 else
3877 if test -n "$ac_ct_CC"; then
3878 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3879 else
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 for as_dir in $PATH
3883 IFS=$as_save_IFS
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3887 ac_cv_prog_ac_ct_CC="$ac_prog"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3889 break 2
3891 done
3892 done
3893 IFS=$as_save_IFS
3897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3898 if test -n "$ac_ct_CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3900 $as_echo "$ac_ct_CC" >&6; }
3901 else
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3907 test -n "$ac_ct_CC" && break
3908 done
3910 if test "x$ac_ct_CC" = x; then
3911 CC=""
3912 else
3913 case $cross_compiling:$ac_tool_warned in
3914 yes:)
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3917 ac_tool_warned=yes ;;
3918 esac
3919 CC=$ac_ct_CC
3926 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3928 as_fn_error "no acceptable C compiler found in \$PATH
3929 See \`config.log' for more details." "$LINENO" 5; }
3931 # Provide some information about the compiler.
3932 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3933 set X $ac_compile
3934 ac_compiler=$2
3935 for ac_option in --version -v -V -qversion; do
3936 { { ac_try="$ac_compiler $ac_option >&5"
3937 case "(($ac_try" in
3938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;
3940 esac
3941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3942 $as_echo "$ac_try_echo"; } >&5
3943 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3944 ac_status=$?
3945 if test -s conftest.err; then
3946 sed '10a\
3947 ... rest of stderr output deleted ...
3948 10q' conftest.err >conftest.er1
3949 cat conftest.er1 >&5
3950 rm -f conftest.er1 conftest.err
3952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3953 test $ac_status = 0; }
3954 done
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3960 main ()
3964 return 0;
3966 _ACEOF
3967 # FIXME: Cleanup?
3968 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3969 (eval $ac_link) 2>&5
3970 ac_status=$?
3971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972 test $ac_status = 0; }; then :
3973 gcc_no_link=no
3974 else
3975 gcc_no_link=yes
3977 if test x$gcc_no_link = xyes; then
3978 # Setting cross_compile will disable run tests; it will
3979 # also disable AC_CHECK_FILE but that's generally
3980 # correct if we can't link.
3981 cross_compiling=yes
3982 EXEEXT=
3983 else
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3988 main ()
3992 return 0;
3994 _ACEOF
3995 ac_clean_files_save=$ac_clean_files
3996 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3997 # Try to create an executable without -o first, disregard a.out.
3998 # It will help us diagnose broken compilers, and finding out an intuition
3999 # of exeext.
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4001 $as_echo_n "checking for C compiler default output file name... " >&6; }
4002 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4004 # The possible output files:
4005 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4007 ac_rmfiles=
4008 for ac_file in $ac_files
4010 case $ac_file in
4011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4012 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4013 esac
4014 done
4015 rm -f $ac_rmfiles
4017 if { { ac_try="$ac_link_default"
4018 case "(($ac_try" in
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4021 esac
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024 (eval "$ac_link_default") 2>&5
4025 ac_status=$?
4026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027 test $ac_status = 0; }; then :
4028 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4029 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4030 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4031 # so that the user can short-circuit this test for compilers unknown to
4032 # Autoconf.
4033 for ac_file in $ac_files ''
4035 test -f "$ac_file" || continue
4036 case $ac_file in
4037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4039 [ab].out )
4040 # We found the default executable, but exeext='' is most
4041 # certainly right.
4042 break;;
4043 *.* )
4044 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4045 then :; else
4046 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4048 # We set ac_cv_exeext here because the later test for it is not
4049 # safe: cross compilers may not add the suffix if given an `-o'
4050 # argument, so we may need to know it at that point already.
4051 # Even if this section looks crufty: it has the advantage of
4052 # actually working.
4053 break;;
4055 break;;
4056 esac
4057 done
4058 test "$ac_cv_exeext" = no && ac_cv_exeext=
4060 else
4061 ac_file=''
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4064 $as_echo "$ac_file" >&6; }
4065 if test -z "$ac_file"; then :
4066 $as_echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.$ac_ext >&5
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 { as_fn_set_status 77
4072 as_fn_error "C compiler cannot create executables
4073 See \`config.log' for more details." "$LINENO" 5; }; }
4075 ac_exeext=$ac_cv_exeext
4077 # Check that the compiler produces executables we can run. If not, either
4078 # the compiler is broken, or we cross compile.
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4080 $as_echo_n "checking whether the C compiler works... " >&6; }
4081 # If not cross compiling, check that we can run a simple program.
4082 if test "$cross_compiling" != yes; then
4083 if { ac_try='./$ac_file'
4084 { { case "(($ac_try" in
4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4087 esac
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_try") 2>&5
4091 ac_status=$?
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }; }; then
4094 cross_compiling=no
4095 else
4096 if test "$cross_compiling" = maybe; then
4097 cross_compiling=yes
4098 else
4099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4101 as_fn_error "cannot run C compiled programs.
4102 If you meant to cross compile, use \`--host'.
4103 See \`config.log' for more details." "$LINENO" 5; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4108 $as_echo "yes" >&6; }
4110 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4111 ac_clean_files=$ac_clean_files_save
4112 # Check that the compiler produces executables we can run. If not, either
4113 # the compiler is broken, or we cross compile.
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4115 $as_echo_n "checking whether we are cross compiling... " >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4117 $as_echo "$cross_compiling" >&6; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4120 $as_echo_n "checking for suffix of executables... " >&6; }
4121 if { { ac_try="$ac_link"
4122 case "(($ac_try" in
4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4124 *) ac_try_echo=$ac_try;;
4125 esac
4126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127 $as_echo "$ac_try_echo"; } >&5
4128 (eval "$ac_link") 2>&5
4129 ac_status=$?
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }; then :
4132 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4133 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4134 # work properly (i.e., refer to `conftest.exe'), while it won't with
4135 # `rm'.
4136 for ac_file in conftest.exe conftest conftest.*; do
4137 test -f "$ac_file" || continue
4138 case $ac_file in
4139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4140 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4141 break;;
4142 * ) break;;
4143 esac
4144 done
4145 else
4146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4148 as_fn_error "cannot compute suffix of executables: cannot compile and link
4149 See \`config.log' for more details." "$LINENO" 5; }
4151 rm -f conftest$ac_cv_exeext
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4153 $as_echo "$ac_cv_exeext" >&6; }
4155 rm -f conftest.$ac_ext
4156 EXEEXT=$ac_cv_exeext
4157 ac_exeext=$EXEEXT
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4160 $as_echo_n "checking for suffix of object files... " >&6; }
4161 if test "${ac_cv_objext+set}" = set; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4168 main ()
4172 return 0;
4174 _ACEOF
4175 rm -f conftest.o conftest.obj
4176 if { { ac_try="$ac_compile"
4177 case "(($ac_try" in
4178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4179 *) ac_try_echo=$ac_try;;
4180 esac
4181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4182 $as_echo "$ac_try_echo"; } >&5
4183 (eval "$ac_compile") 2>&5
4184 ac_status=$?
4185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4186 test $ac_status = 0; }; then :
4187 for ac_file in conftest.o conftest.obj conftest.*; do
4188 test -f "$ac_file" || continue;
4189 case $ac_file in
4190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4191 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4192 break;;
4193 esac
4194 done
4195 else
4196 $as_echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.$ac_ext >&5
4199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4201 as_fn_error "cannot compute suffix of object files: cannot compile
4202 See \`config.log' for more details." "$LINENO" 5; }
4204 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4207 $as_echo "$ac_cv_objext" >&6; }
4208 OBJEXT=$ac_cv_objext
4209 ac_objext=$OBJEXT
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4211 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4212 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4213 $as_echo_n "(cached) " >&6
4214 else
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4219 main ()
4221 #ifndef __GNUC__
4222 choke me
4223 #endif
4226 return 0;
4228 _ACEOF
4229 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_compiler_gnu=yes
4231 else
4232 ac_compiler_gnu=no
4234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4239 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4240 if test $ac_compiler_gnu = yes; then
4241 GCC=yes
4242 else
4243 GCC=
4245 ac_test_CFLAGS=${CFLAGS+set}
4246 ac_save_CFLAGS=$CFLAGS
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4248 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4249 if test "${ac_cv_prog_cc_g+set}" = set; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 ac_save_c_werror_flag=$ac_c_werror_flag
4253 ac_c_werror_flag=yes
4254 ac_cv_prog_cc_g=no
4255 CFLAGS="-g"
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4260 main ()
4264 return 0;
4266 _ACEOF
4267 if ac_fn_c_try_compile "$LINENO"; then :
4268 ac_cv_prog_cc_g=yes
4269 else
4270 CFLAGS=""
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4275 main ()
4279 return 0;
4281 _ACEOF
4282 if ac_fn_c_try_compile "$LINENO"; then :
4284 else
4285 ac_c_werror_flag=$ac_save_c_werror_flag
4286 CFLAGS="-g"
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4291 main ()
4295 return 0;
4297 _ACEOF
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_cv_prog_cc_g=yes
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 ac_c_werror_flag=$ac_save_c_werror_flag
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4309 $as_echo "$ac_cv_prog_cc_g" >&6; }
4310 if test "$ac_test_CFLAGS" = set; then
4311 CFLAGS=$ac_save_CFLAGS
4312 elif test $ac_cv_prog_cc_g = yes; then
4313 if test "$GCC" = yes; then
4314 CFLAGS="-g -O2"
4315 else
4316 CFLAGS="-g"
4318 else
4319 if test "$GCC" = yes; then
4320 CFLAGS="-O2"
4321 else
4322 CFLAGS=
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4326 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4327 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4328 $as_echo_n "(cached) " >&6
4329 else
4330 ac_cv_prog_cc_c89=no
4331 ac_save_CC=$CC
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4334 #include <stdarg.h>
4335 #include <stdio.h>
4336 #include <sys/types.h>
4337 #include <sys/stat.h>
4338 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4339 struct buf { int x; };
4340 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4341 static char *e (p, i)
4342 char **p;
4343 int i;
4345 return p[i];
4347 static char *f (char * (*g) (char **, int), char **p, ...)
4349 char *s;
4350 va_list v;
4351 va_start (v,p);
4352 s = g (p, va_arg (v,int));
4353 va_end (v);
4354 return s;
4357 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4358 function prototypes and stuff, but not '\xHH' hex character constants.
4359 These don't provoke an error unfortunately, instead are silently treated
4360 as 'x'. The following induces an error, until -std is added to get
4361 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4362 array size at least. It's necessary to write '\x00'==0 to get something
4363 that's true only with -std. */
4364 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4366 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4367 inside strings and character constants. */
4368 #define FOO(x) 'x'
4369 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4371 int test (int i, double x);
4372 struct s1 {int (*f) (int a);};
4373 struct s2 {int (*f) (double a);};
4374 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4375 int argc;
4376 char **argv;
4378 main ()
4380 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4382 return 0;
4384 _ACEOF
4385 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4386 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4388 CC="$ac_save_CC $ac_arg"
4389 if ac_fn_c_try_compile "$LINENO"; then :
4390 ac_cv_prog_cc_c89=$ac_arg
4392 rm -f core conftest.err conftest.$ac_objext
4393 test "x$ac_cv_prog_cc_c89" != "xno" && break
4394 done
4395 rm -f conftest.$ac_ext
4396 CC=$ac_save_CC
4399 # AC_CACHE_VAL
4400 case "x$ac_cv_prog_cc_c89" in
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4403 $as_echo "none needed" >&6; } ;;
4404 xno)
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4406 $as_echo "unsupported" >&6; } ;;
4408 CC="$CC $ac_cv_prog_cc_c89"
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4410 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4411 esac
4412 if test "x$ac_cv_prog_cc_c89" != xno; then :
4416 ac_ext=c
4417 ac_cpp='$CPP $CPPFLAGS'
4418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4422 ac_ext=cpp
4423 ac_cpp='$CXXCPP $CPPFLAGS'
4424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4427 if test -z "$CXX"; then
4428 if test -n "$CCC"; then
4429 CXX=$CCC
4430 else
4431 if test -n "$ac_tool_prefix"; then
4432 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4435 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4437 $as_echo_n "checking for $ac_word... " >&6; }
4438 if test "${ac_cv_prog_CXX+set}" = set; then :
4439 $as_echo_n "(cached) " >&6
4440 else
4441 if test -n "$CXX"; then
4442 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4443 else
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH
4447 IFS=$as_save_IFS
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4451 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 break 2
4455 done
4456 done
4457 IFS=$as_save_IFS
4461 CXX=$ac_cv_prog_CXX
4462 if test -n "$CXX"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4464 $as_echo "$CXX" >&6; }
4465 else
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
4471 test -n "$CXX" && break
4472 done
4474 if test -z "$CXX"; then
4475 ac_ct_CXX=$CXX
4476 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4478 # Extract the first word of "$ac_prog", so it can be a program name with args.
4479 set dummy $ac_prog; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$ac_ct_CXX"; then
4486 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 ac_cv_prog_ac_ct_CXX="$ac_prog"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4501 IFS=$as_save_IFS
4505 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4506 if test -n "$ac_ct_CXX"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4508 $as_echo "$ac_ct_CXX" >&6; }
4509 else
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4515 test -n "$ac_ct_CXX" && break
4516 done
4518 if test "x$ac_ct_CXX" = x; then
4519 CXX="g++"
4520 else
4521 case $cross_compiling:$ac_tool_warned in
4522 yes:)
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525 ac_tool_warned=yes ;;
4526 esac
4527 CXX=$ac_ct_CXX
4533 # Provide some information about the compiler.
4534 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4535 set X $ac_compile
4536 ac_compiler=$2
4537 for ac_option in --version -v -V -qversion; do
4538 { { ac_try="$ac_compiler $ac_option >&5"
4539 case "(($ac_try" in
4540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541 *) ac_try_echo=$ac_try;;
4542 esac
4543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4544 $as_echo "$ac_try_echo"; } >&5
4545 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4546 ac_status=$?
4547 if test -s conftest.err; then
4548 sed '10a\
4549 ... rest of stderr output deleted ...
4550 10q' conftest.err >conftest.er1
4551 cat conftest.er1 >&5
4552 rm -f conftest.er1 conftest.err
4554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4555 test $ac_status = 0; }
4556 done
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4559 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4560 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4562 else
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4567 main ()
4569 #ifndef __GNUC__
4570 choke me
4571 #endif
4574 return 0;
4576 _ACEOF
4577 if ac_fn_cxx_try_compile "$LINENO"; then :
4578 ac_compiler_gnu=yes
4579 else
4580 ac_compiler_gnu=no
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4587 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4588 if test $ac_compiler_gnu = yes; then
4589 GXX=yes
4590 else
4591 GXX=
4593 ac_test_CXXFLAGS=${CXXFLAGS+set}
4594 ac_save_CXXFLAGS=$CXXFLAGS
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4596 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4597 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4599 else
4600 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4601 ac_cxx_werror_flag=yes
4602 ac_cv_prog_cxx_g=no
4603 CXXFLAGS="-g"
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4608 main ()
4612 return 0;
4614 _ACEOF
4615 if ac_fn_cxx_try_compile "$LINENO"; then :
4616 ac_cv_prog_cxx_g=yes
4617 else
4618 CXXFLAGS=""
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4623 main ()
4627 return 0;
4629 _ACEOF
4630 if ac_fn_cxx_try_compile "$LINENO"; then :
4632 else
4633 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4634 CXXFLAGS="-g"
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4639 main ()
4643 return 0;
4645 _ACEOF
4646 if ac_fn_cxx_try_compile "$LINENO"; then :
4647 ac_cv_prog_cxx_g=yes
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4657 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4658 if test "$ac_test_CXXFLAGS" = set; then
4659 CXXFLAGS=$ac_save_CXXFLAGS
4660 elif test $ac_cv_prog_cxx_g = yes; then
4661 if test "$GXX" = yes; then
4662 CXXFLAGS="-g -O2"
4663 else
4664 CXXFLAGS="-g"
4666 else
4667 if test "$GXX" = yes; then
4668 CXXFLAGS="-O2"
4669 else
4670 CXXFLAGS=
4673 ac_ext=c
4674 ac_cpp='$CPP $CPPFLAGS'
4675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4679 CXXFLAGS="$save_CXXFLAGS"
4681 # Runs configure.host, and assorted other critical bits. Sets
4682 # up critical shell variables.
4684 ac_ext=c
4685 ac_cpp='$CPP $CPPFLAGS'
4686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4690 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4691 # On Suns, sometimes $CPP names a directory.
4692 if test -n "$CPP" && test -d "$CPP"; then
4693 CPP=
4695 if test -z "$CPP"; then
4696 if test "${ac_cv_prog_CPP+set}" = set; then :
4697 $as_echo_n "(cached) " >&6
4698 else
4699 # Double quotes because CPP needs to be expanded
4700 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4702 ac_preproc_ok=false
4703 for ac_c_preproc_warn_flag in '' yes
4705 # Use a header file that comes with gcc, so configuring glibc
4706 # with a fresh cross-compiler works.
4707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4708 # <limits.h> exists even on freestanding compilers.
4709 # On the NeXT, cc -E runs the code through the compiler's parser,
4710 # not just through cpp. "Syntax error" is here to catch this case.
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4713 #ifdef __STDC__
4714 # include <limits.h>
4715 #else
4716 # include <assert.h>
4717 #endif
4718 Syntax error
4719 _ACEOF
4720 if ac_fn_c_try_cpp "$LINENO"; then :
4722 else
4723 # Broken: fails on valid input.
4724 continue
4726 rm -f conftest.err conftest.$ac_ext
4728 # OK, works on sane cases. Now check whether nonexistent headers
4729 # can be detected and how.
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 #include <ac_nonexistent.h>
4733 _ACEOF
4734 if ac_fn_c_try_cpp "$LINENO"; then :
4735 # Broken: success on invalid input.
4736 continue
4737 else
4738 # Passes both tests.
4739 ac_preproc_ok=:
4740 break
4742 rm -f conftest.err conftest.$ac_ext
4744 done
4745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4746 rm -f conftest.err conftest.$ac_ext
4747 if $ac_preproc_ok; then :
4748 break
4751 done
4752 ac_cv_prog_CPP=$CPP
4755 CPP=$ac_cv_prog_CPP
4756 else
4757 ac_cv_prog_CPP=$CPP
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4760 $as_echo "$CPP" >&6; }
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 :
4808 else
4809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4811 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4812 See \`config.log' for more details." "$LINENO" 5; }
4815 ac_ext=c
4816 ac_cpp='$CPP $CPPFLAGS'
4817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4823 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4824 if test "${ac_cv_path_GREP+set}" = set; then :
4825 $as_echo_n "(cached) " >&6
4826 else
4827 if test -z "$GREP"; then
4828 ac_path_GREP_found=false
4829 # Loop through the user's path and test for each of PROGNAME-LIST
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4833 IFS=$as_save_IFS
4834 test -z "$as_dir" && as_dir=.
4835 for ac_prog in grep ggrep; do
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4838 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4839 # Check for GNU ac_path_GREP and select it if it is found.
4840 # Check for GNU $ac_path_GREP
4841 case `"$ac_path_GREP" --version 2>&1` in
4842 *GNU*)
4843 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4845 ac_count=0
4846 $as_echo_n 0123456789 >"conftest.in"
4847 while :
4849 cat "conftest.in" "conftest.in" >"conftest.tmp"
4850 mv "conftest.tmp" "conftest.in"
4851 cp "conftest.in" "conftest.nl"
4852 $as_echo 'GREP' >> "conftest.nl"
4853 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4854 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4855 as_fn_arith $ac_count + 1 && ac_count=$as_val
4856 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4857 # Best one so far, save it but keep looking for a better one
4858 ac_cv_path_GREP="$ac_path_GREP"
4859 ac_path_GREP_max=$ac_count
4861 # 10*(2^10) chars as input seems more than enough
4862 test $ac_count -gt 10 && break
4863 done
4864 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4865 esac
4867 $ac_path_GREP_found && break 3
4868 done
4869 done
4870 done
4871 IFS=$as_save_IFS
4872 if test -z "$ac_cv_path_GREP"; then
4873 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4875 else
4876 ac_cv_path_GREP=$GREP
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4881 $as_echo "$ac_cv_path_GREP" >&6; }
4882 GREP="$ac_cv_path_GREP"
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4886 $as_echo_n "checking for egrep... " >&6; }
4887 if test "${ac_cv_path_EGREP+set}" = set; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4891 then ac_cv_path_EGREP="$GREP -E"
4892 else
4893 if test -z "$EGREP"; then
4894 ac_path_EGREP_found=false
4895 # Loop through the user's path and test for each of PROGNAME-LIST
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4899 IFS=$as_save_IFS
4900 test -z "$as_dir" && as_dir=.
4901 for ac_prog in egrep; do
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4904 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4905 # Check for GNU ac_path_EGREP and select it if it is found.
4906 # Check for GNU $ac_path_EGREP
4907 case `"$ac_path_EGREP" --version 2>&1` in
4908 *GNU*)
4909 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4911 ac_count=0
4912 $as_echo_n 0123456789 >"conftest.in"
4913 while :
4915 cat "conftest.in" "conftest.in" >"conftest.tmp"
4916 mv "conftest.tmp" "conftest.in"
4917 cp "conftest.in" "conftest.nl"
4918 $as_echo 'EGREP' >> "conftest.nl"
4919 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4920 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4921 as_fn_arith $ac_count + 1 && ac_count=$as_val
4922 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4923 # Best one so far, save it but keep looking for a better one
4924 ac_cv_path_EGREP="$ac_path_EGREP"
4925 ac_path_EGREP_max=$ac_count
4927 # 10*(2^10) chars as input seems more than enough
4928 test $ac_count -gt 10 && break
4929 done
4930 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4931 esac
4933 $ac_path_EGREP_found && break 3
4934 done
4935 done
4936 done
4937 IFS=$as_save_IFS
4938 if test -z "$ac_cv_path_EGREP"; then
4939 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4941 else
4942 ac_cv_path_EGREP=$EGREP
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4948 $as_echo "$ac_cv_path_EGREP" >&6; }
4949 EGREP="$ac_cv_path_EGREP"
4953 # Keep these sync'd with the list in Makefile.am. The first provides an
4954 # expandable list at autoconf time; the second provides an expandable list
4955 # (i.e., shell variable) at configure time.
4957 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4959 # These need to be absolute paths, yet at the same time need to
4960 # canonicalize only relative paths, because then amd will not unmount
4961 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4962 glibcxx_builddir=`${PWDCMD-pwd}`
4963 case $srcdir in
4964 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4965 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4966 esac
4967 toplevel_builddir=${glibcxx_builddir}/..
4968 toplevel_srcdir=${glibcxx_srcdir}/..
4974 # We use these options to decide which functions to include. They are
4975 # set from the top level.
4977 # Check whether --with-target-subdir was given.
4978 if test "${with_target_subdir+set}" = set; then :
4979 withval=$with_target_subdir;
4984 # Check whether --with-cross-host was given.
4985 if test "${with_cross_host+set}" = set; then :
4986 withval=$with_cross_host;
4991 # Check whether --with-newlib was given.
4992 if test "${with_newlib+set}" = set; then :
4993 withval=$with_newlib;
4997 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4998 # available). Uncomment the next line to force a particular method.
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5000 $as_echo_n "checking whether ln -s works... " >&6; }
5001 LN_S=$as_ln_s
5002 if test "$LN_S" = "ln -s"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5004 $as_echo "yes" >&6; }
5005 else
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5007 $as_echo "no, using $LN_S" >&6; }
5010 #LN_S='cp -p'
5012 if test -n "$ac_tool_prefix"; then
5013 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5014 set dummy ${ac_tool_prefix}as; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_AS+set}" = set; then :
5018 $as_echo_n "(cached) " >&6
5019 else
5020 if test -n "$AS"; then
5021 ac_cv_prog_AS="$AS" # Let the user override the test.
5022 else
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 for as_dir in $PATH
5026 IFS=$as_save_IFS
5027 test -z "$as_dir" && as_dir=.
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030 ac_cv_prog_AS="${ac_tool_prefix}as"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 break 2
5034 done
5035 done
5036 IFS=$as_save_IFS
5040 AS=$ac_cv_prog_AS
5041 if test -n "$AS"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5043 $as_echo "$AS" >&6; }
5044 else
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5051 if test -z "$ac_cv_prog_AS"; then
5052 ac_ct_AS=$AS
5053 # Extract the first word of "as", so it can be a program name with args.
5054 set dummy as; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5059 else
5060 if test -n "$ac_ct_AS"; then
5061 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5066 IFS=$as_save_IFS
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070 ac_cv_prog_ac_ct_AS="as"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 break 2
5074 done
5075 done
5076 IFS=$as_save_IFS
5080 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5081 if test -n "$ac_ct_AS"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5083 $as_echo "$ac_ct_AS" >&6; }
5084 else
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5089 if test "x$ac_ct_AS" = x; then
5090 AS=""
5091 else
5092 case $cross_compiling:$ac_tool_warned in
5093 yes:)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned=yes ;;
5097 esac
5098 AS=$ac_ct_AS
5100 else
5101 AS="$ac_cv_prog_AS"
5104 if test -n "$ac_tool_prefix"; then
5105 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5106 set dummy ${ac_tool_prefix}ar; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if test "${ac_cv_prog_AR+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if test -n "$AR"; then
5113 ac_cv_prog_AR="$AR" # Let the user override the test.
5114 else
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 ac_cv_prog_AR="${ac_tool_prefix}ar"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 break 2
5126 done
5127 done
5128 IFS=$as_save_IFS
5132 AR=$ac_cv_prog_AR
5133 if test -n "$AR"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5135 $as_echo "$AR" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5143 if test -z "$ac_cv_prog_AR"; then
5144 ac_ct_AR=$AR
5145 # Extract the first word of "ar", so it can be a program name with args.
5146 set dummy ar; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$ac_ct_AR"; then
5153 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_ac_ct_AR="ar"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5173 if test -n "$ac_ct_AR"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5175 $as_echo "$ac_ct_AR" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5181 if test "x$ac_ct_AR" = x; then
5182 AR=""
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5188 ac_tool_warned=yes ;;
5189 esac
5190 AR=$ac_ct_AR
5192 else
5193 AR="$ac_cv_prog_AR"
5196 if test -n "$ac_tool_prefix"; then
5197 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5198 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5202 $as_echo_n "(cached) " >&6
5203 else
5204 if test -n "$RANLIB"; then
5205 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5206 else
5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208 for as_dir in $PATH
5210 IFS=$as_save_IFS
5211 test -z "$as_dir" && as_dir=.
5212 for ac_exec_ext in '' $ac_executable_extensions; do
5213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5214 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 break 2
5218 done
5219 done
5220 IFS=$as_save_IFS
5224 RANLIB=$ac_cv_prog_RANLIB
5225 if test -n "$RANLIB"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5227 $as_echo "$RANLIB" >&6; }
5228 else
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5235 if test -z "$ac_cv_prog_RANLIB"; then
5236 ac_ct_RANLIB=$RANLIB
5237 # Extract the first word of "ranlib", so it can be a program name with args.
5238 set dummy ranlib; ac_word=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5242 $as_echo_n "(cached) " >&6
5243 else
5244 if test -n "$ac_ct_RANLIB"; then
5245 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250 IFS=$as_save_IFS
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254 ac_cv_prog_ac_ct_RANLIB="ranlib"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 break 2
5258 done
5259 done
5260 IFS=$as_save_IFS
5264 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5265 if test -n "$ac_ct_RANLIB"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5267 $as_echo "$ac_ct_RANLIB" >&6; }
5268 else
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5273 if test "x$ac_ct_RANLIB" = x; then
5274 RANLIB="ranlib-not-found-in-path-error"
5275 else
5276 case $cross_compiling:$ac_tool_warned in
5277 yes:)
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5280 ac_tool_warned=yes ;;
5281 esac
5282 RANLIB=$ac_ct_RANLIB
5284 else
5285 RANLIB="$ac_cv_prog_RANLIB"
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5291 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5292 # Check whether --enable-maintainer-mode was given.
5293 if test "${enable_maintainer_mode+set}" = set; then :
5294 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5295 else
5296 USE_MAINTAINER_MODE=no
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5300 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5301 if test $USE_MAINTAINER_MODE = yes; then
5302 MAINTAINER_MODE_TRUE=
5303 MAINTAINER_MODE_FALSE='#'
5304 else
5305 MAINTAINER_MODE_TRUE='#'
5306 MAINTAINER_MODE_FALSE=
5309 MAINT=$MAINTAINER_MODE_TRUE
5313 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5314 # which are themselves conditionally expanded.
5315 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5316 ## other macros from doing the same. This should be automated.) -pme
5318 # Check for C library flavor since GNU/Linux platforms use different
5319 # configuration directories depending on the C library in use.
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5323 #include <stdio.h>
5324 #if __UCLIBC__
5325 _using_uclibc
5326 #endif
5328 _ACEOF
5329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5330 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5331 uclibc=yes
5332 else
5333 uclibc=no
5335 rm -f conftest*
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5341 #include <stdio.h>
5342 #if __BIONIC__
5343 _using_bionic
5344 #endif
5346 _ACEOF
5347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5348 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5349 bionic=yes
5350 else
5351 bionic=no
5353 rm -f conftest*
5356 # Find platform-specific directories containing configuration info.
5357 # Also possibly modify flags used elsewhere, as needed by the platform.
5359 . $glibcxx_srcdir/configure.host
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5361 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5363 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5367 # Libtool setup.
5368 if test "x${with_newlib}" != "xyes"; then
5369 enable_dlopen=yes
5374 case `pwd` in
5375 *\ * | *\ *)
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5377 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5378 esac
5382 macro_version='2.2.7a'
5383 macro_revision='1.3134'
5397 ltmain="$ac_aux_dir/ltmain.sh"
5399 # Backslashify metacharacters that are still active within
5400 # double-quoted strings.
5401 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5403 # Same as above, but do not quote variable references.
5404 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5406 # Sed substitution to delay expansion of an escaped shell variable in a
5407 # double_quote_subst'ed string.
5408 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5410 # Sed substitution to delay expansion of an escaped single quote.
5411 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5413 # Sed substitution to avoid accidental globbing in evaled expressions
5414 no_glob_subst='s/\*/\\\*/g'
5416 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5417 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5418 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5421 $as_echo_n "checking how to print strings... " >&6; }
5422 # Test print first, because it will be a builtin if present.
5423 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5424 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5425 ECHO='print -r --'
5426 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5427 ECHO='printf %s\n'
5428 else
5429 # Use this function as a fallback that always works.
5430 func_fallback_echo ()
5432 eval 'cat <<_LTECHO_EOF
5434 _LTECHO_EOF'
5436 ECHO='func_fallback_echo'
5439 # func_echo_all arg...
5440 # Invoke $ECHO with all args, space-separated.
5441 func_echo_all ()
5443 $ECHO ""
5446 case "$ECHO" in
5447 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5448 $as_echo "printf" >&6; } ;;
5449 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5450 $as_echo "print -r" >&6; } ;;
5451 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5452 $as_echo "cat" >&6; } ;;
5453 esac
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5469 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5470 if test "${ac_cv_path_SED+set}" = set; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5474 for ac_i in 1 2 3 4 5 6 7; do
5475 ac_script="$ac_script$as_nl$ac_script"
5476 done
5477 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5478 { ac_script=; unset ac_script;}
5479 if test -z "$SED"; then
5480 ac_path_SED_found=false
5481 # Loop through the user's path and test for each of PROGNAME-LIST
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_prog in sed gsed; do
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5490 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5491 # Check for GNU ac_path_SED and select it if it is found.
5492 # Check for GNU $ac_path_SED
5493 case `"$ac_path_SED" --version 2>&1` in
5494 *GNU*)
5495 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5497 ac_count=0
5498 $as_echo_n 0123456789 >"conftest.in"
5499 while :
5501 cat "conftest.in" "conftest.in" >"conftest.tmp"
5502 mv "conftest.tmp" "conftest.in"
5503 cp "conftest.in" "conftest.nl"
5504 $as_echo '' >> "conftest.nl"
5505 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5506 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5507 as_fn_arith $ac_count + 1 && ac_count=$as_val
5508 if test $ac_count -gt ${ac_path_SED_max-0}; then
5509 # Best one so far, save it but keep looking for a better one
5510 ac_cv_path_SED="$ac_path_SED"
5511 ac_path_SED_max=$ac_count
5513 # 10*(2^10) chars as input seems more than enough
5514 test $ac_count -gt 10 && break
5515 done
5516 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5517 esac
5519 $ac_path_SED_found && break 3
5520 done
5521 done
5522 done
5523 IFS=$as_save_IFS
5524 if test -z "$ac_cv_path_SED"; then
5525 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5527 else
5528 ac_cv_path_SED=$SED
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5533 $as_echo "$ac_cv_path_SED" >&6; }
5534 SED="$ac_cv_path_SED"
5535 rm -f conftest.sed
5537 test -z "$SED" && SED=sed
5538 Xsed="$SED -e 1s/^X//"
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5551 $as_echo_n "checking for fgrep... " >&6; }
5552 if test "${ac_cv_path_FGREP+set}" = set; then :
5553 $as_echo_n "(cached) " >&6
5554 else
5555 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5556 then ac_cv_path_FGREP="$GREP -F"
5557 else
5558 if test -z "$FGREP"; then
5559 ac_path_FGREP_found=false
5560 # Loop through the user's path and test for each of PROGNAME-LIST
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_prog in fgrep; do
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5569 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5570 # Check for GNU ac_path_FGREP and select it if it is found.
5571 # Check for GNU $ac_path_FGREP
5572 case `"$ac_path_FGREP" --version 2>&1` in
5573 *GNU*)
5574 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5576 ac_count=0
5577 $as_echo_n 0123456789 >"conftest.in"
5578 while :
5580 cat "conftest.in" "conftest.in" >"conftest.tmp"
5581 mv "conftest.tmp" "conftest.in"
5582 cp "conftest.in" "conftest.nl"
5583 $as_echo 'FGREP' >> "conftest.nl"
5584 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5586 as_fn_arith $ac_count + 1 && ac_count=$as_val
5587 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5588 # Best one so far, save it but keep looking for a better one
5589 ac_cv_path_FGREP="$ac_path_FGREP"
5590 ac_path_FGREP_max=$ac_count
5592 # 10*(2^10) chars as input seems more than enough
5593 test $ac_count -gt 10 && break
5594 done
5595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5596 esac
5598 $ac_path_FGREP_found && break 3
5599 done
5600 done
5601 done
5602 IFS=$as_save_IFS
5603 if test -z "$ac_cv_path_FGREP"; then
5604 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5606 else
5607 ac_cv_path_FGREP=$FGREP
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5613 $as_echo "$ac_cv_path_FGREP" >&6; }
5614 FGREP="$ac_cv_path_FGREP"
5617 test -z "$GREP" && GREP=grep
5637 # Check whether --with-gnu-ld was given.
5638 if test "${with_gnu_ld+set}" = set; then :
5639 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5640 else
5641 with_gnu_ld=no
5644 ac_prog=ld
5645 if test "$GCC" = yes; then
5646 # Check if gcc -print-prog-name=ld gives a path.
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5648 $as_echo_n "checking for ld used by $CC... " >&6; }
5649 case $host in
5650 *-*-mingw*)
5651 # gcc leaves a trailing carriage return which upsets mingw
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5654 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5655 esac
5656 case $ac_prog in
5657 # Accept absolute paths.
5658 [\\/]* | ?:[\\/]*)
5659 re_direlt='/[^/][^/]*/\.\./'
5660 # Canonicalize the pathname of ld
5661 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5662 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5663 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5664 done
5665 test -z "$LD" && LD="$ac_prog"
5668 # If it fails, then pretend we aren't using GCC.
5669 ac_prog=ld
5672 # If it is relative, then search for the first ld in PATH.
5673 with_gnu_ld=unknown
5675 esac
5676 elif test "$with_gnu_ld" = yes; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5678 $as_echo_n "checking for GNU ld... " >&6; }
5679 else
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5681 $as_echo_n "checking for non-GNU ld... " >&6; }
5683 if test "${lt_cv_path_LD+set}" = set; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 if test -z "$LD"; then
5687 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5688 for ac_dir in $PATH; do
5689 IFS="$lt_save_ifs"
5690 test -z "$ac_dir" && ac_dir=.
5691 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5692 lt_cv_path_LD="$ac_dir/$ac_prog"
5693 # Check to see if the program is GNU ld. I'd rather use --version,
5694 # but apparently some variants of GNU ld only accept -v.
5695 # Break only if it was the GNU/non-GNU ld that we prefer.
5696 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5697 *GNU* | *'with BFD'*)
5698 test "$with_gnu_ld" != no && break
5701 test "$with_gnu_ld" != yes && break
5703 esac
5705 done
5706 IFS="$lt_save_ifs"
5707 else
5708 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5712 LD="$lt_cv_path_LD"
5713 if test -n "$LD"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5715 $as_echo "$LD" >&6; }
5716 else
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5720 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5722 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5723 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5724 $as_echo_n "(cached) " >&6
5725 else
5726 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5727 case `$LD -v 2>&1 </dev/null` in
5728 *GNU* | *'with BFD'*)
5729 lt_cv_prog_gnu_ld=yes
5732 lt_cv_prog_gnu_ld=no
5734 esac
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5737 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5738 with_gnu_ld=$lt_cv_prog_gnu_ld
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5749 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5750 if test "${lt_cv_path_NM+set}" = set; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$NM"; then
5754 # Let the user override the test.
5755 lt_cv_path_NM="$NM"
5756 else
5757 lt_nm_to_check="${ac_tool_prefix}nm"
5758 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5759 lt_nm_to_check="$lt_nm_to_check nm"
5761 for lt_tmp_nm in $lt_nm_to_check; do
5762 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5763 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5764 IFS="$lt_save_ifs"
5765 test -z "$ac_dir" && ac_dir=.
5766 tmp_nm="$ac_dir/$lt_tmp_nm"
5767 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5768 # Check to see if the nm accepts a BSD-compat flag.
5769 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5770 # nm: unknown option "B" ignored
5771 # Tru64's nm complains that /dev/null is an invalid object file
5772 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5773 */dev/null* | *'Invalid file or object type'*)
5774 lt_cv_path_NM="$tmp_nm -B"
5775 break
5778 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5779 */dev/null*)
5780 lt_cv_path_NM="$tmp_nm -p"
5781 break
5784 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5785 continue # so that we can try to find one that supports BSD flags
5787 esac
5789 esac
5791 done
5792 IFS="$lt_save_ifs"
5793 done
5794 : ${lt_cv_path_NM=no}
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5798 $as_echo "$lt_cv_path_NM" >&6; }
5799 if test "$lt_cv_path_NM" != "no"; then
5800 NM="$lt_cv_path_NM"
5801 else
5802 # Didn't find any BSD compatible name lister, look for dumpbin.
5803 if test -n "$DUMPBIN"; then :
5804 # Let the user override the test.
5805 else
5806 if test -n "$ac_tool_prefix"; then
5807 for ac_prog in dumpbin "link -dump"
5809 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5814 $as_echo_n "(cached) " >&6
5815 else
5816 if test -n "$DUMPBIN"; then
5817 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5818 else
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH
5822 IFS=$as_save_IFS
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 break 2
5830 done
5831 done
5832 IFS=$as_save_IFS
5836 DUMPBIN=$ac_cv_prog_DUMPBIN
5837 if test -n "$DUMPBIN"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5839 $as_echo "$DUMPBIN" >&6; }
5840 else
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5846 test -n "$DUMPBIN" && break
5847 done
5849 if test -z "$DUMPBIN"; then
5850 ac_ct_DUMPBIN=$DUMPBIN
5851 for ac_prog in dumpbin "link -dump"
5853 # Extract the first word of "$ac_prog", so it can be a program name with args.
5854 set dummy $ac_prog; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -n "$ac_ct_DUMPBIN"; then
5861 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 break 2
5874 done
5875 done
5876 IFS=$as_save_IFS
5880 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5881 if test -n "$ac_ct_DUMPBIN"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5883 $as_echo "$ac_ct_DUMPBIN" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5890 test -n "$ac_ct_DUMPBIN" && break
5891 done
5893 if test "x$ac_ct_DUMPBIN" = x; then
5894 DUMPBIN=":"
5895 else
5896 case $cross_compiling:$ac_tool_warned in
5897 yes:)
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5900 ac_tool_warned=yes ;;
5901 esac
5902 DUMPBIN=$ac_ct_DUMPBIN
5906 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5907 *COFF*)
5908 DUMPBIN="$DUMPBIN -symbols"
5911 DUMPBIN=:
5913 esac
5916 if test "$DUMPBIN" != ":"; then
5917 NM="$DUMPBIN"
5920 test -z "$NM" && NM=nm
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5928 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5929 if test "${lt_cv_nm_interface+set}" = set; then :
5930 $as_echo_n "(cached) " >&6
5931 else
5932 lt_cv_nm_interface="BSD nm"
5933 echo "int some_variable = 0;" > conftest.$ac_ext
5934 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5935 (eval "$ac_compile" 2>conftest.err)
5936 cat conftest.err >&5
5937 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5938 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5939 cat conftest.err >&5
5940 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5941 cat conftest.out >&5
5942 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5943 lt_cv_nm_interface="MS dumpbin"
5945 rm -f conftest*
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5948 $as_echo "$lt_cv_nm_interface" >&6; }
5950 # find the maximum length of command line arguments
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5952 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5953 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5954 $as_echo_n "(cached) " >&6
5955 else
5957 teststring="ABCD"
5959 case $build_os in
5960 msdosdjgpp*)
5961 # On DJGPP, this test can blow up pretty badly due to problems in libc
5962 # (any single argument exceeding 2000 bytes causes a buffer overrun
5963 # during glob expansion). Even if it were fixed, the result of this
5964 # check would be larger than it should be.
5965 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5968 gnu*)
5969 # Under GNU Hurd, this test is not required because there is
5970 # no limit to the length of command line arguments.
5971 # Libtool will interpret -1 as no limit whatsoever
5972 lt_cv_sys_max_cmd_len=-1;
5975 cygwin* | mingw* | cegcc*)
5976 # On Win9x/ME, this test blows up -- it succeeds, but takes
5977 # about 5 minutes as the teststring grows exponentially.
5978 # Worse, since 9x/ME are not pre-emptively multitasking,
5979 # you end up with a "frozen" computer, even though with patience
5980 # the test eventually succeeds (with a max line length of 256k).
5981 # Instead, let's just punt: use the minimum linelength reported by
5982 # all of the supported platforms: 8192 (on NT/2K/XP).
5983 lt_cv_sys_max_cmd_len=8192;
5986 mint*)
5987 # On MiNT this can take a long time and run out of memory.
5988 lt_cv_sys_max_cmd_len=8192;
5991 amigaos*)
5992 # On AmigaOS with pdksh, this test takes hours, literally.
5993 # So we just punt and use a minimum line length of 8192.
5994 lt_cv_sys_max_cmd_len=8192;
5997 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5998 # This has been around since 386BSD, at least. Likely further.
5999 if test -x /sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6001 elif test -x /usr/sbin/sysctl; then
6002 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6003 else
6004 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6006 # And add a safety zone
6007 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6011 interix*)
6012 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6013 lt_cv_sys_max_cmd_len=196608
6016 osf*)
6017 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6018 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6019 # nice to cause kernel panics so lets avoid the loop below.
6020 # First set a reasonable default.
6021 lt_cv_sys_max_cmd_len=16384
6023 if test -x /sbin/sysconfig; then
6024 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6025 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6026 esac
6029 sco3.2v5*)
6030 lt_cv_sys_max_cmd_len=102400
6032 sysv5* | sco5v6* | sysv4.2uw2*)
6033 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6034 if test -n "$kargmax"; then
6035 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6036 else
6037 lt_cv_sys_max_cmd_len=32768
6041 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6042 if test -n "$lt_cv_sys_max_cmd_len"; then
6043 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6044 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6045 else
6046 # Make teststring a little bigger before we do anything with it.
6047 # a 1K string should be a reasonable start.
6048 for i in 1 2 3 4 5 6 7 8 ; do
6049 teststring=$teststring$teststring
6050 done
6051 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6052 # If test is not a shell built-in, we'll probably end up computing a
6053 # maximum length that is only half of the actual maximum length, but
6054 # we can't tell.
6055 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6056 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6057 test $i != 17 # 1/2 MB should be enough
6059 i=`expr $i + 1`
6060 teststring=$teststring$teststring
6061 done
6062 # Only check the string length outside the loop.
6063 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6064 teststring=
6065 # Add a significant safety factor because C++ compilers can tack on
6066 # massive amounts of additional arguments before passing them to the
6067 # linker. It appears as though 1/2 is a usable value.
6068 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6071 esac
6075 if test -n $lt_cv_sys_max_cmd_len ; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6077 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6080 $as_echo "none" >&6; }
6082 max_cmd_len=$lt_cv_sys_max_cmd_len
6089 : ${CP="cp -f"}
6090 : ${MV="mv -f"}
6091 : ${RM="rm -f"}
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6094 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6095 # Try some XSI features
6096 xsi_shell=no
6097 ( _lt_dummy="a/b/c"
6098 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6099 = c,a/b,, \
6100 && eval 'test $(( 1 + 1 )) -eq 2 \
6101 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6102 && xsi_shell=yes
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6104 $as_echo "$xsi_shell" >&6; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6108 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6109 lt_shell_append=no
6110 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6111 >/dev/null 2>&1 \
6112 && lt_shell_append=yes
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6114 $as_echo "$lt_shell_append" >&6; }
6117 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6118 lt_unset=unset
6119 else
6120 lt_unset=false
6127 # test EBCDIC or ASCII
6128 case `echo X|tr X '\101'` in
6129 A) # ASCII based system
6130 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6131 lt_SP2NL='tr \040 \012'
6132 lt_NL2SP='tr \015\012 \040\040'
6134 *) # EBCDIC based system
6135 lt_SP2NL='tr \100 \n'
6136 lt_NL2SP='tr \r\n \100\100'
6138 esac
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6149 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6150 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6151 $as_echo_n "(cached) " >&6
6152 else
6153 lt_cv_ld_reload_flag='-r'
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6156 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6157 reload_flag=$lt_cv_ld_reload_flag
6158 case $reload_flag in
6159 "" | " "*) ;;
6160 *) reload_flag=" $reload_flag" ;;
6161 esac
6162 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6163 case $host_os in
6164 darwin*)
6165 if test "$GCC" = yes; then
6166 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6167 else
6168 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6171 esac
6181 if test -n "$ac_tool_prefix"; then
6182 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6183 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6185 $as_echo_n "checking for $ac_word... " >&6; }
6186 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6187 $as_echo_n "(cached) " >&6
6188 else
6189 if test -n "$OBJDUMP"; then
6190 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6191 else
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 for as_dir in $PATH
6195 IFS=$as_save_IFS
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 break 2
6203 done
6204 done
6205 IFS=$as_save_IFS
6209 OBJDUMP=$ac_cv_prog_OBJDUMP
6210 if test -n "$OBJDUMP"; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6212 $as_echo "$OBJDUMP" >&6; }
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 $as_echo "no" >&6; }
6220 if test -z "$ac_cv_prog_OBJDUMP"; then
6221 ac_ct_OBJDUMP=$OBJDUMP
6222 # Extract the first word of "objdump", so it can be a program name with args.
6223 set dummy objdump; ac_word=$2
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6225 $as_echo_n "checking for $ac_word... " >&6; }
6226 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 if test -n "$ac_ct_OBJDUMP"; then
6230 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6231 else
6232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 for as_dir in $PATH
6235 IFS=$as_save_IFS
6236 test -z "$as_dir" && as_dir=.
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6239 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 break 2
6243 done
6244 done
6245 IFS=$as_save_IFS
6249 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6250 if test -n "$ac_ct_OBJDUMP"; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6252 $as_echo "$ac_ct_OBJDUMP" >&6; }
6253 else
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6258 if test "x$ac_ct_OBJDUMP" = x; then
6259 OBJDUMP="false"
6260 else
6261 case $cross_compiling:$ac_tool_warned in
6262 yes:)
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6265 ac_tool_warned=yes ;;
6266 esac
6267 OBJDUMP=$ac_ct_OBJDUMP
6269 else
6270 OBJDUMP="$ac_cv_prog_OBJDUMP"
6273 test -z "$OBJDUMP" && OBJDUMP=objdump
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6284 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6285 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 lt_cv_file_magic_cmd='$MAGIC_CMD'
6289 lt_cv_file_magic_test_file=
6290 lt_cv_deplibs_check_method='unknown'
6291 # Need to set the preceding variable on all platforms that support
6292 # interlibrary dependencies.
6293 # 'none' -- dependencies not supported.
6294 # `unknown' -- same as none, but documents that we really don't know.
6295 # 'pass_all' -- all dependencies passed with no checks.
6296 # 'test_compile' -- check by making test program.
6297 # 'file_magic [[regex]]' -- check by looking for files in library path
6298 # which responds to the $file_magic_cmd with a given extended regex.
6299 # If you have `file' or equivalent on your system and you're not sure
6300 # whether `pass_all' will *always* work, you probably want this one.
6302 case $host_os in
6303 aix[4-9]*)
6304 lt_cv_deplibs_check_method=pass_all
6307 beos*)
6308 lt_cv_deplibs_check_method=pass_all
6311 bsdi[45]*)
6312 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6313 lt_cv_file_magic_cmd='/usr/bin/file -L'
6314 lt_cv_file_magic_test_file=/shlib/libc.so
6317 cygwin*)
6318 # func_win32_libid is a shell function defined in ltmain.sh
6319 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6320 lt_cv_file_magic_cmd='func_win32_libid'
6323 mingw* | pw32*)
6324 # Base MSYS/MinGW do not provide the 'file' command needed by
6325 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6326 # unless we find 'file', for example because we are cross-compiling.
6327 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6328 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6329 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6330 lt_cv_file_magic_cmd='func_win32_libid'
6331 else
6332 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6333 lt_cv_file_magic_cmd='$OBJDUMP -f'
6337 cegcc*)
6338 # use the weaker test based on 'objdump'. See mingw*.
6339 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6340 lt_cv_file_magic_cmd='$OBJDUMP -f'
6343 darwin* | rhapsody*)
6344 lt_cv_deplibs_check_method=pass_all
6347 freebsd* | dragonfly*)
6348 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6349 case $host_cpu in
6350 i*86 )
6351 # Not sure whether the presence of OpenBSD here was a mistake.
6352 # Let's accept both of them until this is cleared up.
6353 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6354 lt_cv_file_magic_cmd=/usr/bin/file
6355 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6357 esac
6358 else
6359 lt_cv_deplibs_check_method=pass_all
6363 gnu*)
6364 lt_cv_deplibs_check_method=pass_all
6367 haiku*)
6368 lt_cv_deplibs_check_method=pass_all
6371 hpux10.20* | hpux11*)
6372 lt_cv_file_magic_cmd=/usr/bin/file
6373 case $host_cpu in
6374 ia64*)
6375 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6376 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6378 hppa*64*)
6379 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]'
6380 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6383 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6384 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6386 esac
6389 interix[3-9]*)
6390 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6391 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6394 irix5* | irix6* | nonstopux*)
6395 case $LD in
6396 *-32|*"-32 ") libmagic=32-bit;;
6397 *-n32|*"-n32 ") libmagic=N32;;
6398 *-64|*"-64 ") libmagic=64-bit;;
6399 *) libmagic=never-match;;
6400 esac
6401 lt_cv_deplibs_check_method=pass_all
6404 # This must be Linux ELF.
6405 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6406 lt_cv_deplibs_check_method=pass_all
6409 netbsd*)
6410 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6412 else
6413 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6417 newos6*)
6418 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6419 lt_cv_file_magic_cmd=/usr/bin/file
6420 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6423 *nto* | *qnx*)
6424 lt_cv_deplibs_check_method=pass_all
6427 openbsd*)
6428 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6430 else
6431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6435 osf3* | osf4* | osf5*)
6436 lt_cv_deplibs_check_method=pass_all
6439 rdos*)
6440 lt_cv_deplibs_check_method=pass_all
6443 solaris*)
6444 lt_cv_deplibs_check_method=pass_all
6447 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6448 lt_cv_deplibs_check_method=pass_all
6451 sysv4 | sysv4.3*)
6452 case $host_vendor in
6453 motorola)
6454 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]'
6455 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6457 ncr)
6458 lt_cv_deplibs_check_method=pass_all
6460 sequent)
6461 lt_cv_file_magic_cmd='/bin/file'
6462 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6464 sni)
6465 lt_cv_file_magic_cmd='/bin/file'
6466 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6467 lt_cv_file_magic_test_file=/lib/libc.so
6469 siemens)
6470 lt_cv_deplibs_check_method=pass_all
6473 lt_cv_deplibs_check_method=pass_all
6475 esac
6478 tpf*)
6479 lt_cv_deplibs_check_method=pass_all
6481 esac
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6485 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6486 file_magic_cmd=$lt_cv_file_magic_cmd
6487 deplibs_check_method=$lt_cv_deplibs_check_method
6488 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6501 if test -n "$ac_tool_prefix"; then
6502 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6503 set dummy ${ac_tool_prefix}ar; ac_word=$2
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505 $as_echo_n "checking for $ac_word... " >&6; }
6506 if test "${ac_cv_prog_AR+set}" = set; then :
6507 $as_echo_n "(cached) " >&6
6508 else
6509 if test -n "$AR"; then
6510 ac_cv_prog_AR="$AR" # Let the user override the test.
6511 else
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 for as_dir in $PATH
6515 IFS=$as_save_IFS
6516 test -z "$as_dir" && as_dir=.
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6519 ac_cv_prog_AR="${ac_tool_prefix}ar"
6520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 break 2
6523 done
6524 done
6525 IFS=$as_save_IFS
6529 AR=$ac_cv_prog_AR
6530 if test -n "$AR"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6532 $as_echo "$AR" >&6; }
6533 else
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 $as_echo "no" >&6; }
6540 if test -z "$ac_cv_prog_AR"; then
6541 ac_ct_AR=$AR
6542 # Extract the first word of "ar", so it can be a program name with args.
6543 set dummy ar; ac_word=$2
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6547 $as_echo_n "(cached) " >&6
6548 else
6549 if test -n "$ac_ct_AR"; then
6550 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6551 else
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH
6555 IFS=$as_save_IFS
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 ac_cv_prog_ac_ct_AR="ar"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 break 2
6563 done
6564 done
6565 IFS=$as_save_IFS
6569 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6570 if test -n "$ac_ct_AR"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6572 $as_echo "$ac_ct_AR" >&6; }
6573 else
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6578 if test "x$ac_ct_AR" = x; then
6579 AR="false"
6580 else
6581 case $cross_compiling:$ac_tool_warned in
6582 yes:)
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6585 ac_tool_warned=yes ;;
6586 esac
6587 AR=$ac_ct_AR
6589 else
6590 AR="$ac_cv_prog_AR"
6593 test -z "$AR" && AR=ar
6594 test -z "$AR_FLAGS" && AR_FLAGS=cru
6606 if test -n "$ac_tool_prefix"; then
6607 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6608 set dummy ${ac_tool_prefix}strip; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 $as_echo_n "checking for $ac_word... " >&6; }
6611 if test "${ac_cv_prog_STRIP+set}" = set; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 if test -n "$STRIP"; then
6615 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6616 else
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 for as_dir in $PATH
6620 IFS=$as_save_IFS
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6624 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 break 2
6628 done
6629 done
6630 IFS=$as_save_IFS
6634 STRIP=$ac_cv_prog_STRIP
6635 if test -n "$STRIP"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6637 $as_echo "$STRIP" >&6; }
6638 else
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 $as_echo "no" >&6; }
6645 if test -z "$ac_cv_prog_STRIP"; then
6646 ac_ct_STRIP=$STRIP
6647 # Extract the first word of "strip", so it can be a program name with args.
6648 set dummy strip; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6652 $as_echo_n "(cached) " >&6
6653 else
6654 if test -n "$ac_ct_STRIP"; then
6655 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6656 else
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 for as_dir in $PATH
6660 IFS=$as_save_IFS
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_prog_ac_ct_STRIP="strip"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 break 2
6668 done
6669 done
6670 IFS=$as_save_IFS
6674 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6675 if test -n "$ac_ct_STRIP"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6677 $as_echo "$ac_ct_STRIP" >&6; }
6678 else
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6683 if test "x$ac_ct_STRIP" = x; then
6684 STRIP=":"
6685 else
6686 case $cross_compiling:$ac_tool_warned in
6687 yes:)
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6690 ac_tool_warned=yes ;;
6691 esac
6692 STRIP=$ac_ct_STRIP
6694 else
6695 STRIP="$ac_cv_prog_STRIP"
6698 test -z "$STRIP" && STRIP=:
6705 if test -n "$ac_tool_prefix"; then
6706 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6707 set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then :
6711 $as_echo_n "(cached) " >&6
6712 else
6713 if test -n "$RANLIB"; then
6714 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
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 RANLIB=$ac_cv_prog_RANLIB
6734 if test -n "$RANLIB"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6736 $as_echo "$RANLIB" >&6; }
6737 else
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6744 if test -z "$ac_cv_prog_RANLIB"; then
6745 ac_ct_RANLIB=$RANLIB
6746 # Extract the first word of "ranlib", so it can be a program name with args.
6747 set dummy ranlib; ac_word=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6751 $as_echo_n "(cached) " >&6
6752 else
6753 if test -n "$ac_ct_RANLIB"; then
6754 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6755 else
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 for as_dir in $PATH
6759 IFS=$as_save_IFS
6760 test -z "$as_dir" && as_dir=.
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_ac_ct_RANLIB="ranlib"
6764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765 break 2
6767 done
6768 done
6769 IFS=$as_save_IFS
6773 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6774 if test -n "$ac_ct_RANLIB"; then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6776 $as_echo "$ac_ct_RANLIB" >&6; }
6777 else
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6782 if test "x$ac_ct_RANLIB" = x; then
6783 RANLIB=":"
6784 else
6785 case $cross_compiling:$ac_tool_warned in
6786 yes:)
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6789 ac_tool_warned=yes ;;
6790 esac
6791 RANLIB=$ac_ct_RANLIB
6793 else
6794 RANLIB="$ac_cv_prog_RANLIB"
6797 test -z "$RANLIB" && RANLIB=:
6804 # Determine commands to create old-style static archives.
6805 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6806 old_postinstall_cmds='chmod 644 $oldlib'
6807 old_postuninstall_cmds=
6809 if test -n "$RANLIB"; then
6810 case $host_os in
6811 openbsd*)
6812 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6815 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6817 esac
6818 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6821 case $host_os in
6822 darwin*)
6823 lock_old_archive_extraction=yes ;;
6825 lock_old_archive_extraction=no ;;
6826 esac
6866 # If no C compiler was specified, use CC.
6867 LTCC=${LTCC-"$CC"}
6869 # If no C compiler flags were specified, use CFLAGS.
6870 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6872 # Allow CC to be a program name with arguments.
6873 compiler=$CC
6876 # Check for command to grab the raw symbol name followed by C symbol from nm.
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6878 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6879 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6883 # These are sane defaults that work on at least a few old systems.
6884 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6886 # Character class describing NM global symbol codes.
6887 symcode='[BCDEGRST]'
6889 # Regexp to match symbols that can be accessed directly from C.
6890 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6892 # Define system-specific variables.
6893 case $host_os in
6894 aix*)
6895 symcode='[BCDT]'
6897 cygwin* | mingw* | pw32* | cegcc*)
6898 symcode='[ABCDGISTW]'
6900 hpux*)
6901 if test "$host_cpu" = ia64; then
6902 symcode='[ABCDEGRST]'
6905 irix* | nonstopux*)
6906 symcode='[BCDEGRST]'
6908 osf*)
6909 symcode='[BCDEGQRST]'
6911 solaris*)
6912 symcode='[BDRT]'
6914 sco3.2v5*)
6915 symcode='[DT]'
6917 sysv4.2uw2*)
6918 symcode='[DT]'
6920 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6921 symcode='[ABDT]'
6923 sysv4)
6924 symcode='[DFNSTU]'
6926 esac
6928 # If we're using GNU nm, then use its standard symbol codes.
6929 case `$NM -V 2>&1` in
6930 *GNU* | *'with BFD'*)
6931 symcode='[ABCDGIRSTW]' ;;
6932 esac
6934 # Transform an extracted symbol line into a proper C declaration.
6935 # Some systems (esp. on ia64) link data and code symbols differently,
6936 # so use this general approach.
6937 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6939 # Transform an extracted symbol line into symbol name and symbol address
6940 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6941 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'"
6943 # Handle CRLF in mingw tool chain
6944 opt_cr=
6945 case $build_os in
6946 mingw*)
6947 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6949 esac
6951 # Try without a prefix underscore, then with it.
6952 for ac_symprfx in "" "_"; do
6954 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6955 symxfrm="\\1 $ac_symprfx\\2 \\2"
6957 # Write the raw and C identifiers.
6958 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6959 # Fake it for dumpbin and say T for any non-static function
6960 # and D for any global variable.
6961 # Also find C++ and __fastcall symbols from MSVC++,
6962 # which start with @ or ?.
6963 lt_cv_sys_global_symbol_pipe="$AWK '"\
6964 " {last_section=section; section=\$ 3};"\
6965 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6966 " \$ 0!~/External *\|/{next};"\
6967 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6968 " {if(hide[section]) next};"\
6969 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6970 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6971 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6972 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6973 " ' prfx=^$ac_symprfx"
6974 else
6975 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6978 # Check to see that the pipe works correctly.
6979 pipe_works=no
6981 rm -f conftest*
6982 cat > conftest.$ac_ext <<_LT_EOF
6983 #ifdef __cplusplus
6984 extern "C" {
6985 #endif
6986 char nm_test_var;
6987 void nm_test_func(void);
6988 void nm_test_func(void){}
6989 #ifdef __cplusplus
6991 #endif
6992 int main(){nm_test_var='a';nm_test_func();return(0);}
6993 _LT_EOF
6995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6996 (eval $ac_compile) 2>&5
6997 ac_status=$?
6998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6999 test $ac_status = 0; }; then
7000 # Now try to grab the symbols.
7001 nlist=conftest.nm
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7003 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7004 ac_status=$?
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; } && test -s "$nlist"; then
7007 # Try sorting and uniquifying the output.
7008 if sort "$nlist" | uniq > "$nlist"T; then
7009 mv -f "$nlist"T "$nlist"
7010 else
7011 rm -f "$nlist"T
7014 # Make sure that we snagged all the symbols we need.
7015 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7016 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7017 cat <<_LT_EOF > conftest.$ac_ext
7018 #ifdef __cplusplus
7019 extern "C" {
7020 #endif
7022 _LT_EOF
7023 # Now generate the symbol file.
7024 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7026 cat <<_LT_EOF >> conftest.$ac_ext
7028 /* The mapping between symbol names and symbols. */
7029 const struct {
7030 const char *name;
7031 void *address;
7033 lt__PROGRAM__LTX_preloaded_symbols[] =
7035 { "@PROGRAM@", (void *) 0 },
7036 _LT_EOF
7037 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7038 cat <<\_LT_EOF >> conftest.$ac_ext
7039 {0, (void *) 0}
7042 /* This works around a problem in FreeBSD linker */
7043 #ifdef FREEBSD_WORKAROUND
7044 static const void *lt_preloaded_setup() {
7045 return lt__PROGRAM__LTX_preloaded_symbols;
7047 #endif
7049 #ifdef __cplusplus
7051 #endif
7052 _LT_EOF
7053 # Now try linking the two files.
7054 mv conftest.$ac_objext conftstm.$ac_objext
7055 lt_save_LIBS="$LIBS"
7056 lt_save_CFLAGS="$CFLAGS"
7057 LIBS="conftstm.$ac_objext"
7058 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7060 (eval $ac_link) 2>&5
7061 ac_status=$?
7062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7063 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7064 pipe_works=yes
7066 LIBS="$lt_save_LIBS"
7067 CFLAGS="$lt_save_CFLAGS"
7068 else
7069 echo "cannot find nm_test_func in $nlist" >&5
7071 else
7072 echo "cannot find nm_test_var in $nlist" >&5
7074 else
7075 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7077 else
7078 echo "$progname: failed program was:" >&5
7079 cat conftest.$ac_ext >&5
7081 rm -rf conftest* conftst*
7083 # Do not use the global_symbol_pipe unless it works.
7084 if test "$pipe_works" = yes; then
7085 break
7086 else
7087 lt_cv_sys_global_symbol_pipe=
7089 done
7093 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7094 lt_cv_sys_global_symbol_to_cdecl=
7096 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7098 $as_echo "failed" >&6; }
7099 else
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7101 $as_echo "ok" >&6; }
7125 # Check whether --enable-libtool-lock was given.
7126 if test "${enable_libtool_lock+set}" = set; then :
7127 enableval=$enable_libtool_lock;
7130 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7132 # Some flags need to be propagated to the compiler or linker for good
7133 # libtool support.
7134 case $host in
7135 ia64-*-hpux*)
7136 # Find out which ABI we are using.
7137 echo 'int i;' > conftest.$ac_ext
7138 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7139 (eval $ac_compile) 2>&5
7140 ac_status=$?
7141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7142 test $ac_status = 0; }; then
7143 case `/usr/bin/file conftest.$ac_objext` in
7144 *ELF-32*)
7145 HPUX_IA64_MODE="32"
7147 *ELF-64*)
7148 HPUX_IA64_MODE="64"
7150 esac
7152 rm -rf conftest*
7154 *-*-irix6*)
7155 # Find out which ABI we are using.
7156 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7157 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7158 (eval $ac_compile) 2>&5
7159 ac_status=$?
7160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7161 test $ac_status = 0; }; then
7162 if test "$lt_cv_prog_gnu_ld" = yes; then
7163 case `/usr/bin/file conftest.$ac_objext` in
7164 *32-bit*)
7165 LD="${LD-ld} -melf32bsmip"
7167 *N32*)
7168 LD="${LD-ld} -melf32bmipn32"
7170 *64-bit*)
7171 LD="${LD-ld} -melf64bmip"
7173 esac
7174 else
7175 case `/usr/bin/file conftest.$ac_objext` in
7176 *32-bit*)
7177 LD="${LD-ld} -32"
7179 *N32*)
7180 LD="${LD-ld} -n32"
7182 *64-bit*)
7183 LD="${LD-ld} -64"
7185 esac
7188 rm -rf conftest*
7191 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7192 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7193 # Find out which ABI we are using.
7194 echo 'int i;' > conftest.$ac_ext
7195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7196 (eval $ac_compile) 2>&5
7197 ac_status=$?
7198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7199 test $ac_status = 0; }; then
7200 case `/usr/bin/file conftest.o` in
7201 *32-bit*)
7202 case $host in
7203 x86_64-*kfreebsd*-gnu)
7204 LD="${LD-ld} -m elf_i386_fbsd"
7206 x86_64-*linux*)
7207 case `/usr/bin/file conftest.o` in
7208 *x86-64*)
7209 LD="${LD-ld} -m elf32_x86_64"
7212 LD="${LD-ld} -m elf_i386"
7214 esac
7216 powerpc64le-*linux*)
7217 LD="${LD-ld} -m elf32lppclinux"
7219 powerpc64-*linux*)
7220 LD="${LD-ld} -m elf32ppclinux"
7222 s390x-*linux*)
7223 LD="${LD-ld} -m elf_s390"
7225 sparc64-*linux*)
7226 LD="${LD-ld} -m elf32_sparc"
7228 esac
7230 *64-bit*)
7231 case $host in
7232 x86_64-*kfreebsd*-gnu)
7233 LD="${LD-ld} -m elf_x86_64_fbsd"
7235 x86_64-*linux*)
7236 LD="${LD-ld} -m elf_x86_64"
7238 powerpcle-*linux*)
7239 LD="${LD-ld} -m elf64lppc"
7241 powerpc-*linux*)
7242 LD="${LD-ld} -m elf64ppc"
7244 s390*-*linux*|s390*-*tpf*)
7245 LD="${LD-ld} -m elf64_s390"
7247 sparc*-*linux*)
7248 LD="${LD-ld} -m elf64_sparc"
7250 esac
7252 esac
7254 rm -rf conftest*
7257 *-*-sco3.2v5*)
7258 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7259 SAVE_CFLAGS="$CFLAGS"
7260 CFLAGS="$CFLAGS -belf"
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7262 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7263 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7264 $as_echo_n "(cached) " >&6
7265 else
7266 ac_ext=c
7267 ac_cpp='$CPP $CPPFLAGS'
7268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7272 if test x$gcc_no_link = xyes; then
7273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7279 main ()
7283 return 0;
7285 _ACEOF
7286 if ac_fn_c_try_link "$LINENO"; then :
7287 lt_cv_cc_needs_belf=yes
7288 else
7289 lt_cv_cc_needs_belf=no
7291 rm -f core conftest.err conftest.$ac_objext \
7292 conftest$ac_exeext conftest.$ac_ext
7293 ac_ext=c
7294 ac_cpp='$CPP $CPPFLAGS'
7295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7301 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7302 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7303 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7304 CFLAGS="$SAVE_CFLAGS"
7307 sparc*-*solaris*)
7308 # Find out which ABI we are using.
7309 echo 'int i;' > conftest.$ac_ext
7310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7311 (eval $ac_compile) 2>&5
7312 ac_status=$?
7313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7314 test $ac_status = 0; }; then
7315 case `/usr/bin/file conftest.o` in
7316 *64-bit*)
7317 case $lt_cv_prog_gnu_ld in
7318 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7320 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7321 LD="${LD-ld} -64"
7324 esac
7326 esac
7328 rm -rf conftest*
7330 esac
7332 need_locks="$enable_libtool_lock"
7335 case $host_os in
7336 rhapsody* | darwin*)
7337 if test -n "$ac_tool_prefix"; then
7338 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7339 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7343 $as_echo_n "(cached) " >&6
7344 else
7345 if test -n "$DSYMUTIL"; then
7346 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7351 IFS=$as_save_IFS
7352 test -z "$as_dir" && as_dir=.
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7355 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357 break 2
7359 done
7360 done
7361 IFS=$as_save_IFS
7365 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7366 if test -n "$DSYMUTIL"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7368 $as_echo "$DSYMUTIL" >&6; }
7369 else
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7376 if test -z "$ac_cv_prog_DSYMUTIL"; then
7377 ac_ct_DSYMUTIL=$DSYMUTIL
7378 # Extract the first word of "dsymutil", so it can be a program name with args.
7379 set dummy dsymutil; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7383 $as_echo_n "(cached) " >&6
7384 else
7385 if test -n "$ac_ct_DSYMUTIL"; then
7386 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7387 else
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7391 IFS=$as_save_IFS
7392 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 break 2
7399 done
7400 done
7401 IFS=$as_save_IFS
7405 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7406 if test -n "$ac_ct_DSYMUTIL"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7408 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7409 else
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7414 if test "x$ac_ct_DSYMUTIL" = x; then
7415 DSYMUTIL=":"
7416 else
7417 case $cross_compiling:$ac_tool_warned in
7418 yes:)
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7421 ac_tool_warned=yes ;;
7422 esac
7423 DSYMUTIL=$ac_ct_DSYMUTIL
7425 else
7426 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7429 if test -n "$ac_tool_prefix"; then
7430 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7431 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7435 $as_echo_n "(cached) " >&6
7436 else
7437 if test -n "$NMEDIT"; then
7438 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7439 else
7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 for as_dir in $PATH
7443 IFS=$as_save_IFS
7444 test -z "$as_dir" && as_dir=.
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7447 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449 break 2
7451 done
7452 done
7453 IFS=$as_save_IFS
7457 NMEDIT=$ac_cv_prog_NMEDIT
7458 if test -n "$NMEDIT"; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7460 $as_echo "$NMEDIT" >&6; }
7461 else
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 $as_echo "no" >&6; }
7468 if test -z "$ac_cv_prog_NMEDIT"; then
7469 ac_ct_NMEDIT=$NMEDIT
7470 # Extract the first word of "nmedit", so it can be a program name with args.
7471 set dummy nmedit; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7475 $as_echo_n "(cached) " >&6
7476 else
7477 if test -n "$ac_ct_NMEDIT"; then
7478 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7479 else
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 for as_dir in $PATH
7483 IFS=$as_save_IFS
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 break 2
7491 done
7492 done
7493 IFS=$as_save_IFS
7497 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7498 if test -n "$ac_ct_NMEDIT"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7500 $as_echo "$ac_ct_NMEDIT" >&6; }
7501 else
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7506 if test "x$ac_ct_NMEDIT" = x; then
7507 NMEDIT=":"
7508 else
7509 case $cross_compiling:$ac_tool_warned in
7510 yes:)
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7513 ac_tool_warned=yes ;;
7514 esac
7515 NMEDIT=$ac_ct_NMEDIT
7517 else
7518 NMEDIT="$ac_cv_prog_NMEDIT"
7521 if test -n "$ac_tool_prefix"; then
7522 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7523 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if test "${ac_cv_prog_LIPO+set}" = set; then :
7527 $as_echo_n "(cached) " >&6
7528 else
7529 if test -n "$LIPO"; then
7530 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7531 else
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 for as_dir in $PATH
7535 IFS=$as_save_IFS
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7539 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 break 2
7543 done
7544 done
7545 IFS=$as_save_IFS
7549 LIPO=$ac_cv_prog_LIPO
7550 if test -n "$LIPO"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7552 $as_echo "$LIPO" >&6; }
7553 else
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7560 if test -z "$ac_cv_prog_LIPO"; then
7561 ac_ct_LIPO=$LIPO
7562 # Extract the first word of "lipo", so it can be a program name with args.
7563 set dummy lipo; ac_word=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7567 $as_echo_n "(cached) " >&6
7568 else
7569 if test -n "$ac_ct_LIPO"; then
7570 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7571 else
7572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 for as_dir in $PATH
7575 IFS=$as_save_IFS
7576 test -z "$as_dir" && as_dir=.
7577 for ac_exec_ext in '' $ac_executable_extensions; do
7578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7579 ac_cv_prog_ac_ct_LIPO="lipo"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 break 2
7583 done
7584 done
7585 IFS=$as_save_IFS
7589 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7590 if test -n "$ac_ct_LIPO"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7592 $as_echo "$ac_ct_LIPO" >&6; }
7593 else
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7598 if test "x$ac_ct_LIPO" = x; then
7599 LIPO=":"
7600 else
7601 case $cross_compiling:$ac_tool_warned in
7602 yes:)
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7605 ac_tool_warned=yes ;;
7606 esac
7607 LIPO=$ac_ct_LIPO
7609 else
7610 LIPO="$ac_cv_prog_LIPO"
7613 if test -n "$ac_tool_prefix"; then
7614 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7615 set dummy ${ac_tool_prefix}otool; ac_word=$2
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7617 $as_echo_n "checking for $ac_word... " >&6; }
7618 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7619 $as_echo_n "(cached) " >&6
7620 else
7621 if test -n "$OTOOL"; then
7622 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7623 else
7624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 for as_dir in $PATH
7627 IFS=$as_save_IFS
7628 test -z "$as_dir" && as_dir=.
7629 for ac_exec_ext in '' $ac_executable_extensions; do
7630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7631 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 break 2
7635 done
7636 done
7637 IFS=$as_save_IFS
7641 OTOOL=$ac_cv_prog_OTOOL
7642 if test -n "$OTOOL"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7644 $as_echo "$OTOOL" >&6; }
7645 else
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7647 $as_echo "no" >&6; }
7652 if test -z "$ac_cv_prog_OTOOL"; then
7653 ac_ct_OTOOL=$OTOOL
7654 # Extract the first word of "otool", so it can be a program name with args.
7655 set dummy otool; ac_word=$2
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7657 $as_echo_n "checking for $ac_word... " >&6; }
7658 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7659 $as_echo_n "(cached) " >&6
7660 else
7661 if test -n "$ac_ct_OTOOL"; then
7662 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7663 else
7664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7665 for as_dir in $PATH
7667 IFS=$as_save_IFS
7668 test -z "$as_dir" && as_dir=.
7669 for ac_exec_ext in '' $ac_executable_extensions; do
7670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7671 ac_cv_prog_ac_ct_OTOOL="otool"
7672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673 break 2
7675 done
7676 done
7677 IFS=$as_save_IFS
7681 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7682 if test -n "$ac_ct_OTOOL"; then
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7684 $as_echo "$ac_ct_OTOOL" >&6; }
7685 else
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7687 $as_echo "no" >&6; }
7690 if test "x$ac_ct_OTOOL" = x; then
7691 OTOOL=":"
7692 else
7693 case $cross_compiling:$ac_tool_warned in
7694 yes:)
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7697 ac_tool_warned=yes ;;
7698 esac
7699 OTOOL=$ac_ct_OTOOL
7701 else
7702 OTOOL="$ac_cv_prog_OTOOL"
7705 if test -n "$ac_tool_prefix"; then
7706 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7707 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7709 $as_echo_n "checking for $ac_word... " >&6; }
7710 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7711 $as_echo_n "(cached) " >&6
7712 else
7713 if test -n "$OTOOL64"; then
7714 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7715 else
7716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7717 for as_dir in $PATH
7719 IFS=$as_save_IFS
7720 test -z "$as_dir" && as_dir=.
7721 for ac_exec_ext in '' $ac_executable_extensions; do
7722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7723 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7725 break 2
7727 done
7728 done
7729 IFS=$as_save_IFS
7733 OTOOL64=$ac_cv_prog_OTOOL64
7734 if test -n "$OTOOL64"; then
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7736 $as_echo "$OTOOL64" >&6; }
7737 else
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739 $as_echo "no" >&6; }
7744 if test -z "$ac_cv_prog_OTOOL64"; then
7745 ac_ct_OTOOL64=$OTOOL64
7746 # Extract the first word of "otool64", so it can be a program name with args.
7747 set dummy otool64; ac_word=$2
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749 $as_echo_n "checking for $ac_word... " >&6; }
7750 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7751 $as_echo_n "(cached) " >&6
7752 else
7753 if test -n "$ac_ct_OTOOL64"; then
7754 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7755 else
7756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757 for as_dir in $PATH
7759 IFS=$as_save_IFS
7760 test -z "$as_dir" && as_dir=.
7761 for ac_exec_ext in '' $ac_executable_extensions; do
7762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7763 ac_cv_prog_ac_ct_OTOOL64="otool64"
7764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765 break 2
7767 done
7768 done
7769 IFS=$as_save_IFS
7773 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7774 if test -n "$ac_ct_OTOOL64"; then
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7776 $as_echo "$ac_ct_OTOOL64" >&6; }
7777 else
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7779 $as_echo "no" >&6; }
7782 if test "x$ac_ct_OTOOL64" = x; then
7783 OTOOL64=":"
7784 else
7785 case $cross_compiling:$ac_tool_warned in
7786 yes:)
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7789 ac_tool_warned=yes ;;
7790 esac
7791 OTOOL64=$ac_ct_OTOOL64
7793 else
7794 OTOOL64="$ac_cv_prog_OTOOL64"
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7824 $as_echo_n "checking for -single_module linker flag... " >&6; }
7825 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7826 $as_echo_n "(cached) " >&6
7827 else
7828 lt_cv_apple_cc_single_mod=no
7829 if test -z "${LT_MULTI_MODULE}"; then
7830 # By default we will add the -single_module flag. You can override
7831 # by either setting the environment variable LT_MULTI_MODULE
7832 # non-empty at configure time, or by adding -multi_module to the
7833 # link flags.
7834 rm -rf libconftest.dylib*
7835 echo "int foo(void){return 1;}" > conftest.c
7836 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7837 -dynamiclib -Wl,-single_module conftest.c" >&5
7838 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7839 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7840 _lt_result=$?
7841 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7842 lt_cv_apple_cc_single_mod=yes
7843 else
7844 cat conftest.err >&5
7846 rm -rf libconftest.dylib*
7847 rm -f conftest.*
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7851 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7853 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7854 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7855 $as_echo_n "(cached) " >&6
7856 else
7857 lt_cv_ld_exported_symbols_list=no
7858 save_LDFLAGS=$LDFLAGS
7859 echo "_main" > conftest.sym
7860 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7861 if test x$gcc_no_link = xyes; then
7862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7865 /* end confdefs.h. */
7868 main ()
7872 return 0;
7874 _ACEOF
7875 if ac_fn_c_try_link "$LINENO"; then :
7876 lt_cv_ld_exported_symbols_list=yes
7877 else
7878 lt_cv_ld_exported_symbols_list=no
7880 rm -f core conftest.err conftest.$ac_objext \
7881 conftest$ac_exeext conftest.$ac_ext
7882 LDFLAGS="$save_LDFLAGS"
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7886 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7888 $as_echo_n "checking for -force_load linker flag... " >&6; }
7889 if test "${lt_cv_ld_force_load+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7891 else
7892 lt_cv_ld_force_load=no
7893 cat > conftest.c << _LT_EOF
7894 int forced_loaded() { return 2;}
7895 _LT_EOF
7896 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7897 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7898 echo "$AR cru libconftest.a conftest.o" >&5
7899 $AR cru libconftest.a conftest.o 2>&5
7900 cat > conftest.c << _LT_EOF
7901 int main() { return 0;}
7902 _LT_EOF
7903 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7904 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7905 _lt_result=$?
7906 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7907 lt_cv_ld_force_load=yes
7908 else
7909 cat conftest.err >&5
7911 rm -f conftest.err libconftest.a conftest conftest.c
7912 rm -rf conftest.dSYM
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7916 $as_echo "$lt_cv_ld_force_load" >&6; }
7917 case $host_os in
7918 rhapsody* | darwin1.[012])
7919 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7920 darwin1.*)
7921 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7922 darwin*) # darwin 5.x on
7923 # if running on 10.5 or later, the deployment target defaults
7924 # to the OS version, if on x86, and 10.4, the deployment
7925 # target defaults to 10.4. Don't you love it?
7926 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7927 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7928 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7929 10.[012][,.]*)
7930 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7931 10.*)
7932 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7933 esac
7935 esac
7936 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7937 _lt_dar_single_mod='$single_module'
7939 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7940 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7941 else
7942 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7944 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7945 _lt_dsymutil='~$DSYMUTIL $lib || :'
7946 else
7947 _lt_dsymutil=
7950 esac
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7953 $as_echo_n "checking for ANSI C header files... " >&6; }
7954 if test "${ac_cv_header_stdc+set}" = set; then :
7955 $as_echo_n "(cached) " >&6
7956 else
7957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7958 /* end confdefs.h. */
7959 #include <stdlib.h>
7960 #include <stdarg.h>
7961 #include <string.h>
7962 #include <float.h>
7965 main ()
7969 return 0;
7971 _ACEOF
7972 if ac_fn_c_try_compile "$LINENO"; then :
7973 ac_cv_header_stdc=yes
7974 else
7975 ac_cv_header_stdc=no
7977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7979 if test $ac_cv_header_stdc = yes; then
7980 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7982 /* end confdefs.h. */
7983 #include <string.h>
7985 _ACEOF
7986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7987 $EGREP "memchr" >/dev/null 2>&1; then :
7989 else
7990 ac_cv_header_stdc=no
7992 rm -f conftest*
7996 if test $ac_cv_header_stdc = yes; then
7997 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8000 #include <stdlib.h>
8002 _ACEOF
8003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8004 $EGREP "free" >/dev/null 2>&1; then :
8006 else
8007 ac_cv_header_stdc=no
8009 rm -f conftest*
8013 if test $ac_cv_header_stdc = yes; then
8014 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8015 if test "$cross_compiling" = yes; then :
8017 else
8018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8019 /* end confdefs.h. */
8020 #include <ctype.h>
8021 #include <stdlib.h>
8022 #if ((' ' & 0x0FF) == 0x020)
8023 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8024 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8025 #else
8026 # define ISLOWER(c) \
8027 (('a' <= (c) && (c) <= 'i') \
8028 || ('j' <= (c) && (c) <= 'r') \
8029 || ('s' <= (c) && (c) <= 'z'))
8030 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8031 #endif
8033 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8035 main ()
8037 int i;
8038 for (i = 0; i < 256; i++)
8039 if (XOR (islower (i), ISLOWER (i))
8040 || toupper (i) != TOUPPER (i))
8041 return 2;
8042 return 0;
8044 _ACEOF
8045 if ac_fn_c_try_run "$LINENO"; then :
8047 else
8048 ac_cv_header_stdc=no
8050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8051 conftest.$ac_objext conftest.beam conftest.$ac_ext
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8057 $as_echo "$ac_cv_header_stdc" >&6; }
8058 if test $ac_cv_header_stdc = yes; then
8060 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8064 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8065 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8066 inttypes.h stdint.h unistd.h
8067 do :
8068 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8069 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8071 eval as_val=\$$as_ac_Header
8072 if test "x$as_val" = x""yes; then :
8073 cat >>confdefs.h <<_ACEOF
8074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8075 _ACEOF
8079 done
8082 for ac_header in dlfcn.h
8083 do :
8084 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8086 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8087 cat >>confdefs.h <<_ACEOF
8088 #define HAVE_DLFCN_H 1
8089 _ACEOF
8093 done
8100 # Set options
8105 enable_win32_dll=no
8108 # Check whether --enable-shared was given.
8109 if test "${enable_shared+set}" = set; then :
8110 enableval=$enable_shared; p=${PACKAGE-default}
8111 case $enableval in
8112 yes) enable_shared=yes ;;
8113 no) enable_shared=no ;;
8115 enable_shared=no
8116 # Look at the argument we got. We use all the common list separators.
8117 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8118 for pkg in $enableval; do
8119 IFS="$lt_save_ifs"
8120 if test "X$pkg" = "X$p"; then
8121 enable_shared=yes
8123 done
8124 IFS="$lt_save_ifs"
8126 esac
8127 else
8128 enable_shared=yes
8139 # Check whether --enable-static was given.
8140 if test "${enable_static+set}" = set; then :
8141 enableval=$enable_static; p=${PACKAGE-default}
8142 case $enableval in
8143 yes) enable_static=yes ;;
8144 no) enable_static=no ;;
8146 enable_static=no
8147 # Look at the argument we got. We use all the common list separators.
8148 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8149 for pkg in $enableval; do
8150 IFS="$lt_save_ifs"
8151 if test "X$pkg" = "X$p"; then
8152 enable_static=yes
8154 done
8155 IFS="$lt_save_ifs"
8157 esac
8158 else
8159 enable_static=yes
8171 # Check whether --with-pic was given.
8172 if test "${with_pic+set}" = set; then :
8173 withval=$with_pic; pic_mode="$withval"
8174 else
8175 pic_mode=default
8179 test -z "$pic_mode" && pic_mode=default
8187 # Check whether --enable-fast-install was given.
8188 if test "${enable_fast_install+set}" = set; then :
8189 enableval=$enable_fast_install; p=${PACKAGE-default}
8190 case $enableval in
8191 yes) enable_fast_install=yes ;;
8192 no) enable_fast_install=no ;;
8194 enable_fast_install=no
8195 # Look at the argument we got. We use all the common list separators.
8196 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8197 for pkg in $enableval; do
8198 IFS="$lt_save_ifs"
8199 if test "X$pkg" = "X$p"; then
8200 enable_fast_install=yes
8202 done
8203 IFS="$lt_save_ifs"
8205 esac
8206 else
8207 enable_fast_install=yes
8220 # This can be used to rebuild libtool when needed
8221 LIBTOOL_DEPS="$ltmain"
8223 # Always use our own libtool.
8224 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8251 test -z "$LN_S" && LN_S="ln -s"
8266 if test -n "${ZSH_VERSION+set}" ; then
8267 setopt NO_GLOB_SUBST
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8271 $as_echo_n "checking for objdir... " >&6; }
8272 if test "${lt_cv_objdir+set}" = set; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 rm -f .libs 2>/dev/null
8276 mkdir .libs 2>/dev/null
8277 if test -d .libs; then
8278 lt_cv_objdir=.libs
8279 else
8280 # MS-DOS does not allow filenames that begin with a dot.
8281 lt_cv_objdir=_libs
8283 rmdir .libs 2>/dev/null
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8286 $as_echo "$lt_cv_objdir" >&6; }
8287 objdir=$lt_cv_objdir
8293 cat >>confdefs.h <<_ACEOF
8294 #define LT_OBJDIR "$lt_cv_objdir/"
8295 _ACEOF
8300 case $host_os in
8301 aix3*)
8302 # AIX sometimes has problems with the GCC collect2 program. For some
8303 # reason, if we set the COLLECT_NAMES environment variable, the problems
8304 # vanish in a puff of smoke.
8305 if test "X${COLLECT_NAMES+set}" != Xset; then
8306 COLLECT_NAMES=
8307 export COLLECT_NAMES
8310 esac
8312 # Global variables:
8313 ofile=libtool
8314 can_build_shared=yes
8316 # All known linkers require a `.a' archive for static linking (except MSVC,
8317 # which needs '.lib').
8318 libext=a
8320 with_gnu_ld="$lt_cv_prog_gnu_ld"
8322 old_CC="$CC"
8323 old_CFLAGS="$CFLAGS"
8325 # Set sane defaults for various variables
8326 test -z "$CC" && CC=cc
8327 test -z "$LTCC" && LTCC=$CC
8328 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8329 test -z "$LD" && LD=ld
8330 test -z "$ac_objext" && ac_objext=o
8332 for cc_temp in $compiler""; do
8333 case $cc_temp in
8334 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8335 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8336 \-*) ;;
8337 *) break;;
8338 esac
8339 done
8340 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8343 # Only perform the check for file, if the check method requires it
8344 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8345 case $deplibs_check_method in
8346 file_magic*)
8347 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8349 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8350 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 case $MAGIC_CMD in
8354 [\\/*] | ?:[\\/]*)
8355 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8358 lt_save_MAGIC_CMD="$MAGIC_CMD"
8359 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8360 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8361 for ac_dir in $ac_dummy; do
8362 IFS="$lt_save_ifs"
8363 test -z "$ac_dir" && ac_dir=.
8364 if test -f $ac_dir/${ac_tool_prefix}file; then
8365 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8366 if test -n "$file_magic_test_file"; then
8367 case $deplibs_check_method in
8368 "file_magic "*)
8369 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8370 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8371 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8372 $EGREP "$file_magic_regex" > /dev/null; then
8374 else
8375 cat <<_LT_EOF 1>&2
8377 *** Warning: the command libtool uses to detect shared libraries,
8378 *** $file_magic_cmd, produces output that libtool cannot recognize.
8379 *** The result is that libtool may fail to recognize shared libraries
8380 *** as such. This will affect the creation of libtool libraries that
8381 *** depend on shared libraries, but programs linked with such libtool
8382 *** libraries will work regardless of this problem. Nevertheless, you
8383 *** may want to report the problem to your system manager and/or to
8384 *** bug-libtool@gnu.org
8386 _LT_EOF
8387 fi ;;
8388 esac
8390 break
8392 done
8393 IFS="$lt_save_ifs"
8394 MAGIC_CMD="$lt_save_MAGIC_CMD"
8396 esac
8399 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8400 if test -n "$MAGIC_CMD"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8402 $as_echo "$MAGIC_CMD" >&6; }
8403 else
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8412 if test -z "$lt_cv_path_MAGIC_CMD"; then
8413 if test -n "$ac_tool_prefix"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8415 $as_echo_n "checking for file... " >&6; }
8416 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 case $MAGIC_CMD in
8420 [\\/*] | ?:[\\/]*)
8421 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8424 lt_save_MAGIC_CMD="$MAGIC_CMD"
8425 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8426 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8427 for ac_dir in $ac_dummy; do
8428 IFS="$lt_save_ifs"
8429 test -z "$ac_dir" && ac_dir=.
8430 if test -f $ac_dir/file; then
8431 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8432 if test -n "$file_magic_test_file"; then
8433 case $deplibs_check_method in
8434 "file_magic "*)
8435 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8436 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8437 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8438 $EGREP "$file_magic_regex" > /dev/null; then
8440 else
8441 cat <<_LT_EOF 1>&2
8443 *** Warning: the command libtool uses to detect shared libraries,
8444 *** $file_magic_cmd, produces output that libtool cannot recognize.
8445 *** The result is that libtool may fail to recognize shared libraries
8446 *** as such. This will affect the creation of libtool libraries that
8447 *** depend on shared libraries, but programs linked with such libtool
8448 *** libraries will work regardless of this problem. Nevertheless, you
8449 *** may want to report the problem to your system manager and/or to
8450 *** bug-libtool@gnu.org
8452 _LT_EOF
8453 fi ;;
8454 esac
8456 break
8458 done
8459 IFS="$lt_save_ifs"
8460 MAGIC_CMD="$lt_save_MAGIC_CMD"
8462 esac
8465 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8466 if test -n "$MAGIC_CMD"; then
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8468 $as_echo "$MAGIC_CMD" >&6; }
8469 else
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8471 $as_echo "no" >&6; }
8475 else
8476 MAGIC_CMD=:
8482 esac
8484 # Use C for the default configuration in the libtool script
8486 lt_save_CC="$CC"
8487 ac_ext=c
8488 ac_cpp='$CPP $CPPFLAGS'
8489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8494 # Source file extension for C test sources.
8495 ac_ext=c
8497 # Object file extension for compiled C test sources.
8498 objext=o
8499 objext=$objext
8501 # Code to be used in simple compile tests
8502 lt_simple_compile_test_code="int some_variable = 0;"
8504 # Code to be used in simple link tests
8505 lt_simple_link_test_code='int main(){return(0);}'
8513 # If no C compiler was specified, use CC.
8514 LTCC=${LTCC-"$CC"}
8516 # If no C compiler flags were specified, use CFLAGS.
8517 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8519 # Allow CC to be a program name with arguments.
8520 compiler=$CC
8522 # Save the default compiler, since it gets overwritten when the other
8523 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8524 compiler_DEFAULT=$CC
8526 # save warnings/boilerplate of simple test code
8527 ac_outfile=conftest.$ac_objext
8528 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8529 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8530 _lt_compiler_boilerplate=`cat conftest.err`
8531 $RM conftest*
8533 ac_outfile=conftest.$ac_objext
8534 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8535 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8536 _lt_linker_boilerplate=`cat conftest.err`
8537 $RM -r conftest*
8540 ## CAVEAT EMPTOR:
8541 ## There is no encapsulation within the following macros, do not change
8542 ## the running order or otherwise move them around unless you know exactly
8543 ## what you are doing...
8544 if test -n "$compiler"; then
8546 lt_prog_compiler_no_builtin_flag=
8548 if test "$GCC" = yes; then
8549 case $cc_basename in
8550 nvcc*)
8551 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8553 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8554 esac
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8557 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8558 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8559 $as_echo_n "(cached) " >&6
8560 else
8561 lt_cv_prog_compiler_rtti_exceptions=no
8562 ac_outfile=conftest.$ac_objext
8563 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8564 lt_compiler_flag="-fno-rtti -fno-exceptions"
8565 # Insert the option either (1) after the last *FLAGS variable, or
8566 # (2) before a word containing "conftest.", or (3) at the end.
8567 # Note that $ac_compile itself does not contain backslashes and begins
8568 # with a dollar sign (not a hyphen), so the echo should work correctly.
8569 # The option is referenced via a variable to avoid confusing sed.
8570 lt_compile=`echo "$ac_compile" | $SED \
8571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8573 -e 's:$: $lt_compiler_flag:'`
8574 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8575 (eval "$lt_compile" 2>conftest.err)
8576 ac_status=$?
8577 cat conftest.err >&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 if (exit $ac_status) && test -s "$ac_outfile"; then
8580 # The compiler can only warn and ignore the option if not recognized
8581 # So say no if there are warnings other than the usual output.
8582 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8583 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8584 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8585 lt_cv_prog_compiler_rtti_exceptions=yes
8588 $RM conftest*
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8592 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8594 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8595 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8596 else
8607 lt_prog_compiler_wl=
8608 lt_prog_compiler_pic=
8609 lt_prog_compiler_static=
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8612 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8614 if test "$GCC" = yes; then
8615 lt_prog_compiler_wl='-Wl,'
8616 lt_prog_compiler_static='-static'
8618 case $host_os in
8619 aix*)
8620 # All AIX code is PIC.
8621 if test "$host_cpu" = ia64; then
8622 # AIX 5 now supports IA64 processor
8623 lt_prog_compiler_static='-Bstatic'
8625 lt_prog_compiler_pic='-fPIC'
8628 amigaos*)
8629 case $host_cpu in
8630 powerpc)
8631 # see comment about AmigaOS4 .so support
8632 lt_prog_compiler_pic='-fPIC'
8634 m68k)
8635 # FIXME: we need at least 68020 code to build shared libraries, but
8636 # adding the `-m68020' flag to GCC prevents building anything better,
8637 # like `-m68040'.
8638 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8640 esac
8643 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8644 # PIC is the default for these OSes.
8647 mingw* | cygwin* | pw32* | os2* | cegcc*)
8648 # This hack is so that the source file can tell whether it is being
8649 # built for inclusion in a dll (and should export symbols for example).
8650 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8651 # (--disable-auto-import) libraries
8652 lt_prog_compiler_pic='-DDLL_EXPORT'
8655 darwin* | rhapsody*)
8656 # PIC is the default on this platform
8657 # Common symbols not allowed in MH_DYLIB files
8658 lt_prog_compiler_pic='-fno-common'
8661 haiku*)
8662 # PIC is the default for Haiku.
8663 # The "-static" flag exists, but is broken.
8664 lt_prog_compiler_static=
8667 hpux*)
8668 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8669 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8670 # sets the default TLS model and affects inlining.
8671 case $host_cpu in
8672 hppa*64*)
8673 # +Z the default
8676 lt_prog_compiler_pic='-fPIC'
8678 esac
8681 interix[3-9]*)
8682 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8683 # Instead, we relocate shared libraries at runtime.
8686 msdosdjgpp*)
8687 # Just because we use GCC doesn't mean we suddenly get shared libraries
8688 # on systems that don't support them.
8689 lt_prog_compiler_can_build_shared=no
8690 enable_shared=no
8693 *nto* | *qnx*)
8694 # QNX uses GNU C++, but need to define -shared option too, otherwise
8695 # it will coredump.
8696 lt_prog_compiler_pic='-fPIC -shared'
8699 sysv4*MP*)
8700 if test -d /usr/nec; then
8701 lt_prog_compiler_pic=-Kconform_pic
8706 lt_prog_compiler_pic='-fPIC'
8708 esac
8710 case $cc_basename in
8711 nvcc*) # Cuda Compiler Driver 2.2
8712 lt_prog_compiler_wl='-Xlinker '
8713 lt_prog_compiler_pic='-Xcompiler -fPIC'
8715 esac
8716 else
8717 # PORTME Check for flag to pass linker flags through the system compiler.
8718 case $host_os in
8719 aix*)
8720 lt_prog_compiler_wl='-Wl,'
8721 if test "$host_cpu" = ia64; then
8722 # AIX 5 now supports IA64 processor
8723 lt_prog_compiler_static='-Bstatic'
8724 else
8725 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8729 mingw* | cygwin* | pw32* | os2* | cegcc*)
8730 # This hack is so that the source file can tell whether it is being
8731 # built for inclusion in a dll (and should export symbols for example).
8732 lt_prog_compiler_pic='-DDLL_EXPORT'
8735 hpux9* | hpux10* | hpux11*)
8736 lt_prog_compiler_wl='-Wl,'
8737 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8738 # not for PA HP-UX.
8739 case $host_cpu in
8740 hppa*64*|ia64*)
8741 # +Z the default
8744 lt_prog_compiler_pic='+Z'
8746 esac
8747 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8748 lt_prog_compiler_static='${wl}-a ${wl}archive'
8751 irix5* | irix6* | nonstopux*)
8752 lt_prog_compiler_wl='-Wl,'
8753 # PIC (with -KPIC) is the default.
8754 lt_prog_compiler_static='-non_shared'
8757 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8758 case $cc_basename in
8759 # old Intel for x86_64 which still supported -KPIC.
8760 ecc*)
8761 lt_prog_compiler_wl='-Wl,'
8762 lt_prog_compiler_pic='-KPIC'
8763 lt_prog_compiler_static='-static'
8765 # icc used to be incompatible with GCC.
8766 # ICC 10 doesn't accept -KPIC any more.
8767 icc* | ifort*)
8768 lt_prog_compiler_wl='-Wl,'
8769 lt_prog_compiler_pic='-fPIC'
8770 lt_prog_compiler_static='-static'
8772 # Lahey Fortran 8.1.
8773 lf95*)
8774 lt_prog_compiler_wl='-Wl,'
8775 lt_prog_compiler_pic='--shared'
8776 lt_prog_compiler_static='--static'
8778 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8779 # Portland Group compilers (*not* the Pentium gcc compiler,
8780 # which looks to be a dead project)
8781 lt_prog_compiler_wl='-Wl,'
8782 lt_prog_compiler_pic='-fpic'
8783 lt_prog_compiler_static='-Bstatic'
8785 ccc*)
8786 lt_prog_compiler_wl='-Wl,'
8787 # All Alpha code is PIC.
8788 lt_prog_compiler_static='-non_shared'
8790 xl* | bgxl* | bgf* | mpixl*)
8791 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8792 lt_prog_compiler_wl='-Wl,'
8793 lt_prog_compiler_pic='-qpic'
8794 lt_prog_compiler_static='-qstaticlink'
8797 case `$CC -V 2>&1 | sed 5q` in
8798 *Sun\ F* | *Sun*Fortran*)
8799 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8800 lt_prog_compiler_pic='-KPIC'
8801 lt_prog_compiler_static='-Bstatic'
8802 lt_prog_compiler_wl=''
8804 *Sun\ C*)
8805 # Sun C 5.9
8806 lt_prog_compiler_pic='-KPIC'
8807 lt_prog_compiler_static='-Bstatic'
8808 lt_prog_compiler_wl='-Wl,'
8810 esac
8812 esac
8815 newsos6)
8816 lt_prog_compiler_pic='-KPIC'
8817 lt_prog_compiler_static='-Bstatic'
8820 *nto* | *qnx*)
8821 # QNX uses GNU C++, but need to define -shared option too, otherwise
8822 # it will coredump.
8823 lt_prog_compiler_pic='-fPIC -shared'
8826 osf3* | osf4* | osf5*)
8827 lt_prog_compiler_wl='-Wl,'
8828 # All OSF/1 code is PIC.
8829 lt_prog_compiler_static='-non_shared'
8832 rdos*)
8833 lt_prog_compiler_static='-non_shared'
8836 solaris*)
8837 lt_prog_compiler_pic='-KPIC'
8838 lt_prog_compiler_static='-Bstatic'
8839 case $cc_basename in
8840 f77* | f90* | f95*)
8841 lt_prog_compiler_wl='-Qoption ld ';;
8843 lt_prog_compiler_wl='-Wl,';;
8844 esac
8847 sunos4*)
8848 lt_prog_compiler_wl='-Qoption ld '
8849 lt_prog_compiler_pic='-PIC'
8850 lt_prog_compiler_static='-Bstatic'
8853 sysv4 | sysv4.2uw2* | sysv4.3*)
8854 lt_prog_compiler_wl='-Wl,'
8855 lt_prog_compiler_pic='-KPIC'
8856 lt_prog_compiler_static='-Bstatic'
8859 sysv4*MP*)
8860 if test -d /usr/nec ;then
8861 lt_prog_compiler_pic='-Kconform_pic'
8862 lt_prog_compiler_static='-Bstatic'
8866 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8867 lt_prog_compiler_wl='-Wl,'
8868 lt_prog_compiler_pic='-KPIC'
8869 lt_prog_compiler_static='-Bstatic'
8872 unicos*)
8873 lt_prog_compiler_wl='-Wl,'
8874 lt_prog_compiler_can_build_shared=no
8877 uts4*)
8878 lt_prog_compiler_pic='-pic'
8879 lt_prog_compiler_static='-Bstatic'
8883 lt_prog_compiler_can_build_shared=no
8885 esac
8888 case $host_os in
8889 # For platforms which do not support PIC, -DPIC is meaningless:
8890 *djgpp*)
8891 lt_prog_compiler_pic=
8894 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8896 esac
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8898 $as_echo "$lt_prog_compiler_pic" >&6; }
8906 # Check to make sure the PIC flag actually works.
8908 if test -n "$lt_prog_compiler_pic"; then
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8910 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8911 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8912 $as_echo_n "(cached) " >&6
8913 else
8914 lt_cv_prog_compiler_pic_works=no
8915 ac_outfile=conftest.$ac_objext
8916 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8917 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8918 # Insert the option either (1) after the last *FLAGS variable, or
8919 # (2) before a word containing "conftest.", or (3) at the end.
8920 # Note that $ac_compile itself does not contain backslashes and begins
8921 # with a dollar sign (not a hyphen), so the echo should work correctly.
8922 # The option is referenced via a variable to avoid confusing sed.
8923 lt_compile=`echo "$ac_compile" | $SED \
8924 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8926 -e 's:$: $lt_compiler_flag:'`
8927 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8928 (eval "$lt_compile" 2>conftest.err)
8929 ac_status=$?
8930 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 if (exit $ac_status) && test -s "$ac_outfile"; then
8933 # The compiler can only warn and ignore the option if not recognized
8934 # So say no if there are warnings other than the usual output.
8935 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8936 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8937 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8938 lt_cv_prog_compiler_pic_works=yes
8941 $RM conftest*
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8945 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8947 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8948 case $lt_prog_compiler_pic in
8949 "" | " "*) ;;
8950 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8951 esac
8952 else
8953 lt_prog_compiler_pic=
8954 lt_prog_compiler_can_build_shared=no
8965 # Check to make sure the static flag actually works.
8967 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8969 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8970 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8971 $as_echo_n "(cached) " >&6
8972 else
8973 lt_cv_prog_compiler_static_works=no
8974 save_LDFLAGS="$LDFLAGS"
8975 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8976 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8977 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8978 # The linker can only warn and ignore the option if not recognized
8979 # So say no if there are warnings
8980 if test -s conftest.err; then
8981 # Append any errors to the config.log.
8982 cat conftest.err 1>&5
8983 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8984 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8985 if diff conftest.exp conftest.er2 >/dev/null; then
8986 lt_cv_prog_compiler_static_works=yes
8988 else
8989 lt_cv_prog_compiler_static_works=yes
8992 $RM -r conftest*
8993 LDFLAGS="$save_LDFLAGS"
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8997 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8999 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9001 else
9002 lt_prog_compiler_static=
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9012 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9013 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9014 $as_echo_n "(cached) " >&6
9015 else
9016 lt_cv_prog_compiler_c_o=no
9017 $RM -r conftest 2>/dev/null
9018 mkdir conftest
9019 cd conftest
9020 mkdir out
9021 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9023 lt_compiler_flag="-o out/conftest2.$ac_objext"
9024 # Insert the option either (1) after the last *FLAGS variable, or
9025 # (2) before a word containing "conftest.", or (3) at the end.
9026 # Note that $ac_compile itself does not contain backslashes and begins
9027 # with a dollar sign (not a hyphen), so the echo should work correctly.
9028 lt_compile=`echo "$ac_compile" | $SED \
9029 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9030 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9031 -e 's:$: $lt_compiler_flag:'`
9032 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9033 (eval "$lt_compile" 2>out/conftest.err)
9034 ac_status=$?
9035 cat out/conftest.err >&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9038 then
9039 # The compiler can only warn and ignore the option if not recognized
9040 # So say no if there are warnings
9041 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9042 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9043 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9044 lt_cv_prog_compiler_c_o=yes
9047 chmod u+w . 2>&5
9048 $RM conftest*
9049 # SGI C++ compiler will create directory out/ii_files/ for
9050 # template instantiation
9051 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9052 $RM out/* && rmdir out
9053 cd ..
9054 $RM -r conftest
9055 $RM conftest*
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9059 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9067 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9068 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9069 $as_echo_n "(cached) " >&6
9070 else
9071 lt_cv_prog_compiler_c_o=no
9072 $RM -r conftest 2>/dev/null
9073 mkdir conftest
9074 cd conftest
9075 mkdir out
9076 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9078 lt_compiler_flag="-o out/conftest2.$ac_objext"
9079 # Insert the option either (1) after the last *FLAGS variable, or
9080 # (2) before a word containing "conftest.", or (3) at the end.
9081 # Note that $ac_compile itself does not contain backslashes and begins
9082 # with a dollar sign (not a hyphen), so the echo should work correctly.
9083 lt_compile=`echo "$ac_compile" | $SED \
9084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9086 -e 's:$: $lt_compiler_flag:'`
9087 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9088 (eval "$lt_compile" 2>out/conftest.err)
9089 ac_status=$?
9090 cat out/conftest.err >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9093 then
9094 # The compiler can only warn and ignore the option if not recognized
9095 # So say no if there are warnings
9096 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9097 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9098 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9099 lt_cv_prog_compiler_c_o=yes
9102 chmod u+w . 2>&5
9103 $RM conftest*
9104 # SGI C++ compiler will create directory out/ii_files/ for
9105 # template instantiation
9106 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9107 $RM out/* && rmdir out
9108 cd ..
9109 $RM -r conftest
9110 $RM conftest*
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9114 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9119 hard_links="nottested"
9120 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9121 # do not overwrite the value of need_locks provided by the user
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9123 $as_echo_n "checking if we can lock with hard links... " >&6; }
9124 hard_links=yes
9125 $RM conftest*
9126 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9127 touch conftest.a
9128 ln conftest.a conftest.b 2>&5 || hard_links=no
9129 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9131 $as_echo "$hard_links" >&6; }
9132 if test "$hard_links" = no; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9134 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9135 need_locks=warn
9137 else
9138 need_locks=no
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9147 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9149 runpath_var=
9150 allow_undefined_flag=
9151 always_export_symbols=no
9152 archive_cmds=
9153 archive_expsym_cmds=
9154 compiler_needs_object=no
9155 enable_shared_with_static_runtimes=no
9156 export_dynamic_flag_spec=
9157 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9158 hardcode_automatic=no
9159 hardcode_direct=no
9160 hardcode_direct_absolute=no
9161 hardcode_libdir_flag_spec=
9162 hardcode_libdir_flag_spec_ld=
9163 hardcode_libdir_separator=
9164 hardcode_minus_L=no
9165 hardcode_shlibpath_var=unsupported
9166 inherit_rpath=no
9167 link_all_deplibs=unknown
9168 module_cmds=
9169 module_expsym_cmds=
9170 old_archive_from_new_cmds=
9171 old_archive_from_expsyms_cmds=
9172 thread_safe_flag_spec=
9173 whole_archive_flag_spec=
9174 # include_expsyms should be a list of space-separated symbols to be *always*
9175 # included in the symbol list
9176 include_expsyms=
9177 # exclude_expsyms can be an extended regexp of symbols to exclude
9178 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9179 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9180 # as well as any symbol that contains `d'.
9181 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9182 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9183 # platforms (ab)use it in PIC code, but their linkers get confused if
9184 # the symbol is explicitly referenced. Since portable code cannot
9185 # rely on this symbol name, it's probably fine to never include it in
9186 # preloaded symbol tables.
9187 # Exclude shared library initialization/finalization symbols.
9188 extract_expsyms_cmds=
9190 case $host_os in
9191 cygwin* | mingw* | pw32* | cegcc*)
9192 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9193 # When not using gcc, we currently assume that we are using
9194 # Microsoft Visual C++.
9195 if test "$GCC" != yes; then
9196 with_gnu_ld=no
9199 interix*)
9200 # we just hope/assume this is gcc and not c89 (= MSVC++)
9201 with_gnu_ld=yes
9203 openbsd*)
9204 with_gnu_ld=no
9206 esac
9208 ld_shlibs=yes
9210 # On some targets, GNU ld is compatible enough with the native linker
9211 # that we're better off using the native interface for both.
9212 lt_use_gnu_ld_interface=no
9213 if test "$with_gnu_ld" = yes; then
9214 case $host_os in
9215 aix*)
9216 # The AIX port of GNU ld has always aspired to compatibility
9217 # with the native linker. However, as the warning in the GNU ld
9218 # block says, versions before 2.19.5* couldn't really create working
9219 # shared libraries, regardless of the interface used.
9220 case `$LD -v 2>&1` in
9221 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9222 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9223 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9225 lt_use_gnu_ld_interface=yes
9227 esac
9230 lt_use_gnu_ld_interface=yes
9232 esac
9235 if test "$lt_use_gnu_ld_interface" = yes; then
9236 # If archive_cmds runs LD, not CC, wlarc should be empty
9237 wlarc='${wl}'
9239 # Set some defaults for GNU ld with shared library support. These
9240 # are reset later if shared libraries are not supported. Putting them
9241 # here allows them to be overridden if necessary.
9242 runpath_var=LD_RUN_PATH
9243 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9244 export_dynamic_flag_spec='${wl}--export-dynamic'
9245 # ancient GNU ld didn't support --whole-archive et. al.
9246 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9247 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9248 else
9249 whole_archive_flag_spec=
9251 supports_anon_versioning=no
9252 case `$LD -v 2>&1` in
9253 *GNU\ gold*) supports_anon_versioning=yes ;;
9254 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9255 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9256 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9257 *\ 2.11.*) ;; # other 2.11 versions
9258 *) supports_anon_versioning=yes ;;
9259 esac
9261 # See if GNU ld supports shared libraries.
9262 case $host_os in
9263 aix[3-9]*)
9264 # On AIX/PPC, the GNU linker is very broken
9265 if test "$host_cpu" != ia64; then
9266 ld_shlibs=no
9267 cat <<_LT_EOF 1>&2
9269 *** Warning: the GNU linker, at least up to release 2.19, is reported
9270 *** to be unable to reliably create shared libraries on AIX.
9271 *** Therefore, libtool is disabling shared libraries support. If you
9272 *** really care for shared libraries, you may want to install binutils
9273 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9274 *** You will then need to restart the configuration process.
9276 _LT_EOF
9280 amigaos*)
9281 case $host_cpu in
9282 powerpc)
9283 # see comment about AmigaOS4 .so support
9284 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9285 archive_expsym_cmds=''
9287 m68k)
9288 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)'
9289 hardcode_libdir_flag_spec='-L$libdir'
9290 hardcode_minus_L=yes
9292 esac
9295 beos*)
9296 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9297 allow_undefined_flag=unsupported
9298 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9299 # support --undefined. This deserves some investigation. FIXME
9300 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9301 else
9302 ld_shlibs=no
9306 cygwin* | mingw* | pw32* | cegcc*)
9307 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9308 # as there is no search path for DLLs.
9309 hardcode_libdir_flag_spec='-L$libdir'
9310 export_dynamic_flag_spec='${wl}--export-all-symbols'
9311 allow_undefined_flag=unsupported
9312 always_export_symbols=no
9313 enable_shared_with_static_runtimes=yes
9314 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9316 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9318 # If the export-symbols file already is a .def file (1st line
9319 # is EXPORTS), use it as is; otherwise, prepend...
9320 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9321 cp $export_symbols $output_objdir/$soname.def;
9322 else
9323 echo EXPORTS > $output_objdir/$soname.def;
9324 cat $export_symbols >> $output_objdir/$soname.def;
9326 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9327 else
9328 ld_shlibs=no
9332 haiku*)
9333 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 link_all_deplibs=yes
9337 interix[3-9]*)
9338 hardcode_direct=no
9339 hardcode_shlibpath_var=no
9340 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9341 export_dynamic_flag_spec='${wl}-E'
9342 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9343 # Instead, shared libraries are loaded at an image base (0x10000000 by
9344 # default) and relocated if they conflict, which is a slow very memory
9345 # consuming and fragmenting process. To avoid this, we pick a random,
9346 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9347 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9348 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9349 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'
9352 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9353 tmp_diet=no
9354 if test "$host_os" = linux-dietlibc; then
9355 case $cc_basename in
9356 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9357 esac
9359 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9360 && test "$tmp_diet" = no
9361 then
9362 tmp_addflag=' $pic_flag'
9363 tmp_sharedflag='-shared'
9364 case $cc_basename,$host_cpu in
9365 pgcc*) # Portland Group C compiler
9366 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'
9367 tmp_addflag=' $pic_flag'
9369 pgf77* | pgf90* | pgf95* | pgfortran*)
9370 # Portland Group f77 and f90 compilers
9371 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9372 tmp_addflag=' $pic_flag -Mnomain' ;;
9373 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9374 tmp_addflag=' -i_dynamic' ;;
9375 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9376 tmp_addflag=' -i_dynamic -nofor_main' ;;
9377 ifc* | ifort*) # Intel Fortran compiler
9378 tmp_addflag=' -nofor_main' ;;
9379 lf95*) # Lahey Fortran 8.1
9380 whole_archive_flag_spec=
9381 tmp_sharedflag='--shared' ;;
9382 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9383 tmp_sharedflag='-qmkshrobj'
9384 tmp_addflag= ;;
9385 nvcc*) # Cuda Compiler Driver 2.2
9386 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'
9387 compiler_needs_object=yes
9389 esac
9390 case `$CC -V 2>&1 | sed 5q` in
9391 *Sun\ C*) # Sun C 5.9
9392 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'
9393 compiler_needs_object=yes
9394 tmp_sharedflag='-G' ;;
9395 *Sun\ F*) # Sun Fortran 8.3
9396 tmp_sharedflag='-G' ;;
9397 esac
9398 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400 if test "x$supports_anon_versioning" = xyes; then
9401 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9402 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9403 echo "local: *; };" >> $output_objdir/$libname.ver~
9404 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9407 case $cc_basename in
9408 xlf* | bgf* | bgxlf* | mpixlf*)
9409 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9410 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9411 hardcode_libdir_flag_spec=
9412 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9413 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9414 if test "x$supports_anon_versioning" = xyes; then
9415 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9416 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9417 echo "local: *; };" >> $output_objdir/$libname.ver~
9418 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9421 esac
9422 else
9423 ld_shlibs=no
9427 netbsd*)
9428 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9429 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9430 wlarc=
9431 else
9432 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9433 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9437 solaris*)
9438 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9439 ld_shlibs=no
9440 cat <<_LT_EOF 1>&2
9442 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9443 *** create shared libraries on Solaris systems. Therefore, libtool
9444 *** is disabling shared libraries support. We urge you to upgrade GNU
9445 *** binutils to release 2.9.1 or newer. Another option is to modify
9446 *** your PATH or compiler configuration so that the native linker is
9447 *** used, and then restart.
9449 _LT_EOF
9450 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9451 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9452 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9453 else
9454 ld_shlibs=no
9458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9459 case `$LD -v 2>&1` in
9460 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9461 ld_shlibs=no
9462 cat <<_LT_EOF 1>&2
9464 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9465 *** reliably create shared libraries on SCO systems. Therefore, libtool
9466 *** is disabling shared libraries support. We urge you to upgrade GNU
9467 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9468 *** your PATH or compiler configuration so that the native linker is
9469 *** used, and then restart.
9471 _LT_EOF
9474 # For security reasons, it is highly recommended that you always
9475 # use absolute paths for naming shared libraries, and exclude the
9476 # DT_RUNPATH tag from executables and libraries. But doing so
9477 # requires that you compile everything twice, which is a pain.
9478 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9479 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9480 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9481 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9482 else
9483 ld_shlibs=no
9486 esac
9489 sunos4*)
9490 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9491 wlarc=
9492 hardcode_direct=yes
9493 hardcode_shlibpath_var=no
9497 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9498 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500 else
9501 ld_shlibs=no
9504 esac
9506 if test "$ld_shlibs" = no; then
9507 runpath_var=
9508 hardcode_libdir_flag_spec=
9509 export_dynamic_flag_spec=
9510 whole_archive_flag_spec=
9512 else
9513 # PORTME fill in a description of your system's linker (not GNU ld)
9514 case $host_os in
9515 aix3*)
9516 allow_undefined_flag=unsupported
9517 always_export_symbols=yes
9518 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'
9519 # Note: this linker hardcodes the directories in LIBPATH if there
9520 # are no directories specified by -L.
9521 hardcode_minus_L=yes
9522 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9523 # Neither direct hardcoding nor static linking is supported with a
9524 # broken collect2.
9525 hardcode_direct=unsupported
9529 aix[4-9]*)
9530 if test "$host_cpu" = ia64; then
9531 # On IA64, the linker does run time linking by default, so we don't
9532 # have to do anything special.
9533 aix_use_runtimelinking=no
9534 exp_sym_flag='-Bexport'
9535 no_entry_flag=""
9536 else
9537 # If we're using GNU nm, then we don't want the "-C" option.
9538 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9539 # Also, AIX nm treats weak defined symbols like other global
9540 # defined symbols, whereas GNU nm marks them as "W".
9541 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9542 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'
9543 else
9544 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9546 aix_use_runtimelinking=no
9548 # Test if we are trying to use run time linking or normal
9549 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9550 # need to do runtime linking.
9551 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9552 for ld_flag in $LDFLAGS; do
9553 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9554 aix_use_runtimelinking=yes
9555 break
9557 done
9559 esac
9561 exp_sym_flag='-bexport'
9562 no_entry_flag='-bnoentry'
9565 # When large executables or shared objects are built, AIX ld can
9566 # have problems creating the table of contents. If linking a library
9567 # or program results in "error TOC overflow" add -mminimal-toc to
9568 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9569 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9571 archive_cmds=''
9572 hardcode_direct=yes
9573 hardcode_direct_absolute=yes
9574 hardcode_libdir_separator=':'
9575 link_all_deplibs=yes
9576 file_list_spec='${wl}-f,'
9578 if test "$GCC" = yes; then
9579 case $host_os in aix4.[012]|aix4.[012].*)
9580 # We only want to do this on AIX 4.2 and lower, the check
9581 # below for broken collect2 doesn't work under 4.3+
9582 collect2name=`${CC} -print-prog-name=collect2`
9583 if test -f "$collect2name" &&
9584 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9585 then
9586 # We have reworked collect2
9588 else
9589 # We have old collect2
9590 hardcode_direct=unsupported
9591 # It fails to find uninstalled libraries when the uninstalled
9592 # path is not listed in the libpath. Setting hardcode_minus_L
9593 # to unsupported forces relinking
9594 hardcode_minus_L=yes
9595 hardcode_libdir_flag_spec='-L$libdir'
9596 hardcode_libdir_separator=
9599 esac
9600 shared_flag='-shared'
9601 if test "$aix_use_runtimelinking" = yes; then
9602 shared_flag="$shared_flag "'${wl}-G'
9604 else
9605 # not using gcc
9606 if test "$host_cpu" = ia64; then
9607 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9608 # chokes on -Wl,-G. The following line is correct:
9609 shared_flag='-G'
9610 else
9611 if test "$aix_use_runtimelinking" = yes; then
9612 shared_flag='${wl}-G'
9613 else
9614 shared_flag='${wl}-bM:SRE'
9619 export_dynamic_flag_spec='${wl}-bexpall'
9620 # It seems that -bexpall does not export symbols beginning with
9621 # underscore (_), so it is better to generate a list of symbols to export.
9622 always_export_symbols=yes
9623 if test "$aix_use_runtimelinking" = yes; then
9624 # Warning - without using the other runtime loading flags (-brtl),
9625 # -berok will link without error, but may produce a broken library.
9626 allow_undefined_flag='-berok'
9627 # Determine the default libpath from the value encoded in an
9628 # empty executable.
9629 if test x$gcc_no_link = xyes; then
9630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9636 main ()
9640 return 0;
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9645 lt_aix_libpath_sed='
9646 /Import File Strings/,/^$/ {
9647 /^0/ {
9648 s/^0 *\(.*\)$/\1/
9652 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9653 # Check for a 64-bit object if we didn't find anything.
9654 if test -z "$aix_libpath"; then
9655 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9658 rm -f core conftest.err conftest.$ac_objext \
9659 conftest$ac_exeext conftest.$ac_ext
9660 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9662 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9663 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"
9664 else
9665 if test "$host_cpu" = ia64; then
9666 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9667 allow_undefined_flag="-z nodefs"
9668 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"
9669 else
9670 # Determine the default libpath from the value encoded in an
9671 # empty executable.
9672 if test x$gcc_no_link = xyes; then
9673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 /* end confdefs.h. */
9679 main ()
9683 return 0;
9685 _ACEOF
9686 if ac_fn_c_try_link "$LINENO"; then :
9688 lt_aix_libpath_sed='
9689 /Import File Strings/,/^$/ {
9690 /^0/ {
9691 s/^0 *\(.*\)$/\1/
9695 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9696 # Check for a 64-bit object if we didn't find anything.
9697 if test -z "$aix_libpath"; then
9698 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9701 rm -f core conftest.err conftest.$ac_objext \
9702 conftest$ac_exeext conftest.$ac_ext
9703 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9705 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9706 # Warning - without using the other run time loading flags,
9707 # -berok will link without error, but may produce a broken library.
9708 no_undefined_flag=' ${wl}-bernotok'
9709 allow_undefined_flag=' ${wl}-berok'
9710 if test "$with_gnu_ld" = yes; then
9711 # We only use this code for GNU lds that support --whole-archive.
9712 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9713 else
9714 # Exported symbols can be pulled into shared objects from archives
9715 whole_archive_flag_spec='$convenience'
9717 archive_cmds_need_lc=yes
9718 # This is similar to how AIX traditionally builds its shared libraries.
9719 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'
9724 amigaos*)
9725 case $host_cpu in
9726 powerpc)
9727 # see comment about AmigaOS4 .so support
9728 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729 archive_expsym_cmds=''
9731 m68k)
9732 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)'
9733 hardcode_libdir_flag_spec='-L$libdir'
9734 hardcode_minus_L=yes
9736 esac
9739 bsdi[45]*)
9740 export_dynamic_flag_spec=-rdynamic
9743 cygwin* | mingw* | pw32* | cegcc*)
9744 # When not using gcc, we currently assume that we are using
9745 # Microsoft Visual C++.
9746 # hardcode_libdir_flag_spec is actually meaningless, as there is
9747 # no search path for DLLs.
9748 hardcode_libdir_flag_spec=' '
9749 allow_undefined_flag=unsupported
9750 # Tell ltmain to make .lib files, not .a files.
9751 libext=lib
9752 # Tell ltmain to make .dll files, not .so files.
9753 shrext_cmds=".dll"
9754 # FIXME: Setting linknames here is a bad hack.
9755 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9756 # The linker will automatically build a .lib file if we build a DLL.
9757 old_archive_from_new_cmds='true'
9758 # FIXME: Should let the user specify the lib program.
9759 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9760 fix_srcfile_path='`cygpath -w "$srcfile"`'
9761 enable_shared_with_static_runtimes=yes
9764 darwin* | rhapsody*)
9767 archive_cmds_need_lc=no
9768 hardcode_direct=no
9769 hardcode_automatic=yes
9770 hardcode_shlibpath_var=unsupported
9771 if test "$lt_cv_ld_force_load" = "yes"; then
9772 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\"`'
9773 else
9774 whole_archive_flag_spec=''
9776 link_all_deplibs=yes
9777 allow_undefined_flag="$_lt_dar_allow_undefined"
9778 case $cc_basename in
9779 ifort*) _lt_dar_can_shared=yes ;;
9780 *) _lt_dar_can_shared=$GCC ;;
9781 esac
9782 if test "$_lt_dar_can_shared" = "yes"; then
9783 output_verbose_link_cmd=func_echo_all
9784 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9785 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9786 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}"
9787 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}"
9789 else
9790 ld_shlibs=no
9795 dgux*)
9796 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797 hardcode_libdir_flag_spec='-L$libdir'
9798 hardcode_shlibpath_var=no
9801 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9802 # support. Future versions do this automatically, but an explicit c++rt0.o
9803 # does not break anything, and helps significantly (at the cost of a little
9804 # extra space).
9805 freebsd2.2*)
9806 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9807 hardcode_libdir_flag_spec='-R$libdir'
9808 hardcode_direct=yes
9809 hardcode_shlibpath_var=no
9812 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9813 freebsd2.*)
9814 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9815 hardcode_direct=yes
9816 hardcode_minus_L=yes
9817 hardcode_shlibpath_var=no
9820 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9821 freebsd* | dragonfly*)
9822 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9823 hardcode_libdir_flag_spec='-R$libdir'
9824 hardcode_direct=yes
9825 hardcode_shlibpath_var=no
9828 hpux9*)
9829 if test "$GCC" = yes; then
9830 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'
9831 else
9832 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'
9834 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9835 hardcode_libdir_separator=:
9836 hardcode_direct=yes
9838 # hardcode_minus_L: Not really in the search PATH,
9839 # but as the default location of the library.
9840 hardcode_minus_L=yes
9841 export_dynamic_flag_spec='${wl}-E'
9844 hpux10*)
9845 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9846 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9847 else
9848 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9850 if test "$with_gnu_ld" = no; then
9851 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9852 hardcode_libdir_flag_spec_ld='+b $libdir'
9853 hardcode_libdir_separator=:
9854 hardcode_direct=yes
9855 hardcode_direct_absolute=yes
9856 export_dynamic_flag_spec='${wl}-E'
9857 # hardcode_minus_L: Not really in the search PATH,
9858 # but as the default location of the library.
9859 hardcode_minus_L=yes
9863 hpux11*)
9864 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9865 case $host_cpu in
9866 hppa*64*)
9867 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9869 ia64*)
9870 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9873 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9875 esac
9876 else
9877 case $host_cpu in
9878 hppa*64*)
9879 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9881 ia64*)
9882 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9886 # Older versions of the 11.00 compiler do not understand -b yet
9887 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9889 $as_echo_n "checking if $CC understands -b... " >&6; }
9890 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 lt_cv_prog_compiler__b=no
9894 save_LDFLAGS="$LDFLAGS"
9895 LDFLAGS="$LDFLAGS -b"
9896 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9897 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9898 # The linker can only warn and ignore the option if not recognized
9899 # So say no if there are warnings
9900 if test -s conftest.err; then
9901 # Append any errors to the config.log.
9902 cat conftest.err 1>&5
9903 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9904 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9905 if diff conftest.exp conftest.er2 >/dev/null; then
9906 lt_cv_prog_compiler__b=yes
9908 else
9909 lt_cv_prog_compiler__b=yes
9912 $RM -r conftest*
9913 LDFLAGS="$save_LDFLAGS"
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9917 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9919 if test x"$lt_cv_prog_compiler__b" = xyes; then
9920 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9921 else
9922 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9926 esac
9928 if test "$with_gnu_ld" = no; then
9929 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9930 hardcode_libdir_separator=:
9932 case $host_cpu in
9933 hppa*64*|ia64*)
9934 hardcode_direct=no
9935 hardcode_shlibpath_var=no
9938 hardcode_direct=yes
9939 hardcode_direct_absolute=yes
9940 export_dynamic_flag_spec='${wl}-E'
9942 # hardcode_minus_L: Not really in the search PATH,
9943 # but as the default location of the library.
9944 hardcode_minus_L=yes
9946 esac
9950 irix5* | irix6* | nonstopux*)
9951 if test "$GCC" = yes; then
9952 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'
9953 # Try to use the -exported_symbol ld option, if it does not
9954 # work, assume that -exports_file does not work either and
9955 # implicitly export all symbols.
9956 save_LDFLAGS="$LDFLAGS"
9957 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9958 if test x$gcc_no_link = xyes; then
9959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963 int foo(void) {}
9964 _ACEOF
9965 if ac_fn_c_try_link "$LINENO"; then :
9966 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'
9969 rm -f core conftest.err conftest.$ac_objext \
9970 conftest$ac_exeext conftest.$ac_ext
9971 LDFLAGS="$save_LDFLAGS"
9972 else
9973 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'
9974 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'
9976 archive_cmds_need_lc='no'
9977 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9978 hardcode_libdir_separator=:
9979 inherit_rpath=yes
9980 link_all_deplibs=yes
9983 netbsd*)
9984 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9985 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9986 else
9987 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9989 hardcode_libdir_flag_spec='-R$libdir'
9990 hardcode_direct=yes
9991 hardcode_shlibpath_var=no
9994 newsos6)
9995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9996 hardcode_direct=yes
9997 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9998 hardcode_libdir_separator=:
9999 hardcode_shlibpath_var=no
10002 *nto* | *qnx*)
10005 openbsd*)
10006 if test -f /usr/libexec/ld.so; then
10007 hardcode_direct=yes
10008 hardcode_shlibpath_var=no
10009 hardcode_direct_absolute=yes
10010 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10011 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10012 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10013 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10014 export_dynamic_flag_spec='${wl}-E'
10015 else
10016 case $host_os in
10017 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10018 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_libdir_flag_spec='-R$libdir'
10022 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10023 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10025 esac
10027 else
10028 ld_shlibs=no
10032 os2*)
10033 hardcode_libdir_flag_spec='-L$libdir'
10034 hardcode_minus_L=yes
10035 allow_undefined_flag=unsupported
10036 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'
10037 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10040 osf3*)
10041 if test "$GCC" = yes; then
10042 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10043 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'
10044 else
10045 allow_undefined_flag=' -expect_unresolved \*'
10046 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'
10048 archive_cmds_need_lc='no'
10049 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10050 hardcode_libdir_separator=:
10053 osf4* | osf5*) # as osf3* with the addition of -msym flag
10054 if test "$GCC" = yes; then
10055 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10056 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'
10057 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10058 else
10059 allow_undefined_flag=' -expect_unresolved \*'
10060 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'
10061 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~
10062 $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'
10064 # Both c and cxx compiler support -rpath directly
10065 hardcode_libdir_flag_spec='-rpath $libdir'
10067 archive_cmds_need_lc='no'
10068 hardcode_libdir_separator=:
10071 solaris*)
10072 no_undefined_flag=' -z defs'
10073 if test "$GCC" = yes; then
10074 wlarc='${wl}'
10075 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10077 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10078 else
10079 case `$CC -V 2>&1` in
10080 *"Compilers 5.0"*)
10081 wlarc=''
10082 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10083 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10084 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10087 wlarc='${wl}'
10088 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10090 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10092 esac
10094 hardcode_libdir_flag_spec='-R$libdir'
10095 hardcode_shlibpath_var=no
10096 case $host_os in
10097 solaris2.[0-5] | solaris2.[0-5].*) ;;
10099 # The compiler driver will combine and reorder linker options,
10100 # but understands `-z linker_flag'. GCC discards it without `$wl',
10101 # but is careful enough not to reorder.
10102 # Supported since Solaris 2.6 (maybe 2.5.1?)
10103 if test "$GCC" = yes; then
10104 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10105 else
10106 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10109 esac
10110 link_all_deplibs=yes
10113 sunos4*)
10114 if test "x$host_vendor" = xsequent; then
10115 # Use $CC to link under sequent, because it throws in some extra .o
10116 # files that make .init and .fini sections work.
10117 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10118 else
10119 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10121 hardcode_libdir_flag_spec='-L$libdir'
10122 hardcode_direct=yes
10123 hardcode_minus_L=yes
10124 hardcode_shlibpath_var=no
10127 sysv4)
10128 case $host_vendor in
10129 sni)
10130 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131 hardcode_direct=yes # is this really true???
10133 siemens)
10134 ## LD is ld it makes a PLAMLIB
10135 ## CC just makes a GrossModule.
10136 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10137 reload_cmds='$CC -r -o $output$reload_objs'
10138 hardcode_direct=no
10140 motorola)
10141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10144 esac
10145 runpath_var='LD_RUN_PATH'
10146 hardcode_shlibpath_var=no
10149 sysv4.3*)
10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_shlibpath_var=no
10152 export_dynamic_flag_spec='-Bexport'
10155 sysv4*MP*)
10156 if test -d /usr/nec; then
10157 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10158 hardcode_shlibpath_var=no
10159 runpath_var=LD_RUN_PATH
10160 hardcode_runpath_var=yes
10161 ld_shlibs=yes
10165 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10166 no_undefined_flag='${wl}-z,text'
10167 archive_cmds_need_lc=no
10168 hardcode_shlibpath_var=no
10169 runpath_var='LD_RUN_PATH'
10171 if test "$GCC" = yes; then
10172 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10173 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 else
10175 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10176 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 sysv5* | sco3.2v5* | sco5v6*)
10181 # Note: We can NOT use -z defs as we might desire, because we do not
10182 # link with -lc, and that would cause any symbols used from libc to
10183 # always be unresolved, which means just about no library would
10184 # ever link correctly. If we're not using GNU ld we use -z text
10185 # though, which does catch some bad symbols but isn't as heavy-handed
10186 # as -z defs.
10187 no_undefined_flag='${wl}-z,text'
10188 allow_undefined_flag='${wl}-z,nodefs'
10189 archive_cmds_need_lc=no
10190 hardcode_shlibpath_var=no
10191 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10192 hardcode_libdir_separator=':'
10193 link_all_deplibs=yes
10194 export_dynamic_flag_spec='${wl}-Bexport'
10195 runpath_var='LD_RUN_PATH'
10197 if test "$GCC" = yes; then
10198 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10199 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 else
10201 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10202 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206 uts4*)
10207 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208 hardcode_libdir_flag_spec='-L$libdir'
10209 hardcode_shlibpath_var=no
10213 ld_shlibs=no
10215 esac
10217 if test x$host_vendor = xsni; then
10218 case $host in
10219 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10220 export_dynamic_flag_spec='${wl}-Blargedynsym'
10222 esac
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10227 $as_echo "$ld_shlibs" >&6; }
10228 test "$ld_shlibs" = no && can_build_shared=no
10230 with_gnu_ld=$with_gnu_ld
10247 # Do we need to explicitly link libc?
10249 case "x$archive_cmds_need_lc" in
10250 x|xyes)
10251 # Assume -lc should be added
10252 archive_cmds_need_lc=yes
10254 if test "$enable_shared" = yes && test "$GCC" = yes; then
10255 case $archive_cmds in
10256 *'~'*)
10257 # FIXME: we may have to deal with multi-command sequences.
10259 '$CC '*)
10260 # Test whether the compiler implicitly links with -lc since on some
10261 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10262 # to ld, don't add -lc before -lgcc.
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10264 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10265 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 $RM conftest*
10269 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10271 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10272 (eval $ac_compile) 2>&5
10273 ac_status=$?
10274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10275 test $ac_status = 0; } 2>conftest.err; then
10276 soname=conftest
10277 lib=conftest
10278 libobjs=conftest.$ac_objext
10279 deplibs=
10280 wl=$lt_prog_compiler_wl
10281 pic_flag=$lt_prog_compiler_pic
10282 compiler_flags=-v
10283 linker_flags=-v
10284 verstring=
10285 output_objdir=.
10286 libname=conftest
10287 lt_save_allow_undefined_flag=$allow_undefined_flag
10288 allow_undefined_flag=
10289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10290 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10291 ac_status=$?
10292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10293 test $ac_status = 0; }
10294 then
10295 lt_cv_archive_cmds_need_lc=no
10296 else
10297 lt_cv_archive_cmds_need_lc=yes
10299 allow_undefined_flag=$lt_save_allow_undefined_flag
10300 else
10301 cat conftest.err 1>&5
10303 $RM conftest*
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10307 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10308 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10310 esac
10313 esac
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10472 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10474 if test "$GCC" = yes; then
10475 case $host_os in
10476 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10477 *) lt_awk_arg="/^libraries:/" ;;
10478 esac
10479 case $host_os in
10480 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10481 *) lt_sed_strip_eq="s,=/,/,g" ;;
10482 esac
10483 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10484 case $lt_search_path_spec in
10485 *\;*)
10486 # if the path contains ";" then we assume it to be the separator
10487 # otherwise default to the standard path separator (i.e. ":") - it is
10488 # assumed that no part of a normal pathname contains ";" but that should
10489 # okay in the real world where ";" in dirpaths is itself problematic.
10490 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10493 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10495 esac
10496 # Ok, now we have the path, separated by spaces, we can step through it
10497 # and add multilib dir if necessary.
10498 lt_tmp_lt_search_path_spec=
10499 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10500 for lt_sys_path in $lt_search_path_spec; do
10501 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10502 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10503 else
10504 test -d "$lt_sys_path" && \
10505 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10507 done
10508 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10509 BEGIN {RS=" "; FS="/|\n";} {
10510 lt_foo="";
10511 lt_count=0;
10512 for (lt_i = NF; lt_i > 0; lt_i--) {
10513 if ($lt_i != "" && $lt_i != ".") {
10514 if ($lt_i == "..") {
10515 lt_count++;
10516 } else {
10517 if (lt_count == 0) {
10518 lt_foo="/" $lt_i lt_foo;
10519 } else {
10520 lt_count--;
10525 if (lt_foo != "") { lt_freq[lt_foo]++; }
10526 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10528 # AWK program above erroneously prepends '/' to C:/dos/paths
10529 # for these hosts.
10530 case $host_os in
10531 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10532 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10533 esac
10534 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10535 else
10536 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10538 library_names_spec=
10539 libname_spec='lib$name'
10540 soname_spec=
10541 shrext_cmds=".so"
10542 postinstall_cmds=
10543 postuninstall_cmds=
10544 finish_cmds=
10545 finish_eval=
10546 shlibpath_var=
10547 shlibpath_overrides_runpath=unknown
10548 version_type=none
10549 dynamic_linker="$host_os ld.so"
10550 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10551 need_lib_prefix=unknown
10552 hardcode_into_libs=no
10554 # when you set need_version to no, make sure it does not cause -set_version
10555 # flags to be left without arguments
10556 need_version=unknown
10558 case $host_os in
10559 aix3*)
10560 version_type=linux
10561 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10562 shlibpath_var=LIBPATH
10564 # AIX 3 has no versioning support, so we append a major version to the name.
10565 soname_spec='${libname}${release}${shared_ext}$major'
10568 aix[4-9]*)
10569 version_type=linux
10570 need_lib_prefix=no
10571 need_version=no
10572 hardcode_into_libs=yes
10573 if test "$host_cpu" = ia64; then
10574 # AIX 5 supports IA64
10575 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10576 shlibpath_var=LD_LIBRARY_PATH
10577 else
10578 # With GCC up to 2.95.x, collect2 would create an import file
10579 # for dependence libraries. The import file would start with
10580 # the line `#! .'. This would cause the generated library to
10581 # depend on `.', always an invalid library. This was fixed in
10582 # development snapshots of GCC prior to 3.0.
10583 case $host_os in
10584 aix4 | aix4.[01] | aix4.[01].*)
10585 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10586 echo ' yes '
10587 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10589 else
10590 can_build_shared=no
10593 esac
10594 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10595 # soname into executable. Probably we can add versioning support to
10596 # collect2, so additional links can be useful in future.
10597 if test "$aix_use_runtimelinking" = yes; then
10598 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10599 # instead of lib<name>.a to let people know that these are not
10600 # typical AIX shared libraries.
10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602 else
10603 # We preserve .a as extension for shared libraries through AIX4.2
10604 # and later when we are not doing run time linking.
10605 library_names_spec='${libname}${release}.a $libname.a'
10606 soname_spec='${libname}${release}${shared_ext}$major'
10608 shlibpath_var=LIBPATH
10612 amigaos*)
10613 case $host_cpu in
10614 powerpc)
10615 # Since July 2007 AmigaOS4 officially supports .so libraries.
10616 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10619 m68k)
10620 library_names_spec='$libname.ixlibrary $libname.a'
10621 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10622 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'
10624 esac
10627 beos*)
10628 library_names_spec='${libname}${shared_ext}'
10629 dynamic_linker="$host_os ld.so"
10630 shlibpath_var=LIBRARY_PATH
10633 bsdi[45]*)
10634 version_type=linux
10635 need_version=no
10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10637 soname_spec='${libname}${release}${shared_ext}$major'
10638 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10639 shlibpath_var=LD_LIBRARY_PATH
10640 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10641 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10642 # the default ld.so.conf also contains /usr/contrib/lib and
10643 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10644 # libtool to hard-code these into programs
10647 cygwin* | mingw* | pw32* | cegcc*)
10648 version_type=windows
10649 shrext_cmds=".dll"
10650 need_version=no
10651 need_lib_prefix=no
10653 case $GCC,$host_os in
10654 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10655 library_names_spec='$libname.dll.a'
10656 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10657 postinstall_cmds='base_file=`basename \${file}`~
10658 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10659 dldir=$destdir/`dirname \$dlpath`~
10660 test -d \$dldir || mkdir -p \$dldir~
10661 $install_prog $dir/$dlname \$dldir/$dlname~
10662 chmod a+x \$dldir/$dlname~
10663 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10664 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10666 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10667 dlpath=$dir/\$dldll~
10668 $RM \$dlpath'
10669 shlibpath_overrides_runpath=yes
10671 case $host_os in
10672 cygwin*)
10673 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10674 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10676 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10678 mingw* | cegcc*)
10679 # MinGW DLLs use traditional 'lib' prefix
10680 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10682 pw32*)
10683 # pw32 DLLs use 'pw' prefix rather than 'lib'
10684 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10686 esac
10690 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10692 esac
10693 dynamic_linker='Win32 ld.exe'
10694 # FIXME: first we should search . and the directory the executable is in
10695 shlibpath_var=PATH
10698 darwin* | rhapsody*)
10699 dynamic_linker="$host_os dyld"
10700 version_type=darwin
10701 need_lib_prefix=no
10702 need_version=no
10703 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10704 soname_spec='${libname}${release}${major}$shared_ext'
10705 shlibpath_overrides_runpath=yes
10706 shlibpath_var=DYLD_LIBRARY_PATH
10707 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10709 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10710 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10713 dgux*)
10714 version_type=linux
10715 need_lib_prefix=no
10716 need_version=no
10717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10718 soname_spec='${libname}${release}${shared_ext}$major'
10719 shlibpath_var=LD_LIBRARY_PATH
10722 freebsd* | dragonfly*)
10723 # DragonFly does not have aout. When/if they implement a new
10724 # versioning mechanism, adjust this.
10725 if test -x /usr/bin/objformat; then
10726 objformat=`/usr/bin/objformat`
10727 else
10728 case $host_os in
10729 freebsd[23].*) objformat=aout ;;
10730 *) objformat=elf ;;
10731 esac
10733 version_type=freebsd-$objformat
10734 case $version_type in
10735 freebsd-elf*)
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10737 need_version=no
10738 need_lib_prefix=no
10740 freebsd-*)
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10742 need_version=yes
10744 esac
10745 shlibpath_var=LD_LIBRARY_PATH
10746 case $host_os in
10747 freebsd2.*)
10748 shlibpath_overrides_runpath=yes
10750 freebsd3.[01]* | freebsdelf3.[01]*)
10751 shlibpath_overrides_runpath=yes
10752 hardcode_into_libs=yes
10754 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10755 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10756 shlibpath_overrides_runpath=no
10757 hardcode_into_libs=yes
10759 *) # from 4.6 on, and DragonFly
10760 shlibpath_overrides_runpath=yes
10761 hardcode_into_libs=yes
10763 esac
10766 gnu*)
10767 version_type=linux
10768 need_lib_prefix=no
10769 need_version=no
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10771 soname_spec='${libname}${release}${shared_ext}$major'
10772 shlibpath_var=LD_LIBRARY_PATH
10773 hardcode_into_libs=yes
10776 haiku*)
10777 version_type=linux
10778 need_lib_prefix=no
10779 need_version=no
10780 dynamic_linker="$host_os runtime_loader"
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10782 soname_spec='${libname}${release}${shared_ext}$major'
10783 shlibpath_var=LIBRARY_PATH
10784 shlibpath_overrides_runpath=yes
10785 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10786 hardcode_into_libs=yes
10789 hpux9* | hpux10* | hpux11*)
10790 # Give a soname corresponding to the major version so that dld.sl refuses to
10791 # link against other versions.
10792 version_type=sunos
10793 need_lib_prefix=no
10794 need_version=no
10795 case $host_cpu in
10796 ia64*)
10797 shrext_cmds='.so'
10798 hardcode_into_libs=yes
10799 dynamic_linker="$host_os dld.so"
10800 shlibpath_var=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10803 soname_spec='${libname}${release}${shared_ext}$major'
10804 if test "X$HPUX_IA64_MODE" = X32; then
10805 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10806 else
10807 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10809 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10811 hppa*64*)
10812 shrext_cmds='.sl'
10813 hardcode_into_libs=yes
10814 dynamic_linker="$host_os dld.sl"
10815 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10816 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10823 shrext_cmds='.sl'
10824 dynamic_linker="$host_os dld.sl"
10825 shlibpath_var=SHLIB_PATH
10826 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec='${libname}${release}${shared_ext}$major'
10830 esac
10831 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10832 postinstall_cmds='chmod 555 $lib'
10833 # or fails outright, so override atomically:
10834 install_override_mode=555
10837 interix[3-9]*)
10838 version_type=linux
10839 need_lib_prefix=no
10840 need_version=no
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10842 soname_spec='${libname}${release}${shared_ext}$major'
10843 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath=no
10846 hardcode_into_libs=yes
10849 irix5* | irix6* | nonstopux*)
10850 case $host_os in
10851 nonstopux*) version_type=nonstopux ;;
10853 if test "$lt_cv_prog_gnu_ld" = yes; then
10854 version_type=linux
10855 else
10856 version_type=irix
10857 fi ;;
10858 esac
10859 need_lib_prefix=no
10860 need_version=no
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10863 case $host_os in
10864 irix5* | nonstopux*)
10865 libsuff= shlibsuff=
10868 case $LD in # libtool.m4 will add one of these switches to LD
10869 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10870 libsuff= shlibsuff= libmagic=32-bit;;
10871 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10872 libsuff=32 shlibsuff=N32 libmagic=N32;;
10873 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10874 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10875 *) libsuff= shlibsuff= libmagic=never-match;;
10876 esac
10878 esac
10879 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10880 shlibpath_overrides_runpath=no
10881 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10882 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10883 hardcode_into_libs=yes
10886 # No shared lib support for Linux oldld, aout, or coff.
10887 linux*oldld* | linux*aout* | linux*coff*)
10888 dynamic_linker=no
10891 # This must be Linux ELF.
10892 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10893 version_type=linux
10894 need_lib_prefix=no
10895 need_version=no
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 shlibpath_overrides_runpath=no
10902 # Some binutils ld are patched to set DT_RUNPATH
10903 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10904 $as_echo_n "(cached) " >&6
10905 else
10906 lt_cv_shlibpath_overrides_runpath=no
10907 save_LDFLAGS=$LDFLAGS
10908 save_libdir=$libdir
10909 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10910 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10911 if test x$gcc_no_link = xyes; then
10912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10918 main ()
10922 return 0;
10924 _ACEOF
10925 if ac_fn_c_try_link "$LINENO"; then :
10926 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10927 lt_cv_shlibpath_overrides_runpath=yes
10930 rm -f core conftest.err conftest.$ac_objext \
10931 conftest$ac_exeext conftest.$ac_ext
10932 LDFLAGS=$save_LDFLAGS
10933 libdir=$save_libdir
10937 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10939 # This implies no fast_install, which is unacceptable.
10940 # Some rework will be needed to allow for fast_install
10941 # before this can be enabled.
10942 hardcode_into_libs=yes
10944 # Append ld.so.conf contents to the search path
10945 if test -f /etc/ld.so.conf; then
10946 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' ' '`
10947 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10950 # We used to test for /lib/ld.so.1 and disable shared libraries on
10951 # powerpc, because MkLinux only supported shared libraries with the
10952 # GNU dynamic linker. Since this was broken with cross compilers,
10953 # most powerpc-linux boxes support dynamic linking these days and
10954 # people can always --disable-shared, the test was removed, and we
10955 # assume the GNU/Linux dynamic linker is in use.
10956 dynamic_linker='GNU/Linux ld.so'
10959 netbsd*)
10960 version_type=sunos
10961 need_lib_prefix=no
10962 need_version=no
10963 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10965 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10966 dynamic_linker='NetBSD (a.out) ld.so'
10967 else
10968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10969 soname_spec='${libname}${release}${shared_ext}$major'
10970 dynamic_linker='NetBSD ld.elf_so'
10972 shlibpath_var=LD_LIBRARY_PATH
10973 shlibpath_overrides_runpath=yes
10974 hardcode_into_libs=yes
10977 newsos6)
10978 version_type=linux
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10984 *nto* | *qnx*)
10985 version_type=qnx
10986 need_lib_prefix=no
10987 need_version=no
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 soname_spec='${libname}${release}${shared_ext}$major'
10990 shlibpath_var=LD_LIBRARY_PATH
10991 shlibpath_overrides_runpath=no
10992 hardcode_into_libs=yes
10993 dynamic_linker='ldqnx.so'
10996 openbsd*)
10997 version_type=sunos
10998 sys_lib_dlsearch_path_spec="/usr/lib"
10999 need_lib_prefix=no
11000 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11001 case $host_os in
11002 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11003 *) need_version=no ;;
11004 esac
11005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11006 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11007 shlibpath_var=LD_LIBRARY_PATH
11008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11009 case $host_os in
11010 openbsd2.[89] | openbsd2.[89].*)
11011 shlibpath_overrides_runpath=no
11014 shlibpath_overrides_runpath=yes
11016 esac
11017 else
11018 shlibpath_overrides_runpath=yes
11022 os2*)
11023 libname_spec='$name'
11024 shrext_cmds=".dll"
11025 need_lib_prefix=no
11026 library_names_spec='$libname${shared_ext} $libname.a'
11027 dynamic_linker='OS/2 ld.exe'
11028 shlibpath_var=LIBPATH
11031 osf3* | osf4* | osf5*)
11032 version_type=osf
11033 need_lib_prefix=no
11034 need_version=no
11035 soname_spec='${libname}${release}${shared_ext}$major'
11036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037 shlibpath_var=LD_LIBRARY_PATH
11038 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11039 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11042 rdos*)
11043 dynamic_linker=no
11046 solaris*)
11047 version_type=linux
11048 need_lib_prefix=no
11049 need_version=no
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11051 soname_spec='${libname}${release}${shared_ext}$major'
11052 shlibpath_var=LD_LIBRARY_PATH
11053 shlibpath_overrides_runpath=yes
11054 hardcode_into_libs=yes
11055 # ldd complains unless libraries are executable
11056 postinstall_cmds='chmod +x $lib'
11059 sunos4*)
11060 version_type=sunos
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11062 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11063 shlibpath_var=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath=yes
11065 if test "$with_gnu_ld" = yes; then
11066 need_lib_prefix=no
11068 need_version=yes
11071 sysv4 | sysv4.3*)
11072 version_type=linux
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 case $host_vendor in
11077 sni)
11078 shlibpath_overrides_runpath=no
11079 need_lib_prefix=no
11080 runpath_var=LD_RUN_PATH
11082 siemens)
11083 need_lib_prefix=no
11085 motorola)
11086 need_lib_prefix=no
11087 need_version=no
11088 shlibpath_overrides_runpath=no
11089 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11091 esac
11094 sysv4*MP*)
11095 if test -d /usr/nec ;then
11096 version_type=linux
11097 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11098 soname_spec='$libname${shared_ext}.$major'
11099 shlibpath_var=LD_LIBRARY_PATH
11103 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11104 version_type=freebsd-elf
11105 need_lib_prefix=no
11106 need_version=no
11107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11108 soname_spec='${libname}${release}${shared_ext}$major'
11109 shlibpath_var=LD_LIBRARY_PATH
11110 shlibpath_overrides_runpath=yes
11111 hardcode_into_libs=yes
11112 if test "$with_gnu_ld" = yes; then
11113 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11114 else
11115 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11116 case $host_os in
11117 sco3.2v5*)
11118 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11120 esac
11122 sys_lib_dlsearch_path_spec='/usr/lib'
11125 tpf*)
11126 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11127 version_type=linux
11128 need_lib_prefix=no
11129 need_version=no
11130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11131 shlibpath_var=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath=no
11133 hardcode_into_libs=yes
11136 uts4*)
11137 version_type=linux
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11139 soname_spec='${libname}${release}${shared_ext}$major'
11140 shlibpath_var=LD_LIBRARY_PATH
11144 dynamic_linker=no
11146 esac
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11148 $as_echo "$dynamic_linker" >&6; }
11149 test "$dynamic_linker" = no && can_build_shared=no
11151 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11152 if test "$GCC" = yes; then
11153 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11156 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11157 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11159 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11160 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11255 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11256 hardcode_action=
11257 if test -n "$hardcode_libdir_flag_spec" ||
11258 test -n "$runpath_var" ||
11259 test "X$hardcode_automatic" = "Xyes" ; then
11261 # We can hardcode non-existent directories.
11262 if test "$hardcode_direct" != no &&
11263 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11264 # have to relink, otherwise we might link with an installed library
11265 # when we should be linking with a yet-to-be-installed one
11266 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11267 test "$hardcode_minus_L" != no; then
11268 # Linking always hardcodes the temporary library directory.
11269 hardcode_action=relink
11270 else
11271 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11272 hardcode_action=immediate
11274 else
11275 # We cannot hardcode anything, or else we can only hardcode existing
11276 # directories.
11277 hardcode_action=unsupported
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11280 $as_echo "$hardcode_action" >&6; }
11282 if test "$hardcode_action" = relink ||
11283 test "$inherit_rpath" = yes; then
11284 # Fast installation is not supported
11285 enable_fast_install=no
11286 elif test "$shlibpath_overrides_runpath" = yes ||
11287 test "$enable_shared" = no; then
11288 # Fast installation is not necessary
11289 enable_fast_install=needless
11297 if test "x$enable_dlopen" != xyes; then
11298 enable_dlopen=unknown
11299 enable_dlopen_self=unknown
11300 enable_dlopen_self_static=unknown
11301 else
11302 lt_cv_dlopen=no
11303 lt_cv_dlopen_libs=
11305 case $host_os in
11306 beos*)
11307 lt_cv_dlopen="load_add_on"
11308 lt_cv_dlopen_libs=
11309 lt_cv_dlopen_self=yes
11312 mingw* | pw32* | cegcc*)
11313 lt_cv_dlopen="LoadLibrary"
11314 lt_cv_dlopen_libs=
11317 cygwin*)
11318 lt_cv_dlopen="dlopen"
11319 lt_cv_dlopen_libs=
11322 darwin*)
11323 # if libdl is installed we need to link against it
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11325 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11326 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_lib_save_LIBS=$LIBS
11330 LIBS="-ldl $LIBS"
11331 if test x$gcc_no_link = xyes; then
11332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11340 #ifdef __cplusplus
11341 extern "C"
11342 #endif
11343 char dlopen ();
11345 main ()
11347 return dlopen ();
11349 return 0;
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 ac_cv_lib_dl_dlopen=yes
11354 else
11355 ac_cv_lib_dl_dlopen=no
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_lib_save_LIBS
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11362 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11363 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11364 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11365 else
11367 lt_cv_dlopen="dyld"
11368 lt_cv_dlopen_libs=
11369 lt_cv_dlopen_self=yes
11376 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11377 if test "x$ac_cv_func_shl_load" = x""yes; then :
11378 lt_cv_dlopen="shl_load"
11379 else
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11381 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11382 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11383 $as_echo_n "(cached) " >&6
11384 else
11385 ac_check_lib_save_LIBS=$LIBS
11386 LIBS="-ldld $LIBS"
11387 if test x$gcc_no_link = xyes; then
11388 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char shl_load ();
11401 main ()
11403 return shl_load ();
11405 return 0;
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 ac_cv_lib_dld_shl_load=yes
11410 else
11411 ac_cv_lib_dld_shl_load=no
11413 rm -f core conftest.err conftest.$ac_objext \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_lib_save_LIBS
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11418 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11419 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11420 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11421 else
11422 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11423 if test "x$ac_cv_func_dlopen" = x""yes; then :
11424 lt_cv_dlopen="dlopen"
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11427 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11428 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_lib_save_LIBS=$LIBS
11432 LIBS="-ldl $LIBS"
11433 if test x$gcc_no_link = xyes; then
11434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11442 #ifdef __cplusplus
11443 extern "C"
11444 #endif
11445 char dlopen ();
11447 main ()
11449 return dlopen ();
11451 return 0;
11453 _ACEOF
11454 if ac_fn_c_try_link "$LINENO"; then :
11455 ac_cv_lib_dl_dlopen=yes
11456 else
11457 ac_cv_lib_dl_dlopen=no
11459 rm -f core conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11464 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11465 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11466 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11467 else
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11469 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11470 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11471 $as_echo_n "(cached) " >&6
11472 else
11473 ac_check_lib_save_LIBS=$LIBS
11474 LIBS="-lsvld $LIBS"
11475 if test x$gcc_no_link = xyes; then
11476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11484 #ifdef __cplusplus
11485 extern "C"
11486 #endif
11487 char dlopen ();
11489 main ()
11491 return dlopen ();
11493 return 0;
11495 _ACEOF
11496 if ac_fn_c_try_link "$LINENO"; then :
11497 ac_cv_lib_svld_dlopen=yes
11498 else
11499 ac_cv_lib_svld_dlopen=no
11501 rm -f core conftest.err conftest.$ac_objext \
11502 conftest$ac_exeext conftest.$ac_ext
11503 LIBS=$ac_check_lib_save_LIBS
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11506 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11507 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11508 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11509 else
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11511 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11512 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11513 $as_echo_n "(cached) " >&6
11514 else
11515 ac_check_lib_save_LIBS=$LIBS
11516 LIBS="-ldld $LIBS"
11517 if test x$gcc_no_link = xyes; then
11518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11526 #ifdef __cplusplus
11527 extern "C"
11528 #endif
11529 char dld_link ();
11531 main ()
11533 return dld_link ();
11535 return 0;
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"; then :
11539 ac_cv_lib_dld_dld_link=yes
11540 else
11541 ac_cv_lib_dld_dld_link=no
11543 rm -f core conftest.err conftest.$ac_objext \
11544 conftest$ac_exeext conftest.$ac_ext
11545 LIBS=$ac_check_lib_save_LIBS
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11548 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11549 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11550 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11569 esac
11571 if test "x$lt_cv_dlopen" != xno; then
11572 enable_dlopen=yes
11573 else
11574 enable_dlopen=no
11577 case $lt_cv_dlopen in
11578 dlopen)
11579 save_CPPFLAGS="$CPPFLAGS"
11580 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11582 save_LDFLAGS="$LDFLAGS"
11583 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11585 save_LIBS="$LIBS"
11586 LIBS="$lt_cv_dlopen_libs $LIBS"
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11589 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11590 if test "${lt_cv_dlopen_self+set}" = set; then :
11591 $as_echo_n "(cached) " >&6
11592 else
11593 if test "$cross_compiling" = yes; then :
11594 lt_cv_dlopen_self=cross
11595 else
11596 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11597 lt_status=$lt_dlunknown
11598 cat > conftest.$ac_ext <<_LT_EOF
11599 #line 11599 "configure"
11600 #include "confdefs.h"
11602 #if HAVE_DLFCN_H
11603 #include <dlfcn.h>
11604 #endif
11606 #include <stdio.h>
11608 #ifdef RTLD_GLOBAL
11609 # define LT_DLGLOBAL RTLD_GLOBAL
11610 #else
11611 # ifdef DL_GLOBAL
11612 # define LT_DLGLOBAL DL_GLOBAL
11613 # else
11614 # define LT_DLGLOBAL 0
11615 # endif
11616 #endif
11618 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11619 find out it does not work in some platform. */
11620 #ifndef LT_DLLAZY_OR_NOW
11621 # ifdef RTLD_LAZY
11622 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11623 # else
11624 # ifdef DL_LAZY
11625 # define LT_DLLAZY_OR_NOW DL_LAZY
11626 # else
11627 # ifdef RTLD_NOW
11628 # define LT_DLLAZY_OR_NOW RTLD_NOW
11629 # else
11630 # ifdef DL_NOW
11631 # define LT_DLLAZY_OR_NOW DL_NOW
11632 # else
11633 # define LT_DLLAZY_OR_NOW 0
11634 # endif
11635 # endif
11636 # endif
11637 # endif
11638 #endif
11640 /* When -fvisbility=hidden is used, assume the code has been annotated
11641 correspondingly for the symbols needed. */
11642 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11643 void fnord () __attribute__((visibility("default")));
11644 #endif
11646 void fnord () { int i=42; }
11647 int main ()
11649 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11650 int status = $lt_dlunknown;
11652 if (self)
11654 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11655 else
11657 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11658 else puts (dlerror ());
11660 /* dlclose (self); */
11662 else
11663 puts (dlerror ());
11665 return status;
11667 _LT_EOF
11668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11669 (eval $ac_link) 2>&5
11670 ac_status=$?
11671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11672 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11673 (./conftest; exit; ) >&5 2>/dev/null
11674 lt_status=$?
11675 case x$lt_status in
11676 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11677 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11678 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11679 esac
11680 else :
11681 # compilation failed
11682 lt_cv_dlopen_self=no
11685 rm -fr conftest*
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11690 $as_echo "$lt_cv_dlopen_self" >&6; }
11692 if test "x$lt_cv_dlopen_self" = xyes; then
11693 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11695 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11696 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11697 $as_echo_n "(cached) " >&6
11698 else
11699 if test "$cross_compiling" = yes; then :
11700 lt_cv_dlopen_self_static=cross
11701 else
11702 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11703 lt_status=$lt_dlunknown
11704 cat > conftest.$ac_ext <<_LT_EOF
11705 #line 11705 "configure"
11706 #include "confdefs.h"
11708 #if HAVE_DLFCN_H
11709 #include <dlfcn.h>
11710 #endif
11712 #include <stdio.h>
11714 #ifdef RTLD_GLOBAL
11715 # define LT_DLGLOBAL RTLD_GLOBAL
11716 #else
11717 # ifdef DL_GLOBAL
11718 # define LT_DLGLOBAL DL_GLOBAL
11719 # else
11720 # define LT_DLGLOBAL 0
11721 # endif
11722 #endif
11724 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11725 find out it does not work in some platform. */
11726 #ifndef LT_DLLAZY_OR_NOW
11727 # ifdef RTLD_LAZY
11728 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11729 # else
11730 # ifdef DL_LAZY
11731 # define LT_DLLAZY_OR_NOW DL_LAZY
11732 # else
11733 # ifdef RTLD_NOW
11734 # define LT_DLLAZY_OR_NOW RTLD_NOW
11735 # else
11736 # ifdef DL_NOW
11737 # define LT_DLLAZY_OR_NOW DL_NOW
11738 # else
11739 # define LT_DLLAZY_OR_NOW 0
11740 # endif
11741 # endif
11742 # endif
11743 # endif
11744 #endif
11746 /* When -fvisbility=hidden is used, assume the code has been annotated
11747 correspondingly for the symbols needed. */
11748 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11749 void fnord () __attribute__((visibility("default")));
11750 #endif
11752 void fnord () { int i=42; }
11753 int main ()
11755 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11756 int status = $lt_dlunknown;
11758 if (self)
11760 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11761 else
11763 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11764 else puts (dlerror ());
11766 /* dlclose (self); */
11768 else
11769 puts (dlerror ());
11771 return status;
11773 _LT_EOF
11774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11775 (eval $ac_link) 2>&5
11776 ac_status=$?
11777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11778 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11779 (./conftest; exit; ) >&5 2>/dev/null
11780 lt_status=$?
11781 case x$lt_status in
11782 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11783 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11784 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11785 esac
11786 else :
11787 # compilation failed
11788 lt_cv_dlopen_self_static=no
11791 rm -fr conftest*
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11796 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11799 CPPFLAGS="$save_CPPFLAGS"
11800 LDFLAGS="$save_LDFLAGS"
11801 LIBS="$save_LIBS"
11803 esac
11805 case $lt_cv_dlopen_self in
11806 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11807 *) enable_dlopen_self=unknown ;;
11808 esac
11810 case $lt_cv_dlopen_self_static in
11811 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11812 *) enable_dlopen_self_static=unknown ;;
11813 esac
11832 striplib=
11833 old_striplib=
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11835 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11836 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11837 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11838 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11840 $as_echo "yes" >&6; }
11841 else
11842 # FIXME - insert some real tests, host_os isn't really good enough
11843 case $host_os in
11844 darwin*)
11845 if test -n "$STRIP" ; then
11846 striplib="$STRIP -x"
11847 old_striplib="$STRIP -S"
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11849 $as_echo "yes" >&6; }
11850 else
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11852 $as_echo "no" >&6; }
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11859 esac
11873 # Report which library types will actually be built
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11875 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11877 $as_echo "$can_build_shared" >&6; }
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11880 $as_echo_n "checking whether to build shared libraries... " >&6; }
11881 test "$can_build_shared" = "no" && enable_shared=no
11883 # On AIX, shared libraries and static libraries use the same namespace, and
11884 # are all built from PIC.
11885 case $host_os in
11886 aix3*)
11887 test "$enable_shared" = yes && enable_static=no
11888 if test -n "$RANLIB"; then
11889 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11890 postinstall_cmds='$RANLIB $lib'
11894 aix[4-9]*)
11895 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11896 test "$enable_shared" = yes && enable_static=no
11899 esac
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11901 $as_echo "$enable_shared" >&6; }
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11904 $as_echo_n "checking whether to build static libraries... " >&6; }
11905 # Make sure either enable_shared or enable_static is yes.
11906 test "$enable_shared" = yes || enable_static=yes
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11908 $as_echo "$enable_static" >&6; }
11914 ac_ext=c
11915 ac_cpp='$CPP $CPPFLAGS'
11916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11920 CC="$lt_save_CC"
11922 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11923 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11924 (test "X$CXX" != "Xg++"))) ; then
11925 ac_ext=cpp
11926 ac_cpp='$CXXCPP $CPPFLAGS'
11927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11931 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11932 if test -z "$CXXCPP"; then
11933 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 # Double quotes because CXXCPP needs to be expanded
11937 for CXXCPP in "$CXX -E" "/lib/cpp"
11939 ac_preproc_ok=false
11940 for ac_cxx_preproc_warn_flag in '' yes
11942 # Use a header file that comes with gcc, so configuring glibc
11943 # with a fresh cross-compiler works.
11944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11945 # <limits.h> exists even on freestanding compilers.
11946 # On the NeXT, cc -E runs the code through the compiler's parser,
11947 # not just through cpp. "Syntax error" is here to catch this case.
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 #ifdef __STDC__
11951 # include <limits.h>
11952 #else
11953 # include <assert.h>
11954 #endif
11955 Syntax error
11956 _ACEOF
11957 if ac_fn_cxx_try_cpp "$LINENO"; then :
11959 else
11960 # Broken: fails on valid input.
11961 continue
11963 rm -f conftest.err conftest.$ac_ext
11965 # OK, works on sane cases. Now check whether nonexistent headers
11966 # can be detected and how.
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11969 #include <ac_nonexistent.h>
11970 _ACEOF
11971 if ac_fn_cxx_try_cpp "$LINENO"; then :
11972 # Broken: success on invalid input.
11973 continue
11974 else
11975 # Passes both tests.
11976 ac_preproc_ok=:
11977 break
11979 rm -f conftest.err conftest.$ac_ext
11981 done
11982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11983 rm -f conftest.err conftest.$ac_ext
11984 if $ac_preproc_ok; then :
11985 break
11988 done
11989 ac_cv_prog_CXXCPP=$CXXCPP
11992 CXXCPP=$ac_cv_prog_CXXCPP
11993 else
11994 ac_cv_prog_CXXCPP=$CXXCPP
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11997 $as_echo "$CXXCPP" >&6; }
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 :
12045 else
12046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12048 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12049 See \`config.log' for more details." "$LINENO" 5; }
12052 ac_ext=c
12053 ac_cpp='$CPP $CPPFLAGS'
12054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12058 else
12059 _lt_caught_CXX_error=yes
12062 ac_ext=cpp
12063 ac_cpp='$CXXCPP $CPPFLAGS'
12064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12068 archive_cmds_need_lc_CXX=no
12069 allow_undefined_flag_CXX=
12070 always_export_symbols_CXX=no
12071 archive_expsym_cmds_CXX=
12072 compiler_needs_object_CXX=no
12073 export_dynamic_flag_spec_CXX=
12074 hardcode_direct_CXX=no
12075 hardcode_direct_absolute_CXX=no
12076 hardcode_libdir_flag_spec_CXX=
12077 hardcode_libdir_flag_spec_ld_CXX=
12078 hardcode_libdir_separator_CXX=
12079 hardcode_minus_L_CXX=no
12080 hardcode_shlibpath_var_CXX=unsupported
12081 hardcode_automatic_CXX=no
12082 inherit_rpath_CXX=no
12083 module_cmds_CXX=
12084 module_expsym_cmds_CXX=
12085 link_all_deplibs_CXX=unknown
12086 old_archive_cmds_CXX=$old_archive_cmds
12087 reload_flag_CXX=$reload_flag
12088 reload_cmds_CXX=$reload_cmds
12089 no_undefined_flag_CXX=
12090 whole_archive_flag_spec_CXX=
12091 enable_shared_with_static_runtimes_CXX=no
12093 # Source file extension for C++ test sources.
12094 ac_ext=cpp
12096 # Object file extension for compiled C++ test sources.
12097 objext=o
12098 objext_CXX=$objext
12100 # No sense in running all these tests if we already determined that
12101 # the CXX compiler isn't working. Some variables (like enable_shared)
12102 # are currently assumed to apply to all compilers on this platform,
12103 # and will be corrupted by setting them based on a non-working compiler.
12104 if test "$_lt_caught_CXX_error" != yes; then
12105 # Code to be used in simple compile tests
12106 lt_simple_compile_test_code="int some_variable = 0;"
12108 # Code to be used in simple link tests
12109 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12111 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12118 # If no C compiler was specified, use CC.
12119 LTCC=${LTCC-"$CC"}
12121 # If no C compiler flags were specified, use CFLAGS.
12122 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12124 # Allow CC to be a program name with arguments.
12125 compiler=$CC
12128 # save warnings/boilerplate of simple test code
12129 ac_outfile=conftest.$ac_objext
12130 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12131 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12132 _lt_compiler_boilerplate=`cat conftest.err`
12133 $RM conftest*
12135 ac_outfile=conftest.$ac_objext
12136 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12137 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12138 _lt_linker_boilerplate=`cat conftest.err`
12139 $RM -r conftest*
12142 # Allow CC to be a program name with arguments.
12143 lt_save_CC=$CC
12144 lt_save_LD=$LD
12145 lt_save_GCC=$GCC
12146 GCC=$GXX
12147 lt_save_with_gnu_ld=$with_gnu_ld
12148 lt_save_path_LD=$lt_cv_path_LD
12149 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12150 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12151 else
12152 $as_unset lt_cv_prog_gnu_ld
12154 if test -n "${lt_cv_path_LDCXX+set}"; then
12155 lt_cv_path_LD=$lt_cv_path_LDCXX
12156 else
12157 $as_unset lt_cv_path_LD
12159 test -z "${LDCXX+set}" || LD=$LDCXX
12160 CC=${CXX-"c++"}
12161 compiler=$CC
12162 compiler_CXX=$CC
12163 for cc_temp in $compiler""; do
12164 case $cc_temp in
12165 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12166 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12167 \-*) ;;
12168 *) break;;
12169 esac
12170 done
12171 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12174 if test -n "$compiler"; then
12175 # We don't want -fno-exception when compiling C++ code, so set the
12176 # no_builtin_flag separately
12177 if test "$GXX" = yes; then
12178 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12179 else
12180 lt_prog_compiler_no_builtin_flag_CXX=
12183 if test "$GXX" = yes; then
12184 # Set up default GNU C++ configuration
12188 # Check whether --with-gnu-ld was given.
12189 if test "${with_gnu_ld+set}" = set; then :
12190 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12191 else
12192 with_gnu_ld=no
12195 ac_prog=ld
12196 if test "$GCC" = yes; then
12197 # Check if gcc -print-prog-name=ld gives a path.
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12199 $as_echo_n "checking for ld used by $CC... " >&6; }
12200 case $host in
12201 *-*-mingw*)
12202 # gcc leaves a trailing carriage return which upsets mingw
12203 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12205 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12206 esac
12207 case $ac_prog in
12208 # Accept absolute paths.
12209 [\\/]* | ?:[\\/]*)
12210 re_direlt='/[^/][^/]*/\.\./'
12211 # Canonicalize the pathname of ld
12212 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12213 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12214 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12215 done
12216 test -z "$LD" && LD="$ac_prog"
12219 # If it fails, then pretend we aren't using GCC.
12220 ac_prog=ld
12223 # If it is relative, then search for the first ld in PATH.
12224 with_gnu_ld=unknown
12226 esac
12227 elif test "$with_gnu_ld" = yes; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12229 $as_echo_n "checking for GNU ld... " >&6; }
12230 else
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12232 $as_echo_n "checking for non-GNU ld... " >&6; }
12234 if test "${lt_cv_path_LD+set}" = set; then :
12235 $as_echo_n "(cached) " >&6
12236 else
12237 if test -z "$LD"; then
12238 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12239 for ac_dir in $PATH; do
12240 IFS="$lt_save_ifs"
12241 test -z "$ac_dir" && ac_dir=.
12242 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12243 lt_cv_path_LD="$ac_dir/$ac_prog"
12244 # Check to see if the program is GNU ld. I'd rather use --version,
12245 # but apparently some variants of GNU ld only accept -v.
12246 # Break only if it was the GNU/non-GNU ld that we prefer.
12247 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12248 *GNU* | *'with BFD'*)
12249 test "$with_gnu_ld" != no && break
12252 test "$with_gnu_ld" != yes && break
12254 esac
12256 done
12257 IFS="$lt_save_ifs"
12258 else
12259 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12263 LD="$lt_cv_path_LD"
12264 if test -n "$LD"; then
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12266 $as_echo "$LD" >&6; }
12267 else
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12269 $as_echo "no" >&6; }
12271 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12273 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12274 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12275 $as_echo_n "(cached) " >&6
12276 else
12277 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12278 case `$LD -v 2>&1 </dev/null` in
12279 *GNU* | *'with BFD'*)
12280 lt_cv_prog_gnu_ld=yes
12283 lt_cv_prog_gnu_ld=no
12285 esac
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12288 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12289 with_gnu_ld=$lt_cv_prog_gnu_ld
12297 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12298 # archiving commands below assume that GNU ld is being used.
12299 if test "$with_gnu_ld" = yes; then
12300 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12301 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'
12303 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12304 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12306 # If archive_cmds runs LD, not CC, wlarc should be empty
12307 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12308 # investigate it a little bit more. (MM)
12309 wlarc='${wl}'
12311 # ancient GNU ld didn't support --whole-archive et. al.
12312 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12313 $GREP 'no-whole-archive' > /dev/null; then
12314 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12315 else
12316 whole_archive_flag_spec_CXX=
12318 else
12319 with_gnu_ld=no
12320 wlarc=
12322 # A generic and very simple default shared library creation
12323 # command for GNU C++ for the case where it uses the native
12324 # linker, instead of GNU ld. If possible, this setting should
12325 # overridden to take advantage of the native linker features on
12326 # the platform it is being used on.
12327 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12330 # Commands to make compiler produce verbose output that lists
12331 # what "hidden" libraries, object files and flags are used when
12332 # linking a shared library.
12333 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12335 else
12336 GXX=no
12337 with_gnu_ld=no
12338 wlarc=
12341 # PORTME: fill in a description of your system's C++ link characteristics
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12343 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12344 ld_shlibs_CXX=yes
12345 case $host_os in
12346 aix3*)
12347 # FIXME: insert proper C++ library support
12348 ld_shlibs_CXX=no
12350 aix[4-9]*)
12351 if test "$host_cpu" = ia64; then
12352 # On IA64, the linker does run time linking by default, so we don't
12353 # have to do anything special.
12354 aix_use_runtimelinking=no
12355 exp_sym_flag='-Bexport'
12356 no_entry_flag=""
12357 else
12358 aix_use_runtimelinking=no
12360 # Test if we are trying to use run time linking or normal
12361 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12362 # need to do runtime linking.
12363 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12364 for ld_flag in $LDFLAGS; do
12365 case $ld_flag in
12366 *-brtl*)
12367 aix_use_runtimelinking=yes
12368 break
12370 esac
12371 done
12373 esac
12375 exp_sym_flag='-bexport'
12376 no_entry_flag='-bnoentry'
12379 # When large executables or shared objects are built, AIX ld can
12380 # have problems creating the table of contents. If linking a library
12381 # or program results in "error TOC overflow" add -mminimal-toc to
12382 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12383 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12385 archive_cmds_CXX=''
12386 hardcode_direct_CXX=yes
12387 hardcode_direct_absolute_CXX=yes
12388 hardcode_libdir_separator_CXX=':'
12389 link_all_deplibs_CXX=yes
12390 file_list_spec_CXX='${wl}-f,'
12392 if test "$GXX" = yes; then
12393 case $host_os in aix4.[012]|aix4.[012].*)
12394 # We only want to do this on AIX 4.2 and lower, the check
12395 # below for broken collect2 doesn't work under 4.3+
12396 collect2name=`${CC} -print-prog-name=collect2`
12397 if test -f "$collect2name" &&
12398 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12399 then
12400 # We have reworked collect2
12402 else
12403 # We have old collect2
12404 hardcode_direct_CXX=unsupported
12405 # It fails to find uninstalled libraries when the uninstalled
12406 # path is not listed in the libpath. Setting hardcode_minus_L
12407 # to unsupported forces relinking
12408 hardcode_minus_L_CXX=yes
12409 hardcode_libdir_flag_spec_CXX='-L$libdir'
12410 hardcode_libdir_separator_CXX=
12412 esac
12413 shared_flag='-shared'
12414 if test "$aix_use_runtimelinking" = yes; then
12415 shared_flag="$shared_flag "'${wl}-G'
12417 else
12418 # not using gcc
12419 if test "$host_cpu" = ia64; then
12420 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12421 # chokes on -Wl,-G. The following line is correct:
12422 shared_flag='-G'
12423 else
12424 if test "$aix_use_runtimelinking" = yes; then
12425 shared_flag='${wl}-G'
12426 else
12427 shared_flag='${wl}-bM:SRE'
12432 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12433 # It seems that -bexpall does not export symbols beginning with
12434 # underscore (_), so it is better to generate a list of symbols to
12435 # export.
12436 always_export_symbols_CXX=yes
12437 if test "$aix_use_runtimelinking" = yes; then
12438 # Warning - without using the other runtime loading flags (-brtl),
12439 # -berok will link without error, but may produce a broken library.
12440 allow_undefined_flag_CXX='-berok'
12441 # Determine the default libpath from the value encoded in an empty
12442 # executable.
12443 if test x$gcc_no_link = xyes; then
12444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12450 main ()
12454 return 0;
12456 _ACEOF
12457 if ac_fn_cxx_try_link "$LINENO"; then :
12459 lt_aix_libpath_sed='
12460 /Import File Strings/,/^$/ {
12461 /^0/ {
12462 s/^0 *\(.*\)$/\1/
12466 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12467 # Check for a 64-bit object if we didn't find anything.
12468 if test -z "$aix_libpath"; then
12469 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12476 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12478 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"
12479 else
12480 if test "$host_cpu" = ia64; then
12481 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12482 allow_undefined_flag_CXX="-z nodefs"
12483 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"
12484 else
12485 # Determine the default libpath from the value encoded in an
12486 # empty executable.
12487 if test x$gcc_no_link = xyes; then
12488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12494 main ()
12498 return 0;
12500 _ACEOF
12501 if ac_fn_cxx_try_link "$LINENO"; then :
12503 lt_aix_libpath_sed='
12504 /Import File Strings/,/^$/ {
12505 /^0/ {
12506 s/^0 *\(.*\)$/\1/
12510 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12511 # Check for a 64-bit object if we didn't find anything.
12512 if test -z "$aix_libpath"; then
12513 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12516 rm -f core conftest.err conftest.$ac_objext \
12517 conftest$ac_exeext conftest.$ac_ext
12518 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12520 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12521 # Warning - without using the other run time loading flags,
12522 # -berok will link without error, but may produce a broken library.
12523 no_undefined_flag_CXX=' ${wl}-bernotok'
12524 allow_undefined_flag_CXX=' ${wl}-berok'
12525 if test "$with_gnu_ld" = yes; then
12526 # We only use this code for GNU lds that support --whole-archive.
12527 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12528 else
12529 # Exported symbols can be pulled into shared objects from archives
12530 whole_archive_flag_spec_CXX='$convenience'
12532 archive_cmds_need_lc_CXX=yes
12533 # This is similar to how AIX traditionally builds its shared
12534 # libraries.
12535 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'
12540 beos*)
12541 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12542 allow_undefined_flag_CXX=unsupported
12543 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12544 # support --undefined. This deserves some investigation. FIXME
12545 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12546 else
12547 ld_shlibs_CXX=no
12551 chorus*)
12552 case $cc_basename in
12554 # FIXME: insert proper C++ library support
12555 ld_shlibs_CXX=no
12557 esac
12560 cygwin* | mingw* | pw32* | cegcc*)
12561 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12562 # as there is no search path for DLLs.
12563 hardcode_libdir_flag_spec_CXX='-L$libdir'
12564 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12565 allow_undefined_flag_CXX=unsupported
12566 always_export_symbols_CXX=no
12567 enable_shared_with_static_runtimes_CXX=yes
12569 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12570 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'
12571 # If the export-symbols file already is a .def file (1st line
12572 # is EXPORTS), use it as is; otherwise, prepend...
12573 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12574 cp $export_symbols $output_objdir/$soname.def;
12575 else
12576 echo EXPORTS > $output_objdir/$soname.def;
12577 cat $export_symbols >> $output_objdir/$soname.def;
12579 $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'
12580 else
12581 ld_shlibs_CXX=no
12584 darwin* | rhapsody*)
12587 archive_cmds_need_lc_CXX=no
12588 hardcode_direct_CXX=no
12589 hardcode_automatic_CXX=yes
12590 hardcode_shlibpath_var_CXX=unsupported
12591 if test "$lt_cv_ld_force_load" = "yes"; then
12592 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\"`'
12593 else
12594 whole_archive_flag_spec_CXX=''
12596 link_all_deplibs_CXX=yes
12597 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12598 case $cc_basename in
12599 ifort*) _lt_dar_can_shared=yes ;;
12600 *) _lt_dar_can_shared=$GCC ;;
12601 esac
12602 if test "$_lt_dar_can_shared" = "yes"; then
12603 output_verbose_link_cmd=func_echo_all
12604 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}"
12605 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12606 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}"
12607 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}"
12608 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12609 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}"
12610 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}"
12613 else
12614 ld_shlibs_CXX=no
12619 dgux*)
12620 case $cc_basename in
12621 ec++*)
12622 # FIXME: insert proper C++ library support
12623 ld_shlibs_CXX=no
12625 ghcx*)
12626 # Green Hills C++ Compiler
12627 # FIXME: insert proper C++ library support
12628 ld_shlibs_CXX=no
12631 # FIXME: insert proper C++ library support
12632 ld_shlibs_CXX=no
12634 esac
12637 freebsd2.*)
12638 # C++ shared libraries reported to be fairly broken before
12639 # switch to ELF
12640 ld_shlibs_CXX=no
12643 freebsd-elf*)
12644 archive_cmds_need_lc_CXX=no
12647 freebsd* | dragonfly*)
12648 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12649 # conventions
12650 ld_shlibs_CXX=yes
12653 gnu*)
12656 haiku*)
12657 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12658 link_all_deplibs_CXX=yes
12661 hpux9*)
12662 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12663 hardcode_libdir_separator_CXX=:
12664 export_dynamic_flag_spec_CXX='${wl}-E'
12665 hardcode_direct_CXX=yes
12666 hardcode_minus_L_CXX=yes # Not in the search PATH,
12667 # but as the default
12668 # location of the library.
12670 case $cc_basename in
12671 CC*)
12672 # FIXME: insert proper C++ library support
12673 ld_shlibs_CXX=no
12675 aCC*)
12676 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'
12677 # Commands to make compiler produce verbose output that lists
12678 # what "hidden" libraries, object files and flags are used when
12679 # linking a shared library.
12681 # There doesn't appear to be a way to prevent this compiler from
12682 # explicitly linking system object files so we need to strip them
12683 # from the output so that they don't get included in the library
12684 # dependencies.
12685 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"'
12688 if test "$GXX" = yes; then
12689 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'
12690 else
12691 # FIXME: insert proper C++ library support
12692 ld_shlibs_CXX=no
12695 esac
12698 hpux10*|hpux11*)
12699 if test $with_gnu_ld = no; then
12700 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12701 hardcode_libdir_separator_CXX=:
12703 case $host_cpu in
12704 hppa*64*|ia64*)
12707 export_dynamic_flag_spec_CXX='${wl}-E'
12709 esac
12711 case $host_cpu in
12712 hppa*64*|ia64*)
12713 hardcode_direct_CXX=no
12714 hardcode_shlibpath_var_CXX=no
12717 hardcode_direct_CXX=yes
12718 hardcode_direct_absolute_CXX=yes
12719 hardcode_minus_L_CXX=yes # Not in the search PATH,
12720 # but as the default
12721 # location of the library.
12723 esac
12725 case $cc_basename in
12726 CC*)
12727 # FIXME: insert proper C++ library support
12728 ld_shlibs_CXX=no
12730 aCC*)
12731 case $host_cpu in
12732 hppa*64*)
12733 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12735 ia64*)
12736 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12739 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12741 esac
12742 # Commands to make compiler produce verbose output that lists
12743 # what "hidden" libraries, object files and flags are used when
12744 # linking a shared library.
12746 # There doesn't appear to be a way to prevent this compiler from
12747 # explicitly linking system object files so we need to strip them
12748 # from the output so that they don't get included in the library
12749 # dependencies.
12750 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"'
12753 if test "$GXX" = yes; then
12754 if test $with_gnu_ld = no; then
12755 case $host_cpu in
12756 hppa*64*)
12757 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12759 ia64*)
12760 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12763 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'
12765 esac
12767 else
12768 # FIXME: insert proper C++ library support
12769 ld_shlibs_CXX=no
12772 esac
12775 interix[3-9]*)
12776 hardcode_direct_CXX=no
12777 hardcode_shlibpath_var_CXX=no
12778 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12779 export_dynamic_flag_spec_CXX='${wl}-E'
12780 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12781 # Instead, shared libraries are loaded at an image base (0x10000000 by
12782 # default) and relocated if they conflict, which is a slow very memory
12783 # consuming and fragmenting process. To avoid this, we pick a random,
12784 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12785 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12786 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'
12787 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'
12789 irix5* | irix6*)
12790 case $cc_basename in
12791 CC*)
12792 # SGI C++
12793 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'
12795 # Archives containing C++ object files must be created using
12796 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12797 # necessary to make sure instantiated templates are included
12798 # in the archive.
12799 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12802 if test "$GXX" = yes; then
12803 if test "$with_gnu_ld" = no; then
12804 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'
12805 else
12806 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'
12809 link_all_deplibs_CXX=yes
12811 esac
12812 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12813 hardcode_libdir_separator_CXX=:
12814 inherit_rpath_CXX=yes
12817 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12818 case $cc_basename in
12819 KCC*)
12820 # Kuck and Associates, Inc. (KAI) C++ Compiler
12822 # KCC will only create a shared library if the output file
12823 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12824 # to its proper name (with version) after linking.
12825 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'
12826 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'
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 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"'
12837 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12838 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12840 # Archives containing C++ object files must be created using
12841 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12842 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12844 icpc* | ecpc* )
12845 # Intel C++
12846 with_gnu_ld=yes
12847 # version 8.0 and above of icpc choke on multiply defined symbols
12848 # if we add $predep_objects and $postdep_objects, however 7.1 and
12849 # earlier do not add the objects themselves.
12850 case `$CC -V 2>&1` in
12851 *"Version 7."*)
12852 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12853 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'
12855 *) # Version 8.0 or newer
12856 tmp_idyn=
12857 case $host_cpu in
12858 ia64*) tmp_idyn=' -i_dynamic';;
12859 esac
12860 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12861 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'
12863 esac
12864 archive_cmds_need_lc_CXX=no
12865 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12866 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12867 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12869 pgCC* | pgcpp*)
12870 # Portland Group C++ compiler
12871 case `$CC -V` in
12872 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12873 prelink_cmds_CXX='tpldir=Template.dir~
12874 rm -rf $tpldir~
12875 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12876 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12877 old_archive_cmds_CXX='tpldir=Template.dir~
12878 rm -rf $tpldir~
12879 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12880 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12881 $RANLIB $oldlib'
12882 archive_cmds_CXX='tpldir=Template.dir~
12883 rm -rf $tpldir~
12884 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12885 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12886 archive_expsym_cmds_CXX='tpldir=Template.dir~
12887 rm -rf $tpldir~
12888 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12889 $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'
12891 *) # Version 6 and above use weak symbols
12892 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12893 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'
12895 esac
12897 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12898 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12899 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'
12901 cxx*)
12902 # Compaq C++
12903 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12904 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'
12906 runpath_var=LD_RUN_PATH
12907 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12908 hardcode_libdir_separator_CXX=:
12910 # Commands to make compiler produce verbose output that lists
12911 # what "hidden" libraries, object files and flags are used when
12912 # linking a shared library.
12914 # There doesn't appear to be a way to prevent this compiler from
12915 # explicitly linking system object files so we need to strip them
12916 # from the output so that they don't get included in the library
12917 # dependencies.
12918 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'
12920 xl* | mpixl* | bgxl*)
12921 # IBM XL 8.0 on PPC, with GNU ld
12922 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12923 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12924 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12925 if test "x$supports_anon_versioning" = xyes; then
12926 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12927 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12928 echo "local: *; };" >> $output_objdir/$libname.ver~
12929 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12933 case `$CC -V 2>&1 | sed 5q` in
12934 *Sun\ C*)
12935 # Sun C++ 5.9
12936 no_undefined_flag_CXX=' -zdefs'
12937 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12938 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'
12939 hardcode_libdir_flag_spec_CXX='-R$libdir'
12940 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'
12941 compiler_needs_object_CXX=yes
12943 # Not sure whether something based on
12944 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12945 # would be better.
12946 output_verbose_link_cmd='func_echo_all'
12948 # Archives containing C++ object files must be created using
12949 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12950 # necessary to make sure instantiated templates are included
12951 # in the archive.
12952 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12954 esac
12956 esac
12959 lynxos*)
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12964 m88k*)
12965 # FIXME: insert proper C++ library support
12966 ld_shlibs_CXX=no
12969 mvs*)
12970 case $cc_basename in
12971 cxx*)
12972 # FIXME: insert proper C++ library support
12973 ld_shlibs_CXX=no
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12979 esac
12982 netbsd*)
12983 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12984 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12985 wlarc=
12986 hardcode_libdir_flag_spec_CXX='-R$libdir'
12987 hardcode_direct_CXX=yes
12988 hardcode_shlibpath_var_CXX=no
12990 # Workaround some broken pre-1.5 toolchains
12991 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12994 *nto* | *qnx*)
12995 ld_shlibs_CXX=yes
12998 openbsd2*)
12999 # C++ shared libraries are fairly broken
13000 ld_shlibs_CXX=no
13003 openbsd*)
13004 if test -f /usr/libexec/ld.so; then
13005 hardcode_direct_CXX=yes
13006 hardcode_shlibpath_var_CXX=no
13007 hardcode_direct_absolute_CXX=yes
13008 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13009 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13010 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13011 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13012 export_dynamic_flag_spec_CXX='${wl}-E'
13013 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13015 output_verbose_link_cmd=func_echo_all
13016 else
13017 ld_shlibs_CXX=no
13021 osf3* | osf4* | osf5*)
13022 case $cc_basename in
13023 KCC*)
13024 # Kuck and Associates, Inc. (KAI) C++ Compiler
13026 # KCC will only create a shared library if the output file
13027 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13028 # to its proper name (with version) after linking.
13029 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'
13031 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13032 hardcode_libdir_separator_CXX=:
13034 # Archives containing C++ object files must be created using
13035 # the KAI C++ compiler.
13036 case $host in
13037 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13038 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13039 esac
13041 RCC*)
13042 # Rational C++ 2.4.1
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13046 cxx*)
13047 case $host in
13048 osf3*)
13049 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13050 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'
13051 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13054 allow_undefined_flag_CXX=' -expect_unresolved \*'
13055 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'
13056 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13057 echo "-hidden">> $lib.exp~
13058 $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~
13059 $RM $lib.exp'
13060 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13062 esac
13064 hardcode_libdir_separator_CXX=:
13066 # Commands to make compiler produce verbose output that lists
13067 # what "hidden" libraries, object files and flags are used when
13068 # linking a shared library.
13070 # There doesn't appear to be a way to prevent this compiler from
13071 # explicitly linking system object files so we need to strip them
13072 # from the output so that they don't get included in the library
13073 # dependencies.
13074 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"'
13077 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13078 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13079 case $host in
13080 osf3*)
13081 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'
13084 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'
13086 esac
13088 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13089 hardcode_libdir_separator_CXX=:
13091 # Commands to make compiler produce verbose output that lists
13092 # what "hidden" libraries, object files and flags are used when
13093 # linking a shared library.
13094 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # FIXME: insert proper C++ library support
13098 ld_shlibs_CXX=no
13101 esac
13104 psos*)
13105 # FIXME: insert proper C++ library support
13106 ld_shlibs_CXX=no
13109 sunos4*)
13110 case $cc_basename in
13111 CC*)
13112 # Sun C++ 4.x
13113 # FIXME: insert proper C++ library support
13114 ld_shlibs_CXX=no
13116 lcc*)
13117 # Lucid
13118 # FIXME: insert proper C++ library support
13119 ld_shlibs_CXX=no
13122 # FIXME: insert proper C++ library support
13123 ld_shlibs_CXX=no
13125 esac
13128 solaris*)
13129 case $cc_basename in
13130 CC*)
13131 # Sun C++ 4.2, 5.x and Centerline C++
13132 archive_cmds_need_lc_CXX=yes
13133 no_undefined_flag_CXX=' -zdefs'
13134 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13135 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13136 $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'
13138 hardcode_libdir_flag_spec_CXX='-R$libdir'
13139 hardcode_shlibpath_var_CXX=no
13140 case $host_os in
13141 solaris2.[0-5] | solaris2.[0-5].*) ;;
13143 # The compiler driver will combine and reorder linker options,
13144 # but understands `-z linker_flag'.
13145 # Supported since Solaris 2.6 (maybe 2.5.1?)
13146 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13148 esac
13149 link_all_deplibs_CXX=yes
13151 output_verbose_link_cmd='func_echo_all'
13153 # Archives containing C++ object files must be created using
13154 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13155 # necessary to make sure instantiated templates are included
13156 # in the archive.
13157 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13159 gcx*)
13160 # Green Hills C++ Compiler
13161 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13163 # The C++ compiler must be used to create the archive.
13164 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13167 # GNU C++ compiler with Solaris linker
13168 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13169 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13170 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13171 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13172 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13173 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13175 # Commands to make compiler produce verbose output that lists
13176 # what "hidden" libraries, object files and flags are used when
13177 # linking a shared library.
13178 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13179 else
13180 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13181 # platform.
13182 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13183 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13184 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13186 # Commands to make compiler produce verbose output that lists
13187 # what "hidden" libraries, object files and flags are used when
13188 # linking a shared library.
13189 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13192 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13193 case $host_os in
13194 solaris2.[0-5] | solaris2.[0-5].*) ;;
13196 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13198 esac
13201 esac
13204 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13205 no_undefined_flag_CXX='${wl}-z,text'
13206 archive_cmds_need_lc_CXX=no
13207 hardcode_shlibpath_var_CXX=no
13208 runpath_var='LD_RUN_PATH'
13210 case $cc_basename in
13211 CC*)
13212 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13213 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13216 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13217 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13219 esac
13222 sysv5* | sco3.2v5* | sco5v6*)
13223 # Note: We can NOT use -z defs as we might desire, because we do not
13224 # link with -lc, and that would cause any symbols used from libc to
13225 # always be unresolved, which means just about no library would
13226 # ever link correctly. If we're not using GNU ld we use -z text
13227 # though, which does catch some bad symbols but isn't as heavy-handed
13228 # as -z defs.
13229 no_undefined_flag_CXX='${wl}-z,text'
13230 allow_undefined_flag_CXX='${wl}-z,nodefs'
13231 archive_cmds_need_lc_CXX=no
13232 hardcode_shlibpath_var_CXX=no
13233 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13234 hardcode_libdir_separator_CXX=':'
13235 link_all_deplibs_CXX=yes
13236 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13237 runpath_var='LD_RUN_PATH'
13239 case $cc_basename in
13240 CC*)
13241 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13242 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13243 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13244 '"$old_archive_cmds_CXX"
13245 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13246 '"$reload_cmds_CXX"
13249 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 esac
13255 tandem*)
13256 case $cc_basename in
13257 NCC*)
13258 # NonStop-UX NCC 3.20
13259 # FIXME: insert proper C++ library support
13260 ld_shlibs_CXX=no
13263 # FIXME: insert proper C++ library support
13264 ld_shlibs_CXX=no
13266 esac
13269 vxworks*)
13270 # FIXME: insert proper C++ library support
13271 ld_shlibs_CXX=no
13275 # FIXME: insert proper C++ library support
13276 ld_shlibs_CXX=no
13278 esac
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13281 $as_echo "$ld_shlibs_CXX" >&6; }
13282 test "$ld_shlibs_CXX" = no && can_build_shared=no
13284 GCC_CXX="$GXX"
13285 LD_CXX="$LD"
13287 ## CAVEAT EMPTOR:
13288 ## There is no encapsulation within the following macros, do not change
13289 ## the running order or otherwise move them around unless you know exactly
13290 ## what you are doing...
13291 # Dependencies to place before and after the object being linked:
13292 predep_objects_CXX=
13293 postdep_objects_CXX=
13294 predeps_CXX=
13295 postdeps_CXX=
13296 compiler_lib_search_path_CXX=
13298 cat > conftest.$ac_ext <<_LT_EOF
13299 class Foo
13301 public:
13302 Foo (void) { a = 0; }
13303 private:
13304 int a;
13306 _LT_EOF
13308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13309 (eval $ac_compile) 2>&5
13310 ac_status=$?
13311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13312 test $ac_status = 0; }; then
13313 # Parse the compiler output and extract the necessary
13314 # objects, libraries and library flags.
13316 # Sentinel used to keep track of whether or not we are before
13317 # the conftest object file.
13318 pre_test_object_deps_done=no
13320 for p in `eval "$output_verbose_link_cmd"`; do
13321 case $p in
13323 -L* | -R* | -l*)
13324 # Some compilers place space between "-{L,R}" and the path.
13325 # Remove the space.
13326 if test $p = "-L" ||
13327 test $p = "-R"; then
13328 prev=$p
13329 continue
13330 else
13331 prev=
13334 if test "$pre_test_object_deps_done" = no; then
13335 case $p in
13336 -L* | -R*)
13337 # Internal compiler library paths should come after those
13338 # provided the user. The postdeps already come after the
13339 # user supplied libs so there is no need to process them.
13340 if test -z "$compiler_lib_search_path_CXX"; then
13341 compiler_lib_search_path_CXX="${prev}${p}"
13342 else
13343 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13346 # The "-l" case would never come before the object being
13347 # linked, so don't bother handling this case.
13348 esac
13349 else
13350 if test -z "$postdeps_CXX"; then
13351 postdeps_CXX="${prev}${p}"
13352 else
13353 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13358 *.$objext)
13359 # This assumes that the test object file only shows up
13360 # once in the compiler output.
13361 if test "$p" = "conftest.$objext"; then
13362 pre_test_object_deps_done=yes
13363 continue
13366 if test "$pre_test_object_deps_done" = no; then
13367 if test -z "$predep_objects_CXX"; then
13368 predep_objects_CXX="$p"
13369 else
13370 predep_objects_CXX="$predep_objects_CXX $p"
13372 else
13373 if test -z "$postdep_objects_CXX"; then
13374 postdep_objects_CXX="$p"
13375 else
13376 postdep_objects_CXX="$postdep_objects_CXX $p"
13381 *) ;; # Ignore the rest.
13383 esac
13384 done
13386 # Clean up.
13387 rm -f a.out a.exe
13388 else
13389 echo "libtool.m4: error: problem compiling CXX test program"
13392 $RM -f confest.$objext
13394 # PORTME: override above test on systems where it is broken
13395 case $host_os in
13396 interix[3-9]*)
13397 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13398 # hack all around it, let's just trust "g++" to DTRT.
13399 predep_objects_CXX=
13400 postdep_objects_CXX=
13401 postdeps_CXX=
13404 linux*)
13405 case `$CC -V 2>&1 | sed 5q` in
13406 *Sun\ C*)
13407 # Sun C++ 5.9
13409 # The more standards-conforming stlport4 library is
13410 # incompatible with the Cstd library. Avoid specifying
13411 # it if it's in CXXFLAGS. Ignore libCrun as
13412 # -library=stlport4 depends on it.
13413 case " $CXX $CXXFLAGS " in
13414 *" -library=stlport4 "*)
13415 solaris_use_stlport4=yes
13417 esac
13419 if test "$solaris_use_stlport4" != yes; then
13420 postdeps_CXX='-library=Cstd -library=Crun'
13423 esac
13426 solaris*)
13427 case $cc_basename in
13428 CC*)
13429 # The more standards-conforming stlport4 library is
13430 # incompatible with the Cstd library. Avoid specifying
13431 # it if it's in CXXFLAGS. Ignore libCrun as
13432 # -library=stlport4 depends on it.
13433 case " $CXX $CXXFLAGS " in
13434 *" -library=stlport4 "*)
13435 solaris_use_stlport4=yes
13437 esac
13439 # Adding this requires a known-good setup of shared libraries for
13440 # Sun compiler versions before 5.6, else PIC objects from an old
13441 # archive will be linked into the output, leading to subtle bugs.
13442 if test "$solaris_use_stlport4" != yes; then
13443 postdeps_CXX='-library=Cstd -library=Crun'
13446 esac
13448 esac
13451 case " $postdeps_CXX " in
13452 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13453 esac
13454 compiler_lib_search_dirs_CXX=
13455 if test -n "${compiler_lib_search_path_CXX}"; then
13456 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13489 lt_prog_compiler_wl_CXX=
13490 lt_prog_compiler_pic_CXX=
13491 lt_prog_compiler_static_CXX=
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13494 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13496 # C++ specific cases for pic, static, wl, etc.
13497 if test "$GXX" = yes; then
13498 lt_prog_compiler_wl_CXX='-Wl,'
13499 lt_prog_compiler_static_CXX='-static'
13501 case $host_os in
13502 aix*)
13503 # All AIX code is PIC.
13504 if test "$host_cpu" = ia64; then
13505 # AIX 5 now supports IA64 processor
13506 lt_prog_compiler_static_CXX='-Bstatic'
13508 lt_prog_compiler_pic_CXX='-fPIC'
13511 amigaos*)
13512 case $host_cpu in
13513 powerpc)
13514 # see comment about AmigaOS4 .so support
13515 lt_prog_compiler_pic_CXX='-fPIC'
13517 m68k)
13518 # FIXME: we need at least 68020 code to build shared libraries, but
13519 # adding the `-m68020' flag to GCC prevents building anything better,
13520 # like `-m68040'.
13521 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13523 esac
13526 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13527 # PIC is the default for these OSes.
13529 mingw* | cygwin* | os2* | pw32* | cegcc*)
13530 # This hack is so that the source file can tell whether it is being
13531 # built for inclusion in a dll (and should export symbols for example).
13532 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13533 # (--disable-auto-import) libraries
13534 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13536 darwin* | rhapsody*)
13537 # PIC is the default on this platform
13538 # Common symbols not allowed in MH_DYLIB files
13539 lt_prog_compiler_pic_CXX='-fno-common'
13541 *djgpp*)
13542 # DJGPP does not support shared libraries at all
13543 lt_prog_compiler_pic_CXX=
13545 haiku*)
13546 # PIC is the default for Haiku.
13547 # The "-static" flag exists, but is broken.
13548 lt_prog_compiler_static_CXX=
13550 interix[3-9]*)
13551 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13552 # Instead, we relocate shared libraries at runtime.
13554 sysv4*MP*)
13555 if test -d /usr/nec; then
13556 lt_prog_compiler_pic_CXX=-Kconform_pic
13559 hpux*)
13560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13562 # sets the default TLS model and affects inlining.
13563 case $host_cpu in
13564 hppa*64*)
13567 lt_prog_compiler_pic_CXX='-fPIC'
13569 esac
13571 *qnx* | *nto*)
13572 # QNX uses GNU C++, but need to define -shared option too, otherwise
13573 # it will coredump.
13574 lt_prog_compiler_pic_CXX='-fPIC -shared'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13579 esac
13580 else
13581 case $host_os in
13582 aix[4-9]*)
13583 # All AIX code is PIC.
13584 if test "$host_cpu" = ia64; then
13585 # AIX 5 now supports IA64 processor
13586 lt_prog_compiler_static_CXX='-Bstatic'
13587 else
13588 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13591 chorus*)
13592 case $cc_basename in
13593 cxch68*)
13594 # Green Hills C++ Compiler
13595 # _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"
13597 esac
13599 dgux*)
13600 case $cc_basename in
13601 ec++*)
13602 lt_prog_compiler_pic_CXX='-KPIC'
13604 ghcx*)
13605 # Green Hills C++ Compiler
13606 lt_prog_compiler_pic_CXX='-pic'
13610 esac
13612 freebsd* | dragonfly*)
13613 # FreeBSD uses GNU C++
13615 hpux9* | hpux10* | hpux11*)
13616 case $cc_basename in
13617 CC*)
13618 lt_prog_compiler_wl_CXX='-Wl,'
13619 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13620 if test "$host_cpu" != ia64; then
13621 lt_prog_compiler_pic_CXX='+Z'
13624 aCC*)
13625 lt_prog_compiler_wl_CXX='-Wl,'
13626 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13627 case $host_cpu in
13628 hppa*64*|ia64*)
13629 # +Z the default
13632 lt_prog_compiler_pic_CXX='+Z'
13634 esac
13638 esac
13640 interix*)
13641 # This is c89, which is MS Visual C++ (no shared libs)
13642 # Anyone wants to do a port?
13644 irix5* | irix6* | nonstopux*)
13645 case $cc_basename in
13646 CC*)
13647 lt_prog_compiler_wl_CXX='-Wl,'
13648 lt_prog_compiler_static_CXX='-non_shared'
13649 # CC pic flag -KPIC is the default.
13653 esac
13655 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13656 case $cc_basename in
13657 KCC*)
13658 # KAI C++ Compiler
13659 lt_prog_compiler_wl_CXX='--backend -Wl,'
13660 lt_prog_compiler_pic_CXX='-fPIC'
13662 ecpc* )
13663 # old Intel C++ for x86_64 which still supported -KPIC.
13664 lt_prog_compiler_wl_CXX='-Wl,'
13665 lt_prog_compiler_pic_CXX='-KPIC'
13666 lt_prog_compiler_static_CXX='-static'
13668 icpc* )
13669 # Intel C++, used to be incompatible with GCC.
13670 # ICC 10 doesn't accept -KPIC any more.
13671 lt_prog_compiler_wl_CXX='-Wl,'
13672 lt_prog_compiler_pic_CXX='-fPIC'
13673 lt_prog_compiler_static_CXX='-static'
13675 pgCC* | pgcpp*)
13676 # Portland Group C++ compiler
13677 lt_prog_compiler_wl_CXX='-Wl,'
13678 lt_prog_compiler_pic_CXX='-fpic'
13679 lt_prog_compiler_static_CXX='-Bstatic'
13681 cxx*)
13682 # Compaq C++
13683 # Make sure the PIC flag is empty. It appears that all Alpha
13684 # Linux and Compaq Tru64 Unix objects are PIC.
13685 lt_prog_compiler_pic_CXX=
13686 lt_prog_compiler_static_CXX='-non_shared'
13688 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13689 # IBM XL 8.0, 9.0 on PPC and BlueGene
13690 lt_prog_compiler_wl_CXX='-Wl,'
13691 lt_prog_compiler_pic_CXX='-qpic'
13692 lt_prog_compiler_static_CXX='-qstaticlink'
13695 case `$CC -V 2>&1 | sed 5q` in
13696 *Sun\ C*)
13697 # Sun C++ 5.9
13698 lt_prog_compiler_pic_CXX='-KPIC'
13699 lt_prog_compiler_static_CXX='-Bstatic'
13700 lt_prog_compiler_wl_CXX='-Qoption ld '
13702 esac
13704 esac
13706 lynxos*)
13708 m88k*)
13710 mvs*)
13711 case $cc_basename in
13712 cxx*)
13713 lt_prog_compiler_pic_CXX='-W c,exportall'
13717 esac
13719 netbsd*)
13721 *qnx* | *nto*)
13722 # QNX uses GNU C++, but need to define -shared option too, otherwise
13723 # it will coredump.
13724 lt_prog_compiler_pic_CXX='-fPIC -shared'
13726 osf3* | osf4* | osf5*)
13727 case $cc_basename in
13728 KCC*)
13729 lt_prog_compiler_wl_CXX='--backend -Wl,'
13731 RCC*)
13732 # Rational C++ 2.4.1
13733 lt_prog_compiler_pic_CXX='-pic'
13735 cxx*)
13736 # Digital/Compaq C++
13737 lt_prog_compiler_wl_CXX='-Wl,'
13738 # Make sure the PIC flag is empty. It appears that all Alpha
13739 # Linux and Compaq Tru64 Unix objects are PIC.
13740 lt_prog_compiler_pic_CXX=
13741 lt_prog_compiler_static_CXX='-non_shared'
13745 esac
13747 psos*)
13749 solaris*)
13750 case $cc_basename in
13751 CC*)
13752 # Sun C++ 4.2, 5.x and Centerline C++
13753 lt_prog_compiler_pic_CXX='-KPIC'
13754 lt_prog_compiler_static_CXX='-Bstatic'
13755 lt_prog_compiler_wl_CXX='-Qoption ld '
13757 gcx*)
13758 # Green Hills C++ Compiler
13759 lt_prog_compiler_pic_CXX='-PIC'
13763 esac
13765 sunos4*)
13766 case $cc_basename in
13767 CC*)
13768 # Sun C++ 4.x
13769 lt_prog_compiler_pic_CXX='-pic'
13770 lt_prog_compiler_static_CXX='-Bstatic'
13772 lcc*)
13773 # Lucid
13774 lt_prog_compiler_pic_CXX='-pic'
13778 esac
13780 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13781 case $cc_basename in
13782 CC*)
13783 lt_prog_compiler_wl_CXX='-Wl,'
13784 lt_prog_compiler_pic_CXX='-KPIC'
13785 lt_prog_compiler_static_CXX='-Bstatic'
13787 esac
13789 tandem*)
13790 case $cc_basename in
13791 NCC*)
13792 # NonStop-UX NCC 3.20
13793 lt_prog_compiler_pic_CXX='-KPIC'
13797 esac
13799 vxworks*)
13802 lt_prog_compiler_can_build_shared_CXX=no
13804 esac
13807 case $host_os in
13808 # For platforms which do not support PIC, -DPIC is meaningless:
13809 *djgpp*)
13810 lt_prog_compiler_pic_CXX=
13813 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13815 esac
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13817 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13822 # Check to make sure the PIC flag actually works.
13824 if test -n "$lt_prog_compiler_pic_CXX"; then
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13826 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13827 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13828 $as_echo_n "(cached) " >&6
13829 else
13830 lt_cv_prog_compiler_pic_works_CXX=no
13831 ac_outfile=conftest.$ac_objext
13832 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13833 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13834 # Insert the option either (1) after the last *FLAGS variable, or
13835 # (2) before a word containing "conftest.", or (3) at the end.
13836 # Note that $ac_compile itself does not contain backslashes and begins
13837 # with a dollar sign (not a hyphen), so the echo should work correctly.
13838 # The option is referenced via a variable to avoid confusing sed.
13839 lt_compile=`echo "$ac_compile" | $SED \
13840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13842 -e 's:$: $lt_compiler_flag:'`
13843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13844 (eval "$lt_compile" 2>conftest.err)
13845 ac_status=$?
13846 cat conftest.err >&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 if (exit $ac_status) && test -s "$ac_outfile"; then
13849 # The compiler can only warn and ignore the option if not recognized
13850 # So say no if there are warnings other than the usual output.
13851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13852 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13853 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13854 lt_cv_prog_compiler_pic_works_CXX=yes
13857 $RM conftest*
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13861 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13863 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13864 case $lt_prog_compiler_pic_CXX in
13865 "" | " "*) ;;
13866 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13867 esac
13868 else
13869 lt_prog_compiler_pic_CXX=
13870 lt_prog_compiler_can_build_shared_CXX=no
13878 # Check to make sure the static flag actually works.
13880 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13882 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13883 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13884 $as_echo_n "(cached) " >&6
13885 else
13886 lt_cv_prog_compiler_static_works_CXX=no
13887 save_LDFLAGS="$LDFLAGS"
13888 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13889 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13890 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13891 # The linker can only warn and ignore the option if not recognized
13892 # So say no if there are warnings
13893 if test -s conftest.err; then
13894 # Append any errors to the config.log.
13895 cat conftest.err 1>&5
13896 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13897 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13898 if diff conftest.exp conftest.er2 >/dev/null; then
13899 lt_cv_prog_compiler_static_works_CXX=yes
13901 else
13902 lt_cv_prog_compiler_static_works_CXX=yes
13905 $RM -r conftest*
13906 LDFLAGS="$save_LDFLAGS"
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13910 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13912 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13914 else
13915 lt_prog_compiler_static_CXX=
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13922 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13923 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13924 $as_echo_n "(cached) " >&6
13925 else
13926 lt_cv_prog_compiler_c_o_CXX=no
13927 $RM -r conftest 2>/dev/null
13928 mkdir conftest
13929 cd conftest
13930 mkdir out
13931 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13933 lt_compiler_flag="-o out/conftest2.$ac_objext"
13934 # Insert the option either (1) after the last *FLAGS variable, or
13935 # (2) before a word containing "conftest.", or (3) at the end.
13936 # Note that $ac_compile itself does not contain backslashes and begins
13937 # with a dollar sign (not a hyphen), so the echo should work correctly.
13938 lt_compile=`echo "$ac_compile" | $SED \
13939 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13940 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13941 -e 's:$: $lt_compiler_flag:'`
13942 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13943 (eval "$lt_compile" 2>out/conftest.err)
13944 ac_status=$?
13945 cat out/conftest.err >&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13948 then
13949 # The compiler can only warn and ignore the option if not recognized
13950 # So say no if there are warnings
13951 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13952 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13953 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13954 lt_cv_prog_compiler_c_o_CXX=yes
13957 chmod u+w . 2>&5
13958 $RM conftest*
13959 # SGI C++ compiler will create directory out/ii_files/ for
13960 # template instantiation
13961 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13962 $RM out/* && rmdir out
13963 cd ..
13964 $RM -r conftest
13965 $RM conftest*
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13969 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13974 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13975 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13976 $as_echo_n "(cached) " >&6
13977 else
13978 lt_cv_prog_compiler_c_o_CXX=no
13979 $RM -r conftest 2>/dev/null
13980 mkdir conftest
13981 cd conftest
13982 mkdir out
13983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13985 lt_compiler_flag="-o out/conftest2.$ac_objext"
13986 # Insert the option either (1) after the last *FLAGS variable, or
13987 # (2) before a word containing "conftest.", or (3) at the end.
13988 # Note that $ac_compile itself does not contain backslashes and begins
13989 # with a dollar sign (not a hyphen), so the echo should work correctly.
13990 lt_compile=`echo "$ac_compile" | $SED \
13991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13993 -e 's:$: $lt_compiler_flag:'`
13994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13995 (eval "$lt_compile" 2>out/conftest.err)
13996 ac_status=$?
13997 cat out/conftest.err >&5
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14000 then
14001 # The compiler can only warn and ignore the option if not recognized
14002 # So say no if there are warnings
14003 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14004 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14005 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14006 lt_cv_prog_compiler_c_o_CXX=yes
14009 chmod u+w . 2>&5
14010 $RM conftest*
14011 # SGI C++ compiler will create directory out/ii_files/ for
14012 # template instantiation
14013 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14014 $RM out/* && rmdir out
14015 cd ..
14016 $RM -r conftest
14017 $RM conftest*
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14021 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14026 hard_links="nottested"
14027 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14028 # do not overwrite the value of need_locks provided by the user
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14030 $as_echo_n "checking if we can lock with hard links... " >&6; }
14031 hard_links=yes
14032 $RM conftest*
14033 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14034 touch conftest.a
14035 ln conftest.a conftest.b 2>&5 || hard_links=no
14036 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14038 $as_echo "$hard_links" >&6; }
14039 if test "$hard_links" = no; then
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14041 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14042 need_locks=warn
14044 else
14045 need_locks=no
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14051 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14053 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14054 case $host_os in
14055 aix[4-9]*)
14056 # If we're using GNU nm, then we don't want the "-C" option.
14057 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14058 # Also, AIX nm treats weak defined symbols like other global defined
14059 # symbols, whereas GNU nm marks them as "W".
14060 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14061 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'
14062 else
14063 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14066 pw32*)
14067 export_symbols_cmds_CXX="$ltdll_cmds"
14069 cygwin* | mingw* | cegcc*)
14070 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'
14073 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14075 esac
14076 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14079 $as_echo "$ld_shlibs_CXX" >&6; }
14080 test "$ld_shlibs_CXX" = no && can_build_shared=no
14082 with_gnu_ld_CXX=$with_gnu_ld
14090 # Do we need to explicitly link libc?
14092 case "x$archive_cmds_need_lc_CXX" in
14093 x|xyes)
14094 # Assume -lc should be added
14095 archive_cmds_need_lc_CXX=yes
14097 if test "$enable_shared" = yes && test "$GCC" = yes; then
14098 case $archive_cmds_CXX in
14099 *'~'*)
14100 # FIXME: we may have to deal with multi-command sequences.
14102 '$CC '*)
14103 # Test whether the compiler implicitly links with -lc since on some
14104 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14105 # to ld, don't add -lc before -lgcc.
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14107 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14108 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14109 $as_echo_n "(cached) " >&6
14110 else
14111 $RM conftest*
14112 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14115 (eval $ac_compile) 2>&5
14116 ac_status=$?
14117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14118 test $ac_status = 0; } 2>conftest.err; then
14119 soname=conftest
14120 lib=conftest
14121 libobjs=conftest.$ac_objext
14122 deplibs=
14123 wl=$lt_prog_compiler_wl_CXX
14124 pic_flag=$lt_prog_compiler_pic_CXX
14125 compiler_flags=-v
14126 linker_flags=-v
14127 verstring=
14128 output_objdir=.
14129 libname=conftest
14130 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14131 allow_undefined_flag_CXX=
14132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14133 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14134 ac_status=$?
14135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14136 test $ac_status = 0; }
14137 then
14138 lt_cv_archive_cmds_need_lc_CXX=no
14139 else
14140 lt_cv_archive_cmds_need_lc_CXX=yes
14142 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14143 else
14144 cat conftest.err 1>&5
14146 $RM conftest*
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14150 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14151 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14153 esac
14156 esac
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14222 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14224 library_names_spec=
14225 libname_spec='lib$name'
14226 soname_spec=
14227 shrext_cmds=".so"
14228 postinstall_cmds=
14229 postuninstall_cmds=
14230 finish_cmds=
14231 finish_eval=
14232 shlibpath_var=
14233 shlibpath_overrides_runpath=unknown
14234 version_type=none
14235 dynamic_linker="$host_os ld.so"
14236 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14237 need_lib_prefix=unknown
14238 hardcode_into_libs=no
14240 # when you set need_version to no, make sure it does not cause -set_version
14241 # flags to be left without arguments
14242 need_version=unknown
14244 case $host_os in
14245 aix3*)
14246 version_type=linux
14247 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14248 shlibpath_var=LIBPATH
14250 # AIX 3 has no versioning support, so we append a major version to the name.
14251 soname_spec='${libname}${release}${shared_ext}$major'
14254 aix[4-9]*)
14255 version_type=linux
14256 need_lib_prefix=no
14257 need_version=no
14258 hardcode_into_libs=yes
14259 if test "$host_cpu" = ia64; then
14260 # AIX 5 supports IA64
14261 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14262 shlibpath_var=LD_LIBRARY_PATH
14263 else
14264 # With GCC up to 2.95.x, collect2 would create an import file
14265 # for dependence libraries. The import file would start with
14266 # the line `#! .'. This would cause the generated library to
14267 # depend on `.', always an invalid library. This was fixed in
14268 # development snapshots of GCC prior to 3.0.
14269 case $host_os in
14270 aix4 | aix4.[01] | aix4.[01].*)
14271 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14272 echo ' yes '
14273 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14275 else
14276 can_build_shared=no
14279 esac
14280 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14281 # soname into executable. Probably we can add versioning support to
14282 # collect2, so additional links can be useful in future.
14283 if test "$aix_use_runtimelinking" = yes; then
14284 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14285 # instead of lib<name>.a to let people know that these are not
14286 # typical AIX shared libraries.
14287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14288 else
14289 # We preserve .a as extension for shared libraries through AIX4.2
14290 # and later when we are not doing run time linking.
14291 library_names_spec='${libname}${release}.a $libname.a'
14292 soname_spec='${libname}${release}${shared_ext}$major'
14294 shlibpath_var=LIBPATH
14298 amigaos*)
14299 case $host_cpu in
14300 powerpc)
14301 # Since July 2007 AmigaOS4 officially supports .so libraries.
14302 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14305 m68k)
14306 library_names_spec='$libname.ixlibrary $libname.a'
14307 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14308 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'
14310 esac
14313 beos*)
14314 library_names_spec='${libname}${shared_ext}'
14315 dynamic_linker="$host_os ld.so"
14316 shlibpath_var=LIBRARY_PATH
14319 bsdi[45]*)
14320 version_type=linux
14321 need_version=no
14322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14323 soname_spec='${libname}${release}${shared_ext}$major'
14324 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14325 shlibpath_var=LD_LIBRARY_PATH
14326 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14327 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14328 # the default ld.so.conf also contains /usr/contrib/lib and
14329 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14330 # libtool to hard-code these into programs
14333 cygwin* | mingw* | pw32* | cegcc*)
14334 version_type=windows
14335 shrext_cmds=".dll"
14336 need_version=no
14337 need_lib_prefix=no
14339 case $GCC,$host_os in
14340 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14341 library_names_spec='$libname.dll.a'
14342 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14343 postinstall_cmds='base_file=`basename \${file}`~
14344 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14345 dldir=$destdir/`dirname \$dlpath`~
14346 test -d \$dldir || mkdir -p \$dldir~
14347 $install_prog $dir/$dlname \$dldir/$dlname~
14348 chmod a+x \$dldir/$dlname~
14349 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14350 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14352 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14353 dlpath=$dir/\$dldll~
14354 $RM \$dlpath'
14355 shlibpath_overrides_runpath=yes
14357 case $host_os in
14358 cygwin*)
14359 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14360 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14363 mingw* | cegcc*)
14364 # MinGW DLLs use traditional 'lib' prefix
14365 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14367 pw32*)
14368 # pw32 DLLs use 'pw' prefix rather than 'lib'
14369 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14371 esac
14375 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14377 esac
14378 dynamic_linker='Win32 ld.exe'
14379 # FIXME: first we should search . and the directory the executable is in
14380 shlibpath_var=PATH
14383 darwin* | rhapsody*)
14384 dynamic_linker="$host_os dyld"
14385 version_type=darwin
14386 need_lib_prefix=no
14387 need_version=no
14388 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14389 soname_spec='${libname}${release}${major}$shared_ext'
14390 shlibpath_overrides_runpath=yes
14391 shlibpath_var=DYLD_LIBRARY_PATH
14392 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14394 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14397 dgux*)
14398 version_type=linux
14399 need_lib_prefix=no
14400 need_version=no
14401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14402 soname_spec='${libname}${release}${shared_ext}$major'
14403 shlibpath_var=LD_LIBRARY_PATH
14406 freebsd* | dragonfly*)
14407 # DragonFly does not have aout. When/if they implement a new
14408 # versioning mechanism, adjust this.
14409 if test -x /usr/bin/objformat; then
14410 objformat=`/usr/bin/objformat`
14411 else
14412 case $host_os in
14413 freebsd[23].*) objformat=aout ;;
14414 *) objformat=elf ;;
14415 esac
14417 version_type=freebsd-$objformat
14418 case $version_type in
14419 freebsd-elf*)
14420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14421 need_version=no
14422 need_lib_prefix=no
14424 freebsd-*)
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14426 need_version=yes
14428 esac
14429 shlibpath_var=LD_LIBRARY_PATH
14430 case $host_os in
14431 freebsd2.*)
14432 shlibpath_overrides_runpath=yes
14434 freebsd3.[01]* | freebsdelf3.[01]*)
14435 shlibpath_overrides_runpath=yes
14436 hardcode_into_libs=yes
14438 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14439 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14440 shlibpath_overrides_runpath=no
14441 hardcode_into_libs=yes
14443 *) # from 4.6 on, and DragonFly
14444 shlibpath_overrides_runpath=yes
14445 hardcode_into_libs=yes
14447 esac
14450 gnu*)
14451 version_type=linux
14452 need_lib_prefix=no
14453 need_version=no
14454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14455 soname_spec='${libname}${release}${shared_ext}$major'
14456 shlibpath_var=LD_LIBRARY_PATH
14457 hardcode_into_libs=yes
14460 haiku*)
14461 version_type=linux
14462 need_lib_prefix=no
14463 need_version=no
14464 dynamic_linker="$host_os runtime_loader"
14465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14466 soname_spec='${libname}${release}${shared_ext}$major'
14467 shlibpath_var=LIBRARY_PATH
14468 shlibpath_overrides_runpath=yes
14469 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14470 hardcode_into_libs=yes
14473 hpux9* | hpux10* | hpux11*)
14474 # Give a soname corresponding to the major version so that dld.sl refuses to
14475 # link against other versions.
14476 version_type=sunos
14477 need_lib_prefix=no
14478 need_version=no
14479 case $host_cpu in
14480 ia64*)
14481 shrext_cmds='.so'
14482 hardcode_into_libs=yes
14483 dynamic_linker="$host_os dld.so"
14484 shlibpath_var=LD_LIBRARY_PATH
14485 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14487 soname_spec='${libname}${release}${shared_ext}$major'
14488 if test "X$HPUX_IA64_MODE" = X32; then
14489 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14490 else
14491 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14493 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14495 hppa*64*)
14496 shrext_cmds='.sl'
14497 hardcode_into_libs=yes
14498 dynamic_linker="$host_os dld.sl"
14499 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14500 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14502 soname_spec='${libname}${release}${shared_ext}$major'
14503 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14507 shrext_cmds='.sl'
14508 dynamic_linker="$host_os dld.sl"
14509 shlibpath_var=SHLIB_PATH
14510 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14512 soname_spec='${libname}${release}${shared_ext}$major'
14514 esac
14515 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14516 postinstall_cmds='chmod 555 $lib'
14517 # or fails outright, so override atomically:
14518 install_override_mode=555
14521 interix[3-9]*)
14522 version_type=linux
14523 need_lib_prefix=no
14524 need_version=no
14525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14526 soname_spec='${libname}${release}${shared_ext}$major'
14527 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14528 shlibpath_var=LD_LIBRARY_PATH
14529 shlibpath_overrides_runpath=no
14530 hardcode_into_libs=yes
14533 irix5* | irix6* | nonstopux*)
14534 case $host_os in
14535 nonstopux*) version_type=nonstopux ;;
14537 if test "$lt_cv_prog_gnu_ld" = yes; then
14538 version_type=linux
14539 else
14540 version_type=irix
14541 fi ;;
14542 esac
14543 need_lib_prefix=no
14544 need_version=no
14545 soname_spec='${libname}${release}${shared_ext}$major'
14546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14547 case $host_os in
14548 irix5* | nonstopux*)
14549 libsuff= shlibsuff=
14552 case $LD in # libtool.m4 will add one of these switches to LD
14553 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14554 libsuff= shlibsuff= libmagic=32-bit;;
14555 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14556 libsuff=32 shlibsuff=N32 libmagic=N32;;
14557 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14558 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14559 *) libsuff= shlibsuff= libmagic=never-match;;
14560 esac
14562 esac
14563 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14564 shlibpath_overrides_runpath=no
14565 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14566 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14567 hardcode_into_libs=yes
14570 # No shared lib support for Linux oldld, aout, or coff.
14571 linux*oldld* | linux*aout* | linux*coff*)
14572 dynamic_linker=no
14575 # This must be Linux ELF.
14576 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14577 version_type=linux
14578 need_lib_prefix=no
14579 need_version=no
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 soname_spec='${libname}${release}${shared_ext}$major'
14582 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14583 shlibpath_var=LD_LIBRARY_PATH
14584 shlibpath_overrides_runpath=no
14586 # Some binutils ld are patched to set DT_RUNPATH
14587 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 lt_cv_shlibpath_overrides_runpath=no
14591 save_LDFLAGS=$LDFLAGS
14592 save_libdir=$libdir
14593 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14594 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14595 if test x$gcc_no_link = xyes; then
14596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14602 main ()
14606 return 0;
14608 _ACEOF
14609 if ac_fn_cxx_try_link "$LINENO"; then :
14610 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14611 lt_cv_shlibpath_overrides_runpath=yes
14614 rm -f core conftest.err conftest.$ac_objext \
14615 conftest$ac_exeext conftest.$ac_ext
14616 LDFLAGS=$save_LDFLAGS
14617 libdir=$save_libdir
14621 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14623 # This implies no fast_install, which is unacceptable.
14624 # Some rework will be needed to allow for fast_install
14625 # before this can be enabled.
14626 hardcode_into_libs=yes
14628 # Append ld.so.conf contents to the search path
14629 if test -f /etc/ld.so.conf; then
14630 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' ' '`
14631 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14634 # We used to test for /lib/ld.so.1 and disable shared libraries on
14635 # powerpc, because MkLinux only supported shared libraries with the
14636 # GNU dynamic linker. Since this was broken with cross compilers,
14637 # most powerpc-linux boxes support dynamic linking these days and
14638 # people can always --disable-shared, the test was removed, and we
14639 # assume the GNU/Linux dynamic linker is in use.
14640 dynamic_linker='GNU/Linux ld.so'
14643 netbsd*)
14644 version_type=sunos
14645 need_lib_prefix=no
14646 need_version=no
14647 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14649 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14650 dynamic_linker='NetBSD (a.out) ld.so'
14651 else
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14653 soname_spec='${libname}${release}${shared_ext}$major'
14654 dynamic_linker='NetBSD ld.elf_so'
14656 shlibpath_var=LD_LIBRARY_PATH
14657 shlibpath_overrides_runpath=yes
14658 hardcode_into_libs=yes
14661 newsos6)
14662 version_type=linux
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14668 *nto* | *qnx*)
14669 version_type=qnx
14670 need_lib_prefix=no
14671 need_version=no
14672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14673 soname_spec='${libname}${release}${shared_ext}$major'
14674 shlibpath_var=LD_LIBRARY_PATH
14675 shlibpath_overrides_runpath=no
14676 hardcode_into_libs=yes
14677 dynamic_linker='ldqnx.so'
14680 openbsd*)
14681 version_type=sunos
14682 sys_lib_dlsearch_path_spec="/usr/lib"
14683 need_lib_prefix=no
14684 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14685 case $host_os in
14686 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14687 *) need_version=no ;;
14688 esac
14689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14690 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14691 shlibpath_var=LD_LIBRARY_PATH
14692 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14693 case $host_os in
14694 openbsd2.[89] | openbsd2.[89].*)
14695 shlibpath_overrides_runpath=no
14698 shlibpath_overrides_runpath=yes
14700 esac
14701 else
14702 shlibpath_overrides_runpath=yes
14706 os2*)
14707 libname_spec='$name'
14708 shrext_cmds=".dll"
14709 need_lib_prefix=no
14710 library_names_spec='$libname${shared_ext} $libname.a'
14711 dynamic_linker='OS/2 ld.exe'
14712 shlibpath_var=LIBPATH
14715 osf3* | osf4* | osf5*)
14716 version_type=osf
14717 need_lib_prefix=no
14718 need_version=no
14719 soname_spec='${libname}${release}${shared_ext}$major'
14720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14721 shlibpath_var=LD_LIBRARY_PATH
14722 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14723 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14726 rdos*)
14727 dynamic_linker=no
14730 solaris*)
14731 version_type=linux
14732 need_lib_prefix=no
14733 need_version=no
14734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14735 soname_spec='${libname}${release}${shared_ext}$major'
14736 shlibpath_var=LD_LIBRARY_PATH
14737 shlibpath_overrides_runpath=yes
14738 hardcode_into_libs=yes
14739 # ldd complains unless libraries are executable
14740 postinstall_cmds='chmod +x $lib'
14743 sunos4*)
14744 version_type=sunos
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14746 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14747 shlibpath_var=LD_LIBRARY_PATH
14748 shlibpath_overrides_runpath=yes
14749 if test "$with_gnu_ld" = yes; then
14750 need_lib_prefix=no
14752 need_version=yes
14755 sysv4 | sysv4.3*)
14756 version_type=linux
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758 soname_spec='${libname}${release}${shared_ext}$major'
14759 shlibpath_var=LD_LIBRARY_PATH
14760 case $host_vendor in
14761 sni)
14762 shlibpath_overrides_runpath=no
14763 need_lib_prefix=no
14764 runpath_var=LD_RUN_PATH
14766 siemens)
14767 need_lib_prefix=no
14769 motorola)
14770 need_lib_prefix=no
14771 need_version=no
14772 shlibpath_overrides_runpath=no
14773 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14775 esac
14778 sysv4*MP*)
14779 if test -d /usr/nec ;then
14780 version_type=linux
14781 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14782 soname_spec='$libname${shared_ext}.$major'
14783 shlibpath_var=LD_LIBRARY_PATH
14787 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14788 version_type=freebsd-elf
14789 need_lib_prefix=no
14790 need_version=no
14791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14792 soname_spec='${libname}${release}${shared_ext}$major'
14793 shlibpath_var=LD_LIBRARY_PATH
14794 shlibpath_overrides_runpath=yes
14795 hardcode_into_libs=yes
14796 if test "$with_gnu_ld" = yes; then
14797 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14798 else
14799 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14800 case $host_os in
14801 sco3.2v5*)
14802 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14804 esac
14806 sys_lib_dlsearch_path_spec='/usr/lib'
14809 tpf*)
14810 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14811 version_type=linux
14812 need_lib_prefix=no
14813 need_version=no
14814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14815 shlibpath_var=LD_LIBRARY_PATH
14816 shlibpath_overrides_runpath=no
14817 hardcode_into_libs=yes
14820 uts4*)
14821 version_type=linux
14822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14823 soname_spec='${libname}${release}${shared_ext}$major'
14824 shlibpath_var=LD_LIBRARY_PATH
14828 dynamic_linker=no
14830 esac
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14832 $as_echo "$dynamic_linker" >&6; }
14833 test "$dynamic_linker" = no && can_build_shared=no
14835 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14836 if test "$GCC" = yes; then
14837 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14840 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14841 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14843 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14844 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14885 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14886 hardcode_action_CXX=
14887 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14888 test -n "$runpath_var_CXX" ||
14889 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14891 # We can hardcode non-existent directories.
14892 if test "$hardcode_direct_CXX" != no &&
14893 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14894 # have to relink, otherwise we might link with an installed library
14895 # when we should be linking with a yet-to-be-installed one
14896 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14897 test "$hardcode_minus_L_CXX" != no; then
14898 # Linking always hardcodes the temporary library directory.
14899 hardcode_action_CXX=relink
14900 else
14901 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14902 hardcode_action_CXX=immediate
14904 else
14905 # We cannot hardcode anything, or else we can only hardcode existing
14906 # directories.
14907 hardcode_action_CXX=unsupported
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14910 $as_echo "$hardcode_action_CXX" >&6; }
14912 if test "$hardcode_action_CXX" = relink ||
14913 test "$inherit_rpath_CXX" = yes; then
14914 # Fast installation is not supported
14915 enable_fast_install=no
14916 elif test "$shlibpath_overrides_runpath" = yes ||
14917 test "$enable_shared" = no; then
14918 # Fast installation is not necessary
14919 enable_fast_install=needless
14928 fi # test -n "$compiler"
14930 CC=$lt_save_CC
14931 LDCXX=$LD
14932 LD=$lt_save_LD
14933 GCC=$lt_save_GCC
14934 with_gnu_ld=$lt_save_with_gnu_ld
14935 lt_cv_path_LDCXX=$lt_cv_path_LD
14936 lt_cv_path_LD=$lt_save_path_LD
14937 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14938 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14939 fi # test "$_lt_caught_CXX_error" != yes
14941 ac_ext=c
14942 ac_cpp='$CPP $CPPFLAGS'
14943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14959 ac_config_commands="$ac_config_commands libtool"
14964 # Only expand once:
14970 case $host in
14971 *-cygwin* | *-mingw*)
14972 # 'host' will be top-level target in the case of a target lib,
14973 # we must compare to with_cross_host to decide if this is a native
14974 # or cross-compiler and select where to install dlls appropriately.
14975 if test -n "$with_cross_host" &&
14976 test x"$with_cross_host" != x"no"; then
14977 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14978 else
14979 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14983 lt_host_flags=
14985 esac
14992 if test "$enable_vtable_verify" = yes; then
14993 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14994 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14998 # libtool variables for C++ shared and position-independent compiles.
15000 # Use glibcxx_lt_pic_flag to designate the automake variable
15001 # used to encapsulate the default libtool approach to creating objects
15002 # with position-independent code. Default: -prefer-pic.
15004 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15005 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15007 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15008 # creating position-independent objects. This varies with the target
15009 # hardware and operating system, but is often: -DPIC -fPIC.
15010 if test "$enable_shared" = yes; then
15011 glibcxx_lt_pic_flag="-prefer-pic"
15012 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15013 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15015 else
15016 glibcxx_lt_pic_flag=
15017 glibcxx_compiler_pic_flag=
15018 glibcxx_compiler_shared_flag=
15024 # Override the libtool's pic_flag and pic_mode.
15025 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15026 # NB: this impacts --with-pic and --without-pic.
15027 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15028 pic_mode='default'
15030 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15031 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15033 # Possibly disable most of the library.
15034 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15035 ## than just ignoring the results. Faster /and/ more correct, win win.
15037 # Check whether --enable-hosted-libstdcxx was given.
15038 if test "${enable_hosted_libstdcxx+set}" = set; then :
15039 enableval=$enable_hosted_libstdcxx;
15040 else
15041 case "$host" in
15042 arm*-*-symbianelf*)
15043 enable_hosted_libstdcxx=no
15046 enable_hosted_libstdcxx=yes
15048 esac
15051 if test "$enable_hosted_libstdcxx" = no; then
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15053 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15054 is_hosted=no
15055 hosted_define=0
15056 enable_abi_check=no
15057 enable_libstdcxx_pch=no
15058 else
15059 is_hosted=yes
15060 hosted_define=1
15064 cat >>confdefs.h <<_ACEOF
15065 #define _GLIBCXX_HOSTED $hosted_define
15066 _ACEOF
15070 # Enable descriptive messages to standard output on termination.
15072 # Check whether --enable-libstdcxx-verbose was given.
15073 if test "${enable_libstdcxx_verbose+set}" = set; then :
15074 enableval=$enable_libstdcxx_verbose;
15075 else
15076 enable_libstdcxx_verbose=yes
15079 if test x"$enable_libstdcxx_verbose" = xyes; then
15080 verbose_define=1
15081 else
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15083 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15084 verbose_define=0
15087 cat >>confdefs.h <<_ACEOF
15088 #define _GLIBCXX_VERBOSE $verbose_define
15089 _ACEOF
15093 # Enable compiler support that doesn't require linking.
15095 # Check whether --enable-libstdcxx-pch was given.
15096 if test "${enable_libstdcxx_pch+set}" = set; then :
15097 enableval=$enable_libstdcxx_pch;
15098 case "$enableval" in
15099 yes|no) ;;
15100 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15101 esac
15103 else
15104 enable_libstdcxx_pch=$is_hosted
15108 if test $enable_libstdcxx_pch = yes; then
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15110 $as_echo_n "checking for compiler with PCH support... " >&6; }
15111 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 ac_save_CXXFLAGS="$CXXFLAGS"
15115 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15117 ac_ext=cpp
15118 ac_cpp='$CXXCPP $CPPFLAGS'
15119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15123 echo '#include <math.h>' > conftest.h
15124 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15125 -o conftest.h.gch 1>&5 2>&1 &&
15126 echo '#error "pch failed"' > conftest.h &&
15127 echo '#include "conftest.h"' > conftest.cc &&
15128 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15129 then
15130 glibcxx_cv_prog_CXX_pch=yes
15131 else
15132 glibcxx_cv_prog_CXX_pch=no
15134 rm -f conftest*
15135 CXXFLAGS=$ac_save_CXXFLAGS
15136 ac_ext=c
15137 ac_cpp='$CPP $CPPFLAGS'
15138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15145 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15146 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15150 $as_echo_n "checking for enabled PCH... " >&6; }
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15152 $as_echo "$enable_libstdcxx_pch" >&6; }
15155 if test $enable_libstdcxx_pch = yes; then
15156 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15157 else
15158 glibcxx_PCHFLAGS=""
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15164 $as_echo_n "checking for thread model used by GCC... " >&6; }
15165 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15167 $as_echo "$target_thread_file" >&6; }
15169 case $target_thread_file in
15170 aix) thread_header=config/rs6000/gthr-aix.h ;;
15171 dce) thread_header=config/pa/gthr-dce.h ;;
15172 lynx) thread_header=config/gthr-lynx.h ;;
15173 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15174 posix) thread_header=gthr-posix.h ;;
15175 rtems) thread_header=config/gthr-rtems.h ;;
15176 single) thread_header=gthr-single.h ;;
15177 tpf) thread_header=config/s390/gthr-tpf.h ;;
15178 vxworks) thread_header=config/gthr-vxworks.h ;;
15179 win32) thread_header=config/i386/gthr-win32.h ;;
15180 esac
15186 ac_ext=cpp
15187 ac_cpp='$CXXCPP $CPPFLAGS'
15188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15192 old_CXXFLAGS="$CXXFLAGS"
15194 # Do link tests if possible, instead asm tests, limited to some platforms
15195 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15196 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15197 atomic_builtins_link_tests=no
15198 if test x$gcc_no_link != xyes; then
15199 # Can do link tests. Limit to some tested platforms
15200 case "$host" in
15201 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15202 atomic_builtins_link_tests=yes
15204 esac
15207 if test x$atomic_builtins_link_tests = xyes; then
15209 # Do link tests.
15211 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15214 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15215 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15216 $as_echo_n "(cached) " >&6
15217 else
15219 if test x$gcc_no_link = xyes; then
15220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15226 main ()
15228 typedef bool atomic_type;
15229 atomic_type c1;
15230 atomic_type c2;
15231 atomic_type c3(0);
15232 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15233 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15234 __ATOMIC_RELAXED);
15235 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15236 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15239 return 0;
15241 _ACEOF
15242 if ac_fn_cxx_try_link "$LINENO"; then :
15243 glibcxx_cv_atomic_bool=yes
15244 else
15245 glibcxx_cv_atomic_bool=no
15247 rm -f core conftest.err conftest.$ac_objext \
15248 conftest$ac_exeext conftest.$ac_ext
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15253 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15256 $as_echo_n "checking for atomic builtins for short... " >&6; }
15257 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15258 $as_echo_n "(cached) " >&6
15259 else
15261 if test x$gcc_no_link = xyes; then
15262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15268 main ()
15270 typedef short atomic_type;
15271 atomic_type c1;
15272 atomic_type c2;
15273 atomic_type c3(0);
15274 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15275 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15276 __ATOMIC_RELAXED);
15277 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15278 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15281 return 0;
15283 _ACEOF
15284 if ac_fn_cxx_try_link "$LINENO"; then :
15285 glibcxx_cv_atomic_short=yes
15286 else
15287 glibcxx_cv_atomic_short=no
15289 rm -f core conftest.err conftest.$ac_objext \
15290 conftest$ac_exeext conftest.$ac_ext
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15295 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15298 $as_echo_n "checking for atomic builtins for int... " >&6; }
15299 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15303 if test x$gcc_no_link = xyes; then
15304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15310 main ()
15312 typedef int atomic_type;
15313 atomic_type c1;
15314 atomic_type c2;
15315 atomic_type c3(0);
15316 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15317 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15318 __ATOMIC_RELAXED);
15319 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15320 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15323 return 0;
15325 _ACEOF
15326 if ac_fn_cxx_try_link "$LINENO"; then :
15327 glibcxx_cv_atomic_int=yes
15328 else
15329 glibcxx_cv_atomic_int=no
15331 rm -f core conftest.err conftest.$ac_objext \
15332 conftest$ac_exeext conftest.$ac_ext
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15337 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15340 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15341 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15342 $as_echo_n "(cached) " >&6
15343 else
15345 if test x$gcc_no_link = xyes; then
15346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15352 main ()
15354 typedef long long atomic_type;
15355 atomic_type c1;
15356 atomic_type c2;
15357 atomic_type c3(0);
15358 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15359 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15360 __ATOMIC_RELAXED);
15361 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15362 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15365 return 0;
15367 _ACEOF
15368 if ac_fn_cxx_try_link "$LINENO"; then :
15369 glibcxx_cv_atomic_long_long=yes
15370 else
15371 glibcxx_cv_atomic_long_long=no
15373 rm -f core conftest.err conftest.$ac_objext \
15374 conftest$ac_exeext conftest.$ac_ext
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15379 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15381 else
15383 # Do asm tests.
15385 # Compile unoptimized.
15386 CXXFLAGS='-O0 -S'
15388 # Fake what AC_TRY_COMPILE does.
15390 cat > conftest.$ac_ext << EOF
15391 #line 15391 "configure"
15392 int main()
15394 typedef bool atomic_type;
15395 atomic_type c1;
15396 atomic_type c2;
15397 atomic_type c3(0);
15398 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15399 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15400 __ATOMIC_RELAXED);
15401 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15402 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15404 return 0;
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15409 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15411 (eval $ac_compile) 2>&5
15412 ac_status=$?
15413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15414 test $ac_status = 0; }; then
15415 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15416 glibcxx_cv_atomic_bool=no
15417 else
15418 glibcxx_cv_atomic_bool=yes
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15422 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15423 rm -f conftest*
15425 cat > conftest.$ac_ext << EOF
15426 #line 15426 "configure"
15427 int main()
15429 typedef short atomic_type;
15430 atomic_type c1;
15431 atomic_type c2;
15432 atomic_type c3(0);
15433 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15434 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15435 __ATOMIC_RELAXED);
15436 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15437 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15439 return 0;
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15444 $as_echo_n "checking for atomic builtins for short... " >&6; }
15445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15446 (eval $ac_compile) 2>&5
15447 ac_status=$?
15448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15449 test $ac_status = 0; }; then
15450 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15451 glibcxx_cv_atomic_short=no
15452 else
15453 glibcxx_cv_atomic_short=yes
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15457 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15458 rm -f conftest*
15460 cat > conftest.$ac_ext << EOF
15461 #line 15461 "configure"
15462 int main()
15464 // NB: _Atomic_word not necessarily int.
15465 typedef int atomic_type;
15466 atomic_type c1;
15467 atomic_type c2;
15468 atomic_type c3(0);
15469 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15470 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15471 __ATOMIC_RELAXED);
15472 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15473 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15475 return 0;
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15480 $as_echo_n "checking for atomic builtins for int... " >&6; }
15481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15482 (eval $ac_compile) 2>&5
15483 ac_status=$?
15484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15485 test $ac_status = 0; }; then
15486 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15487 glibcxx_cv_atomic_int=no
15488 else
15489 glibcxx_cv_atomic_int=yes
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15493 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15494 rm -f conftest*
15496 cat > conftest.$ac_ext << EOF
15497 #line 15497 "configure"
15498 int main()
15500 typedef long long atomic_type;
15501 atomic_type c1;
15502 atomic_type c2;
15503 atomic_type c3(0);
15504 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15505 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15506 __ATOMIC_RELAXED);
15507 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15508 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15510 return 0;
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15515 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15517 (eval $ac_compile) 2>&5
15518 ac_status=$?
15519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15520 test $ac_status = 0; }; then
15521 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15522 glibcxx_cv_atomic_long_long=no
15523 else
15524 glibcxx_cv_atomic_long_long=yes
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15528 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15529 rm -f conftest*
15533 CXXFLAGS="$old_CXXFLAGS"
15534 ac_ext=c
15535 ac_cpp='$CPP $CPPFLAGS'
15536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15541 # Set atomicity_dir to builtins if all but the long long test above passes.
15542 if test "$glibcxx_cv_atomic_bool" = yes \
15543 && test "$glibcxx_cv_atomic_short" = yes \
15544 && test "$glibcxx_cv_atomic_int" = yes; then
15546 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15548 atomicity_dir=cpu/generic/atomicity_builtins
15551 # If still generic, set to mutex.
15552 if test $atomicity_dir = "cpu/generic" ; then
15553 atomicity_dir=cpu/generic/atomicity_mutex
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15555 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15556 if test "x$target_thread_file" = xsingle; then
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15558 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15560 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15561 else
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15563 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15565 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15572 # Fake what AC_TRY_COMPILE does, without linking as this is
15573 # unnecessary for this test.
15575 cat > conftest.$ac_ext << EOF
15576 #line 15576 "configure"
15577 int main()
15579 _Decimal32 d1;
15580 _Decimal64 d2;
15581 _Decimal128 d3;
15582 return 0;
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15587 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15589 (eval $ac_compile) 2>&5
15590 ac_status=$?
15591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15592 test $ac_status = 0; }; then
15594 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15596 enable_dfp=yes
15597 else
15598 enable_dfp=no
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15601 $as_echo "$enable_dfp" >&6; }
15602 rm -f conftest*
15607 ac_ext=cpp
15608 ac_cpp='$CXXCPP $CPPFLAGS'
15609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15614 # Fake what AC_TRY_COMPILE does, without linking as this is
15615 # unnecessary for this test.
15617 cat > conftest.$ac_ext << EOF
15618 #line 15618 "configure"
15619 template<typename T1, typename T2>
15620 struct same
15621 { typedef T2 type; };
15623 template<typename T>
15624 struct same<T, T>;
15626 int main()
15628 typename same<long, __int128>::type i1;
15629 typename same<long long, __int128>::type i2;
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15634 $as_echo_n "checking for __int128... " >&6; }
15635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15636 (eval $ac_compile) 2>&5
15637 ac_status=$?
15638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15639 test $ac_status = 0; }; then
15641 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15643 enable_int128=yes
15644 else
15645 enable_int128=no
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15648 $as_echo "$enable_int128" >&6; }
15649 rm -f conftest*
15651 cat > conftest.$ac_ext << EOF
15652 #line 15652 "configure"
15653 template<typename T1, typename T2>
15654 struct same
15655 { typedef T2 type; };
15657 template<typename T>
15658 struct same<T, T>;
15660 int main()
15662 typename same<double, __float128>::type f1;
15663 typename same<long double, __float128>::type f2;
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15668 $as_echo_n "checking for __float128... " >&6; }
15669 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15670 (eval $ac_compile) 2>&5
15671 ac_status=$?
15672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15673 test $ac_status = 0; }; then
15675 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15677 enable_float128=yes
15678 else
15679 enable_float128=no
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15682 $as_echo "$enable_float128" >&6; }
15683 rm -f conftest*
15685 ac_ext=c
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15692 if test "$enable_float128" = yes; then
15693 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15696 # Checks for compiler support that doesn't require linking.
15698 # All these tests are for C++; save the language and the compiler flags.
15699 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15700 # found in GLIBCXX_CONFIGURE.
15702 ac_ext=cpp
15703 ac_cpp='$CXXCPP $CPPFLAGS'
15704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15709 ac_save_CXXFLAGS="$CXXFLAGS"
15711 # Check for maintainer-mode bits.
15712 if test x"$USE_MAINTAINER_MODE" = xno; then
15713 WERROR=''
15714 else
15715 WERROR='-Werror'
15718 # Check for -ffunction-sections -fdata-sections
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15720 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15721 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15723 /* end confdefs.h. */
15724 int foo; void bar() { };
15726 main ()
15730 return 0;
15732 _ACEOF
15733 if ac_fn_cxx_try_compile "$LINENO"; then :
15734 ac_fdsections=yes
15735 else
15736 ac_fdsections=no
15738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15739 if test "$ac_test_CXXFLAGS" = set; then
15740 CXXFLAGS="$ac_save_CXXFLAGS"
15741 else
15742 # this is the suspicious part
15743 CXXFLAGS=''
15745 if test x"$ac_fdsections" = x"yes"; then
15746 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15749 $as_echo "$ac_fdsections" >&6; }
15751 ac_ext=c
15752 ac_cpp='$CPP $CPPFLAGS'
15753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15761 # Enable all the variable C++ runtime options that don't require linking.
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15764 $as_echo_n "checking for underlying I/O to use... " >&6; }
15765 # Check whether --enable-cstdio was given.
15766 if test "${enable_cstdio+set}" = set; then :
15767 enableval=$enable_cstdio;
15768 case "$enableval" in
15769 stdio) ;;
15770 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15771 esac
15773 else
15774 enable_cstdio=stdio
15779 # Now that libio has been removed, you can have any color you want as long
15780 # as it's black. This is one big no-op until other packages are added, but
15781 # showing the framework never hurts.
15782 case ${enable_cstdio} in
15783 stdio)
15784 CSTDIO_H=config/io/c_io_stdio.h
15785 BASIC_FILE_H=config/io/basic_file_stdio.h
15786 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15788 $as_echo "stdio" >&6; }
15790 esac
15797 # Check whether --enable-clocale was given.
15798 if test "${enable_clocale+set}" = set; then :
15799 enableval=$enable_clocale;
15800 case "$enableval" in
15801 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15802 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15803 esac
15805 else
15806 enable_clocale=auto
15811 # Deal with gettext issues. Default to not using it (=no) until we detect
15812 # support for it later. Let the user turn it off via --e/d, but let that
15813 # default to on for easier handling.
15814 USE_NLS=no
15815 # Check whether --enable-nls was given.
15816 if test "${enable_nls+set}" = set; then :
15817 enableval=$enable_nls;
15818 else
15819 enable_nls=yes
15823 # Either a known package, or "auto"
15824 if test $enable_clocale = no || test $enable_clocale = yes; then
15825 enable_clocale=auto
15827 enable_clocale_flag=$enable_clocale
15829 # Probe for locale model to use if none specified.
15830 # Default to "generic".
15831 if test $enable_clocale_flag = auto; then
15832 case ${target_os} in
15833 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15834 enable_clocale_flag=gnu
15836 darwin*)
15837 enable_clocale_flag=darwin
15839 dragonfly* | freebsd*)
15840 enable_clocale_flag=dragonfly
15842 openbsd*)
15843 enable_clocale_flag=newlib
15846 if test x"$with_newlib" = x"yes"; then
15847 enable_clocale_flag=newlib
15848 else
15849 enable_clocale_flag=generic
15852 esac
15855 # Sanity check model, and test for special functionality.
15856 if test $enable_clocale_flag = gnu; then
15857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15858 /* end confdefs.h. */
15860 #include <features.h>
15861 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15862 _GLIBCXX_ok
15863 #endif
15865 _ACEOF
15866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15867 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15868 enable_clocale_flag=gnu
15869 else
15870 enable_clocale_flag=generic
15872 rm -f conftest*
15875 # Set it to scream when it hurts.
15876 ac_save_CFLAGS="$CFLAGS"
15877 CFLAGS="-Wimplicit-function-declaration -Werror"
15879 # Use strxfrm_l if available.
15880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15881 /* end confdefs.h. */
15882 #define _GNU_SOURCE 1
15883 #include <string.h>
15884 #include <locale.h>
15886 main ()
15888 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15890 return 0;
15892 _ACEOF
15893 if ac_fn_c_try_compile "$LINENO"; then :
15895 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15900 # Use strerror_l if available.
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15903 #define _GNU_SOURCE 1
15904 #include <string.h>
15905 #include <locale.h>
15907 main ()
15909 __locale_t loc; strerror_l(5, loc);
15911 return 0;
15913 _ACEOF
15914 if ac_fn_c_try_compile "$LINENO"; then :
15916 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921 CFLAGS="$ac_save_CFLAGS"
15924 # Perhaps use strerror_r if available, and strerror_l isn't.
15925 ac_save_CFLAGS="$CFLAGS"
15926 CFLAGS="-Wimplicit-function-declaration -Werror"
15927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15929 #define _GNU_SOURCE 1
15930 #include <string.h>
15931 #include <locale.h>
15933 main ()
15935 char s[128]; strerror_r(5, s, 128);
15937 return 0;
15939 _ACEOF
15940 if ac_fn_c_try_compile "$LINENO"; then :
15942 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15946 CFLAGS="$ac_save_CFLAGS"
15948 # Set configure bits for specified locale package
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15950 $as_echo_n "checking for C locale to use... " >&6; }
15951 case ${enable_clocale_flag} in
15952 generic)
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15954 $as_echo "generic" >&6; }
15956 CLOCALE_H=config/locale/generic/c_locale.h
15957 CLOCALE_CC=config/locale/generic/c_locale.cc
15958 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15959 CCOLLATE_CC=config/locale/generic/collate_members.cc
15960 CCTYPE_CC=config/locale/generic/ctype_members.cc
15961 CMESSAGES_H=config/locale/generic/messages_members.h
15962 CMESSAGES_CC=config/locale/generic/messages_members.cc
15963 CMONEY_CC=config/locale/generic/monetary_members.cc
15964 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15965 CTIME_H=config/locale/generic/time_members.h
15966 CTIME_CC=config/locale/generic/time_members.cc
15967 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15969 darwin)
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15971 $as_echo "darwin" >&6; }
15973 CLOCALE_H=config/locale/generic/c_locale.h
15974 CLOCALE_CC=config/locale/generic/c_locale.cc
15975 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15976 CCOLLATE_CC=config/locale/generic/collate_members.cc
15977 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15978 CMESSAGES_H=config/locale/generic/messages_members.h
15979 CMESSAGES_CC=config/locale/generic/messages_members.cc
15980 CMONEY_CC=config/locale/generic/monetary_members.cc
15981 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15982 CTIME_H=config/locale/generic/time_members.h
15983 CTIME_CC=config/locale/generic/time_members.cc
15984 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15987 dragonfly)
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15989 $as_echo "dragonfly or freebsd" >&6; }
15991 CLOCALE_H=config/locale/dragonfly/c_locale.h
15992 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15993 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15994 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15995 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15996 CMESSAGES_H=config/locale/generic/messages_members.h
15997 CMESSAGES_CC=config/locale/generic/messages_members.cc
15998 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
15999 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16000 CTIME_H=config/locale/dragonfly/time_members.h
16001 CTIME_CC=config/locale/dragonfly/time_members.cc
16002 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16005 gnu)
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16007 $as_echo "gnu" >&6; }
16009 # Declare intention to use gettext, and add support for specific
16010 # languages.
16011 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16012 ALL_LINGUAS="de fr"
16014 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16015 # Extract the first word of "msgfmt", so it can be a program name with args.
16016 set dummy msgfmt; ac_word=$2
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16018 $as_echo_n "checking for $ac_word... " >&6; }
16019 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16020 $as_echo_n "(cached) " >&6
16021 else
16022 if test -n "$check_msgfmt"; then
16023 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16024 else
16025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16026 for as_dir in $PATH
16028 IFS=$as_save_IFS
16029 test -z "$as_dir" && as_dir=.
16030 for ac_exec_ext in '' $ac_executable_extensions; do
16031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16032 ac_cv_prog_check_msgfmt="yes"
16033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16034 break 2
16036 done
16037 done
16038 IFS=$as_save_IFS
16040 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16043 check_msgfmt=$ac_cv_prog_check_msgfmt
16044 if test -n "$check_msgfmt"; then
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16046 $as_echo "$check_msgfmt" >&6; }
16047 else
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16049 $as_echo "no" >&6; }
16053 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16054 USE_NLS=yes
16056 # Export the build objects.
16057 for ling in $ALL_LINGUAS; do \
16058 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16059 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16060 done
16064 CLOCALE_H=config/locale/gnu/c_locale.h
16065 CLOCALE_CC=config/locale/gnu/c_locale.cc
16066 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16067 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16068 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16069 CMESSAGES_H=config/locale/gnu/messages_members.h
16070 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16071 CMONEY_CC=config/locale/gnu/monetary_members.cc
16072 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16073 CTIME_H=config/locale/gnu/time_members.h
16074 CTIME_CC=config/locale/gnu/time_members.cc
16075 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16077 ieee_1003.1-2001)
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16079 $as_echo "IEEE 1003.1" >&6; }
16081 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16082 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16083 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16084 CCOLLATE_CC=config/locale/generic/collate_members.cc
16085 CCTYPE_CC=config/locale/generic/ctype_members.cc
16086 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16087 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16088 CMONEY_CC=config/locale/generic/monetary_members.cc
16089 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16090 CTIME_H=config/locale/generic/time_members.h
16091 CTIME_CC=config/locale/generic/time_members.cc
16092 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16094 newlib)
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16096 $as_echo "newlib" >&6; }
16098 CLOCALE_H=config/locale/generic/c_locale.h
16099 CLOCALE_CC=config/locale/generic/c_locale.cc
16100 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16101 CCOLLATE_CC=config/locale/generic/collate_members.cc
16102 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16103 CMESSAGES_H=config/locale/generic/messages_members.h
16104 CMESSAGES_CC=config/locale/generic/messages_members.cc
16105 CMONEY_CC=config/locale/generic/monetary_members.cc
16106 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16107 CTIME_H=config/locale/generic/time_members.h
16108 CTIME_CC=config/locale/generic/time_members.cc
16109 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16111 esac
16113 # This is where the testsuite looks for locale catalogs, using the
16114 # -DLOCALEDIR define during testsuite compilation.
16115 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16118 # A standalone libintl (e.g., GNU libintl) may be in use.
16119 if test $USE_NLS = yes; then
16120 for ac_header in libintl.h
16121 do :
16122 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16123 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_LIBINTL_H 1
16126 _ACEOF
16128 else
16129 USE_NLS=no
16132 done
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16135 $as_echo_n "checking for library containing gettext... " >&6; }
16136 if test "${ac_cv_search_gettext+set}" = set; then :
16137 $as_echo_n "(cached) " >&6
16138 else
16139 ac_func_search_save_LIBS=$LIBS
16140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16143 /* Override any GCC internal prototype to avoid an error.
16144 Use char because int might match the return type of a GCC
16145 builtin and then its argument prototype would still apply. */
16146 #ifdef __cplusplus
16147 extern "C"
16148 #endif
16149 char gettext ();
16151 main ()
16153 return gettext ();
16155 return 0;
16157 _ACEOF
16158 for ac_lib in '' intl; do
16159 if test -z "$ac_lib"; then
16160 ac_res="none required"
16161 else
16162 ac_res=-l$ac_lib
16163 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16165 if test x$gcc_no_link = xyes; then
16166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16168 if ac_fn_c_try_link "$LINENO"; then :
16169 ac_cv_search_gettext=$ac_res
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext
16173 if test "${ac_cv_search_gettext+set}" = set; then :
16174 break
16176 done
16177 if test "${ac_cv_search_gettext+set}" = set; then :
16179 else
16180 ac_cv_search_gettext=no
16182 rm conftest.$ac_ext
16183 LIBS=$ac_func_search_save_LIBS
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16186 $as_echo "$ac_cv_search_gettext" >&6; }
16187 ac_res=$ac_cv_search_gettext
16188 if test "$ac_res" != no; then :
16189 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16191 else
16192 USE_NLS=no
16196 if test $USE_NLS = yes; then
16198 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16218 $as_echo_n "checking for std::allocator base class... " >&6; }
16219 # Check whether --enable-libstdcxx-allocator was given.
16220 if test "${enable_libstdcxx_allocator+set}" = set; then :
16221 enableval=$enable_libstdcxx_allocator;
16222 case "$enableval" in
16223 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16224 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16225 esac
16227 else
16228 enable_libstdcxx_allocator=auto
16233 # If they didn't use this option switch, or if they specified --enable
16234 # with no specific model, we'll have to look for one. If they
16235 # specified --disable (???), do likewise.
16236 if test $enable_libstdcxx_allocator = no ||
16237 test $enable_libstdcxx_allocator = yes;
16238 then
16239 enable_libstdcxx_allocator=auto
16242 # Either a known package, or "auto". Auto implies the default choice
16243 # for a particular platform.
16244 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16246 # Probe for host-specific support if no specific model is specified.
16247 # Default to "new".
16248 if test $enable_libstdcxx_allocator_flag = auto; then
16249 case ${target_os} in
16250 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16251 enable_libstdcxx_allocator_flag=new
16254 enable_libstdcxx_allocator_flag=new
16256 esac
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16259 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16262 # Set configure bits for specified locale package
16263 case ${enable_libstdcxx_allocator_flag} in
16264 bitmap)
16265 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16266 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16268 malloc)
16269 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16270 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16273 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16274 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16276 new)
16277 ALLOCATOR_H=config/allocator/new_allocator_base.h
16278 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16280 pool)
16281 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16282 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16284 esac
16291 # Check whether --enable-cheaders was given.
16292 if test "${enable_cheaders+set}" = set; then :
16293 enableval=$enable_cheaders;
16294 case "$enableval" in
16295 c|c_std|c_global) ;;
16296 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16297 esac
16299 else
16300 enable_cheaders=$c_model
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16305 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16307 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16309 # Allow overrides to configure.host here.
16310 if test $enable_cheaders = c_global; then
16311 c_compatibility=yes
16320 # Check whether --enable-long-long was given.
16321 if test "${enable_long_long+set}" = set; then :
16322 enableval=$enable_long_long;
16323 case "$enableval" in
16324 yes|no) ;;
16325 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16326 esac
16328 else
16329 enable_long_long=yes
16333 if test $enable_long_long = yes; then
16335 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16339 $as_echo_n "checking for enabled long long specializations... " >&6; }
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16341 $as_echo "$enable_long_long" >&6; }
16344 # Check whether --enable-wchar_t was given.
16345 if test "${enable_wchar_t+set}" = set; then :
16346 enableval=$enable_wchar_t;
16347 case "$enableval" in
16348 yes|no) ;;
16349 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16350 esac
16352 else
16353 enable_wchar_t=yes
16358 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16359 for ac_header in wchar.h
16360 do :
16361 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16362 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_WCHAR_H 1
16365 _ACEOF
16366 ac_has_wchar_h=yes
16367 else
16368 ac_has_wchar_h=no
16371 done
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16374 $as_echo_n "checking for mbstate_t... " >&6; }
16375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h. */
16377 #include <wchar.h>
16379 main ()
16381 mbstate_t teststate;
16383 return 0;
16385 _ACEOF
16386 if ac_fn_c_try_compile "$LINENO"; then :
16387 have_mbstate_t=yes
16388 else
16389 have_mbstate_t=no
16391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16393 $as_echo "$have_mbstate_t" >&6; }
16394 if test x"$have_mbstate_t" = xyes; then
16396 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16400 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16401 # ac_has_wchar_h.
16402 for ac_header in wctype.h
16403 do :
16404 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16405 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_WCTYPE_H 1
16408 _ACEOF
16409 ac_has_wctype_h=yes
16410 else
16411 ac_has_wctype_h=no
16414 done
16417 if test x"$enable_wchar_t" = x"yes"; then
16420 ac_ext=cpp
16421 ac_cpp='$CXXCPP $CPPFLAGS'
16422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16427 if test x"$ac_has_wchar_h" = xyes &&
16428 test x"$ac_has_wctype_h" = xyes; then
16429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16430 /* end confdefs.h. */
16431 #include <wchar.h>
16432 #include <stddef.h>
16433 wint_t i;
16434 long l = WEOF;
16435 long j = WCHAR_MIN;
16436 long k = WCHAR_MAX;
16437 namespace test
16439 using ::btowc;
16440 using ::fgetwc;
16441 using ::fgetws;
16442 using ::fputwc;
16443 using ::fputws;
16444 using ::fwide;
16445 using ::fwprintf;
16446 using ::fwscanf;
16447 using ::getwc;
16448 using ::getwchar;
16449 using ::mbrlen;
16450 using ::mbrtowc;
16451 using ::mbsinit;
16452 using ::mbsrtowcs;
16453 using ::putwc;
16454 using ::putwchar;
16455 using ::swprintf;
16456 using ::swscanf;
16457 using ::ungetwc;
16458 using ::vfwprintf;
16459 using ::vswprintf;
16460 using ::vwprintf;
16461 using ::wcrtomb;
16462 using ::wcscat;
16463 using ::wcschr;
16464 using ::wcscmp;
16465 using ::wcscoll;
16466 using ::wcscpy;
16467 using ::wcscspn;
16468 using ::wcsftime;
16469 using ::wcslen;
16470 using ::wcsncat;
16471 using ::wcsncmp;
16472 using ::wcsncpy;
16473 using ::wcspbrk;
16474 using ::wcsrchr;
16475 using ::wcsrtombs;
16476 using ::wcsspn;
16477 using ::wcsstr;
16478 using ::wcstod;
16479 using ::wcstok;
16480 using ::wcstol;
16481 using ::wcstoul;
16482 using ::wcsxfrm;
16483 using ::wctob;
16484 using ::wmemchr;
16485 using ::wmemcmp;
16486 using ::wmemcpy;
16487 using ::wmemmove;
16488 using ::wmemset;
16489 using ::wprintf;
16490 using ::wscanf;
16494 main ()
16498 return 0;
16500 _ACEOF
16501 if ac_fn_cxx_try_compile "$LINENO"; then :
16503 else
16504 enable_wchar_t=no
16506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16507 else
16508 enable_wchar_t=no
16511 ac_ext=c
16512 ac_cpp='$CPP $CPPFLAGS'
16513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16519 if test x"$enable_wchar_t" = x"yes"; then
16521 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16526 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16528 $as_echo "$enable_wchar_t" >&6; }
16532 # Check whether --enable-c99 was given.
16533 if test "${enable_c99+set}" = set; then :
16534 enableval=$enable_c99;
16535 case "$enableval" in
16536 yes|no) ;;
16537 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16538 esac
16540 else
16541 enable_c99=yes
16546 if test x"$enable_c99" = x"yes"; then
16548 ac_ext=cpp
16549 ac_cpp='$CXXCPP $CPPFLAGS'
16550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16555 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16556 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16557 # to be spuriously enabled.
16558 ac_save_CXXFLAGS="$CXXFLAGS"
16559 CXXFLAGS="$CXXFLAGS -std=c++98"
16560 ac_save_LIBS="$LIBS"
16561 ac_save_gcc_no_link="$gcc_no_link"
16563 if test x$gcc_no_link != xyes; then
16564 # Use -fno-exceptions to that the C driver can link these tests without
16565 # hitting undefined references to personality routines.
16566 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16568 $as_echo_n "checking for sin in -lm... " >&6; }
16569 if test "${ac_cv_lib_m_sin+set}" = set; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lm $LIBS"
16574 if test x$gcc_no_link = xyes; then
16575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16580 /* Override any GCC internal prototype to avoid an error.
16581 Use char because int might match the return type of a GCC
16582 builtin and then its argument prototype would still apply. */
16583 #ifdef __cplusplus
16584 extern "C"
16585 #endif
16586 char sin ();
16588 main ()
16590 return sin ();
16592 return 0;
16594 _ACEOF
16595 if ac_fn_cxx_try_link "$LINENO"; then :
16596 ac_cv_lib_m_sin=yes
16597 else
16598 ac_cv_lib_m_sin=no
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_lib_save_LIBS
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16605 $as_echo "$ac_cv_lib_m_sin" >&6; }
16606 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16607 LIBS="$LIBS -lm"
16608 else
16610 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16611 gcc_no_link=yes
16617 # Check for the existence of <math.h> functions used if C99 is enabled.
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16619 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16620 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16621 $as_echo_n "(cached) " >&6
16622 else
16624 if test x$gcc_no_link = xyes; then
16625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16627 #include <math.h>
16628 volatile double d1, d2;
16629 volatile int i;
16631 main ()
16633 i = fpclassify(d1);
16634 i = isfinite(d1);
16635 i = isinf(d1);
16636 i = isnan(d1);
16637 i = isnormal(d1);
16638 i = signbit(d1);
16639 i = isgreater(d1, d2);
16640 i = isgreaterequal(d1, d2);
16641 i = isless(d1, d2);
16642 i = islessequal(d1, d2);
16643 i = islessgreater(d1, d2);
16644 i = islessgreater(d1, d2);
16645 i = isunordered(d1, d2);
16648 return 0;
16650 _ACEOF
16651 if ac_fn_cxx_try_compile "$LINENO"; then :
16652 glibcxx_cv_c99_math_cxx98=yes
16653 else
16654 glibcxx_cv_c99_math_cxx98=no
16656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16657 else
16658 if test x$gcc_no_link = xyes; then
16659 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16663 #include <math.h>
16664 volatile double d1, d2;
16665 volatile int i;
16667 main ()
16669 i = fpclassify(d1);
16670 i = isfinite(d1);
16671 i = isinf(d1);
16672 i = isnan(d1);
16673 i = isnormal(d1);
16674 i = signbit(d1);
16675 i = isgreater(d1, d2);
16676 i = isgreaterequal(d1, d2);
16677 i = isless(d1, d2);
16678 i = islessequal(d1, d2);
16679 i = islessgreater(d1, d2);
16680 i = islessgreater(d1, d2);
16681 i = isunordered(d1, d2);
16684 return 0;
16686 _ACEOF
16687 if ac_fn_cxx_try_link "$LINENO"; then :
16688 glibcxx_cv_c99_math_cxx98=yes
16689 else
16690 glibcxx_cv_c99_math_cxx98=no
16692 rm -f core conftest.err conftest.$ac_objext \
16693 conftest$ac_exeext conftest.$ac_ext
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16699 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16700 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16702 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16706 # Check for the existence of <complex.h> complex math functions.
16707 # This is necessary even though libstdc++ uses the builtin versions
16708 # of these functions, because if the builtin cannot be used, a reference
16709 # to the library function is emitted.
16710 for ac_header in tgmath.h
16711 do :
16712 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16713 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16714 cat >>confdefs.h <<_ACEOF
16715 #define HAVE_TGMATH_H 1
16716 _ACEOF
16717 ac_has_tgmath_h=yes
16718 else
16719 ac_has_tgmath_h=no
16722 done
16724 for ac_header in complex.h
16725 do :
16726 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16727 if test "x$ac_cv_header_complex_h" = x""yes; then :
16728 cat >>confdefs.h <<_ACEOF
16729 #define HAVE_COMPLEX_H 1
16730 _ACEOF
16731 ac_has_complex_h=yes
16732 else
16733 ac_has_complex_h=no
16736 done
16738 if test x"$ac_has_complex_h" = x"yes"; then
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16740 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16741 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16742 $as_echo_n "(cached) " >&6
16743 else
16745 if test x$gcc_no_link = xyes; then
16746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16748 #include <complex.h>
16749 typedef __complex__ float float_type;
16750 typedef __complex__ double double_type;
16751 typedef __complex__ long double ld_type;
16752 volatile float_type tmpf;
16753 volatile double_type tmpd;
16754 volatile ld_type tmpld;
16755 volatile float f;
16756 volatile double d;
16757 volatile long double ld;
16759 main ()
16761 f = cabsf(tmpf);
16762 f = cargf(tmpf);
16763 tmpf = ccosf(tmpf);
16764 tmpf = ccoshf(tmpf);
16765 tmpf = cexpf(tmpf);
16766 tmpf = clogf(tmpf);
16767 tmpf = csinf(tmpf);
16768 tmpf = csinhf(tmpf);
16769 tmpf = csqrtf(tmpf);
16770 tmpf = ctanf(tmpf);
16771 tmpf = ctanhf(tmpf);
16772 tmpf = cpowf(tmpf, tmpf);
16773 tmpf = cprojf(tmpf);
16774 d = cabs(tmpd);
16775 d = carg(tmpd);
16776 tmpd = ccos(tmpd);
16777 tmpd = ccosh(tmpd);
16778 tmpd = cexp(tmpd);
16779 tmpd = clog(tmpd);
16780 tmpd = csin(tmpd);
16781 tmpd = csinh(tmpd);
16782 tmpd = csqrt(tmpd);
16783 tmpd = ctan(tmpd);
16784 tmpd = ctanh(tmpd);
16785 tmpd = cpow(tmpd, tmpd);
16786 tmpd = cproj(tmpd);
16787 ld = cabsl(tmpld);
16788 ld = cargl(tmpld);
16789 tmpld = ccosl(tmpld);
16790 tmpld = ccoshl(tmpld);
16791 tmpld = cexpl(tmpld);
16792 tmpld = clogl(tmpld);
16793 tmpld = csinl(tmpld);
16794 tmpld = csinhl(tmpld);
16795 tmpld = csqrtl(tmpld);
16796 tmpld = ctanl(tmpld);
16797 tmpld = ctanhl(tmpld);
16798 tmpld = cpowl(tmpld, tmpld);
16799 tmpld = cprojl(tmpld);
16802 return 0;
16804 _ACEOF
16805 if ac_fn_cxx_try_compile "$LINENO"; then :
16806 glibcxx_cv_c99_complex_cxx98=yes
16807 else
16808 glibcxx_cv_c99_complex_cxx98=no
16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16811 else
16812 if test x$gcc_no_link = xyes; then
16813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16817 #include <complex.h>
16818 typedef __complex__ float float_type;
16819 typedef __complex__ double double_type;
16820 typedef __complex__ long double ld_type;
16821 volatile float_type tmpf;
16822 volatile double_type tmpd;
16823 volatile ld_type tmpld;
16824 volatile float f;
16825 volatile double d;
16826 volatile long double ld;
16828 main ()
16830 f = cabsf(tmpf);
16831 f = cargf(tmpf);
16832 tmpf = ccosf(tmpf);
16833 tmpf = ccoshf(tmpf);
16834 tmpf = cexpf(tmpf);
16835 tmpf = clogf(tmpf);
16836 tmpf = csinf(tmpf);
16837 tmpf = csinhf(tmpf);
16838 tmpf = csqrtf(tmpf);
16839 tmpf = ctanf(tmpf);
16840 tmpf = ctanhf(tmpf);
16841 tmpf = cpowf(tmpf, tmpf);
16842 tmpf = cprojf(tmpf);
16843 d = cabs(tmpd);
16844 d = carg(tmpd);
16845 tmpd = ccos(tmpd);
16846 tmpd = ccosh(tmpd);
16847 tmpd = cexp(tmpd);
16848 tmpd = clog(tmpd);
16849 tmpd = csin(tmpd);
16850 tmpd = csinh(tmpd);
16851 tmpd = csqrt(tmpd);
16852 tmpd = ctan(tmpd);
16853 tmpd = ctanh(tmpd);
16854 tmpd = cpow(tmpd, tmpd);
16855 tmpd = cproj(tmpd);
16856 ld = cabsl(tmpld);
16857 ld = cargl(tmpld);
16858 tmpld = ccosl(tmpld);
16859 tmpld = ccoshl(tmpld);
16860 tmpld = cexpl(tmpld);
16861 tmpld = clogl(tmpld);
16862 tmpld = csinl(tmpld);
16863 tmpld = csinhl(tmpld);
16864 tmpld = csqrtl(tmpld);
16865 tmpld = ctanl(tmpld);
16866 tmpld = ctanhl(tmpld);
16867 tmpld = cpowl(tmpld, tmpld);
16868 tmpld = cprojl(tmpld);
16871 return 0;
16873 _ACEOF
16874 if ac_fn_cxx_try_link "$LINENO"; then :
16875 glibcxx_cv_c99_complex_cxx98=yes
16876 else
16877 glibcxx_cv_c99_complex_cxx98=no
16879 rm -f core conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16887 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16888 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16890 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16894 # Check for the existence in <stdio.h> of vscanf, et. al.
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16896 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16897 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16901 if test x$gcc_no_link = xyes; then
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16904 #include <stdio.h>
16905 #include <stdarg.h>
16906 void foo(char* fmt, ...)
16908 va_list args; va_start(args, fmt);
16909 vfscanf(stderr, "%i", args);
16910 vscanf("%i", args);
16911 vsnprintf(fmt, 0, "%i", args);
16912 vsscanf(fmt, "%i", args);
16913 snprintf(fmt, 0, "%i");
16916 main ()
16920 return 0;
16922 _ACEOF
16923 if ac_fn_cxx_try_compile "$LINENO"; then :
16924 glibcxx_cv_c99_stdio_cxx98=yes
16925 else
16926 glibcxx_cv_c99_stdio_cxx98=no
16928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16929 else
16930 if test x$gcc_no_link = xyes; then
16931 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 #include <stdio.h>
16936 #include <stdarg.h>
16937 void foo(char* fmt, ...)
16939 va_list args; va_start(args, fmt);
16940 vfscanf(stderr, "%i", args);
16941 vscanf("%i", args);
16942 vsnprintf(fmt, 0, "%i", args);
16943 vsscanf(fmt, "%i", args);
16944 snprintf(fmt, 0, "%i");
16947 main ()
16951 return 0;
16953 _ACEOF
16954 if ac_fn_cxx_try_link "$LINENO"; then :
16955 glibcxx_cv_c99_stdio_cxx98=yes
16956 else
16957 glibcxx_cv_c99_stdio_cxx98=no
16959 rm -f core conftest.err conftest.$ac_objext \
16960 conftest$ac_exeext conftest.$ac_ext
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16966 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16967 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16969 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16973 # Check for the existence in <wchar.h> of wcstold, etc.
16974 if test x"$ac_has_wchar_h" = xyes &&
16975 test x"$ac_has_wctype_h" = xyes; then
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
16977 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
16978 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
16979 $as_echo_n "(cached) " >&6
16980 else
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16984 #include <wchar.h>
16985 namespace test
16987 using ::wcstold;
16988 using ::wcstoll;
16989 using ::wcstoull;
16993 main ()
16997 return 0;
16999 _ACEOF
17000 if ac_fn_cxx_try_compile "$LINENO"; then :
17001 glibcxx_cv_c99_wchar_cxx98=yes
17002 else
17003 glibcxx_cv_c99_wchar_cxx98=no
17005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17010 # Checks for wide character functions that may not be present.
17011 # Injection of these is wrapped with guard macros.
17012 # NB: only put functions here, instead of immediately above, if
17013 # absolutely necessary.
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 #include <wchar.h>
17017 namespace test { using ::vfwscanf; }
17019 main ()
17023 return 0;
17025 _ACEOF
17026 if ac_fn_cxx_try_compile "$LINENO"; then :
17028 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17035 #include <wchar.h>
17036 namespace test { using ::vswscanf; }
17038 main ()
17042 return 0;
17044 _ACEOF
17045 if ac_fn_cxx_try_compile "$LINENO"; then :
17047 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17054 #include <wchar.h>
17055 namespace test { using ::vwscanf; }
17057 main ()
17061 return 0;
17063 _ACEOF
17064 if ac_fn_cxx_try_compile "$LINENO"; then :
17066 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 #include <wchar.h>
17074 namespace test { using ::wcstof; }
17076 main ()
17080 return 0;
17082 _ACEOF
17083 if ac_fn_cxx_try_compile "$LINENO"; then :
17085 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17091 /* end confdefs.h. */
17092 #include <wctype.h>
17094 main ()
17096 wint_t t; int i = iswblank(t);
17098 return 0;
17100 _ACEOF
17101 if ac_fn_cxx_try_compile "$LINENO"; then :
17103 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17109 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17110 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17112 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17117 # Option parsed, now set things appropriately.
17118 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17119 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17120 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17121 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17122 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17123 enable_c99=no;
17124 else
17126 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17130 gcc_no_link="$ac_save_gcc_no_link"
17131 LIBS="$ac_save_LIBS"
17132 CXXFLAGS="$ac_save_CXXFLAGS"
17133 ac_ext=c
17134 ac_cpp='$CPP $CPPFLAGS'
17135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17141 ac_ext=cpp
17142 ac_cpp='$CXXCPP $CPPFLAGS'
17143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17148 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17149 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17150 ac_save_CXXFLAGS="$CXXFLAGS"
17151 CXXFLAGS="$CXXFLAGS -std=c++11"
17152 ac_save_LIBS="$LIBS"
17153 ac_save_gcc_no_link="$gcc_no_link"
17155 if test x$gcc_no_link != xyes; then
17156 # Use -fno-exceptions to that the C driver can link these tests without
17157 # hitting undefined references to personality routines.
17158 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17160 $as_echo_n "checking for sin in -lm... " >&6; }
17161 if test "${ac_cv_lib_m_sin+set}" = set; then :
17162 $as_echo_n "(cached) " >&6
17163 else
17164 ac_check_lib_save_LIBS=$LIBS
17165 LIBS="-lm $LIBS"
17166 if test x$gcc_no_link = xyes; then
17167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17172 /* Override any GCC internal prototype to avoid an error.
17173 Use char because int might match the return type of a GCC
17174 builtin and then its argument prototype would still apply. */
17175 #ifdef __cplusplus
17176 extern "C"
17177 #endif
17178 char sin ();
17180 main ()
17182 return sin ();
17184 return 0;
17186 _ACEOF
17187 if ac_fn_cxx_try_link "$LINENO"; then :
17188 ac_cv_lib_m_sin=yes
17189 else
17190 ac_cv_lib_m_sin=no
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17194 LIBS=$ac_check_lib_save_LIBS
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17197 $as_echo "$ac_cv_lib_m_sin" >&6; }
17198 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17199 LIBS="$LIBS -lm"
17200 else
17202 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17203 gcc_no_link=yes
17209 # Check for the existence of <math.h> functions used if C99 is enabled.
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17211 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17212 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17213 $as_echo_n "(cached) " >&6
17214 else
17216 if test x$gcc_no_link = xyes; then
17217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17218 /* end confdefs.h. */
17219 #include <math.h>
17220 volatile double d1, d2;
17221 volatile int i;
17223 main ()
17225 i = fpclassify(d1);
17226 i = isfinite(d1);
17227 i = isinf(d1);
17228 i = isnan(d1);
17229 i = isnormal(d1);
17230 i = signbit(d1);
17231 i = isgreater(d1, d2);
17232 i = isgreaterequal(d1, d2);
17233 i = isless(d1, d2);
17234 i = islessequal(d1, d2);
17235 i = islessgreater(d1, d2);
17236 i = islessgreater(d1, d2);
17237 i = isunordered(d1, d2);
17240 return 0;
17242 _ACEOF
17243 if ac_fn_cxx_try_compile "$LINENO"; then :
17244 glibcxx_cv_c99_math_cxx11=yes
17245 else
17246 glibcxx_cv_c99_math_cxx11=no
17248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17249 else
17250 if test x$gcc_no_link = xyes; then
17251 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 #include <math.h>
17256 volatile double d1, d2;
17257 volatile int i;
17259 main ()
17261 i = fpclassify(d1);
17262 i = isfinite(d1);
17263 i = isinf(d1);
17264 i = isnan(d1);
17265 i = isnormal(d1);
17266 i = signbit(d1);
17267 i = isgreater(d1, d2);
17268 i = isgreaterequal(d1, d2);
17269 i = isless(d1, d2);
17270 i = islessequal(d1, d2);
17271 i = islessgreater(d1, d2);
17272 i = islessgreater(d1, d2);
17273 i = isunordered(d1, d2);
17276 return 0;
17278 _ACEOF
17279 if ac_fn_cxx_try_link "$LINENO"; then :
17280 glibcxx_cv_c99_math_cxx11=yes
17281 else
17282 glibcxx_cv_c99_math_cxx11=no
17284 rm -f core conftest.err conftest.$ac_objext \
17285 conftest$ac_exeext conftest.$ac_ext
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17291 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17292 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17294 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17298 # Check for the existence of <complex.h> complex math functions.
17299 # This is necessary even though libstdc++ uses the builtin versions
17300 # of these functions, because if the builtin cannot be used, a reference
17301 # to the library function is emitted.
17302 for ac_header in tgmath.h
17303 do :
17304 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17305 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17306 cat >>confdefs.h <<_ACEOF
17307 #define HAVE_TGMATH_H 1
17308 _ACEOF
17309 ac_has_tgmath_h=yes
17310 else
17311 ac_has_tgmath_h=no
17314 done
17316 for ac_header in complex.h
17317 do :
17318 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17319 if test "x$ac_cv_header_complex_h" = x""yes; then :
17320 cat >>confdefs.h <<_ACEOF
17321 #define HAVE_COMPLEX_H 1
17322 _ACEOF
17323 ac_has_complex_h=yes
17324 else
17325 ac_has_complex_h=no
17328 done
17330 if test x"$ac_has_complex_h" = x"yes"; then
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17332 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17333 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17334 $as_echo_n "(cached) " >&6
17335 else
17337 if test x$gcc_no_link = xyes; then
17338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17339 /* end confdefs.h. */
17340 #include <complex.h>
17341 typedef __complex__ float float_type;
17342 typedef __complex__ double double_type;
17343 typedef __complex__ long double ld_type;
17344 volatile float_type tmpf;
17345 volatile double_type tmpd;
17346 volatile ld_type tmpld;
17347 volatile float f;
17348 volatile double d;
17349 volatile long double ld;
17351 main ()
17353 f = cabsf(tmpf);
17354 f = cargf(tmpf);
17355 tmpf = ccosf(tmpf);
17356 tmpf = ccoshf(tmpf);
17357 tmpf = cexpf(tmpf);
17358 tmpf = clogf(tmpf);
17359 tmpf = csinf(tmpf);
17360 tmpf = csinhf(tmpf);
17361 tmpf = csqrtf(tmpf);
17362 tmpf = ctanf(tmpf);
17363 tmpf = ctanhf(tmpf);
17364 tmpf = cpowf(tmpf, tmpf);
17365 tmpf = cprojf(tmpf);
17366 d = cabs(tmpd);
17367 d = carg(tmpd);
17368 tmpd = ccos(tmpd);
17369 tmpd = ccosh(tmpd);
17370 tmpd = cexp(tmpd);
17371 tmpd = clog(tmpd);
17372 tmpd = csin(tmpd);
17373 tmpd = csinh(tmpd);
17374 tmpd = csqrt(tmpd);
17375 tmpd = ctan(tmpd);
17376 tmpd = ctanh(tmpd);
17377 tmpd = cpow(tmpd, tmpd);
17378 tmpd = cproj(tmpd);
17379 ld = cabsl(tmpld);
17380 ld = cargl(tmpld);
17381 tmpld = ccosl(tmpld);
17382 tmpld = ccoshl(tmpld);
17383 tmpld = cexpl(tmpld);
17384 tmpld = clogl(tmpld);
17385 tmpld = csinl(tmpld);
17386 tmpld = csinhl(tmpld);
17387 tmpld = csqrtl(tmpld);
17388 tmpld = ctanl(tmpld);
17389 tmpld = ctanhl(tmpld);
17390 tmpld = cpowl(tmpld, tmpld);
17391 tmpld = cprojl(tmpld);
17394 return 0;
17396 _ACEOF
17397 if ac_fn_cxx_try_compile "$LINENO"; then :
17398 glibcxx_cv_c99_complex_cxx11=yes
17399 else
17400 glibcxx_cv_c99_complex_cxx11=no
17402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17403 else
17404 if test x$gcc_no_link = xyes; then
17405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 #include <complex.h>
17410 typedef __complex__ float float_type;
17411 typedef __complex__ double double_type;
17412 typedef __complex__ long double ld_type;
17413 volatile float_type tmpf;
17414 volatile double_type tmpd;
17415 volatile ld_type tmpld;
17416 volatile float f;
17417 volatile double d;
17418 volatile long double ld;
17420 main ()
17422 f = cabsf(tmpf);
17423 f = cargf(tmpf);
17424 tmpf = ccosf(tmpf);
17425 tmpf = ccoshf(tmpf);
17426 tmpf = cexpf(tmpf);
17427 tmpf = clogf(tmpf);
17428 tmpf = csinf(tmpf);
17429 tmpf = csinhf(tmpf);
17430 tmpf = csqrtf(tmpf);
17431 tmpf = ctanf(tmpf);
17432 tmpf = ctanhf(tmpf);
17433 tmpf = cpowf(tmpf, tmpf);
17434 tmpf = cprojf(tmpf);
17435 d = cabs(tmpd);
17436 d = carg(tmpd);
17437 tmpd = ccos(tmpd);
17438 tmpd = ccosh(tmpd);
17439 tmpd = cexp(tmpd);
17440 tmpd = clog(tmpd);
17441 tmpd = csin(tmpd);
17442 tmpd = csinh(tmpd);
17443 tmpd = csqrt(tmpd);
17444 tmpd = ctan(tmpd);
17445 tmpd = ctanh(tmpd);
17446 tmpd = cpow(tmpd, tmpd);
17447 tmpd = cproj(tmpd);
17448 ld = cabsl(tmpld);
17449 ld = cargl(tmpld);
17450 tmpld = ccosl(tmpld);
17451 tmpld = ccoshl(tmpld);
17452 tmpld = cexpl(tmpld);
17453 tmpld = clogl(tmpld);
17454 tmpld = csinl(tmpld);
17455 tmpld = csinhl(tmpld);
17456 tmpld = csqrtl(tmpld);
17457 tmpld = ctanl(tmpld);
17458 tmpld = ctanhl(tmpld);
17459 tmpld = cpowl(tmpld, tmpld);
17460 tmpld = cprojl(tmpld);
17463 return 0;
17465 _ACEOF
17466 if ac_fn_cxx_try_link "$LINENO"; then :
17467 glibcxx_cv_c99_complex_cxx11=yes
17468 else
17469 glibcxx_cv_c99_complex_cxx11=no
17471 rm -f core conftest.err conftest.$ac_objext \
17472 conftest$ac_exeext conftest.$ac_ext
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17479 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17480 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17482 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17486 # Check for the existence in <stdio.h> of vscanf, et. al.
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17488 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17489 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17490 $as_echo_n "(cached) " >&6
17491 else
17493 if test x$gcc_no_link = xyes; then
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17496 #include <stdio.h>
17497 #include <stdarg.h>
17498 void foo(char* fmt, ...)
17500 va_list args; va_start(args, fmt);
17501 vfscanf(stderr, "%i", args);
17502 vscanf("%i", args);
17503 vsnprintf(fmt, 0, "%i", args);
17504 vsscanf(fmt, "%i", args);
17505 snprintf(fmt, 0, "%i");
17508 main ()
17512 return 0;
17514 _ACEOF
17515 if ac_fn_cxx_try_compile "$LINENO"; then :
17516 glibcxx_cv_c99_stdio_cxx11=yes
17517 else
17518 glibcxx_cv_c99_stdio_cxx11=no
17520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17521 else
17522 if test x$gcc_no_link = xyes; then
17523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h. */
17527 #include <stdio.h>
17528 #include <stdarg.h>
17529 void foo(char* fmt, ...)
17531 va_list args; va_start(args, fmt);
17532 vfscanf(stderr, "%i", args);
17533 vscanf("%i", args);
17534 vsnprintf(fmt, 0, "%i", args);
17535 vsscanf(fmt, "%i", args);
17536 snprintf(fmt, 0, "%i");
17539 main ()
17543 return 0;
17545 _ACEOF
17546 if ac_fn_cxx_try_link "$LINENO"; then :
17547 glibcxx_cv_c99_stdio_cxx11=yes
17548 else
17549 glibcxx_cv_c99_stdio_cxx11=no
17551 rm -f core conftest.err conftest.$ac_objext \
17552 conftest$ac_exeext conftest.$ac_ext
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17558 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17559 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17561 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17565 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17567 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17568 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17569 $as_echo_n "(cached) " >&6
17570 else
17572 if test x$gcc_no_link = xyes; then
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #include <stdlib.h>
17576 volatile float f;
17577 volatile long double ld;
17578 volatile unsigned long long ll;
17579 lldiv_t mydivt;
17581 main ()
17583 char* tmp;
17584 f = strtof("gnu", &tmp);
17585 ld = strtold("gnu", &tmp);
17586 ll = strtoll("gnu", &tmp, 10);
17587 ll = strtoull("gnu", &tmp, 10);
17588 ll = llabs(10);
17589 mydivt = lldiv(10,1);
17590 ll = mydivt.quot;
17591 ll = mydivt.rem;
17592 ll = atoll("10");
17593 _Exit(0);
17596 return 0;
17598 _ACEOF
17599 if ac_fn_cxx_try_compile "$LINENO"; then :
17600 glibcxx_cv_c99_stdlib_cxx11=yes
17601 else
17602 glibcxx_cv_c99_stdlib_cxx11=no
17604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17605 else
17606 if test x$gcc_no_link = xyes; then
17607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17610 /* end confdefs.h. */
17611 #include <stdlib.h>
17612 volatile float f;
17613 volatile long double ld;
17614 volatile unsigned long long ll;
17615 lldiv_t mydivt;
17617 main ()
17619 char* tmp;
17620 f = strtof("gnu", &tmp);
17621 ld = strtold("gnu", &tmp);
17622 ll = strtoll("gnu", &tmp, 10);
17623 ll = strtoull("gnu", &tmp, 10);
17624 ll = llabs(10);
17625 mydivt = lldiv(10,1);
17626 ll = mydivt.quot;
17627 ll = mydivt.rem;
17628 ll = atoll("10");
17629 _Exit(0);
17632 return 0;
17634 _ACEOF
17635 if ac_fn_cxx_try_link "$LINENO"; then :
17636 glibcxx_cv_c99_stdlib_cxx11=yes
17637 else
17638 glibcxx_cv_c99_stdlib_cxx11=no
17640 rm -f core conftest.err conftest.$ac_objext \
17641 conftest$ac_exeext conftest.$ac_ext
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17647 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17648 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17650 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17654 # Check for the existence in <wchar.h> of wcstold, etc.
17655 if test x"$ac_has_wchar_h" = xyes &&
17656 test x"$ac_has_wctype_h" = xyes; then
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17658 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17659 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17660 $as_echo_n "(cached) " >&6
17661 else
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 #include <wchar.h>
17666 namespace test
17668 using ::wcstold;
17669 using ::wcstoll;
17670 using ::wcstoull;
17674 main ()
17678 return 0;
17680 _ACEOF
17681 if ac_fn_cxx_try_compile "$LINENO"; then :
17682 glibcxx_cv_c99_wchar_cxx11=yes
17683 else
17684 glibcxx_cv_c99_wchar_cxx11=no
17686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17691 # Checks for wide character functions that may not be present.
17692 # Injection of these is wrapped with guard macros.
17693 # NB: only put functions here, instead of immediately above, if
17694 # absolutely necessary.
17695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17696 /* end confdefs.h. */
17697 #include <wchar.h>
17698 namespace test { using ::vfwscanf; }
17700 main ()
17704 return 0;
17706 _ACEOF
17707 if ac_fn_cxx_try_compile "$LINENO"; then :
17709 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17715 /* end confdefs.h. */
17716 #include <wchar.h>
17717 namespace test { using ::vswscanf; }
17719 main ()
17723 return 0;
17725 _ACEOF
17726 if ac_fn_cxx_try_compile "$LINENO"; then :
17728 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17735 #include <wchar.h>
17736 namespace test { using ::vwscanf; }
17738 main ()
17742 return 0;
17744 _ACEOF
17745 if ac_fn_cxx_try_compile "$LINENO"; then :
17747 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <wchar.h>
17755 namespace test { using ::wcstof; }
17757 main ()
17761 return 0;
17763 _ACEOF
17764 if ac_fn_cxx_try_compile "$LINENO"; then :
17766 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 #include <wctype.h>
17775 main ()
17777 wint_t t; int i = iswblank(t);
17779 return 0;
17781 _ACEOF
17782 if ac_fn_cxx_try_compile "$LINENO"; then :
17784 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17790 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17791 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17793 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17798 gcc_no_link="$ac_save_gcc_no_link"
17799 LIBS="$ac_save_LIBS"
17800 CXXFLAGS="$ac_save_CXXFLAGS"
17801 ac_ext=c
17802 ac_cpp='$CPP $CPPFLAGS'
17803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17810 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17812 $as_echo "$enable_c99" >&6; }
17815 # Check whether --enable-concept-checks was given.
17816 if test "${enable_concept_checks+set}" = set; then :
17817 enableval=$enable_concept_checks;
17818 case "$enableval" in
17819 yes|no) ;;
17820 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17821 esac
17823 else
17824 enable_concept_checks=no
17828 if test $enable_concept_checks = yes; then
17830 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17835 # Check whether --enable-libstdcxx-debug-flags was given.
17836 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17837 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17838 xno | x) enable_libstdcxx_debug_flags= ;;
17839 x-*) ;;
17840 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17841 esac
17842 else
17843 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17848 # Option parsed, now set things appropriately
17849 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17853 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17857 $as_echo_n "checking for additional debug build... " >&6; }
17858 # Check whether --enable-libstdcxx-debug was given.
17859 if test "${enable_libstdcxx_debug+set}" = set; then :
17860 enableval=$enable_libstdcxx_debug;
17861 case "$enableval" in
17862 yes|no) ;;
17863 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17864 esac
17866 else
17867 enable_libstdcxx_debug=no
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17872 $as_echo "$enable_libstdcxx_debug" >&6; }
17877 enable_parallel=no;
17879 # See if configured libgomp/omp.h exists. (libgomp may be in
17880 # noconfigdirs but not explicitly disabled.)
17881 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17882 enable_parallel=yes;
17883 else
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17885 $as_echo "$as_me: target-libgomp not built" >&6;}
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17889 $as_echo_n "checking for parallel mode support... " >&6; }
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17891 $as_echo "$enable_parallel" >&6; }
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17894 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17895 # Check whether --enable-cxx-flags was given.
17896 if test "${enable_cxx_flags+set}" = set; then :
17897 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17898 xno | x) enable_cxx_flags= ;;
17899 x-*) ;;
17900 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17901 esac
17902 else
17903 enable_cxx_flags=
17908 # Run through flags (either default or command-line) and set anything
17909 # extra (e.g., #defines) that must accompany particular g++ options.
17910 if test -n "$enable_cxx_flags"; then
17911 for f in $enable_cxx_flags; do
17912 case "$f" in
17913 -fhonor-std) ;;
17914 -*) ;;
17915 *) # and we're trying to pass /what/ exactly?
17916 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17917 esac
17918 done
17921 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17923 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17927 # Check whether --enable-fully-dynamic-string was given.
17928 if test "${enable_fully_dynamic_string+set}" = set; then :
17929 enableval=$enable_fully_dynamic_string;
17930 case "$enableval" in
17931 yes|no) ;;
17932 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17933 esac
17935 else
17936 enable_fully_dynamic_string=no
17940 if test $enable_fully_dynamic_string = yes; then
17941 enable_fully_dynamic_string_def=1
17942 else
17943 enable_fully_dynamic_string_def=0
17946 cat >>confdefs.h <<_ACEOF
17947 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17948 _ACEOF
17953 # Check whether --enable-extern-template was given.
17954 if test "${enable_extern_template+set}" = set; then :
17955 enableval=$enable_extern_template;
17956 case "$enableval" in
17957 yes|no) ;;
17958 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17959 esac
17961 else
17962 enable_extern_template=yes
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17968 $as_echo_n "checking for extern template support... " >&6; }
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17970 $as_echo "$enable_extern_template" >&6; }
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17977 $as_echo_n "checking for custom python install directory... " >&6; }
17979 # Check whether --with-python-dir was given.
17980 if test "${with_python_dir+set}" = set; then :
17981 withval=$with_python_dir; with_python_dir=$withval
17982 else
17983 with_python_dir="no"
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17987 $as_echo "${with_python_dir}" >&6; }
17989 # Needed for installing Python modules during make install.
17990 python_mod_dir="${with_python_dir}"
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17996 $as_echo_n "checking for -Werror... " >&6; }
17997 # Check whether --enable-werror was given.
17998 if test "${enable_werror+set}" = set; then :
17999 enableval=$enable_werror;
18000 case "$enableval" in
18001 yes|no) ;;
18002 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18003 esac
18005 else
18006 enable_werror=yes
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18011 $as_echo "$enable_werror" >&6; }
18016 # Check whether --enable-vtable-verify was given.
18017 if test "${enable_vtable_verify+set}" = set; then :
18018 enableval=$enable_vtable_verify;
18019 case "$enableval" in
18020 yes|no) ;;
18021 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18022 esac
18024 else
18025 enable_vtable_verify=no
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18031 $as_echo_n "checking for vtable verify support... " >&6; }
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18033 $as_echo "$enable_vtable_verify" >&6; }
18035 vtv_cygmin=no
18036 if test $enable_vtable_verify = yes; then
18037 case ${target_os} in
18038 cygwin*|mingw32*)
18039 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18040 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18041 vtv_cygmin=yes
18043 darwin*)
18044 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18045 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18047 solaris2*)
18048 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18049 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18052 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18053 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18055 esac
18056 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18057 else
18058 VTV_CXXFLAGS=
18059 VTV_PCH_CXXFLAGS=
18060 VTV_CXXLINKFLAGS=
18066 if test x$vtv_cygmin = xyes; then
18067 VTV_CYGMIN_TRUE=
18068 VTV_CYGMIN_FALSE='#'
18069 else
18070 VTV_CYGMIN_TRUE='#'
18071 VTV_CYGMIN_FALSE=
18077 # Checks for operating systems support that doesn't require linking.
18081 ac_ext=cpp
18082 ac_cpp='$CXXCPP $CPPFLAGS'
18083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18089 $as_echo_n "checking for gets declaration... " >&6; }
18090 if test "${glibcxx_cv_gets+set}" = set; then :
18091 $as_echo_n "(cached) " >&6
18092 else
18094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18095 /* end confdefs.h. */
18096 #include <stdio.h>
18097 namespace test
18099 using ::gets;
18102 _ACEOF
18103 if ac_fn_cxx_try_compile "$LINENO"; then :
18104 glibcxx_cv_gets=yes
18105 else
18106 glibcxx_cv_gets=no
18109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18113 if test $glibcxx_cv_gets = yes; then
18115 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18119 $as_echo "$glibcxx_cv_gets" >&6; }
18121 ac_ext=c
18122 ac_cpp='$CPP $CPPFLAGS'
18123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18131 ac_ext=cpp
18132 ac_cpp='$CXXCPP $CPPFLAGS'
18133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18137 ac_save_CXXFLAGS="$CXXFLAGS"
18138 CXXFLAGS="$CXXFLAGS -std=c++11"
18140 case "$host" in
18141 *-*-solaris2.*)
18142 # Solaris 12 introduced the C++11 <math.h> overloads. A backport to
18143 # a Solaris 11.3 SRU is likely, maybe even a Solaris 10 patch.
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> overloads" >&5
18145 $as_echo_n "checking for C++11 <math.h> overloads... " >&6; }
18146 if test "${glibcxx_cv_math11_overload+set}" = set; then :
18147 $as_echo_n "(cached) " >&6
18148 else
18150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18151 /* end confdefs.h. */
18152 #include <math.h>
18153 #undef isfinite
18154 namespace std {
18155 inline bool isfinite(float __x)
18156 { return __builtin_isfinite(__x); }
18159 _ACEOF
18160 if ac_fn_cxx_try_compile "$LINENO"; then :
18161 glibcxx_cv_math11_overload=no
18162 else
18163 glibcxx_cv_math11_overload=yes
18166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18170 # autoheader cannot handle indented templates.
18173 if test $glibcxx_cv_math11_overload = yes; then
18174 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO 1" >>confdefs.h
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_overload" >&5
18178 $as_echo "$glibcxx_cv_math11_overload" >&6; }
18180 *-*-*gnu* | *-*-aix*)
18181 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18182 # functions (instead of or as well as the C99 generic macros) then we
18183 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18184 # and must use the ones from <math.h> instead.
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf and isnan functions in <math.h>" >&5
18186 $as_echo_n "checking for obsolete isinf and isnan functions in <math.h>... " >&6; }
18187 if test "${glibcxx_cv_obsolete_isinf_isnan+set}" = set; then :
18188 $as_echo_n "(cached) " >&6
18189 else
18191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18192 /* end confdefs.h. */
18193 #include <math.h>
18194 #undef isinf
18195 #undef isnan
18196 namespace std {
18197 using ::isinf;
18198 bool isinf(float);
18199 bool isinf(long double);
18200 using ::isnan;
18201 bool isnan(float);
18202 bool isnan(long double);
18204 using std::isinf;
18205 using std::isnan;
18206 bool b = isinf(0.0) || isnan(0.0);
18208 _ACEOF
18209 if ac_fn_cxx_try_compile "$LINENO"; then :
18210 glibcxx_cv_obsolete_isinf_isnan=yes
18211 else
18212 glibcxx_cv_obsolete_isinf_isnan=no
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220 if test $glibcxx_cv_obsolete_isinf_isnan = yes; then
18222 $as_echo "#define HAVE_OBSOLETE_ISINF_ISNAN 1" >>confdefs.h
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf_isnan" >&5
18226 $as_echo "$glibcxx_cv_obsolete_isinf_isnan" >&6; }
18228 esac
18230 CXXFLAGS="$ac_save_CXXFLAGS"
18231 ac_ext=c
18232 ac_cpp='$CPP $CPPFLAGS'
18233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18241 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18242 if test "${glibcxx_cv_system_error1+set}" = set; then :
18243 $as_echo_n "(cached) " >&6
18244 else
18246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18247 /* end confdefs.h. */
18248 #include <errno.h>
18250 main ()
18252 int i = EOWNERDEAD;
18254 return 0;
18256 _ACEOF
18257 if ac_fn_c_try_compile "$LINENO"; then :
18258 glibcxx_cv_system_error1=yes
18259 else
18260 glibcxx_cv_system_error1=no
18262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18267 $as_echo "$glibcxx_cv_system_error1" >&6; }
18268 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18270 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18274 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18275 if test "${glibcxx_cv_system_error2+set}" = set; then :
18276 $as_echo_n "(cached) " >&6
18277 else
18279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18281 #include <errno.h>
18283 main ()
18285 int i = ENOTRECOVERABLE;
18287 return 0;
18289 _ACEOF
18290 if ac_fn_c_try_compile "$LINENO"; then :
18291 glibcxx_cv_system_error2=yes
18292 else
18293 glibcxx_cv_system_error2=no
18295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18300 $as_echo "$glibcxx_cv_system_error2" >&6; }
18301 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18303 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18307 $as_echo_n "checking for ENOLINK... " >&6; }
18308 if test "${glibcxx_cv_system_error3+set}" = set; then :
18309 $as_echo_n "(cached) " >&6
18310 else
18312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18313 /* end confdefs.h. */
18314 #include <errno.h>
18316 main ()
18318 int i = ENOLINK;
18320 return 0;
18322 _ACEOF
18323 if ac_fn_c_try_compile "$LINENO"; then :
18324 glibcxx_cv_system_error3=yes
18325 else
18326 glibcxx_cv_system_error3=no
18328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18333 $as_echo "$glibcxx_cv_system_error3" >&6; }
18334 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18336 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18340 $as_echo_n "checking for EPROTO... " >&6; }
18341 if test "${glibcxx_cv_system_error4+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 <errno.h>
18349 main ()
18351 int i = EPROTO;
18353 return 0;
18355 _ACEOF
18356 if ac_fn_c_try_compile "$LINENO"; then :
18357 glibcxx_cv_system_error4=yes
18358 else
18359 glibcxx_cv_system_error4=no
18361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18366 $as_echo "$glibcxx_cv_system_error4" >&6; }
18367 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18369 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18373 $as_echo_n "checking for ENODATA... " >&6; }
18374 if test "${glibcxx_cv_system_error5+set}" = set; then :
18375 $as_echo_n "(cached) " >&6
18376 else
18378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18379 /* end confdefs.h. */
18380 #include <errno.h>
18382 main ()
18384 int i = ENODATA;
18386 return 0;
18388 _ACEOF
18389 if ac_fn_c_try_compile "$LINENO"; then :
18390 glibcxx_cv_system_error5=yes
18391 else
18392 glibcxx_cv_system_error5=no
18394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18399 $as_echo "$glibcxx_cv_system_error5" >&6; }
18400 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18402 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18406 $as_echo_n "checking for ENOSR... " >&6; }
18407 if test "${glibcxx_cv_system_error6+set}" = set; then :
18408 $as_echo_n "(cached) " >&6
18409 else
18411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18412 /* end confdefs.h. */
18413 #include <errno.h>
18415 main ()
18417 int i = ENOSR;
18419 return 0;
18421 _ACEOF
18422 if ac_fn_c_try_compile "$LINENO"; then :
18423 glibcxx_cv_system_error6=yes
18424 else
18425 glibcxx_cv_system_error6=no
18427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18432 $as_echo "$glibcxx_cv_system_error6" >&6; }
18433 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18435 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18439 $as_echo_n "checking for ENOSTR... " >&6; }
18440 if test "${glibcxx_cv_system_error7+set}" = set; then :
18441 $as_echo_n "(cached) " >&6
18442 else
18444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18445 /* end confdefs.h. */
18446 #include <errno.h>
18448 main ()
18450 int i = ENOSTR;
18452 return 0;
18454 _ACEOF
18455 if ac_fn_c_try_compile "$LINENO"; then :
18456 glibcxx_cv_system_error7=yes
18457 else
18458 glibcxx_cv_system_error7=no
18460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18465 $as_echo "$glibcxx_cv_system_error7" >&6; }
18466 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18468 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18472 $as_echo_n "checking for ETIME... " >&6; }
18473 if test "${glibcxx_cv_system_error8+set}" = set; then :
18474 $as_echo_n "(cached) " >&6
18475 else
18477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h. */
18479 #include <errno.h>
18481 main ()
18483 int i = ETIME;
18485 return 0;
18487 _ACEOF
18488 if ac_fn_c_try_compile "$LINENO"; then :
18489 glibcxx_cv_system_error8=yes
18490 else
18491 glibcxx_cv_system_error8=no
18493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18498 $as_echo "$glibcxx_cv_system_error8" >&6; }
18499 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18501 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18505 $as_echo_n "checking for EBADMSG... " >&6; }
18506 if test "${glibcxx_cv_system_error9+set}" = set; then :
18507 $as_echo_n "(cached) " >&6
18508 else
18510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18511 /* end confdefs.h. */
18512 #include <errno.h>
18514 main ()
18516 int i = EBADMSG;
18518 return 0;
18520 _ACEOF
18521 if ac_fn_c_try_compile "$LINENO"; then :
18522 glibcxx_cv_system_error9=yes
18523 else
18524 glibcxx_cv_system_error9=no
18526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18531 $as_echo "$glibcxx_cv_system_error9" >&6; }
18532 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18534 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18538 $as_echo_n "checking for ECANCELED... " >&6; }
18539 if test "${glibcxx_cv_system_error10+set}" = set; then :
18540 $as_echo_n "(cached) " >&6
18541 else
18543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18545 #include <errno.h>
18547 main ()
18549 int i = ECANCELED;
18551 return 0;
18553 _ACEOF
18554 if ac_fn_c_try_compile "$LINENO"; then :
18555 glibcxx_cv_system_error10=yes
18556 else
18557 glibcxx_cv_system_error10=no
18559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18564 $as_echo "$glibcxx_cv_system_error10" >&6; }
18565 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18567 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18571 $as_echo_n "checking for EOVERFLOW... " >&6; }
18572 if test "${glibcxx_cv_system_error11+set}" = set; then :
18573 $as_echo_n "(cached) " >&6
18574 else
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18578 #include <errno.h>
18580 main ()
18582 int i = EOVERFLOW;
18584 return 0;
18586 _ACEOF
18587 if ac_fn_c_try_compile "$LINENO"; then :
18588 glibcxx_cv_system_error11=yes
18589 else
18590 glibcxx_cv_system_error11=no
18592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18597 $as_echo "$glibcxx_cv_system_error11" >&6; }
18598 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18600 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18604 $as_echo_n "checking for ENOTSUP... " >&6; }
18605 if test "${glibcxx_cv_system_error12+set}" = set; then :
18606 $as_echo_n "(cached) " >&6
18607 else
18609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h. */
18611 #include <errno.h>
18613 main ()
18615 int i = ENOTSUP;
18617 return 0;
18619 _ACEOF
18620 if ac_fn_c_try_compile "$LINENO"; then :
18621 glibcxx_cv_system_error12=yes
18622 else
18623 glibcxx_cv_system_error12=no
18625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18630 $as_echo "$glibcxx_cv_system_error12" >&6; }
18631 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18633 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18637 $as_echo_n "checking for EIDRM... " >&6; }
18638 if test "${glibcxx_cv_system_error13+set}" = set; then :
18639 $as_echo_n "(cached) " >&6
18640 else
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18644 #include <errno.h>
18646 main ()
18648 int i = EIDRM;
18650 return 0;
18652 _ACEOF
18653 if ac_fn_c_try_compile "$LINENO"; then :
18654 glibcxx_cv_system_error13=yes
18655 else
18656 glibcxx_cv_system_error13=no
18658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18663 $as_echo "$glibcxx_cv_system_error13" >&6; }
18664 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18666 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18670 $as_echo_n "checking for ETXTBSY... " >&6; }
18671 if test "${glibcxx_cv_system_error14+set}" = set; then :
18672 $as_echo_n "(cached) " >&6
18673 else
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 #include <errno.h>
18679 main ()
18681 int i = ETXTBSY;
18683 return 0;
18685 _ACEOF
18686 if ac_fn_c_try_compile "$LINENO"; then :
18687 glibcxx_cv_system_error14=yes
18688 else
18689 glibcxx_cv_system_error14=no
18691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18696 $as_echo "$glibcxx_cv_system_error14" >&6; }
18697 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18699 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18703 $as_echo_n "checking for ECHILD... " >&6; }
18704 if test "${glibcxx_cv_system_error15+set}" = set; then :
18705 $as_echo_n "(cached) " >&6
18706 else
18708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18709 /* end confdefs.h. */
18710 #include <errno.h>
18712 main ()
18714 int i = ECHILD;
18716 return 0;
18718 _ACEOF
18719 if ac_fn_c_try_compile "$LINENO"; then :
18720 glibcxx_cv_system_error15=yes
18721 else
18722 glibcxx_cv_system_error15=no
18724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18729 $as_echo "$glibcxx_cv_system_error15" >&6; }
18730 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18732 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18736 $as_echo_n "checking for ENOSPC... " >&6; }
18737 if test "${glibcxx_cv_system_error16+set}" = set; then :
18738 $as_echo_n "(cached) " >&6
18739 else
18741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18742 /* end confdefs.h. */
18743 #include <errno.h>
18745 main ()
18747 int i = ENOSPC;
18749 return 0;
18751 _ACEOF
18752 if ac_fn_c_try_compile "$LINENO"; then :
18753 glibcxx_cv_system_error16=yes
18754 else
18755 glibcxx_cv_system_error16=no
18757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18762 $as_echo "$glibcxx_cv_system_error16" >&6; }
18763 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18765 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18769 $as_echo_n "checking for EPERM... " >&6; }
18770 if test "${glibcxx_cv_system_error17+set}" = set; then :
18771 $as_echo_n "(cached) " >&6
18772 else
18774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18775 /* end confdefs.h. */
18776 #include <errno.h>
18778 main ()
18780 int i = EPERM;
18782 return 0;
18784 _ACEOF
18785 if ac_fn_c_try_compile "$LINENO"; then :
18786 glibcxx_cv_system_error17=yes
18787 else
18788 glibcxx_cv_system_error17=no
18790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18795 $as_echo "$glibcxx_cv_system_error17" >&6; }
18796 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18798 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18802 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18803 if test "${glibcxx_cv_system_error18+set}" = set; then :
18804 $as_echo_n "(cached) " >&6
18805 else
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 #include <errno.h>
18811 main ()
18813 int i = ETIMEDOUT;
18815 return 0;
18817 _ACEOF
18818 if ac_fn_c_try_compile "$LINENO"; then :
18819 glibcxx_cv_system_error18=yes
18820 else
18821 glibcxx_cv_system_error18=no
18823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18828 $as_echo "$glibcxx_cv_system_error18" >&6; }
18829 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18831 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18835 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18836 if test "${glibcxx_cv_system_error19+set}" = set; then :
18837 $as_echo_n "(cached) " >&6
18838 else
18840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18842 #include <errno.h>
18844 main ()
18846 int i = EWOULDBLOCK;
18848 return 0;
18850 _ACEOF
18851 if ac_fn_c_try_compile "$LINENO"; then :
18852 glibcxx_cv_system_error19=yes
18853 else
18854 glibcxx_cv_system_error19=no
18856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18861 $as_echo "$glibcxx_cv_system_error19" >&6; }
18862 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18864 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18871 # Test uchar.h.
18872 for ac_header in uchar.h
18873 do :
18874 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
18875 if test "x$ac_cv_header_uchar_h" = x""yes; then :
18876 cat >>confdefs.h <<_ACEOF
18877 #define HAVE_UCHAR_H 1
18878 _ACEOF
18879 ac_has_uchar_h=yes
18880 else
18881 ac_has_uchar_h=no
18884 done
18888 ac_ext=cpp
18889 ac_cpp='$CXXCPP $CPPFLAGS'
18890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18894 ac_save_CXXFLAGS="$CXXFLAGS"
18895 CXXFLAGS="$CXXFLAGS -std=c++11"
18897 if test x"$ac_has_uchar_h" = x"yes"; then
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
18899 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
18900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18901 /* end confdefs.h. */
18902 #include <uchar.h>
18903 #ifdef __STDC_UTF_16__
18904 long i = __STDC_UTF_16__;
18905 #endif
18906 #ifdef __STDC_UTF_32__
18907 long j = __STDC_UTF_32__;
18908 #endif
18909 namespace test
18911 using ::c16rtomb;
18912 using ::c32rtomb;
18913 using ::mbrtoc16;
18914 using ::mbrtoc32;
18918 main ()
18922 return 0;
18924 _ACEOF
18925 if ac_fn_cxx_try_compile "$LINENO"; then :
18926 ac_c11_uchar_cxx11=yes
18927 else
18928 ac_c11_uchar_cxx11=no
18930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18931 else
18932 ac_c11_uchar_cxx11=no
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
18935 $as_echo "$ac_c11_uchar_cxx11" >&6; }
18936 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
18938 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
18942 CXXFLAGS="$ac_save_CXXFLAGS"
18943 ac_ext=c
18944 ac_cpp='$CPP $CPPFLAGS'
18945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18951 # For the streamoff typedef.
18955 ac_ext=cpp
18956 ac_cpp='$CXXCPP $CPPFLAGS'
18957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18963 $as_echo_n "checking for int64_t... " >&6; }
18964 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18965 $as_echo_n "(cached) " >&6
18966 else
18968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18969 /* end confdefs.h. */
18970 #include <stdint.h>
18972 main ()
18974 int64_t var;
18976 return 0;
18978 _ACEOF
18979 if ac_fn_cxx_try_compile "$LINENO"; then :
18980 glibcxx_cv_INT64_T=yes
18981 else
18982 glibcxx_cv_INT64_T=no
18984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18989 if test $glibcxx_cv_INT64_T = yes; then
18991 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18994 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18997 $as_echo_n "checking for int64_t as long... " >&6; }
18998 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18999 $as_echo_n "(cached) " >&6
19000 else
19002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19003 /* end confdefs.h. */
19004 #include <stdint.h>
19005 template<typename, typename> struct same { enum { value = -1 }; };
19006 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19007 int array[same<int64_t, long>::value];
19009 main ()
19013 return 0;
19015 _ACEOF
19016 if ac_fn_cxx_try_compile "$LINENO"; then :
19017 glibcxx_cv_int64_t_long=yes
19018 else
19019 glibcxx_cv_int64_t_long=no
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19026 if test $glibcxx_cv_int64_t_long = yes; then
19028 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19031 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19035 $as_echo_n "checking for int64_t as long long... " >&6; }
19036 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19037 $as_echo_n "(cached) " >&6
19038 else
19040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19041 /* end confdefs.h. */
19042 #include <stdint.h>
19043 template<typename, typename> struct same { enum { value = -1 }; };
19044 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19045 int array[same<int64_t, long long>::value];
19047 main ()
19051 return 0;
19053 _ACEOF
19054 if ac_fn_cxx_try_compile "$LINENO"; then :
19055 glibcxx_cv_int64_t_long_long=yes
19056 else
19057 glibcxx_cv_int64_t_long_long=no
19059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19064 if test $glibcxx_cv_int64_t_long_long = yes; then
19066 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19069 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19073 ac_ext=c
19074 ac_cpp='$CPP $CPPFLAGS'
19075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19081 # For LFS support.
19084 ac_ext=cpp
19085 ac_cpp='$CXXCPP $CPPFLAGS'
19086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19090 ac_save_CXXFLAGS="$CXXFLAGS"
19091 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19093 $as_echo_n "checking for LFS support... " >&6; }
19094 if test "${glibcxx_cv_LFS+set}" = set; then :
19095 $as_echo_n "(cached) " >&6
19096 else
19098 if test x$gcc_no_link = xyes; then
19099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19100 /* end confdefs.h. */
19101 #include <unistd.h>
19102 #include <stdio.h>
19103 #include <sys/stat.h>
19106 main ()
19108 FILE* fp;
19109 fopen64("t", "w");
19110 fseeko64(fp, 0, SEEK_CUR);
19111 ftello64(fp);
19112 lseek64(1, 0, SEEK_CUR);
19113 struct stat64 buf;
19114 fstat64(1, &buf);
19116 return 0;
19118 _ACEOF
19119 if ac_fn_cxx_try_compile "$LINENO"; then :
19120 glibcxx_cv_LFS=yes
19121 else
19122 glibcxx_cv_LFS=no
19124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19125 else
19126 if test x$gcc_no_link = xyes; then
19127 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19130 /* end confdefs.h. */
19131 #include <unistd.h>
19132 #include <stdio.h>
19133 #include <sys/stat.h>
19136 main ()
19138 FILE* fp;
19139 fopen64("t", "w");
19140 fseeko64(fp, 0, SEEK_CUR);
19141 ftello64(fp);
19142 lseek64(1, 0, SEEK_CUR);
19143 struct stat64 buf;
19144 fstat64(1, &buf);
19146 return 0;
19148 _ACEOF
19149 if ac_fn_cxx_try_link "$LINENO"; then :
19150 glibcxx_cv_LFS=yes
19151 else
19152 glibcxx_cv_LFS=no
19154 rm -f core conftest.err conftest.$ac_objext \
19155 conftest$ac_exeext conftest.$ac_ext
19160 if test $glibcxx_cv_LFS = yes; then
19162 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19166 $as_echo "$glibcxx_cv_LFS" >&6; }
19167 CXXFLAGS="$ac_save_CXXFLAGS"
19168 ac_ext=c
19169 ac_cpp='$CPP $CPPFLAGS'
19170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19176 # For showmanyc_helper().
19177 for ac_header in sys/ioctl.h sys/filio.h
19178 do :
19179 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19180 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19181 eval as_val=\$$as_ac_Header
19182 if test "x$as_val" = x""yes; then :
19183 cat >>confdefs.h <<_ACEOF
19184 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19185 _ACEOF
19189 done
19194 ac_ext=cpp
19195 ac_cpp='$CXXCPP $CPPFLAGS'
19196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19200 ac_save_CXXFLAGS="$CXXFLAGS"
19201 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19204 $as_echo_n "checking for poll... " >&6; }
19205 if test "${glibcxx_cv_POLL+set}" = set; then :
19206 $as_echo_n "(cached) " >&6
19207 else
19209 if test x$gcc_no_link = xyes; then
19210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19211 /* end confdefs.h. */
19212 #include <poll.h>
19214 main ()
19216 struct pollfd pfd[1];
19217 pfd[0].events = POLLIN;
19218 poll(pfd, 1, 0);
19220 return 0;
19222 _ACEOF
19223 if ac_fn_cxx_try_compile "$LINENO"; then :
19224 glibcxx_cv_POLL=yes
19225 else
19226 glibcxx_cv_POLL=no
19228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19229 else
19230 if test x$gcc_no_link = xyes; then
19231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19234 /* end confdefs.h. */
19235 #include <poll.h>
19237 main ()
19239 struct pollfd pfd[1];
19240 pfd[0].events = POLLIN;
19241 poll(pfd, 1, 0);
19243 return 0;
19245 _ACEOF
19246 if ac_fn_cxx_try_link "$LINENO"; then :
19247 glibcxx_cv_POLL=yes
19248 else
19249 glibcxx_cv_POLL=no
19251 rm -f core conftest.err conftest.$ac_objext \
19252 conftest$ac_exeext conftest.$ac_ext
19257 if test $glibcxx_cv_POLL = yes; then
19259 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19263 $as_echo "$glibcxx_cv_POLL" >&6; }
19265 CXXFLAGS="$ac_save_CXXFLAGS"
19266 ac_ext=c
19267 ac_cpp='$CPP $CPPFLAGS'
19268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19276 ac_ext=cpp
19277 ac_cpp='$CXXCPP $CPPFLAGS'
19278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19282 ac_save_CXXFLAGS="$CXXFLAGS"
19283 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19286 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19287 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19288 $as_echo_n "(cached) " >&6
19289 else
19291 if test x$gcc_no_link = xyes; then
19292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19293 /* end confdefs.h. */
19294 #include <sys/stat.h>
19296 main ()
19298 struct stat buffer;
19299 fstat(0, &buffer);
19300 S_ISREG(buffer.st_mode);
19302 return 0;
19304 _ACEOF
19305 if ac_fn_cxx_try_compile "$LINENO"; then :
19306 glibcxx_cv_S_ISREG=yes
19307 else
19308 glibcxx_cv_S_ISREG=no
19310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19311 else
19312 if test x$gcc_no_link = xyes; then
19313 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19316 /* end confdefs.h. */
19317 #include <sys/stat.h>
19319 main ()
19321 struct stat buffer;
19322 fstat(0, &buffer);
19323 S_ISREG(buffer.st_mode);
19325 return 0;
19327 _ACEOF
19328 if ac_fn_cxx_try_link "$LINENO"; then :
19329 glibcxx_cv_S_ISREG=yes
19330 else
19331 glibcxx_cv_S_ISREG=no
19333 rm -f core conftest.err conftest.$ac_objext \
19334 conftest$ac_exeext conftest.$ac_ext
19339 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19340 $as_echo_n "(cached) " >&6
19341 else
19343 if test x$gcc_no_link = xyes; then
19344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19345 /* end confdefs.h. */
19346 #include <sys/stat.h>
19348 main ()
19350 struct stat buffer;
19351 fstat(0, &buffer);
19352 S_IFREG & buffer.st_mode;
19354 return 0;
19356 _ACEOF
19357 if ac_fn_cxx_try_compile "$LINENO"; then :
19358 glibcxx_cv_S_IFREG=yes
19359 else
19360 glibcxx_cv_S_IFREG=no
19362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19363 else
19364 if test x$gcc_no_link = xyes; then
19365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19368 /* end confdefs.h. */
19369 #include <sys/stat.h>
19371 main ()
19373 struct stat buffer;
19374 fstat(0, &buffer);
19375 S_IFREG & buffer.st_mode;
19377 return 0;
19379 _ACEOF
19380 if ac_fn_cxx_try_link "$LINENO"; then :
19381 glibcxx_cv_S_IFREG=yes
19382 else
19383 glibcxx_cv_S_IFREG=no
19385 rm -f core conftest.err conftest.$ac_objext \
19386 conftest$ac_exeext conftest.$ac_ext
19391 res=no
19392 if test $glibcxx_cv_S_ISREG = yes; then
19394 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19396 res=S_ISREG
19397 elif test $glibcxx_cv_S_IFREG = yes; then
19399 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19401 res=S_IFREG
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19404 $as_echo "$res" >&6; }
19406 CXXFLAGS="$ac_save_CXXFLAGS"
19407 ac_ext=c
19408 ac_cpp='$CPP $CPPFLAGS'
19409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19415 # For xsputn_2().
19416 for ac_header in sys/uio.h
19417 do :
19418 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19419 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19420 cat >>confdefs.h <<_ACEOF
19421 #define HAVE_SYS_UIO_H 1
19422 _ACEOF
19426 done
19431 ac_ext=cpp
19432 ac_cpp='$CXXCPP $CPPFLAGS'
19433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19437 ac_save_CXXFLAGS="$CXXFLAGS"
19438 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19441 $as_echo_n "checking for writev... " >&6; }
19442 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19443 $as_echo_n "(cached) " >&6
19444 else
19446 if test x$gcc_no_link = xyes; then
19447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19448 /* end confdefs.h. */
19449 #include <sys/uio.h>
19451 main ()
19453 struct iovec iov[2];
19454 writev(0, iov, 0);
19456 return 0;
19458 _ACEOF
19459 if ac_fn_cxx_try_compile "$LINENO"; then :
19460 glibcxx_cv_WRITEV=yes
19461 else
19462 glibcxx_cv_WRITEV=no
19464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19465 else
19466 if test x$gcc_no_link = xyes; then
19467 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19471 #include <sys/uio.h>
19473 main ()
19475 struct iovec iov[2];
19476 writev(0, iov, 0);
19478 return 0;
19480 _ACEOF
19481 if ac_fn_cxx_try_link "$LINENO"; then :
19482 glibcxx_cv_WRITEV=yes
19483 else
19484 glibcxx_cv_WRITEV=no
19486 rm -f core conftest.err conftest.$ac_objext \
19487 conftest$ac_exeext conftest.$ac_ext
19492 if test $glibcxx_cv_WRITEV = yes; then
19494 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19498 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19500 CXXFLAGS="$ac_save_CXXFLAGS"
19501 ac_ext=c
19502 ac_cpp='$CPP $CPPFLAGS'
19503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19509 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19510 # so that the check is done with the C compiler (not C++).
19511 # Checking with C++ can break a canadian cross build if either
19512 # file does not exist in C but does in C++.
19513 for ac_header in fenv.h complex.h
19514 do :
19515 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19516 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19517 eval as_val=\$$as_ac_Header
19518 if test "x$as_val" = x""yes; then :
19519 cat >>confdefs.h <<_ACEOF
19520 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19521 _ACEOF
19525 done
19528 # For C99 support to TR1.
19532 ac_ext=cpp
19533 ac_cpp='$CXXCPP $CPPFLAGS'
19534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19539 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19540 # undefined and fake C99 facilities may be spuriously enabled.
19541 ac_save_CXXFLAGS="$CXXFLAGS"
19542 CXXFLAGS="$CXXFLAGS -std=c++98"
19544 # Check for the existence of <complex.h> complex math functions used
19545 # by tr1/complex.
19546 for ac_header in complex.h
19547 do :
19548 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19549 if test "x$ac_cv_header_complex_h" = x""yes; then :
19550 cat >>confdefs.h <<_ACEOF
19551 #define HAVE_COMPLEX_H 1
19552 _ACEOF
19553 ac_has_complex_h=yes
19554 else
19555 ac_has_complex_h=no
19558 done
19560 ac_c99_complex_tr1=no;
19561 if test x"$ac_has_complex_h" = x"yes"; then
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19563 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19565 /* end confdefs.h. */
19566 #include <complex.h>
19568 main ()
19570 typedef __complex__ float float_type; float_type tmpf;
19571 cacosf(tmpf);
19572 casinf(tmpf);
19573 catanf(tmpf);
19574 cacoshf(tmpf);
19575 casinhf(tmpf);
19576 catanhf(tmpf);
19577 typedef __complex__ double double_type; double_type tmpd;
19578 cacos(tmpd);
19579 casin(tmpd);
19580 catan(tmpd);
19581 cacosh(tmpd);
19582 casinh(tmpd);
19583 catanh(tmpd);
19584 typedef __complex__ long double ld_type; ld_type tmpld;
19585 cacosl(tmpld);
19586 casinl(tmpld);
19587 catanl(tmpld);
19588 cacoshl(tmpld);
19589 casinhl(tmpld);
19590 catanhl(tmpld);
19593 return 0;
19595 _ACEOF
19596 if ac_fn_cxx_try_compile "$LINENO"; then :
19597 ac_c99_complex_tr1=yes
19598 else
19599 ac_c99_complex_tr1=no
19601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19604 $as_echo "$ac_c99_complex_tr1" >&6; }
19605 if test x"$ac_c99_complex_tr1" = x"yes"; then
19607 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19611 # Check for the existence of <ctype.h> functions.
19612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19613 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19614 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19615 $as_echo_n "(cached) " >&6
19616 else
19618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h. */
19620 #include <ctype.h>
19622 main ()
19624 int ch;
19625 int ret;
19626 ret = isblank(ch);
19629 return 0;
19631 _ACEOF
19632 if ac_fn_cxx_try_compile "$LINENO"; then :
19633 glibcxx_cv_c99_ctype_tr1=yes
19634 else
19635 glibcxx_cv_c99_ctype_tr1=no
19637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19642 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19643 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19645 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19649 # Check for the existence of <fenv.h> functions.
19650 for ac_header in fenv.h
19651 do :
19652 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19653 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19654 cat >>confdefs.h <<_ACEOF
19655 #define HAVE_FENV_H 1
19656 _ACEOF
19657 ac_has_fenv_h=yes
19658 else
19659 ac_has_fenv_h=no
19662 done
19664 ac_c99_fenv_tr1=no;
19665 if test x"$ac_has_fenv_h" = x"yes"; then
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19667 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19670 #include <fenv.h>
19672 main ()
19674 int except, mode;
19675 fexcept_t* pflag;
19676 fenv_t* penv;
19677 int ret;
19678 ret = feclearexcept(except);
19679 ret = fegetexceptflag(pflag, except);
19680 ret = feraiseexcept(except);
19681 ret = fesetexceptflag(pflag, except);
19682 ret = fetestexcept(except);
19683 ret = fegetround();
19684 ret = fesetround(mode);
19685 ret = fegetenv(penv);
19686 ret = feholdexcept(penv);
19687 ret = fesetenv(penv);
19688 ret = feupdateenv(penv);
19691 return 0;
19693 _ACEOF
19694 if ac_fn_cxx_try_compile "$LINENO"; then :
19695 ac_c99_fenv_tr1=yes
19696 else
19697 ac_c99_fenv_tr1=no
19699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19702 $as_echo "$ac_c99_fenv_tr1" >&6; }
19703 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19705 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19709 # Check for the existence of <stdint.h> types.
19710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19711 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19712 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19713 $as_echo_n "(cached) " >&6
19714 else
19716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717 /* end confdefs.h. */
19718 #define __STDC_LIMIT_MACROS
19719 #define __STDC_CONSTANT_MACROS
19720 #include <stdint.h>
19722 main ()
19724 typedef int8_t my_int8_t;
19725 my_int8_t i8 = INT8_MIN;
19726 i8 = INT8_MAX;
19727 typedef int16_t my_int16_t;
19728 my_int16_t i16 = INT16_MIN;
19729 i16 = INT16_MAX;
19730 typedef int32_t my_int32_t;
19731 my_int32_t i32 = INT32_MIN;
19732 i32 = INT32_MAX;
19733 typedef int64_t my_int64_t;
19734 my_int64_t i64 = INT64_MIN;
19735 i64 = INT64_MAX;
19736 typedef int_fast8_t my_int_fast8_t;
19737 my_int_fast8_t if8 = INT_FAST8_MIN;
19738 if8 = INT_FAST8_MAX;
19739 typedef int_fast16_t my_int_fast16_t;
19740 my_int_fast16_t if16 = INT_FAST16_MIN;
19741 if16 = INT_FAST16_MAX;
19742 typedef int_fast32_t my_int_fast32_t;
19743 my_int_fast32_t if32 = INT_FAST32_MIN;
19744 if32 = INT_FAST32_MAX;
19745 typedef int_fast64_t my_int_fast64_t;
19746 my_int_fast64_t if64 = INT_FAST64_MIN;
19747 if64 = INT_FAST64_MAX;
19748 typedef int_least8_t my_int_least8_t;
19749 my_int_least8_t il8 = INT_LEAST8_MIN;
19750 il8 = INT_LEAST8_MAX;
19751 typedef int_least16_t my_int_least16_t;
19752 my_int_least16_t il16 = INT_LEAST16_MIN;
19753 il16 = INT_LEAST16_MAX;
19754 typedef int_least32_t my_int_least32_t;
19755 my_int_least32_t il32 = INT_LEAST32_MIN;
19756 il32 = INT_LEAST32_MAX;
19757 typedef int_least64_t my_int_least64_t;
19758 my_int_least64_t il64 = INT_LEAST64_MIN;
19759 il64 = INT_LEAST64_MAX;
19760 typedef intmax_t my_intmax_t;
19761 my_intmax_t im = INTMAX_MAX;
19762 im = INTMAX_MIN;
19763 typedef intptr_t my_intptr_t;
19764 my_intptr_t ip = INTPTR_MAX;
19765 ip = INTPTR_MIN;
19766 typedef uint8_t my_uint8_t;
19767 my_uint8_t ui8 = UINT8_MAX;
19768 ui8 = UINT8_MAX;
19769 typedef uint16_t my_uint16_t;
19770 my_uint16_t ui16 = UINT16_MAX;
19771 ui16 = UINT16_MAX;
19772 typedef uint32_t my_uint32_t;
19773 my_uint32_t ui32 = UINT32_MAX;
19774 ui32 = UINT32_MAX;
19775 typedef uint64_t my_uint64_t;
19776 my_uint64_t ui64 = UINT64_MAX;
19777 ui64 = UINT64_MAX;
19778 typedef uint_fast8_t my_uint_fast8_t;
19779 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19780 uif8 = UINT_FAST8_MAX;
19781 typedef uint_fast16_t my_uint_fast16_t;
19782 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19783 uif16 = UINT_FAST16_MAX;
19784 typedef uint_fast32_t my_uint_fast32_t;
19785 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19786 uif32 = UINT_FAST32_MAX;
19787 typedef uint_fast64_t my_uint_fast64_t;
19788 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19789 uif64 = UINT_FAST64_MAX;
19790 typedef uint_least8_t my_uint_least8_t;
19791 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19792 uil8 = UINT_LEAST8_MAX;
19793 typedef uint_least16_t my_uint_least16_t;
19794 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19795 uil16 = UINT_LEAST16_MAX;
19796 typedef uint_least32_t my_uint_least32_t;
19797 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19798 uil32 = UINT_LEAST32_MAX;
19799 typedef uint_least64_t my_uint_least64_t;
19800 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19801 uil64 = UINT_LEAST64_MAX;
19802 typedef uintmax_t my_uintmax_t;
19803 my_uintmax_t uim = UINTMAX_MAX;
19804 uim = UINTMAX_MAX;
19805 typedef uintptr_t my_uintptr_t;
19806 my_uintptr_t uip = UINTPTR_MAX;
19807 uip = UINTPTR_MAX;
19810 return 0;
19812 _ACEOF
19813 if ac_fn_cxx_try_compile "$LINENO"; then :
19814 glibcxx_cv_c99_stdint_tr1=yes
19815 else
19816 glibcxx_cv_c99_stdint_tr1=no
19818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19823 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19824 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19826 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19830 # Check for the existence of <math.h> functions.
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19832 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19833 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19834 $as_echo_n "(cached) " >&6
19835 else
19837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19838 /* end confdefs.h. */
19839 #include <math.h>
19841 main ()
19843 typedef double_t my_double_t;
19844 typedef float_t my_float_t;
19845 acosh(0.0);
19846 acoshf(0.0f);
19847 acoshl(0.0l);
19848 asinh(0.0);
19849 asinhf(0.0f);
19850 asinhl(0.0l);
19851 atanh(0.0);
19852 atanhf(0.0f);
19853 atanhl(0.0l);
19854 cbrt(0.0);
19855 cbrtf(0.0f);
19856 cbrtl(0.0l);
19857 copysign(0.0, 0.0);
19858 copysignf(0.0f, 0.0f);
19859 copysignl(0.0l, 0.0l);
19860 erf(0.0);
19861 erff(0.0f);
19862 erfl(0.0l);
19863 erfc(0.0);
19864 erfcf(0.0f);
19865 erfcl(0.0l);
19866 exp2(0.0);
19867 exp2f(0.0f);
19868 exp2l(0.0l);
19869 expm1(0.0);
19870 expm1f(0.0f);
19871 expm1l(0.0l);
19872 fdim(0.0, 0.0);
19873 fdimf(0.0f, 0.0f);
19874 fdiml(0.0l, 0.0l);
19875 fma(0.0, 0.0, 0.0);
19876 fmaf(0.0f, 0.0f, 0.0f);
19877 fmal(0.0l, 0.0l, 0.0l);
19878 fmax(0.0, 0.0);
19879 fmaxf(0.0f, 0.0f);
19880 fmaxl(0.0l, 0.0l);
19881 fmin(0.0, 0.0);
19882 fminf(0.0f, 0.0f);
19883 fminl(0.0l, 0.0l);
19884 hypot(0.0, 0.0);
19885 hypotf(0.0f, 0.0f);
19886 hypotl(0.0l, 0.0l);
19887 ilogb(0.0);
19888 ilogbf(0.0f);
19889 ilogbl(0.0l);
19890 lgamma(0.0);
19891 lgammaf(0.0f);
19892 lgammal(0.0l);
19893 llrint(0.0);
19894 llrintf(0.0f);
19895 llrintl(0.0l);
19896 llround(0.0);
19897 llroundf(0.0f);
19898 llroundl(0.0l);
19899 log1p(0.0);
19900 log1pf(0.0f);
19901 log1pl(0.0l);
19902 log2(0.0);
19903 log2f(0.0f);
19904 log2l(0.0l);
19905 logb(0.0);
19906 logbf(0.0f);
19907 logbl(0.0l);
19908 lrint(0.0);
19909 lrintf(0.0f);
19910 lrintl(0.0l);
19911 lround(0.0);
19912 lroundf(0.0f);
19913 lroundl(0.0l);
19914 nan(0);
19915 nanf(0);
19916 nanl(0);
19917 nearbyint(0.0);
19918 nearbyintf(0.0f);
19919 nearbyintl(0.0l);
19920 nextafter(0.0, 0.0);
19921 nextafterf(0.0f, 0.0f);
19922 nextafterl(0.0l, 0.0l);
19923 nexttoward(0.0, 0.0);
19924 nexttowardf(0.0f, 0.0f);
19925 nexttowardl(0.0l, 0.0l);
19926 remainder(0.0, 0.0);
19927 remainderf(0.0f, 0.0f);
19928 remainderl(0.0l, 0.0l);
19929 remquo(0.0, 0.0, 0);
19930 remquof(0.0f, 0.0f, 0);
19931 remquol(0.0l, 0.0l, 0);
19932 rint(0.0);
19933 rintf(0.0f);
19934 rintl(0.0l);
19935 round(0.0);
19936 roundf(0.0f);
19937 roundl(0.0l);
19938 scalbln(0.0, 0l);
19939 scalblnf(0.0f, 0l);
19940 scalblnl(0.0l, 0l);
19941 scalbn(0.0, 0);
19942 scalbnf(0.0f, 0);
19943 scalbnl(0.0l, 0);
19944 tgamma(0.0);
19945 tgammaf(0.0f);
19946 tgammal(0.0l);
19947 trunc(0.0);
19948 truncf(0.0f);
19949 truncl(0.0l);
19952 return 0;
19954 _ACEOF
19955 if ac_fn_cxx_try_compile "$LINENO"; then :
19956 glibcxx_cv_c99_math_tr1=yes
19957 else
19958 glibcxx_cv_c99_math_tr1=no
19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19965 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19966 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19968 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19972 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19973 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19974 ac_c99_inttypes_tr1=no;
19975 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19977 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19979 /* end confdefs.h. */
19980 #include <inttypes.h>
19982 main ()
19984 intmax_t i, numer, denom, base;
19985 const char* s;
19986 char** endptr;
19987 intmax_t ret = imaxabs(i);
19988 imaxdiv_t dret = imaxdiv(numer, denom);
19989 ret = strtoimax(s, endptr, base);
19990 uintmax_t uret = strtoumax(s, endptr, base);
19993 return 0;
19995 _ACEOF
19996 if ac_fn_cxx_try_compile "$LINENO"; then :
19997 ac_c99_inttypes_tr1=yes
19998 else
19999 ac_c99_inttypes_tr1=no
20001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20004 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20005 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20007 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20011 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20012 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20013 ac_c99_inttypes_wchar_t_tr1=no;
20014 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20016 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20018 /* end confdefs.h. */
20019 #include <inttypes.h>
20021 main ()
20023 intmax_t base;
20024 const wchar_t* s;
20025 wchar_t** endptr;
20026 intmax_t ret = wcstoimax(s, endptr, base);
20027 uintmax_t uret = wcstoumax(s, endptr, base);
20030 return 0;
20032 _ACEOF
20033 if ac_fn_cxx_try_compile "$LINENO"; then :
20034 ac_c99_inttypes_wchar_t_tr1=yes
20035 else
20036 ac_c99_inttypes_wchar_t_tr1=no
20038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20041 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20042 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20044 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20048 # Check for the existence of the <stdbool.h> header.
20049 for ac_header in stdbool.h
20050 do :
20051 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20052 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20053 cat >>confdefs.h <<_ACEOF
20054 #define HAVE_STDBOOL_H 1
20055 _ACEOF
20059 done
20062 # Check for the existence of the <stdalign.h> header.
20063 for ac_header in stdalign.h
20064 do :
20065 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20066 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20067 cat >>confdefs.h <<_ACEOF
20068 #define HAVE_STDALIGN_H 1
20069 _ACEOF
20073 done
20076 CXXFLAGS="$ac_save_CXXFLAGS"
20077 ac_ext=c
20078 ac_cpp='$CPP $CPPFLAGS'
20079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20085 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20089 $as_echo_n "checking for the value of EOF... " >&6; }
20090 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20091 $as_echo_n "(cached) " >&6
20092 else
20094 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20096 else
20097 as_fn_error "computing EOF failed" "$LINENO" 5
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20103 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20105 cat >>confdefs.h <<_ACEOF
20106 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20107 _ACEOF
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20111 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20112 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20113 $as_echo_n "(cached) " >&6
20114 else
20116 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20118 else
20119 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20125 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20127 cat >>confdefs.h <<_ACEOF
20128 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20129 _ACEOF
20132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20133 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20134 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20135 $as_echo_n "(cached) " >&6
20136 else
20138 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20140 else
20141 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20147 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20149 cat >>confdefs.h <<_ACEOF
20150 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20151 _ACEOF
20155 # For gettimeofday support.
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20159 $as_echo_n "checking for gettimeofday... " >&6; }
20162 ac_ext=cpp
20163 ac_cpp='$CXXCPP $CPPFLAGS'
20164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20168 ac_save_CXXFLAGS="$CXXFLAGS"
20169 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20171 ac_has_gettimeofday=no;
20172 for ac_header in sys/time.h
20173 do :
20174 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20175 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20176 cat >>confdefs.h <<_ACEOF
20177 #define HAVE_SYS_TIME_H 1
20178 _ACEOF
20179 ac_has_sys_time_h=yes
20180 else
20181 ac_has_sys_time_h=no
20184 done
20186 if test x"$ac_has_sys_time_h" = x"yes"; then
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20188 $as_echo_n "checking for gettimeofday... " >&6; }
20189 if test x$gcc_no_link = xyes; then
20190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20191 /* end confdefs.h. */
20192 #include <sys/time.h>
20194 main ()
20196 timeval tv; gettimeofday(&tv, 0);
20198 return 0;
20200 _ACEOF
20201 if ac_fn_cxx_try_compile "$LINENO"; then :
20202 ac_has_gettimeofday=yes
20203 else
20204 ac_has_gettimeofday=no
20206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20207 else
20208 if test x$gcc_no_link = xyes; then
20209 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20212 /* end confdefs.h. */
20213 #include <sys/time.h>
20215 main ()
20217 timeval tv; gettimeofday(&tv, 0);
20219 return 0;
20221 _ACEOF
20222 if ac_fn_cxx_try_link "$LINENO"; then :
20223 ac_has_gettimeofday=yes
20224 else
20225 ac_has_gettimeofday=no
20227 rm -f core conftest.err conftest.$ac_objext \
20228 conftest$ac_exeext conftest.$ac_ext
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20232 $as_echo "$ac_has_gettimeofday" >&6; }
20235 if test x"$ac_has_gettimeofday" = x"yes"; then
20237 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20241 CXXFLAGS="$ac_save_CXXFLAGS"
20242 ac_ext=c
20243 ac_cpp='$CPP $CPPFLAGS'
20244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20250 # For clock_gettime, nanosleep and sched_yield support.
20253 # Check whether --enable-libstdcxx-time was given.
20254 if test "${enable_libstdcxx_time+set}" = set; then :
20255 enableval=$enable_libstdcxx_time;
20256 case "$enableval" in
20257 yes|no|rt) ;;
20258 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20259 esac
20261 else
20262 enable_libstdcxx_time=auto
20268 ac_ext=cpp
20269 ac_cpp='$CXXCPP $CPPFLAGS'
20270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20274 ac_save_CXXFLAGS="$CXXFLAGS"
20275 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20276 ac_save_LIBS="$LIBS"
20278 ac_has_clock_monotonic=no
20279 ac_has_clock_realtime=no
20280 ac_has_nanosleep=no
20281 ac_has_sched_yield=no
20283 if test x"$enable_libstdcxx_time" = x"auto"; then
20285 case "${target_os}" in
20286 cygwin*)
20287 ac_has_nanosleep=yes
20289 darwin*)
20290 ac_has_nanosleep=yes
20291 ac_has_sched_yield=yes
20293 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20295 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20297 /* end confdefs.h. */
20298 #include <features.h>
20300 main ()
20303 #if ! __GLIBC_PREREQ(2, 17)
20304 #error
20305 #endif
20308 return 0;
20310 _ACEOF
20311 if ac_fn_cxx_try_compile "$LINENO"; then :
20312 glibcxx_glibc217=yes
20313 else
20314 glibcxx_glibc217=no
20316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20318 $as_echo "$glibcxx_glibc217" >&6; }
20320 if test x"$glibcxx_glibc217" = x"yes"; then
20321 ac_has_clock_monotonic=yes
20322 ac_has_clock_realtime=yes
20324 ac_has_nanosleep=yes
20325 ac_has_sched_yield=yes
20327 freebsd*|netbsd*|dragonfly*)
20328 ac_has_clock_monotonic=yes
20329 ac_has_clock_realtime=yes
20330 ac_has_nanosleep=yes
20331 ac_has_sched_yield=yes
20333 openbsd*)
20334 ac_has_clock_monotonic=yes
20335 ac_has_clock_realtime=yes
20336 ac_has_nanosleep=yes
20338 solaris*)
20339 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20340 ac_has_clock_monotonic=yes
20341 ac_has_clock_realtime=yes
20342 ac_has_nanosleep=yes
20343 ac_has_sched_yield=yes
20345 esac
20347 elif test x"$enable_libstdcxx_time" != x"no"; then
20349 if test x"$enable_libstdcxx_time" = x"rt"; then
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20351 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20352 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20353 $as_echo_n "(cached) " >&6
20354 else
20355 ac_func_search_save_LIBS=$LIBS
20356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20357 /* end confdefs.h. */
20359 /* Override any GCC internal prototype to avoid an error.
20360 Use char because int might match the return type of a GCC
20361 builtin and then its argument prototype would still apply. */
20362 #ifdef __cplusplus
20363 extern "C"
20364 #endif
20365 char clock_gettime ();
20367 main ()
20369 return clock_gettime ();
20371 return 0;
20373 _ACEOF
20374 for ac_lib in '' rt posix4; do
20375 if test -z "$ac_lib"; then
20376 ac_res="none required"
20377 else
20378 ac_res=-l$ac_lib
20379 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20381 if test x$gcc_no_link = xyes; then
20382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20384 if ac_fn_cxx_try_link "$LINENO"; then :
20385 ac_cv_search_clock_gettime=$ac_res
20387 rm -f core conftest.err conftest.$ac_objext \
20388 conftest$ac_exeext
20389 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20390 break
20392 done
20393 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20395 else
20396 ac_cv_search_clock_gettime=no
20398 rm conftest.$ac_ext
20399 LIBS=$ac_func_search_save_LIBS
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20402 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20403 ac_res=$ac_cv_search_clock_gettime
20404 if test "$ac_res" != no; then :
20405 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20410 $as_echo_n "checking for library containing nanosleep... " >&6; }
20411 if test "${ac_cv_search_nanosleep+set}" = set; then :
20412 $as_echo_n "(cached) " >&6
20413 else
20414 ac_func_search_save_LIBS=$LIBS
20415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20416 /* end confdefs.h. */
20418 /* Override any GCC internal prototype to avoid an error.
20419 Use char because int might match the return type of a GCC
20420 builtin and then its argument prototype would still apply. */
20421 #ifdef __cplusplus
20422 extern "C"
20423 #endif
20424 char nanosleep ();
20426 main ()
20428 return nanosleep ();
20430 return 0;
20432 _ACEOF
20433 for ac_lib in '' rt posix4; do
20434 if test -z "$ac_lib"; then
20435 ac_res="none required"
20436 else
20437 ac_res=-l$ac_lib
20438 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20440 if test x$gcc_no_link = xyes; then
20441 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20443 if ac_fn_cxx_try_link "$LINENO"; then :
20444 ac_cv_search_nanosleep=$ac_res
20446 rm -f core conftest.err conftest.$ac_objext \
20447 conftest$ac_exeext
20448 if test "${ac_cv_search_nanosleep+set}" = set; then :
20449 break
20451 done
20452 if test "${ac_cv_search_nanosleep+set}" = set; then :
20454 else
20455 ac_cv_search_nanosleep=no
20457 rm conftest.$ac_ext
20458 LIBS=$ac_func_search_save_LIBS
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20461 $as_echo "$ac_cv_search_nanosleep" >&6; }
20462 ac_res=$ac_cv_search_nanosleep
20463 if test "$ac_res" != no; then :
20464 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20468 else
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20470 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20471 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20472 $as_echo_n "(cached) " >&6
20473 else
20474 ac_func_search_save_LIBS=$LIBS
20475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20476 /* end confdefs.h. */
20478 /* Override any GCC internal prototype to avoid an error.
20479 Use char because int might match the return type of a GCC
20480 builtin and then its argument prototype would still apply. */
20481 #ifdef __cplusplus
20482 extern "C"
20483 #endif
20484 char clock_gettime ();
20486 main ()
20488 return clock_gettime ();
20490 return 0;
20492 _ACEOF
20493 for ac_lib in '' posix4; do
20494 if test -z "$ac_lib"; then
20495 ac_res="none required"
20496 else
20497 ac_res=-l$ac_lib
20498 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20500 if test x$gcc_no_link = xyes; then
20501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20503 if ac_fn_cxx_try_link "$LINENO"; then :
20504 ac_cv_search_clock_gettime=$ac_res
20506 rm -f core conftest.err conftest.$ac_objext \
20507 conftest$ac_exeext
20508 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20509 break
20511 done
20512 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20514 else
20515 ac_cv_search_clock_gettime=no
20517 rm conftest.$ac_ext
20518 LIBS=$ac_func_search_save_LIBS
20520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20521 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20522 ac_res=$ac_cv_search_clock_gettime
20523 if test "$ac_res" != no; then :
20524 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20529 $as_echo_n "checking for library containing nanosleep... " >&6; }
20530 if test "${ac_cv_search_nanosleep+set}" = set; then :
20531 $as_echo_n "(cached) " >&6
20532 else
20533 ac_func_search_save_LIBS=$LIBS
20534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20535 /* end confdefs.h. */
20537 /* Override any GCC internal prototype to avoid an error.
20538 Use char because int might match the return type of a GCC
20539 builtin and then its argument prototype would still apply. */
20540 #ifdef __cplusplus
20541 extern "C"
20542 #endif
20543 char nanosleep ();
20545 main ()
20547 return nanosleep ();
20549 return 0;
20551 _ACEOF
20552 for ac_lib in '' posix4; do
20553 if test -z "$ac_lib"; then
20554 ac_res="none required"
20555 else
20556 ac_res=-l$ac_lib
20557 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20559 if test x$gcc_no_link = xyes; then
20560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20562 if ac_fn_cxx_try_link "$LINENO"; then :
20563 ac_cv_search_nanosleep=$ac_res
20565 rm -f core conftest.err conftest.$ac_objext \
20566 conftest$ac_exeext
20567 if test "${ac_cv_search_nanosleep+set}" = set; then :
20568 break
20570 done
20571 if test "${ac_cv_search_nanosleep+set}" = set; then :
20573 else
20574 ac_cv_search_nanosleep=no
20576 rm conftest.$ac_ext
20577 LIBS=$ac_func_search_save_LIBS
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20580 $as_echo "$ac_cv_search_nanosleep" >&6; }
20581 ac_res=$ac_cv_search_nanosleep
20582 if test "$ac_res" != no; then :
20583 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20589 case "$ac_cv_search_clock_gettime" in
20590 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20592 esac
20593 case "$ac_cv_search_nanosleep" in
20594 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20596 esac
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20599 $as_echo_n "checking for library containing sched_yield... " >&6; }
20600 if test "${ac_cv_search_sched_yield+set}" = set; then :
20601 $as_echo_n "(cached) " >&6
20602 else
20603 ac_func_search_save_LIBS=$LIBS
20604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20605 /* end confdefs.h. */
20607 /* Override any GCC internal prototype to avoid an error.
20608 Use char because int might match the return type of a GCC
20609 builtin and then its argument prototype would still apply. */
20610 #ifdef __cplusplus
20611 extern "C"
20612 #endif
20613 char sched_yield ();
20615 main ()
20617 return sched_yield ();
20619 return 0;
20621 _ACEOF
20622 for ac_lib in '' rt posix4; do
20623 if test -z "$ac_lib"; then
20624 ac_res="none required"
20625 else
20626 ac_res=-l$ac_lib
20627 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20629 if test x$gcc_no_link = xyes; then
20630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20632 if ac_fn_cxx_try_link "$LINENO"; then :
20633 ac_cv_search_sched_yield=$ac_res
20635 rm -f core conftest.err conftest.$ac_objext \
20636 conftest$ac_exeext
20637 if test "${ac_cv_search_sched_yield+set}" = set; then :
20638 break
20640 done
20641 if test "${ac_cv_search_sched_yield+set}" = set; then :
20643 else
20644 ac_cv_search_sched_yield=no
20646 rm conftest.$ac_ext
20647 LIBS=$ac_func_search_save_LIBS
20649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20650 $as_echo "$ac_cv_search_sched_yield" >&6; }
20651 ac_res=$ac_cv_search_sched_yield
20652 if test "$ac_res" != no; then :
20653 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20658 case "$ac_cv_search_sched_yield" in
20659 -lposix4*)
20660 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20661 ac_has_sched_yield=yes
20663 -lrt*)
20664 if test x"$enable_libstdcxx_time" = x"rt"; then
20665 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20666 ac_has_sched_yield=yes
20670 ac_has_sched_yield=yes
20672 esac
20674 for ac_header in unistd.h
20675 do :
20676 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20677 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20678 cat >>confdefs.h <<_ACEOF
20679 #define HAVE_UNISTD_H 1
20680 _ACEOF
20681 ac_has_unistd_h=yes
20682 else
20683 ac_has_unistd_h=no
20686 done
20689 if test x"$ac_has_unistd_h" = x"yes"; then
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20691 $as_echo_n "checking for monotonic clock... " >&6; }
20692 if test x$gcc_no_link = xyes; then
20693 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20696 /* end confdefs.h. */
20697 #include <unistd.h>
20698 #include <time.h>
20701 main ()
20703 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20704 timespec tp;
20705 #endif
20706 clock_gettime(CLOCK_MONOTONIC, &tp);
20709 return 0;
20711 _ACEOF
20712 if ac_fn_cxx_try_link "$LINENO"; then :
20713 ac_has_clock_monotonic=yes
20714 else
20715 ac_has_clock_monotonic=no
20717 rm -f core conftest.err conftest.$ac_objext \
20718 conftest$ac_exeext conftest.$ac_ext
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20721 $as_echo "$ac_has_clock_monotonic" >&6; }
20723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20724 $as_echo_n "checking for realtime clock... " >&6; }
20725 if test x$gcc_no_link = xyes; then
20726 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20729 /* end confdefs.h. */
20730 #include <unistd.h>
20731 #include <time.h>
20734 main ()
20736 #if _POSIX_TIMERS > 0
20737 timespec tp;
20738 #endif
20739 clock_gettime(CLOCK_REALTIME, &tp);
20742 return 0;
20744 _ACEOF
20745 if ac_fn_cxx_try_link "$LINENO"; then :
20746 ac_has_clock_realtime=yes
20747 else
20748 ac_has_clock_realtime=no
20750 rm -f core conftest.err conftest.$ac_objext \
20751 conftest$ac_exeext conftest.$ac_ext
20753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20754 $as_echo "$ac_has_clock_realtime" >&6; }
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20757 $as_echo_n "checking for nanosleep... " >&6; }
20758 if test x$gcc_no_link = xyes; then
20759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20762 /* end confdefs.h. */
20763 #include <unistd.h>
20764 #include <time.h>
20767 main ()
20769 #if _POSIX_TIMERS > 0
20770 timespec tp;
20771 #endif
20772 nanosleep(&tp, 0);
20775 return 0;
20777 _ACEOF
20778 if ac_fn_cxx_try_link "$LINENO"; then :
20779 ac_has_nanosleep=yes
20780 else
20781 ac_has_nanosleep=no
20783 rm -f core conftest.err conftest.$ac_objext \
20784 conftest$ac_exeext conftest.$ac_ext
20786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20787 $as_echo "$ac_has_nanosleep" >&6; }
20791 if test x"$ac_has_clock_monotonic" != x"yes"; then
20792 case ${target_os} in
20793 linux*)
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20795 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20797 /* end confdefs.h. */
20798 #include <unistd.h>
20799 #include <time.h>
20800 #include <sys/syscall.h>
20803 main ()
20805 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20806 timespec tp;
20807 #endif
20808 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20809 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20812 return 0;
20814 _ACEOF
20815 if ac_fn_cxx_try_compile "$LINENO"; then :
20816 ac_has_clock_monotonic_syscall=yes
20817 else
20818 ac_has_clock_monotonic_syscall=no
20820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20822 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20823 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20825 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20827 ac_has_clock_monotonic=yes
20828 ac_has_clock_realtime=yes
20829 fi;;
20830 esac
20833 if test x"$ac_has_clock_monotonic" = x"yes"; then
20835 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20839 if test x"$ac_has_clock_realtime" = x"yes"; then
20841 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20845 if test x"$ac_has_sched_yield" = x"yes"; then
20847 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20851 if test x"$ac_has_nanosleep" = x"yes"; then
20853 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20855 else
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20857 $as_echo_n "checking for sleep... " >&6; }
20858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20859 /* end confdefs.h. */
20860 #include <unistd.h>
20862 main ()
20864 sleep(1)
20866 return 0;
20868 _ACEOF
20869 if ac_fn_cxx_try_compile "$LINENO"; then :
20870 ac_has_sleep=yes
20871 else
20872 ac_has_sleep=no
20874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20875 if test x"$ac_has_sleep" = x"yes"; then
20877 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20881 $as_echo "$ac_has_sleep" >&6; }
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20883 $as_echo_n "checking for usleep... " >&6; }
20884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20885 /* end confdefs.h. */
20886 #include <unistd.h>
20888 main ()
20890 sleep(1);
20891 usleep(100);
20893 return 0;
20895 _ACEOF
20896 if ac_fn_cxx_try_compile "$LINENO"; then :
20897 ac_has_usleep=yes
20898 else
20899 ac_has_usleep=no
20901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20902 if test x"$ac_has_usleep" = x"yes"; then
20904 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20908 $as_echo "$ac_has_usleep" >&6; }
20911 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20913 $as_echo_n "checking for Sleep... " >&6; }
20914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20915 /* end confdefs.h. */
20916 #include <windows.h>
20918 main ()
20920 Sleep(1)
20922 return 0;
20924 _ACEOF
20925 if ac_fn_cxx_try_compile "$LINENO"; then :
20926 ac_has_win32_sleep=yes
20927 else
20928 ac_has_win32_sleep=no
20930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20931 if test x"$ac_has_win32_sleep" = x"yes"; then
20933 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20937 $as_echo "$ac_has_win32_sleep" >&6; }
20942 CXXFLAGS="$ac_save_CXXFLAGS"
20943 LIBS="$ac_save_LIBS"
20944 ac_ext=c
20945 ac_cpp='$CPP $CPPFLAGS'
20946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20952 # Check for tmpnam which is obsolescent in POSIX.1-2008
20954 ac_ext=cpp
20955 ac_cpp='$CXXCPP $CPPFLAGS'
20956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20960 ac_save_CXXFLAGS="$CXXFLAGS"
20961 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20963 $as_echo_n "checking for tmpnam... " >&6; }
20964 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20965 $as_echo_n "(cached) " >&6
20966 else
20967 if test x$gcc_no_link = xyes; then
20968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h. */
20970 #include <stdio.h>
20972 main ()
20974 char *tmp = tmpnam(NULL);
20976 return 0;
20978 _ACEOF
20979 if ac_fn_cxx_try_compile "$LINENO"; then :
20980 glibcxx_cv_TMPNAM=yes
20981 else
20982 glibcxx_cv_TMPNAM=no
20984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20985 else
20986 if test x$gcc_no_link = xyes; then
20987 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20990 /* end confdefs.h. */
20991 #include <stdio.h>
20993 main ()
20995 char *tmp = tmpnam(NULL);
20997 return 0;
20999 _ACEOF
21000 if ac_fn_cxx_try_link "$LINENO"; then :
21001 glibcxx_cv_TMPNAM=yes
21002 else
21003 glibcxx_cv_TMPNAM=no
21005 rm -f core conftest.err conftest.$ac_objext \
21006 conftest$ac_exeext conftest.$ac_ext
21011 if test $glibcxx_cv_TMPNAM = yes; then
21013 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21017 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21018 CXXFLAGS="$ac_save_CXXFLAGS"
21019 ac_ext=c
21020 ac_cpp='$CPP $CPPFLAGS'
21021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21028 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21029 if test "x$ac_cv_header_locale_h" = x""yes; then :
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21032 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21033 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21034 $as_echo_n "(cached) " >&6
21035 else
21036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21037 /* end confdefs.h. */
21038 #include <locale.h>
21040 main ()
21042 return LC_MESSAGES
21044 return 0;
21046 _ACEOF
21047 if ac_fn_c_try_compile "$LINENO"; then :
21048 ac_cv_val_LC_MESSAGES=yes
21049 else
21050 ac_cv_val_LC_MESSAGES=no
21052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21055 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21056 if test $ac_cv_val_LC_MESSAGES = yes; then
21058 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21067 # For hardware_concurrency
21068 for ac_header in sys/sysinfo.h
21069 do :
21070 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21071 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21072 cat >>confdefs.h <<_ACEOF
21073 #define HAVE_SYS_SYSINFO_H 1
21074 _ACEOF
21078 done
21083 ac_ext=cpp
21084 ac_cpp='$CXXCPP $CPPFLAGS'
21085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21089 ac_save_CXXFLAGS="$CXXFLAGS"
21090 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21093 $as_echo_n "checking for get_nprocs... " >&6; }
21094 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21095 $as_echo_n "(cached) " >&6
21096 else
21098 if test x$gcc_no_link = xyes; then
21099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21100 /* end confdefs.h. */
21101 #include <sys/sysinfo.h>
21103 main ()
21105 int n = get_nprocs();
21107 return 0;
21109 _ACEOF
21110 if ac_fn_cxx_try_compile "$LINENO"; then :
21111 glibcxx_cv_GET_NPROCS=yes
21112 else
21113 glibcxx_cv_GET_NPROCS=no
21115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21116 else
21117 if test x$gcc_no_link = xyes; then
21118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21121 /* end confdefs.h. */
21122 #include <sys/sysinfo.h>
21124 main ()
21126 int n = get_nprocs();
21128 return 0;
21130 _ACEOF
21131 if ac_fn_cxx_try_link "$LINENO"; then :
21132 glibcxx_cv_GET_NPROCS=yes
21133 else
21134 glibcxx_cv_GET_NPROCS=no
21136 rm -f core conftest.err conftest.$ac_objext \
21137 conftest$ac_exeext conftest.$ac_ext
21142 if test $glibcxx_cv_GET_NPROCS = yes; then
21144 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21148 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21150 CXXFLAGS="$ac_save_CXXFLAGS"
21151 ac_ext=c
21152 ac_cpp='$CPP $CPPFLAGS'
21153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21158 for ac_header in unistd.h
21159 do :
21160 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21161 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21162 cat >>confdefs.h <<_ACEOF
21163 #define HAVE_UNISTD_H 1
21164 _ACEOF
21168 done
21173 ac_ext=cpp
21174 ac_cpp='$CXXCPP $CPPFLAGS'
21175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21179 ac_save_CXXFLAGS="$CXXFLAGS"
21180 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21183 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21184 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21185 $as_echo_n "(cached) " >&6
21186 else
21188 if test x$gcc_no_link = xyes; then
21189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21190 /* end confdefs.h. */
21191 #include <unistd.h>
21193 main ()
21195 int n = sysconf(_SC_NPROCESSORS_ONLN);
21197 return 0;
21199 _ACEOF
21200 if ac_fn_cxx_try_compile "$LINENO"; then :
21201 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21202 else
21203 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21206 else
21207 if test x$gcc_no_link = xyes; then
21208 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21211 /* end confdefs.h. */
21212 #include <unistd.h>
21214 main ()
21216 int n = sysconf(_SC_NPROCESSORS_ONLN);
21218 return 0;
21220 _ACEOF
21221 if ac_fn_cxx_try_link "$LINENO"; then :
21222 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21223 else
21224 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21226 rm -f core conftest.err conftest.$ac_objext \
21227 conftest$ac_exeext conftest.$ac_ext
21232 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21234 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21238 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21240 CXXFLAGS="$ac_save_CXXFLAGS"
21241 ac_ext=c
21242 ac_cpp='$CPP $CPPFLAGS'
21243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21251 ac_ext=cpp
21252 ac_cpp='$CXXCPP $CPPFLAGS'
21253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21257 ac_save_CXXFLAGS="$CXXFLAGS"
21258 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21261 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21262 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21263 $as_echo_n "(cached) " >&6
21264 else
21266 if test x$gcc_no_link = xyes; then
21267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21268 /* end confdefs.h. */
21269 #include <unistd.h>
21271 main ()
21273 int n = sysconf(_SC_NPROC_ONLN);
21275 return 0;
21277 _ACEOF
21278 if ac_fn_cxx_try_compile "$LINENO"; then :
21279 glibcxx_cv_SC_NPROC_ONLN=yes
21280 else
21281 glibcxx_cv_SC_NPROC_ONLN=no
21283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21284 else
21285 if test x$gcc_no_link = xyes; then
21286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21289 /* end confdefs.h. */
21290 #include <unistd.h>
21292 main ()
21294 int n = sysconf(_SC_NPROC_ONLN);
21296 return 0;
21298 _ACEOF
21299 if ac_fn_cxx_try_link "$LINENO"; then :
21300 glibcxx_cv_SC_NPROC_ONLN=yes
21301 else
21302 glibcxx_cv_SC_NPROC_ONLN=no
21304 rm -f core conftest.err conftest.$ac_objext \
21305 conftest$ac_exeext conftest.$ac_ext
21310 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21312 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21316 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21318 CXXFLAGS="$ac_save_CXXFLAGS"
21319 ac_ext=c
21320 ac_cpp='$CPP $CPPFLAGS'
21321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21329 ac_ext=cpp
21330 ac_cpp='$CXXCPP $CPPFLAGS'
21331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21335 ac_save_CXXFLAGS="$CXXFLAGS"
21336 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21339 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21340 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21341 $as_echo_n "(cached) " >&6
21342 else
21344 if test x$gcc_no_link = xyes; then
21345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21346 /* end confdefs.h. */
21347 #include <pthread.h>
21349 main ()
21351 int n = pthread_num_processors_np();
21353 return 0;
21355 _ACEOF
21356 if ac_fn_cxx_try_compile "$LINENO"; then :
21357 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21358 else
21359 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21362 else
21363 if test x$gcc_no_link = xyes; then
21364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21367 /* end confdefs.h. */
21368 #include <pthread.h>
21370 main ()
21372 int n = pthread_num_processors_np();
21374 return 0;
21376 _ACEOF
21377 if ac_fn_cxx_try_link "$LINENO"; then :
21378 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21379 else
21380 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21382 rm -f core conftest.err conftest.$ac_objext \
21383 conftest$ac_exeext conftest.$ac_ext
21388 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21390 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21394 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21396 CXXFLAGS="$ac_save_CXXFLAGS"
21397 ac_ext=c
21398 ac_cpp='$CPP $CPPFLAGS'
21399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21407 ac_ext=cpp
21408 ac_cpp='$CXXCPP $CPPFLAGS'
21409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21413 ac_save_CXXFLAGS="$CXXFLAGS"
21414 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21417 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21418 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21419 $as_echo_n "(cached) " >&6
21420 else
21422 if test x$gcc_no_link = xyes; then
21423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21424 /* end confdefs.h. */
21426 #include <stddef.h>
21427 #include <sys/sysctl.h>
21430 main ()
21433 int count;
21434 size_t size = sizeof(count);
21435 int mib[] = { CTL_HW, HW_NCPU };
21436 sysctl(mib, 2, &count, &size, NULL, 0);
21439 return 0;
21441 _ACEOF
21442 if ac_fn_cxx_try_compile "$LINENO"; then :
21443 glibcxx_cv_SYSCTL_HW_NCPU=yes
21444 else
21445 glibcxx_cv_SYSCTL_HW_NCPU=no
21447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21448 else
21449 if test x$gcc_no_link = xyes; then
21450 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21453 /* end confdefs.h. */
21455 #include <stddef.h>
21456 #include <sys/sysctl.h>
21459 main ()
21462 int count;
21463 size_t size = sizeof(count);
21464 int mib[] = { CTL_HW, HW_NCPU };
21465 sysctl(mib, 2, &count, &size, NULL, 0);
21468 return 0;
21470 _ACEOF
21471 if ac_fn_cxx_try_link "$LINENO"; then :
21472 glibcxx_cv_SYSCTL_HW_NCPU=yes
21473 else
21474 glibcxx_cv_SYSCTL_HW_NCPU=no
21476 rm -f core conftest.err conftest.$ac_objext \
21477 conftest$ac_exeext conftest.$ac_ext
21482 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21484 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21488 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21490 CXXFLAGS="$ac_save_CXXFLAGS"
21491 ac_ext=c
21492 ac_cpp='$CPP $CPPFLAGS'
21493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21500 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21501 # Note that this test has to be run with the C language.
21502 # Otherwise, sdt.h will try to include some headers from
21503 # libstdc++ itself.
21505 ac_ext=c
21506 ac_cpp='$CPP $CPPFLAGS'
21507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21511 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21512 $as_echo_n "(cached) " >&6
21513 else
21515 # Because we have to run the test in C, we use grep rather
21516 # than the compiler to check for the bug. The bug is that
21517 # were strings without trailing whitespace, causing g++
21518 # to look for operator"". The pattern searches for the fixed
21519 # output.
21520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21521 /* end confdefs.h. */
21523 #include <sys/sdt.h>
21524 int f() { STAP_PROBE(hi, bob); }
21526 _ACEOF
21527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21528 $EGREP " \",\" " >/dev/null 2>&1; then :
21529 glibcxx_cv_sys_sdt_h=yes
21530 else
21531 glibcxx_cv_sys_sdt_h=no
21533 rm -f conftest*
21538 ac_ext=c
21539 ac_cpp='$CPP $CPPFLAGS'
21540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21544 if test $glibcxx_cv_sys_sdt_h = yes; then
21546 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21550 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21553 # Check for available headers.
21554 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21555 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21556 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21557 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21558 wchar.h wctype.h
21559 do :
21560 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21561 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21562 eval as_val=\$$as_ac_Header
21563 if test "x$as_val" = x""yes; then :
21564 cat >>confdefs.h <<_ACEOF
21565 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21566 _ACEOF
21570 done
21573 # Only do link tests if native. Else, hardcode.
21574 if $GLIBCXX_IS_NATIVE; then
21576 # We can do more elaborate tests that assume a working linker.
21577 CANADIAN=no
21581 # Check whether --with-gnu-ld was given.
21582 if test "${with_gnu_ld+set}" = set; then :
21583 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21584 else
21585 with_gnu_ld=no
21588 ac_prog=ld
21589 if test "$GCC" = yes; then
21590 # Check if gcc -print-prog-name=ld gives a path.
21591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21592 $as_echo_n "checking for ld used by $CC... " >&6; }
21593 case $host in
21594 *-*-mingw*)
21595 # gcc leaves a trailing carriage return which upsets mingw
21596 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21598 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21599 esac
21600 case $ac_prog in
21601 # Accept absolute paths.
21602 [\\/]* | ?:[\\/]*)
21603 re_direlt='/[^/][^/]*/\.\./'
21604 # Canonicalize the pathname of ld
21605 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21606 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21607 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21608 done
21609 test -z "$LD" && LD="$ac_prog"
21612 # If it fails, then pretend we aren't using GCC.
21613 ac_prog=ld
21616 # If it is relative, then search for the first ld in PATH.
21617 with_gnu_ld=unknown
21619 esac
21620 elif test "$with_gnu_ld" = yes; then
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21622 $as_echo_n "checking for GNU ld... " >&6; }
21623 else
21624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21625 $as_echo_n "checking for non-GNU ld... " >&6; }
21627 if test "${lt_cv_path_LD+set}" = set; then :
21628 $as_echo_n "(cached) " >&6
21629 else
21630 if test -z "$LD"; then
21631 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21632 for ac_dir in $PATH; do
21633 IFS="$lt_save_ifs"
21634 test -z "$ac_dir" && ac_dir=.
21635 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21636 lt_cv_path_LD="$ac_dir/$ac_prog"
21637 # Check to see if the program is GNU ld. I'd rather use --version,
21638 # but apparently some variants of GNU ld only accept -v.
21639 # Break only if it was the GNU/non-GNU ld that we prefer.
21640 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21641 *GNU* | *'with BFD'*)
21642 test "$with_gnu_ld" != no && break
21645 test "$with_gnu_ld" != yes && break
21647 esac
21649 done
21650 IFS="$lt_save_ifs"
21651 else
21652 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21656 LD="$lt_cv_path_LD"
21657 if test -n "$LD"; then
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21659 $as_echo "$LD" >&6; }
21660 else
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21662 $as_echo "no" >&6; }
21664 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21666 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21667 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21668 $as_echo_n "(cached) " >&6
21669 else
21670 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21671 case `$LD -v 2>&1 </dev/null` in
21672 *GNU* | *'with BFD'*)
21673 lt_cv_prog_gnu_ld=yes
21676 lt_cv_prog_gnu_ld=no
21678 esac
21680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21681 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21682 with_gnu_ld=$lt_cv_prog_gnu_ld
21690 # If we're not using GNU ld, then there's no point in even trying these
21691 # tests. Check for that first. We should have already tested for gld
21692 # by now (in libtool), but require it now just to be safe...
21693 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21694 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21698 # The name set by libtool depends on the version of libtool. Shame on us
21699 # for depending on an impl detail, but c'est la vie. Older versions used
21700 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21701 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21702 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21703 # set (hence we're using an older libtool), then set it.
21704 if test x${with_gnu_ld+set} != xset; then
21705 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21706 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21707 with_gnu_ld=no
21708 else
21709 with_gnu_ld=$ac_cv_prog_gnu_ld
21713 # Start by getting the version number. I think the libtool test already
21714 # does some of this, but throws away the result.
21715 glibcxx_ld_is_gold=no
21716 if test x"$with_gnu_ld" = x"yes"; then
21717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21718 $as_echo_n "checking for ld version... " >&6; }
21720 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21721 glibcxx_ld_is_gold=yes
21723 ldver=`$LD --version 2>/dev/null |
21724 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'`
21726 glibcxx_gnu_ld_version=`echo $ldver | \
21727 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21729 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21732 # Set --gc-sections.
21733 glibcxx_have_gc_sections=no
21734 if test "$glibcxx_ld_is_gold" = "yes"; then
21735 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21736 glibcxx_have_gc_sections=yes
21738 else
21739 glibcxx_gcsections_min_ld=21602
21740 if test x"$with_gnu_ld" = x"yes" &&
21741 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21742 glibcxx_have_gc_sections=yes
21745 if test "$glibcxx_have_gc_sections" = "yes"; then
21746 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21747 # NB: This flag only works reliably after 2.16.1. Configure tests
21748 # for this are difficult, so hard wire a value that should work.
21750 ac_test_CFLAGS="${CFLAGS+set}"
21751 ac_save_CFLAGS="$CFLAGS"
21752 CFLAGS='-Wl,--gc-sections'
21754 # Check for -Wl,--gc-sections
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21756 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21757 if test x$gcc_no_link = xyes; then
21758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21761 /* end confdefs.h. */
21762 int one(void) { return 1; }
21763 int two(void) { return 2; }
21766 main ()
21768 two();
21770 return 0;
21772 _ACEOF
21773 if ac_fn_c_try_link "$LINENO"; then :
21774 ac_gcsections=yes
21775 else
21776 ac_gcsections=no
21778 rm -f core conftest.err conftest.$ac_objext \
21779 conftest$ac_exeext conftest.$ac_ext
21780 if test "$ac_gcsections" = "yes"; then
21781 rm -f conftest.c
21782 touch conftest.c
21783 if $CC -c conftest.c; then
21784 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21785 grep "Warning: gc-sections option ignored" > /dev/null; then
21786 ac_gcsections=no
21789 rm -f conftest.c conftest.o conftest
21791 if test "$ac_gcsections" = "yes"; then
21792 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21795 $as_echo "$ac_gcsections" >&6; }
21797 if test "$ac_test_CFLAGS" = set; then
21798 CFLAGS="$ac_save_CFLAGS"
21799 else
21800 # this is the suspicious part
21801 CFLAGS=''
21805 # Set -z,relro.
21806 # Note this is only for shared objects.
21807 ac_ld_relro=no
21808 if test x"$with_gnu_ld" = x"yes"; then
21809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21810 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21811 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21812 if test -n "$cxx_z_relo"; then
21813 OPT_LDFLAGS="-Wl,-z,relro"
21814 ac_ld_relro=yes
21816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21817 $as_echo "$ac_ld_relro" >&6; }
21820 # Set linker optimization flags.
21821 if test x"$with_gnu_ld" = x"yes"; then
21822 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21829 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21830 ac_save_CXXFLAGS="$CXXFLAGS"
21831 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21834 $as_echo_n "checking for sin in -lm... " >&6; }
21835 if test "${ac_cv_lib_m_sin+set}" = set; then :
21836 $as_echo_n "(cached) " >&6
21837 else
21838 ac_check_lib_save_LIBS=$LIBS
21839 LIBS="-lm $LIBS"
21840 if test x$gcc_no_link = xyes; then
21841 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21844 /* end confdefs.h. */
21846 /* Override any GCC internal prototype to avoid an error.
21847 Use char because int might match the return type of a GCC
21848 builtin and then its argument prototype would still apply. */
21849 #ifdef __cplusplus
21850 extern "C"
21851 #endif
21852 char sin ();
21854 main ()
21856 return sin ();
21858 return 0;
21860 _ACEOF
21861 if ac_fn_c_try_link "$LINENO"; then :
21862 ac_cv_lib_m_sin=yes
21863 else
21864 ac_cv_lib_m_sin=no
21866 rm -f core conftest.err conftest.$ac_objext \
21867 conftest$ac_exeext conftest.$ac_ext
21868 LIBS=$ac_check_lib_save_LIBS
21870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21871 $as_echo "$ac_cv_lib_m_sin" >&6; }
21872 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21873 libm="-lm"
21876 ac_save_LIBS="$LIBS"
21877 LIBS="$LIBS $libm"
21881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21882 $as_echo_n "checking for isinf declaration... " >&6; }
21883 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21884 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21885 $as_echo_n "(cached) " >&6
21886 else
21889 ac_ext=cpp
21890 ac_cpp='$CXXCPP $CPPFLAGS'
21891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21896 /* end confdefs.h. */
21897 #include <math.h>
21898 #ifdef HAVE_IEEEFP_H
21899 #include <ieeefp.h>
21900 #endif
21903 main ()
21905 isinf(0);
21907 return 0;
21909 _ACEOF
21910 if ac_fn_cxx_try_compile "$LINENO"; then :
21911 glibcxx_cv_func_isinf_use=yes
21912 else
21913 glibcxx_cv_func_isinf_use=no
21915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21916 ac_ext=c
21917 ac_cpp='$CPP $CPPFLAGS'
21918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21927 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21929 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21930 for ac_func in isinf
21931 do :
21932 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21933 if test "x$ac_cv_func_isinf" = x""yes; then :
21934 cat >>confdefs.h <<_ACEOF
21935 #define HAVE_ISINF 1
21936 _ACEOF
21939 done
21941 else
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21944 $as_echo_n "checking for _isinf declaration... " >&6; }
21945 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21946 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21947 $as_echo_n "(cached) " >&6
21948 else
21951 ac_ext=cpp
21952 ac_cpp='$CXXCPP $CPPFLAGS'
21953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21958 /* end confdefs.h. */
21959 #include <math.h>
21960 #ifdef HAVE_IEEEFP_H
21961 #include <ieeefp.h>
21962 #endif
21965 main ()
21967 _isinf(0);
21969 return 0;
21971 _ACEOF
21972 if ac_fn_cxx_try_compile "$LINENO"; then :
21973 glibcxx_cv_func__isinf_use=yes
21974 else
21975 glibcxx_cv_func__isinf_use=no
21977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21978 ac_ext=c
21979 ac_cpp='$CPP $CPPFLAGS'
21980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21989 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21991 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21992 for ac_func in _isinf
21993 do :
21994 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21995 if test "x$ac_cv_func__isinf" = x""yes; then :
21996 cat >>confdefs.h <<_ACEOF
21997 #define HAVE__ISINF 1
21998 _ACEOF
22001 done
22010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22011 $as_echo_n "checking for isnan declaration... " >&6; }
22012 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22013 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22014 $as_echo_n "(cached) " >&6
22015 else
22018 ac_ext=cpp
22019 ac_cpp='$CXXCPP $CPPFLAGS'
22020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22025 /* end confdefs.h. */
22026 #include <math.h>
22027 #ifdef HAVE_IEEEFP_H
22028 #include <ieeefp.h>
22029 #endif
22032 main ()
22034 isnan(0);
22036 return 0;
22038 _ACEOF
22039 if ac_fn_cxx_try_compile "$LINENO"; then :
22040 glibcxx_cv_func_isnan_use=yes
22041 else
22042 glibcxx_cv_func_isnan_use=no
22044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22045 ac_ext=c
22046 ac_cpp='$CPP $CPPFLAGS'
22047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22056 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22058 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22059 for ac_func in isnan
22060 do :
22061 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22062 if test "x$ac_cv_func_isnan" = x""yes; then :
22063 cat >>confdefs.h <<_ACEOF
22064 #define HAVE_ISNAN 1
22065 _ACEOF
22068 done
22070 else
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22073 $as_echo_n "checking for _isnan declaration... " >&6; }
22074 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22075 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22076 $as_echo_n "(cached) " >&6
22077 else
22080 ac_ext=cpp
22081 ac_cpp='$CXXCPP $CPPFLAGS'
22082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22087 /* end confdefs.h. */
22088 #include <math.h>
22089 #ifdef HAVE_IEEEFP_H
22090 #include <ieeefp.h>
22091 #endif
22094 main ()
22096 _isnan(0);
22098 return 0;
22100 _ACEOF
22101 if ac_fn_cxx_try_compile "$LINENO"; then :
22102 glibcxx_cv_func__isnan_use=yes
22103 else
22104 glibcxx_cv_func__isnan_use=no
22106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22107 ac_ext=c
22108 ac_cpp='$CPP $CPPFLAGS'
22109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22118 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22120 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22121 for ac_func in _isnan
22122 do :
22123 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22124 if test "x$ac_cv_func__isnan" = x""yes; then :
22125 cat >>confdefs.h <<_ACEOF
22126 #define HAVE__ISNAN 1
22127 _ACEOF
22130 done
22139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22140 $as_echo_n "checking for finite declaration... " >&6; }
22141 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22142 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22143 $as_echo_n "(cached) " >&6
22144 else
22147 ac_ext=cpp
22148 ac_cpp='$CXXCPP $CPPFLAGS'
22149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22154 /* end confdefs.h. */
22155 #include <math.h>
22156 #ifdef HAVE_IEEEFP_H
22157 #include <ieeefp.h>
22158 #endif
22161 main ()
22163 finite(0);
22165 return 0;
22167 _ACEOF
22168 if ac_fn_cxx_try_compile "$LINENO"; then :
22169 glibcxx_cv_func_finite_use=yes
22170 else
22171 glibcxx_cv_func_finite_use=no
22173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22174 ac_ext=c
22175 ac_cpp='$CPP $CPPFLAGS'
22176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22185 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22187 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22188 for ac_func in finite
22189 do :
22190 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22191 if test "x$ac_cv_func_finite" = x""yes; then :
22192 cat >>confdefs.h <<_ACEOF
22193 #define HAVE_FINITE 1
22194 _ACEOF
22197 done
22199 else
22201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22202 $as_echo_n "checking for _finite declaration... " >&6; }
22203 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22204 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22205 $as_echo_n "(cached) " >&6
22206 else
22209 ac_ext=cpp
22210 ac_cpp='$CXXCPP $CPPFLAGS'
22211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22216 /* end confdefs.h. */
22217 #include <math.h>
22218 #ifdef HAVE_IEEEFP_H
22219 #include <ieeefp.h>
22220 #endif
22223 main ()
22225 _finite(0);
22227 return 0;
22229 _ACEOF
22230 if ac_fn_cxx_try_compile "$LINENO"; then :
22231 glibcxx_cv_func__finite_use=yes
22232 else
22233 glibcxx_cv_func__finite_use=no
22235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22236 ac_ext=c
22237 ac_cpp='$CPP $CPPFLAGS'
22238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22247 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22249 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22250 for ac_func in _finite
22251 do :
22252 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22253 if test "x$ac_cv_func__finite" = x""yes; then :
22254 cat >>confdefs.h <<_ACEOF
22255 #define HAVE__FINITE 1
22256 _ACEOF
22259 done
22268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22269 $as_echo_n "checking for sincos declaration... " >&6; }
22270 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22271 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22272 $as_echo_n "(cached) " >&6
22273 else
22276 ac_ext=cpp
22277 ac_cpp='$CXXCPP $CPPFLAGS'
22278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22283 /* end confdefs.h. */
22284 #include <math.h>
22286 main ()
22288 sincos(0, 0, 0);
22290 return 0;
22292 _ACEOF
22293 if ac_fn_cxx_try_compile "$LINENO"; then :
22294 glibcxx_cv_func_sincos_use=yes
22295 else
22296 glibcxx_cv_func_sincos_use=no
22298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22299 ac_ext=c
22300 ac_cpp='$CPP $CPPFLAGS'
22301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22310 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22312 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22313 for ac_func in sincos
22314 do :
22315 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22316 if test "x$ac_cv_func_sincos" = x""yes; then :
22317 cat >>confdefs.h <<_ACEOF
22318 #define HAVE_SINCOS 1
22319 _ACEOF
22322 done
22324 else
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22327 $as_echo_n "checking for _sincos declaration... " >&6; }
22328 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22329 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22330 $as_echo_n "(cached) " >&6
22331 else
22334 ac_ext=cpp
22335 ac_cpp='$CXXCPP $CPPFLAGS'
22336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22341 /* end confdefs.h. */
22342 #include <math.h>
22344 main ()
22346 _sincos(0, 0, 0);
22348 return 0;
22350 _ACEOF
22351 if ac_fn_cxx_try_compile "$LINENO"; then :
22352 glibcxx_cv_func__sincos_use=yes
22353 else
22354 glibcxx_cv_func__sincos_use=no
22356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22357 ac_ext=c
22358 ac_cpp='$CPP $CPPFLAGS'
22359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22368 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22370 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22371 for ac_func in _sincos
22372 do :
22373 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22374 if test "x$ac_cv_func__sincos" = x""yes; then :
22375 cat >>confdefs.h <<_ACEOF
22376 #define HAVE__SINCOS 1
22377 _ACEOF
22380 done
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22390 $as_echo_n "checking for fpclass declaration... " >&6; }
22391 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22392 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22393 $as_echo_n "(cached) " >&6
22394 else
22397 ac_ext=cpp
22398 ac_cpp='$CXXCPP $CPPFLAGS'
22399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22404 /* end confdefs.h. */
22405 #include <math.h>
22406 #ifdef HAVE_IEEEFP_H
22407 #include <ieeefp.h>
22408 #endif
22411 main ()
22413 fpclass(0);
22415 return 0;
22417 _ACEOF
22418 if ac_fn_cxx_try_compile "$LINENO"; then :
22419 glibcxx_cv_func_fpclass_use=yes
22420 else
22421 glibcxx_cv_func_fpclass_use=no
22423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22424 ac_ext=c
22425 ac_cpp='$CPP $CPPFLAGS'
22426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22435 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22437 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22438 for ac_func in fpclass
22439 do :
22440 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22441 if test "x$ac_cv_func_fpclass" = x""yes; then :
22442 cat >>confdefs.h <<_ACEOF
22443 #define HAVE_FPCLASS 1
22444 _ACEOF
22447 done
22449 else
22451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22452 $as_echo_n "checking for _fpclass declaration... " >&6; }
22453 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22454 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22455 $as_echo_n "(cached) " >&6
22456 else
22459 ac_ext=cpp
22460 ac_cpp='$CXXCPP $CPPFLAGS'
22461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22466 /* end confdefs.h. */
22467 #include <math.h>
22468 #ifdef HAVE_IEEEFP_H
22469 #include <ieeefp.h>
22470 #endif
22473 main ()
22475 _fpclass(0);
22477 return 0;
22479 _ACEOF
22480 if ac_fn_cxx_try_compile "$LINENO"; then :
22481 glibcxx_cv_func__fpclass_use=yes
22482 else
22483 glibcxx_cv_func__fpclass_use=no
22485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22486 ac_ext=c
22487 ac_cpp='$CPP $CPPFLAGS'
22488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22497 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22499 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22500 for ac_func in _fpclass
22501 do :
22502 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22503 if test "x$ac_cv_func__fpclass" = x""yes; then :
22504 cat >>confdefs.h <<_ACEOF
22505 #define HAVE__FPCLASS 1
22506 _ACEOF
22509 done
22518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22519 $as_echo_n "checking for qfpclass declaration... " >&6; }
22520 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22521 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22522 $as_echo_n "(cached) " >&6
22523 else
22526 ac_ext=cpp
22527 ac_cpp='$CXXCPP $CPPFLAGS'
22528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22533 /* end confdefs.h. */
22534 #include <math.h>
22535 #ifdef HAVE_IEEEFP_H
22536 #include <ieeefp.h>
22537 #endif
22540 main ()
22542 qfpclass(0);
22544 return 0;
22546 _ACEOF
22547 if ac_fn_cxx_try_compile "$LINENO"; then :
22548 glibcxx_cv_func_qfpclass_use=yes
22549 else
22550 glibcxx_cv_func_qfpclass_use=no
22552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22553 ac_ext=c
22554 ac_cpp='$CPP $CPPFLAGS'
22555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22564 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22566 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22567 for ac_func in qfpclass
22568 do :
22569 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22570 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22571 cat >>confdefs.h <<_ACEOF
22572 #define HAVE_QFPCLASS 1
22573 _ACEOF
22576 done
22578 else
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22581 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22582 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22583 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22584 $as_echo_n "(cached) " >&6
22585 else
22588 ac_ext=cpp
22589 ac_cpp='$CXXCPP $CPPFLAGS'
22590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22595 /* end confdefs.h. */
22596 #include <math.h>
22597 #ifdef HAVE_IEEEFP_H
22598 #include <ieeefp.h>
22599 #endif
22602 main ()
22604 _qfpclass(0);
22606 return 0;
22608 _ACEOF
22609 if ac_fn_cxx_try_compile "$LINENO"; then :
22610 glibcxx_cv_func__qfpclass_use=yes
22611 else
22612 glibcxx_cv_func__qfpclass_use=no
22614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22615 ac_ext=c
22616 ac_cpp='$CPP $CPPFLAGS'
22617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22626 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22628 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22629 for ac_func in _qfpclass
22630 do :
22631 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22632 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22633 cat >>confdefs.h <<_ACEOF
22634 #define HAVE__QFPCLASS 1
22635 _ACEOF
22638 done
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22648 $as_echo_n "checking for hypot declaration... " >&6; }
22649 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22650 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22651 $as_echo_n "(cached) " >&6
22652 else
22655 ac_ext=cpp
22656 ac_cpp='$CXXCPP $CPPFLAGS'
22657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22662 /* end confdefs.h. */
22663 #include <math.h>
22665 main ()
22667 hypot(0, 0);
22669 return 0;
22671 _ACEOF
22672 if ac_fn_cxx_try_compile "$LINENO"; then :
22673 glibcxx_cv_func_hypot_use=yes
22674 else
22675 glibcxx_cv_func_hypot_use=no
22677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22678 ac_ext=c
22679 ac_cpp='$CPP $CPPFLAGS'
22680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22689 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22691 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22692 for ac_func in hypot
22693 do :
22694 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22695 if test "x$ac_cv_func_hypot" = x""yes; then :
22696 cat >>confdefs.h <<_ACEOF
22697 #define HAVE_HYPOT 1
22698 _ACEOF
22701 done
22703 else
22705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22706 $as_echo_n "checking for _hypot declaration... " >&6; }
22707 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22708 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22709 $as_echo_n "(cached) " >&6
22710 else
22713 ac_ext=cpp
22714 ac_cpp='$CXXCPP $CPPFLAGS'
22715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22720 /* end confdefs.h. */
22721 #include <math.h>
22723 main ()
22725 _hypot(0, 0);
22727 return 0;
22729 _ACEOF
22730 if ac_fn_cxx_try_compile "$LINENO"; then :
22731 glibcxx_cv_func__hypot_use=yes
22732 else
22733 glibcxx_cv_func__hypot_use=no
22735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22736 ac_ext=c
22737 ac_cpp='$CPP $CPPFLAGS'
22738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22747 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22749 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22750 for ac_func in _hypot
22751 do :
22752 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22753 if test "x$ac_cv_func__hypot" = x""yes; then :
22754 cat >>confdefs.h <<_ACEOF
22755 #define HAVE__HYPOT 1
22756 _ACEOF
22759 done
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22769 $as_echo_n "checking for float trig functions... " >&6; }
22770 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22771 $as_echo_n "(cached) " >&6
22772 else
22775 ac_ext=cpp
22776 ac_cpp='$CXXCPP $CPPFLAGS'
22777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22782 /* end confdefs.h. */
22783 #include <math.h>
22785 main ()
22787 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22789 return 0;
22791 _ACEOF
22792 if ac_fn_cxx_try_compile "$LINENO"; then :
22793 glibcxx_cv_func_float_trig_use=yes
22794 else
22795 glibcxx_cv_func_float_trig_use=no
22797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22798 ac_ext=c
22799 ac_cpp='$CPP $CPPFLAGS'
22800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22807 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22808 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22809 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22810 do :
22811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22813 eval as_val=\$$as_ac_var
22814 if test "x$as_val" = x""yes; then :
22815 cat >>confdefs.h <<_ACEOF
22816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22817 _ACEOF
22820 done
22822 else
22823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22824 $as_echo_n "checking for _float trig functions... " >&6; }
22825 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22826 $as_echo_n "(cached) " >&6
22827 else
22830 ac_ext=cpp
22831 ac_cpp='$CXXCPP $CPPFLAGS'
22832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22837 /* end confdefs.h. */
22838 #include <math.h>
22840 main ()
22842 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22844 return 0;
22846 _ACEOF
22847 if ac_fn_cxx_try_compile "$LINENO"; then :
22848 glibcxx_cv_func__float_trig_use=yes
22849 else
22850 glibcxx_cv_func__float_trig_use=no
22852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22853 ac_ext=c
22854 ac_cpp='$CPP $CPPFLAGS'
22855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22862 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22863 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22864 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22865 do :
22866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22868 eval as_val=\$$as_ac_var
22869 if test "x$as_val" = x""yes; then :
22870 cat >>confdefs.h <<_ACEOF
22871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22872 _ACEOF
22875 done
22884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22885 $as_echo_n "checking for float round functions... " >&6; }
22886 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22887 $as_echo_n "(cached) " >&6
22888 else
22891 ac_ext=cpp
22892 ac_cpp='$CXXCPP $CPPFLAGS'
22893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22898 /* end confdefs.h. */
22899 #include <math.h>
22901 main ()
22903 ceilf (0); floorf (0);
22905 return 0;
22907 _ACEOF
22908 if ac_fn_cxx_try_compile "$LINENO"; then :
22909 glibcxx_cv_func_float_round_use=yes
22910 else
22911 glibcxx_cv_func_float_round_use=no
22913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22914 ac_ext=c
22915 ac_cpp='$CPP $CPPFLAGS'
22916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22923 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22924 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22925 for ac_func in ceilf floorf
22926 do :
22927 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22928 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22929 eval as_val=\$$as_ac_var
22930 if test "x$as_val" = x""yes; then :
22931 cat >>confdefs.h <<_ACEOF
22932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22933 _ACEOF
22936 done
22938 else
22939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22940 $as_echo_n "checking for _float round functions... " >&6; }
22941 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22942 $as_echo_n "(cached) " >&6
22943 else
22946 ac_ext=cpp
22947 ac_cpp='$CXXCPP $CPPFLAGS'
22948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22953 /* end confdefs.h. */
22954 #include <math.h>
22956 main ()
22958 _ceilf (0); _floorf (0);
22960 return 0;
22962 _ACEOF
22963 if ac_fn_cxx_try_compile "$LINENO"; then :
22964 glibcxx_cv_func__float_round_use=yes
22965 else
22966 glibcxx_cv_func__float_round_use=no
22968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22969 ac_ext=c
22970 ac_cpp='$CPP $CPPFLAGS'
22971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22978 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22979 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22980 for ac_func in _ceilf _floorf
22981 do :
22982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22984 eval as_val=\$$as_ac_var
22985 if test "x$as_val" = x""yes; then :
22986 cat >>confdefs.h <<_ACEOF
22987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22988 _ACEOF
22991 done
23001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23002 $as_echo_n "checking for expf declaration... " >&6; }
23003 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23004 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23005 $as_echo_n "(cached) " >&6
23006 else
23009 ac_ext=cpp
23010 ac_cpp='$CXXCPP $CPPFLAGS'
23011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23016 /* end confdefs.h. */
23017 #include <math.h>
23018 #ifdef HAVE_IEEEFP_H
23019 #include <ieeefp.h>
23020 #endif
23023 main ()
23025 expf(0);
23027 return 0;
23029 _ACEOF
23030 if ac_fn_cxx_try_compile "$LINENO"; then :
23031 glibcxx_cv_func_expf_use=yes
23032 else
23033 glibcxx_cv_func_expf_use=no
23035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23036 ac_ext=c
23037 ac_cpp='$CPP $CPPFLAGS'
23038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23047 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23049 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23050 for ac_func in expf
23051 do :
23052 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23053 if test "x$ac_cv_func_expf" = x""yes; then :
23054 cat >>confdefs.h <<_ACEOF
23055 #define HAVE_EXPF 1
23056 _ACEOF
23059 done
23061 else
23063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23064 $as_echo_n "checking for _expf declaration... " >&6; }
23065 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23066 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23067 $as_echo_n "(cached) " >&6
23068 else
23071 ac_ext=cpp
23072 ac_cpp='$CXXCPP $CPPFLAGS'
23073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23078 /* end confdefs.h. */
23079 #include <math.h>
23080 #ifdef HAVE_IEEEFP_H
23081 #include <ieeefp.h>
23082 #endif
23085 main ()
23087 _expf(0);
23089 return 0;
23091 _ACEOF
23092 if ac_fn_cxx_try_compile "$LINENO"; then :
23093 glibcxx_cv_func__expf_use=yes
23094 else
23095 glibcxx_cv_func__expf_use=no
23097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23098 ac_ext=c
23099 ac_cpp='$CPP $CPPFLAGS'
23100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23109 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23111 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23112 for ac_func in _expf
23113 do :
23114 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23115 if test "x$ac_cv_func__expf" = x""yes; then :
23116 cat >>confdefs.h <<_ACEOF
23117 #define HAVE__EXPF 1
23118 _ACEOF
23121 done
23130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23131 $as_echo_n "checking for isnanf declaration... " >&6; }
23132 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23133 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23134 $as_echo_n "(cached) " >&6
23135 else
23138 ac_ext=cpp
23139 ac_cpp='$CXXCPP $CPPFLAGS'
23140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23145 /* end confdefs.h. */
23146 #include <math.h>
23147 #ifdef HAVE_IEEEFP_H
23148 #include <ieeefp.h>
23149 #endif
23152 main ()
23154 isnanf(0);
23156 return 0;
23158 _ACEOF
23159 if ac_fn_cxx_try_compile "$LINENO"; then :
23160 glibcxx_cv_func_isnanf_use=yes
23161 else
23162 glibcxx_cv_func_isnanf_use=no
23164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23165 ac_ext=c
23166 ac_cpp='$CPP $CPPFLAGS'
23167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23176 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23178 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23179 for ac_func in isnanf
23180 do :
23181 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23182 if test "x$ac_cv_func_isnanf" = x""yes; then :
23183 cat >>confdefs.h <<_ACEOF
23184 #define HAVE_ISNANF 1
23185 _ACEOF
23188 done
23190 else
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23193 $as_echo_n "checking for _isnanf declaration... " >&6; }
23194 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23195 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23196 $as_echo_n "(cached) " >&6
23197 else
23200 ac_ext=cpp
23201 ac_cpp='$CXXCPP $CPPFLAGS'
23202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23207 /* end confdefs.h. */
23208 #include <math.h>
23209 #ifdef HAVE_IEEEFP_H
23210 #include <ieeefp.h>
23211 #endif
23214 main ()
23216 _isnanf(0);
23218 return 0;
23220 _ACEOF
23221 if ac_fn_cxx_try_compile "$LINENO"; then :
23222 glibcxx_cv_func__isnanf_use=yes
23223 else
23224 glibcxx_cv_func__isnanf_use=no
23226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23227 ac_ext=c
23228 ac_cpp='$CPP $CPPFLAGS'
23229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23238 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23240 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23241 for ac_func in _isnanf
23242 do :
23243 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23244 if test "x$ac_cv_func__isnanf" = x""yes; then :
23245 cat >>confdefs.h <<_ACEOF
23246 #define HAVE__ISNANF 1
23247 _ACEOF
23250 done
23259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23260 $as_echo_n "checking for isinff declaration... " >&6; }
23261 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23262 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23263 $as_echo_n "(cached) " >&6
23264 else
23267 ac_ext=cpp
23268 ac_cpp='$CXXCPP $CPPFLAGS'
23269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23274 /* end confdefs.h. */
23275 #include <math.h>
23276 #ifdef HAVE_IEEEFP_H
23277 #include <ieeefp.h>
23278 #endif
23281 main ()
23283 isinff(0);
23285 return 0;
23287 _ACEOF
23288 if ac_fn_cxx_try_compile "$LINENO"; then :
23289 glibcxx_cv_func_isinff_use=yes
23290 else
23291 glibcxx_cv_func_isinff_use=no
23293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23294 ac_ext=c
23295 ac_cpp='$CPP $CPPFLAGS'
23296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23305 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23307 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23308 for ac_func in isinff
23309 do :
23310 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23311 if test "x$ac_cv_func_isinff" = x""yes; then :
23312 cat >>confdefs.h <<_ACEOF
23313 #define HAVE_ISINFF 1
23314 _ACEOF
23317 done
23319 else
23321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23322 $as_echo_n "checking for _isinff declaration... " >&6; }
23323 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23324 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23325 $as_echo_n "(cached) " >&6
23326 else
23329 ac_ext=cpp
23330 ac_cpp='$CXXCPP $CPPFLAGS'
23331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23336 /* end confdefs.h. */
23337 #include <math.h>
23338 #ifdef HAVE_IEEEFP_H
23339 #include <ieeefp.h>
23340 #endif
23343 main ()
23345 _isinff(0);
23347 return 0;
23349 _ACEOF
23350 if ac_fn_cxx_try_compile "$LINENO"; then :
23351 glibcxx_cv_func__isinff_use=yes
23352 else
23353 glibcxx_cv_func__isinff_use=no
23355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23356 ac_ext=c
23357 ac_cpp='$CPP $CPPFLAGS'
23358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23367 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23369 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23370 for ac_func in _isinff
23371 do :
23372 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23373 if test "x$ac_cv_func__isinff" = x""yes; then :
23374 cat >>confdefs.h <<_ACEOF
23375 #define HAVE__ISINFF 1
23376 _ACEOF
23379 done
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23389 $as_echo_n "checking for atan2f declaration... " >&6; }
23390 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23391 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23392 $as_echo_n "(cached) " >&6
23393 else
23396 ac_ext=cpp
23397 ac_cpp='$CXXCPP $CPPFLAGS'
23398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23403 /* end confdefs.h. */
23404 #include <math.h>
23406 main ()
23408 atan2f(0, 0);
23410 return 0;
23412 _ACEOF
23413 if ac_fn_cxx_try_compile "$LINENO"; then :
23414 glibcxx_cv_func_atan2f_use=yes
23415 else
23416 glibcxx_cv_func_atan2f_use=no
23418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23419 ac_ext=c
23420 ac_cpp='$CPP $CPPFLAGS'
23421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23430 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23432 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23433 for ac_func in atan2f
23434 do :
23435 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23436 if test "x$ac_cv_func_atan2f" = x""yes; then :
23437 cat >>confdefs.h <<_ACEOF
23438 #define HAVE_ATAN2F 1
23439 _ACEOF
23442 done
23444 else
23446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23447 $as_echo_n "checking for _atan2f declaration... " >&6; }
23448 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23449 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23450 $as_echo_n "(cached) " >&6
23451 else
23454 ac_ext=cpp
23455 ac_cpp='$CXXCPP $CPPFLAGS'
23456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23461 /* end confdefs.h. */
23462 #include <math.h>
23464 main ()
23466 _atan2f(0, 0);
23468 return 0;
23470 _ACEOF
23471 if ac_fn_cxx_try_compile "$LINENO"; then :
23472 glibcxx_cv_func__atan2f_use=yes
23473 else
23474 glibcxx_cv_func__atan2f_use=no
23476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23477 ac_ext=c
23478 ac_cpp='$CPP $CPPFLAGS'
23479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23488 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23490 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23491 for ac_func in _atan2f
23492 do :
23493 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23494 if test "x$ac_cv_func__atan2f" = x""yes; then :
23495 cat >>confdefs.h <<_ACEOF
23496 #define HAVE__ATAN2F 1
23497 _ACEOF
23500 done
23509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23510 $as_echo_n "checking for fabsf declaration... " >&6; }
23511 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23512 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23513 $as_echo_n "(cached) " >&6
23514 else
23517 ac_ext=cpp
23518 ac_cpp='$CXXCPP $CPPFLAGS'
23519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23524 /* end confdefs.h. */
23525 #include <math.h>
23526 #ifdef HAVE_IEEEFP_H
23527 #include <ieeefp.h>
23528 #endif
23531 main ()
23533 fabsf(0);
23535 return 0;
23537 _ACEOF
23538 if ac_fn_cxx_try_compile "$LINENO"; then :
23539 glibcxx_cv_func_fabsf_use=yes
23540 else
23541 glibcxx_cv_func_fabsf_use=no
23543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23544 ac_ext=c
23545 ac_cpp='$CPP $CPPFLAGS'
23546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23555 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23557 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23558 for ac_func in fabsf
23559 do :
23560 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23561 if test "x$ac_cv_func_fabsf" = x""yes; then :
23562 cat >>confdefs.h <<_ACEOF
23563 #define HAVE_FABSF 1
23564 _ACEOF
23567 done
23569 else
23571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23572 $as_echo_n "checking for _fabsf declaration... " >&6; }
23573 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23574 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23575 $as_echo_n "(cached) " >&6
23576 else
23579 ac_ext=cpp
23580 ac_cpp='$CXXCPP $CPPFLAGS'
23581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23586 /* end confdefs.h. */
23587 #include <math.h>
23588 #ifdef HAVE_IEEEFP_H
23589 #include <ieeefp.h>
23590 #endif
23593 main ()
23595 _fabsf(0);
23597 return 0;
23599 _ACEOF
23600 if ac_fn_cxx_try_compile "$LINENO"; then :
23601 glibcxx_cv_func__fabsf_use=yes
23602 else
23603 glibcxx_cv_func__fabsf_use=no
23605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23606 ac_ext=c
23607 ac_cpp='$CPP $CPPFLAGS'
23608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23617 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23619 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23620 for ac_func in _fabsf
23621 do :
23622 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23623 if test "x$ac_cv_func__fabsf" = x""yes; then :
23624 cat >>confdefs.h <<_ACEOF
23625 #define HAVE__FABSF 1
23626 _ACEOF
23629 done
23638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23639 $as_echo_n "checking for fmodf declaration... " >&6; }
23640 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23641 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23642 $as_echo_n "(cached) " >&6
23643 else
23646 ac_ext=cpp
23647 ac_cpp='$CXXCPP $CPPFLAGS'
23648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23653 /* end confdefs.h. */
23654 #include <math.h>
23656 main ()
23658 fmodf(0, 0);
23660 return 0;
23662 _ACEOF
23663 if ac_fn_cxx_try_compile "$LINENO"; then :
23664 glibcxx_cv_func_fmodf_use=yes
23665 else
23666 glibcxx_cv_func_fmodf_use=no
23668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23669 ac_ext=c
23670 ac_cpp='$CPP $CPPFLAGS'
23671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23680 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23682 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23683 for ac_func in fmodf
23684 do :
23685 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23686 if test "x$ac_cv_func_fmodf" = x""yes; then :
23687 cat >>confdefs.h <<_ACEOF
23688 #define HAVE_FMODF 1
23689 _ACEOF
23692 done
23694 else
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23697 $as_echo_n "checking for _fmodf declaration... " >&6; }
23698 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23699 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23700 $as_echo_n "(cached) " >&6
23701 else
23704 ac_ext=cpp
23705 ac_cpp='$CXXCPP $CPPFLAGS'
23706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23711 /* end confdefs.h. */
23712 #include <math.h>
23714 main ()
23716 _fmodf(0, 0);
23718 return 0;
23720 _ACEOF
23721 if ac_fn_cxx_try_compile "$LINENO"; then :
23722 glibcxx_cv_func__fmodf_use=yes
23723 else
23724 glibcxx_cv_func__fmodf_use=no
23726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23727 ac_ext=c
23728 ac_cpp='$CPP $CPPFLAGS'
23729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23738 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23740 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23741 for ac_func in _fmodf
23742 do :
23743 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23744 if test "x$ac_cv_func__fmodf" = x""yes; then :
23745 cat >>confdefs.h <<_ACEOF
23746 #define HAVE__FMODF 1
23747 _ACEOF
23750 done
23759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23760 $as_echo_n "checking for frexpf declaration... " >&6; }
23761 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23762 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23763 $as_echo_n "(cached) " >&6
23764 else
23767 ac_ext=cpp
23768 ac_cpp='$CXXCPP $CPPFLAGS'
23769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23774 /* end confdefs.h. */
23775 #include <math.h>
23777 main ()
23779 frexpf(0, 0);
23781 return 0;
23783 _ACEOF
23784 if ac_fn_cxx_try_compile "$LINENO"; then :
23785 glibcxx_cv_func_frexpf_use=yes
23786 else
23787 glibcxx_cv_func_frexpf_use=no
23789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23790 ac_ext=c
23791 ac_cpp='$CPP $CPPFLAGS'
23792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23801 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23803 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23804 for ac_func in frexpf
23805 do :
23806 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23807 if test "x$ac_cv_func_frexpf" = x""yes; then :
23808 cat >>confdefs.h <<_ACEOF
23809 #define HAVE_FREXPF 1
23810 _ACEOF
23813 done
23815 else
23817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23818 $as_echo_n "checking for _frexpf declaration... " >&6; }
23819 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23820 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23821 $as_echo_n "(cached) " >&6
23822 else
23825 ac_ext=cpp
23826 ac_cpp='$CXXCPP $CPPFLAGS'
23827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23832 /* end confdefs.h. */
23833 #include <math.h>
23835 main ()
23837 _frexpf(0, 0);
23839 return 0;
23841 _ACEOF
23842 if ac_fn_cxx_try_compile "$LINENO"; then :
23843 glibcxx_cv_func__frexpf_use=yes
23844 else
23845 glibcxx_cv_func__frexpf_use=no
23847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23848 ac_ext=c
23849 ac_cpp='$CPP $CPPFLAGS'
23850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23859 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23861 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23862 for ac_func in _frexpf
23863 do :
23864 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23865 if test "x$ac_cv_func__frexpf" = x""yes; then :
23866 cat >>confdefs.h <<_ACEOF
23867 #define HAVE__FREXPF 1
23868 _ACEOF
23871 done
23880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23881 $as_echo_n "checking for hypotf declaration... " >&6; }
23882 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23883 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23884 $as_echo_n "(cached) " >&6
23885 else
23888 ac_ext=cpp
23889 ac_cpp='$CXXCPP $CPPFLAGS'
23890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23895 /* end confdefs.h. */
23896 #include <math.h>
23898 main ()
23900 hypotf(0, 0);
23902 return 0;
23904 _ACEOF
23905 if ac_fn_cxx_try_compile "$LINENO"; then :
23906 glibcxx_cv_func_hypotf_use=yes
23907 else
23908 glibcxx_cv_func_hypotf_use=no
23910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23911 ac_ext=c
23912 ac_cpp='$CPP $CPPFLAGS'
23913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23922 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23924 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23925 for ac_func in hypotf
23926 do :
23927 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23928 if test "x$ac_cv_func_hypotf" = x""yes; then :
23929 cat >>confdefs.h <<_ACEOF
23930 #define HAVE_HYPOTF 1
23931 _ACEOF
23934 done
23936 else
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23939 $as_echo_n "checking for _hypotf declaration... " >&6; }
23940 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23941 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23942 $as_echo_n "(cached) " >&6
23943 else
23946 ac_ext=cpp
23947 ac_cpp='$CXXCPP $CPPFLAGS'
23948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23953 /* end confdefs.h. */
23954 #include <math.h>
23956 main ()
23958 _hypotf(0, 0);
23960 return 0;
23962 _ACEOF
23963 if ac_fn_cxx_try_compile "$LINENO"; then :
23964 glibcxx_cv_func__hypotf_use=yes
23965 else
23966 glibcxx_cv_func__hypotf_use=no
23968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23969 ac_ext=c
23970 ac_cpp='$CPP $CPPFLAGS'
23971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23980 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23982 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23983 for ac_func in _hypotf
23984 do :
23985 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23986 if test "x$ac_cv_func__hypotf" = x""yes; then :
23987 cat >>confdefs.h <<_ACEOF
23988 #define HAVE__HYPOTF 1
23989 _ACEOF
23992 done
24001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24002 $as_echo_n "checking for ldexpf declaration... " >&6; }
24003 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24004 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24005 $as_echo_n "(cached) " >&6
24006 else
24009 ac_ext=cpp
24010 ac_cpp='$CXXCPP $CPPFLAGS'
24011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24016 /* end confdefs.h. */
24017 #include <math.h>
24019 main ()
24021 ldexpf(0, 0);
24023 return 0;
24025 _ACEOF
24026 if ac_fn_cxx_try_compile "$LINENO"; then :
24027 glibcxx_cv_func_ldexpf_use=yes
24028 else
24029 glibcxx_cv_func_ldexpf_use=no
24031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24032 ac_ext=c
24033 ac_cpp='$CPP $CPPFLAGS'
24034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24043 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24045 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24046 for ac_func in ldexpf
24047 do :
24048 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24049 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24050 cat >>confdefs.h <<_ACEOF
24051 #define HAVE_LDEXPF 1
24052 _ACEOF
24055 done
24057 else
24059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24060 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24061 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24062 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24063 $as_echo_n "(cached) " >&6
24064 else
24067 ac_ext=cpp
24068 ac_cpp='$CXXCPP $CPPFLAGS'
24069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24074 /* end confdefs.h. */
24075 #include <math.h>
24077 main ()
24079 _ldexpf(0, 0);
24081 return 0;
24083 _ACEOF
24084 if ac_fn_cxx_try_compile "$LINENO"; then :
24085 glibcxx_cv_func__ldexpf_use=yes
24086 else
24087 glibcxx_cv_func__ldexpf_use=no
24089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24090 ac_ext=c
24091 ac_cpp='$CPP $CPPFLAGS'
24092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24101 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24103 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24104 for ac_func in _ldexpf
24105 do :
24106 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24107 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24108 cat >>confdefs.h <<_ACEOF
24109 #define HAVE__LDEXPF 1
24110 _ACEOF
24113 done
24122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24123 $as_echo_n "checking for logf declaration... " >&6; }
24124 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24125 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24126 $as_echo_n "(cached) " >&6
24127 else
24130 ac_ext=cpp
24131 ac_cpp='$CXXCPP $CPPFLAGS'
24132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24137 /* end confdefs.h. */
24138 #include <math.h>
24139 #ifdef HAVE_IEEEFP_H
24140 #include <ieeefp.h>
24141 #endif
24144 main ()
24146 logf(0);
24148 return 0;
24150 _ACEOF
24151 if ac_fn_cxx_try_compile "$LINENO"; then :
24152 glibcxx_cv_func_logf_use=yes
24153 else
24154 glibcxx_cv_func_logf_use=no
24156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24157 ac_ext=c
24158 ac_cpp='$CPP $CPPFLAGS'
24159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24168 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24170 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24171 for ac_func in logf
24172 do :
24173 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24174 if test "x$ac_cv_func_logf" = x""yes; then :
24175 cat >>confdefs.h <<_ACEOF
24176 #define HAVE_LOGF 1
24177 _ACEOF
24180 done
24182 else
24184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24185 $as_echo_n "checking for _logf declaration... " >&6; }
24186 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24187 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24188 $as_echo_n "(cached) " >&6
24189 else
24192 ac_ext=cpp
24193 ac_cpp='$CXXCPP $CPPFLAGS'
24194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24199 /* end confdefs.h. */
24200 #include <math.h>
24201 #ifdef HAVE_IEEEFP_H
24202 #include <ieeefp.h>
24203 #endif
24206 main ()
24208 _logf(0);
24210 return 0;
24212 _ACEOF
24213 if ac_fn_cxx_try_compile "$LINENO"; then :
24214 glibcxx_cv_func__logf_use=yes
24215 else
24216 glibcxx_cv_func__logf_use=no
24218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24219 ac_ext=c
24220 ac_cpp='$CPP $CPPFLAGS'
24221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24230 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24232 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24233 for ac_func in _logf
24234 do :
24235 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24236 if test "x$ac_cv_func__logf" = x""yes; then :
24237 cat >>confdefs.h <<_ACEOF
24238 #define HAVE__LOGF 1
24239 _ACEOF
24242 done
24251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24252 $as_echo_n "checking for log10f declaration... " >&6; }
24253 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24254 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24255 $as_echo_n "(cached) " >&6
24256 else
24259 ac_ext=cpp
24260 ac_cpp='$CXXCPP $CPPFLAGS'
24261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24266 /* end confdefs.h. */
24267 #include <math.h>
24268 #ifdef HAVE_IEEEFP_H
24269 #include <ieeefp.h>
24270 #endif
24273 main ()
24275 log10f(0);
24277 return 0;
24279 _ACEOF
24280 if ac_fn_cxx_try_compile "$LINENO"; then :
24281 glibcxx_cv_func_log10f_use=yes
24282 else
24283 glibcxx_cv_func_log10f_use=no
24285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24286 ac_ext=c
24287 ac_cpp='$CPP $CPPFLAGS'
24288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24297 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24299 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24300 for ac_func in log10f
24301 do :
24302 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24303 if test "x$ac_cv_func_log10f" = x""yes; then :
24304 cat >>confdefs.h <<_ACEOF
24305 #define HAVE_LOG10F 1
24306 _ACEOF
24309 done
24311 else
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24314 $as_echo_n "checking for _log10f declaration... " >&6; }
24315 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24316 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24317 $as_echo_n "(cached) " >&6
24318 else
24321 ac_ext=cpp
24322 ac_cpp='$CXXCPP $CPPFLAGS'
24323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24328 /* end confdefs.h. */
24329 #include <math.h>
24330 #ifdef HAVE_IEEEFP_H
24331 #include <ieeefp.h>
24332 #endif
24335 main ()
24337 _log10f(0);
24339 return 0;
24341 _ACEOF
24342 if ac_fn_cxx_try_compile "$LINENO"; then :
24343 glibcxx_cv_func__log10f_use=yes
24344 else
24345 glibcxx_cv_func__log10f_use=no
24347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24348 ac_ext=c
24349 ac_cpp='$CPP $CPPFLAGS'
24350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24359 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24361 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24362 for ac_func in _log10f
24363 do :
24364 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24365 if test "x$ac_cv_func__log10f" = x""yes; then :
24366 cat >>confdefs.h <<_ACEOF
24367 #define HAVE__LOG10F 1
24368 _ACEOF
24371 done
24380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24381 $as_echo_n "checking for modff declaration... " >&6; }
24382 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24383 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24384 $as_echo_n "(cached) " >&6
24385 else
24388 ac_ext=cpp
24389 ac_cpp='$CXXCPP $CPPFLAGS'
24390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24395 /* end confdefs.h. */
24396 #include <math.h>
24398 main ()
24400 modff(0, 0);
24402 return 0;
24404 _ACEOF
24405 if ac_fn_cxx_try_compile "$LINENO"; then :
24406 glibcxx_cv_func_modff_use=yes
24407 else
24408 glibcxx_cv_func_modff_use=no
24410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24411 ac_ext=c
24412 ac_cpp='$CPP $CPPFLAGS'
24413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24422 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24424 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24425 for ac_func in modff
24426 do :
24427 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24428 if test "x$ac_cv_func_modff" = x""yes; then :
24429 cat >>confdefs.h <<_ACEOF
24430 #define HAVE_MODFF 1
24431 _ACEOF
24434 done
24436 else
24438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24439 $as_echo_n "checking for _modff declaration... " >&6; }
24440 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24441 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24442 $as_echo_n "(cached) " >&6
24443 else
24446 ac_ext=cpp
24447 ac_cpp='$CXXCPP $CPPFLAGS'
24448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24453 /* end confdefs.h. */
24454 #include <math.h>
24456 main ()
24458 _modff(0, 0);
24460 return 0;
24462 _ACEOF
24463 if ac_fn_cxx_try_compile "$LINENO"; then :
24464 glibcxx_cv_func__modff_use=yes
24465 else
24466 glibcxx_cv_func__modff_use=no
24468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24469 ac_ext=c
24470 ac_cpp='$CPP $CPPFLAGS'
24471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24480 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24482 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24483 for ac_func in _modff
24484 do :
24485 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24486 if test "x$ac_cv_func__modff" = x""yes; then :
24487 cat >>confdefs.h <<_ACEOF
24488 #define HAVE__MODFF 1
24489 _ACEOF
24492 done
24501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24502 $as_echo_n "checking for modf declaration... " >&6; }
24503 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24504 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24505 $as_echo_n "(cached) " >&6
24506 else
24509 ac_ext=cpp
24510 ac_cpp='$CXXCPP $CPPFLAGS'
24511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24516 /* end confdefs.h. */
24517 #include <math.h>
24519 main ()
24521 modf(0, 0);
24523 return 0;
24525 _ACEOF
24526 if ac_fn_cxx_try_compile "$LINENO"; then :
24527 glibcxx_cv_func_modf_use=yes
24528 else
24529 glibcxx_cv_func_modf_use=no
24531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24532 ac_ext=c
24533 ac_cpp='$CPP $CPPFLAGS'
24534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24543 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24545 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24546 for ac_func in modf
24547 do :
24548 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24549 if test "x$ac_cv_func_modf" = x""yes; then :
24550 cat >>confdefs.h <<_ACEOF
24551 #define HAVE_MODF 1
24552 _ACEOF
24555 done
24557 else
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24560 $as_echo_n "checking for _modf declaration... " >&6; }
24561 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24562 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24563 $as_echo_n "(cached) " >&6
24564 else
24567 ac_ext=cpp
24568 ac_cpp='$CXXCPP $CPPFLAGS'
24569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24574 /* end confdefs.h. */
24575 #include <math.h>
24577 main ()
24579 _modf(0, 0);
24581 return 0;
24583 _ACEOF
24584 if ac_fn_cxx_try_compile "$LINENO"; then :
24585 glibcxx_cv_func__modf_use=yes
24586 else
24587 glibcxx_cv_func__modf_use=no
24589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24590 ac_ext=c
24591 ac_cpp='$CPP $CPPFLAGS'
24592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24601 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24603 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24604 for ac_func in _modf
24605 do :
24606 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24607 if test "x$ac_cv_func__modf" = x""yes; then :
24608 cat >>confdefs.h <<_ACEOF
24609 #define HAVE__MODF 1
24610 _ACEOF
24613 done
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24623 $as_echo_n "checking for powf declaration... " >&6; }
24624 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24625 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24626 $as_echo_n "(cached) " >&6
24627 else
24630 ac_ext=cpp
24631 ac_cpp='$CXXCPP $CPPFLAGS'
24632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24637 /* end confdefs.h. */
24638 #include <math.h>
24640 main ()
24642 powf(0, 0);
24644 return 0;
24646 _ACEOF
24647 if ac_fn_cxx_try_compile "$LINENO"; then :
24648 glibcxx_cv_func_powf_use=yes
24649 else
24650 glibcxx_cv_func_powf_use=no
24652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24653 ac_ext=c
24654 ac_cpp='$CPP $CPPFLAGS'
24655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24664 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24666 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24667 for ac_func in powf
24668 do :
24669 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24670 if test "x$ac_cv_func_powf" = x""yes; then :
24671 cat >>confdefs.h <<_ACEOF
24672 #define HAVE_POWF 1
24673 _ACEOF
24676 done
24678 else
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24681 $as_echo_n "checking for _powf declaration... " >&6; }
24682 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24683 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24684 $as_echo_n "(cached) " >&6
24685 else
24688 ac_ext=cpp
24689 ac_cpp='$CXXCPP $CPPFLAGS'
24690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24695 /* end confdefs.h. */
24696 #include <math.h>
24698 main ()
24700 _powf(0, 0);
24702 return 0;
24704 _ACEOF
24705 if ac_fn_cxx_try_compile "$LINENO"; then :
24706 glibcxx_cv_func__powf_use=yes
24707 else
24708 glibcxx_cv_func__powf_use=no
24710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24711 ac_ext=c
24712 ac_cpp='$CPP $CPPFLAGS'
24713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24722 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24724 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24725 for ac_func in _powf
24726 do :
24727 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24728 if test "x$ac_cv_func__powf" = x""yes; then :
24729 cat >>confdefs.h <<_ACEOF
24730 #define HAVE__POWF 1
24731 _ACEOF
24734 done
24743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24744 $as_echo_n "checking for sqrtf declaration... " >&6; }
24745 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24746 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24747 $as_echo_n "(cached) " >&6
24748 else
24751 ac_ext=cpp
24752 ac_cpp='$CXXCPP $CPPFLAGS'
24753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24758 /* end confdefs.h. */
24759 #include <math.h>
24760 #ifdef HAVE_IEEEFP_H
24761 #include <ieeefp.h>
24762 #endif
24765 main ()
24767 sqrtf(0);
24769 return 0;
24771 _ACEOF
24772 if ac_fn_cxx_try_compile "$LINENO"; then :
24773 glibcxx_cv_func_sqrtf_use=yes
24774 else
24775 glibcxx_cv_func_sqrtf_use=no
24777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24778 ac_ext=c
24779 ac_cpp='$CPP $CPPFLAGS'
24780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24789 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24791 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24792 for ac_func in sqrtf
24793 do :
24794 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24795 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24796 cat >>confdefs.h <<_ACEOF
24797 #define HAVE_SQRTF 1
24798 _ACEOF
24801 done
24803 else
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24806 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24807 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24808 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24809 $as_echo_n "(cached) " >&6
24810 else
24813 ac_ext=cpp
24814 ac_cpp='$CXXCPP $CPPFLAGS'
24815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24820 /* end confdefs.h. */
24821 #include <math.h>
24822 #ifdef HAVE_IEEEFP_H
24823 #include <ieeefp.h>
24824 #endif
24827 main ()
24829 _sqrtf(0);
24831 return 0;
24833 _ACEOF
24834 if ac_fn_cxx_try_compile "$LINENO"; then :
24835 glibcxx_cv_func__sqrtf_use=yes
24836 else
24837 glibcxx_cv_func__sqrtf_use=no
24839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24840 ac_ext=c
24841 ac_cpp='$CPP $CPPFLAGS'
24842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24851 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24853 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24854 for ac_func in _sqrtf
24855 do :
24856 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24857 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24858 cat >>confdefs.h <<_ACEOF
24859 #define HAVE__SQRTF 1
24860 _ACEOF
24863 done
24872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24873 $as_echo_n "checking for sincosf declaration... " >&6; }
24874 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24875 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24876 $as_echo_n "(cached) " >&6
24877 else
24880 ac_ext=cpp
24881 ac_cpp='$CXXCPP $CPPFLAGS'
24882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24887 /* end confdefs.h. */
24888 #include <math.h>
24890 main ()
24892 sincosf(0, 0, 0);
24894 return 0;
24896 _ACEOF
24897 if ac_fn_cxx_try_compile "$LINENO"; then :
24898 glibcxx_cv_func_sincosf_use=yes
24899 else
24900 glibcxx_cv_func_sincosf_use=no
24902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24903 ac_ext=c
24904 ac_cpp='$CPP $CPPFLAGS'
24905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24914 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24916 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24917 for ac_func in sincosf
24918 do :
24919 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24920 if test "x$ac_cv_func_sincosf" = x""yes; then :
24921 cat >>confdefs.h <<_ACEOF
24922 #define HAVE_SINCOSF 1
24923 _ACEOF
24926 done
24928 else
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24931 $as_echo_n "checking for _sincosf declaration... " >&6; }
24932 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24933 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24934 $as_echo_n "(cached) " >&6
24935 else
24938 ac_ext=cpp
24939 ac_cpp='$CXXCPP $CPPFLAGS'
24940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24945 /* end confdefs.h. */
24946 #include <math.h>
24948 main ()
24950 _sincosf(0, 0, 0);
24952 return 0;
24954 _ACEOF
24955 if ac_fn_cxx_try_compile "$LINENO"; then :
24956 glibcxx_cv_func__sincosf_use=yes
24957 else
24958 glibcxx_cv_func__sincosf_use=no
24960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24961 ac_ext=c
24962 ac_cpp='$CPP $CPPFLAGS'
24963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24972 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24974 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24975 for ac_func in _sincosf
24976 do :
24977 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24978 if test "x$ac_cv_func__sincosf" = x""yes; then :
24979 cat >>confdefs.h <<_ACEOF
24980 #define HAVE__SINCOSF 1
24981 _ACEOF
24984 done
24993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24994 $as_echo_n "checking for finitef declaration... " >&6; }
24995 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24996 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24997 $as_echo_n "(cached) " >&6
24998 else
25001 ac_ext=cpp
25002 ac_cpp='$CXXCPP $CPPFLAGS'
25003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25008 /* end confdefs.h. */
25009 #include <math.h>
25010 #ifdef HAVE_IEEEFP_H
25011 #include <ieeefp.h>
25012 #endif
25015 main ()
25017 finitef(0);
25019 return 0;
25021 _ACEOF
25022 if ac_fn_cxx_try_compile "$LINENO"; then :
25023 glibcxx_cv_func_finitef_use=yes
25024 else
25025 glibcxx_cv_func_finitef_use=no
25027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25028 ac_ext=c
25029 ac_cpp='$CPP $CPPFLAGS'
25030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25039 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25041 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25042 for ac_func in finitef
25043 do :
25044 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25045 if test "x$ac_cv_func_finitef" = x""yes; then :
25046 cat >>confdefs.h <<_ACEOF
25047 #define HAVE_FINITEF 1
25048 _ACEOF
25051 done
25053 else
25055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25056 $as_echo_n "checking for _finitef declaration... " >&6; }
25057 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25058 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25059 $as_echo_n "(cached) " >&6
25060 else
25063 ac_ext=cpp
25064 ac_cpp='$CXXCPP $CPPFLAGS'
25065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25070 /* end confdefs.h. */
25071 #include <math.h>
25072 #ifdef HAVE_IEEEFP_H
25073 #include <ieeefp.h>
25074 #endif
25077 main ()
25079 _finitef(0);
25081 return 0;
25083 _ACEOF
25084 if ac_fn_cxx_try_compile "$LINENO"; then :
25085 glibcxx_cv_func__finitef_use=yes
25086 else
25087 glibcxx_cv_func__finitef_use=no
25089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25090 ac_ext=c
25091 ac_cpp='$CPP $CPPFLAGS'
25092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25101 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25103 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25104 for ac_func in _finitef
25105 do :
25106 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25107 if test "x$ac_cv_func__finitef" = x""yes; then :
25108 cat >>confdefs.h <<_ACEOF
25109 #define HAVE__FINITEF 1
25110 _ACEOF
25113 done
25122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25123 $as_echo_n "checking for long double trig functions... " >&6; }
25124 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25125 $as_echo_n "(cached) " >&6
25126 else
25129 ac_ext=cpp
25130 ac_cpp='$CXXCPP $CPPFLAGS'
25131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25136 /* end confdefs.h. */
25137 #include <math.h>
25139 main ()
25141 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25143 return 0;
25145 _ACEOF
25146 if ac_fn_cxx_try_compile "$LINENO"; then :
25147 glibcxx_cv_func_long_double_trig_use=yes
25148 else
25149 glibcxx_cv_func_long_double_trig_use=no
25151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25152 ac_ext=c
25153 ac_cpp='$CPP $CPPFLAGS'
25154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25161 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25162 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25163 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25164 do :
25165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25167 eval as_val=\$$as_ac_var
25168 if test "x$as_val" = x""yes; then :
25169 cat >>confdefs.h <<_ACEOF
25170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25171 _ACEOF
25174 done
25176 else
25177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25178 $as_echo_n "checking for _long double trig functions... " >&6; }
25179 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25180 $as_echo_n "(cached) " >&6
25181 else
25184 ac_ext=cpp
25185 ac_cpp='$CXXCPP $CPPFLAGS'
25186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25191 /* end confdefs.h. */
25192 #include <math.h>
25194 main ()
25196 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25198 return 0;
25200 _ACEOF
25201 if ac_fn_cxx_try_compile "$LINENO"; then :
25202 glibcxx_cv_func__long_double_trig_use=yes
25203 else
25204 glibcxx_cv_func__long_double_trig_use=no
25206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25207 ac_ext=c
25208 ac_cpp='$CPP $CPPFLAGS'
25209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25216 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25217 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25218 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25219 do :
25220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25222 eval as_val=\$$as_ac_var
25223 if test "x$as_val" = x""yes; then :
25224 cat >>confdefs.h <<_ACEOF
25225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25226 _ACEOF
25229 done
25238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25239 $as_echo_n "checking for long double round functions... " >&6; }
25240 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25241 $as_echo_n "(cached) " >&6
25242 else
25245 ac_ext=cpp
25246 ac_cpp='$CXXCPP $CPPFLAGS'
25247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25252 /* end confdefs.h. */
25253 #include <math.h>
25255 main ()
25257 ceill (0); floorl (0);
25259 return 0;
25261 _ACEOF
25262 if ac_fn_cxx_try_compile "$LINENO"; then :
25263 glibcxx_cv_func_long_double_round_use=yes
25264 else
25265 glibcxx_cv_func_long_double_round_use=no
25267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25268 ac_ext=c
25269 ac_cpp='$CPP $CPPFLAGS'
25270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25277 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25278 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25279 for ac_func in ceill floorl
25280 do :
25281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25283 eval as_val=\$$as_ac_var
25284 if test "x$as_val" = x""yes; then :
25285 cat >>confdefs.h <<_ACEOF
25286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25287 _ACEOF
25290 done
25292 else
25293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25294 $as_echo_n "checking for _long double round functions... " >&6; }
25295 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25296 $as_echo_n "(cached) " >&6
25297 else
25300 ac_ext=cpp
25301 ac_cpp='$CXXCPP $CPPFLAGS'
25302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25307 /* end confdefs.h. */
25308 #include <math.h>
25310 main ()
25312 _ceill (0); _floorl (0);
25314 return 0;
25316 _ACEOF
25317 if ac_fn_cxx_try_compile "$LINENO"; then :
25318 glibcxx_cv_func__long_double_round_use=yes
25319 else
25320 glibcxx_cv_func__long_double_round_use=no
25322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25323 ac_ext=c
25324 ac_cpp='$CPP $CPPFLAGS'
25325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25332 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25333 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25334 for ac_func in _ceill _floorl
25335 do :
25336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25338 eval as_val=\$$as_ac_var
25339 if test "x$as_val" = x""yes; then :
25340 cat >>confdefs.h <<_ACEOF
25341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25342 _ACEOF
25345 done
25355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25356 $as_echo_n "checking for isnanl declaration... " >&6; }
25357 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25358 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25359 $as_echo_n "(cached) " >&6
25360 else
25363 ac_ext=cpp
25364 ac_cpp='$CXXCPP $CPPFLAGS'
25365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25370 /* end confdefs.h. */
25371 #include <math.h>
25372 #ifdef HAVE_IEEEFP_H
25373 #include <ieeefp.h>
25374 #endif
25377 main ()
25379 isnanl(0);
25381 return 0;
25383 _ACEOF
25384 if ac_fn_cxx_try_compile "$LINENO"; then :
25385 glibcxx_cv_func_isnanl_use=yes
25386 else
25387 glibcxx_cv_func_isnanl_use=no
25389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25390 ac_ext=c
25391 ac_cpp='$CPP $CPPFLAGS'
25392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25401 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25403 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25404 for ac_func in isnanl
25405 do :
25406 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25407 if test "x$ac_cv_func_isnanl" = x""yes; then :
25408 cat >>confdefs.h <<_ACEOF
25409 #define HAVE_ISNANL 1
25410 _ACEOF
25413 done
25415 else
25417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25418 $as_echo_n "checking for _isnanl declaration... " >&6; }
25419 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25420 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25421 $as_echo_n "(cached) " >&6
25422 else
25425 ac_ext=cpp
25426 ac_cpp='$CXXCPP $CPPFLAGS'
25427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25432 /* end confdefs.h. */
25433 #include <math.h>
25434 #ifdef HAVE_IEEEFP_H
25435 #include <ieeefp.h>
25436 #endif
25439 main ()
25441 _isnanl(0);
25443 return 0;
25445 _ACEOF
25446 if ac_fn_cxx_try_compile "$LINENO"; then :
25447 glibcxx_cv_func__isnanl_use=yes
25448 else
25449 glibcxx_cv_func__isnanl_use=no
25451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25452 ac_ext=c
25453 ac_cpp='$CPP $CPPFLAGS'
25454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25463 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25465 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25466 for ac_func in _isnanl
25467 do :
25468 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25469 if test "x$ac_cv_func__isnanl" = x""yes; then :
25470 cat >>confdefs.h <<_ACEOF
25471 #define HAVE__ISNANL 1
25472 _ACEOF
25475 done
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25485 $as_echo_n "checking for isinfl declaration... " >&6; }
25486 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25487 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25488 $as_echo_n "(cached) " >&6
25489 else
25492 ac_ext=cpp
25493 ac_cpp='$CXXCPP $CPPFLAGS'
25494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25499 /* end confdefs.h. */
25500 #include <math.h>
25501 #ifdef HAVE_IEEEFP_H
25502 #include <ieeefp.h>
25503 #endif
25506 main ()
25508 isinfl(0);
25510 return 0;
25512 _ACEOF
25513 if ac_fn_cxx_try_compile "$LINENO"; then :
25514 glibcxx_cv_func_isinfl_use=yes
25515 else
25516 glibcxx_cv_func_isinfl_use=no
25518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25519 ac_ext=c
25520 ac_cpp='$CPP $CPPFLAGS'
25521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25530 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25532 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25533 for ac_func in isinfl
25534 do :
25535 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25536 if test "x$ac_cv_func_isinfl" = x""yes; then :
25537 cat >>confdefs.h <<_ACEOF
25538 #define HAVE_ISINFL 1
25539 _ACEOF
25542 done
25544 else
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25547 $as_echo_n "checking for _isinfl declaration... " >&6; }
25548 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25549 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25550 $as_echo_n "(cached) " >&6
25551 else
25554 ac_ext=cpp
25555 ac_cpp='$CXXCPP $CPPFLAGS'
25556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25561 /* end confdefs.h. */
25562 #include <math.h>
25563 #ifdef HAVE_IEEEFP_H
25564 #include <ieeefp.h>
25565 #endif
25568 main ()
25570 _isinfl(0);
25572 return 0;
25574 _ACEOF
25575 if ac_fn_cxx_try_compile "$LINENO"; then :
25576 glibcxx_cv_func__isinfl_use=yes
25577 else
25578 glibcxx_cv_func__isinfl_use=no
25580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25581 ac_ext=c
25582 ac_cpp='$CPP $CPPFLAGS'
25583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25592 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25594 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25595 for ac_func in _isinfl
25596 do :
25597 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25598 if test "x$ac_cv_func__isinfl" = x""yes; then :
25599 cat >>confdefs.h <<_ACEOF
25600 #define HAVE__ISINFL 1
25601 _ACEOF
25604 done
25613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25614 $as_echo_n "checking for atan2l declaration... " >&6; }
25615 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25616 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25617 $as_echo_n "(cached) " >&6
25618 else
25621 ac_ext=cpp
25622 ac_cpp='$CXXCPP $CPPFLAGS'
25623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25628 /* end confdefs.h. */
25629 #include <math.h>
25631 main ()
25633 atan2l(0, 0);
25635 return 0;
25637 _ACEOF
25638 if ac_fn_cxx_try_compile "$LINENO"; then :
25639 glibcxx_cv_func_atan2l_use=yes
25640 else
25641 glibcxx_cv_func_atan2l_use=no
25643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25644 ac_ext=c
25645 ac_cpp='$CPP $CPPFLAGS'
25646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25655 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25657 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25658 for ac_func in atan2l
25659 do :
25660 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25661 if test "x$ac_cv_func_atan2l" = x""yes; then :
25662 cat >>confdefs.h <<_ACEOF
25663 #define HAVE_ATAN2L 1
25664 _ACEOF
25667 done
25669 else
25671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25672 $as_echo_n "checking for _atan2l declaration... " >&6; }
25673 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25674 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25675 $as_echo_n "(cached) " >&6
25676 else
25679 ac_ext=cpp
25680 ac_cpp='$CXXCPP $CPPFLAGS'
25681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25686 /* end confdefs.h. */
25687 #include <math.h>
25689 main ()
25691 _atan2l(0, 0);
25693 return 0;
25695 _ACEOF
25696 if ac_fn_cxx_try_compile "$LINENO"; then :
25697 glibcxx_cv_func__atan2l_use=yes
25698 else
25699 glibcxx_cv_func__atan2l_use=no
25701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25702 ac_ext=c
25703 ac_cpp='$CPP $CPPFLAGS'
25704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25713 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25715 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25716 for ac_func in _atan2l
25717 do :
25718 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25719 if test "x$ac_cv_func__atan2l" = x""yes; then :
25720 cat >>confdefs.h <<_ACEOF
25721 #define HAVE__ATAN2L 1
25722 _ACEOF
25725 done
25734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25735 $as_echo_n "checking for expl declaration... " >&6; }
25736 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25737 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25738 $as_echo_n "(cached) " >&6
25739 else
25742 ac_ext=cpp
25743 ac_cpp='$CXXCPP $CPPFLAGS'
25744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25749 /* end confdefs.h. */
25750 #include <math.h>
25751 #ifdef HAVE_IEEEFP_H
25752 #include <ieeefp.h>
25753 #endif
25756 main ()
25758 expl(0);
25760 return 0;
25762 _ACEOF
25763 if ac_fn_cxx_try_compile "$LINENO"; then :
25764 glibcxx_cv_func_expl_use=yes
25765 else
25766 glibcxx_cv_func_expl_use=no
25768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25769 ac_ext=c
25770 ac_cpp='$CPP $CPPFLAGS'
25771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25780 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25782 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25783 for ac_func in expl
25784 do :
25785 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25786 if test "x$ac_cv_func_expl" = x""yes; then :
25787 cat >>confdefs.h <<_ACEOF
25788 #define HAVE_EXPL 1
25789 _ACEOF
25792 done
25794 else
25796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25797 $as_echo_n "checking for _expl declaration... " >&6; }
25798 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25799 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25800 $as_echo_n "(cached) " >&6
25801 else
25804 ac_ext=cpp
25805 ac_cpp='$CXXCPP $CPPFLAGS'
25806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25811 /* end confdefs.h. */
25812 #include <math.h>
25813 #ifdef HAVE_IEEEFP_H
25814 #include <ieeefp.h>
25815 #endif
25818 main ()
25820 _expl(0);
25822 return 0;
25824 _ACEOF
25825 if ac_fn_cxx_try_compile "$LINENO"; then :
25826 glibcxx_cv_func__expl_use=yes
25827 else
25828 glibcxx_cv_func__expl_use=no
25830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25831 ac_ext=c
25832 ac_cpp='$CPP $CPPFLAGS'
25833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25842 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25844 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25845 for ac_func in _expl
25846 do :
25847 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25848 if test "x$ac_cv_func__expl" = x""yes; then :
25849 cat >>confdefs.h <<_ACEOF
25850 #define HAVE__EXPL 1
25851 _ACEOF
25854 done
25863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25864 $as_echo_n "checking for fabsl declaration... " >&6; }
25865 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25866 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25867 $as_echo_n "(cached) " >&6
25868 else
25871 ac_ext=cpp
25872 ac_cpp='$CXXCPP $CPPFLAGS'
25873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25878 /* end confdefs.h. */
25879 #include <math.h>
25880 #ifdef HAVE_IEEEFP_H
25881 #include <ieeefp.h>
25882 #endif
25885 main ()
25887 fabsl(0);
25889 return 0;
25891 _ACEOF
25892 if ac_fn_cxx_try_compile "$LINENO"; then :
25893 glibcxx_cv_func_fabsl_use=yes
25894 else
25895 glibcxx_cv_func_fabsl_use=no
25897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25898 ac_ext=c
25899 ac_cpp='$CPP $CPPFLAGS'
25900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25909 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25911 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25912 for ac_func in fabsl
25913 do :
25914 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25915 if test "x$ac_cv_func_fabsl" = x""yes; then :
25916 cat >>confdefs.h <<_ACEOF
25917 #define HAVE_FABSL 1
25918 _ACEOF
25921 done
25923 else
25925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25926 $as_echo_n "checking for _fabsl declaration... " >&6; }
25927 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25928 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25929 $as_echo_n "(cached) " >&6
25930 else
25933 ac_ext=cpp
25934 ac_cpp='$CXXCPP $CPPFLAGS'
25935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25940 /* end confdefs.h. */
25941 #include <math.h>
25942 #ifdef HAVE_IEEEFP_H
25943 #include <ieeefp.h>
25944 #endif
25947 main ()
25949 _fabsl(0);
25951 return 0;
25953 _ACEOF
25954 if ac_fn_cxx_try_compile "$LINENO"; then :
25955 glibcxx_cv_func__fabsl_use=yes
25956 else
25957 glibcxx_cv_func__fabsl_use=no
25959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25960 ac_ext=c
25961 ac_cpp='$CPP $CPPFLAGS'
25962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25971 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25973 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25974 for ac_func in _fabsl
25975 do :
25976 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25977 if test "x$ac_cv_func__fabsl" = x""yes; then :
25978 cat >>confdefs.h <<_ACEOF
25979 #define HAVE__FABSL 1
25980 _ACEOF
25983 done
25992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25993 $as_echo_n "checking for fmodl declaration... " >&6; }
25994 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25995 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25996 $as_echo_n "(cached) " >&6
25997 else
26000 ac_ext=cpp
26001 ac_cpp='$CXXCPP $CPPFLAGS'
26002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26007 /* end confdefs.h. */
26008 #include <math.h>
26010 main ()
26012 fmodl(0, 0);
26014 return 0;
26016 _ACEOF
26017 if ac_fn_cxx_try_compile "$LINENO"; then :
26018 glibcxx_cv_func_fmodl_use=yes
26019 else
26020 glibcxx_cv_func_fmodl_use=no
26022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26023 ac_ext=c
26024 ac_cpp='$CPP $CPPFLAGS'
26025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26034 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26036 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26037 for ac_func in fmodl
26038 do :
26039 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26040 if test "x$ac_cv_func_fmodl" = x""yes; then :
26041 cat >>confdefs.h <<_ACEOF
26042 #define HAVE_FMODL 1
26043 _ACEOF
26046 done
26048 else
26050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26051 $as_echo_n "checking for _fmodl declaration... " >&6; }
26052 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26053 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26054 $as_echo_n "(cached) " >&6
26055 else
26058 ac_ext=cpp
26059 ac_cpp='$CXXCPP $CPPFLAGS'
26060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26065 /* end confdefs.h. */
26066 #include <math.h>
26068 main ()
26070 _fmodl(0, 0);
26072 return 0;
26074 _ACEOF
26075 if ac_fn_cxx_try_compile "$LINENO"; then :
26076 glibcxx_cv_func__fmodl_use=yes
26077 else
26078 glibcxx_cv_func__fmodl_use=no
26080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26081 ac_ext=c
26082 ac_cpp='$CPP $CPPFLAGS'
26083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26092 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26094 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26095 for ac_func in _fmodl
26096 do :
26097 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26098 if test "x$ac_cv_func__fmodl" = x""yes; then :
26099 cat >>confdefs.h <<_ACEOF
26100 #define HAVE__FMODL 1
26101 _ACEOF
26104 done
26113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26114 $as_echo_n "checking for frexpl declaration... " >&6; }
26115 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26116 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26117 $as_echo_n "(cached) " >&6
26118 else
26121 ac_ext=cpp
26122 ac_cpp='$CXXCPP $CPPFLAGS'
26123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26128 /* end confdefs.h. */
26129 #include <math.h>
26131 main ()
26133 frexpl(0, 0);
26135 return 0;
26137 _ACEOF
26138 if ac_fn_cxx_try_compile "$LINENO"; then :
26139 glibcxx_cv_func_frexpl_use=yes
26140 else
26141 glibcxx_cv_func_frexpl_use=no
26143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26144 ac_ext=c
26145 ac_cpp='$CPP $CPPFLAGS'
26146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26155 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26157 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26158 for ac_func in frexpl
26159 do :
26160 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26161 if test "x$ac_cv_func_frexpl" = x""yes; then :
26162 cat >>confdefs.h <<_ACEOF
26163 #define HAVE_FREXPL 1
26164 _ACEOF
26167 done
26169 else
26171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26172 $as_echo_n "checking for _frexpl declaration... " >&6; }
26173 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26174 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26175 $as_echo_n "(cached) " >&6
26176 else
26179 ac_ext=cpp
26180 ac_cpp='$CXXCPP $CPPFLAGS'
26181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26186 /* end confdefs.h. */
26187 #include <math.h>
26189 main ()
26191 _frexpl(0, 0);
26193 return 0;
26195 _ACEOF
26196 if ac_fn_cxx_try_compile "$LINENO"; then :
26197 glibcxx_cv_func__frexpl_use=yes
26198 else
26199 glibcxx_cv_func__frexpl_use=no
26201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26202 ac_ext=c
26203 ac_cpp='$CPP $CPPFLAGS'
26204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26213 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26215 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26216 for ac_func in _frexpl
26217 do :
26218 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26219 if test "x$ac_cv_func__frexpl" = x""yes; then :
26220 cat >>confdefs.h <<_ACEOF
26221 #define HAVE__FREXPL 1
26222 _ACEOF
26225 done
26234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26235 $as_echo_n "checking for hypotl declaration... " >&6; }
26236 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26237 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26238 $as_echo_n "(cached) " >&6
26239 else
26242 ac_ext=cpp
26243 ac_cpp='$CXXCPP $CPPFLAGS'
26244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26249 /* end confdefs.h. */
26250 #include <math.h>
26252 main ()
26254 hypotl(0, 0);
26256 return 0;
26258 _ACEOF
26259 if ac_fn_cxx_try_compile "$LINENO"; then :
26260 glibcxx_cv_func_hypotl_use=yes
26261 else
26262 glibcxx_cv_func_hypotl_use=no
26264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26265 ac_ext=c
26266 ac_cpp='$CPP $CPPFLAGS'
26267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26276 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26278 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26279 for ac_func in hypotl
26280 do :
26281 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26282 if test "x$ac_cv_func_hypotl" = x""yes; then :
26283 cat >>confdefs.h <<_ACEOF
26284 #define HAVE_HYPOTL 1
26285 _ACEOF
26288 done
26290 else
26292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26293 $as_echo_n "checking for _hypotl declaration... " >&6; }
26294 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26295 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26296 $as_echo_n "(cached) " >&6
26297 else
26300 ac_ext=cpp
26301 ac_cpp='$CXXCPP $CPPFLAGS'
26302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26307 /* end confdefs.h. */
26308 #include <math.h>
26310 main ()
26312 _hypotl(0, 0);
26314 return 0;
26316 _ACEOF
26317 if ac_fn_cxx_try_compile "$LINENO"; then :
26318 glibcxx_cv_func__hypotl_use=yes
26319 else
26320 glibcxx_cv_func__hypotl_use=no
26322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26323 ac_ext=c
26324 ac_cpp='$CPP $CPPFLAGS'
26325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26334 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26336 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26337 for ac_func in _hypotl
26338 do :
26339 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26340 if test "x$ac_cv_func__hypotl" = x""yes; then :
26341 cat >>confdefs.h <<_ACEOF
26342 #define HAVE__HYPOTL 1
26343 _ACEOF
26346 done
26355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26356 $as_echo_n "checking for ldexpl declaration... " >&6; }
26357 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26358 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26359 $as_echo_n "(cached) " >&6
26360 else
26363 ac_ext=cpp
26364 ac_cpp='$CXXCPP $CPPFLAGS'
26365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26370 /* end confdefs.h. */
26371 #include <math.h>
26373 main ()
26375 ldexpl(0, 0);
26377 return 0;
26379 _ACEOF
26380 if ac_fn_cxx_try_compile "$LINENO"; then :
26381 glibcxx_cv_func_ldexpl_use=yes
26382 else
26383 glibcxx_cv_func_ldexpl_use=no
26385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26386 ac_ext=c
26387 ac_cpp='$CPP $CPPFLAGS'
26388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26397 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26399 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26400 for ac_func in ldexpl
26401 do :
26402 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26403 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26404 cat >>confdefs.h <<_ACEOF
26405 #define HAVE_LDEXPL 1
26406 _ACEOF
26409 done
26411 else
26413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26414 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26415 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26416 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26417 $as_echo_n "(cached) " >&6
26418 else
26421 ac_ext=cpp
26422 ac_cpp='$CXXCPP $CPPFLAGS'
26423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26428 /* end confdefs.h. */
26429 #include <math.h>
26431 main ()
26433 _ldexpl(0, 0);
26435 return 0;
26437 _ACEOF
26438 if ac_fn_cxx_try_compile "$LINENO"; then :
26439 glibcxx_cv_func__ldexpl_use=yes
26440 else
26441 glibcxx_cv_func__ldexpl_use=no
26443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26444 ac_ext=c
26445 ac_cpp='$CPP $CPPFLAGS'
26446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26455 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26457 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26458 for ac_func in _ldexpl
26459 do :
26460 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26461 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26462 cat >>confdefs.h <<_ACEOF
26463 #define HAVE__LDEXPL 1
26464 _ACEOF
26467 done
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26477 $as_echo_n "checking for logl declaration... " >&6; }
26478 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26479 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26480 $as_echo_n "(cached) " >&6
26481 else
26484 ac_ext=cpp
26485 ac_cpp='$CXXCPP $CPPFLAGS'
26486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26491 /* end confdefs.h. */
26492 #include <math.h>
26493 #ifdef HAVE_IEEEFP_H
26494 #include <ieeefp.h>
26495 #endif
26498 main ()
26500 logl(0);
26502 return 0;
26504 _ACEOF
26505 if ac_fn_cxx_try_compile "$LINENO"; then :
26506 glibcxx_cv_func_logl_use=yes
26507 else
26508 glibcxx_cv_func_logl_use=no
26510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26511 ac_ext=c
26512 ac_cpp='$CPP $CPPFLAGS'
26513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26522 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26524 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26525 for ac_func in logl
26526 do :
26527 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26528 if test "x$ac_cv_func_logl" = x""yes; then :
26529 cat >>confdefs.h <<_ACEOF
26530 #define HAVE_LOGL 1
26531 _ACEOF
26534 done
26536 else
26538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26539 $as_echo_n "checking for _logl declaration... " >&6; }
26540 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26541 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26542 $as_echo_n "(cached) " >&6
26543 else
26546 ac_ext=cpp
26547 ac_cpp='$CXXCPP $CPPFLAGS'
26548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26553 /* end confdefs.h. */
26554 #include <math.h>
26555 #ifdef HAVE_IEEEFP_H
26556 #include <ieeefp.h>
26557 #endif
26560 main ()
26562 _logl(0);
26564 return 0;
26566 _ACEOF
26567 if ac_fn_cxx_try_compile "$LINENO"; then :
26568 glibcxx_cv_func__logl_use=yes
26569 else
26570 glibcxx_cv_func__logl_use=no
26572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26573 ac_ext=c
26574 ac_cpp='$CPP $CPPFLAGS'
26575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26584 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26586 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26587 for ac_func in _logl
26588 do :
26589 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26590 if test "x$ac_cv_func__logl" = x""yes; then :
26591 cat >>confdefs.h <<_ACEOF
26592 #define HAVE__LOGL 1
26593 _ACEOF
26596 done
26605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26606 $as_echo_n "checking for log10l declaration... " >&6; }
26607 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26608 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26609 $as_echo_n "(cached) " >&6
26610 else
26613 ac_ext=cpp
26614 ac_cpp='$CXXCPP $CPPFLAGS'
26615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26620 /* end confdefs.h. */
26621 #include <math.h>
26622 #ifdef HAVE_IEEEFP_H
26623 #include <ieeefp.h>
26624 #endif
26627 main ()
26629 log10l(0);
26631 return 0;
26633 _ACEOF
26634 if ac_fn_cxx_try_compile "$LINENO"; then :
26635 glibcxx_cv_func_log10l_use=yes
26636 else
26637 glibcxx_cv_func_log10l_use=no
26639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26640 ac_ext=c
26641 ac_cpp='$CPP $CPPFLAGS'
26642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26651 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26653 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26654 for ac_func in log10l
26655 do :
26656 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26657 if test "x$ac_cv_func_log10l" = x""yes; then :
26658 cat >>confdefs.h <<_ACEOF
26659 #define HAVE_LOG10L 1
26660 _ACEOF
26663 done
26665 else
26667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26668 $as_echo_n "checking for _log10l declaration... " >&6; }
26669 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26670 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26671 $as_echo_n "(cached) " >&6
26672 else
26675 ac_ext=cpp
26676 ac_cpp='$CXXCPP $CPPFLAGS'
26677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26682 /* end confdefs.h. */
26683 #include <math.h>
26684 #ifdef HAVE_IEEEFP_H
26685 #include <ieeefp.h>
26686 #endif
26689 main ()
26691 _log10l(0);
26693 return 0;
26695 _ACEOF
26696 if ac_fn_cxx_try_compile "$LINENO"; then :
26697 glibcxx_cv_func__log10l_use=yes
26698 else
26699 glibcxx_cv_func__log10l_use=no
26701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26702 ac_ext=c
26703 ac_cpp='$CPP $CPPFLAGS'
26704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26713 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26715 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26716 for ac_func in _log10l
26717 do :
26718 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26719 if test "x$ac_cv_func__log10l" = x""yes; then :
26720 cat >>confdefs.h <<_ACEOF
26721 #define HAVE__LOG10L 1
26722 _ACEOF
26725 done
26734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26735 $as_echo_n "checking for modfl declaration... " >&6; }
26736 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26737 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26738 $as_echo_n "(cached) " >&6
26739 else
26742 ac_ext=cpp
26743 ac_cpp='$CXXCPP $CPPFLAGS'
26744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26749 /* end confdefs.h. */
26750 #include <math.h>
26752 main ()
26754 modfl(0, 0);
26756 return 0;
26758 _ACEOF
26759 if ac_fn_cxx_try_compile "$LINENO"; then :
26760 glibcxx_cv_func_modfl_use=yes
26761 else
26762 glibcxx_cv_func_modfl_use=no
26764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26765 ac_ext=c
26766 ac_cpp='$CPP $CPPFLAGS'
26767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26776 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26778 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26779 for ac_func in modfl
26780 do :
26781 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26782 if test "x$ac_cv_func_modfl" = x""yes; then :
26783 cat >>confdefs.h <<_ACEOF
26784 #define HAVE_MODFL 1
26785 _ACEOF
26788 done
26790 else
26792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26793 $as_echo_n "checking for _modfl declaration... " >&6; }
26794 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26795 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26796 $as_echo_n "(cached) " >&6
26797 else
26800 ac_ext=cpp
26801 ac_cpp='$CXXCPP $CPPFLAGS'
26802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26807 /* end confdefs.h. */
26808 #include <math.h>
26810 main ()
26812 _modfl(0, 0);
26814 return 0;
26816 _ACEOF
26817 if ac_fn_cxx_try_compile "$LINENO"; then :
26818 glibcxx_cv_func__modfl_use=yes
26819 else
26820 glibcxx_cv_func__modfl_use=no
26822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26823 ac_ext=c
26824 ac_cpp='$CPP $CPPFLAGS'
26825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26834 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26836 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26837 for ac_func in _modfl
26838 do :
26839 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26840 if test "x$ac_cv_func__modfl" = x""yes; then :
26841 cat >>confdefs.h <<_ACEOF
26842 #define HAVE__MODFL 1
26843 _ACEOF
26846 done
26855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26856 $as_echo_n "checking for powl declaration... " >&6; }
26857 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26858 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26859 $as_echo_n "(cached) " >&6
26860 else
26863 ac_ext=cpp
26864 ac_cpp='$CXXCPP $CPPFLAGS'
26865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26870 /* end confdefs.h. */
26871 #include <math.h>
26873 main ()
26875 powl(0, 0);
26877 return 0;
26879 _ACEOF
26880 if ac_fn_cxx_try_compile "$LINENO"; then :
26881 glibcxx_cv_func_powl_use=yes
26882 else
26883 glibcxx_cv_func_powl_use=no
26885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26886 ac_ext=c
26887 ac_cpp='$CPP $CPPFLAGS'
26888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26897 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26899 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26900 for ac_func in powl
26901 do :
26902 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26903 if test "x$ac_cv_func_powl" = x""yes; then :
26904 cat >>confdefs.h <<_ACEOF
26905 #define HAVE_POWL 1
26906 _ACEOF
26909 done
26911 else
26913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26914 $as_echo_n "checking for _powl declaration... " >&6; }
26915 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26916 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26917 $as_echo_n "(cached) " >&6
26918 else
26921 ac_ext=cpp
26922 ac_cpp='$CXXCPP $CPPFLAGS'
26923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26928 /* end confdefs.h. */
26929 #include <math.h>
26931 main ()
26933 _powl(0, 0);
26935 return 0;
26937 _ACEOF
26938 if ac_fn_cxx_try_compile "$LINENO"; then :
26939 glibcxx_cv_func__powl_use=yes
26940 else
26941 glibcxx_cv_func__powl_use=no
26943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26944 ac_ext=c
26945 ac_cpp='$CPP $CPPFLAGS'
26946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26955 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26957 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26958 for ac_func in _powl
26959 do :
26960 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26961 if test "x$ac_cv_func__powl" = x""yes; then :
26962 cat >>confdefs.h <<_ACEOF
26963 #define HAVE__POWL 1
26964 _ACEOF
26967 done
26976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26977 $as_echo_n "checking for sqrtl declaration... " >&6; }
26978 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26979 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26980 $as_echo_n "(cached) " >&6
26981 else
26984 ac_ext=cpp
26985 ac_cpp='$CXXCPP $CPPFLAGS'
26986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26991 /* end confdefs.h. */
26992 #include <math.h>
26993 #ifdef HAVE_IEEEFP_H
26994 #include <ieeefp.h>
26995 #endif
26998 main ()
27000 sqrtl(0);
27002 return 0;
27004 _ACEOF
27005 if ac_fn_cxx_try_compile "$LINENO"; then :
27006 glibcxx_cv_func_sqrtl_use=yes
27007 else
27008 glibcxx_cv_func_sqrtl_use=no
27010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27011 ac_ext=c
27012 ac_cpp='$CPP $CPPFLAGS'
27013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27022 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27024 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27025 for ac_func in sqrtl
27026 do :
27027 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27028 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27029 cat >>confdefs.h <<_ACEOF
27030 #define HAVE_SQRTL 1
27031 _ACEOF
27034 done
27036 else
27038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27039 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27040 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27041 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27042 $as_echo_n "(cached) " >&6
27043 else
27046 ac_ext=cpp
27047 ac_cpp='$CXXCPP $CPPFLAGS'
27048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27053 /* end confdefs.h. */
27054 #include <math.h>
27055 #ifdef HAVE_IEEEFP_H
27056 #include <ieeefp.h>
27057 #endif
27060 main ()
27062 _sqrtl(0);
27064 return 0;
27066 _ACEOF
27067 if ac_fn_cxx_try_compile "$LINENO"; then :
27068 glibcxx_cv_func__sqrtl_use=yes
27069 else
27070 glibcxx_cv_func__sqrtl_use=no
27072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27073 ac_ext=c
27074 ac_cpp='$CPP $CPPFLAGS'
27075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27084 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27086 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27087 for ac_func in _sqrtl
27088 do :
27089 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27090 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27091 cat >>confdefs.h <<_ACEOF
27092 #define HAVE__SQRTL 1
27093 _ACEOF
27096 done
27105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27106 $as_echo_n "checking for sincosl declaration... " >&6; }
27107 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27108 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27109 $as_echo_n "(cached) " >&6
27110 else
27113 ac_ext=cpp
27114 ac_cpp='$CXXCPP $CPPFLAGS'
27115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27120 /* end confdefs.h. */
27121 #include <math.h>
27123 main ()
27125 sincosl(0, 0, 0);
27127 return 0;
27129 _ACEOF
27130 if ac_fn_cxx_try_compile "$LINENO"; then :
27131 glibcxx_cv_func_sincosl_use=yes
27132 else
27133 glibcxx_cv_func_sincosl_use=no
27135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27136 ac_ext=c
27137 ac_cpp='$CPP $CPPFLAGS'
27138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27147 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27149 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27150 for ac_func in sincosl
27151 do :
27152 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27153 if test "x$ac_cv_func_sincosl" = x""yes; then :
27154 cat >>confdefs.h <<_ACEOF
27155 #define HAVE_SINCOSL 1
27156 _ACEOF
27159 done
27161 else
27163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27164 $as_echo_n "checking for _sincosl declaration... " >&6; }
27165 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27166 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27167 $as_echo_n "(cached) " >&6
27168 else
27171 ac_ext=cpp
27172 ac_cpp='$CXXCPP $CPPFLAGS'
27173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27178 /* end confdefs.h. */
27179 #include <math.h>
27181 main ()
27183 _sincosl(0, 0, 0);
27185 return 0;
27187 _ACEOF
27188 if ac_fn_cxx_try_compile "$LINENO"; then :
27189 glibcxx_cv_func__sincosl_use=yes
27190 else
27191 glibcxx_cv_func__sincosl_use=no
27193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27194 ac_ext=c
27195 ac_cpp='$CPP $CPPFLAGS'
27196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27205 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27207 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27208 for ac_func in _sincosl
27209 do :
27210 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27211 if test "x$ac_cv_func__sincosl" = x""yes; then :
27212 cat >>confdefs.h <<_ACEOF
27213 #define HAVE__SINCOSL 1
27214 _ACEOF
27217 done
27226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27227 $as_echo_n "checking for finitel declaration... " >&6; }
27228 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27229 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27230 $as_echo_n "(cached) " >&6
27231 else
27234 ac_ext=cpp
27235 ac_cpp='$CXXCPP $CPPFLAGS'
27236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27241 /* end confdefs.h. */
27242 #include <math.h>
27243 #ifdef HAVE_IEEEFP_H
27244 #include <ieeefp.h>
27245 #endif
27248 main ()
27250 finitel(0);
27252 return 0;
27254 _ACEOF
27255 if ac_fn_cxx_try_compile "$LINENO"; then :
27256 glibcxx_cv_func_finitel_use=yes
27257 else
27258 glibcxx_cv_func_finitel_use=no
27260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27261 ac_ext=c
27262 ac_cpp='$CPP $CPPFLAGS'
27263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27272 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27274 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27275 for ac_func in finitel
27276 do :
27277 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27278 if test "x$ac_cv_func_finitel" = x""yes; then :
27279 cat >>confdefs.h <<_ACEOF
27280 #define HAVE_FINITEL 1
27281 _ACEOF
27284 done
27286 else
27288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27289 $as_echo_n "checking for _finitel declaration... " >&6; }
27290 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27291 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27292 $as_echo_n "(cached) " >&6
27293 else
27296 ac_ext=cpp
27297 ac_cpp='$CXXCPP $CPPFLAGS'
27298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27303 /* end confdefs.h. */
27304 #include <math.h>
27305 #ifdef HAVE_IEEEFP_H
27306 #include <ieeefp.h>
27307 #endif
27310 main ()
27312 _finitel(0);
27314 return 0;
27316 _ACEOF
27317 if ac_fn_cxx_try_compile "$LINENO"; then :
27318 glibcxx_cv_func__finitel_use=yes
27319 else
27320 glibcxx_cv_func__finitel_use=no
27322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27323 ac_ext=c
27324 ac_cpp='$CPP $CPPFLAGS'
27325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27334 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27336 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27337 for ac_func in _finitel
27338 do :
27339 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27340 if test "x$ac_cv_func__finitel" = x""yes; then :
27341 cat >>confdefs.h <<_ACEOF
27342 #define HAVE__FINITEL 1
27343 _ACEOF
27346 done
27354 LIBS="$ac_save_LIBS"
27355 CXXFLAGS="$ac_save_CXXFLAGS"
27358 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27359 ac_save_CXXFLAGS="$CXXFLAGS"
27360 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27364 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27365 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27366 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27367 $as_echo_n "(cached) " >&6
27368 else
27371 ac_ext=cpp
27372 ac_cpp='$CXXCPP $CPPFLAGS'
27373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27378 /* end confdefs.h. */
27379 #include <stdlib.h>
27381 main ()
27383 at_quick_exit(0);
27385 return 0;
27387 _ACEOF
27388 if ac_fn_cxx_try_compile "$LINENO"; then :
27389 glibcxx_cv_func_at_quick_exit_use=yes
27390 else
27391 glibcxx_cv_func_at_quick_exit_use=no
27393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27394 ac_ext=c
27395 ac_cpp='$CPP $CPPFLAGS'
27396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27405 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27406 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27407 for ac_func in at_quick_exit
27408 do :
27409 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27410 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27411 cat >>confdefs.h <<_ACEOF
27412 #define HAVE_AT_QUICK_EXIT 1
27413 _ACEOF
27416 done
27421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27422 $as_echo_n "checking for quick_exit declaration... " >&6; }
27423 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27424 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27425 $as_echo_n "(cached) " >&6
27426 else
27429 ac_ext=cpp
27430 ac_cpp='$CXXCPP $CPPFLAGS'
27431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27436 /* end confdefs.h. */
27437 #include <stdlib.h>
27439 main ()
27441 quick_exit(0);
27443 return 0;
27445 _ACEOF
27446 if ac_fn_cxx_try_compile "$LINENO"; then :
27447 glibcxx_cv_func_quick_exit_use=yes
27448 else
27449 glibcxx_cv_func_quick_exit_use=no
27451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27452 ac_ext=c
27453 ac_cpp='$CPP $CPPFLAGS'
27454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27463 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27464 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27465 for ac_func in quick_exit
27466 do :
27467 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27468 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27469 cat >>confdefs.h <<_ACEOF
27470 #define HAVE_QUICK_EXIT 1
27471 _ACEOF
27474 done
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27480 $as_echo_n "checking for strtold declaration... " >&6; }
27481 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27482 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27483 $as_echo_n "(cached) " >&6
27484 else
27487 ac_ext=cpp
27488 ac_cpp='$CXXCPP $CPPFLAGS'
27489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27494 /* end confdefs.h. */
27495 #include <stdlib.h>
27497 main ()
27499 strtold(0, 0);
27501 return 0;
27503 _ACEOF
27504 if ac_fn_cxx_try_compile "$LINENO"; then :
27505 glibcxx_cv_func_strtold_use=yes
27506 else
27507 glibcxx_cv_func_strtold_use=no
27509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27510 ac_ext=c
27511 ac_cpp='$CPP $CPPFLAGS'
27512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27521 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27522 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27523 for ac_func in strtold
27524 do :
27525 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27526 if test "x$ac_cv_func_strtold" = x""yes; then :
27527 cat >>confdefs.h <<_ACEOF
27528 #define HAVE_STRTOLD 1
27529 _ACEOF
27532 done
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27540 $as_echo_n "checking for strtof declaration... " >&6; }
27541 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27542 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27543 $as_echo_n "(cached) " >&6
27544 else
27547 ac_ext=cpp
27548 ac_cpp='$CXXCPP $CPPFLAGS'
27549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27554 /* end confdefs.h. */
27555 #include <stdlib.h>
27557 main ()
27559 strtof(0, 0);
27561 return 0;
27563 _ACEOF
27564 if ac_fn_cxx_try_compile "$LINENO"; then :
27565 glibcxx_cv_func_strtof_use=yes
27566 else
27567 glibcxx_cv_func_strtof_use=no
27569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27570 ac_ext=c
27571 ac_cpp='$CPP $CPPFLAGS'
27572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27581 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27582 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27583 for ac_func in strtof
27584 do :
27585 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27586 if test "x$ac_cv_func_strtof" = x""yes; then :
27587 cat >>confdefs.h <<_ACEOF
27588 #define HAVE_STRTOF 1
27589 _ACEOF
27592 done
27599 CXXFLAGS="$ac_save_CXXFLAGS"
27602 # For /dev/random and /dev/urandom for TR1.
27605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27606 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27607 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27608 $as_echo_n "(cached) " >&6
27609 else
27611 if test -r /dev/random && test -r /dev/urandom; then
27612 ## For MSys environment the test above is detect as false-positive
27613 ## on mingw-targets. So disable it explicit for them.
27614 case ${target_os} in
27615 *mingw*) glibcxx_cv_random_tr1=no ;;
27616 *) glibcxx_cv_random_tr1=yes ;;
27617 esac
27618 else
27619 glibcxx_cv_random_tr1=no;
27624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27625 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27627 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27629 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27635 # For TLS support.
27638 # Check whether --enable-tls was given.
27639 if test "${enable_tls+set}" = set; then :
27640 enableval=$enable_tls;
27641 case "$enableval" in
27642 yes|no) ;;
27643 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27644 esac
27646 else
27647 enable_tls=yes
27651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27652 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27653 if test "${gcc_cv_have_tls+set}" = set; then :
27654 $as_echo_n "(cached) " >&6
27655 else
27657 if test "$cross_compiling" = yes; then :
27658 if test x$gcc_no_link = xyes; then
27659 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27662 /* end confdefs.h. */
27663 __thread int a; int b; int main() { return a = b; }
27664 _ACEOF
27665 if ac_fn_c_try_link "$LINENO"; then :
27666 chktls_save_LDFLAGS="$LDFLAGS"
27667 case $host in
27668 *-*-linux*)
27669 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27671 esac
27672 chktls_save_CFLAGS="$CFLAGS"
27673 CFLAGS="-fPIC $CFLAGS"
27674 if test x$gcc_no_link = xyes; then
27675 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27678 /* end confdefs.h. */
27679 int f() { return 0; }
27680 _ACEOF
27681 if ac_fn_c_try_link "$LINENO"; then :
27682 if test x$gcc_no_link = xyes; then
27683 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27686 /* end confdefs.h. */
27687 __thread int a; int b; int f() { return a = b; }
27688 _ACEOF
27689 if ac_fn_c_try_link "$LINENO"; then :
27690 gcc_cv_have_tls=yes
27691 else
27692 gcc_cv_have_tls=no
27694 rm -f core conftest.err conftest.$ac_objext \
27695 conftest$ac_exeext conftest.$ac_ext
27696 else
27697 gcc_cv_have_tls=yes
27699 rm -f core conftest.err conftest.$ac_objext \
27700 conftest$ac_exeext conftest.$ac_ext
27701 CFLAGS="$chktls_save_CFLAGS"
27702 LDFLAGS="$chktls_save_LDFLAGS"
27703 else
27704 gcc_cv_have_tls=no
27706 rm -f core conftest.err conftest.$ac_objext \
27707 conftest$ac_exeext conftest.$ac_ext
27710 else
27711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27712 /* end confdefs.h. */
27713 __thread int a; int b; int main() { return a = b; }
27714 _ACEOF
27715 if ac_fn_c_try_run "$LINENO"; then :
27716 chktls_save_LDFLAGS="$LDFLAGS"
27717 LDFLAGS="-static $LDFLAGS"
27718 if test x$gcc_no_link = xyes; then
27719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27722 /* end confdefs.h. */
27723 int main() { return 0; }
27724 _ACEOF
27725 if ac_fn_c_try_link "$LINENO"; then :
27726 if test "$cross_compiling" = yes; then :
27727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27729 as_fn_error "cannot run test program while cross compiling
27730 See \`config.log' for more details." "$LINENO" 5; }
27731 else
27732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27733 /* end confdefs.h. */
27734 __thread int a; int b; int main() { return a = b; }
27735 _ACEOF
27736 if ac_fn_c_try_run "$LINENO"; then :
27737 gcc_cv_have_tls=yes
27738 else
27739 gcc_cv_have_tls=no
27741 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27742 conftest.$ac_objext conftest.beam conftest.$ac_ext
27745 else
27746 gcc_cv_have_tls=yes
27748 rm -f core conftest.err conftest.$ac_objext \
27749 conftest$ac_exeext conftest.$ac_ext
27750 LDFLAGS="$chktls_save_LDFLAGS"
27751 if test $gcc_cv_have_tls = yes; then
27752 chktls_save_CFLAGS="$CFLAGS"
27753 thread_CFLAGS=failed
27754 for flag in '' '-pthread' '-lpthread'; do
27755 CFLAGS="$flag $chktls_save_CFLAGS"
27756 if test x$gcc_no_link = xyes; then
27757 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27760 /* end confdefs.h. */
27761 #include <pthread.h>
27762 void *g(void *d) { return NULL; }
27764 main ()
27766 pthread_t t; pthread_create(&t,NULL,g,NULL);
27768 return 0;
27770 _ACEOF
27771 if ac_fn_c_try_link "$LINENO"; then :
27772 thread_CFLAGS="$flag"
27774 rm -f core conftest.err conftest.$ac_objext \
27775 conftest$ac_exeext conftest.$ac_ext
27776 if test "X$thread_CFLAGS" != Xfailed; then
27777 break
27779 done
27780 CFLAGS="$chktls_save_CFLAGS"
27781 if test "X$thread_CFLAGS" != Xfailed; then
27782 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27783 if test "$cross_compiling" = yes; then :
27784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27786 as_fn_error "cannot run test program while cross compiling
27787 See \`config.log' for more details." "$LINENO" 5; }
27788 else
27789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27790 /* end confdefs.h. */
27791 #include <pthread.h>
27792 __thread int a;
27793 static int *volatile a_in_other_thread;
27794 static void *
27795 thread_func (void *arg)
27797 a_in_other_thread = &a;
27798 return (void *)0;
27801 main ()
27803 pthread_t thread;
27804 void *thread_retval;
27805 int *volatile a_in_main_thread;
27806 a_in_main_thread = &a;
27807 if (pthread_create (&thread, (pthread_attr_t *)0,
27808 thread_func, (void *)0))
27809 return 0;
27810 if (pthread_join (thread, &thread_retval))
27811 return 0;
27812 return (a_in_other_thread == a_in_main_thread);
27814 return 0;
27816 _ACEOF
27817 if ac_fn_c_try_run "$LINENO"; then :
27818 gcc_cv_have_tls=yes
27819 else
27820 gcc_cv_have_tls=no
27822 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27823 conftest.$ac_objext conftest.beam conftest.$ac_ext
27826 CFLAGS="$chktls_save_CFLAGS"
27829 else
27830 gcc_cv_have_tls=no
27832 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27833 conftest.$ac_objext conftest.beam conftest.$ac_ext
27837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27838 $as_echo "$gcc_cv_have_tls" >&6; }
27839 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27841 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27845 for ac_func in __cxa_thread_atexit_impl
27846 do :
27847 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27848 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27849 cat >>confdefs.h <<_ACEOF
27850 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27851 _ACEOF
27854 done
27857 # For iconv support.
27859 if test "X$prefix" = "XNONE"; then
27860 acl_final_prefix="$ac_default_prefix"
27861 else
27862 acl_final_prefix="$prefix"
27864 if test "X$exec_prefix" = "XNONE"; then
27865 acl_final_exec_prefix='${prefix}'
27866 else
27867 acl_final_exec_prefix="$exec_prefix"
27869 acl_save_prefix="$prefix"
27870 prefix="$acl_final_prefix"
27871 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27872 prefix="$acl_save_prefix"
27875 # Check whether --with-gnu-ld was given.
27876 if test "${with_gnu_ld+set}" = set; then :
27877 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27878 else
27879 with_gnu_ld=no
27882 # Prepare PATH_SEPARATOR.
27883 # The user is always right.
27884 if test "${PATH_SEPARATOR+set}" != set; then
27885 echo "#! /bin/sh" >conf$$.sh
27886 echo "exit 0" >>conf$$.sh
27887 chmod +x conf$$.sh
27888 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27889 PATH_SEPARATOR=';'
27890 else
27891 PATH_SEPARATOR=:
27893 rm -f conf$$.sh
27895 ac_prog=ld
27896 if test "$GCC" = yes; then
27897 # Check if gcc -print-prog-name=ld gives a path.
27898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27899 $as_echo_n "checking for ld used by GCC... " >&6; }
27900 case $host in
27901 *-*-mingw*)
27902 # gcc leaves a trailing carriage return which upsets mingw
27903 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27905 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27906 esac
27907 case $ac_prog in
27908 # Accept absolute paths.
27909 [\\/]* | [A-Za-z]:[\\/]*)
27910 re_direlt='/[^/][^/]*/\.\./'
27911 # Canonicalize the path of ld
27912 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27913 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27914 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27915 done
27916 test -z "$LD" && LD="$ac_prog"
27919 # If it fails, then pretend we aren't using GCC.
27920 ac_prog=ld
27923 # If it is relative, then search for the first ld in PATH.
27924 with_gnu_ld=unknown
27926 esac
27927 elif test "$with_gnu_ld" = yes; then
27928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27929 $as_echo_n "checking for GNU ld... " >&6; }
27930 else
27931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27932 $as_echo_n "checking for non-GNU ld... " >&6; }
27934 if test "${acl_cv_path_LD+set}" = set; then :
27935 $as_echo_n "(cached) " >&6
27936 else
27937 if test -z "$LD"; then
27938 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27939 for ac_dir in $PATH; do
27940 test -z "$ac_dir" && ac_dir=.
27941 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27942 acl_cv_path_LD="$ac_dir/$ac_prog"
27943 # Check to see if the program is GNU ld. I'd rather use --version,
27944 # but apparently some GNU ld's only accept -v.
27945 # Break only if it was the GNU/non-GNU ld that we prefer.
27946 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27947 test "$with_gnu_ld" != no && break
27948 else
27949 test "$with_gnu_ld" != yes && break
27952 done
27953 IFS="$ac_save_ifs"
27954 else
27955 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27959 LD="$acl_cv_path_LD"
27960 if test -n "$LD"; then
27961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27962 $as_echo "$LD" >&6; }
27963 else
27964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27965 $as_echo "no" >&6; }
27967 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27969 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27970 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27971 $as_echo_n "(cached) " >&6
27972 else
27973 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27974 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27975 acl_cv_prog_gnu_ld=yes
27976 else
27977 acl_cv_prog_gnu_ld=no
27980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27981 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27982 with_gnu_ld=$acl_cv_prog_gnu_ld
27986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27987 $as_echo_n "checking for shared library run path origin... " >&6; }
27988 if test "${acl_cv_rpath+set}" = set; then :
27989 $as_echo_n "(cached) " >&6
27990 else
27992 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27993 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27994 . ./conftest.sh
27995 rm -f ./conftest.sh
27996 acl_cv_rpath=done
27999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28000 $as_echo "$acl_cv_rpath" >&6; }
28001 wl="$acl_cv_wl"
28002 libext="$acl_cv_libext"
28003 shlibext="$acl_cv_shlibext"
28004 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28005 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28006 hardcode_direct="$acl_cv_hardcode_direct"
28007 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28008 # Check whether --enable-rpath was given.
28009 if test "${enable_rpath+set}" = set; then :
28010 enableval=$enable_rpath; :
28011 else
28012 enable_rpath=yes
28022 use_additional=yes
28024 acl_save_prefix="$prefix"
28025 prefix="$acl_final_prefix"
28026 acl_save_exec_prefix="$exec_prefix"
28027 exec_prefix="$acl_final_exec_prefix"
28029 eval additional_includedir=\"$includedir\"
28030 eval additional_libdir=\"$libdir\"
28032 exec_prefix="$acl_save_exec_prefix"
28033 prefix="$acl_save_prefix"
28036 # Check whether --with-libiconv-prefix was given.
28037 if test "${with_libiconv_prefix+set}" = set; then :
28038 withval=$with_libiconv_prefix;
28039 if test "X$withval" = "Xno"; then
28040 use_additional=no
28041 else
28042 if test "X$withval" = "X"; then
28044 acl_save_prefix="$prefix"
28045 prefix="$acl_final_prefix"
28046 acl_save_exec_prefix="$exec_prefix"
28047 exec_prefix="$acl_final_exec_prefix"
28049 eval additional_includedir=\"$includedir\"
28050 eval additional_libdir=\"$libdir\"
28052 exec_prefix="$acl_save_exec_prefix"
28053 prefix="$acl_save_prefix"
28055 else
28056 additional_includedir="$withval/include"
28057 additional_libdir="$withval/lib"
28063 LIBICONV=
28064 LTLIBICONV=
28065 INCICONV=
28066 rpathdirs=
28067 ltrpathdirs=
28068 names_already_handled=
28069 names_next_round='iconv '
28070 while test -n "$names_next_round"; do
28071 names_this_round="$names_next_round"
28072 names_next_round=
28073 for name in $names_this_round; do
28074 already_handled=
28075 for n in $names_already_handled; do
28076 if test "$n" = "$name"; then
28077 already_handled=yes
28078 break
28080 done
28081 if test -z "$already_handled"; then
28082 names_already_handled="$names_already_handled $name"
28083 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28084 eval value=\"\$HAVE_LIB$uppername\"
28085 if test -n "$value"; then
28086 if test "$value" = yes; then
28087 eval value=\"\$LIB$uppername\"
28088 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28089 eval value=\"\$LTLIB$uppername\"
28090 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28091 else
28094 else
28095 found_dir=
28096 found_la=
28097 found_so=
28098 found_a=
28099 if test $use_additional = yes; then
28100 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28101 found_dir="$additional_libdir"
28102 found_so="$additional_libdir/lib$name.$shlibext"
28103 if test -f "$additional_libdir/lib$name.la"; then
28104 found_la="$additional_libdir/lib$name.la"
28106 else
28107 if test -f "$additional_libdir/lib$name.$libext"; then
28108 found_dir="$additional_libdir"
28109 found_a="$additional_libdir/lib$name.$libext"
28110 if test -f "$additional_libdir/lib$name.la"; then
28111 found_la="$additional_libdir/lib$name.la"
28116 if test "X$found_dir" = "X"; then
28117 for x in $LDFLAGS $LTLIBICONV; do
28119 acl_save_prefix="$prefix"
28120 prefix="$acl_final_prefix"
28121 acl_save_exec_prefix="$exec_prefix"
28122 exec_prefix="$acl_final_exec_prefix"
28123 eval x=\"$x\"
28124 exec_prefix="$acl_save_exec_prefix"
28125 prefix="$acl_save_prefix"
28127 case "$x" in
28128 -L*)
28129 dir=`echo "X$x" | sed -e 's/^X-L//'`
28130 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28131 found_dir="$dir"
28132 found_so="$dir/lib$name.$shlibext"
28133 if test -f "$dir/lib$name.la"; then
28134 found_la="$dir/lib$name.la"
28136 else
28137 if test -f "$dir/lib$name.$libext"; then
28138 found_dir="$dir"
28139 found_a="$dir/lib$name.$libext"
28140 if test -f "$dir/lib$name.la"; then
28141 found_la="$dir/lib$name.la"
28146 esac
28147 if test "X$found_dir" != "X"; then
28148 break
28150 done
28152 if test "X$found_dir" != "X"; then
28153 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28154 if test "X$found_so" != "X"; then
28155 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28156 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28157 else
28158 haveit=
28159 for x in $ltrpathdirs; do
28160 if test "X$x" = "X$found_dir"; then
28161 haveit=yes
28162 break
28164 done
28165 if test -z "$haveit"; then
28166 ltrpathdirs="$ltrpathdirs $found_dir"
28168 if test "$hardcode_direct" = yes; then
28169 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28170 else
28171 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28172 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28173 haveit=
28174 for x in $rpathdirs; do
28175 if test "X$x" = "X$found_dir"; then
28176 haveit=yes
28177 break
28179 done
28180 if test -z "$haveit"; then
28181 rpathdirs="$rpathdirs $found_dir"
28183 else
28184 haveit=
28185 for x in $LDFLAGS $LIBICONV; do
28187 acl_save_prefix="$prefix"
28188 prefix="$acl_final_prefix"
28189 acl_save_exec_prefix="$exec_prefix"
28190 exec_prefix="$acl_final_exec_prefix"
28191 eval x=\"$x\"
28192 exec_prefix="$acl_save_exec_prefix"
28193 prefix="$acl_save_prefix"
28195 if test "X$x" = "X-L$found_dir"; then
28196 haveit=yes
28197 break
28199 done
28200 if test -z "$haveit"; then
28201 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28203 if test "$hardcode_minus_L" != no; then
28204 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28205 else
28206 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28211 else
28212 if test "X$found_a" != "X"; then
28213 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28214 else
28215 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28218 additional_includedir=
28219 case "$found_dir" in
28220 */lib | */lib/)
28221 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28222 additional_includedir="$basedir/include"
28224 esac
28225 if test "X$additional_includedir" != "X"; then
28226 if test "X$additional_includedir" != "X/usr/include"; then
28227 haveit=
28228 if test "X$additional_includedir" = "X/usr/local/include"; then
28229 if test -n "$GCC"; then
28230 case $host_os in
28231 linux*) haveit=yes;;
28232 esac
28235 if test -z "$haveit"; then
28236 for x in $CPPFLAGS $INCICONV; do
28238 acl_save_prefix="$prefix"
28239 prefix="$acl_final_prefix"
28240 acl_save_exec_prefix="$exec_prefix"
28241 exec_prefix="$acl_final_exec_prefix"
28242 eval x=\"$x\"
28243 exec_prefix="$acl_save_exec_prefix"
28244 prefix="$acl_save_prefix"
28246 if test "X$x" = "X-I$additional_includedir"; then
28247 haveit=yes
28248 break
28250 done
28251 if test -z "$haveit"; then
28252 if test -d "$additional_includedir"; then
28253 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28259 if test -n "$found_la"; then
28260 save_libdir="$libdir"
28261 case "$found_la" in
28262 */* | *\\*) . "$found_la" ;;
28263 *) . "./$found_la" ;;
28264 esac
28265 libdir="$save_libdir"
28266 for dep in $dependency_libs; do
28267 case "$dep" in
28268 -L*)
28269 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28270 if test "X$additional_libdir" != "X/usr/lib"; then
28271 haveit=
28272 if test "X$additional_libdir" = "X/usr/local/lib"; then
28273 if test -n "$GCC"; then
28274 case $host_os in
28275 linux*) haveit=yes;;
28276 esac
28279 if test -z "$haveit"; then
28280 haveit=
28281 for x in $LDFLAGS $LIBICONV; do
28283 acl_save_prefix="$prefix"
28284 prefix="$acl_final_prefix"
28285 acl_save_exec_prefix="$exec_prefix"
28286 exec_prefix="$acl_final_exec_prefix"
28287 eval x=\"$x\"
28288 exec_prefix="$acl_save_exec_prefix"
28289 prefix="$acl_save_prefix"
28291 if test "X$x" = "X-L$additional_libdir"; then
28292 haveit=yes
28293 break
28295 done
28296 if test -z "$haveit"; then
28297 if test -d "$additional_libdir"; then
28298 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28301 haveit=
28302 for x in $LDFLAGS $LTLIBICONV; do
28304 acl_save_prefix="$prefix"
28305 prefix="$acl_final_prefix"
28306 acl_save_exec_prefix="$exec_prefix"
28307 exec_prefix="$acl_final_exec_prefix"
28308 eval x=\"$x\"
28309 exec_prefix="$acl_save_exec_prefix"
28310 prefix="$acl_save_prefix"
28312 if test "X$x" = "X-L$additional_libdir"; then
28313 haveit=yes
28314 break
28316 done
28317 if test -z "$haveit"; then
28318 if test -d "$additional_libdir"; then
28319 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28325 -R*)
28326 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28327 if test "$enable_rpath" != no; then
28328 haveit=
28329 for x in $rpathdirs; do
28330 if test "X$x" = "X$dir"; then
28331 haveit=yes
28332 break
28334 done
28335 if test -z "$haveit"; then
28336 rpathdirs="$rpathdirs $dir"
28338 haveit=
28339 for x in $ltrpathdirs; do
28340 if test "X$x" = "X$dir"; then
28341 haveit=yes
28342 break
28344 done
28345 if test -z "$haveit"; then
28346 ltrpathdirs="$ltrpathdirs $dir"
28350 -l*)
28351 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28353 *.la)
28354 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28357 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28358 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28360 esac
28361 done
28363 else
28364 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28365 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28369 done
28370 done
28371 if test "X$rpathdirs" != "X"; then
28372 if test -n "$hardcode_libdir_separator"; then
28373 alldirs=
28374 for found_dir in $rpathdirs; do
28375 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28376 done
28377 acl_save_libdir="$libdir"
28378 libdir="$alldirs"
28379 eval flag=\"$hardcode_libdir_flag_spec\"
28380 libdir="$acl_save_libdir"
28381 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28382 else
28383 for found_dir in $rpathdirs; do
28384 acl_save_libdir="$libdir"
28385 libdir="$found_dir"
28386 eval flag=\"$hardcode_libdir_flag_spec\"
28387 libdir="$acl_save_libdir"
28388 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28389 done
28392 if test "X$ltrpathdirs" != "X"; then
28393 for found_dir in $ltrpathdirs; do
28394 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28395 done
28404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28405 $as_echo_n "checking for iconv... " >&6; }
28406 if test "${am_cv_func_iconv+set}" = set; then :
28407 $as_echo_n "(cached) " >&6
28408 else
28410 am_cv_func_iconv="no, consider installing GNU libiconv"
28411 am_cv_lib_iconv=no
28412 am_save_CPPFLAGS="$CPPFLAGS"
28413 CPPFLAGS="$CPPFLAGS $INCICONV"
28414 if test x$gcc_no_link = xyes; then
28415 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28418 /* end confdefs.h. */
28419 #include <stdlib.h>
28420 #include <iconv.h>
28422 main ()
28424 iconv_t cd = iconv_open("","");
28425 iconv(cd,NULL,NULL,NULL,NULL);
28426 iconv_close(cd);
28428 return 0;
28430 _ACEOF
28431 if ac_fn_c_try_link "$LINENO"; then :
28432 am_cv_func_iconv=yes
28434 rm -f core conftest.err conftest.$ac_objext \
28435 conftest$ac_exeext conftest.$ac_ext
28436 CPPFLAGS="$am_save_CPPFLAGS"
28438 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28439 for _libs in .libs _libs; do
28440 am_save_CPPFLAGS="$CPPFLAGS"
28441 am_save_LIBS="$LIBS"
28442 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28443 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28444 if test x$gcc_no_link = xyes; then
28445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28448 /* end confdefs.h. */
28449 #include <stdlib.h>
28450 #include <iconv.h>
28452 main ()
28454 iconv_t cd = iconv_open("","");
28455 iconv(cd,NULL,NULL,NULL,NULL);
28456 iconv_close(cd);
28458 return 0;
28460 _ACEOF
28461 if ac_fn_c_try_link "$LINENO"; then :
28462 INCICONV="-I../libiconv/include"
28463 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28464 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28465 am_cv_lib_iconv=yes
28466 am_cv_func_iconv=yes
28468 rm -f core conftest.err conftest.$ac_objext \
28469 conftest$ac_exeext conftest.$ac_ext
28470 CPPFLAGS="$am_save_CPPFLAGS"
28471 LIBS="$am_save_LIBS"
28472 if test "$am_cv_func_iconv" = "yes"; then
28473 break
28475 done
28478 if test "$am_cv_func_iconv" != yes; then
28479 am_save_CPPFLAGS="$CPPFLAGS"
28480 am_save_LIBS="$LIBS"
28481 CPPFLAGS="$LIBS $INCICONV"
28482 LIBS="$LIBS $LIBICONV"
28483 if test x$gcc_no_link = xyes; then
28484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28487 /* end confdefs.h. */
28488 #include <stdlib.h>
28489 #include <iconv.h>
28491 main ()
28493 iconv_t cd = iconv_open("","");
28494 iconv(cd,NULL,NULL,NULL,NULL);
28495 iconv_close(cd);
28497 return 0;
28499 _ACEOF
28500 if ac_fn_c_try_link "$LINENO"; then :
28501 am_cv_lib_iconv=yes
28502 am_cv_func_iconv=yes
28504 rm -f core conftest.err conftest.$ac_objext \
28505 conftest$ac_exeext conftest.$ac_ext
28506 CPPFLAGS="$am_save_CPPFLAGS"
28507 LIBS="$am_save_LIBS"
28511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28512 $as_echo "$am_cv_func_iconv" >&6; }
28513 if test "$am_cv_func_iconv" = yes; then
28515 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28518 if test "$am_cv_lib_iconv" = yes; then
28520 for element in $INCICONV; do
28521 haveit=
28522 for x in $CPPFLAGS; do
28524 acl_save_prefix="$prefix"
28525 prefix="$acl_final_prefix"
28526 acl_save_exec_prefix="$exec_prefix"
28527 exec_prefix="$acl_final_exec_prefix"
28528 eval x=\"$x\"
28529 exec_prefix="$acl_save_exec_prefix"
28530 prefix="$acl_save_prefix"
28532 if test "X$x" = "X$element"; then
28533 haveit=yes
28534 break
28536 done
28537 if test -z "$haveit"; then
28538 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28540 done
28542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28543 $as_echo_n "checking how to link with libiconv... " >&6; }
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28545 $as_echo "$LIBICONV" >&6; }
28546 else
28547 LIBICONV=
28548 LTLIBICONV=
28553 if test "$am_cv_func_iconv" = yes; then
28554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28555 $as_echo_n "checking for iconv declaration... " >&6; }
28556 if test "${am_cv_proto_iconv+set}" = set; then :
28557 $as_echo_n "(cached) " >&6
28558 else
28560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28561 /* end confdefs.h. */
28563 #include <stdlib.h>
28564 #include <iconv.h>
28565 extern
28566 #ifdef __cplusplus
28568 #endif
28569 #if defined(__STDC__) || defined(__cplusplus)
28570 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28571 #else
28572 size_t iconv();
28573 #endif
28576 main ()
28580 return 0;
28582 _ACEOF
28583 if ac_fn_c_try_compile "$LINENO"; then :
28584 am_cv_proto_iconv_arg1=""
28585 else
28586 am_cv_proto_iconv_arg1="const"
28588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28589 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);"
28592 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28594 }$am_cv_proto_iconv" >&5
28595 $as_echo "${ac_t:-
28596 }$am_cv_proto_iconv" >&6; }
28598 cat >>confdefs.h <<_ACEOF
28599 #define ICONV_CONST $am_cv_proto_iconv_arg1
28600 _ACEOF
28605 else
28607 # This lets us hard-code the functionality we know we'll have in the cross
28608 # target environment. "Let" is a sugar-coated word placed on an especially
28609 # dull and tedious hack, actually.
28611 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28612 # that involve linking, can't be used:
28613 # "cannot open sim-crt0.o"
28614 # "cannot open crt0.o"
28615 # etc. All this is because there currently exists no unified, consistent
28616 # way for top level CC information to be passed down to target directories:
28617 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28618 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28619 # crosses can be removed.
28621 # If Canadian cross, then don't pick up tools from the build directory.
28622 # Used only in GLIBCXX_EXPORT_INCLUDES.
28623 if test -n "$with_cross_host" &&
28624 test x"$build_alias" != x"$with_cross_host" &&
28625 test x"$build" != x"$target";
28626 then
28627 CANADIAN=yes
28628 else
28629 CANADIAN=no
28632 # Construct crosses by hand, eliminating bits that need ld...
28633 # GLIBCXX_CHECK_MATH_SUPPORT
28635 # First, test for "known" system libraries. We may be using newlib even
28636 # on a hosted environment.
28637 if test "x${with_newlib}" = "xyes"; then
28638 os_include_dir="os/newlib"
28639 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28642 # GLIBCXX_CHECK_STDLIB_SUPPORT
28643 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28646 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28648 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28650 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28652 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28654 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28656 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28658 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28660 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28662 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28664 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28666 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28668 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28670 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28672 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28674 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28676 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28678 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28680 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28682 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28684 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28686 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28688 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28691 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28693 else
28695 # Base decisions on target environment.
28696 case "${host}" in
28697 arm*-*-symbianelf*)
28698 # This is a freestanding configuration; there is nothing to do here.
28701 mips*-sde-elf*)
28702 # These definitions are for the SDE C library rather than newlib.
28703 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28706 # All these tests are for C++; save the language and the compiler flags.
28707 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28708 # found in GLIBCXX_CONFIGURE.
28710 ac_ext=cpp
28711 ac_cpp='$CXXCPP $CPPFLAGS'
28712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28716 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28717 ac_save_CXXFLAGS="$CXXFLAGS"
28719 # Check for maintainer-mode bits.
28720 if test x"$USE_MAINTAINER_MODE" = xno; then
28721 WERROR=''
28722 else
28723 WERROR='-Werror'
28726 # Check for -ffunction-sections -fdata-sections
28727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28728 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28729 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28731 /* end confdefs.h. */
28732 int foo; void bar() { };
28734 main ()
28738 return 0;
28740 _ACEOF
28741 if ac_fn_cxx_try_compile "$LINENO"; then :
28742 ac_fdsections=yes
28743 else
28744 ac_fdsections=no
28746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28747 if test "$ac_test_CXXFLAGS" = set; then
28748 CXXFLAGS="$ac_save_CXXFLAGS"
28749 else
28750 # this is the suspicious part
28751 CXXFLAGS=''
28753 if test x"$ac_fdsections" = x"yes"; then
28754 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28757 $as_echo "$ac_fdsections" >&6; }
28759 ac_ext=c
28760 ac_cpp='$CPP $CPPFLAGS'
28761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28769 # If we're not using GNU ld, then there's no point in even trying these
28770 # tests. Check for that first. We should have already tested for gld
28771 # by now (in libtool), but require it now just to be safe...
28772 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28773 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28777 # The name set by libtool depends on the version of libtool. Shame on us
28778 # for depending on an impl detail, but c'est la vie. Older versions used
28779 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28780 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28781 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28782 # set (hence we're using an older libtool), then set it.
28783 if test x${with_gnu_ld+set} != xset; then
28784 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28785 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28786 with_gnu_ld=no
28787 else
28788 with_gnu_ld=$ac_cv_prog_gnu_ld
28792 # Start by getting the version number. I think the libtool test already
28793 # does some of this, but throws away the result.
28794 glibcxx_ld_is_gold=no
28795 if test x"$with_gnu_ld" = x"yes"; then
28796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28797 $as_echo_n "checking for ld version... " >&6; }
28799 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28800 glibcxx_ld_is_gold=yes
28802 ldver=`$LD --version 2>/dev/null |
28803 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'`
28805 glibcxx_gnu_ld_version=`echo $ldver | \
28806 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28808 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28811 # Set --gc-sections.
28812 glibcxx_have_gc_sections=no
28813 if test "$glibcxx_ld_is_gold" = "yes"; then
28814 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28815 glibcxx_have_gc_sections=yes
28817 else
28818 glibcxx_gcsections_min_ld=21602
28819 if test x"$with_gnu_ld" = x"yes" &&
28820 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28821 glibcxx_have_gc_sections=yes
28824 if test "$glibcxx_have_gc_sections" = "yes"; then
28825 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28826 # NB: This flag only works reliably after 2.16.1. Configure tests
28827 # for this are difficult, so hard wire a value that should work.
28829 ac_test_CFLAGS="${CFLAGS+set}"
28830 ac_save_CFLAGS="$CFLAGS"
28831 CFLAGS='-Wl,--gc-sections'
28833 # Check for -Wl,--gc-sections
28834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28835 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28836 if test x$gcc_no_link = xyes; then
28837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28840 /* end confdefs.h. */
28841 int one(void) { return 1; }
28842 int two(void) { return 2; }
28845 main ()
28847 two();
28849 return 0;
28851 _ACEOF
28852 if ac_fn_c_try_link "$LINENO"; then :
28853 ac_gcsections=yes
28854 else
28855 ac_gcsections=no
28857 rm -f core conftest.err conftest.$ac_objext \
28858 conftest$ac_exeext conftest.$ac_ext
28859 if test "$ac_gcsections" = "yes"; then
28860 rm -f conftest.c
28861 touch conftest.c
28862 if $CC -c conftest.c; then
28863 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28864 grep "Warning: gc-sections option ignored" > /dev/null; then
28865 ac_gcsections=no
28868 rm -f conftest.c conftest.o conftest
28870 if test "$ac_gcsections" = "yes"; then
28871 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28874 $as_echo "$ac_gcsections" >&6; }
28876 if test "$ac_test_CFLAGS" = set; then
28877 CFLAGS="$ac_save_CFLAGS"
28878 else
28879 # this is the suspicious part
28880 CFLAGS=''
28884 # Set -z,relro.
28885 # Note this is only for shared objects.
28886 ac_ld_relro=no
28887 if test x"$with_gnu_ld" = x"yes"; then
28888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28889 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28890 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28891 if test -n "$cxx_z_relo"; then
28892 OPT_LDFLAGS="-Wl,-z,relro"
28893 ac_ld_relro=yes
28895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28896 $as_echo "$ac_ld_relro" >&6; }
28899 # Set linker optimization flags.
28900 if test x"$with_gnu_ld" = x"yes"; then
28901 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28908 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28909 ac_save_CXXFLAGS="$CXXFLAGS"
28910 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28913 $as_echo_n "checking for sin in -lm... " >&6; }
28914 if test "${ac_cv_lib_m_sin+set}" = set; then :
28915 $as_echo_n "(cached) " >&6
28916 else
28917 ac_check_lib_save_LIBS=$LIBS
28918 LIBS="-lm $LIBS"
28919 if test x$gcc_no_link = xyes; then
28920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28923 /* end confdefs.h. */
28925 /* Override any GCC internal prototype to avoid an error.
28926 Use char because int might match the return type of a GCC
28927 builtin and then its argument prototype would still apply. */
28928 #ifdef __cplusplus
28929 extern "C"
28930 #endif
28931 char sin ();
28933 main ()
28935 return sin ();
28937 return 0;
28939 _ACEOF
28940 if ac_fn_c_try_link "$LINENO"; then :
28941 ac_cv_lib_m_sin=yes
28942 else
28943 ac_cv_lib_m_sin=no
28945 rm -f core conftest.err conftest.$ac_objext \
28946 conftest$ac_exeext conftest.$ac_ext
28947 LIBS=$ac_check_lib_save_LIBS
28949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28950 $as_echo "$ac_cv_lib_m_sin" >&6; }
28951 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28952 libm="-lm"
28955 ac_save_LIBS="$LIBS"
28956 LIBS="$LIBS $libm"
28960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28961 $as_echo_n "checking for isinf declaration... " >&6; }
28962 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28963 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28964 $as_echo_n "(cached) " >&6
28965 else
28968 ac_ext=cpp
28969 ac_cpp='$CXXCPP $CPPFLAGS'
28970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28975 /* end confdefs.h. */
28976 #include <math.h>
28977 #ifdef HAVE_IEEEFP_H
28978 #include <ieeefp.h>
28979 #endif
28982 main ()
28984 isinf(0);
28986 return 0;
28988 _ACEOF
28989 if ac_fn_cxx_try_compile "$LINENO"; then :
28990 glibcxx_cv_func_isinf_use=yes
28991 else
28992 glibcxx_cv_func_isinf_use=no
28994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28995 ac_ext=c
28996 ac_cpp='$CPP $CPPFLAGS'
28997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29006 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29008 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29009 for ac_func in isinf
29010 do :
29011 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29012 if test "x$ac_cv_func_isinf" = x""yes; then :
29013 cat >>confdefs.h <<_ACEOF
29014 #define HAVE_ISINF 1
29015 _ACEOF
29018 done
29020 else
29022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29023 $as_echo_n "checking for _isinf declaration... " >&6; }
29024 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29025 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29026 $as_echo_n "(cached) " >&6
29027 else
29030 ac_ext=cpp
29031 ac_cpp='$CXXCPP $CPPFLAGS'
29032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29037 /* end confdefs.h. */
29038 #include <math.h>
29039 #ifdef HAVE_IEEEFP_H
29040 #include <ieeefp.h>
29041 #endif
29044 main ()
29046 _isinf(0);
29048 return 0;
29050 _ACEOF
29051 if ac_fn_cxx_try_compile "$LINENO"; then :
29052 glibcxx_cv_func__isinf_use=yes
29053 else
29054 glibcxx_cv_func__isinf_use=no
29056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29057 ac_ext=c
29058 ac_cpp='$CPP $CPPFLAGS'
29059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29068 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29070 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29071 for ac_func in _isinf
29072 do :
29073 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29074 if test "x$ac_cv_func__isinf" = x""yes; then :
29075 cat >>confdefs.h <<_ACEOF
29076 #define HAVE__ISINF 1
29077 _ACEOF
29080 done
29089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29090 $as_echo_n "checking for isnan declaration... " >&6; }
29091 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29092 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29093 $as_echo_n "(cached) " >&6
29094 else
29097 ac_ext=cpp
29098 ac_cpp='$CXXCPP $CPPFLAGS'
29099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29104 /* end confdefs.h. */
29105 #include <math.h>
29106 #ifdef HAVE_IEEEFP_H
29107 #include <ieeefp.h>
29108 #endif
29111 main ()
29113 isnan(0);
29115 return 0;
29117 _ACEOF
29118 if ac_fn_cxx_try_compile "$LINENO"; then :
29119 glibcxx_cv_func_isnan_use=yes
29120 else
29121 glibcxx_cv_func_isnan_use=no
29123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29124 ac_ext=c
29125 ac_cpp='$CPP $CPPFLAGS'
29126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29135 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29137 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29138 for ac_func in isnan
29139 do :
29140 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29141 if test "x$ac_cv_func_isnan" = x""yes; then :
29142 cat >>confdefs.h <<_ACEOF
29143 #define HAVE_ISNAN 1
29144 _ACEOF
29147 done
29149 else
29151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29152 $as_echo_n "checking for _isnan declaration... " >&6; }
29153 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29154 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29155 $as_echo_n "(cached) " >&6
29156 else
29159 ac_ext=cpp
29160 ac_cpp='$CXXCPP $CPPFLAGS'
29161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29166 /* end confdefs.h. */
29167 #include <math.h>
29168 #ifdef HAVE_IEEEFP_H
29169 #include <ieeefp.h>
29170 #endif
29173 main ()
29175 _isnan(0);
29177 return 0;
29179 _ACEOF
29180 if ac_fn_cxx_try_compile "$LINENO"; then :
29181 glibcxx_cv_func__isnan_use=yes
29182 else
29183 glibcxx_cv_func__isnan_use=no
29185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29186 ac_ext=c
29187 ac_cpp='$CPP $CPPFLAGS'
29188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29197 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29199 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29200 for ac_func in _isnan
29201 do :
29202 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29203 if test "x$ac_cv_func__isnan" = x""yes; then :
29204 cat >>confdefs.h <<_ACEOF
29205 #define HAVE__ISNAN 1
29206 _ACEOF
29209 done
29218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29219 $as_echo_n "checking for finite declaration... " >&6; }
29220 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29221 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29222 $as_echo_n "(cached) " >&6
29223 else
29226 ac_ext=cpp
29227 ac_cpp='$CXXCPP $CPPFLAGS'
29228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29233 /* end confdefs.h. */
29234 #include <math.h>
29235 #ifdef HAVE_IEEEFP_H
29236 #include <ieeefp.h>
29237 #endif
29240 main ()
29242 finite(0);
29244 return 0;
29246 _ACEOF
29247 if ac_fn_cxx_try_compile "$LINENO"; then :
29248 glibcxx_cv_func_finite_use=yes
29249 else
29250 glibcxx_cv_func_finite_use=no
29252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29253 ac_ext=c
29254 ac_cpp='$CPP $CPPFLAGS'
29255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29264 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29266 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29267 for ac_func in finite
29268 do :
29269 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29270 if test "x$ac_cv_func_finite" = x""yes; then :
29271 cat >>confdefs.h <<_ACEOF
29272 #define HAVE_FINITE 1
29273 _ACEOF
29276 done
29278 else
29280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29281 $as_echo_n "checking for _finite declaration... " >&6; }
29282 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29283 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29284 $as_echo_n "(cached) " >&6
29285 else
29288 ac_ext=cpp
29289 ac_cpp='$CXXCPP $CPPFLAGS'
29290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29295 /* end confdefs.h. */
29296 #include <math.h>
29297 #ifdef HAVE_IEEEFP_H
29298 #include <ieeefp.h>
29299 #endif
29302 main ()
29304 _finite(0);
29306 return 0;
29308 _ACEOF
29309 if ac_fn_cxx_try_compile "$LINENO"; then :
29310 glibcxx_cv_func__finite_use=yes
29311 else
29312 glibcxx_cv_func__finite_use=no
29314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29315 ac_ext=c
29316 ac_cpp='$CPP $CPPFLAGS'
29317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29326 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29328 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29329 for ac_func in _finite
29330 do :
29331 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29332 if test "x$ac_cv_func__finite" = x""yes; then :
29333 cat >>confdefs.h <<_ACEOF
29334 #define HAVE__FINITE 1
29335 _ACEOF
29338 done
29347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29348 $as_echo_n "checking for sincos declaration... " >&6; }
29349 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29350 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29351 $as_echo_n "(cached) " >&6
29352 else
29355 ac_ext=cpp
29356 ac_cpp='$CXXCPP $CPPFLAGS'
29357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29362 /* end confdefs.h. */
29363 #include <math.h>
29365 main ()
29367 sincos(0, 0, 0);
29369 return 0;
29371 _ACEOF
29372 if ac_fn_cxx_try_compile "$LINENO"; then :
29373 glibcxx_cv_func_sincos_use=yes
29374 else
29375 glibcxx_cv_func_sincos_use=no
29377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29378 ac_ext=c
29379 ac_cpp='$CPP $CPPFLAGS'
29380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29389 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29391 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29392 for ac_func in sincos
29393 do :
29394 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29395 if test "x$ac_cv_func_sincos" = x""yes; then :
29396 cat >>confdefs.h <<_ACEOF
29397 #define HAVE_SINCOS 1
29398 _ACEOF
29401 done
29403 else
29405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29406 $as_echo_n "checking for _sincos declaration... " >&6; }
29407 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29408 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29409 $as_echo_n "(cached) " >&6
29410 else
29413 ac_ext=cpp
29414 ac_cpp='$CXXCPP $CPPFLAGS'
29415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29420 /* end confdefs.h. */
29421 #include <math.h>
29423 main ()
29425 _sincos(0, 0, 0);
29427 return 0;
29429 _ACEOF
29430 if ac_fn_cxx_try_compile "$LINENO"; then :
29431 glibcxx_cv_func__sincos_use=yes
29432 else
29433 glibcxx_cv_func__sincos_use=no
29435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29436 ac_ext=c
29437 ac_cpp='$CPP $CPPFLAGS'
29438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29447 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29449 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29450 for ac_func in _sincos
29451 do :
29452 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29453 if test "x$ac_cv_func__sincos" = x""yes; then :
29454 cat >>confdefs.h <<_ACEOF
29455 #define HAVE__SINCOS 1
29456 _ACEOF
29459 done
29468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29469 $as_echo_n "checking for fpclass declaration... " >&6; }
29470 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29471 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29472 $as_echo_n "(cached) " >&6
29473 else
29476 ac_ext=cpp
29477 ac_cpp='$CXXCPP $CPPFLAGS'
29478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29483 /* end confdefs.h. */
29484 #include <math.h>
29485 #ifdef HAVE_IEEEFP_H
29486 #include <ieeefp.h>
29487 #endif
29490 main ()
29492 fpclass(0);
29494 return 0;
29496 _ACEOF
29497 if ac_fn_cxx_try_compile "$LINENO"; then :
29498 glibcxx_cv_func_fpclass_use=yes
29499 else
29500 glibcxx_cv_func_fpclass_use=no
29502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29503 ac_ext=c
29504 ac_cpp='$CPP $CPPFLAGS'
29505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29514 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29516 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29517 for ac_func in fpclass
29518 do :
29519 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29520 if test "x$ac_cv_func_fpclass" = x""yes; then :
29521 cat >>confdefs.h <<_ACEOF
29522 #define HAVE_FPCLASS 1
29523 _ACEOF
29526 done
29528 else
29530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29531 $as_echo_n "checking for _fpclass declaration... " >&6; }
29532 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29533 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29534 $as_echo_n "(cached) " >&6
29535 else
29538 ac_ext=cpp
29539 ac_cpp='$CXXCPP $CPPFLAGS'
29540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29545 /* end confdefs.h. */
29546 #include <math.h>
29547 #ifdef HAVE_IEEEFP_H
29548 #include <ieeefp.h>
29549 #endif
29552 main ()
29554 _fpclass(0);
29556 return 0;
29558 _ACEOF
29559 if ac_fn_cxx_try_compile "$LINENO"; then :
29560 glibcxx_cv_func__fpclass_use=yes
29561 else
29562 glibcxx_cv_func__fpclass_use=no
29564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29565 ac_ext=c
29566 ac_cpp='$CPP $CPPFLAGS'
29567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29576 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29578 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29579 for ac_func in _fpclass
29580 do :
29581 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29582 if test "x$ac_cv_func__fpclass" = x""yes; then :
29583 cat >>confdefs.h <<_ACEOF
29584 #define HAVE__FPCLASS 1
29585 _ACEOF
29588 done
29597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29598 $as_echo_n "checking for qfpclass declaration... " >&6; }
29599 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29600 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29601 $as_echo_n "(cached) " >&6
29602 else
29605 ac_ext=cpp
29606 ac_cpp='$CXXCPP $CPPFLAGS'
29607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29612 /* end confdefs.h. */
29613 #include <math.h>
29614 #ifdef HAVE_IEEEFP_H
29615 #include <ieeefp.h>
29616 #endif
29619 main ()
29621 qfpclass(0);
29623 return 0;
29625 _ACEOF
29626 if ac_fn_cxx_try_compile "$LINENO"; then :
29627 glibcxx_cv_func_qfpclass_use=yes
29628 else
29629 glibcxx_cv_func_qfpclass_use=no
29631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29632 ac_ext=c
29633 ac_cpp='$CPP $CPPFLAGS'
29634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29643 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29645 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29646 for ac_func in qfpclass
29647 do :
29648 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29649 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29650 cat >>confdefs.h <<_ACEOF
29651 #define HAVE_QFPCLASS 1
29652 _ACEOF
29655 done
29657 else
29659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29660 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29661 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29662 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29663 $as_echo_n "(cached) " >&6
29664 else
29667 ac_ext=cpp
29668 ac_cpp='$CXXCPP $CPPFLAGS'
29669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29674 /* end confdefs.h. */
29675 #include <math.h>
29676 #ifdef HAVE_IEEEFP_H
29677 #include <ieeefp.h>
29678 #endif
29681 main ()
29683 _qfpclass(0);
29685 return 0;
29687 _ACEOF
29688 if ac_fn_cxx_try_compile "$LINENO"; then :
29689 glibcxx_cv_func__qfpclass_use=yes
29690 else
29691 glibcxx_cv_func__qfpclass_use=no
29693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29694 ac_ext=c
29695 ac_cpp='$CPP $CPPFLAGS'
29696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
29705 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
29707 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29708 for ac_func in _qfpclass
29709 do :
29710 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
29711 if test "x$ac_cv_func__qfpclass" = x""yes; then :
29712 cat >>confdefs.h <<_ACEOF
29713 #define HAVE__QFPCLASS 1
29714 _ACEOF
29717 done
29726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29727 $as_echo_n "checking for hypot declaration... " >&6; }
29728 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29729 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29730 $as_echo_n "(cached) " >&6
29731 else
29734 ac_ext=cpp
29735 ac_cpp='$CXXCPP $CPPFLAGS'
29736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29741 /* end confdefs.h. */
29742 #include <math.h>
29744 main ()
29746 hypot(0, 0);
29748 return 0;
29750 _ACEOF
29751 if ac_fn_cxx_try_compile "$LINENO"; then :
29752 glibcxx_cv_func_hypot_use=yes
29753 else
29754 glibcxx_cv_func_hypot_use=no
29756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29757 ac_ext=c
29758 ac_cpp='$CPP $CPPFLAGS'
29759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29768 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29770 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29771 for ac_func in hypot
29772 do :
29773 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29774 if test "x$ac_cv_func_hypot" = x""yes; then :
29775 cat >>confdefs.h <<_ACEOF
29776 #define HAVE_HYPOT 1
29777 _ACEOF
29780 done
29782 else
29784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29785 $as_echo_n "checking for _hypot declaration... " >&6; }
29786 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29787 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29788 $as_echo_n "(cached) " >&6
29789 else
29792 ac_ext=cpp
29793 ac_cpp='$CXXCPP $CPPFLAGS'
29794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29799 /* end confdefs.h. */
29800 #include <math.h>
29802 main ()
29804 _hypot(0, 0);
29806 return 0;
29808 _ACEOF
29809 if ac_fn_cxx_try_compile "$LINENO"; then :
29810 glibcxx_cv_func__hypot_use=yes
29811 else
29812 glibcxx_cv_func__hypot_use=no
29814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29815 ac_ext=c
29816 ac_cpp='$CPP $CPPFLAGS'
29817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29826 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29828 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29829 for ac_func in _hypot
29830 do :
29831 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29832 if test "x$ac_cv_func__hypot" = x""yes; then :
29833 cat >>confdefs.h <<_ACEOF
29834 #define HAVE__HYPOT 1
29835 _ACEOF
29838 done
29847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29848 $as_echo_n "checking for float trig functions... " >&6; }
29849 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29850 $as_echo_n "(cached) " >&6
29851 else
29854 ac_ext=cpp
29855 ac_cpp='$CXXCPP $CPPFLAGS'
29856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29861 /* end confdefs.h. */
29862 #include <math.h>
29864 main ()
29866 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29868 return 0;
29870 _ACEOF
29871 if ac_fn_cxx_try_compile "$LINENO"; then :
29872 glibcxx_cv_func_float_trig_use=yes
29873 else
29874 glibcxx_cv_func_float_trig_use=no
29876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29877 ac_ext=c
29878 ac_cpp='$CPP $CPPFLAGS'
29879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29886 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29887 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29888 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29889 do :
29890 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29891 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29892 eval as_val=\$$as_ac_var
29893 if test "x$as_val" = x""yes; then :
29894 cat >>confdefs.h <<_ACEOF
29895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29896 _ACEOF
29899 done
29901 else
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29903 $as_echo_n "checking for _float trig functions... " >&6; }
29904 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29905 $as_echo_n "(cached) " >&6
29906 else
29909 ac_ext=cpp
29910 ac_cpp='$CXXCPP $CPPFLAGS'
29911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29916 /* end confdefs.h. */
29917 #include <math.h>
29919 main ()
29921 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29923 return 0;
29925 _ACEOF
29926 if ac_fn_cxx_try_compile "$LINENO"; then :
29927 glibcxx_cv_func__float_trig_use=yes
29928 else
29929 glibcxx_cv_func__float_trig_use=no
29931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29932 ac_ext=c
29933 ac_cpp='$CPP $CPPFLAGS'
29934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29941 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29942 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29943 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29944 do :
29945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29946 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29947 eval as_val=\$$as_ac_var
29948 if test "x$as_val" = x""yes; then :
29949 cat >>confdefs.h <<_ACEOF
29950 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29951 _ACEOF
29954 done
29963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29964 $as_echo_n "checking for float round functions... " >&6; }
29965 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29966 $as_echo_n "(cached) " >&6
29967 else
29970 ac_ext=cpp
29971 ac_cpp='$CXXCPP $CPPFLAGS'
29972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29977 /* end confdefs.h. */
29978 #include <math.h>
29980 main ()
29982 ceilf (0); floorf (0);
29984 return 0;
29986 _ACEOF
29987 if ac_fn_cxx_try_compile "$LINENO"; then :
29988 glibcxx_cv_func_float_round_use=yes
29989 else
29990 glibcxx_cv_func_float_round_use=no
29992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29993 ac_ext=c
29994 ac_cpp='$CPP $CPPFLAGS'
29995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30002 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30003 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30004 for ac_func in ceilf floorf
30005 do :
30006 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30007 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30008 eval as_val=\$$as_ac_var
30009 if test "x$as_val" = x""yes; then :
30010 cat >>confdefs.h <<_ACEOF
30011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30012 _ACEOF
30015 done
30017 else
30018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30019 $as_echo_n "checking for _float round functions... " >&6; }
30020 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30021 $as_echo_n "(cached) " >&6
30022 else
30025 ac_ext=cpp
30026 ac_cpp='$CXXCPP $CPPFLAGS'
30027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30032 /* end confdefs.h. */
30033 #include <math.h>
30035 main ()
30037 _ceilf (0); _floorf (0);
30039 return 0;
30041 _ACEOF
30042 if ac_fn_cxx_try_compile "$LINENO"; then :
30043 glibcxx_cv_func__float_round_use=yes
30044 else
30045 glibcxx_cv_func__float_round_use=no
30047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30048 ac_ext=c
30049 ac_cpp='$CPP $CPPFLAGS'
30050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30057 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30058 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30059 for ac_func in _ceilf _floorf
30060 do :
30061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30063 eval as_val=\$$as_ac_var
30064 if test "x$as_val" = x""yes; then :
30065 cat >>confdefs.h <<_ACEOF
30066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30067 _ACEOF
30070 done
30080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30081 $as_echo_n "checking for expf declaration... " >&6; }
30082 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30083 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30084 $as_echo_n "(cached) " >&6
30085 else
30088 ac_ext=cpp
30089 ac_cpp='$CXXCPP $CPPFLAGS'
30090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30095 /* end confdefs.h. */
30096 #include <math.h>
30097 #ifdef HAVE_IEEEFP_H
30098 #include <ieeefp.h>
30099 #endif
30102 main ()
30104 expf(0);
30106 return 0;
30108 _ACEOF
30109 if ac_fn_cxx_try_compile "$LINENO"; then :
30110 glibcxx_cv_func_expf_use=yes
30111 else
30112 glibcxx_cv_func_expf_use=no
30114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30115 ac_ext=c
30116 ac_cpp='$CPP $CPPFLAGS'
30117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30126 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30128 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30129 for ac_func in expf
30130 do :
30131 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30132 if test "x$ac_cv_func_expf" = x""yes; then :
30133 cat >>confdefs.h <<_ACEOF
30134 #define HAVE_EXPF 1
30135 _ACEOF
30138 done
30140 else
30142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30143 $as_echo_n "checking for _expf declaration... " >&6; }
30144 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30145 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30146 $as_echo_n "(cached) " >&6
30147 else
30150 ac_ext=cpp
30151 ac_cpp='$CXXCPP $CPPFLAGS'
30152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30157 /* end confdefs.h. */
30158 #include <math.h>
30159 #ifdef HAVE_IEEEFP_H
30160 #include <ieeefp.h>
30161 #endif
30164 main ()
30166 _expf(0);
30168 return 0;
30170 _ACEOF
30171 if ac_fn_cxx_try_compile "$LINENO"; then :
30172 glibcxx_cv_func__expf_use=yes
30173 else
30174 glibcxx_cv_func__expf_use=no
30176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30177 ac_ext=c
30178 ac_cpp='$CPP $CPPFLAGS'
30179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30188 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30190 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30191 for ac_func in _expf
30192 do :
30193 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30194 if test "x$ac_cv_func__expf" = x""yes; then :
30195 cat >>confdefs.h <<_ACEOF
30196 #define HAVE__EXPF 1
30197 _ACEOF
30200 done
30209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30210 $as_echo_n "checking for isnanf declaration... " >&6; }
30211 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30212 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30213 $as_echo_n "(cached) " >&6
30214 else
30217 ac_ext=cpp
30218 ac_cpp='$CXXCPP $CPPFLAGS'
30219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30224 /* end confdefs.h. */
30225 #include <math.h>
30226 #ifdef HAVE_IEEEFP_H
30227 #include <ieeefp.h>
30228 #endif
30231 main ()
30233 isnanf(0);
30235 return 0;
30237 _ACEOF
30238 if ac_fn_cxx_try_compile "$LINENO"; then :
30239 glibcxx_cv_func_isnanf_use=yes
30240 else
30241 glibcxx_cv_func_isnanf_use=no
30243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30244 ac_ext=c
30245 ac_cpp='$CPP $CPPFLAGS'
30246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30255 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30257 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30258 for ac_func in isnanf
30259 do :
30260 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30261 if test "x$ac_cv_func_isnanf" = x""yes; then :
30262 cat >>confdefs.h <<_ACEOF
30263 #define HAVE_ISNANF 1
30264 _ACEOF
30267 done
30269 else
30271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30272 $as_echo_n "checking for _isnanf declaration... " >&6; }
30273 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30274 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30275 $as_echo_n "(cached) " >&6
30276 else
30279 ac_ext=cpp
30280 ac_cpp='$CXXCPP $CPPFLAGS'
30281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30286 /* end confdefs.h. */
30287 #include <math.h>
30288 #ifdef HAVE_IEEEFP_H
30289 #include <ieeefp.h>
30290 #endif
30293 main ()
30295 _isnanf(0);
30297 return 0;
30299 _ACEOF
30300 if ac_fn_cxx_try_compile "$LINENO"; then :
30301 glibcxx_cv_func__isnanf_use=yes
30302 else
30303 glibcxx_cv_func__isnanf_use=no
30305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30306 ac_ext=c
30307 ac_cpp='$CPP $CPPFLAGS'
30308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30317 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30319 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30320 for ac_func in _isnanf
30321 do :
30322 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30323 if test "x$ac_cv_func__isnanf" = x""yes; then :
30324 cat >>confdefs.h <<_ACEOF
30325 #define HAVE__ISNANF 1
30326 _ACEOF
30329 done
30338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30339 $as_echo_n "checking for isinff declaration... " >&6; }
30340 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30341 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30342 $as_echo_n "(cached) " >&6
30343 else
30346 ac_ext=cpp
30347 ac_cpp='$CXXCPP $CPPFLAGS'
30348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30353 /* end confdefs.h. */
30354 #include <math.h>
30355 #ifdef HAVE_IEEEFP_H
30356 #include <ieeefp.h>
30357 #endif
30360 main ()
30362 isinff(0);
30364 return 0;
30366 _ACEOF
30367 if ac_fn_cxx_try_compile "$LINENO"; then :
30368 glibcxx_cv_func_isinff_use=yes
30369 else
30370 glibcxx_cv_func_isinff_use=no
30372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30373 ac_ext=c
30374 ac_cpp='$CPP $CPPFLAGS'
30375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30384 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30386 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30387 for ac_func in isinff
30388 do :
30389 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30390 if test "x$ac_cv_func_isinff" = x""yes; then :
30391 cat >>confdefs.h <<_ACEOF
30392 #define HAVE_ISINFF 1
30393 _ACEOF
30396 done
30398 else
30400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30401 $as_echo_n "checking for _isinff declaration... " >&6; }
30402 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30403 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30404 $as_echo_n "(cached) " >&6
30405 else
30408 ac_ext=cpp
30409 ac_cpp='$CXXCPP $CPPFLAGS'
30410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30415 /* end confdefs.h. */
30416 #include <math.h>
30417 #ifdef HAVE_IEEEFP_H
30418 #include <ieeefp.h>
30419 #endif
30422 main ()
30424 _isinff(0);
30426 return 0;
30428 _ACEOF
30429 if ac_fn_cxx_try_compile "$LINENO"; then :
30430 glibcxx_cv_func__isinff_use=yes
30431 else
30432 glibcxx_cv_func__isinff_use=no
30434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30435 ac_ext=c
30436 ac_cpp='$CPP $CPPFLAGS'
30437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30446 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30448 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30449 for ac_func in _isinff
30450 do :
30451 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30452 if test "x$ac_cv_func__isinff" = x""yes; then :
30453 cat >>confdefs.h <<_ACEOF
30454 #define HAVE__ISINFF 1
30455 _ACEOF
30458 done
30467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30468 $as_echo_n "checking for atan2f declaration... " >&6; }
30469 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30470 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30471 $as_echo_n "(cached) " >&6
30472 else
30475 ac_ext=cpp
30476 ac_cpp='$CXXCPP $CPPFLAGS'
30477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30482 /* end confdefs.h. */
30483 #include <math.h>
30485 main ()
30487 atan2f(0, 0);
30489 return 0;
30491 _ACEOF
30492 if ac_fn_cxx_try_compile "$LINENO"; then :
30493 glibcxx_cv_func_atan2f_use=yes
30494 else
30495 glibcxx_cv_func_atan2f_use=no
30497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30498 ac_ext=c
30499 ac_cpp='$CPP $CPPFLAGS'
30500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30509 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30511 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30512 for ac_func in atan2f
30513 do :
30514 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30515 if test "x$ac_cv_func_atan2f" = x""yes; then :
30516 cat >>confdefs.h <<_ACEOF
30517 #define HAVE_ATAN2F 1
30518 _ACEOF
30521 done
30523 else
30525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30526 $as_echo_n "checking for _atan2f declaration... " >&6; }
30527 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30528 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30529 $as_echo_n "(cached) " >&6
30530 else
30533 ac_ext=cpp
30534 ac_cpp='$CXXCPP $CPPFLAGS'
30535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30540 /* end confdefs.h. */
30541 #include <math.h>
30543 main ()
30545 _atan2f(0, 0);
30547 return 0;
30549 _ACEOF
30550 if ac_fn_cxx_try_compile "$LINENO"; then :
30551 glibcxx_cv_func__atan2f_use=yes
30552 else
30553 glibcxx_cv_func__atan2f_use=no
30555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30556 ac_ext=c
30557 ac_cpp='$CPP $CPPFLAGS'
30558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30567 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30569 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30570 for ac_func in _atan2f
30571 do :
30572 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30573 if test "x$ac_cv_func__atan2f" = x""yes; then :
30574 cat >>confdefs.h <<_ACEOF
30575 #define HAVE__ATAN2F 1
30576 _ACEOF
30579 done
30588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30589 $as_echo_n "checking for fabsf declaration... " >&6; }
30590 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30591 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30592 $as_echo_n "(cached) " >&6
30593 else
30596 ac_ext=cpp
30597 ac_cpp='$CXXCPP $CPPFLAGS'
30598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30603 /* end confdefs.h. */
30604 #include <math.h>
30605 #ifdef HAVE_IEEEFP_H
30606 #include <ieeefp.h>
30607 #endif
30610 main ()
30612 fabsf(0);
30614 return 0;
30616 _ACEOF
30617 if ac_fn_cxx_try_compile "$LINENO"; then :
30618 glibcxx_cv_func_fabsf_use=yes
30619 else
30620 glibcxx_cv_func_fabsf_use=no
30622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30623 ac_ext=c
30624 ac_cpp='$CPP $CPPFLAGS'
30625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30634 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30636 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30637 for ac_func in fabsf
30638 do :
30639 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30640 if test "x$ac_cv_func_fabsf" = x""yes; then :
30641 cat >>confdefs.h <<_ACEOF
30642 #define HAVE_FABSF 1
30643 _ACEOF
30646 done
30648 else
30650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30651 $as_echo_n "checking for _fabsf declaration... " >&6; }
30652 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30653 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30654 $as_echo_n "(cached) " >&6
30655 else
30658 ac_ext=cpp
30659 ac_cpp='$CXXCPP $CPPFLAGS'
30660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30665 /* end confdefs.h. */
30666 #include <math.h>
30667 #ifdef HAVE_IEEEFP_H
30668 #include <ieeefp.h>
30669 #endif
30672 main ()
30674 _fabsf(0);
30676 return 0;
30678 _ACEOF
30679 if ac_fn_cxx_try_compile "$LINENO"; then :
30680 glibcxx_cv_func__fabsf_use=yes
30681 else
30682 glibcxx_cv_func__fabsf_use=no
30684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30685 ac_ext=c
30686 ac_cpp='$CPP $CPPFLAGS'
30687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
30696 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
30698 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
30699 for ac_func in _fabsf
30700 do :
30701 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
30702 if test "x$ac_cv_func__fabsf" = x""yes; then :
30703 cat >>confdefs.h <<_ACEOF
30704 #define HAVE__FABSF 1
30705 _ACEOF
30708 done
30717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30718 $as_echo_n "checking for fmodf declaration... " >&6; }
30719 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30720 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
30721 $as_echo_n "(cached) " >&6
30722 else
30725 ac_ext=cpp
30726 ac_cpp='$CXXCPP $CPPFLAGS'
30727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30732 /* end confdefs.h. */
30733 #include <math.h>
30735 main ()
30737 fmodf(0, 0);
30739 return 0;
30741 _ACEOF
30742 if ac_fn_cxx_try_compile "$LINENO"; then :
30743 glibcxx_cv_func_fmodf_use=yes
30744 else
30745 glibcxx_cv_func_fmodf_use=no
30747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30748 ac_ext=c
30749 ac_cpp='$CPP $CPPFLAGS'
30750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
30759 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30761 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30762 for ac_func in fmodf
30763 do :
30764 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30765 if test "x$ac_cv_func_fmodf" = x""yes; then :
30766 cat >>confdefs.h <<_ACEOF
30767 #define HAVE_FMODF 1
30768 _ACEOF
30771 done
30773 else
30775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30776 $as_echo_n "checking for _fmodf declaration... " >&6; }
30777 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30778 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30779 $as_echo_n "(cached) " >&6
30780 else
30783 ac_ext=cpp
30784 ac_cpp='$CXXCPP $CPPFLAGS'
30785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30790 /* end confdefs.h. */
30791 #include <math.h>
30793 main ()
30795 _fmodf(0, 0);
30797 return 0;
30799 _ACEOF
30800 if ac_fn_cxx_try_compile "$LINENO"; then :
30801 glibcxx_cv_func__fmodf_use=yes
30802 else
30803 glibcxx_cv_func__fmodf_use=no
30805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30806 ac_ext=c
30807 ac_cpp='$CPP $CPPFLAGS'
30808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30817 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30819 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30820 for ac_func in _fmodf
30821 do :
30822 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30823 if test "x$ac_cv_func__fmodf" = x""yes; then :
30824 cat >>confdefs.h <<_ACEOF
30825 #define HAVE__FMODF 1
30826 _ACEOF
30829 done
30838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30839 $as_echo_n "checking for frexpf declaration... " >&6; }
30840 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30841 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30842 $as_echo_n "(cached) " >&6
30843 else
30846 ac_ext=cpp
30847 ac_cpp='$CXXCPP $CPPFLAGS'
30848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30853 /* end confdefs.h. */
30854 #include <math.h>
30856 main ()
30858 frexpf(0, 0);
30860 return 0;
30862 _ACEOF
30863 if ac_fn_cxx_try_compile "$LINENO"; then :
30864 glibcxx_cv_func_frexpf_use=yes
30865 else
30866 glibcxx_cv_func_frexpf_use=no
30868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30869 ac_ext=c
30870 ac_cpp='$CPP $CPPFLAGS'
30871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30880 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30882 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30883 for ac_func in frexpf
30884 do :
30885 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30886 if test "x$ac_cv_func_frexpf" = x""yes; then :
30887 cat >>confdefs.h <<_ACEOF
30888 #define HAVE_FREXPF 1
30889 _ACEOF
30892 done
30894 else
30896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30897 $as_echo_n "checking for _frexpf declaration... " >&6; }
30898 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30899 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30900 $as_echo_n "(cached) " >&6
30901 else
30904 ac_ext=cpp
30905 ac_cpp='$CXXCPP $CPPFLAGS'
30906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30911 /* end confdefs.h. */
30912 #include <math.h>
30914 main ()
30916 _frexpf(0, 0);
30918 return 0;
30920 _ACEOF
30921 if ac_fn_cxx_try_compile "$LINENO"; then :
30922 glibcxx_cv_func__frexpf_use=yes
30923 else
30924 glibcxx_cv_func__frexpf_use=no
30926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30927 ac_ext=c
30928 ac_cpp='$CPP $CPPFLAGS'
30929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30938 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30940 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30941 for ac_func in _frexpf
30942 do :
30943 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30944 if test "x$ac_cv_func__frexpf" = x""yes; then :
30945 cat >>confdefs.h <<_ACEOF
30946 #define HAVE__FREXPF 1
30947 _ACEOF
30950 done
30959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30960 $as_echo_n "checking for hypotf declaration... " >&6; }
30961 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30962 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30963 $as_echo_n "(cached) " >&6
30964 else
30967 ac_ext=cpp
30968 ac_cpp='$CXXCPP $CPPFLAGS'
30969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30974 /* end confdefs.h. */
30975 #include <math.h>
30977 main ()
30979 hypotf(0, 0);
30981 return 0;
30983 _ACEOF
30984 if ac_fn_cxx_try_compile "$LINENO"; then :
30985 glibcxx_cv_func_hypotf_use=yes
30986 else
30987 glibcxx_cv_func_hypotf_use=no
30989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30990 ac_ext=c
30991 ac_cpp='$CPP $CPPFLAGS'
30992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31001 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31003 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31004 for ac_func in hypotf
31005 do :
31006 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31007 if test "x$ac_cv_func_hypotf" = x""yes; then :
31008 cat >>confdefs.h <<_ACEOF
31009 #define HAVE_HYPOTF 1
31010 _ACEOF
31013 done
31015 else
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31018 $as_echo_n "checking for _hypotf declaration... " >&6; }
31019 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31020 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31021 $as_echo_n "(cached) " >&6
31022 else
31025 ac_ext=cpp
31026 ac_cpp='$CXXCPP $CPPFLAGS'
31027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31032 /* end confdefs.h. */
31033 #include <math.h>
31035 main ()
31037 _hypotf(0, 0);
31039 return 0;
31041 _ACEOF
31042 if ac_fn_cxx_try_compile "$LINENO"; then :
31043 glibcxx_cv_func__hypotf_use=yes
31044 else
31045 glibcxx_cv_func__hypotf_use=no
31047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31048 ac_ext=c
31049 ac_cpp='$CPP $CPPFLAGS'
31050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31059 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31061 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31062 for ac_func in _hypotf
31063 do :
31064 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31065 if test "x$ac_cv_func__hypotf" = x""yes; then :
31066 cat >>confdefs.h <<_ACEOF
31067 #define HAVE__HYPOTF 1
31068 _ACEOF
31071 done
31080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31081 $as_echo_n "checking for ldexpf declaration... " >&6; }
31082 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31083 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31084 $as_echo_n "(cached) " >&6
31085 else
31088 ac_ext=cpp
31089 ac_cpp='$CXXCPP $CPPFLAGS'
31090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31095 /* end confdefs.h. */
31096 #include <math.h>
31098 main ()
31100 ldexpf(0, 0);
31102 return 0;
31104 _ACEOF
31105 if ac_fn_cxx_try_compile "$LINENO"; then :
31106 glibcxx_cv_func_ldexpf_use=yes
31107 else
31108 glibcxx_cv_func_ldexpf_use=no
31110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31111 ac_ext=c
31112 ac_cpp='$CPP $CPPFLAGS'
31113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31122 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31124 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31125 for ac_func in ldexpf
31126 do :
31127 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31128 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31129 cat >>confdefs.h <<_ACEOF
31130 #define HAVE_LDEXPF 1
31131 _ACEOF
31134 done
31136 else
31138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31139 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31140 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31141 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31142 $as_echo_n "(cached) " >&6
31143 else
31146 ac_ext=cpp
31147 ac_cpp='$CXXCPP $CPPFLAGS'
31148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31153 /* end confdefs.h. */
31154 #include <math.h>
31156 main ()
31158 _ldexpf(0, 0);
31160 return 0;
31162 _ACEOF
31163 if ac_fn_cxx_try_compile "$LINENO"; then :
31164 glibcxx_cv_func__ldexpf_use=yes
31165 else
31166 glibcxx_cv_func__ldexpf_use=no
31168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31169 ac_ext=c
31170 ac_cpp='$CPP $CPPFLAGS'
31171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31180 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31182 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31183 for ac_func in _ldexpf
31184 do :
31185 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31186 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31187 cat >>confdefs.h <<_ACEOF
31188 #define HAVE__LDEXPF 1
31189 _ACEOF
31192 done
31201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31202 $as_echo_n "checking for logf declaration... " >&6; }
31203 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31204 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31205 $as_echo_n "(cached) " >&6
31206 else
31209 ac_ext=cpp
31210 ac_cpp='$CXXCPP $CPPFLAGS'
31211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31216 /* end confdefs.h. */
31217 #include <math.h>
31218 #ifdef HAVE_IEEEFP_H
31219 #include <ieeefp.h>
31220 #endif
31223 main ()
31225 logf(0);
31227 return 0;
31229 _ACEOF
31230 if ac_fn_cxx_try_compile "$LINENO"; then :
31231 glibcxx_cv_func_logf_use=yes
31232 else
31233 glibcxx_cv_func_logf_use=no
31235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31236 ac_ext=c
31237 ac_cpp='$CPP $CPPFLAGS'
31238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31247 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31249 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31250 for ac_func in logf
31251 do :
31252 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31253 if test "x$ac_cv_func_logf" = x""yes; then :
31254 cat >>confdefs.h <<_ACEOF
31255 #define HAVE_LOGF 1
31256 _ACEOF
31259 done
31261 else
31263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31264 $as_echo_n "checking for _logf declaration... " >&6; }
31265 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31266 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31267 $as_echo_n "(cached) " >&6
31268 else
31271 ac_ext=cpp
31272 ac_cpp='$CXXCPP $CPPFLAGS'
31273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31278 /* end confdefs.h. */
31279 #include <math.h>
31280 #ifdef HAVE_IEEEFP_H
31281 #include <ieeefp.h>
31282 #endif
31285 main ()
31287 _logf(0);
31289 return 0;
31291 _ACEOF
31292 if ac_fn_cxx_try_compile "$LINENO"; then :
31293 glibcxx_cv_func__logf_use=yes
31294 else
31295 glibcxx_cv_func__logf_use=no
31297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31298 ac_ext=c
31299 ac_cpp='$CPP $CPPFLAGS'
31300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31309 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31311 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31312 for ac_func in _logf
31313 do :
31314 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31315 if test "x$ac_cv_func__logf" = x""yes; then :
31316 cat >>confdefs.h <<_ACEOF
31317 #define HAVE__LOGF 1
31318 _ACEOF
31321 done
31330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31331 $as_echo_n "checking for log10f declaration... " >&6; }
31332 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31333 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31334 $as_echo_n "(cached) " >&6
31335 else
31338 ac_ext=cpp
31339 ac_cpp='$CXXCPP $CPPFLAGS'
31340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31345 /* end confdefs.h. */
31346 #include <math.h>
31347 #ifdef HAVE_IEEEFP_H
31348 #include <ieeefp.h>
31349 #endif
31352 main ()
31354 log10f(0);
31356 return 0;
31358 _ACEOF
31359 if ac_fn_cxx_try_compile "$LINENO"; then :
31360 glibcxx_cv_func_log10f_use=yes
31361 else
31362 glibcxx_cv_func_log10f_use=no
31364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31365 ac_ext=c
31366 ac_cpp='$CPP $CPPFLAGS'
31367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31376 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31378 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31379 for ac_func in log10f
31380 do :
31381 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31382 if test "x$ac_cv_func_log10f" = x""yes; then :
31383 cat >>confdefs.h <<_ACEOF
31384 #define HAVE_LOG10F 1
31385 _ACEOF
31388 done
31390 else
31392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31393 $as_echo_n "checking for _log10f declaration... " >&6; }
31394 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31395 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31396 $as_echo_n "(cached) " >&6
31397 else
31400 ac_ext=cpp
31401 ac_cpp='$CXXCPP $CPPFLAGS'
31402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31407 /* end confdefs.h. */
31408 #include <math.h>
31409 #ifdef HAVE_IEEEFP_H
31410 #include <ieeefp.h>
31411 #endif
31414 main ()
31416 _log10f(0);
31418 return 0;
31420 _ACEOF
31421 if ac_fn_cxx_try_compile "$LINENO"; then :
31422 glibcxx_cv_func__log10f_use=yes
31423 else
31424 glibcxx_cv_func__log10f_use=no
31426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31427 ac_ext=c
31428 ac_cpp='$CPP $CPPFLAGS'
31429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31438 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31440 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31441 for ac_func in _log10f
31442 do :
31443 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31444 if test "x$ac_cv_func__log10f" = x""yes; then :
31445 cat >>confdefs.h <<_ACEOF
31446 #define HAVE__LOG10F 1
31447 _ACEOF
31450 done
31459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31460 $as_echo_n "checking for modff declaration... " >&6; }
31461 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31462 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31463 $as_echo_n "(cached) " >&6
31464 else
31467 ac_ext=cpp
31468 ac_cpp='$CXXCPP $CPPFLAGS'
31469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31474 /* end confdefs.h. */
31475 #include <math.h>
31477 main ()
31479 modff(0, 0);
31481 return 0;
31483 _ACEOF
31484 if ac_fn_cxx_try_compile "$LINENO"; then :
31485 glibcxx_cv_func_modff_use=yes
31486 else
31487 glibcxx_cv_func_modff_use=no
31489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31490 ac_ext=c
31491 ac_cpp='$CPP $CPPFLAGS'
31492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31501 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31503 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31504 for ac_func in modff
31505 do :
31506 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31507 if test "x$ac_cv_func_modff" = x""yes; then :
31508 cat >>confdefs.h <<_ACEOF
31509 #define HAVE_MODFF 1
31510 _ACEOF
31513 done
31515 else
31517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31518 $as_echo_n "checking for _modff declaration... " >&6; }
31519 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31520 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31521 $as_echo_n "(cached) " >&6
31522 else
31525 ac_ext=cpp
31526 ac_cpp='$CXXCPP $CPPFLAGS'
31527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31532 /* end confdefs.h. */
31533 #include <math.h>
31535 main ()
31537 _modff(0, 0);
31539 return 0;
31541 _ACEOF
31542 if ac_fn_cxx_try_compile "$LINENO"; then :
31543 glibcxx_cv_func__modff_use=yes
31544 else
31545 glibcxx_cv_func__modff_use=no
31547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31548 ac_ext=c
31549 ac_cpp='$CPP $CPPFLAGS'
31550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31559 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31561 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31562 for ac_func in _modff
31563 do :
31564 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31565 if test "x$ac_cv_func__modff" = x""yes; then :
31566 cat >>confdefs.h <<_ACEOF
31567 #define HAVE__MODFF 1
31568 _ACEOF
31571 done
31580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31581 $as_echo_n "checking for modf declaration... " >&6; }
31582 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31583 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31584 $as_echo_n "(cached) " >&6
31585 else
31588 ac_ext=cpp
31589 ac_cpp='$CXXCPP $CPPFLAGS'
31590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31595 /* end confdefs.h. */
31596 #include <math.h>
31598 main ()
31600 modf(0, 0);
31602 return 0;
31604 _ACEOF
31605 if ac_fn_cxx_try_compile "$LINENO"; then :
31606 glibcxx_cv_func_modf_use=yes
31607 else
31608 glibcxx_cv_func_modf_use=no
31610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31611 ac_ext=c
31612 ac_cpp='$CPP $CPPFLAGS'
31613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31622 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31624 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31625 for ac_func in modf
31626 do :
31627 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31628 if test "x$ac_cv_func_modf" = x""yes; then :
31629 cat >>confdefs.h <<_ACEOF
31630 #define HAVE_MODF 1
31631 _ACEOF
31634 done
31636 else
31638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31639 $as_echo_n "checking for _modf declaration... " >&6; }
31640 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31641 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31642 $as_echo_n "(cached) " >&6
31643 else
31646 ac_ext=cpp
31647 ac_cpp='$CXXCPP $CPPFLAGS'
31648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31653 /* end confdefs.h. */
31654 #include <math.h>
31656 main ()
31658 _modf(0, 0);
31660 return 0;
31662 _ACEOF
31663 if ac_fn_cxx_try_compile "$LINENO"; then :
31664 glibcxx_cv_func__modf_use=yes
31665 else
31666 glibcxx_cv_func__modf_use=no
31668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31669 ac_ext=c
31670 ac_cpp='$CPP $CPPFLAGS'
31671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31680 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31682 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31683 for ac_func in _modf
31684 do :
31685 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31686 if test "x$ac_cv_func__modf" = x""yes; then :
31687 cat >>confdefs.h <<_ACEOF
31688 #define HAVE__MODF 1
31689 _ACEOF
31692 done
31701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
31702 $as_echo_n "checking for powf declaration... " >&6; }
31703 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31704 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
31705 $as_echo_n "(cached) " >&6
31706 else
31709 ac_ext=cpp
31710 ac_cpp='$CXXCPP $CPPFLAGS'
31711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31716 /* end confdefs.h. */
31717 #include <math.h>
31719 main ()
31721 powf(0, 0);
31723 return 0;
31725 _ACEOF
31726 if ac_fn_cxx_try_compile "$LINENO"; then :
31727 glibcxx_cv_func_powf_use=yes
31728 else
31729 glibcxx_cv_func_powf_use=no
31731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31732 ac_ext=c
31733 ac_cpp='$CPP $CPPFLAGS'
31734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31743 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31745 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31746 for ac_func in powf
31747 do :
31748 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31749 if test "x$ac_cv_func_powf" = x""yes; then :
31750 cat >>confdefs.h <<_ACEOF
31751 #define HAVE_POWF 1
31752 _ACEOF
31755 done
31757 else
31759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31760 $as_echo_n "checking for _powf declaration... " >&6; }
31761 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31762 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31763 $as_echo_n "(cached) " >&6
31764 else
31767 ac_ext=cpp
31768 ac_cpp='$CXXCPP $CPPFLAGS'
31769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31774 /* end confdefs.h. */
31775 #include <math.h>
31777 main ()
31779 _powf(0, 0);
31781 return 0;
31783 _ACEOF
31784 if ac_fn_cxx_try_compile "$LINENO"; then :
31785 glibcxx_cv_func__powf_use=yes
31786 else
31787 glibcxx_cv_func__powf_use=no
31789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31790 ac_ext=c
31791 ac_cpp='$CPP $CPPFLAGS'
31792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31801 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31803 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31804 for ac_func in _powf
31805 do :
31806 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31807 if test "x$ac_cv_func__powf" = x""yes; then :
31808 cat >>confdefs.h <<_ACEOF
31809 #define HAVE__POWF 1
31810 _ACEOF
31813 done
31822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31823 $as_echo_n "checking for sqrtf declaration... " >&6; }
31824 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31825 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31826 $as_echo_n "(cached) " >&6
31827 else
31830 ac_ext=cpp
31831 ac_cpp='$CXXCPP $CPPFLAGS'
31832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31837 /* end confdefs.h. */
31838 #include <math.h>
31839 #ifdef HAVE_IEEEFP_H
31840 #include <ieeefp.h>
31841 #endif
31844 main ()
31846 sqrtf(0);
31848 return 0;
31850 _ACEOF
31851 if ac_fn_cxx_try_compile "$LINENO"; then :
31852 glibcxx_cv_func_sqrtf_use=yes
31853 else
31854 glibcxx_cv_func_sqrtf_use=no
31856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31857 ac_ext=c
31858 ac_cpp='$CPP $CPPFLAGS'
31859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31868 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31870 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31871 for ac_func in sqrtf
31872 do :
31873 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31874 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31875 cat >>confdefs.h <<_ACEOF
31876 #define HAVE_SQRTF 1
31877 _ACEOF
31880 done
31882 else
31884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31885 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31886 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31887 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31888 $as_echo_n "(cached) " >&6
31889 else
31892 ac_ext=cpp
31893 ac_cpp='$CXXCPP $CPPFLAGS'
31894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31899 /* end confdefs.h. */
31900 #include <math.h>
31901 #ifdef HAVE_IEEEFP_H
31902 #include <ieeefp.h>
31903 #endif
31906 main ()
31908 _sqrtf(0);
31910 return 0;
31912 _ACEOF
31913 if ac_fn_cxx_try_compile "$LINENO"; then :
31914 glibcxx_cv_func__sqrtf_use=yes
31915 else
31916 glibcxx_cv_func__sqrtf_use=no
31918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31919 ac_ext=c
31920 ac_cpp='$CPP $CPPFLAGS'
31921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31930 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31932 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31933 for ac_func in _sqrtf
31934 do :
31935 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31936 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31937 cat >>confdefs.h <<_ACEOF
31938 #define HAVE__SQRTF 1
31939 _ACEOF
31942 done
31951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31952 $as_echo_n "checking for sincosf declaration... " >&6; }
31953 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31954 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31955 $as_echo_n "(cached) " >&6
31956 else
31959 ac_ext=cpp
31960 ac_cpp='$CXXCPP $CPPFLAGS'
31961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31966 /* end confdefs.h. */
31967 #include <math.h>
31969 main ()
31971 sincosf(0, 0, 0);
31973 return 0;
31975 _ACEOF
31976 if ac_fn_cxx_try_compile "$LINENO"; then :
31977 glibcxx_cv_func_sincosf_use=yes
31978 else
31979 glibcxx_cv_func_sincosf_use=no
31981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31982 ac_ext=c
31983 ac_cpp='$CPP $CPPFLAGS'
31984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31993 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31995 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31996 for ac_func in sincosf
31997 do :
31998 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31999 if test "x$ac_cv_func_sincosf" = x""yes; then :
32000 cat >>confdefs.h <<_ACEOF
32001 #define HAVE_SINCOSF 1
32002 _ACEOF
32005 done
32007 else
32009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32010 $as_echo_n "checking for _sincosf declaration... " >&6; }
32011 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32012 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32013 $as_echo_n "(cached) " >&6
32014 else
32017 ac_ext=cpp
32018 ac_cpp='$CXXCPP $CPPFLAGS'
32019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32024 /* end confdefs.h. */
32025 #include <math.h>
32027 main ()
32029 _sincosf(0, 0, 0);
32031 return 0;
32033 _ACEOF
32034 if ac_fn_cxx_try_compile "$LINENO"; then :
32035 glibcxx_cv_func__sincosf_use=yes
32036 else
32037 glibcxx_cv_func__sincosf_use=no
32039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32040 ac_ext=c
32041 ac_cpp='$CPP $CPPFLAGS'
32042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32051 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32053 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32054 for ac_func in _sincosf
32055 do :
32056 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32057 if test "x$ac_cv_func__sincosf" = x""yes; then :
32058 cat >>confdefs.h <<_ACEOF
32059 #define HAVE__SINCOSF 1
32060 _ACEOF
32063 done
32072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32073 $as_echo_n "checking for finitef declaration... " >&6; }
32074 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32075 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32076 $as_echo_n "(cached) " >&6
32077 else
32080 ac_ext=cpp
32081 ac_cpp='$CXXCPP $CPPFLAGS'
32082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32087 /* end confdefs.h. */
32088 #include <math.h>
32089 #ifdef HAVE_IEEEFP_H
32090 #include <ieeefp.h>
32091 #endif
32094 main ()
32096 finitef(0);
32098 return 0;
32100 _ACEOF
32101 if ac_fn_cxx_try_compile "$LINENO"; then :
32102 glibcxx_cv_func_finitef_use=yes
32103 else
32104 glibcxx_cv_func_finitef_use=no
32106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32107 ac_ext=c
32108 ac_cpp='$CPP $CPPFLAGS'
32109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32118 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32120 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32121 for ac_func in finitef
32122 do :
32123 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32124 if test "x$ac_cv_func_finitef" = x""yes; then :
32125 cat >>confdefs.h <<_ACEOF
32126 #define HAVE_FINITEF 1
32127 _ACEOF
32130 done
32132 else
32134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32135 $as_echo_n "checking for _finitef declaration... " >&6; }
32136 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32137 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32138 $as_echo_n "(cached) " >&6
32139 else
32142 ac_ext=cpp
32143 ac_cpp='$CXXCPP $CPPFLAGS'
32144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32149 /* end confdefs.h. */
32150 #include <math.h>
32151 #ifdef HAVE_IEEEFP_H
32152 #include <ieeefp.h>
32153 #endif
32156 main ()
32158 _finitef(0);
32160 return 0;
32162 _ACEOF
32163 if ac_fn_cxx_try_compile "$LINENO"; then :
32164 glibcxx_cv_func__finitef_use=yes
32165 else
32166 glibcxx_cv_func__finitef_use=no
32168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32169 ac_ext=c
32170 ac_cpp='$CPP $CPPFLAGS'
32171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32180 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32182 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32183 for ac_func in _finitef
32184 do :
32185 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32186 if test "x$ac_cv_func__finitef" = x""yes; then :
32187 cat >>confdefs.h <<_ACEOF
32188 #define HAVE__FINITEF 1
32189 _ACEOF
32192 done
32201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32202 $as_echo_n "checking for long double trig functions... " >&6; }
32203 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32204 $as_echo_n "(cached) " >&6
32205 else
32208 ac_ext=cpp
32209 ac_cpp='$CXXCPP $CPPFLAGS'
32210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32215 /* end confdefs.h. */
32216 #include <math.h>
32218 main ()
32220 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32222 return 0;
32224 _ACEOF
32225 if ac_fn_cxx_try_compile "$LINENO"; then :
32226 glibcxx_cv_func_long_double_trig_use=yes
32227 else
32228 glibcxx_cv_func_long_double_trig_use=no
32230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32231 ac_ext=c
32232 ac_cpp='$CPP $CPPFLAGS'
32233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32240 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32241 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32242 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32243 do :
32244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32246 eval as_val=\$$as_ac_var
32247 if test "x$as_val" = x""yes; then :
32248 cat >>confdefs.h <<_ACEOF
32249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32250 _ACEOF
32253 done
32255 else
32256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32257 $as_echo_n "checking for _long double trig functions... " >&6; }
32258 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32259 $as_echo_n "(cached) " >&6
32260 else
32263 ac_ext=cpp
32264 ac_cpp='$CXXCPP $CPPFLAGS'
32265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32270 /* end confdefs.h. */
32271 #include <math.h>
32273 main ()
32275 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32277 return 0;
32279 _ACEOF
32280 if ac_fn_cxx_try_compile "$LINENO"; then :
32281 glibcxx_cv_func__long_double_trig_use=yes
32282 else
32283 glibcxx_cv_func__long_double_trig_use=no
32285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32286 ac_ext=c
32287 ac_cpp='$CPP $CPPFLAGS'
32288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32295 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32296 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32297 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32298 do :
32299 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32300 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32301 eval as_val=\$$as_ac_var
32302 if test "x$as_val" = x""yes; then :
32303 cat >>confdefs.h <<_ACEOF
32304 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32305 _ACEOF
32308 done
32317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32318 $as_echo_n "checking for long double round functions... " >&6; }
32319 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32320 $as_echo_n "(cached) " >&6
32321 else
32324 ac_ext=cpp
32325 ac_cpp='$CXXCPP $CPPFLAGS'
32326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32331 /* end confdefs.h. */
32332 #include <math.h>
32334 main ()
32336 ceill (0); floorl (0);
32338 return 0;
32340 _ACEOF
32341 if ac_fn_cxx_try_compile "$LINENO"; then :
32342 glibcxx_cv_func_long_double_round_use=yes
32343 else
32344 glibcxx_cv_func_long_double_round_use=no
32346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32347 ac_ext=c
32348 ac_cpp='$CPP $CPPFLAGS'
32349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32356 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32357 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32358 for ac_func in ceill floorl
32359 do :
32360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32362 eval as_val=\$$as_ac_var
32363 if test "x$as_val" = x""yes; then :
32364 cat >>confdefs.h <<_ACEOF
32365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32366 _ACEOF
32369 done
32371 else
32372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32373 $as_echo_n "checking for _long double round functions... " >&6; }
32374 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32375 $as_echo_n "(cached) " >&6
32376 else
32379 ac_ext=cpp
32380 ac_cpp='$CXXCPP $CPPFLAGS'
32381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32386 /* end confdefs.h. */
32387 #include <math.h>
32389 main ()
32391 _ceill (0); _floorl (0);
32393 return 0;
32395 _ACEOF
32396 if ac_fn_cxx_try_compile "$LINENO"; then :
32397 glibcxx_cv_func__long_double_round_use=yes
32398 else
32399 glibcxx_cv_func__long_double_round_use=no
32401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32402 ac_ext=c
32403 ac_cpp='$CPP $CPPFLAGS'
32404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32411 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32412 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32413 for ac_func in _ceill _floorl
32414 do :
32415 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32416 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32417 eval as_val=\$$as_ac_var
32418 if test "x$as_val" = x""yes; then :
32419 cat >>confdefs.h <<_ACEOF
32420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32421 _ACEOF
32424 done
32434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32435 $as_echo_n "checking for isnanl declaration... " >&6; }
32436 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32437 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32438 $as_echo_n "(cached) " >&6
32439 else
32442 ac_ext=cpp
32443 ac_cpp='$CXXCPP $CPPFLAGS'
32444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32449 /* end confdefs.h. */
32450 #include <math.h>
32451 #ifdef HAVE_IEEEFP_H
32452 #include <ieeefp.h>
32453 #endif
32456 main ()
32458 isnanl(0);
32460 return 0;
32462 _ACEOF
32463 if ac_fn_cxx_try_compile "$LINENO"; then :
32464 glibcxx_cv_func_isnanl_use=yes
32465 else
32466 glibcxx_cv_func_isnanl_use=no
32468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32469 ac_ext=c
32470 ac_cpp='$CPP $CPPFLAGS'
32471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32480 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32482 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32483 for ac_func in isnanl
32484 do :
32485 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32486 if test "x$ac_cv_func_isnanl" = x""yes; then :
32487 cat >>confdefs.h <<_ACEOF
32488 #define HAVE_ISNANL 1
32489 _ACEOF
32492 done
32494 else
32496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32497 $as_echo_n "checking for _isnanl declaration... " >&6; }
32498 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32499 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32500 $as_echo_n "(cached) " >&6
32501 else
32504 ac_ext=cpp
32505 ac_cpp='$CXXCPP $CPPFLAGS'
32506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32511 /* end confdefs.h. */
32512 #include <math.h>
32513 #ifdef HAVE_IEEEFP_H
32514 #include <ieeefp.h>
32515 #endif
32518 main ()
32520 _isnanl(0);
32522 return 0;
32524 _ACEOF
32525 if ac_fn_cxx_try_compile "$LINENO"; then :
32526 glibcxx_cv_func__isnanl_use=yes
32527 else
32528 glibcxx_cv_func__isnanl_use=no
32530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32531 ac_ext=c
32532 ac_cpp='$CPP $CPPFLAGS'
32533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32542 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32544 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32545 for ac_func in _isnanl
32546 do :
32547 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32548 if test "x$ac_cv_func__isnanl" = x""yes; then :
32549 cat >>confdefs.h <<_ACEOF
32550 #define HAVE__ISNANL 1
32551 _ACEOF
32554 done
32563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32564 $as_echo_n "checking for isinfl declaration... " >&6; }
32565 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32566 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32567 $as_echo_n "(cached) " >&6
32568 else
32571 ac_ext=cpp
32572 ac_cpp='$CXXCPP $CPPFLAGS'
32573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32578 /* end confdefs.h. */
32579 #include <math.h>
32580 #ifdef HAVE_IEEEFP_H
32581 #include <ieeefp.h>
32582 #endif
32585 main ()
32587 isinfl(0);
32589 return 0;
32591 _ACEOF
32592 if ac_fn_cxx_try_compile "$LINENO"; then :
32593 glibcxx_cv_func_isinfl_use=yes
32594 else
32595 glibcxx_cv_func_isinfl_use=no
32597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32598 ac_ext=c
32599 ac_cpp='$CPP $CPPFLAGS'
32600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32609 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32611 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32612 for ac_func in isinfl
32613 do :
32614 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32615 if test "x$ac_cv_func_isinfl" = x""yes; then :
32616 cat >>confdefs.h <<_ACEOF
32617 #define HAVE_ISINFL 1
32618 _ACEOF
32621 done
32623 else
32625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32626 $as_echo_n "checking for _isinfl declaration... " >&6; }
32627 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32628 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32629 $as_echo_n "(cached) " >&6
32630 else
32633 ac_ext=cpp
32634 ac_cpp='$CXXCPP $CPPFLAGS'
32635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32640 /* end confdefs.h. */
32641 #include <math.h>
32642 #ifdef HAVE_IEEEFP_H
32643 #include <ieeefp.h>
32644 #endif
32647 main ()
32649 _isinfl(0);
32651 return 0;
32653 _ACEOF
32654 if ac_fn_cxx_try_compile "$LINENO"; then :
32655 glibcxx_cv_func__isinfl_use=yes
32656 else
32657 glibcxx_cv_func__isinfl_use=no
32659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32660 ac_ext=c
32661 ac_cpp='$CPP $CPPFLAGS'
32662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32671 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32673 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32674 for ac_func in _isinfl
32675 do :
32676 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32677 if test "x$ac_cv_func__isinfl" = x""yes; then :
32678 cat >>confdefs.h <<_ACEOF
32679 #define HAVE__ISINFL 1
32680 _ACEOF
32683 done
32692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32693 $as_echo_n "checking for atan2l declaration... " >&6; }
32694 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
32695 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
32696 $as_echo_n "(cached) " >&6
32697 else
32700 ac_ext=cpp
32701 ac_cpp='$CXXCPP $CPPFLAGS'
32702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32707 /* end confdefs.h. */
32708 #include <math.h>
32710 main ()
32712 atan2l(0, 0);
32714 return 0;
32716 _ACEOF
32717 if ac_fn_cxx_try_compile "$LINENO"; then :
32718 glibcxx_cv_func_atan2l_use=yes
32719 else
32720 glibcxx_cv_func_atan2l_use=no
32722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32723 ac_ext=c
32724 ac_cpp='$CPP $CPPFLAGS'
32725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32734 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32736 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32737 for ac_func in atan2l
32738 do :
32739 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32740 if test "x$ac_cv_func_atan2l" = x""yes; then :
32741 cat >>confdefs.h <<_ACEOF
32742 #define HAVE_ATAN2L 1
32743 _ACEOF
32746 done
32748 else
32750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32751 $as_echo_n "checking for _atan2l declaration... " >&6; }
32752 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32753 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32754 $as_echo_n "(cached) " >&6
32755 else
32758 ac_ext=cpp
32759 ac_cpp='$CXXCPP $CPPFLAGS'
32760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32765 /* end confdefs.h. */
32766 #include <math.h>
32768 main ()
32770 _atan2l(0, 0);
32772 return 0;
32774 _ACEOF
32775 if ac_fn_cxx_try_compile "$LINENO"; then :
32776 glibcxx_cv_func__atan2l_use=yes
32777 else
32778 glibcxx_cv_func__atan2l_use=no
32780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32781 ac_ext=c
32782 ac_cpp='$CPP $CPPFLAGS'
32783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32792 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32794 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32795 for ac_func in _atan2l
32796 do :
32797 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32798 if test "x$ac_cv_func__atan2l" = x""yes; then :
32799 cat >>confdefs.h <<_ACEOF
32800 #define HAVE__ATAN2L 1
32801 _ACEOF
32804 done
32813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32814 $as_echo_n "checking for expl declaration... " >&6; }
32815 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32816 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32817 $as_echo_n "(cached) " >&6
32818 else
32821 ac_ext=cpp
32822 ac_cpp='$CXXCPP $CPPFLAGS'
32823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32828 /* end confdefs.h. */
32829 #include <math.h>
32830 #ifdef HAVE_IEEEFP_H
32831 #include <ieeefp.h>
32832 #endif
32835 main ()
32837 expl(0);
32839 return 0;
32841 _ACEOF
32842 if ac_fn_cxx_try_compile "$LINENO"; then :
32843 glibcxx_cv_func_expl_use=yes
32844 else
32845 glibcxx_cv_func_expl_use=no
32847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32848 ac_ext=c
32849 ac_cpp='$CPP $CPPFLAGS'
32850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32859 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32861 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32862 for ac_func in expl
32863 do :
32864 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32865 if test "x$ac_cv_func_expl" = x""yes; then :
32866 cat >>confdefs.h <<_ACEOF
32867 #define HAVE_EXPL 1
32868 _ACEOF
32871 done
32873 else
32875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32876 $as_echo_n "checking for _expl declaration... " >&6; }
32877 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32878 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32879 $as_echo_n "(cached) " >&6
32880 else
32883 ac_ext=cpp
32884 ac_cpp='$CXXCPP $CPPFLAGS'
32885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32890 /* end confdefs.h. */
32891 #include <math.h>
32892 #ifdef HAVE_IEEEFP_H
32893 #include <ieeefp.h>
32894 #endif
32897 main ()
32899 _expl(0);
32901 return 0;
32903 _ACEOF
32904 if ac_fn_cxx_try_compile "$LINENO"; then :
32905 glibcxx_cv_func__expl_use=yes
32906 else
32907 glibcxx_cv_func__expl_use=no
32909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32910 ac_ext=c
32911 ac_cpp='$CPP $CPPFLAGS'
32912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32921 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32923 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32924 for ac_func in _expl
32925 do :
32926 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32927 if test "x$ac_cv_func__expl" = x""yes; then :
32928 cat >>confdefs.h <<_ACEOF
32929 #define HAVE__EXPL 1
32930 _ACEOF
32933 done
32942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32943 $as_echo_n "checking for fabsl declaration... " >&6; }
32944 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32945 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32946 $as_echo_n "(cached) " >&6
32947 else
32950 ac_ext=cpp
32951 ac_cpp='$CXXCPP $CPPFLAGS'
32952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32957 /* end confdefs.h. */
32958 #include <math.h>
32959 #ifdef HAVE_IEEEFP_H
32960 #include <ieeefp.h>
32961 #endif
32964 main ()
32966 fabsl(0);
32968 return 0;
32970 _ACEOF
32971 if ac_fn_cxx_try_compile "$LINENO"; then :
32972 glibcxx_cv_func_fabsl_use=yes
32973 else
32974 glibcxx_cv_func_fabsl_use=no
32976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32977 ac_ext=c
32978 ac_cpp='$CPP $CPPFLAGS'
32979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32988 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32990 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32991 for ac_func in fabsl
32992 do :
32993 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32994 if test "x$ac_cv_func_fabsl" = x""yes; then :
32995 cat >>confdefs.h <<_ACEOF
32996 #define HAVE_FABSL 1
32997 _ACEOF
33000 done
33002 else
33004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33005 $as_echo_n "checking for _fabsl declaration... " >&6; }
33006 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33007 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33008 $as_echo_n "(cached) " >&6
33009 else
33012 ac_ext=cpp
33013 ac_cpp='$CXXCPP $CPPFLAGS'
33014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33019 /* end confdefs.h. */
33020 #include <math.h>
33021 #ifdef HAVE_IEEEFP_H
33022 #include <ieeefp.h>
33023 #endif
33026 main ()
33028 _fabsl(0);
33030 return 0;
33032 _ACEOF
33033 if ac_fn_cxx_try_compile "$LINENO"; then :
33034 glibcxx_cv_func__fabsl_use=yes
33035 else
33036 glibcxx_cv_func__fabsl_use=no
33038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33039 ac_ext=c
33040 ac_cpp='$CPP $CPPFLAGS'
33041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33050 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33052 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33053 for ac_func in _fabsl
33054 do :
33055 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33056 if test "x$ac_cv_func__fabsl" = x""yes; then :
33057 cat >>confdefs.h <<_ACEOF
33058 #define HAVE__FABSL 1
33059 _ACEOF
33062 done
33071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33072 $as_echo_n "checking for fmodl declaration... " >&6; }
33073 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33074 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33075 $as_echo_n "(cached) " >&6
33076 else
33079 ac_ext=cpp
33080 ac_cpp='$CXXCPP $CPPFLAGS'
33081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33086 /* end confdefs.h. */
33087 #include <math.h>
33089 main ()
33091 fmodl(0, 0);
33093 return 0;
33095 _ACEOF
33096 if ac_fn_cxx_try_compile "$LINENO"; then :
33097 glibcxx_cv_func_fmodl_use=yes
33098 else
33099 glibcxx_cv_func_fmodl_use=no
33101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33102 ac_ext=c
33103 ac_cpp='$CPP $CPPFLAGS'
33104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33113 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33115 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33116 for ac_func in fmodl
33117 do :
33118 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33119 if test "x$ac_cv_func_fmodl" = x""yes; then :
33120 cat >>confdefs.h <<_ACEOF
33121 #define HAVE_FMODL 1
33122 _ACEOF
33125 done
33127 else
33129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33130 $as_echo_n "checking for _fmodl declaration... " >&6; }
33131 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33132 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33133 $as_echo_n "(cached) " >&6
33134 else
33137 ac_ext=cpp
33138 ac_cpp='$CXXCPP $CPPFLAGS'
33139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33144 /* end confdefs.h. */
33145 #include <math.h>
33147 main ()
33149 _fmodl(0, 0);
33151 return 0;
33153 _ACEOF
33154 if ac_fn_cxx_try_compile "$LINENO"; then :
33155 glibcxx_cv_func__fmodl_use=yes
33156 else
33157 glibcxx_cv_func__fmodl_use=no
33159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33160 ac_ext=c
33161 ac_cpp='$CPP $CPPFLAGS'
33162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33171 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33173 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33174 for ac_func in _fmodl
33175 do :
33176 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33177 if test "x$ac_cv_func__fmodl" = x""yes; then :
33178 cat >>confdefs.h <<_ACEOF
33179 #define HAVE__FMODL 1
33180 _ACEOF
33183 done
33192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33193 $as_echo_n "checking for frexpl declaration... " >&6; }
33194 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33195 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33196 $as_echo_n "(cached) " >&6
33197 else
33200 ac_ext=cpp
33201 ac_cpp='$CXXCPP $CPPFLAGS'
33202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33207 /* end confdefs.h. */
33208 #include <math.h>
33210 main ()
33212 frexpl(0, 0);
33214 return 0;
33216 _ACEOF
33217 if ac_fn_cxx_try_compile "$LINENO"; then :
33218 glibcxx_cv_func_frexpl_use=yes
33219 else
33220 glibcxx_cv_func_frexpl_use=no
33222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33223 ac_ext=c
33224 ac_cpp='$CPP $CPPFLAGS'
33225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33234 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33236 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33237 for ac_func in frexpl
33238 do :
33239 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33240 if test "x$ac_cv_func_frexpl" = x""yes; then :
33241 cat >>confdefs.h <<_ACEOF
33242 #define HAVE_FREXPL 1
33243 _ACEOF
33246 done
33248 else
33250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33251 $as_echo_n "checking for _frexpl declaration... " >&6; }
33252 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33253 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33254 $as_echo_n "(cached) " >&6
33255 else
33258 ac_ext=cpp
33259 ac_cpp='$CXXCPP $CPPFLAGS'
33260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33265 /* end confdefs.h. */
33266 #include <math.h>
33268 main ()
33270 _frexpl(0, 0);
33272 return 0;
33274 _ACEOF
33275 if ac_fn_cxx_try_compile "$LINENO"; then :
33276 glibcxx_cv_func__frexpl_use=yes
33277 else
33278 glibcxx_cv_func__frexpl_use=no
33280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33281 ac_ext=c
33282 ac_cpp='$CPP $CPPFLAGS'
33283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33292 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33294 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33295 for ac_func in _frexpl
33296 do :
33297 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33298 if test "x$ac_cv_func__frexpl" = x""yes; then :
33299 cat >>confdefs.h <<_ACEOF
33300 #define HAVE__FREXPL 1
33301 _ACEOF
33304 done
33313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33314 $as_echo_n "checking for hypotl declaration... " >&6; }
33315 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33316 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33317 $as_echo_n "(cached) " >&6
33318 else
33321 ac_ext=cpp
33322 ac_cpp='$CXXCPP $CPPFLAGS'
33323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33328 /* end confdefs.h. */
33329 #include <math.h>
33331 main ()
33333 hypotl(0, 0);
33335 return 0;
33337 _ACEOF
33338 if ac_fn_cxx_try_compile "$LINENO"; then :
33339 glibcxx_cv_func_hypotl_use=yes
33340 else
33341 glibcxx_cv_func_hypotl_use=no
33343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33344 ac_ext=c
33345 ac_cpp='$CPP $CPPFLAGS'
33346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33355 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33357 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33358 for ac_func in hypotl
33359 do :
33360 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33361 if test "x$ac_cv_func_hypotl" = x""yes; then :
33362 cat >>confdefs.h <<_ACEOF
33363 #define HAVE_HYPOTL 1
33364 _ACEOF
33367 done
33369 else
33371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33372 $as_echo_n "checking for _hypotl declaration... " >&6; }
33373 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33374 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33375 $as_echo_n "(cached) " >&6
33376 else
33379 ac_ext=cpp
33380 ac_cpp='$CXXCPP $CPPFLAGS'
33381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33386 /* end confdefs.h. */
33387 #include <math.h>
33389 main ()
33391 _hypotl(0, 0);
33393 return 0;
33395 _ACEOF
33396 if ac_fn_cxx_try_compile "$LINENO"; then :
33397 glibcxx_cv_func__hypotl_use=yes
33398 else
33399 glibcxx_cv_func__hypotl_use=no
33401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33402 ac_ext=c
33403 ac_cpp='$CPP $CPPFLAGS'
33404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33413 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33415 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33416 for ac_func in _hypotl
33417 do :
33418 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33419 if test "x$ac_cv_func__hypotl" = x""yes; then :
33420 cat >>confdefs.h <<_ACEOF
33421 #define HAVE__HYPOTL 1
33422 _ACEOF
33425 done
33434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33435 $as_echo_n "checking for ldexpl declaration... " >&6; }
33436 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33437 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33438 $as_echo_n "(cached) " >&6
33439 else
33442 ac_ext=cpp
33443 ac_cpp='$CXXCPP $CPPFLAGS'
33444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33449 /* end confdefs.h. */
33450 #include <math.h>
33452 main ()
33454 ldexpl(0, 0);
33456 return 0;
33458 _ACEOF
33459 if ac_fn_cxx_try_compile "$LINENO"; then :
33460 glibcxx_cv_func_ldexpl_use=yes
33461 else
33462 glibcxx_cv_func_ldexpl_use=no
33464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33465 ac_ext=c
33466 ac_cpp='$CPP $CPPFLAGS'
33467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33476 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33478 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33479 for ac_func in ldexpl
33480 do :
33481 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33482 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33483 cat >>confdefs.h <<_ACEOF
33484 #define HAVE_LDEXPL 1
33485 _ACEOF
33488 done
33490 else
33492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33493 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33494 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33495 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33496 $as_echo_n "(cached) " >&6
33497 else
33500 ac_ext=cpp
33501 ac_cpp='$CXXCPP $CPPFLAGS'
33502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33507 /* end confdefs.h. */
33508 #include <math.h>
33510 main ()
33512 _ldexpl(0, 0);
33514 return 0;
33516 _ACEOF
33517 if ac_fn_cxx_try_compile "$LINENO"; then :
33518 glibcxx_cv_func__ldexpl_use=yes
33519 else
33520 glibcxx_cv_func__ldexpl_use=no
33522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33523 ac_ext=c
33524 ac_cpp='$CPP $CPPFLAGS'
33525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33534 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33536 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33537 for ac_func in _ldexpl
33538 do :
33539 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33540 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33541 cat >>confdefs.h <<_ACEOF
33542 #define HAVE__LDEXPL 1
33543 _ACEOF
33546 done
33555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33556 $as_echo_n "checking for logl declaration... " >&6; }
33557 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33558 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33559 $as_echo_n "(cached) " >&6
33560 else
33563 ac_ext=cpp
33564 ac_cpp='$CXXCPP $CPPFLAGS'
33565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33570 /* end confdefs.h. */
33571 #include <math.h>
33572 #ifdef HAVE_IEEEFP_H
33573 #include <ieeefp.h>
33574 #endif
33577 main ()
33579 logl(0);
33581 return 0;
33583 _ACEOF
33584 if ac_fn_cxx_try_compile "$LINENO"; then :
33585 glibcxx_cv_func_logl_use=yes
33586 else
33587 glibcxx_cv_func_logl_use=no
33589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33590 ac_ext=c
33591 ac_cpp='$CPP $CPPFLAGS'
33592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33601 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33603 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33604 for ac_func in logl
33605 do :
33606 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33607 if test "x$ac_cv_func_logl" = x""yes; then :
33608 cat >>confdefs.h <<_ACEOF
33609 #define HAVE_LOGL 1
33610 _ACEOF
33613 done
33615 else
33617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33618 $as_echo_n "checking for _logl declaration... " >&6; }
33619 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33620 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33621 $as_echo_n "(cached) " >&6
33622 else
33625 ac_ext=cpp
33626 ac_cpp='$CXXCPP $CPPFLAGS'
33627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33632 /* end confdefs.h. */
33633 #include <math.h>
33634 #ifdef HAVE_IEEEFP_H
33635 #include <ieeefp.h>
33636 #endif
33639 main ()
33641 _logl(0);
33643 return 0;
33645 _ACEOF
33646 if ac_fn_cxx_try_compile "$LINENO"; then :
33647 glibcxx_cv_func__logl_use=yes
33648 else
33649 glibcxx_cv_func__logl_use=no
33651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33652 ac_ext=c
33653 ac_cpp='$CPP $CPPFLAGS'
33654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33663 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33665 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33666 for ac_func in _logl
33667 do :
33668 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33669 if test "x$ac_cv_func__logl" = x""yes; then :
33670 cat >>confdefs.h <<_ACEOF
33671 #define HAVE__LOGL 1
33672 _ACEOF
33675 done
33684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33685 $as_echo_n "checking for log10l declaration... " >&6; }
33686 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33687 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33688 $as_echo_n "(cached) " >&6
33689 else
33692 ac_ext=cpp
33693 ac_cpp='$CXXCPP $CPPFLAGS'
33694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33699 /* end confdefs.h. */
33700 #include <math.h>
33701 #ifdef HAVE_IEEEFP_H
33702 #include <ieeefp.h>
33703 #endif
33706 main ()
33708 log10l(0);
33710 return 0;
33712 _ACEOF
33713 if ac_fn_cxx_try_compile "$LINENO"; then :
33714 glibcxx_cv_func_log10l_use=yes
33715 else
33716 glibcxx_cv_func_log10l_use=no
33718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33719 ac_ext=c
33720 ac_cpp='$CPP $CPPFLAGS'
33721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33730 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33732 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33733 for ac_func in log10l
33734 do :
33735 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33736 if test "x$ac_cv_func_log10l" = x""yes; then :
33737 cat >>confdefs.h <<_ACEOF
33738 #define HAVE_LOG10L 1
33739 _ACEOF
33742 done
33744 else
33746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33747 $as_echo_n "checking for _log10l declaration... " >&6; }
33748 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33749 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33750 $as_echo_n "(cached) " >&6
33751 else
33754 ac_ext=cpp
33755 ac_cpp='$CXXCPP $CPPFLAGS'
33756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33761 /* end confdefs.h. */
33762 #include <math.h>
33763 #ifdef HAVE_IEEEFP_H
33764 #include <ieeefp.h>
33765 #endif
33768 main ()
33770 _log10l(0);
33772 return 0;
33774 _ACEOF
33775 if ac_fn_cxx_try_compile "$LINENO"; then :
33776 glibcxx_cv_func__log10l_use=yes
33777 else
33778 glibcxx_cv_func__log10l_use=no
33780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33781 ac_ext=c
33782 ac_cpp='$CPP $CPPFLAGS'
33783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33792 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33794 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33795 for ac_func in _log10l
33796 do :
33797 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33798 if test "x$ac_cv_func__log10l" = x""yes; then :
33799 cat >>confdefs.h <<_ACEOF
33800 #define HAVE__LOG10L 1
33801 _ACEOF
33804 done
33813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33814 $as_echo_n "checking for modfl declaration... " >&6; }
33815 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33816 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33817 $as_echo_n "(cached) " >&6
33818 else
33821 ac_ext=cpp
33822 ac_cpp='$CXXCPP $CPPFLAGS'
33823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33828 /* end confdefs.h. */
33829 #include <math.h>
33831 main ()
33833 modfl(0, 0);
33835 return 0;
33837 _ACEOF
33838 if ac_fn_cxx_try_compile "$LINENO"; then :
33839 glibcxx_cv_func_modfl_use=yes
33840 else
33841 glibcxx_cv_func_modfl_use=no
33843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33844 ac_ext=c
33845 ac_cpp='$CPP $CPPFLAGS'
33846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33855 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33857 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33858 for ac_func in modfl
33859 do :
33860 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33861 if test "x$ac_cv_func_modfl" = x""yes; then :
33862 cat >>confdefs.h <<_ACEOF
33863 #define HAVE_MODFL 1
33864 _ACEOF
33867 done
33869 else
33871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33872 $as_echo_n "checking for _modfl declaration... " >&6; }
33873 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33874 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33875 $as_echo_n "(cached) " >&6
33876 else
33879 ac_ext=cpp
33880 ac_cpp='$CXXCPP $CPPFLAGS'
33881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33886 /* end confdefs.h. */
33887 #include <math.h>
33889 main ()
33891 _modfl(0, 0);
33893 return 0;
33895 _ACEOF
33896 if ac_fn_cxx_try_compile "$LINENO"; then :
33897 glibcxx_cv_func__modfl_use=yes
33898 else
33899 glibcxx_cv_func__modfl_use=no
33901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33902 ac_ext=c
33903 ac_cpp='$CPP $CPPFLAGS'
33904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33913 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33915 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33916 for ac_func in _modfl
33917 do :
33918 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33919 if test "x$ac_cv_func__modfl" = x""yes; then :
33920 cat >>confdefs.h <<_ACEOF
33921 #define HAVE__MODFL 1
33922 _ACEOF
33925 done
33934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33935 $as_echo_n "checking for powl declaration... " >&6; }
33936 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33937 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33938 $as_echo_n "(cached) " >&6
33939 else
33942 ac_ext=cpp
33943 ac_cpp='$CXXCPP $CPPFLAGS'
33944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33949 /* end confdefs.h. */
33950 #include <math.h>
33952 main ()
33954 powl(0, 0);
33956 return 0;
33958 _ACEOF
33959 if ac_fn_cxx_try_compile "$LINENO"; then :
33960 glibcxx_cv_func_powl_use=yes
33961 else
33962 glibcxx_cv_func_powl_use=no
33964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33965 ac_ext=c
33966 ac_cpp='$CPP $CPPFLAGS'
33967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33976 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33978 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33979 for ac_func in powl
33980 do :
33981 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33982 if test "x$ac_cv_func_powl" = x""yes; then :
33983 cat >>confdefs.h <<_ACEOF
33984 #define HAVE_POWL 1
33985 _ACEOF
33988 done
33990 else
33992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33993 $as_echo_n "checking for _powl declaration... " >&6; }
33994 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33995 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33996 $as_echo_n "(cached) " >&6
33997 else
34000 ac_ext=cpp
34001 ac_cpp='$CXXCPP $CPPFLAGS'
34002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34007 /* end confdefs.h. */
34008 #include <math.h>
34010 main ()
34012 _powl(0, 0);
34014 return 0;
34016 _ACEOF
34017 if ac_fn_cxx_try_compile "$LINENO"; then :
34018 glibcxx_cv_func__powl_use=yes
34019 else
34020 glibcxx_cv_func__powl_use=no
34022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34023 ac_ext=c
34024 ac_cpp='$CPP $CPPFLAGS'
34025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34034 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34036 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34037 for ac_func in _powl
34038 do :
34039 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34040 if test "x$ac_cv_func__powl" = x""yes; then :
34041 cat >>confdefs.h <<_ACEOF
34042 #define HAVE__POWL 1
34043 _ACEOF
34046 done
34055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34056 $as_echo_n "checking for sqrtl declaration... " >&6; }
34057 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34058 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34059 $as_echo_n "(cached) " >&6
34060 else
34063 ac_ext=cpp
34064 ac_cpp='$CXXCPP $CPPFLAGS'
34065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34070 /* end confdefs.h. */
34071 #include <math.h>
34072 #ifdef HAVE_IEEEFP_H
34073 #include <ieeefp.h>
34074 #endif
34077 main ()
34079 sqrtl(0);
34081 return 0;
34083 _ACEOF
34084 if ac_fn_cxx_try_compile "$LINENO"; then :
34085 glibcxx_cv_func_sqrtl_use=yes
34086 else
34087 glibcxx_cv_func_sqrtl_use=no
34089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34090 ac_ext=c
34091 ac_cpp='$CPP $CPPFLAGS'
34092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34101 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34103 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34104 for ac_func in sqrtl
34105 do :
34106 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34107 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34108 cat >>confdefs.h <<_ACEOF
34109 #define HAVE_SQRTL 1
34110 _ACEOF
34113 done
34115 else
34117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34118 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34119 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34120 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34121 $as_echo_n "(cached) " >&6
34122 else
34125 ac_ext=cpp
34126 ac_cpp='$CXXCPP $CPPFLAGS'
34127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34132 /* end confdefs.h. */
34133 #include <math.h>
34134 #ifdef HAVE_IEEEFP_H
34135 #include <ieeefp.h>
34136 #endif
34139 main ()
34141 _sqrtl(0);
34143 return 0;
34145 _ACEOF
34146 if ac_fn_cxx_try_compile "$LINENO"; then :
34147 glibcxx_cv_func__sqrtl_use=yes
34148 else
34149 glibcxx_cv_func__sqrtl_use=no
34151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34152 ac_ext=c
34153 ac_cpp='$CPP $CPPFLAGS'
34154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34163 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34165 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34166 for ac_func in _sqrtl
34167 do :
34168 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34169 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34170 cat >>confdefs.h <<_ACEOF
34171 #define HAVE__SQRTL 1
34172 _ACEOF
34175 done
34184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34185 $as_echo_n "checking for sincosl declaration... " >&6; }
34186 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34187 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34188 $as_echo_n "(cached) " >&6
34189 else
34192 ac_ext=cpp
34193 ac_cpp='$CXXCPP $CPPFLAGS'
34194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34199 /* end confdefs.h. */
34200 #include <math.h>
34202 main ()
34204 sincosl(0, 0, 0);
34206 return 0;
34208 _ACEOF
34209 if ac_fn_cxx_try_compile "$LINENO"; then :
34210 glibcxx_cv_func_sincosl_use=yes
34211 else
34212 glibcxx_cv_func_sincosl_use=no
34214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34215 ac_ext=c
34216 ac_cpp='$CPP $CPPFLAGS'
34217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34226 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34228 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34229 for ac_func in sincosl
34230 do :
34231 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34232 if test "x$ac_cv_func_sincosl" = x""yes; then :
34233 cat >>confdefs.h <<_ACEOF
34234 #define HAVE_SINCOSL 1
34235 _ACEOF
34238 done
34240 else
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34243 $as_echo_n "checking for _sincosl declaration... " >&6; }
34244 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34245 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34246 $as_echo_n "(cached) " >&6
34247 else
34250 ac_ext=cpp
34251 ac_cpp='$CXXCPP $CPPFLAGS'
34252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34257 /* end confdefs.h. */
34258 #include <math.h>
34260 main ()
34262 _sincosl(0, 0, 0);
34264 return 0;
34266 _ACEOF
34267 if ac_fn_cxx_try_compile "$LINENO"; then :
34268 glibcxx_cv_func__sincosl_use=yes
34269 else
34270 glibcxx_cv_func__sincosl_use=no
34272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34273 ac_ext=c
34274 ac_cpp='$CPP $CPPFLAGS'
34275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34284 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34286 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34287 for ac_func in _sincosl
34288 do :
34289 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34290 if test "x$ac_cv_func__sincosl" = x""yes; then :
34291 cat >>confdefs.h <<_ACEOF
34292 #define HAVE__SINCOSL 1
34293 _ACEOF
34296 done
34305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34306 $as_echo_n "checking for finitel declaration... " >&6; }
34307 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34308 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34309 $as_echo_n "(cached) " >&6
34310 else
34313 ac_ext=cpp
34314 ac_cpp='$CXXCPP $CPPFLAGS'
34315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34320 /* end confdefs.h. */
34321 #include <math.h>
34322 #ifdef HAVE_IEEEFP_H
34323 #include <ieeefp.h>
34324 #endif
34327 main ()
34329 finitel(0);
34331 return 0;
34333 _ACEOF
34334 if ac_fn_cxx_try_compile "$LINENO"; then :
34335 glibcxx_cv_func_finitel_use=yes
34336 else
34337 glibcxx_cv_func_finitel_use=no
34339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34340 ac_ext=c
34341 ac_cpp='$CPP $CPPFLAGS'
34342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34351 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34353 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34354 for ac_func in finitel
34355 do :
34356 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34357 if test "x$ac_cv_func_finitel" = x""yes; then :
34358 cat >>confdefs.h <<_ACEOF
34359 #define HAVE_FINITEL 1
34360 _ACEOF
34363 done
34365 else
34367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34368 $as_echo_n "checking for _finitel declaration... " >&6; }
34369 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34370 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34371 $as_echo_n "(cached) " >&6
34372 else
34375 ac_ext=cpp
34376 ac_cpp='$CXXCPP $CPPFLAGS'
34377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34382 /* end confdefs.h. */
34383 #include <math.h>
34384 #ifdef HAVE_IEEEFP_H
34385 #include <ieeefp.h>
34386 #endif
34389 main ()
34391 _finitel(0);
34393 return 0;
34395 _ACEOF
34396 if ac_fn_cxx_try_compile "$LINENO"; then :
34397 glibcxx_cv_func__finitel_use=yes
34398 else
34399 glibcxx_cv_func__finitel_use=no
34401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34402 ac_ext=c
34403 ac_cpp='$CPP $CPPFLAGS'
34404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34413 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34415 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34416 for ac_func in _finitel
34417 do :
34418 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34419 if test "x$ac_cv_func__finitel" = x""yes; then :
34420 cat >>confdefs.h <<_ACEOF
34421 #define HAVE__FINITEL 1
34422 _ACEOF
34425 done
34433 LIBS="$ac_save_LIBS"
34434 CXXFLAGS="$ac_save_CXXFLAGS"
34437 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34438 ac_save_CXXFLAGS="$CXXFLAGS"
34439 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34443 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34444 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34445 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34446 $as_echo_n "(cached) " >&6
34447 else
34450 ac_ext=cpp
34451 ac_cpp='$CXXCPP $CPPFLAGS'
34452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34457 /* end confdefs.h. */
34458 #include <stdlib.h>
34460 main ()
34462 at_quick_exit(0);
34464 return 0;
34466 _ACEOF
34467 if ac_fn_cxx_try_compile "$LINENO"; then :
34468 glibcxx_cv_func_at_quick_exit_use=yes
34469 else
34470 glibcxx_cv_func_at_quick_exit_use=no
34472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34473 ac_ext=c
34474 ac_cpp='$CPP $CPPFLAGS'
34475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34484 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34485 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34486 for ac_func in at_quick_exit
34487 do :
34488 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34489 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34490 cat >>confdefs.h <<_ACEOF
34491 #define HAVE_AT_QUICK_EXIT 1
34492 _ACEOF
34495 done
34500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34501 $as_echo_n "checking for quick_exit declaration... " >&6; }
34502 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34503 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34504 $as_echo_n "(cached) " >&6
34505 else
34508 ac_ext=cpp
34509 ac_cpp='$CXXCPP $CPPFLAGS'
34510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34515 /* end confdefs.h. */
34516 #include <stdlib.h>
34518 main ()
34520 quick_exit(0);
34522 return 0;
34524 _ACEOF
34525 if ac_fn_cxx_try_compile "$LINENO"; then :
34526 glibcxx_cv_func_quick_exit_use=yes
34527 else
34528 glibcxx_cv_func_quick_exit_use=no
34530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34531 ac_ext=c
34532 ac_cpp='$CPP $CPPFLAGS'
34533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34542 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34543 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34544 for ac_func in quick_exit
34545 do :
34546 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34547 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34548 cat >>confdefs.h <<_ACEOF
34549 #define HAVE_QUICK_EXIT 1
34550 _ACEOF
34553 done
34558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34559 $as_echo_n "checking for strtold declaration... " >&6; }
34560 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34561 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34562 $as_echo_n "(cached) " >&6
34563 else
34566 ac_ext=cpp
34567 ac_cpp='$CXXCPP $CPPFLAGS'
34568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34573 /* end confdefs.h. */
34574 #include <stdlib.h>
34576 main ()
34578 strtold(0, 0);
34580 return 0;
34582 _ACEOF
34583 if ac_fn_cxx_try_compile "$LINENO"; then :
34584 glibcxx_cv_func_strtold_use=yes
34585 else
34586 glibcxx_cv_func_strtold_use=no
34588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34589 ac_ext=c
34590 ac_cpp='$CPP $CPPFLAGS'
34591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34600 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34601 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34602 for ac_func in strtold
34603 do :
34604 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34605 if test "x$ac_cv_func_strtold" = x""yes; then :
34606 cat >>confdefs.h <<_ACEOF
34607 #define HAVE_STRTOLD 1
34608 _ACEOF
34611 done
34618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34619 $as_echo_n "checking for strtof declaration... " >&6; }
34620 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34621 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34622 $as_echo_n "(cached) " >&6
34623 else
34626 ac_ext=cpp
34627 ac_cpp='$CXXCPP $CPPFLAGS'
34628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34633 /* end confdefs.h. */
34634 #include <stdlib.h>
34636 main ()
34638 strtof(0, 0);
34640 return 0;
34642 _ACEOF
34643 if ac_fn_cxx_try_compile "$LINENO"; then :
34644 glibcxx_cv_func_strtof_use=yes
34645 else
34646 glibcxx_cv_func_strtof_use=no
34648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34649 ac_ext=c
34650 ac_cpp='$CPP $CPPFLAGS'
34651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34660 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34661 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34662 for ac_func in strtof
34663 do :
34664 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34665 if test "x$ac_cv_func_strtof" = x""yes; then :
34666 cat >>confdefs.h <<_ACEOF
34667 #define HAVE_STRTOF 1
34668 _ACEOF
34671 done
34678 CXXFLAGS="$ac_save_CXXFLAGS"
34681 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34683 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34685 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34687 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34690 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34692 $as_echo "#define HAVE_MODF 1" >>confdefs.h
34694 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
34698 spu-*-elf*)
34700 # All these tests are for C++; save the language and the compiler flags.
34701 # The CXXFLAGS thing is suspicious, but based on similar bits previously
34702 # found in GLIBCXX_CONFIGURE.
34704 ac_ext=cpp
34705 ac_cpp='$CXXCPP $CPPFLAGS'
34706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34710 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34711 ac_save_CXXFLAGS="$CXXFLAGS"
34713 # Check for maintainer-mode bits.
34714 if test x"$USE_MAINTAINER_MODE" = xno; then
34715 WERROR=''
34716 else
34717 WERROR='-Werror'
34720 # Check for -ffunction-sections -fdata-sections
34721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34722 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34723 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34725 /* end confdefs.h. */
34726 int foo; void bar() { };
34728 main ()
34732 return 0;
34734 _ACEOF
34735 if ac_fn_cxx_try_compile "$LINENO"; then :
34736 ac_fdsections=yes
34737 else
34738 ac_fdsections=no
34740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34741 if test "$ac_test_CXXFLAGS" = set; then
34742 CXXFLAGS="$ac_save_CXXFLAGS"
34743 else
34744 # this is the suspicious part
34745 CXXFLAGS=''
34747 if test x"$ac_fdsections" = x"yes"; then
34748 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34751 $as_echo "$ac_fdsections" >&6; }
34753 ac_ext=c
34754 ac_cpp='$CPP $CPPFLAGS'
34755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34763 # If we're not using GNU ld, then there's no point in even trying these
34764 # tests. Check for that first. We should have already tested for gld
34765 # by now (in libtool), but require it now just to be safe...
34766 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34767 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34771 # The name set by libtool depends on the version of libtool. Shame on us
34772 # for depending on an impl detail, but c'est la vie. Older versions used
34773 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34774 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34775 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34776 # set (hence we're using an older libtool), then set it.
34777 if test x${with_gnu_ld+set} != xset; then
34778 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34779 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34780 with_gnu_ld=no
34781 else
34782 with_gnu_ld=$ac_cv_prog_gnu_ld
34786 # Start by getting the version number. I think the libtool test already
34787 # does some of this, but throws away the result.
34788 glibcxx_ld_is_gold=no
34789 if test x"$with_gnu_ld" = x"yes"; then
34790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34791 $as_echo_n "checking for ld version... " >&6; }
34793 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34794 glibcxx_ld_is_gold=yes
34796 ldver=`$LD --version 2>/dev/null |
34797 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'`
34799 glibcxx_gnu_ld_version=`echo $ldver | \
34800 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34802 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34805 # Set --gc-sections.
34806 glibcxx_have_gc_sections=no
34807 if test "$glibcxx_ld_is_gold" = "yes"; then
34808 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34809 glibcxx_have_gc_sections=yes
34811 else
34812 glibcxx_gcsections_min_ld=21602
34813 if test x"$with_gnu_ld" = x"yes" &&
34814 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34815 glibcxx_have_gc_sections=yes
34818 if test "$glibcxx_have_gc_sections" = "yes"; then
34819 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34820 # NB: This flag only works reliably after 2.16.1. Configure tests
34821 # for this are difficult, so hard wire a value that should work.
34823 ac_test_CFLAGS="${CFLAGS+set}"
34824 ac_save_CFLAGS="$CFLAGS"
34825 CFLAGS='-Wl,--gc-sections'
34827 # Check for -Wl,--gc-sections
34828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34829 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34830 if test x$gcc_no_link = xyes; then
34831 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34834 /* end confdefs.h. */
34835 int one(void) { return 1; }
34836 int two(void) { return 2; }
34839 main ()
34841 two();
34843 return 0;
34845 _ACEOF
34846 if ac_fn_c_try_link "$LINENO"; then :
34847 ac_gcsections=yes
34848 else
34849 ac_gcsections=no
34851 rm -f core conftest.err conftest.$ac_objext \
34852 conftest$ac_exeext conftest.$ac_ext
34853 if test "$ac_gcsections" = "yes"; then
34854 rm -f conftest.c
34855 touch conftest.c
34856 if $CC -c conftest.c; then
34857 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34858 grep "Warning: gc-sections option ignored" > /dev/null; then
34859 ac_gcsections=no
34862 rm -f conftest.c conftest.o conftest
34864 if test "$ac_gcsections" = "yes"; then
34865 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34868 $as_echo "$ac_gcsections" >&6; }
34870 if test "$ac_test_CFLAGS" = set; then
34871 CFLAGS="$ac_save_CFLAGS"
34872 else
34873 # this is the suspicious part
34874 CFLAGS=''
34878 # Set -z,relro.
34879 # Note this is only for shared objects.
34880 ac_ld_relro=no
34881 if test x"$with_gnu_ld" = x"yes"; then
34882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34883 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34884 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34885 if test -n "$cxx_z_relo"; then
34886 OPT_LDFLAGS="-Wl,-z,relro"
34887 ac_ld_relro=yes
34889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34890 $as_echo "$ac_ld_relro" >&6; }
34893 # Set linker optimization flags.
34894 if test x"$with_gnu_ld" = x"yes"; then
34895 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34902 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34903 ac_save_CXXFLAGS="$CXXFLAGS"
34904 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34907 $as_echo_n "checking for sin in -lm... " >&6; }
34908 if test "${ac_cv_lib_m_sin+set}" = set; then :
34909 $as_echo_n "(cached) " >&6
34910 else
34911 ac_check_lib_save_LIBS=$LIBS
34912 LIBS="-lm $LIBS"
34913 if test x$gcc_no_link = xyes; then
34914 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34917 /* end confdefs.h. */
34919 /* Override any GCC internal prototype to avoid an error.
34920 Use char because int might match the return type of a GCC
34921 builtin and then its argument prototype would still apply. */
34922 #ifdef __cplusplus
34923 extern "C"
34924 #endif
34925 char sin ();
34927 main ()
34929 return sin ();
34931 return 0;
34933 _ACEOF
34934 if ac_fn_c_try_link "$LINENO"; then :
34935 ac_cv_lib_m_sin=yes
34936 else
34937 ac_cv_lib_m_sin=no
34939 rm -f core conftest.err conftest.$ac_objext \
34940 conftest$ac_exeext conftest.$ac_ext
34941 LIBS=$ac_check_lib_save_LIBS
34943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34944 $as_echo "$ac_cv_lib_m_sin" >&6; }
34945 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34946 libm="-lm"
34949 ac_save_LIBS="$LIBS"
34950 LIBS="$LIBS $libm"
34954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34955 $as_echo_n "checking for isinf declaration... " >&6; }
34956 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34957 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34958 $as_echo_n "(cached) " >&6
34959 else
34962 ac_ext=cpp
34963 ac_cpp='$CXXCPP $CPPFLAGS'
34964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34969 /* end confdefs.h. */
34970 #include <math.h>
34971 #ifdef HAVE_IEEEFP_H
34972 #include <ieeefp.h>
34973 #endif
34976 main ()
34978 isinf(0);
34980 return 0;
34982 _ACEOF
34983 if ac_fn_cxx_try_compile "$LINENO"; then :
34984 glibcxx_cv_func_isinf_use=yes
34985 else
34986 glibcxx_cv_func_isinf_use=no
34988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34989 ac_ext=c
34990 ac_cpp='$CPP $CPPFLAGS'
34991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35000 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35002 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35003 for ac_func in isinf
35004 do :
35005 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35006 if test "x$ac_cv_func_isinf" = x""yes; then :
35007 cat >>confdefs.h <<_ACEOF
35008 #define HAVE_ISINF 1
35009 _ACEOF
35012 done
35014 else
35016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35017 $as_echo_n "checking for _isinf declaration... " >&6; }
35018 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35019 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35020 $as_echo_n "(cached) " >&6
35021 else
35024 ac_ext=cpp
35025 ac_cpp='$CXXCPP $CPPFLAGS'
35026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35031 /* end confdefs.h. */
35032 #include <math.h>
35033 #ifdef HAVE_IEEEFP_H
35034 #include <ieeefp.h>
35035 #endif
35038 main ()
35040 _isinf(0);
35042 return 0;
35044 _ACEOF
35045 if ac_fn_cxx_try_compile "$LINENO"; then :
35046 glibcxx_cv_func__isinf_use=yes
35047 else
35048 glibcxx_cv_func__isinf_use=no
35050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35051 ac_ext=c
35052 ac_cpp='$CPP $CPPFLAGS'
35053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35062 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35064 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35065 for ac_func in _isinf
35066 do :
35067 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35068 if test "x$ac_cv_func__isinf" = x""yes; then :
35069 cat >>confdefs.h <<_ACEOF
35070 #define HAVE__ISINF 1
35071 _ACEOF
35074 done
35083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35084 $as_echo_n "checking for isnan declaration... " >&6; }
35085 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35086 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35087 $as_echo_n "(cached) " >&6
35088 else
35091 ac_ext=cpp
35092 ac_cpp='$CXXCPP $CPPFLAGS'
35093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35098 /* end confdefs.h. */
35099 #include <math.h>
35100 #ifdef HAVE_IEEEFP_H
35101 #include <ieeefp.h>
35102 #endif
35105 main ()
35107 isnan(0);
35109 return 0;
35111 _ACEOF
35112 if ac_fn_cxx_try_compile "$LINENO"; then :
35113 glibcxx_cv_func_isnan_use=yes
35114 else
35115 glibcxx_cv_func_isnan_use=no
35117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35118 ac_ext=c
35119 ac_cpp='$CPP $CPPFLAGS'
35120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35129 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35131 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35132 for ac_func in isnan
35133 do :
35134 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35135 if test "x$ac_cv_func_isnan" = x""yes; then :
35136 cat >>confdefs.h <<_ACEOF
35137 #define HAVE_ISNAN 1
35138 _ACEOF
35141 done
35143 else
35145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35146 $as_echo_n "checking for _isnan declaration... " >&6; }
35147 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35148 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35149 $as_echo_n "(cached) " >&6
35150 else
35153 ac_ext=cpp
35154 ac_cpp='$CXXCPP $CPPFLAGS'
35155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35160 /* end confdefs.h. */
35161 #include <math.h>
35162 #ifdef HAVE_IEEEFP_H
35163 #include <ieeefp.h>
35164 #endif
35167 main ()
35169 _isnan(0);
35171 return 0;
35173 _ACEOF
35174 if ac_fn_cxx_try_compile "$LINENO"; then :
35175 glibcxx_cv_func__isnan_use=yes
35176 else
35177 glibcxx_cv_func__isnan_use=no
35179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35180 ac_ext=c
35181 ac_cpp='$CPP $CPPFLAGS'
35182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35191 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35193 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35194 for ac_func in _isnan
35195 do :
35196 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35197 if test "x$ac_cv_func__isnan" = x""yes; then :
35198 cat >>confdefs.h <<_ACEOF
35199 #define HAVE__ISNAN 1
35200 _ACEOF
35203 done
35212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35213 $as_echo_n "checking for finite declaration... " >&6; }
35214 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35215 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35216 $as_echo_n "(cached) " >&6
35217 else
35220 ac_ext=cpp
35221 ac_cpp='$CXXCPP $CPPFLAGS'
35222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35227 /* end confdefs.h. */
35228 #include <math.h>
35229 #ifdef HAVE_IEEEFP_H
35230 #include <ieeefp.h>
35231 #endif
35234 main ()
35236 finite(0);
35238 return 0;
35240 _ACEOF
35241 if ac_fn_cxx_try_compile "$LINENO"; then :
35242 glibcxx_cv_func_finite_use=yes
35243 else
35244 glibcxx_cv_func_finite_use=no
35246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35247 ac_ext=c
35248 ac_cpp='$CPP $CPPFLAGS'
35249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35258 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35260 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35261 for ac_func in finite
35262 do :
35263 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35264 if test "x$ac_cv_func_finite" = x""yes; then :
35265 cat >>confdefs.h <<_ACEOF
35266 #define HAVE_FINITE 1
35267 _ACEOF
35270 done
35272 else
35274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35275 $as_echo_n "checking for _finite declaration... " >&6; }
35276 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35277 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35278 $as_echo_n "(cached) " >&6
35279 else
35282 ac_ext=cpp
35283 ac_cpp='$CXXCPP $CPPFLAGS'
35284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35289 /* end confdefs.h. */
35290 #include <math.h>
35291 #ifdef HAVE_IEEEFP_H
35292 #include <ieeefp.h>
35293 #endif
35296 main ()
35298 _finite(0);
35300 return 0;
35302 _ACEOF
35303 if ac_fn_cxx_try_compile "$LINENO"; then :
35304 glibcxx_cv_func__finite_use=yes
35305 else
35306 glibcxx_cv_func__finite_use=no
35308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35309 ac_ext=c
35310 ac_cpp='$CPP $CPPFLAGS'
35311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35320 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35322 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35323 for ac_func in _finite
35324 do :
35325 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35326 if test "x$ac_cv_func__finite" = x""yes; then :
35327 cat >>confdefs.h <<_ACEOF
35328 #define HAVE__FINITE 1
35329 _ACEOF
35332 done
35341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35342 $as_echo_n "checking for sincos declaration... " >&6; }
35343 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35344 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35345 $as_echo_n "(cached) " >&6
35346 else
35349 ac_ext=cpp
35350 ac_cpp='$CXXCPP $CPPFLAGS'
35351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35356 /* end confdefs.h. */
35357 #include <math.h>
35359 main ()
35361 sincos(0, 0, 0);
35363 return 0;
35365 _ACEOF
35366 if ac_fn_cxx_try_compile "$LINENO"; then :
35367 glibcxx_cv_func_sincos_use=yes
35368 else
35369 glibcxx_cv_func_sincos_use=no
35371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35372 ac_ext=c
35373 ac_cpp='$CPP $CPPFLAGS'
35374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35383 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35385 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35386 for ac_func in sincos
35387 do :
35388 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35389 if test "x$ac_cv_func_sincos" = x""yes; then :
35390 cat >>confdefs.h <<_ACEOF
35391 #define HAVE_SINCOS 1
35392 _ACEOF
35395 done
35397 else
35399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35400 $as_echo_n "checking for _sincos declaration... " >&6; }
35401 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35402 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35403 $as_echo_n "(cached) " >&6
35404 else
35407 ac_ext=cpp
35408 ac_cpp='$CXXCPP $CPPFLAGS'
35409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35414 /* end confdefs.h. */
35415 #include <math.h>
35417 main ()
35419 _sincos(0, 0, 0);
35421 return 0;
35423 _ACEOF
35424 if ac_fn_cxx_try_compile "$LINENO"; then :
35425 glibcxx_cv_func__sincos_use=yes
35426 else
35427 glibcxx_cv_func__sincos_use=no
35429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35430 ac_ext=c
35431 ac_cpp='$CPP $CPPFLAGS'
35432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35441 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35443 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35444 for ac_func in _sincos
35445 do :
35446 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35447 if test "x$ac_cv_func__sincos" = x""yes; then :
35448 cat >>confdefs.h <<_ACEOF
35449 #define HAVE__SINCOS 1
35450 _ACEOF
35453 done
35462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35463 $as_echo_n "checking for fpclass declaration... " >&6; }
35464 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35465 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35466 $as_echo_n "(cached) " >&6
35467 else
35470 ac_ext=cpp
35471 ac_cpp='$CXXCPP $CPPFLAGS'
35472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35477 /* end confdefs.h. */
35478 #include <math.h>
35479 #ifdef HAVE_IEEEFP_H
35480 #include <ieeefp.h>
35481 #endif
35484 main ()
35486 fpclass(0);
35488 return 0;
35490 _ACEOF
35491 if ac_fn_cxx_try_compile "$LINENO"; then :
35492 glibcxx_cv_func_fpclass_use=yes
35493 else
35494 glibcxx_cv_func_fpclass_use=no
35496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35497 ac_ext=c
35498 ac_cpp='$CPP $CPPFLAGS'
35499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35508 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35510 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35511 for ac_func in fpclass
35512 do :
35513 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35514 if test "x$ac_cv_func_fpclass" = x""yes; then :
35515 cat >>confdefs.h <<_ACEOF
35516 #define HAVE_FPCLASS 1
35517 _ACEOF
35520 done
35522 else
35524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35525 $as_echo_n "checking for _fpclass declaration... " >&6; }
35526 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35527 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35528 $as_echo_n "(cached) " >&6
35529 else
35532 ac_ext=cpp
35533 ac_cpp='$CXXCPP $CPPFLAGS'
35534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35539 /* end confdefs.h. */
35540 #include <math.h>
35541 #ifdef HAVE_IEEEFP_H
35542 #include <ieeefp.h>
35543 #endif
35546 main ()
35548 _fpclass(0);
35550 return 0;
35552 _ACEOF
35553 if ac_fn_cxx_try_compile "$LINENO"; then :
35554 glibcxx_cv_func__fpclass_use=yes
35555 else
35556 glibcxx_cv_func__fpclass_use=no
35558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35559 ac_ext=c
35560 ac_cpp='$CPP $CPPFLAGS'
35561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35570 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35572 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35573 for ac_func in _fpclass
35574 do :
35575 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35576 if test "x$ac_cv_func__fpclass" = x""yes; then :
35577 cat >>confdefs.h <<_ACEOF
35578 #define HAVE__FPCLASS 1
35579 _ACEOF
35582 done
35591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35592 $as_echo_n "checking for qfpclass declaration... " >&6; }
35593 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35594 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35595 $as_echo_n "(cached) " >&6
35596 else
35599 ac_ext=cpp
35600 ac_cpp='$CXXCPP $CPPFLAGS'
35601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35606 /* end confdefs.h. */
35607 #include <math.h>
35608 #ifdef HAVE_IEEEFP_H
35609 #include <ieeefp.h>
35610 #endif
35613 main ()
35615 qfpclass(0);
35617 return 0;
35619 _ACEOF
35620 if ac_fn_cxx_try_compile "$LINENO"; then :
35621 glibcxx_cv_func_qfpclass_use=yes
35622 else
35623 glibcxx_cv_func_qfpclass_use=no
35625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35626 ac_ext=c
35627 ac_cpp='$CPP $CPPFLAGS'
35628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35637 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35639 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35640 for ac_func in qfpclass
35641 do :
35642 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35643 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35644 cat >>confdefs.h <<_ACEOF
35645 #define HAVE_QFPCLASS 1
35646 _ACEOF
35649 done
35651 else
35653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35654 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35655 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35656 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35657 $as_echo_n "(cached) " >&6
35658 else
35661 ac_ext=cpp
35662 ac_cpp='$CXXCPP $CPPFLAGS'
35663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35668 /* end confdefs.h. */
35669 #include <math.h>
35670 #ifdef HAVE_IEEEFP_H
35671 #include <ieeefp.h>
35672 #endif
35675 main ()
35677 _qfpclass(0);
35679 return 0;
35681 _ACEOF
35682 if ac_fn_cxx_try_compile "$LINENO"; then :
35683 glibcxx_cv_func__qfpclass_use=yes
35684 else
35685 glibcxx_cv_func__qfpclass_use=no
35687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35688 ac_ext=c
35689 ac_cpp='$CPP $CPPFLAGS'
35690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
35699 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
35701 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35702 for ac_func in _qfpclass
35703 do :
35704 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
35705 if test "x$ac_cv_func__qfpclass" = x""yes; then :
35706 cat >>confdefs.h <<_ACEOF
35707 #define HAVE__QFPCLASS 1
35708 _ACEOF
35711 done
35720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35721 $as_echo_n "checking for hypot declaration... " >&6; }
35722 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35723 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35724 $as_echo_n "(cached) " >&6
35725 else
35728 ac_ext=cpp
35729 ac_cpp='$CXXCPP $CPPFLAGS'
35730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35735 /* end confdefs.h. */
35736 #include <math.h>
35738 main ()
35740 hypot(0, 0);
35742 return 0;
35744 _ACEOF
35745 if ac_fn_cxx_try_compile "$LINENO"; then :
35746 glibcxx_cv_func_hypot_use=yes
35747 else
35748 glibcxx_cv_func_hypot_use=no
35750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35751 ac_ext=c
35752 ac_cpp='$CPP $CPPFLAGS'
35753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35762 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35764 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35765 for ac_func in hypot
35766 do :
35767 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35768 if test "x$ac_cv_func_hypot" = x""yes; then :
35769 cat >>confdefs.h <<_ACEOF
35770 #define HAVE_HYPOT 1
35771 _ACEOF
35774 done
35776 else
35778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35779 $as_echo_n "checking for _hypot declaration... " >&6; }
35780 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35781 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35782 $as_echo_n "(cached) " >&6
35783 else
35786 ac_ext=cpp
35787 ac_cpp='$CXXCPP $CPPFLAGS'
35788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35793 /* end confdefs.h. */
35794 #include <math.h>
35796 main ()
35798 _hypot(0, 0);
35800 return 0;
35802 _ACEOF
35803 if ac_fn_cxx_try_compile "$LINENO"; then :
35804 glibcxx_cv_func__hypot_use=yes
35805 else
35806 glibcxx_cv_func__hypot_use=no
35808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35809 ac_ext=c
35810 ac_cpp='$CPP $CPPFLAGS'
35811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35820 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35822 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35823 for ac_func in _hypot
35824 do :
35825 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35826 if test "x$ac_cv_func__hypot" = x""yes; then :
35827 cat >>confdefs.h <<_ACEOF
35828 #define HAVE__HYPOT 1
35829 _ACEOF
35832 done
35841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35842 $as_echo_n "checking for float trig functions... " >&6; }
35843 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35844 $as_echo_n "(cached) " >&6
35845 else
35848 ac_ext=cpp
35849 ac_cpp='$CXXCPP $CPPFLAGS'
35850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35855 /* end confdefs.h. */
35856 #include <math.h>
35858 main ()
35860 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35862 return 0;
35864 _ACEOF
35865 if ac_fn_cxx_try_compile "$LINENO"; then :
35866 glibcxx_cv_func_float_trig_use=yes
35867 else
35868 glibcxx_cv_func_float_trig_use=no
35870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35871 ac_ext=c
35872 ac_cpp='$CPP $CPPFLAGS'
35873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35880 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35881 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35882 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35883 do :
35884 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35885 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35886 eval as_val=\$$as_ac_var
35887 if test "x$as_val" = x""yes; then :
35888 cat >>confdefs.h <<_ACEOF
35889 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35890 _ACEOF
35893 done
35895 else
35896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35897 $as_echo_n "checking for _float trig functions... " >&6; }
35898 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35899 $as_echo_n "(cached) " >&6
35900 else
35903 ac_ext=cpp
35904 ac_cpp='$CXXCPP $CPPFLAGS'
35905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35910 /* end confdefs.h. */
35911 #include <math.h>
35913 main ()
35915 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35917 return 0;
35919 _ACEOF
35920 if ac_fn_cxx_try_compile "$LINENO"; then :
35921 glibcxx_cv_func__float_trig_use=yes
35922 else
35923 glibcxx_cv_func__float_trig_use=no
35925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35926 ac_ext=c
35927 ac_cpp='$CPP $CPPFLAGS'
35928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35935 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35936 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35937 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35938 do :
35939 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35940 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35941 eval as_val=\$$as_ac_var
35942 if test "x$as_val" = x""yes; then :
35943 cat >>confdefs.h <<_ACEOF
35944 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35945 _ACEOF
35948 done
35957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35958 $as_echo_n "checking for float round functions... " >&6; }
35959 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35960 $as_echo_n "(cached) " >&6
35961 else
35964 ac_ext=cpp
35965 ac_cpp='$CXXCPP $CPPFLAGS'
35966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35971 /* end confdefs.h. */
35972 #include <math.h>
35974 main ()
35976 ceilf (0); floorf (0);
35978 return 0;
35980 _ACEOF
35981 if ac_fn_cxx_try_compile "$LINENO"; then :
35982 glibcxx_cv_func_float_round_use=yes
35983 else
35984 glibcxx_cv_func_float_round_use=no
35986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35987 ac_ext=c
35988 ac_cpp='$CPP $CPPFLAGS'
35989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35996 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35997 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35998 for ac_func in ceilf floorf
35999 do :
36000 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36001 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36002 eval as_val=\$$as_ac_var
36003 if test "x$as_val" = x""yes; then :
36004 cat >>confdefs.h <<_ACEOF
36005 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36006 _ACEOF
36009 done
36011 else
36012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36013 $as_echo_n "checking for _float round functions... " >&6; }
36014 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36015 $as_echo_n "(cached) " >&6
36016 else
36019 ac_ext=cpp
36020 ac_cpp='$CXXCPP $CPPFLAGS'
36021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36026 /* end confdefs.h. */
36027 #include <math.h>
36029 main ()
36031 _ceilf (0); _floorf (0);
36033 return 0;
36035 _ACEOF
36036 if ac_fn_cxx_try_compile "$LINENO"; then :
36037 glibcxx_cv_func__float_round_use=yes
36038 else
36039 glibcxx_cv_func__float_round_use=no
36041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36042 ac_ext=c
36043 ac_cpp='$CPP $CPPFLAGS'
36044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36051 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36052 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36053 for ac_func in _ceilf _floorf
36054 do :
36055 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36057 eval as_val=\$$as_ac_var
36058 if test "x$as_val" = x""yes; then :
36059 cat >>confdefs.h <<_ACEOF
36060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36061 _ACEOF
36064 done
36074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36075 $as_echo_n "checking for expf declaration... " >&6; }
36076 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36077 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36078 $as_echo_n "(cached) " >&6
36079 else
36082 ac_ext=cpp
36083 ac_cpp='$CXXCPP $CPPFLAGS'
36084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36089 /* end confdefs.h. */
36090 #include <math.h>
36091 #ifdef HAVE_IEEEFP_H
36092 #include <ieeefp.h>
36093 #endif
36096 main ()
36098 expf(0);
36100 return 0;
36102 _ACEOF
36103 if ac_fn_cxx_try_compile "$LINENO"; then :
36104 glibcxx_cv_func_expf_use=yes
36105 else
36106 glibcxx_cv_func_expf_use=no
36108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36109 ac_ext=c
36110 ac_cpp='$CPP $CPPFLAGS'
36111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36120 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36122 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36123 for ac_func in expf
36124 do :
36125 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36126 if test "x$ac_cv_func_expf" = x""yes; then :
36127 cat >>confdefs.h <<_ACEOF
36128 #define HAVE_EXPF 1
36129 _ACEOF
36132 done
36134 else
36136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36137 $as_echo_n "checking for _expf declaration... " >&6; }
36138 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36139 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36140 $as_echo_n "(cached) " >&6
36141 else
36144 ac_ext=cpp
36145 ac_cpp='$CXXCPP $CPPFLAGS'
36146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36151 /* end confdefs.h. */
36152 #include <math.h>
36153 #ifdef HAVE_IEEEFP_H
36154 #include <ieeefp.h>
36155 #endif
36158 main ()
36160 _expf(0);
36162 return 0;
36164 _ACEOF
36165 if ac_fn_cxx_try_compile "$LINENO"; then :
36166 glibcxx_cv_func__expf_use=yes
36167 else
36168 glibcxx_cv_func__expf_use=no
36170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36171 ac_ext=c
36172 ac_cpp='$CPP $CPPFLAGS'
36173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36182 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36184 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36185 for ac_func in _expf
36186 do :
36187 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36188 if test "x$ac_cv_func__expf" = x""yes; then :
36189 cat >>confdefs.h <<_ACEOF
36190 #define HAVE__EXPF 1
36191 _ACEOF
36194 done
36203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36204 $as_echo_n "checking for isnanf declaration... " >&6; }
36205 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36206 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36207 $as_echo_n "(cached) " >&6
36208 else
36211 ac_ext=cpp
36212 ac_cpp='$CXXCPP $CPPFLAGS'
36213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36218 /* end confdefs.h. */
36219 #include <math.h>
36220 #ifdef HAVE_IEEEFP_H
36221 #include <ieeefp.h>
36222 #endif
36225 main ()
36227 isnanf(0);
36229 return 0;
36231 _ACEOF
36232 if ac_fn_cxx_try_compile "$LINENO"; then :
36233 glibcxx_cv_func_isnanf_use=yes
36234 else
36235 glibcxx_cv_func_isnanf_use=no
36237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36238 ac_ext=c
36239 ac_cpp='$CPP $CPPFLAGS'
36240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36249 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36251 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36252 for ac_func in isnanf
36253 do :
36254 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36255 if test "x$ac_cv_func_isnanf" = x""yes; then :
36256 cat >>confdefs.h <<_ACEOF
36257 #define HAVE_ISNANF 1
36258 _ACEOF
36261 done
36263 else
36265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36266 $as_echo_n "checking for _isnanf declaration... " >&6; }
36267 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36268 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36269 $as_echo_n "(cached) " >&6
36270 else
36273 ac_ext=cpp
36274 ac_cpp='$CXXCPP $CPPFLAGS'
36275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36280 /* end confdefs.h. */
36281 #include <math.h>
36282 #ifdef HAVE_IEEEFP_H
36283 #include <ieeefp.h>
36284 #endif
36287 main ()
36289 _isnanf(0);
36291 return 0;
36293 _ACEOF
36294 if ac_fn_cxx_try_compile "$LINENO"; then :
36295 glibcxx_cv_func__isnanf_use=yes
36296 else
36297 glibcxx_cv_func__isnanf_use=no
36299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36300 ac_ext=c
36301 ac_cpp='$CPP $CPPFLAGS'
36302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36311 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36313 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36314 for ac_func in _isnanf
36315 do :
36316 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36317 if test "x$ac_cv_func__isnanf" = x""yes; then :
36318 cat >>confdefs.h <<_ACEOF
36319 #define HAVE__ISNANF 1
36320 _ACEOF
36323 done
36332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36333 $as_echo_n "checking for isinff declaration... " >&6; }
36334 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36335 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36336 $as_echo_n "(cached) " >&6
36337 else
36340 ac_ext=cpp
36341 ac_cpp='$CXXCPP $CPPFLAGS'
36342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36347 /* end confdefs.h. */
36348 #include <math.h>
36349 #ifdef HAVE_IEEEFP_H
36350 #include <ieeefp.h>
36351 #endif
36354 main ()
36356 isinff(0);
36358 return 0;
36360 _ACEOF
36361 if ac_fn_cxx_try_compile "$LINENO"; then :
36362 glibcxx_cv_func_isinff_use=yes
36363 else
36364 glibcxx_cv_func_isinff_use=no
36366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36367 ac_ext=c
36368 ac_cpp='$CPP $CPPFLAGS'
36369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36378 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36380 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36381 for ac_func in isinff
36382 do :
36383 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36384 if test "x$ac_cv_func_isinff" = x""yes; then :
36385 cat >>confdefs.h <<_ACEOF
36386 #define HAVE_ISINFF 1
36387 _ACEOF
36390 done
36392 else
36394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36395 $as_echo_n "checking for _isinff declaration... " >&6; }
36396 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36397 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36398 $as_echo_n "(cached) " >&6
36399 else
36402 ac_ext=cpp
36403 ac_cpp='$CXXCPP $CPPFLAGS'
36404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36409 /* end confdefs.h. */
36410 #include <math.h>
36411 #ifdef HAVE_IEEEFP_H
36412 #include <ieeefp.h>
36413 #endif
36416 main ()
36418 _isinff(0);
36420 return 0;
36422 _ACEOF
36423 if ac_fn_cxx_try_compile "$LINENO"; then :
36424 glibcxx_cv_func__isinff_use=yes
36425 else
36426 glibcxx_cv_func__isinff_use=no
36428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36429 ac_ext=c
36430 ac_cpp='$CPP $CPPFLAGS'
36431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36440 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36442 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36443 for ac_func in _isinff
36444 do :
36445 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36446 if test "x$ac_cv_func__isinff" = x""yes; then :
36447 cat >>confdefs.h <<_ACEOF
36448 #define HAVE__ISINFF 1
36449 _ACEOF
36452 done
36461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36462 $as_echo_n "checking for atan2f declaration... " >&6; }
36463 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36464 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36465 $as_echo_n "(cached) " >&6
36466 else
36469 ac_ext=cpp
36470 ac_cpp='$CXXCPP $CPPFLAGS'
36471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36476 /* end confdefs.h. */
36477 #include <math.h>
36479 main ()
36481 atan2f(0, 0);
36483 return 0;
36485 _ACEOF
36486 if ac_fn_cxx_try_compile "$LINENO"; then :
36487 glibcxx_cv_func_atan2f_use=yes
36488 else
36489 glibcxx_cv_func_atan2f_use=no
36491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36492 ac_ext=c
36493 ac_cpp='$CPP $CPPFLAGS'
36494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36503 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36505 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36506 for ac_func in atan2f
36507 do :
36508 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36509 if test "x$ac_cv_func_atan2f" = x""yes; then :
36510 cat >>confdefs.h <<_ACEOF
36511 #define HAVE_ATAN2F 1
36512 _ACEOF
36515 done
36517 else
36519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36520 $as_echo_n "checking for _atan2f declaration... " >&6; }
36521 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36522 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36523 $as_echo_n "(cached) " >&6
36524 else
36527 ac_ext=cpp
36528 ac_cpp='$CXXCPP $CPPFLAGS'
36529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36534 /* end confdefs.h. */
36535 #include <math.h>
36537 main ()
36539 _atan2f(0, 0);
36541 return 0;
36543 _ACEOF
36544 if ac_fn_cxx_try_compile "$LINENO"; then :
36545 glibcxx_cv_func__atan2f_use=yes
36546 else
36547 glibcxx_cv_func__atan2f_use=no
36549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36550 ac_ext=c
36551 ac_cpp='$CPP $CPPFLAGS'
36552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36561 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36563 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36564 for ac_func in _atan2f
36565 do :
36566 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36567 if test "x$ac_cv_func__atan2f" = x""yes; then :
36568 cat >>confdefs.h <<_ACEOF
36569 #define HAVE__ATAN2F 1
36570 _ACEOF
36573 done
36582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36583 $as_echo_n "checking for fabsf declaration... " >&6; }
36584 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36585 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36586 $as_echo_n "(cached) " >&6
36587 else
36590 ac_ext=cpp
36591 ac_cpp='$CXXCPP $CPPFLAGS'
36592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36597 /* end confdefs.h. */
36598 #include <math.h>
36599 #ifdef HAVE_IEEEFP_H
36600 #include <ieeefp.h>
36601 #endif
36604 main ()
36606 fabsf(0);
36608 return 0;
36610 _ACEOF
36611 if ac_fn_cxx_try_compile "$LINENO"; then :
36612 glibcxx_cv_func_fabsf_use=yes
36613 else
36614 glibcxx_cv_func_fabsf_use=no
36616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36617 ac_ext=c
36618 ac_cpp='$CPP $CPPFLAGS'
36619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36628 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36630 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36631 for ac_func in fabsf
36632 do :
36633 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36634 if test "x$ac_cv_func_fabsf" = x""yes; then :
36635 cat >>confdefs.h <<_ACEOF
36636 #define HAVE_FABSF 1
36637 _ACEOF
36640 done
36642 else
36644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36645 $as_echo_n "checking for _fabsf declaration... " >&6; }
36646 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36647 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36648 $as_echo_n "(cached) " >&6
36649 else
36652 ac_ext=cpp
36653 ac_cpp='$CXXCPP $CPPFLAGS'
36654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36659 /* end confdefs.h. */
36660 #include <math.h>
36661 #ifdef HAVE_IEEEFP_H
36662 #include <ieeefp.h>
36663 #endif
36666 main ()
36668 _fabsf(0);
36670 return 0;
36672 _ACEOF
36673 if ac_fn_cxx_try_compile "$LINENO"; then :
36674 glibcxx_cv_func__fabsf_use=yes
36675 else
36676 glibcxx_cv_func__fabsf_use=no
36678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36679 ac_ext=c
36680 ac_cpp='$CPP $CPPFLAGS'
36681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
36690 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36692 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36693 for ac_func in _fabsf
36694 do :
36695 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
36696 if test "x$ac_cv_func__fabsf" = x""yes; then :
36697 cat >>confdefs.h <<_ACEOF
36698 #define HAVE__FABSF 1
36699 _ACEOF
36702 done
36711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
36712 $as_echo_n "checking for fmodf declaration... " >&6; }
36713 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36714 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
36715 $as_echo_n "(cached) " >&6
36716 else
36719 ac_ext=cpp
36720 ac_cpp='$CXXCPP $CPPFLAGS'
36721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36726 /* end confdefs.h. */
36727 #include <math.h>
36729 main ()
36731 fmodf(0, 0);
36733 return 0;
36735 _ACEOF
36736 if ac_fn_cxx_try_compile "$LINENO"; then :
36737 glibcxx_cv_func_fmodf_use=yes
36738 else
36739 glibcxx_cv_func_fmodf_use=no
36741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36742 ac_ext=c
36743 ac_cpp='$CPP $CPPFLAGS'
36744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36753 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36755 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36756 for ac_func in fmodf
36757 do :
36758 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36759 if test "x$ac_cv_func_fmodf" = x""yes; then :
36760 cat >>confdefs.h <<_ACEOF
36761 #define HAVE_FMODF 1
36762 _ACEOF
36765 done
36767 else
36769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36770 $as_echo_n "checking for _fmodf declaration... " >&6; }
36771 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36772 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36773 $as_echo_n "(cached) " >&6
36774 else
36777 ac_ext=cpp
36778 ac_cpp='$CXXCPP $CPPFLAGS'
36779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36784 /* end confdefs.h. */
36785 #include <math.h>
36787 main ()
36789 _fmodf(0, 0);
36791 return 0;
36793 _ACEOF
36794 if ac_fn_cxx_try_compile "$LINENO"; then :
36795 glibcxx_cv_func__fmodf_use=yes
36796 else
36797 glibcxx_cv_func__fmodf_use=no
36799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36800 ac_ext=c
36801 ac_cpp='$CPP $CPPFLAGS'
36802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36811 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36813 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36814 for ac_func in _fmodf
36815 do :
36816 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36817 if test "x$ac_cv_func__fmodf" = x""yes; then :
36818 cat >>confdefs.h <<_ACEOF
36819 #define HAVE__FMODF 1
36820 _ACEOF
36823 done
36832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36833 $as_echo_n "checking for frexpf declaration... " >&6; }
36834 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36835 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36836 $as_echo_n "(cached) " >&6
36837 else
36840 ac_ext=cpp
36841 ac_cpp='$CXXCPP $CPPFLAGS'
36842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36847 /* end confdefs.h. */
36848 #include <math.h>
36850 main ()
36852 frexpf(0, 0);
36854 return 0;
36856 _ACEOF
36857 if ac_fn_cxx_try_compile "$LINENO"; then :
36858 glibcxx_cv_func_frexpf_use=yes
36859 else
36860 glibcxx_cv_func_frexpf_use=no
36862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36863 ac_ext=c
36864 ac_cpp='$CPP $CPPFLAGS'
36865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36874 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36876 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36877 for ac_func in frexpf
36878 do :
36879 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36880 if test "x$ac_cv_func_frexpf" = x""yes; then :
36881 cat >>confdefs.h <<_ACEOF
36882 #define HAVE_FREXPF 1
36883 _ACEOF
36886 done
36888 else
36890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36891 $as_echo_n "checking for _frexpf declaration... " >&6; }
36892 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36893 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36894 $as_echo_n "(cached) " >&6
36895 else
36898 ac_ext=cpp
36899 ac_cpp='$CXXCPP $CPPFLAGS'
36900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36905 /* end confdefs.h. */
36906 #include <math.h>
36908 main ()
36910 _frexpf(0, 0);
36912 return 0;
36914 _ACEOF
36915 if ac_fn_cxx_try_compile "$LINENO"; then :
36916 glibcxx_cv_func__frexpf_use=yes
36917 else
36918 glibcxx_cv_func__frexpf_use=no
36920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36921 ac_ext=c
36922 ac_cpp='$CPP $CPPFLAGS'
36923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36932 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36934 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36935 for ac_func in _frexpf
36936 do :
36937 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36938 if test "x$ac_cv_func__frexpf" = x""yes; then :
36939 cat >>confdefs.h <<_ACEOF
36940 #define HAVE__FREXPF 1
36941 _ACEOF
36944 done
36953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36954 $as_echo_n "checking for hypotf declaration... " >&6; }
36955 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36956 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36957 $as_echo_n "(cached) " >&6
36958 else
36961 ac_ext=cpp
36962 ac_cpp='$CXXCPP $CPPFLAGS'
36963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36968 /* end confdefs.h. */
36969 #include <math.h>
36971 main ()
36973 hypotf(0, 0);
36975 return 0;
36977 _ACEOF
36978 if ac_fn_cxx_try_compile "$LINENO"; then :
36979 glibcxx_cv_func_hypotf_use=yes
36980 else
36981 glibcxx_cv_func_hypotf_use=no
36983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36984 ac_ext=c
36985 ac_cpp='$CPP $CPPFLAGS'
36986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36995 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36997 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36998 for ac_func in hypotf
36999 do :
37000 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37001 if test "x$ac_cv_func_hypotf" = x""yes; then :
37002 cat >>confdefs.h <<_ACEOF
37003 #define HAVE_HYPOTF 1
37004 _ACEOF
37007 done
37009 else
37011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37012 $as_echo_n "checking for _hypotf declaration... " >&6; }
37013 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37014 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37015 $as_echo_n "(cached) " >&6
37016 else
37019 ac_ext=cpp
37020 ac_cpp='$CXXCPP $CPPFLAGS'
37021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37026 /* end confdefs.h. */
37027 #include <math.h>
37029 main ()
37031 _hypotf(0, 0);
37033 return 0;
37035 _ACEOF
37036 if ac_fn_cxx_try_compile "$LINENO"; then :
37037 glibcxx_cv_func__hypotf_use=yes
37038 else
37039 glibcxx_cv_func__hypotf_use=no
37041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37042 ac_ext=c
37043 ac_cpp='$CPP $CPPFLAGS'
37044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37053 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37055 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37056 for ac_func in _hypotf
37057 do :
37058 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37059 if test "x$ac_cv_func__hypotf" = x""yes; then :
37060 cat >>confdefs.h <<_ACEOF
37061 #define HAVE__HYPOTF 1
37062 _ACEOF
37065 done
37074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37075 $as_echo_n "checking for ldexpf declaration... " >&6; }
37076 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37077 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37078 $as_echo_n "(cached) " >&6
37079 else
37082 ac_ext=cpp
37083 ac_cpp='$CXXCPP $CPPFLAGS'
37084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37089 /* end confdefs.h. */
37090 #include <math.h>
37092 main ()
37094 ldexpf(0, 0);
37096 return 0;
37098 _ACEOF
37099 if ac_fn_cxx_try_compile "$LINENO"; then :
37100 glibcxx_cv_func_ldexpf_use=yes
37101 else
37102 glibcxx_cv_func_ldexpf_use=no
37104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37105 ac_ext=c
37106 ac_cpp='$CPP $CPPFLAGS'
37107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37116 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37118 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37119 for ac_func in ldexpf
37120 do :
37121 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37122 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37123 cat >>confdefs.h <<_ACEOF
37124 #define HAVE_LDEXPF 1
37125 _ACEOF
37128 done
37130 else
37132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37133 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37134 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37135 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37136 $as_echo_n "(cached) " >&6
37137 else
37140 ac_ext=cpp
37141 ac_cpp='$CXXCPP $CPPFLAGS'
37142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37147 /* end confdefs.h. */
37148 #include <math.h>
37150 main ()
37152 _ldexpf(0, 0);
37154 return 0;
37156 _ACEOF
37157 if ac_fn_cxx_try_compile "$LINENO"; then :
37158 glibcxx_cv_func__ldexpf_use=yes
37159 else
37160 glibcxx_cv_func__ldexpf_use=no
37162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37163 ac_ext=c
37164 ac_cpp='$CPP $CPPFLAGS'
37165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37174 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37176 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37177 for ac_func in _ldexpf
37178 do :
37179 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37180 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37181 cat >>confdefs.h <<_ACEOF
37182 #define HAVE__LDEXPF 1
37183 _ACEOF
37186 done
37195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37196 $as_echo_n "checking for logf declaration... " >&6; }
37197 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37198 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37199 $as_echo_n "(cached) " >&6
37200 else
37203 ac_ext=cpp
37204 ac_cpp='$CXXCPP $CPPFLAGS'
37205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37210 /* end confdefs.h. */
37211 #include <math.h>
37212 #ifdef HAVE_IEEEFP_H
37213 #include <ieeefp.h>
37214 #endif
37217 main ()
37219 logf(0);
37221 return 0;
37223 _ACEOF
37224 if ac_fn_cxx_try_compile "$LINENO"; then :
37225 glibcxx_cv_func_logf_use=yes
37226 else
37227 glibcxx_cv_func_logf_use=no
37229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37230 ac_ext=c
37231 ac_cpp='$CPP $CPPFLAGS'
37232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37241 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37243 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37244 for ac_func in logf
37245 do :
37246 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37247 if test "x$ac_cv_func_logf" = x""yes; then :
37248 cat >>confdefs.h <<_ACEOF
37249 #define HAVE_LOGF 1
37250 _ACEOF
37253 done
37255 else
37257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37258 $as_echo_n "checking for _logf declaration... " >&6; }
37259 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37260 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37261 $as_echo_n "(cached) " >&6
37262 else
37265 ac_ext=cpp
37266 ac_cpp='$CXXCPP $CPPFLAGS'
37267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37272 /* end confdefs.h. */
37273 #include <math.h>
37274 #ifdef HAVE_IEEEFP_H
37275 #include <ieeefp.h>
37276 #endif
37279 main ()
37281 _logf(0);
37283 return 0;
37285 _ACEOF
37286 if ac_fn_cxx_try_compile "$LINENO"; then :
37287 glibcxx_cv_func__logf_use=yes
37288 else
37289 glibcxx_cv_func__logf_use=no
37291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37292 ac_ext=c
37293 ac_cpp='$CPP $CPPFLAGS'
37294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37303 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37305 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37306 for ac_func in _logf
37307 do :
37308 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37309 if test "x$ac_cv_func__logf" = x""yes; then :
37310 cat >>confdefs.h <<_ACEOF
37311 #define HAVE__LOGF 1
37312 _ACEOF
37315 done
37324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37325 $as_echo_n "checking for log10f declaration... " >&6; }
37326 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37327 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37328 $as_echo_n "(cached) " >&6
37329 else
37332 ac_ext=cpp
37333 ac_cpp='$CXXCPP $CPPFLAGS'
37334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37339 /* end confdefs.h. */
37340 #include <math.h>
37341 #ifdef HAVE_IEEEFP_H
37342 #include <ieeefp.h>
37343 #endif
37346 main ()
37348 log10f(0);
37350 return 0;
37352 _ACEOF
37353 if ac_fn_cxx_try_compile "$LINENO"; then :
37354 glibcxx_cv_func_log10f_use=yes
37355 else
37356 glibcxx_cv_func_log10f_use=no
37358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37359 ac_ext=c
37360 ac_cpp='$CPP $CPPFLAGS'
37361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37370 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37372 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37373 for ac_func in log10f
37374 do :
37375 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37376 if test "x$ac_cv_func_log10f" = x""yes; then :
37377 cat >>confdefs.h <<_ACEOF
37378 #define HAVE_LOG10F 1
37379 _ACEOF
37382 done
37384 else
37386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37387 $as_echo_n "checking for _log10f declaration... " >&6; }
37388 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37389 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37390 $as_echo_n "(cached) " >&6
37391 else
37394 ac_ext=cpp
37395 ac_cpp='$CXXCPP $CPPFLAGS'
37396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37401 /* end confdefs.h. */
37402 #include <math.h>
37403 #ifdef HAVE_IEEEFP_H
37404 #include <ieeefp.h>
37405 #endif
37408 main ()
37410 _log10f(0);
37412 return 0;
37414 _ACEOF
37415 if ac_fn_cxx_try_compile "$LINENO"; then :
37416 glibcxx_cv_func__log10f_use=yes
37417 else
37418 glibcxx_cv_func__log10f_use=no
37420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37421 ac_ext=c
37422 ac_cpp='$CPP $CPPFLAGS'
37423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37432 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37434 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37435 for ac_func in _log10f
37436 do :
37437 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37438 if test "x$ac_cv_func__log10f" = x""yes; then :
37439 cat >>confdefs.h <<_ACEOF
37440 #define HAVE__LOG10F 1
37441 _ACEOF
37444 done
37453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37454 $as_echo_n "checking for modff declaration... " >&6; }
37455 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37456 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37457 $as_echo_n "(cached) " >&6
37458 else
37461 ac_ext=cpp
37462 ac_cpp='$CXXCPP $CPPFLAGS'
37463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37468 /* end confdefs.h. */
37469 #include <math.h>
37471 main ()
37473 modff(0, 0);
37475 return 0;
37477 _ACEOF
37478 if ac_fn_cxx_try_compile "$LINENO"; then :
37479 glibcxx_cv_func_modff_use=yes
37480 else
37481 glibcxx_cv_func_modff_use=no
37483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37484 ac_ext=c
37485 ac_cpp='$CPP $CPPFLAGS'
37486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37495 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37497 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37498 for ac_func in modff
37499 do :
37500 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37501 if test "x$ac_cv_func_modff" = x""yes; then :
37502 cat >>confdefs.h <<_ACEOF
37503 #define HAVE_MODFF 1
37504 _ACEOF
37507 done
37509 else
37511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37512 $as_echo_n "checking for _modff declaration... " >&6; }
37513 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37514 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37515 $as_echo_n "(cached) " >&6
37516 else
37519 ac_ext=cpp
37520 ac_cpp='$CXXCPP $CPPFLAGS'
37521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37526 /* end confdefs.h. */
37527 #include <math.h>
37529 main ()
37531 _modff(0, 0);
37533 return 0;
37535 _ACEOF
37536 if ac_fn_cxx_try_compile "$LINENO"; then :
37537 glibcxx_cv_func__modff_use=yes
37538 else
37539 glibcxx_cv_func__modff_use=no
37541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37542 ac_ext=c
37543 ac_cpp='$CPP $CPPFLAGS'
37544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37553 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37555 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37556 for ac_func in _modff
37557 do :
37558 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37559 if test "x$ac_cv_func__modff" = x""yes; then :
37560 cat >>confdefs.h <<_ACEOF
37561 #define HAVE__MODFF 1
37562 _ACEOF
37565 done
37574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37575 $as_echo_n "checking for modf declaration... " >&6; }
37576 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37577 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37578 $as_echo_n "(cached) " >&6
37579 else
37582 ac_ext=cpp
37583 ac_cpp='$CXXCPP $CPPFLAGS'
37584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37589 /* end confdefs.h. */
37590 #include <math.h>
37592 main ()
37594 modf(0, 0);
37596 return 0;
37598 _ACEOF
37599 if ac_fn_cxx_try_compile "$LINENO"; then :
37600 glibcxx_cv_func_modf_use=yes
37601 else
37602 glibcxx_cv_func_modf_use=no
37604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37605 ac_ext=c
37606 ac_cpp='$CPP $CPPFLAGS'
37607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37616 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37618 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37619 for ac_func in modf
37620 do :
37621 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37622 if test "x$ac_cv_func_modf" = x""yes; then :
37623 cat >>confdefs.h <<_ACEOF
37624 #define HAVE_MODF 1
37625 _ACEOF
37628 done
37630 else
37632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37633 $as_echo_n "checking for _modf declaration... " >&6; }
37634 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37635 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37636 $as_echo_n "(cached) " >&6
37637 else
37640 ac_ext=cpp
37641 ac_cpp='$CXXCPP $CPPFLAGS'
37642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37647 /* end confdefs.h. */
37648 #include <math.h>
37650 main ()
37652 _modf(0, 0);
37654 return 0;
37656 _ACEOF
37657 if ac_fn_cxx_try_compile "$LINENO"; then :
37658 glibcxx_cv_func__modf_use=yes
37659 else
37660 glibcxx_cv_func__modf_use=no
37662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37663 ac_ext=c
37664 ac_cpp='$CPP $CPPFLAGS'
37665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37674 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37676 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37677 for ac_func in _modf
37678 do :
37679 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37680 if test "x$ac_cv_func__modf" = x""yes; then :
37681 cat >>confdefs.h <<_ACEOF
37682 #define HAVE__MODF 1
37683 _ACEOF
37686 done
37695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
37696 $as_echo_n "checking for powf declaration... " >&6; }
37697 if test x${glibcxx_cv_func_powf_use+set} != xset; then
37698 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
37699 $as_echo_n "(cached) " >&6
37700 else
37703 ac_ext=cpp
37704 ac_cpp='$CXXCPP $CPPFLAGS'
37705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37710 /* end confdefs.h. */
37711 #include <math.h>
37713 main ()
37715 powf(0, 0);
37717 return 0;
37719 _ACEOF
37720 if ac_fn_cxx_try_compile "$LINENO"; then :
37721 glibcxx_cv_func_powf_use=yes
37722 else
37723 glibcxx_cv_func_powf_use=no
37725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37726 ac_ext=c
37727 ac_cpp='$CPP $CPPFLAGS'
37728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37737 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37739 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37740 for ac_func in powf
37741 do :
37742 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37743 if test "x$ac_cv_func_powf" = x""yes; then :
37744 cat >>confdefs.h <<_ACEOF
37745 #define HAVE_POWF 1
37746 _ACEOF
37749 done
37751 else
37753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37754 $as_echo_n "checking for _powf declaration... " >&6; }
37755 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37756 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37757 $as_echo_n "(cached) " >&6
37758 else
37761 ac_ext=cpp
37762 ac_cpp='$CXXCPP $CPPFLAGS'
37763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37768 /* end confdefs.h. */
37769 #include <math.h>
37771 main ()
37773 _powf(0, 0);
37775 return 0;
37777 _ACEOF
37778 if ac_fn_cxx_try_compile "$LINENO"; then :
37779 glibcxx_cv_func__powf_use=yes
37780 else
37781 glibcxx_cv_func__powf_use=no
37783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37784 ac_ext=c
37785 ac_cpp='$CPP $CPPFLAGS'
37786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37795 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37797 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37798 for ac_func in _powf
37799 do :
37800 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37801 if test "x$ac_cv_func__powf" = x""yes; then :
37802 cat >>confdefs.h <<_ACEOF
37803 #define HAVE__POWF 1
37804 _ACEOF
37807 done
37816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37817 $as_echo_n "checking for sqrtf declaration... " >&6; }
37818 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37819 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37820 $as_echo_n "(cached) " >&6
37821 else
37824 ac_ext=cpp
37825 ac_cpp='$CXXCPP $CPPFLAGS'
37826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37831 /* end confdefs.h. */
37832 #include <math.h>
37833 #ifdef HAVE_IEEEFP_H
37834 #include <ieeefp.h>
37835 #endif
37838 main ()
37840 sqrtf(0);
37842 return 0;
37844 _ACEOF
37845 if ac_fn_cxx_try_compile "$LINENO"; then :
37846 glibcxx_cv_func_sqrtf_use=yes
37847 else
37848 glibcxx_cv_func_sqrtf_use=no
37850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37851 ac_ext=c
37852 ac_cpp='$CPP $CPPFLAGS'
37853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37862 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37864 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37865 for ac_func in sqrtf
37866 do :
37867 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37868 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37869 cat >>confdefs.h <<_ACEOF
37870 #define HAVE_SQRTF 1
37871 _ACEOF
37874 done
37876 else
37878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37879 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37880 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37881 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37882 $as_echo_n "(cached) " >&6
37883 else
37886 ac_ext=cpp
37887 ac_cpp='$CXXCPP $CPPFLAGS'
37888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37893 /* end confdefs.h. */
37894 #include <math.h>
37895 #ifdef HAVE_IEEEFP_H
37896 #include <ieeefp.h>
37897 #endif
37900 main ()
37902 _sqrtf(0);
37904 return 0;
37906 _ACEOF
37907 if ac_fn_cxx_try_compile "$LINENO"; then :
37908 glibcxx_cv_func__sqrtf_use=yes
37909 else
37910 glibcxx_cv_func__sqrtf_use=no
37912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37913 ac_ext=c
37914 ac_cpp='$CPP $CPPFLAGS'
37915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37924 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37926 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37927 for ac_func in _sqrtf
37928 do :
37929 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37930 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37931 cat >>confdefs.h <<_ACEOF
37932 #define HAVE__SQRTF 1
37933 _ACEOF
37936 done
37945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37946 $as_echo_n "checking for sincosf declaration... " >&6; }
37947 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37948 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37949 $as_echo_n "(cached) " >&6
37950 else
37953 ac_ext=cpp
37954 ac_cpp='$CXXCPP $CPPFLAGS'
37955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37960 /* end confdefs.h. */
37961 #include <math.h>
37963 main ()
37965 sincosf(0, 0, 0);
37967 return 0;
37969 _ACEOF
37970 if ac_fn_cxx_try_compile "$LINENO"; then :
37971 glibcxx_cv_func_sincosf_use=yes
37972 else
37973 glibcxx_cv_func_sincosf_use=no
37975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37976 ac_ext=c
37977 ac_cpp='$CPP $CPPFLAGS'
37978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37987 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37989 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37990 for ac_func in sincosf
37991 do :
37992 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37993 if test "x$ac_cv_func_sincosf" = x""yes; then :
37994 cat >>confdefs.h <<_ACEOF
37995 #define HAVE_SINCOSF 1
37996 _ACEOF
37999 done
38001 else
38003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38004 $as_echo_n "checking for _sincosf declaration... " >&6; }
38005 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38006 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38007 $as_echo_n "(cached) " >&6
38008 else
38011 ac_ext=cpp
38012 ac_cpp='$CXXCPP $CPPFLAGS'
38013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38018 /* end confdefs.h. */
38019 #include <math.h>
38021 main ()
38023 _sincosf(0, 0, 0);
38025 return 0;
38027 _ACEOF
38028 if ac_fn_cxx_try_compile "$LINENO"; then :
38029 glibcxx_cv_func__sincosf_use=yes
38030 else
38031 glibcxx_cv_func__sincosf_use=no
38033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38034 ac_ext=c
38035 ac_cpp='$CPP $CPPFLAGS'
38036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38045 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38047 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38048 for ac_func in _sincosf
38049 do :
38050 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38051 if test "x$ac_cv_func__sincosf" = x""yes; then :
38052 cat >>confdefs.h <<_ACEOF
38053 #define HAVE__SINCOSF 1
38054 _ACEOF
38057 done
38066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38067 $as_echo_n "checking for finitef declaration... " >&6; }
38068 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38069 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38070 $as_echo_n "(cached) " >&6
38071 else
38074 ac_ext=cpp
38075 ac_cpp='$CXXCPP $CPPFLAGS'
38076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38081 /* end confdefs.h. */
38082 #include <math.h>
38083 #ifdef HAVE_IEEEFP_H
38084 #include <ieeefp.h>
38085 #endif
38088 main ()
38090 finitef(0);
38092 return 0;
38094 _ACEOF
38095 if ac_fn_cxx_try_compile "$LINENO"; then :
38096 glibcxx_cv_func_finitef_use=yes
38097 else
38098 glibcxx_cv_func_finitef_use=no
38100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38101 ac_ext=c
38102 ac_cpp='$CPP $CPPFLAGS'
38103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38112 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38114 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38115 for ac_func in finitef
38116 do :
38117 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38118 if test "x$ac_cv_func_finitef" = x""yes; then :
38119 cat >>confdefs.h <<_ACEOF
38120 #define HAVE_FINITEF 1
38121 _ACEOF
38124 done
38126 else
38128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38129 $as_echo_n "checking for _finitef declaration... " >&6; }
38130 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38131 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38132 $as_echo_n "(cached) " >&6
38133 else
38136 ac_ext=cpp
38137 ac_cpp='$CXXCPP $CPPFLAGS'
38138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38143 /* end confdefs.h. */
38144 #include <math.h>
38145 #ifdef HAVE_IEEEFP_H
38146 #include <ieeefp.h>
38147 #endif
38150 main ()
38152 _finitef(0);
38154 return 0;
38156 _ACEOF
38157 if ac_fn_cxx_try_compile "$LINENO"; then :
38158 glibcxx_cv_func__finitef_use=yes
38159 else
38160 glibcxx_cv_func__finitef_use=no
38162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38163 ac_ext=c
38164 ac_cpp='$CPP $CPPFLAGS'
38165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38174 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38176 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38177 for ac_func in _finitef
38178 do :
38179 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38180 if test "x$ac_cv_func__finitef" = x""yes; then :
38181 cat >>confdefs.h <<_ACEOF
38182 #define HAVE__FINITEF 1
38183 _ACEOF
38186 done
38195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38196 $as_echo_n "checking for long double trig functions... " >&6; }
38197 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38198 $as_echo_n "(cached) " >&6
38199 else
38202 ac_ext=cpp
38203 ac_cpp='$CXXCPP $CPPFLAGS'
38204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38209 /* end confdefs.h. */
38210 #include <math.h>
38212 main ()
38214 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38216 return 0;
38218 _ACEOF
38219 if ac_fn_cxx_try_compile "$LINENO"; then :
38220 glibcxx_cv_func_long_double_trig_use=yes
38221 else
38222 glibcxx_cv_func_long_double_trig_use=no
38224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38225 ac_ext=c
38226 ac_cpp='$CPP $CPPFLAGS'
38227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38234 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38235 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38236 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38237 do :
38238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38240 eval as_val=\$$as_ac_var
38241 if test "x$as_val" = x""yes; then :
38242 cat >>confdefs.h <<_ACEOF
38243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38244 _ACEOF
38247 done
38249 else
38250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38251 $as_echo_n "checking for _long double trig functions... " >&6; }
38252 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38253 $as_echo_n "(cached) " >&6
38254 else
38257 ac_ext=cpp
38258 ac_cpp='$CXXCPP $CPPFLAGS'
38259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38264 /* end confdefs.h. */
38265 #include <math.h>
38267 main ()
38269 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38271 return 0;
38273 _ACEOF
38274 if ac_fn_cxx_try_compile "$LINENO"; then :
38275 glibcxx_cv_func__long_double_trig_use=yes
38276 else
38277 glibcxx_cv_func__long_double_trig_use=no
38279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38280 ac_ext=c
38281 ac_cpp='$CPP $CPPFLAGS'
38282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38289 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38290 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38291 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38292 do :
38293 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38294 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38295 eval as_val=\$$as_ac_var
38296 if test "x$as_val" = x""yes; then :
38297 cat >>confdefs.h <<_ACEOF
38298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38299 _ACEOF
38302 done
38311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38312 $as_echo_n "checking for long double round functions... " >&6; }
38313 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38314 $as_echo_n "(cached) " >&6
38315 else
38318 ac_ext=cpp
38319 ac_cpp='$CXXCPP $CPPFLAGS'
38320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38325 /* end confdefs.h. */
38326 #include <math.h>
38328 main ()
38330 ceill (0); floorl (0);
38332 return 0;
38334 _ACEOF
38335 if ac_fn_cxx_try_compile "$LINENO"; then :
38336 glibcxx_cv_func_long_double_round_use=yes
38337 else
38338 glibcxx_cv_func_long_double_round_use=no
38340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38341 ac_ext=c
38342 ac_cpp='$CPP $CPPFLAGS'
38343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38350 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38351 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38352 for ac_func in ceill floorl
38353 do :
38354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38356 eval as_val=\$$as_ac_var
38357 if test "x$as_val" = x""yes; then :
38358 cat >>confdefs.h <<_ACEOF
38359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38360 _ACEOF
38363 done
38365 else
38366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38367 $as_echo_n "checking for _long double round functions... " >&6; }
38368 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38369 $as_echo_n "(cached) " >&6
38370 else
38373 ac_ext=cpp
38374 ac_cpp='$CXXCPP $CPPFLAGS'
38375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38380 /* end confdefs.h. */
38381 #include <math.h>
38383 main ()
38385 _ceill (0); _floorl (0);
38387 return 0;
38389 _ACEOF
38390 if ac_fn_cxx_try_compile "$LINENO"; then :
38391 glibcxx_cv_func__long_double_round_use=yes
38392 else
38393 glibcxx_cv_func__long_double_round_use=no
38395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38396 ac_ext=c
38397 ac_cpp='$CPP $CPPFLAGS'
38398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38405 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38406 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38407 for ac_func in _ceill _floorl
38408 do :
38409 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38410 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38411 eval as_val=\$$as_ac_var
38412 if test "x$as_val" = x""yes; then :
38413 cat >>confdefs.h <<_ACEOF
38414 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38415 _ACEOF
38418 done
38428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38429 $as_echo_n "checking for isnanl declaration... " >&6; }
38430 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38431 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38432 $as_echo_n "(cached) " >&6
38433 else
38436 ac_ext=cpp
38437 ac_cpp='$CXXCPP $CPPFLAGS'
38438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38443 /* end confdefs.h. */
38444 #include <math.h>
38445 #ifdef HAVE_IEEEFP_H
38446 #include <ieeefp.h>
38447 #endif
38450 main ()
38452 isnanl(0);
38454 return 0;
38456 _ACEOF
38457 if ac_fn_cxx_try_compile "$LINENO"; then :
38458 glibcxx_cv_func_isnanl_use=yes
38459 else
38460 glibcxx_cv_func_isnanl_use=no
38462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38463 ac_ext=c
38464 ac_cpp='$CPP $CPPFLAGS'
38465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38474 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38476 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38477 for ac_func in isnanl
38478 do :
38479 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38480 if test "x$ac_cv_func_isnanl" = x""yes; then :
38481 cat >>confdefs.h <<_ACEOF
38482 #define HAVE_ISNANL 1
38483 _ACEOF
38486 done
38488 else
38490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38491 $as_echo_n "checking for _isnanl declaration... " >&6; }
38492 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38493 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38494 $as_echo_n "(cached) " >&6
38495 else
38498 ac_ext=cpp
38499 ac_cpp='$CXXCPP $CPPFLAGS'
38500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38505 /* end confdefs.h. */
38506 #include <math.h>
38507 #ifdef HAVE_IEEEFP_H
38508 #include <ieeefp.h>
38509 #endif
38512 main ()
38514 _isnanl(0);
38516 return 0;
38518 _ACEOF
38519 if ac_fn_cxx_try_compile "$LINENO"; then :
38520 glibcxx_cv_func__isnanl_use=yes
38521 else
38522 glibcxx_cv_func__isnanl_use=no
38524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38525 ac_ext=c
38526 ac_cpp='$CPP $CPPFLAGS'
38527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38536 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38538 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38539 for ac_func in _isnanl
38540 do :
38541 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38542 if test "x$ac_cv_func__isnanl" = x""yes; then :
38543 cat >>confdefs.h <<_ACEOF
38544 #define HAVE__ISNANL 1
38545 _ACEOF
38548 done
38557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38558 $as_echo_n "checking for isinfl declaration... " >&6; }
38559 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38560 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38561 $as_echo_n "(cached) " >&6
38562 else
38565 ac_ext=cpp
38566 ac_cpp='$CXXCPP $CPPFLAGS'
38567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38572 /* end confdefs.h. */
38573 #include <math.h>
38574 #ifdef HAVE_IEEEFP_H
38575 #include <ieeefp.h>
38576 #endif
38579 main ()
38581 isinfl(0);
38583 return 0;
38585 _ACEOF
38586 if ac_fn_cxx_try_compile "$LINENO"; then :
38587 glibcxx_cv_func_isinfl_use=yes
38588 else
38589 glibcxx_cv_func_isinfl_use=no
38591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38592 ac_ext=c
38593 ac_cpp='$CPP $CPPFLAGS'
38594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38603 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38605 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38606 for ac_func in isinfl
38607 do :
38608 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38609 if test "x$ac_cv_func_isinfl" = x""yes; then :
38610 cat >>confdefs.h <<_ACEOF
38611 #define HAVE_ISINFL 1
38612 _ACEOF
38615 done
38617 else
38619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38620 $as_echo_n "checking for _isinfl declaration... " >&6; }
38621 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38622 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38623 $as_echo_n "(cached) " >&6
38624 else
38627 ac_ext=cpp
38628 ac_cpp='$CXXCPP $CPPFLAGS'
38629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38634 /* end confdefs.h. */
38635 #include <math.h>
38636 #ifdef HAVE_IEEEFP_H
38637 #include <ieeefp.h>
38638 #endif
38641 main ()
38643 _isinfl(0);
38645 return 0;
38647 _ACEOF
38648 if ac_fn_cxx_try_compile "$LINENO"; then :
38649 glibcxx_cv_func__isinfl_use=yes
38650 else
38651 glibcxx_cv_func__isinfl_use=no
38653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38654 ac_ext=c
38655 ac_cpp='$CPP $CPPFLAGS'
38656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38665 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38667 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38668 for ac_func in _isinfl
38669 do :
38670 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38671 if test "x$ac_cv_func__isinfl" = x""yes; then :
38672 cat >>confdefs.h <<_ACEOF
38673 #define HAVE__ISINFL 1
38674 _ACEOF
38677 done
38686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38687 $as_echo_n "checking for atan2l declaration... " >&6; }
38688 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38689 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
38690 $as_echo_n "(cached) " >&6
38691 else
38694 ac_ext=cpp
38695 ac_cpp='$CXXCPP $CPPFLAGS'
38696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38701 /* end confdefs.h. */
38702 #include <math.h>
38704 main ()
38706 atan2l(0, 0);
38708 return 0;
38710 _ACEOF
38711 if ac_fn_cxx_try_compile "$LINENO"; then :
38712 glibcxx_cv_func_atan2l_use=yes
38713 else
38714 glibcxx_cv_func_atan2l_use=no
38716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38717 ac_ext=c
38718 ac_cpp='$CPP $CPPFLAGS'
38719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38728 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38730 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38731 for ac_func in atan2l
38732 do :
38733 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38734 if test "x$ac_cv_func_atan2l" = x""yes; then :
38735 cat >>confdefs.h <<_ACEOF
38736 #define HAVE_ATAN2L 1
38737 _ACEOF
38740 done
38742 else
38744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38745 $as_echo_n "checking for _atan2l declaration... " >&6; }
38746 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38747 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38748 $as_echo_n "(cached) " >&6
38749 else
38752 ac_ext=cpp
38753 ac_cpp='$CXXCPP $CPPFLAGS'
38754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38759 /* end confdefs.h. */
38760 #include <math.h>
38762 main ()
38764 _atan2l(0, 0);
38766 return 0;
38768 _ACEOF
38769 if ac_fn_cxx_try_compile "$LINENO"; then :
38770 glibcxx_cv_func__atan2l_use=yes
38771 else
38772 glibcxx_cv_func__atan2l_use=no
38774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38775 ac_ext=c
38776 ac_cpp='$CPP $CPPFLAGS'
38777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38786 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38788 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38789 for ac_func in _atan2l
38790 do :
38791 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38792 if test "x$ac_cv_func__atan2l" = x""yes; then :
38793 cat >>confdefs.h <<_ACEOF
38794 #define HAVE__ATAN2L 1
38795 _ACEOF
38798 done
38807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38808 $as_echo_n "checking for expl declaration... " >&6; }
38809 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38810 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38811 $as_echo_n "(cached) " >&6
38812 else
38815 ac_ext=cpp
38816 ac_cpp='$CXXCPP $CPPFLAGS'
38817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38822 /* end confdefs.h. */
38823 #include <math.h>
38824 #ifdef HAVE_IEEEFP_H
38825 #include <ieeefp.h>
38826 #endif
38829 main ()
38831 expl(0);
38833 return 0;
38835 _ACEOF
38836 if ac_fn_cxx_try_compile "$LINENO"; then :
38837 glibcxx_cv_func_expl_use=yes
38838 else
38839 glibcxx_cv_func_expl_use=no
38841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38842 ac_ext=c
38843 ac_cpp='$CPP $CPPFLAGS'
38844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38853 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38855 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38856 for ac_func in expl
38857 do :
38858 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38859 if test "x$ac_cv_func_expl" = x""yes; then :
38860 cat >>confdefs.h <<_ACEOF
38861 #define HAVE_EXPL 1
38862 _ACEOF
38865 done
38867 else
38869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38870 $as_echo_n "checking for _expl declaration... " >&6; }
38871 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38872 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38873 $as_echo_n "(cached) " >&6
38874 else
38877 ac_ext=cpp
38878 ac_cpp='$CXXCPP $CPPFLAGS'
38879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38884 /* end confdefs.h. */
38885 #include <math.h>
38886 #ifdef HAVE_IEEEFP_H
38887 #include <ieeefp.h>
38888 #endif
38891 main ()
38893 _expl(0);
38895 return 0;
38897 _ACEOF
38898 if ac_fn_cxx_try_compile "$LINENO"; then :
38899 glibcxx_cv_func__expl_use=yes
38900 else
38901 glibcxx_cv_func__expl_use=no
38903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38904 ac_ext=c
38905 ac_cpp='$CPP $CPPFLAGS'
38906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38915 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38917 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38918 for ac_func in _expl
38919 do :
38920 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38921 if test "x$ac_cv_func__expl" = x""yes; then :
38922 cat >>confdefs.h <<_ACEOF
38923 #define HAVE__EXPL 1
38924 _ACEOF
38927 done
38936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38937 $as_echo_n "checking for fabsl declaration... " >&6; }
38938 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38939 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38940 $as_echo_n "(cached) " >&6
38941 else
38944 ac_ext=cpp
38945 ac_cpp='$CXXCPP $CPPFLAGS'
38946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38951 /* end confdefs.h. */
38952 #include <math.h>
38953 #ifdef HAVE_IEEEFP_H
38954 #include <ieeefp.h>
38955 #endif
38958 main ()
38960 fabsl(0);
38962 return 0;
38964 _ACEOF
38965 if ac_fn_cxx_try_compile "$LINENO"; then :
38966 glibcxx_cv_func_fabsl_use=yes
38967 else
38968 glibcxx_cv_func_fabsl_use=no
38970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38971 ac_ext=c
38972 ac_cpp='$CPP $CPPFLAGS'
38973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38982 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38984 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38985 for ac_func in fabsl
38986 do :
38987 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38988 if test "x$ac_cv_func_fabsl" = x""yes; then :
38989 cat >>confdefs.h <<_ACEOF
38990 #define HAVE_FABSL 1
38991 _ACEOF
38994 done
38996 else
38998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38999 $as_echo_n "checking for _fabsl declaration... " >&6; }
39000 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39001 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39002 $as_echo_n "(cached) " >&6
39003 else
39006 ac_ext=cpp
39007 ac_cpp='$CXXCPP $CPPFLAGS'
39008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39013 /* end confdefs.h. */
39014 #include <math.h>
39015 #ifdef HAVE_IEEEFP_H
39016 #include <ieeefp.h>
39017 #endif
39020 main ()
39022 _fabsl(0);
39024 return 0;
39026 _ACEOF
39027 if ac_fn_cxx_try_compile "$LINENO"; then :
39028 glibcxx_cv_func__fabsl_use=yes
39029 else
39030 glibcxx_cv_func__fabsl_use=no
39032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39033 ac_ext=c
39034 ac_cpp='$CPP $CPPFLAGS'
39035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39044 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39046 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39047 for ac_func in _fabsl
39048 do :
39049 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39050 if test "x$ac_cv_func__fabsl" = x""yes; then :
39051 cat >>confdefs.h <<_ACEOF
39052 #define HAVE__FABSL 1
39053 _ACEOF
39056 done
39065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39066 $as_echo_n "checking for fmodl declaration... " >&6; }
39067 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39068 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39069 $as_echo_n "(cached) " >&6
39070 else
39073 ac_ext=cpp
39074 ac_cpp='$CXXCPP $CPPFLAGS'
39075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39080 /* end confdefs.h. */
39081 #include <math.h>
39083 main ()
39085 fmodl(0, 0);
39087 return 0;
39089 _ACEOF
39090 if ac_fn_cxx_try_compile "$LINENO"; then :
39091 glibcxx_cv_func_fmodl_use=yes
39092 else
39093 glibcxx_cv_func_fmodl_use=no
39095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39096 ac_ext=c
39097 ac_cpp='$CPP $CPPFLAGS'
39098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39107 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39109 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39110 for ac_func in fmodl
39111 do :
39112 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39113 if test "x$ac_cv_func_fmodl" = x""yes; then :
39114 cat >>confdefs.h <<_ACEOF
39115 #define HAVE_FMODL 1
39116 _ACEOF
39119 done
39121 else
39123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39124 $as_echo_n "checking for _fmodl declaration... " >&6; }
39125 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39126 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39127 $as_echo_n "(cached) " >&6
39128 else
39131 ac_ext=cpp
39132 ac_cpp='$CXXCPP $CPPFLAGS'
39133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39138 /* end confdefs.h. */
39139 #include <math.h>
39141 main ()
39143 _fmodl(0, 0);
39145 return 0;
39147 _ACEOF
39148 if ac_fn_cxx_try_compile "$LINENO"; then :
39149 glibcxx_cv_func__fmodl_use=yes
39150 else
39151 glibcxx_cv_func__fmodl_use=no
39153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39154 ac_ext=c
39155 ac_cpp='$CPP $CPPFLAGS'
39156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39165 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39167 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39168 for ac_func in _fmodl
39169 do :
39170 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39171 if test "x$ac_cv_func__fmodl" = x""yes; then :
39172 cat >>confdefs.h <<_ACEOF
39173 #define HAVE__FMODL 1
39174 _ACEOF
39177 done
39186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39187 $as_echo_n "checking for frexpl declaration... " >&6; }
39188 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39189 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39190 $as_echo_n "(cached) " >&6
39191 else
39194 ac_ext=cpp
39195 ac_cpp='$CXXCPP $CPPFLAGS'
39196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39201 /* end confdefs.h. */
39202 #include <math.h>
39204 main ()
39206 frexpl(0, 0);
39208 return 0;
39210 _ACEOF
39211 if ac_fn_cxx_try_compile "$LINENO"; then :
39212 glibcxx_cv_func_frexpl_use=yes
39213 else
39214 glibcxx_cv_func_frexpl_use=no
39216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39217 ac_ext=c
39218 ac_cpp='$CPP $CPPFLAGS'
39219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39228 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39230 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39231 for ac_func in frexpl
39232 do :
39233 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39234 if test "x$ac_cv_func_frexpl" = x""yes; then :
39235 cat >>confdefs.h <<_ACEOF
39236 #define HAVE_FREXPL 1
39237 _ACEOF
39240 done
39242 else
39244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39245 $as_echo_n "checking for _frexpl declaration... " >&6; }
39246 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39247 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39248 $as_echo_n "(cached) " >&6
39249 else
39252 ac_ext=cpp
39253 ac_cpp='$CXXCPP $CPPFLAGS'
39254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39259 /* end confdefs.h. */
39260 #include <math.h>
39262 main ()
39264 _frexpl(0, 0);
39266 return 0;
39268 _ACEOF
39269 if ac_fn_cxx_try_compile "$LINENO"; then :
39270 glibcxx_cv_func__frexpl_use=yes
39271 else
39272 glibcxx_cv_func__frexpl_use=no
39274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39275 ac_ext=c
39276 ac_cpp='$CPP $CPPFLAGS'
39277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39286 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39288 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39289 for ac_func in _frexpl
39290 do :
39291 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39292 if test "x$ac_cv_func__frexpl" = x""yes; then :
39293 cat >>confdefs.h <<_ACEOF
39294 #define HAVE__FREXPL 1
39295 _ACEOF
39298 done
39307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39308 $as_echo_n "checking for hypotl declaration... " >&6; }
39309 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39310 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39311 $as_echo_n "(cached) " >&6
39312 else
39315 ac_ext=cpp
39316 ac_cpp='$CXXCPP $CPPFLAGS'
39317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39322 /* end confdefs.h. */
39323 #include <math.h>
39325 main ()
39327 hypotl(0, 0);
39329 return 0;
39331 _ACEOF
39332 if ac_fn_cxx_try_compile "$LINENO"; then :
39333 glibcxx_cv_func_hypotl_use=yes
39334 else
39335 glibcxx_cv_func_hypotl_use=no
39337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39338 ac_ext=c
39339 ac_cpp='$CPP $CPPFLAGS'
39340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39349 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39351 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39352 for ac_func in hypotl
39353 do :
39354 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39355 if test "x$ac_cv_func_hypotl" = x""yes; then :
39356 cat >>confdefs.h <<_ACEOF
39357 #define HAVE_HYPOTL 1
39358 _ACEOF
39361 done
39363 else
39365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39366 $as_echo_n "checking for _hypotl declaration... " >&6; }
39367 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39368 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39369 $as_echo_n "(cached) " >&6
39370 else
39373 ac_ext=cpp
39374 ac_cpp='$CXXCPP $CPPFLAGS'
39375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39380 /* end confdefs.h. */
39381 #include <math.h>
39383 main ()
39385 _hypotl(0, 0);
39387 return 0;
39389 _ACEOF
39390 if ac_fn_cxx_try_compile "$LINENO"; then :
39391 glibcxx_cv_func__hypotl_use=yes
39392 else
39393 glibcxx_cv_func__hypotl_use=no
39395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39396 ac_ext=c
39397 ac_cpp='$CPP $CPPFLAGS'
39398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39407 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39409 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39410 for ac_func in _hypotl
39411 do :
39412 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39413 if test "x$ac_cv_func__hypotl" = x""yes; then :
39414 cat >>confdefs.h <<_ACEOF
39415 #define HAVE__HYPOTL 1
39416 _ACEOF
39419 done
39428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39429 $as_echo_n "checking for ldexpl declaration... " >&6; }
39430 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39431 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39432 $as_echo_n "(cached) " >&6
39433 else
39436 ac_ext=cpp
39437 ac_cpp='$CXXCPP $CPPFLAGS'
39438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39443 /* end confdefs.h. */
39444 #include <math.h>
39446 main ()
39448 ldexpl(0, 0);
39450 return 0;
39452 _ACEOF
39453 if ac_fn_cxx_try_compile "$LINENO"; then :
39454 glibcxx_cv_func_ldexpl_use=yes
39455 else
39456 glibcxx_cv_func_ldexpl_use=no
39458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39459 ac_ext=c
39460 ac_cpp='$CPP $CPPFLAGS'
39461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39470 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39472 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39473 for ac_func in ldexpl
39474 do :
39475 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39476 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39477 cat >>confdefs.h <<_ACEOF
39478 #define HAVE_LDEXPL 1
39479 _ACEOF
39482 done
39484 else
39486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39487 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39488 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39489 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39490 $as_echo_n "(cached) " >&6
39491 else
39494 ac_ext=cpp
39495 ac_cpp='$CXXCPP $CPPFLAGS'
39496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39501 /* end confdefs.h. */
39502 #include <math.h>
39504 main ()
39506 _ldexpl(0, 0);
39508 return 0;
39510 _ACEOF
39511 if ac_fn_cxx_try_compile "$LINENO"; then :
39512 glibcxx_cv_func__ldexpl_use=yes
39513 else
39514 glibcxx_cv_func__ldexpl_use=no
39516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39517 ac_ext=c
39518 ac_cpp='$CPP $CPPFLAGS'
39519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39528 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39530 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39531 for ac_func in _ldexpl
39532 do :
39533 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39534 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39535 cat >>confdefs.h <<_ACEOF
39536 #define HAVE__LDEXPL 1
39537 _ACEOF
39540 done
39549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39550 $as_echo_n "checking for logl declaration... " >&6; }
39551 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39552 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39553 $as_echo_n "(cached) " >&6
39554 else
39557 ac_ext=cpp
39558 ac_cpp='$CXXCPP $CPPFLAGS'
39559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39564 /* end confdefs.h. */
39565 #include <math.h>
39566 #ifdef HAVE_IEEEFP_H
39567 #include <ieeefp.h>
39568 #endif
39571 main ()
39573 logl(0);
39575 return 0;
39577 _ACEOF
39578 if ac_fn_cxx_try_compile "$LINENO"; then :
39579 glibcxx_cv_func_logl_use=yes
39580 else
39581 glibcxx_cv_func_logl_use=no
39583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39584 ac_ext=c
39585 ac_cpp='$CPP $CPPFLAGS'
39586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39595 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39597 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39598 for ac_func in logl
39599 do :
39600 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39601 if test "x$ac_cv_func_logl" = x""yes; then :
39602 cat >>confdefs.h <<_ACEOF
39603 #define HAVE_LOGL 1
39604 _ACEOF
39607 done
39609 else
39611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39612 $as_echo_n "checking for _logl declaration... " >&6; }
39613 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39614 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39615 $as_echo_n "(cached) " >&6
39616 else
39619 ac_ext=cpp
39620 ac_cpp='$CXXCPP $CPPFLAGS'
39621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39626 /* end confdefs.h. */
39627 #include <math.h>
39628 #ifdef HAVE_IEEEFP_H
39629 #include <ieeefp.h>
39630 #endif
39633 main ()
39635 _logl(0);
39637 return 0;
39639 _ACEOF
39640 if ac_fn_cxx_try_compile "$LINENO"; then :
39641 glibcxx_cv_func__logl_use=yes
39642 else
39643 glibcxx_cv_func__logl_use=no
39645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39646 ac_ext=c
39647 ac_cpp='$CPP $CPPFLAGS'
39648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39657 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39659 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39660 for ac_func in _logl
39661 do :
39662 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39663 if test "x$ac_cv_func__logl" = x""yes; then :
39664 cat >>confdefs.h <<_ACEOF
39665 #define HAVE__LOGL 1
39666 _ACEOF
39669 done
39678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39679 $as_echo_n "checking for log10l declaration... " >&6; }
39680 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39681 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39682 $as_echo_n "(cached) " >&6
39683 else
39686 ac_ext=cpp
39687 ac_cpp='$CXXCPP $CPPFLAGS'
39688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39693 /* end confdefs.h. */
39694 #include <math.h>
39695 #ifdef HAVE_IEEEFP_H
39696 #include <ieeefp.h>
39697 #endif
39700 main ()
39702 log10l(0);
39704 return 0;
39706 _ACEOF
39707 if ac_fn_cxx_try_compile "$LINENO"; then :
39708 glibcxx_cv_func_log10l_use=yes
39709 else
39710 glibcxx_cv_func_log10l_use=no
39712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39713 ac_ext=c
39714 ac_cpp='$CPP $CPPFLAGS'
39715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39724 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39726 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39727 for ac_func in log10l
39728 do :
39729 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39730 if test "x$ac_cv_func_log10l" = x""yes; then :
39731 cat >>confdefs.h <<_ACEOF
39732 #define HAVE_LOG10L 1
39733 _ACEOF
39736 done
39738 else
39740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39741 $as_echo_n "checking for _log10l declaration... " >&6; }
39742 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39743 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39744 $as_echo_n "(cached) " >&6
39745 else
39748 ac_ext=cpp
39749 ac_cpp='$CXXCPP $CPPFLAGS'
39750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39755 /* end confdefs.h. */
39756 #include <math.h>
39757 #ifdef HAVE_IEEEFP_H
39758 #include <ieeefp.h>
39759 #endif
39762 main ()
39764 _log10l(0);
39766 return 0;
39768 _ACEOF
39769 if ac_fn_cxx_try_compile "$LINENO"; then :
39770 glibcxx_cv_func__log10l_use=yes
39771 else
39772 glibcxx_cv_func__log10l_use=no
39774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39775 ac_ext=c
39776 ac_cpp='$CPP $CPPFLAGS'
39777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39786 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39788 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39789 for ac_func in _log10l
39790 do :
39791 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39792 if test "x$ac_cv_func__log10l" = x""yes; then :
39793 cat >>confdefs.h <<_ACEOF
39794 #define HAVE__LOG10L 1
39795 _ACEOF
39798 done
39807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39808 $as_echo_n "checking for modfl declaration... " >&6; }
39809 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39810 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39811 $as_echo_n "(cached) " >&6
39812 else
39815 ac_ext=cpp
39816 ac_cpp='$CXXCPP $CPPFLAGS'
39817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39822 /* end confdefs.h. */
39823 #include <math.h>
39825 main ()
39827 modfl(0, 0);
39829 return 0;
39831 _ACEOF
39832 if ac_fn_cxx_try_compile "$LINENO"; then :
39833 glibcxx_cv_func_modfl_use=yes
39834 else
39835 glibcxx_cv_func_modfl_use=no
39837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39838 ac_ext=c
39839 ac_cpp='$CPP $CPPFLAGS'
39840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39849 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39851 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39852 for ac_func in modfl
39853 do :
39854 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39855 if test "x$ac_cv_func_modfl" = x""yes; then :
39856 cat >>confdefs.h <<_ACEOF
39857 #define HAVE_MODFL 1
39858 _ACEOF
39861 done
39863 else
39865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39866 $as_echo_n "checking for _modfl declaration... " >&6; }
39867 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39868 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39869 $as_echo_n "(cached) " >&6
39870 else
39873 ac_ext=cpp
39874 ac_cpp='$CXXCPP $CPPFLAGS'
39875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39880 /* end confdefs.h. */
39881 #include <math.h>
39883 main ()
39885 _modfl(0, 0);
39887 return 0;
39889 _ACEOF
39890 if ac_fn_cxx_try_compile "$LINENO"; then :
39891 glibcxx_cv_func__modfl_use=yes
39892 else
39893 glibcxx_cv_func__modfl_use=no
39895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39896 ac_ext=c
39897 ac_cpp='$CPP $CPPFLAGS'
39898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39907 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39909 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39910 for ac_func in _modfl
39911 do :
39912 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39913 if test "x$ac_cv_func__modfl" = x""yes; then :
39914 cat >>confdefs.h <<_ACEOF
39915 #define HAVE__MODFL 1
39916 _ACEOF
39919 done
39928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39929 $as_echo_n "checking for powl declaration... " >&6; }
39930 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39931 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39932 $as_echo_n "(cached) " >&6
39933 else
39936 ac_ext=cpp
39937 ac_cpp='$CXXCPP $CPPFLAGS'
39938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39943 /* end confdefs.h. */
39944 #include <math.h>
39946 main ()
39948 powl(0, 0);
39950 return 0;
39952 _ACEOF
39953 if ac_fn_cxx_try_compile "$LINENO"; then :
39954 glibcxx_cv_func_powl_use=yes
39955 else
39956 glibcxx_cv_func_powl_use=no
39958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39959 ac_ext=c
39960 ac_cpp='$CPP $CPPFLAGS'
39961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39970 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39972 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39973 for ac_func in powl
39974 do :
39975 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39976 if test "x$ac_cv_func_powl" = x""yes; then :
39977 cat >>confdefs.h <<_ACEOF
39978 #define HAVE_POWL 1
39979 _ACEOF
39982 done
39984 else
39986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39987 $as_echo_n "checking for _powl declaration... " >&6; }
39988 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39989 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39990 $as_echo_n "(cached) " >&6
39991 else
39994 ac_ext=cpp
39995 ac_cpp='$CXXCPP $CPPFLAGS'
39996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40001 /* end confdefs.h. */
40002 #include <math.h>
40004 main ()
40006 _powl(0, 0);
40008 return 0;
40010 _ACEOF
40011 if ac_fn_cxx_try_compile "$LINENO"; then :
40012 glibcxx_cv_func__powl_use=yes
40013 else
40014 glibcxx_cv_func__powl_use=no
40016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40017 ac_ext=c
40018 ac_cpp='$CPP $CPPFLAGS'
40019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40028 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40030 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40031 for ac_func in _powl
40032 do :
40033 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40034 if test "x$ac_cv_func__powl" = x""yes; then :
40035 cat >>confdefs.h <<_ACEOF
40036 #define HAVE__POWL 1
40037 _ACEOF
40040 done
40049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40050 $as_echo_n "checking for sqrtl declaration... " >&6; }
40051 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40052 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40053 $as_echo_n "(cached) " >&6
40054 else
40057 ac_ext=cpp
40058 ac_cpp='$CXXCPP $CPPFLAGS'
40059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40064 /* end confdefs.h. */
40065 #include <math.h>
40066 #ifdef HAVE_IEEEFP_H
40067 #include <ieeefp.h>
40068 #endif
40071 main ()
40073 sqrtl(0);
40075 return 0;
40077 _ACEOF
40078 if ac_fn_cxx_try_compile "$LINENO"; then :
40079 glibcxx_cv_func_sqrtl_use=yes
40080 else
40081 glibcxx_cv_func_sqrtl_use=no
40083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40084 ac_ext=c
40085 ac_cpp='$CPP $CPPFLAGS'
40086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40095 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40097 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40098 for ac_func in sqrtl
40099 do :
40100 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40101 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40102 cat >>confdefs.h <<_ACEOF
40103 #define HAVE_SQRTL 1
40104 _ACEOF
40107 done
40109 else
40111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40112 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40113 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40114 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40115 $as_echo_n "(cached) " >&6
40116 else
40119 ac_ext=cpp
40120 ac_cpp='$CXXCPP $CPPFLAGS'
40121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40126 /* end confdefs.h. */
40127 #include <math.h>
40128 #ifdef HAVE_IEEEFP_H
40129 #include <ieeefp.h>
40130 #endif
40133 main ()
40135 _sqrtl(0);
40137 return 0;
40139 _ACEOF
40140 if ac_fn_cxx_try_compile "$LINENO"; then :
40141 glibcxx_cv_func__sqrtl_use=yes
40142 else
40143 glibcxx_cv_func__sqrtl_use=no
40145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40146 ac_ext=c
40147 ac_cpp='$CPP $CPPFLAGS'
40148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40157 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40159 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40160 for ac_func in _sqrtl
40161 do :
40162 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40163 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40164 cat >>confdefs.h <<_ACEOF
40165 #define HAVE__SQRTL 1
40166 _ACEOF
40169 done
40178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40179 $as_echo_n "checking for sincosl declaration... " >&6; }
40180 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40181 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40182 $as_echo_n "(cached) " >&6
40183 else
40186 ac_ext=cpp
40187 ac_cpp='$CXXCPP $CPPFLAGS'
40188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40193 /* end confdefs.h. */
40194 #include <math.h>
40196 main ()
40198 sincosl(0, 0, 0);
40200 return 0;
40202 _ACEOF
40203 if ac_fn_cxx_try_compile "$LINENO"; then :
40204 glibcxx_cv_func_sincosl_use=yes
40205 else
40206 glibcxx_cv_func_sincosl_use=no
40208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40209 ac_ext=c
40210 ac_cpp='$CPP $CPPFLAGS'
40211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40220 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40222 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40223 for ac_func in sincosl
40224 do :
40225 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40226 if test "x$ac_cv_func_sincosl" = x""yes; then :
40227 cat >>confdefs.h <<_ACEOF
40228 #define HAVE_SINCOSL 1
40229 _ACEOF
40232 done
40234 else
40236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40237 $as_echo_n "checking for _sincosl declaration... " >&6; }
40238 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40239 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40240 $as_echo_n "(cached) " >&6
40241 else
40244 ac_ext=cpp
40245 ac_cpp='$CXXCPP $CPPFLAGS'
40246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40251 /* end confdefs.h. */
40252 #include <math.h>
40254 main ()
40256 _sincosl(0, 0, 0);
40258 return 0;
40260 _ACEOF
40261 if ac_fn_cxx_try_compile "$LINENO"; then :
40262 glibcxx_cv_func__sincosl_use=yes
40263 else
40264 glibcxx_cv_func__sincosl_use=no
40266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40267 ac_ext=c
40268 ac_cpp='$CPP $CPPFLAGS'
40269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40278 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40280 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40281 for ac_func in _sincosl
40282 do :
40283 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40284 if test "x$ac_cv_func__sincosl" = x""yes; then :
40285 cat >>confdefs.h <<_ACEOF
40286 #define HAVE__SINCOSL 1
40287 _ACEOF
40290 done
40299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40300 $as_echo_n "checking for finitel declaration... " >&6; }
40301 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40302 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40303 $as_echo_n "(cached) " >&6
40304 else
40307 ac_ext=cpp
40308 ac_cpp='$CXXCPP $CPPFLAGS'
40309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40314 /* end confdefs.h. */
40315 #include <math.h>
40316 #ifdef HAVE_IEEEFP_H
40317 #include <ieeefp.h>
40318 #endif
40321 main ()
40323 finitel(0);
40325 return 0;
40327 _ACEOF
40328 if ac_fn_cxx_try_compile "$LINENO"; then :
40329 glibcxx_cv_func_finitel_use=yes
40330 else
40331 glibcxx_cv_func_finitel_use=no
40333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40334 ac_ext=c
40335 ac_cpp='$CPP $CPPFLAGS'
40336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40345 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40347 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40348 for ac_func in finitel
40349 do :
40350 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40351 if test "x$ac_cv_func_finitel" = x""yes; then :
40352 cat >>confdefs.h <<_ACEOF
40353 #define HAVE_FINITEL 1
40354 _ACEOF
40357 done
40359 else
40361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40362 $as_echo_n "checking for _finitel declaration... " >&6; }
40363 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40364 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40365 $as_echo_n "(cached) " >&6
40366 else
40369 ac_ext=cpp
40370 ac_cpp='$CXXCPP $CPPFLAGS'
40371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40376 /* end confdefs.h. */
40377 #include <math.h>
40378 #ifdef HAVE_IEEEFP_H
40379 #include <ieeefp.h>
40380 #endif
40383 main ()
40385 _finitel(0);
40387 return 0;
40389 _ACEOF
40390 if ac_fn_cxx_try_compile "$LINENO"; then :
40391 glibcxx_cv_func__finitel_use=yes
40392 else
40393 glibcxx_cv_func__finitel_use=no
40395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40396 ac_ext=c
40397 ac_cpp='$CPP $CPPFLAGS'
40398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40407 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40409 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40410 for ac_func in _finitel
40411 do :
40412 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40413 if test "x$ac_cv_func__finitel" = x""yes; then :
40414 cat >>confdefs.h <<_ACEOF
40415 #define HAVE__FINITEL 1
40416 _ACEOF
40419 done
40427 LIBS="$ac_save_LIBS"
40428 CXXFLAGS="$ac_save_CXXFLAGS"
40431 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40432 ac_save_CXXFLAGS="$CXXFLAGS"
40433 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40437 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40438 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40439 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40440 $as_echo_n "(cached) " >&6
40441 else
40444 ac_ext=cpp
40445 ac_cpp='$CXXCPP $CPPFLAGS'
40446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40451 /* end confdefs.h. */
40452 #include <stdlib.h>
40454 main ()
40456 at_quick_exit(0);
40458 return 0;
40460 _ACEOF
40461 if ac_fn_cxx_try_compile "$LINENO"; then :
40462 glibcxx_cv_func_at_quick_exit_use=yes
40463 else
40464 glibcxx_cv_func_at_quick_exit_use=no
40466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40467 ac_ext=c
40468 ac_cpp='$CPP $CPPFLAGS'
40469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40478 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40479 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40480 for ac_func in at_quick_exit
40481 do :
40482 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40483 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40484 cat >>confdefs.h <<_ACEOF
40485 #define HAVE_AT_QUICK_EXIT 1
40486 _ACEOF
40489 done
40494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40495 $as_echo_n "checking for quick_exit declaration... " >&6; }
40496 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40497 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40498 $as_echo_n "(cached) " >&6
40499 else
40502 ac_ext=cpp
40503 ac_cpp='$CXXCPP $CPPFLAGS'
40504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40509 /* end confdefs.h. */
40510 #include <stdlib.h>
40512 main ()
40514 quick_exit(0);
40516 return 0;
40518 _ACEOF
40519 if ac_fn_cxx_try_compile "$LINENO"; then :
40520 glibcxx_cv_func_quick_exit_use=yes
40521 else
40522 glibcxx_cv_func_quick_exit_use=no
40524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40525 ac_ext=c
40526 ac_cpp='$CPP $CPPFLAGS'
40527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40536 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40537 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40538 for ac_func in quick_exit
40539 do :
40540 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40541 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40542 cat >>confdefs.h <<_ACEOF
40543 #define HAVE_QUICK_EXIT 1
40544 _ACEOF
40547 done
40552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40553 $as_echo_n "checking for strtold declaration... " >&6; }
40554 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40555 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40556 $as_echo_n "(cached) " >&6
40557 else
40560 ac_ext=cpp
40561 ac_cpp='$CXXCPP $CPPFLAGS'
40562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40567 /* end confdefs.h. */
40568 #include <stdlib.h>
40570 main ()
40572 strtold(0, 0);
40574 return 0;
40576 _ACEOF
40577 if ac_fn_cxx_try_compile "$LINENO"; then :
40578 glibcxx_cv_func_strtold_use=yes
40579 else
40580 glibcxx_cv_func_strtold_use=no
40582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40583 ac_ext=c
40584 ac_cpp='$CPP $CPPFLAGS'
40585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40594 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40595 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40596 for ac_func in strtold
40597 do :
40598 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40599 if test "x$ac_cv_func_strtold" = x""yes; then :
40600 cat >>confdefs.h <<_ACEOF
40601 #define HAVE_STRTOLD 1
40602 _ACEOF
40605 done
40612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40613 $as_echo_n "checking for strtof declaration... " >&6; }
40614 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40615 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40616 $as_echo_n "(cached) " >&6
40617 else
40620 ac_ext=cpp
40621 ac_cpp='$CXXCPP $CPPFLAGS'
40622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40627 /* end confdefs.h. */
40628 #include <stdlib.h>
40630 main ()
40632 strtof(0, 0);
40634 return 0;
40636 _ACEOF
40637 if ac_fn_cxx_try_compile "$LINENO"; then :
40638 glibcxx_cv_func_strtof_use=yes
40639 else
40640 glibcxx_cv_func_strtof_use=no
40642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40643 ac_ext=c
40644 ac_cpp='$CPP $CPPFLAGS'
40645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40654 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40655 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40656 for ac_func in strtof
40657 do :
40658 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40659 if test "x$ac_cv_func_strtof" = x""yes; then :
40660 cat >>confdefs.h <<_ACEOF
40661 #define HAVE_STRTOF 1
40662 _ACEOF
40665 done
40672 CXXFLAGS="$ac_save_CXXFLAGS"
40679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40680 $as_echo_n "checking for iconv... " >&6; }
40681 if test "${am_cv_func_iconv+set}" = set; then :
40682 $as_echo_n "(cached) " >&6
40683 else
40685 am_cv_func_iconv="no, consider installing GNU libiconv"
40686 am_cv_lib_iconv=no
40687 am_save_CPPFLAGS="$CPPFLAGS"
40688 CPPFLAGS="$CPPFLAGS $INCICONV"
40689 if test x$gcc_no_link = xyes; then
40690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40693 /* end confdefs.h. */
40694 #include <stdlib.h>
40695 #include <iconv.h>
40697 main ()
40699 iconv_t cd = iconv_open("","");
40700 iconv(cd,NULL,NULL,NULL,NULL);
40701 iconv_close(cd);
40703 return 0;
40705 _ACEOF
40706 if ac_fn_c_try_link "$LINENO"; then :
40707 am_cv_func_iconv=yes
40709 rm -f core conftest.err conftest.$ac_objext \
40710 conftest$ac_exeext conftest.$ac_ext
40711 CPPFLAGS="$am_save_CPPFLAGS"
40713 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
40714 for _libs in .libs _libs; do
40715 am_save_CPPFLAGS="$CPPFLAGS"
40716 am_save_LIBS="$LIBS"
40717 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
40718 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
40719 if test x$gcc_no_link = xyes; then
40720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40723 /* end confdefs.h. */
40724 #include <stdlib.h>
40725 #include <iconv.h>
40727 main ()
40729 iconv_t cd = iconv_open("","");
40730 iconv(cd,NULL,NULL,NULL,NULL);
40731 iconv_close(cd);
40733 return 0;
40735 _ACEOF
40736 if ac_fn_c_try_link "$LINENO"; then :
40737 INCICONV="-I../libiconv/include"
40738 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
40739 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
40740 am_cv_lib_iconv=yes
40741 am_cv_func_iconv=yes
40743 rm -f core conftest.err conftest.$ac_objext \
40744 conftest$ac_exeext conftest.$ac_ext
40745 CPPFLAGS="$am_save_CPPFLAGS"
40746 LIBS="$am_save_LIBS"
40747 if test "$am_cv_func_iconv" = "yes"; then
40748 break
40750 done
40753 if test "$am_cv_func_iconv" != yes; then
40754 am_save_CPPFLAGS="$CPPFLAGS"
40755 am_save_LIBS="$LIBS"
40756 CPPFLAGS="$LIBS $INCICONV"
40757 LIBS="$LIBS $LIBICONV"
40758 if test x$gcc_no_link = xyes; then
40759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40762 /* end confdefs.h. */
40763 #include <stdlib.h>
40764 #include <iconv.h>
40766 main ()
40768 iconv_t cd = iconv_open("","");
40769 iconv(cd,NULL,NULL,NULL,NULL);
40770 iconv_close(cd);
40772 return 0;
40774 _ACEOF
40775 if ac_fn_c_try_link "$LINENO"; then :
40776 am_cv_lib_iconv=yes
40777 am_cv_func_iconv=yes
40779 rm -f core conftest.err conftest.$ac_objext \
40780 conftest$ac_exeext conftest.$ac_ext
40781 CPPFLAGS="$am_save_CPPFLAGS"
40782 LIBS="$am_save_LIBS"
40786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40787 $as_echo "$am_cv_func_iconv" >&6; }
40788 if test "$am_cv_func_iconv" = yes; then
40790 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40793 if test "$am_cv_lib_iconv" = yes; then
40795 for element in $INCICONV; do
40796 haveit=
40797 for x in $CPPFLAGS; do
40799 acl_save_prefix="$prefix"
40800 prefix="$acl_final_prefix"
40801 acl_save_exec_prefix="$exec_prefix"
40802 exec_prefix="$acl_final_exec_prefix"
40803 eval x=\"$x\"
40804 exec_prefix="$acl_save_exec_prefix"
40805 prefix="$acl_save_prefix"
40807 if test "X$x" = "X$element"; then
40808 haveit=yes
40809 break
40811 done
40812 if test -z "$haveit"; then
40813 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40815 done
40817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40818 $as_echo_n "checking how to link with libiconv... " >&6; }
40819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40820 $as_echo "$LIBICONV" >&6; }
40821 else
40822 LIBICONV=
40823 LTLIBICONV=
40828 if test "$am_cv_func_iconv" = yes; then
40829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40830 $as_echo_n "checking for iconv declaration... " >&6; }
40831 if test "${am_cv_proto_iconv+set}" = set; then :
40832 $as_echo_n "(cached) " >&6
40833 else
40835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40836 /* end confdefs.h. */
40838 #include <stdlib.h>
40839 #include <iconv.h>
40840 extern
40841 #ifdef __cplusplus
40843 #endif
40844 #if defined(__STDC__) || defined(__cplusplus)
40845 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40846 #else
40847 size_t iconv();
40848 #endif
40851 main ()
40855 return 0;
40857 _ACEOF
40858 if ac_fn_c_try_compile "$LINENO"; then :
40859 am_cv_proto_iconv_arg1=""
40860 else
40861 am_cv_proto_iconv_arg1="const"
40863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40864 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);"
40867 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40869 }$am_cv_proto_iconv" >&5
40870 $as_echo "${ac_t:-
40871 }$am_cv_proto_iconv" >&6; }
40873 cat >>confdefs.h <<_ACEOF
40874 #define ICONV_CONST $am_cv_proto_iconv_arg1
40875 _ACEOF
40881 *-aix*)
40883 # If we're not using GNU ld, then there's no point in even trying these
40884 # tests. Check for that first. We should have already tested for gld
40885 # by now (in libtool), but require it now just to be safe...
40886 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40887 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40891 # The name set by libtool depends on the version of libtool. Shame on us
40892 # for depending on an impl detail, but c'est la vie. Older versions used
40893 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40894 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40895 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40896 # set (hence we're using an older libtool), then set it.
40897 if test x${with_gnu_ld+set} != xset; then
40898 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40899 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40900 with_gnu_ld=no
40901 else
40902 with_gnu_ld=$ac_cv_prog_gnu_ld
40906 # Start by getting the version number. I think the libtool test already
40907 # does some of this, but throws away the result.
40908 glibcxx_ld_is_gold=no
40909 if test x"$with_gnu_ld" = x"yes"; then
40910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40911 $as_echo_n "checking for ld version... " >&6; }
40913 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40914 glibcxx_ld_is_gold=yes
40916 ldver=`$LD --version 2>/dev/null |
40917 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'`
40919 glibcxx_gnu_ld_version=`echo $ldver | \
40920 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40922 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40925 # Set --gc-sections.
40926 glibcxx_have_gc_sections=no
40927 if test "$glibcxx_ld_is_gold" = "yes"; then
40928 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40929 glibcxx_have_gc_sections=yes
40931 else
40932 glibcxx_gcsections_min_ld=21602
40933 if test x"$with_gnu_ld" = x"yes" &&
40934 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40935 glibcxx_have_gc_sections=yes
40938 if test "$glibcxx_have_gc_sections" = "yes"; then
40939 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40940 # NB: This flag only works reliably after 2.16.1. Configure tests
40941 # for this are difficult, so hard wire a value that should work.
40943 ac_test_CFLAGS="${CFLAGS+set}"
40944 ac_save_CFLAGS="$CFLAGS"
40945 CFLAGS='-Wl,--gc-sections'
40947 # Check for -Wl,--gc-sections
40948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40949 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40950 if test x$gcc_no_link = xyes; then
40951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40954 /* end confdefs.h. */
40955 int one(void) { return 1; }
40956 int two(void) { return 2; }
40959 main ()
40961 two();
40963 return 0;
40965 _ACEOF
40966 if ac_fn_c_try_link "$LINENO"; then :
40967 ac_gcsections=yes
40968 else
40969 ac_gcsections=no
40971 rm -f core conftest.err conftest.$ac_objext \
40972 conftest$ac_exeext conftest.$ac_ext
40973 if test "$ac_gcsections" = "yes"; then
40974 rm -f conftest.c
40975 touch conftest.c
40976 if $CC -c conftest.c; then
40977 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40978 grep "Warning: gc-sections option ignored" > /dev/null; then
40979 ac_gcsections=no
40982 rm -f conftest.c conftest.o conftest
40984 if test "$ac_gcsections" = "yes"; then
40985 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40988 $as_echo "$ac_gcsections" >&6; }
40990 if test "$ac_test_CFLAGS" = set; then
40991 CFLAGS="$ac_save_CFLAGS"
40992 else
40993 # this is the suspicious part
40994 CFLAGS=''
40998 # Set -z,relro.
40999 # Note this is only for shared objects.
41000 ac_ld_relro=no
41001 if test x"$with_gnu_ld" = x"yes"; then
41002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41003 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41004 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41005 if test -n "$cxx_z_relo"; then
41006 OPT_LDFLAGS="-Wl,-z,relro"
41007 ac_ld_relro=yes
41009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41010 $as_echo "$ac_ld_relro" >&6; }
41013 # Set linker optimization flags.
41014 if test x"$with_gnu_ld" = x"yes"; then
41015 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41022 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41023 ac_save_CXXFLAGS="$CXXFLAGS"
41024 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41027 $as_echo_n "checking for sin in -lm... " >&6; }
41028 if test "${ac_cv_lib_m_sin+set}" = set; then :
41029 $as_echo_n "(cached) " >&6
41030 else
41031 ac_check_lib_save_LIBS=$LIBS
41032 LIBS="-lm $LIBS"
41033 if test x$gcc_no_link = xyes; then
41034 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41037 /* end confdefs.h. */
41039 /* Override any GCC internal prototype to avoid an error.
41040 Use char because int might match the return type of a GCC
41041 builtin and then its argument prototype would still apply. */
41042 #ifdef __cplusplus
41043 extern "C"
41044 #endif
41045 char sin ();
41047 main ()
41049 return sin ();
41051 return 0;
41053 _ACEOF
41054 if ac_fn_c_try_link "$LINENO"; then :
41055 ac_cv_lib_m_sin=yes
41056 else
41057 ac_cv_lib_m_sin=no
41059 rm -f core conftest.err conftest.$ac_objext \
41060 conftest$ac_exeext conftest.$ac_ext
41061 LIBS=$ac_check_lib_save_LIBS
41063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41064 $as_echo "$ac_cv_lib_m_sin" >&6; }
41065 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41066 libm="-lm"
41069 ac_save_LIBS="$LIBS"
41070 LIBS="$LIBS $libm"
41074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41075 $as_echo_n "checking for isinf declaration... " >&6; }
41076 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41077 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41078 $as_echo_n "(cached) " >&6
41079 else
41082 ac_ext=cpp
41083 ac_cpp='$CXXCPP $CPPFLAGS'
41084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41089 /* end confdefs.h. */
41090 #include <math.h>
41091 #ifdef HAVE_IEEEFP_H
41092 #include <ieeefp.h>
41093 #endif
41096 main ()
41098 isinf(0);
41100 return 0;
41102 _ACEOF
41103 if ac_fn_cxx_try_compile "$LINENO"; then :
41104 glibcxx_cv_func_isinf_use=yes
41105 else
41106 glibcxx_cv_func_isinf_use=no
41108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41109 ac_ext=c
41110 ac_cpp='$CPP $CPPFLAGS'
41111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41120 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41122 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41123 for ac_func in isinf
41124 do :
41125 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41126 if test "x$ac_cv_func_isinf" = x""yes; then :
41127 cat >>confdefs.h <<_ACEOF
41128 #define HAVE_ISINF 1
41129 _ACEOF
41132 done
41134 else
41136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41137 $as_echo_n "checking for _isinf declaration... " >&6; }
41138 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41139 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41140 $as_echo_n "(cached) " >&6
41141 else
41144 ac_ext=cpp
41145 ac_cpp='$CXXCPP $CPPFLAGS'
41146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41151 /* end confdefs.h. */
41152 #include <math.h>
41153 #ifdef HAVE_IEEEFP_H
41154 #include <ieeefp.h>
41155 #endif
41158 main ()
41160 _isinf(0);
41162 return 0;
41164 _ACEOF
41165 if ac_fn_cxx_try_compile "$LINENO"; then :
41166 glibcxx_cv_func__isinf_use=yes
41167 else
41168 glibcxx_cv_func__isinf_use=no
41170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41171 ac_ext=c
41172 ac_cpp='$CPP $CPPFLAGS'
41173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41182 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41184 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41185 for ac_func in _isinf
41186 do :
41187 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41188 if test "x$ac_cv_func__isinf" = x""yes; then :
41189 cat >>confdefs.h <<_ACEOF
41190 #define HAVE__ISINF 1
41191 _ACEOF
41194 done
41203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41204 $as_echo_n "checking for isnan declaration... " >&6; }
41205 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41206 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41207 $as_echo_n "(cached) " >&6
41208 else
41211 ac_ext=cpp
41212 ac_cpp='$CXXCPP $CPPFLAGS'
41213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41218 /* end confdefs.h. */
41219 #include <math.h>
41220 #ifdef HAVE_IEEEFP_H
41221 #include <ieeefp.h>
41222 #endif
41225 main ()
41227 isnan(0);
41229 return 0;
41231 _ACEOF
41232 if ac_fn_cxx_try_compile "$LINENO"; then :
41233 glibcxx_cv_func_isnan_use=yes
41234 else
41235 glibcxx_cv_func_isnan_use=no
41237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41238 ac_ext=c
41239 ac_cpp='$CPP $CPPFLAGS'
41240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41249 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41251 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41252 for ac_func in isnan
41253 do :
41254 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41255 if test "x$ac_cv_func_isnan" = x""yes; then :
41256 cat >>confdefs.h <<_ACEOF
41257 #define HAVE_ISNAN 1
41258 _ACEOF
41261 done
41263 else
41265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41266 $as_echo_n "checking for _isnan declaration... " >&6; }
41267 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41268 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41269 $as_echo_n "(cached) " >&6
41270 else
41273 ac_ext=cpp
41274 ac_cpp='$CXXCPP $CPPFLAGS'
41275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41280 /* end confdefs.h. */
41281 #include <math.h>
41282 #ifdef HAVE_IEEEFP_H
41283 #include <ieeefp.h>
41284 #endif
41287 main ()
41289 _isnan(0);
41291 return 0;
41293 _ACEOF
41294 if ac_fn_cxx_try_compile "$LINENO"; then :
41295 glibcxx_cv_func__isnan_use=yes
41296 else
41297 glibcxx_cv_func__isnan_use=no
41299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41300 ac_ext=c
41301 ac_cpp='$CPP $CPPFLAGS'
41302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41311 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41313 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41314 for ac_func in _isnan
41315 do :
41316 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41317 if test "x$ac_cv_func__isnan" = x""yes; then :
41318 cat >>confdefs.h <<_ACEOF
41319 #define HAVE__ISNAN 1
41320 _ACEOF
41323 done
41332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41333 $as_echo_n "checking for finite declaration... " >&6; }
41334 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41335 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41336 $as_echo_n "(cached) " >&6
41337 else
41340 ac_ext=cpp
41341 ac_cpp='$CXXCPP $CPPFLAGS'
41342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41347 /* end confdefs.h. */
41348 #include <math.h>
41349 #ifdef HAVE_IEEEFP_H
41350 #include <ieeefp.h>
41351 #endif
41354 main ()
41356 finite(0);
41358 return 0;
41360 _ACEOF
41361 if ac_fn_cxx_try_compile "$LINENO"; then :
41362 glibcxx_cv_func_finite_use=yes
41363 else
41364 glibcxx_cv_func_finite_use=no
41366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41367 ac_ext=c
41368 ac_cpp='$CPP $CPPFLAGS'
41369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41378 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41380 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41381 for ac_func in finite
41382 do :
41383 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41384 if test "x$ac_cv_func_finite" = x""yes; then :
41385 cat >>confdefs.h <<_ACEOF
41386 #define HAVE_FINITE 1
41387 _ACEOF
41390 done
41392 else
41394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41395 $as_echo_n "checking for _finite declaration... " >&6; }
41396 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41397 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41398 $as_echo_n "(cached) " >&6
41399 else
41402 ac_ext=cpp
41403 ac_cpp='$CXXCPP $CPPFLAGS'
41404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41409 /* end confdefs.h. */
41410 #include <math.h>
41411 #ifdef HAVE_IEEEFP_H
41412 #include <ieeefp.h>
41413 #endif
41416 main ()
41418 _finite(0);
41420 return 0;
41422 _ACEOF
41423 if ac_fn_cxx_try_compile "$LINENO"; then :
41424 glibcxx_cv_func__finite_use=yes
41425 else
41426 glibcxx_cv_func__finite_use=no
41428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41429 ac_ext=c
41430 ac_cpp='$CPP $CPPFLAGS'
41431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41440 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41442 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41443 for ac_func in _finite
41444 do :
41445 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41446 if test "x$ac_cv_func__finite" = x""yes; then :
41447 cat >>confdefs.h <<_ACEOF
41448 #define HAVE__FINITE 1
41449 _ACEOF
41452 done
41461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41462 $as_echo_n "checking for sincos declaration... " >&6; }
41463 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41464 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41465 $as_echo_n "(cached) " >&6
41466 else
41469 ac_ext=cpp
41470 ac_cpp='$CXXCPP $CPPFLAGS'
41471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41476 /* end confdefs.h. */
41477 #include <math.h>
41479 main ()
41481 sincos(0, 0, 0);
41483 return 0;
41485 _ACEOF
41486 if ac_fn_cxx_try_compile "$LINENO"; then :
41487 glibcxx_cv_func_sincos_use=yes
41488 else
41489 glibcxx_cv_func_sincos_use=no
41491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41492 ac_ext=c
41493 ac_cpp='$CPP $CPPFLAGS'
41494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41503 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41505 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41506 for ac_func in sincos
41507 do :
41508 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41509 if test "x$ac_cv_func_sincos" = x""yes; then :
41510 cat >>confdefs.h <<_ACEOF
41511 #define HAVE_SINCOS 1
41512 _ACEOF
41515 done
41517 else
41519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41520 $as_echo_n "checking for _sincos declaration... " >&6; }
41521 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41522 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41523 $as_echo_n "(cached) " >&6
41524 else
41527 ac_ext=cpp
41528 ac_cpp='$CXXCPP $CPPFLAGS'
41529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41534 /* end confdefs.h. */
41535 #include <math.h>
41537 main ()
41539 _sincos(0, 0, 0);
41541 return 0;
41543 _ACEOF
41544 if ac_fn_cxx_try_compile "$LINENO"; then :
41545 glibcxx_cv_func__sincos_use=yes
41546 else
41547 glibcxx_cv_func__sincos_use=no
41549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41550 ac_ext=c
41551 ac_cpp='$CPP $CPPFLAGS'
41552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41561 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41563 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41564 for ac_func in _sincos
41565 do :
41566 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41567 if test "x$ac_cv_func__sincos" = x""yes; then :
41568 cat >>confdefs.h <<_ACEOF
41569 #define HAVE__SINCOS 1
41570 _ACEOF
41573 done
41582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41583 $as_echo_n "checking for fpclass declaration... " >&6; }
41584 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41585 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41586 $as_echo_n "(cached) " >&6
41587 else
41590 ac_ext=cpp
41591 ac_cpp='$CXXCPP $CPPFLAGS'
41592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41597 /* end confdefs.h. */
41598 #include <math.h>
41599 #ifdef HAVE_IEEEFP_H
41600 #include <ieeefp.h>
41601 #endif
41604 main ()
41606 fpclass(0);
41608 return 0;
41610 _ACEOF
41611 if ac_fn_cxx_try_compile "$LINENO"; then :
41612 glibcxx_cv_func_fpclass_use=yes
41613 else
41614 glibcxx_cv_func_fpclass_use=no
41616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41617 ac_ext=c
41618 ac_cpp='$CPP $CPPFLAGS'
41619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41628 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41630 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41631 for ac_func in fpclass
41632 do :
41633 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41634 if test "x$ac_cv_func_fpclass" = x""yes; then :
41635 cat >>confdefs.h <<_ACEOF
41636 #define HAVE_FPCLASS 1
41637 _ACEOF
41640 done
41642 else
41644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41645 $as_echo_n "checking for _fpclass declaration... " >&6; }
41646 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41647 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41648 $as_echo_n "(cached) " >&6
41649 else
41652 ac_ext=cpp
41653 ac_cpp='$CXXCPP $CPPFLAGS'
41654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41659 /* end confdefs.h. */
41660 #include <math.h>
41661 #ifdef HAVE_IEEEFP_H
41662 #include <ieeefp.h>
41663 #endif
41666 main ()
41668 _fpclass(0);
41670 return 0;
41672 _ACEOF
41673 if ac_fn_cxx_try_compile "$LINENO"; then :
41674 glibcxx_cv_func__fpclass_use=yes
41675 else
41676 glibcxx_cv_func__fpclass_use=no
41678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41679 ac_ext=c
41680 ac_cpp='$CPP $CPPFLAGS'
41681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41690 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41692 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41693 for ac_func in _fpclass
41694 do :
41695 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41696 if test "x$ac_cv_func__fpclass" = x""yes; then :
41697 cat >>confdefs.h <<_ACEOF
41698 #define HAVE__FPCLASS 1
41699 _ACEOF
41702 done
41711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
41712 $as_echo_n "checking for qfpclass declaration... " >&6; }
41713 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
41714 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
41715 $as_echo_n "(cached) " >&6
41716 else
41719 ac_ext=cpp
41720 ac_cpp='$CXXCPP $CPPFLAGS'
41721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41726 /* end confdefs.h. */
41727 #include <math.h>
41728 #ifdef HAVE_IEEEFP_H
41729 #include <ieeefp.h>
41730 #endif
41733 main ()
41735 qfpclass(0);
41737 return 0;
41739 _ACEOF
41740 if ac_fn_cxx_try_compile "$LINENO"; then :
41741 glibcxx_cv_func_qfpclass_use=yes
41742 else
41743 glibcxx_cv_func_qfpclass_use=no
41745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41746 ac_ext=c
41747 ac_cpp='$CPP $CPPFLAGS'
41748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41757 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41759 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41760 for ac_func in qfpclass
41761 do :
41762 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41763 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41764 cat >>confdefs.h <<_ACEOF
41765 #define HAVE_QFPCLASS 1
41766 _ACEOF
41769 done
41771 else
41773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41774 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41775 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41776 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41777 $as_echo_n "(cached) " >&6
41778 else
41781 ac_ext=cpp
41782 ac_cpp='$CXXCPP $CPPFLAGS'
41783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41788 /* end confdefs.h. */
41789 #include <math.h>
41790 #ifdef HAVE_IEEEFP_H
41791 #include <ieeefp.h>
41792 #endif
41795 main ()
41797 _qfpclass(0);
41799 return 0;
41801 _ACEOF
41802 if ac_fn_cxx_try_compile "$LINENO"; then :
41803 glibcxx_cv_func__qfpclass_use=yes
41804 else
41805 glibcxx_cv_func__qfpclass_use=no
41807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41808 ac_ext=c
41809 ac_cpp='$CPP $CPPFLAGS'
41810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41819 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41821 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41822 for ac_func in _qfpclass
41823 do :
41824 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41825 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41826 cat >>confdefs.h <<_ACEOF
41827 #define HAVE__QFPCLASS 1
41828 _ACEOF
41831 done
41840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41841 $as_echo_n "checking for hypot declaration... " >&6; }
41842 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41843 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41844 $as_echo_n "(cached) " >&6
41845 else
41848 ac_ext=cpp
41849 ac_cpp='$CXXCPP $CPPFLAGS'
41850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41855 /* end confdefs.h. */
41856 #include <math.h>
41858 main ()
41860 hypot(0, 0);
41862 return 0;
41864 _ACEOF
41865 if ac_fn_cxx_try_compile "$LINENO"; then :
41866 glibcxx_cv_func_hypot_use=yes
41867 else
41868 glibcxx_cv_func_hypot_use=no
41870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41871 ac_ext=c
41872 ac_cpp='$CPP $CPPFLAGS'
41873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41882 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41884 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41885 for ac_func in hypot
41886 do :
41887 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41888 if test "x$ac_cv_func_hypot" = x""yes; then :
41889 cat >>confdefs.h <<_ACEOF
41890 #define HAVE_HYPOT 1
41891 _ACEOF
41894 done
41896 else
41898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41899 $as_echo_n "checking for _hypot declaration... " >&6; }
41900 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41901 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41902 $as_echo_n "(cached) " >&6
41903 else
41906 ac_ext=cpp
41907 ac_cpp='$CXXCPP $CPPFLAGS'
41908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41913 /* end confdefs.h. */
41914 #include <math.h>
41916 main ()
41918 _hypot(0, 0);
41920 return 0;
41922 _ACEOF
41923 if ac_fn_cxx_try_compile "$LINENO"; then :
41924 glibcxx_cv_func__hypot_use=yes
41925 else
41926 glibcxx_cv_func__hypot_use=no
41928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41929 ac_ext=c
41930 ac_cpp='$CPP $CPPFLAGS'
41931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41940 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41942 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41943 for ac_func in _hypot
41944 do :
41945 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41946 if test "x$ac_cv_func__hypot" = x""yes; then :
41947 cat >>confdefs.h <<_ACEOF
41948 #define HAVE__HYPOT 1
41949 _ACEOF
41952 done
41961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41962 $as_echo_n "checking for float trig functions... " >&6; }
41963 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41964 $as_echo_n "(cached) " >&6
41965 else
41968 ac_ext=cpp
41969 ac_cpp='$CXXCPP $CPPFLAGS'
41970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41975 /* end confdefs.h. */
41976 #include <math.h>
41978 main ()
41980 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41982 return 0;
41984 _ACEOF
41985 if ac_fn_cxx_try_compile "$LINENO"; then :
41986 glibcxx_cv_func_float_trig_use=yes
41987 else
41988 glibcxx_cv_func_float_trig_use=no
41990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41991 ac_ext=c
41992 ac_cpp='$CPP $CPPFLAGS'
41993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42000 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42001 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42002 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42003 do :
42004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42006 eval as_val=\$$as_ac_var
42007 if test "x$as_val" = x""yes; then :
42008 cat >>confdefs.h <<_ACEOF
42009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42010 _ACEOF
42013 done
42015 else
42016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42017 $as_echo_n "checking for _float trig functions... " >&6; }
42018 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42019 $as_echo_n "(cached) " >&6
42020 else
42023 ac_ext=cpp
42024 ac_cpp='$CXXCPP $CPPFLAGS'
42025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42030 /* end confdefs.h. */
42031 #include <math.h>
42033 main ()
42035 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42037 return 0;
42039 _ACEOF
42040 if ac_fn_cxx_try_compile "$LINENO"; then :
42041 glibcxx_cv_func__float_trig_use=yes
42042 else
42043 glibcxx_cv_func__float_trig_use=no
42045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42046 ac_ext=c
42047 ac_cpp='$CPP $CPPFLAGS'
42048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42055 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42056 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42057 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42058 do :
42059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42061 eval as_val=\$$as_ac_var
42062 if test "x$as_val" = x""yes; then :
42063 cat >>confdefs.h <<_ACEOF
42064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42065 _ACEOF
42068 done
42077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42078 $as_echo_n "checking for float round functions... " >&6; }
42079 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42080 $as_echo_n "(cached) " >&6
42081 else
42084 ac_ext=cpp
42085 ac_cpp='$CXXCPP $CPPFLAGS'
42086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42091 /* end confdefs.h. */
42092 #include <math.h>
42094 main ()
42096 ceilf (0); floorf (0);
42098 return 0;
42100 _ACEOF
42101 if ac_fn_cxx_try_compile "$LINENO"; then :
42102 glibcxx_cv_func_float_round_use=yes
42103 else
42104 glibcxx_cv_func_float_round_use=no
42106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42107 ac_ext=c
42108 ac_cpp='$CPP $CPPFLAGS'
42109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42116 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42117 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42118 for ac_func in ceilf floorf
42119 do :
42120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42122 eval as_val=\$$as_ac_var
42123 if test "x$as_val" = x""yes; then :
42124 cat >>confdefs.h <<_ACEOF
42125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42126 _ACEOF
42129 done
42131 else
42132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42133 $as_echo_n "checking for _float round functions... " >&6; }
42134 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42135 $as_echo_n "(cached) " >&6
42136 else
42139 ac_ext=cpp
42140 ac_cpp='$CXXCPP $CPPFLAGS'
42141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42146 /* end confdefs.h. */
42147 #include <math.h>
42149 main ()
42151 _ceilf (0); _floorf (0);
42153 return 0;
42155 _ACEOF
42156 if ac_fn_cxx_try_compile "$LINENO"; then :
42157 glibcxx_cv_func__float_round_use=yes
42158 else
42159 glibcxx_cv_func__float_round_use=no
42161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42162 ac_ext=c
42163 ac_cpp='$CPP $CPPFLAGS'
42164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42171 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42172 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42173 for ac_func in _ceilf _floorf
42174 do :
42175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42177 eval as_val=\$$as_ac_var
42178 if test "x$as_val" = x""yes; then :
42179 cat >>confdefs.h <<_ACEOF
42180 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42181 _ACEOF
42184 done
42194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42195 $as_echo_n "checking for expf declaration... " >&6; }
42196 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42197 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42198 $as_echo_n "(cached) " >&6
42199 else
42202 ac_ext=cpp
42203 ac_cpp='$CXXCPP $CPPFLAGS'
42204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42209 /* end confdefs.h. */
42210 #include <math.h>
42211 #ifdef HAVE_IEEEFP_H
42212 #include <ieeefp.h>
42213 #endif
42216 main ()
42218 expf(0);
42220 return 0;
42222 _ACEOF
42223 if ac_fn_cxx_try_compile "$LINENO"; then :
42224 glibcxx_cv_func_expf_use=yes
42225 else
42226 glibcxx_cv_func_expf_use=no
42228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42229 ac_ext=c
42230 ac_cpp='$CPP $CPPFLAGS'
42231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42240 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42242 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42243 for ac_func in expf
42244 do :
42245 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42246 if test "x$ac_cv_func_expf" = x""yes; then :
42247 cat >>confdefs.h <<_ACEOF
42248 #define HAVE_EXPF 1
42249 _ACEOF
42252 done
42254 else
42256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42257 $as_echo_n "checking for _expf declaration... " >&6; }
42258 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42259 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42260 $as_echo_n "(cached) " >&6
42261 else
42264 ac_ext=cpp
42265 ac_cpp='$CXXCPP $CPPFLAGS'
42266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42271 /* end confdefs.h. */
42272 #include <math.h>
42273 #ifdef HAVE_IEEEFP_H
42274 #include <ieeefp.h>
42275 #endif
42278 main ()
42280 _expf(0);
42282 return 0;
42284 _ACEOF
42285 if ac_fn_cxx_try_compile "$LINENO"; then :
42286 glibcxx_cv_func__expf_use=yes
42287 else
42288 glibcxx_cv_func__expf_use=no
42290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42291 ac_ext=c
42292 ac_cpp='$CPP $CPPFLAGS'
42293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42302 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42304 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42305 for ac_func in _expf
42306 do :
42307 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42308 if test "x$ac_cv_func__expf" = x""yes; then :
42309 cat >>confdefs.h <<_ACEOF
42310 #define HAVE__EXPF 1
42311 _ACEOF
42314 done
42323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42324 $as_echo_n "checking for isnanf declaration... " >&6; }
42325 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42326 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42327 $as_echo_n "(cached) " >&6
42328 else
42331 ac_ext=cpp
42332 ac_cpp='$CXXCPP $CPPFLAGS'
42333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42338 /* end confdefs.h. */
42339 #include <math.h>
42340 #ifdef HAVE_IEEEFP_H
42341 #include <ieeefp.h>
42342 #endif
42345 main ()
42347 isnanf(0);
42349 return 0;
42351 _ACEOF
42352 if ac_fn_cxx_try_compile "$LINENO"; then :
42353 glibcxx_cv_func_isnanf_use=yes
42354 else
42355 glibcxx_cv_func_isnanf_use=no
42357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42358 ac_ext=c
42359 ac_cpp='$CPP $CPPFLAGS'
42360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42369 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42371 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42372 for ac_func in isnanf
42373 do :
42374 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42375 if test "x$ac_cv_func_isnanf" = x""yes; then :
42376 cat >>confdefs.h <<_ACEOF
42377 #define HAVE_ISNANF 1
42378 _ACEOF
42381 done
42383 else
42385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42386 $as_echo_n "checking for _isnanf declaration... " >&6; }
42387 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42388 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42389 $as_echo_n "(cached) " >&6
42390 else
42393 ac_ext=cpp
42394 ac_cpp='$CXXCPP $CPPFLAGS'
42395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42400 /* end confdefs.h. */
42401 #include <math.h>
42402 #ifdef HAVE_IEEEFP_H
42403 #include <ieeefp.h>
42404 #endif
42407 main ()
42409 _isnanf(0);
42411 return 0;
42413 _ACEOF
42414 if ac_fn_cxx_try_compile "$LINENO"; then :
42415 glibcxx_cv_func__isnanf_use=yes
42416 else
42417 glibcxx_cv_func__isnanf_use=no
42419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42420 ac_ext=c
42421 ac_cpp='$CPP $CPPFLAGS'
42422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42431 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42433 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42434 for ac_func in _isnanf
42435 do :
42436 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42437 if test "x$ac_cv_func__isnanf" = x""yes; then :
42438 cat >>confdefs.h <<_ACEOF
42439 #define HAVE__ISNANF 1
42440 _ACEOF
42443 done
42452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42453 $as_echo_n "checking for isinff declaration... " >&6; }
42454 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42455 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42456 $as_echo_n "(cached) " >&6
42457 else
42460 ac_ext=cpp
42461 ac_cpp='$CXXCPP $CPPFLAGS'
42462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42467 /* end confdefs.h. */
42468 #include <math.h>
42469 #ifdef HAVE_IEEEFP_H
42470 #include <ieeefp.h>
42471 #endif
42474 main ()
42476 isinff(0);
42478 return 0;
42480 _ACEOF
42481 if ac_fn_cxx_try_compile "$LINENO"; then :
42482 glibcxx_cv_func_isinff_use=yes
42483 else
42484 glibcxx_cv_func_isinff_use=no
42486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42487 ac_ext=c
42488 ac_cpp='$CPP $CPPFLAGS'
42489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42498 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42500 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42501 for ac_func in isinff
42502 do :
42503 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42504 if test "x$ac_cv_func_isinff" = x""yes; then :
42505 cat >>confdefs.h <<_ACEOF
42506 #define HAVE_ISINFF 1
42507 _ACEOF
42510 done
42512 else
42514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42515 $as_echo_n "checking for _isinff declaration... " >&6; }
42516 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42517 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42518 $as_echo_n "(cached) " >&6
42519 else
42522 ac_ext=cpp
42523 ac_cpp='$CXXCPP $CPPFLAGS'
42524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42529 /* end confdefs.h. */
42530 #include <math.h>
42531 #ifdef HAVE_IEEEFP_H
42532 #include <ieeefp.h>
42533 #endif
42536 main ()
42538 _isinff(0);
42540 return 0;
42542 _ACEOF
42543 if ac_fn_cxx_try_compile "$LINENO"; then :
42544 glibcxx_cv_func__isinff_use=yes
42545 else
42546 glibcxx_cv_func__isinff_use=no
42548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42549 ac_ext=c
42550 ac_cpp='$CPP $CPPFLAGS'
42551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42560 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42562 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42563 for ac_func in _isinff
42564 do :
42565 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42566 if test "x$ac_cv_func__isinff" = x""yes; then :
42567 cat >>confdefs.h <<_ACEOF
42568 #define HAVE__ISINFF 1
42569 _ACEOF
42572 done
42581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42582 $as_echo_n "checking for atan2f declaration... " >&6; }
42583 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42584 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42585 $as_echo_n "(cached) " >&6
42586 else
42589 ac_ext=cpp
42590 ac_cpp='$CXXCPP $CPPFLAGS'
42591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42596 /* end confdefs.h. */
42597 #include <math.h>
42599 main ()
42601 atan2f(0, 0);
42603 return 0;
42605 _ACEOF
42606 if ac_fn_cxx_try_compile "$LINENO"; then :
42607 glibcxx_cv_func_atan2f_use=yes
42608 else
42609 glibcxx_cv_func_atan2f_use=no
42611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42612 ac_ext=c
42613 ac_cpp='$CPP $CPPFLAGS'
42614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42623 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42625 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42626 for ac_func in atan2f
42627 do :
42628 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42629 if test "x$ac_cv_func_atan2f" = x""yes; then :
42630 cat >>confdefs.h <<_ACEOF
42631 #define HAVE_ATAN2F 1
42632 _ACEOF
42635 done
42637 else
42639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42640 $as_echo_n "checking for _atan2f declaration... " >&6; }
42641 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42642 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42643 $as_echo_n "(cached) " >&6
42644 else
42647 ac_ext=cpp
42648 ac_cpp='$CXXCPP $CPPFLAGS'
42649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42654 /* end confdefs.h. */
42655 #include <math.h>
42657 main ()
42659 _atan2f(0, 0);
42661 return 0;
42663 _ACEOF
42664 if ac_fn_cxx_try_compile "$LINENO"; then :
42665 glibcxx_cv_func__atan2f_use=yes
42666 else
42667 glibcxx_cv_func__atan2f_use=no
42669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42670 ac_ext=c
42671 ac_cpp='$CPP $CPPFLAGS'
42672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42681 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42683 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42684 for ac_func in _atan2f
42685 do :
42686 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42687 if test "x$ac_cv_func__atan2f" = x""yes; then :
42688 cat >>confdefs.h <<_ACEOF
42689 #define HAVE__ATAN2F 1
42690 _ACEOF
42693 done
42702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42703 $as_echo_n "checking for fabsf declaration... " >&6; }
42704 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42705 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
42706 $as_echo_n "(cached) " >&6
42707 else
42710 ac_ext=cpp
42711 ac_cpp='$CXXCPP $CPPFLAGS'
42712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42717 /* end confdefs.h. */
42718 #include <math.h>
42719 #ifdef HAVE_IEEEFP_H
42720 #include <ieeefp.h>
42721 #endif
42724 main ()
42726 fabsf(0);
42728 return 0;
42730 _ACEOF
42731 if ac_fn_cxx_try_compile "$LINENO"; then :
42732 glibcxx_cv_func_fabsf_use=yes
42733 else
42734 glibcxx_cv_func_fabsf_use=no
42736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42737 ac_ext=c
42738 ac_cpp='$CPP $CPPFLAGS'
42739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42748 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42750 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42751 for ac_func in fabsf
42752 do :
42753 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42754 if test "x$ac_cv_func_fabsf" = x""yes; then :
42755 cat >>confdefs.h <<_ACEOF
42756 #define HAVE_FABSF 1
42757 _ACEOF
42760 done
42762 else
42764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42765 $as_echo_n "checking for _fabsf declaration... " >&6; }
42766 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42767 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42768 $as_echo_n "(cached) " >&6
42769 else
42772 ac_ext=cpp
42773 ac_cpp='$CXXCPP $CPPFLAGS'
42774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42779 /* end confdefs.h. */
42780 #include <math.h>
42781 #ifdef HAVE_IEEEFP_H
42782 #include <ieeefp.h>
42783 #endif
42786 main ()
42788 _fabsf(0);
42790 return 0;
42792 _ACEOF
42793 if ac_fn_cxx_try_compile "$LINENO"; then :
42794 glibcxx_cv_func__fabsf_use=yes
42795 else
42796 glibcxx_cv_func__fabsf_use=no
42798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42799 ac_ext=c
42800 ac_cpp='$CPP $CPPFLAGS'
42801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42810 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42812 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42813 for ac_func in _fabsf
42814 do :
42815 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42816 if test "x$ac_cv_func__fabsf" = x""yes; then :
42817 cat >>confdefs.h <<_ACEOF
42818 #define HAVE__FABSF 1
42819 _ACEOF
42822 done
42831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42832 $as_echo_n "checking for fmodf declaration... " >&6; }
42833 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42834 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42835 $as_echo_n "(cached) " >&6
42836 else
42839 ac_ext=cpp
42840 ac_cpp='$CXXCPP $CPPFLAGS'
42841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42846 /* end confdefs.h. */
42847 #include <math.h>
42849 main ()
42851 fmodf(0, 0);
42853 return 0;
42855 _ACEOF
42856 if ac_fn_cxx_try_compile "$LINENO"; then :
42857 glibcxx_cv_func_fmodf_use=yes
42858 else
42859 glibcxx_cv_func_fmodf_use=no
42861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42862 ac_ext=c
42863 ac_cpp='$CPP $CPPFLAGS'
42864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42873 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42875 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42876 for ac_func in fmodf
42877 do :
42878 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42879 if test "x$ac_cv_func_fmodf" = x""yes; then :
42880 cat >>confdefs.h <<_ACEOF
42881 #define HAVE_FMODF 1
42882 _ACEOF
42885 done
42887 else
42889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42890 $as_echo_n "checking for _fmodf declaration... " >&6; }
42891 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42892 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42893 $as_echo_n "(cached) " >&6
42894 else
42897 ac_ext=cpp
42898 ac_cpp='$CXXCPP $CPPFLAGS'
42899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42904 /* end confdefs.h. */
42905 #include <math.h>
42907 main ()
42909 _fmodf(0, 0);
42911 return 0;
42913 _ACEOF
42914 if ac_fn_cxx_try_compile "$LINENO"; then :
42915 glibcxx_cv_func__fmodf_use=yes
42916 else
42917 glibcxx_cv_func__fmodf_use=no
42919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42920 ac_ext=c
42921 ac_cpp='$CPP $CPPFLAGS'
42922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42931 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42933 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42934 for ac_func in _fmodf
42935 do :
42936 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42937 if test "x$ac_cv_func__fmodf" = x""yes; then :
42938 cat >>confdefs.h <<_ACEOF
42939 #define HAVE__FMODF 1
42940 _ACEOF
42943 done
42952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42953 $as_echo_n "checking for frexpf declaration... " >&6; }
42954 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42955 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42956 $as_echo_n "(cached) " >&6
42957 else
42960 ac_ext=cpp
42961 ac_cpp='$CXXCPP $CPPFLAGS'
42962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42967 /* end confdefs.h. */
42968 #include <math.h>
42970 main ()
42972 frexpf(0, 0);
42974 return 0;
42976 _ACEOF
42977 if ac_fn_cxx_try_compile "$LINENO"; then :
42978 glibcxx_cv_func_frexpf_use=yes
42979 else
42980 glibcxx_cv_func_frexpf_use=no
42982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42983 ac_ext=c
42984 ac_cpp='$CPP $CPPFLAGS'
42985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42994 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42996 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42997 for ac_func in frexpf
42998 do :
42999 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43000 if test "x$ac_cv_func_frexpf" = x""yes; then :
43001 cat >>confdefs.h <<_ACEOF
43002 #define HAVE_FREXPF 1
43003 _ACEOF
43006 done
43008 else
43010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43011 $as_echo_n "checking for _frexpf declaration... " >&6; }
43012 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43013 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43014 $as_echo_n "(cached) " >&6
43015 else
43018 ac_ext=cpp
43019 ac_cpp='$CXXCPP $CPPFLAGS'
43020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43025 /* end confdefs.h. */
43026 #include <math.h>
43028 main ()
43030 _frexpf(0, 0);
43032 return 0;
43034 _ACEOF
43035 if ac_fn_cxx_try_compile "$LINENO"; then :
43036 glibcxx_cv_func__frexpf_use=yes
43037 else
43038 glibcxx_cv_func__frexpf_use=no
43040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43041 ac_ext=c
43042 ac_cpp='$CPP $CPPFLAGS'
43043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43052 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43054 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43055 for ac_func in _frexpf
43056 do :
43057 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43058 if test "x$ac_cv_func__frexpf" = x""yes; then :
43059 cat >>confdefs.h <<_ACEOF
43060 #define HAVE__FREXPF 1
43061 _ACEOF
43064 done
43073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43074 $as_echo_n "checking for hypotf declaration... " >&6; }
43075 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43076 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43077 $as_echo_n "(cached) " >&6
43078 else
43081 ac_ext=cpp
43082 ac_cpp='$CXXCPP $CPPFLAGS'
43083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43088 /* end confdefs.h. */
43089 #include <math.h>
43091 main ()
43093 hypotf(0, 0);
43095 return 0;
43097 _ACEOF
43098 if ac_fn_cxx_try_compile "$LINENO"; then :
43099 glibcxx_cv_func_hypotf_use=yes
43100 else
43101 glibcxx_cv_func_hypotf_use=no
43103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43104 ac_ext=c
43105 ac_cpp='$CPP $CPPFLAGS'
43106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43115 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43117 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43118 for ac_func in hypotf
43119 do :
43120 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43121 if test "x$ac_cv_func_hypotf" = x""yes; then :
43122 cat >>confdefs.h <<_ACEOF
43123 #define HAVE_HYPOTF 1
43124 _ACEOF
43127 done
43129 else
43131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43132 $as_echo_n "checking for _hypotf declaration... " >&6; }
43133 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43134 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43135 $as_echo_n "(cached) " >&6
43136 else
43139 ac_ext=cpp
43140 ac_cpp='$CXXCPP $CPPFLAGS'
43141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43146 /* end confdefs.h. */
43147 #include <math.h>
43149 main ()
43151 _hypotf(0, 0);
43153 return 0;
43155 _ACEOF
43156 if ac_fn_cxx_try_compile "$LINENO"; then :
43157 glibcxx_cv_func__hypotf_use=yes
43158 else
43159 glibcxx_cv_func__hypotf_use=no
43161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43162 ac_ext=c
43163 ac_cpp='$CPP $CPPFLAGS'
43164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43173 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43175 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43176 for ac_func in _hypotf
43177 do :
43178 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43179 if test "x$ac_cv_func__hypotf" = x""yes; then :
43180 cat >>confdefs.h <<_ACEOF
43181 #define HAVE__HYPOTF 1
43182 _ACEOF
43185 done
43194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43195 $as_echo_n "checking for ldexpf declaration... " >&6; }
43196 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43197 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43198 $as_echo_n "(cached) " >&6
43199 else
43202 ac_ext=cpp
43203 ac_cpp='$CXXCPP $CPPFLAGS'
43204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43209 /* end confdefs.h. */
43210 #include <math.h>
43212 main ()
43214 ldexpf(0, 0);
43216 return 0;
43218 _ACEOF
43219 if ac_fn_cxx_try_compile "$LINENO"; then :
43220 glibcxx_cv_func_ldexpf_use=yes
43221 else
43222 glibcxx_cv_func_ldexpf_use=no
43224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43225 ac_ext=c
43226 ac_cpp='$CPP $CPPFLAGS'
43227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43236 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43238 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43239 for ac_func in ldexpf
43240 do :
43241 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43242 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43243 cat >>confdefs.h <<_ACEOF
43244 #define HAVE_LDEXPF 1
43245 _ACEOF
43248 done
43250 else
43252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43253 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43254 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43255 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43256 $as_echo_n "(cached) " >&6
43257 else
43260 ac_ext=cpp
43261 ac_cpp='$CXXCPP $CPPFLAGS'
43262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43267 /* end confdefs.h. */
43268 #include <math.h>
43270 main ()
43272 _ldexpf(0, 0);
43274 return 0;
43276 _ACEOF
43277 if ac_fn_cxx_try_compile "$LINENO"; then :
43278 glibcxx_cv_func__ldexpf_use=yes
43279 else
43280 glibcxx_cv_func__ldexpf_use=no
43282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43283 ac_ext=c
43284 ac_cpp='$CPP $CPPFLAGS'
43285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43294 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43296 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43297 for ac_func in _ldexpf
43298 do :
43299 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43300 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43301 cat >>confdefs.h <<_ACEOF
43302 #define HAVE__LDEXPF 1
43303 _ACEOF
43306 done
43315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43316 $as_echo_n "checking for logf declaration... " >&6; }
43317 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43318 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43319 $as_echo_n "(cached) " >&6
43320 else
43323 ac_ext=cpp
43324 ac_cpp='$CXXCPP $CPPFLAGS'
43325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43330 /* end confdefs.h. */
43331 #include <math.h>
43332 #ifdef HAVE_IEEEFP_H
43333 #include <ieeefp.h>
43334 #endif
43337 main ()
43339 logf(0);
43341 return 0;
43343 _ACEOF
43344 if ac_fn_cxx_try_compile "$LINENO"; then :
43345 glibcxx_cv_func_logf_use=yes
43346 else
43347 glibcxx_cv_func_logf_use=no
43349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43350 ac_ext=c
43351 ac_cpp='$CPP $CPPFLAGS'
43352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43361 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43363 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43364 for ac_func in logf
43365 do :
43366 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43367 if test "x$ac_cv_func_logf" = x""yes; then :
43368 cat >>confdefs.h <<_ACEOF
43369 #define HAVE_LOGF 1
43370 _ACEOF
43373 done
43375 else
43377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43378 $as_echo_n "checking for _logf declaration... " >&6; }
43379 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43380 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43381 $as_echo_n "(cached) " >&6
43382 else
43385 ac_ext=cpp
43386 ac_cpp='$CXXCPP $CPPFLAGS'
43387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43392 /* end confdefs.h. */
43393 #include <math.h>
43394 #ifdef HAVE_IEEEFP_H
43395 #include <ieeefp.h>
43396 #endif
43399 main ()
43401 _logf(0);
43403 return 0;
43405 _ACEOF
43406 if ac_fn_cxx_try_compile "$LINENO"; then :
43407 glibcxx_cv_func__logf_use=yes
43408 else
43409 glibcxx_cv_func__logf_use=no
43411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43412 ac_ext=c
43413 ac_cpp='$CPP $CPPFLAGS'
43414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43423 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43425 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43426 for ac_func in _logf
43427 do :
43428 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43429 if test "x$ac_cv_func__logf" = x""yes; then :
43430 cat >>confdefs.h <<_ACEOF
43431 #define HAVE__LOGF 1
43432 _ACEOF
43435 done
43444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43445 $as_echo_n "checking for log10f declaration... " >&6; }
43446 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43447 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43448 $as_echo_n "(cached) " >&6
43449 else
43452 ac_ext=cpp
43453 ac_cpp='$CXXCPP $CPPFLAGS'
43454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43459 /* end confdefs.h. */
43460 #include <math.h>
43461 #ifdef HAVE_IEEEFP_H
43462 #include <ieeefp.h>
43463 #endif
43466 main ()
43468 log10f(0);
43470 return 0;
43472 _ACEOF
43473 if ac_fn_cxx_try_compile "$LINENO"; then :
43474 glibcxx_cv_func_log10f_use=yes
43475 else
43476 glibcxx_cv_func_log10f_use=no
43478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43479 ac_ext=c
43480 ac_cpp='$CPP $CPPFLAGS'
43481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43490 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43492 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43493 for ac_func in log10f
43494 do :
43495 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43496 if test "x$ac_cv_func_log10f" = x""yes; then :
43497 cat >>confdefs.h <<_ACEOF
43498 #define HAVE_LOG10F 1
43499 _ACEOF
43502 done
43504 else
43506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43507 $as_echo_n "checking for _log10f declaration... " >&6; }
43508 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43509 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43510 $as_echo_n "(cached) " >&6
43511 else
43514 ac_ext=cpp
43515 ac_cpp='$CXXCPP $CPPFLAGS'
43516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43521 /* end confdefs.h. */
43522 #include <math.h>
43523 #ifdef HAVE_IEEEFP_H
43524 #include <ieeefp.h>
43525 #endif
43528 main ()
43530 _log10f(0);
43532 return 0;
43534 _ACEOF
43535 if ac_fn_cxx_try_compile "$LINENO"; then :
43536 glibcxx_cv_func__log10f_use=yes
43537 else
43538 glibcxx_cv_func__log10f_use=no
43540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43541 ac_ext=c
43542 ac_cpp='$CPP $CPPFLAGS'
43543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43552 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43554 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43555 for ac_func in _log10f
43556 do :
43557 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43558 if test "x$ac_cv_func__log10f" = x""yes; then :
43559 cat >>confdefs.h <<_ACEOF
43560 #define HAVE__LOG10F 1
43561 _ACEOF
43564 done
43573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43574 $as_echo_n "checking for modff declaration... " >&6; }
43575 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43576 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43577 $as_echo_n "(cached) " >&6
43578 else
43581 ac_ext=cpp
43582 ac_cpp='$CXXCPP $CPPFLAGS'
43583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43588 /* end confdefs.h. */
43589 #include <math.h>
43591 main ()
43593 modff(0, 0);
43595 return 0;
43597 _ACEOF
43598 if ac_fn_cxx_try_compile "$LINENO"; then :
43599 glibcxx_cv_func_modff_use=yes
43600 else
43601 glibcxx_cv_func_modff_use=no
43603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43604 ac_ext=c
43605 ac_cpp='$CPP $CPPFLAGS'
43606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43615 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43617 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43618 for ac_func in modff
43619 do :
43620 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43621 if test "x$ac_cv_func_modff" = x""yes; then :
43622 cat >>confdefs.h <<_ACEOF
43623 #define HAVE_MODFF 1
43624 _ACEOF
43627 done
43629 else
43631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43632 $as_echo_n "checking for _modff declaration... " >&6; }
43633 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43634 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43635 $as_echo_n "(cached) " >&6
43636 else
43639 ac_ext=cpp
43640 ac_cpp='$CXXCPP $CPPFLAGS'
43641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43646 /* end confdefs.h. */
43647 #include <math.h>
43649 main ()
43651 _modff(0, 0);
43653 return 0;
43655 _ACEOF
43656 if ac_fn_cxx_try_compile "$LINENO"; then :
43657 glibcxx_cv_func__modff_use=yes
43658 else
43659 glibcxx_cv_func__modff_use=no
43661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43662 ac_ext=c
43663 ac_cpp='$CPP $CPPFLAGS'
43664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43673 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43675 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43676 for ac_func in _modff
43677 do :
43678 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43679 if test "x$ac_cv_func__modff" = x""yes; then :
43680 cat >>confdefs.h <<_ACEOF
43681 #define HAVE__MODFF 1
43682 _ACEOF
43685 done
43694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43695 $as_echo_n "checking for modf declaration... " >&6; }
43696 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43697 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
43698 $as_echo_n "(cached) " >&6
43699 else
43702 ac_ext=cpp
43703 ac_cpp='$CXXCPP $CPPFLAGS'
43704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43709 /* end confdefs.h. */
43710 #include <math.h>
43712 main ()
43714 modf(0, 0);
43716 return 0;
43718 _ACEOF
43719 if ac_fn_cxx_try_compile "$LINENO"; then :
43720 glibcxx_cv_func_modf_use=yes
43721 else
43722 glibcxx_cv_func_modf_use=no
43724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43725 ac_ext=c
43726 ac_cpp='$CPP $CPPFLAGS'
43727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
43736 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43738 if test x$glibcxx_cv_func_modf_use = x"yes"; then
43739 for ac_func in modf
43740 do :
43741 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
43742 if test "x$ac_cv_func_modf" = x""yes; then :
43743 cat >>confdefs.h <<_ACEOF
43744 #define HAVE_MODF 1
43745 _ACEOF
43748 done
43750 else
43752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43753 $as_echo_n "checking for _modf declaration... " >&6; }
43754 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43755 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
43756 $as_echo_n "(cached) " >&6
43757 else
43760 ac_ext=cpp
43761 ac_cpp='$CXXCPP $CPPFLAGS'
43762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43767 /* end confdefs.h. */
43768 #include <math.h>
43770 main ()
43772 _modf(0, 0);
43774 return 0;
43776 _ACEOF
43777 if ac_fn_cxx_try_compile "$LINENO"; then :
43778 glibcxx_cv_func__modf_use=yes
43779 else
43780 glibcxx_cv_func__modf_use=no
43782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43783 ac_ext=c
43784 ac_cpp='$CPP $CPPFLAGS'
43785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
43794 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43796 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43797 for ac_func in _modf
43798 do :
43799 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43800 if test "x$ac_cv_func__modf" = x""yes; then :
43801 cat >>confdefs.h <<_ACEOF
43802 #define HAVE__MODF 1
43803 _ACEOF
43806 done
43815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43816 $as_echo_n "checking for powf declaration... " >&6; }
43817 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43818 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43819 $as_echo_n "(cached) " >&6
43820 else
43823 ac_ext=cpp
43824 ac_cpp='$CXXCPP $CPPFLAGS'
43825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43830 /* end confdefs.h. */
43831 #include <math.h>
43833 main ()
43835 powf(0, 0);
43837 return 0;
43839 _ACEOF
43840 if ac_fn_cxx_try_compile "$LINENO"; then :
43841 glibcxx_cv_func_powf_use=yes
43842 else
43843 glibcxx_cv_func_powf_use=no
43845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43846 ac_ext=c
43847 ac_cpp='$CPP $CPPFLAGS'
43848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43857 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43859 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43860 for ac_func in powf
43861 do :
43862 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43863 if test "x$ac_cv_func_powf" = x""yes; then :
43864 cat >>confdefs.h <<_ACEOF
43865 #define HAVE_POWF 1
43866 _ACEOF
43869 done
43871 else
43873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43874 $as_echo_n "checking for _powf declaration... " >&6; }
43875 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43876 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43877 $as_echo_n "(cached) " >&6
43878 else
43881 ac_ext=cpp
43882 ac_cpp='$CXXCPP $CPPFLAGS'
43883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43888 /* end confdefs.h. */
43889 #include <math.h>
43891 main ()
43893 _powf(0, 0);
43895 return 0;
43897 _ACEOF
43898 if ac_fn_cxx_try_compile "$LINENO"; then :
43899 glibcxx_cv_func__powf_use=yes
43900 else
43901 glibcxx_cv_func__powf_use=no
43903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43904 ac_ext=c
43905 ac_cpp='$CPP $CPPFLAGS'
43906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43915 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43917 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43918 for ac_func in _powf
43919 do :
43920 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43921 if test "x$ac_cv_func__powf" = x""yes; then :
43922 cat >>confdefs.h <<_ACEOF
43923 #define HAVE__POWF 1
43924 _ACEOF
43927 done
43936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43937 $as_echo_n "checking for sqrtf declaration... " >&6; }
43938 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43939 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43940 $as_echo_n "(cached) " >&6
43941 else
43944 ac_ext=cpp
43945 ac_cpp='$CXXCPP $CPPFLAGS'
43946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43951 /* end confdefs.h. */
43952 #include <math.h>
43953 #ifdef HAVE_IEEEFP_H
43954 #include <ieeefp.h>
43955 #endif
43958 main ()
43960 sqrtf(0);
43962 return 0;
43964 _ACEOF
43965 if ac_fn_cxx_try_compile "$LINENO"; then :
43966 glibcxx_cv_func_sqrtf_use=yes
43967 else
43968 glibcxx_cv_func_sqrtf_use=no
43970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43971 ac_ext=c
43972 ac_cpp='$CPP $CPPFLAGS'
43973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43982 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43984 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43985 for ac_func in sqrtf
43986 do :
43987 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43988 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43989 cat >>confdefs.h <<_ACEOF
43990 #define HAVE_SQRTF 1
43991 _ACEOF
43994 done
43996 else
43998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43999 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44000 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44001 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44002 $as_echo_n "(cached) " >&6
44003 else
44006 ac_ext=cpp
44007 ac_cpp='$CXXCPP $CPPFLAGS'
44008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44013 /* end confdefs.h. */
44014 #include <math.h>
44015 #ifdef HAVE_IEEEFP_H
44016 #include <ieeefp.h>
44017 #endif
44020 main ()
44022 _sqrtf(0);
44024 return 0;
44026 _ACEOF
44027 if ac_fn_cxx_try_compile "$LINENO"; then :
44028 glibcxx_cv_func__sqrtf_use=yes
44029 else
44030 glibcxx_cv_func__sqrtf_use=no
44032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44033 ac_ext=c
44034 ac_cpp='$CPP $CPPFLAGS'
44035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44044 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44046 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44047 for ac_func in _sqrtf
44048 do :
44049 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44050 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44051 cat >>confdefs.h <<_ACEOF
44052 #define HAVE__SQRTF 1
44053 _ACEOF
44056 done
44065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44066 $as_echo_n "checking for sincosf declaration... " >&6; }
44067 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44068 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44069 $as_echo_n "(cached) " >&6
44070 else
44073 ac_ext=cpp
44074 ac_cpp='$CXXCPP $CPPFLAGS'
44075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44080 /* end confdefs.h. */
44081 #include <math.h>
44083 main ()
44085 sincosf(0, 0, 0);
44087 return 0;
44089 _ACEOF
44090 if ac_fn_cxx_try_compile "$LINENO"; then :
44091 glibcxx_cv_func_sincosf_use=yes
44092 else
44093 glibcxx_cv_func_sincosf_use=no
44095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44096 ac_ext=c
44097 ac_cpp='$CPP $CPPFLAGS'
44098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44107 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44109 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44110 for ac_func in sincosf
44111 do :
44112 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44113 if test "x$ac_cv_func_sincosf" = x""yes; then :
44114 cat >>confdefs.h <<_ACEOF
44115 #define HAVE_SINCOSF 1
44116 _ACEOF
44119 done
44121 else
44123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44124 $as_echo_n "checking for _sincosf declaration... " >&6; }
44125 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44126 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44127 $as_echo_n "(cached) " >&6
44128 else
44131 ac_ext=cpp
44132 ac_cpp='$CXXCPP $CPPFLAGS'
44133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44138 /* end confdefs.h. */
44139 #include <math.h>
44141 main ()
44143 _sincosf(0, 0, 0);
44145 return 0;
44147 _ACEOF
44148 if ac_fn_cxx_try_compile "$LINENO"; then :
44149 glibcxx_cv_func__sincosf_use=yes
44150 else
44151 glibcxx_cv_func__sincosf_use=no
44153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44154 ac_ext=c
44155 ac_cpp='$CPP $CPPFLAGS'
44156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44165 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44167 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44168 for ac_func in _sincosf
44169 do :
44170 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44171 if test "x$ac_cv_func__sincosf" = x""yes; then :
44172 cat >>confdefs.h <<_ACEOF
44173 #define HAVE__SINCOSF 1
44174 _ACEOF
44177 done
44186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44187 $as_echo_n "checking for finitef declaration... " >&6; }
44188 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44189 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44190 $as_echo_n "(cached) " >&6
44191 else
44194 ac_ext=cpp
44195 ac_cpp='$CXXCPP $CPPFLAGS'
44196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44201 /* end confdefs.h. */
44202 #include <math.h>
44203 #ifdef HAVE_IEEEFP_H
44204 #include <ieeefp.h>
44205 #endif
44208 main ()
44210 finitef(0);
44212 return 0;
44214 _ACEOF
44215 if ac_fn_cxx_try_compile "$LINENO"; then :
44216 glibcxx_cv_func_finitef_use=yes
44217 else
44218 glibcxx_cv_func_finitef_use=no
44220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44221 ac_ext=c
44222 ac_cpp='$CPP $CPPFLAGS'
44223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44232 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44234 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44235 for ac_func in finitef
44236 do :
44237 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44238 if test "x$ac_cv_func_finitef" = x""yes; then :
44239 cat >>confdefs.h <<_ACEOF
44240 #define HAVE_FINITEF 1
44241 _ACEOF
44244 done
44246 else
44248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44249 $as_echo_n "checking for _finitef declaration... " >&6; }
44250 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44251 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44252 $as_echo_n "(cached) " >&6
44253 else
44256 ac_ext=cpp
44257 ac_cpp='$CXXCPP $CPPFLAGS'
44258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44263 /* end confdefs.h. */
44264 #include <math.h>
44265 #ifdef HAVE_IEEEFP_H
44266 #include <ieeefp.h>
44267 #endif
44270 main ()
44272 _finitef(0);
44274 return 0;
44276 _ACEOF
44277 if ac_fn_cxx_try_compile "$LINENO"; then :
44278 glibcxx_cv_func__finitef_use=yes
44279 else
44280 glibcxx_cv_func__finitef_use=no
44282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44283 ac_ext=c
44284 ac_cpp='$CPP $CPPFLAGS'
44285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44294 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44296 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44297 for ac_func in _finitef
44298 do :
44299 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44300 if test "x$ac_cv_func__finitef" = x""yes; then :
44301 cat >>confdefs.h <<_ACEOF
44302 #define HAVE__FINITEF 1
44303 _ACEOF
44306 done
44315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44316 $as_echo_n "checking for long double trig functions... " >&6; }
44317 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44318 $as_echo_n "(cached) " >&6
44319 else
44322 ac_ext=cpp
44323 ac_cpp='$CXXCPP $CPPFLAGS'
44324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44329 /* end confdefs.h. */
44330 #include <math.h>
44332 main ()
44334 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44336 return 0;
44338 _ACEOF
44339 if ac_fn_cxx_try_compile "$LINENO"; then :
44340 glibcxx_cv_func_long_double_trig_use=yes
44341 else
44342 glibcxx_cv_func_long_double_trig_use=no
44344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44345 ac_ext=c
44346 ac_cpp='$CPP $CPPFLAGS'
44347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44354 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44355 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44356 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44357 do :
44358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44360 eval as_val=\$$as_ac_var
44361 if test "x$as_val" = x""yes; then :
44362 cat >>confdefs.h <<_ACEOF
44363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44364 _ACEOF
44367 done
44369 else
44370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44371 $as_echo_n "checking for _long double trig functions... " >&6; }
44372 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44373 $as_echo_n "(cached) " >&6
44374 else
44377 ac_ext=cpp
44378 ac_cpp='$CXXCPP $CPPFLAGS'
44379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44384 /* end confdefs.h. */
44385 #include <math.h>
44387 main ()
44389 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44391 return 0;
44393 _ACEOF
44394 if ac_fn_cxx_try_compile "$LINENO"; then :
44395 glibcxx_cv_func__long_double_trig_use=yes
44396 else
44397 glibcxx_cv_func__long_double_trig_use=no
44399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44400 ac_ext=c
44401 ac_cpp='$CPP $CPPFLAGS'
44402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44409 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44410 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44411 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44412 do :
44413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44415 eval as_val=\$$as_ac_var
44416 if test "x$as_val" = x""yes; then :
44417 cat >>confdefs.h <<_ACEOF
44418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44419 _ACEOF
44422 done
44431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44432 $as_echo_n "checking for long double round functions... " >&6; }
44433 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44434 $as_echo_n "(cached) " >&6
44435 else
44438 ac_ext=cpp
44439 ac_cpp='$CXXCPP $CPPFLAGS'
44440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44445 /* end confdefs.h. */
44446 #include <math.h>
44448 main ()
44450 ceill (0); floorl (0);
44452 return 0;
44454 _ACEOF
44455 if ac_fn_cxx_try_compile "$LINENO"; then :
44456 glibcxx_cv_func_long_double_round_use=yes
44457 else
44458 glibcxx_cv_func_long_double_round_use=no
44460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44461 ac_ext=c
44462 ac_cpp='$CPP $CPPFLAGS'
44463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44470 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44471 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44472 for ac_func in ceill floorl
44473 do :
44474 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44475 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44476 eval as_val=\$$as_ac_var
44477 if test "x$as_val" = x""yes; then :
44478 cat >>confdefs.h <<_ACEOF
44479 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44480 _ACEOF
44483 done
44485 else
44486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44487 $as_echo_n "checking for _long double round functions... " >&6; }
44488 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44489 $as_echo_n "(cached) " >&6
44490 else
44493 ac_ext=cpp
44494 ac_cpp='$CXXCPP $CPPFLAGS'
44495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44500 /* end confdefs.h. */
44501 #include <math.h>
44503 main ()
44505 _ceill (0); _floorl (0);
44507 return 0;
44509 _ACEOF
44510 if ac_fn_cxx_try_compile "$LINENO"; then :
44511 glibcxx_cv_func__long_double_round_use=yes
44512 else
44513 glibcxx_cv_func__long_double_round_use=no
44515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44516 ac_ext=c
44517 ac_cpp='$CPP $CPPFLAGS'
44518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44525 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44526 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44527 for ac_func in _ceill _floorl
44528 do :
44529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44531 eval as_val=\$$as_ac_var
44532 if test "x$as_val" = x""yes; then :
44533 cat >>confdefs.h <<_ACEOF
44534 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44535 _ACEOF
44538 done
44548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44549 $as_echo_n "checking for isnanl declaration... " >&6; }
44550 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44551 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44552 $as_echo_n "(cached) " >&6
44553 else
44556 ac_ext=cpp
44557 ac_cpp='$CXXCPP $CPPFLAGS'
44558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44563 /* end confdefs.h. */
44564 #include <math.h>
44565 #ifdef HAVE_IEEEFP_H
44566 #include <ieeefp.h>
44567 #endif
44570 main ()
44572 isnanl(0);
44574 return 0;
44576 _ACEOF
44577 if ac_fn_cxx_try_compile "$LINENO"; then :
44578 glibcxx_cv_func_isnanl_use=yes
44579 else
44580 glibcxx_cv_func_isnanl_use=no
44582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44583 ac_ext=c
44584 ac_cpp='$CPP $CPPFLAGS'
44585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44594 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44596 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44597 for ac_func in isnanl
44598 do :
44599 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44600 if test "x$ac_cv_func_isnanl" = x""yes; then :
44601 cat >>confdefs.h <<_ACEOF
44602 #define HAVE_ISNANL 1
44603 _ACEOF
44606 done
44608 else
44610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44611 $as_echo_n "checking for _isnanl declaration... " >&6; }
44612 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44613 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44614 $as_echo_n "(cached) " >&6
44615 else
44618 ac_ext=cpp
44619 ac_cpp='$CXXCPP $CPPFLAGS'
44620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44625 /* end confdefs.h. */
44626 #include <math.h>
44627 #ifdef HAVE_IEEEFP_H
44628 #include <ieeefp.h>
44629 #endif
44632 main ()
44634 _isnanl(0);
44636 return 0;
44638 _ACEOF
44639 if ac_fn_cxx_try_compile "$LINENO"; then :
44640 glibcxx_cv_func__isnanl_use=yes
44641 else
44642 glibcxx_cv_func__isnanl_use=no
44644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44645 ac_ext=c
44646 ac_cpp='$CPP $CPPFLAGS'
44647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44656 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44658 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44659 for ac_func in _isnanl
44660 do :
44661 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44662 if test "x$ac_cv_func__isnanl" = x""yes; then :
44663 cat >>confdefs.h <<_ACEOF
44664 #define HAVE__ISNANL 1
44665 _ACEOF
44668 done
44677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44678 $as_echo_n "checking for isinfl declaration... " >&6; }
44679 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44680 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44681 $as_echo_n "(cached) " >&6
44682 else
44685 ac_ext=cpp
44686 ac_cpp='$CXXCPP $CPPFLAGS'
44687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44692 /* end confdefs.h. */
44693 #include <math.h>
44694 #ifdef HAVE_IEEEFP_H
44695 #include <ieeefp.h>
44696 #endif
44699 main ()
44701 isinfl(0);
44703 return 0;
44705 _ACEOF
44706 if ac_fn_cxx_try_compile "$LINENO"; then :
44707 glibcxx_cv_func_isinfl_use=yes
44708 else
44709 glibcxx_cv_func_isinfl_use=no
44711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44712 ac_ext=c
44713 ac_cpp='$CPP $CPPFLAGS'
44714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44723 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44725 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44726 for ac_func in isinfl
44727 do :
44728 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
44729 if test "x$ac_cv_func_isinfl" = x""yes; then :
44730 cat >>confdefs.h <<_ACEOF
44731 #define HAVE_ISINFL 1
44732 _ACEOF
44735 done
44737 else
44739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
44740 $as_echo_n "checking for _isinfl declaration... " >&6; }
44741 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44742 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
44743 $as_echo_n "(cached) " >&6
44744 else
44747 ac_ext=cpp
44748 ac_cpp='$CXXCPP $CPPFLAGS'
44749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44754 /* end confdefs.h. */
44755 #include <math.h>
44756 #ifdef HAVE_IEEEFP_H
44757 #include <ieeefp.h>
44758 #endif
44761 main ()
44763 _isinfl(0);
44765 return 0;
44767 _ACEOF
44768 if ac_fn_cxx_try_compile "$LINENO"; then :
44769 glibcxx_cv_func__isinfl_use=yes
44770 else
44771 glibcxx_cv_func__isinfl_use=no
44773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44774 ac_ext=c
44775 ac_cpp='$CPP $CPPFLAGS'
44776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
44785 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44787 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44788 for ac_func in _isinfl
44789 do :
44790 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44791 if test "x$ac_cv_func__isinfl" = x""yes; then :
44792 cat >>confdefs.h <<_ACEOF
44793 #define HAVE__ISINFL 1
44794 _ACEOF
44797 done
44806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44807 $as_echo_n "checking for atan2l declaration... " >&6; }
44808 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44809 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44810 $as_echo_n "(cached) " >&6
44811 else
44814 ac_ext=cpp
44815 ac_cpp='$CXXCPP $CPPFLAGS'
44816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44821 /* end confdefs.h. */
44822 #include <math.h>
44824 main ()
44826 atan2l(0, 0);
44828 return 0;
44830 _ACEOF
44831 if ac_fn_cxx_try_compile "$LINENO"; then :
44832 glibcxx_cv_func_atan2l_use=yes
44833 else
44834 glibcxx_cv_func_atan2l_use=no
44836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44837 ac_ext=c
44838 ac_cpp='$CPP $CPPFLAGS'
44839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44848 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44850 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44851 for ac_func in atan2l
44852 do :
44853 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44854 if test "x$ac_cv_func_atan2l" = x""yes; then :
44855 cat >>confdefs.h <<_ACEOF
44856 #define HAVE_ATAN2L 1
44857 _ACEOF
44860 done
44862 else
44864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44865 $as_echo_n "checking for _atan2l declaration... " >&6; }
44866 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44867 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44868 $as_echo_n "(cached) " >&6
44869 else
44872 ac_ext=cpp
44873 ac_cpp='$CXXCPP $CPPFLAGS'
44874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44879 /* end confdefs.h. */
44880 #include <math.h>
44882 main ()
44884 _atan2l(0, 0);
44886 return 0;
44888 _ACEOF
44889 if ac_fn_cxx_try_compile "$LINENO"; then :
44890 glibcxx_cv_func__atan2l_use=yes
44891 else
44892 glibcxx_cv_func__atan2l_use=no
44894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44895 ac_ext=c
44896 ac_cpp='$CPP $CPPFLAGS'
44897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44906 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44908 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44909 for ac_func in _atan2l
44910 do :
44911 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44912 if test "x$ac_cv_func__atan2l" = x""yes; then :
44913 cat >>confdefs.h <<_ACEOF
44914 #define HAVE__ATAN2L 1
44915 _ACEOF
44918 done
44927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44928 $as_echo_n "checking for expl declaration... " >&6; }
44929 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44930 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44931 $as_echo_n "(cached) " >&6
44932 else
44935 ac_ext=cpp
44936 ac_cpp='$CXXCPP $CPPFLAGS'
44937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44942 /* end confdefs.h. */
44943 #include <math.h>
44944 #ifdef HAVE_IEEEFP_H
44945 #include <ieeefp.h>
44946 #endif
44949 main ()
44951 expl(0);
44953 return 0;
44955 _ACEOF
44956 if ac_fn_cxx_try_compile "$LINENO"; then :
44957 glibcxx_cv_func_expl_use=yes
44958 else
44959 glibcxx_cv_func_expl_use=no
44961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44962 ac_ext=c
44963 ac_cpp='$CPP $CPPFLAGS'
44964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44973 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44975 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44976 for ac_func in expl
44977 do :
44978 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44979 if test "x$ac_cv_func_expl" = x""yes; then :
44980 cat >>confdefs.h <<_ACEOF
44981 #define HAVE_EXPL 1
44982 _ACEOF
44985 done
44987 else
44989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44990 $as_echo_n "checking for _expl declaration... " >&6; }
44991 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44992 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44993 $as_echo_n "(cached) " >&6
44994 else
44997 ac_ext=cpp
44998 ac_cpp='$CXXCPP $CPPFLAGS'
44999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45004 /* end confdefs.h. */
45005 #include <math.h>
45006 #ifdef HAVE_IEEEFP_H
45007 #include <ieeefp.h>
45008 #endif
45011 main ()
45013 _expl(0);
45015 return 0;
45017 _ACEOF
45018 if ac_fn_cxx_try_compile "$LINENO"; then :
45019 glibcxx_cv_func__expl_use=yes
45020 else
45021 glibcxx_cv_func__expl_use=no
45023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45024 ac_ext=c
45025 ac_cpp='$CPP $CPPFLAGS'
45026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45035 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45037 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45038 for ac_func in _expl
45039 do :
45040 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45041 if test "x$ac_cv_func__expl" = x""yes; then :
45042 cat >>confdefs.h <<_ACEOF
45043 #define HAVE__EXPL 1
45044 _ACEOF
45047 done
45056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45057 $as_echo_n "checking for fabsl declaration... " >&6; }
45058 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45059 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45060 $as_echo_n "(cached) " >&6
45061 else
45064 ac_ext=cpp
45065 ac_cpp='$CXXCPP $CPPFLAGS'
45066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45071 /* end confdefs.h. */
45072 #include <math.h>
45073 #ifdef HAVE_IEEEFP_H
45074 #include <ieeefp.h>
45075 #endif
45078 main ()
45080 fabsl(0);
45082 return 0;
45084 _ACEOF
45085 if ac_fn_cxx_try_compile "$LINENO"; then :
45086 glibcxx_cv_func_fabsl_use=yes
45087 else
45088 glibcxx_cv_func_fabsl_use=no
45090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45091 ac_ext=c
45092 ac_cpp='$CPP $CPPFLAGS'
45093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45102 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45104 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45105 for ac_func in fabsl
45106 do :
45107 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45108 if test "x$ac_cv_func_fabsl" = x""yes; then :
45109 cat >>confdefs.h <<_ACEOF
45110 #define HAVE_FABSL 1
45111 _ACEOF
45114 done
45116 else
45118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45119 $as_echo_n "checking for _fabsl declaration... " >&6; }
45120 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45121 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45122 $as_echo_n "(cached) " >&6
45123 else
45126 ac_ext=cpp
45127 ac_cpp='$CXXCPP $CPPFLAGS'
45128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45133 /* end confdefs.h. */
45134 #include <math.h>
45135 #ifdef HAVE_IEEEFP_H
45136 #include <ieeefp.h>
45137 #endif
45140 main ()
45142 _fabsl(0);
45144 return 0;
45146 _ACEOF
45147 if ac_fn_cxx_try_compile "$LINENO"; then :
45148 glibcxx_cv_func__fabsl_use=yes
45149 else
45150 glibcxx_cv_func__fabsl_use=no
45152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45153 ac_ext=c
45154 ac_cpp='$CPP $CPPFLAGS'
45155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45164 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45166 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45167 for ac_func in _fabsl
45168 do :
45169 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45170 if test "x$ac_cv_func__fabsl" = x""yes; then :
45171 cat >>confdefs.h <<_ACEOF
45172 #define HAVE__FABSL 1
45173 _ACEOF
45176 done
45185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45186 $as_echo_n "checking for fmodl declaration... " >&6; }
45187 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45188 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45189 $as_echo_n "(cached) " >&6
45190 else
45193 ac_ext=cpp
45194 ac_cpp='$CXXCPP $CPPFLAGS'
45195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45200 /* end confdefs.h. */
45201 #include <math.h>
45203 main ()
45205 fmodl(0, 0);
45207 return 0;
45209 _ACEOF
45210 if ac_fn_cxx_try_compile "$LINENO"; then :
45211 glibcxx_cv_func_fmodl_use=yes
45212 else
45213 glibcxx_cv_func_fmodl_use=no
45215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45216 ac_ext=c
45217 ac_cpp='$CPP $CPPFLAGS'
45218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45227 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45229 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45230 for ac_func in fmodl
45231 do :
45232 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45233 if test "x$ac_cv_func_fmodl" = x""yes; then :
45234 cat >>confdefs.h <<_ACEOF
45235 #define HAVE_FMODL 1
45236 _ACEOF
45239 done
45241 else
45243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45244 $as_echo_n "checking for _fmodl declaration... " >&6; }
45245 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45246 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45247 $as_echo_n "(cached) " >&6
45248 else
45251 ac_ext=cpp
45252 ac_cpp='$CXXCPP $CPPFLAGS'
45253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45258 /* end confdefs.h. */
45259 #include <math.h>
45261 main ()
45263 _fmodl(0, 0);
45265 return 0;
45267 _ACEOF
45268 if ac_fn_cxx_try_compile "$LINENO"; then :
45269 glibcxx_cv_func__fmodl_use=yes
45270 else
45271 glibcxx_cv_func__fmodl_use=no
45273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45274 ac_ext=c
45275 ac_cpp='$CPP $CPPFLAGS'
45276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45285 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45287 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45288 for ac_func in _fmodl
45289 do :
45290 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45291 if test "x$ac_cv_func__fmodl" = x""yes; then :
45292 cat >>confdefs.h <<_ACEOF
45293 #define HAVE__FMODL 1
45294 _ACEOF
45297 done
45306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45307 $as_echo_n "checking for frexpl declaration... " >&6; }
45308 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45309 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45310 $as_echo_n "(cached) " >&6
45311 else
45314 ac_ext=cpp
45315 ac_cpp='$CXXCPP $CPPFLAGS'
45316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45321 /* end confdefs.h. */
45322 #include <math.h>
45324 main ()
45326 frexpl(0, 0);
45328 return 0;
45330 _ACEOF
45331 if ac_fn_cxx_try_compile "$LINENO"; then :
45332 glibcxx_cv_func_frexpl_use=yes
45333 else
45334 glibcxx_cv_func_frexpl_use=no
45336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45337 ac_ext=c
45338 ac_cpp='$CPP $CPPFLAGS'
45339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45348 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45350 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45351 for ac_func in frexpl
45352 do :
45353 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45354 if test "x$ac_cv_func_frexpl" = x""yes; then :
45355 cat >>confdefs.h <<_ACEOF
45356 #define HAVE_FREXPL 1
45357 _ACEOF
45360 done
45362 else
45364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45365 $as_echo_n "checking for _frexpl declaration... " >&6; }
45366 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45367 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45368 $as_echo_n "(cached) " >&6
45369 else
45372 ac_ext=cpp
45373 ac_cpp='$CXXCPP $CPPFLAGS'
45374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45379 /* end confdefs.h. */
45380 #include <math.h>
45382 main ()
45384 _frexpl(0, 0);
45386 return 0;
45388 _ACEOF
45389 if ac_fn_cxx_try_compile "$LINENO"; then :
45390 glibcxx_cv_func__frexpl_use=yes
45391 else
45392 glibcxx_cv_func__frexpl_use=no
45394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45395 ac_ext=c
45396 ac_cpp='$CPP $CPPFLAGS'
45397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45406 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45408 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45409 for ac_func in _frexpl
45410 do :
45411 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45412 if test "x$ac_cv_func__frexpl" = x""yes; then :
45413 cat >>confdefs.h <<_ACEOF
45414 #define HAVE__FREXPL 1
45415 _ACEOF
45418 done
45427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45428 $as_echo_n "checking for hypotl declaration... " >&6; }
45429 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45430 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45431 $as_echo_n "(cached) " >&6
45432 else
45435 ac_ext=cpp
45436 ac_cpp='$CXXCPP $CPPFLAGS'
45437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45442 /* end confdefs.h. */
45443 #include <math.h>
45445 main ()
45447 hypotl(0, 0);
45449 return 0;
45451 _ACEOF
45452 if ac_fn_cxx_try_compile "$LINENO"; then :
45453 glibcxx_cv_func_hypotl_use=yes
45454 else
45455 glibcxx_cv_func_hypotl_use=no
45457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45458 ac_ext=c
45459 ac_cpp='$CPP $CPPFLAGS'
45460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45469 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45471 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45472 for ac_func in hypotl
45473 do :
45474 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45475 if test "x$ac_cv_func_hypotl" = x""yes; then :
45476 cat >>confdefs.h <<_ACEOF
45477 #define HAVE_HYPOTL 1
45478 _ACEOF
45481 done
45483 else
45485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45486 $as_echo_n "checking for _hypotl declaration... " >&6; }
45487 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45488 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45489 $as_echo_n "(cached) " >&6
45490 else
45493 ac_ext=cpp
45494 ac_cpp='$CXXCPP $CPPFLAGS'
45495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45500 /* end confdefs.h. */
45501 #include <math.h>
45503 main ()
45505 _hypotl(0, 0);
45507 return 0;
45509 _ACEOF
45510 if ac_fn_cxx_try_compile "$LINENO"; then :
45511 glibcxx_cv_func__hypotl_use=yes
45512 else
45513 glibcxx_cv_func__hypotl_use=no
45515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45516 ac_ext=c
45517 ac_cpp='$CPP $CPPFLAGS'
45518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45527 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45529 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45530 for ac_func in _hypotl
45531 do :
45532 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45533 if test "x$ac_cv_func__hypotl" = x""yes; then :
45534 cat >>confdefs.h <<_ACEOF
45535 #define HAVE__HYPOTL 1
45536 _ACEOF
45539 done
45548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45549 $as_echo_n "checking for ldexpl declaration... " >&6; }
45550 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45551 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45552 $as_echo_n "(cached) " >&6
45553 else
45556 ac_ext=cpp
45557 ac_cpp='$CXXCPP $CPPFLAGS'
45558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45563 /* end confdefs.h. */
45564 #include <math.h>
45566 main ()
45568 ldexpl(0, 0);
45570 return 0;
45572 _ACEOF
45573 if ac_fn_cxx_try_compile "$LINENO"; then :
45574 glibcxx_cv_func_ldexpl_use=yes
45575 else
45576 glibcxx_cv_func_ldexpl_use=no
45578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45579 ac_ext=c
45580 ac_cpp='$CPP $CPPFLAGS'
45581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45590 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45592 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45593 for ac_func in ldexpl
45594 do :
45595 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45596 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45597 cat >>confdefs.h <<_ACEOF
45598 #define HAVE_LDEXPL 1
45599 _ACEOF
45602 done
45604 else
45606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45607 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45608 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45609 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45610 $as_echo_n "(cached) " >&6
45611 else
45614 ac_ext=cpp
45615 ac_cpp='$CXXCPP $CPPFLAGS'
45616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45621 /* end confdefs.h. */
45622 #include <math.h>
45624 main ()
45626 _ldexpl(0, 0);
45628 return 0;
45630 _ACEOF
45631 if ac_fn_cxx_try_compile "$LINENO"; then :
45632 glibcxx_cv_func__ldexpl_use=yes
45633 else
45634 glibcxx_cv_func__ldexpl_use=no
45636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45637 ac_ext=c
45638 ac_cpp='$CPP $CPPFLAGS'
45639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45648 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45650 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45651 for ac_func in _ldexpl
45652 do :
45653 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45654 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45655 cat >>confdefs.h <<_ACEOF
45656 #define HAVE__LDEXPL 1
45657 _ACEOF
45660 done
45669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45670 $as_echo_n "checking for logl declaration... " >&6; }
45671 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45672 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45673 $as_echo_n "(cached) " >&6
45674 else
45677 ac_ext=cpp
45678 ac_cpp='$CXXCPP $CPPFLAGS'
45679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45684 /* end confdefs.h. */
45685 #include <math.h>
45686 #ifdef HAVE_IEEEFP_H
45687 #include <ieeefp.h>
45688 #endif
45691 main ()
45693 logl(0);
45695 return 0;
45697 _ACEOF
45698 if ac_fn_cxx_try_compile "$LINENO"; then :
45699 glibcxx_cv_func_logl_use=yes
45700 else
45701 glibcxx_cv_func_logl_use=no
45703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45704 ac_ext=c
45705 ac_cpp='$CPP $CPPFLAGS'
45706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
45715 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
45717 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45718 for ac_func in logl
45719 do :
45720 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45721 if test "x$ac_cv_func_logl" = x""yes; then :
45722 cat >>confdefs.h <<_ACEOF
45723 #define HAVE_LOGL 1
45724 _ACEOF
45727 done
45729 else
45731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
45732 $as_echo_n "checking for _logl declaration... " >&6; }
45733 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45734 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
45735 $as_echo_n "(cached) " >&6
45736 else
45739 ac_ext=cpp
45740 ac_cpp='$CXXCPP $CPPFLAGS'
45741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45746 /* end confdefs.h. */
45747 #include <math.h>
45748 #ifdef HAVE_IEEEFP_H
45749 #include <ieeefp.h>
45750 #endif
45753 main ()
45755 _logl(0);
45757 return 0;
45759 _ACEOF
45760 if ac_fn_cxx_try_compile "$LINENO"; then :
45761 glibcxx_cv_func__logl_use=yes
45762 else
45763 glibcxx_cv_func__logl_use=no
45765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45766 ac_ext=c
45767 ac_cpp='$CPP $CPPFLAGS'
45768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45777 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45779 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45780 for ac_func in _logl
45781 do :
45782 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45783 if test "x$ac_cv_func__logl" = x""yes; then :
45784 cat >>confdefs.h <<_ACEOF
45785 #define HAVE__LOGL 1
45786 _ACEOF
45789 done
45798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45799 $as_echo_n "checking for log10l declaration... " >&6; }
45800 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45801 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45802 $as_echo_n "(cached) " >&6
45803 else
45806 ac_ext=cpp
45807 ac_cpp='$CXXCPP $CPPFLAGS'
45808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45813 /* end confdefs.h. */
45814 #include <math.h>
45815 #ifdef HAVE_IEEEFP_H
45816 #include <ieeefp.h>
45817 #endif
45820 main ()
45822 log10l(0);
45824 return 0;
45826 _ACEOF
45827 if ac_fn_cxx_try_compile "$LINENO"; then :
45828 glibcxx_cv_func_log10l_use=yes
45829 else
45830 glibcxx_cv_func_log10l_use=no
45832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45833 ac_ext=c
45834 ac_cpp='$CPP $CPPFLAGS'
45835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45844 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45846 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45847 for ac_func in log10l
45848 do :
45849 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45850 if test "x$ac_cv_func_log10l" = x""yes; then :
45851 cat >>confdefs.h <<_ACEOF
45852 #define HAVE_LOG10L 1
45853 _ACEOF
45856 done
45858 else
45860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45861 $as_echo_n "checking for _log10l declaration... " >&6; }
45862 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45863 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45864 $as_echo_n "(cached) " >&6
45865 else
45868 ac_ext=cpp
45869 ac_cpp='$CXXCPP $CPPFLAGS'
45870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45875 /* end confdefs.h. */
45876 #include <math.h>
45877 #ifdef HAVE_IEEEFP_H
45878 #include <ieeefp.h>
45879 #endif
45882 main ()
45884 _log10l(0);
45886 return 0;
45888 _ACEOF
45889 if ac_fn_cxx_try_compile "$LINENO"; then :
45890 glibcxx_cv_func__log10l_use=yes
45891 else
45892 glibcxx_cv_func__log10l_use=no
45894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45895 ac_ext=c
45896 ac_cpp='$CPP $CPPFLAGS'
45897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45906 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45908 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45909 for ac_func in _log10l
45910 do :
45911 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45912 if test "x$ac_cv_func__log10l" = x""yes; then :
45913 cat >>confdefs.h <<_ACEOF
45914 #define HAVE__LOG10L 1
45915 _ACEOF
45918 done
45927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45928 $as_echo_n "checking for modfl declaration... " >&6; }
45929 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45930 if test "${glibcxx_cv_func_modfl_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 <math.h>
45945 main ()
45947 modfl(0, 0);
45949 return 0;
45951 _ACEOF
45952 if ac_fn_cxx_try_compile "$LINENO"; then :
45953 glibcxx_cv_func_modfl_use=yes
45954 else
45955 glibcxx_cv_func_modfl_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_modfl_use" >&5
45969 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45971 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45972 for ac_func in modfl
45973 do :
45974 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45975 if test "x$ac_cv_func_modfl" = x""yes; then :
45976 cat >>confdefs.h <<_ACEOF
45977 #define HAVE_MODFL 1
45978 _ACEOF
45981 done
45983 else
45985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45986 $as_echo_n "checking for _modfl declaration... " >&6; }
45987 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45988 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45989 $as_echo_n "(cached) " >&6
45990 else
45993 ac_ext=cpp
45994 ac_cpp='$CXXCPP $CPPFLAGS'
45995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46000 /* end confdefs.h. */
46001 #include <math.h>
46003 main ()
46005 _modfl(0, 0);
46007 return 0;
46009 _ACEOF
46010 if ac_fn_cxx_try_compile "$LINENO"; then :
46011 glibcxx_cv_func__modfl_use=yes
46012 else
46013 glibcxx_cv_func__modfl_use=no
46015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46016 ac_ext=c
46017 ac_cpp='$CPP $CPPFLAGS'
46018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46027 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46029 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46030 for ac_func in _modfl
46031 do :
46032 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46033 if test "x$ac_cv_func__modfl" = x""yes; then :
46034 cat >>confdefs.h <<_ACEOF
46035 #define HAVE__MODFL 1
46036 _ACEOF
46039 done
46048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46049 $as_echo_n "checking for powl declaration... " >&6; }
46050 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46051 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46052 $as_echo_n "(cached) " >&6
46053 else
46056 ac_ext=cpp
46057 ac_cpp='$CXXCPP $CPPFLAGS'
46058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46063 /* end confdefs.h. */
46064 #include <math.h>
46066 main ()
46068 powl(0, 0);
46070 return 0;
46072 _ACEOF
46073 if ac_fn_cxx_try_compile "$LINENO"; then :
46074 glibcxx_cv_func_powl_use=yes
46075 else
46076 glibcxx_cv_func_powl_use=no
46078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46079 ac_ext=c
46080 ac_cpp='$CPP $CPPFLAGS'
46081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46090 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46092 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46093 for ac_func in powl
46094 do :
46095 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46096 if test "x$ac_cv_func_powl" = x""yes; then :
46097 cat >>confdefs.h <<_ACEOF
46098 #define HAVE_POWL 1
46099 _ACEOF
46102 done
46104 else
46106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46107 $as_echo_n "checking for _powl declaration... " >&6; }
46108 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46109 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46110 $as_echo_n "(cached) " >&6
46111 else
46114 ac_ext=cpp
46115 ac_cpp='$CXXCPP $CPPFLAGS'
46116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46121 /* end confdefs.h. */
46122 #include <math.h>
46124 main ()
46126 _powl(0, 0);
46128 return 0;
46130 _ACEOF
46131 if ac_fn_cxx_try_compile "$LINENO"; then :
46132 glibcxx_cv_func__powl_use=yes
46133 else
46134 glibcxx_cv_func__powl_use=no
46136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46137 ac_ext=c
46138 ac_cpp='$CPP $CPPFLAGS'
46139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46148 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46150 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46151 for ac_func in _powl
46152 do :
46153 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46154 if test "x$ac_cv_func__powl" = x""yes; then :
46155 cat >>confdefs.h <<_ACEOF
46156 #define HAVE__POWL 1
46157 _ACEOF
46160 done
46169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46170 $as_echo_n "checking for sqrtl declaration... " >&6; }
46171 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46172 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46173 $as_echo_n "(cached) " >&6
46174 else
46177 ac_ext=cpp
46178 ac_cpp='$CXXCPP $CPPFLAGS'
46179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46184 /* end confdefs.h. */
46185 #include <math.h>
46186 #ifdef HAVE_IEEEFP_H
46187 #include <ieeefp.h>
46188 #endif
46191 main ()
46193 sqrtl(0);
46195 return 0;
46197 _ACEOF
46198 if ac_fn_cxx_try_compile "$LINENO"; then :
46199 glibcxx_cv_func_sqrtl_use=yes
46200 else
46201 glibcxx_cv_func_sqrtl_use=no
46203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46204 ac_ext=c
46205 ac_cpp='$CPP $CPPFLAGS'
46206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46215 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46217 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46218 for ac_func in sqrtl
46219 do :
46220 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46221 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46222 cat >>confdefs.h <<_ACEOF
46223 #define HAVE_SQRTL 1
46224 _ACEOF
46227 done
46229 else
46231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46232 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46233 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46234 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46235 $as_echo_n "(cached) " >&6
46236 else
46239 ac_ext=cpp
46240 ac_cpp='$CXXCPP $CPPFLAGS'
46241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46246 /* end confdefs.h. */
46247 #include <math.h>
46248 #ifdef HAVE_IEEEFP_H
46249 #include <ieeefp.h>
46250 #endif
46253 main ()
46255 _sqrtl(0);
46257 return 0;
46259 _ACEOF
46260 if ac_fn_cxx_try_compile "$LINENO"; then :
46261 glibcxx_cv_func__sqrtl_use=yes
46262 else
46263 glibcxx_cv_func__sqrtl_use=no
46265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46266 ac_ext=c
46267 ac_cpp='$CPP $CPPFLAGS'
46268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46277 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46279 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46280 for ac_func in _sqrtl
46281 do :
46282 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46283 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46284 cat >>confdefs.h <<_ACEOF
46285 #define HAVE__SQRTL 1
46286 _ACEOF
46289 done
46298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46299 $as_echo_n "checking for sincosl declaration... " >&6; }
46300 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46301 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46302 $as_echo_n "(cached) " >&6
46303 else
46306 ac_ext=cpp
46307 ac_cpp='$CXXCPP $CPPFLAGS'
46308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46313 /* end confdefs.h. */
46314 #include <math.h>
46316 main ()
46318 sincosl(0, 0, 0);
46320 return 0;
46322 _ACEOF
46323 if ac_fn_cxx_try_compile "$LINENO"; then :
46324 glibcxx_cv_func_sincosl_use=yes
46325 else
46326 glibcxx_cv_func_sincosl_use=no
46328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46329 ac_ext=c
46330 ac_cpp='$CPP $CPPFLAGS'
46331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46340 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46342 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46343 for ac_func in sincosl
46344 do :
46345 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46346 if test "x$ac_cv_func_sincosl" = x""yes; then :
46347 cat >>confdefs.h <<_ACEOF
46348 #define HAVE_SINCOSL 1
46349 _ACEOF
46352 done
46354 else
46356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46357 $as_echo_n "checking for _sincosl declaration... " >&6; }
46358 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46359 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46360 $as_echo_n "(cached) " >&6
46361 else
46364 ac_ext=cpp
46365 ac_cpp='$CXXCPP $CPPFLAGS'
46366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46371 /* end confdefs.h. */
46372 #include <math.h>
46374 main ()
46376 _sincosl(0, 0, 0);
46378 return 0;
46380 _ACEOF
46381 if ac_fn_cxx_try_compile "$LINENO"; then :
46382 glibcxx_cv_func__sincosl_use=yes
46383 else
46384 glibcxx_cv_func__sincosl_use=no
46386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46387 ac_ext=c
46388 ac_cpp='$CPP $CPPFLAGS'
46389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46398 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46400 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46401 for ac_func in _sincosl
46402 do :
46403 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46404 if test "x$ac_cv_func__sincosl" = x""yes; then :
46405 cat >>confdefs.h <<_ACEOF
46406 #define HAVE__SINCOSL 1
46407 _ACEOF
46410 done
46419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46420 $as_echo_n "checking for finitel declaration... " >&6; }
46421 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46422 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46423 $as_echo_n "(cached) " >&6
46424 else
46427 ac_ext=cpp
46428 ac_cpp='$CXXCPP $CPPFLAGS'
46429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46434 /* end confdefs.h. */
46435 #include <math.h>
46436 #ifdef HAVE_IEEEFP_H
46437 #include <ieeefp.h>
46438 #endif
46441 main ()
46443 finitel(0);
46445 return 0;
46447 _ACEOF
46448 if ac_fn_cxx_try_compile "$LINENO"; then :
46449 glibcxx_cv_func_finitel_use=yes
46450 else
46451 glibcxx_cv_func_finitel_use=no
46453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46454 ac_ext=c
46455 ac_cpp='$CPP $CPPFLAGS'
46456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46465 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46467 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46468 for ac_func in finitel
46469 do :
46470 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46471 if test "x$ac_cv_func_finitel" = x""yes; then :
46472 cat >>confdefs.h <<_ACEOF
46473 #define HAVE_FINITEL 1
46474 _ACEOF
46477 done
46479 else
46481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46482 $as_echo_n "checking for _finitel declaration... " >&6; }
46483 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46484 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46485 $as_echo_n "(cached) " >&6
46486 else
46489 ac_ext=cpp
46490 ac_cpp='$CXXCPP $CPPFLAGS'
46491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46496 /* end confdefs.h. */
46497 #include <math.h>
46498 #ifdef HAVE_IEEEFP_H
46499 #include <ieeefp.h>
46500 #endif
46503 main ()
46505 _finitel(0);
46507 return 0;
46509 _ACEOF
46510 if ac_fn_cxx_try_compile "$LINENO"; then :
46511 glibcxx_cv_func__finitel_use=yes
46512 else
46513 glibcxx_cv_func__finitel_use=no
46515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46516 ac_ext=c
46517 ac_cpp='$CPP $CPPFLAGS'
46518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46527 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46529 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46530 for ac_func in _finitel
46531 do :
46532 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46533 if test "x$ac_cv_func__finitel" = x""yes; then :
46534 cat >>confdefs.h <<_ACEOF
46535 #define HAVE__FINITEL 1
46536 _ACEOF
46539 done
46547 LIBS="$ac_save_LIBS"
46548 CXXFLAGS="$ac_save_CXXFLAGS"
46551 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46552 ac_save_CXXFLAGS="$CXXFLAGS"
46553 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46557 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46558 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46559 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46560 $as_echo_n "(cached) " >&6
46561 else
46564 ac_ext=cpp
46565 ac_cpp='$CXXCPP $CPPFLAGS'
46566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46571 /* end confdefs.h. */
46572 #include <stdlib.h>
46574 main ()
46576 at_quick_exit(0);
46578 return 0;
46580 _ACEOF
46581 if ac_fn_cxx_try_compile "$LINENO"; then :
46582 glibcxx_cv_func_at_quick_exit_use=yes
46583 else
46584 glibcxx_cv_func_at_quick_exit_use=no
46586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46587 ac_ext=c
46588 ac_cpp='$CPP $CPPFLAGS'
46589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46598 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46599 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46600 for ac_func in at_quick_exit
46601 do :
46602 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46603 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46604 cat >>confdefs.h <<_ACEOF
46605 #define HAVE_AT_QUICK_EXIT 1
46606 _ACEOF
46609 done
46614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46615 $as_echo_n "checking for quick_exit declaration... " >&6; }
46616 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46617 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46618 $as_echo_n "(cached) " >&6
46619 else
46622 ac_ext=cpp
46623 ac_cpp='$CXXCPP $CPPFLAGS'
46624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46629 /* end confdefs.h. */
46630 #include <stdlib.h>
46632 main ()
46634 quick_exit(0);
46636 return 0;
46638 _ACEOF
46639 if ac_fn_cxx_try_compile "$LINENO"; then :
46640 glibcxx_cv_func_quick_exit_use=yes
46641 else
46642 glibcxx_cv_func_quick_exit_use=no
46644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46645 ac_ext=c
46646 ac_cpp='$CPP $CPPFLAGS'
46647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46656 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46657 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46658 for ac_func in quick_exit
46659 do :
46660 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46661 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46662 cat >>confdefs.h <<_ACEOF
46663 #define HAVE_QUICK_EXIT 1
46664 _ACEOF
46667 done
46672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46673 $as_echo_n "checking for strtold declaration... " >&6; }
46674 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46675 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46676 $as_echo_n "(cached) " >&6
46677 else
46680 ac_ext=cpp
46681 ac_cpp='$CXXCPP $CPPFLAGS'
46682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46687 /* end confdefs.h. */
46688 #include <stdlib.h>
46690 main ()
46692 strtold(0, 0);
46694 return 0;
46696 _ACEOF
46697 if ac_fn_cxx_try_compile "$LINENO"; then :
46698 glibcxx_cv_func_strtold_use=yes
46699 else
46700 glibcxx_cv_func_strtold_use=no
46702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46703 ac_ext=c
46704 ac_cpp='$CPP $CPPFLAGS'
46705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
46714 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
46715 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46716 for ac_func in strtold
46717 do :
46718 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46719 if test "x$ac_cv_func_strtold" = x""yes; then :
46720 cat >>confdefs.h <<_ACEOF
46721 #define HAVE_STRTOLD 1
46722 _ACEOF
46725 done
46732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
46733 $as_echo_n "checking for strtof declaration... " >&6; }
46734 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46735 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
46736 $as_echo_n "(cached) " >&6
46737 else
46740 ac_ext=cpp
46741 ac_cpp='$CXXCPP $CPPFLAGS'
46742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46747 /* end confdefs.h. */
46748 #include <stdlib.h>
46750 main ()
46752 strtof(0, 0);
46754 return 0;
46756 _ACEOF
46757 if ac_fn_cxx_try_compile "$LINENO"; then :
46758 glibcxx_cv_func_strtof_use=yes
46759 else
46760 glibcxx_cv_func_strtof_use=no
46762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46763 ac_ext=c
46764 ac_cpp='$CPP $CPPFLAGS'
46765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46774 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46775 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46776 for ac_func in strtof
46777 do :
46778 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46779 if test "x$ac_cv_func_strtof" = x""yes; then :
46780 cat >>confdefs.h <<_ACEOF
46781 #define HAVE_STRTOF 1
46782 _ACEOF
46785 done
46792 CXXFLAGS="$ac_save_CXXFLAGS"
46794 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46796 # We don't yet support AIX's TLS ABI.
46797 #GCC_CHECK_TLS
46803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46804 $as_echo_n "checking for iconv... " >&6; }
46805 if test "${am_cv_func_iconv+set}" = set; then :
46806 $as_echo_n "(cached) " >&6
46807 else
46809 am_cv_func_iconv="no, consider installing GNU libiconv"
46810 am_cv_lib_iconv=no
46811 am_save_CPPFLAGS="$CPPFLAGS"
46812 CPPFLAGS="$CPPFLAGS $INCICONV"
46813 if test x$gcc_no_link = xyes; then
46814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46817 /* end confdefs.h. */
46818 #include <stdlib.h>
46819 #include <iconv.h>
46821 main ()
46823 iconv_t cd = iconv_open("","");
46824 iconv(cd,NULL,NULL,NULL,NULL);
46825 iconv_close(cd);
46827 return 0;
46829 _ACEOF
46830 if ac_fn_c_try_link "$LINENO"; then :
46831 am_cv_func_iconv=yes
46833 rm -f core conftest.err conftest.$ac_objext \
46834 conftest$ac_exeext conftest.$ac_ext
46835 CPPFLAGS="$am_save_CPPFLAGS"
46837 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46838 for _libs in .libs _libs; do
46839 am_save_CPPFLAGS="$CPPFLAGS"
46840 am_save_LIBS="$LIBS"
46841 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46842 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46843 if test x$gcc_no_link = xyes; then
46844 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46847 /* end confdefs.h. */
46848 #include <stdlib.h>
46849 #include <iconv.h>
46851 main ()
46853 iconv_t cd = iconv_open("","");
46854 iconv(cd,NULL,NULL,NULL,NULL);
46855 iconv_close(cd);
46857 return 0;
46859 _ACEOF
46860 if ac_fn_c_try_link "$LINENO"; then :
46861 INCICONV="-I../libiconv/include"
46862 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
46863 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
46864 am_cv_lib_iconv=yes
46865 am_cv_func_iconv=yes
46867 rm -f core conftest.err conftest.$ac_objext \
46868 conftest$ac_exeext conftest.$ac_ext
46869 CPPFLAGS="$am_save_CPPFLAGS"
46870 LIBS="$am_save_LIBS"
46871 if test "$am_cv_func_iconv" = "yes"; then
46872 break
46874 done
46877 if test "$am_cv_func_iconv" != yes; then
46878 am_save_CPPFLAGS="$CPPFLAGS"
46879 am_save_LIBS="$LIBS"
46880 CPPFLAGS="$LIBS $INCICONV"
46881 LIBS="$LIBS $LIBICONV"
46882 if test x$gcc_no_link = xyes; then
46883 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46886 /* end confdefs.h. */
46887 #include <stdlib.h>
46888 #include <iconv.h>
46890 main ()
46892 iconv_t cd = iconv_open("","");
46893 iconv(cd,NULL,NULL,NULL,NULL);
46894 iconv_close(cd);
46896 return 0;
46898 _ACEOF
46899 if ac_fn_c_try_link "$LINENO"; then :
46900 am_cv_lib_iconv=yes
46901 am_cv_func_iconv=yes
46903 rm -f core conftest.err conftest.$ac_objext \
46904 conftest$ac_exeext conftest.$ac_ext
46905 CPPFLAGS="$am_save_CPPFLAGS"
46906 LIBS="$am_save_LIBS"
46910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46911 $as_echo "$am_cv_func_iconv" >&6; }
46912 if test "$am_cv_func_iconv" = yes; then
46914 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46917 if test "$am_cv_lib_iconv" = yes; then
46919 for element in $INCICONV; do
46920 haveit=
46921 for x in $CPPFLAGS; do
46923 acl_save_prefix="$prefix"
46924 prefix="$acl_final_prefix"
46925 acl_save_exec_prefix="$exec_prefix"
46926 exec_prefix="$acl_final_exec_prefix"
46927 eval x=\"$x\"
46928 exec_prefix="$acl_save_exec_prefix"
46929 prefix="$acl_save_prefix"
46931 if test "X$x" = "X$element"; then
46932 haveit=yes
46933 break
46935 done
46936 if test -z "$haveit"; then
46937 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
46939 done
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46942 $as_echo_n "checking how to link with libiconv... " >&6; }
46943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46944 $as_echo "$LIBICONV" >&6; }
46945 else
46946 LIBICONV=
46947 LTLIBICONV=
46952 if test "$am_cv_func_iconv" = yes; then
46953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46954 $as_echo_n "checking for iconv declaration... " >&6; }
46955 if test "${am_cv_proto_iconv+set}" = set; then :
46956 $as_echo_n "(cached) " >&6
46957 else
46959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46960 /* end confdefs.h. */
46962 #include <stdlib.h>
46963 #include <iconv.h>
46964 extern
46965 #ifdef __cplusplus
46967 #endif
46968 #if defined(__STDC__) || defined(__cplusplus)
46969 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46970 #else
46971 size_t iconv();
46972 #endif
46975 main ()
46979 return 0;
46981 _ACEOF
46982 if ac_fn_c_try_compile "$LINENO"; then :
46983 am_cv_proto_iconv_arg1=""
46984 else
46985 am_cv_proto_iconv_arg1="const"
46987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46988 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);"
46991 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46993 }$am_cv_proto_iconv" >&5
46994 $as_echo "${ac_t:-
46995 }$am_cv_proto_iconv" >&6; }
46997 cat >>confdefs.h <<_ACEOF
46998 #define ICONV_CONST $am_cv_proto_iconv_arg1
46999 _ACEOF
47005 *-darwin*)
47006 # Darwin versions vary, but the linker should work in a cross environment,
47007 # so we just check for all the features here.
47008 # Check for available headers.
47010 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47012 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47013 ac_save_CXXFLAGS="$CXXFLAGS"
47014 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47017 $as_echo_n "checking for sin in -lm... " >&6; }
47018 if test "${ac_cv_lib_m_sin+set}" = set; then :
47019 $as_echo_n "(cached) " >&6
47020 else
47021 ac_check_lib_save_LIBS=$LIBS
47022 LIBS="-lm $LIBS"
47023 if test x$gcc_no_link = xyes; then
47024 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47027 /* end confdefs.h. */
47029 /* Override any GCC internal prototype to avoid an error.
47030 Use char because int might match the return type of a GCC
47031 builtin and then its argument prototype would still apply. */
47032 #ifdef __cplusplus
47033 extern "C"
47034 #endif
47035 char sin ();
47037 main ()
47039 return sin ();
47041 return 0;
47043 _ACEOF
47044 if ac_fn_c_try_link "$LINENO"; then :
47045 ac_cv_lib_m_sin=yes
47046 else
47047 ac_cv_lib_m_sin=no
47049 rm -f core conftest.err conftest.$ac_objext \
47050 conftest$ac_exeext conftest.$ac_ext
47051 LIBS=$ac_check_lib_save_LIBS
47053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47054 $as_echo "$ac_cv_lib_m_sin" >&6; }
47055 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47056 libm="-lm"
47059 ac_save_LIBS="$LIBS"
47060 LIBS="$LIBS $libm"
47064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47065 $as_echo_n "checking for isinf declaration... " >&6; }
47066 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47067 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47068 $as_echo_n "(cached) " >&6
47069 else
47072 ac_ext=cpp
47073 ac_cpp='$CXXCPP $CPPFLAGS'
47074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47079 /* end confdefs.h. */
47080 #include <math.h>
47081 #ifdef HAVE_IEEEFP_H
47082 #include <ieeefp.h>
47083 #endif
47086 main ()
47088 isinf(0);
47090 return 0;
47092 _ACEOF
47093 if ac_fn_cxx_try_compile "$LINENO"; then :
47094 glibcxx_cv_func_isinf_use=yes
47095 else
47096 glibcxx_cv_func_isinf_use=no
47098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47099 ac_ext=c
47100 ac_cpp='$CPP $CPPFLAGS'
47101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47110 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47112 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47113 for ac_func in isinf
47114 do :
47115 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47116 if test "x$ac_cv_func_isinf" = x""yes; then :
47117 cat >>confdefs.h <<_ACEOF
47118 #define HAVE_ISINF 1
47119 _ACEOF
47122 done
47124 else
47126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47127 $as_echo_n "checking for _isinf declaration... " >&6; }
47128 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47129 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47130 $as_echo_n "(cached) " >&6
47131 else
47134 ac_ext=cpp
47135 ac_cpp='$CXXCPP $CPPFLAGS'
47136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47141 /* end confdefs.h. */
47142 #include <math.h>
47143 #ifdef HAVE_IEEEFP_H
47144 #include <ieeefp.h>
47145 #endif
47148 main ()
47150 _isinf(0);
47152 return 0;
47154 _ACEOF
47155 if ac_fn_cxx_try_compile "$LINENO"; then :
47156 glibcxx_cv_func__isinf_use=yes
47157 else
47158 glibcxx_cv_func__isinf_use=no
47160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47161 ac_ext=c
47162 ac_cpp='$CPP $CPPFLAGS'
47163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47172 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47174 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47175 for ac_func in _isinf
47176 do :
47177 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47178 if test "x$ac_cv_func__isinf" = x""yes; then :
47179 cat >>confdefs.h <<_ACEOF
47180 #define HAVE__ISINF 1
47181 _ACEOF
47184 done
47193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47194 $as_echo_n "checking for isnan declaration... " >&6; }
47195 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47196 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47197 $as_echo_n "(cached) " >&6
47198 else
47201 ac_ext=cpp
47202 ac_cpp='$CXXCPP $CPPFLAGS'
47203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47208 /* end confdefs.h. */
47209 #include <math.h>
47210 #ifdef HAVE_IEEEFP_H
47211 #include <ieeefp.h>
47212 #endif
47215 main ()
47217 isnan(0);
47219 return 0;
47221 _ACEOF
47222 if ac_fn_cxx_try_compile "$LINENO"; then :
47223 glibcxx_cv_func_isnan_use=yes
47224 else
47225 glibcxx_cv_func_isnan_use=no
47227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47228 ac_ext=c
47229 ac_cpp='$CPP $CPPFLAGS'
47230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47239 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47241 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47242 for ac_func in isnan
47243 do :
47244 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47245 if test "x$ac_cv_func_isnan" = x""yes; then :
47246 cat >>confdefs.h <<_ACEOF
47247 #define HAVE_ISNAN 1
47248 _ACEOF
47251 done
47253 else
47255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47256 $as_echo_n "checking for _isnan declaration... " >&6; }
47257 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47258 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47259 $as_echo_n "(cached) " >&6
47260 else
47263 ac_ext=cpp
47264 ac_cpp='$CXXCPP $CPPFLAGS'
47265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47270 /* end confdefs.h. */
47271 #include <math.h>
47272 #ifdef HAVE_IEEEFP_H
47273 #include <ieeefp.h>
47274 #endif
47277 main ()
47279 _isnan(0);
47281 return 0;
47283 _ACEOF
47284 if ac_fn_cxx_try_compile "$LINENO"; then :
47285 glibcxx_cv_func__isnan_use=yes
47286 else
47287 glibcxx_cv_func__isnan_use=no
47289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47290 ac_ext=c
47291 ac_cpp='$CPP $CPPFLAGS'
47292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47301 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47303 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47304 for ac_func in _isnan
47305 do :
47306 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47307 if test "x$ac_cv_func__isnan" = x""yes; then :
47308 cat >>confdefs.h <<_ACEOF
47309 #define HAVE__ISNAN 1
47310 _ACEOF
47313 done
47322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47323 $as_echo_n "checking for finite declaration... " >&6; }
47324 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47325 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47326 $as_echo_n "(cached) " >&6
47327 else
47330 ac_ext=cpp
47331 ac_cpp='$CXXCPP $CPPFLAGS'
47332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47337 /* end confdefs.h. */
47338 #include <math.h>
47339 #ifdef HAVE_IEEEFP_H
47340 #include <ieeefp.h>
47341 #endif
47344 main ()
47346 finite(0);
47348 return 0;
47350 _ACEOF
47351 if ac_fn_cxx_try_compile "$LINENO"; then :
47352 glibcxx_cv_func_finite_use=yes
47353 else
47354 glibcxx_cv_func_finite_use=no
47356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47357 ac_ext=c
47358 ac_cpp='$CPP $CPPFLAGS'
47359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47368 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47370 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47371 for ac_func in finite
47372 do :
47373 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47374 if test "x$ac_cv_func_finite" = x""yes; then :
47375 cat >>confdefs.h <<_ACEOF
47376 #define HAVE_FINITE 1
47377 _ACEOF
47380 done
47382 else
47384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47385 $as_echo_n "checking for _finite declaration... " >&6; }
47386 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47387 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47388 $as_echo_n "(cached) " >&6
47389 else
47392 ac_ext=cpp
47393 ac_cpp='$CXXCPP $CPPFLAGS'
47394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47399 /* end confdefs.h. */
47400 #include <math.h>
47401 #ifdef HAVE_IEEEFP_H
47402 #include <ieeefp.h>
47403 #endif
47406 main ()
47408 _finite(0);
47410 return 0;
47412 _ACEOF
47413 if ac_fn_cxx_try_compile "$LINENO"; then :
47414 glibcxx_cv_func__finite_use=yes
47415 else
47416 glibcxx_cv_func__finite_use=no
47418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47419 ac_ext=c
47420 ac_cpp='$CPP $CPPFLAGS'
47421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47430 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47432 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47433 for ac_func in _finite
47434 do :
47435 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47436 if test "x$ac_cv_func__finite" = x""yes; then :
47437 cat >>confdefs.h <<_ACEOF
47438 #define HAVE__FINITE 1
47439 _ACEOF
47442 done
47451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47452 $as_echo_n "checking for sincos declaration... " >&6; }
47453 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47454 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47455 $as_echo_n "(cached) " >&6
47456 else
47459 ac_ext=cpp
47460 ac_cpp='$CXXCPP $CPPFLAGS'
47461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47466 /* end confdefs.h. */
47467 #include <math.h>
47469 main ()
47471 sincos(0, 0, 0);
47473 return 0;
47475 _ACEOF
47476 if ac_fn_cxx_try_compile "$LINENO"; then :
47477 glibcxx_cv_func_sincos_use=yes
47478 else
47479 glibcxx_cv_func_sincos_use=no
47481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47482 ac_ext=c
47483 ac_cpp='$CPP $CPPFLAGS'
47484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47493 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47495 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47496 for ac_func in sincos
47497 do :
47498 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47499 if test "x$ac_cv_func_sincos" = x""yes; then :
47500 cat >>confdefs.h <<_ACEOF
47501 #define HAVE_SINCOS 1
47502 _ACEOF
47505 done
47507 else
47509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47510 $as_echo_n "checking for _sincos declaration... " >&6; }
47511 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47512 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47513 $as_echo_n "(cached) " >&6
47514 else
47517 ac_ext=cpp
47518 ac_cpp='$CXXCPP $CPPFLAGS'
47519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47524 /* end confdefs.h. */
47525 #include <math.h>
47527 main ()
47529 _sincos(0, 0, 0);
47531 return 0;
47533 _ACEOF
47534 if ac_fn_cxx_try_compile "$LINENO"; then :
47535 glibcxx_cv_func__sincos_use=yes
47536 else
47537 glibcxx_cv_func__sincos_use=no
47539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47540 ac_ext=c
47541 ac_cpp='$CPP $CPPFLAGS'
47542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47551 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47553 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47554 for ac_func in _sincos
47555 do :
47556 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47557 if test "x$ac_cv_func__sincos" = x""yes; then :
47558 cat >>confdefs.h <<_ACEOF
47559 #define HAVE__SINCOS 1
47560 _ACEOF
47563 done
47572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47573 $as_echo_n "checking for fpclass declaration... " >&6; }
47574 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47575 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47576 $as_echo_n "(cached) " >&6
47577 else
47580 ac_ext=cpp
47581 ac_cpp='$CXXCPP $CPPFLAGS'
47582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47587 /* end confdefs.h. */
47588 #include <math.h>
47589 #ifdef HAVE_IEEEFP_H
47590 #include <ieeefp.h>
47591 #endif
47594 main ()
47596 fpclass(0);
47598 return 0;
47600 _ACEOF
47601 if ac_fn_cxx_try_compile "$LINENO"; then :
47602 glibcxx_cv_func_fpclass_use=yes
47603 else
47604 glibcxx_cv_func_fpclass_use=no
47606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47607 ac_ext=c
47608 ac_cpp='$CPP $CPPFLAGS'
47609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47618 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47620 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47621 for ac_func in fpclass
47622 do :
47623 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47624 if test "x$ac_cv_func_fpclass" = x""yes; then :
47625 cat >>confdefs.h <<_ACEOF
47626 #define HAVE_FPCLASS 1
47627 _ACEOF
47630 done
47632 else
47634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47635 $as_echo_n "checking for _fpclass declaration... " >&6; }
47636 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47637 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47638 $as_echo_n "(cached) " >&6
47639 else
47642 ac_ext=cpp
47643 ac_cpp='$CXXCPP $CPPFLAGS'
47644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47649 /* end confdefs.h. */
47650 #include <math.h>
47651 #ifdef HAVE_IEEEFP_H
47652 #include <ieeefp.h>
47653 #endif
47656 main ()
47658 _fpclass(0);
47660 return 0;
47662 _ACEOF
47663 if ac_fn_cxx_try_compile "$LINENO"; then :
47664 glibcxx_cv_func__fpclass_use=yes
47665 else
47666 glibcxx_cv_func__fpclass_use=no
47668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47669 ac_ext=c
47670 ac_cpp='$CPP $CPPFLAGS'
47671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47680 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47682 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47683 for ac_func in _fpclass
47684 do :
47685 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47686 if test "x$ac_cv_func__fpclass" = x""yes; then :
47687 cat >>confdefs.h <<_ACEOF
47688 #define HAVE__FPCLASS 1
47689 _ACEOF
47692 done
47701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47702 $as_echo_n "checking for qfpclass declaration... " >&6; }
47703 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47704 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47705 $as_echo_n "(cached) " >&6
47706 else
47709 ac_ext=cpp
47710 ac_cpp='$CXXCPP $CPPFLAGS'
47711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47716 /* end confdefs.h. */
47717 #include <math.h>
47718 #ifdef HAVE_IEEEFP_H
47719 #include <ieeefp.h>
47720 #endif
47723 main ()
47725 qfpclass(0);
47727 return 0;
47729 _ACEOF
47730 if ac_fn_cxx_try_compile "$LINENO"; then :
47731 glibcxx_cv_func_qfpclass_use=yes
47732 else
47733 glibcxx_cv_func_qfpclass_use=no
47735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47736 ac_ext=c
47737 ac_cpp='$CPP $CPPFLAGS'
47738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47747 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47749 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47750 for ac_func in qfpclass
47751 do :
47752 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47753 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47754 cat >>confdefs.h <<_ACEOF
47755 #define HAVE_QFPCLASS 1
47756 _ACEOF
47759 done
47761 else
47763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47764 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47765 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47766 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47767 $as_echo_n "(cached) " >&6
47768 else
47771 ac_ext=cpp
47772 ac_cpp='$CXXCPP $CPPFLAGS'
47773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47778 /* end confdefs.h. */
47779 #include <math.h>
47780 #ifdef HAVE_IEEEFP_H
47781 #include <ieeefp.h>
47782 #endif
47785 main ()
47787 _qfpclass(0);
47789 return 0;
47791 _ACEOF
47792 if ac_fn_cxx_try_compile "$LINENO"; then :
47793 glibcxx_cv_func__qfpclass_use=yes
47794 else
47795 glibcxx_cv_func__qfpclass_use=no
47797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47798 ac_ext=c
47799 ac_cpp='$CPP $CPPFLAGS'
47800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47809 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47811 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47812 for ac_func in _qfpclass
47813 do :
47814 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47815 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47816 cat >>confdefs.h <<_ACEOF
47817 #define HAVE__QFPCLASS 1
47818 _ACEOF
47821 done
47830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47831 $as_echo_n "checking for hypot declaration... " >&6; }
47832 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47833 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47834 $as_echo_n "(cached) " >&6
47835 else
47838 ac_ext=cpp
47839 ac_cpp='$CXXCPP $CPPFLAGS'
47840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47845 /* end confdefs.h. */
47846 #include <math.h>
47848 main ()
47850 hypot(0, 0);
47852 return 0;
47854 _ACEOF
47855 if ac_fn_cxx_try_compile "$LINENO"; then :
47856 glibcxx_cv_func_hypot_use=yes
47857 else
47858 glibcxx_cv_func_hypot_use=no
47860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47861 ac_ext=c
47862 ac_cpp='$CPP $CPPFLAGS'
47863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47872 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47874 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47875 for ac_func in hypot
47876 do :
47877 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47878 if test "x$ac_cv_func_hypot" = x""yes; then :
47879 cat >>confdefs.h <<_ACEOF
47880 #define HAVE_HYPOT 1
47881 _ACEOF
47884 done
47886 else
47888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47889 $as_echo_n "checking for _hypot declaration... " >&6; }
47890 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47891 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47892 $as_echo_n "(cached) " >&6
47893 else
47896 ac_ext=cpp
47897 ac_cpp='$CXXCPP $CPPFLAGS'
47898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47903 /* end confdefs.h. */
47904 #include <math.h>
47906 main ()
47908 _hypot(0, 0);
47910 return 0;
47912 _ACEOF
47913 if ac_fn_cxx_try_compile "$LINENO"; then :
47914 glibcxx_cv_func__hypot_use=yes
47915 else
47916 glibcxx_cv_func__hypot_use=no
47918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47919 ac_ext=c
47920 ac_cpp='$CPP $CPPFLAGS'
47921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47930 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47932 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47933 for ac_func in _hypot
47934 do :
47935 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47936 if test "x$ac_cv_func__hypot" = x""yes; then :
47937 cat >>confdefs.h <<_ACEOF
47938 #define HAVE__HYPOT 1
47939 _ACEOF
47942 done
47951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47952 $as_echo_n "checking for float trig functions... " >&6; }
47953 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47954 $as_echo_n "(cached) " >&6
47955 else
47958 ac_ext=cpp
47959 ac_cpp='$CXXCPP $CPPFLAGS'
47960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47965 /* end confdefs.h. */
47966 #include <math.h>
47968 main ()
47970 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47972 return 0;
47974 _ACEOF
47975 if ac_fn_cxx_try_compile "$LINENO"; then :
47976 glibcxx_cv_func_float_trig_use=yes
47977 else
47978 glibcxx_cv_func_float_trig_use=no
47980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47981 ac_ext=c
47982 ac_cpp='$CPP $CPPFLAGS'
47983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47990 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47991 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47992 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47993 do :
47994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47996 eval as_val=\$$as_ac_var
47997 if test "x$as_val" = x""yes; then :
47998 cat >>confdefs.h <<_ACEOF
47999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48000 _ACEOF
48003 done
48005 else
48006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48007 $as_echo_n "checking for _float trig functions... " >&6; }
48008 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48009 $as_echo_n "(cached) " >&6
48010 else
48013 ac_ext=cpp
48014 ac_cpp='$CXXCPP $CPPFLAGS'
48015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48020 /* end confdefs.h. */
48021 #include <math.h>
48023 main ()
48025 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48027 return 0;
48029 _ACEOF
48030 if ac_fn_cxx_try_compile "$LINENO"; then :
48031 glibcxx_cv_func__float_trig_use=yes
48032 else
48033 glibcxx_cv_func__float_trig_use=no
48035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48036 ac_ext=c
48037 ac_cpp='$CPP $CPPFLAGS'
48038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48045 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48046 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48047 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48048 do :
48049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48051 eval as_val=\$$as_ac_var
48052 if test "x$as_val" = x""yes; then :
48053 cat >>confdefs.h <<_ACEOF
48054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48055 _ACEOF
48058 done
48067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48068 $as_echo_n "checking for float round functions... " >&6; }
48069 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48070 $as_echo_n "(cached) " >&6
48071 else
48074 ac_ext=cpp
48075 ac_cpp='$CXXCPP $CPPFLAGS'
48076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48081 /* end confdefs.h. */
48082 #include <math.h>
48084 main ()
48086 ceilf (0); floorf (0);
48088 return 0;
48090 _ACEOF
48091 if ac_fn_cxx_try_compile "$LINENO"; then :
48092 glibcxx_cv_func_float_round_use=yes
48093 else
48094 glibcxx_cv_func_float_round_use=no
48096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48097 ac_ext=c
48098 ac_cpp='$CPP $CPPFLAGS'
48099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48106 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48107 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48108 for ac_func in ceilf floorf
48109 do :
48110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48112 eval as_val=\$$as_ac_var
48113 if test "x$as_val" = x""yes; then :
48114 cat >>confdefs.h <<_ACEOF
48115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48116 _ACEOF
48119 done
48121 else
48122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48123 $as_echo_n "checking for _float round functions... " >&6; }
48124 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48125 $as_echo_n "(cached) " >&6
48126 else
48129 ac_ext=cpp
48130 ac_cpp='$CXXCPP $CPPFLAGS'
48131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48136 /* end confdefs.h. */
48137 #include <math.h>
48139 main ()
48141 _ceilf (0); _floorf (0);
48143 return 0;
48145 _ACEOF
48146 if ac_fn_cxx_try_compile "$LINENO"; then :
48147 glibcxx_cv_func__float_round_use=yes
48148 else
48149 glibcxx_cv_func__float_round_use=no
48151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48152 ac_ext=c
48153 ac_cpp='$CPP $CPPFLAGS'
48154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48161 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48162 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48163 for ac_func in _ceilf _floorf
48164 do :
48165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48167 eval as_val=\$$as_ac_var
48168 if test "x$as_val" = x""yes; then :
48169 cat >>confdefs.h <<_ACEOF
48170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48171 _ACEOF
48174 done
48184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48185 $as_echo_n "checking for expf declaration... " >&6; }
48186 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48187 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48188 $as_echo_n "(cached) " >&6
48189 else
48192 ac_ext=cpp
48193 ac_cpp='$CXXCPP $CPPFLAGS'
48194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48199 /* end confdefs.h. */
48200 #include <math.h>
48201 #ifdef HAVE_IEEEFP_H
48202 #include <ieeefp.h>
48203 #endif
48206 main ()
48208 expf(0);
48210 return 0;
48212 _ACEOF
48213 if ac_fn_cxx_try_compile "$LINENO"; then :
48214 glibcxx_cv_func_expf_use=yes
48215 else
48216 glibcxx_cv_func_expf_use=no
48218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48219 ac_ext=c
48220 ac_cpp='$CPP $CPPFLAGS'
48221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48230 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48232 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48233 for ac_func in expf
48234 do :
48235 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48236 if test "x$ac_cv_func_expf" = x""yes; then :
48237 cat >>confdefs.h <<_ACEOF
48238 #define HAVE_EXPF 1
48239 _ACEOF
48242 done
48244 else
48246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48247 $as_echo_n "checking for _expf declaration... " >&6; }
48248 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48249 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48250 $as_echo_n "(cached) " >&6
48251 else
48254 ac_ext=cpp
48255 ac_cpp='$CXXCPP $CPPFLAGS'
48256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48261 /* end confdefs.h. */
48262 #include <math.h>
48263 #ifdef HAVE_IEEEFP_H
48264 #include <ieeefp.h>
48265 #endif
48268 main ()
48270 _expf(0);
48272 return 0;
48274 _ACEOF
48275 if ac_fn_cxx_try_compile "$LINENO"; then :
48276 glibcxx_cv_func__expf_use=yes
48277 else
48278 glibcxx_cv_func__expf_use=no
48280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48281 ac_ext=c
48282 ac_cpp='$CPP $CPPFLAGS'
48283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48292 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48294 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48295 for ac_func in _expf
48296 do :
48297 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48298 if test "x$ac_cv_func__expf" = x""yes; then :
48299 cat >>confdefs.h <<_ACEOF
48300 #define HAVE__EXPF 1
48301 _ACEOF
48304 done
48313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48314 $as_echo_n "checking for isnanf declaration... " >&6; }
48315 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48316 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48317 $as_echo_n "(cached) " >&6
48318 else
48321 ac_ext=cpp
48322 ac_cpp='$CXXCPP $CPPFLAGS'
48323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48328 /* end confdefs.h. */
48329 #include <math.h>
48330 #ifdef HAVE_IEEEFP_H
48331 #include <ieeefp.h>
48332 #endif
48335 main ()
48337 isnanf(0);
48339 return 0;
48341 _ACEOF
48342 if ac_fn_cxx_try_compile "$LINENO"; then :
48343 glibcxx_cv_func_isnanf_use=yes
48344 else
48345 glibcxx_cv_func_isnanf_use=no
48347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48348 ac_ext=c
48349 ac_cpp='$CPP $CPPFLAGS'
48350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48359 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48361 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48362 for ac_func in isnanf
48363 do :
48364 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48365 if test "x$ac_cv_func_isnanf" = x""yes; then :
48366 cat >>confdefs.h <<_ACEOF
48367 #define HAVE_ISNANF 1
48368 _ACEOF
48371 done
48373 else
48375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48376 $as_echo_n "checking for _isnanf declaration... " >&6; }
48377 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48378 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48379 $as_echo_n "(cached) " >&6
48380 else
48383 ac_ext=cpp
48384 ac_cpp='$CXXCPP $CPPFLAGS'
48385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48390 /* end confdefs.h. */
48391 #include <math.h>
48392 #ifdef HAVE_IEEEFP_H
48393 #include <ieeefp.h>
48394 #endif
48397 main ()
48399 _isnanf(0);
48401 return 0;
48403 _ACEOF
48404 if ac_fn_cxx_try_compile "$LINENO"; then :
48405 glibcxx_cv_func__isnanf_use=yes
48406 else
48407 glibcxx_cv_func__isnanf_use=no
48409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48410 ac_ext=c
48411 ac_cpp='$CPP $CPPFLAGS'
48412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48421 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48423 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48424 for ac_func in _isnanf
48425 do :
48426 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48427 if test "x$ac_cv_func__isnanf" = x""yes; then :
48428 cat >>confdefs.h <<_ACEOF
48429 #define HAVE__ISNANF 1
48430 _ACEOF
48433 done
48442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48443 $as_echo_n "checking for isinff declaration... " >&6; }
48444 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48445 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48446 $as_echo_n "(cached) " >&6
48447 else
48450 ac_ext=cpp
48451 ac_cpp='$CXXCPP $CPPFLAGS'
48452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48457 /* end confdefs.h. */
48458 #include <math.h>
48459 #ifdef HAVE_IEEEFP_H
48460 #include <ieeefp.h>
48461 #endif
48464 main ()
48466 isinff(0);
48468 return 0;
48470 _ACEOF
48471 if ac_fn_cxx_try_compile "$LINENO"; then :
48472 glibcxx_cv_func_isinff_use=yes
48473 else
48474 glibcxx_cv_func_isinff_use=no
48476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48477 ac_ext=c
48478 ac_cpp='$CPP $CPPFLAGS'
48479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48488 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48490 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48491 for ac_func in isinff
48492 do :
48493 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48494 if test "x$ac_cv_func_isinff" = x""yes; then :
48495 cat >>confdefs.h <<_ACEOF
48496 #define HAVE_ISINFF 1
48497 _ACEOF
48500 done
48502 else
48504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48505 $as_echo_n "checking for _isinff declaration... " >&6; }
48506 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48507 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48508 $as_echo_n "(cached) " >&6
48509 else
48512 ac_ext=cpp
48513 ac_cpp='$CXXCPP $CPPFLAGS'
48514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48519 /* end confdefs.h. */
48520 #include <math.h>
48521 #ifdef HAVE_IEEEFP_H
48522 #include <ieeefp.h>
48523 #endif
48526 main ()
48528 _isinff(0);
48530 return 0;
48532 _ACEOF
48533 if ac_fn_cxx_try_compile "$LINENO"; then :
48534 glibcxx_cv_func__isinff_use=yes
48535 else
48536 glibcxx_cv_func__isinff_use=no
48538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48539 ac_ext=c
48540 ac_cpp='$CPP $CPPFLAGS'
48541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48550 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48552 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48553 for ac_func in _isinff
48554 do :
48555 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48556 if test "x$ac_cv_func__isinff" = x""yes; then :
48557 cat >>confdefs.h <<_ACEOF
48558 #define HAVE__ISINFF 1
48559 _ACEOF
48562 done
48571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48572 $as_echo_n "checking for atan2f declaration... " >&6; }
48573 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48574 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48575 $as_echo_n "(cached) " >&6
48576 else
48579 ac_ext=cpp
48580 ac_cpp='$CXXCPP $CPPFLAGS'
48581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48586 /* end confdefs.h. */
48587 #include <math.h>
48589 main ()
48591 atan2f(0, 0);
48593 return 0;
48595 _ACEOF
48596 if ac_fn_cxx_try_compile "$LINENO"; then :
48597 glibcxx_cv_func_atan2f_use=yes
48598 else
48599 glibcxx_cv_func_atan2f_use=no
48601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48602 ac_ext=c
48603 ac_cpp='$CPP $CPPFLAGS'
48604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48613 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48615 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48616 for ac_func in atan2f
48617 do :
48618 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48619 if test "x$ac_cv_func_atan2f" = x""yes; then :
48620 cat >>confdefs.h <<_ACEOF
48621 #define HAVE_ATAN2F 1
48622 _ACEOF
48625 done
48627 else
48629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48630 $as_echo_n "checking for _atan2f declaration... " >&6; }
48631 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48632 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48633 $as_echo_n "(cached) " >&6
48634 else
48637 ac_ext=cpp
48638 ac_cpp='$CXXCPP $CPPFLAGS'
48639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48644 /* end confdefs.h. */
48645 #include <math.h>
48647 main ()
48649 _atan2f(0, 0);
48651 return 0;
48653 _ACEOF
48654 if ac_fn_cxx_try_compile "$LINENO"; then :
48655 glibcxx_cv_func__atan2f_use=yes
48656 else
48657 glibcxx_cv_func__atan2f_use=no
48659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48660 ac_ext=c
48661 ac_cpp='$CPP $CPPFLAGS'
48662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48671 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48673 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48674 for ac_func in _atan2f
48675 do :
48676 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48677 if test "x$ac_cv_func__atan2f" = x""yes; then :
48678 cat >>confdefs.h <<_ACEOF
48679 #define HAVE__ATAN2F 1
48680 _ACEOF
48683 done
48692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48693 $as_echo_n "checking for fabsf declaration... " >&6; }
48694 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48695 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48696 $as_echo_n "(cached) " >&6
48697 else
48700 ac_ext=cpp
48701 ac_cpp='$CXXCPP $CPPFLAGS'
48702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48707 /* end confdefs.h. */
48708 #include <math.h>
48709 #ifdef HAVE_IEEEFP_H
48710 #include <ieeefp.h>
48711 #endif
48714 main ()
48716 fabsf(0);
48718 return 0;
48720 _ACEOF
48721 if ac_fn_cxx_try_compile "$LINENO"; then :
48722 glibcxx_cv_func_fabsf_use=yes
48723 else
48724 glibcxx_cv_func_fabsf_use=no
48726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48727 ac_ext=c
48728 ac_cpp='$CPP $CPPFLAGS'
48729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48738 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48740 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48741 for ac_func in fabsf
48742 do :
48743 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48744 if test "x$ac_cv_func_fabsf" = x""yes; then :
48745 cat >>confdefs.h <<_ACEOF
48746 #define HAVE_FABSF 1
48747 _ACEOF
48750 done
48752 else
48754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48755 $as_echo_n "checking for _fabsf declaration... " >&6; }
48756 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48757 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48758 $as_echo_n "(cached) " >&6
48759 else
48762 ac_ext=cpp
48763 ac_cpp='$CXXCPP $CPPFLAGS'
48764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48769 /* end confdefs.h. */
48770 #include <math.h>
48771 #ifdef HAVE_IEEEFP_H
48772 #include <ieeefp.h>
48773 #endif
48776 main ()
48778 _fabsf(0);
48780 return 0;
48782 _ACEOF
48783 if ac_fn_cxx_try_compile "$LINENO"; then :
48784 glibcxx_cv_func__fabsf_use=yes
48785 else
48786 glibcxx_cv_func__fabsf_use=no
48788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48789 ac_ext=c
48790 ac_cpp='$CPP $CPPFLAGS'
48791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48800 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48802 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48803 for ac_func in _fabsf
48804 do :
48805 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48806 if test "x$ac_cv_func__fabsf" = x""yes; then :
48807 cat >>confdefs.h <<_ACEOF
48808 #define HAVE__FABSF 1
48809 _ACEOF
48812 done
48821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48822 $as_echo_n "checking for fmodf declaration... " >&6; }
48823 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48824 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48825 $as_echo_n "(cached) " >&6
48826 else
48829 ac_ext=cpp
48830 ac_cpp='$CXXCPP $CPPFLAGS'
48831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48836 /* end confdefs.h. */
48837 #include <math.h>
48839 main ()
48841 fmodf(0, 0);
48843 return 0;
48845 _ACEOF
48846 if ac_fn_cxx_try_compile "$LINENO"; then :
48847 glibcxx_cv_func_fmodf_use=yes
48848 else
48849 glibcxx_cv_func_fmodf_use=no
48851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48852 ac_ext=c
48853 ac_cpp='$CPP $CPPFLAGS'
48854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48863 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48865 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48866 for ac_func in fmodf
48867 do :
48868 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48869 if test "x$ac_cv_func_fmodf" = x""yes; then :
48870 cat >>confdefs.h <<_ACEOF
48871 #define HAVE_FMODF 1
48872 _ACEOF
48875 done
48877 else
48879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48880 $as_echo_n "checking for _fmodf declaration... " >&6; }
48881 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48882 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48883 $as_echo_n "(cached) " >&6
48884 else
48887 ac_ext=cpp
48888 ac_cpp='$CXXCPP $CPPFLAGS'
48889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48894 /* end confdefs.h. */
48895 #include <math.h>
48897 main ()
48899 _fmodf(0, 0);
48901 return 0;
48903 _ACEOF
48904 if ac_fn_cxx_try_compile "$LINENO"; then :
48905 glibcxx_cv_func__fmodf_use=yes
48906 else
48907 glibcxx_cv_func__fmodf_use=no
48909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48910 ac_ext=c
48911 ac_cpp='$CPP $CPPFLAGS'
48912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48921 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48923 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48924 for ac_func in _fmodf
48925 do :
48926 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48927 if test "x$ac_cv_func__fmodf" = x""yes; then :
48928 cat >>confdefs.h <<_ACEOF
48929 #define HAVE__FMODF 1
48930 _ACEOF
48933 done
48942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48943 $as_echo_n "checking for frexpf declaration... " >&6; }
48944 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48945 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48946 $as_echo_n "(cached) " >&6
48947 else
48950 ac_ext=cpp
48951 ac_cpp='$CXXCPP $CPPFLAGS'
48952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48957 /* end confdefs.h. */
48958 #include <math.h>
48960 main ()
48962 frexpf(0, 0);
48964 return 0;
48966 _ACEOF
48967 if ac_fn_cxx_try_compile "$LINENO"; then :
48968 glibcxx_cv_func_frexpf_use=yes
48969 else
48970 glibcxx_cv_func_frexpf_use=no
48972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48973 ac_ext=c
48974 ac_cpp='$CPP $CPPFLAGS'
48975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48984 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48986 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48987 for ac_func in frexpf
48988 do :
48989 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48990 if test "x$ac_cv_func_frexpf" = x""yes; then :
48991 cat >>confdefs.h <<_ACEOF
48992 #define HAVE_FREXPF 1
48993 _ACEOF
48996 done
48998 else
49000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49001 $as_echo_n "checking for _frexpf declaration... " >&6; }
49002 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49003 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49004 $as_echo_n "(cached) " >&6
49005 else
49008 ac_ext=cpp
49009 ac_cpp='$CXXCPP $CPPFLAGS'
49010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49015 /* end confdefs.h. */
49016 #include <math.h>
49018 main ()
49020 _frexpf(0, 0);
49022 return 0;
49024 _ACEOF
49025 if ac_fn_cxx_try_compile "$LINENO"; then :
49026 glibcxx_cv_func__frexpf_use=yes
49027 else
49028 glibcxx_cv_func__frexpf_use=no
49030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49031 ac_ext=c
49032 ac_cpp='$CPP $CPPFLAGS'
49033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49042 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49044 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49045 for ac_func in _frexpf
49046 do :
49047 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49048 if test "x$ac_cv_func__frexpf" = x""yes; then :
49049 cat >>confdefs.h <<_ACEOF
49050 #define HAVE__FREXPF 1
49051 _ACEOF
49054 done
49063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49064 $as_echo_n "checking for hypotf declaration... " >&6; }
49065 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49066 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49067 $as_echo_n "(cached) " >&6
49068 else
49071 ac_ext=cpp
49072 ac_cpp='$CXXCPP $CPPFLAGS'
49073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49078 /* end confdefs.h. */
49079 #include <math.h>
49081 main ()
49083 hypotf(0, 0);
49085 return 0;
49087 _ACEOF
49088 if ac_fn_cxx_try_compile "$LINENO"; then :
49089 glibcxx_cv_func_hypotf_use=yes
49090 else
49091 glibcxx_cv_func_hypotf_use=no
49093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49094 ac_ext=c
49095 ac_cpp='$CPP $CPPFLAGS'
49096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49105 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49107 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49108 for ac_func in hypotf
49109 do :
49110 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49111 if test "x$ac_cv_func_hypotf" = x""yes; then :
49112 cat >>confdefs.h <<_ACEOF
49113 #define HAVE_HYPOTF 1
49114 _ACEOF
49117 done
49119 else
49121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49122 $as_echo_n "checking for _hypotf declaration... " >&6; }
49123 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49124 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49125 $as_echo_n "(cached) " >&6
49126 else
49129 ac_ext=cpp
49130 ac_cpp='$CXXCPP $CPPFLAGS'
49131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49136 /* end confdefs.h. */
49137 #include <math.h>
49139 main ()
49141 _hypotf(0, 0);
49143 return 0;
49145 _ACEOF
49146 if ac_fn_cxx_try_compile "$LINENO"; then :
49147 glibcxx_cv_func__hypotf_use=yes
49148 else
49149 glibcxx_cv_func__hypotf_use=no
49151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49152 ac_ext=c
49153 ac_cpp='$CPP $CPPFLAGS'
49154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49163 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49165 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49166 for ac_func in _hypotf
49167 do :
49168 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49169 if test "x$ac_cv_func__hypotf" = x""yes; then :
49170 cat >>confdefs.h <<_ACEOF
49171 #define HAVE__HYPOTF 1
49172 _ACEOF
49175 done
49184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49185 $as_echo_n "checking for ldexpf declaration... " >&6; }
49186 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49187 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49188 $as_echo_n "(cached) " >&6
49189 else
49192 ac_ext=cpp
49193 ac_cpp='$CXXCPP $CPPFLAGS'
49194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49199 /* end confdefs.h. */
49200 #include <math.h>
49202 main ()
49204 ldexpf(0, 0);
49206 return 0;
49208 _ACEOF
49209 if ac_fn_cxx_try_compile "$LINENO"; then :
49210 glibcxx_cv_func_ldexpf_use=yes
49211 else
49212 glibcxx_cv_func_ldexpf_use=no
49214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49215 ac_ext=c
49216 ac_cpp='$CPP $CPPFLAGS'
49217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49226 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49228 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49229 for ac_func in ldexpf
49230 do :
49231 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49232 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49233 cat >>confdefs.h <<_ACEOF
49234 #define HAVE_LDEXPF 1
49235 _ACEOF
49238 done
49240 else
49242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49243 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49244 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49245 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49246 $as_echo_n "(cached) " >&6
49247 else
49250 ac_ext=cpp
49251 ac_cpp='$CXXCPP $CPPFLAGS'
49252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49257 /* end confdefs.h. */
49258 #include <math.h>
49260 main ()
49262 _ldexpf(0, 0);
49264 return 0;
49266 _ACEOF
49267 if ac_fn_cxx_try_compile "$LINENO"; then :
49268 glibcxx_cv_func__ldexpf_use=yes
49269 else
49270 glibcxx_cv_func__ldexpf_use=no
49272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49273 ac_ext=c
49274 ac_cpp='$CPP $CPPFLAGS'
49275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49284 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49286 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49287 for ac_func in _ldexpf
49288 do :
49289 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49290 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49291 cat >>confdefs.h <<_ACEOF
49292 #define HAVE__LDEXPF 1
49293 _ACEOF
49296 done
49305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49306 $as_echo_n "checking for logf declaration... " >&6; }
49307 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49308 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49309 $as_echo_n "(cached) " >&6
49310 else
49313 ac_ext=cpp
49314 ac_cpp='$CXXCPP $CPPFLAGS'
49315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49320 /* end confdefs.h. */
49321 #include <math.h>
49322 #ifdef HAVE_IEEEFP_H
49323 #include <ieeefp.h>
49324 #endif
49327 main ()
49329 logf(0);
49331 return 0;
49333 _ACEOF
49334 if ac_fn_cxx_try_compile "$LINENO"; then :
49335 glibcxx_cv_func_logf_use=yes
49336 else
49337 glibcxx_cv_func_logf_use=no
49339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49340 ac_ext=c
49341 ac_cpp='$CPP $CPPFLAGS'
49342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49351 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49353 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49354 for ac_func in logf
49355 do :
49356 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49357 if test "x$ac_cv_func_logf" = x""yes; then :
49358 cat >>confdefs.h <<_ACEOF
49359 #define HAVE_LOGF 1
49360 _ACEOF
49363 done
49365 else
49367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49368 $as_echo_n "checking for _logf declaration... " >&6; }
49369 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49370 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49371 $as_echo_n "(cached) " >&6
49372 else
49375 ac_ext=cpp
49376 ac_cpp='$CXXCPP $CPPFLAGS'
49377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49382 /* end confdefs.h. */
49383 #include <math.h>
49384 #ifdef HAVE_IEEEFP_H
49385 #include <ieeefp.h>
49386 #endif
49389 main ()
49391 _logf(0);
49393 return 0;
49395 _ACEOF
49396 if ac_fn_cxx_try_compile "$LINENO"; then :
49397 glibcxx_cv_func__logf_use=yes
49398 else
49399 glibcxx_cv_func__logf_use=no
49401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49402 ac_ext=c
49403 ac_cpp='$CPP $CPPFLAGS'
49404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49413 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49415 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49416 for ac_func in _logf
49417 do :
49418 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49419 if test "x$ac_cv_func__logf" = x""yes; then :
49420 cat >>confdefs.h <<_ACEOF
49421 #define HAVE__LOGF 1
49422 _ACEOF
49425 done
49434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49435 $as_echo_n "checking for log10f declaration... " >&6; }
49436 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49437 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49438 $as_echo_n "(cached) " >&6
49439 else
49442 ac_ext=cpp
49443 ac_cpp='$CXXCPP $CPPFLAGS'
49444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49449 /* end confdefs.h. */
49450 #include <math.h>
49451 #ifdef HAVE_IEEEFP_H
49452 #include <ieeefp.h>
49453 #endif
49456 main ()
49458 log10f(0);
49460 return 0;
49462 _ACEOF
49463 if ac_fn_cxx_try_compile "$LINENO"; then :
49464 glibcxx_cv_func_log10f_use=yes
49465 else
49466 glibcxx_cv_func_log10f_use=no
49468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49469 ac_ext=c
49470 ac_cpp='$CPP $CPPFLAGS'
49471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49480 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49482 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49483 for ac_func in log10f
49484 do :
49485 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49486 if test "x$ac_cv_func_log10f" = x""yes; then :
49487 cat >>confdefs.h <<_ACEOF
49488 #define HAVE_LOG10F 1
49489 _ACEOF
49492 done
49494 else
49496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49497 $as_echo_n "checking for _log10f declaration... " >&6; }
49498 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49499 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49500 $as_echo_n "(cached) " >&6
49501 else
49504 ac_ext=cpp
49505 ac_cpp='$CXXCPP $CPPFLAGS'
49506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49511 /* end confdefs.h. */
49512 #include <math.h>
49513 #ifdef HAVE_IEEEFP_H
49514 #include <ieeefp.h>
49515 #endif
49518 main ()
49520 _log10f(0);
49522 return 0;
49524 _ACEOF
49525 if ac_fn_cxx_try_compile "$LINENO"; then :
49526 glibcxx_cv_func__log10f_use=yes
49527 else
49528 glibcxx_cv_func__log10f_use=no
49530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49531 ac_ext=c
49532 ac_cpp='$CPP $CPPFLAGS'
49533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49542 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49544 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49545 for ac_func in _log10f
49546 do :
49547 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49548 if test "x$ac_cv_func__log10f" = x""yes; then :
49549 cat >>confdefs.h <<_ACEOF
49550 #define HAVE__LOG10F 1
49551 _ACEOF
49554 done
49563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49564 $as_echo_n "checking for modff declaration... " >&6; }
49565 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49566 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49567 $as_echo_n "(cached) " >&6
49568 else
49571 ac_ext=cpp
49572 ac_cpp='$CXXCPP $CPPFLAGS'
49573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49578 /* end confdefs.h. */
49579 #include <math.h>
49581 main ()
49583 modff(0, 0);
49585 return 0;
49587 _ACEOF
49588 if ac_fn_cxx_try_compile "$LINENO"; then :
49589 glibcxx_cv_func_modff_use=yes
49590 else
49591 glibcxx_cv_func_modff_use=no
49593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49594 ac_ext=c
49595 ac_cpp='$CPP $CPPFLAGS'
49596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49605 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49607 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49608 for ac_func in modff
49609 do :
49610 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49611 if test "x$ac_cv_func_modff" = x""yes; then :
49612 cat >>confdefs.h <<_ACEOF
49613 #define HAVE_MODFF 1
49614 _ACEOF
49617 done
49619 else
49621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49622 $as_echo_n "checking for _modff declaration... " >&6; }
49623 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49624 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49625 $as_echo_n "(cached) " >&6
49626 else
49629 ac_ext=cpp
49630 ac_cpp='$CXXCPP $CPPFLAGS'
49631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49636 /* end confdefs.h. */
49637 #include <math.h>
49639 main ()
49641 _modff(0, 0);
49643 return 0;
49645 _ACEOF
49646 if ac_fn_cxx_try_compile "$LINENO"; then :
49647 glibcxx_cv_func__modff_use=yes
49648 else
49649 glibcxx_cv_func__modff_use=no
49651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49652 ac_ext=c
49653 ac_cpp='$CPP $CPPFLAGS'
49654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49663 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49665 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49666 for ac_func in _modff
49667 do :
49668 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49669 if test "x$ac_cv_func__modff" = x""yes; then :
49670 cat >>confdefs.h <<_ACEOF
49671 #define HAVE__MODFF 1
49672 _ACEOF
49675 done
49684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49685 $as_echo_n "checking for modf declaration... " >&6; }
49686 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49687 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49688 $as_echo_n "(cached) " >&6
49689 else
49692 ac_ext=cpp
49693 ac_cpp='$CXXCPP $CPPFLAGS'
49694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49699 /* end confdefs.h. */
49700 #include <math.h>
49702 main ()
49704 modf(0, 0);
49706 return 0;
49708 _ACEOF
49709 if ac_fn_cxx_try_compile "$LINENO"; then :
49710 glibcxx_cv_func_modf_use=yes
49711 else
49712 glibcxx_cv_func_modf_use=no
49714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49715 ac_ext=c
49716 ac_cpp='$CPP $CPPFLAGS'
49717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49726 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49728 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49729 for ac_func in modf
49730 do :
49731 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49732 if test "x$ac_cv_func_modf" = x""yes; then :
49733 cat >>confdefs.h <<_ACEOF
49734 #define HAVE_MODF 1
49735 _ACEOF
49738 done
49740 else
49742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49743 $as_echo_n "checking for _modf declaration... " >&6; }
49744 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49745 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49746 $as_echo_n "(cached) " >&6
49747 else
49750 ac_ext=cpp
49751 ac_cpp='$CXXCPP $CPPFLAGS'
49752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49757 /* end confdefs.h. */
49758 #include <math.h>
49760 main ()
49762 _modf(0, 0);
49764 return 0;
49766 _ACEOF
49767 if ac_fn_cxx_try_compile "$LINENO"; then :
49768 glibcxx_cv_func__modf_use=yes
49769 else
49770 glibcxx_cv_func__modf_use=no
49772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49773 ac_ext=c
49774 ac_cpp='$CPP $CPPFLAGS'
49775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49784 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49786 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49787 for ac_func in _modf
49788 do :
49789 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49790 if test "x$ac_cv_func__modf" = x""yes; then :
49791 cat >>confdefs.h <<_ACEOF
49792 #define HAVE__MODF 1
49793 _ACEOF
49796 done
49805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49806 $as_echo_n "checking for powf declaration... " >&6; }
49807 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49808 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49809 $as_echo_n "(cached) " >&6
49810 else
49813 ac_ext=cpp
49814 ac_cpp='$CXXCPP $CPPFLAGS'
49815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49820 /* end confdefs.h. */
49821 #include <math.h>
49823 main ()
49825 powf(0, 0);
49827 return 0;
49829 _ACEOF
49830 if ac_fn_cxx_try_compile "$LINENO"; then :
49831 glibcxx_cv_func_powf_use=yes
49832 else
49833 glibcxx_cv_func_powf_use=no
49835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49836 ac_ext=c
49837 ac_cpp='$CPP $CPPFLAGS'
49838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49847 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49849 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49850 for ac_func in powf
49851 do :
49852 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49853 if test "x$ac_cv_func_powf" = x""yes; then :
49854 cat >>confdefs.h <<_ACEOF
49855 #define HAVE_POWF 1
49856 _ACEOF
49859 done
49861 else
49863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49864 $as_echo_n "checking for _powf declaration... " >&6; }
49865 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49866 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49867 $as_echo_n "(cached) " >&6
49868 else
49871 ac_ext=cpp
49872 ac_cpp='$CXXCPP $CPPFLAGS'
49873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49878 /* end confdefs.h. */
49879 #include <math.h>
49881 main ()
49883 _powf(0, 0);
49885 return 0;
49887 _ACEOF
49888 if ac_fn_cxx_try_compile "$LINENO"; then :
49889 glibcxx_cv_func__powf_use=yes
49890 else
49891 glibcxx_cv_func__powf_use=no
49893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49894 ac_ext=c
49895 ac_cpp='$CPP $CPPFLAGS'
49896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49905 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49907 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49908 for ac_func in _powf
49909 do :
49910 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49911 if test "x$ac_cv_func__powf" = x""yes; then :
49912 cat >>confdefs.h <<_ACEOF
49913 #define HAVE__POWF 1
49914 _ACEOF
49917 done
49926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49927 $as_echo_n "checking for sqrtf declaration... " >&6; }
49928 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49929 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49930 $as_echo_n "(cached) " >&6
49931 else
49934 ac_ext=cpp
49935 ac_cpp='$CXXCPP $CPPFLAGS'
49936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49941 /* end confdefs.h. */
49942 #include <math.h>
49943 #ifdef HAVE_IEEEFP_H
49944 #include <ieeefp.h>
49945 #endif
49948 main ()
49950 sqrtf(0);
49952 return 0;
49954 _ACEOF
49955 if ac_fn_cxx_try_compile "$LINENO"; then :
49956 glibcxx_cv_func_sqrtf_use=yes
49957 else
49958 glibcxx_cv_func_sqrtf_use=no
49960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49961 ac_ext=c
49962 ac_cpp='$CPP $CPPFLAGS'
49963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49972 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49974 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49975 for ac_func in sqrtf
49976 do :
49977 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49978 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49979 cat >>confdefs.h <<_ACEOF
49980 #define HAVE_SQRTF 1
49981 _ACEOF
49984 done
49986 else
49988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49989 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49990 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49991 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49992 $as_echo_n "(cached) " >&6
49993 else
49996 ac_ext=cpp
49997 ac_cpp='$CXXCPP $CPPFLAGS'
49998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50003 /* end confdefs.h. */
50004 #include <math.h>
50005 #ifdef HAVE_IEEEFP_H
50006 #include <ieeefp.h>
50007 #endif
50010 main ()
50012 _sqrtf(0);
50014 return 0;
50016 _ACEOF
50017 if ac_fn_cxx_try_compile "$LINENO"; then :
50018 glibcxx_cv_func__sqrtf_use=yes
50019 else
50020 glibcxx_cv_func__sqrtf_use=no
50022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50023 ac_ext=c
50024 ac_cpp='$CPP $CPPFLAGS'
50025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50034 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50036 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50037 for ac_func in _sqrtf
50038 do :
50039 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50040 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50041 cat >>confdefs.h <<_ACEOF
50042 #define HAVE__SQRTF 1
50043 _ACEOF
50046 done
50055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50056 $as_echo_n "checking for sincosf declaration... " >&6; }
50057 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50058 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50059 $as_echo_n "(cached) " >&6
50060 else
50063 ac_ext=cpp
50064 ac_cpp='$CXXCPP $CPPFLAGS'
50065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50070 /* end confdefs.h. */
50071 #include <math.h>
50073 main ()
50075 sincosf(0, 0, 0);
50077 return 0;
50079 _ACEOF
50080 if ac_fn_cxx_try_compile "$LINENO"; then :
50081 glibcxx_cv_func_sincosf_use=yes
50082 else
50083 glibcxx_cv_func_sincosf_use=no
50085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50086 ac_ext=c
50087 ac_cpp='$CPP $CPPFLAGS'
50088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50097 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50099 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50100 for ac_func in sincosf
50101 do :
50102 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50103 if test "x$ac_cv_func_sincosf" = x""yes; then :
50104 cat >>confdefs.h <<_ACEOF
50105 #define HAVE_SINCOSF 1
50106 _ACEOF
50109 done
50111 else
50113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50114 $as_echo_n "checking for _sincosf declaration... " >&6; }
50115 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50116 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50117 $as_echo_n "(cached) " >&6
50118 else
50121 ac_ext=cpp
50122 ac_cpp='$CXXCPP $CPPFLAGS'
50123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50128 /* end confdefs.h. */
50129 #include <math.h>
50131 main ()
50133 _sincosf(0, 0, 0);
50135 return 0;
50137 _ACEOF
50138 if ac_fn_cxx_try_compile "$LINENO"; then :
50139 glibcxx_cv_func__sincosf_use=yes
50140 else
50141 glibcxx_cv_func__sincosf_use=no
50143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50144 ac_ext=c
50145 ac_cpp='$CPP $CPPFLAGS'
50146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50155 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50157 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50158 for ac_func in _sincosf
50159 do :
50160 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50161 if test "x$ac_cv_func__sincosf" = x""yes; then :
50162 cat >>confdefs.h <<_ACEOF
50163 #define HAVE__SINCOSF 1
50164 _ACEOF
50167 done
50176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50177 $as_echo_n "checking for finitef declaration... " >&6; }
50178 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50179 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50180 $as_echo_n "(cached) " >&6
50181 else
50184 ac_ext=cpp
50185 ac_cpp='$CXXCPP $CPPFLAGS'
50186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50191 /* end confdefs.h. */
50192 #include <math.h>
50193 #ifdef HAVE_IEEEFP_H
50194 #include <ieeefp.h>
50195 #endif
50198 main ()
50200 finitef(0);
50202 return 0;
50204 _ACEOF
50205 if ac_fn_cxx_try_compile "$LINENO"; then :
50206 glibcxx_cv_func_finitef_use=yes
50207 else
50208 glibcxx_cv_func_finitef_use=no
50210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50211 ac_ext=c
50212 ac_cpp='$CPP $CPPFLAGS'
50213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50222 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50224 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50225 for ac_func in finitef
50226 do :
50227 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50228 if test "x$ac_cv_func_finitef" = x""yes; then :
50229 cat >>confdefs.h <<_ACEOF
50230 #define HAVE_FINITEF 1
50231 _ACEOF
50234 done
50236 else
50238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50239 $as_echo_n "checking for _finitef declaration... " >&6; }
50240 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50241 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50242 $as_echo_n "(cached) " >&6
50243 else
50246 ac_ext=cpp
50247 ac_cpp='$CXXCPP $CPPFLAGS'
50248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50253 /* end confdefs.h. */
50254 #include <math.h>
50255 #ifdef HAVE_IEEEFP_H
50256 #include <ieeefp.h>
50257 #endif
50260 main ()
50262 _finitef(0);
50264 return 0;
50266 _ACEOF
50267 if ac_fn_cxx_try_compile "$LINENO"; then :
50268 glibcxx_cv_func__finitef_use=yes
50269 else
50270 glibcxx_cv_func__finitef_use=no
50272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50273 ac_ext=c
50274 ac_cpp='$CPP $CPPFLAGS'
50275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50284 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50286 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50287 for ac_func in _finitef
50288 do :
50289 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50290 if test "x$ac_cv_func__finitef" = x""yes; then :
50291 cat >>confdefs.h <<_ACEOF
50292 #define HAVE__FINITEF 1
50293 _ACEOF
50296 done
50305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50306 $as_echo_n "checking for long double trig functions... " >&6; }
50307 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50308 $as_echo_n "(cached) " >&6
50309 else
50312 ac_ext=cpp
50313 ac_cpp='$CXXCPP $CPPFLAGS'
50314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50319 /* end confdefs.h. */
50320 #include <math.h>
50322 main ()
50324 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50326 return 0;
50328 _ACEOF
50329 if ac_fn_cxx_try_compile "$LINENO"; then :
50330 glibcxx_cv_func_long_double_trig_use=yes
50331 else
50332 glibcxx_cv_func_long_double_trig_use=no
50334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50335 ac_ext=c
50336 ac_cpp='$CPP $CPPFLAGS'
50337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50344 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50345 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50346 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50347 do :
50348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50350 eval as_val=\$$as_ac_var
50351 if test "x$as_val" = x""yes; then :
50352 cat >>confdefs.h <<_ACEOF
50353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50354 _ACEOF
50357 done
50359 else
50360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50361 $as_echo_n "checking for _long double trig functions... " >&6; }
50362 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50363 $as_echo_n "(cached) " >&6
50364 else
50367 ac_ext=cpp
50368 ac_cpp='$CXXCPP $CPPFLAGS'
50369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50374 /* end confdefs.h. */
50375 #include <math.h>
50377 main ()
50379 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50381 return 0;
50383 _ACEOF
50384 if ac_fn_cxx_try_compile "$LINENO"; then :
50385 glibcxx_cv_func__long_double_trig_use=yes
50386 else
50387 glibcxx_cv_func__long_double_trig_use=no
50389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50390 ac_ext=c
50391 ac_cpp='$CPP $CPPFLAGS'
50392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50399 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50400 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50401 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50402 do :
50403 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50404 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50405 eval as_val=\$$as_ac_var
50406 if test "x$as_val" = x""yes; then :
50407 cat >>confdefs.h <<_ACEOF
50408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50409 _ACEOF
50412 done
50421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50422 $as_echo_n "checking for long double round functions... " >&6; }
50423 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50424 $as_echo_n "(cached) " >&6
50425 else
50428 ac_ext=cpp
50429 ac_cpp='$CXXCPP $CPPFLAGS'
50430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50435 /* end confdefs.h. */
50436 #include <math.h>
50438 main ()
50440 ceill (0); floorl (0);
50442 return 0;
50444 _ACEOF
50445 if ac_fn_cxx_try_compile "$LINENO"; then :
50446 glibcxx_cv_func_long_double_round_use=yes
50447 else
50448 glibcxx_cv_func_long_double_round_use=no
50450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50451 ac_ext=c
50452 ac_cpp='$CPP $CPPFLAGS'
50453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50460 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50461 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50462 for ac_func in ceill floorl
50463 do :
50464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50466 eval as_val=\$$as_ac_var
50467 if test "x$as_val" = x""yes; then :
50468 cat >>confdefs.h <<_ACEOF
50469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50470 _ACEOF
50473 done
50475 else
50476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50477 $as_echo_n "checking for _long double round functions... " >&6; }
50478 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50479 $as_echo_n "(cached) " >&6
50480 else
50483 ac_ext=cpp
50484 ac_cpp='$CXXCPP $CPPFLAGS'
50485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50490 /* end confdefs.h. */
50491 #include <math.h>
50493 main ()
50495 _ceill (0); _floorl (0);
50497 return 0;
50499 _ACEOF
50500 if ac_fn_cxx_try_compile "$LINENO"; then :
50501 glibcxx_cv_func__long_double_round_use=yes
50502 else
50503 glibcxx_cv_func__long_double_round_use=no
50505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50506 ac_ext=c
50507 ac_cpp='$CPP $CPPFLAGS'
50508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50515 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50516 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50517 for ac_func in _ceill _floorl
50518 do :
50519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50521 eval as_val=\$$as_ac_var
50522 if test "x$as_val" = x""yes; then :
50523 cat >>confdefs.h <<_ACEOF
50524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50525 _ACEOF
50528 done
50538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50539 $as_echo_n "checking for isnanl declaration... " >&6; }
50540 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50541 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50542 $as_echo_n "(cached) " >&6
50543 else
50546 ac_ext=cpp
50547 ac_cpp='$CXXCPP $CPPFLAGS'
50548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50553 /* end confdefs.h. */
50554 #include <math.h>
50555 #ifdef HAVE_IEEEFP_H
50556 #include <ieeefp.h>
50557 #endif
50560 main ()
50562 isnanl(0);
50564 return 0;
50566 _ACEOF
50567 if ac_fn_cxx_try_compile "$LINENO"; then :
50568 glibcxx_cv_func_isnanl_use=yes
50569 else
50570 glibcxx_cv_func_isnanl_use=no
50572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50573 ac_ext=c
50574 ac_cpp='$CPP $CPPFLAGS'
50575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50584 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50586 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50587 for ac_func in isnanl
50588 do :
50589 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50590 if test "x$ac_cv_func_isnanl" = x""yes; then :
50591 cat >>confdefs.h <<_ACEOF
50592 #define HAVE_ISNANL 1
50593 _ACEOF
50596 done
50598 else
50600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50601 $as_echo_n "checking for _isnanl declaration... " >&6; }
50602 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50603 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50604 $as_echo_n "(cached) " >&6
50605 else
50608 ac_ext=cpp
50609 ac_cpp='$CXXCPP $CPPFLAGS'
50610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50615 /* end confdefs.h. */
50616 #include <math.h>
50617 #ifdef HAVE_IEEEFP_H
50618 #include <ieeefp.h>
50619 #endif
50622 main ()
50624 _isnanl(0);
50626 return 0;
50628 _ACEOF
50629 if ac_fn_cxx_try_compile "$LINENO"; then :
50630 glibcxx_cv_func__isnanl_use=yes
50631 else
50632 glibcxx_cv_func__isnanl_use=no
50634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50635 ac_ext=c
50636 ac_cpp='$CPP $CPPFLAGS'
50637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50646 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50648 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50649 for ac_func in _isnanl
50650 do :
50651 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50652 if test "x$ac_cv_func__isnanl" = x""yes; then :
50653 cat >>confdefs.h <<_ACEOF
50654 #define HAVE__ISNANL 1
50655 _ACEOF
50658 done
50667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50668 $as_echo_n "checking for isinfl declaration... " >&6; }
50669 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50670 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50671 $as_echo_n "(cached) " >&6
50672 else
50675 ac_ext=cpp
50676 ac_cpp='$CXXCPP $CPPFLAGS'
50677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50682 /* end confdefs.h. */
50683 #include <math.h>
50684 #ifdef HAVE_IEEEFP_H
50685 #include <ieeefp.h>
50686 #endif
50689 main ()
50691 isinfl(0);
50693 return 0;
50695 _ACEOF
50696 if ac_fn_cxx_try_compile "$LINENO"; then :
50697 glibcxx_cv_func_isinfl_use=yes
50698 else
50699 glibcxx_cv_func_isinfl_use=no
50701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50702 ac_ext=c
50703 ac_cpp='$CPP $CPPFLAGS'
50704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50713 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50715 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50716 for ac_func in isinfl
50717 do :
50718 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50719 if test "x$ac_cv_func_isinfl" = x""yes; then :
50720 cat >>confdefs.h <<_ACEOF
50721 #define HAVE_ISINFL 1
50722 _ACEOF
50725 done
50727 else
50729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50730 $as_echo_n "checking for _isinfl declaration... " >&6; }
50731 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50732 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50733 $as_echo_n "(cached) " >&6
50734 else
50737 ac_ext=cpp
50738 ac_cpp='$CXXCPP $CPPFLAGS'
50739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50744 /* end confdefs.h. */
50745 #include <math.h>
50746 #ifdef HAVE_IEEEFP_H
50747 #include <ieeefp.h>
50748 #endif
50751 main ()
50753 _isinfl(0);
50755 return 0;
50757 _ACEOF
50758 if ac_fn_cxx_try_compile "$LINENO"; then :
50759 glibcxx_cv_func__isinfl_use=yes
50760 else
50761 glibcxx_cv_func__isinfl_use=no
50763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50764 ac_ext=c
50765 ac_cpp='$CPP $CPPFLAGS'
50766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50775 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50777 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50778 for ac_func in _isinfl
50779 do :
50780 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50781 if test "x$ac_cv_func__isinfl" = x""yes; then :
50782 cat >>confdefs.h <<_ACEOF
50783 #define HAVE__ISINFL 1
50784 _ACEOF
50787 done
50796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50797 $as_echo_n "checking for atan2l declaration... " >&6; }
50798 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50799 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50800 $as_echo_n "(cached) " >&6
50801 else
50804 ac_ext=cpp
50805 ac_cpp='$CXXCPP $CPPFLAGS'
50806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50811 /* end confdefs.h. */
50812 #include <math.h>
50814 main ()
50816 atan2l(0, 0);
50818 return 0;
50820 _ACEOF
50821 if ac_fn_cxx_try_compile "$LINENO"; then :
50822 glibcxx_cv_func_atan2l_use=yes
50823 else
50824 glibcxx_cv_func_atan2l_use=no
50826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50827 ac_ext=c
50828 ac_cpp='$CPP $CPPFLAGS'
50829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50838 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50840 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50841 for ac_func in atan2l
50842 do :
50843 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50844 if test "x$ac_cv_func_atan2l" = x""yes; then :
50845 cat >>confdefs.h <<_ACEOF
50846 #define HAVE_ATAN2L 1
50847 _ACEOF
50850 done
50852 else
50854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50855 $as_echo_n "checking for _atan2l declaration... " >&6; }
50856 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50857 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50858 $as_echo_n "(cached) " >&6
50859 else
50862 ac_ext=cpp
50863 ac_cpp='$CXXCPP $CPPFLAGS'
50864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50869 /* end confdefs.h. */
50870 #include <math.h>
50872 main ()
50874 _atan2l(0, 0);
50876 return 0;
50878 _ACEOF
50879 if ac_fn_cxx_try_compile "$LINENO"; then :
50880 glibcxx_cv_func__atan2l_use=yes
50881 else
50882 glibcxx_cv_func__atan2l_use=no
50884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50885 ac_ext=c
50886 ac_cpp='$CPP $CPPFLAGS'
50887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50896 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50898 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50899 for ac_func in _atan2l
50900 do :
50901 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50902 if test "x$ac_cv_func__atan2l" = x""yes; then :
50903 cat >>confdefs.h <<_ACEOF
50904 #define HAVE__ATAN2L 1
50905 _ACEOF
50908 done
50917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50918 $as_echo_n "checking for expl declaration... " >&6; }
50919 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50920 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50921 $as_echo_n "(cached) " >&6
50922 else
50925 ac_ext=cpp
50926 ac_cpp='$CXXCPP $CPPFLAGS'
50927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50932 /* end confdefs.h. */
50933 #include <math.h>
50934 #ifdef HAVE_IEEEFP_H
50935 #include <ieeefp.h>
50936 #endif
50939 main ()
50941 expl(0);
50943 return 0;
50945 _ACEOF
50946 if ac_fn_cxx_try_compile "$LINENO"; then :
50947 glibcxx_cv_func_expl_use=yes
50948 else
50949 glibcxx_cv_func_expl_use=no
50951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50952 ac_ext=c
50953 ac_cpp='$CPP $CPPFLAGS'
50954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50963 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50965 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50966 for ac_func in expl
50967 do :
50968 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50969 if test "x$ac_cv_func_expl" = x""yes; then :
50970 cat >>confdefs.h <<_ACEOF
50971 #define HAVE_EXPL 1
50972 _ACEOF
50975 done
50977 else
50979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50980 $as_echo_n "checking for _expl declaration... " >&6; }
50981 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50982 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50983 $as_echo_n "(cached) " >&6
50984 else
50987 ac_ext=cpp
50988 ac_cpp='$CXXCPP $CPPFLAGS'
50989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50994 /* end confdefs.h. */
50995 #include <math.h>
50996 #ifdef HAVE_IEEEFP_H
50997 #include <ieeefp.h>
50998 #endif
51001 main ()
51003 _expl(0);
51005 return 0;
51007 _ACEOF
51008 if ac_fn_cxx_try_compile "$LINENO"; then :
51009 glibcxx_cv_func__expl_use=yes
51010 else
51011 glibcxx_cv_func__expl_use=no
51013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51014 ac_ext=c
51015 ac_cpp='$CPP $CPPFLAGS'
51016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51025 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51027 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51028 for ac_func in _expl
51029 do :
51030 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51031 if test "x$ac_cv_func__expl" = x""yes; then :
51032 cat >>confdefs.h <<_ACEOF
51033 #define HAVE__EXPL 1
51034 _ACEOF
51037 done
51046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51047 $as_echo_n "checking for fabsl declaration... " >&6; }
51048 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51049 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51050 $as_echo_n "(cached) " >&6
51051 else
51054 ac_ext=cpp
51055 ac_cpp='$CXXCPP $CPPFLAGS'
51056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51061 /* end confdefs.h. */
51062 #include <math.h>
51063 #ifdef HAVE_IEEEFP_H
51064 #include <ieeefp.h>
51065 #endif
51068 main ()
51070 fabsl(0);
51072 return 0;
51074 _ACEOF
51075 if ac_fn_cxx_try_compile "$LINENO"; then :
51076 glibcxx_cv_func_fabsl_use=yes
51077 else
51078 glibcxx_cv_func_fabsl_use=no
51080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51081 ac_ext=c
51082 ac_cpp='$CPP $CPPFLAGS'
51083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51092 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51094 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51095 for ac_func in fabsl
51096 do :
51097 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51098 if test "x$ac_cv_func_fabsl" = x""yes; then :
51099 cat >>confdefs.h <<_ACEOF
51100 #define HAVE_FABSL 1
51101 _ACEOF
51104 done
51106 else
51108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51109 $as_echo_n "checking for _fabsl declaration... " >&6; }
51110 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51111 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51112 $as_echo_n "(cached) " >&6
51113 else
51116 ac_ext=cpp
51117 ac_cpp='$CXXCPP $CPPFLAGS'
51118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51123 /* end confdefs.h. */
51124 #include <math.h>
51125 #ifdef HAVE_IEEEFP_H
51126 #include <ieeefp.h>
51127 #endif
51130 main ()
51132 _fabsl(0);
51134 return 0;
51136 _ACEOF
51137 if ac_fn_cxx_try_compile "$LINENO"; then :
51138 glibcxx_cv_func__fabsl_use=yes
51139 else
51140 glibcxx_cv_func__fabsl_use=no
51142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51143 ac_ext=c
51144 ac_cpp='$CPP $CPPFLAGS'
51145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51154 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51156 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51157 for ac_func in _fabsl
51158 do :
51159 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51160 if test "x$ac_cv_func__fabsl" = x""yes; then :
51161 cat >>confdefs.h <<_ACEOF
51162 #define HAVE__FABSL 1
51163 _ACEOF
51166 done
51175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51176 $as_echo_n "checking for fmodl declaration... " >&6; }
51177 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51178 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51179 $as_echo_n "(cached) " >&6
51180 else
51183 ac_ext=cpp
51184 ac_cpp='$CXXCPP $CPPFLAGS'
51185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51190 /* end confdefs.h. */
51191 #include <math.h>
51193 main ()
51195 fmodl(0, 0);
51197 return 0;
51199 _ACEOF
51200 if ac_fn_cxx_try_compile "$LINENO"; then :
51201 glibcxx_cv_func_fmodl_use=yes
51202 else
51203 glibcxx_cv_func_fmodl_use=no
51205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51206 ac_ext=c
51207 ac_cpp='$CPP $CPPFLAGS'
51208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51217 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51219 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51220 for ac_func in fmodl
51221 do :
51222 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51223 if test "x$ac_cv_func_fmodl" = x""yes; then :
51224 cat >>confdefs.h <<_ACEOF
51225 #define HAVE_FMODL 1
51226 _ACEOF
51229 done
51231 else
51233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51234 $as_echo_n "checking for _fmodl declaration... " >&6; }
51235 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51236 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51237 $as_echo_n "(cached) " >&6
51238 else
51241 ac_ext=cpp
51242 ac_cpp='$CXXCPP $CPPFLAGS'
51243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51248 /* end confdefs.h. */
51249 #include <math.h>
51251 main ()
51253 _fmodl(0, 0);
51255 return 0;
51257 _ACEOF
51258 if ac_fn_cxx_try_compile "$LINENO"; then :
51259 glibcxx_cv_func__fmodl_use=yes
51260 else
51261 glibcxx_cv_func__fmodl_use=no
51263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51264 ac_ext=c
51265 ac_cpp='$CPP $CPPFLAGS'
51266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51275 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51277 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51278 for ac_func in _fmodl
51279 do :
51280 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51281 if test "x$ac_cv_func__fmodl" = x""yes; then :
51282 cat >>confdefs.h <<_ACEOF
51283 #define HAVE__FMODL 1
51284 _ACEOF
51287 done
51296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51297 $as_echo_n "checking for frexpl declaration... " >&6; }
51298 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51299 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51300 $as_echo_n "(cached) " >&6
51301 else
51304 ac_ext=cpp
51305 ac_cpp='$CXXCPP $CPPFLAGS'
51306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51311 /* end confdefs.h. */
51312 #include <math.h>
51314 main ()
51316 frexpl(0, 0);
51318 return 0;
51320 _ACEOF
51321 if ac_fn_cxx_try_compile "$LINENO"; then :
51322 glibcxx_cv_func_frexpl_use=yes
51323 else
51324 glibcxx_cv_func_frexpl_use=no
51326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51327 ac_ext=c
51328 ac_cpp='$CPP $CPPFLAGS'
51329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51338 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51340 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51341 for ac_func in frexpl
51342 do :
51343 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51344 if test "x$ac_cv_func_frexpl" = x""yes; then :
51345 cat >>confdefs.h <<_ACEOF
51346 #define HAVE_FREXPL 1
51347 _ACEOF
51350 done
51352 else
51354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51355 $as_echo_n "checking for _frexpl declaration... " >&6; }
51356 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51357 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51358 $as_echo_n "(cached) " >&6
51359 else
51362 ac_ext=cpp
51363 ac_cpp='$CXXCPP $CPPFLAGS'
51364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51369 /* end confdefs.h. */
51370 #include <math.h>
51372 main ()
51374 _frexpl(0, 0);
51376 return 0;
51378 _ACEOF
51379 if ac_fn_cxx_try_compile "$LINENO"; then :
51380 glibcxx_cv_func__frexpl_use=yes
51381 else
51382 glibcxx_cv_func__frexpl_use=no
51384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51385 ac_ext=c
51386 ac_cpp='$CPP $CPPFLAGS'
51387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51396 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51398 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51399 for ac_func in _frexpl
51400 do :
51401 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51402 if test "x$ac_cv_func__frexpl" = x""yes; then :
51403 cat >>confdefs.h <<_ACEOF
51404 #define HAVE__FREXPL 1
51405 _ACEOF
51408 done
51417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51418 $as_echo_n "checking for hypotl declaration... " >&6; }
51419 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51420 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51421 $as_echo_n "(cached) " >&6
51422 else
51425 ac_ext=cpp
51426 ac_cpp='$CXXCPP $CPPFLAGS'
51427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51432 /* end confdefs.h. */
51433 #include <math.h>
51435 main ()
51437 hypotl(0, 0);
51439 return 0;
51441 _ACEOF
51442 if ac_fn_cxx_try_compile "$LINENO"; then :
51443 glibcxx_cv_func_hypotl_use=yes
51444 else
51445 glibcxx_cv_func_hypotl_use=no
51447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51448 ac_ext=c
51449 ac_cpp='$CPP $CPPFLAGS'
51450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51459 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51461 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51462 for ac_func in hypotl
51463 do :
51464 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51465 if test "x$ac_cv_func_hypotl" = x""yes; then :
51466 cat >>confdefs.h <<_ACEOF
51467 #define HAVE_HYPOTL 1
51468 _ACEOF
51471 done
51473 else
51475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51476 $as_echo_n "checking for _hypotl declaration... " >&6; }
51477 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51478 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51479 $as_echo_n "(cached) " >&6
51480 else
51483 ac_ext=cpp
51484 ac_cpp='$CXXCPP $CPPFLAGS'
51485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51490 /* end confdefs.h. */
51491 #include <math.h>
51493 main ()
51495 _hypotl(0, 0);
51497 return 0;
51499 _ACEOF
51500 if ac_fn_cxx_try_compile "$LINENO"; then :
51501 glibcxx_cv_func__hypotl_use=yes
51502 else
51503 glibcxx_cv_func__hypotl_use=no
51505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51506 ac_ext=c
51507 ac_cpp='$CPP $CPPFLAGS'
51508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51517 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51519 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51520 for ac_func in _hypotl
51521 do :
51522 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51523 if test "x$ac_cv_func__hypotl" = x""yes; then :
51524 cat >>confdefs.h <<_ACEOF
51525 #define HAVE__HYPOTL 1
51526 _ACEOF
51529 done
51538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51539 $as_echo_n "checking for ldexpl declaration... " >&6; }
51540 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51541 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51542 $as_echo_n "(cached) " >&6
51543 else
51546 ac_ext=cpp
51547 ac_cpp='$CXXCPP $CPPFLAGS'
51548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51553 /* end confdefs.h. */
51554 #include <math.h>
51556 main ()
51558 ldexpl(0, 0);
51560 return 0;
51562 _ACEOF
51563 if ac_fn_cxx_try_compile "$LINENO"; then :
51564 glibcxx_cv_func_ldexpl_use=yes
51565 else
51566 glibcxx_cv_func_ldexpl_use=no
51568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51569 ac_ext=c
51570 ac_cpp='$CPP $CPPFLAGS'
51571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51580 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51582 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51583 for ac_func in ldexpl
51584 do :
51585 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51586 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51587 cat >>confdefs.h <<_ACEOF
51588 #define HAVE_LDEXPL 1
51589 _ACEOF
51592 done
51594 else
51596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51597 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51598 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51599 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51600 $as_echo_n "(cached) " >&6
51601 else
51604 ac_ext=cpp
51605 ac_cpp='$CXXCPP $CPPFLAGS'
51606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51611 /* end confdefs.h. */
51612 #include <math.h>
51614 main ()
51616 _ldexpl(0, 0);
51618 return 0;
51620 _ACEOF
51621 if ac_fn_cxx_try_compile "$LINENO"; then :
51622 glibcxx_cv_func__ldexpl_use=yes
51623 else
51624 glibcxx_cv_func__ldexpl_use=no
51626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51627 ac_ext=c
51628 ac_cpp='$CPP $CPPFLAGS'
51629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51638 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51640 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51641 for ac_func in _ldexpl
51642 do :
51643 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51644 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51645 cat >>confdefs.h <<_ACEOF
51646 #define HAVE__LDEXPL 1
51647 _ACEOF
51650 done
51659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51660 $as_echo_n "checking for logl declaration... " >&6; }
51661 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51662 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51663 $as_echo_n "(cached) " >&6
51664 else
51667 ac_ext=cpp
51668 ac_cpp='$CXXCPP $CPPFLAGS'
51669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51674 /* end confdefs.h. */
51675 #include <math.h>
51676 #ifdef HAVE_IEEEFP_H
51677 #include <ieeefp.h>
51678 #endif
51681 main ()
51683 logl(0);
51685 return 0;
51687 _ACEOF
51688 if ac_fn_cxx_try_compile "$LINENO"; then :
51689 glibcxx_cv_func_logl_use=yes
51690 else
51691 glibcxx_cv_func_logl_use=no
51693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51694 ac_ext=c
51695 ac_cpp='$CPP $CPPFLAGS'
51696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51705 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51707 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51708 for ac_func in logl
51709 do :
51710 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51711 if test "x$ac_cv_func_logl" = x""yes; then :
51712 cat >>confdefs.h <<_ACEOF
51713 #define HAVE_LOGL 1
51714 _ACEOF
51717 done
51719 else
51721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51722 $as_echo_n "checking for _logl declaration... " >&6; }
51723 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51724 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51725 $as_echo_n "(cached) " >&6
51726 else
51729 ac_ext=cpp
51730 ac_cpp='$CXXCPP $CPPFLAGS'
51731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51736 /* end confdefs.h. */
51737 #include <math.h>
51738 #ifdef HAVE_IEEEFP_H
51739 #include <ieeefp.h>
51740 #endif
51743 main ()
51745 _logl(0);
51747 return 0;
51749 _ACEOF
51750 if ac_fn_cxx_try_compile "$LINENO"; then :
51751 glibcxx_cv_func__logl_use=yes
51752 else
51753 glibcxx_cv_func__logl_use=no
51755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51756 ac_ext=c
51757 ac_cpp='$CPP $CPPFLAGS'
51758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51767 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51769 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51770 for ac_func in _logl
51771 do :
51772 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51773 if test "x$ac_cv_func__logl" = x""yes; then :
51774 cat >>confdefs.h <<_ACEOF
51775 #define HAVE__LOGL 1
51776 _ACEOF
51779 done
51788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51789 $as_echo_n "checking for log10l declaration... " >&6; }
51790 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51791 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51792 $as_echo_n "(cached) " >&6
51793 else
51796 ac_ext=cpp
51797 ac_cpp='$CXXCPP $CPPFLAGS'
51798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51803 /* end confdefs.h. */
51804 #include <math.h>
51805 #ifdef HAVE_IEEEFP_H
51806 #include <ieeefp.h>
51807 #endif
51810 main ()
51812 log10l(0);
51814 return 0;
51816 _ACEOF
51817 if ac_fn_cxx_try_compile "$LINENO"; then :
51818 glibcxx_cv_func_log10l_use=yes
51819 else
51820 glibcxx_cv_func_log10l_use=no
51822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51823 ac_ext=c
51824 ac_cpp='$CPP $CPPFLAGS'
51825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51834 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51836 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51837 for ac_func in log10l
51838 do :
51839 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51840 if test "x$ac_cv_func_log10l" = x""yes; then :
51841 cat >>confdefs.h <<_ACEOF
51842 #define HAVE_LOG10L 1
51843 _ACEOF
51846 done
51848 else
51850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51851 $as_echo_n "checking for _log10l declaration... " >&6; }
51852 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51853 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51854 $as_echo_n "(cached) " >&6
51855 else
51858 ac_ext=cpp
51859 ac_cpp='$CXXCPP $CPPFLAGS'
51860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51865 /* end confdefs.h. */
51866 #include <math.h>
51867 #ifdef HAVE_IEEEFP_H
51868 #include <ieeefp.h>
51869 #endif
51872 main ()
51874 _log10l(0);
51876 return 0;
51878 _ACEOF
51879 if ac_fn_cxx_try_compile "$LINENO"; then :
51880 glibcxx_cv_func__log10l_use=yes
51881 else
51882 glibcxx_cv_func__log10l_use=no
51884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51885 ac_ext=c
51886 ac_cpp='$CPP $CPPFLAGS'
51887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51896 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51898 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51899 for ac_func in _log10l
51900 do :
51901 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51902 if test "x$ac_cv_func__log10l" = x""yes; then :
51903 cat >>confdefs.h <<_ACEOF
51904 #define HAVE__LOG10L 1
51905 _ACEOF
51908 done
51917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51918 $as_echo_n "checking for modfl declaration... " >&6; }
51919 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51920 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51921 $as_echo_n "(cached) " >&6
51922 else
51925 ac_ext=cpp
51926 ac_cpp='$CXXCPP $CPPFLAGS'
51927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51932 /* end confdefs.h. */
51933 #include <math.h>
51935 main ()
51937 modfl(0, 0);
51939 return 0;
51941 _ACEOF
51942 if ac_fn_cxx_try_compile "$LINENO"; then :
51943 glibcxx_cv_func_modfl_use=yes
51944 else
51945 glibcxx_cv_func_modfl_use=no
51947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51948 ac_ext=c
51949 ac_cpp='$CPP $CPPFLAGS'
51950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51959 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51961 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51962 for ac_func in modfl
51963 do :
51964 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51965 if test "x$ac_cv_func_modfl" = x""yes; then :
51966 cat >>confdefs.h <<_ACEOF
51967 #define HAVE_MODFL 1
51968 _ACEOF
51971 done
51973 else
51975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51976 $as_echo_n "checking for _modfl declaration... " >&6; }
51977 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51978 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51979 $as_echo_n "(cached) " >&6
51980 else
51983 ac_ext=cpp
51984 ac_cpp='$CXXCPP $CPPFLAGS'
51985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51990 /* end confdefs.h. */
51991 #include <math.h>
51993 main ()
51995 _modfl(0, 0);
51997 return 0;
51999 _ACEOF
52000 if ac_fn_cxx_try_compile "$LINENO"; then :
52001 glibcxx_cv_func__modfl_use=yes
52002 else
52003 glibcxx_cv_func__modfl_use=no
52005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52006 ac_ext=c
52007 ac_cpp='$CPP $CPPFLAGS'
52008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52017 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52019 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52020 for ac_func in _modfl
52021 do :
52022 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52023 if test "x$ac_cv_func__modfl" = x""yes; then :
52024 cat >>confdefs.h <<_ACEOF
52025 #define HAVE__MODFL 1
52026 _ACEOF
52029 done
52038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52039 $as_echo_n "checking for powl declaration... " >&6; }
52040 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52041 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52042 $as_echo_n "(cached) " >&6
52043 else
52046 ac_ext=cpp
52047 ac_cpp='$CXXCPP $CPPFLAGS'
52048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52053 /* end confdefs.h. */
52054 #include <math.h>
52056 main ()
52058 powl(0, 0);
52060 return 0;
52062 _ACEOF
52063 if ac_fn_cxx_try_compile "$LINENO"; then :
52064 glibcxx_cv_func_powl_use=yes
52065 else
52066 glibcxx_cv_func_powl_use=no
52068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52069 ac_ext=c
52070 ac_cpp='$CPP $CPPFLAGS'
52071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52080 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52082 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52083 for ac_func in powl
52084 do :
52085 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52086 if test "x$ac_cv_func_powl" = x""yes; then :
52087 cat >>confdefs.h <<_ACEOF
52088 #define HAVE_POWL 1
52089 _ACEOF
52092 done
52094 else
52096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52097 $as_echo_n "checking for _powl declaration... " >&6; }
52098 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52099 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52100 $as_echo_n "(cached) " >&6
52101 else
52104 ac_ext=cpp
52105 ac_cpp='$CXXCPP $CPPFLAGS'
52106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52111 /* end confdefs.h. */
52112 #include <math.h>
52114 main ()
52116 _powl(0, 0);
52118 return 0;
52120 _ACEOF
52121 if ac_fn_cxx_try_compile "$LINENO"; then :
52122 glibcxx_cv_func__powl_use=yes
52123 else
52124 glibcxx_cv_func__powl_use=no
52126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52127 ac_ext=c
52128 ac_cpp='$CPP $CPPFLAGS'
52129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52138 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52140 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52141 for ac_func in _powl
52142 do :
52143 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52144 if test "x$ac_cv_func__powl" = x""yes; then :
52145 cat >>confdefs.h <<_ACEOF
52146 #define HAVE__POWL 1
52147 _ACEOF
52150 done
52159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52160 $as_echo_n "checking for sqrtl declaration... " >&6; }
52161 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52162 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52163 $as_echo_n "(cached) " >&6
52164 else
52167 ac_ext=cpp
52168 ac_cpp='$CXXCPP $CPPFLAGS'
52169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52174 /* end confdefs.h. */
52175 #include <math.h>
52176 #ifdef HAVE_IEEEFP_H
52177 #include <ieeefp.h>
52178 #endif
52181 main ()
52183 sqrtl(0);
52185 return 0;
52187 _ACEOF
52188 if ac_fn_cxx_try_compile "$LINENO"; then :
52189 glibcxx_cv_func_sqrtl_use=yes
52190 else
52191 glibcxx_cv_func_sqrtl_use=no
52193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52194 ac_ext=c
52195 ac_cpp='$CPP $CPPFLAGS'
52196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52205 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52207 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52208 for ac_func in sqrtl
52209 do :
52210 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52211 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52212 cat >>confdefs.h <<_ACEOF
52213 #define HAVE_SQRTL 1
52214 _ACEOF
52217 done
52219 else
52221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52222 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52223 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52224 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52225 $as_echo_n "(cached) " >&6
52226 else
52229 ac_ext=cpp
52230 ac_cpp='$CXXCPP $CPPFLAGS'
52231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52236 /* end confdefs.h. */
52237 #include <math.h>
52238 #ifdef HAVE_IEEEFP_H
52239 #include <ieeefp.h>
52240 #endif
52243 main ()
52245 _sqrtl(0);
52247 return 0;
52249 _ACEOF
52250 if ac_fn_cxx_try_compile "$LINENO"; then :
52251 glibcxx_cv_func__sqrtl_use=yes
52252 else
52253 glibcxx_cv_func__sqrtl_use=no
52255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52256 ac_ext=c
52257 ac_cpp='$CPP $CPPFLAGS'
52258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52267 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52269 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52270 for ac_func in _sqrtl
52271 do :
52272 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52273 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52274 cat >>confdefs.h <<_ACEOF
52275 #define HAVE__SQRTL 1
52276 _ACEOF
52279 done
52288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52289 $as_echo_n "checking for sincosl declaration... " >&6; }
52290 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52291 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52292 $as_echo_n "(cached) " >&6
52293 else
52296 ac_ext=cpp
52297 ac_cpp='$CXXCPP $CPPFLAGS'
52298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52303 /* end confdefs.h. */
52304 #include <math.h>
52306 main ()
52308 sincosl(0, 0, 0);
52310 return 0;
52312 _ACEOF
52313 if ac_fn_cxx_try_compile "$LINENO"; then :
52314 glibcxx_cv_func_sincosl_use=yes
52315 else
52316 glibcxx_cv_func_sincosl_use=no
52318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52319 ac_ext=c
52320 ac_cpp='$CPP $CPPFLAGS'
52321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52330 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52332 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52333 for ac_func in sincosl
52334 do :
52335 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52336 if test "x$ac_cv_func_sincosl" = x""yes; then :
52337 cat >>confdefs.h <<_ACEOF
52338 #define HAVE_SINCOSL 1
52339 _ACEOF
52342 done
52344 else
52346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52347 $as_echo_n "checking for _sincosl declaration... " >&6; }
52348 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52349 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52350 $as_echo_n "(cached) " >&6
52351 else
52354 ac_ext=cpp
52355 ac_cpp='$CXXCPP $CPPFLAGS'
52356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52361 /* end confdefs.h. */
52362 #include <math.h>
52364 main ()
52366 _sincosl(0, 0, 0);
52368 return 0;
52370 _ACEOF
52371 if ac_fn_cxx_try_compile "$LINENO"; then :
52372 glibcxx_cv_func__sincosl_use=yes
52373 else
52374 glibcxx_cv_func__sincosl_use=no
52376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52377 ac_ext=c
52378 ac_cpp='$CPP $CPPFLAGS'
52379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52388 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52390 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52391 for ac_func in _sincosl
52392 do :
52393 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52394 if test "x$ac_cv_func__sincosl" = x""yes; then :
52395 cat >>confdefs.h <<_ACEOF
52396 #define HAVE__SINCOSL 1
52397 _ACEOF
52400 done
52409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52410 $as_echo_n "checking for finitel declaration... " >&6; }
52411 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52412 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52413 $as_echo_n "(cached) " >&6
52414 else
52417 ac_ext=cpp
52418 ac_cpp='$CXXCPP $CPPFLAGS'
52419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52424 /* end confdefs.h. */
52425 #include <math.h>
52426 #ifdef HAVE_IEEEFP_H
52427 #include <ieeefp.h>
52428 #endif
52431 main ()
52433 finitel(0);
52435 return 0;
52437 _ACEOF
52438 if ac_fn_cxx_try_compile "$LINENO"; then :
52439 glibcxx_cv_func_finitel_use=yes
52440 else
52441 glibcxx_cv_func_finitel_use=no
52443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52444 ac_ext=c
52445 ac_cpp='$CPP $CPPFLAGS'
52446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52455 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52457 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52458 for ac_func in finitel
52459 do :
52460 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52461 if test "x$ac_cv_func_finitel" = x""yes; then :
52462 cat >>confdefs.h <<_ACEOF
52463 #define HAVE_FINITEL 1
52464 _ACEOF
52467 done
52469 else
52471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52472 $as_echo_n "checking for _finitel declaration... " >&6; }
52473 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52474 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52475 $as_echo_n "(cached) " >&6
52476 else
52479 ac_ext=cpp
52480 ac_cpp='$CXXCPP $CPPFLAGS'
52481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52486 /* end confdefs.h. */
52487 #include <math.h>
52488 #ifdef HAVE_IEEEFP_H
52489 #include <ieeefp.h>
52490 #endif
52493 main ()
52495 _finitel(0);
52497 return 0;
52499 _ACEOF
52500 if ac_fn_cxx_try_compile "$LINENO"; then :
52501 glibcxx_cv_func__finitel_use=yes
52502 else
52503 glibcxx_cv_func__finitel_use=no
52505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52506 ac_ext=c
52507 ac_cpp='$CPP $CPPFLAGS'
52508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52517 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52519 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52520 for ac_func in _finitel
52521 do :
52522 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52523 if test "x$ac_cv_func__finitel" = x""yes; then :
52524 cat >>confdefs.h <<_ACEOF
52525 #define HAVE__FINITEL 1
52526 _ACEOF
52529 done
52537 LIBS="$ac_save_LIBS"
52538 CXXFLAGS="$ac_save_CXXFLAGS"
52541 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52542 ac_save_CXXFLAGS="$CXXFLAGS"
52543 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52547 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52548 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52549 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52550 $as_echo_n "(cached) " >&6
52551 else
52554 ac_ext=cpp
52555 ac_cpp='$CXXCPP $CPPFLAGS'
52556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52561 /* end confdefs.h. */
52562 #include <stdlib.h>
52564 main ()
52566 at_quick_exit(0);
52568 return 0;
52570 _ACEOF
52571 if ac_fn_cxx_try_compile "$LINENO"; then :
52572 glibcxx_cv_func_at_quick_exit_use=yes
52573 else
52574 glibcxx_cv_func_at_quick_exit_use=no
52576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52577 ac_ext=c
52578 ac_cpp='$CPP $CPPFLAGS'
52579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52588 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52589 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52590 for ac_func in at_quick_exit
52591 do :
52592 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52593 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52594 cat >>confdefs.h <<_ACEOF
52595 #define HAVE_AT_QUICK_EXIT 1
52596 _ACEOF
52599 done
52604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52605 $as_echo_n "checking for quick_exit declaration... " >&6; }
52606 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52607 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52608 $as_echo_n "(cached) " >&6
52609 else
52612 ac_ext=cpp
52613 ac_cpp='$CXXCPP $CPPFLAGS'
52614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52619 /* end confdefs.h. */
52620 #include <stdlib.h>
52622 main ()
52624 quick_exit(0);
52626 return 0;
52628 _ACEOF
52629 if ac_fn_cxx_try_compile "$LINENO"; then :
52630 glibcxx_cv_func_quick_exit_use=yes
52631 else
52632 glibcxx_cv_func_quick_exit_use=no
52634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52635 ac_ext=c
52636 ac_cpp='$CPP $CPPFLAGS'
52637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52646 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52647 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52648 for ac_func in quick_exit
52649 do :
52650 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52651 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52652 cat >>confdefs.h <<_ACEOF
52653 #define HAVE_QUICK_EXIT 1
52654 _ACEOF
52657 done
52662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52663 $as_echo_n "checking for strtold declaration... " >&6; }
52664 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52665 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52666 $as_echo_n "(cached) " >&6
52667 else
52670 ac_ext=cpp
52671 ac_cpp='$CXXCPP $CPPFLAGS'
52672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52677 /* end confdefs.h. */
52678 #include <stdlib.h>
52680 main ()
52682 strtold(0, 0);
52684 return 0;
52686 _ACEOF
52687 if ac_fn_cxx_try_compile "$LINENO"; then :
52688 glibcxx_cv_func_strtold_use=yes
52689 else
52690 glibcxx_cv_func_strtold_use=no
52692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52693 ac_ext=c
52694 ac_cpp='$CPP $CPPFLAGS'
52695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52704 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52705 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52706 for ac_func in strtold
52707 do :
52708 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52709 if test "x$ac_cv_func_strtold" = x""yes; then :
52710 cat >>confdefs.h <<_ACEOF
52711 #define HAVE_STRTOLD 1
52712 _ACEOF
52715 done
52722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52723 $as_echo_n "checking for strtof declaration... " >&6; }
52724 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52725 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52726 $as_echo_n "(cached) " >&6
52727 else
52730 ac_ext=cpp
52731 ac_cpp='$CXXCPP $CPPFLAGS'
52732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52737 /* end confdefs.h. */
52738 #include <stdlib.h>
52740 main ()
52742 strtof(0, 0);
52744 return 0;
52746 _ACEOF
52747 if ac_fn_cxx_try_compile "$LINENO"; then :
52748 glibcxx_cv_func_strtof_use=yes
52749 else
52750 glibcxx_cv_func_strtof_use=no
52752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52753 ac_ext=c
52754 ac_cpp='$CPP $CPPFLAGS'
52755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52764 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52765 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52766 for ac_func in strtof
52767 do :
52768 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52769 if test "x$ac_cv_func_strtof" = x""yes; then :
52770 cat >>confdefs.h <<_ACEOF
52771 #define HAVE_STRTOF 1
52772 _ACEOF
52775 done
52782 CXXFLAGS="$ac_save_CXXFLAGS"
52786 *djgpp)
52787 # GLIBCXX_CHECK_MATH_SUPPORT
52788 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52790 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52792 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52794 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52796 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52800 *-freebsd*)
52801 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52804 # If we're not using GNU ld, then there's no point in even trying these
52805 # tests. Check for that first. We should have already tested for gld
52806 # by now (in libtool), but require it now just to be safe...
52807 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52808 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52812 # The name set by libtool depends on the version of libtool. Shame on us
52813 # for depending on an impl detail, but c'est la vie. Older versions used
52814 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52815 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52816 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52817 # set (hence we're using an older libtool), then set it.
52818 if test x${with_gnu_ld+set} != xset; then
52819 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52820 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52821 with_gnu_ld=no
52822 else
52823 with_gnu_ld=$ac_cv_prog_gnu_ld
52827 # Start by getting the version number. I think the libtool test already
52828 # does some of this, but throws away the result.
52829 glibcxx_ld_is_gold=no
52830 if test x"$with_gnu_ld" = x"yes"; then
52831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52832 $as_echo_n "checking for ld version... " >&6; }
52834 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52835 glibcxx_ld_is_gold=yes
52837 ldver=`$LD --version 2>/dev/null |
52838 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'`
52840 glibcxx_gnu_ld_version=`echo $ldver | \
52841 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52843 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52846 # Set --gc-sections.
52847 glibcxx_have_gc_sections=no
52848 if test "$glibcxx_ld_is_gold" = "yes"; then
52849 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52850 glibcxx_have_gc_sections=yes
52852 else
52853 glibcxx_gcsections_min_ld=21602
52854 if test x"$with_gnu_ld" = x"yes" &&
52855 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52856 glibcxx_have_gc_sections=yes
52859 if test "$glibcxx_have_gc_sections" = "yes"; then
52860 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52861 # NB: This flag only works reliably after 2.16.1. Configure tests
52862 # for this are difficult, so hard wire a value that should work.
52864 ac_test_CFLAGS="${CFLAGS+set}"
52865 ac_save_CFLAGS="$CFLAGS"
52866 CFLAGS='-Wl,--gc-sections'
52868 # Check for -Wl,--gc-sections
52869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52870 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52871 if test x$gcc_no_link = xyes; then
52872 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52875 /* end confdefs.h. */
52876 int one(void) { return 1; }
52877 int two(void) { return 2; }
52880 main ()
52882 two();
52884 return 0;
52886 _ACEOF
52887 if ac_fn_c_try_link "$LINENO"; then :
52888 ac_gcsections=yes
52889 else
52890 ac_gcsections=no
52892 rm -f core conftest.err conftest.$ac_objext \
52893 conftest$ac_exeext conftest.$ac_ext
52894 if test "$ac_gcsections" = "yes"; then
52895 rm -f conftest.c
52896 touch conftest.c
52897 if $CC -c conftest.c; then
52898 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52899 grep "Warning: gc-sections option ignored" > /dev/null; then
52900 ac_gcsections=no
52903 rm -f conftest.c conftest.o conftest
52905 if test "$ac_gcsections" = "yes"; then
52906 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52909 $as_echo "$ac_gcsections" >&6; }
52911 if test "$ac_test_CFLAGS" = set; then
52912 CFLAGS="$ac_save_CFLAGS"
52913 else
52914 # this is the suspicious part
52915 CFLAGS=''
52919 # Set -z,relro.
52920 # Note this is only for shared objects.
52921 ac_ld_relro=no
52922 if test x"$with_gnu_ld" = x"yes"; then
52923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52924 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52925 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52926 if test -n "$cxx_z_relo"; then
52927 OPT_LDFLAGS="-Wl,-z,relro"
52928 ac_ld_relro=yes
52930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52931 $as_echo "$ac_ld_relro" >&6; }
52934 # Set linker optimization flags.
52935 if test x"$with_gnu_ld" = x"yes"; then
52936 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52942 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52944 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52946 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52948 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52950 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52952 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52954 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52956 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52958 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52961 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52963 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52965 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52967 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52969 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52971 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52973 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52975 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52977 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52979 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52981 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52983 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52985 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52987 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52989 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52991 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52993 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52995 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52997 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52999 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53001 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53003 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53005 if test x"long_double_math_on_this_cpu" = x"yes"; then
53006 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53008 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53010 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53014 *-hpux*)
53015 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53018 # If we're not using GNU ld, then there's no point in even trying these
53019 # tests. Check for that first. We should have already tested for gld
53020 # by now (in libtool), but require it now just to be safe...
53021 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53022 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53026 # The name set by libtool depends on the version of libtool. Shame on us
53027 # for depending on an impl detail, but c'est la vie. Older versions used
53028 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53029 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53030 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53031 # set (hence we're using an older libtool), then set it.
53032 if test x${with_gnu_ld+set} != xset; then
53033 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53034 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53035 with_gnu_ld=no
53036 else
53037 with_gnu_ld=$ac_cv_prog_gnu_ld
53041 # Start by getting the version number. I think the libtool test already
53042 # does some of this, but throws away the result.
53043 glibcxx_ld_is_gold=no
53044 if test x"$with_gnu_ld" = x"yes"; then
53045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53046 $as_echo_n "checking for ld version... " >&6; }
53048 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53049 glibcxx_ld_is_gold=yes
53051 ldver=`$LD --version 2>/dev/null |
53052 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'`
53054 glibcxx_gnu_ld_version=`echo $ldver | \
53055 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53057 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53060 # Set --gc-sections.
53061 glibcxx_have_gc_sections=no
53062 if test "$glibcxx_ld_is_gold" = "yes"; then
53063 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53064 glibcxx_have_gc_sections=yes
53066 else
53067 glibcxx_gcsections_min_ld=21602
53068 if test x"$with_gnu_ld" = x"yes" &&
53069 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53070 glibcxx_have_gc_sections=yes
53073 if test "$glibcxx_have_gc_sections" = "yes"; then
53074 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53075 # NB: This flag only works reliably after 2.16.1. Configure tests
53076 # for this are difficult, so hard wire a value that should work.
53078 ac_test_CFLAGS="${CFLAGS+set}"
53079 ac_save_CFLAGS="$CFLAGS"
53080 CFLAGS='-Wl,--gc-sections'
53082 # Check for -Wl,--gc-sections
53083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53084 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53085 if test x$gcc_no_link = xyes; then
53086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53089 /* end confdefs.h. */
53090 int one(void) { return 1; }
53091 int two(void) { return 2; }
53094 main ()
53096 two();
53098 return 0;
53100 _ACEOF
53101 if ac_fn_c_try_link "$LINENO"; then :
53102 ac_gcsections=yes
53103 else
53104 ac_gcsections=no
53106 rm -f core conftest.err conftest.$ac_objext \
53107 conftest$ac_exeext conftest.$ac_ext
53108 if test "$ac_gcsections" = "yes"; then
53109 rm -f conftest.c
53110 touch conftest.c
53111 if $CC -c conftest.c; then
53112 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53113 grep "Warning: gc-sections option ignored" > /dev/null; then
53114 ac_gcsections=no
53117 rm -f conftest.c conftest.o conftest
53119 if test "$ac_gcsections" = "yes"; then
53120 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53123 $as_echo "$ac_gcsections" >&6; }
53125 if test "$ac_test_CFLAGS" = set; then
53126 CFLAGS="$ac_save_CFLAGS"
53127 else
53128 # this is the suspicious part
53129 CFLAGS=''
53133 # Set -z,relro.
53134 # Note this is only for shared objects.
53135 ac_ld_relro=no
53136 if test x"$with_gnu_ld" = x"yes"; then
53137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53138 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53139 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53140 if test -n "$cxx_z_relo"; then
53141 OPT_LDFLAGS="-Wl,-z,relro"
53142 ac_ld_relro=yes
53144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53145 $as_echo "$ac_ld_relro" >&6; }
53148 # Set linker optimization flags.
53149 if test x"$with_gnu_ld" = x"yes"; then
53150 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53157 # GLIBCXX_CHECK_MATH_SUPPORT
53158 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53160 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53162 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53164 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53166 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53168 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53170 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53172 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53174 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53176 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53178 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53180 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53182 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53184 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53186 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53188 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53190 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53192 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53194 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53196 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53198 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53201 # GLIBCXX_CHECK_STDLIB_SUPPORT
53202 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53207 # Check whether --enable-tls was given.
53208 if test "${enable_tls+set}" = set; then :
53209 enableval=$enable_tls;
53210 case "$enableval" in
53211 yes|no) ;;
53212 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53213 esac
53215 else
53216 enable_tls=yes
53220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53221 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53222 if test "${gcc_cv_have_tls+set}" = set; then :
53223 $as_echo_n "(cached) " >&6
53224 else
53226 if test "$cross_compiling" = yes; then :
53227 if test x$gcc_no_link = xyes; then
53228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53231 /* end confdefs.h. */
53232 __thread int a; int b; int main() { return a = b; }
53233 _ACEOF
53234 if ac_fn_c_try_link "$LINENO"; then :
53235 chktls_save_LDFLAGS="$LDFLAGS"
53236 case $host in
53237 *-*-linux*)
53238 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53240 esac
53241 chktls_save_CFLAGS="$CFLAGS"
53242 CFLAGS="-fPIC $CFLAGS"
53243 if test x$gcc_no_link = xyes; then
53244 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53247 /* end confdefs.h. */
53248 int f() { return 0; }
53249 _ACEOF
53250 if ac_fn_c_try_link "$LINENO"; then :
53251 if test x$gcc_no_link = xyes; then
53252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53255 /* end confdefs.h. */
53256 __thread int a; int b; int f() { return a = b; }
53257 _ACEOF
53258 if ac_fn_c_try_link "$LINENO"; then :
53259 gcc_cv_have_tls=yes
53260 else
53261 gcc_cv_have_tls=no
53263 rm -f core conftest.err conftest.$ac_objext \
53264 conftest$ac_exeext conftest.$ac_ext
53265 else
53266 gcc_cv_have_tls=yes
53268 rm -f core conftest.err conftest.$ac_objext \
53269 conftest$ac_exeext conftest.$ac_ext
53270 CFLAGS="$chktls_save_CFLAGS"
53271 LDFLAGS="$chktls_save_LDFLAGS"
53272 else
53273 gcc_cv_have_tls=no
53275 rm -f core conftest.err conftest.$ac_objext \
53276 conftest$ac_exeext conftest.$ac_ext
53279 else
53280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53281 /* end confdefs.h. */
53282 __thread int a; int b; int main() { return a = b; }
53283 _ACEOF
53284 if ac_fn_c_try_run "$LINENO"; then :
53285 chktls_save_LDFLAGS="$LDFLAGS"
53286 LDFLAGS="-static $LDFLAGS"
53287 if test x$gcc_no_link = xyes; then
53288 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53291 /* end confdefs.h. */
53292 int main() { return 0; }
53293 _ACEOF
53294 if ac_fn_c_try_link "$LINENO"; then :
53295 if test "$cross_compiling" = yes; then :
53296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53298 as_fn_error "cannot run test program while cross compiling
53299 See \`config.log' for more details." "$LINENO" 5; }
53300 else
53301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53302 /* end confdefs.h. */
53303 __thread int a; int b; int main() { return a = b; }
53304 _ACEOF
53305 if ac_fn_c_try_run "$LINENO"; then :
53306 gcc_cv_have_tls=yes
53307 else
53308 gcc_cv_have_tls=no
53310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53311 conftest.$ac_objext conftest.beam conftest.$ac_ext
53314 else
53315 gcc_cv_have_tls=yes
53317 rm -f core conftest.err conftest.$ac_objext \
53318 conftest$ac_exeext conftest.$ac_ext
53319 LDFLAGS="$chktls_save_LDFLAGS"
53320 if test $gcc_cv_have_tls = yes; then
53321 chktls_save_CFLAGS="$CFLAGS"
53322 thread_CFLAGS=failed
53323 for flag in '' '-pthread' '-lpthread'; do
53324 CFLAGS="$flag $chktls_save_CFLAGS"
53325 if test x$gcc_no_link = xyes; then
53326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53329 /* end confdefs.h. */
53330 #include <pthread.h>
53331 void *g(void *d) { return NULL; }
53333 main ()
53335 pthread_t t; pthread_create(&t,NULL,g,NULL);
53337 return 0;
53339 _ACEOF
53340 if ac_fn_c_try_link "$LINENO"; then :
53341 thread_CFLAGS="$flag"
53343 rm -f core conftest.err conftest.$ac_objext \
53344 conftest$ac_exeext conftest.$ac_ext
53345 if test "X$thread_CFLAGS" != Xfailed; then
53346 break
53348 done
53349 CFLAGS="$chktls_save_CFLAGS"
53350 if test "X$thread_CFLAGS" != Xfailed; then
53351 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53352 if test "$cross_compiling" = yes; then :
53353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53355 as_fn_error "cannot run test program while cross compiling
53356 See \`config.log' for more details." "$LINENO" 5; }
53357 else
53358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53359 /* end confdefs.h. */
53360 #include <pthread.h>
53361 __thread int a;
53362 static int *volatile a_in_other_thread;
53363 static void *
53364 thread_func (void *arg)
53366 a_in_other_thread = &a;
53367 return (void *)0;
53370 main ()
53372 pthread_t thread;
53373 void *thread_retval;
53374 int *volatile a_in_main_thread;
53375 a_in_main_thread = &a;
53376 if (pthread_create (&thread, (pthread_attr_t *)0,
53377 thread_func, (void *)0))
53378 return 0;
53379 if (pthread_join (thread, &thread_retval))
53380 return 0;
53381 return (a_in_other_thread == a_in_main_thread);
53383 return 0;
53385 _ACEOF
53386 if ac_fn_c_try_run "$LINENO"; then :
53387 gcc_cv_have_tls=yes
53388 else
53389 gcc_cv_have_tls=no
53391 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53392 conftest.$ac_objext conftest.beam conftest.$ac_ext
53395 CFLAGS="$chktls_save_CFLAGS"
53398 else
53399 gcc_cv_have_tls=no
53401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53402 conftest.$ac_objext conftest.beam conftest.$ac_ext
53406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53407 $as_echo "$gcc_cv_have_tls" >&6; }
53408 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53410 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53413 case "$target" in
53414 *-hpux10*)
53415 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53417 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53419 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53421 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53423 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53426 esac
53428 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
53430 # All these tests are for C++; save the language and the compiler flags.
53431 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53432 # found in GLIBCXX_CONFIGURE.
53434 ac_ext=cpp
53435 ac_cpp='$CXXCPP $CPPFLAGS'
53436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53440 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53441 ac_save_CXXFLAGS="$CXXFLAGS"
53443 # Check for maintainer-mode bits.
53444 if test x"$USE_MAINTAINER_MODE" = xno; then
53445 WERROR=''
53446 else
53447 WERROR='-Werror'
53450 # Check for -ffunction-sections -fdata-sections
53451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53452 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53453 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53455 /* end confdefs.h. */
53456 int foo; void bar() { };
53458 main ()
53462 return 0;
53464 _ACEOF
53465 if ac_fn_cxx_try_compile "$LINENO"; then :
53466 ac_fdsections=yes
53467 else
53468 ac_fdsections=no
53470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53471 if test "$ac_test_CXXFLAGS" = set; then
53472 CXXFLAGS="$ac_save_CXXFLAGS"
53473 else
53474 # this is the suspicious part
53475 CXXFLAGS=''
53477 if test x"$ac_fdsections" = x"yes"; then
53478 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53481 $as_echo "$ac_fdsections" >&6; }
53483 ac_ext=c
53484 ac_cpp='$CPP $CPPFLAGS'
53485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53493 # If we're not using GNU ld, then there's no point in even trying these
53494 # tests. Check for that first. We should have already tested for gld
53495 # by now (in libtool), but require it now just to be safe...
53496 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53497 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53501 # The name set by libtool depends on the version of libtool. Shame on us
53502 # for depending on an impl detail, but c'est la vie. Older versions used
53503 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53504 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53505 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53506 # set (hence we're using an older libtool), then set it.
53507 if test x${with_gnu_ld+set} != xset; then
53508 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53509 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53510 with_gnu_ld=no
53511 else
53512 with_gnu_ld=$ac_cv_prog_gnu_ld
53516 # Start by getting the version number. I think the libtool test already
53517 # does some of this, but throws away the result.
53518 glibcxx_ld_is_gold=no
53519 if test x"$with_gnu_ld" = x"yes"; then
53520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53521 $as_echo_n "checking for ld version... " >&6; }
53523 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53524 glibcxx_ld_is_gold=yes
53526 ldver=`$LD --version 2>/dev/null |
53527 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'`
53529 glibcxx_gnu_ld_version=`echo $ldver | \
53530 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53532 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53535 # Set --gc-sections.
53536 glibcxx_have_gc_sections=no
53537 if test "$glibcxx_ld_is_gold" = "yes"; then
53538 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53539 glibcxx_have_gc_sections=yes
53541 else
53542 glibcxx_gcsections_min_ld=21602
53543 if test x"$with_gnu_ld" = x"yes" &&
53544 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53545 glibcxx_have_gc_sections=yes
53548 if test "$glibcxx_have_gc_sections" = "yes"; then
53549 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53550 # NB: This flag only works reliably after 2.16.1. Configure tests
53551 # for this are difficult, so hard wire a value that should work.
53553 ac_test_CFLAGS="${CFLAGS+set}"
53554 ac_save_CFLAGS="$CFLAGS"
53555 CFLAGS='-Wl,--gc-sections'
53557 # Check for -Wl,--gc-sections
53558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53559 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53560 if test x$gcc_no_link = xyes; then
53561 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53564 /* end confdefs.h. */
53565 int one(void) { return 1; }
53566 int two(void) { return 2; }
53569 main ()
53571 two();
53573 return 0;
53575 _ACEOF
53576 if ac_fn_c_try_link "$LINENO"; then :
53577 ac_gcsections=yes
53578 else
53579 ac_gcsections=no
53581 rm -f core conftest.err conftest.$ac_objext \
53582 conftest$ac_exeext conftest.$ac_ext
53583 if test "$ac_gcsections" = "yes"; then
53584 rm -f conftest.c
53585 touch conftest.c
53586 if $CC -c conftest.c; then
53587 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53588 grep "Warning: gc-sections option ignored" > /dev/null; then
53589 ac_gcsections=no
53592 rm -f conftest.c conftest.o conftest
53594 if test "$ac_gcsections" = "yes"; then
53595 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53598 $as_echo "$ac_gcsections" >&6; }
53600 if test "$ac_test_CFLAGS" = set; then
53601 CFLAGS="$ac_save_CFLAGS"
53602 else
53603 # this is the suspicious part
53604 CFLAGS=''
53608 # Set -z,relro.
53609 # Note this is only for shared objects.
53610 ac_ld_relro=no
53611 if test x"$with_gnu_ld" = x"yes"; then
53612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53613 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53614 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53615 if test -n "$cxx_z_relo"; then
53616 OPT_LDFLAGS="-Wl,-z,relro"
53617 ac_ld_relro=yes
53619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53620 $as_echo "$ac_ld_relro" >&6; }
53623 # Set linker optimization flags.
53624 if test x"$with_gnu_ld" = x"yes"; then
53625 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53632 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53633 ac_save_CXXFLAGS="$CXXFLAGS"
53634 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53637 $as_echo_n "checking for sin in -lm... " >&6; }
53638 if test "${ac_cv_lib_m_sin+set}" = set; then :
53639 $as_echo_n "(cached) " >&6
53640 else
53641 ac_check_lib_save_LIBS=$LIBS
53642 LIBS="-lm $LIBS"
53643 if test x$gcc_no_link = xyes; then
53644 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53647 /* end confdefs.h. */
53649 /* Override any GCC internal prototype to avoid an error.
53650 Use char because int might match the return type of a GCC
53651 builtin and then its argument prototype would still apply. */
53652 #ifdef __cplusplus
53653 extern "C"
53654 #endif
53655 char sin ();
53657 main ()
53659 return sin ();
53661 return 0;
53663 _ACEOF
53664 if ac_fn_c_try_link "$LINENO"; then :
53665 ac_cv_lib_m_sin=yes
53666 else
53667 ac_cv_lib_m_sin=no
53669 rm -f core conftest.err conftest.$ac_objext \
53670 conftest$ac_exeext conftest.$ac_ext
53671 LIBS=$ac_check_lib_save_LIBS
53673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53674 $as_echo "$ac_cv_lib_m_sin" >&6; }
53675 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53676 libm="-lm"
53679 ac_save_LIBS="$LIBS"
53680 LIBS="$LIBS $libm"
53684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
53685 $as_echo_n "checking for isinf declaration... " >&6; }
53686 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53687 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
53688 $as_echo_n "(cached) " >&6
53689 else
53692 ac_ext=cpp
53693 ac_cpp='$CXXCPP $CPPFLAGS'
53694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53699 /* end confdefs.h. */
53700 #include <math.h>
53701 #ifdef HAVE_IEEEFP_H
53702 #include <ieeefp.h>
53703 #endif
53706 main ()
53708 isinf(0);
53710 return 0;
53712 _ACEOF
53713 if ac_fn_cxx_try_compile "$LINENO"; then :
53714 glibcxx_cv_func_isinf_use=yes
53715 else
53716 glibcxx_cv_func_isinf_use=no
53718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53719 ac_ext=c
53720 ac_cpp='$CPP $CPPFLAGS'
53721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
53730 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
53732 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53733 for ac_func in isinf
53734 do :
53735 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
53736 if test "x$ac_cv_func_isinf" = x""yes; then :
53737 cat >>confdefs.h <<_ACEOF
53738 #define HAVE_ISINF 1
53739 _ACEOF
53742 done
53744 else
53746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
53747 $as_echo_n "checking for _isinf declaration... " >&6; }
53748 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53749 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
53750 $as_echo_n "(cached) " >&6
53751 else
53754 ac_ext=cpp
53755 ac_cpp='$CXXCPP $CPPFLAGS'
53756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53761 /* end confdefs.h. */
53762 #include <math.h>
53763 #ifdef HAVE_IEEEFP_H
53764 #include <ieeefp.h>
53765 #endif
53768 main ()
53770 _isinf(0);
53772 return 0;
53774 _ACEOF
53775 if ac_fn_cxx_try_compile "$LINENO"; then :
53776 glibcxx_cv_func__isinf_use=yes
53777 else
53778 glibcxx_cv_func__isinf_use=no
53780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53781 ac_ext=c
53782 ac_cpp='$CPP $CPPFLAGS'
53783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53792 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53794 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53795 for ac_func in _isinf
53796 do :
53797 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53798 if test "x$ac_cv_func__isinf" = x""yes; then :
53799 cat >>confdefs.h <<_ACEOF
53800 #define HAVE__ISINF 1
53801 _ACEOF
53804 done
53813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53814 $as_echo_n "checking for isnan declaration... " >&6; }
53815 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53816 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53817 $as_echo_n "(cached) " >&6
53818 else
53821 ac_ext=cpp
53822 ac_cpp='$CXXCPP $CPPFLAGS'
53823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53828 /* end confdefs.h. */
53829 #include <math.h>
53830 #ifdef HAVE_IEEEFP_H
53831 #include <ieeefp.h>
53832 #endif
53835 main ()
53837 isnan(0);
53839 return 0;
53841 _ACEOF
53842 if ac_fn_cxx_try_compile "$LINENO"; then :
53843 glibcxx_cv_func_isnan_use=yes
53844 else
53845 glibcxx_cv_func_isnan_use=no
53847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53848 ac_ext=c
53849 ac_cpp='$CPP $CPPFLAGS'
53850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53859 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53861 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53862 for ac_func in isnan
53863 do :
53864 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53865 if test "x$ac_cv_func_isnan" = x""yes; then :
53866 cat >>confdefs.h <<_ACEOF
53867 #define HAVE_ISNAN 1
53868 _ACEOF
53871 done
53873 else
53875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53876 $as_echo_n "checking for _isnan declaration... " >&6; }
53877 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53878 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53879 $as_echo_n "(cached) " >&6
53880 else
53883 ac_ext=cpp
53884 ac_cpp='$CXXCPP $CPPFLAGS'
53885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53890 /* end confdefs.h. */
53891 #include <math.h>
53892 #ifdef HAVE_IEEEFP_H
53893 #include <ieeefp.h>
53894 #endif
53897 main ()
53899 _isnan(0);
53901 return 0;
53903 _ACEOF
53904 if ac_fn_cxx_try_compile "$LINENO"; then :
53905 glibcxx_cv_func__isnan_use=yes
53906 else
53907 glibcxx_cv_func__isnan_use=no
53909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53910 ac_ext=c
53911 ac_cpp='$CPP $CPPFLAGS'
53912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53921 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53923 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53924 for ac_func in _isnan
53925 do :
53926 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53927 if test "x$ac_cv_func__isnan" = x""yes; then :
53928 cat >>confdefs.h <<_ACEOF
53929 #define HAVE__ISNAN 1
53930 _ACEOF
53933 done
53942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53943 $as_echo_n "checking for finite declaration... " >&6; }
53944 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53945 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53946 $as_echo_n "(cached) " >&6
53947 else
53950 ac_ext=cpp
53951 ac_cpp='$CXXCPP $CPPFLAGS'
53952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53957 /* end confdefs.h. */
53958 #include <math.h>
53959 #ifdef HAVE_IEEEFP_H
53960 #include <ieeefp.h>
53961 #endif
53964 main ()
53966 finite(0);
53968 return 0;
53970 _ACEOF
53971 if ac_fn_cxx_try_compile "$LINENO"; then :
53972 glibcxx_cv_func_finite_use=yes
53973 else
53974 glibcxx_cv_func_finite_use=no
53976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53977 ac_ext=c
53978 ac_cpp='$CPP $CPPFLAGS'
53979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53988 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53990 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53991 for ac_func in finite
53992 do :
53993 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53994 if test "x$ac_cv_func_finite" = x""yes; then :
53995 cat >>confdefs.h <<_ACEOF
53996 #define HAVE_FINITE 1
53997 _ACEOF
54000 done
54002 else
54004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54005 $as_echo_n "checking for _finite declaration... " >&6; }
54006 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54007 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54008 $as_echo_n "(cached) " >&6
54009 else
54012 ac_ext=cpp
54013 ac_cpp='$CXXCPP $CPPFLAGS'
54014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54019 /* end confdefs.h. */
54020 #include <math.h>
54021 #ifdef HAVE_IEEEFP_H
54022 #include <ieeefp.h>
54023 #endif
54026 main ()
54028 _finite(0);
54030 return 0;
54032 _ACEOF
54033 if ac_fn_cxx_try_compile "$LINENO"; then :
54034 glibcxx_cv_func__finite_use=yes
54035 else
54036 glibcxx_cv_func__finite_use=no
54038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54039 ac_ext=c
54040 ac_cpp='$CPP $CPPFLAGS'
54041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54050 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54052 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54053 for ac_func in _finite
54054 do :
54055 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54056 if test "x$ac_cv_func__finite" = x""yes; then :
54057 cat >>confdefs.h <<_ACEOF
54058 #define HAVE__FINITE 1
54059 _ACEOF
54062 done
54071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54072 $as_echo_n "checking for sincos declaration... " >&6; }
54073 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54074 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54075 $as_echo_n "(cached) " >&6
54076 else
54079 ac_ext=cpp
54080 ac_cpp='$CXXCPP $CPPFLAGS'
54081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54086 /* end confdefs.h. */
54087 #include <math.h>
54089 main ()
54091 sincos(0, 0, 0);
54093 return 0;
54095 _ACEOF
54096 if ac_fn_cxx_try_compile "$LINENO"; then :
54097 glibcxx_cv_func_sincos_use=yes
54098 else
54099 glibcxx_cv_func_sincos_use=no
54101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54102 ac_ext=c
54103 ac_cpp='$CPP $CPPFLAGS'
54104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54113 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54115 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54116 for ac_func in sincos
54117 do :
54118 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54119 if test "x$ac_cv_func_sincos" = x""yes; then :
54120 cat >>confdefs.h <<_ACEOF
54121 #define HAVE_SINCOS 1
54122 _ACEOF
54125 done
54127 else
54129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54130 $as_echo_n "checking for _sincos declaration... " >&6; }
54131 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54132 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54133 $as_echo_n "(cached) " >&6
54134 else
54137 ac_ext=cpp
54138 ac_cpp='$CXXCPP $CPPFLAGS'
54139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54144 /* end confdefs.h. */
54145 #include <math.h>
54147 main ()
54149 _sincos(0, 0, 0);
54151 return 0;
54153 _ACEOF
54154 if ac_fn_cxx_try_compile "$LINENO"; then :
54155 glibcxx_cv_func__sincos_use=yes
54156 else
54157 glibcxx_cv_func__sincos_use=no
54159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54160 ac_ext=c
54161 ac_cpp='$CPP $CPPFLAGS'
54162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54171 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54173 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54174 for ac_func in _sincos
54175 do :
54176 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54177 if test "x$ac_cv_func__sincos" = x""yes; then :
54178 cat >>confdefs.h <<_ACEOF
54179 #define HAVE__SINCOS 1
54180 _ACEOF
54183 done
54192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54193 $as_echo_n "checking for fpclass declaration... " >&6; }
54194 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54195 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54196 $as_echo_n "(cached) " >&6
54197 else
54200 ac_ext=cpp
54201 ac_cpp='$CXXCPP $CPPFLAGS'
54202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54207 /* end confdefs.h. */
54208 #include <math.h>
54209 #ifdef HAVE_IEEEFP_H
54210 #include <ieeefp.h>
54211 #endif
54214 main ()
54216 fpclass(0);
54218 return 0;
54220 _ACEOF
54221 if ac_fn_cxx_try_compile "$LINENO"; then :
54222 glibcxx_cv_func_fpclass_use=yes
54223 else
54224 glibcxx_cv_func_fpclass_use=no
54226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54227 ac_ext=c
54228 ac_cpp='$CPP $CPPFLAGS'
54229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54238 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54240 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54241 for ac_func in fpclass
54242 do :
54243 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54244 if test "x$ac_cv_func_fpclass" = x""yes; then :
54245 cat >>confdefs.h <<_ACEOF
54246 #define HAVE_FPCLASS 1
54247 _ACEOF
54250 done
54252 else
54254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54255 $as_echo_n "checking for _fpclass declaration... " >&6; }
54256 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54257 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54258 $as_echo_n "(cached) " >&6
54259 else
54262 ac_ext=cpp
54263 ac_cpp='$CXXCPP $CPPFLAGS'
54264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54269 /* end confdefs.h. */
54270 #include <math.h>
54271 #ifdef HAVE_IEEEFP_H
54272 #include <ieeefp.h>
54273 #endif
54276 main ()
54278 _fpclass(0);
54280 return 0;
54282 _ACEOF
54283 if ac_fn_cxx_try_compile "$LINENO"; then :
54284 glibcxx_cv_func__fpclass_use=yes
54285 else
54286 glibcxx_cv_func__fpclass_use=no
54288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54289 ac_ext=c
54290 ac_cpp='$CPP $CPPFLAGS'
54291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54300 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54302 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54303 for ac_func in _fpclass
54304 do :
54305 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54306 if test "x$ac_cv_func__fpclass" = x""yes; then :
54307 cat >>confdefs.h <<_ACEOF
54308 #define HAVE__FPCLASS 1
54309 _ACEOF
54312 done
54321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54322 $as_echo_n "checking for qfpclass declaration... " >&6; }
54323 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54324 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54325 $as_echo_n "(cached) " >&6
54326 else
54329 ac_ext=cpp
54330 ac_cpp='$CXXCPP $CPPFLAGS'
54331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54336 /* end confdefs.h. */
54337 #include <math.h>
54338 #ifdef HAVE_IEEEFP_H
54339 #include <ieeefp.h>
54340 #endif
54343 main ()
54345 qfpclass(0);
54347 return 0;
54349 _ACEOF
54350 if ac_fn_cxx_try_compile "$LINENO"; then :
54351 glibcxx_cv_func_qfpclass_use=yes
54352 else
54353 glibcxx_cv_func_qfpclass_use=no
54355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54356 ac_ext=c
54357 ac_cpp='$CPP $CPPFLAGS'
54358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54367 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54369 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54370 for ac_func in qfpclass
54371 do :
54372 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54373 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54374 cat >>confdefs.h <<_ACEOF
54375 #define HAVE_QFPCLASS 1
54376 _ACEOF
54379 done
54381 else
54383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54384 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54385 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54386 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54387 $as_echo_n "(cached) " >&6
54388 else
54391 ac_ext=cpp
54392 ac_cpp='$CXXCPP $CPPFLAGS'
54393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54398 /* end confdefs.h. */
54399 #include <math.h>
54400 #ifdef HAVE_IEEEFP_H
54401 #include <ieeefp.h>
54402 #endif
54405 main ()
54407 _qfpclass(0);
54409 return 0;
54411 _ACEOF
54412 if ac_fn_cxx_try_compile "$LINENO"; then :
54413 glibcxx_cv_func__qfpclass_use=yes
54414 else
54415 glibcxx_cv_func__qfpclass_use=no
54417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54418 ac_ext=c
54419 ac_cpp='$CPP $CPPFLAGS'
54420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54429 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54431 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54432 for ac_func in _qfpclass
54433 do :
54434 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54435 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54436 cat >>confdefs.h <<_ACEOF
54437 #define HAVE__QFPCLASS 1
54438 _ACEOF
54441 done
54450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54451 $as_echo_n "checking for hypot declaration... " >&6; }
54452 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54453 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54454 $as_echo_n "(cached) " >&6
54455 else
54458 ac_ext=cpp
54459 ac_cpp='$CXXCPP $CPPFLAGS'
54460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54465 /* end confdefs.h. */
54466 #include <math.h>
54468 main ()
54470 hypot(0, 0);
54472 return 0;
54474 _ACEOF
54475 if ac_fn_cxx_try_compile "$LINENO"; then :
54476 glibcxx_cv_func_hypot_use=yes
54477 else
54478 glibcxx_cv_func_hypot_use=no
54480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54481 ac_ext=c
54482 ac_cpp='$CPP $CPPFLAGS'
54483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54492 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54494 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54495 for ac_func in hypot
54496 do :
54497 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54498 if test "x$ac_cv_func_hypot" = x""yes; then :
54499 cat >>confdefs.h <<_ACEOF
54500 #define HAVE_HYPOT 1
54501 _ACEOF
54504 done
54506 else
54508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54509 $as_echo_n "checking for _hypot declaration... " >&6; }
54510 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54511 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54512 $as_echo_n "(cached) " >&6
54513 else
54516 ac_ext=cpp
54517 ac_cpp='$CXXCPP $CPPFLAGS'
54518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54523 /* end confdefs.h. */
54524 #include <math.h>
54526 main ()
54528 _hypot(0, 0);
54530 return 0;
54532 _ACEOF
54533 if ac_fn_cxx_try_compile "$LINENO"; then :
54534 glibcxx_cv_func__hypot_use=yes
54535 else
54536 glibcxx_cv_func__hypot_use=no
54538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54539 ac_ext=c
54540 ac_cpp='$CPP $CPPFLAGS'
54541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54550 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54552 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54553 for ac_func in _hypot
54554 do :
54555 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54556 if test "x$ac_cv_func__hypot" = x""yes; then :
54557 cat >>confdefs.h <<_ACEOF
54558 #define HAVE__HYPOT 1
54559 _ACEOF
54562 done
54571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54572 $as_echo_n "checking for float trig functions... " >&6; }
54573 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54574 $as_echo_n "(cached) " >&6
54575 else
54578 ac_ext=cpp
54579 ac_cpp='$CXXCPP $CPPFLAGS'
54580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54585 /* end confdefs.h. */
54586 #include <math.h>
54588 main ()
54590 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54592 return 0;
54594 _ACEOF
54595 if ac_fn_cxx_try_compile "$LINENO"; then :
54596 glibcxx_cv_func_float_trig_use=yes
54597 else
54598 glibcxx_cv_func_float_trig_use=no
54600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54601 ac_ext=c
54602 ac_cpp='$CPP $CPPFLAGS'
54603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54610 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54611 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54612 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54613 do :
54614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54616 eval as_val=\$$as_ac_var
54617 if test "x$as_val" = x""yes; then :
54618 cat >>confdefs.h <<_ACEOF
54619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54620 _ACEOF
54623 done
54625 else
54626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54627 $as_echo_n "checking for _float trig functions... " >&6; }
54628 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54629 $as_echo_n "(cached) " >&6
54630 else
54633 ac_ext=cpp
54634 ac_cpp='$CXXCPP $CPPFLAGS'
54635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54640 /* end confdefs.h. */
54641 #include <math.h>
54643 main ()
54645 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54647 return 0;
54649 _ACEOF
54650 if ac_fn_cxx_try_compile "$LINENO"; then :
54651 glibcxx_cv_func__float_trig_use=yes
54652 else
54653 glibcxx_cv_func__float_trig_use=no
54655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54656 ac_ext=c
54657 ac_cpp='$CPP $CPPFLAGS'
54658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54665 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54666 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54667 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54668 do :
54669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54671 eval as_val=\$$as_ac_var
54672 if test "x$as_val" = x""yes; then :
54673 cat >>confdefs.h <<_ACEOF
54674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54675 _ACEOF
54678 done
54687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
54688 $as_echo_n "checking for float round functions... " >&6; }
54689 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
54690 $as_echo_n "(cached) " >&6
54691 else
54694 ac_ext=cpp
54695 ac_cpp='$CXXCPP $CPPFLAGS'
54696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54701 /* end confdefs.h. */
54702 #include <math.h>
54704 main ()
54706 ceilf (0); floorf (0);
54708 return 0;
54710 _ACEOF
54711 if ac_fn_cxx_try_compile "$LINENO"; then :
54712 glibcxx_cv_func_float_round_use=yes
54713 else
54714 glibcxx_cv_func_float_round_use=no
54716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54717 ac_ext=c
54718 ac_cpp='$CPP $CPPFLAGS'
54719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
54726 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
54727 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
54728 for ac_func in ceilf floorf
54729 do :
54730 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54732 eval as_val=\$$as_ac_var
54733 if test "x$as_val" = x""yes; then :
54734 cat >>confdefs.h <<_ACEOF
54735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54736 _ACEOF
54739 done
54741 else
54742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
54743 $as_echo_n "checking for _float round functions... " >&6; }
54744 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
54745 $as_echo_n "(cached) " >&6
54746 else
54749 ac_ext=cpp
54750 ac_cpp='$CXXCPP $CPPFLAGS'
54751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54756 /* end confdefs.h. */
54757 #include <math.h>
54759 main ()
54761 _ceilf (0); _floorf (0);
54763 return 0;
54765 _ACEOF
54766 if ac_fn_cxx_try_compile "$LINENO"; then :
54767 glibcxx_cv_func__float_round_use=yes
54768 else
54769 glibcxx_cv_func__float_round_use=no
54771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54772 ac_ext=c
54773 ac_cpp='$CPP $CPPFLAGS'
54774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
54781 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
54782 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
54783 for ac_func in _ceilf _floorf
54784 do :
54785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54787 eval as_val=\$$as_ac_var
54788 if test "x$as_val" = x""yes; then :
54789 cat >>confdefs.h <<_ACEOF
54790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54791 _ACEOF
54794 done
54804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54805 $as_echo_n "checking for expf declaration... " >&6; }
54806 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54807 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54808 $as_echo_n "(cached) " >&6
54809 else
54812 ac_ext=cpp
54813 ac_cpp='$CXXCPP $CPPFLAGS'
54814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54819 /* end confdefs.h. */
54820 #include <math.h>
54821 #ifdef HAVE_IEEEFP_H
54822 #include <ieeefp.h>
54823 #endif
54826 main ()
54828 expf(0);
54830 return 0;
54832 _ACEOF
54833 if ac_fn_cxx_try_compile "$LINENO"; then :
54834 glibcxx_cv_func_expf_use=yes
54835 else
54836 glibcxx_cv_func_expf_use=no
54838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54839 ac_ext=c
54840 ac_cpp='$CPP $CPPFLAGS'
54841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54850 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54852 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54853 for ac_func in expf
54854 do :
54855 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54856 if test "x$ac_cv_func_expf" = x""yes; then :
54857 cat >>confdefs.h <<_ACEOF
54858 #define HAVE_EXPF 1
54859 _ACEOF
54862 done
54864 else
54866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54867 $as_echo_n "checking for _expf declaration... " >&6; }
54868 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54869 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54870 $as_echo_n "(cached) " >&6
54871 else
54874 ac_ext=cpp
54875 ac_cpp='$CXXCPP $CPPFLAGS'
54876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54881 /* end confdefs.h. */
54882 #include <math.h>
54883 #ifdef HAVE_IEEEFP_H
54884 #include <ieeefp.h>
54885 #endif
54888 main ()
54890 _expf(0);
54892 return 0;
54894 _ACEOF
54895 if ac_fn_cxx_try_compile "$LINENO"; then :
54896 glibcxx_cv_func__expf_use=yes
54897 else
54898 glibcxx_cv_func__expf_use=no
54900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54901 ac_ext=c
54902 ac_cpp='$CPP $CPPFLAGS'
54903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54912 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54914 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54915 for ac_func in _expf
54916 do :
54917 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54918 if test "x$ac_cv_func__expf" = x""yes; then :
54919 cat >>confdefs.h <<_ACEOF
54920 #define HAVE__EXPF 1
54921 _ACEOF
54924 done
54933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54934 $as_echo_n "checking for isnanf declaration... " >&6; }
54935 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54936 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54937 $as_echo_n "(cached) " >&6
54938 else
54941 ac_ext=cpp
54942 ac_cpp='$CXXCPP $CPPFLAGS'
54943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54948 /* end confdefs.h. */
54949 #include <math.h>
54950 #ifdef HAVE_IEEEFP_H
54951 #include <ieeefp.h>
54952 #endif
54955 main ()
54957 isnanf(0);
54959 return 0;
54961 _ACEOF
54962 if ac_fn_cxx_try_compile "$LINENO"; then :
54963 glibcxx_cv_func_isnanf_use=yes
54964 else
54965 glibcxx_cv_func_isnanf_use=no
54967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54968 ac_ext=c
54969 ac_cpp='$CPP $CPPFLAGS'
54970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54979 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54981 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54982 for ac_func in isnanf
54983 do :
54984 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54985 if test "x$ac_cv_func_isnanf" = x""yes; then :
54986 cat >>confdefs.h <<_ACEOF
54987 #define HAVE_ISNANF 1
54988 _ACEOF
54991 done
54993 else
54995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54996 $as_echo_n "checking for _isnanf declaration... " >&6; }
54997 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54998 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54999 $as_echo_n "(cached) " >&6
55000 else
55003 ac_ext=cpp
55004 ac_cpp='$CXXCPP $CPPFLAGS'
55005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55010 /* end confdefs.h. */
55011 #include <math.h>
55012 #ifdef HAVE_IEEEFP_H
55013 #include <ieeefp.h>
55014 #endif
55017 main ()
55019 _isnanf(0);
55021 return 0;
55023 _ACEOF
55024 if ac_fn_cxx_try_compile "$LINENO"; then :
55025 glibcxx_cv_func__isnanf_use=yes
55026 else
55027 glibcxx_cv_func__isnanf_use=no
55029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55030 ac_ext=c
55031 ac_cpp='$CPP $CPPFLAGS'
55032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55041 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55043 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55044 for ac_func in _isnanf
55045 do :
55046 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55047 if test "x$ac_cv_func__isnanf" = x""yes; then :
55048 cat >>confdefs.h <<_ACEOF
55049 #define HAVE__ISNANF 1
55050 _ACEOF
55053 done
55062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55063 $as_echo_n "checking for isinff declaration... " >&6; }
55064 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55065 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55066 $as_echo_n "(cached) " >&6
55067 else
55070 ac_ext=cpp
55071 ac_cpp='$CXXCPP $CPPFLAGS'
55072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55077 /* end confdefs.h. */
55078 #include <math.h>
55079 #ifdef HAVE_IEEEFP_H
55080 #include <ieeefp.h>
55081 #endif
55084 main ()
55086 isinff(0);
55088 return 0;
55090 _ACEOF
55091 if ac_fn_cxx_try_compile "$LINENO"; then :
55092 glibcxx_cv_func_isinff_use=yes
55093 else
55094 glibcxx_cv_func_isinff_use=no
55096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55097 ac_ext=c
55098 ac_cpp='$CPP $CPPFLAGS'
55099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55108 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55110 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55111 for ac_func in isinff
55112 do :
55113 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55114 if test "x$ac_cv_func_isinff" = x""yes; then :
55115 cat >>confdefs.h <<_ACEOF
55116 #define HAVE_ISINFF 1
55117 _ACEOF
55120 done
55122 else
55124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55125 $as_echo_n "checking for _isinff declaration... " >&6; }
55126 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55127 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55128 $as_echo_n "(cached) " >&6
55129 else
55132 ac_ext=cpp
55133 ac_cpp='$CXXCPP $CPPFLAGS'
55134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55139 /* end confdefs.h. */
55140 #include <math.h>
55141 #ifdef HAVE_IEEEFP_H
55142 #include <ieeefp.h>
55143 #endif
55146 main ()
55148 _isinff(0);
55150 return 0;
55152 _ACEOF
55153 if ac_fn_cxx_try_compile "$LINENO"; then :
55154 glibcxx_cv_func__isinff_use=yes
55155 else
55156 glibcxx_cv_func__isinff_use=no
55158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55159 ac_ext=c
55160 ac_cpp='$CPP $CPPFLAGS'
55161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55170 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55172 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55173 for ac_func in _isinff
55174 do :
55175 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55176 if test "x$ac_cv_func__isinff" = x""yes; then :
55177 cat >>confdefs.h <<_ACEOF
55178 #define HAVE__ISINFF 1
55179 _ACEOF
55182 done
55191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55192 $as_echo_n "checking for atan2f declaration... " >&6; }
55193 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55194 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55195 $as_echo_n "(cached) " >&6
55196 else
55199 ac_ext=cpp
55200 ac_cpp='$CXXCPP $CPPFLAGS'
55201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55206 /* end confdefs.h. */
55207 #include <math.h>
55209 main ()
55211 atan2f(0, 0);
55213 return 0;
55215 _ACEOF
55216 if ac_fn_cxx_try_compile "$LINENO"; then :
55217 glibcxx_cv_func_atan2f_use=yes
55218 else
55219 glibcxx_cv_func_atan2f_use=no
55221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55222 ac_ext=c
55223 ac_cpp='$CPP $CPPFLAGS'
55224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55233 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55235 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55236 for ac_func in atan2f
55237 do :
55238 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55239 if test "x$ac_cv_func_atan2f" = x""yes; then :
55240 cat >>confdefs.h <<_ACEOF
55241 #define HAVE_ATAN2F 1
55242 _ACEOF
55245 done
55247 else
55249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55250 $as_echo_n "checking for _atan2f declaration... " >&6; }
55251 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55252 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55253 $as_echo_n "(cached) " >&6
55254 else
55257 ac_ext=cpp
55258 ac_cpp='$CXXCPP $CPPFLAGS'
55259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55264 /* end confdefs.h. */
55265 #include <math.h>
55267 main ()
55269 _atan2f(0, 0);
55271 return 0;
55273 _ACEOF
55274 if ac_fn_cxx_try_compile "$LINENO"; then :
55275 glibcxx_cv_func__atan2f_use=yes
55276 else
55277 glibcxx_cv_func__atan2f_use=no
55279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55280 ac_ext=c
55281 ac_cpp='$CPP $CPPFLAGS'
55282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55291 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55293 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55294 for ac_func in _atan2f
55295 do :
55296 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55297 if test "x$ac_cv_func__atan2f" = x""yes; then :
55298 cat >>confdefs.h <<_ACEOF
55299 #define HAVE__ATAN2F 1
55300 _ACEOF
55303 done
55312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55313 $as_echo_n "checking for fabsf declaration... " >&6; }
55314 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55315 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55316 $as_echo_n "(cached) " >&6
55317 else
55320 ac_ext=cpp
55321 ac_cpp='$CXXCPP $CPPFLAGS'
55322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55327 /* end confdefs.h. */
55328 #include <math.h>
55329 #ifdef HAVE_IEEEFP_H
55330 #include <ieeefp.h>
55331 #endif
55334 main ()
55336 fabsf(0);
55338 return 0;
55340 _ACEOF
55341 if ac_fn_cxx_try_compile "$LINENO"; then :
55342 glibcxx_cv_func_fabsf_use=yes
55343 else
55344 glibcxx_cv_func_fabsf_use=no
55346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55347 ac_ext=c
55348 ac_cpp='$CPP $CPPFLAGS'
55349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55358 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55360 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55361 for ac_func in fabsf
55362 do :
55363 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55364 if test "x$ac_cv_func_fabsf" = x""yes; then :
55365 cat >>confdefs.h <<_ACEOF
55366 #define HAVE_FABSF 1
55367 _ACEOF
55370 done
55372 else
55374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55375 $as_echo_n "checking for _fabsf declaration... " >&6; }
55376 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55377 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55378 $as_echo_n "(cached) " >&6
55379 else
55382 ac_ext=cpp
55383 ac_cpp='$CXXCPP $CPPFLAGS'
55384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55389 /* end confdefs.h. */
55390 #include <math.h>
55391 #ifdef HAVE_IEEEFP_H
55392 #include <ieeefp.h>
55393 #endif
55396 main ()
55398 _fabsf(0);
55400 return 0;
55402 _ACEOF
55403 if ac_fn_cxx_try_compile "$LINENO"; then :
55404 glibcxx_cv_func__fabsf_use=yes
55405 else
55406 glibcxx_cv_func__fabsf_use=no
55408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55409 ac_ext=c
55410 ac_cpp='$CPP $CPPFLAGS'
55411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55420 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55422 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55423 for ac_func in _fabsf
55424 do :
55425 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55426 if test "x$ac_cv_func__fabsf" = x""yes; then :
55427 cat >>confdefs.h <<_ACEOF
55428 #define HAVE__FABSF 1
55429 _ACEOF
55432 done
55441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55442 $as_echo_n "checking for fmodf declaration... " >&6; }
55443 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55444 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55445 $as_echo_n "(cached) " >&6
55446 else
55449 ac_ext=cpp
55450 ac_cpp='$CXXCPP $CPPFLAGS'
55451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55456 /* end confdefs.h. */
55457 #include <math.h>
55459 main ()
55461 fmodf(0, 0);
55463 return 0;
55465 _ACEOF
55466 if ac_fn_cxx_try_compile "$LINENO"; then :
55467 glibcxx_cv_func_fmodf_use=yes
55468 else
55469 glibcxx_cv_func_fmodf_use=no
55471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55472 ac_ext=c
55473 ac_cpp='$CPP $CPPFLAGS'
55474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55483 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55485 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55486 for ac_func in fmodf
55487 do :
55488 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55489 if test "x$ac_cv_func_fmodf" = x""yes; then :
55490 cat >>confdefs.h <<_ACEOF
55491 #define HAVE_FMODF 1
55492 _ACEOF
55495 done
55497 else
55499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55500 $as_echo_n "checking for _fmodf declaration... " >&6; }
55501 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55502 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55503 $as_echo_n "(cached) " >&6
55504 else
55507 ac_ext=cpp
55508 ac_cpp='$CXXCPP $CPPFLAGS'
55509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55514 /* end confdefs.h. */
55515 #include <math.h>
55517 main ()
55519 _fmodf(0, 0);
55521 return 0;
55523 _ACEOF
55524 if ac_fn_cxx_try_compile "$LINENO"; then :
55525 glibcxx_cv_func__fmodf_use=yes
55526 else
55527 glibcxx_cv_func__fmodf_use=no
55529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55530 ac_ext=c
55531 ac_cpp='$CPP $CPPFLAGS'
55532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55541 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55543 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55544 for ac_func in _fmodf
55545 do :
55546 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55547 if test "x$ac_cv_func__fmodf" = x""yes; then :
55548 cat >>confdefs.h <<_ACEOF
55549 #define HAVE__FMODF 1
55550 _ACEOF
55553 done
55562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55563 $as_echo_n "checking for frexpf declaration... " >&6; }
55564 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55565 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55566 $as_echo_n "(cached) " >&6
55567 else
55570 ac_ext=cpp
55571 ac_cpp='$CXXCPP $CPPFLAGS'
55572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55577 /* end confdefs.h. */
55578 #include <math.h>
55580 main ()
55582 frexpf(0, 0);
55584 return 0;
55586 _ACEOF
55587 if ac_fn_cxx_try_compile "$LINENO"; then :
55588 glibcxx_cv_func_frexpf_use=yes
55589 else
55590 glibcxx_cv_func_frexpf_use=no
55592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55593 ac_ext=c
55594 ac_cpp='$CPP $CPPFLAGS'
55595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55604 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55606 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55607 for ac_func in frexpf
55608 do :
55609 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55610 if test "x$ac_cv_func_frexpf" = x""yes; then :
55611 cat >>confdefs.h <<_ACEOF
55612 #define HAVE_FREXPF 1
55613 _ACEOF
55616 done
55618 else
55620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55621 $as_echo_n "checking for _frexpf declaration... " >&6; }
55622 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55623 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55624 $as_echo_n "(cached) " >&6
55625 else
55628 ac_ext=cpp
55629 ac_cpp='$CXXCPP $CPPFLAGS'
55630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55635 /* end confdefs.h. */
55636 #include <math.h>
55638 main ()
55640 _frexpf(0, 0);
55642 return 0;
55644 _ACEOF
55645 if ac_fn_cxx_try_compile "$LINENO"; then :
55646 glibcxx_cv_func__frexpf_use=yes
55647 else
55648 glibcxx_cv_func__frexpf_use=no
55650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55651 ac_ext=c
55652 ac_cpp='$CPP $CPPFLAGS'
55653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55662 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55664 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55665 for ac_func in _frexpf
55666 do :
55667 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55668 if test "x$ac_cv_func__frexpf" = x""yes; then :
55669 cat >>confdefs.h <<_ACEOF
55670 #define HAVE__FREXPF 1
55671 _ACEOF
55674 done
55683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
55684 $as_echo_n "checking for hypotf declaration... " >&6; }
55685 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
55686 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
55687 $as_echo_n "(cached) " >&6
55688 else
55691 ac_ext=cpp
55692 ac_cpp='$CXXCPP $CPPFLAGS'
55693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55698 /* end confdefs.h. */
55699 #include <math.h>
55701 main ()
55703 hypotf(0, 0);
55705 return 0;
55707 _ACEOF
55708 if ac_fn_cxx_try_compile "$LINENO"; then :
55709 glibcxx_cv_func_hypotf_use=yes
55710 else
55711 glibcxx_cv_func_hypotf_use=no
55713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55714 ac_ext=c
55715 ac_cpp='$CPP $CPPFLAGS'
55716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
55725 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
55727 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
55728 for ac_func in hypotf
55729 do :
55730 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
55731 if test "x$ac_cv_func_hypotf" = x""yes; then :
55732 cat >>confdefs.h <<_ACEOF
55733 #define HAVE_HYPOTF 1
55734 _ACEOF
55737 done
55739 else
55741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
55742 $as_echo_n "checking for _hypotf declaration... " >&6; }
55743 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
55744 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
55745 $as_echo_n "(cached) " >&6
55746 else
55749 ac_ext=cpp
55750 ac_cpp='$CXXCPP $CPPFLAGS'
55751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55756 /* end confdefs.h. */
55757 #include <math.h>
55759 main ()
55761 _hypotf(0, 0);
55763 return 0;
55765 _ACEOF
55766 if ac_fn_cxx_try_compile "$LINENO"; then :
55767 glibcxx_cv_func__hypotf_use=yes
55768 else
55769 glibcxx_cv_func__hypotf_use=no
55771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55772 ac_ext=c
55773 ac_cpp='$CPP $CPPFLAGS'
55774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
55783 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
55785 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
55786 for ac_func in _hypotf
55787 do :
55788 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55789 if test "x$ac_cv_func__hypotf" = x""yes; then :
55790 cat >>confdefs.h <<_ACEOF
55791 #define HAVE__HYPOTF 1
55792 _ACEOF
55795 done
55804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55805 $as_echo_n "checking for ldexpf declaration... " >&6; }
55806 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55807 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55808 $as_echo_n "(cached) " >&6
55809 else
55812 ac_ext=cpp
55813 ac_cpp='$CXXCPP $CPPFLAGS'
55814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55819 /* end confdefs.h. */
55820 #include <math.h>
55822 main ()
55824 ldexpf(0, 0);
55826 return 0;
55828 _ACEOF
55829 if ac_fn_cxx_try_compile "$LINENO"; then :
55830 glibcxx_cv_func_ldexpf_use=yes
55831 else
55832 glibcxx_cv_func_ldexpf_use=no
55834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55835 ac_ext=c
55836 ac_cpp='$CPP $CPPFLAGS'
55837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55846 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55848 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55849 for ac_func in ldexpf
55850 do :
55851 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55852 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55853 cat >>confdefs.h <<_ACEOF
55854 #define HAVE_LDEXPF 1
55855 _ACEOF
55858 done
55860 else
55862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55863 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55864 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55865 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55866 $as_echo_n "(cached) " >&6
55867 else
55870 ac_ext=cpp
55871 ac_cpp='$CXXCPP $CPPFLAGS'
55872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55877 /* end confdefs.h. */
55878 #include <math.h>
55880 main ()
55882 _ldexpf(0, 0);
55884 return 0;
55886 _ACEOF
55887 if ac_fn_cxx_try_compile "$LINENO"; then :
55888 glibcxx_cv_func__ldexpf_use=yes
55889 else
55890 glibcxx_cv_func__ldexpf_use=no
55892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55893 ac_ext=c
55894 ac_cpp='$CPP $CPPFLAGS'
55895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55904 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55906 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55907 for ac_func in _ldexpf
55908 do :
55909 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55910 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55911 cat >>confdefs.h <<_ACEOF
55912 #define HAVE__LDEXPF 1
55913 _ACEOF
55916 done
55925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55926 $as_echo_n "checking for logf declaration... " >&6; }
55927 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55928 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55929 $as_echo_n "(cached) " >&6
55930 else
55933 ac_ext=cpp
55934 ac_cpp='$CXXCPP $CPPFLAGS'
55935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55940 /* end confdefs.h. */
55941 #include <math.h>
55942 #ifdef HAVE_IEEEFP_H
55943 #include <ieeefp.h>
55944 #endif
55947 main ()
55949 logf(0);
55951 return 0;
55953 _ACEOF
55954 if ac_fn_cxx_try_compile "$LINENO"; then :
55955 glibcxx_cv_func_logf_use=yes
55956 else
55957 glibcxx_cv_func_logf_use=no
55959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55960 ac_ext=c
55961 ac_cpp='$CPP $CPPFLAGS'
55962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55971 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55973 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55974 for ac_func in logf
55975 do :
55976 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55977 if test "x$ac_cv_func_logf" = x""yes; then :
55978 cat >>confdefs.h <<_ACEOF
55979 #define HAVE_LOGF 1
55980 _ACEOF
55983 done
55985 else
55987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55988 $as_echo_n "checking for _logf declaration... " >&6; }
55989 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55990 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55991 $as_echo_n "(cached) " >&6
55992 else
55995 ac_ext=cpp
55996 ac_cpp='$CXXCPP $CPPFLAGS'
55997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56002 /* end confdefs.h. */
56003 #include <math.h>
56004 #ifdef HAVE_IEEEFP_H
56005 #include <ieeefp.h>
56006 #endif
56009 main ()
56011 _logf(0);
56013 return 0;
56015 _ACEOF
56016 if ac_fn_cxx_try_compile "$LINENO"; then :
56017 glibcxx_cv_func__logf_use=yes
56018 else
56019 glibcxx_cv_func__logf_use=no
56021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56022 ac_ext=c
56023 ac_cpp='$CPP $CPPFLAGS'
56024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56033 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56035 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56036 for ac_func in _logf
56037 do :
56038 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56039 if test "x$ac_cv_func__logf" = x""yes; then :
56040 cat >>confdefs.h <<_ACEOF
56041 #define HAVE__LOGF 1
56042 _ACEOF
56045 done
56054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56055 $as_echo_n "checking for log10f declaration... " >&6; }
56056 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56057 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56058 $as_echo_n "(cached) " >&6
56059 else
56062 ac_ext=cpp
56063 ac_cpp='$CXXCPP $CPPFLAGS'
56064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56069 /* end confdefs.h. */
56070 #include <math.h>
56071 #ifdef HAVE_IEEEFP_H
56072 #include <ieeefp.h>
56073 #endif
56076 main ()
56078 log10f(0);
56080 return 0;
56082 _ACEOF
56083 if ac_fn_cxx_try_compile "$LINENO"; then :
56084 glibcxx_cv_func_log10f_use=yes
56085 else
56086 glibcxx_cv_func_log10f_use=no
56088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56089 ac_ext=c
56090 ac_cpp='$CPP $CPPFLAGS'
56091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56100 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56102 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56103 for ac_func in log10f
56104 do :
56105 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56106 if test "x$ac_cv_func_log10f" = x""yes; then :
56107 cat >>confdefs.h <<_ACEOF
56108 #define HAVE_LOG10F 1
56109 _ACEOF
56112 done
56114 else
56116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56117 $as_echo_n "checking for _log10f declaration... " >&6; }
56118 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56119 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56120 $as_echo_n "(cached) " >&6
56121 else
56124 ac_ext=cpp
56125 ac_cpp='$CXXCPP $CPPFLAGS'
56126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56131 /* end confdefs.h. */
56132 #include <math.h>
56133 #ifdef HAVE_IEEEFP_H
56134 #include <ieeefp.h>
56135 #endif
56138 main ()
56140 _log10f(0);
56142 return 0;
56144 _ACEOF
56145 if ac_fn_cxx_try_compile "$LINENO"; then :
56146 glibcxx_cv_func__log10f_use=yes
56147 else
56148 glibcxx_cv_func__log10f_use=no
56150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56151 ac_ext=c
56152 ac_cpp='$CPP $CPPFLAGS'
56153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56162 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56164 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56165 for ac_func in _log10f
56166 do :
56167 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56168 if test "x$ac_cv_func__log10f" = x""yes; then :
56169 cat >>confdefs.h <<_ACEOF
56170 #define HAVE__LOG10F 1
56171 _ACEOF
56174 done
56183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56184 $as_echo_n "checking for modff declaration... " >&6; }
56185 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56186 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56187 $as_echo_n "(cached) " >&6
56188 else
56191 ac_ext=cpp
56192 ac_cpp='$CXXCPP $CPPFLAGS'
56193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56198 /* end confdefs.h. */
56199 #include <math.h>
56201 main ()
56203 modff(0, 0);
56205 return 0;
56207 _ACEOF
56208 if ac_fn_cxx_try_compile "$LINENO"; then :
56209 glibcxx_cv_func_modff_use=yes
56210 else
56211 glibcxx_cv_func_modff_use=no
56213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56214 ac_ext=c
56215 ac_cpp='$CPP $CPPFLAGS'
56216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56225 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56227 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56228 for ac_func in modff
56229 do :
56230 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56231 if test "x$ac_cv_func_modff" = x""yes; then :
56232 cat >>confdefs.h <<_ACEOF
56233 #define HAVE_MODFF 1
56234 _ACEOF
56237 done
56239 else
56241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56242 $as_echo_n "checking for _modff declaration... " >&6; }
56243 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56244 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56245 $as_echo_n "(cached) " >&6
56246 else
56249 ac_ext=cpp
56250 ac_cpp='$CXXCPP $CPPFLAGS'
56251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56256 /* end confdefs.h. */
56257 #include <math.h>
56259 main ()
56261 _modff(0, 0);
56263 return 0;
56265 _ACEOF
56266 if ac_fn_cxx_try_compile "$LINENO"; then :
56267 glibcxx_cv_func__modff_use=yes
56268 else
56269 glibcxx_cv_func__modff_use=no
56271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56272 ac_ext=c
56273 ac_cpp='$CPP $CPPFLAGS'
56274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56283 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56285 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56286 for ac_func in _modff
56287 do :
56288 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56289 if test "x$ac_cv_func__modff" = x""yes; then :
56290 cat >>confdefs.h <<_ACEOF
56291 #define HAVE__MODFF 1
56292 _ACEOF
56295 done
56304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56305 $as_echo_n "checking for modf declaration... " >&6; }
56306 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56307 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56308 $as_echo_n "(cached) " >&6
56309 else
56312 ac_ext=cpp
56313 ac_cpp='$CXXCPP $CPPFLAGS'
56314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56319 /* end confdefs.h. */
56320 #include <math.h>
56322 main ()
56324 modf(0, 0);
56326 return 0;
56328 _ACEOF
56329 if ac_fn_cxx_try_compile "$LINENO"; then :
56330 glibcxx_cv_func_modf_use=yes
56331 else
56332 glibcxx_cv_func_modf_use=no
56334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56335 ac_ext=c
56336 ac_cpp='$CPP $CPPFLAGS'
56337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56346 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56348 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56349 for ac_func in modf
56350 do :
56351 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56352 if test "x$ac_cv_func_modf" = x""yes; then :
56353 cat >>confdefs.h <<_ACEOF
56354 #define HAVE_MODF 1
56355 _ACEOF
56358 done
56360 else
56362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56363 $as_echo_n "checking for _modf declaration... " >&6; }
56364 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56365 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56366 $as_echo_n "(cached) " >&6
56367 else
56370 ac_ext=cpp
56371 ac_cpp='$CXXCPP $CPPFLAGS'
56372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56377 /* end confdefs.h. */
56378 #include <math.h>
56380 main ()
56382 _modf(0, 0);
56384 return 0;
56386 _ACEOF
56387 if ac_fn_cxx_try_compile "$LINENO"; then :
56388 glibcxx_cv_func__modf_use=yes
56389 else
56390 glibcxx_cv_func__modf_use=no
56392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56393 ac_ext=c
56394 ac_cpp='$CPP $CPPFLAGS'
56395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56404 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56406 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56407 for ac_func in _modf
56408 do :
56409 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56410 if test "x$ac_cv_func__modf" = x""yes; then :
56411 cat >>confdefs.h <<_ACEOF
56412 #define HAVE__MODF 1
56413 _ACEOF
56416 done
56425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56426 $as_echo_n "checking for powf declaration... " >&6; }
56427 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56428 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56429 $as_echo_n "(cached) " >&6
56430 else
56433 ac_ext=cpp
56434 ac_cpp='$CXXCPP $CPPFLAGS'
56435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56440 /* end confdefs.h. */
56441 #include <math.h>
56443 main ()
56445 powf(0, 0);
56447 return 0;
56449 _ACEOF
56450 if ac_fn_cxx_try_compile "$LINENO"; then :
56451 glibcxx_cv_func_powf_use=yes
56452 else
56453 glibcxx_cv_func_powf_use=no
56455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56456 ac_ext=c
56457 ac_cpp='$CPP $CPPFLAGS'
56458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56467 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56469 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56470 for ac_func in powf
56471 do :
56472 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56473 if test "x$ac_cv_func_powf" = x""yes; then :
56474 cat >>confdefs.h <<_ACEOF
56475 #define HAVE_POWF 1
56476 _ACEOF
56479 done
56481 else
56483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56484 $as_echo_n "checking for _powf declaration... " >&6; }
56485 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56486 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56487 $as_echo_n "(cached) " >&6
56488 else
56491 ac_ext=cpp
56492 ac_cpp='$CXXCPP $CPPFLAGS'
56493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56498 /* end confdefs.h. */
56499 #include <math.h>
56501 main ()
56503 _powf(0, 0);
56505 return 0;
56507 _ACEOF
56508 if ac_fn_cxx_try_compile "$LINENO"; then :
56509 glibcxx_cv_func__powf_use=yes
56510 else
56511 glibcxx_cv_func__powf_use=no
56513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56514 ac_ext=c
56515 ac_cpp='$CPP $CPPFLAGS'
56516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56525 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56527 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56528 for ac_func in _powf
56529 do :
56530 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56531 if test "x$ac_cv_func__powf" = x""yes; then :
56532 cat >>confdefs.h <<_ACEOF
56533 #define HAVE__POWF 1
56534 _ACEOF
56537 done
56546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56547 $as_echo_n "checking for sqrtf declaration... " >&6; }
56548 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56549 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56550 $as_echo_n "(cached) " >&6
56551 else
56554 ac_ext=cpp
56555 ac_cpp='$CXXCPP $CPPFLAGS'
56556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56561 /* end confdefs.h. */
56562 #include <math.h>
56563 #ifdef HAVE_IEEEFP_H
56564 #include <ieeefp.h>
56565 #endif
56568 main ()
56570 sqrtf(0);
56572 return 0;
56574 _ACEOF
56575 if ac_fn_cxx_try_compile "$LINENO"; then :
56576 glibcxx_cv_func_sqrtf_use=yes
56577 else
56578 glibcxx_cv_func_sqrtf_use=no
56580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56581 ac_ext=c
56582 ac_cpp='$CPP $CPPFLAGS'
56583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56592 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56594 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56595 for ac_func in sqrtf
56596 do :
56597 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56598 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56599 cat >>confdefs.h <<_ACEOF
56600 #define HAVE_SQRTF 1
56601 _ACEOF
56604 done
56606 else
56608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56609 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56610 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56611 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56612 $as_echo_n "(cached) " >&6
56613 else
56616 ac_ext=cpp
56617 ac_cpp='$CXXCPP $CPPFLAGS'
56618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56623 /* end confdefs.h. */
56624 #include <math.h>
56625 #ifdef HAVE_IEEEFP_H
56626 #include <ieeefp.h>
56627 #endif
56630 main ()
56632 _sqrtf(0);
56634 return 0;
56636 _ACEOF
56637 if ac_fn_cxx_try_compile "$LINENO"; then :
56638 glibcxx_cv_func__sqrtf_use=yes
56639 else
56640 glibcxx_cv_func__sqrtf_use=no
56642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56643 ac_ext=c
56644 ac_cpp='$CPP $CPPFLAGS'
56645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56654 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56656 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56657 for ac_func in _sqrtf
56658 do :
56659 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56660 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56661 cat >>confdefs.h <<_ACEOF
56662 #define HAVE__SQRTF 1
56663 _ACEOF
56666 done
56675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56676 $as_echo_n "checking for sincosf declaration... " >&6; }
56677 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
56678 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
56679 $as_echo_n "(cached) " >&6
56680 else
56683 ac_ext=cpp
56684 ac_cpp='$CXXCPP $CPPFLAGS'
56685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56690 /* end confdefs.h. */
56691 #include <math.h>
56693 main ()
56695 sincosf(0, 0, 0);
56697 return 0;
56699 _ACEOF
56700 if ac_fn_cxx_try_compile "$LINENO"; then :
56701 glibcxx_cv_func_sincosf_use=yes
56702 else
56703 glibcxx_cv_func_sincosf_use=no
56705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56706 ac_ext=c
56707 ac_cpp='$CPP $CPPFLAGS'
56708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
56717 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
56719 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
56720 for ac_func in sincosf
56721 do :
56722 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
56723 if test "x$ac_cv_func_sincosf" = x""yes; then :
56724 cat >>confdefs.h <<_ACEOF
56725 #define HAVE_SINCOSF 1
56726 _ACEOF
56729 done
56731 else
56733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
56734 $as_echo_n "checking for _sincosf declaration... " >&6; }
56735 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
56736 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
56737 $as_echo_n "(cached) " >&6
56738 else
56741 ac_ext=cpp
56742 ac_cpp='$CXXCPP $CPPFLAGS'
56743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56748 /* end confdefs.h. */
56749 #include <math.h>
56751 main ()
56753 _sincosf(0, 0, 0);
56755 return 0;
56757 _ACEOF
56758 if ac_fn_cxx_try_compile "$LINENO"; then :
56759 glibcxx_cv_func__sincosf_use=yes
56760 else
56761 glibcxx_cv_func__sincosf_use=no
56763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56764 ac_ext=c
56765 ac_cpp='$CPP $CPPFLAGS'
56766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
56775 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
56777 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
56778 for ac_func in _sincosf
56779 do :
56780 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
56781 if test "x$ac_cv_func__sincosf" = x""yes; then :
56782 cat >>confdefs.h <<_ACEOF
56783 #define HAVE__SINCOSF 1
56784 _ACEOF
56787 done
56796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56797 $as_echo_n "checking for finitef declaration... " >&6; }
56798 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56799 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56800 $as_echo_n "(cached) " >&6
56801 else
56804 ac_ext=cpp
56805 ac_cpp='$CXXCPP $CPPFLAGS'
56806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56811 /* end confdefs.h. */
56812 #include <math.h>
56813 #ifdef HAVE_IEEEFP_H
56814 #include <ieeefp.h>
56815 #endif
56818 main ()
56820 finitef(0);
56822 return 0;
56824 _ACEOF
56825 if ac_fn_cxx_try_compile "$LINENO"; then :
56826 glibcxx_cv_func_finitef_use=yes
56827 else
56828 glibcxx_cv_func_finitef_use=no
56830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56831 ac_ext=c
56832 ac_cpp='$CPP $CPPFLAGS'
56833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56842 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56844 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56845 for ac_func in finitef
56846 do :
56847 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56848 if test "x$ac_cv_func_finitef" = x""yes; then :
56849 cat >>confdefs.h <<_ACEOF
56850 #define HAVE_FINITEF 1
56851 _ACEOF
56854 done
56856 else
56858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56859 $as_echo_n "checking for _finitef declaration... " >&6; }
56860 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56861 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56862 $as_echo_n "(cached) " >&6
56863 else
56866 ac_ext=cpp
56867 ac_cpp='$CXXCPP $CPPFLAGS'
56868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56873 /* end confdefs.h. */
56874 #include <math.h>
56875 #ifdef HAVE_IEEEFP_H
56876 #include <ieeefp.h>
56877 #endif
56880 main ()
56882 _finitef(0);
56884 return 0;
56886 _ACEOF
56887 if ac_fn_cxx_try_compile "$LINENO"; then :
56888 glibcxx_cv_func__finitef_use=yes
56889 else
56890 glibcxx_cv_func__finitef_use=no
56892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56893 ac_ext=c
56894 ac_cpp='$CPP $CPPFLAGS'
56895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56904 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56906 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56907 for ac_func in _finitef
56908 do :
56909 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56910 if test "x$ac_cv_func__finitef" = x""yes; then :
56911 cat >>confdefs.h <<_ACEOF
56912 #define HAVE__FINITEF 1
56913 _ACEOF
56916 done
56925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56926 $as_echo_n "checking for long double trig functions... " >&6; }
56927 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56928 $as_echo_n "(cached) " >&6
56929 else
56932 ac_ext=cpp
56933 ac_cpp='$CXXCPP $CPPFLAGS'
56934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56939 /* end confdefs.h. */
56940 #include <math.h>
56942 main ()
56944 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56946 return 0;
56948 _ACEOF
56949 if ac_fn_cxx_try_compile "$LINENO"; then :
56950 glibcxx_cv_func_long_double_trig_use=yes
56951 else
56952 glibcxx_cv_func_long_double_trig_use=no
56954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56955 ac_ext=c
56956 ac_cpp='$CPP $CPPFLAGS'
56957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56964 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56965 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56966 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56967 do :
56968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56970 eval as_val=\$$as_ac_var
56971 if test "x$as_val" = x""yes; then :
56972 cat >>confdefs.h <<_ACEOF
56973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56974 _ACEOF
56977 done
56979 else
56980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56981 $as_echo_n "checking for _long double trig functions... " >&6; }
56982 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56983 $as_echo_n "(cached) " >&6
56984 else
56987 ac_ext=cpp
56988 ac_cpp='$CXXCPP $CPPFLAGS'
56989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56994 /* end confdefs.h. */
56995 #include <math.h>
56997 main ()
56999 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57001 return 0;
57003 _ACEOF
57004 if ac_fn_cxx_try_compile "$LINENO"; then :
57005 glibcxx_cv_func__long_double_trig_use=yes
57006 else
57007 glibcxx_cv_func__long_double_trig_use=no
57009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57010 ac_ext=c
57011 ac_cpp='$CPP $CPPFLAGS'
57012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57019 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57020 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57021 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57022 do :
57023 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57024 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57025 eval as_val=\$$as_ac_var
57026 if test "x$as_val" = x""yes; then :
57027 cat >>confdefs.h <<_ACEOF
57028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57029 _ACEOF
57032 done
57041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57042 $as_echo_n "checking for long double round functions... " >&6; }
57043 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57044 $as_echo_n "(cached) " >&6
57045 else
57048 ac_ext=cpp
57049 ac_cpp='$CXXCPP $CPPFLAGS'
57050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57055 /* end confdefs.h. */
57056 #include <math.h>
57058 main ()
57060 ceill (0); floorl (0);
57062 return 0;
57064 _ACEOF
57065 if ac_fn_cxx_try_compile "$LINENO"; then :
57066 glibcxx_cv_func_long_double_round_use=yes
57067 else
57068 glibcxx_cv_func_long_double_round_use=no
57070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57071 ac_ext=c
57072 ac_cpp='$CPP $CPPFLAGS'
57073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57080 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57081 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57082 for ac_func in ceill floorl
57083 do :
57084 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57085 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57086 eval as_val=\$$as_ac_var
57087 if test "x$as_val" = x""yes; then :
57088 cat >>confdefs.h <<_ACEOF
57089 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57090 _ACEOF
57093 done
57095 else
57096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57097 $as_echo_n "checking for _long double round functions... " >&6; }
57098 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57099 $as_echo_n "(cached) " >&6
57100 else
57103 ac_ext=cpp
57104 ac_cpp='$CXXCPP $CPPFLAGS'
57105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57110 /* end confdefs.h. */
57111 #include <math.h>
57113 main ()
57115 _ceill (0); _floorl (0);
57117 return 0;
57119 _ACEOF
57120 if ac_fn_cxx_try_compile "$LINENO"; then :
57121 glibcxx_cv_func__long_double_round_use=yes
57122 else
57123 glibcxx_cv_func__long_double_round_use=no
57125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57126 ac_ext=c
57127 ac_cpp='$CPP $CPPFLAGS'
57128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57135 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57136 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57137 for ac_func in _ceill _floorl
57138 do :
57139 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57140 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57141 eval as_val=\$$as_ac_var
57142 if test "x$as_val" = x""yes; then :
57143 cat >>confdefs.h <<_ACEOF
57144 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57145 _ACEOF
57148 done
57158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57159 $as_echo_n "checking for isnanl declaration... " >&6; }
57160 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57161 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57162 $as_echo_n "(cached) " >&6
57163 else
57166 ac_ext=cpp
57167 ac_cpp='$CXXCPP $CPPFLAGS'
57168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57173 /* end confdefs.h. */
57174 #include <math.h>
57175 #ifdef HAVE_IEEEFP_H
57176 #include <ieeefp.h>
57177 #endif
57180 main ()
57182 isnanl(0);
57184 return 0;
57186 _ACEOF
57187 if ac_fn_cxx_try_compile "$LINENO"; then :
57188 glibcxx_cv_func_isnanl_use=yes
57189 else
57190 glibcxx_cv_func_isnanl_use=no
57192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57193 ac_ext=c
57194 ac_cpp='$CPP $CPPFLAGS'
57195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57204 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57206 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57207 for ac_func in isnanl
57208 do :
57209 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57210 if test "x$ac_cv_func_isnanl" = x""yes; then :
57211 cat >>confdefs.h <<_ACEOF
57212 #define HAVE_ISNANL 1
57213 _ACEOF
57216 done
57218 else
57220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57221 $as_echo_n "checking for _isnanl declaration... " >&6; }
57222 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57223 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57224 $as_echo_n "(cached) " >&6
57225 else
57228 ac_ext=cpp
57229 ac_cpp='$CXXCPP $CPPFLAGS'
57230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57235 /* end confdefs.h. */
57236 #include <math.h>
57237 #ifdef HAVE_IEEEFP_H
57238 #include <ieeefp.h>
57239 #endif
57242 main ()
57244 _isnanl(0);
57246 return 0;
57248 _ACEOF
57249 if ac_fn_cxx_try_compile "$LINENO"; then :
57250 glibcxx_cv_func__isnanl_use=yes
57251 else
57252 glibcxx_cv_func__isnanl_use=no
57254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57255 ac_ext=c
57256 ac_cpp='$CPP $CPPFLAGS'
57257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57266 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57268 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57269 for ac_func in _isnanl
57270 do :
57271 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57272 if test "x$ac_cv_func__isnanl" = x""yes; then :
57273 cat >>confdefs.h <<_ACEOF
57274 #define HAVE__ISNANL 1
57275 _ACEOF
57278 done
57287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57288 $as_echo_n "checking for isinfl declaration... " >&6; }
57289 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57290 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57291 $as_echo_n "(cached) " >&6
57292 else
57295 ac_ext=cpp
57296 ac_cpp='$CXXCPP $CPPFLAGS'
57297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57302 /* end confdefs.h. */
57303 #include <math.h>
57304 #ifdef HAVE_IEEEFP_H
57305 #include <ieeefp.h>
57306 #endif
57309 main ()
57311 isinfl(0);
57313 return 0;
57315 _ACEOF
57316 if ac_fn_cxx_try_compile "$LINENO"; then :
57317 glibcxx_cv_func_isinfl_use=yes
57318 else
57319 glibcxx_cv_func_isinfl_use=no
57321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57322 ac_ext=c
57323 ac_cpp='$CPP $CPPFLAGS'
57324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57333 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57335 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57336 for ac_func in isinfl
57337 do :
57338 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57339 if test "x$ac_cv_func_isinfl" = x""yes; then :
57340 cat >>confdefs.h <<_ACEOF
57341 #define HAVE_ISINFL 1
57342 _ACEOF
57345 done
57347 else
57349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57350 $as_echo_n "checking for _isinfl declaration... " >&6; }
57351 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57352 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57353 $as_echo_n "(cached) " >&6
57354 else
57357 ac_ext=cpp
57358 ac_cpp='$CXXCPP $CPPFLAGS'
57359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57364 /* end confdefs.h. */
57365 #include <math.h>
57366 #ifdef HAVE_IEEEFP_H
57367 #include <ieeefp.h>
57368 #endif
57371 main ()
57373 _isinfl(0);
57375 return 0;
57377 _ACEOF
57378 if ac_fn_cxx_try_compile "$LINENO"; then :
57379 glibcxx_cv_func__isinfl_use=yes
57380 else
57381 glibcxx_cv_func__isinfl_use=no
57383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57384 ac_ext=c
57385 ac_cpp='$CPP $CPPFLAGS'
57386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57395 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57397 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57398 for ac_func in _isinfl
57399 do :
57400 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57401 if test "x$ac_cv_func__isinfl" = x""yes; then :
57402 cat >>confdefs.h <<_ACEOF
57403 #define HAVE__ISINFL 1
57404 _ACEOF
57407 done
57416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57417 $as_echo_n "checking for atan2l declaration... " >&6; }
57418 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57419 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57420 $as_echo_n "(cached) " >&6
57421 else
57424 ac_ext=cpp
57425 ac_cpp='$CXXCPP $CPPFLAGS'
57426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57431 /* end confdefs.h. */
57432 #include <math.h>
57434 main ()
57436 atan2l(0, 0);
57438 return 0;
57440 _ACEOF
57441 if ac_fn_cxx_try_compile "$LINENO"; then :
57442 glibcxx_cv_func_atan2l_use=yes
57443 else
57444 glibcxx_cv_func_atan2l_use=no
57446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57447 ac_ext=c
57448 ac_cpp='$CPP $CPPFLAGS'
57449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57458 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57460 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57461 for ac_func in atan2l
57462 do :
57463 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57464 if test "x$ac_cv_func_atan2l" = x""yes; then :
57465 cat >>confdefs.h <<_ACEOF
57466 #define HAVE_ATAN2L 1
57467 _ACEOF
57470 done
57472 else
57474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57475 $as_echo_n "checking for _atan2l declaration... " >&6; }
57476 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57477 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57478 $as_echo_n "(cached) " >&6
57479 else
57482 ac_ext=cpp
57483 ac_cpp='$CXXCPP $CPPFLAGS'
57484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57489 /* end confdefs.h. */
57490 #include <math.h>
57492 main ()
57494 _atan2l(0, 0);
57496 return 0;
57498 _ACEOF
57499 if ac_fn_cxx_try_compile "$LINENO"; then :
57500 glibcxx_cv_func__atan2l_use=yes
57501 else
57502 glibcxx_cv_func__atan2l_use=no
57504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57505 ac_ext=c
57506 ac_cpp='$CPP $CPPFLAGS'
57507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57516 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57518 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57519 for ac_func in _atan2l
57520 do :
57521 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57522 if test "x$ac_cv_func__atan2l" = x""yes; then :
57523 cat >>confdefs.h <<_ACEOF
57524 #define HAVE__ATAN2L 1
57525 _ACEOF
57528 done
57537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57538 $as_echo_n "checking for expl declaration... " >&6; }
57539 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57540 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57541 $as_echo_n "(cached) " >&6
57542 else
57545 ac_ext=cpp
57546 ac_cpp='$CXXCPP $CPPFLAGS'
57547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57552 /* end confdefs.h. */
57553 #include <math.h>
57554 #ifdef HAVE_IEEEFP_H
57555 #include <ieeefp.h>
57556 #endif
57559 main ()
57561 expl(0);
57563 return 0;
57565 _ACEOF
57566 if ac_fn_cxx_try_compile "$LINENO"; then :
57567 glibcxx_cv_func_expl_use=yes
57568 else
57569 glibcxx_cv_func_expl_use=no
57571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57572 ac_ext=c
57573 ac_cpp='$CPP $CPPFLAGS'
57574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57583 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57585 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57586 for ac_func in expl
57587 do :
57588 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57589 if test "x$ac_cv_func_expl" = x""yes; then :
57590 cat >>confdefs.h <<_ACEOF
57591 #define HAVE_EXPL 1
57592 _ACEOF
57595 done
57597 else
57599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57600 $as_echo_n "checking for _expl declaration... " >&6; }
57601 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57602 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57603 $as_echo_n "(cached) " >&6
57604 else
57607 ac_ext=cpp
57608 ac_cpp='$CXXCPP $CPPFLAGS'
57609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57614 /* end confdefs.h. */
57615 #include <math.h>
57616 #ifdef HAVE_IEEEFP_H
57617 #include <ieeefp.h>
57618 #endif
57621 main ()
57623 _expl(0);
57625 return 0;
57627 _ACEOF
57628 if ac_fn_cxx_try_compile "$LINENO"; then :
57629 glibcxx_cv_func__expl_use=yes
57630 else
57631 glibcxx_cv_func__expl_use=no
57633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57634 ac_ext=c
57635 ac_cpp='$CPP $CPPFLAGS'
57636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57645 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57647 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57648 for ac_func in _expl
57649 do :
57650 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57651 if test "x$ac_cv_func__expl" = x""yes; then :
57652 cat >>confdefs.h <<_ACEOF
57653 #define HAVE__EXPL 1
57654 _ACEOF
57657 done
57666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57667 $as_echo_n "checking for fabsl declaration... " >&6; }
57668 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57669 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57670 $as_echo_n "(cached) " >&6
57671 else
57674 ac_ext=cpp
57675 ac_cpp='$CXXCPP $CPPFLAGS'
57676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57681 /* end confdefs.h. */
57682 #include <math.h>
57683 #ifdef HAVE_IEEEFP_H
57684 #include <ieeefp.h>
57685 #endif
57688 main ()
57690 fabsl(0);
57692 return 0;
57694 _ACEOF
57695 if ac_fn_cxx_try_compile "$LINENO"; then :
57696 glibcxx_cv_func_fabsl_use=yes
57697 else
57698 glibcxx_cv_func_fabsl_use=no
57700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57701 ac_ext=c
57702 ac_cpp='$CPP $CPPFLAGS'
57703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
57712 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
57714 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57715 for ac_func in fabsl
57716 do :
57717 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
57718 if test "x$ac_cv_func_fabsl" = x""yes; then :
57719 cat >>confdefs.h <<_ACEOF
57720 #define HAVE_FABSL 1
57721 _ACEOF
57724 done
57726 else
57728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
57729 $as_echo_n "checking for _fabsl declaration... " >&6; }
57730 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57731 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
57732 $as_echo_n "(cached) " >&6
57733 else
57736 ac_ext=cpp
57737 ac_cpp='$CXXCPP $CPPFLAGS'
57738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57743 /* end confdefs.h. */
57744 #include <math.h>
57745 #ifdef HAVE_IEEEFP_H
57746 #include <ieeefp.h>
57747 #endif
57750 main ()
57752 _fabsl(0);
57754 return 0;
57756 _ACEOF
57757 if ac_fn_cxx_try_compile "$LINENO"; then :
57758 glibcxx_cv_func__fabsl_use=yes
57759 else
57760 glibcxx_cv_func__fabsl_use=no
57762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57763 ac_ext=c
57764 ac_cpp='$CPP $CPPFLAGS'
57765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
57774 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
57776 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57777 for ac_func in _fabsl
57778 do :
57779 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
57780 if test "x$ac_cv_func__fabsl" = x""yes; then :
57781 cat >>confdefs.h <<_ACEOF
57782 #define HAVE__FABSL 1
57783 _ACEOF
57786 done
57795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57796 $as_echo_n "checking for fmodl declaration... " >&6; }
57797 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57798 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57799 $as_echo_n "(cached) " >&6
57800 else
57803 ac_ext=cpp
57804 ac_cpp='$CXXCPP $CPPFLAGS'
57805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57810 /* end confdefs.h. */
57811 #include <math.h>
57813 main ()
57815 fmodl(0, 0);
57817 return 0;
57819 _ACEOF
57820 if ac_fn_cxx_try_compile "$LINENO"; then :
57821 glibcxx_cv_func_fmodl_use=yes
57822 else
57823 glibcxx_cv_func_fmodl_use=no
57825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57826 ac_ext=c
57827 ac_cpp='$CPP $CPPFLAGS'
57828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57837 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57839 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57840 for ac_func in fmodl
57841 do :
57842 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57843 if test "x$ac_cv_func_fmodl" = x""yes; then :
57844 cat >>confdefs.h <<_ACEOF
57845 #define HAVE_FMODL 1
57846 _ACEOF
57849 done
57851 else
57853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57854 $as_echo_n "checking for _fmodl declaration... " >&6; }
57855 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57856 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57857 $as_echo_n "(cached) " >&6
57858 else
57861 ac_ext=cpp
57862 ac_cpp='$CXXCPP $CPPFLAGS'
57863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57868 /* end confdefs.h. */
57869 #include <math.h>
57871 main ()
57873 _fmodl(0, 0);
57875 return 0;
57877 _ACEOF
57878 if ac_fn_cxx_try_compile "$LINENO"; then :
57879 glibcxx_cv_func__fmodl_use=yes
57880 else
57881 glibcxx_cv_func__fmodl_use=no
57883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57884 ac_ext=c
57885 ac_cpp='$CPP $CPPFLAGS'
57886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57895 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57897 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57898 for ac_func in _fmodl
57899 do :
57900 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57901 if test "x$ac_cv_func__fmodl" = x""yes; then :
57902 cat >>confdefs.h <<_ACEOF
57903 #define HAVE__FMODL 1
57904 _ACEOF
57907 done
57916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57917 $as_echo_n "checking for frexpl declaration... " >&6; }
57918 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57919 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57920 $as_echo_n "(cached) " >&6
57921 else
57924 ac_ext=cpp
57925 ac_cpp='$CXXCPP $CPPFLAGS'
57926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57931 /* end confdefs.h. */
57932 #include <math.h>
57934 main ()
57936 frexpl(0, 0);
57938 return 0;
57940 _ACEOF
57941 if ac_fn_cxx_try_compile "$LINENO"; then :
57942 glibcxx_cv_func_frexpl_use=yes
57943 else
57944 glibcxx_cv_func_frexpl_use=no
57946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57947 ac_ext=c
57948 ac_cpp='$CPP $CPPFLAGS'
57949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57958 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57960 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57961 for ac_func in frexpl
57962 do :
57963 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57964 if test "x$ac_cv_func_frexpl" = x""yes; then :
57965 cat >>confdefs.h <<_ACEOF
57966 #define HAVE_FREXPL 1
57967 _ACEOF
57970 done
57972 else
57974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57975 $as_echo_n "checking for _frexpl declaration... " >&6; }
57976 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57977 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57978 $as_echo_n "(cached) " >&6
57979 else
57982 ac_ext=cpp
57983 ac_cpp='$CXXCPP $CPPFLAGS'
57984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57989 /* end confdefs.h. */
57990 #include <math.h>
57992 main ()
57994 _frexpl(0, 0);
57996 return 0;
57998 _ACEOF
57999 if ac_fn_cxx_try_compile "$LINENO"; then :
58000 glibcxx_cv_func__frexpl_use=yes
58001 else
58002 glibcxx_cv_func__frexpl_use=no
58004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58005 ac_ext=c
58006 ac_cpp='$CPP $CPPFLAGS'
58007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58016 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58018 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58019 for ac_func in _frexpl
58020 do :
58021 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58022 if test "x$ac_cv_func__frexpl" = x""yes; then :
58023 cat >>confdefs.h <<_ACEOF
58024 #define HAVE__FREXPL 1
58025 _ACEOF
58028 done
58037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58038 $as_echo_n "checking for hypotl declaration... " >&6; }
58039 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58040 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58041 $as_echo_n "(cached) " >&6
58042 else
58045 ac_ext=cpp
58046 ac_cpp='$CXXCPP $CPPFLAGS'
58047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58052 /* end confdefs.h. */
58053 #include <math.h>
58055 main ()
58057 hypotl(0, 0);
58059 return 0;
58061 _ACEOF
58062 if ac_fn_cxx_try_compile "$LINENO"; then :
58063 glibcxx_cv_func_hypotl_use=yes
58064 else
58065 glibcxx_cv_func_hypotl_use=no
58067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58068 ac_ext=c
58069 ac_cpp='$CPP $CPPFLAGS'
58070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58079 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58081 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58082 for ac_func in hypotl
58083 do :
58084 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58085 if test "x$ac_cv_func_hypotl" = x""yes; then :
58086 cat >>confdefs.h <<_ACEOF
58087 #define HAVE_HYPOTL 1
58088 _ACEOF
58091 done
58093 else
58095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58096 $as_echo_n "checking for _hypotl declaration... " >&6; }
58097 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58098 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58099 $as_echo_n "(cached) " >&6
58100 else
58103 ac_ext=cpp
58104 ac_cpp='$CXXCPP $CPPFLAGS'
58105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58110 /* end confdefs.h. */
58111 #include <math.h>
58113 main ()
58115 _hypotl(0, 0);
58117 return 0;
58119 _ACEOF
58120 if ac_fn_cxx_try_compile "$LINENO"; then :
58121 glibcxx_cv_func__hypotl_use=yes
58122 else
58123 glibcxx_cv_func__hypotl_use=no
58125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58126 ac_ext=c
58127 ac_cpp='$CPP $CPPFLAGS'
58128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58137 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58139 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58140 for ac_func in _hypotl
58141 do :
58142 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58143 if test "x$ac_cv_func__hypotl" = x""yes; then :
58144 cat >>confdefs.h <<_ACEOF
58145 #define HAVE__HYPOTL 1
58146 _ACEOF
58149 done
58158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58159 $as_echo_n "checking for ldexpl declaration... " >&6; }
58160 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58161 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58162 $as_echo_n "(cached) " >&6
58163 else
58166 ac_ext=cpp
58167 ac_cpp='$CXXCPP $CPPFLAGS'
58168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58173 /* end confdefs.h. */
58174 #include <math.h>
58176 main ()
58178 ldexpl(0, 0);
58180 return 0;
58182 _ACEOF
58183 if ac_fn_cxx_try_compile "$LINENO"; then :
58184 glibcxx_cv_func_ldexpl_use=yes
58185 else
58186 glibcxx_cv_func_ldexpl_use=no
58188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58189 ac_ext=c
58190 ac_cpp='$CPP $CPPFLAGS'
58191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58200 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58202 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58203 for ac_func in ldexpl
58204 do :
58205 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58206 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58207 cat >>confdefs.h <<_ACEOF
58208 #define HAVE_LDEXPL 1
58209 _ACEOF
58212 done
58214 else
58216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58217 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58218 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58219 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58220 $as_echo_n "(cached) " >&6
58221 else
58224 ac_ext=cpp
58225 ac_cpp='$CXXCPP $CPPFLAGS'
58226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58231 /* end confdefs.h. */
58232 #include <math.h>
58234 main ()
58236 _ldexpl(0, 0);
58238 return 0;
58240 _ACEOF
58241 if ac_fn_cxx_try_compile "$LINENO"; then :
58242 glibcxx_cv_func__ldexpl_use=yes
58243 else
58244 glibcxx_cv_func__ldexpl_use=no
58246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58247 ac_ext=c
58248 ac_cpp='$CPP $CPPFLAGS'
58249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58258 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58260 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58261 for ac_func in _ldexpl
58262 do :
58263 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58264 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58265 cat >>confdefs.h <<_ACEOF
58266 #define HAVE__LDEXPL 1
58267 _ACEOF
58270 done
58279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58280 $as_echo_n "checking for logl declaration... " >&6; }
58281 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58282 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58283 $as_echo_n "(cached) " >&6
58284 else
58287 ac_ext=cpp
58288 ac_cpp='$CXXCPP $CPPFLAGS'
58289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58294 /* end confdefs.h. */
58295 #include <math.h>
58296 #ifdef HAVE_IEEEFP_H
58297 #include <ieeefp.h>
58298 #endif
58301 main ()
58303 logl(0);
58305 return 0;
58307 _ACEOF
58308 if ac_fn_cxx_try_compile "$LINENO"; then :
58309 glibcxx_cv_func_logl_use=yes
58310 else
58311 glibcxx_cv_func_logl_use=no
58313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58314 ac_ext=c
58315 ac_cpp='$CPP $CPPFLAGS'
58316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58325 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58327 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58328 for ac_func in logl
58329 do :
58330 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58331 if test "x$ac_cv_func_logl" = x""yes; then :
58332 cat >>confdefs.h <<_ACEOF
58333 #define HAVE_LOGL 1
58334 _ACEOF
58337 done
58339 else
58341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58342 $as_echo_n "checking for _logl declaration... " >&6; }
58343 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58344 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58345 $as_echo_n "(cached) " >&6
58346 else
58349 ac_ext=cpp
58350 ac_cpp='$CXXCPP $CPPFLAGS'
58351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58356 /* end confdefs.h. */
58357 #include <math.h>
58358 #ifdef HAVE_IEEEFP_H
58359 #include <ieeefp.h>
58360 #endif
58363 main ()
58365 _logl(0);
58367 return 0;
58369 _ACEOF
58370 if ac_fn_cxx_try_compile "$LINENO"; then :
58371 glibcxx_cv_func__logl_use=yes
58372 else
58373 glibcxx_cv_func__logl_use=no
58375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58376 ac_ext=c
58377 ac_cpp='$CPP $CPPFLAGS'
58378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58387 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58389 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58390 for ac_func in _logl
58391 do :
58392 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58393 if test "x$ac_cv_func__logl" = x""yes; then :
58394 cat >>confdefs.h <<_ACEOF
58395 #define HAVE__LOGL 1
58396 _ACEOF
58399 done
58408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58409 $as_echo_n "checking for log10l declaration... " >&6; }
58410 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58411 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58412 $as_echo_n "(cached) " >&6
58413 else
58416 ac_ext=cpp
58417 ac_cpp='$CXXCPP $CPPFLAGS'
58418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58423 /* end confdefs.h. */
58424 #include <math.h>
58425 #ifdef HAVE_IEEEFP_H
58426 #include <ieeefp.h>
58427 #endif
58430 main ()
58432 log10l(0);
58434 return 0;
58436 _ACEOF
58437 if ac_fn_cxx_try_compile "$LINENO"; then :
58438 glibcxx_cv_func_log10l_use=yes
58439 else
58440 glibcxx_cv_func_log10l_use=no
58442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58443 ac_ext=c
58444 ac_cpp='$CPP $CPPFLAGS'
58445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58454 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58456 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58457 for ac_func in log10l
58458 do :
58459 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58460 if test "x$ac_cv_func_log10l" = x""yes; then :
58461 cat >>confdefs.h <<_ACEOF
58462 #define HAVE_LOG10L 1
58463 _ACEOF
58466 done
58468 else
58470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58471 $as_echo_n "checking for _log10l declaration... " >&6; }
58472 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58473 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58474 $as_echo_n "(cached) " >&6
58475 else
58478 ac_ext=cpp
58479 ac_cpp='$CXXCPP $CPPFLAGS'
58480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58485 /* end confdefs.h. */
58486 #include <math.h>
58487 #ifdef HAVE_IEEEFP_H
58488 #include <ieeefp.h>
58489 #endif
58492 main ()
58494 _log10l(0);
58496 return 0;
58498 _ACEOF
58499 if ac_fn_cxx_try_compile "$LINENO"; then :
58500 glibcxx_cv_func__log10l_use=yes
58501 else
58502 glibcxx_cv_func__log10l_use=no
58504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58505 ac_ext=c
58506 ac_cpp='$CPP $CPPFLAGS'
58507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58516 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58518 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58519 for ac_func in _log10l
58520 do :
58521 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58522 if test "x$ac_cv_func__log10l" = x""yes; then :
58523 cat >>confdefs.h <<_ACEOF
58524 #define HAVE__LOG10L 1
58525 _ACEOF
58528 done
58537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58538 $as_echo_n "checking for modfl declaration... " >&6; }
58539 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58540 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58541 $as_echo_n "(cached) " >&6
58542 else
58545 ac_ext=cpp
58546 ac_cpp='$CXXCPP $CPPFLAGS'
58547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58552 /* end confdefs.h. */
58553 #include <math.h>
58555 main ()
58557 modfl(0, 0);
58559 return 0;
58561 _ACEOF
58562 if ac_fn_cxx_try_compile "$LINENO"; then :
58563 glibcxx_cv_func_modfl_use=yes
58564 else
58565 glibcxx_cv_func_modfl_use=no
58567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58568 ac_ext=c
58569 ac_cpp='$CPP $CPPFLAGS'
58570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58579 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58581 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58582 for ac_func in modfl
58583 do :
58584 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58585 if test "x$ac_cv_func_modfl" = x""yes; then :
58586 cat >>confdefs.h <<_ACEOF
58587 #define HAVE_MODFL 1
58588 _ACEOF
58591 done
58593 else
58595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58596 $as_echo_n "checking for _modfl declaration... " >&6; }
58597 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58598 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58599 $as_echo_n "(cached) " >&6
58600 else
58603 ac_ext=cpp
58604 ac_cpp='$CXXCPP $CPPFLAGS'
58605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58610 /* end confdefs.h. */
58611 #include <math.h>
58613 main ()
58615 _modfl(0, 0);
58617 return 0;
58619 _ACEOF
58620 if ac_fn_cxx_try_compile "$LINENO"; then :
58621 glibcxx_cv_func__modfl_use=yes
58622 else
58623 glibcxx_cv_func__modfl_use=no
58625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58626 ac_ext=c
58627 ac_cpp='$CPP $CPPFLAGS'
58628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58637 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58639 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58640 for ac_func in _modfl
58641 do :
58642 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58643 if test "x$ac_cv_func__modfl" = x""yes; then :
58644 cat >>confdefs.h <<_ACEOF
58645 #define HAVE__MODFL 1
58646 _ACEOF
58649 done
58658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58659 $as_echo_n "checking for powl declaration... " >&6; }
58660 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58661 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58662 $as_echo_n "(cached) " >&6
58663 else
58666 ac_ext=cpp
58667 ac_cpp='$CXXCPP $CPPFLAGS'
58668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58673 /* end confdefs.h. */
58674 #include <math.h>
58676 main ()
58678 powl(0, 0);
58680 return 0;
58682 _ACEOF
58683 if ac_fn_cxx_try_compile "$LINENO"; then :
58684 glibcxx_cv_func_powl_use=yes
58685 else
58686 glibcxx_cv_func_powl_use=no
58688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58689 ac_ext=c
58690 ac_cpp='$CPP $CPPFLAGS'
58691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
58700 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
58702 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58703 for ac_func in powl
58704 do :
58705 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
58706 if test "x$ac_cv_func_powl" = x""yes; then :
58707 cat >>confdefs.h <<_ACEOF
58708 #define HAVE_POWL 1
58709 _ACEOF
58712 done
58714 else
58716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
58717 $as_echo_n "checking for _powl declaration... " >&6; }
58718 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58719 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
58720 $as_echo_n "(cached) " >&6
58721 else
58724 ac_ext=cpp
58725 ac_cpp='$CXXCPP $CPPFLAGS'
58726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58731 /* end confdefs.h. */
58732 #include <math.h>
58734 main ()
58736 _powl(0, 0);
58738 return 0;
58740 _ACEOF
58741 if ac_fn_cxx_try_compile "$LINENO"; then :
58742 glibcxx_cv_func__powl_use=yes
58743 else
58744 glibcxx_cv_func__powl_use=no
58746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58747 ac_ext=c
58748 ac_cpp='$CPP $CPPFLAGS'
58749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
58758 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
58760 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58761 for ac_func in _powl
58762 do :
58763 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
58764 if test "x$ac_cv_func__powl" = x""yes; then :
58765 cat >>confdefs.h <<_ACEOF
58766 #define HAVE__POWL 1
58767 _ACEOF
58770 done
58779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
58780 $as_echo_n "checking for sqrtl declaration... " >&6; }
58781 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58782 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
58783 $as_echo_n "(cached) " >&6
58784 else
58787 ac_ext=cpp
58788 ac_cpp='$CXXCPP $CPPFLAGS'
58789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58794 /* end confdefs.h. */
58795 #include <math.h>
58796 #ifdef HAVE_IEEEFP_H
58797 #include <ieeefp.h>
58798 #endif
58801 main ()
58803 sqrtl(0);
58805 return 0;
58807 _ACEOF
58808 if ac_fn_cxx_try_compile "$LINENO"; then :
58809 glibcxx_cv_func_sqrtl_use=yes
58810 else
58811 glibcxx_cv_func_sqrtl_use=no
58813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58814 ac_ext=c
58815 ac_cpp='$CPP $CPPFLAGS'
58816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58825 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58827 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58828 for ac_func in sqrtl
58829 do :
58830 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58831 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58832 cat >>confdefs.h <<_ACEOF
58833 #define HAVE_SQRTL 1
58834 _ACEOF
58837 done
58839 else
58841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58842 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58843 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58844 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58845 $as_echo_n "(cached) " >&6
58846 else
58849 ac_ext=cpp
58850 ac_cpp='$CXXCPP $CPPFLAGS'
58851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58856 /* end confdefs.h. */
58857 #include <math.h>
58858 #ifdef HAVE_IEEEFP_H
58859 #include <ieeefp.h>
58860 #endif
58863 main ()
58865 _sqrtl(0);
58867 return 0;
58869 _ACEOF
58870 if ac_fn_cxx_try_compile "$LINENO"; then :
58871 glibcxx_cv_func__sqrtl_use=yes
58872 else
58873 glibcxx_cv_func__sqrtl_use=no
58875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58876 ac_ext=c
58877 ac_cpp='$CPP $CPPFLAGS'
58878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58887 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58889 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58890 for ac_func in _sqrtl
58891 do :
58892 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58893 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58894 cat >>confdefs.h <<_ACEOF
58895 #define HAVE__SQRTL 1
58896 _ACEOF
58899 done
58908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58909 $as_echo_n "checking for sincosl declaration... " >&6; }
58910 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58911 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58912 $as_echo_n "(cached) " >&6
58913 else
58916 ac_ext=cpp
58917 ac_cpp='$CXXCPP $CPPFLAGS'
58918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58923 /* end confdefs.h. */
58924 #include <math.h>
58926 main ()
58928 sincosl(0, 0, 0);
58930 return 0;
58932 _ACEOF
58933 if ac_fn_cxx_try_compile "$LINENO"; then :
58934 glibcxx_cv_func_sincosl_use=yes
58935 else
58936 glibcxx_cv_func_sincosl_use=no
58938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58939 ac_ext=c
58940 ac_cpp='$CPP $CPPFLAGS'
58941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58950 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58952 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58953 for ac_func in sincosl
58954 do :
58955 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58956 if test "x$ac_cv_func_sincosl" = x""yes; then :
58957 cat >>confdefs.h <<_ACEOF
58958 #define HAVE_SINCOSL 1
58959 _ACEOF
58962 done
58964 else
58966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58967 $as_echo_n "checking for _sincosl declaration... " >&6; }
58968 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58969 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58970 $as_echo_n "(cached) " >&6
58971 else
58974 ac_ext=cpp
58975 ac_cpp='$CXXCPP $CPPFLAGS'
58976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58981 /* end confdefs.h. */
58982 #include <math.h>
58984 main ()
58986 _sincosl(0, 0, 0);
58988 return 0;
58990 _ACEOF
58991 if ac_fn_cxx_try_compile "$LINENO"; then :
58992 glibcxx_cv_func__sincosl_use=yes
58993 else
58994 glibcxx_cv_func__sincosl_use=no
58996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58997 ac_ext=c
58998 ac_cpp='$CPP $CPPFLAGS'
58999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59008 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59010 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59011 for ac_func in _sincosl
59012 do :
59013 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59014 if test "x$ac_cv_func__sincosl" = x""yes; then :
59015 cat >>confdefs.h <<_ACEOF
59016 #define HAVE__SINCOSL 1
59017 _ACEOF
59020 done
59029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59030 $as_echo_n "checking for finitel declaration... " >&6; }
59031 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59032 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59033 $as_echo_n "(cached) " >&6
59034 else
59037 ac_ext=cpp
59038 ac_cpp='$CXXCPP $CPPFLAGS'
59039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59044 /* end confdefs.h. */
59045 #include <math.h>
59046 #ifdef HAVE_IEEEFP_H
59047 #include <ieeefp.h>
59048 #endif
59051 main ()
59053 finitel(0);
59055 return 0;
59057 _ACEOF
59058 if ac_fn_cxx_try_compile "$LINENO"; then :
59059 glibcxx_cv_func_finitel_use=yes
59060 else
59061 glibcxx_cv_func_finitel_use=no
59063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59064 ac_ext=c
59065 ac_cpp='$CPP $CPPFLAGS'
59066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59075 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59077 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59078 for ac_func in finitel
59079 do :
59080 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59081 if test "x$ac_cv_func_finitel" = x""yes; then :
59082 cat >>confdefs.h <<_ACEOF
59083 #define HAVE_FINITEL 1
59084 _ACEOF
59087 done
59089 else
59091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59092 $as_echo_n "checking for _finitel declaration... " >&6; }
59093 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59094 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59095 $as_echo_n "(cached) " >&6
59096 else
59099 ac_ext=cpp
59100 ac_cpp='$CXXCPP $CPPFLAGS'
59101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59106 /* end confdefs.h. */
59107 #include <math.h>
59108 #ifdef HAVE_IEEEFP_H
59109 #include <ieeefp.h>
59110 #endif
59113 main ()
59115 _finitel(0);
59117 return 0;
59119 _ACEOF
59120 if ac_fn_cxx_try_compile "$LINENO"; then :
59121 glibcxx_cv_func__finitel_use=yes
59122 else
59123 glibcxx_cv_func__finitel_use=no
59125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59126 ac_ext=c
59127 ac_cpp='$CPP $CPPFLAGS'
59128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59137 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59139 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59140 for ac_func in _finitel
59141 do :
59142 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59143 if test "x$ac_cv_func__finitel" = x""yes; then :
59144 cat >>confdefs.h <<_ACEOF
59145 #define HAVE__FINITEL 1
59146 _ACEOF
59149 done
59157 LIBS="$ac_save_LIBS"
59158 CXXFLAGS="$ac_save_CXXFLAGS"
59161 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59162 ac_save_CXXFLAGS="$CXXFLAGS"
59163 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59167 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59168 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59169 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59170 $as_echo_n "(cached) " >&6
59171 else
59174 ac_ext=cpp
59175 ac_cpp='$CXXCPP $CPPFLAGS'
59176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59181 /* end confdefs.h. */
59182 #include <stdlib.h>
59184 main ()
59186 at_quick_exit(0);
59188 return 0;
59190 _ACEOF
59191 if ac_fn_cxx_try_compile "$LINENO"; then :
59192 glibcxx_cv_func_at_quick_exit_use=yes
59193 else
59194 glibcxx_cv_func_at_quick_exit_use=no
59196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59197 ac_ext=c
59198 ac_cpp='$CPP $CPPFLAGS'
59199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59208 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59209 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59210 for ac_func in at_quick_exit
59211 do :
59212 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59213 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59214 cat >>confdefs.h <<_ACEOF
59215 #define HAVE_AT_QUICK_EXIT 1
59216 _ACEOF
59219 done
59224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59225 $as_echo_n "checking for quick_exit declaration... " >&6; }
59226 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59227 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59228 $as_echo_n "(cached) " >&6
59229 else
59232 ac_ext=cpp
59233 ac_cpp='$CXXCPP $CPPFLAGS'
59234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59239 /* end confdefs.h. */
59240 #include <stdlib.h>
59242 main ()
59244 quick_exit(0);
59246 return 0;
59248 _ACEOF
59249 if ac_fn_cxx_try_compile "$LINENO"; then :
59250 glibcxx_cv_func_quick_exit_use=yes
59251 else
59252 glibcxx_cv_func_quick_exit_use=no
59254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59255 ac_ext=c
59256 ac_cpp='$CPP $CPPFLAGS'
59257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59266 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59267 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59268 for ac_func in quick_exit
59269 do :
59270 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59271 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59272 cat >>confdefs.h <<_ACEOF
59273 #define HAVE_QUICK_EXIT 1
59274 _ACEOF
59277 done
59282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59283 $as_echo_n "checking for strtold declaration... " >&6; }
59284 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59285 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59286 $as_echo_n "(cached) " >&6
59287 else
59290 ac_ext=cpp
59291 ac_cpp='$CXXCPP $CPPFLAGS'
59292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59297 /* end confdefs.h. */
59298 #include <stdlib.h>
59300 main ()
59302 strtold(0, 0);
59304 return 0;
59306 _ACEOF
59307 if ac_fn_cxx_try_compile "$LINENO"; then :
59308 glibcxx_cv_func_strtold_use=yes
59309 else
59310 glibcxx_cv_func_strtold_use=no
59312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59313 ac_ext=c
59314 ac_cpp='$CPP $CPPFLAGS'
59315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59324 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59325 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59326 for ac_func in strtold
59327 do :
59328 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59329 if test "x$ac_cv_func_strtold" = x""yes; then :
59330 cat >>confdefs.h <<_ACEOF
59331 #define HAVE_STRTOLD 1
59332 _ACEOF
59335 done
59342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59343 $as_echo_n "checking for strtof declaration... " >&6; }
59344 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59345 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59346 $as_echo_n "(cached) " >&6
59347 else
59350 ac_ext=cpp
59351 ac_cpp='$CXXCPP $CPPFLAGS'
59352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59357 /* end confdefs.h. */
59358 #include <stdlib.h>
59360 main ()
59362 strtof(0, 0);
59364 return 0;
59366 _ACEOF
59367 if ac_fn_cxx_try_compile "$LINENO"; then :
59368 glibcxx_cv_func_strtof_use=yes
59369 else
59370 glibcxx_cv_func_strtof_use=no
59372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59373 ac_ext=c
59374 ac_cpp='$CPP $CPPFLAGS'
59375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59384 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59385 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59386 for ac_func in strtof
59387 do :
59388 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59389 if test "x$ac_cv_func_strtof" = x""yes; then :
59390 cat >>confdefs.h <<_ACEOF
59391 #define HAVE_STRTOF 1
59392 _ACEOF
59395 done
59402 CXXFLAGS="$ac_save_CXXFLAGS"
59404 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59408 # Check whether --enable-tls was given.
59409 if test "${enable_tls+set}" = set; then :
59410 enableval=$enable_tls;
59411 case "$enableval" in
59412 yes|no) ;;
59413 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59414 esac
59416 else
59417 enable_tls=yes
59421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59422 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59423 if test "${gcc_cv_have_tls+set}" = set; then :
59424 $as_echo_n "(cached) " >&6
59425 else
59427 if test "$cross_compiling" = yes; then :
59428 if test x$gcc_no_link = xyes; then
59429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59432 /* end confdefs.h. */
59433 __thread int a; int b; int main() { return a = b; }
59434 _ACEOF
59435 if ac_fn_c_try_link "$LINENO"; then :
59436 chktls_save_LDFLAGS="$LDFLAGS"
59437 case $host in
59438 *-*-linux*)
59439 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59441 esac
59442 chktls_save_CFLAGS="$CFLAGS"
59443 CFLAGS="-fPIC $CFLAGS"
59444 if test x$gcc_no_link = xyes; then
59445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59448 /* end confdefs.h. */
59449 int f() { return 0; }
59450 _ACEOF
59451 if ac_fn_c_try_link "$LINENO"; then :
59452 if test x$gcc_no_link = xyes; then
59453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59456 /* end confdefs.h. */
59457 __thread int a; int b; int f() { return a = b; }
59458 _ACEOF
59459 if ac_fn_c_try_link "$LINENO"; then :
59460 gcc_cv_have_tls=yes
59461 else
59462 gcc_cv_have_tls=no
59464 rm -f core conftest.err conftest.$ac_objext \
59465 conftest$ac_exeext conftest.$ac_ext
59466 else
59467 gcc_cv_have_tls=yes
59469 rm -f core conftest.err conftest.$ac_objext \
59470 conftest$ac_exeext conftest.$ac_ext
59471 CFLAGS="$chktls_save_CFLAGS"
59472 LDFLAGS="$chktls_save_LDFLAGS"
59473 else
59474 gcc_cv_have_tls=no
59476 rm -f core conftest.err conftest.$ac_objext \
59477 conftest$ac_exeext conftest.$ac_ext
59480 else
59481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59482 /* end confdefs.h. */
59483 __thread int a; int b; int main() { return a = b; }
59484 _ACEOF
59485 if ac_fn_c_try_run "$LINENO"; then :
59486 chktls_save_LDFLAGS="$LDFLAGS"
59487 LDFLAGS="-static $LDFLAGS"
59488 if test x$gcc_no_link = xyes; then
59489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59492 /* end confdefs.h. */
59493 int main() { return 0; }
59494 _ACEOF
59495 if ac_fn_c_try_link "$LINENO"; then :
59496 if test "$cross_compiling" = yes; then :
59497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59499 as_fn_error "cannot run test program while cross compiling
59500 See \`config.log' for more details." "$LINENO" 5; }
59501 else
59502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59503 /* end confdefs.h. */
59504 __thread int a; int b; int main() { return a = b; }
59505 _ACEOF
59506 if ac_fn_c_try_run "$LINENO"; then :
59507 gcc_cv_have_tls=yes
59508 else
59509 gcc_cv_have_tls=no
59511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59512 conftest.$ac_objext conftest.beam conftest.$ac_ext
59515 else
59516 gcc_cv_have_tls=yes
59518 rm -f core conftest.err conftest.$ac_objext \
59519 conftest$ac_exeext conftest.$ac_ext
59520 LDFLAGS="$chktls_save_LDFLAGS"
59521 if test $gcc_cv_have_tls = yes; then
59522 chktls_save_CFLAGS="$CFLAGS"
59523 thread_CFLAGS=failed
59524 for flag in '' '-pthread' '-lpthread'; do
59525 CFLAGS="$flag $chktls_save_CFLAGS"
59526 if test x$gcc_no_link = xyes; then
59527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59530 /* end confdefs.h. */
59531 #include <pthread.h>
59532 void *g(void *d) { return NULL; }
59534 main ()
59536 pthread_t t; pthread_create(&t,NULL,g,NULL);
59538 return 0;
59540 _ACEOF
59541 if ac_fn_c_try_link "$LINENO"; then :
59542 thread_CFLAGS="$flag"
59544 rm -f core conftest.err conftest.$ac_objext \
59545 conftest$ac_exeext conftest.$ac_ext
59546 if test "X$thread_CFLAGS" != Xfailed; then
59547 break
59549 done
59550 CFLAGS="$chktls_save_CFLAGS"
59551 if test "X$thread_CFLAGS" != Xfailed; then
59552 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59553 if test "$cross_compiling" = yes; then :
59554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59556 as_fn_error "cannot run test program while cross compiling
59557 See \`config.log' for more details." "$LINENO" 5; }
59558 else
59559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59560 /* end confdefs.h. */
59561 #include <pthread.h>
59562 __thread int a;
59563 static int *volatile a_in_other_thread;
59564 static void *
59565 thread_func (void *arg)
59567 a_in_other_thread = &a;
59568 return (void *)0;
59571 main ()
59573 pthread_t thread;
59574 void *thread_retval;
59575 int *volatile a_in_main_thread;
59576 a_in_main_thread = &a;
59577 if (pthread_create (&thread, (pthread_attr_t *)0,
59578 thread_func, (void *)0))
59579 return 0;
59580 if (pthread_join (thread, &thread_retval))
59581 return 0;
59582 return (a_in_other_thread == a_in_main_thread);
59584 return 0;
59586 _ACEOF
59587 if ac_fn_c_try_run "$LINENO"; then :
59588 gcc_cv_have_tls=yes
59589 else
59590 gcc_cv_have_tls=no
59592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59593 conftest.$ac_objext conftest.beam conftest.$ac_ext
59596 CFLAGS="$chktls_save_CFLAGS"
59599 else
59600 gcc_cv_have_tls=no
59602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59603 conftest.$ac_objext conftest.beam conftest.$ac_ext
59607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59608 $as_echo "$gcc_cv_have_tls" >&6; }
59609 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59611 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59614 for ac_func in __cxa_thread_atexit_impl
59615 do :
59616 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59617 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59618 cat >>confdefs.h <<_ACEOF
59619 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59620 _ACEOF
59623 done
59630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59631 $as_echo_n "checking for iconv... " >&6; }
59632 if test "${am_cv_func_iconv+set}" = set; then :
59633 $as_echo_n "(cached) " >&6
59634 else
59636 am_cv_func_iconv="no, consider installing GNU libiconv"
59637 am_cv_lib_iconv=no
59638 am_save_CPPFLAGS="$CPPFLAGS"
59639 CPPFLAGS="$CPPFLAGS $INCICONV"
59640 if test x$gcc_no_link = xyes; then
59641 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59644 /* end confdefs.h. */
59645 #include <stdlib.h>
59646 #include <iconv.h>
59648 main ()
59650 iconv_t cd = iconv_open("","");
59651 iconv(cd,NULL,NULL,NULL,NULL);
59652 iconv_close(cd);
59654 return 0;
59656 _ACEOF
59657 if ac_fn_c_try_link "$LINENO"; then :
59658 am_cv_func_iconv=yes
59660 rm -f core conftest.err conftest.$ac_objext \
59661 conftest$ac_exeext conftest.$ac_ext
59662 CPPFLAGS="$am_save_CPPFLAGS"
59664 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
59665 for _libs in .libs _libs; do
59666 am_save_CPPFLAGS="$CPPFLAGS"
59667 am_save_LIBS="$LIBS"
59668 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
59669 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
59670 if test x$gcc_no_link = xyes; then
59671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59674 /* end confdefs.h. */
59675 #include <stdlib.h>
59676 #include <iconv.h>
59678 main ()
59680 iconv_t cd = iconv_open("","");
59681 iconv(cd,NULL,NULL,NULL,NULL);
59682 iconv_close(cd);
59684 return 0;
59686 _ACEOF
59687 if ac_fn_c_try_link "$LINENO"; then :
59688 INCICONV="-I../libiconv/include"
59689 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
59690 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
59691 am_cv_lib_iconv=yes
59692 am_cv_func_iconv=yes
59694 rm -f core conftest.err conftest.$ac_objext \
59695 conftest$ac_exeext conftest.$ac_ext
59696 CPPFLAGS="$am_save_CPPFLAGS"
59697 LIBS="$am_save_LIBS"
59698 if test "$am_cv_func_iconv" = "yes"; then
59699 break
59701 done
59704 if test "$am_cv_func_iconv" != yes; then
59705 am_save_CPPFLAGS="$CPPFLAGS"
59706 am_save_LIBS="$LIBS"
59707 CPPFLAGS="$LIBS $INCICONV"
59708 LIBS="$LIBS $LIBICONV"
59709 if test x$gcc_no_link = xyes; then
59710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59713 /* end confdefs.h. */
59714 #include <stdlib.h>
59715 #include <iconv.h>
59717 main ()
59719 iconv_t cd = iconv_open("","");
59720 iconv(cd,NULL,NULL,NULL,NULL);
59721 iconv_close(cd);
59723 return 0;
59725 _ACEOF
59726 if ac_fn_c_try_link "$LINENO"; then :
59727 am_cv_lib_iconv=yes
59728 am_cv_func_iconv=yes
59730 rm -f core conftest.err conftest.$ac_objext \
59731 conftest$ac_exeext conftest.$ac_ext
59732 CPPFLAGS="$am_save_CPPFLAGS"
59733 LIBS="$am_save_LIBS"
59737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59738 $as_echo "$am_cv_func_iconv" >&6; }
59739 if test "$am_cv_func_iconv" = yes; then
59741 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
59744 if test "$am_cv_lib_iconv" = yes; then
59746 for element in $INCICONV; do
59747 haveit=
59748 for x in $CPPFLAGS; do
59750 acl_save_prefix="$prefix"
59751 prefix="$acl_final_prefix"
59752 acl_save_exec_prefix="$exec_prefix"
59753 exec_prefix="$acl_final_exec_prefix"
59754 eval x=\"$x\"
59755 exec_prefix="$acl_save_exec_prefix"
59756 prefix="$acl_save_prefix"
59758 if test "X$x" = "X$element"; then
59759 haveit=yes
59760 break
59762 done
59763 if test -z "$haveit"; then
59764 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59766 done
59768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59769 $as_echo_n "checking how to link with libiconv... " >&6; }
59770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59771 $as_echo "$LIBICONV" >&6; }
59772 else
59773 LIBICONV=
59774 LTLIBICONV=
59779 if test "$am_cv_func_iconv" = yes; then
59780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
59781 $as_echo_n "checking for iconv declaration... " >&6; }
59782 if test "${am_cv_proto_iconv+set}" = set; then :
59783 $as_echo_n "(cached) " >&6
59784 else
59786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59787 /* end confdefs.h. */
59789 #include <stdlib.h>
59790 #include <iconv.h>
59791 extern
59792 #ifdef __cplusplus
59794 #endif
59795 #if defined(__STDC__) || defined(__cplusplus)
59796 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
59797 #else
59798 size_t iconv();
59799 #endif
59802 main ()
59806 return 0;
59808 _ACEOF
59809 if ac_fn_c_try_compile "$LINENO"; then :
59810 am_cv_proto_iconv_arg1=""
59811 else
59812 am_cv_proto_iconv_arg1="const"
59814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59815 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);"
59818 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59820 }$am_cv_proto_iconv" >&5
59821 $as_echo "${ac_t:-
59822 }$am_cv_proto_iconv" >&6; }
59824 cat >>confdefs.h <<_ACEOF
59825 #define ICONV_CONST $am_cv_proto_iconv_arg1
59826 _ACEOF
59831 *-mingw32*)
59833 # If we're not using GNU ld, then there's no point in even trying these
59834 # tests. Check for that first. We should have already tested for gld
59835 # by now (in libtool), but require it now just to be safe...
59836 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59837 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59841 # The name set by libtool depends on the version of libtool. Shame on us
59842 # for depending on an impl detail, but c'est la vie. Older versions used
59843 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59844 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59845 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59846 # set (hence we're using an older libtool), then set it.
59847 if test x${with_gnu_ld+set} != xset; then
59848 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59849 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59850 with_gnu_ld=no
59851 else
59852 with_gnu_ld=$ac_cv_prog_gnu_ld
59856 # Start by getting the version number. I think the libtool test already
59857 # does some of this, but throws away the result.
59858 glibcxx_ld_is_gold=no
59859 if test x"$with_gnu_ld" = x"yes"; then
59860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59861 $as_echo_n "checking for ld version... " >&6; }
59863 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59864 glibcxx_ld_is_gold=yes
59866 ldver=`$LD --version 2>/dev/null |
59867 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'`
59869 glibcxx_gnu_ld_version=`echo $ldver | \
59870 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59872 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59875 # Set --gc-sections.
59876 glibcxx_have_gc_sections=no
59877 if test "$glibcxx_ld_is_gold" = "yes"; then
59878 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59879 glibcxx_have_gc_sections=yes
59881 else
59882 glibcxx_gcsections_min_ld=21602
59883 if test x"$with_gnu_ld" = x"yes" &&
59884 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59885 glibcxx_have_gc_sections=yes
59888 if test "$glibcxx_have_gc_sections" = "yes"; then
59889 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
59890 # NB: This flag only works reliably after 2.16.1. Configure tests
59891 # for this are difficult, so hard wire a value that should work.
59893 ac_test_CFLAGS="${CFLAGS+set}"
59894 ac_save_CFLAGS="$CFLAGS"
59895 CFLAGS='-Wl,--gc-sections'
59897 # Check for -Wl,--gc-sections
59898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
59899 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
59900 if test x$gcc_no_link = xyes; then
59901 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59904 /* end confdefs.h. */
59905 int one(void) { return 1; }
59906 int two(void) { return 2; }
59909 main ()
59911 two();
59913 return 0;
59915 _ACEOF
59916 if ac_fn_c_try_link "$LINENO"; then :
59917 ac_gcsections=yes
59918 else
59919 ac_gcsections=no
59921 rm -f core conftest.err conftest.$ac_objext \
59922 conftest$ac_exeext conftest.$ac_ext
59923 if test "$ac_gcsections" = "yes"; then
59924 rm -f conftest.c
59925 touch conftest.c
59926 if $CC -c conftest.c; then
59927 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59928 grep "Warning: gc-sections option ignored" > /dev/null; then
59929 ac_gcsections=no
59932 rm -f conftest.c conftest.o conftest
59934 if test "$ac_gcsections" = "yes"; then
59935 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59938 $as_echo "$ac_gcsections" >&6; }
59940 if test "$ac_test_CFLAGS" = set; then
59941 CFLAGS="$ac_save_CFLAGS"
59942 else
59943 # this is the suspicious part
59944 CFLAGS=''
59948 # Set -z,relro.
59949 # Note this is only for shared objects.
59950 ac_ld_relro=no
59951 if test x"$with_gnu_ld" = x"yes"; then
59952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59953 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59954 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59955 if test -n "$cxx_z_relo"; then
59956 OPT_LDFLAGS="-Wl,-z,relro"
59957 ac_ld_relro=yes
59959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59960 $as_echo "$ac_ld_relro" >&6; }
59963 # Set linker optimization flags.
59964 if test x"$with_gnu_ld" = x"yes"; then
59965 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59972 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59973 ac_save_CXXFLAGS="$CXXFLAGS"
59974 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59977 $as_echo_n "checking for sin in -lm... " >&6; }
59978 if test "${ac_cv_lib_m_sin+set}" = set; then :
59979 $as_echo_n "(cached) " >&6
59980 else
59981 ac_check_lib_save_LIBS=$LIBS
59982 LIBS="-lm $LIBS"
59983 if test x$gcc_no_link = xyes; then
59984 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59987 /* end confdefs.h. */
59989 /* Override any GCC internal prototype to avoid an error.
59990 Use char because int might match the return type of a GCC
59991 builtin and then its argument prototype would still apply. */
59992 #ifdef __cplusplus
59993 extern "C"
59994 #endif
59995 char sin ();
59997 main ()
59999 return sin ();
60001 return 0;
60003 _ACEOF
60004 if ac_fn_c_try_link "$LINENO"; then :
60005 ac_cv_lib_m_sin=yes
60006 else
60007 ac_cv_lib_m_sin=no
60009 rm -f core conftest.err conftest.$ac_objext \
60010 conftest$ac_exeext conftest.$ac_ext
60011 LIBS=$ac_check_lib_save_LIBS
60013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60014 $as_echo "$ac_cv_lib_m_sin" >&6; }
60015 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60016 libm="-lm"
60019 ac_save_LIBS="$LIBS"
60020 LIBS="$LIBS $libm"
60024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60025 $as_echo_n "checking for isinf declaration... " >&6; }
60026 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60027 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60028 $as_echo_n "(cached) " >&6
60029 else
60032 ac_ext=cpp
60033 ac_cpp='$CXXCPP $CPPFLAGS'
60034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60039 /* end confdefs.h. */
60040 #include <math.h>
60041 #ifdef HAVE_IEEEFP_H
60042 #include <ieeefp.h>
60043 #endif
60046 main ()
60048 isinf(0);
60050 return 0;
60052 _ACEOF
60053 if ac_fn_cxx_try_compile "$LINENO"; then :
60054 glibcxx_cv_func_isinf_use=yes
60055 else
60056 glibcxx_cv_func_isinf_use=no
60058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60059 ac_ext=c
60060 ac_cpp='$CPP $CPPFLAGS'
60061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60070 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60072 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60073 for ac_func in isinf
60074 do :
60075 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60076 if test "x$ac_cv_func_isinf" = x""yes; then :
60077 cat >>confdefs.h <<_ACEOF
60078 #define HAVE_ISINF 1
60079 _ACEOF
60082 done
60084 else
60086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60087 $as_echo_n "checking for _isinf declaration... " >&6; }
60088 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60089 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60090 $as_echo_n "(cached) " >&6
60091 else
60094 ac_ext=cpp
60095 ac_cpp='$CXXCPP $CPPFLAGS'
60096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60101 /* end confdefs.h. */
60102 #include <math.h>
60103 #ifdef HAVE_IEEEFP_H
60104 #include <ieeefp.h>
60105 #endif
60108 main ()
60110 _isinf(0);
60112 return 0;
60114 _ACEOF
60115 if ac_fn_cxx_try_compile "$LINENO"; then :
60116 glibcxx_cv_func__isinf_use=yes
60117 else
60118 glibcxx_cv_func__isinf_use=no
60120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60121 ac_ext=c
60122 ac_cpp='$CPP $CPPFLAGS'
60123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60132 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60134 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60135 for ac_func in _isinf
60136 do :
60137 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60138 if test "x$ac_cv_func__isinf" = x""yes; then :
60139 cat >>confdefs.h <<_ACEOF
60140 #define HAVE__ISINF 1
60141 _ACEOF
60144 done
60153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60154 $as_echo_n "checking for isnan declaration... " >&6; }
60155 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60156 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60157 $as_echo_n "(cached) " >&6
60158 else
60161 ac_ext=cpp
60162 ac_cpp='$CXXCPP $CPPFLAGS'
60163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60168 /* end confdefs.h. */
60169 #include <math.h>
60170 #ifdef HAVE_IEEEFP_H
60171 #include <ieeefp.h>
60172 #endif
60175 main ()
60177 isnan(0);
60179 return 0;
60181 _ACEOF
60182 if ac_fn_cxx_try_compile "$LINENO"; then :
60183 glibcxx_cv_func_isnan_use=yes
60184 else
60185 glibcxx_cv_func_isnan_use=no
60187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60188 ac_ext=c
60189 ac_cpp='$CPP $CPPFLAGS'
60190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60199 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60201 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60202 for ac_func in isnan
60203 do :
60204 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60205 if test "x$ac_cv_func_isnan" = x""yes; then :
60206 cat >>confdefs.h <<_ACEOF
60207 #define HAVE_ISNAN 1
60208 _ACEOF
60211 done
60213 else
60215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60216 $as_echo_n "checking for _isnan declaration... " >&6; }
60217 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60218 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60219 $as_echo_n "(cached) " >&6
60220 else
60223 ac_ext=cpp
60224 ac_cpp='$CXXCPP $CPPFLAGS'
60225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60230 /* end confdefs.h. */
60231 #include <math.h>
60232 #ifdef HAVE_IEEEFP_H
60233 #include <ieeefp.h>
60234 #endif
60237 main ()
60239 _isnan(0);
60241 return 0;
60243 _ACEOF
60244 if ac_fn_cxx_try_compile "$LINENO"; then :
60245 glibcxx_cv_func__isnan_use=yes
60246 else
60247 glibcxx_cv_func__isnan_use=no
60249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60250 ac_ext=c
60251 ac_cpp='$CPP $CPPFLAGS'
60252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60261 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60263 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60264 for ac_func in _isnan
60265 do :
60266 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60267 if test "x$ac_cv_func__isnan" = x""yes; then :
60268 cat >>confdefs.h <<_ACEOF
60269 #define HAVE__ISNAN 1
60270 _ACEOF
60273 done
60282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60283 $as_echo_n "checking for finite declaration... " >&6; }
60284 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60285 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60286 $as_echo_n "(cached) " >&6
60287 else
60290 ac_ext=cpp
60291 ac_cpp='$CXXCPP $CPPFLAGS'
60292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60297 /* end confdefs.h. */
60298 #include <math.h>
60299 #ifdef HAVE_IEEEFP_H
60300 #include <ieeefp.h>
60301 #endif
60304 main ()
60306 finite(0);
60308 return 0;
60310 _ACEOF
60311 if ac_fn_cxx_try_compile "$LINENO"; then :
60312 glibcxx_cv_func_finite_use=yes
60313 else
60314 glibcxx_cv_func_finite_use=no
60316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60317 ac_ext=c
60318 ac_cpp='$CPP $CPPFLAGS'
60319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60328 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60330 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60331 for ac_func in finite
60332 do :
60333 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60334 if test "x$ac_cv_func_finite" = x""yes; then :
60335 cat >>confdefs.h <<_ACEOF
60336 #define HAVE_FINITE 1
60337 _ACEOF
60340 done
60342 else
60344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60345 $as_echo_n "checking for _finite declaration... " >&6; }
60346 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60347 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60348 $as_echo_n "(cached) " >&6
60349 else
60352 ac_ext=cpp
60353 ac_cpp='$CXXCPP $CPPFLAGS'
60354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60359 /* end confdefs.h. */
60360 #include <math.h>
60361 #ifdef HAVE_IEEEFP_H
60362 #include <ieeefp.h>
60363 #endif
60366 main ()
60368 _finite(0);
60370 return 0;
60372 _ACEOF
60373 if ac_fn_cxx_try_compile "$LINENO"; then :
60374 glibcxx_cv_func__finite_use=yes
60375 else
60376 glibcxx_cv_func__finite_use=no
60378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60379 ac_ext=c
60380 ac_cpp='$CPP $CPPFLAGS'
60381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60390 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60392 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60393 for ac_func in _finite
60394 do :
60395 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60396 if test "x$ac_cv_func__finite" = x""yes; then :
60397 cat >>confdefs.h <<_ACEOF
60398 #define HAVE__FINITE 1
60399 _ACEOF
60402 done
60411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60412 $as_echo_n "checking for sincos declaration... " >&6; }
60413 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60414 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60415 $as_echo_n "(cached) " >&6
60416 else
60419 ac_ext=cpp
60420 ac_cpp='$CXXCPP $CPPFLAGS'
60421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60426 /* end confdefs.h. */
60427 #include <math.h>
60429 main ()
60431 sincos(0, 0, 0);
60433 return 0;
60435 _ACEOF
60436 if ac_fn_cxx_try_compile "$LINENO"; then :
60437 glibcxx_cv_func_sincos_use=yes
60438 else
60439 glibcxx_cv_func_sincos_use=no
60441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60442 ac_ext=c
60443 ac_cpp='$CPP $CPPFLAGS'
60444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60453 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60455 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60456 for ac_func in sincos
60457 do :
60458 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60459 if test "x$ac_cv_func_sincos" = x""yes; then :
60460 cat >>confdefs.h <<_ACEOF
60461 #define HAVE_SINCOS 1
60462 _ACEOF
60465 done
60467 else
60469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60470 $as_echo_n "checking for _sincos declaration... " >&6; }
60471 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60472 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60473 $as_echo_n "(cached) " >&6
60474 else
60477 ac_ext=cpp
60478 ac_cpp='$CXXCPP $CPPFLAGS'
60479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60484 /* end confdefs.h. */
60485 #include <math.h>
60487 main ()
60489 _sincos(0, 0, 0);
60491 return 0;
60493 _ACEOF
60494 if ac_fn_cxx_try_compile "$LINENO"; then :
60495 glibcxx_cv_func__sincos_use=yes
60496 else
60497 glibcxx_cv_func__sincos_use=no
60499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60500 ac_ext=c
60501 ac_cpp='$CPP $CPPFLAGS'
60502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60511 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60513 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60514 for ac_func in _sincos
60515 do :
60516 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60517 if test "x$ac_cv_func__sincos" = x""yes; then :
60518 cat >>confdefs.h <<_ACEOF
60519 #define HAVE__SINCOS 1
60520 _ACEOF
60523 done
60532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60533 $as_echo_n "checking for fpclass declaration... " >&6; }
60534 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60535 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60536 $as_echo_n "(cached) " >&6
60537 else
60540 ac_ext=cpp
60541 ac_cpp='$CXXCPP $CPPFLAGS'
60542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60547 /* end confdefs.h. */
60548 #include <math.h>
60549 #ifdef HAVE_IEEEFP_H
60550 #include <ieeefp.h>
60551 #endif
60554 main ()
60556 fpclass(0);
60558 return 0;
60560 _ACEOF
60561 if ac_fn_cxx_try_compile "$LINENO"; then :
60562 glibcxx_cv_func_fpclass_use=yes
60563 else
60564 glibcxx_cv_func_fpclass_use=no
60566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60567 ac_ext=c
60568 ac_cpp='$CPP $CPPFLAGS'
60569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60578 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60580 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60581 for ac_func in fpclass
60582 do :
60583 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60584 if test "x$ac_cv_func_fpclass" = x""yes; then :
60585 cat >>confdefs.h <<_ACEOF
60586 #define HAVE_FPCLASS 1
60587 _ACEOF
60590 done
60592 else
60594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60595 $as_echo_n "checking for _fpclass declaration... " >&6; }
60596 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60597 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60598 $as_echo_n "(cached) " >&6
60599 else
60602 ac_ext=cpp
60603 ac_cpp='$CXXCPP $CPPFLAGS'
60604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60609 /* end confdefs.h. */
60610 #include <math.h>
60611 #ifdef HAVE_IEEEFP_H
60612 #include <ieeefp.h>
60613 #endif
60616 main ()
60618 _fpclass(0);
60620 return 0;
60622 _ACEOF
60623 if ac_fn_cxx_try_compile "$LINENO"; then :
60624 glibcxx_cv_func__fpclass_use=yes
60625 else
60626 glibcxx_cv_func__fpclass_use=no
60628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60629 ac_ext=c
60630 ac_cpp='$CPP $CPPFLAGS'
60631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60640 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60642 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60643 for ac_func in _fpclass
60644 do :
60645 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60646 if test "x$ac_cv_func__fpclass" = x""yes; then :
60647 cat >>confdefs.h <<_ACEOF
60648 #define HAVE__FPCLASS 1
60649 _ACEOF
60652 done
60661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60662 $as_echo_n "checking for qfpclass declaration... " >&6; }
60663 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
60664 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
60665 $as_echo_n "(cached) " >&6
60666 else
60669 ac_ext=cpp
60670 ac_cpp='$CXXCPP $CPPFLAGS'
60671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60676 /* end confdefs.h. */
60677 #include <math.h>
60678 #ifdef HAVE_IEEEFP_H
60679 #include <ieeefp.h>
60680 #endif
60683 main ()
60685 qfpclass(0);
60687 return 0;
60689 _ACEOF
60690 if ac_fn_cxx_try_compile "$LINENO"; then :
60691 glibcxx_cv_func_qfpclass_use=yes
60692 else
60693 glibcxx_cv_func_qfpclass_use=no
60695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60696 ac_ext=c
60697 ac_cpp='$CPP $CPPFLAGS'
60698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
60707 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
60709 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
60710 for ac_func in qfpclass
60711 do :
60712 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
60713 if test "x$ac_cv_func_qfpclass" = x""yes; then :
60714 cat >>confdefs.h <<_ACEOF
60715 #define HAVE_QFPCLASS 1
60716 _ACEOF
60719 done
60721 else
60723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
60724 $as_echo_n "checking for _qfpclass declaration... " >&6; }
60725 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
60726 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
60727 $as_echo_n "(cached) " >&6
60728 else
60731 ac_ext=cpp
60732 ac_cpp='$CXXCPP $CPPFLAGS'
60733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60738 /* end confdefs.h. */
60739 #include <math.h>
60740 #ifdef HAVE_IEEEFP_H
60741 #include <ieeefp.h>
60742 #endif
60745 main ()
60747 _qfpclass(0);
60749 return 0;
60751 _ACEOF
60752 if ac_fn_cxx_try_compile "$LINENO"; then :
60753 glibcxx_cv_func__qfpclass_use=yes
60754 else
60755 glibcxx_cv_func__qfpclass_use=no
60757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60758 ac_ext=c
60759 ac_cpp='$CPP $CPPFLAGS'
60760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
60769 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
60771 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
60772 for ac_func in _qfpclass
60773 do :
60774 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
60775 if test "x$ac_cv_func__qfpclass" = x""yes; then :
60776 cat >>confdefs.h <<_ACEOF
60777 #define HAVE__QFPCLASS 1
60778 _ACEOF
60781 done
60790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
60791 $as_echo_n "checking for hypot declaration... " >&6; }
60792 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
60793 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
60794 $as_echo_n "(cached) " >&6
60795 else
60798 ac_ext=cpp
60799 ac_cpp='$CXXCPP $CPPFLAGS'
60800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60805 /* end confdefs.h. */
60806 #include <math.h>
60808 main ()
60810 hypot(0, 0);
60812 return 0;
60814 _ACEOF
60815 if ac_fn_cxx_try_compile "$LINENO"; then :
60816 glibcxx_cv_func_hypot_use=yes
60817 else
60818 glibcxx_cv_func_hypot_use=no
60820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60821 ac_ext=c
60822 ac_cpp='$CPP $CPPFLAGS'
60823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60832 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60834 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60835 for ac_func in hypot
60836 do :
60837 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60838 if test "x$ac_cv_func_hypot" = x""yes; then :
60839 cat >>confdefs.h <<_ACEOF
60840 #define HAVE_HYPOT 1
60841 _ACEOF
60844 done
60846 else
60848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60849 $as_echo_n "checking for _hypot declaration... " >&6; }
60850 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60851 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60852 $as_echo_n "(cached) " >&6
60853 else
60856 ac_ext=cpp
60857 ac_cpp='$CXXCPP $CPPFLAGS'
60858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60863 /* end confdefs.h. */
60864 #include <math.h>
60866 main ()
60868 _hypot(0, 0);
60870 return 0;
60872 _ACEOF
60873 if ac_fn_cxx_try_compile "$LINENO"; then :
60874 glibcxx_cv_func__hypot_use=yes
60875 else
60876 glibcxx_cv_func__hypot_use=no
60878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60879 ac_ext=c
60880 ac_cpp='$CPP $CPPFLAGS'
60881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
60890 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
60892 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
60893 for ac_func in _hypot
60894 do :
60895 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
60896 if test "x$ac_cv_func__hypot" = x""yes; then :
60897 cat >>confdefs.h <<_ACEOF
60898 #define HAVE__HYPOT 1
60899 _ACEOF
60902 done
60911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60912 $as_echo_n "checking for float trig functions... " >&6; }
60913 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60914 $as_echo_n "(cached) " >&6
60915 else
60918 ac_ext=cpp
60919 ac_cpp='$CXXCPP $CPPFLAGS'
60920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60925 /* end confdefs.h. */
60926 #include <math.h>
60928 main ()
60930 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60932 return 0;
60934 _ACEOF
60935 if ac_fn_cxx_try_compile "$LINENO"; then :
60936 glibcxx_cv_func_float_trig_use=yes
60937 else
60938 glibcxx_cv_func_float_trig_use=no
60940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60941 ac_ext=c
60942 ac_cpp='$CPP $CPPFLAGS'
60943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60950 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60951 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60952 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60953 do :
60954 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60955 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60956 eval as_val=\$$as_ac_var
60957 if test "x$as_val" = x""yes; then :
60958 cat >>confdefs.h <<_ACEOF
60959 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60960 _ACEOF
60963 done
60965 else
60966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60967 $as_echo_n "checking for _float trig functions... " >&6; }
60968 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60969 $as_echo_n "(cached) " >&6
60970 else
60973 ac_ext=cpp
60974 ac_cpp='$CXXCPP $CPPFLAGS'
60975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60980 /* end confdefs.h. */
60981 #include <math.h>
60983 main ()
60985 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60987 return 0;
60989 _ACEOF
60990 if ac_fn_cxx_try_compile "$LINENO"; then :
60991 glibcxx_cv_func__float_trig_use=yes
60992 else
60993 glibcxx_cv_func__float_trig_use=no
60995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60996 ac_ext=c
60997 ac_cpp='$CPP $CPPFLAGS'
60998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61005 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61006 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61007 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61008 do :
61009 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61010 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61011 eval as_val=\$$as_ac_var
61012 if test "x$as_val" = x""yes; then :
61013 cat >>confdefs.h <<_ACEOF
61014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61015 _ACEOF
61018 done
61027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61028 $as_echo_n "checking for float round functions... " >&6; }
61029 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61030 $as_echo_n "(cached) " >&6
61031 else
61034 ac_ext=cpp
61035 ac_cpp='$CXXCPP $CPPFLAGS'
61036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61041 /* end confdefs.h. */
61042 #include <math.h>
61044 main ()
61046 ceilf (0); floorf (0);
61048 return 0;
61050 _ACEOF
61051 if ac_fn_cxx_try_compile "$LINENO"; then :
61052 glibcxx_cv_func_float_round_use=yes
61053 else
61054 glibcxx_cv_func_float_round_use=no
61056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61057 ac_ext=c
61058 ac_cpp='$CPP $CPPFLAGS'
61059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61066 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61067 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61068 for ac_func in ceilf floorf
61069 do :
61070 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61072 eval as_val=\$$as_ac_var
61073 if test "x$as_val" = x""yes; then :
61074 cat >>confdefs.h <<_ACEOF
61075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61076 _ACEOF
61079 done
61081 else
61082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61083 $as_echo_n "checking for _float round functions... " >&6; }
61084 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61085 $as_echo_n "(cached) " >&6
61086 else
61089 ac_ext=cpp
61090 ac_cpp='$CXXCPP $CPPFLAGS'
61091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61096 /* end confdefs.h. */
61097 #include <math.h>
61099 main ()
61101 _ceilf (0); _floorf (0);
61103 return 0;
61105 _ACEOF
61106 if ac_fn_cxx_try_compile "$LINENO"; then :
61107 glibcxx_cv_func__float_round_use=yes
61108 else
61109 glibcxx_cv_func__float_round_use=no
61111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61112 ac_ext=c
61113 ac_cpp='$CPP $CPPFLAGS'
61114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61121 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61122 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61123 for ac_func in _ceilf _floorf
61124 do :
61125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61126 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61127 eval as_val=\$$as_ac_var
61128 if test "x$as_val" = x""yes; then :
61129 cat >>confdefs.h <<_ACEOF
61130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61131 _ACEOF
61134 done
61144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61145 $as_echo_n "checking for expf declaration... " >&6; }
61146 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61147 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61148 $as_echo_n "(cached) " >&6
61149 else
61152 ac_ext=cpp
61153 ac_cpp='$CXXCPP $CPPFLAGS'
61154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61159 /* end confdefs.h. */
61160 #include <math.h>
61161 #ifdef HAVE_IEEEFP_H
61162 #include <ieeefp.h>
61163 #endif
61166 main ()
61168 expf(0);
61170 return 0;
61172 _ACEOF
61173 if ac_fn_cxx_try_compile "$LINENO"; then :
61174 glibcxx_cv_func_expf_use=yes
61175 else
61176 glibcxx_cv_func_expf_use=no
61178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61179 ac_ext=c
61180 ac_cpp='$CPP $CPPFLAGS'
61181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61190 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61192 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61193 for ac_func in expf
61194 do :
61195 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61196 if test "x$ac_cv_func_expf" = x""yes; then :
61197 cat >>confdefs.h <<_ACEOF
61198 #define HAVE_EXPF 1
61199 _ACEOF
61202 done
61204 else
61206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61207 $as_echo_n "checking for _expf declaration... " >&6; }
61208 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61209 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61210 $as_echo_n "(cached) " >&6
61211 else
61214 ac_ext=cpp
61215 ac_cpp='$CXXCPP $CPPFLAGS'
61216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61221 /* end confdefs.h. */
61222 #include <math.h>
61223 #ifdef HAVE_IEEEFP_H
61224 #include <ieeefp.h>
61225 #endif
61228 main ()
61230 _expf(0);
61232 return 0;
61234 _ACEOF
61235 if ac_fn_cxx_try_compile "$LINENO"; then :
61236 glibcxx_cv_func__expf_use=yes
61237 else
61238 glibcxx_cv_func__expf_use=no
61240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61241 ac_ext=c
61242 ac_cpp='$CPP $CPPFLAGS'
61243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61252 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61254 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61255 for ac_func in _expf
61256 do :
61257 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61258 if test "x$ac_cv_func__expf" = x""yes; then :
61259 cat >>confdefs.h <<_ACEOF
61260 #define HAVE__EXPF 1
61261 _ACEOF
61264 done
61273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61274 $as_echo_n "checking for isnanf declaration... " >&6; }
61275 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61276 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61277 $as_echo_n "(cached) " >&6
61278 else
61281 ac_ext=cpp
61282 ac_cpp='$CXXCPP $CPPFLAGS'
61283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61288 /* end confdefs.h. */
61289 #include <math.h>
61290 #ifdef HAVE_IEEEFP_H
61291 #include <ieeefp.h>
61292 #endif
61295 main ()
61297 isnanf(0);
61299 return 0;
61301 _ACEOF
61302 if ac_fn_cxx_try_compile "$LINENO"; then :
61303 glibcxx_cv_func_isnanf_use=yes
61304 else
61305 glibcxx_cv_func_isnanf_use=no
61307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61308 ac_ext=c
61309 ac_cpp='$CPP $CPPFLAGS'
61310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61319 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61321 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61322 for ac_func in isnanf
61323 do :
61324 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61325 if test "x$ac_cv_func_isnanf" = x""yes; then :
61326 cat >>confdefs.h <<_ACEOF
61327 #define HAVE_ISNANF 1
61328 _ACEOF
61331 done
61333 else
61335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61336 $as_echo_n "checking for _isnanf declaration... " >&6; }
61337 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61338 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61339 $as_echo_n "(cached) " >&6
61340 else
61343 ac_ext=cpp
61344 ac_cpp='$CXXCPP $CPPFLAGS'
61345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61350 /* end confdefs.h. */
61351 #include <math.h>
61352 #ifdef HAVE_IEEEFP_H
61353 #include <ieeefp.h>
61354 #endif
61357 main ()
61359 _isnanf(0);
61361 return 0;
61363 _ACEOF
61364 if ac_fn_cxx_try_compile "$LINENO"; then :
61365 glibcxx_cv_func__isnanf_use=yes
61366 else
61367 glibcxx_cv_func__isnanf_use=no
61369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61370 ac_ext=c
61371 ac_cpp='$CPP $CPPFLAGS'
61372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61381 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61383 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61384 for ac_func in _isnanf
61385 do :
61386 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61387 if test "x$ac_cv_func__isnanf" = x""yes; then :
61388 cat >>confdefs.h <<_ACEOF
61389 #define HAVE__ISNANF 1
61390 _ACEOF
61393 done
61402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61403 $as_echo_n "checking for isinff declaration... " >&6; }
61404 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61405 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61406 $as_echo_n "(cached) " >&6
61407 else
61410 ac_ext=cpp
61411 ac_cpp='$CXXCPP $CPPFLAGS'
61412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61417 /* end confdefs.h. */
61418 #include <math.h>
61419 #ifdef HAVE_IEEEFP_H
61420 #include <ieeefp.h>
61421 #endif
61424 main ()
61426 isinff(0);
61428 return 0;
61430 _ACEOF
61431 if ac_fn_cxx_try_compile "$LINENO"; then :
61432 glibcxx_cv_func_isinff_use=yes
61433 else
61434 glibcxx_cv_func_isinff_use=no
61436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61437 ac_ext=c
61438 ac_cpp='$CPP $CPPFLAGS'
61439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61448 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61450 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61451 for ac_func in isinff
61452 do :
61453 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61454 if test "x$ac_cv_func_isinff" = x""yes; then :
61455 cat >>confdefs.h <<_ACEOF
61456 #define HAVE_ISINFF 1
61457 _ACEOF
61460 done
61462 else
61464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61465 $as_echo_n "checking for _isinff declaration... " >&6; }
61466 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61467 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61468 $as_echo_n "(cached) " >&6
61469 else
61472 ac_ext=cpp
61473 ac_cpp='$CXXCPP $CPPFLAGS'
61474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61479 /* end confdefs.h. */
61480 #include <math.h>
61481 #ifdef HAVE_IEEEFP_H
61482 #include <ieeefp.h>
61483 #endif
61486 main ()
61488 _isinff(0);
61490 return 0;
61492 _ACEOF
61493 if ac_fn_cxx_try_compile "$LINENO"; then :
61494 glibcxx_cv_func__isinff_use=yes
61495 else
61496 glibcxx_cv_func__isinff_use=no
61498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61499 ac_ext=c
61500 ac_cpp='$CPP $CPPFLAGS'
61501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61510 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61512 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61513 for ac_func in _isinff
61514 do :
61515 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61516 if test "x$ac_cv_func__isinff" = x""yes; then :
61517 cat >>confdefs.h <<_ACEOF
61518 #define HAVE__ISINFF 1
61519 _ACEOF
61522 done
61531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61532 $as_echo_n "checking for atan2f declaration... " >&6; }
61533 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61534 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61535 $as_echo_n "(cached) " >&6
61536 else
61539 ac_ext=cpp
61540 ac_cpp='$CXXCPP $CPPFLAGS'
61541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61546 /* end confdefs.h. */
61547 #include <math.h>
61549 main ()
61551 atan2f(0, 0);
61553 return 0;
61555 _ACEOF
61556 if ac_fn_cxx_try_compile "$LINENO"; then :
61557 glibcxx_cv_func_atan2f_use=yes
61558 else
61559 glibcxx_cv_func_atan2f_use=no
61561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61562 ac_ext=c
61563 ac_cpp='$CPP $CPPFLAGS'
61564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61573 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61575 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61576 for ac_func in atan2f
61577 do :
61578 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61579 if test "x$ac_cv_func_atan2f" = x""yes; then :
61580 cat >>confdefs.h <<_ACEOF
61581 #define HAVE_ATAN2F 1
61582 _ACEOF
61585 done
61587 else
61589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61590 $as_echo_n "checking for _atan2f declaration... " >&6; }
61591 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61592 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61593 $as_echo_n "(cached) " >&6
61594 else
61597 ac_ext=cpp
61598 ac_cpp='$CXXCPP $CPPFLAGS'
61599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61604 /* end confdefs.h. */
61605 #include <math.h>
61607 main ()
61609 _atan2f(0, 0);
61611 return 0;
61613 _ACEOF
61614 if ac_fn_cxx_try_compile "$LINENO"; then :
61615 glibcxx_cv_func__atan2f_use=yes
61616 else
61617 glibcxx_cv_func__atan2f_use=no
61619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61620 ac_ext=c
61621 ac_cpp='$CPP $CPPFLAGS'
61622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61631 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61633 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61634 for ac_func in _atan2f
61635 do :
61636 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61637 if test "x$ac_cv_func__atan2f" = x""yes; then :
61638 cat >>confdefs.h <<_ACEOF
61639 #define HAVE__ATAN2F 1
61640 _ACEOF
61643 done
61652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61653 $as_echo_n "checking for fabsf declaration... " >&6; }
61654 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61655 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61656 $as_echo_n "(cached) " >&6
61657 else
61660 ac_ext=cpp
61661 ac_cpp='$CXXCPP $CPPFLAGS'
61662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61667 /* end confdefs.h. */
61668 #include <math.h>
61669 #ifdef HAVE_IEEEFP_H
61670 #include <ieeefp.h>
61671 #endif
61674 main ()
61676 fabsf(0);
61678 return 0;
61680 _ACEOF
61681 if ac_fn_cxx_try_compile "$LINENO"; then :
61682 glibcxx_cv_func_fabsf_use=yes
61683 else
61684 glibcxx_cv_func_fabsf_use=no
61686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61687 ac_ext=c
61688 ac_cpp='$CPP $CPPFLAGS'
61689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
61698 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
61700 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
61701 for ac_func in fabsf
61702 do :
61703 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
61704 if test "x$ac_cv_func_fabsf" = x""yes; then :
61705 cat >>confdefs.h <<_ACEOF
61706 #define HAVE_FABSF 1
61707 _ACEOF
61710 done
61712 else
61714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
61715 $as_echo_n "checking for _fabsf declaration... " >&6; }
61716 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
61717 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
61718 $as_echo_n "(cached) " >&6
61719 else
61722 ac_ext=cpp
61723 ac_cpp='$CXXCPP $CPPFLAGS'
61724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61729 /* end confdefs.h. */
61730 #include <math.h>
61731 #ifdef HAVE_IEEEFP_H
61732 #include <ieeefp.h>
61733 #endif
61736 main ()
61738 _fabsf(0);
61740 return 0;
61742 _ACEOF
61743 if ac_fn_cxx_try_compile "$LINENO"; then :
61744 glibcxx_cv_func__fabsf_use=yes
61745 else
61746 glibcxx_cv_func__fabsf_use=no
61748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61749 ac_ext=c
61750 ac_cpp='$CPP $CPPFLAGS'
61751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
61760 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
61762 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
61763 for ac_func in _fabsf
61764 do :
61765 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
61766 if test "x$ac_cv_func__fabsf" = x""yes; then :
61767 cat >>confdefs.h <<_ACEOF
61768 #define HAVE__FABSF 1
61769 _ACEOF
61772 done
61781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
61782 $as_echo_n "checking for fmodf declaration... " >&6; }
61783 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
61784 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
61785 $as_echo_n "(cached) " >&6
61786 else
61789 ac_ext=cpp
61790 ac_cpp='$CXXCPP $CPPFLAGS'
61791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61796 /* end confdefs.h. */
61797 #include <math.h>
61799 main ()
61801 fmodf(0, 0);
61803 return 0;
61805 _ACEOF
61806 if ac_fn_cxx_try_compile "$LINENO"; then :
61807 glibcxx_cv_func_fmodf_use=yes
61808 else
61809 glibcxx_cv_func_fmodf_use=no
61811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61812 ac_ext=c
61813 ac_cpp='$CPP $CPPFLAGS'
61814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
61823 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61825 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61826 for ac_func in fmodf
61827 do :
61828 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61829 if test "x$ac_cv_func_fmodf" = x""yes; then :
61830 cat >>confdefs.h <<_ACEOF
61831 #define HAVE_FMODF 1
61832 _ACEOF
61835 done
61837 else
61839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61840 $as_echo_n "checking for _fmodf declaration... " >&6; }
61841 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61842 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
61843 $as_echo_n "(cached) " >&6
61844 else
61847 ac_ext=cpp
61848 ac_cpp='$CXXCPP $CPPFLAGS'
61849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61854 /* end confdefs.h. */
61855 #include <math.h>
61857 main ()
61859 _fmodf(0, 0);
61861 return 0;
61863 _ACEOF
61864 if ac_fn_cxx_try_compile "$LINENO"; then :
61865 glibcxx_cv_func__fmodf_use=yes
61866 else
61867 glibcxx_cv_func__fmodf_use=no
61869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61870 ac_ext=c
61871 ac_cpp='$CPP $CPPFLAGS'
61872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
61881 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
61883 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
61884 for ac_func in _fmodf
61885 do :
61886 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
61887 if test "x$ac_cv_func__fmodf" = x""yes; then :
61888 cat >>confdefs.h <<_ACEOF
61889 #define HAVE__FMODF 1
61890 _ACEOF
61893 done
61902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
61903 $as_echo_n "checking for frexpf declaration... " >&6; }
61904 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61905 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61906 $as_echo_n "(cached) " >&6
61907 else
61910 ac_ext=cpp
61911 ac_cpp='$CXXCPP $CPPFLAGS'
61912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61917 /* end confdefs.h. */
61918 #include <math.h>
61920 main ()
61922 frexpf(0, 0);
61924 return 0;
61926 _ACEOF
61927 if ac_fn_cxx_try_compile "$LINENO"; then :
61928 glibcxx_cv_func_frexpf_use=yes
61929 else
61930 glibcxx_cv_func_frexpf_use=no
61932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61933 ac_ext=c
61934 ac_cpp='$CPP $CPPFLAGS'
61935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61944 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61946 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61947 for ac_func in frexpf
61948 do :
61949 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61950 if test "x$ac_cv_func_frexpf" = x""yes; then :
61951 cat >>confdefs.h <<_ACEOF
61952 #define HAVE_FREXPF 1
61953 _ACEOF
61956 done
61958 else
61960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61961 $as_echo_n "checking for _frexpf declaration... " >&6; }
61962 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61963 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61964 $as_echo_n "(cached) " >&6
61965 else
61968 ac_ext=cpp
61969 ac_cpp='$CXXCPP $CPPFLAGS'
61970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61975 /* end confdefs.h. */
61976 #include <math.h>
61978 main ()
61980 _frexpf(0, 0);
61982 return 0;
61984 _ACEOF
61985 if ac_fn_cxx_try_compile "$LINENO"; then :
61986 glibcxx_cv_func__frexpf_use=yes
61987 else
61988 glibcxx_cv_func__frexpf_use=no
61990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61991 ac_ext=c
61992 ac_cpp='$CPP $CPPFLAGS'
61993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62002 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62004 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62005 for ac_func in _frexpf
62006 do :
62007 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62008 if test "x$ac_cv_func__frexpf" = x""yes; then :
62009 cat >>confdefs.h <<_ACEOF
62010 #define HAVE__FREXPF 1
62011 _ACEOF
62014 done
62023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62024 $as_echo_n "checking for hypotf declaration... " >&6; }
62025 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62026 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62027 $as_echo_n "(cached) " >&6
62028 else
62031 ac_ext=cpp
62032 ac_cpp='$CXXCPP $CPPFLAGS'
62033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62038 /* end confdefs.h. */
62039 #include <math.h>
62041 main ()
62043 hypotf(0, 0);
62045 return 0;
62047 _ACEOF
62048 if ac_fn_cxx_try_compile "$LINENO"; then :
62049 glibcxx_cv_func_hypotf_use=yes
62050 else
62051 glibcxx_cv_func_hypotf_use=no
62053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62054 ac_ext=c
62055 ac_cpp='$CPP $CPPFLAGS'
62056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62065 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62067 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62068 for ac_func in hypotf
62069 do :
62070 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62071 if test "x$ac_cv_func_hypotf" = x""yes; then :
62072 cat >>confdefs.h <<_ACEOF
62073 #define HAVE_HYPOTF 1
62074 _ACEOF
62077 done
62079 else
62081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62082 $as_echo_n "checking for _hypotf declaration... " >&6; }
62083 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62084 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62085 $as_echo_n "(cached) " >&6
62086 else
62089 ac_ext=cpp
62090 ac_cpp='$CXXCPP $CPPFLAGS'
62091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62096 /* end confdefs.h. */
62097 #include <math.h>
62099 main ()
62101 _hypotf(0, 0);
62103 return 0;
62105 _ACEOF
62106 if ac_fn_cxx_try_compile "$LINENO"; then :
62107 glibcxx_cv_func__hypotf_use=yes
62108 else
62109 glibcxx_cv_func__hypotf_use=no
62111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62112 ac_ext=c
62113 ac_cpp='$CPP $CPPFLAGS'
62114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62123 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62125 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62126 for ac_func in _hypotf
62127 do :
62128 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62129 if test "x$ac_cv_func__hypotf" = x""yes; then :
62130 cat >>confdefs.h <<_ACEOF
62131 #define HAVE__HYPOTF 1
62132 _ACEOF
62135 done
62144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62145 $as_echo_n "checking for ldexpf declaration... " >&6; }
62146 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62147 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62148 $as_echo_n "(cached) " >&6
62149 else
62152 ac_ext=cpp
62153 ac_cpp='$CXXCPP $CPPFLAGS'
62154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62159 /* end confdefs.h. */
62160 #include <math.h>
62162 main ()
62164 ldexpf(0, 0);
62166 return 0;
62168 _ACEOF
62169 if ac_fn_cxx_try_compile "$LINENO"; then :
62170 glibcxx_cv_func_ldexpf_use=yes
62171 else
62172 glibcxx_cv_func_ldexpf_use=no
62174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62175 ac_ext=c
62176 ac_cpp='$CPP $CPPFLAGS'
62177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62186 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62188 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62189 for ac_func in ldexpf
62190 do :
62191 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62192 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62193 cat >>confdefs.h <<_ACEOF
62194 #define HAVE_LDEXPF 1
62195 _ACEOF
62198 done
62200 else
62202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62203 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62204 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62205 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62206 $as_echo_n "(cached) " >&6
62207 else
62210 ac_ext=cpp
62211 ac_cpp='$CXXCPP $CPPFLAGS'
62212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62217 /* end confdefs.h. */
62218 #include <math.h>
62220 main ()
62222 _ldexpf(0, 0);
62224 return 0;
62226 _ACEOF
62227 if ac_fn_cxx_try_compile "$LINENO"; then :
62228 glibcxx_cv_func__ldexpf_use=yes
62229 else
62230 glibcxx_cv_func__ldexpf_use=no
62232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62233 ac_ext=c
62234 ac_cpp='$CPP $CPPFLAGS'
62235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62244 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62246 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62247 for ac_func in _ldexpf
62248 do :
62249 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62250 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62251 cat >>confdefs.h <<_ACEOF
62252 #define HAVE__LDEXPF 1
62253 _ACEOF
62256 done
62265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62266 $as_echo_n "checking for logf declaration... " >&6; }
62267 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62268 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62269 $as_echo_n "(cached) " >&6
62270 else
62273 ac_ext=cpp
62274 ac_cpp='$CXXCPP $CPPFLAGS'
62275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62280 /* end confdefs.h. */
62281 #include <math.h>
62282 #ifdef HAVE_IEEEFP_H
62283 #include <ieeefp.h>
62284 #endif
62287 main ()
62289 logf(0);
62291 return 0;
62293 _ACEOF
62294 if ac_fn_cxx_try_compile "$LINENO"; then :
62295 glibcxx_cv_func_logf_use=yes
62296 else
62297 glibcxx_cv_func_logf_use=no
62299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62300 ac_ext=c
62301 ac_cpp='$CPP $CPPFLAGS'
62302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62311 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62313 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62314 for ac_func in logf
62315 do :
62316 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62317 if test "x$ac_cv_func_logf" = x""yes; then :
62318 cat >>confdefs.h <<_ACEOF
62319 #define HAVE_LOGF 1
62320 _ACEOF
62323 done
62325 else
62327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62328 $as_echo_n "checking for _logf declaration... " >&6; }
62329 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62330 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62331 $as_echo_n "(cached) " >&6
62332 else
62335 ac_ext=cpp
62336 ac_cpp='$CXXCPP $CPPFLAGS'
62337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62342 /* end confdefs.h. */
62343 #include <math.h>
62344 #ifdef HAVE_IEEEFP_H
62345 #include <ieeefp.h>
62346 #endif
62349 main ()
62351 _logf(0);
62353 return 0;
62355 _ACEOF
62356 if ac_fn_cxx_try_compile "$LINENO"; then :
62357 glibcxx_cv_func__logf_use=yes
62358 else
62359 glibcxx_cv_func__logf_use=no
62361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62362 ac_ext=c
62363 ac_cpp='$CPP $CPPFLAGS'
62364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62373 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62375 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62376 for ac_func in _logf
62377 do :
62378 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62379 if test "x$ac_cv_func__logf" = x""yes; then :
62380 cat >>confdefs.h <<_ACEOF
62381 #define HAVE__LOGF 1
62382 _ACEOF
62385 done
62394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62395 $as_echo_n "checking for log10f declaration... " >&6; }
62396 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62397 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62398 $as_echo_n "(cached) " >&6
62399 else
62402 ac_ext=cpp
62403 ac_cpp='$CXXCPP $CPPFLAGS'
62404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62409 /* end confdefs.h. */
62410 #include <math.h>
62411 #ifdef HAVE_IEEEFP_H
62412 #include <ieeefp.h>
62413 #endif
62416 main ()
62418 log10f(0);
62420 return 0;
62422 _ACEOF
62423 if ac_fn_cxx_try_compile "$LINENO"; then :
62424 glibcxx_cv_func_log10f_use=yes
62425 else
62426 glibcxx_cv_func_log10f_use=no
62428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62429 ac_ext=c
62430 ac_cpp='$CPP $CPPFLAGS'
62431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62440 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62442 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62443 for ac_func in log10f
62444 do :
62445 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62446 if test "x$ac_cv_func_log10f" = x""yes; then :
62447 cat >>confdefs.h <<_ACEOF
62448 #define HAVE_LOG10F 1
62449 _ACEOF
62452 done
62454 else
62456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62457 $as_echo_n "checking for _log10f declaration... " >&6; }
62458 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62459 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62460 $as_echo_n "(cached) " >&6
62461 else
62464 ac_ext=cpp
62465 ac_cpp='$CXXCPP $CPPFLAGS'
62466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62471 /* end confdefs.h. */
62472 #include <math.h>
62473 #ifdef HAVE_IEEEFP_H
62474 #include <ieeefp.h>
62475 #endif
62478 main ()
62480 _log10f(0);
62482 return 0;
62484 _ACEOF
62485 if ac_fn_cxx_try_compile "$LINENO"; then :
62486 glibcxx_cv_func__log10f_use=yes
62487 else
62488 glibcxx_cv_func__log10f_use=no
62490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62491 ac_ext=c
62492 ac_cpp='$CPP $CPPFLAGS'
62493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62502 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62504 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62505 for ac_func in _log10f
62506 do :
62507 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62508 if test "x$ac_cv_func__log10f" = x""yes; then :
62509 cat >>confdefs.h <<_ACEOF
62510 #define HAVE__LOG10F 1
62511 _ACEOF
62514 done
62523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62524 $as_echo_n "checking for modff declaration... " >&6; }
62525 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62526 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62527 $as_echo_n "(cached) " >&6
62528 else
62531 ac_ext=cpp
62532 ac_cpp='$CXXCPP $CPPFLAGS'
62533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62538 /* end confdefs.h. */
62539 #include <math.h>
62541 main ()
62543 modff(0, 0);
62545 return 0;
62547 _ACEOF
62548 if ac_fn_cxx_try_compile "$LINENO"; then :
62549 glibcxx_cv_func_modff_use=yes
62550 else
62551 glibcxx_cv_func_modff_use=no
62553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62554 ac_ext=c
62555 ac_cpp='$CPP $CPPFLAGS'
62556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62565 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62567 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62568 for ac_func in modff
62569 do :
62570 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62571 if test "x$ac_cv_func_modff" = x""yes; then :
62572 cat >>confdefs.h <<_ACEOF
62573 #define HAVE_MODFF 1
62574 _ACEOF
62577 done
62579 else
62581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62582 $as_echo_n "checking for _modff declaration... " >&6; }
62583 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62584 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62585 $as_echo_n "(cached) " >&6
62586 else
62589 ac_ext=cpp
62590 ac_cpp='$CXXCPP $CPPFLAGS'
62591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62596 /* end confdefs.h. */
62597 #include <math.h>
62599 main ()
62601 _modff(0, 0);
62603 return 0;
62605 _ACEOF
62606 if ac_fn_cxx_try_compile "$LINENO"; then :
62607 glibcxx_cv_func__modff_use=yes
62608 else
62609 glibcxx_cv_func__modff_use=no
62611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62612 ac_ext=c
62613 ac_cpp='$CPP $CPPFLAGS'
62614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62623 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62625 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62626 for ac_func in _modff
62627 do :
62628 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62629 if test "x$ac_cv_func__modff" = x""yes; then :
62630 cat >>confdefs.h <<_ACEOF
62631 #define HAVE__MODFF 1
62632 _ACEOF
62635 done
62644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62645 $as_echo_n "checking for modf declaration... " >&6; }
62646 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62647 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62648 $as_echo_n "(cached) " >&6
62649 else
62652 ac_ext=cpp
62653 ac_cpp='$CXXCPP $CPPFLAGS'
62654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62659 /* end confdefs.h. */
62660 #include <math.h>
62662 main ()
62664 modf(0, 0);
62666 return 0;
62668 _ACEOF
62669 if ac_fn_cxx_try_compile "$LINENO"; then :
62670 glibcxx_cv_func_modf_use=yes
62671 else
62672 glibcxx_cv_func_modf_use=no
62674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62675 ac_ext=c
62676 ac_cpp='$CPP $CPPFLAGS'
62677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
62686 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
62688 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62689 for ac_func in modf
62690 do :
62691 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
62692 if test "x$ac_cv_func_modf" = x""yes; then :
62693 cat >>confdefs.h <<_ACEOF
62694 #define HAVE_MODF 1
62695 _ACEOF
62698 done
62700 else
62702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
62703 $as_echo_n "checking for _modf declaration... " >&6; }
62704 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62705 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
62706 $as_echo_n "(cached) " >&6
62707 else
62710 ac_ext=cpp
62711 ac_cpp='$CXXCPP $CPPFLAGS'
62712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62717 /* end confdefs.h. */
62718 #include <math.h>
62720 main ()
62722 _modf(0, 0);
62724 return 0;
62726 _ACEOF
62727 if ac_fn_cxx_try_compile "$LINENO"; then :
62728 glibcxx_cv_func__modf_use=yes
62729 else
62730 glibcxx_cv_func__modf_use=no
62732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62733 ac_ext=c
62734 ac_cpp='$CPP $CPPFLAGS'
62735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
62744 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
62746 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62747 for ac_func in _modf
62748 do :
62749 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
62750 if test "x$ac_cv_func__modf" = x""yes; then :
62751 cat >>confdefs.h <<_ACEOF
62752 #define HAVE__MODF 1
62753 _ACEOF
62756 done
62765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
62766 $as_echo_n "checking for powf declaration... " >&6; }
62767 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62768 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
62769 $as_echo_n "(cached) " >&6
62770 else
62773 ac_ext=cpp
62774 ac_cpp='$CXXCPP $CPPFLAGS'
62775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62780 /* end confdefs.h. */
62781 #include <math.h>
62783 main ()
62785 powf(0, 0);
62787 return 0;
62789 _ACEOF
62790 if ac_fn_cxx_try_compile "$LINENO"; then :
62791 glibcxx_cv_func_powf_use=yes
62792 else
62793 glibcxx_cv_func_powf_use=no
62795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62796 ac_ext=c
62797 ac_cpp='$CPP $CPPFLAGS'
62798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
62807 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
62809 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62810 for ac_func in powf
62811 do :
62812 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62813 if test "x$ac_cv_func_powf" = x""yes; then :
62814 cat >>confdefs.h <<_ACEOF
62815 #define HAVE_POWF 1
62816 _ACEOF
62819 done
62821 else
62823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62824 $as_echo_n "checking for _powf declaration... " >&6; }
62825 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62826 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62827 $as_echo_n "(cached) " >&6
62828 else
62831 ac_ext=cpp
62832 ac_cpp='$CXXCPP $CPPFLAGS'
62833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62838 /* end confdefs.h. */
62839 #include <math.h>
62841 main ()
62843 _powf(0, 0);
62845 return 0;
62847 _ACEOF
62848 if ac_fn_cxx_try_compile "$LINENO"; then :
62849 glibcxx_cv_func__powf_use=yes
62850 else
62851 glibcxx_cv_func__powf_use=no
62853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62854 ac_ext=c
62855 ac_cpp='$CPP $CPPFLAGS'
62856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62865 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62867 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62868 for ac_func in _powf
62869 do :
62870 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62871 if test "x$ac_cv_func__powf" = x""yes; then :
62872 cat >>confdefs.h <<_ACEOF
62873 #define HAVE__POWF 1
62874 _ACEOF
62877 done
62886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
62887 $as_echo_n "checking for sqrtf declaration... " >&6; }
62888 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62889 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
62890 $as_echo_n "(cached) " >&6
62891 else
62894 ac_ext=cpp
62895 ac_cpp='$CXXCPP $CPPFLAGS'
62896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62901 /* end confdefs.h. */
62902 #include <math.h>
62903 #ifdef HAVE_IEEEFP_H
62904 #include <ieeefp.h>
62905 #endif
62908 main ()
62910 sqrtf(0);
62912 return 0;
62914 _ACEOF
62915 if ac_fn_cxx_try_compile "$LINENO"; then :
62916 glibcxx_cv_func_sqrtf_use=yes
62917 else
62918 glibcxx_cv_func_sqrtf_use=no
62920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62921 ac_ext=c
62922 ac_cpp='$CPP $CPPFLAGS'
62923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62932 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62934 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62935 for ac_func in sqrtf
62936 do :
62937 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62938 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62939 cat >>confdefs.h <<_ACEOF
62940 #define HAVE_SQRTF 1
62941 _ACEOF
62944 done
62946 else
62948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62949 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62950 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62951 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62952 $as_echo_n "(cached) " >&6
62953 else
62956 ac_ext=cpp
62957 ac_cpp='$CXXCPP $CPPFLAGS'
62958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62963 /* end confdefs.h. */
62964 #include <math.h>
62965 #ifdef HAVE_IEEEFP_H
62966 #include <ieeefp.h>
62967 #endif
62970 main ()
62972 _sqrtf(0);
62974 return 0;
62976 _ACEOF
62977 if ac_fn_cxx_try_compile "$LINENO"; then :
62978 glibcxx_cv_func__sqrtf_use=yes
62979 else
62980 glibcxx_cv_func__sqrtf_use=no
62982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62983 ac_ext=c
62984 ac_cpp='$CPP $CPPFLAGS'
62985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62994 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62996 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62997 for ac_func in _sqrtf
62998 do :
62999 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63000 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63001 cat >>confdefs.h <<_ACEOF
63002 #define HAVE__SQRTF 1
63003 _ACEOF
63006 done
63015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63016 $as_echo_n "checking for sincosf declaration... " >&6; }
63017 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63018 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63019 $as_echo_n "(cached) " >&6
63020 else
63023 ac_ext=cpp
63024 ac_cpp='$CXXCPP $CPPFLAGS'
63025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63030 /* end confdefs.h. */
63031 #include <math.h>
63033 main ()
63035 sincosf(0, 0, 0);
63037 return 0;
63039 _ACEOF
63040 if ac_fn_cxx_try_compile "$LINENO"; then :
63041 glibcxx_cv_func_sincosf_use=yes
63042 else
63043 glibcxx_cv_func_sincosf_use=no
63045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63046 ac_ext=c
63047 ac_cpp='$CPP $CPPFLAGS'
63048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63057 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63059 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63060 for ac_func in sincosf
63061 do :
63062 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63063 if test "x$ac_cv_func_sincosf" = x""yes; then :
63064 cat >>confdefs.h <<_ACEOF
63065 #define HAVE_SINCOSF 1
63066 _ACEOF
63069 done
63071 else
63073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63074 $as_echo_n "checking for _sincosf declaration... " >&6; }
63075 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63076 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63077 $as_echo_n "(cached) " >&6
63078 else
63081 ac_ext=cpp
63082 ac_cpp='$CXXCPP $CPPFLAGS'
63083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63088 /* end confdefs.h. */
63089 #include <math.h>
63091 main ()
63093 _sincosf(0, 0, 0);
63095 return 0;
63097 _ACEOF
63098 if ac_fn_cxx_try_compile "$LINENO"; then :
63099 glibcxx_cv_func__sincosf_use=yes
63100 else
63101 glibcxx_cv_func__sincosf_use=no
63103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63104 ac_ext=c
63105 ac_cpp='$CPP $CPPFLAGS'
63106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63115 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63117 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63118 for ac_func in _sincosf
63119 do :
63120 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63121 if test "x$ac_cv_func__sincosf" = x""yes; then :
63122 cat >>confdefs.h <<_ACEOF
63123 #define HAVE__SINCOSF 1
63124 _ACEOF
63127 done
63136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63137 $as_echo_n "checking for finitef declaration... " >&6; }
63138 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63139 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63140 $as_echo_n "(cached) " >&6
63141 else
63144 ac_ext=cpp
63145 ac_cpp='$CXXCPP $CPPFLAGS'
63146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63151 /* end confdefs.h. */
63152 #include <math.h>
63153 #ifdef HAVE_IEEEFP_H
63154 #include <ieeefp.h>
63155 #endif
63158 main ()
63160 finitef(0);
63162 return 0;
63164 _ACEOF
63165 if ac_fn_cxx_try_compile "$LINENO"; then :
63166 glibcxx_cv_func_finitef_use=yes
63167 else
63168 glibcxx_cv_func_finitef_use=no
63170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63171 ac_ext=c
63172 ac_cpp='$CPP $CPPFLAGS'
63173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63182 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63184 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63185 for ac_func in finitef
63186 do :
63187 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63188 if test "x$ac_cv_func_finitef" = x""yes; then :
63189 cat >>confdefs.h <<_ACEOF
63190 #define HAVE_FINITEF 1
63191 _ACEOF
63194 done
63196 else
63198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63199 $as_echo_n "checking for _finitef declaration... " >&6; }
63200 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63201 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63202 $as_echo_n "(cached) " >&6
63203 else
63206 ac_ext=cpp
63207 ac_cpp='$CXXCPP $CPPFLAGS'
63208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63213 /* end confdefs.h. */
63214 #include <math.h>
63215 #ifdef HAVE_IEEEFP_H
63216 #include <ieeefp.h>
63217 #endif
63220 main ()
63222 _finitef(0);
63224 return 0;
63226 _ACEOF
63227 if ac_fn_cxx_try_compile "$LINENO"; then :
63228 glibcxx_cv_func__finitef_use=yes
63229 else
63230 glibcxx_cv_func__finitef_use=no
63232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63233 ac_ext=c
63234 ac_cpp='$CPP $CPPFLAGS'
63235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63244 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63246 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63247 for ac_func in _finitef
63248 do :
63249 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63250 if test "x$ac_cv_func__finitef" = x""yes; then :
63251 cat >>confdefs.h <<_ACEOF
63252 #define HAVE__FINITEF 1
63253 _ACEOF
63256 done
63265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63266 $as_echo_n "checking for long double trig functions... " >&6; }
63267 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63268 $as_echo_n "(cached) " >&6
63269 else
63272 ac_ext=cpp
63273 ac_cpp='$CXXCPP $CPPFLAGS'
63274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63279 /* end confdefs.h. */
63280 #include <math.h>
63282 main ()
63284 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63286 return 0;
63288 _ACEOF
63289 if ac_fn_cxx_try_compile "$LINENO"; then :
63290 glibcxx_cv_func_long_double_trig_use=yes
63291 else
63292 glibcxx_cv_func_long_double_trig_use=no
63294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63295 ac_ext=c
63296 ac_cpp='$CPP $CPPFLAGS'
63297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63304 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63305 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63306 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63307 do :
63308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63310 eval as_val=\$$as_ac_var
63311 if test "x$as_val" = x""yes; then :
63312 cat >>confdefs.h <<_ACEOF
63313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63314 _ACEOF
63317 done
63319 else
63320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63321 $as_echo_n "checking for _long double trig functions... " >&6; }
63322 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63323 $as_echo_n "(cached) " >&6
63324 else
63327 ac_ext=cpp
63328 ac_cpp='$CXXCPP $CPPFLAGS'
63329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63334 /* end confdefs.h. */
63335 #include <math.h>
63337 main ()
63339 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63341 return 0;
63343 _ACEOF
63344 if ac_fn_cxx_try_compile "$LINENO"; then :
63345 glibcxx_cv_func__long_double_trig_use=yes
63346 else
63347 glibcxx_cv_func__long_double_trig_use=no
63349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63350 ac_ext=c
63351 ac_cpp='$CPP $CPPFLAGS'
63352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63359 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63360 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63361 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63362 do :
63363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63365 eval as_val=\$$as_ac_var
63366 if test "x$as_val" = x""yes; then :
63367 cat >>confdefs.h <<_ACEOF
63368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63369 _ACEOF
63372 done
63381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63382 $as_echo_n "checking for long double round functions... " >&6; }
63383 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63384 $as_echo_n "(cached) " >&6
63385 else
63388 ac_ext=cpp
63389 ac_cpp='$CXXCPP $CPPFLAGS'
63390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63395 /* end confdefs.h. */
63396 #include <math.h>
63398 main ()
63400 ceill (0); floorl (0);
63402 return 0;
63404 _ACEOF
63405 if ac_fn_cxx_try_compile "$LINENO"; then :
63406 glibcxx_cv_func_long_double_round_use=yes
63407 else
63408 glibcxx_cv_func_long_double_round_use=no
63410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63411 ac_ext=c
63412 ac_cpp='$CPP $CPPFLAGS'
63413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63420 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63421 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63422 for ac_func in ceill floorl
63423 do :
63424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63426 eval as_val=\$$as_ac_var
63427 if test "x$as_val" = x""yes; then :
63428 cat >>confdefs.h <<_ACEOF
63429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63430 _ACEOF
63433 done
63435 else
63436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63437 $as_echo_n "checking for _long double round functions... " >&6; }
63438 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63439 $as_echo_n "(cached) " >&6
63440 else
63443 ac_ext=cpp
63444 ac_cpp='$CXXCPP $CPPFLAGS'
63445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63450 /* end confdefs.h. */
63451 #include <math.h>
63453 main ()
63455 _ceill (0); _floorl (0);
63457 return 0;
63459 _ACEOF
63460 if ac_fn_cxx_try_compile "$LINENO"; then :
63461 glibcxx_cv_func__long_double_round_use=yes
63462 else
63463 glibcxx_cv_func__long_double_round_use=no
63465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63466 ac_ext=c
63467 ac_cpp='$CPP $CPPFLAGS'
63468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63475 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63476 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63477 for ac_func in _ceill _floorl
63478 do :
63479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63481 eval as_val=\$$as_ac_var
63482 if test "x$as_val" = x""yes; then :
63483 cat >>confdefs.h <<_ACEOF
63484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63485 _ACEOF
63488 done
63498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63499 $as_echo_n "checking for isnanl declaration... " >&6; }
63500 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63501 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63502 $as_echo_n "(cached) " >&6
63503 else
63506 ac_ext=cpp
63507 ac_cpp='$CXXCPP $CPPFLAGS'
63508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63513 /* end confdefs.h. */
63514 #include <math.h>
63515 #ifdef HAVE_IEEEFP_H
63516 #include <ieeefp.h>
63517 #endif
63520 main ()
63522 isnanl(0);
63524 return 0;
63526 _ACEOF
63527 if ac_fn_cxx_try_compile "$LINENO"; then :
63528 glibcxx_cv_func_isnanl_use=yes
63529 else
63530 glibcxx_cv_func_isnanl_use=no
63532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63533 ac_ext=c
63534 ac_cpp='$CPP $CPPFLAGS'
63535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63544 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63546 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63547 for ac_func in isnanl
63548 do :
63549 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63550 if test "x$ac_cv_func_isnanl" = x""yes; then :
63551 cat >>confdefs.h <<_ACEOF
63552 #define HAVE_ISNANL 1
63553 _ACEOF
63556 done
63558 else
63560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63561 $as_echo_n "checking for _isnanl declaration... " >&6; }
63562 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63563 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63564 $as_echo_n "(cached) " >&6
63565 else
63568 ac_ext=cpp
63569 ac_cpp='$CXXCPP $CPPFLAGS'
63570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63575 /* end confdefs.h. */
63576 #include <math.h>
63577 #ifdef HAVE_IEEEFP_H
63578 #include <ieeefp.h>
63579 #endif
63582 main ()
63584 _isnanl(0);
63586 return 0;
63588 _ACEOF
63589 if ac_fn_cxx_try_compile "$LINENO"; then :
63590 glibcxx_cv_func__isnanl_use=yes
63591 else
63592 glibcxx_cv_func__isnanl_use=no
63594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63595 ac_ext=c
63596 ac_cpp='$CPP $CPPFLAGS'
63597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63606 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63608 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63609 for ac_func in _isnanl
63610 do :
63611 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63612 if test "x$ac_cv_func__isnanl" = x""yes; then :
63613 cat >>confdefs.h <<_ACEOF
63614 #define HAVE__ISNANL 1
63615 _ACEOF
63618 done
63627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63628 $as_echo_n "checking for isinfl declaration... " >&6; }
63629 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63630 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63631 $as_echo_n "(cached) " >&6
63632 else
63635 ac_ext=cpp
63636 ac_cpp='$CXXCPP $CPPFLAGS'
63637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63642 /* end confdefs.h. */
63643 #include <math.h>
63644 #ifdef HAVE_IEEEFP_H
63645 #include <ieeefp.h>
63646 #endif
63649 main ()
63651 isinfl(0);
63653 return 0;
63655 _ACEOF
63656 if ac_fn_cxx_try_compile "$LINENO"; then :
63657 glibcxx_cv_func_isinfl_use=yes
63658 else
63659 glibcxx_cv_func_isinfl_use=no
63661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63662 ac_ext=c
63663 ac_cpp='$CPP $CPPFLAGS'
63664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
63673 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
63675 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63676 for ac_func in isinfl
63677 do :
63678 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
63679 if test "x$ac_cv_func_isinfl" = x""yes; then :
63680 cat >>confdefs.h <<_ACEOF
63681 #define HAVE_ISINFL 1
63682 _ACEOF
63685 done
63687 else
63689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
63690 $as_echo_n "checking for _isinfl declaration... " >&6; }
63691 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63692 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
63693 $as_echo_n "(cached) " >&6
63694 else
63697 ac_ext=cpp
63698 ac_cpp='$CXXCPP $CPPFLAGS'
63699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63704 /* end confdefs.h. */
63705 #include <math.h>
63706 #ifdef HAVE_IEEEFP_H
63707 #include <ieeefp.h>
63708 #endif
63711 main ()
63713 _isinfl(0);
63715 return 0;
63717 _ACEOF
63718 if ac_fn_cxx_try_compile "$LINENO"; then :
63719 glibcxx_cv_func__isinfl_use=yes
63720 else
63721 glibcxx_cv_func__isinfl_use=no
63723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63724 ac_ext=c
63725 ac_cpp='$CPP $CPPFLAGS'
63726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
63735 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
63737 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63738 for ac_func in _isinfl
63739 do :
63740 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
63741 if test "x$ac_cv_func__isinfl" = x""yes; then :
63742 cat >>confdefs.h <<_ACEOF
63743 #define HAVE__ISINFL 1
63744 _ACEOF
63747 done
63756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
63757 $as_echo_n "checking for atan2l declaration... " >&6; }
63758 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63759 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
63760 $as_echo_n "(cached) " >&6
63761 else
63764 ac_ext=cpp
63765 ac_cpp='$CXXCPP $CPPFLAGS'
63766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63771 /* end confdefs.h. */
63772 #include <math.h>
63774 main ()
63776 atan2l(0, 0);
63778 return 0;
63780 _ACEOF
63781 if ac_fn_cxx_try_compile "$LINENO"; then :
63782 glibcxx_cv_func_atan2l_use=yes
63783 else
63784 glibcxx_cv_func_atan2l_use=no
63786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63787 ac_ext=c
63788 ac_cpp='$CPP $CPPFLAGS'
63789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
63798 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
63800 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63801 for ac_func in atan2l
63802 do :
63803 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
63804 if test "x$ac_cv_func_atan2l" = x""yes; then :
63805 cat >>confdefs.h <<_ACEOF
63806 #define HAVE_ATAN2L 1
63807 _ACEOF
63810 done
63812 else
63814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63815 $as_echo_n "checking for _atan2l declaration... " >&6; }
63816 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63817 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
63818 $as_echo_n "(cached) " >&6
63819 else
63822 ac_ext=cpp
63823 ac_cpp='$CXXCPP $CPPFLAGS'
63824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63829 /* end confdefs.h. */
63830 #include <math.h>
63832 main ()
63834 _atan2l(0, 0);
63836 return 0;
63838 _ACEOF
63839 if ac_fn_cxx_try_compile "$LINENO"; then :
63840 glibcxx_cv_func__atan2l_use=yes
63841 else
63842 glibcxx_cv_func__atan2l_use=no
63844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63845 ac_ext=c
63846 ac_cpp='$CPP $CPPFLAGS'
63847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63856 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63858 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63859 for ac_func in _atan2l
63860 do :
63861 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63862 if test "x$ac_cv_func__atan2l" = x""yes; then :
63863 cat >>confdefs.h <<_ACEOF
63864 #define HAVE__ATAN2L 1
63865 _ACEOF
63868 done
63877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63878 $as_echo_n "checking for expl declaration... " >&6; }
63879 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63880 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
63881 $as_echo_n "(cached) " >&6
63882 else
63885 ac_ext=cpp
63886 ac_cpp='$CXXCPP $CPPFLAGS'
63887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63892 /* end confdefs.h. */
63893 #include <math.h>
63894 #ifdef HAVE_IEEEFP_H
63895 #include <ieeefp.h>
63896 #endif
63899 main ()
63901 expl(0);
63903 return 0;
63905 _ACEOF
63906 if ac_fn_cxx_try_compile "$LINENO"; then :
63907 glibcxx_cv_func_expl_use=yes
63908 else
63909 glibcxx_cv_func_expl_use=no
63911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63912 ac_ext=c
63913 ac_cpp='$CPP $CPPFLAGS'
63914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63923 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63925 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63926 for ac_func in expl
63927 do :
63928 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63929 if test "x$ac_cv_func_expl" = x""yes; then :
63930 cat >>confdefs.h <<_ACEOF
63931 #define HAVE_EXPL 1
63932 _ACEOF
63935 done
63937 else
63939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63940 $as_echo_n "checking for _expl declaration... " >&6; }
63941 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63942 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63943 $as_echo_n "(cached) " >&6
63944 else
63947 ac_ext=cpp
63948 ac_cpp='$CXXCPP $CPPFLAGS'
63949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63954 /* end confdefs.h. */
63955 #include <math.h>
63956 #ifdef HAVE_IEEEFP_H
63957 #include <ieeefp.h>
63958 #endif
63961 main ()
63963 _expl(0);
63965 return 0;
63967 _ACEOF
63968 if ac_fn_cxx_try_compile "$LINENO"; then :
63969 glibcxx_cv_func__expl_use=yes
63970 else
63971 glibcxx_cv_func__expl_use=no
63973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63974 ac_ext=c
63975 ac_cpp='$CPP $CPPFLAGS'
63976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63985 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63987 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63988 for ac_func in _expl
63989 do :
63990 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63991 if test "x$ac_cv_func__expl" = x""yes; then :
63992 cat >>confdefs.h <<_ACEOF
63993 #define HAVE__EXPL 1
63994 _ACEOF
63997 done
64006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64007 $as_echo_n "checking for fabsl declaration... " >&6; }
64008 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64009 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64010 $as_echo_n "(cached) " >&6
64011 else
64014 ac_ext=cpp
64015 ac_cpp='$CXXCPP $CPPFLAGS'
64016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64021 /* end confdefs.h. */
64022 #include <math.h>
64023 #ifdef HAVE_IEEEFP_H
64024 #include <ieeefp.h>
64025 #endif
64028 main ()
64030 fabsl(0);
64032 return 0;
64034 _ACEOF
64035 if ac_fn_cxx_try_compile "$LINENO"; then :
64036 glibcxx_cv_func_fabsl_use=yes
64037 else
64038 glibcxx_cv_func_fabsl_use=no
64040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64041 ac_ext=c
64042 ac_cpp='$CPP $CPPFLAGS'
64043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64052 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64054 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64055 for ac_func in fabsl
64056 do :
64057 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64058 if test "x$ac_cv_func_fabsl" = x""yes; then :
64059 cat >>confdefs.h <<_ACEOF
64060 #define HAVE_FABSL 1
64061 _ACEOF
64064 done
64066 else
64068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64069 $as_echo_n "checking for _fabsl declaration... " >&6; }
64070 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64071 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64072 $as_echo_n "(cached) " >&6
64073 else
64076 ac_ext=cpp
64077 ac_cpp='$CXXCPP $CPPFLAGS'
64078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64083 /* end confdefs.h. */
64084 #include <math.h>
64085 #ifdef HAVE_IEEEFP_H
64086 #include <ieeefp.h>
64087 #endif
64090 main ()
64092 _fabsl(0);
64094 return 0;
64096 _ACEOF
64097 if ac_fn_cxx_try_compile "$LINENO"; then :
64098 glibcxx_cv_func__fabsl_use=yes
64099 else
64100 glibcxx_cv_func__fabsl_use=no
64102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64103 ac_ext=c
64104 ac_cpp='$CPP $CPPFLAGS'
64105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64114 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64116 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64117 for ac_func in _fabsl
64118 do :
64119 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64120 if test "x$ac_cv_func__fabsl" = x""yes; then :
64121 cat >>confdefs.h <<_ACEOF
64122 #define HAVE__FABSL 1
64123 _ACEOF
64126 done
64135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64136 $as_echo_n "checking for fmodl declaration... " >&6; }
64137 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64138 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64139 $as_echo_n "(cached) " >&6
64140 else
64143 ac_ext=cpp
64144 ac_cpp='$CXXCPP $CPPFLAGS'
64145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64150 /* end confdefs.h. */
64151 #include <math.h>
64153 main ()
64155 fmodl(0, 0);
64157 return 0;
64159 _ACEOF
64160 if ac_fn_cxx_try_compile "$LINENO"; then :
64161 glibcxx_cv_func_fmodl_use=yes
64162 else
64163 glibcxx_cv_func_fmodl_use=no
64165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64166 ac_ext=c
64167 ac_cpp='$CPP $CPPFLAGS'
64168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64177 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64179 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64180 for ac_func in fmodl
64181 do :
64182 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64183 if test "x$ac_cv_func_fmodl" = x""yes; then :
64184 cat >>confdefs.h <<_ACEOF
64185 #define HAVE_FMODL 1
64186 _ACEOF
64189 done
64191 else
64193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64194 $as_echo_n "checking for _fmodl declaration... " >&6; }
64195 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64196 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64197 $as_echo_n "(cached) " >&6
64198 else
64201 ac_ext=cpp
64202 ac_cpp='$CXXCPP $CPPFLAGS'
64203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64208 /* end confdefs.h. */
64209 #include <math.h>
64211 main ()
64213 _fmodl(0, 0);
64215 return 0;
64217 _ACEOF
64218 if ac_fn_cxx_try_compile "$LINENO"; then :
64219 glibcxx_cv_func__fmodl_use=yes
64220 else
64221 glibcxx_cv_func__fmodl_use=no
64223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64224 ac_ext=c
64225 ac_cpp='$CPP $CPPFLAGS'
64226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64235 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64237 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64238 for ac_func in _fmodl
64239 do :
64240 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64241 if test "x$ac_cv_func__fmodl" = x""yes; then :
64242 cat >>confdefs.h <<_ACEOF
64243 #define HAVE__FMODL 1
64244 _ACEOF
64247 done
64256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64257 $as_echo_n "checking for frexpl declaration... " >&6; }
64258 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64259 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64260 $as_echo_n "(cached) " >&6
64261 else
64264 ac_ext=cpp
64265 ac_cpp='$CXXCPP $CPPFLAGS'
64266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64271 /* end confdefs.h. */
64272 #include <math.h>
64274 main ()
64276 frexpl(0, 0);
64278 return 0;
64280 _ACEOF
64281 if ac_fn_cxx_try_compile "$LINENO"; then :
64282 glibcxx_cv_func_frexpl_use=yes
64283 else
64284 glibcxx_cv_func_frexpl_use=no
64286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64287 ac_ext=c
64288 ac_cpp='$CPP $CPPFLAGS'
64289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64298 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64300 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64301 for ac_func in frexpl
64302 do :
64303 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64304 if test "x$ac_cv_func_frexpl" = x""yes; then :
64305 cat >>confdefs.h <<_ACEOF
64306 #define HAVE_FREXPL 1
64307 _ACEOF
64310 done
64312 else
64314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64315 $as_echo_n "checking for _frexpl declaration... " >&6; }
64316 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64317 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64318 $as_echo_n "(cached) " >&6
64319 else
64322 ac_ext=cpp
64323 ac_cpp='$CXXCPP $CPPFLAGS'
64324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64329 /* end confdefs.h. */
64330 #include <math.h>
64332 main ()
64334 _frexpl(0, 0);
64336 return 0;
64338 _ACEOF
64339 if ac_fn_cxx_try_compile "$LINENO"; then :
64340 glibcxx_cv_func__frexpl_use=yes
64341 else
64342 glibcxx_cv_func__frexpl_use=no
64344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64345 ac_ext=c
64346 ac_cpp='$CPP $CPPFLAGS'
64347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64356 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64358 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64359 for ac_func in _frexpl
64360 do :
64361 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64362 if test "x$ac_cv_func__frexpl" = x""yes; then :
64363 cat >>confdefs.h <<_ACEOF
64364 #define HAVE__FREXPL 1
64365 _ACEOF
64368 done
64377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64378 $as_echo_n "checking for hypotl declaration... " >&6; }
64379 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64380 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64381 $as_echo_n "(cached) " >&6
64382 else
64385 ac_ext=cpp
64386 ac_cpp='$CXXCPP $CPPFLAGS'
64387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64392 /* end confdefs.h. */
64393 #include <math.h>
64395 main ()
64397 hypotl(0, 0);
64399 return 0;
64401 _ACEOF
64402 if ac_fn_cxx_try_compile "$LINENO"; then :
64403 glibcxx_cv_func_hypotl_use=yes
64404 else
64405 glibcxx_cv_func_hypotl_use=no
64407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64408 ac_ext=c
64409 ac_cpp='$CPP $CPPFLAGS'
64410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64419 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64421 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64422 for ac_func in hypotl
64423 do :
64424 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64425 if test "x$ac_cv_func_hypotl" = x""yes; then :
64426 cat >>confdefs.h <<_ACEOF
64427 #define HAVE_HYPOTL 1
64428 _ACEOF
64431 done
64433 else
64435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64436 $as_echo_n "checking for _hypotl declaration... " >&6; }
64437 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64438 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64439 $as_echo_n "(cached) " >&6
64440 else
64443 ac_ext=cpp
64444 ac_cpp='$CXXCPP $CPPFLAGS'
64445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64450 /* end confdefs.h. */
64451 #include <math.h>
64453 main ()
64455 _hypotl(0, 0);
64457 return 0;
64459 _ACEOF
64460 if ac_fn_cxx_try_compile "$LINENO"; then :
64461 glibcxx_cv_func__hypotl_use=yes
64462 else
64463 glibcxx_cv_func__hypotl_use=no
64465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64466 ac_ext=c
64467 ac_cpp='$CPP $CPPFLAGS'
64468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64477 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64479 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64480 for ac_func in _hypotl
64481 do :
64482 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64483 if test "x$ac_cv_func__hypotl" = x""yes; then :
64484 cat >>confdefs.h <<_ACEOF
64485 #define HAVE__HYPOTL 1
64486 _ACEOF
64489 done
64498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64499 $as_echo_n "checking for ldexpl declaration... " >&6; }
64500 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64501 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64502 $as_echo_n "(cached) " >&6
64503 else
64506 ac_ext=cpp
64507 ac_cpp='$CXXCPP $CPPFLAGS'
64508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64513 /* end confdefs.h. */
64514 #include <math.h>
64516 main ()
64518 ldexpl(0, 0);
64520 return 0;
64522 _ACEOF
64523 if ac_fn_cxx_try_compile "$LINENO"; then :
64524 glibcxx_cv_func_ldexpl_use=yes
64525 else
64526 glibcxx_cv_func_ldexpl_use=no
64528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64529 ac_ext=c
64530 ac_cpp='$CPP $CPPFLAGS'
64531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64540 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64542 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64543 for ac_func in ldexpl
64544 do :
64545 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64546 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64547 cat >>confdefs.h <<_ACEOF
64548 #define HAVE_LDEXPL 1
64549 _ACEOF
64552 done
64554 else
64556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64557 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64558 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64559 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64560 $as_echo_n "(cached) " >&6
64561 else
64564 ac_ext=cpp
64565 ac_cpp='$CXXCPP $CPPFLAGS'
64566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64571 /* end confdefs.h. */
64572 #include <math.h>
64574 main ()
64576 _ldexpl(0, 0);
64578 return 0;
64580 _ACEOF
64581 if ac_fn_cxx_try_compile "$LINENO"; then :
64582 glibcxx_cv_func__ldexpl_use=yes
64583 else
64584 glibcxx_cv_func__ldexpl_use=no
64586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64587 ac_ext=c
64588 ac_cpp='$CPP $CPPFLAGS'
64589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64598 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64600 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64601 for ac_func in _ldexpl
64602 do :
64603 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64604 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64605 cat >>confdefs.h <<_ACEOF
64606 #define HAVE__LDEXPL 1
64607 _ACEOF
64610 done
64619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64620 $as_echo_n "checking for logl declaration... " >&6; }
64621 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64622 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64623 $as_echo_n "(cached) " >&6
64624 else
64627 ac_ext=cpp
64628 ac_cpp='$CXXCPP $CPPFLAGS'
64629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64634 /* end confdefs.h. */
64635 #include <math.h>
64636 #ifdef HAVE_IEEEFP_H
64637 #include <ieeefp.h>
64638 #endif
64641 main ()
64643 logl(0);
64645 return 0;
64647 _ACEOF
64648 if ac_fn_cxx_try_compile "$LINENO"; then :
64649 glibcxx_cv_func_logl_use=yes
64650 else
64651 glibcxx_cv_func_logl_use=no
64653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64654 ac_ext=c
64655 ac_cpp='$CPP $CPPFLAGS'
64656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
64665 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
64667 if test x$glibcxx_cv_func_logl_use = x"yes"; then
64668 for ac_func in logl
64669 do :
64670 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
64671 if test "x$ac_cv_func_logl" = x""yes; then :
64672 cat >>confdefs.h <<_ACEOF
64673 #define HAVE_LOGL 1
64674 _ACEOF
64677 done
64679 else
64681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
64682 $as_echo_n "checking for _logl declaration... " >&6; }
64683 if test x${glibcxx_cv_func__logl_use+set} != xset; then
64684 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
64685 $as_echo_n "(cached) " >&6
64686 else
64689 ac_ext=cpp
64690 ac_cpp='$CXXCPP $CPPFLAGS'
64691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64696 /* end confdefs.h. */
64697 #include <math.h>
64698 #ifdef HAVE_IEEEFP_H
64699 #include <ieeefp.h>
64700 #endif
64703 main ()
64705 _logl(0);
64707 return 0;
64709 _ACEOF
64710 if ac_fn_cxx_try_compile "$LINENO"; then :
64711 glibcxx_cv_func__logl_use=yes
64712 else
64713 glibcxx_cv_func__logl_use=no
64715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64716 ac_ext=c
64717 ac_cpp='$CPP $CPPFLAGS'
64718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
64727 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
64729 if test x$glibcxx_cv_func__logl_use = x"yes"; then
64730 for ac_func in _logl
64731 do :
64732 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
64733 if test "x$ac_cv_func__logl" = x""yes; then :
64734 cat >>confdefs.h <<_ACEOF
64735 #define HAVE__LOGL 1
64736 _ACEOF
64739 done
64748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
64749 $as_echo_n "checking for log10l declaration... " >&6; }
64750 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
64751 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
64752 $as_echo_n "(cached) " >&6
64753 else
64756 ac_ext=cpp
64757 ac_cpp='$CXXCPP $CPPFLAGS'
64758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64763 /* end confdefs.h. */
64764 #include <math.h>
64765 #ifdef HAVE_IEEEFP_H
64766 #include <ieeefp.h>
64767 #endif
64770 main ()
64772 log10l(0);
64774 return 0;
64776 _ACEOF
64777 if ac_fn_cxx_try_compile "$LINENO"; then :
64778 glibcxx_cv_func_log10l_use=yes
64779 else
64780 glibcxx_cv_func_log10l_use=no
64782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64783 ac_ext=c
64784 ac_cpp='$CPP $CPPFLAGS'
64785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
64794 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
64796 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
64797 for ac_func in log10l
64798 do :
64799 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
64800 if test "x$ac_cv_func_log10l" = x""yes; then :
64801 cat >>confdefs.h <<_ACEOF
64802 #define HAVE_LOG10L 1
64803 _ACEOF
64806 done
64808 else
64810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64811 $as_echo_n "checking for _log10l declaration... " >&6; }
64812 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64813 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
64814 $as_echo_n "(cached) " >&6
64815 else
64818 ac_ext=cpp
64819 ac_cpp='$CXXCPP $CPPFLAGS'
64820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64825 /* end confdefs.h. */
64826 #include <math.h>
64827 #ifdef HAVE_IEEEFP_H
64828 #include <ieeefp.h>
64829 #endif
64832 main ()
64834 _log10l(0);
64836 return 0;
64838 _ACEOF
64839 if ac_fn_cxx_try_compile "$LINENO"; then :
64840 glibcxx_cv_func__log10l_use=yes
64841 else
64842 glibcxx_cv_func__log10l_use=no
64844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64845 ac_ext=c
64846 ac_cpp='$CPP $CPPFLAGS'
64847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64856 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64858 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64859 for ac_func in _log10l
64860 do :
64861 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64862 if test "x$ac_cv_func__log10l" = x""yes; then :
64863 cat >>confdefs.h <<_ACEOF
64864 #define HAVE__LOG10L 1
64865 _ACEOF
64868 done
64877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64878 $as_echo_n "checking for modfl declaration... " >&6; }
64879 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64880 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
64881 $as_echo_n "(cached) " >&6
64882 else
64885 ac_ext=cpp
64886 ac_cpp='$CXXCPP $CPPFLAGS'
64887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64892 /* end confdefs.h. */
64893 #include <math.h>
64895 main ()
64897 modfl(0, 0);
64899 return 0;
64901 _ACEOF
64902 if ac_fn_cxx_try_compile "$LINENO"; then :
64903 glibcxx_cv_func_modfl_use=yes
64904 else
64905 glibcxx_cv_func_modfl_use=no
64907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64908 ac_ext=c
64909 ac_cpp='$CPP $CPPFLAGS'
64910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64919 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64921 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64922 for ac_func in modfl
64923 do :
64924 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64925 if test "x$ac_cv_func_modfl" = x""yes; then :
64926 cat >>confdefs.h <<_ACEOF
64927 #define HAVE_MODFL 1
64928 _ACEOF
64931 done
64933 else
64935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64936 $as_echo_n "checking for _modfl declaration... " >&6; }
64937 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64938 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64939 $as_echo_n "(cached) " >&6
64940 else
64943 ac_ext=cpp
64944 ac_cpp='$CXXCPP $CPPFLAGS'
64945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64950 /* end confdefs.h. */
64951 #include <math.h>
64953 main ()
64955 _modfl(0, 0);
64957 return 0;
64959 _ACEOF
64960 if ac_fn_cxx_try_compile "$LINENO"; then :
64961 glibcxx_cv_func__modfl_use=yes
64962 else
64963 glibcxx_cv_func__modfl_use=no
64965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64966 ac_ext=c
64967 ac_cpp='$CPP $CPPFLAGS'
64968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64977 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64979 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64980 for ac_func in _modfl
64981 do :
64982 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64983 if test "x$ac_cv_func__modfl" = x""yes; then :
64984 cat >>confdefs.h <<_ACEOF
64985 #define HAVE__MODFL 1
64986 _ACEOF
64989 done
64998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64999 $as_echo_n "checking for powl declaration... " >&6; }
65000 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65001 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65002 $as_echo_n "(cached) " >&6
65003 else
65006 ac_ext=cpp
65007 ac_cpp='$CXXCPP $CPPFLAGS'
65008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65013 /* end confdefs.h. */
65014 #include <math.h>
65016 main ()
65018 powl(0, 0);
65020 return 0;
65022 _ACEOF
65023 if ac_fn_cxx_try_compile "$LINENO"; then :
65024 glibcxx_cv_func_powl_use=yes
65025 else
65026 glibcxx_cv_func_powl_use=no
65028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65029 ac_ext=c
65030 ac_cpp='$CPP $CPPFLAGS'
65031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65040 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65042 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65043 for ac_func in powl
65044 do :
65045 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65046 if test "x$ac_cv_func_powl" = x""yes; then :
65047 cat >>confdefs.h <<_ACEOF
65048 #define HAVE_POWL 1
65049 _ACEOF
65052 done
65054 else
65056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65057 $as_echo_n "checking for _powl declaration... " >&6; }
65058 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65059 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65060 $as_echo_n "(cached) " >&6
65061 else
65064 ac_ext=cpp
65065 ac_cpp='$CXXCPP $CPPFLAGS'
65066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65071 /* end confdefs.h. */
65072 #include <math.h>
65074 main ()
65076 _powl(0, 0);
65078 return 0;
65080 _ACEOF
65081 if ac_fn_cxx_try_compile "$LINENO"; then :
65082 glibcxx_cv_func__powl_use=yes
65083 else
65084 glibcxx_cv_func__powl_use=no
65086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65087 ac_ext=c
65088 ac_cpp='$CPP $CPPFLAGS'
65089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65098 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65100 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65101 for ac_func in _powl
65102 do :
65103 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65104 if test "x$ac_cv_func__powl" = x""yes; then :
65105 cat >>confdefs.h <<_ACEOF
65106 #define HAVE__POWL 1
65107 _ACEOF
65110 done
65119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65120 $as_echo_n "checking for sqrtl declaration... " >&6; }
65121 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65122 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65123 $as_echo_n "(cached) " >&6
65124 else
65127 ac_ext=cpp
65128 ac_cpp='$CXXCPP $CPPFLAGS'
65129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65134 /* end confdefs.h. */
65135 #include <math.h>
65136 #ifdef HAVE_IEEEFP_H
65137 #include <ieeefp.h>
65138 #endif
65141 main ()
65143 sqrtl(0);
65145 return 0;
65147 _ACEOF
65148 if ac_fn_cxx_try_compile "$LINENO"; then :
65149 glibcxx_cv_func_sqrtl_use=yes
65150 else
65151 glibcxx_cv_func_sqrtl_use=no
65153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65154 ac_ext=c
65155 ac_cpp='$CPP $CPPFLAGS'
65156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65165 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65167 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65168 for ac_func in sqrtl
65169 do :
65170 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65171 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65172 cat >>confdefs.h <<_ACEOF
65173 #define HAVE_SQRTL 1
65174 _ACEOF
65177 done
65179 else
65181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65182 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65183 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65184 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65185 $as_echo_n "(cached) " >&6
65186 else
65189 ac_ext=cpp
65190 ac_cpp='$CXXCPP $CPPFLAGS'
65191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65196 /* end confdefs.h. */
65197 #include <math.h>
65198 #ifdef HAVE_IEEEFP_H
65199 #include <ieeefp.h>
65200 #endif
65203 main ()
65205 _sqrtl(0);
65207 return 0;
65209 _ACEOF
65210 if ac_fn_cxx_try_compile "$LINENO"; then :
65211 glibcxx_cv_func__sqrtl_use=yes
65212 else
65213 glibcxx_cv_func__sqrtl_use=no
65215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65216 ac_ext=c
65217 ac_cpp='$CPP $CPPFLAGS'
65218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65227 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65229 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65230 for ac_func in _sqrtl
65231 do :
65232 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65233 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65234 cat >>confdefs.h <<_ACEOF
65235 #define HAVE__SQRTL 1
65236 _ACEOF
65239 done
65248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65249 $as_echo_n "checking for sincosl declaration... " >&6; }
65250 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65251 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65252 $as_echo_n "(cached) " >&6
65253 else
65256 ac_ext=cpp
65257 ac_cpp='$CXXCPP $CPPFLAGS'
65258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65263 /* end confdefs.h. */
65264 #include <math.h>
65266 main ()
65268 sincosl(0, 0, 0);
65270 return 0;
65272 _ACEOF
65273 if ac_fn_cxx_try_compile "$LINENO"; then :
65274 glibcxx_cv_func_sincosl_use=yes
65275 else
65276 glibcxx_cv_func_sincosl_use=no
65278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65279 ac_ext=c
65280 ac_cpp='$CPP $CPPFLAGS'
65281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65290 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65292 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65293 for ac_func in sincosl
65294 do :
65295 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65296 if test "x$ac_cv_func_sincosl" = x""yes; then :
65297 cat >>confdefs.h <<_ACEOF
65298 #define HAVE_SINCOSL 1
65299 _ACEOF
65302 done
65304 else
65306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65307 $as_echo_n "checking for _sincosl declaration... " >&6; }
65308 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65309 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65310 $as_echo_n "(cached) " >&6
65311 else
65314 ac_ext=cpp
65315 ac_cpp='$CXXCPP $CPPFLAGS'
65316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65321 /* end confdefs.h. */
65322 #include <math.h>
65324 main ()
65326 _sincosl(0, 0, 0);
65328 return 0;
65330 _ACEOF
65331 if ac_fn_cxx_try_compile "$LINENO"; then :
65332 glibcxx_cv_func__sincosl_use=yes
65333 else
65334 glibcxx_cv_func__sincosl_use=no
65336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65337 ac_ext=c
65338 ac_cpp='$CPP $CPPFLAGS'
65339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65348 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65350 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65351 for ac_func in _sincosl
65352 do :
65353 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65354 if test "x$ac_cv_func__sincosl" = x""yes; then :
65355 cat >>confdefs.h <<_ACEOF
65356 #define HAVE__SINCOSL 1
65357 _ACEOF
65360 done
65369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65370 $as_echo_n "checking for finitel declaration... " >&6; }
65371 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65372 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65373 $as_echo_n "(cached) " >&6
65374 else
65377 ac_ext=cpp
65378 ac_cpp='$CXXCPP $CPPFLAGS'
65379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65384 /* end confdefs.h. */
65385 #include <math.h>
65386 #ifdef HAVE_IEEEFP_H
65387 #include <ieeefp.h>
65388 #endif
65391 main ()
65393 finitel(0);
65395 return 0;
65397 _ACEOF
65398 if ac_fn_cxx_try_compile "$LINENO"; then :
65399 glibcxx_cv_func_finitel_use=yes
65400 else
65401 glibcxx_cv_func_finitel_use=no
65403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65404 ac_ext=c
65405 ac_cpp='$CPP $CPPFLAGS'
65406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65415 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65417 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65418 for ac_func in finitel
65419 do :
65420 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65421 if test "x$ac_cv_func_finitel" = x""yes; then :
65422 cat >>confdefs.h <<_ACEOF
65423 #define HAVE_FINITEL 1
65424 _ACEOF
65427 done
65429 else
65431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65432 $as_echo_n "checking for _finitel declaration... " >&6; }
65433 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65434 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65435 $as_echo_n "(cached) " >&6
65436 else
65439 ac_ext=cpp
65440 ac_cpp='$CXXCPP $CPPFLAGS'
65441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65446 /* end confdefs.h. */
65447 #include <math.h>
65448 #ifdef HAVE_IEEEFP_H
65449 #include <ieeefp.h>
65450 #endif
65453 main ()
65455 _finitel(0);
65457 return 0;
65459 _ACEOF
65460 if ac_fn_cxx_try_compile "$LINENO"; then :
65461 glibcxx_cv_func__finitel_use=yes
65462 else
65463 glibcxx_cv_func__finitel_use=no
65465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65466 ac_ext=c
65467 ac_cpp='$CPP $CPPFLAGS'
65468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65477 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65479 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65480 for ac_func in _finitel
65481 do :
65482 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65483 if test "x$ac_cv_func__finitel" = x""yes; then :
65484 cat >>confdefs.h <<_ACEOF
65485 #define HAVE__FINITEL 1
65486 _ACEOF
65489 done
65497 LIBS="$ac_save_LIBS"
65498 CXXFLAGS="$ac_save_CXXFLAGS"
65501 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65502 ac_save_CXXFLAGS="$CXXFLAGS"
65503 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65507 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65508 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65509 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65510 $as_echo_n "(cached) " >&6
65511 else
65514 ac_ext=cpp
65515 ac_cpp='$CXXCPP $CPPFLAGS'
65516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65521 /* end confdefs.h. */
65522 #include <stdlib.h>
65524 main ()
65526 at_quick_exit(0);
65528 return 0;
65530 _ACEOF
65531 if ac_fn_cxx_try_compile "$LINENO"; then :
65532 glibcxx_cv_func_at_quick_exit_use=yes
65533 else
65534 glibcxx_cv_func_at_quick_exit_use=no
65536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65537 ac_ext=c
65538 ac_cpp='$CPP $CPPFLAGS'
65539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65548 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65549 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65550 for ac_func in at_quick_exit
65551 do :
65552 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65553 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65554 cat >>confdefs.h <<_ACEOF
65555 #define HAVE_AT_QUICK_EXIT 1
65556 _ACEOF
65559 done
65564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65565 $as_echo_n "checking for quick_exit declaration... " >&6; }
65566 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65567 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65568 $as_echo_n "(cached) " >&6
65569 else
65572 ac_ext=cpp
65573 ac_cpp='$CXXCPP $CPPFLAGS'
65574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65579 /* end confdefs.h. */
65580 #include <stdlib.h>
65582 main ()
65584 quick_exit(0);
65586 return 0;
65588 _ACEOF
65589 if ac_fn_cxx_try_compile "$LINENO"; then :
65590 glibcxx_cv_func_quick_exit_use=yes
65591 else
65592 glibcxx_cv_func_quick_exit_use=no
65594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65595 ac_ext=c
65596 ac_cpp='$CPP $CPPFLAGS'
65597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65606 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65607 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65608 for ac_func in quick_exit
65609 do :
65610 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65611 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65612 cat >>confdefs.h <<_ACEOF
65613 #define HAVE_QUICK_EXIT 1
65614 _ACEOF
65617 done
65622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65623 $as_echo_n "checking for strtold declaration... " >&6; }
65624 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65625 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65626 $as_echo_n "(cached) " >&6
65627 else
65630 ac_ext=cpp
65631 ac_cpp='$CXXCPP $CPPFLAGS'
65632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65637 /* end confdefs.h. */
65638 #include <stdlib.h>
65640 main ()
65642 strtold(0, 0);
65644 return 0;
65646 _ACEOF
65647 if ac_fn_cxx_try_compile "$LINENO"; then :
65648 glibcxx_cv_func_strtold_use=yes
65649 else
65650 glibcxx_cv_func_strtold_use=no
65652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65653 ac_ext=c
65654 ac_cpp='$CPP $CPPFLAGS'
65655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
65664 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
65665 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
65666 for ac_func in strtold
65667 do :
65668 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
65669 if test "x$ac_cv_func_strtold" = x""yes; then :
65670 cat >>confdefs.h <<_ACEOF
65671 #define HAVE_STRTOLD 1
65672 _ACEOF
65675 done
65682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
65683 $as_echo_n "checking for strtof declaration... " >&6; }
65684 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
65685 if test "${glibcxx_cv_func_strtof_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 <stdlib.h>
65700 main ()
65702 strtof(0, 0);
65704 return 0;
65706 _ACEOF
65707 if ac_fn_cxx_try_compile "$LINENO"; then :
65708 glibcxx_cv_func_strtof_use=yes
65709 else
65710 glibcxx_cv_func_strtof_use=no
65712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65713 ac_ext=c
65714 ac_cpp='$CPP $CPPFLAGS'
65715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
65724 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
65725 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
65726 for ac_func in strtof
65727 do :
65728 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
65729 if test "x$ac_cv_func_strtof" = x""yes; then :
65730 cat >>confdefs.h <<_ACEOF
65731 #define HAVE_STRTOF 1
65732 _ACEOF
65735 done
65742 CXXFLAGS="$ac_save_CXXFLAGS"
65745 *-netbsd*)
65746 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65749 # If we're not using GNU ld, then there's no point in even trying these
65750 # tests. Check for that first. We should have already tested for gld
65751 # by now (in libtool), but require it now just to be safe...
65752 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65753 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65757 # The name set by libtool depends on the version of libtool. Shame on us
65758 # for depending on an impl detail, but c'est la vie. Older versions used
65759 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65760 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65761 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65762 # set (hence we're using an older libtool), then set it.
65763 if test x${with_gnu_ld+set} != xset; then
65764 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65765 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65766 with_gnu_ld=no
65767 else
65768 with_gnu_ld=$ac_cv_prog_gnu_ld
65772 # Start by getting the version number. I think the libtool test already
65773 # does some of this, but throws away the result.
65774 glibcxx_ld_is_gold=no
65775 if test x"$with_gnu_ld" = x"yes"; then
65776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65777 $as_echo_n "checking for ld version... " >&6; }
65779 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65780 glibcxx_ld_is_gold=yes
65782 ldver=`$LD --version 2>/dev/null |
65783 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'`
65785 glibcxx_gnu_ld_version=`echo $ldver | \
65786 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65788 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65791 # Set --gc-sections.
65792 glibcxx_have_gc_sections=no
65793 if test "$glibcxx_ld_is_gold" = "yes"; then
65794 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65795 glibcxx_have_gc_sections=yes
65797 else
65798 glibcxx_gcsections_min_ld=21602
65799 if test x"$with_gnu_ld" = x"yes" &&
65800 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65801 glibcxx_have_gc_sections=yes
65804 if test "$glibcxx_have_gc_sections" = "yes"; then
65805 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65806 # NB: This flag only works reliably after 2.16.1. Configure tests
65807 # for this are difficult, so hard wire a value that should work.
65809 ac_test_CFLAGS="${CFLAGS+set}"
65810 ac_save_CFLAGS="$CFLAGS"
65811 CFLAGS='-Wl,--gc-sections'
65813 # Check for -Wl,--gc-sections
65814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65815 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65816 if test x$gcc_no_link = xyes; then
65817 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65820 /* end confdefs.h. */
65821 int one(void) { return 1; }
65822 int two(void) { return 2; }
65825 main ()
65827 two();
65829 return 0;
65831 _ACEOF
65832 if ac_fn_c_try_link "$LINENO"; then :
65833 ac_gcsections=yes
65834 else
65835 ac_gcsections=no
65837 rm -f core conftest.err conftest.$ac_objext \
65838 conftest$ac_exeext conftest.$ac_ext
65839 if test "$ac_gcsections" = "yes"; then
65840 rm -f conftest.c
65841 touch conftest.c
65842 if $CC -c conftest.c; then
65843 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65844 grep "Warning: gc-sections option ignored" > /dev/null; then
65845 ac_gcsections=no
65848 rm -f conftest.c conftest.o conftest
65850 if test "$ac_gcsections" = "yes"; then
65851 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65854 $as_echo "$ac_gcsections" >&6; }
65856 if test "$ac_test_CFLAGS" = set; then
65857 CFLAGS="$ac_save_CFLAGS"
65858 else
65859 # this is the suspicious part
65860 CFLAGS=''
65864 # Set -z,relro.
65865 # Note this is only for shared objects.
65866 ac_ld_relro=no
65867 if test x"$with_gnu_ld" = x"yes"; then
65868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65869 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65870 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65871 if test -n "$cxx_z_relo"; then
65872 OPT_LDFLAGS="-Wl,-z,relro"
65873 ac_ld_relro=yes
65875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65876 $as_echo "$ac_ld_relro" >&6; }
65879 # Set linker optimization flags.
65880 if test x"$with_gnu_ld" = x"yes"; then
65881 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65887 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
65889 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65891 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
65893 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
65895 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
65897 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
65899 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65901 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65903 if test x"long_double_math_on_this_cpu" = x"yes"; then
65904 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65906 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65908 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65912 *-qnx6.1* | *-qnx6.2*)
65913 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65916 # If we're not using GNU ld, then there's no point in even trying these
65917 # tests. Check for that first. We should have already tested for gld
65918 # by now (in libtool), but require it now just to be safe...
65919 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65920 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65924 # The name set by libtool depends on the version of libtool. Shame on us
65925 # for depending on an impl detail, but c'est la vie. Older versions used
65926 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65927 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65928 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65929 # set (hence we're using an older libtool), then set it.
65930 if test x${with_gnu_ld+set} != xset; then
65931 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65932 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65933 with_gnu_ld=no
65934 else
65935 with_gnu_ld=$ac_cv_prog_gnu_ld
65939 # Start by getting the version number. I think the libtool test already
65940 # does some of this, but throws away the result.
65941 glibcxx_ld_is_gold=no
65942 if test x"$with_gnu_ld" = x"yes"; then
65943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65944 $as_echo_n "checking for ld version... " >&6; }
65946 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65947 glibcxx_ld_is_gold=yes
65949 ldver=`$LD --version 2>/dev/null |
65950 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'`
65952 glibcxx_gnu_ld_version=`echo $ldver | \
65953 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65955 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65958 # Set --gc-sections.
65959 glibcxx_have_gc_sections=no
65960 if test "$glibcxx_ld_is_gold" = "yes"; then
65961 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65962 glibcxx_have_gc_sections=yes
65964 else
65965 glibcxx_gcsections_min_ld=21602
65966 if test x"$with_gnu_ld" = x"yes" &&
65967 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65968 glibcxx_have_gc_sections=yes
65971 if test "$glibcxx_have_gc_sections" = "yes"; then
65972 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65973 # NB: This flag only works reliably after 2.16.1. Configure tests
65974 # for this are difficult, so hard wire a value that should work.
65976 ac_test_CFLAGS="${CFLAGS+set}"
65977 ac_save_CFLAGS="$CFLAGS"
65978 CFLAGS='-Wl,--gc-sections'
65980 # Check for -Wl,--gc-sections
65981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65982 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65983 if test x$gcc_no_link = xyes; then
65984 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65987 /* end confdefs.h. */
65988 int one(void) { return 1; }
65989 int two(void) { return 2; }
65992 main ()
65994 two();
65996 return 0;
65998 _ACEOF
65999 if ac_fn_c_try_link "$LINENO"; then :
66000 ac_gcsections=yes
66001 else
66002 ac_gcsections=no
66004 rm -f core conftest.err conftest.$ac_objext \
66005 conftest$ac_exeext conftest.$ac_ext
66006 if test "$ac_gcsections" = "yes"; then
66007 rm -f conftest.c
66008 touch conftest.c
66009 if $CC -c conftest.c; then
66010 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66011 grep "Warning: gc-sections option ignored" > /dev/null; then
66012 ac_gcsections=no
66015 rm -f conftest.c conftest.o conftest
66017 if test "$ac_gcsections" = "yes"; then
66018 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66021 $as_echo "$ac_gcsections" >&6; }
66023 if test "$ac_test_CFLAGS" = set; then
66024 CFLAGS="$ac_save_CFLAGS"
66025 else
66026 # this is the suspicious part
66027 CFLAGS=''
66031 # Set -z,relro.
66032 # Note this is only for shared objects.
66033 ac_ld_relro=no
66034 if test x"$with_gnu_ld" = x"yes"; then
66035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66036 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66037 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66038 if test -n "$cxx_z_relo"; then
66039 OPT_LDFLAGS="-Wl,-z,relro"
66040 ac_ld_relro=yes
66042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66043 $as_echo "$ac_ld_relro" >&6; }
66046 # Set linker optimization flags.
66047 if test x"$with_gnu_ld" = x"yes"; then
66048 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66054 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66056 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66058 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66060 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66062 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66064 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66066 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66068 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66070 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66072 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66074 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66076 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66079 *-rtems*)
66081 # All these tests are for C++; save the language and the compiler flags.
66082 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66083 # found in GLIBCXX_CONFIGURE.
66085 ac_ext=cpp
66086 ac_cpp='$CXXCPP $CPPFLAGS'
66087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66091 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66092 ac_save_CXXFLAGS="$CXXFLAGS"
66094 # Check for maintainer-mode bits.
66095 if test x"$USE_MAINTAINER_MODE" = xno; then
66096 WERROR=''
66097 else
66098 WERROR='-Werror'
66101 # Check for -ffunction-sections -fdata-sections
66102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66103 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66104 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66106 /* end confdefs.h. */
66107 int foo; void bar() { };
66109 main ()
66113 return 0;
66115 _ACEOF
66116 if ac_fn_cxx_try_compile "$LINENO"; then :
66117 ac_fdsections=yes
66118 else
66119 ac_fdsections=no
66121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66122 if test "$ac_test_CXXFLAGS" = set; then
66123 CXXFLAGS="$ac_save_CXXFLAGS"
66124 else
66125 # this is the suspicious part
66126 CXXFLAGS=''
66128 if test x"$ac_fdsections" = x"yes"; then
66129 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66132 $as_echo "$ac_fdsections" >&6; }
66134 ac_ext=c
66135 ac_cpp='$CPP $CPPFLAGS'
66136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66144 # If we're not using GNU ld, then there's no point in even trying these
66145 # tests. Check for that first. We should have already tested for gld
66146 # by now (in libtool), but require it now just to be safe...
66147 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66148 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66152 # The name set by libtool depends on the version of libtool. Shame on us
66153 # for depending on an impl detail, but c'est la vie. Older versions used
66154 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66155 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66156 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66157 # set (hence we're using an older libtool), then set it.
66158 if test x${with_gnu_ld+set} != xset; then
66159 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66160 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66161 with_gnu_ld=no
66162 else
66163 with_gnu_ld=$ac_cv_prog_gnu_ld
66167 # Start by getting the version number. I think the libtool test already
66168 # does some of this, but throws away the result.
66169 glibcxx_ld_is_gold=no
66170 if test x"$with_gnu_ld" = x"yes"; then
66171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66172 $as_echo_n "checking for ld version... " >&6; }
66174 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66175 glibcxx_ld_is_gold=yes
66177 ldver=`$LD --version 2>/dev/null |
66178 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'`
66180 glibcxx_gnu_ld_version=`echo $ldver | \
66181 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66183 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66186 # Set --gc-sections.
66187 glibcxx_have_gc_sections=no
66188 if test "$glibcxx_ld_is_gold" = "yes"; then
66189 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66190 glibcxx_have_gc_sections=yes
66192 else
66193 glibcxx_gcsections_min_ld=21602
66194 if test x"$with_gnu_ld" = x"yes" &&
66195 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66196 glibcxx_have_gc_sections=yes
66199 if test "$glibcxx_have_gc_sections" = "yes"; then
66200 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66201 # NB: This flag only works reliably after 2.16.1. Configure tests
66202 # for this are difficult, so hard wire a value that should work.
66204 ac_test_CFLAGS="${CFLAGS+set}"
66205 ac_save_CFLAGS="$CFLAGS"
66206 CFLAGS='-Wl,--gc-sections'
66208 # Check for -Wl,--gc-sections
66209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66210 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66211 if test x$gcc_no_link = xyes; then
66212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66215 /* end confdefs.h. */
66216 int one(void) { return 1; }
66217 int two(void) { return 2; }
66220 main ()
66222 two();
66224 return 0;
66226 _ACEOF
66227 if ac_fn_c_try_link "$LINENO"; then :
66228 ac_gcsections=yes
66229 else
66230 ac_gcsections=no
66232 rm -f core conftest.err conftest.$ac_objext \
66233 conftest$ac_exeext conftest.$ac_ext
66234 if test "$ac_gcsections" = "yes"; then
66235 rm -f conftest.c
66236 touch conftest.c
66237 if $CC -c conftest.c; then
66238 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66239 grep "Warning: gc-sections option ignored" > /dev/null; then
66240 ac_gcsections=no
66243 rm -f conftest.c conftest.o conftest
66245 if test "$ac_gcsections" = "yes"; then
66246 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66249 $as_echo "$ac_gcsections" >&6; }
66251 if test "$ac_test_CFLAGS" = set; then
66252 CFLAGS="$ac_save_CFLAGS"
66253 else
66254 # this is the suspicious part
66255 CFLAGS=''
66259 # Set -z,relro.
66260 # Note this is only for shared objects.
66261 ac_ld_relro=no
66262 if test x"$with_gnu_ld" = x"yes"; then
66263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66264 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66265 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66266 if test -n "$cxx_z_relo"; then
66267 OPT_LDFLAGS="-Wl,-z,relro"
66268 ac_ld_relro=yes
66270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66271 $as_echo "$ac_ld_relro" >&6; }
66274 # Set linker optimization flags.
66275 if test x"$with_gnu_ld" = x"yes"; then
66276 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66283 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66284 ac_save_CXXFLAGS="$CXXFLAGS"
66285 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66288 $as_echo_n "checking for sin in -lm... " >&6; }
66289 if test "${ac_cv_lib_m_sin+set}" = set; then :
66290 $as_echo_n "(cached) " >&6
66291 else
66292 ac_check_lib_save_LIBS=$LIBS
66293 LIBS="-lm $LIBS"
66294 if test x$gcc_no_link = xyes; then
66295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66298 /* end confdefs.h. */
66300 /* Override any GCC internal prototype to avoid an error.
66301 Use char because int might match the return type of a GCC
66302 builtin and then its argument prototype would still apply. */
66303 #ifdef __cplusplus
66304 extern "C"
66305 #endif
66306 char sin ();
66308 main ()
66310 return sin ();
66312 return 0;
66314 _ACEOF
66315 if ac_fn_c_try_link "$LINENO"; then :
66316 ac_cv_lib_m_sin=yes
66317 else
66318 ac_cv_lib_m_sin=no
66320 rm -f core conftest.err conftest.$ac_objext \
66321 conftest$ac_exeext conftest.$ac_ext
66322 LIBS=$ac_check_lib_save_LIBS
66324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66325 $as_echo "$ac_cv_lib_m_sin" >&6; }
66326 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66327 libm="-lm"
66330 ac_save_LIBS="$LIBS"
66331 LIBS="$LIBS $libm"
66335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66336 $as_echo_n "checking for isinf declaration... " >&6; }
66337 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66338 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66339 $as_echo_n "(cached) " >&6
66340 else
66343 ac_ext=cpp
66344 ac_cpp='$CXXCPP $CPPFLAGS'
66345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66350 /* end confdefs.h. */
66351 #include <math.h>
66352 #ifdef HAVE_IEEEFP_H
66353 #include <ieeefp.h>
66354 #endif
66357 main ()
66359 isinf(0);
66361 return 0;
66363 _ACEOF
66364 if ac_fn_cxx_try_compile "$LINENO"; then :
66365 glibcxx_cv_func_isinf_use=yes
66366 else
66367 glibcxx_cv_func_isinf_use=no
66369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66370 ac_ext=c
66371 ac_cpp='$CPP $CPPFLAGS'
66372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66381 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66383 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66384 for ac_func in isinf
66385 do :
66386 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66387 if test "x$ac_cv_func_isinf" = x""yes; then :
66388 cat >>confdefs.h <<_ACEOF
66389 #define HAVE_ISINF 1
66390 _ACEOF
66393 done
66395 else
66397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66398 $as_echo_n "checking for _isinf declaration... " >&6; }
66399 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66400 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66401 $as_echo_n "(cached) " >&6
66402 else
66405 ac_ext=cpp
66406 ac_cpp='$CXXCPP $CPPFLAGS'
66407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66412 /* end confdefs.h. */
66413 #include <math.h>
66414 #ifdef HAVE_IEEEFP_H
66415 #include <ieeefp.h>
66416 #endif
66419 main ()
66421 _isinf(0);
66423 return 0;
66425 _ACEOF
66426 if ac_fn_cxx_try_compile "$LINENO"; then :
66427 glibcxx_cv_func__isinf_use=yes
66428 else
66429 glibcxx_cv_func__isinf_use=no
66431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66432 ac_ext=c
66433 ac_cpp='$CPP $CPPFLAGS'
66434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66443 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66445 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66446 for ac_func in _isinf
66447 do :
66448 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66449 if test "x$ac_cv_func__isinf" = x""yes; then :
66450 cat >>confdefs.h <<_ACEOF
66451 #define HAVE__ISINF 1
66452 _ACEOF
66455 done
66464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66465 $as_echo_n "checking for isnan declaration... " >&6; }
66466 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66467 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66468 $as_echo_n "(cached) " >&6
66469 else
66472 ac_ext=cpp
66473 ac_cpp='$CXXCPP $CPPFLAGS'
66474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66479 /* end confdefs.h. */
66480 #include <math.h>
66481 #ifdef HAVE_IEEEFP_H
66482 #include <ieeefp.h>
66483 #endif
66486 main ()
66488 isnan(0);
66490 return 0;
66492 _ACEOF
66493 if ac_fn_cxx_try_compile "$LINENO"; then :
66494 glibcxx_cv_func_isnan_use=yes
66495 else
66496 glibcxx_cv_func_isnan_use=no
66498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66499 ac_ext=c
66500 ac_cpp='$CPP $CPPFLAGS'
66501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66510 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66512 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66513 for ac_func in isnan
66514 do :
66515 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66516 if test "x$ac_cv_func_isnan" = x""yes; then :
66517 cat >>confdefs.h <<_ACEOF
66518 #define HAVE_ISNAN 1
66519 _ACEOF
66522 done
66524 else
66526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66527 $as_echo_n "checking for _isnan declaration... " >&6; }
66528 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66529 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66530 $as_echo_n "(cached) " >&6
66531 else
66534 ac_ext=cpp
66535 ac_cpp='$CXXCPP $CPPFLAGS'
66536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66541 /* end confdefs.h. */
66542 #include <math.h>
66543 #ifdef HAVE_IEEEFP_H
66544 #include <ieeefp.h>
66545 #endif
66548 main ()
66550 _isnan(0);
66552 return 0;
66554 _ACEOF
66555 if ac_fn_cxx_try_compile "$LINENO"; then :
66556 glibcxx_cv_func__isnan_use=yes
66557 else
66558 glibcxx_cv_func__isnan_use=no
66560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66561 ac_ext=c
66562 ac_cpp='$CPP $CPPFLAGS'
66563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66572 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66574 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66575 for ac_func in _isnan
66576 do :
66577 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66578 if test "x$ac_cv_func__isnan" = x""yes; then :
66579 cat >>confdefs.h <<_ACEOF
66580 #define HAVE__ISNAN 1
66581 _ACEOF
66584 done
66593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66594 $as_echo_n "checking for finite declaration... " >&6; }
66595 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66596 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66597 $as_echo_n "(cached) " >&6
66598 else
66601 ac_ext=cpp
66602 ac_cpp='$CXXCPP $CPPFLAGS'
66603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66608 /* end confdefs.h. */
66609 #include <math.h>
66610 #ifdef HAVE_IEEEFP_H
66611 #include <ieeefp.h>
66612 #endif
66615 main ()
66617 finite(0);
66619 return 0;
66621 _ACEOF
66622 if ac_fn_cxx_try_compile "$LINENO"; then :
66623 glibcxx_cv_func_finite_use=yes
66624 else
66625 glibcxx_cv_func_finite_use=no
66627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66628 ac_ext=c
66629 ac_cpp='$CPP $CPPFLAGS'
66630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66639 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66641 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66642 for ac_func in finite
66643 do :
66644 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66645 if test "x$ac_cv_func_finite" = x""yes; then :
66646 cat >>confdefs.h <<_ACEOF
66647 #define HAVE_FINITE 1
66648 _ACEOF
66651 done
66653 else
66655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66656 $as_echo_n "checking for _finite declaration... " >&6; }
66657 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66658 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66659 $as_echo_n "(cached) " >&6
66660 else
66663 ac_ext=cpp
66664 ac_cpp='$CXXCPP $CPPFLAGS'
66665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66670 /* end confdefs.h. */
66671 #include <math.h>
66672 #ifdef HAVE_IEEEFP_H
66673 #include <ieeefp.h>
66674 #endif
66677 main ()
66679 _finite(0);
66681 return 0;
66683 _ACEOF
66684 if ac_fn_cxx_try_compile "$LINENO"; then :
66685 glibcxx_cv_func__finite_use=yes
66686 else
66687 glibcxx_cv_func__finite_use=no
66689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66690 ac_ext=c
66691 ac_cpp='$CPP $CPPFLAGS'
66692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
66701 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
66703 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66704 for ac_func in _finite
66705 do :
66706 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
66707 if test "x$ac_cv_func__finite" = x""yes; then :
66708 cat >>confdefs.h <<_ACEOF
66709 #define HAVE__FINITE 1
66710 _ACEOF
66713 done
66722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
66723 $as_echo_n "checking for sincos declaration... " >&6; }
66724 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66725 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
66726 $as_echo_n "(cached) " >&6
66727 else
66730 ac_ext=cpp
66731 ac_cpp='$CXXCPP $CPPFLAGS'
66732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66737 /* end confdefs.h. */
66738 #include <math.h>
66740 main ()
66742 sincos(0, 0, 0);
66744 return 0;
66746 _ACEOF
66747 if ac_fn_cxx_try_compile "$LINENO"; then :
66748 glibcxx_cv_func_sincos_use=yes
66749 else
66750 glibcxx_cv_func_sincos_use=no
66752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66753 ac_ext=c
66754 ac_cpp='$CPP $CPPFLAGS'
66755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
66764 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
66766 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66767 for ac_func in sincos
66768 do :
66769 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
66770 if test "x$ac_cv_func_sincos" = x""yes; then :
66771 cat >>confdefs.h <<_ACEOF
66772 #define HAVE_SINCOS 1
66773 _ACEOF
66776 done
66778 else
66780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
66781 $as_echo_n "checking for _sincos declaration... " >&6; }
66782 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66783 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
66784 $as_echo_n "(cached) " >&6
66785 else
66788 ac_ext=cpp
66789 ac_cpp='$CXXCPP $CPPFLAGS'
66790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66795 /* end confdefs.h. */
66796 #include <math.h>
66798 main ()
66800 _sincos(0, 0, 0);
66802 return 0;
66804 _ACEOF
66805 if ac_fn_cxx_try_compile "$LINENO"; then :
66806 glibcxx_cv_func__sincos_use=yes
66807 else
66808 glibcxx_cv_func__sincos_use=no
66810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66811 ac_ext=c
66812 ac_cpp='$CPP $CPPFLAGS'
66813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66822 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66824 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66825 for ac_func in _sincos
66826 do :
66827 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66828 if test "x$ac_cv_func__sincos" = x""yes; then :
66829 cat >>confdefs.h <<_ACEOF
66830 #define HAVE__SINCOS 1
66831 _ACEOF
66834 done
66843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66844 $as_echo_n "checking for fpclass declaration... " >&6; }
66845 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66846 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66847 $as_echo_n "(cached) " >&6
66848 else
66851 ac_ext=cpp
66852 ac_cpp='$CXXCPP $CPPFLAGS'
66853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66858 /* end confdefs.h. */
66859 #include <math.h>
66860 #ifdef HAVE_IEEEFP_H
66861 #include <ieeefp.h>
66862 #endif
66865 main ()
66867 fpclass(0);
66869 return 0;
66871 _ACEOF
66872 if ac_fn_cxx_try_compile "$LINENO"; then :
66873 glibcxx_cv_func_fpclass_use=yes
66874 else
66875 glibcxx_cv_func_fpclass_use=no
66877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66878 ac_ext=c
66879 ac_cpp='$CPP $CPPFLAGS'
66880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
66889 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
66891 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66892 for ac_func in fpclass
66893 do :
66894 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
66895 if test "x$ac_cv_func_fpclass" = x""yes; then :
66896 cat >>confdefs.h <<_ACEOF
66897 #define HAVE_FPCLASS 1
66898 _ACEOF
66901 done
66903 else
66905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
66906 $as_echo_n "checking for _fpclass declaration... " >&6; }
66907 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66908 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
66909 $as_echo_n "(cached) " >&6
66910 else
66913 ac_ext=cpp
66914 ac_cpp='$CXXCPP $CPPFLAGS'
66915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66920 /* end confdefs.h. */
66921 #include <math.h>
66922 #ifdef HAVE_IEEEFP_H
66923 #include <ieeefp.h>
66924 #endif
66927 main ()
66929 _fpclass(0);
66931 return 0;
66933 _ACEOF
66934 if ac_fn_cxx_try_compile "$LINENO"; then :
66935 glibcxx_cv_func__fpclass_use=yes
66936 else
66937 glibcxx_cv_func__fpclass_use=no
66939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66940 ac_ext=c
66941 ac_cpp='$CPP $CPPFLAGS'
66942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
66951 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
66953 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66954 for ac_func in _fpclass
66955 do :
66956 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
66957 if test "x$ac_cv_func__fpclass" = x""yes; then :
66958 cat >>confdefs.h <<_ACEOF
66959 #define HAVE__FPCLASS 1
66960 _ACEOF
66963 done
66972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66973 $as_echo_n "checking for qfpclass declaration... " >&6; }
66974 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66975 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66976 $as_echo_n "(cached) " >&6
66977 else
66980 ac_ext=cpp
66981 ac_cpp='$CXXCPP $CPPFLAGS'
66982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66987 /* end confdefs.h. */
66988 #include <math.h>
66989 #ifdef HAVE_IEEEFP_H
66990 #include <ieeefp.h>
66991 #endif
66994 main ()
66996 qfpclass(0);
66998 return 0;
67000 _ACEOF
67001 if ac_fn_cxx_try_compile "$LINENO"; then :
67002 glibcxx_cv_func_qfpclass_use=yes
67003 else
67004 glibcxx_cv_func_qfpclass_use=no
67006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67007 ac_ext=c
67008 ac_cpp='$CPP $CPPFLAGS'
67009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67018 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67020 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67021 for ac_func in qfpclass
67022 do :
67023 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67024 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67025 cat >>confdefs.h <<_ACEOF
67026 #define HAVE_QFPCLASS 1
67027 _ACEOF
67030 done
67032 else
67034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67035 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67036 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67037 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67038 $as_echo_n "(cached) " >&6
67039 else
67042 ac_ext=cpp
67043 ac_cpp='$CXXCPP $CPPFLAGS'
67044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67049 /* end confdefs.h. */
67050 #include <math.h>
67051 #ifdef HAVE_IEEEFP_H
67052 #include <ieeefp.h>
67053 #endif
67056 main ()
67058 _qfpclass(0);
67060 return 0;
67062 _ACEOF
67063 if ac_fn_cxx_try_compile "$LINENO"; then :
67064 glibcxx_cv_func__qfpclass_use=yes
67065 else
67066 glibcxx_cv_func__qfpclass_use=no
67068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67069 ac_ext=c
67070 ac_cpp='$CPP $CPPFLAGS'
67071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67080 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67082 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67083 for ac_func in _qfpclass
67084 do :
67085 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67086 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67087 cat >>confdefs.h <<_ACEOF
67088 #define HAVE__QFPCLASS 1
67089 _ACEOF
67092 done
67101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67102 $as_echo_n "checking for hypot declaration... " >&6; }
67103 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67104 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67105 $as_echo_n "(cached) " >&6
67106 else
67109 ac_ext=cpp
67110 ac_cpp='$CXXCPP $CPPFLAGS'
67111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67116 /* end confdefs.h. */
67117 #include <math.h>
67119 main ()
67121 hypot(0, 0);
67123 return 0;
67125 _ACEOF
67126 if ac_fn_cxx_try_compile "$LINENO"; then :
67127 glibcxx_cv_func_hypot_use=yes
67128 else
67129 glibcxx_cv_func_hypot_use=no
67131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67132 ac_ext=c
67133 ac_cpp='$CPP $CPPFLAGS'
67134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67143 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67145 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67146 for ac_func in hypot
67147 do :
67148 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67149 if test "x$ac_cv_func_hypot" = x""yes; then :
67150 cat >>confdefs.h <<_ACEOF
67151 #define HAVE_HYPOT 1
67152 _ACEOF
67155 done
67157 else
67159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67160 $as_echo_n "checking for _hypot declaration... " >&6; }
67161 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67162 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67163 $as_echo_n "(cached) " >&6
67164 else
67167 ac_ext=cpp
67168 ac_cpp='$CXXCPP $CPPFLAGS'
67169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67174 /* end confdefs.h. */
67175 #include <math.h>
67177 main ()
67179 _hypot(0, 0);
67181 return 0;
67183 _ACEOF
67184 if ac_fn_cxx_try_compile "$LINENO"; then :
67185 glibcxx_cv_func__hypot_use=yes
67186 else
67187 glibcxx_cv_func__hypot_use=no
67189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67190 ac_ext=c
67191 ac_cpp='$CPP $CPPFLAGS'
67192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67201 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67203 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67204 for ac_func in _hypot
67205 do :
67206 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67207 if test "x$ac_cv_func__hypot" = x""yes; then :
67208 cat >>confdefs.h <<_ACEOF
67209 #define HAVE__HYPOT 1
67210 _ACEOF
67213 done
67222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67223 $as_echo_n "checking for float trig functions... " >&6; }
67224 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67225 $as_echo_n "(cached) " >&6
67226 else
67229 ac_ext=cpp
67230 ac_cpp='$CXXCPP $CPPFLAGS'
67231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67236 /* end confdefs.h. */
67237 #include <math.h>
67239 main ()
67241 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67243 return 0;
67245 _ACEOF
67246 if ac_fn_cxx_try_compile "$LINENO"; then :
67247 glibcxx_cv_func_float_trig_use=yes
67248 else
67249 glibcxx_cv_func_float_trig_use=no
67251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67252 ac_ext=c
67253 ac_cpp='$CPP $CPPFLAGS'
67254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67261 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67262 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67263 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67264 do :
67265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67266 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67267 eval as_val=\$$as_ac_var
67268 if test "x$as_val" = x""yes; then :
67269 cat >>confdefs.h <<_ACEOF
67270 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67271 _ACEOF
67274 done
67276 else
67277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67278 $as_echo_n "checking for _float trig functions... " >&6; }
67279 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67280 $as_echo_n "(cached) " >&6
67281 else
67284 ac_ext=cpp
67285 ac_cpp='$CXXCPP $CPPFLAGS'
67286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67291 /* end confdefs.h. */
67292 #include <math.h>
67294 main ()
67296 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67298 return 0;
67300 _ACEOF
67301 if ac_fn_cxx_try_compile "$LINENO"; then :
67302 glibcxx_cv_func__float_trig_use=yes
67303 else
67304 glibcxx_cv_func__float_trig_use=no
67306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67307 ac_ext=c
67308 ac_cpp='$CPP $CPPFLAGS'
67309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67316 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67317 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67318 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67319 do :
67320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67321 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67322 eval as_val=\$$as_ac_var
67323 if test "x$as_val" = x""yes; then :
67324 cat >>confdefs.h <<_ACEOF
67325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67326 _ACEOF
67329 done
67338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67339 $as_echo_n "checking for float round functions... " >&6; }
67340 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67341 $as_echo_n "(cached) " >&6
67342 else
67345 ac_ext=cpp
67346 ac_cpp='$CXXCPP $CPPFLAGS'
67347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67352 /* end confdefs.h. */
67353 #include <math.h>
67355 main ()
67357 ceilf (0); floorf (0);
67359 return 0;
67361 _ACEOF
67362 if ac_fn_cxx_try_compile "$LINENO"; then :
67363 glibcxx_cv_func_float_round_use=yes
67364 else
67365 glibcxx_cv_func_float_round_use=no
67367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67368 ac_ext=c
67369 ac_cpp='$CPP $CPPFLAGS'
67370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67377 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67378 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67379 for ac_func in ceilf floorf
67380 do :
67381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67383 eval as_val=\$$as_ac_var
67384 if test "x$as_val" = x""yes; then :
67385 cat >>confdefs.h <<_ACEOF
67386 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67387 _ACEOF
67390 done
67392 else
67393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67394 $as_echo_n "checking for _float round functions... " >&6; }
67395 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67396 $as_echo_n "(cached) " >&6
67397 else
67400 ac_ext=cpp
67401 ac_cpp='$CXXCPP $CPPFLAGS'
67402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67407 /* end confdefs.h. */
67408 #include <math.h>
67410 main ()
67412 _ceilf (0); _floorf (0);
67414 return 0;
67416 _ACEOF
67417 if ac_fn_cxx_try_compile "$LINENO"; then :
67418 glibcxx_cv_func__float_round_use=yes
67419 else
67420 glibcxx_cv_func__float_round_use=no
67422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67423 ac_ext=c
67424 ac_cpp='$CPP $CPPFLAGS'
67425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67432 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67433 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67434 for ac_func in _ceilf _floorf
67435 do :
67436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67438 eval as_val=\$$as_ac_var
67439 if test "x$as_val" = x""yes; then :
67440 cat >>confdefs.h <<_ACEOF
67441 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67442 _ACEOF
67445 done
67455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67456 $as_echo_n "checking for expf declaration... " >&6; }
67457 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67458 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67459 $as_echo_n "(cached) " >&6
67460 else
67463 ac_ext=cpp
67464 ac_cpp='$CXXCPP $CPPFLAGS'
67465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67470 /* end confdefs.h. */
67471 #include <math.h>
67472 #ifdef HAVE_IEEEFP_H
67473 #include <ieeefp.h>
67474 #endif
67477 main ()
67479 expf(0);
67481 return 0;
67483 _ACEOF
67484 if ac_fn_cxx_try_compile "$LINENO"; then :
67485 glibcxx_cv_func_expf_use=yes
67486 else
67487 glibcxx_cv_func_expf_use=no
67489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67490 ac_ext=c
67491 ac_cpp='$CPP $CPPFLAGS'
67492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67501 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67503 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67504 for ac_func in expf
67505 do :
67506 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67507 if test "x$ac_cv_func_expf" = x""yes; then :
67508 cat >>confdefs.h <<_ACEOF
67509 #define HAVE_EXPF 1
67510 _ACEOF
67513 done
67515 else
67517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67518 $as_echo_n "checking for _expf declaration... " >&6; }
67519 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67520 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67521 $as_echo_n "(cached) " >&6
67522 else
67525 ac_ext=cpp
67526 ac_cpp='$CXXCPP $CPPFLAGS'
67527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67532 /* end confdefs.h. */
67533 #include <math.h>
67534 #ifdef HAVE_IEEEFP_H
67535 #include <ieeefp.h>
67536 #endif
67539 main ()
67541 _expf(0);
67543 return 0;
67545 _ACEOF
67546 if ac_fn_cxx_try_compile "$LINENO"; then :
67547 glibcxx_cv_func__expf_use=yes
67548 else
67549 glibcxx_cv_func__expf_use=no
67551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67552 ac_ext=c
67553 ac_cpp='$CPP $CPPFLAGS'
67554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67563 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67565 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67566 for ac_func in _expf
67567 do :
67568 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67569 if test "x$ac_cv_func__expf" = x""yes; then :
67570 cat >>confdefs.h <<_ACEOF
67571 #define HAVE__EXPF 1
67572 _ACEOF
67575 done
67584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67585 $as_echo_n "checking for isnanf declaration... " >&6; }
67586 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67587 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67588 $as_echo_n "(cached) " >&6
67589 else
67592 ac_ext=cpp
67593 ac_cpp='$CXXCPP $CPPFLAGS'
67594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67599 /* end confdefs.h. */
67600 #include <math.h>
67601 #ifdef HAVE_IEEEFP_H
67602 #include <ieeefp.h>
67603 #endif
67606 main ()
67608 isnanf(0);
67610 return 0;
67612 _ACEOF
67613 if ac_fn_cxx_try_compile "$LINENO"; then :
67614 glibcxx_cv_func_isnanf_use=yes
67615 else
67616 glibcxx_cv_func_isnanf_use=no
67618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67619 ac_ext=c
67620 ac_cpp='$CPP $CPPFLAGS'
67621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67630 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67632 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67633 for ac_func in isnanf
67634 do :
67635 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67636 if test "x$ac_cv_func_isnanf" = x""yes; then :
67637 cat >>confdefs.h <<_ACEOF
67638 #define HAVE_ISNANF 1
67639 _ACEOF
67642 done
67644 else
67646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67647 $as_echo_n "checking for _isnanf declaration... " >&6; }
67648 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67649 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67650 $as_echo_n "(cached) " >&6
67651 else
67654 ac_ext=cpp
67655 ac_cpp='$CXXCPP $CPPFLAGS'
67656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67661 /* end confdefs.h. */
67662 #include <math.h>
67663 #ifdef HAVE_IEEEFP_H
67664 #include <ieeefp.h>
67665 #endif
67668 main ()
67670 _isnanf(0);
67672 return 0;
67674 _ACEOF
67675 if ac_fn_cxx_try_compile "$LINENO"; then :
67676 glibcxx_cv_func__isnanf_use=yes
67677 else
67678 glibcxx_cv_func__isnanf_use=no
67680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67681 ac_ext=c
67682 ac_cpp='$CPP $CPPFLAGS'
67683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
67692 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
67694 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67695 for ac_func in _isnanf
67696 do :
67697 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
67698 if test "x$ac_cv_func__isnanf" = x""yes; then :
67699 cat >>confdefs.h <<_ACEOF
67700 #define HAVE__ISNANF 1
67701 _ACEOF
67704 done
67713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
67714 $as_echo_n "checking for isinff declaration... " >&6; }
67715 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67716 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
67717 $as_echo_n "(cached) " >&6
67718 else
67721 ac_ext=cpp
67722 ac_cpp='$CXXCPP $CPPFLAGS'
67723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67728 /* end confdefs.h. */
67729 #include <math.h>
67730 #ifdef HAVE_IEEEFP_H
67731 #include <ieeefp.h>
67732 #endif
67735 main ()
67737 isinff(0);
67739 return 0;
67741 _ACEOF
67742 if ac_fn_cxx_try_compile "$LINENO"; then :
67743 glibcxx_cv_func_isinff_use=yes
67744 else
67745 glibcxx_cv_func_isinff_use=no
67747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67748 ac_ext=c
67749 ac_cpp='$CPP $CPPFLAGS'
67750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
67759 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
67761 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67762 for ac_func in isinff
67763 do :
67764 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
67765 if test "x$ac_cv_func_isinff" = x""yes; then :
67766 cat >>confdefs.h <<_ACEOF
67767 #define HAVE_ISINFF 1
67768 _ACEOF
67771 done
67773 else
67775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
67776 $as_echo_n "checking for _isinff declaration... " >&6; }
67777 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67778 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
67779 $as_echo_n "(cached) " >&6
67780 else
67783 ac_ext=cpp
67784 ac_cpp='$CXXCPP $CPPFLAGS'
67785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67790 /* end confdefs.h. */
67791 #include <math.h>
67792 #ifdef HAVE_IEEEFP_H
67793 #include <ieeefp.h>
67794 #endif
67797 main ()
67799 _isinff(0);
67801 return 0;
67803 _ACEOF
67804 if ac_fn_cxx_try_compile "$LINENO"; then :
67805 glibcxx_cv_func__isinff_use=yes
67806 else
67807 glibcxx_cv_func__isinff_use=no
67809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67810 ac_ext=c
67811 ac_cpp='$CPP $CPPFLAGS'
67812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
67821 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67823 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67824 for ac_func in _isinff
67825 do :
67826 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67827 if test "x$ac_cv_func__isinff" = x""yes; then :
67828 cat >>confdefs.h <<_ACEOF
67829 #define HAVE__ISINFF 1
67830 _ACEOF
67833 done
67842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67843 $as_echo_n "checking for atan2f declaration... " >&6; }
67844 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67845 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67846 $as_echo_n "(cached) " >&6
67847 else
67850 ac_ext=cpp
67851 ac_cpp='$CXXCPP $CPPFLAGS'
67852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67857 /* end confdefs.h. */
67858 #include <math.h>
67860 main ()
67862 atan2f(0, 0);
67864 return 0;
67866 _ACEOF
67867 if ac_fn_cxx_try_compile "$LINENO"; then :
67868 glibcxx_cv_func_atan2f_use=yes
67869 else
67870 glibcxx_cv_func_atan2f_use=no
67872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67873 ac_ext=c
67874 ac_cpp='$CPP $CPPFLAGS'
67875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
67884 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
67886 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
67887 for ac_func in atan2f
67888 do :
67889 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
67890 if test "x$ac_cv_func_atan2f" = x""yes; then :
67891 cat >>confdefs.h <<_ACEOF
67892 #define HAVE_ATAN2F 1
67893 _ACEOF
67896 done
67898 else
67900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
67901 $as_echo_n "checking for _atan2f declaration... " >&6; }
67902 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
67903 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
67904 $as_echo_n "(cached) " >&6
67905 else
67908 ac_ext=cpp
67909 ac_cpp='$CXXCPP $CPPFLAGS'
67910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67915 /* end confdefs.h. */
67916 #include <math.h>
67918 main ()
67920 _atan2f(0, 0);
67922 return 0;
67924 _ACEOF
67925 if ac_fn_cxx_try_compile "$LINENO"; then :
67926 glibcxx_cv_func__atan2f_use=yes
67927 else
67928 glibcxx_cv_func__atan2f_use=no
67930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67931 ac_ext=c
67932 ac_cpp='$CPP $CPPFLAGS'
67933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
67942 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
67944 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
67945 for ac_func in _atan2f
67946 do :
67947 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
67948 if test "x$ac_cv_func__atan2f" = x""yes; then :
67949 cat >>confdefs.h <<_ACEOF
67950 #define HAVE__ATAN2F 1
67951 _ACEOF
67954 done
67963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67964 $as_echo_n "checking for fabsf declaration... " >&6; }
67965 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67966 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67967 $as_echo_n "(cached) " >&6
67968 else
67971 ac_ext=cpp
67972 ac_cpp='$CXXCPP $CPPFLAGS'
67973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67978 /* end confdefs.h. */
67979 #include <math.h>
67980 #ifdef HAVE_IEEEFP_H
67981 #include <ieeefp.h>
67982 #endif
67985 main ()
67987 fabsf(0);
67989 return 0;
67991 _ACEOF
67992 if ac_fn_cxx_try_compile "$LINENO"; then :
67993 glibcxx_cv_func_fabsf_use=yes
67994 else
67995 glibcxx_cv_func_fabsf_use=no
67997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67998 ac_ext=c
67999 ac_cpp='$CPP $CPPFLAGS'
68000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68009 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68011 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68012 for ac_func in fabsf
68013 do :
68014 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68015 if test "x$ac_cv_func_fabsf" = x""yes; then :
68016 cat >>confdefs.h <<_ACEOF
68017 #define HAVE_FABSF 1
68018 _ACEOF
68021 done
68023 else
68025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68026 $as_echo_n "checking for _fabsf declaration... " >&6; }
68027 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68028 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68029 $as_echo_n "(cached) " >&6
68030 else
68033 ac_ext=cpp
68034 ac_cpp='$CXXCPP $CPPFLAGS'
68035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68040 /* end confdefs.h. */
68041 #include <math.h>
68042 #ifdef HAVE_IEEEFP_H
68043 #include <ieeefp.h>
68044 #endif
68047 main ()
68049 _fabsf(0);
68051 return 0;
68053 _ACEOF
68054 if ac_fn_cxx_try_compile "$LINENO"; then :
68055 glibcxx_cv_func__fabsf_use=yes
68056 else
68057 glibcxx_cv_func__fabsf_use=no
68059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68060 ac_ext=c
68061 ac_cpp='$CPP $CPPFLAGS'
68062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68071 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68073 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68074 for ac_func in _fabsf
68075 do :
68076 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68077 if test "x$ac_cv_func__fabsf" = x""yes; then :
68078 cat >>confdefs.h <<_ACEOF
68079 #define HAVE__FABSF 1
68080 _ACEOF
68083 done
68092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68093 $as_echo_n "checking for fmodf declaration... " >&6; }
68094 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68095 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68096 $as_echo_n "(cached) " >&6
68097 else
68100 ac_ext=cpp
68101 ac_cpp='$CXXCPP $CPPFLAGS'
68102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68107 /* end confdefs.h. */
68108 #include <math.h>
68110 main ()
68112 fmodf(0, 0);
68114 return 0;
68116 _ACEOF
68117 if ac_fn_cxx_try_compile "$LINENO"; then :
68118 glibcxx_cv_func_fmodf_use=yes
68119 else
68120 glibcxx_cv_func_fmodf_use=no
68122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68123 ac_ext=c
68124 ac_cpp='$CPP $CPPFLAGS'
68125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68134 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68136 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68137 for ac_func in fmodf
68138 do :
68139 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68140 if test "x$ac_cv_func_fmodf" = x""yes; then :
68141 cat >>confdefs.h <<_ACEOF
68142 #define HAVE_FMODF 1
68143 _ACEOF
68146 done
68148 else
68150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68151 $as_echo_n "checking for _fmodf declaration... " >&6; }
68152 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68153 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68154 $as_echo_n "(cached) " >&6
68155 else
68158 ac_ext=cpp
68159 ac_cpp='$CXXCPP $CPPFLAGS'
68160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68165 /* end confdefs.h. */
68166 #include <math.h>
68168 main ()
68170 _fmodf(0, 0);
68172 return 0;
68174 _ACEOF
68175 if ac_fn_cxx_try_compile "$LINENO"; then :
68176 glibcxx_cv_func__fmodf_use=yes
68177 else
68178 glibcxx_cv_func__fmodf_use=no
68180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68181 ac_ext=c
68182 ac_cpp='$CPP $CPPFLAGS'
68183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68192 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68194 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68195 for ac_func in _fmodf
68196 do :
68197 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68198 if test "x$ac_cv_func__fmodf" = x""yes; then :
68199 cat >>confdefs.h <<_ACEOF
68200 #define HAVE__FMODF 1
68201 _ACEOF
68204 done
68213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68214 $as_echo_n "checking for frexpf declaration... " >&6; }
68215 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68216 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68217 $as_echo_n "(cached) " >&6
68218 else
68221 ac_ext=cpp
68222 ac_cpp='$CXXCPP $CPPFLAGS'
68223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68228 /* end confdefs.h. */
68229 #include <math.h>
68231 main ()
68233 frexpf(0, 0);
68235 return 0;
68237 _ACEOF
68238 if ac_fn_cxx_try_compile "$LINENO"; then :
68239 glibcxx_cv_func_frexpf_use=yes
68240 else
68241 glibcxx_cv_func_frexpf_use=no
68243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68244 ac_ext=c
68245 ac_cpp='$CPP $CPPFLAGS'
68246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68255 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68257 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68258 for ac_func in frexpf
68259 do :
68260 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68261 if test "x$ac_cv_func_frexpf" = x""yes; then :
68262 cat >>confdefs.h <<_ACEOF
68263 #define HAVE_FREXPF 1
68264 _ACEOF
68267 done
68269 else
68271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68272 $as_echo_n "checking for _frexpf declaration... " >&6; }
68273 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68274 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68275 $as_echo_n "(cached) " >&6
68276 else
68279 ac_ext=cpp
68280 ac_cpp='$CXXCPP $CPPFLAGS'
68281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68286 /* end confdefs.h. */
68287 #include <math.h>
68289 main ()
68291 _frexpf(0, 0);
68293 return 0;
68295 _ACEOF
68296 if ac_fn_cxx_try_compile "$LINENO"; then :
68297 glibcxx_cv_func__frexpf_use=yes
68298 else
68299 glibcxx_cv_func__frexpf_use=no
68301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68302 ac_ext=c
68303 ac_cpp='$CPP $CPPFLAGS'
68304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68313 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68315 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68316 for ac_func in _frexpf
68317 do :
68318 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68319 if test "x$ac_cv_func__frexpf" = x""yes; then :
68320 cat >>confdefs.h <<_ACEOF
68321 #define HAVE__FREXPF 1
68322 _ACEOF
68325 done
68334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68335 $as_echo_n "checking for hypotf declaration... " >&6; }
68336 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68337 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68338 $as_echo_n "(cached) " >&6
68339 else
68342 ac_ext=cpp
68343 ac_cpp='$CXXCPP $CPPFLAGS'
68344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68349 /* end confdefs.h. */
68350 #include <math.h>
68352 main ()
68354 hypotf(0, 0);
68356 return 0;
68358 _ACEOF
68359 if ac_fn_cxx_try_compile "$LINENO"; then :
68360 glibcxx_cv_func_hypotf_use=yes
68361 else
68362 glibcxx_cv_func_hypotf_use=no
68364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68365 ac_ext=c
68366 ac_cpp='$CPP $CPPFLAGS'
68367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68376 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68378 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68379 for ac_func in hypotf
68380 do :
68381 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68382 if test "x$ac_cv_func_hypotf" = x""yes; then :
68383 cat >>confdefs.h <<_ACEOF
68384 #define HAVE_HYPOTF 1
68385 _ACEOF
68388 done
68390 else
68392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68393 $as_echo_n "checking for _hypotf declaration... " >&6; }
68394 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68395 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68396 $as_echo_n "(cached) " >&6
68397 else
68400 ac_ext=cpp
68401 ac_cpp='$CXXCPP $CPPFLAGS'
68402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68407 /* end confdefs.h. */
68408 #include <math.h>
68410 main ()
68412 _hypotf(0, 0);
68414 return 0;
68416 _ACEOF
68417 if ac_fn_cxx_try_compile "$LINENO"; then :
68418 glibcxx_cv_func__hypotf_use=yes
68419 else
68420 glibcxx_cv_func__hypotf_use=no
68422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68423 ac_ext=c
68424 ac_cpp='$CPP $CPPFLAGS'
68425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68434 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68436 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68437 for ac_func in _hypotf
68438 do :
68439 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68440 if test "x$ac_cv_func__hypotf" = x""yes; then :
68441 cat >>confdefs.h <<_ACEOF
68442 #define HAVE__HYPOTF 1
68443 _ACEOF
68446 done
68455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68456 $as_echo_n "checking for ldexpf declaration... " >&6; }
68457 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68458 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68459 $as_echo_n "(cached) " >&6
68460 else
68463 ac_ext=cpp
68464 ac_cpp='$CXXCPP $CPPFLAGS'
68465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68470 /* end confdefs.h. */
68471 #include <math.h>
68473 main ()
68475 ldexpf(0, 0);
68477 return 0;
68479 _ACEOF
68480 if ac_fn_cxx_try_compile "$LINENO"; then :
68481 glibcxx_cv_func_ldexpf_use=yes
68482 else
68483 glibcxx_cv_func_ldexpf_use=no
68485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68486 ac_ext=c
68487 ac_cpp='$CPP $CPPFLAGS'
68488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68497 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68499 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68500 for ac_func in ldexpf
68501 do :
68502 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68503 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68504 cat >>confdefs.h <<_ACEOF
68505 #define HAVE_LDEXPF 1
68506 _ACEOF
68509 done
68511 else
68513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68514 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68515 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68516 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68517 $as_echo_n "(cached) " >&6
68518 else
68521 ac_ext=cpp
68522 ac_cpp='$CXXCPP $CPPFLAGS'
68523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68528 /* end confdefs.h. */
68529 #include <math.h>
68531 main ()
68533 _ldexpf(0, 0);
68535 return 0;
68537 _ACEOF
68538 if ac_fn_cxx_try_compile "$LINENO"; then :
68539 glibcxx_cv_func__ldexpf_use=yes
68540 else
68541 glibcxx_cv_func__ldexpf_use=no
68543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68544 ac_ext=c
68545 ac_cpp='$CPP $CPPFLAGS'
68546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68555 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68557 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68558 for ac_func in _ldexpf
68559 do :
68560 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68561 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68562 cat >>confdefs.h <<_ACEOF
68563 #define HAVE__LDEXPF 1
68564 _ACEOF
68567 done
68576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68577 $as_echo_n "checking for logf declaration... " >&6; }
68578 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68579 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68580 $as_echo_n "(cached) " >&6
68581 else
68584 ac_ext=cpp
68585 ac_cpp='$CXXCPP $CPPFLAGS'
68586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68591 /* end confdefs.h. */
68592 #include <math.h>
68593 #ifdef HAVE_IEEEFP_H
68594 #include <ieeefp.h>
68595 #endif
68598 main ()
68600 logf(0);
68602 return 0;
68604 _ACEOF
68605 if ac_fn_cxx_try_compile "$LINENO"; then :
68606 glibcxx_cv_func_logf_use=yes
68607 else
68608 glibcxx_cv_func_logf_use=no
68610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68611 ac_ext=c
68612 ac_cpp='$CPP $CPPFLAGS'
68613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68622 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68624 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68625 for ac_func in logf
68626 do :
68627 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68628 if test "x$ac_cv_func_logf" = x""yes; then :
68629 cat >>confdefs.h <<_ACEOF
68630 #define HAVE_LOGF 1
68631 _ACEOF
68634 done
68636 else
68638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68639 $as_echo_n "checking for _logf declaration... " >&6; }
68640 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68641 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68642 $as_echo_n "(cached) " >&6
68643 else
68646 ac_ext=cpp
68647 ac_cpp='$CXXCPP $CPPFLAGS'
68648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68653 /* end confdefs.h. */
68654 #include <math.h>
68655 #ifdef HAVE_IEEEFP_H
68656 #include <ieeefp.h>
68657 #endif
68660 main ()
68662 _logf(0);
68664 return 0;
68666 _ACEOF
68667 if ac_fn_cxx_try_compile "$LINENO"; then :
68668 glibcxx_cv_func__logf_use=yes
68669 else
68670 glibcxx_cv_func__logf_use=no
68672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68673 ac_ext=c
68674 ac_cpp='$CPP $CPPFLAGS'
68675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68684 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
68686 if test x$glibcxx_cv_func__logf_use = x"yes"; then
68687 for ac_func in _logf
68688 do :
68689 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
68690 if test "x$ac_cv_func__logf" = x""yes; then :
68691 cat >>confdefs.h <<_ACEOF
68692 #define HAVE__LOGF 1
68693 _ACEOF
68696 done
68705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
68706 $as_echo_n "checking for log10f declaration... " >&6; }
68707 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68708 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
68709 $as_echo_n "(cached) " >&6
68710 else
68713 ac_ext=cpp
68714 ac_cpp='$CXXCPP $CPPFLAGS'
68715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68720 /* end confdefs.h. */
68721 #include <math.h>
68722 #ifdef HAVE_IEEEFP_H
68723 #include <ieeefp.h>
68724 #endif
68727 main ()
68729 log10f(0);
68731 return 0;
68733 _ACEOF
68734 if ac_fn_cxx_try_compile "$LINENO"; then :
68735 glibcxx_cv_func_log10f_use=yes
68736 else
68737 glibcxx_cv_func_log10f_use=no
68739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68740 ac_ext=c
68741 ac_cpp='$CPP $CPPFLAGS'
68742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
68751 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
68753 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68754 for ac_func in log10f
68755 do :
68756 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
68757 if test "x$ac_cv_func_log10f" = x""yes; then :
68758 cat >>confdefs.h <<_ACEOF
68759 #define HAVE_LOG10F 1
68760 _ACEOF
68763 done
68765 else
68767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
68768 $as_echo_n "checking for _log10f declaration... " >&6; }
68769 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68770 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
68771 $as_echo_n "(cached) " >&6
68772 else
68775 ac_ext=cpp
68776 ac_cpp='$CXXCPP $CPPFLAGS'
68777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68782 /* end confdefs.h. */
68783 #include <math.h>
68784 #ifdef HAVE_IEEEFP_H
68785 #include <ieeefp.h>
68786 #endif
68789 main ()
68791 _log10f(0);
68793 return 0;
68795 _ACEOF
68796 if ac_fn_cxx_try_compile "$LINENO"; then :
68797 glibcxx_cv_func__log10f_use=yes
68798 else
68799 glibcxx_cv_func__log10f_use=no
68801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68802 ac_ext=c
68803 ac_cpp='$CPP $CPPFLAGS'
68804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
68813 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68815 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68816 for ac_func in _log10f
68817 do :
68818 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68819 if test "x$ac_cv_func__log10f" = x""yes; then :
68820 cat >>confdefs.h <<_ACEOF
68821 #define HAVE__LOG10F 1
68822 _ACEOF
68825 done
68834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68835 $as_echo_n "checking for modff declaration... " >&6; }
68836 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68837 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
68838 $as_echo_n "(cached) " >&6
68839 else
68842 ac_ext=cpp
68843 ac_cpp='$CXXCPP $CPPFLAGS'
68844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68849 /* end confdefs.h. */
68850 #include <math.h>
68852 main ()
68854 modff(0, 0);
68856 return 0;
68858 _ACEOF
68859 if ac_fn_cxx_try_compile "$LINENO"; then :
68860 glibcxx_cv_func_modff_use=yes
68861 else
68862 glibcxx_cv_func_modff_use=no
68864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68865 ac_ext=c
68866 ac_cpp='$CPP $CPPFLAGS'
68867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68876 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68878 if test x$glibcxx_cv_func_modff_use = x"yes"; then
68879 for ac_func in modff
68880 do :
68881 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
68882 if test "x$ac_cv_func_modff" = x""yes; then :
68883 cat >>confdefs.h <<_ACEOF
68884 #define HAVE_MODFF 1
68885 _ACEOF
68888 done
68890 else
68892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
68893 $as_echo_n "checking for _modff declaration... " >&6; }
68894 if test x${glibcxx_cv_func__modff_use+set} != xset; then
68895 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
68896 $as_echo_n "(cached) " >&6
68897 else
68900 ac_ext=cpp
68901 ac_cpp='$CXXCPP $CPPFLAGS'
68902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68907 /* end confdefs.h. */
68908 #include <math.h>
68910 main ()
68912 _modff(0, 0);
68914 return 0;
68916 _ACEOF
68917 if ac_fn_cxx_try_compile "$LINENO"; then :
68918 glibcxx_cv_func__modff_use=yes
68919 else
68920 glibcxx_cv_func__modff_use=no
68922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68923 ac_ext=c
68924 ac_cpp='$CPP $CPPFLAGS'
68925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
68934 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
68936 if test x$glibcxx_cv_func__modff_use = x"yes"; then
68937 for ac_func in _modff
68938 do :
68939 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
68940 if test "x$ac_cv_func__modff" = x""yes; then :
68941 cat >>confdefs.h <<_ACEOF
68942 #define HAVE__MODFF 1
68943 _ACEOF
68946 done
68955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
68956 $as_echo_n "checking for modf declaration... " >&6; }
68957 if test x${glibcxx_cv_func_modf_use+set} != xset; then
68958 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
68959 $as_echo_n "(cached) " >&6
68960 else
68963 ac_ext=cpp
68964 ac_cpp='$CXXCPP $CPPFLAGS'
68965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68970 /* end confdefs.h. */
68971 #include <math.h>
68973 main ()
68975 modf(0, 0);
68977 return 0;
68979 _ACEOF
68980 if ac_fn_cxx_try_compile "$LINENO"; then :
68981 glibcxx_cv_func_modf_use=yes
68982 else
68983 glibcxx_cv_func_modf_use=no
68985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68986 ac_ext=c
68987 ac_cpp='$CPP $CPPFLAGS'
68988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68997 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68999 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69000 for ac_func in modf
69001 do :
69002 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69003 if test "x$ac_cv_func_modf" = x""yes; then :
69004 cat >>confdefs.h <<_ACEOF
69005 #define HAVE_MODF 1
69006 _ACEOF
69009 done
69011 else
69013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69014 $as_echo_n "checking for _modf declaration... " >&6; }
69015 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69016 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69017 $as_echo_n "(cached) " >&6
69018 else
69021 ac_ext=cpp
69022 ac_cpp='$CXXCPP $CPPFLAGS'
69023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69028 /* end confdefs.h. */
69029 #include <math.h>
69031 main ()
69033 _modf(0, 0);
69035 return 0;
69037 _ACEOF
69038 if ac_fn_cxx_try_compile "$LINENO"; then :
69039 glibcxx_cv_func__modf_use=yes
69040 else
69041 glibcxx_cv_func__modf_use=no
69043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69044 ac_ext=c
69045 ac_cpp='$CPP $CPPFLAGS'
69046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69055 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69057 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69058 for ac_func in _modf
69059 do :
69060 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69061 if test "x$ac_cv_func__modf" = x""yes; then :
69062 cat >>confdefs.h <<_ACEOF
69063 #define HAVE__MODF 1
69064 _ACEOF
69067 done
69076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69077 $as_echo_n "checking for powf declaration... " >&6; }
69078 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69079 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69080 $as_echo_n "(cached) " >&6
69081 else
69084 ac_ext=cpp
69085 ac_cpp='$CXXCPP $CPPFLAGS'
69086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69091 /* end confdefs.h. */
69092 #include <math.h>
69094 main ()
69096 powf(0, 0);
69098 return 0;
69100 _ACEOF
69101 if ac_fn_cxx_try_compile "$LINENO"; then :
69102 glibcxx_cv_func_powf_use=yes
69103 else
69104 glibcxx_cv_func_powf_use=no
69106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69107 ac_ext=c
69108 ac_cpp='$CPP $CPPFLAGS'
69109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69118 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69120 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69121 for ac_func in powf
69122 do :
69123 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69124 if test "x$ac_cv_func_powf" = x""yes; then :
69125 cat >>confdefs.h <<_ACEOF
69126 #define HAVE_POWF 1
69127 _ACEOF
69130 done
69132 else
69134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69135 $as_echo_n "checking for _powf declaration... " >&6; }
69136 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69137 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69138 $as_echo_n "(cached) " >&6
69139 else
69142 ac_ext=cpp
69143 ac_cpp='$CXXCPP $CPPFLAGS'
69144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69149 /* end confdefs.h. */
69150 #include <math.h>
69152 main ()
69154 _powf(0, 0);
69156 return 0;
69158 _ACEOF
69159 if ac_fn_cxx_try_compile "$LINENO"; then :
69160 glibcxx_cv_func__powf_use=yes
69161 else
69162 glibcxx_cv_func__powf_use=no
69164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69165 ac_ext=c
69166 ac_cpp='$CPP $CPPFLAGS'
69167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69176 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69178 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69179 for ac_func in _powf
69180 do :
69181 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69182 if test "x$ac_cv_func__powf" = x""yes; then :
69183 cat >>confdefs.h <<_ACEOF
69184 #define HAVE__POWF 1
69185 _ACEOF
69188 done
69197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69198 $as_echo_n "checking for sqrtf declaration... " >&6; }
69199 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69200 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69201 $as_echo_n "(cached) " >&6
69202 else
69205 ac_ext=cpp
69206 ac_cpp='$CXXCPP $CPPFLAGS'
69207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69212 /* end confdefs.h. */
69213 #include <math.h>
69214 #ifdef HAVE_IEEEFP_H
69215 #include <ieeefp.h>
69216 #endif
69219 main ()
69221 sqrtf(0);
69223 return 0;
69225 _ACEOF
69226 if ac_fn_cxx_try_compile "$LINENO"; then :
69227 glibcxx_cv_func_sqrtf_use=yes
69228 else
69229 glibcxx_cv_func_sqrtf_use=no
69231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69232 ac_ext=c
69233 ac_cpp='$CPP $CPPFLAGS'
69234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69243 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69245 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69246 for ac_func in sqrtf
69247 do :
69248 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69249 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69250 cat >>confdefs.h <<_ACEOF
69251 #define HAVE_SQRTF 1
69252 _ACEOF
69255 done
69257 else
69259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69260 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69261 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69262 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69263 $as_echo_n "(cached) " >&6
69264 else
69267 ac_ext=cpp
69268 ac_cpp='$CXXCPP $CPPFLAGS'
69269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69274 /* end confdefs.h. */
69275 #include <math.h>
69276 #ifdef HAVE_IEEEFP_H
69277 #include <ieeefp.h>
69278 #endif
69281 main ()
69283 _sqrtf(0);
69285 return 0;
69287 _ACEOF
69288 if ac_fn_cxx_try_compile "$LINENO"; then :
69289 glibcxx_cv_func__sqrtf_use=yes
69290 else
69291 glibcxx_cv_func__sqrtf_use=no
69293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69294 ac_ext=c
69295 ac_cpp='$CPP $CPPFLAGS'
69296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69305 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69307 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69308 for ac_func in _sqrtf
69309 do :
69310 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69311 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69312 cat >>confdefs.h <<_ACEOF
69313 #define HAVE__SQRTF 1
69314 _ACEOF
69317 done
69326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69327 $as_echo_n "checking for sincosf declaration... " >&6; }
69328 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69329 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69330 $as_echo_n "(cached) " >&6
69331 else
69334 ac_ext=cpp
69335 ac_cpp='$CXXCPP $CPPFLAGS'
69336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69341 /* end confdefs.h. */
69342 #include <math.h>
69344 main ()
69346 sincosf(0, 0, 0);
69348 return 0;
69350 _ACEOF
69351 if ac_fn_cxx_try_compile "$LINENO"; then :
69352 glibcxx_cv_func_sincosf_use=yes
69353 else
69354 glibcxx_cv_func_sincosf_use=no
69356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69357 ac_ext=c
69358 ac_cpp='$CPP $CPPFLAGS'
69359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69368 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69370 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69371 for ac_func in sincosf
69372 do :
69373 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69374 if test "x$ac_cv_func_sincosf" = x""yes; then :
69375 cat >>confdefs.h <<_ACEOF
69376 #define HAVE_SINCOSF 1
69377 _ACEOF
69380 done
69382 else
69384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69385 $as_echo_n "checking for _sincosf declaration... " >&6; }
69386 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69387 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69388 $as_echo_n "(cached) " >&6
69389 else
69392 ac_ext=cpp
69393 ac_cpp='$CXXCPP $CPPFLAGS'
69394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69399 /* end confdefs.h. */
69400 #include <math.h>
69402 main ()
69404 _sincosf(0, 0, 0);
69406 return 0;
69408 _ACEOF
69409 if ac_fn_cxx_try_compile "$LINENO"; then :
69410 glibcxx_cv_func__sincosf_use=yes
69411 else
69412 glibcxx_cv_func__sincosf_use=no
69414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69415 ac_ext=c
69416 ac_cpp='$CPP $CPPFLAGS'
69417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69426 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69428 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69429 for ac_func in _sincosf
69430 do :
69431 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69432 if test "x$ac_cv_func__sincosf" = x""yes; then :
69433 cat >>confdefs.h <<_ACEOF
69434 #define HAVE__SINCOSF 1
69435 _ACEOF
69438 done
69447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69448 $as_echo_n "checking for finitef declaration... " >&6; }
69449 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69450 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69451 $as_echo_n "(cached) " >&6
69452 else
69455 ac_ext=cpp
69456 ac_cpp='$CXXCPP $CPPFLAGS'
69457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69462 /* end confdefs.h. */
69463 #include <math.h>
69464 #ifdef HAVE_IEEEFP_H
69465 #include <ieeefp.h>
69466 #endif
69469 main ()
69471 finitef(0);
69473 return 0;
69475 _ACEOF
69476 if ac_fn_cxx_try_compile "$LINENO"; then :
69477 glibcxx_cv_func_finitef_use=yes
69478 else
69479 glibcxx_cv_func_finitef_use=no
69481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69482 ac_ext=c
69483 ac_cpp='$CPP $CPPFLAGS'
69484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69493 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69495 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69496 for ac_func in finitef
69497 do :
69498 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69499 if test "x$ac_cv_func_finitef" = x""yes; then :
69500 cat >>confdefs.h <<_ACEOF
69501 #define HAVE_FINITEF 1
69502 _ACEOF
69505 done
69507 else
69509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69510 $as_echo_n "checking for _finitef declaration... " >&6; }
69511 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69512 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69513 $as_echo_n "(cached) " >&6
69514 else
69517 ac_ext=cpp
69518 ac_cpp='$CXXCPP $CPPFLAGS'
69519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69524 /* end confdefs.h. */
69525 #include <math.h>
69526 #ifdef HAVE_IEEEFP_H
69527 #include <ieeefp.h>
69528 #endif
69531 main ()
69533 _finitef(0);
69535 return 0;
69537 _ACEOF
69538 if ac_fn_cxx_try_compile "$LINENO"; then :
69539 glibcxx_cv_func__finitef_use=yes
69540 else
69541 glibcxx_cv_func__finitef_use=no
69543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69544 ac_ext=c
69545 ac_cpp='$CPP $CPPFLAGS'
69546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69555 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69557 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69558 for ac_func in _finitef
69559 do :
69560 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69561 if test "x$ac_cv_func__finitef" = x""yes; then :
69562 cat >>confdefs.h <<_ACEOF
69563 #define HAVE__FINITEF 1
69564 _ACEOF
69567 done
69576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69577 $as_echo_n "checking for long double trig functions... " >&6; }
69578 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69579 $as_echo_n "(cached) " >&6
69580 else
69583 ac_ext=cpp
69584 ac_cpp='$CXXCPP $CPPFLAGS'
69585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69590 /* end confdefs.h. */
69591 #include <math.h>
69593 main ()
69595 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69597 return 0;
69599 _ACEOF
69600 if ac_fn_cxx_try_compile "$LINENO"; then :
69601 glibcxx_cv_func_long_double_trig_use=yes
69602 else
69603 glibcxx_cv_func_long_double_trig_use=no
69605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69606 ac_ext=c
69607 ac_cpp='$CPP $CPPFLAGS'
69608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69615 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69616 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69617 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69618 do :
69619 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69620 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69621 eval as_val=\$$as_ac_var
69622 if test "x$as_val" = x""yes; then :
69623 cat >>confdefs.h <<_ACEOF
69624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69625 _ACEOF
69628 done
69630 else
69631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69632 $as_echo_n "checking for _long double trig functions... " >&6; }
69633 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69634 $as_echo_n "(cached) " >&6
69635 else
69638 ac_ext=cpp
69639 ac_cpp='$CXXCPP $CPPFLAGS'
69640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69645 /* end confdefs.h. */
69646 #include <math.h>
69648 main ()
69650 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69652 return 0;
69654 _ACEOF
69655 if ac_fn_cxx_try_compile "$LINENO"; then :
69656 glibcxx_cv_func__long_double_trig_use=yes
69657 else
69658 glibcxx_cv_func__long_double_trig_use=no
69660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69661 ac_ext=c
69662 ac_cpp='$CPP $CPPFLAGS'
69663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69670 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69671 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69672 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69673 do :
69674 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69675 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69676 eval as_val=\$$as_ac_var
69677 if test "x$as_val" = x""yes; then :
69678 cat >>confdefs.h <<_ACEOF
69679 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69680 _ACEOF
69683 done
69692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
69693 $as_echo_n "checking for long double round functions... " >&6; }
69694 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
69695 $as_echo_n "(cached) " >&6
69696 else
69699 ac_ext=cpp
69700 ac_cpp='$CXXCPP $CPPFLAGS'
69701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69706 /* end confdefs.h. */
69707 #include <math.h>
69709 main ()
69711 ceill (0); floorl (0);
69713 return 0;
69715 _ACEOF
69716 if ac_fn_cxx_try_compile "$LINENO"; then :
69717 glibcxx_cv_func_long_double_round_use=yes
69718 else
69719 glibcxx_cv_func_long_double_round_use=no
69721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69722 ac_ext=c
69723 ac_cpp='$CPP $CPPFLAGS'
69724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
69731 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
69732 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69733 for ac_func in ceill floorl
69734 do :
69735 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69736 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69737 eval as_val=\$$as_ac_var
69738 if test "x$as_val" = x""yes; then :
69739 cat >>confdefs.h <<_ACEOF
69740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69741 _ACEOF
69744 done
69746 else
69747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
69748 $as_echo_n "checking for _long double round functions... " >&6; }
69749 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
69750 $as_echo_n "(cached) " >&6
69751 else
69754 ac_ext=cpp
69755 ac_cpp='$CXXCPP $CPPFLAGS'
69756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69761 /* end confdefs.h. */
69762 #include <math.h>
69764 main ()
69766 _ceill (0); _floorl (0);
69768 return 0;
69770 _ACEOF
69771 if ac_fn_cxx_try_compile "$LINENO"; then :
69772 glibcxx_cv_func__long_double_round_use=yes
69773 else
69774 glibcxx_cv_func__long_double_round_use=no
69776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69777 ac_ext=c
69778 ac_cpp='$CPP $CPPFLAGS'
69779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
69786 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
69787 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69788 for ac_func in _ceill _floorl
69789 do :
69790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69792 eval as_val=\$$as_ac_var
69793 if test "x$as_val" = x""yes; then :
69794 cat >>confdefs.h <<_ACEOF
69795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69796 _ACEOF
69799 done
69809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69810 $as_echo_n "checking for isnanl declaration... " >&6; }
69811 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69812 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69813 $as_echo_n "(cached) " >&6
69814 else
69817 ac_ext=cpp
69818 ac_cpp='$CXXCPP $CPPFLAGS'
69819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69824 /* end confdefs.h. */
69825 #include <math.h>
69826 #ifdef HAVE_IEEEFP_H
69827 #include <ieeefp.h>
69828 #endif
69831 main ()
69833 isnanl(0);
69835 return 0;
69837 _ACEOF
69838 if ac_fn_cxx_try_compile "$LINENO"; then :
69839 glibcxx_cv_func_isnanl_use=yes
69840 else
69841 glibcxx_cv_func_isnanl_use=no
69843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69844 ac_ext=c
69845 ac_cpp='$CPP $CPPFLAGS'
69846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69855 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69857 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69858 for ac_func in isnanl
69859 do :
69860 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69861 if test "x$ac_cv_func_isnanl" = x""yes; then :
69862 cat >>confdefs.h <<_ACEOF
69863 #define HAVE_ISNANL 1
69864 _ACEOF
69867 done
69869 else
69871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
69872 $as_echo_n "checking for _isnanl declaration... " >&6; }
69873 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
69874 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
69875 $as_echo_n "(cached) " >&6
69876 else
69879 ac_ext=cpp
69880 ac_cpp='$CXXCPP $CPPFLAGS'
69881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69886 /* end confdefs.h. */
69887 #include <math.h>
69888 #ifdef HAVE_IEEEFP_H
69889 #include <ieeefp.h>
69890 #endif
69893 main ()
69895 _isnanl(0);
69897 return 0;
69899 _ACEOF
69900 if ac_fn_cxx_try_compile "$LINENO"; then :
69901 glibcxx_cv_func__isnanl_use=yes
69902 else
69903 glibcxx_cv_func__isnanl_use=no
69905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69906 ac_ext=c
69907 ac_cpp='$CPP $CPPFLAGS'
69908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
69917 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
69919 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
69920 for ac_func in _isnanl
69921 do :
69922 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
69923 if test "x$ac_cv_func__isnanl" = x""yes; then :
69924 cat >>confdefs.h <<_ACEOF
69925 #define HAVE__ISNANL 1
69926 _ACEOF
69929 done
69938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
69939 $as_echo_n "checking for isinfl declaration... " >&6; }
69940 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
69941 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
69942 $as_echo_n "(cached) " >&6
69943 else
69946 ac_ext=cpp
69947 ac_cpp='$CXXCPP $CPPFLAGS'
69948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69953 /* end confdefs.h. */
69954 #include <math.h>
69955 #ifdef HAVE_IEEEFP_H
69956 #include <ieeefp.h>
69957 #endif
69960 main ()
69962 isinfl(0);
69964 return 0;
69966 _ACEOF
69967 if ac_fn_cxx_try_compile "$LINENO"; then :
69968 glibcxx_cv_func_isinfl_use=yes
69969 else
69970 glibcxx_cv_func_isinfl_use=no
69972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69973 ac_ext=c
69974 ac_cpp='$CPP $CPPFLAGS'
69975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69984 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69986 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69987 for ac_func in isinfl
69988 do :
69989 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69990 if test "x$ac_cv_func_isinfl" = x""yes; then :
69991 cat >>confdefs.h <<_ACEOF
69992 #define HAVE_ISINFL 1
69993 _ACEOF
69996 done
69998 else
70000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70001 $as_echo_n "checking for _isinfl declaration... " >&6; }
70002 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70003 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70004 $as_echo_n "(cached) " >&6
70005 else
70008 ac_ext=cpp
70009 ac_cpp='$CXXCPP $CPPFLAGS'
70010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70015 /* end confdefs.h. */
70016 #include <math.h>
70017 #ifdef HAVE_IEEEFP_H
70018 #include <ieeefp.h>
70019 #endif
70022 main ()
70024 _isinfl(0);
70026 return 0;
70028 _ACEOF
70029 if ac_fn_cxx_try_compile "$LINENO"; then :
70030 glibcxx_cv_func__isinfl_use=yes
70031 else
70032 glibcxx_cv_func__isinfl_use=no
70034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70035 ac_ext=c
70036 ac_cpp='$CPP $CPPFLAGS'
70037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70046 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70048 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70049 for ac_func in _isinfl
70050 do :
70051 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70052 if test "x$ac_cv_func__isinfl" = x""yes; then :
70053 cat >>confdefs.h <<_ACEOF
70054 #define HAVE__ISINFL 1
70055 _ACEOF
70058 done
70067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70068 $as_echo_n "checking for atan2l declaration... " >&6; }
70069 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70070 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70071 $as_echo_n "(cached) " >&6
70072 else
70075 ac_ext=cpp
70076 ac_cpp='$CXXCPP $CPPFLAGS'
70077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70082 /* end confdefs.h. */
70083 #include <math.h>
70085 main ()
70087 atan2l(0, 0);
70089 return 0;
70091 _ACEOF
70092 if ac_fn_cxx_try_compile "$LINENO"; then :
70093 glibcxx_cv_func_atan2l_use=yes
70094 else
70095 glibcxx_cv_func_atan2l_use=no
70097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70098 ac_ext=c
70099 ac_cpp='$CPP $CPPFLAGS'
70100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70109 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70111 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70112 for ac_func in atan2l
70113 do :
70114 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70115 if test "x$ac_cv_func_atan2l" = x""yes; then :
70116 cat >>confdefs.h <<_ACEOF
70117 #define HAVE_ATAN2L 1
70118 _ACEOF
70121 done
70123 else
70125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70126 $as_echo_n "checking for _atan2l declaration... " >&6; }
70127 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70128 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70129 $as_echo_n "(cached) " >&6
70130 else
70133 ac_ext=cpp
70134 ac_cpp='$CXXCPP $CPPFLAGS'
70135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70140 /* end confdefs.h. */
70141 #include <math.h>
70143 main ()
70145 _atan2l(0, 0);
70147 return 0;
70149 _ACEOF
70150 if ac_fn_cxx_try_compile "$LINENO"; then :
70151 glibcxx_cv_func__atan2l_use=yes
70152 else
70153 glibcxx_cv_func__atan2l_use=no
70155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70156 ac_ext=c
70157 ac_cpp='$CPP $CPPFLAGS'
70158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70167 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70169 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70170 for ac_func in _atan2l
70171 do :
70172 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70173 if test "x$ac_cv_func__atan2l" = x""yes; then :
70174 cat >>confdefs.h <<_ACEOF
70175 #define HAVE__ATAN2L 1
70176 _ACEOF
70179 done
70188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70189 $as_echo_n "checking for expl declaration... " >&6; }
70190 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70191 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70192 $as_echo_n "(cached) " >&6
70193 else
70196 ac_ext=cpp
70197 ac_cpp='$CXXCPP $CPPFLAGS'
70198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70203 /* end confdefs.h. */
70204 #include <math.h>
70205 #ifdef HAVE_IEEEFP_H
70206 #include <ieeefp.h>
70207 #endif
70210 main ()
70212 expl(0);
70214 return 0;
70216 _ACEOF
70217 if ac_fn_cxx_try_compile "$LINENO"; then :
70218 glibcxx_cv_func_expl_use=yes
70219 else
70220 glibcxx_cv_func_expl_use=no
70222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70223 ac_ext=c
70224 ac_cpp='$CPP $CPPFLAGS'
70225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70234 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70236 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70237 for ac_func in expl
70238 do :
70239 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70240 if test "x$ac_cv_func_expl" = x""yes; then :
70241 cat >>confdefs.h <<_ACEOF
70242 #define HAVE_EXPL 1
70243 _ACEOF
70246 done
70248 else
70250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70251 $as_echo_n "checking for _expl declaration... " >&6; }
70252 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70253 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70254 $as_echo_n "(cached) " >&6
70255 else
70258 ac_ext=cpp
70259 ac_cpp='$CXXCPP $CPPFLAGS'
70260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70265 /* end confdefs.h. */
70266 #include <math.h>
70267 #ifdef HAVE_IEEEFP_H
70268 #include <ieeefp.h>
70269 #endif
70272 main ()
70274 _expl(0);
70276 return 0;
70278 _ACEOF
70279 if ac_fn_cxx_try_compile "$LINENO"; then :
70280 glibcxx_cv_func__expl_use=yes
70281 else
70282 glibcxx_cv_func__expl_use=no
70284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70285 ac_ext=c
70286 ac_cpp='$CPP $CPPFLAGS'
70287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70296 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70298 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70299 for ac_func in _expl
70300 do :
70301 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70302 if test "x$ac_cv_func__expl" = x""yes; then :
70303 cat >>confdefs.h <<_ACEOF
70304 #define HAVE__EXPL 1
70305 _ACEOF
70308 done
70317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70318 $as_echo_n "checking for fabsl declaration... " >&6; }
70319 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70320 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70321 $as_echo_n "(cached) " >&6
70322 else
70325 ac_ext=cpp
70326 ac_cpp='$CXXCPP $CPPFLAGS'
70327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70332 /* end confdefs.h. */
70333 #include <math.h>
70334 #ifdef HAVE_IEEEFP_H
70335 #include <ieeefp.h>
70336 #endif
70339 main ()
70341 fabsl(0);
70343 return 0;
70345 _ACEOF
70346 if ac_fn_cxx_try_compile "$LINENO"; then :
70347 glibcxx_cv_func_fabsl_use=yes
70348 else
70349 glibcxx_cv_func_fabsl_use=no
70351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70352 ac_ext=c
70353 ac_cpp='$CPP $CPPFLAGS'
70354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70363 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70365 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70366 for ac_func in fabsl
70367 do :
70368 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70369 if test "x$ac_cv_func_fabsl" = x""yes; then :
70370 cat >>confdefs.h <<_ACEOF
70371 #define HAVE_FABSL 1
70372 _ACEOF
70375 done
70377 else
70379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70380 $as_echo_n "checking for _fabsl declaration... " >&6; }
70381 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70382 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70383 $as_echo_n "(cached) " >&6
70384 else
70387 ac_ext=cpp
70388 ac_cpp='$CXXCPP $CPPFLAGS'
70389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70394 /* end confdefs.h. */
70395 #include <math.h>
70396 #ifdef HAVE_IEEEFP_H
70397 #include <ieeefp.h>
70398 #endif
70401 main ()
70403 _fabsl(0);
70405 return 0;
70407 _ACEOF
70408 if ac_fn_cxx_try_compile "$LINENO"; then :
70409 glibcxx_cv_func__fabsl_use=yes
70410 else
70411 glibcxx_cv_func__fabsl_use=no
70413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70414 ac_ext=c
70415 ac_cpp='$CPP $CPPFLAGS'
70416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70425 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70427 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70428 for ac_func in _fabsl
70429 do :
70430 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70431 if test "x$ac_cv_func__fabsl" = x""yes; then :
70432 cat >>confdefs.h <<_ACEOF
70433 #define HAVE__FABSL 1
70434 _ACEOF
70437 done
70446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70447 $as_echo_n "checking for fmodl declaration... " >&6; }
70448 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70449 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70450 $as_echo_n "(cached) " >&6
70451 else
70454 ac_ext=cpp
70455 ac_cpp='$CXXCPP $CPPFLAGS'
70456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70461 /* end confdefs.h. */
70462 #include <math.h>
70464 main ()
70466 fmodl(0, 0);
70468 return 0;
70470 _ACEOF
70471 if ac_fn_cxx_try_compile "$LINENO"; then :
70472 glibcxx_cv_func_fmodl_use=yes
70473 else
70474 glibcxx_cv_func_fmodl_use=no
70476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70477 ac_ext=c
70478 ac_cpp='$CPP $CPPFLAGS'
70479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70488 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70490 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70491 for ac_func in fmodl
70492 do :
70493 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70494 if test "x$ac_cv_func_fmodl" = x""yes; then :
70495 cat >>confdefs.h <<_ACEOF
70496 #define HAVE_FMODL 1
70497 _ACEOF
70500 done
70502 else
70504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70505 $as_echo_n "checking for _fmodl declaration... " >&6; }
70506 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70507 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70508 $as_echo_n "(cached) " >&6
70509 else
70512 ac_ext=cpp
70513 ac_cpp='$CXXCPP $CPPFLAGS'
70514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70519 /* end confdefs.h. */
70520 #include <math.h>
70522 main ()
70524 _fmodl(0, 0);
70526 return 0;
70528 _ACEOF
70529 if ac_fn_cxx_try_compile "$LINENO"; then :
70530 glibcxx_cv_func__fmodl_use=yes
70531 else
70532 glibcxx_cv_func__fmodl_use=no
70534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70535 ac_ext=c
70536 ac_cpp='$CPP $CPPFLAGS'
70537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70546 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70548 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70549 for ac_func in _fmodl
70550 do :
70551 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70552 if test "x$ac_cv_func__fmodl" = x""yes; then :
70553 cat >>confdefs.h <<_ACEOF
70554 #define HAVE__FMODL 1
70555 _ACEOF
70558 done
70567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70568 $as_echo_n "checking for frexpl declaration... " >&6; }
70569 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70570 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70571 $as_echo_n "(cached) " >&6
70572 else
70575 ac_ext=cpp
70576 ac_cpp='$CXXCPP $CPPFLAGS'
70577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70582 /* end confdefs.h. */
70583 #include <math.h>
70585 main ()
70587 frexpl(0, 0);
70589 return 0;
70591 _ACEOF
70592 if ac_fn_cxx_try_compile "$LINENO"; then :
70593 glibcxx_cv_func_frexpl_use=yes
70594 else
70595 glibcxx_cv_func_frexpl_use=no
70597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70598 ac_ext=c
70599 ac_cpp='$CPP $CPPFLAGS'
70600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70609 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70611 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70612 for ac_func in frexpl
70613 do :
70614 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70615 if test "x$ac_cv_func_frexpl" = x""yes; then :
70616 cat >>confdefs.h <<_ACEOF
70617 #define HAVE_FREXPL 1
70618 _ACEOF
70621 done
70623 else
70625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70626 $as_echo_n "checking for _frexpl declaration... " >&6; }
70627 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70628 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70629 $as_echo_n "(cached) " >&6
70630 else
70633 ac_ext=cpp
70634 ac_cpp='$CXXCPP $CPPFLAGS'
70635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70640 /* end confdefs.h. */
70641 #include <math.h>
70643 main ()
70645 _frexpl(0, 0);
70647 return 0;
70649 _ACEOF
70650 if ac_fn_cxx_try_compile "$LINENO"; then :
70651 glibcxx_cv_func__frexpl_use=yes
70652 else
70653 glibcxx_cv_func__frexpl_use=no
70655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70656 ac_ext=c
70657 ac_cpp='$CPP $CPPFLAGS'
70658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
70667 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70669 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70670 for ac_func in _frexpl
70671 do :
70672 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70673 if test "x$ac_cv_func__frexpl" = x""yes; then :
70674 cat >>confdefs.h <<_ACEOF
70675 #define HAVE__FREXPL 1
70676 _ACEOF
70679 done
70688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
70689 $as_echo_n "checking for hypotl declaration... " >&6; }
70690 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70691 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
70692 $as_echo_n "(cached) " >&6
70693 else
70696 ac_ext=cpp
70697 ac_cpp='$CXXCPP $CPPFLAGS'
70698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70703 /* end confdefs.h. */
70704 #include <math.h>
70706 main ()
70708 hypotl(0, 0);
70710 return 0;
70712 _ACEOF
70713 if ac_fn_cxx_try_compile "$LINENO"; then :
70714 glibcxx_cv_func_hypotl_use=yes
70715 else
70716 glibcxx_cv_func_hypotl_use=no
70718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70719 ac_ext=c
70720 ac_cpp='$CPP $CPPFLAGS'
70721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
70730 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70732 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70733 for ac_func in hypotl
70734 do :
70735 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
70736 if test "x$ac_cv_func_hypotl" = x""yes; then :
70737 cat >>confdefs.h <<_ACEOF
70738 #define HAVE_HYPOTL 1
70739 _ACEOF
70742 done
70744 else
70746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
70747 $as_echo_n "checking for _hypotl declaration... " >&6; }
70748 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70749 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
70750 $as_echo_n "(cached) " >&6
70751 else
70754 ac_ext=cpp
70755 ac_cpp='$CXXCPP $CPPFLAGS'
70756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70761 /* end confdefs.h. */
70762 #include <math.h>
70764 main ()
70766 _hypotl(0, 0);
70768 return 0;
70770 _ACEOF
70771 if ac_fn_cxx_try_compile "$LINENO"; then :
70772 glibcxx_cv_func__hypotl_use=yes
70773 else
70774 glibcxx_cv_func__hypotl_use=no
70776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70777 ac_ext=c
70778 ac_cpp='$CPP $CPPFLAGS'
70779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
70788 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
70790 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70791 for ac_func in _hypotl
70792 do :
70793 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
70794 if test "x$ac_cv_func__hypotl" = x""yes; then :
70795 cat >>confdefs.h <<_ACEOF
70796 #define HAVE__HYPOTL 1
70797 _ACEOF
70800 done
70809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70810 $as_echo_n "checking for ldexpl declaration... " >&6; }
70811 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70812 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
70813 $as_echo_n "(cached) " >&6
70814 else
70817 ac_ext=cpp
70818 ac_cpp='$CXXCPP $CPPFLAGS'
70819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70824 /* end confdefs.h. */
70825 #include <math.h>
70827 main ()
70829 ldexpl(0, 0);
70831 return 0;
70833 _ACEOF
70834 if ac_fn_cxx_try_compile "$LINENO"; then :
70835 glibcxx_cv_func_ldexpl_use=yes
70836 else
70837 glibcxx_cv_func_ldexpl_use=no
70839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70840 ac_ext=c
70841 ac_cpp='$CPP $CPPFLAGS'
70842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70851 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70853 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70854 for ac_func in ldexpl
70855 do :
70856 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70857 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70858 cat >>confdefs.h <<_ACEOF
70859 #define HAVE_LDEXPL 1
70860 _ACEOF
70863 done
70865 else
70867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
70868 $as_echo_n "checking for _ldexpl declaration... " >&6; }
70869 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
70870 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
70871 $as_echo_n "(cached) " >&6
70872 else
70875 ac_ext=cpp
70876 ac_cpp='$CXXCPP $CPPFLAGS'
70877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70882 /* end confdefs.h. */
70883 #include <math.h>
70885 main ()
70887 _ldexpl(0, 0);
70889 return 0;
70891 _ACEOF
70892 if ac_fn_cxx_try_compile "$LINENO"; then :
70893 glibcxx_cv_func__ldexpl_use=yes
70894 else
70895 glibcxx_cv_func__ldexpl_use=no
70897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70898 ac_ext=c
70899 ac_cpp='$CPP $CPPFLAGS'
70900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
70909 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
70911 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
70912 for ac_func in _ldexpl
70913 do :
70914 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
70915 if test "x$ac_cv_func__ldexpl" = x""yes; then :
70916 cat >>confdefs.h <<_ACEOF
70917 #define HAVE__LDEXPL 1
70918 _ACEOF
70921 done
70930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
70931 $as_echo_n "checking for logl declaration... " >&6; }
70932 if test x${glibcxx_cv_func_logl_use+set} != xset; then
70933 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
70934 $as_echo_n "(cached) " >&6
70935 else
70938 ac_ext=cpp
70939 ac_cpp='$CXXCPP $CPPFLAGS'
70940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70945 /* end confdefs.h. */
70946 #include <math.h>
70947 #ifdef HAVE_IEEEFP_H
70948 #include <ieeefp.h>
70949 #endif
70952 main ()
70954 logl(0);
70956 return 0;
70958 _ACEOF
70959 if ac_fn_cxx_try_compile "$LINENO"; then :
70960 glibcxx_cv_func_logl_use=yes
70961 else
70962 glibcxx_cv_func_logl_use=no
70964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70965 ac_ext=c
70966 ac_cpp='$CPP $CPPFLAGS'
70967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70976 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70978 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70979 for ac_func in logl
70980 do :
70981 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70982 if test "x$ac_cv_func_logl" = x""yes; then :
70983 cat >>confdefs.h <<_ACEOF
70984 #define HAVE_LOGL 1
70985 _ACEOF
70988 done
70990 else
70992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70993 $as_echo_n "checking for _logl declaration... " >&6; }
70994 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70995 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70996 $as_echo_n "(cached) " >&6
70997 else
71000 ac_ext=cpp
71001 ac_cpp='$CXXCPP $CPPFLAGS'
71002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71007 /* end confdefs.h. */
71008 #include <math.h>
71009 #ifdef HAVE_IEEEFP_H
71010 #include <ieeefp.h>
71011 #endif
71014 main ()
71016 _logl(0);
71018 return 0;
71020 _ACEOF
71021 if ac_fn_cxx_try_compile "$LINENO"; then :
71022 glibcxx_cv_func__logl_use=yes
71023 else
71024 glibcxx_cv_func__logl_use=no
71026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71027 ac_ext=c
71028 ac_cpp='$CPP $CPPFLAGS'
71029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71038 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71040 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71041 for ac_func in _logl
71042 do :
71043 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71044 if test "x$ac_cv_func__logl" = x""yes; then :
71045 cat >>confdefs.h <<_ACEOF
71046 #define HAVE__LOGL 1
71047 _ACEOF
71050 done
71059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71060 $as_echo_n "checking for log10l declaration... " >&6; }
71061 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71062 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71063 $as_echo_n "(cached) " >&6
71064 else
71067 ac_ext=cpp
71068 ac_cpp='$CXXCPP $CPPFLAGS'
71069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71074 /* end confdefs.h. */
71075 #include <math.h>
71076 #ifdef HAVE_IEEEFP_H
71077 #include <ieeefp.h>
71078 #endif
71081 main ()
71083 log10l(0);
71085 return 0;
71087 _ACEOF
71088 if ac_fn_cxx_try_compile "$LINENO"; then :
71089 glibcxx_cv_func_log10l_use=yes
71090 else
71091 glibcxx_cv_func_log10l_use=no
71093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71094 ac_ext=c
71095 ac_cpp='$CPP $CPPFLAGS'
71096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71105 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71107 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71108 for ac_func in log10l
71109 do :
71110 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71111 if test "x$ac_cv_func_log10l" = x""yes; then :
71112 cat >>confdefs.h <<_ACEOF
71113 #define HAVE_LOG10L 1
71114 _ACEOF
71117 done
71119 else
71121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71122 $as_echo_n "checking for _log10l declaration... " >&6; }
71123 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71124 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71125 $as_echo_n "(cached) " >&6
71126 else
71129 ac_ext=cpp
71130 ac_cpp='$CXXCPP $CPPFLAGS'
71131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71136 /* end confdefs.h. */
71137 #include <math.h>
71138 #ifdef HAVE_IEEEFP_H
71139 #include <ieeefp.h>
71140 #endif
71143 main ()
71145 _log10l(0);
71147 return 0;
71149 _ACEOF
71150 if ac_fn_cxx_try_compile "$LINENO"; then :
71151 glibcxx_cv_func__log10l_use=yes
71152 else
71153 glibcxx_cv_func__log10l_use=no
71155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71156 ac_ext=c
71157 ac_cpp='$CPP $CPPFLAGS'
71158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71167 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71169 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71170 for ac_func in _log10l
71171 do :
71172 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71173 if test "x$ac_cv_func__log10l" = x""yes; then :
71174 cat >>confdefs.h <<_ACEOF
71175 #define HAVE__LOG10L 1
71176 _ACEOF
71179 done
71188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71189 $as_echo_n "checking for modfl declaration... " >&6; }
71190 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71191 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71192 $as_echo_n "(cached) " >&6
71193 else
71196 ac_ext=cpp
71197 ac_cpp='$CXXCPP $CPPFLAGS'
71198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71203 /* end confdefs.h. */
71204 #include <math.h>
71206 main ()
71208 modfl(0, 0);
71210 return 0;
71212 _ACEOF
71213 if ac_fn_cxx_try_compile "$LINENO"; then :
71214 glibcxx_cv_func_modfl_use=yes
71215 else
71216 glibcxx_cv_func_modfl_use=no
71218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71219 ac_ext=c
71220 ac_cpp='$CPP $CPPFLAGS'
71221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71230 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71232 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71233 for ac_func in modfl
71234 do :
71235 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71236 if test "x$ac_cv_func_modfl" = x""yes; then :
71237 cat >>confdefs.h <<_ACEOF
71238 #define HAVE_MODFL 1
71239 _ACEOF
71242 done
71244 else
71246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71247 $as_echo_n "checking for _modfl declaration... " >&6; }
71248 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71249 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71250 $as_echo_n "(cached) " >&6
71251 else
71254 ac_ext=cpp
71255 ac_cpp='$CXXCPP $CPPFLAGS'
71256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71261 /* end confdefs.h. */
71262 #include <math.h>
71264 main ()
71266 _modfl(0, 0);
71268 return 0;
71270 _ACEOF
71271 if ac_fn_cxx_try_compile "$LINENO"; then :
71272 glibcxx_cv_func__modfl_use=yes
71273 else
71274 glibcxx_cv_func__modfl_use=no
71276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71277 ac_ext=c
71278 ac_cpp='$CPP $CPPFLAGS'
71279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71288 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71290 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71291 for ac_func in _modfl
71292 do :
71293 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71294 if test "x$ac_cv_func__modfl" = x""yes; then :
71295 cat >>confdefs.h <<_ACEOF
71296 #define HAVE__MODFL 1
71297 _ACEOF
71300 done
71309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71310 $as_echo_n "checking for powl declaration... " >&6; }
71311 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71312 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71313 $as_echo_n "(cached) " >&6
71314 else
71317 ac_ext=cpp
71318 ac_cpp='$CXXCPP $CPPFLAGS'
71319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71324 /* end confdefs.h. */
71325 #include <math.h>
71327 main ()
71329 powl(0, 0);
71331 return 0;
71333 _ACEOF
71334 if ac_fn_cxx_try_compile "$LINENO"; then :
71335 glibcxx_cv_func_powl_use=yes
71336 else
71337 glibcxx_cv_func_powl_use=no
71339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71340 ac_ext=c
71341 ac_cpp='$CPP $CPPFLAGS'
71342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71351 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71353 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71354 for ac_func in powl
71355 do :
71356 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71357 if test "x$ac_cv_func_powl" = x""yes; then :
71358 cat >>confdefs.h <<_ACEOF
71359 #define HAVE_POWL 1
71360 _ACEOF
71363 done
71365 else
71367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71368 $as_echo_n "checking for _powl declaration... " >&6; }
71369 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71370 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71371 $as_echo_n "(cached) " >&6
71372 else
71375 ac_ext=cpp
71376 ac_cpp='$CXXCPP $CPPFLAGS'
71377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71382 /* end confdefs.h. */
71383 #include <math.h>
71385 main ()
71387 _powl(0, 0);
71389 return 0;
71391 _ACEOF
71392 if ac_fn_cxx_try_compile "$LINENO"; then :
71393 glibcxx_cv_func__powl_use=yes
71394 else
71395 glibcxx_cv_func__powl_use=no
71397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71398 ac_ext=c
71399 ac_cpp='$CPP $CPPFLAGS'
71400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71409 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71411 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71412 for ac_func in _powl
71413 do :
71414 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71415 if test "x$ac_cv_func__powl" = x""yes; then :
71416 cat >>confdefs.h <<_ACEOF
71417 #define HAVE__POWL 1
71418 _ACEOF
71421 done
71430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71431 $as_echo_n "checking for sqrtl declaration... " >&6; }
71432 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71433 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71434 $as_echo_n "(cached) " >&6
71435 else
71438 ac_ext=cpp
71439 ac_cpp='$CXXCPP $CPPFLAGS'
71440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71445 /* end confdefs.h. */
71446 #include <math.h>
71447 #ifdef HAVE_IEEEFP_H
71448 #include <ieeefp.h>
71449 #endif
71452 main ()
71454 sqrtl(0);
71456 return 0;
71458 _ACEOF
71459 if ac_fn_cxx_try_compile "$LINENO"; then :
71460 glibcxx_cv_func_sqrtl_use=yes
71461 else
71462 glibcxx_cv_func_sqrtl_use=no
71464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71465 ac_ext=c
71466 ac_cpp='$CPP $CPPFLAGS'
71467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71476 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71478 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71479 for ac_func in sqrtl
71480 do :
71481 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71482 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71483 cat >>confdefs.h <<_ACEOF
71484 #define HAVE_SQRTL 1
71485 _ACEOF
71488 done
71490 else
71492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71493 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71494 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71495 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71496 $as_echo_n "(cached) " >&6
71497 else
71500 ac_ext=cpp
71501 ac_cpp='$CXXCPP $CPPFLAGS'
71502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71507 /* end confdefs.h. */
71508 #include <math.h>
71509 #ifdef HAVE_IEEEFP_H
71510 #include <ieeefp.h>
71511 #endif
71514 main ()
71516 _sqrtl(0);
71518 return 0;
71520 _ACEOF
71521 if ac_fn_cxx_try_compile "$LINENO"; then :
71522 glibcxx_cv_func__sqrtl_use=yes
71523 else
71524 glibcxx_cv_func__sqrtl_use=no
71526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71527 ac_ext=c
71528 ac_cpp='$CPP $CPPFLAGS'
71529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71538 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71540 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71541 for ac_func in _sqrtl
71542 do :
71543 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71544 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71545 cat >>confdefs.h <<_ACEOF
71546 #define HAVE__SQRTL 1
71547 _ACEOF
71550 done
71559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71560 $as_echo_n "checking for sincosl declaration... " >&6; }
71561 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71562 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71563 $as_echo_n "(cached) " >&6
71564 else
71567 ac_ext=cpp
71568 ac_cpp='$CXXCPP $CPPFLAGS'
71569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71574 /* end confdefs.h. */
71575 #include <math.h>
71577 main ()
71579 sincosl(0, 0, 0);
71581 return 0;
71583 _ACEOF
71584 if ac_fn_cxx_try_compile "$LINENO"; then :
71585 glibcxx_cv_func_sincosl_use=yes
71586 else
71587 glibcxx_cv_func_sincosl_use=no
71589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71590 ac_ext=c
71591 ac_cpp='$CPP $CPPFLAGS'
71592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71601 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71603 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71604 for ac_func in sincosl
71605 do :
71606 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71607 if test "x$ac_cv_func_sincosl" = x""yes; then :
71608 cat >>confdefs.h <<_ACEOF
71609 #define HAVE_SINCOSL 1
71610 _ACEOF
71613 done
71615 else
71617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71618 $as_echo_n "checking for _sincosl declaration... " >&6; }
71619 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71620 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71621 $as_echo_n "(cached) " >&6
71622 else
71625 ac_ext=cpp
71626 ac_cpp='$CXXCPP $CPPFLAGS'
71627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71632 /* end confdefs.h. */
71633 #include <math.h>
71635 main ()
71637 _sincosl(0, 0, 0);
71639 return 0;
71641 _ACEOF
71642 if ac_fn_cxx_try_compile "$LINENO"; then :
71643 glibcxx_cv_func__sincosl_use=yes
71644 else
71645 glibcxx_cv_func__sincosl_use=no
71647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71648 ac_ext=c
71649 ac_cpp='$CPP $CPPFLAGS'
71650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71659 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71661 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71662 for ac_func in _sincosl
71663 do :
71664 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71665 if test "x$ac_cv_func__sincosl" = x""yes; then :
71666 cat >>confdefs.h <<_ACEOF
71667 #define HAVE__SINCOSL 1
71668 _ACEOF
71671 done
71680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71681 $as_echo_n "checking for finitel declaration... " >&6; }
71682 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71683 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
71684 $as_echo_n "(cached) " >&6
71685 else
71688 ac_ext=cpp
71689 ac_cpp='$CXXCPP $CPPFLAGS'
71690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71695 /* end confdefs.h. */
71696 #include <math.h>
71697 #ifdef HAVE_IEEEFP_H
71698 #include <ieeefp.h>
71699 #endif
71702 main ()
71704 finitel(0);
71706 return 0;
71708 _ACEOF
71709 if ac_fn_cxx_try_compile "$LINENO"; then :
71710 glibcxx_cv_func_finitel_use=yes
71711 else
71712 glibcxx_cv_func_finitel_use=no
71714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71715 ac_ext=c
71716 ac_cpp='$CPP $CPPFLAGS'
71717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
71726 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
71728 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71729 for ac_func in finitel
71730 do :
71731 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71732 if test "x$ac_cv_func_finitel" = x""yes; then :
71733 cat >>confdefs.h <<_ACEOF
71734 #define HAVE_FINITEL 1
71735 _ACEOF
71738 done
71740 else
71742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
71743 $as_echo_n "checking for _finitel declaration... " >&6; }
71744 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71745 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
71746 $as_echo_n "(cached) " >&6
71747 else
71750 ac_ext=cpp
71751 ac_cpp='$CXXCPP $CPPFLAGS'
71752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71757 /* end confdefs.h. */
71758 #include <math.h>
71759 #ifdef HAVE_IEEEFP_H
71760 #include <ieeefp.h>
71761 #endif
71764 main ()
71766 _finitel(0);
71768 return 0;
71770 _ACEOF
71771 if ac_fn_cxx_try_compile "$LINENO"; then :
71772 glibcxx_cv_func__finitel_use=yes
71773 else
71774 glibcxx_cv_func__finitel_use=no
71776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71777 ac_ext=c
71778 ac_cpp='$CPP $CPPFLAGS'
71779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
71788 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
71790 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71791 for ac_func in _finitel
71792 do :
71793 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
71794 if test "x$ac_cv_func__finitel" = x""yes; then :
71795 cat >>confdefs.h <<_ACEOF
71796 #define HAVE__FINITEL 1
71797 _ACEOF
71800 done
71808 LIBS="$ac_save_LIBS"
71809 CXXFLAGS="$ac_save_CXXFLAGS"
71812 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71813 ac_save_CXXFLAGS="$CXXFLAGS"
71814 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71818 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71819 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71820 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71821 $as_echo_n "(cached) " >&6
71822 else
71825 ac_ext=cpp
71826 ac_cpp='$CXXCPP $CPPFLAGS'
71827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71832 /* end confdefs.h. */
71833 #include <stdlib.h>
71835 main ()
71837 at_quick_exit(0);
71839 return 0;
71841 _ACEOF
71842 if ac_fn_cxx_try_compile "$LINENO"; then :
71843 glibcxx_cv_func_at_quick_exit_use=yes
71844 else
71845 glibcxx_cv_func_at_quick_exit_use=no
71847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71848 ac_ext=c
71849 ac_cpp='$CPP $CPPFLAGS'
71850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71859 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71860 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71861 for ac_func in at_quick_exit
71862 do :
71863 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
71864 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
71865 cat >>confdefs.h <<_ACEOF
71866 #define HAVE_AT_QUICK_EXIT 1
71867 _ACEOF
71870 done
71875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
71876 $as_echo_n "checking for quick_exit declaration... " >&6; }
71877 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
71878 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
71879 $as_echo_n "(cached) " >&6
71880 else
71883 ac_ext=cpp
71884 ac_cpp='$CXXCPP $CPPFLAGS'
71885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71890 /* end confdefs.h. */
71891 #include <stdlib.h>
71893 main ()
71895 quick_exit(0);
71897 return 0;
71899 _ACEOF
71900 if ac_fn_cxx_try_compile "$LINENO"; then :
71901 glibcxx_cv_func_quick_exit_use=yes
71902 else
71903 glibcxx_cv_func_quick_exit_use=no
71905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71906 ac_ext=c
71907 ac_cpp='$CPP $CPPFLAGS'
71908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
71917 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
71918 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
71919 for ac_func in quick_exit
71920 do :
71921 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
71922 if test "x$ac_cv_func_quick_exit" = x""yes; then :
71923 cat >>confdefs.h <<_ACEOF
71924 #define HAVE_QUICK_EXIT 1
71925 _ACEOF
71928 done
71933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
71934 $as_echo_n "checking for strtold declaration... " >&6; }
71935 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71936 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
71937 $as_echo_n "(cached) " >&6
71938 else
71941 ac_ext=cpp
71942 ac_cpp='$CXXCPP $CPPFLAGS'
71943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71948 /* end confdefs.h. */
71949 #include <stdlib.h>
71951 main ()
71953 strtold(0, 0);
71955 return 0;
71957 _ACEOF
71958 if ac_fn_cxx_try_compile "$LINENO"; then :
71959 glibcxx_cv_func_strtold_use=yes
71960 else
71961 glibcxx_cv_func_strtold_use=no
71963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71964 ac_ext=c
71965 ac_cpp='$CPP $CPPFLAGS'
71966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71975 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71976 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71977 for ac_func in strtold
71978 do :
71979 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71980 if test "x$ac_cv_func_strtold" = x""yes; then :
71981 cat >>confdefs.h <<_ACEOF
71982 #define HAVE_STRTOLD 1
71983 _ACEOF
71986 done
71993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71994 $as_echo_n "checking for strtof declaration... " >&6; }
71995 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71996 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71997 $as_echo_n "(cached) " >&6
71998 else
72001 ac_ext=cpp
72002 ac_cpp='$CXXCPP $CPPFLAGS'
72003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72008 /* end confdefs.h. */
72009 #include <stdlib.h>
72011 main ()
72013 strtof(0, 0);
72015 return 0;
72017 _ACEOF
72018 if ac_fn_cxx_try_compile "$LINENO"; then :
72019 glibcxx_cv_func_strtof_use=yes
72020 else
72021 glibcxx_cv_func_strtof_use=no
72023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72024 ac_ext=c
72025 ac_cpp='$CPP $CPPFLAGS'
72026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72035 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72036 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72037 for ac_func in strtof
72038 do :
72039 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72040 if test "x$ac_cv_func_strtof" = x""yes; then :
72041 cat >>confdefs.h <<_ACEOF
72042 #define HAVE_STRTOF 1
72043 _ACEOF
72046 done
72053 CXXFLAGS="$ac_save_CXXFLAGS"
72056 *-solaris*)
72058 # If we're not using GNU ld, then there's no point in even trying these
72059 # tests. Check for that first. We should have already tested for gld
72060 # by now (in libtool), but require it now just to be safe...
72061 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72062 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72066 # The name set by libtool depends on the version of libtool. Shame on us
72067 # for depending on an impl detail, but c'est la vie. Older versions used
72068 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72069 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72070 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72071 # set (hence we're using an older libtool), then set it.
72072 if test x${with_gnu_ld+set} != xset; then
72073 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72074 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72075 with_gnu_ld=no
72076 else
72077 with_gnu_ld=$ac_cv_prog_gnu_ld
72081 # Start by getting the version number. I think the libtool test already
72082 # does some of this, but throws away the result.
72083 glibcxx_ld_is_gold=no
72084 if test x"$with_gnu_ld" = x"yes"; then
72085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72086 $as_echo_n "checking for ld version... " >&6; }
72088 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72089 glibcxx_ld_is_gold=yes
72091 ldver=`$LD --version 2>/dev/null |
72092 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'`
72094 glibcxx_gnu_ld_version=`echo $ldver | \
72095 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72097 $as_echo "$glibcxx_gnu_ld_version" >&6; }
72100 # Set --gc-sections.
72101 glibcxx_have_gc_sections=no
72102 if test "$glibcxx_ld_is_gold" = "yes"; then
72103 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72104 glibcxx_have_gc_sections=yes
72106 else
72107 glibcxx_gcsections_min_ld=21602
72108 if test x"$with_gnu_ld" = x"yes" &&
72109 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72110 glibcxx_have_gc_sections=yes
72113 if test "$glibcxx_have_gc_sections" = "yes"; then
72114 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
72115 # NB: This flag only works reliably after 2.16.1. Configure tests
72116 # for this are difficult, so hard wire a value that should work.
72118 ac_test_CFLAGS="${CFLAGS+set}"
72119 ac_save_CFLAGS="$CFLAGS"
72120 CFLAGS='-Wl,--gc-sections'
72122 # Check for -Wl,--gc-sections
72123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72124 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72125 if test x$gcc_no_link = xyes; then
72126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72129 /* end confdefs.h. */
72130 int one(void) { return 1; }
72131 int two(void) { return 2; }
72134 main ()
72136 two();
72138 return 0;
72140 _ACEOF
72141 if ac_fn_c_try_link "$LINENO"; then :
72142 ac_gcsections=yes
72143 else
72144 ac_gcsections=no
72146 rm -f core conftest.err conftest.$ac_objext \
72147 conftest$ac_exeext conftest.$ac_ext
72148 if test "$ac_gcsections" = "yes"; then
72149 rm -f conftest.c
72150 touch conftest.c
72151 if $CC -c conftest.c; then
72152 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72153 grep "Warning: gc-sections option ignored" > /dev/null; then
72154 ac_gcsections=no
72157 rm -f conftest.c conftest.o conftest
72159 if test "$ac_gcsections" = "yes"; then
72160 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72163 $as_echo "$ac_gcsections" >&6; }
72165 if test "$ac_test_CFLAGS" = set; then
72166 CFLAGS="$ac_save_CFLAGS"
72167 else
72168 # this is the suspicious part
72169 CFLAGS=''
72173 # Set -z,relro.
72174 # Note this is only for shared objects.
72175 ac_ld_relro=no
72176 if test x"$with_gnu_ld" = x"yes"; then
72177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72178 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72179 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72180 if test -n "$cxx_z_relo"; then
72181 OPT_LDFLAGS="-Wl,-z,relro"
72182 ac_ld_relro=yes
72184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72185 $as_echo "$ac_ld_relro" >&6; }
72188 # Set linker optimization flags.
72189 if test x"$with_gnu_ld" = x"yes"; then
72190 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72196 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72198 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72200 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72202 # All of the dependencies for wide character support are here, so
72203 # turn it on.
72204 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72206 # These two C99 functions are present only in Solaris >= 10
72207 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72209 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72211 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72213 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72215 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72217 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72220 *-tpf)
72221 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72222 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72224 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72226 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72228 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72230 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72232 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72234 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72236 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72238 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72240 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72242 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72244 if test x"long_double_math_on_this_cpu" = x"yes"; then
72245 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72247 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72249 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72251 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72255 *-*vms*)
72256 # Check for available headers.
72257 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72259 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72260 ac_save_CXXFLAGS="$CXXFLAGS"
72261 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72264 $as_echo_n "checking for sin in -lm... " >&6; }
72265 if test "${ac_cv_lib_m_sin+set}" = set; then :
72266 $as_echo_n "(cached) " >&6
72267 else
72268 ac_check_lib_save_LIBS=$LIBS
72269 LIBS="-lm $LIBS"
72270 if test x$gcc_no_link = xyes; then
72271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72274 /* end confdefs.h. */
72276 /* Override any GCC internal prototype to avoid an error.
72277 Use char because int might match the return type of a GCC
72278 builtin and then its argument prototype would still apply. */
72279 #ifdef __cplusplus
72280 extern "C"
72281 #endif
72282 char sin ();
72284 main ()
72286 return sin ();
72288 return 0;
72290 _ACEOF
72291 if ac_fn_c_try_link "$LINENO"; then :
72292 ac_cv_lib_m_sin=yes
72293 else
72294 ac_cv_lib_m_sin=no
72296 rm -f core conftest.err conftest.$ac_objext \
72297 conftest$ac_exeext conftest.$ac_ext
72298 LIBS=$ac_check_lib_save_LIBS
72300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72301 $as_echo "$ac_cv_lib_m_sin" >&6; }
72302 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72303 libm="-lm"
72306 ac_save_LIBS="$LIBS"
72307 LIBS="$LIBS $libm"
72311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72312 $as_echo_n "checking for isinf declaration... " >&6; }
72313 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72314 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72315 $as_echo_n "(cached) " >&6
72316 else
72319 ac_ext=cpp
72320 ac_cpp='$CXXCPP $CPPFLAGS'
72321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72326 /* end confdefs.h. */
72327 #include <math.h>
72328 #ifdef HAVE_IEEEFP_H
72329 #include <ieeefp.h>
72330 #endif
72333 main ()
72335 isinf(0);
72337 return 0;
72339 _ACEOF
72340 if ac_fn_cxx_try_compile "$LINENO"; then :
72341 glibcxx_cv_func_isinf_use=yes
72342 else
72343 glibcxx_cv_func_isinf_use=no
72345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72346 ac_ext=c
72347 ac_cpp='$CPP $CPPFLAGS'
72348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72357 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72359 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72360 for ac_func in isinf
72361 do :
72362 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72363 if test "x$ac_cv_func_isinf" = x""yes; then :
72364 cat >>confdefs.h <<_ACEOF
72365 #define HAVE_ISINF 1
72366 _ACEOF
72369 done
72371 else
72373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72374 $as_echo_n "checking for _isinf declaration... " >&6; }
72375 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72376 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72377 $as_echo_n "(cached) " >&6
72378 else
72381 ac_ext=cpp
72382 ac_cpp='$CXXCPP $CPPFLAGS'
72383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72388 /* end confdefs.h. */
72389 #include <math.h>
72390 #ifdef HAVE_IEEEFP_H
72391 #include <ieeefp.h>
72392 #endif
72395 main ()
72397 _isinf(0);
72399 return 0;
72401 _ACEOF
72402 if ac_fn_cxx_try_compile "$LINENO"; then :
72403 glibcxx_cv_func__isinf_use=yes
72404 else
72405 glibcxx_cv_func__isinf_use=no
72407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72408 ac_ext=c
72409 ac_cpp='$CPP $CPPFLAGS'
72410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72419 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72421 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72422 for ac_func in _isinf
72423 do :
72424 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72425 if test "x$ac_cv_func__isinf" = x""yes; then :
72426 cat >>confdefs.h <<_ACEOF
72427 #define HAVE__ISINF 1
72428 _ACEOF
72431 done
72440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72441 $as_echo_n "checking for isnan declaration... " >&6; }
72442 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72443 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72444 $as_echo_n "(cached) " >&6
72445 else
72448 ac_ext=cpp
72449 ac_cpp='$CXXCPP $CPPFLAGS'
72450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72455 /* end confdefs.h. */
72456 #include <math.h>
72457 #ifdef HAVE_IEEEFP_H
72458 #include <ieeefp.h>
72459 #endif
72462 main ()
72464 isnan(0);
72466 return 0;
72468 _ACEOF
72469 if ac_fn_cxx_try_compile "$LINENO"; then :
72470 glibcxx_cv_func_isnan_use=yes
72471 else
72472 glibcxx_cv_func_isnan_use=no
72474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72475 ac_ext=c
72476 ac_cpp='$CPP $CPPFLAGS'
72477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72486 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72488 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72489 for ac_func in isnan
72490 do :
72491 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72492 if test "x$ac_cv_func_isnan" = x""yes; then :
72493 cat >>confdefs.h <<_ACEOF
72494 #define HAVE_ISNAN 1
72495 _ACEOF
72498 done
72500 else
72502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72503 $as_echo_n "checking for _isnan declaration... " >&6; }
72504 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72505 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72506 $as_echo_n "(cached) " >&6
72507 else
72510 ac_ext=cpp
72511 ac_cpp='$CXXCPP $CPPFLAGS'
72512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72517 /* end confdefs.h. */
72518 #include <math.h>
72519 #ifdef HAVE_IEEEFP_H
72520 #include <ieeefp.h>
72521 #endif
72524 main ()
72526 _isnan(0);
72528 return 0;
72530 _ACEOF
72531 if ac_fn_cxx_try_compile "$LINENO"; then :
72532 glibcxx_cv_func__isnan_use=yes
72533 else
72534 glibcxx_cv_func__isnan_use=no
72536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72537 ac_ext=c
72538 ac_cpp='$CPP $CPPFLAGS'
72539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72548 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72550 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72551 for ac_func in _isnan
72552 do :
72553 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72554 if test "x$ac_cv_func__isnan" = x""yes; then :
72555 cat >>confdefs.h <<_ACEOF
72556 #define HAVE__ISNAN 1
72557 _ACEOF
72560 done
72569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72570 $as_echo_n "checking for finite declaration... " >&6; }
72571 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72572 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72573 $as_echo_n "(cached) " >&6
72574 else
72577 ac_ext=cpp
72578 ac_cpp='$CXXCPP $CPPFLAGS'
72579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72584 /* end confdefs.h. */
72585 #include <math.h>
72586 #ifdef HAVE_IEEEFP_H
72587 #include <ieeefp.h>
72588 #endif
72591 main ()
72593 finite(0);
72595 return 0;
72597 _ACEOF
72598 if ac_fn_cxx_try_compile "$LINENO"; then :
72599 glibcxx_cv_func_finite_use=yes
72600 else
72601 glibcxx_cv_func_finite_use=no
72603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72604 ac_ext=c
72605 ac_cpp='$CPP $CPPFLAGS'
72606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72615 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72617 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72618 for ac_func in finite
72619 do :
72620 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72621 if test "x$ac_cv_func_finite" = x""yes; then :
72622 cat >>confdefs.h <<_ACEOF
72623 #define HAVE_FINITE 1
72624 _ACEOF
72627 done
72629 else
72631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72632 $as_echo_n "checking for _finite declaration... " >&6; }
72633 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72634 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72635 $as_echo_n "(cached) " >&6
72636 else
72639 ac_ext=cpp
72640 ac_cpp='$CXXCPP $CPPFLAGS'
72641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72646 /* end confdefs.h. */
72647 #include <math.h>
72648 #ifdef HAVE_IEEEFP_H
72649 #include <ieeefp.h>
72650 #endif
72653 main ()
72655 _finite(0);
72657 return 0;
72659 _ACEOF
72660 if ac_fn_cxx_try_compile "$LINENO"; then :
72661 glibcxx_cv_func__finite_use=yes
72662 else
72663 glibcxx_cv_func__finite_use=no
72665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72666 ac_ext=c
72667 ac_cpp='$CPP $CPPFLAGS'
72668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72677 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72679 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72680 for ac_func in _finite
72681 do :
72682 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72683 if test "x$ac_cv_func__finite" = x""yes; then :
72684 cat >>confdefs.h <<_ACEOF
72685 #define HAVE__FINITE 1
72686 _ACEOF
72689 done
72698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72699 $as_echo_n "checking for sincos declaration... " >&6; }
72700 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72701 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72702 $as_echo_n "(cached) " >&6
72703 else
72706 ac_ext=cpp
72707 ac_cpp='$CXXCPP $CPPFLAGS'
72708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72713 /* end confdefs.h. */
72714 #include <math.h>
72716 main ()
72718 sincos(0, 0, 0);
72720 return 0;
72722 _ACEOF
72723 if ac_fn_cxx_try_compile "$LINENO"; then :
72724 glibcxx_cv_func_sincos_use=yes
72725 else
72726 glibcxx_cv_func_sincos_use=no
72728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72729 ac_ext=c
72730 ac_cpp='$CPP $CPPFLAGS'
72731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72740 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72742 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72743 for ac_func in sincos
72744 do :
72745 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72746 if test "x$ac_cv_func_sincos" = x""yes; then :
72747 cat >>confdefs.h <<_ACEOF
72748 #define HAVE_SINCOS 1
72749 _ACEOF
72752 done
72754 else
72756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72757 $as_echo_n "checking for _sincos declaration... " >&6; }
72758 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72759 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72760 $as_echo_n "(cached) " >&6
72761 else
72764 ac_ext=cpp
72765 ac_cpp='$CXXCPP $CPPFLAGS'
72766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72771 /* end confdefs.h. */
72772 #include <math.h>
72774 main ()
72776 _sincos(0, 0, 0);
72778 return 0;
72780 _ACEOF
72781 if ac_fn_cxx_try_compile "$LINENO"; then :
72782 glibcxx_cv_func__sincos_use=yes
72783 else
72784 glibcxx_cv_func__sincos_use=no
72786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72787 ac_ext=c
72788 ac_cpp='$CPP $CPPFLAGS'
72789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72798 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72800 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72801 for ac_func in _sincos
72802 do :
72803 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72804 if test "x$ac_cv_func__sincos" = x""yes; then :
72805 cat >>confdefs.h <<_ACEOF
72806 #define HAVE__SINCOS 1
72807 _ACEOF
72810 done
72819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72820 $as_echo_n "checking for fpclass declaration... " >&6; }
72821 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72822 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72823 $as_echo_n "(cached) " >&6
72824 else
72827 ac_ext=cpp
72828 ac_cpp='$CXXCPP $CPPFLAGS'
72829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72834 /* end confdefs.h. */
72835 #include <math.h>
72836 #ifdef HAVE_IEEEFP_H
72837 #include <ieeefp.h>
72838 #endif
72841 main ()
72843 fpclass(0);
72845 return 0;
72847 _ACEOF
72848 if ac_fn_cxx_try_compile "$LINENO"; then :
72849 glibcxx_cv_func_fpclass_use=yes
72850 else
72851 glibcxx_cv_func_fpclass_use=no
72853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72854 ac_ext=c
72855 ac_cpp='$CPP $CPPFLAGS'
72856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
72865 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
72867 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
72868 for ac_func in fpclass
72869 do :
72870 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
72871 if test "x$ac_cv_func_fpclass" = x""yes; then :
72872 cat >>confdefs.h <<_ACEOF
72873 #define HAVE_FPCLASS 1
72874 _ACEOF
72877 done
72879 else
72881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
72882 $as_echo_n "checking for _fpclass declaration... " >&6; }
72883 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
72884 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
72885 $as_echo_n "(cached) " >&6
72886 else
72889 ac_ext=cpp
72890 ac_cpp='$CXXCPP $CPPFLAGS'
72891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72896 /* end confdefs.h. */
72897 #include <math.h>
72898 #ifdef HAVE_IEEEFP_H
72899 #include <ieeefp.h>
72900 #endif
72903 main ()
72905 _fpclass(0);
72907 return 0;
72909 _ACEOF
72910 if ac_fn_cxx_try_compile "$LINENO"; then :
72911 glibcxx_cv_func__fpclass_use=yes
72912 else
72913 glibcxx_cv_func__fpclass_use=no
72915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72916 ac_ext=c
72917 ac_cpp='$CPP $CPPFLAGS'
72918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
72927 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
72929 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
72930 for ac_func in _fpclass
72931 do :
72932 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
72933 if test "x$ac_cv_func__fpclass" = x""yes; then :
72934 cat >>confdefs.h <<_ACEOF
72935 #define HAVE__FPCLASS 1
72936 _ACEOF
72939 done
72948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
72949 $as_echo_n "checking for qfpclass declaration... " >&6; }
72950 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
72951 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
72952 $as_echo_n "(cached) " >&6
72953 else
72956 ac_ext=cpp
72957 ac_cpp='$CXXCPP $CPPFLAGS'
72958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72963 /* end confdefs.h. */
72964 #include <math.h>
72965 #ifdef HAVE_IEEEFP_H
72966 #include <ieeefp.h>
72967 #endif
72970 main ()
72972 qfpclass(0);
72974 return 0;
72976 _ACEOF
72977 if ac_fn_cxx_try_compile "$LINENO"; then :
72978 glibcxx_cv_func_qfpclass_use=yes
72979 else
72980 glibcxx_cv_func_qfpclass_use=no
72982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72983 ac_ext=c
72984 ac_cpp='$CPP $CPPFLAGS'
72985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72994 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72996 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72997 for ac_func in qfpclass
72998 do :
72999 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73000 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73001 cat >>confdefs.h <<_ACEOF
73002 #define HAVE_QFPCLASS 1
73003 _ACEOF
73006 done
73008 else
73010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73011 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73012 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73013 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73014 $as_echo_n "(cached) " >&6
73015 else
73018 ac_ext=cpp
73019 ac_cpp='$CXXCPP $CPPFLAGS'
73020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73025 /* end confdefs.h. */
73026 #include <math.h>
73027 #ifdef HAVE_IEEEFP_H
73028 #include <ieeefp.h>
73029 #endif
73032 main ()
73034 _qfpclass(0);
73036 return 0;
73038 _ACEOF
73039 if ac_fn_cxx_try_compile "$LINENO"; then :
73040 glibcxx_cv_func__qfpclass_use=yes
73041 else
73042 glibcxx_cv_func__qfpclass_use=no
73044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73045 ac_ext=c
73046 ac_cpp='$CPP $CPPFLAGS'
73047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73056 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73058 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73059 for ac_func in _qfpclass
73060 do :
73061 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73062 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73063 cat >>confdefs.h <<_ACEOF
73064 #define HAVE__QFPCLASS 1
73065 _ACEOF
73068 done
73077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73078 $as_echo_n "checking for hypot declaration... " >&6; }
73079 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73080 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73081 $as_echo_n "(cached) " >&6
73082 else
73085 ac_ext=cpp
73086 ac_cpp='$CXXCPP $CPPFLAGS'
73087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73092 /* end confdefs.h. */
73093 #include <math.h>
73095 main ()
73097 hypot(0, 0);
73099 return 0;
73101 _ACEOF
73102 if ac_fn_cxx_try_compile "$LINENO"; then :
73103 glibcxx_cv_func_hypot_use=yes
73104 else
73105 glibcxx_cv_func_hypot_use=no
73107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73108 ac_ext=c
73109 ac_cpp='$CPP $CPPFLAGS'
73110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73119 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73121 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73122 for ac_func in hypot
73123 do :
73124 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73125 if test "x$ac_cv_func_hypot" = x""yes; then :
73126 cat >>confdefs.h <<_ACEOF
73127 #define HAVE_HYPOT 1
73128 _ACEOF
73131 done
73133 else
73135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73136 $as_echo_n "checking for _hypot declaration... " >&6; }
73137 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73138 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73139 $as_echo_n "(cached) " >&6
73140 else
73143 ac_ext=cpp
73144 ac_cpp='$CXXCPP $CPPFLAGS'
73145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73150 /* end confdefs.h. */
73151 #include <math.h>
73153 main ()
73155 _hypot(0, 0);
73157 return 0;
73159 _ACEOF
73160 if ac_fn_cxx_try_compile "$LINENO"; then :
73161 glibcxx_cv_func__hypot_use=yes
73162 else
73163 glibcxx_cv_func__hypot_use=no
73165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73166 ac_ext=c
73167 ac_cpp='$CPP $CPPFLAGS'
73168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73177 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73179 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73180 for ac_func in _hypot
73181 do :
73182 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73183 if test "x$ac_cv_func__hypot" = x""yes; then :
73184 cat >>confdefs.h <<_ACEOF
73185 #define HAVE__HYPOT 1
73186 _ACEOF
73189 done
73198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73199 $as_echo_n "checking for float trig functions... " >&6; }
73200 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73201 $as_echo_n "(cached) " >&6
73202 else
73205 ac_ext=cpp
73206 ac_cpp='$CXXCPP $CPPFLAGS'
73207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73212 /* end confdefs.h. */
73213 #include <math.h>
73215 main ()
73217 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73219 return 0;
73221 _ACEOF
73222 if ac_fn_cxx_try_compile "$LINENO"; then :
73223 glibcxx_cv_func_float_trig_use=yes
73224 else
73225 glibcxx_cv_func_float_trig_use=no
73227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73228 ac_ext=c
73229 ac_cpp='$CPP $CPPFLAGS'
73230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73237 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73238 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73239 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73240 do :
73241 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73242 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73243 eval as_val=\$$as_ac_var
73244 if test "x$as_val" = x""yes; then :
73245 cat >>confdefs.h <<_ACEOF
73246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73247 _ACEOF
73250 done
73252 else
73253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73254 $as_echo_n "checking for _float trig functions... " >&6; }
73255 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73256 $as_echo_n "(cached) " >&6
73257 else
73260 ac_ext=cpp
73261 ac_cpp='$CXXCPP $CPPFLAGS'
73262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73267 /* end confdefs.h. */
73268 #include <math.h>
73270 main ()
73272 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73274 return 0;
73276 _ACEOF
73277 if ac_fn_cxx_try_compile "$LINENO"; then :
73278 glibcxx_cv_func__float_trig_use=yes
73279 else
73280 glibcxx_cv_func__float_trig_use=no
73282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73283 ac_ext=c
73284 ac_cpp='$CPP $CPPFLAGS'
73285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73292 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73293 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73294 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73295 do :
73296 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73297 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73298 eval as_val=\$$as_ac_var
73299 if test "x$as_val" = x""yes; then :
73300 cat >>confdefs.h <<_ACEOF
73301 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73302 _ACEOF
73305 done
73314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73315 $as_echo_n "checking for float round functions... " >&6; }
73316 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73317 $as_echo_n "(cached) " >&6
73318 else
73321 ac_ext=cpp
73322 ac_cpp='$CXXCPP $CPPFLAGS'
73323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73328 /* end confdefs.h. */
73329 #include <math.h>
73331 main ()
73333 ceilf (0); floorf (0);
73335 return 0;
73337 _ACEOF
73338 if ac_fn_cxx_try_compile "$LINENO"; then :
73339 glibcxx_cv_func_float_round_use=yes
73340 else
73341 glibcxx_cv_func_float_round_use=no
73343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73344 ac_ext=c
73345 ac_cpp='$CPP $CPPFLAGS'
73346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73353 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73354 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73355 for ac_func in ceilf floorf
73356 do :
73357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73359 eval as_val=\$$as_ac_var
73360 if test "x$as_val" = x""yes; then :
73361 cat >>confdefs.h <<_ACEOF
73362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73363 _ACEOF
73366 done
73368 else
73369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73370 $as_echo_n "checking for _float round functions... " >&6; }
73371 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73372 $as_echo_n "(cached) " >&6
73373 else
73376 ac_ext=cpp
73377 ac_cpp='$CXXCPP $CPPFLAGS'
73378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73383 /* end confdefs.h. */
73384 #include <math.h>
73386 main ()
73388 _ceilf (0); _floorf (0);
73390 return 0;
73392 _ACEOF
73393 if ac_fn_cxx_try_compile "$LINENO"; then :
73394 glibcxx_cv_func__float_round_use=yes
73395 else
73396 glibcxx_cv_func__float_round_use=no
73398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73399 ac_ext=c
73400 ac_cpp='$CPP $CPPFLAGS'
73401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73408 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73409 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73410 for ac_func in _ceilf _floorf
73411 do :
73412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73414 eval as_val=\$$as_ac_var
73415 if test "x$as_val" = x""yes; then :
73416 cat >>confdefs.h <<_ACEOF
73417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73418 _ACEOF
73421 done
73431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73432 $as_echo_n "checking for expf declaration... " >&6; }
73433 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73434 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73435 $as_echo_n "(cached) " >&6
73436 else
73439 ac_ext=cpp
73440 ac_cpp='$CXXCPP $CPPFLAGS'
73441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73446 /* end confdefs.h. */
73447 #include <math.h>
73448 #ifdef HAVE_IEEEFP_H
73449 #include <ieeefp.h>
73450 #endif
73453 main ()
73455 expf(0);
73457 return 0;
73459 _ACEOF
73460 if ac_fn_cxx_try_compile "$LINENO"; then :
73461 glibcxx_cv_func_expf_use=yes
73462 else
73463 glibcxx_cv_func_expf_use=no
73465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73466 ac_ext=c
73467 ac_cpp='$CPP $CPPFLAGS'
73468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73477 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73479 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73480 for ac_func in expf
73481 do :
73482 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73483 if test "x$ac_cv_func_expf" = x""yes; then :
73484 cat >>confdefs.h <<_ACEOF
73485 #define HAVE_EXPF 1
73486 _ACEOF
73489 done
73491 else
73493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73494 $as_echo_n "checking for _expf declaration... " >&6; }
73495 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73496 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73497 $as_echo_n "(cached) " >&6
73498 else
73501 ac_ext=cpp
73502 ac_cpp='$CXXCPP $CPPFLAGS'
73503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73508 /* end confdefs.h. */
73509 #include <math.h>
73510 #ifdef HAVE_IEEEFP_H
73511 #include <ieeefp.h>
73512 #endif
73515 main ()
73517 _expf(0);
73519 return 0;
73521 _ACEOF
73522 if ac_fn_cxx_try_compile "$LINENO"; then :
73523 glibcxx_cv_func__expf_use=yes
73524 else
73525 glibcxx_cv_func__expf_use=no
73527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73528 ac_ext=c
73529 ac_cpp='$CPP $CPPFLAGS'
73530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73539 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73541 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73542 for ac_func in _expf
73543 do :
73544 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73545 if test "x$ac_cv_func__expf" = x""yes; then :
73546 cat >>confdefs.h <<_ACEOF
73547 #define HAVE__EXPF 1
73548 _ACEOF
73551 done
73560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73561 $as_echo_n "checking for isnanf declaration... " >&6; }
73562 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73563 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73564 $as_echo_n "(cached) " >&6
73565 else
73568 ac_ext=cpp
73569 ac_cpp='$CXXCPP $CPPFLAGS'
73570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73575 /* end confdefs.h. */
73576 #include <math.h>
73577 #ifdef HAVE_IEEEFP_H
73578 #include <ieeefp.h>
73579 #endif
73582 main ()
73584 isnanf(0);
73586 return 0;
73588 _ACEOF
73589 if ac_fn_cxx_try_compile "$LINENO"; then :
73590 glibcxx_cv_func_isnanf_use=yes
73591 else
73592 glibcxx_cv_func_isnanf_use=no
73594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73595 ac_ext=c
73596 ac_cpp='$CPP $CPPFLAGS'
73597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73606 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73608 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73609 for ac_func in isnanf
73610 do :
73611 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73612 if test "x$ac_cv_func_isnanf" = x""yes; then :
73613 cat >>confdefs.h <<_ACEOF
73614 #define HAVE_ISNANF 1
73615 _ACEOF
73618 done
73620 else
73622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73623 $as_echo_n "checking for _isnanf declaration... " >&6; }
73624 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73625 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73626 $as_echo_n "(cached) " >&6
73627 else
73630 ac_ext=cpp
73631 ac_cpp='$CXXCPP $CPPFLAGS'
73632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73637 /* end confdefs.h. */
73638 #include <math.h>
73639 #ifdef HAVE_IEEEFP_H
73640 #include <ieeefp.h>
73641 #endif
73644 main ()
73646 _isnanf(0);
73648 return 0;
73650 _ACEOF
73651 if ac_fn_cxx_try_compile "$LINENO"; then :
73652 glibcxx_cv_func__isnanf_use=yes
73653 else
73654 glibcxx_cv_func__isnanf_use=no
73656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73657 ac_ext=c
73658 ac_cpp='$CPP $CPPFLAGS'
73659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73668 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73670 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73671 for ac_func in _isnanf
73672 do :
73673 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73674 if test "x$ac_cv_func__isnanf" = x""yes; then :
73675 cat >>confdefs.h <<_ACEOF
73676 #define HAVE__ISNANF 1
73677 _ACEOF
73680 done
73689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73690 $as_echo_n "checking for isinff declaration... " >&6; }
73691 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73692 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73693 $as_echo_n "(cached) " >&6
73694 else
73697 ac_ext=cpp
73698 ac_cpp='$CXXCPP $CPPFLAGS'
73699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73704 /* end confdefs.h. */
73705 #include <math.h>
73706 #ifdef HAVE_IEEEFP_H
73707 #include <ieeefp.h>
73708 #endif
73711 main ()
73713 isinff(0);
73715 return 0;
73717 _ACEOF
73718 if ac_fn_cxx_try_compile "$LINENO"; then :
73719 glibcxx_cv_func_isinff_use=yes
73720 else
73721 glibcxx_cv_func_isinff_use=no
73723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73724 ac_ext=c
73725 ac_cpp='$CPP $CPPFLAGS'
73726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73735 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73737 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73738 for ac_func in isinff
73739 do :
73740 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73741 if test "x$ac_cv_func_isinff" = x""yes; then :
73742 cat >>confdefs.h <<_ACEOF
73743 #define HAVE_ISINFF 1
73744 _ACEOF
73747 done
73749 else
73751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73752 $as_echo_n "checking for _isinff declaration... " >&6; }
73753 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73754 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73755 $as_echo_n "(cached) " >&6
73756 else
73759 ac_ext=cpp
73760 ac_cpp='$CXXCPP $CPPFLAGS'
73761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73766 /* end confdefs.h. */
73767 #include <math.h>
73768 #ifdef HAVE_IEEEFP_H
73769 #include <ieeefp.h>
73770 #endif
73773 main ()
73775 _isinff(0);
73777 return 0;
73779 _ACEOF
73780 if ac_fn_cxx_try_compile "$LINENO"; then :
73781 glibcxx_cv_func__isinff_use=yes
73782 else
73783 glibcxx_cv_func__isinff_use=no
73785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73786 ac_ext=c
73787 ac_cpp='$CPP $CPPFLAGS'
73788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73797 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73799 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73800 for ac_func in _isinff
73801 do :
73802 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73803 if test "x$ac_cv_func__isinff" = x""yes; then :
73804 cat >>confdefs.h <<_ACEOF
73805 #define HAVE__ISINFF 1
73806 _ACEOF
73809 done
73818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73819 $as_echo_n "checking for atan2f declaration... " >&6; }
73820 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73821 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73822 $as_echo_n "(cached) " >&6
73823 else
73826 ac_ext=cpp
73827 ac_cpp='$CXXCPP $CPPFLAGS'
73828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73833 /* end confdefs.h. */
73834 #include <math.h>
73836 main ()
73838 atan2f(0, 0);
73840 return 0;
73842 _ACEOF
73843 if ac_fn_cxx_try_compile "$LINENO"; then :
73844 glibcxx_cv_func_atan2f_use=yes
73845 else
73846 glibcxx_cv_func_atan2f_use=no
73848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73849 ac_ext=c
73850 ac_cpp='$CPP $CPPFLAGS'
73851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73860 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73862 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73863 for ac_func in atan2f
73864 do :
73865 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
73866 if test "x$ac_cv_func_atan2f" = x""yes; then :
73867 cat >>confdefs.h <<_ACEOF
73868 #define HAVE_ATAN2F 1
73869 _ACEOF
73872 done
73874 else
73876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
73877 $as_echo_n "checking for _atan2f declaration... " >&6; }
73878 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
73879 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
73880 $as_echo_n "(cached) " >&6
73881 else
73884 ac_ext=cpp
73885 ac_cpp='$CXXCPP $CPPFLAGS'
73886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73891 /* end confdefs.h. */
73892 #include <math.h>
73894 main ()
73896 _atan2f(0, 0);
73898 return 0;
73900 _ACEOF
73901 if ac_fn_cxx_try_compile "$LINENO"; then :
73902 glibcxx_cv_func__atan2f_use=yes
73903 else
73904 glibcxx_cv_func__atan2f_use=no
73906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73907 ac_ext=c
73908 ac_cpp='$CPP $CPPFLAGS'
73909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
73918 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
73920 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
73921 for ac_func in _atan2f
73922 do :
73923 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
73924 if test "x$ac_cv_func__atan2f" = x""yes; then :
73925 cat >>confdefs.h <<_ACEOF
73926 #define HAVE__ATAN2F 1
73927 _ACEOF
73930 done
73939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
73940 $as_echo_n "checking for fabsf declaration... " >&6; }
73941 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
73942 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
73943 $as_echo_n "(cached) " >&6
73944 else
73947 ac_ext=cpp
73948 ac_cpp='$CXXCPP $CPPFLAGS'
73949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73954 /* end confdefs.h. */
73955 #include <math.h>
73956 #ifdef HAVE_IEEEFP_H
73957 #include <ieeefp.h>
73958 #endif
73961 main ()
73963 fabsf(0);
73965 return 0;
73967 _ACEOF
73968 if ac_fn_cxx_try_compile "$LINENO"; then :
73969 glibcxx_cv_func_fabsf_use=yes
73970 else
73971 glibcxx_cv_func_fabsf_use=no
73973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73974 ac_ext=c
73975 ac_cpp='$CPP $CPPFLAGS'
73976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73985 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73987 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73988 for ac_func in fabsf
73989 do :
73990 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73991 if test "x$ac_cv_func_fabsf" = x""yes; then :
73992 cat >>confdefs.h <<_ACEOF
73993 #define HAVE_FABSF 1
73994 _ACEOF
73997 done
73999 else
74001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74002 $as_echo_n "checking for _fabsf declaration... " >&6; }
74003 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74004 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74005 $as_echo_n "(cached) " >&6
74006 else
74009 ac_ext=cpp
74010 ac_cpp='$CXXCPP $CPPFLAGS'
74011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74016 /* end confdefs.h. */
74017 #include <math.h>
74018 #ifdef HAVE_IEEEFP_H
74019 #include <ieeefp.h>
74020 #endif
74023 main ()
74025 _fabsf(0);
74027 return 0;
74029 _ACEOF
74030 if ac_fn_cxx_try_compile "$LINENO"; then :
74031 glibcxx_cv_func__fabsf_use=yes
74032 else
74033 glibcxx_cv_func__fabsf_use=no
74035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74036 ac_ext=c
74037 ac_cpp='$CPP $CPPFLAGS'
74038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74047 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74049 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74050 for ac_func in _fabsf
74051 do :
74052 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74053 if test "x$ac_cv_func__fabsf" = x""yes; then :
74054 cat >>confdefs.h <<_ACEOF
74055 #define HAVE__FABSF 1
74056 _ACEOF
74059 done
74068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74069 $as_echo_n "checking for fmodf declaration... " >&6; }
74070 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74071 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74072 $as_echo_n "(cached) " >&6
74073 else
74076 ac_ext=cpp
74077 ac_cpp='$CXXCPP $CPPFLAGS'
74078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74083 /* end confdefs.h. */
74084 #include <math.h>
74086 main ()
74088 fmodf(0, 0);
74090 return 0;
74092 _ACEOF
74093 if ac_fn_cxx_try_compile "$LINENO"; then :
74094 glibcxx_cv_func_fmodf_use=yes
74095 else
74096 glibcxx_cv_func_fmodf_use=no
74098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74099 ac_ext=c
74100 ac_cpp='$CPP $CPPFLAGS'
74101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74110 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74112 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74113 for ac_func in fmodf
74114 do :
74115 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74116 if test "x$ac_cv_func_fmodf" = x""yes; then :
74117 cat >>confdefs.h <<_ACEOF
74118 #define HAVE_FMODF 1
74119 _ACEOF
74122 done
74124 else
74126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74127 $as_echo_n "checking for _fmodf declaration... " >&6; }
74128 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74129 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74130 $as_echo_n "(cached) " >&6
74131 else
74134 ac_ext=cpp
74135 ac_cpp='$CXXCPP $CPPFLAGS'
74136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74141 /* end confdefs.h. */
74142 #include <math.h>
74144 main ()
74146 _fmodf(0, 0);
74148 return 0;
74150 _ACEOF
74151 if ac_fn_cxx_try_compile "$LINENO"; then :
74152 glibcxx_cv_func__fmodf_use=yes
74153 else
74154 glibcxx_cv_func__fmodf_use=no
74156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74157 ac_ext=c
74158 ac_cpp='$CPP $CPPFLAGS'
74159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74168 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74170 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74171 for ac_func in _fmodf
74172 do :
74173 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74174 if test "x$ac_cv_func__fmodf" = x""yes; then :
74175 cat >>confdefs.h <<_ACEOF
74176 #define HAVE__FMODF 1
74177 _ACEOF
74180 done
74189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74190 $as_echo_n "checking for frexpf declaration... " >&6; }
74191 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74192 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74193 $as_echo_n "(cached) " >&6
74194 else
74197 ac_ext=cpp
74198 ac_cpp='$CXXCPP $CPPFLAGS'
74199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74204 /* end confdefs.h. */
74205 #include <math.h>
74207 main ()
74209 frexpf(0, 0);
74211 return 0;
74213 _ACEOF
74214 if ac_fn_cxx_try_compile "$LINENO"; then :
74215 glibcxx_cv_func_frexpf_use=yes
74216 else
74217 glibcxx_cv_func_frexpf_use=no
74219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74220 ac_ext=c
74221 ac_cpp='$CPP $CPPFLAGS'
74222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74231 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74233 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74234 for ac_func in frexpf
74235 do :
74236 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74237 if test "x$ac_cv_func_frexpf" = x""yes; then :
74238 cat >>confdefs.h <<_ACEOF
74239 #define HAVE_FREXPF 1
74240 _ACEOF
74243 done
74245 else
74247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74248 $as_echo_n "checking for _frexpf declaration... " >&6; }
74249 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74250 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74251 $as_echo_n "(cached) " >&6
74252 else
74255 ac_ext=cpp
74256 ac_cpp='$CXXCPP $CPPFLAGS'
74257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74262 /* end confdefs.h. */
74263 #include <math.h>
74265 main ()
74267 _frexpf(0, 0);
74269 return 0;
74271 _ACEOF
74272 if ac_fn_cxx_try_compile "$LINENO"; then :
74273 glibcxx_cv_func__frexpf_use=yes
74274 else
74275 glibcxx_cv_func__frexpf_use=no
74277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74278 ac_ext=c
74279 ac_cpp='$CPP $CPPFLAGS'
74280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74289 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74291 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74292 for ac_func in _frexpf
74293 do :
74294 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74295 if test "x$ac_cv_func__frexpf" = x""yes; then :
74296 cat >>confdefs.h <<_ACEOF
74297 #define HAVE__FREXPF 1
74298 _ACEOF
74301 done
74310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74311 $as_echo_n "checking for hypotf declaration... " >&6; }
74312 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74313 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74314 $as_echo_n "(cached) " >&6
74315 else
74318 ac_ext=cpp
74319 ac_cpp='$CXXCPP $CPPFLAGS'
74320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74325 /* end confdefs.h. */
74326 #include <math.h>
74328 main ()
74330 hypotf(0, 0);
74332 return 0;
74334 _ACEOF
74335 if ac_fn_cxx_try_compile "$LINENO"; then :
74336 glibcxx_cv_func_hypotf_use=yes
74337 else
74338 glibcxx_cv_func_hypotf_use=no
74340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74341 ac_ext=c
74342 ac_cpp='$CPP $CPPFLAGS'
74343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74352 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74354 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74355 for ac_func in hypotf
74356 do :
74357 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74358 if test "x$ac_cv_func_hypotf" = x""yes; then :
74359 cat >>confdefs.h <<_ACEOF
74360 #define HAVE_HYPOTF 1
74361 _ACEOF
74364 done
74366 else
74368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74369 $as_echo_n "checking for _hypotf declaration... " >&6; }
74370 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74371 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74372 $as_echo_n "(cached) " >&6
74373 else
74376 ac_ext=cpp
74377 ac_cpp='$CXXCPP $CPPFLAGS'
74378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74383 /* end confdefs.h. */
74384 #include <math.h>
74386 main ()
74388 _hypotf(0, 0);
74390 return 0;
74392 _ACEOF
74393 if ac_fn_cxx_try_compile "$LINENO"; then :
74394 glibcxx_cv_func__hypotf_use=yes
74395 else
74396 glibcxx_cv_func__hypotf_use=no
74398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74399 ac_ext=c
74400 ac_cpp='$CPP $CPPFLAGS'
74401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74410 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74412 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74413 for ac_func in _hypotf
74414 do :
74415 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74416 if test "x$ac_cv_func__hypotf" = x""yes; then :
74417 cat >>confdefs.h <<_ACEOF
74418 #define HAVE__HYPOTF 1
74419 _ACEOF
74422 done
74431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74432 $as_echo_n "checking for ldexpf declaration... " >&6; }
74433 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74434 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74435 $as_echo_n "(cached) " >&6
74436 else
74439 ac_ext=cpp
74440 ac_cpp='$CXXCPP $CPPFLAGS'
74441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74446 /* end confdefs.h. */
74447 #include <math.h>
74449 main ()
74451 ldexpf(0, 0);
74453 return 0;
74455 _ACEOF
74456 if ac_fn_cxx_try_compile "$LINENO"; then :
74457 glibcxx_cv_func_ldexpf_use=yes
74458 else
74459 glibcxx_cv_func_ldexpf_use=no
74461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74462 ac_ext=c
74463 ac_cpp='$CPP $CPPFLAGS'
74464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74473 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74475 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74476 for ac_func in ldexpf
74477 do :
74478 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74479 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74480 cat >>confdefs.h <<_ACEOF
74481 #define HAVE_LDEXPF 1
74482 _ACEOF
74485 done
74487 else
74489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74490 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74491 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74492 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74493 $as_echo_n "(cached) " >&6
74494 else
74497 ac_ext=cpp
74498 ac_cpp='$CXXCPP $CPPFLAGS'
74499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74504 /* end confdefs.h. */
74505 #include <math.h>
74507 main ()
74509 _ldexpf(0, 0);
74511 return 0;
74513 _ACEOF
74514 if ac_fn_cxx_try_compile "$LINENO"; then :
74515 glibcxx_cv_func__ldexpf_use=yes
74516 else
74517 glibcxx_cv_func__ldexpf_use=no
74519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74520 ac_ext=c
74521 ac_cpp='$CPP $CPPFLAGS'
74522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74531 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74533 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74534 for ac_func in _ldexpf
74535 do :
74536 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74537 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74538 cat >>confdefs.h <<_ACEOF
74539 #define HAVE__LDEXPF 1
74540 _ACEOF
74543 done
74552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74553 $as_echo_n "checking for logf declaration... " >&6; }
74554 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74555 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74556 $as_echo_n "(cached) " >&6
74557 else
74560 ac_ext=cpp
74561 ac_cpp='$CXXCPP $CPPFLAGS'
74562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74567 /* end confdefs.h. */
74568 #include <math.h>
74569 #ifdef HAVE_IEEEFP_H
74570 #include <ieeefp.h>
74571 #endif
74574 main ()
74576 logf(0);
74578 return 0;
74580 _ACEOF
74581 if ac_fn_cxx_try_compile "$LINENO"; then :
74582 glibcxx_cv_func_logf_use=yes
74583 else
74584 glibcxx_cv_func_logf_use=no
74586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74587 ac_ext=c
74588 ac_cpp='$CPP $CPPFLAGS'
74589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74598 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74600 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74601 for ac_func in logf
74602 do :
74603 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74604 if test "x$ac_cv_func_logf" = x""yes; then :
74605 cat >>confdefs.h <<_ACEOF
74606 #define HAVE_LOGF 1
74607 _ACEOF
74610 done
74612 else
74614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74615 $as_echo_n "checking for _logf declaration... " >&6; }
74616 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74617 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74618 $as_echo_n "(cached) " >&6
74619 else
74622 ac_ext=cpp
74623 ac_cpp='$CXXCPP $CPPFLAGS'
74624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74629 /* end confdefs.h. */
74630 #include <math.h>
74631 #ifdef HAVE_IEEEFP_H
74632 #include <ieeefp.h>
74633 #endif
74636 main ()
74638 _logf(0);
74640 return 0;
74642 _ACEOF
74643 if ac_fn_cxx_try_compile "$LINENO"; then :
74644 glibcxx_cv_func__logf_use=yes
74645 else
74646 glibcxx_cv_func__logf_use=no
74648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74649 ac_ext=c
74650 ac_cpp='$CPP $CPPFLAGS'
74651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74660 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74662 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74663 for ac_func in _logf
74664 do :
74665 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74666 if test "x$ac_cv_func__logf" = x""yes; then :
74667 cat >>confdefs.h <<_ACEOF
74668 #define HAVE__LOGF 1
74669 _ACEOF
74672 done
74681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74682 $as_echo_n "checking for log10f declaration... " >&6; }
74683 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74684 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74685 $as_echo_n "(cached) " >&6
74686 else
74689 ac_ext=cpp
74690 ac_cpp='$CXXCPP $CPPFLAGS'
74691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74696 /* end confdefs.h. */
74697 #include <math.h>
74698 #ifdef HAVE_IEEEFP_H
74699 #include <ieeefp.h>
74700 #endif
74703 main ()
74705 log10f(0);
74707 return 0;
74709 _ACEOF
74710 if ac_fn_cxx_try_compile "$LINENO"; then :
74711 glibcxx_cv_func_log10f_use=yes
74712 else
74713 glibcxx_cv_func_log10f_use=no
74715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74716 ac_ext=c
74717 ac_cpp='$CPP $CPPFLAGS'
74718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74727 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74729 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74730 for ac_func in log10f
74731 do :
74732 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74733 if test "x$ac_cv_func_log10f" = x""yes; then :
74734 cat >>confdefs.h <<_ACEOF
74735 #define HAVE_LOG10F 1
74736 _ACEOF
74739 done
74741 else
74743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74744 $as_echo_n "checking for _log10f declaration... " >&6; }
74745 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74746 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74747 $as_echo_n "(cached) " >&6
74748 else
74751 ac_ext=cpp
74752 ac_cpp='$CXXCPP $CPPFLAGS'
74753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74758 /* end confdefs.h. */
74759 #include <math.h>
74760 #ifdef HAVE_IEEEFP_H
74761 #include <ieeefp.h>
74762 #endif
74765 main ()
74767 _log10f(0);
74769 return 0;
74771 _ACEOF
74772 if ac_fn_cxx_try_compile "$LINENO"; then :
74773 glibcxx_cv_func__log10f_use=yes
74774 else
74775 glibcxx_cv_func__log10f_use=no
74777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74778 ac_ext=c
74779 ac_cpp='$CPP $CPPFLAGS'
74780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74789 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74791 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74792 for ac_func in _log10f
74793 do :
74794 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74795 if test "x$ac_cv_func__log10f" = x""yes; then :
74796 cat >>confdefs.h <<_ACEOF
74797 #define HAVE__LOG10F 1
74798 _ACEOF
74801 done
74810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74811 $as_echo_n "checking for modff declaration... " >&6; }
74812 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74813 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74814 $as_echo_n "(cached) " >&6
74815 else
74818 ac_ext=cpp
74819 ac_cpp='$CXXCPP $CPPFLAGS'
74820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74825 /* end confdefs.h. */
74826 #include <math.h>
74828 main ()
74830 modff(0, 0);
74832 return 0;
74834 _ACEOF
74835 if ac_fn_cxx_try_compile "$LINENO"; then :
74836 glibcxx_cv_func_modff_use=yes
74837 else
74838 glibcxx_cv_func_modff_use=no
74840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74841 ac_ext=c
74842 ac_cpp='$CPP $CPPFLAGS'
74843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74852 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74854 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74855 for ac_func in modff
74856 do :
74857 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74858 if test "x$ac_cv_func_modff" = x""yes; then :
74859 cat >>confdefs.h <<_ACEOF
74860 #define HAVE_MODFF 1
74861 _ACEOF
74864 done
74866 else
74868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
74869 $as_echo_n "checking for _modff declaration... " >&6; }
74870 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74871 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
74872 $as_echo_n "(cached) " >&6
74873 else
74876 ac_ext=cpp
74877 ac_cpp='$CXXCPP $CPPFLAGS'
74878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74883 /* end confdefs.h. */
74884 #include <math.h>
74886 main ()
74888 _modff(0, 0);
74890 return 0;
74892 _ACEOF
74893 if ac_fn_cxx_try_compile "$LINENO"; then :
74894 glibcxx_cv_func__modff_use=yes
74895 else
74896 glibcxx_cv_func__modff_use=no
74898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74899 ac_ext=c
74900 ac_cpp='$CPP $CPPFLAGS'
74901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
74910 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
74912 if test x$glibcxx_cv_func__modff_use = x"yes"; then
74913 for ac_func in _modff
74914 do :
74915 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
74916 if test "x$ac_cv_func__modff" = x""yes; then :
74917 cat >>confdefs.h <<_ACEOF
74918 #define HAVE__MODFF 1
74919 _ACEOF
74922 done
74931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
74932 $as_echo_n "checking for modf declaration... " >&6; }
74933 if test x${glibcxx_cv_func_modf_use+set} != xset; then
74934 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
74935 $as_echo_n "(cached) " >&6
74936 else
74939 ac_ext=cpp
74940 ac_cpp='$CXXCPP $CPPFLAGS'
74941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74946 /* end confdefs.h. */
74947 #include <math.h>
74949 main ()
74951 modf(0, 0);
74953 return 0;
74955 _ACEOF
74956 if ac_fn_cxx_try_compile "$LINENO"; then :
74957 glibcxx_cv_func_modf_use=yes
74958 else
74959 glibcxx_cv_func_modf_use=no
74961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74962 ac_ext=c
74963 ac_cpp='$CPP $CPPFLAGS'
74964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74973 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74975 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74976 for ac_func in modf
74977 do :
74978 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74979 if test "x$ac_cv_func_modf" = x""yes; then :
74980 cat >>confdefs.h <<_ACEOF
74981 #define HAVE_MODF 1
74982 _ACEOF
74985 done
74987 else
74989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74990 $as_echo_n "checking for _modf declaration... " >&6; }
74991 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74992 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74993 $as_echo_n "(cached) " >&6
74994 else
74997 ac_ext=cpp
74998 ac_cpp='$CXXCPP $CPPFLAGS'
74999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75004 /* end confdefs.h. */
75005 #include <math.h>
75007 main ()
75009 _modf(0, 0);
75011 return 0;
75013 _ACEOF
75014 if ac_fn_cxx_try_compile "$LINENO"; then :
75015 glibcxx_cv_func__modf_use=yes
75016 else
75017 glibcxx_cv_func__modf_use=no
75019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75020 ac_ext=c
75021 ac_cpp='$CPP $CPPFLAGS'
75022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75031 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75033 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75034 for ac_func in _modf
75035 do :
75036 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75037 if test "x$ac_cv_func__modf" = x""yes; then :
75038 cat >>confdefs.h <<_ACEOF
75039 #define HAVE__MODF 1
75040 _ACEOF
75043 done
75052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75053 $as_echo_n "checking for powf declaration... " >&6; }
75054 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75055 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75056 $as_echo_n "(cached) " >&6
75057 else
75060 ac_ext=cpp
75061 ac_cpp='$CXXCPP $CPPFLAGS'
75062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75067 /* end confdefs.h. */
75068 #include <math.h>
75070 main ()
75072 powf(0, 0);
75074 return 0;
75076 _ACEOF
75077 if ac_fn_cxx_try_compile "$LINENO"; then :
75078 glibcxx_cv_func_powf_use=yes
75079 else
75080 glibcxx_cv_func_powf_use=no
75082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75083 ac_ext=c
75084 ac_cpp='$CPP $CPPFLAGS'
75085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75094 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75096 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75097 for ac_func in powf
75098 do :
75099 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75100 if test "x$ac_cv_func_powf" = x""yes; then :
75101 cat >>confdefs.h <<_ACEOF
75102 #define HAVE_POWF 1
75103 _ACEOF
75106 done
75108 else
75110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75111 $as_echo_n "checking for _powf declaration... " >&6; }
75112 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75113 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75114 $as_echo_n "(cached) " >&6
75115 else
75118 ac_ext=cpp
75119 ac_cpp='$CXXCPP $CPPFLAGS'
75120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75125 /* end confdefs.h. */
75126 #include <math.h>
75128 main ()
75130 _powf(0, 0);
75132 return 0;
75134 _ACEOF
75135 if ac_fn_cxx_try_compile "$LINENO"; then :
75136 glibcxx_cv_func__powf_use=yes
75137 else
75138 glibcxx_cv_func__powf_use=no
75140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75141 ac_ext=c
75142 ac_cpp='$CPP $CPPFLAGS'
75143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75152 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75154 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75155 for ac_func in _powf
75156 do :
75157 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75158 if test "x$ac_cv_func__powf" = x""yes; then :
75159 cat >>confdefs.h <<_ACEOF
75160 #define HAVE__POWF 1
75161 _ACEOF
75164 done
75173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75174 $as_echo_n "checking for sqrtf declaration... " >&6; }
75175 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75176 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75177 $as_echo_n "(cached) " >&6
75178 else
75181 ac_ext=cpp
75182 ac_cpp='$CXXCPP $CPPFLAGS'
75183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75188 /* end confdefs.h. */
75189 #include <math.h>
75190 #ifdef HAVE_IEEEFP_H
75191 #include <ieeefp.h>
75192 #endif
75195 main ()
75197 sqrtf(0);
75199 return 0;
75201 _ACEOF
75202 if ac_fn_cxx_try_compile "$LINENO"; then :
75203 glibcxx_cv_func_sqrtf_use=yes
75204 else
75205 glibcxx_cv_func_sqrtf_use=no
75207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75208 ac_ext=c
75209 ac_cpp='$CPP $CPPFLAGS'
75210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75219 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75221 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75222 for ac_func in sqrtf
75223 do :
75224 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75225 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75226 cat >>confdefs.h <<_ACEOF
75227 #define HAVE_SQRTF 1
75228 _ACEOF
75231 done
75233 else
75235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75236 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75237 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75238 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75239 $as_echo_n "(cached) " >&6
75240 else
75243 ac_ext=cpp
75244 ac_cpp='$CXXCPP $CPPFLAGS'
75245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75250 /* end confdefs.h. */
75251 #include <math.h>
75252 #ifdef HAVE_IEEEFP_H
75253 #include <ieeefp.h>
75254 #endif
75257 main ()
75259 _sqrtf(0);
75261 return 0;
75263 _ACEOF
75264 if ac_fn_cxx_try_compile "$LINENO"; then :
75265 glibcxx_cv_func__sqrtf_use=yes
75266 else
75267 glibcxx_cv_func__sqrtf_use=no
75269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75270 ac_ext=c
75271 ac_cpp='$CPP $CPPFLAGS'
75272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75281 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75283 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75284 for ac_func in _sqrtf
75285 do :
75286 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75287 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75288 cat >>confdefs.h <<_ACEOF
75289 #define HAVE__SQRTF 1
75290 _ACEOF
75293 done
75302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75303 $as_echo_n "checking for sincosf declaration... " >&6; }
75304 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75305 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75306 $as_echo_n "(cached) " >&6
75307 else
75310 ac_ext=cpp
75311 ac_cpp='$CXXCPP $CPPFLAGS'
75312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75317 /* end confdefs.h. */
75318 #include <math.h>
75320 main ()
75322 sincosf(0, 0, 0);
75324 return 0;
75326 _ACEOF
75327 if ac_fn_cxx_try_compile "$LINENO"; then :
75328 glibcxx_cv_func_sincosf_use=yes
75329 else
75330 glibcxx_cv_func_sincosf_use=no
75332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75333 ac_ext=c
75334 ac_cpp='$CPP $CPPFLAGS'
75335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75344 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75346 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75347 for ac_func in sincosf
75348 do :
75349 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75350 if test "x$ac_cv_func_sincosf" = x""yes; then :
75351 cat >>confdefs.h <<_ACEOF
75352 #define HAVE_SINCOSF 1
75353 _ACEOF
75356 done
75358 else
75360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75361 $as_echo_n "checking for _sincosf declaration... " >&6; }
75362 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75363 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75364 $as_echo_n "(cached) " >&6
75365 else
75368 ac_ext=cpp
75369 ac_cpp='$CXXCPP $CPPFLAGS'
75370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75375 /* end confdefs.h. */
75376 #include <math.h>
75378 main ()
75380 _sincosf(0, 0, 0);
75382 return 0;
75384 _ACEOF
75385 if ac_fn_cxx_try_compile "$LINENO"; then :
75386 glibcxx_cv_func__sincosf_use=yes
75387 else
75388 glibcxx_cv_func__sincosf_use=no
75390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75391 ac_ext=c
75392 ac_cpp='$CPP $CPPFLAGS'
75393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75402 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75404 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75405 for ac_func in _sincosf
75406 do :
75407 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75408 if test "x$ac_cv_func__sincosf" = x""yes; then :
75409 cat >>confdefs.h <<_ACEOF
75410 #define HAVE__SINCOSF 1
75411 _ACEOF
75414 done
75423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75424 $as_echo_n "checking for finitef declaration... " >&6; }
75425 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75426 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75427 $as_echo_n "(cached) " >&6
75428 else
75431 ac_ext=cpp
75432 ac_cpp='$CXXCPP $CPPFLAGS'
75433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75438 /* end confdefs.h. */
75439 #include <math.h>
75440 #ifdef HAVE_IEEEFP_H
75441 #include <ieeefp.h>
75442 #endif
75445 main ()
75447 finitef(0);
75449 return 0;
75451 _ACEOF
75452 if ac_fn_cxx_try_compile "$LINENO"; then :
75453 glibcxx_cv_func_finitef_use=yes
75454 else
75455 glibcxx_cv_func_finitef_use=no
75457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75458 ac_ext=c
75459 ac_cpp='$CPP $CPPFLAGS'
75460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75469 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75471 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75472 for ac_func in finitef
75473 do :
75474 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75475 if test "x$ac_cv_func_finitef" = x""yes; then :
75476 cat >>confdefs.h <<_ACEOF
75477 #define HAVE_FINITEF 1
75478 _ACEOF
75481 done
75483 else
75485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75486 $as_echo_n "checking for _finitef declaration... " >&6; }
75487 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75488 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75489 $as_echo_n "(cached) " >&6
75490 else
75493 ac_ext=cpp
75494 ac_cpp='$CXXCPP $CPPFLAGS'
75495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75500 /* end confdefs.h. */
75501 #include <math.h>
75502 #ifdef HAVE_IEEEFP_H
75503 #include <ieeefp.h>
75504 #endif
75507 main ()
75509 _finitef(0);
75511 return 0;
75513 _ACEOF
75514 if ac_fn_cxx_try_compile "$LINENO"; then :
75515 glibcxx_cv_func__finitef_use=yes
75516 else
75517 glibcxx_cv_func__finitef_use=no
75519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75520 ac_ext=c
75521 ac_cpp='$CPP $CPPFLAGS'
75522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75531 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75533 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75534 for ac_func in _finitef
75535 do :
75536 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75537 if test "x$ac_cv_func__finitef" = x""yes; then :
75538 cat >>confdefs.h <<_ACEOF
75539 #define HAVE__FINITEF 1
75540 _ACEOF
75543 done
75552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75553 $as_echo_n "checking for long double trig functions... " >&6; }
75554 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75555 $as_echo_n "(cached) " >&6
75556 else
75559 ac_ext=cpp
75560 ac_cpp='$CXXCPP $CPPFLAGS'
75561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75566 /* end confdefs.h. */
75567 #include <math.h>
75569 main ()
75571 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75573 return 0;
75575 _ACEOF
75576 if ac_fn_cxx_try_compile "$LINENO"; then :
75577 glibcxx_cv_func_long_double_trig_use=yes
75578 else
75579 glibcxx_cv_func_long_double_trig_use=no
75581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75582 ac_ext=c
75583 ac_cpp='$CPP $CPPFLAGS'
75584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75591 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75592 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75593 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75594 do :
75595 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75596 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75597 eval as_val=\$$as_ac_var
75598 if test "x$as_val" = x""yes; then :
75599 cat >>confdefs.h <<_ACEOF
75600 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75601 _ACEOF
75604 done
75606 else
75607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75608 $as_echo_n "checking for _long double trig functions... " >&6; }
75609 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75610 $as_echo_n "(cached) " >&6
75611 else
75614 ac_ext=cpp
75615 ac_cpp='$CXXCPP $CPPFLAGS'
75616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75621 /* end confdefs.h. */
75622 #include <math.h>
75624 main ()
75626 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75628 return 0;
75630 _ACEOF
75631 if ac_fn_cxx_try_compile "$LINENO"; then :
75632 glibcxx_cv_func__long_double_trig_use=yes
75633 else
75634 glibcxx_cv_func__long_double_trig_use=no
75636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75637 ac_ext=c
75638 ac_cpp='$CPP $CPPFLAGS'
75639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75646 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75647 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75648 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75649 do :
75650 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75651 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75652 eval as_val=\$$as_ac_var
75653 if test "x$as_val" = x""yes; then :
75654 cat >>confdefs.h <<_ACEOF
75655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75656 _ACEOF
75659 done
75668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75669 $as_echo_n "checking for long double round functions... " >&6; }
75670 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75671 $as_echo_n "(cached) " >&6
75672 else
75675 ac_ext=cpp
75676 ac_cpp='$CXXCPP $CPPFLAGS'
75677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75682 /* end confdefs.h. */
75683 #include <math.h>
75685 main ()
75687 ceill (0); floorl (0);
75689 return 0;
75691 _ACEOF
75692 if ac_fn_cxx_try_compile "$LINENO"; then :
75693 glibcxx_cv_func_long_double_round_use=yes
75694 else
75695 glibcxx_cv_func_long_double_round_use=no
75697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75698 ac_ext=c
75699 ac_cpp='$CPP $CPPFLAGS'
75700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75707 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75708 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75709 for ac_func in ceill floorl
75710 do :
75711 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75712 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75713 eval as_val=\$$as_ac_var
75714 if test "x$as_val" = x""yes; then :
75715 cat >>confdefs.h <<_ACEOF
75716 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75717 _ACEOF
75720 done
75722 else
75723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75724 $as_echo_n "checking for _long double round functions... " >&6; }
75725 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75726 $as_echo_n "(cached) " >&6
75727 else
75730 ac_ext=cpp
75731 ac_cpp='$CXXCPP $CPPFLAGS'
75732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75737 /* end confdefs.h. */
75738 #include <math.h>
75740 main ()
75742 _ceill (0); _floorl (0);
75744 return 0;
75746 _ACEOF
75747 if ac_fn_cxx_try_compile "$LINENO"; then :
75748 glibcxx_cv_func__long_double_round_use=yes
75749 else
75750 glibcxx_cv_func__long_double_round_use=no
75752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75753 ac_ext=c
75754 ac_cpp='$CPP $CPPFLAGS'
75755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75762 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75763 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75764 for ac_func in _ceill _floorl
75765 do :
75766 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75767 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75768 eval as_val=\$$as_ac_var
75769 if test "x$as_val" = x""yes; then :
75770 cat >>confdefs.h <<_ACEOF
75771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75772 _ACEOF
75775 done
75785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75786 $as_echo_n "checking for isnanl declaration... " >&6; }
75787 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75788 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75789 $as_echo_n "(cached) " >&6
75790 else
75793 ac_ext=cpp
75794 ac_cpp='$CXXCPP $CPPFLAGS'
75795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75800 /* end confdefs.h. */
75801 #include <math.h>
75802 #ifdef HAVE_IEEEFP_H
75803 #include <ieeefp.h>
75804 #endif
75807 main ()
75809 isnanl(0);
75811 return 0;
75813 _ACEOF
75814 if ac_fn_cxx_try_compile "$LINENO"; then :
75815 glibcxx_cv_func_isnanl_use=yes
75816 else
75817 glibcxx_cv_func_isnanl_use=no
75819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75820 ac_ext=c
75821 ac_cpp='$CPP $CPPFLAGS'
75822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75831 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75833 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75834 for ac_func in isnanl
75835 do :
75836 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75837 if test "x$ac_cv_func_isnanl" = x""yes; then :
75838 cat >>confdefs.h <<_ACEOF
75839 #define HAVE_ISNANL 1
75840 _ACEOF
75843 done
75845 else
75847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75848 $as_echo_n "checking for _isnanl declaration... " >&6; }
75849 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75850 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75851 $as_echo_n "(cached) " >&6
75852 else
75855 ac_ext=cpp
75856 ac_cpp='$CXXCPP $CPPFLAGS'
75857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75862 /* end confdefs.h. */
75863 #include <math.h>
75864 #ifdef HAVE_IEEEFP_H
75865 #include <ieeefp.h>
75866 #endif
75869 main ()
75871 _isnanl(0);
75873 return 0;
75875 _ACEOF
75876 if ac_fn_cxx_try_compile "$LINENO"; then :
75877 glibcxx_cv_func__isnanl_use=yes
75878 else
75879 glibcxx_cv_func__isnanl_use=no
75881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75882 ac_ext=c
75883 ac_cpp='$CPP $CPPFLAGS'
75884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
75893 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
75895 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75896 for ac_func in _isnanl
75897 do :
75898 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
75899 if test "x$ac_cv_func__isnanl" = x""yes; then :
75900 cat >>confdefs.h <<_ACEOF
75901 #define HAVE__ISNANL 1
75902 _ACEOF
75905 done
75914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
75915 $as_echo_n "checking for isinfl declaration... " >&6; }
75916 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75917 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
75918 $as_echo_n "(cached) " >&6
75919 else
75922 ac_ext=cpp
75923 ac_cpp='$CXXCPP $CPPFLAGS'
75924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75929 /* end confdefs.h. */
75930 #include <math.h>
75931 #ifdef HAVE_IEEEFP_H
75932 #include <ieeefp.h>
75933 #endif
75936 main ()
75938 isinfl(0);
75940 return 0;
75942 _ACEOF
75943 if ac_fn_cxx_try_compile "$LINENO"; then :
75944 glibcxx_cv_func_isinfl_use=yes
75945 else
75946 glibcxx_cv_func_isinfl_use=no
75948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75949 ac_ext=c
75950 ac_cpp='$CPP $CPPFLAGS'
75951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
75960 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75962 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75963 for ac_func in isinfl
75964 do :
75965 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75966 if test "x$ac_cv_func_isinfl" = x""yes; then :
75967 cat >>confdefs.h <<_ACEOF
75968 #define HAVE_ISINFL 1
75969 _ACEOF
75972 done
75974 else
75976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75977 $as_echo_n "checking for _isinfl declaration... " >&6; }
75978 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75979 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75980 $as_echo_n "(cached) " >&6
75981 else
75984 ac_ext=cpp
75985 ac_cpp='$CXXCPP $CPPFLAGS'
75986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75991 /* end confdefs.h. */
75992 #include <math.h>
75993 #ifdef HAVE_IEEEFP_H
75994 #include <ieeefp.h>
75995 #endif
75998 main ()
76000 _isinfl(0);
76002 return 0;
76004 _ACEOF
76005 if ac_fn_cxx_try_compile "$LINENO"; then :
76006 glibcxx_cv_func__isinfl_use=yes
76007 else
76008 glibcxx_cv_func__isinfl_use=no
76010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76011 ac_ext=c
76012 ac_cpp='$CPP $CPPFLAGS'
76013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76022 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76024 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76025 for ac_func in _isinfl
76026 do :
76027 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76028 if test "x$ac_cv_func__isinfl" = x""yes; then :
76029 cat >>confdefs.h <<_ACEOF
76030 #define HAVE__ISINFL 1
76031 _ACEOF
76034 done
76043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76044 $as_echo_n "checking for atan2l declaration... " >&6; }
76045 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76046 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76047 $as_echo_n "(cached) " >&6
76048 else
76051 ac_ext=cpp
76052 ac_cpp='$CXXCPP $CPPFLAGS'
76053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76058 /* end confdefs.h. */
76059 #include <math.h>
76061 main ()
76063 atan2l(0, 0);
76065 return 0;
76067 _ACEOF
76068 if ac_fn_cxx_try_compile "$LINENO"; then :
76069 glibcxx_cv_func_atan2l_use=yes
76070 else
76071 glibcxx_cv_func_atan2l_use=no
76073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76074 ac_ext=c
76075 ac_cpp='$CPP $CPPFLAGS'
76076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76085 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76087 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76088 for ac_func in atan2l
76089 do :
76090 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76091 if test "x$ac_cv_func_atan2l" = x""yes; then :
76092 cat >>confdefs.h <<_ACEOF
76093 #define HAVE_ATAN2L 1
76094 _ACEOF
76097 done
76099 else
76101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76102 $as_echo_n "checking for _atan2l declaration... " >&6; }
76103 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76104 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76105 $as_echo_n "(cached) " >&6
76106 else
76109 ac_ext=cpp
76110 ac_cpp='$CXXCPP $CPPFLAGS'
76111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76116 /* end confdefs.h. */
76117 #include <math.h>
76119 main ()
76121 _atan2l(0, 0);
76123 return 0;
76125 _ACEOF
76126 if ac_fn_cxx_try_compile "$LINENO"; then :
76127 glibcxx_cv_func__atan2l_use=yes
76128 else
76129 glibcxx_cv_func__atan2l_use=no
76131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76132 ac_ext=c
76133 ac_cpp='$CPP $CPPFLAGS'
76134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76143 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76145 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76146 for ac_func in _atan2l
76147 do :
76148 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76149 if test "x$ac_cv_func__atan2l" = x""yes; then :
76150 cat >>confdefs.h <<_ACEOF
76151 #define HAVE__ATAN2L 1
76152 _ACEOF
76155 done
76164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76165 $as_echo_n "checking for expl declaration... " >&6; }
76166 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76167 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76168 $as_echo_n "(cached) " >&6
76169 else
76172 ac_ext=cpp
76173 ac_cpp='$CXXCPP $CPPFLAGS'
76174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76179 /* end confdefs.h. */
76180 #include <math.h>
76181 #ifdef HAVE_IEEEFP_H
76182 #include <ieeefp.h>
76183 #endif
76186 main ()
76188 expl(0);
76190 return 0;
76192 _ACEOF
76193 if ac_fn_cxx_try_compile "$LINENO"; then :
76194 glibcxx_cv_func_expl_use=yes
76195 else
76196 glibcxx_cv_func_expl_use=no
76198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76199 ac_ext=c
76200 ac_cpp='$CPP $CPPFLAGS'
76201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76210 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76212 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76213 for ac_func in expl
76214 do :
76215 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76216 if test "x$ac_cv_func_expl" = x""yes; then :
76217 cat >>confdefs.h <<_ACEOF
76218 #define HAVE_EXPL 1
76219 _ACEOF
76222 done
76224 else
76226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76227 $as_echo_n "checking for _expl declaration... " >&6; }
76228 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76229 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76230 $as_echo_n "(cached) " >&6
76231 else
76234 ac_ext=cpp
76235 ac_cpp='$CXXCPP $CPPFLAGS'
76236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76241 /* end confdefs.h. */
76242 #include <math.h>
76243 #ifdef HAVE_IEEEFP_H
76244 #include <ieeefp.h>
76245 #endif
76248 main ()
76250 _expl(0);
76252 return 0;
76254 _ACEOF
76255 if ac_fn_cxx_try_compile "$LINENO"; then :
76256 glibcxx_cv_func__expl_use=yes
76257 else
76258 glibcxx_cv_func__expl_use=no
76260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76261 ac_ext=c
76262 ac_cpp='$CPP $CPPFLAGS'
76263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76272 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76274 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76275 for ac_func in _expl
76276 do :
76277 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76278 if test "x$ac_cv_func__expl" = x""yes; then :
76279 cat >>confdefs.h <<_ACEOF
76280 #define HAVE__EXPL 1
76281 _ACEOF
76284 done
76293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76294 $as_echo_n "checking for fabsl declaration... " >&6; }
76295 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76296 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76297 $as_echo_n "(cached) " >&6
76298 else
76301 ac_ext=cpp
76302 ac_cpp='$CXXCPP $CPPFLAGS'
76303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76308 /* end confdefs.h. */
76309 #include <math.h>
76310 #ifdef HAVE_IEEEFP_H
76311 #include <ieeefp.h>
76312 #endif
76315 main ()
76317 fabsl(0);
76319 return 0;
76321 _ACEOF
76322 if ac_fn_cxx_try_compile "$LINENO"; then :
76323 glibcxx_cv_func_fabsl_use=yes
76324 else
76325 glibcxx_cv_func_fabsl_use=no
76327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76328 ac_ext=c
76329 ac_cpp='$CPP $CPPFLAGS'
76330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76339 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76341 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76342 for ac_func in fabsl
76343 do :
76344 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76345 if test "x$ac_cv_func_fabsl" = x""yes; then :
76346 cat >>confdefs.h <<_ACEOF
76347 #define HAVE_FABSL 1
76348 _ACEOF
76351 done
76353 else
76355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76356 $as_echo_n "checking for _fabsl declaration... " >&6; }
76357 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76358 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76359 $as_echo_n "(cached) " >&6
76360 else
76363 ac_ext=cpp
76364 ac_cpp='$CXXCPP $CPPFLAGS'
76365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76370 /* end confdefs.h. */
76371 #include <math.h>
76372 #ifdef HAVE_IEEEFP_H
76373 #include <ieeefp.h>
76374 #endif
76377 main ()
76379 _fabsl(0);
76381 return 0;
76383 _ACEOF
76384 if ac_fn_cxx_try_compile "$LINENO"; then :
76385 glibcxx_cv_func__fabsl_use=yes
76386 else
76387 glibcxx_cv_func__fabsl_use=no
76389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76390 ac_ext=c
76391 ac_cpp='$CPP $CPPFLAGS'
76392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76401 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76403 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76404 for ac_func in _fabsl
76405 do :
76406 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76407 if test "x$ac_cv_func__fabsl" = x""yes; then :
76408 cat >>confdefs.h <<_ACEOF
76409 #define HAVE__FABSL 1
76410 _ACEOF
76413 done
76422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76423 $as_echo_n "checking for fmodl declaration... " >&6; }
76424 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76425 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76426 $as_echo_n "(cached) " >&6
76427 else
76430 ac_ext=cpp
76431 ac_cpp='$CXXCPP $CPPFLAGS'
76432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76437 /* end confdefs.h. */
76438 #include <math.h>
76440 main ()
76442 fmodl(0, 0);
76444 return 0;
76446 _ACEOF
76447 if ac_fn_cxx_try_compile "$LINENO"; then :
76448 glibcxx_cv_func_fmodl_use=yes
76449 else
76450 glibcxx_cv_func_fmodl_use=no
76452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76453 ac_ext=c
76454 ac_cpp='$CPP $CPPFLAGS'
76455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76464 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76466 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76467 for ac_func in fmodl
76468 do :
76469 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76470 if test "x$ac_cv_func_fmodl" = x""yes; then :
76471 cat >>confdefs.h <<_ACEOF
76472 #define HAVE_FMODL 1
76473 _ACEOF
76476 done
76478 else
76480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76481 $as_echo_n "checking for _fmodl declaration... " >&6; }
76482 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76483 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76484 $as_echo_n "(cached) " >&6
76485 else
76488 ac_ext=cpp
76489 ac_cpp='$CXXCPP $CPPFLAGS'
76490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76495 /* end confdefs.h. */
76496 #include <math.h>
76498 main ()
76500 _fmodl(0, 0);
76502 return 0;
76504 _ACEOF
76505 if ac_fn_cxx_try_compile "$LINENO"; then :
76506 glibcxx_cv_func__fmodl_use=yes
76507 else
76508 glibcxx_cv_func__fmodl_use=no
76510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76511 ac_ext=c
76512 ac_cpp='$CPP $CPPFLAGS'
76513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76522 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76524 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76525 for ac_func in _fmodl
76526 do :
76527 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76528 if test "x$ac_cv_func__fmodl" = x""yes; then :
76529 cat >>confdefs.h <<_ACEOF
76530 #define HAVE__FMODL 1
76531 _ACEOF
76534 done
76543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76544 $as_echo_n "checking for frexpl declaration... " >&6; }
76545 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76546 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76547 $as_echo_n "(cached) " >&6
76548 else
76551 ac_ext=cpp
76552 ac_cpp='$CXXCPP $CPPFLAGS'
76553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76558 /* end confdefs.h. */
76559 #include <math.h>
76561 main ()
76563 frexpl(0, 0);
76565 return 0;
76567 _ACEOF
76568 if ac_fn_cxx_try_compile "$LINENO"; then :
76569 glibcxx_cv_func_frexpl_use=yes
76570 else
76571 glibcxx_cv_func_frexpl_use=no
76573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76574 ac_ext=c
76575 ac_cpp='$CPP $CPPFLAGS'
76576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76585 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76587 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76588 for ac_func in frexpl
76589 do :
76590 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76591 if test "x$ac_cv_func_frexpl" = x""yes; then :
76592 cat >>confdefs.h <<_ACEOF
76593 #define HAVE_FREXPL 1
76594 _ACEOF
76597 done
76599 else
76601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76602 $as_echo_n "checking for _frexpl declaration... " >&6; }
76603 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76604 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76605 $as_echo_n "(cached) " >&6
76606 else
76609 ac_ext=cpp
76610 ac_cpp='$CXXCPP $CPPFLAGS'
76611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76616 /* end confdefs.h. */
76617 #include <math.h>
76619 main ()
76621 _frexpl(0, 0);
76623 return 0;
76625 _ACEOF
76626 if ac_fn_cxx_try_compile "$LINENO"; then :
76627 glibcxx_cv_func__frexpl_use=yes
76628 else
76629 glibcxx_cv_func__frexpl_use=no
76631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76632 ac_ext=c
76633 ac_cpp='$CPP $CPPFLAGS'
76634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76643 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76645 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76646 for ac_func in _frexpl
76647 do :
76648 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76649 if test "x$ac_cv_func__frexpl" = x""yes; then :
76650 cat >>confdefs.h <<_ACEOF
76651 #define HAVE__FREXPL 1
76652 _ACEOF
76655 done
76664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76665 $as_echo_n "checking for hypotl declaration... " >&6; }
76666 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76667 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76668 $as_echo_n "(cached) " >&6
76669 else
76672 ac_ext=cpp
76673 ac_cpp='$CXXCPP $CPPFLAGS'
76674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76679 /* end confdefs.h. */
76680 #include <math.h>
76682 main ()
76684 hypotl(0, 0);
76686 return 0;
76688 _ACEOF
76689 if ac_fn_cxx_try_compile "$LINENO"; then :
76690 glibcxx_cv_func_hypotl_use=yes
76691 else
76692 glibcxx_cv_func_hypotl_use=no
76694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76695 ac_ext=c
76696 ac_cpp='$CPP $CPPFLAGS'
76697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76706 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76708 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76709 for ac_func in hypotl
76710 do :
76711 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76712 if test "x$ac_cv_func_hypotl" = x""yes; then :
76713 cat >>confdefs.h <<_ACEOF
76714 #define HAVE_HYPOTL 1
76715 _ACEOF
76718 done
76720 else
76722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76723 $as_echo_n "checking for _hypotl declaration... " >&6; }
76724 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76725 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76726 $as_echo_n "(cached) " >&6
76727 else
76730 ac_ext=cpp
76731 ac_cpp='$CXXCPP $CPPFLAGS'
76732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76737 /* end confdefs.h. */
76738 #include <math.h>
76740 main ()
76742 _hypotl(0, 0);
76744 return 0;
76746 _ACEOF
76747 if ac_fn_cxx_try_compile "$LINENO"; then :
76748 glibcxx_cv_func__hypotl_use=yes
76749 else
76750 glibcxx_cv_func__hypotl_use=no
76752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76753 ac_ext=c
76754 ac_cpp='$CPP $CPPFLAGS'
76755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76764 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76766 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76767 for ac_func in _hypotl
76768 do :
76769 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76770 if test "x$ac_cv_func__hypotl" = x""yes; then :
76771 cat >>confdefs.h <<_ACEOF
76772 #define HAVE__HYPOTL 1
76773 _ACEOF
76776 done
76785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76786 $as_echo_n "checking for ldexpl declaration... " >&6; }
76787 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76788 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76789 $as_echo_n "(cached) " >&6
76790 else
76793 ac_ext=cpp
76794 ac_cpp='$CXXCPP $CPPFLAGS'
76795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76800 /* end confdefs.h. */
76801 #include <math.h>
76803 main ()
76805 ldexpl(0, 0);
76807 return 0;
76809 _ACEOF
76810 if ac_fn_cxx_try_compile "$LINENO"; then :
76811 glibcxx_cv_func_ldexpl_use=yes
76812 else
76813 glibcxx_cv_func_ldexpl_use=no
76815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76816 ac_ext=c
76817 ac_cpp='$CPP $CPPFLAGS'
76818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76827 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76829 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76830 for ac_func in ldexpl
76831 do :
76832 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76833 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76834 cat >>confdefs.h <<_ACEOF
76835 #define HAVE_LDEXPL 1
76836 _ACEOF
76839 done
76841 else
76843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76844 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76845 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76846 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76847 $as_echo_n "(cached) " >&6
76848 else
76851 ac_ext=cpp
76852 ac_cpp='$CXXCPP $CPPFLAGS'
76853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76858 /* end confdefs.h. */
76859 #include <math.h>
76861 main ()
76863 _ldexpl(0, 0);
76865 return 0;
76867 _ACEOF
76868 if ac_fn_cxx_try_compile "$LINENO"; then :
76869 glibcxx_cv_func__ldexpl_use=yes
76870 else
76871 glibcxx_cv_func__ldexpl_use=no
76873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76874 ac_ext=c
76875 ac_cpp='$CPP $CPPFLAGS'
76876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
76885 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
76887 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76888 for ac_func in _ldexpl
76889 do :
76890 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
76891 if test "x$ac_cv_func__ldexpl" = x""yes; then :
76892 cat >>confdefs.h <<_ACEOF
76893 #define HAVE__LDEXPL 1
76894 _ACEOF
76897 done
76906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
76907 $as_echo_n "checking for logl declaration... " >&6; }
76908 if test x${glibcxx_cv_func_logl_use+set} != xset; then
76909 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
76910 $as_echo_n "(cached) " >&6
76911 else
76914 ac_ext=cpp
76915 ac_cpp='$CXXCPP $CPPFLAGS'
76916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76921 /* end confdefs.h. */
76922 #include <math.h>
76923 #ifdef HAVE_IEEEFP_H
76924 #include <ieeefp.h>
76925 #endif
76928 main ()
76930 logl(0);
76932 return 0;
76934 _ACEOF
76935 if ac_fn_cxx_try_compile "$LINENO"; then :
76936 glibcxx_cv_func_logl_use=yes
76937 else
76938 glibcxx_cv_func_logl_use=no
76940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76941 ac_ext=c
76942 ac_cpp='$CPP $CPPFLAGS'
76943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
76952 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
76954 if test x$glibcxx_cv_func_logl_use = x"yes"; then
76955 for ac_func in logl
76956 do :
76957 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
76958 if test "x$ac_cv_func_logl" = x""yes; then :
76959 cat >>confdefs.h <<_ACEOF
76960 #define HAVE_LOGL 1
76961 _ACEOF
76964 done
76966 else
76968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76969 $as_echo_n "checking for _logl declaration... " >&6; }
76970 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76971 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76972 $as_echo_n "(cached) " >&6
76973 else
76976 ac_ext=cpp
76977 ac_cpp='$CXXCPP $CPPFLAGS'
76978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76983 /* end confdefs.h. */
76984 #include <math.h>
76985 #ifdef HAVE_IEEEFP_H
76986 #include <ieeefp.h>
76987 #endif
76990 main ()
76992 _logl(0);
76994 return 0;
76996 _ACEOF
76997 if ac_fn_cxx_try_compile "$LINENO"; then :
76998 glibcxx_cv_func__logl_use=yes
76999 else
77000 glibcxx_cv_func__logl_use=no
77002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77003 ac_ext=c
77004 ac_cpp='$CPP $CPPFLAGS'
77005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77014 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77016 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77017 for ac_func in _logl
77018 do :
77019 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77020 if test "x$ac_cv_func__logl" = x""yes; then :
77021 cat >>confdefs.h <<_ACEOF
77022 #define HAVE__LOGL 1
77023 _ACEOF
77026 done
77035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77036 $as_echo_n "checking for log10l declaration... " >&6; }
77037 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77038 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77039 $as_echo_n "(cached) " >&6
77040 else
77043 ac_ext=cpp
77044 ac_cpp='$CXXCPP $CPPFLAGS'
77045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77050 /* end confdefs.h. */
77051 #include <math.h>
77052 #ifdef HAVE_IEEEFP_H
77053 #include <ieeefp.h>
77054 #endif
77057 main ()
77059 log10l(0);
77061 return 0;
77063 _ACEOF
77064 if ac_fn_cxx_try_compile "$LINENO"; then :
77065 glibcxx_cv_func_log10l_use=yes
77066 else
77067 glibcxx_cv_func_log10l_use=no
77069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77070 ac_ext=c
77071 ac_cpp='$CPP $CPPFLAGS'
77072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77081 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77083 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77084 for ac_func in log10l
77085 do :
77086 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77087 if test "x$ac_cv_func_log10l" = x""yes; then :
77088 cat >>confdefs.h <<_ACEOF
77089 #define HAVE_LOG10L 1
77090 _ACEOF
77093 done
77095 else
77097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77098 $as_echo_n "checking for _log10l declaration... " >&6; }
77099 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77100 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77101 $as_echo_n "(cached) " >&6
77102 else
77105 ac_ext=cpp
77106 ac_cpp='$CXXCPP $CPPFLAGS'
77107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77112 /* end confdefs.h. */
77113 #include <math.h>
77114 #ifdef HAVE_IEEEFP_H
77115 #include <ieeefp.h>
77116 #endif
77119 main ()
77121 _log10l(0);
77123 return 0;
77125 _ACEOF
77126 if ac_fn_cxx_try_compile "$LINENO"; then :
77127 glibcxx_cv_func__log10l_use=yes
77128 else
77129 glibcxx_cv_func__log10l_use=no
77131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77132 ac_ext=c
77133 ac_cpp='$CPP $CPPFLAGS'
77134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77143 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77145 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77146 for ac_func in _log10l
77147 do :
77148 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77149 if test "x$ac_cv_func__log10l" = x""yes; then :
77150 cat >>confdefs.h <<_ACEOF
77151 #define HAVE__LOG10L 1
77152 _ACEOF
77155 done
77164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77165 $as_echo_n "checking for modfl declaration... " >&6; }
77166 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77167 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77168 $as_echo_n "(cached) " >&6
77169 else
77172 ac_ext=cpp
77173 ac_cpp='$CXXCPP $CPPFLAGS'
77174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77179 /* end confdefs.h. */
77180 #include <math.h>
77182 main ()
77184 modfl(0, 0);
77186 return 0;
77188 _ACEOF
77189 if ac_fn_cxx_try_compile "$LINENO"; then :
77190 glibcxx_cv_func_modfl_use=yes
77191 else
77192 glibcxx_cv_func_modfl_use=no
77194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77195 ac_ext=c
77196 ac_cpp='$CPP $CPPFLAGS'
77197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77206 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77208 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77209 for ac_func in modfl
77210 do :
77211 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77212 if test "x$ac_cv_func_modfl" = x""yes; then :
77213 cat >>confdefs.h <<_ACEOF
77214 #define HAVE_MODFL 1
77215 _ACEOF
77218 done
77220 else
77222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77223 $as_echo_n "checking for _modfl declaration... " >&6; }
77224 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77225 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77226 $as_echo_n "(cached) " >&6
77227 else
77230 ac_ext=cpp
77231 ac_cpp='$CXXCPP $CPPFLAGS'
77232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77237 /* end confdefs.h. */
77238 #include <math.h>
77240 main ()
77242 _modfl(0, 0);
77244 return 0;
77246 _ACEOF
77247 if ac_fn_cxx_try_compile "$LINENO"; then :
77248 glibcxx_cv_func__modfl_use=yes
77249 else
77250 glibcxx_cv_func__modfl_use=no
77252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77253 ac_ext=c
77254 ac_cpp='$CPP $CPPFLAGS'
77255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77264 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77266 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77267 for ac_func in _modfl
77268 do :
77269 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77270 if test "x$ac_cv_func__modfl" = x""yes; then :
77271 cat >>confdefs.h <<_ACEOF
77272 #define HAVE__MODFL 1
77273 _ACEOF
77276 done
77285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77286 $as_echo_n "checking for powl declaration... " >&6; }
77287 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77288 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77289 $as_echo_n "(cached) " >&6
77290 else
77293 ac_ext=cpp
77294 ac_cpp='$CXXCPP $CPPFLAGS'
77295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77300 /* end confdefs.h. */
77301 #include <math.h>
77303 main ()
77305 powl(0, 0);
77307 return 0;
77309 _ACEOF
77310 if ac_fn_cxx_try_compile "$LINENO"; then :
77311 glibcxx_cv_func_powl_use=yes
77312 else
77313 glibcxx_cv_func_powl_use=no
77315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77316 ac_ext=c
77317 ac_cpp='$CPP $CPPFLAGS'
77318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77327 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77329 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77330 for ac_func in powl
77331 do :
77332 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77333 if test "x$ac_cv_func_powl" = x""yes; then :
77334 cat >>confdefs.h <<_ACEOF
77335 #define HAVE_POWL 1
77336 _ACEOF
77339 done
77341 else
77343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77344 $as_echo_n "checking for _powl declaration... " >&6; }
77345 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77346 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77347 $as_echo_n "(cached) " >&6
77348 else
77351 ac_ext=cpp
77352 ac_cpp='$CXXCPP $CPPFLAGS'
77353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77358 /* end confdefs.h. */
77359 #include <math.h>
77361 main ()
77363 _powl(0, 0);
77365 return 0;
77367 _ACEOF
77368 if ac_fn_cxx_try_compile "$LINENO"; then :
77369 glibcxx_cv_func__powl_use=yes
77370 else
77371 glibcxx_cv_func__powl_use=no
77373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77374 ac_ext=c
77375 ac_cpp='$CPP $CPPFLAGS'
77376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77385 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77387 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77388 for ac_func in _powl
77389 do :
77390 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77391 if test "x$ac_cv_func__powl" = x""yes; then :
77392 cat >>confdefs.h <<_ACEOF
77393 #define HAVE__POWL 1
77394 _ACEOF
77397 done
77406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77407 $as_echo_n "checking for sqrtl declaration... " >&6; }
77408 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77409 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77410 $as_echo_n "(cached) " >&6
77411 else
77414 ac_ext=cpp
77415 ac_cpp='$CXXCPP $CPPFLAGS'
77416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77421 /* end confdefs.h. */
77422 #include <math.h>
77423 #ifdef HAVE_IEEEFP_H
77424 #include <ieeefp.h>
77425 #endif
77428 main ()
77430 sqrtl(0);
77432 return 0;
77434 _ACEOF
77435 if ac_fn_cxx_try_compile "$LINENO"; then :
77436 glibcxx_cv_func_sqrtl_use=yes
77437 else
77438 glibcxx_cv_func_sqrtl_use=no
77440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77441 ac_ext=c
77442 ac_cpp='$CPP $CPPFLAGS'
77443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77452 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77454 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77455 for ac_func in sqrtl
77456 do :
77457 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77458 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77459 cat >>confdefs.h <<_ACEOF
77460 #define HAVE_SQRTL 1
77461 _ACEOF
77464 done
77466 else
77468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77469 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77470 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77471 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77472 $as_echo_n "(cached) " >&6
77473 else
77476 ac_ext=cpp
77477 ac_cpp='$CXXCPP $CPPFLAGS'
77478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77483 /* end confdefs.h. */
77484 #include <math.h>
77485 #ifdef HAVE_IEEEFP_H
77486 #include <ieeefp.h>
77487 #endif
77490 main ()
77492 _sqrtl(0);
77494 return 0;
77496 _ACEOF
77497 if ac_fn_cxx_try_compile "$LINENO"; then :
77498 glibcxx_cv_func__sqrtl_use=yes
77499 else
77500 glibcxx_cv_func__sqrtl_use=no
77502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77503 ac_ext=c
77504 ac_cpp='$CPP $CPPFLAGS'
77505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77514 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77516 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77517 for ac_func in _sqrtl
77518 do :
77519 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77520 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77521 cat >>confdefs.h <<_ACEOF
77522 #define HAVE__SQRTL 1
77523 _ACEOF
77526 done
77535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77536 $as_echo_n "checking for sincosl declaration... " >&6; }
77537 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77538 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77539 $as_echo_n "(cached) " >&6
77540 else
77543 ac_ext=cpp
77544 ac_cpp='$CXXCPP $CPPFLAGS'
77545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77550 /* end confdefs.h. */
77551 #include <math.h>
77553 main ()
77555 sincosl(0, 0, 0);
77557 return 0;
77559 _ACEOF
77560 if ac_fn_cxx_try_compile "$LINENO"; then :
77561 glibcxx_cv_func_sincosl_use=yes
77562 else
77563 glibcxx_cv_func_sincosl_use=no
77565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77566 ac_ext=c
77567 ac_cpp='$CPP $CPPFLAGS'
77568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77577 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77579 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77580 for ac_func in sincosl
77581 do :
77582 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77583 if test "x$ac_cv_func_sincosl" = x""yes; then :
77584 cat >>confdefs.h <<_ACEOF
77585 #define HAVE_SINCOSL 1
77586 _ACEOF
77589 done
77591 else
77593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77594 $as_echo_n "checking for _sincosl declaration... " >&6; }
77595 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77596 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77597 $as_echo_n "(cached) " >&6
77598 else
77601 ac_ext=cpp
77602 ac_cpp='$CXXCPP $CPPFLAGS'
77603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77608 /* end confdefs.h. */
77609 #include <math.h>
77611 main ()
77613 _sincosl(0, 0, 0);
77615 return 0;
77617 _ACEOF
77618 if ac_fn_cxx_try_compile "$LINENO"; then :
77619 glibcxx_cv_func__sincosl_use=yes
77620 else
77621 glibcxx_cv_func__sincosl_use=no
77623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77624 ac_ext=c
77625 ac_cpp='$CPP $CPPFLAGS'
77626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77635 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77637 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77638 for ac_func in _sincosl
77639 do :
77640 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77641 if test "x$ac_cv_func__sincosl" = x""yes; then :
77642 cat >>confdefs.h <<_ACEOF
77643 #define HAVE__SINCOSL 1
77644 _ACEOF
77647 done
77656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77657 $as_echo_n "checking for finitel declaration... " >&6; }
77658 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77659 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77660 $as_echo_n "(cached) " >&6
77661 else
77664 ac_ext=cpp
77665 ac_cpp='$CXXCPP $CPPFLAGS'
77666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77671 /* end confdefs.h. */
77672 #include <math.h>
77673 #ifdef HAVE_IEEEFP_H
77674 #include <ieeefp.h>
77675 #endif
77678 main ()
77680 finitel(0);
77682 return 0;
77684 _ACEOF
77685 if ac_fn_cxx_try_compile "$LINENO"; then :
77686 glibcxx_cv_func_finitel_use=yes
77687 else
77688 glibcxx_cv_func_finitel_use=no
77690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77691 ac_ext=c
77692 ac_cpp='$CPP $CPPFLAGS'
77693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77702 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77704 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77705 for ac_func in finitel
77706 do :
77707 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77708 if test "x$ac_cv_func_finitel" = x""yes; then :
77709 cat >>confdefs.h <<_ACEOF
77710 #define HAVE_FINITEL 1
77711 _ACEOF
77714 done
77716 else
77718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77719 $as_echo_n "checking for _finitel declaration... " >&6; }
77720 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77721 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77722 $as_echo_n "(cached) " >&6
77723 else
77726 ac_ext=cpp
77727 ac_cpp='$CXXCPP $CPPFLAGS'
77728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77733 /* end confdefs.h. */
77734 #include <math.h>
77735 #ifdef HAVE_IEEEFP_H
77736 #include <ieeefp.h>
77737 #endif
77740 main ()
77742 _finitel(0);
77744 return 0;
77746 _ACEOF
77747 if ac_fn_cxx_try_compile "$LINENO"; then :
77748 glibcxx_cv_func__finitel_use=yes
77749 else
77750 glibcxx_cv_func__finitel_use=no
77752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77753 ac_ext=c
77754 ac_cpp='$CPP $CPPFLAGS'
77755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77764 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77766 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77767 for ac_func in _finitel
77768 do :
77769 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77770 if test "x$ac_cv_func__finitel" = x""yes; then :
77771 cat >>confdefs.h <<_ACEOF
77772 #define HAVE__FINITEL 1
77773 _ACEOF
77776 done
77784 LIBS="$ac_save_LIBS"
77785 CXXFLAGS="$ac_save_CXXFLAGS"
77788 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77789 ac_save_CXXFLAGS="$CXXFLAGS"
77790 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77794 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77795 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77796 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77797 $as_echo_n "(cached) " >&6
77798 else
77801 ac_ext=cpp
77802 ac_cpp='$CXXCPP $CPPFLAGS'
77803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77808 /* end confdefs.h. */
77809 #include <stdlib.h>
77811 main ()
77813 at_quick_exit(0);
77815 return 0;
77817 _ACEOF
77818 if ac_fn_cxx_try_compile "$LINENO"; then :
77819 glibcxx_cv_func_at_quick_exit_use=yes
77820 else
77821 glibcxx_cv_func_at_quick_exit_use=no
77823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77824 ac_ext=c
77825 ac_cpp='$CPP $CPPFLAGS'
77826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77835 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77836 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77837 for ac_func in at_quick_exit
77838 do :
77839 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77840 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77841 cat >>confdefs.h <<_ACEOF
77842 #define HAVE_AT_QUICK_EXIT 1
77843 _ACEOF
77846 done
77851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77852 $as_echo_n "checking for quick_exit declaration... " >&6; }
77853 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77854 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77855 $as_echo_n "(cached) " >&6
77856 else
77859 ac_ext=cpp
77860 ac_cpp='$CXXCPP $CPPFLAGS'
77861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77866 /* end confdefs.h. */
77867 #include <stdlib.h>
77869 main ()
77871 quick_exit(0);
77873 return 0;
77875 _ACEOF
77876 if ac_fn_cxx_try_compile "$LINENO"; then :
77877 glibcxx_cv_func_quick_exit_use=yes
77878 else
77879 glibcxx_cv_func_quick_exit_use=no
77881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77882 ac_ext=c
77883 ac_cpp='$CPP $CPPFLAGS'
77884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
77893 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
77894 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
77895 for ac_func in quick_exit
77896 do :
77897 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
77898 if test "x$ac_cv_func_quick_exit" = x""yes; then :
77899 cat >>confdefs.h <<_ACEOF
77900 #define HAVE_QUICK_EXIT 1
77901 _ACEOF
77904 done
77909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
77910 $as_echo_n "checking for strtold declaration... " >&6; }
77911 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
77912 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
77913 $as_echo_n "(cached) " >&6
77914 else
77917 ac_ext=cpp
77918 ac_cpp='$CXXCPP $CPPFLAGS'
77919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77924 /* end confdefs.h. */
77925 #include <stdlib.h>
77927 main ()
77929 strtold(0, 0);
77931 return 0;
77933 _ACEOF
77934 if ac_fn_cxx_try_compile "$LINENO"; then :
77935 glibcxx_cv_func_strtold_use=yes
77936 else
77937 glibcxx_cv_func_strtold_use=no
77939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77940 ac_ext=c
77941 ac_cpp='$CPP $CPPFLAGS'
77942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
77951 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
77952 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
77953 for ac_func in strtold
77954 do :
77955 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
77956 if test "x$ac_cv_func_strtold" = x""yes; then :
77957 cat >>confdefs.h <<_ACEOF
77958 #define HAVE_STRTOLD 1
77959 _ACEOF
77962 done
77969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77970 $as_echo_n "checking for strtof declaration... " >&6; }
77971 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77972 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77973 $as_echo_n "(cached) " >&6
77974 else
77977 ac_ext=cpp
77978 ac_cpp='$CXXCPP $CPPFLAGS'
77979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77984 /* end confdefs.h. */
77985 #include <stdlib.h>
77987 main ()
77989 strtof(0, 0);
77991 return 0;
77993 _ACEOF
77994 if ac_fn_cxx_try_compile "$LINENO"; then :
77995 glibcxx_cv_func_strtof_use=yes
77996 else
77997 glibcxx_cv_func_strtof_use=no
77999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78000 ac_ext=c
78001 ac_cpp='$CPP $CPPFLAGS'
78002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78011 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78012 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78013 for ac_func in strtof
78014 do :
78015 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78016 if test "x$ac_cv_func_strtof" = x""yes; then :
78017 cat >>confdefs.h <<_ACEOF
78018 #define HAVE_STRTOF 1
78019 _ACEOF
78022 done
78029 CXXFLAGS="$ac_save_CXXFLAGS"
78032 *-vxworks)
78033 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78035 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78037 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78039 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78041 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78043 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78045 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78047 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78049 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78051 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78053 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78055 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78057 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78059 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78061 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78063 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78065 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78067 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78069 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78071 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78075 as_fn_error "No support for this host/target combination." "$LINENO" 5
78077 esac
78081 # At some point, we should differentiate between architectures
78082 # like x86, which have long double versions, and alpha/powerpc/etc.,
78083 # which don't. For the time being, punt.
78084 if test x"long_double_math_on_this_cpu" = x"yes"; then
78085 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78087 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78089 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78091 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78093 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78095 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78097 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78099 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78101 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78103 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78105 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78107 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78109 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78111 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78113 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78115 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78117 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78119 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78121 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78123 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78125 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78127 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78129 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78134 # Check for _Unwind_GetIPInfo.
78137 # Check whether --with-system-libunwind was given.
78138 if test "${with_system_libunwind+set}" = set; then :
78139 withval=$with_system_libunwind;
78142 # If system-libunwind was not specifically set, pick a default setting.
78143 if test x$with_system_libunwind = x; then
78144 case ${target} in
78145 ia64-*-hpux*) with_system_libunwind=yes ;;
78146 *) with_system_libunwind=no ;;
78147 esac
78149 # Based on system-libunwind and target, do we have ipinfo?
78150 if test x$with_system_libunwind = xyes; then
78151 case ${target} in
78152 ia64-*-*) have_unwind_getipinfo=no ;;
78153 *) have_unwind_getipinfo=yes ;;
78154 esac
78155 else
78156 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78158 case ${target} in
78159 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78160 *) have_unwind_getipinfo=yes ;;
78161 esac
78165 if test x$have_unwind_getipinfo = xyes; then
78167 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78172 # Check whether --enable-linux-futex was given.
78173 if test "${enable_linux_futex+set}" = set; then :
78174 enableval=$enable_linux_futex;
78175 case "$enableval" in
78176 yes|no|default) ;;
78177 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78178 esac
78180 else
78181 enable_linux_futex=default
78185 case "$target" in
78186 *-linux*)
78187 case "$enable_linux_futex" in
78188 default)
78189 # If headers don't have gettid/futex syscalls definition, then
78190 # default to no, otherwise there will be compile time failures.
78191 # Otherwise, default to yes. If we don't detect we are
78192 # compiled/linked against NPTL and not cross-compiling, check
78193 # if programs are run by default against NPTL and if not, issue
78194 # a warning.
78195 enable_linux_futex=no
78196 if test x$gcc_no_link = xyes; then
78197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78200 /* end confdefs.h. */
78201 #include <sys/syscall.h>
78202 int lk;
78204 main ()
78206 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78208 return 0;
78210 _ACEOF
78211 if ac_fn_c_try_link "$LINENO"; then :
78212 save_LIBS="$LIBS"
78213 LIBS="-lpthread $LIBS"
78214 if test x$gcc_no_link = xyes; then
78215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78218 /* end confdefs.h. */
78219 #ifndef _GNU_SOURCE
78220 #define _GNU_SOURCE 1
78221 #endif
78222 #include <pthread.h>
78223 pthread_t th; void *status;
78225 main ()
78227 pthread_tryjoin_np (th, &status);
78229 return 0;
78231 _ACEOF
78232 if ac_fn_c_try_link "$LINENO"; then :
78233 enable_linux_futex=yes
78234 else
78235 if test x$cross_compiling = xno; then
78236 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78237 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78239 If so, please configure with --disable-linux-futex" >&5
78240 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78241 If so, please configure with --disable-linux-futex" >&2;}
78244 enable_linux_futex=yes
78246 rm -f core conftest.err conftest.$ac_objext \
78247 conftest$ac_exeext conftest.$ac_ext
78248 LIBS="$save_LIBS"
78250 rm -f core conftest.err conftest.$ac_objext \
78251 conftest$ac_exeext conftest.$ac_ext
78253 yes)
78254 if test x$gcc_no_link = xyes; then
78255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78258 /* end confdefs.h. */
78259 #include <sys/syscall.h>
78260 int lk;
78262 main ()
78264 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78266 return 0;
78268 _ACEOF
78269 if ac_fn_c_try_link "$LINENO"; then :
78271 else
78272 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78274 rm -f core conftest.err conftest.$ac_objext \
78275 conftest$ac_exeext conftest.$ac_ext
78277 esac
78280 enable_linux_futex=no
78282 esac
78283 if test x$enable_linux_futex = xyes; then
78285 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78292 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78294 acx_cv_header_stdint=stddef.h
78295 acx_cv_header_stdint_kind="(already complete)"
78296 for i in stdint.h $inttype_headers; do
78297 unset ac_cv_type_uintptr_t
78298 unset ac_cv_type_uintmax_t
78299 unset ac_cv_type_int_least32_t
78300 unset ac_cv_type_int_fast32_t
78301 unset ac_cv_type_uint64_t
78302 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78303 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78304 #include <$i>
78306 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78307 acx_cv_header_stdint=$i
78308 else
78309 continue
78312 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78313 #include <$i>
78315 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78317 else
78318 acx_cv_header_stdint_kind="(mostly complete)"
78321 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78322 #include <$i>
78324 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78326 else
78327 acx_cv_header_stdint_kind="(mostly complete)"
78330 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78331 #include <$i>
78333 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78335 else
78336 acx_cv_header_stdint_kind="(mostly complete)"
78339 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78340 #include <$i>
78342 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78344 else
78345 acx_cv_header_stdint_kind="(lacks uint64_t)"
78348 break
78349 done
78350 if test "$acx_cv_header_stdint" = stddef.h; then
78351 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78352 for i in stdint.h $inttype_headers; do
78353 unset ac_cv_type_uintptr_t
78354 unset ac_cv_type_uint32_t
78355 unset ac_cv_type_uint64_t
78356 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78357 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78358 #include <$i>
78360 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78361 acx_cv_header_stdint=$i
78362 else
78363 continue
78366 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78367 #include <$i>
78369 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78373 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78374 #include <$i>
78376 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78380 break
78381 done
78383 if test "$acx_cv_header_stdint" = stddef.h; then
78384 acx_cv_header_stdint_kind="(u_intXX_t style)"
78385 for i in sys/types.h $inttype_headers; do
78386 unset ac_cv_type_u_int32_t
78387 unset ac_cv_type_u_int64_t
78388 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78389 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78390 #include <$i>
78392 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78393 acx_cv_header_stdint=$i
78394 else
78395 continue
78398 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78399 #include <$i>
78401 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78405 break
78406 done
78408 if test "$acx_cv_header_stdint" = stddef.h; then
78409 acx_cv_header_stdint_kind="(using manual detection)"
78412 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78413 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78414 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78415 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78416 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78418 # ----------------- Summarize what we found so far
78420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78421 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78423 case `$as_basename -- include/gstdint.h ||
78424 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78425 Xinclude/gstdint.h : 'X\(//\)$' \| \
78426 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78427 $as_echo X/include/gstdint.h |
78428 sed '/^.*\/\([^/][^/]*\)\/*$/{
78429 s//\1/
78432 /^X\/\(\/\/\)$/{
78433 s//\1/
78436 /^X\/\(\/\).*/{
78437 s//\1/
78440 s/.*/./; q'` in
78441 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78442 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78443 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78444 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78445 *) ;;
78446 esac
78448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78449 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78451 # ----------------- done included file, check C basic types --------
78453 # Lacking an uintptr_t? Test size of void *
78454 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78455 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78456 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78457 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78458 # This bug is HP SR number 8606223364.
78459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78460 $as_echo_n "checking size of void *... " >&6; }
78461 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78462 $as_echo_n "(cached) " >&6
78463 else
78464 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78466 else
78467 if test "$ac_cv_type_void_p" = yes; then
78468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78470 { as_fn_set_status 77
78471 as_fn_error "cannot compute sizeof (void *)
78472 See \`config.log' for more details." "$LINENO" 5; }; }
78473 else
78474 ac_cv_sizeof_void_p=0
78479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78480 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78484 cat >>confdefs.h <<_ACEOF
78485 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78486 _ACEOF
78489 esac
78491 # Lacking an uint64_t? Test size of long
78492 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78493 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78494 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78495 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78496 # This bug is HP SR number 8606223364.
78497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78498 $as_echo_n "checking size of long... " >&6; }
78499 if test "${ac_cv_sizeof_long+set}" = set; then :
78500 $as_echo_n "(cached) " >&6
78501 else
78502 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78504 else
78505 if test "$ac_cv_type_long" = yes; then
78506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78508 { as_fn_set_status 77
78509 as_fn_error "cannot compute sizeof (long)
78510 See \`config.log' for more details." "$LINENO" 5; }; }
78511 else
78512 ac_cv_sizeof_long=0
78517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78518 $as_echo "$ac_cv_sizeof_long" >&6; }
78522 cat >>confdefs.h <<_ACEOF
78523 #define SIZEOF_LONG $ac_cv_sizeof_long
78524 _ACEOF
78527 esac
78529 if test $acx_cv_header_stdint = stddef.h; then
78530 # Lacking a good header? Test size of everything and deduce all types.
78531 # The cast to long int works around a bug in the HP C Compiler
78532 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78533 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78534 # This bug is HP SR number 8606223364.
78535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78536 $as_echo_n "checking size of int... " >&6; }
78537 if test "${ac_cv_sizeof_int+set}" = set; then :
78538 $as_echo_n "(cached) " >&6
78539 else
78540 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78542 else
78543 if test "$ac_cv_type_int" = yes; then
78544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78546 { as_fn_set_status 77
78547 as_fn_error "cannot compute sizeof (int)
78548 See \`config.log' for more details." "$LINENO" 5; }; }
78549 else
78550 ac_cv_sizeof_int=0
78555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78556 $as_echo "$ac_cv_sizeof_int" >&6; }
78560 cat >>confdefs.h <<_ACEOF
78561 #define SIZEOF_INT $ac_cv_sizeof_int
78562 _ACEOF
78565 # The cast to long int works around a bug in the HP C Compiler
78566 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78567 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78568 # This bug is HP SR number 8606223364.
78569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78570 $as_echo_n "checking size of short... " >&6; }
78571 if test "${ac_cv_sizeof_short+set}" = set; then :
78572 $as_echo_n "(cached) " >&6
78573 else
78574 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78576 else
78577 if test "$ac_cv_type_short" = yes; then
78578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78580 { as_fn_set_status 77
78581 as_fn_error "cannot compute sizeof (short)
78582 See \`config.log' for more details." "$LINENO" 5; }; }
78583 else
78584 ac_cv_sizeof_short=0
78589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78590 $as_echo "$ac_cv_sizeof_short" >&6; }
78594 cat >>confdefs.h <<_ACEOF
78595 #define SIZEOF_SHORT $ac_cv_sizeof_short
78596 _ACEOF
78599 # The cast to long int works around a bug in the HP C Compiler
78600 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78601 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78602 # This bug is HP SR number 8606223364.
78603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78604 $as_echo_n "checking size of char... " >&6; }
78605 if test "${ac_cv_sizeof_char+set}" = set; then :
78606 $as_echo_n "(cached) " >&6
78607 else
78608 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78610 else
78611 if test "$ac_cv_type_char" = yes; then
78612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78614 { as_fn_set_status 77
78615 as_fn_error "cannot compute sizeof (char)
78616 See \`config.log' for more details." "$LINENO" 5; }; }
78617 else
78618 ac_cv_sizeof_char=0
78623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78624 $as_echo "$ac_cv_sizeof_char" >&6; }
78628 cat >>confdefs.h <<_ACEOF
78629 #define SIZEOF_CHAR $ac_cv_sizeof_char
78630 _ACEOF
78634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78635 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78636 case "$ac_cv_sizeof_char" in
78637 1) acx_cv_type_int8_t=char ;;
78638 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78639 esac
78640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78641 $as_echo "$acx_cv_type_int8_t" >&6; }
78643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78644 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78645 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78646 2:*) acx_cv_type_int16_t=int ;;
78647 *:2) acx_cv_type_int16_t=short ;;
78648 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78649 esac
78650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78651 $as_echo "$acx_cv_type_int16_t" >&6; }
78653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78654 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78655 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78656 4:*) acx_cv_type_int32_t=int ;;
78657 *:4) acx_cv_type_int32_t=long ;;
78658 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78659 esac
78660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78661 $as_echo "$acx_cv_type_int32_t" >&6; }
78664 # These tests are here to make the output prettier
78666 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78667 case "$ac_cv_sizeof_long" in
78668 8) acx_cv_type_int64_t=long ;;
78669 esac
78670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78671 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78673 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78676 # Now we can use the above types
78678 if test "$ac_cv_type_uintptr_t" != yes; then
78679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78680 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78681 case $ac_cv_sizeof_void_p in
78682 2) acx_cv_type_intptr_t=int16_t ;;
78683 4) acx_cv_type_intptr_t=int32_t ;;
78684 8) acx_cv_type_intptr_t=int64_t ;;
78685 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78686 esac
78687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78688 $as_echo "$acx_cv_type_intptr_t" >&6; }
78691 # ----------------- done all checks, emit header -------------
78692 ac_config_commands="$ac_config_commands include/gstdint.h"
78698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78699 $as_echo_n "checking for GNU c++filt... " >&6; }
78700 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78701 $as_echo_n "(cached) " >&6
78702 else
78703 if test -z "$CXXFILT"; then
78704 ac_path_CXXFILT_found=false
78705 # Loop through the user's path and test for each of PROGNAME-LIST
78706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78707 for as_dir in $PATH
78709 IFS=$as_save_IFS
78710 test -z "$as_dir" && as_dir=.
78711 for ac_prog in c++filt gc++filt; do
78712 for ac_exec_ext in '' $ac_executable_extensions; do
78713 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78714 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78715 # Check for GNU $ac_path_CXXFILT
78716 case `"$ac_path_CXXFILT" --version 2>&1` in
78717 *GNU*)
78718 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78719 esac
78721 $ac_path_CXXFILT_found && break 3
78722 done
78723 done
78724 done
78725 IFS=$as_save_IFS
78726 if test -z "$ac_cv_path_CXXFILT"; then
78729 else
78730 ac_cv_path_CXXFILT=$CXXFILT
78734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78735 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78736 CXXFILT=$ac_cv_path_CXXFILT
78740 # Check whether --enable-symvers was given.
78741 if test "${enable_symvers+set}" = set; then :
78742 enableval=$enable_symvers;
78743 case "$enableval" in
78744 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78745 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78746 esac
78748 else
78749 enable_symvers=yes
78754 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78755 # don't know enough about $LD to do tricks...
78757 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78758 # with extern "C++" in version scripts.
78761 # Turn a 'yes' into a suitable default.
78762 if test x$enable_symvers = xyes ; then
78763 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78764 enable_symvers=no
78765 else
78766 if test $with_gnu_ld = yes ; then
78767 case ${target_os} in
78768 hpux*)
78769 enable_symvers=no ;;
78771 enable_symvers=gnu ;;
78772 esac
78773 else
78774 case ${target_os} in
78775 darwin*)
78776 enable_symvers=darwin ;;
78777 # Sun symbol versioning exists since Solaris 2.5.
78778 solaris2.[5-9]* | solaris2.1[0-9]*)
78779 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78780 # version scripts, so disable symbol versioning if none can be
78781 # found.
78782 if test -z "$ac_cv_path_CXXFILT"; then
78783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78784 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78786 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78788 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78789 enable_symvers=no
78790 else
78791 enable_symvers=sun
78795 enable_symvers=no ;;
78796 esac
78801 # Check to see if 'darwin' or 'darwin-export' can win.
78802 if test x$enable_symvers = xdarwin-export ; then
78803 enable_symvers=darwin
78806 # Check if 'sun' was requested on non-Solaris 2 platforms.
78807 if test x$enable_symvers = xsun ; then
78808 case ${target_os} in
78809 solaris2*)
78810 # All fine.
78813 # Unlikely to work.
78814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78815 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78817 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78819 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78820 enable_symvers=no
78822 esac
78825 # Check to see if 'gnu' can win.
78826 if test $enable_symvers = gnu ||
78827 test $enable_symvers = gnu-versioned-namespace ||
78828 test $enable_symvers = sun; then
78829 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78831 $as_echo_n "checking for shared libgcc... " >&6; }
78832 ac_save_CFLAGS="$CFLAGS"
78833 CFLAGS=' -lgcc_s'
78834 if test x$gcc_no_link = xyes; then
78835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78838 /* end confdefs.h. */
78841 main ()
78843 return 0;
78845 return 0;
78847 _ACEOF
78848 if ac_fn_c_try_link "$LINENO"; then :
78849 glibcxx_shared_libgcc=yes
78850 else
78851 glibcxx_shared_libgcc=no
78853 rm -f core conftest.err conftest.$ac_objext \
78854 conftest$ac_exeext conftest.$ac_ext
78855 CFLAGS="$ac_save_CFLAGS"
78856 if test $glibcxx_shared_libgcc = no; then
78857 cat > conftest.c <<EOF
78858 int main (void) { return 0; }
78860 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78861 -shared -shared-libgcc -o conftest.so \
78862 conftest.c -v 2>&1 >/dev/null \
78863 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
78864 rm -f conftest.c conftest.so
78865 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
78866 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
78867 if test x$gcc_no_link = xyes; then
78868 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78871 /* end confdefs.h. */
78874 main ()
78876 return 0;
78878 return 0;
78880 _ACEOF
78881 if ac_fn_c_try_link "$LINENO"; then :
78882 glibcxx_shared_libgcc=yes
78884 rm -f core conftest.err conftest.$ac_objext \
78885 conftest$ac_exeext conftest.$ac_ext
78886 CFLAGS="$ac_save_CFLAGS"
78889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
78890 $as_echo "$glibcxx_shared_libgcc" >&6; }
78892 # For GNU ld, we need at least this version. The format is described in
78893 # GLIBCXX_CHECK_LINKER_FEATURES above.
78894 glibcxx_min_gnu_ld_version=21400
78896 # If no shared libgcc, can't win.
78897 if test $glibcxx_shared_libgcc != yes; then
78898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78899 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
78901 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
78902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78903 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78904 enable_symvers=no
78905 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
78906 : All interesting versions of Sun ld support sun style symbol versioning.
78907 elif test $with_gnu_ld != yes ; then
78908 # just fail for now
78909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78910 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
78912 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
78913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78914 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78915 enable_symvers=no
78916 elif test $glibcxx_ld_is_gold = yes ; then
78917 : All versions of gold support symbol versioning.
78918 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
78919 # The right tools, the right setup, but too old. Fallbacks?
78920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
78921 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
78922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
78923 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
78924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
78925 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
78926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
78927 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
78928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78929 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78930 enable_symvers=no
78934 # For libtool versioning info, format is CURRENT:REVISION:AGE
78935 libtool_VERSION=6:22:0
78937 # Everything parsed; figure out what files and settings to use.
78938 case $enable_symvers in
78940 SYMVER_FILE=config/abi/pre/none.ver
78942 gnu)
78943 SYMVER_FILE=config/abi/pre/gnu.ver
78945 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
78948 gnu-versioned-namespace)
78949 libtool_VERSION=7:0:0
78950 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
78952 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
78955 darwin)
78956 SYMVER_FILE=config/abi/pre/gnu.ver
78958 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78961 sun)
78962 SYMVER_FILE=config/abi/pre/gnu.ver
78964 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78967 esac
78969 if test x$enable_symvers != xno ; then
78971 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78976 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78977 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78978 $as_echo_n "(cached) " >&6
78979 else
78981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78982 /* end confdefs.h. */
78983 void foo (void); __asm (".symver foo, bar@SYMVER");
78985 main ()
78989 return 0;
78991 _ACEOF
78992 if ac_fn_c_try_compile "$LINENO"; then :
78993 glibcxx_cv_have_as_symver_directive=yes
78994 else
78995 glibcxx_cv_have_as_symver_directive=no
78997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79000 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79001 if test $glibcxx_cv_have_as_symver_directive = yes; then
79003 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79014 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79015 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79017 if test $enable_symvers != no ; then
79018 case ${target_os} in
79019 # The Solaris 2 runtime linker doesn't support the GNU extension of
79020 # binding the same symbol to different versions
79021 solaris2*)
79023 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79026 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79029 esac
79032 # Now, set up compatibility support, if any.
79033 # In addition, need this to deal with std::size_t mangling in
79034 # src/compatibility.cc. In a perfect world, could use
79035 # typeid(std::size_t).name()[0] to do direct substitution.
79036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79037 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79038 ac_save_CFLAGS="$CFLAGS"
79039 CFLAGS="-Werror"
79040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79041 /* end confdefs.h. */
79044 main ()
79046 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79048 return 0;
79050 _ACEOF
79051 if ac_fn_c_try_compile "$LINENO"; then :
79052 glibcxx_size_t_is_i=yes
79053 else
79054 glibcxx_size_t_is_i=no
79056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79057 CFLAGS=$ac_save_CFLAGS
79058 if test "$glibcxx_size_t_is_i" = yes; then
79060 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79064 $as_echo "$glibcxx_size_t_is_i" >&6; }
79066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79067 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79068 ac_save_CFLAGS="$CFLAGS"
79069 CFLAGS="-Werror"
79070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79071 /* end confdefs.h. */
79074 main ()
79076 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79078 return 0;
79080 _ACEOF
79081 if ac_fn_c_try_compile "$LINENO"; then :
79082 glibcxx_ptrdiff_t_is_i=yes
79083 else
79084 glibcxx_ptrdiff_t_is_i=no
79086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79087 CFLAGS=$ac_save_CFLAGS
79088 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79090 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79094 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79099 # Check whether --enable-libstdcxx-visibility was given.
79100 if test "${enable_libstdcxx_visibility+set}" = set; then :
79101 enableval=$enable_libstdcxx_visibility;
79102 case "$enableval" in
79103 yes|no) ;;
79104 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79105 esac
79107 else
79108 enable_libstdcxx_visibility=yes
79113 if test x$enable_libstdcxx_visibility = xyes ; then
79114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79115 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79116 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79117 $as_echo_n "(cached) " >&6
79118 else
79120 save_CFLAGS="$CFLAGS"
79121 CFLAGS="$CFLAGS -Werror"
79122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79123 /* end confdefs.h. */
79124 void __attribute__((visibility("hidden"))) foo(void) { }
79126 main ()
79130 return 0;
79132 _ACEOF
79133 if ac_fn_c_try_compile "$LINENO"; then :
79134 glibcxx_cv_have_attribute_visibility=yes
79135 else
79136 glibcxx_cv_have_attribute_visibility=no
79138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79139 CFLAGS="$save_CFLAGS"
79141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79142 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79143 if test $glibcxx_cv_have_attribute_visibility = no; then
79144 enable_libstdcxx_visibility=no
79149 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79150 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79154 # Check whether --enable-libstdcxx-dual-abi was given.
79155 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79156 enableval=$enable_libstdcxx_dual_abi;
79157 case "$enableval" in
79158 yes|no) ;;
79159 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79160 esac
79162 else
79163 enable_libstdcxx_dual_abi=yes
79167 if test x$enable_symvers = xgnu-versioned-namespace; then
79168 # gnu-versioned-namespace is incompatible with the dual ABI.
79169 enable_libstdcxx_dual_abi="no"
79171 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79172 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79173 $as_echo "$as_me: dual ABI is disabled" >&6;}
79174 default_libstdcxx_abi="gcc4-compatible"
79179 if test x$enable_libstdcxx_dual_abi = xyes; then
79180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79181 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79183 # Check whether --with-default-libstdcxx-abi was given.
79184 if test "${with_default_libstdcxx_abi+set}" = set; then :
79185 withval=$with_default_libstdcxx_abi; case "$withval" in
79186 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79187 new|cxx11) default_libstdcxx_abi="new" ;;
79188 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79189 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79190 esac
79192 else
79193 default_libstdcxx_abi="new"
79196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79197 $as_echo "${default_libstdcxx_abi}" >&6; }
79199 if test $default_libstdcxx_abi = "new"; then
79200 glibcxx_cxx11_abi=1
79201 glibcxx_cxx98_abi=0
79202 else
79203 glibcxx_cxx11_abi=0
79204 glibcxx_cxx98_abi=1
79210 ac_ldbl_compat=no
79211 case "$target" in
79212 powerpc*-*-linux* | \
79213 sparc*-*-linux* | \
79214 s390*-*-linux* | \
79215 alpha*-*-linux*)
79216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79217 /* end confdefs.h. */
79220 main ()
79223 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79224 #error no need for long double compatibility
79225 #endif
79228 return 0;
79230 _ACEOF
79231 if ac_fn_c_try_compile "$LINENO"; then :
79232 ac_ldbl_compat=yes
79233 else
79234 ac_ldbl_compat=no
79236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79237 if test "$ac_ldbl_compat" = yes; then
79239 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79241 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79243 esac
79246 # Check if assembler supports disabling hardware capability support.
79248 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
79250 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79251 # with a different meaning.
79252 case ${target_os} in
79253 solaris2*)
79254 ac_save_CFLAGS="$CFLAGS"
79255 CFLAGS="$CFLAGS -Wa,-nH"
79257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79258 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79260 /* end confdefs.h. */
79263 main ()
79265 return 0;
79267 return 0;
79269 _ACEOF
79270 if ac_fn_c_try_compile "$LINENO"; then :
79271 ac_hwcap_flags=yes
79272 else
79273 ac_hwcap_flags=no
79275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79276 if test "$ac_hwcap_flags" = "yes"; then
79277 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
79279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79280 $as_echo "$ac_hwcap_flags" >&6; }
79282 CFLAGS="$ac_save_CFLAGS"
79284 esac
79289 # Check if assembler supports rdrand opcode.
79291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79292 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79293 if test "${ac_cv_x86_rdrand+set}" = set; then :
79294 $as_echo_n "(cached) " >&6
79295 else
79297 ac_cv_x86_rdrand=no
79298 case "$target" in
79299 i?86-*-* | \
79300 x86_64-*-*)
79301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79302 /* end confdefs.h. */
79305 main ()
79307 asm("rdrand %eax");
79309 return 0;
79311 _ACEOF
79312 if ac_fn_c_try_compile "$LINENO"; then :
79313 ac_cv_x86_rdrand=yes
79314 else
79315 ac_cv_x86_rdrand=no
79317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79318 esac
79322 if test $ac_cv_x86_rdrand = yes; then
79324 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79328 $as_echo "$ac_cv_x86_rdrand" >&6; }
79331 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79333 if $GLIBCXX_IS_NATIVE ; then
79334 # Do checks for resource limit functions.
79336 setrlimit_have_headers=yes
79337 for ac_header in unistd.h sys/time.h sys/resource.h
79338 do :
79339 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79340 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79341 eval as_val=\$$as_ac_Header
79342 if test "x$as_val" = x""yes; then :
79343 cat >>confdefs.h <<_ACEOF
79344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79345 _ACEOF
79347 else
79348 setrlimit_have_headers=no
79351 done
79353 # If don't have the headers, then we can't run the tests now, and we
79354 # won't be seeing any of these during testsuite compilation.
79355 if test $setrlimit_have_headers = yes; then
79356 # Can't do these in a loop, else the resulting syntax is wrong.
79358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79359 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79361 /* end confdefs.h. */
79362 #include <unistd.h>
79363 #include <sys/time.h>
79364 #include <sys/resource.h>
79367 main ()
79369 int f = RLIMIT_DATA ;
79371 return 0;
79373 _ACEOF
79374 if ac_fn_c_try_compile "$LINENO"; then :
79375 glibcxx_mresult=1
79376 else
79377 glibcxx_mresult=0
79379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79381 cat >>confdefs.h <<_ACEOF
79382 #define HAVE_LIMIT_DATA $glibcxx_mresult
79383 _ACEOF
79385 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79387 $as_echo "$res" >&6; }
79390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79391 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79393 /* end confdefs.h. */
79394 #include <unistd.h>
79395 #include <sys/time.h>
79396 #include <sys/resource.h>
79399 main ()
79401 int f = RLIMIT_RSS ;
79403 return 0;
79405 _ACEOF
79406 if ac_fn_c_try_compile "$LINENO"; then :
79407 glibcxx_mresult=1
79408 else
79409 glibcxx_mresult=0
79411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79413 cat >>confdefs.h <<_ACEOF
79414 #define HAVE_LIMIT_RSS $glibcxx_mresult
79415 _ACEOF
79417 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79419 $as_echo "$res" >&6; }
79422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79423 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79425 /* end confdefs.h. */
79426 #include <unistd.h>
79427 #include <sys/time.h>
79428 #include <sys/resource.h>
79431 main ()
79433 int f = RLIMIT_VMEM ;
79435 return 0;
79437 _ACEOF
79438 if ac_fn_c_try_compile "$LINENO"; then :
79439 glibcxx_mresult=1
79440 else
79441 glibcxx_mresult=0
79443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79445 cat >>confdefs.h <<_ACEOF
79446 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79447 _ACEOF
79449 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79451 $as_echo "$res" >&6; }
79454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79455 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79457 /* end confdefs.h. */
79458 #include <unistd.h>
79459 #include <sys/time.h>
79460 #include <sys/resource.h>
79463 main ()
79465 int f = RLIMIT_AS ;
79467 return 0;
79469 _ACEOF
79470 if ac_fn_c_try_compile "$LINENO"; then :
79471 glibcxx_mresult=1
79472 else
79473 glibcxx_mresult=0
79475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79477 cat >>confdefs.h <<_ACEOF
79478 #define HAVE_LIMIT_AS $glibcxx_mresult
79479 _ACEOF
79481 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79483 $as_echo "$res" >&6; }
79486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79487 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79489 /* end confdefs.h. */
79490 #include <unistd.h>
79491 #include <sys/time.h>
79492 #include <sys/resource.h>
79495 main ()
79497 int f = RLIMIT_FSIZE ;
79499 return 0;
79501 _ACEOF
79502 if ac_fn_c_try_compile "$LINENO"; then :
79503 glibcxx_mresult=1
79504 else
79505 glibcxx_mresult=0
79507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79509 cat >>confdefs.h <<_ACEOF
79510 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79511 _ACEOF
79513 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79515 $as_echo "$res" >&6; }
79518 # Check for rlimit, setrlimit.
79519 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79520 $as_echo_n "(cached) " >&6
79521 else
79523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79524 /* end confdefs.h. */
79525 #include <unistd.h>
79526 #include <sys/time.h>
79527 #include <sys/resource.h>
79530 main ()
79532 struct rlimit r;
79533 setrlimit(0, &r);
79535 return 0;
79537 _ACEOF
79538 if ac_fn_c_try_compile "$LINENO"; then :
79539 glibcxx_cv_setrlimit=yes
79540 else
79541 glibcxx_cv_setrlimit=no
79543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79550 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79551 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79552 ac_res_limits=yes
79554 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79556 else
79557 ac_res_limits=no
79559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79560 $as_echo "$ac_res_limits" >&6; }
79563 # Look for setenv, so that extended locale tests can be performed.
79565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79566 $as_echo_n "checking for setenv declaration... " >&6; }
79567 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79568 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79569 $as_echo_n "(cached) " >&6
79570 else
79573 ac_ext=cpp
79574 ac_cpp='$CXXCPP $CPPFLAGS'
79575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79580 /* end confdefs.h. */
79581 #include <stdlib.h>
79583 main ()
79585 setenv(0, 0, 0);
79587 return 0;
79589 _ACEOF
79590 if ac_fn_cxx_try_compile "$LINENO"; then :
79591 glibcxx_cv_func_setenv_use=yes
79592 else
79593 glibcxx_cv_func_setenv_use=no
79595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79596 ac_ext=c
79597 ac_cpp='$CPP $CPPFLAGS'
79598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79607 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79608 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79609 for ac_func in setenv
79610 do :
79611 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79612 if test "x$ac_cv_func_setenv" = x""yes; then :
79613 cat >>confdefs.h <<_ACEOF
79614 #define HAVE_SETENV 1
79615 _ACEOF
79618 done
79624 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79625 test $enable_symvers != no; then
79626 case "$host" in
79627 *-*-cygwin*)
79628 enable_abi_check=no ;;
79630 enable_abi_check=yes ;;
79631 esac
79632 else
79633 # Only build this as native, since automake does not understand
79634 # CXX_FOR_BUILD.
79635 enable_abi_check=no
79638 # Export file names for ABI checking.
79639 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79641 baseline_subdir_switch="$abi_baseline_subdir_switch"
79645 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79647 # Check whether --enable-libstdcxx-threads was given.
79648 if test "${enable_libstdcxx_threads+set}" = set; then :
79649 enableval=$enable_libstdcxx_threads;
79650 case "$enableval" in
79651 yes|no) ;;
79652 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79653 esac
79655 else
79656 enable_libstdcxx_threads=auto
79661 if test x$enable_libstdcxx_threads = xauto ||
79662 test x$enable_libstdcxx_threads = xyes; then
79665 ac_ext=cpp
79666 ac_cpp='$CXXCPP $CPPFLAGS'
79667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79672 ac_save_CXXFLAGS="$CXXFLAGS"
79673 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79674 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79676 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79677 case $target_thread_file in
79678 posix)
79679 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79680 esac
79682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79683 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79686 /* end confdefs.h. */
79687 #include <unistd.h>
79689 main ()
79692 // In case of POSIX threads check _POSIX_TIMEOUTS.
79693 #if (defined(_PTHREADS) \
79694 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79695 #error
79696 #endif
79699 return 0;
79701 _ACEOF
79702 if ac_fn_cxx_try_compile "$LINENO"; then :
79703 ac_gthread_use_mutex_timedlock=1
79704 else
79705 ac_gthread_use_mutex_timedlock=0
79707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79710 cat >>confdefs.h <<_ACEOF
79711 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79712 _ACEOF
79715 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79716 else res_mutex_timedlock=no ; fi
79717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79718 $as_echo "$res_mutex_timedlock" >&6; }
79720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79721 $as_echo_n "checking for gthreads library... " >&6; }
79723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79724 /* end confdefs.h. */
79725 #include "gthr.h"
79727 main ()
79730 #ifndef __GTHREADS_CXX0X
79731 #error
79732 #endif
79735 return 0;
79737 _ACEOF
79738 if ac_fn_cxx_try_compile "$LINENO"; then :
79739 ac_has_gthreads=yes
79740 else
79741 ac_has_gthreads=no
79743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79744 else
79745 ac_has_gthreads=no
79748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79749 $as_echo "$ac_has_gthreads" >&6; }
79751 if test x"$ac_has_gthreads" = x"yes"; then
79753 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79756 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79757 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79759 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79761 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79767 CXXFLAGS="$ac_save_CXXFLAGS"
79768 ac_ext=c
79769 ac_cpp='$CPP $CPPFLAGS'
79770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79776 # For Filesystem TS.
79777 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79778 do :
79779 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79780 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79781 eval as_val=\$$as_ac_Header
79782 if test "x$as_val" = x""yes; then :
79783 cat >>confdefs.h <<_ACEOF
79784 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79785 _ACEOF
79789 done
79792 # Check whether --enable-libstdcxx-filesystem-ts was given.
79793 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79794 enableval=$enable_libstdcxx_filesystem_ts;
79795 case "$enableval" in
79796 yes|no|auto) ;;
79797 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79798 esac
79800 else
79801 enable_libstdcxx_filesystem_ts=auto
79806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79807 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79808 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79809 enable_libstdcxx_filesystem_ts=no
79811 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79812 case "${target_os}" in
79813 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79814 enable_libstdcxx_filesystem_ts=yes
79816 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79817 enable_libstdcxx_filesystem_ts=yes
79819 solaris*)
79820 enable_libstdcxx_filesystem_ts=yes
79823 enable_libstdcxx_filesystem_ts=no
79825 esac
79827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79828 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79832 ac_ext=cpp
79833 ac_cpp='$CXXCPP $CPPFLAGS'
79834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79838 ac_save_CXXFLAGS="$CXXFLAGS"
79839 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79841 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79842 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79843 $as_echo_n "(cached) " >&6
79844 else
79845 if test x$gcc_no_link = xyes; then
79846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79847 /* end confdefs.h. */
79848 #include <dirent.h>
79850 main ()
79853 struct dirent d;
79854 if (sizeof d.d_type) return 0;
79857 return 0;
79859 _ACEOF
79860 if ac_fn_cxx_try_compile "$LINENO"; then :
79861 glibcxx_cv_dirent_d_type=yes
79862 else
79863 glibcxx_cv_dirent_d_type=no
79865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79866 else
79867 if test x$gcc_no_link = xyes; then
79868 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79871 /* end confdefs.h. */
79872 #include <dirent.h>
79874 main ()
79877 struct dirent d;
79878 if (sizeof d.d_type) return 0;
79881 return 0;
79883 _ACEOF
79884 if ac_fn_cxx_try_link "$LINENO"; then :
79885 glibcxx_cv_dirent_d_type=yes
79886 else
79887 glibcxx_cv_dirent_d_type=no
79889 rm -f core conftest.err conftest.$ac_objext \
79890 conftest$ac_exeext conftest.$ac_ext
79895 if test $glibcxx_cv_dirent_d_type = yes; then
79897 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
79900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
79901 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
79902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
79903 $as_echo_n "checking for realpath... " >&6; }
79904 if test "${glibcxx_cv_realpath+set}" = set; then :
79905 $as_echo_n "(cached) " >&6
79906 else
79907 if test x$gcc_no_link = xyes; then
79908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79909 /* end confdefs.h. */
79911 #include <stdlib.h>
79912 #include <unistd.h>
79915 main ()
79918 #if _XOPEN_VERSION < 500
79919 #error
79920 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
79921 char *tmp = realpath((const char*)NULL, (char*)NULL);
79922 #else
79923 #error
79924 #endif
79927 return 0;
79929 _ACEOF
79930 if ac_fn_cxx_try_compile "$LINENO"; then :
79931 glibcxx_cv_realpath=yes
79932 else
79933 glibcxx_cv_realpath=no
79935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79936 else
79937 if test x$gcc_no_link = xyes; then
79938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79941 /* end confdefs.h. */
79943 #include <stdlib.h>
79944 #include <unistd.h>
79947 main ()
79950 #if _XOPEN_VERSION < 500
79951 #error
79952 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
79953 char *tmp = realpath((const char*)NULL, (char*)NULL);
79954 #else
79955 #error
79956 #endif
79959 return 0;
79961 _ACEOF
79962 if ac_fn_cxx_try_link "$LINENO"; then :
79963 glibcxx_cv_realpath=yes
79964 else
79965 glibcxx_cv_realpath=no
79967 rm -f core conftest.err conftest.$ac_objext \
79968 conftest$ac_exeext conftest.$ac_ext
79973 if test $glibcxx_cv_realpath = yes; then
79975 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
79978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
79979 $as_echo "$glibcxx_cv_realpath" >&6; }
79980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
79981 $as_echo_n "checking for utimensat... " >&6; }
79982 if test "${glibcxx_cv_utimensat+set}" = set; then :
79983 $as_echo_n "(cached) " >&6
79984 else
79985 if test x$gcc_no_link = xyes; then
79986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79987 /* end confdefs.h. */
79989 #include <fcntl.h>
79990 #include <sys/stat.h>
79993 main ()
79996 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79997 int i = utimensat(AT_FDCWD, "path", ts, 0);
80000 return 0;
80002 _ACEOF
80003 if ac_fn_cxx_try_compile "$LINENO"; then :
80004 glibcxx_cv_utimensat=yes
80005 else
80006 glibcxx_cv_utimensat=no
80008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80009 else
80010 if test x$gcc_no_link = xyes; then
80011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80014 /* end confdefs.h. */
80016 #include <fcntl.h>
80017 #include <sys/stat.h>
80020 main ()
80023 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80024 int i = utimensat(AT_FDCWD, "path", ts, 0);
80027 return 0;
80029 _ACEOF
80030 if ac_fn_cxx_try_link "$LINENO"; then :
80031 glibcxx_cv_utimensat=yes
80032 else
80033 glibcxx_cv_utimensat=no
80035 rm -f core conftest.err conftest.$ac_objext \
80036 conftest$ac_exeext conftest.$ac_ext
80041 if test $glibcxx_cv_utimensat = yes; then
80043 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80047 $as_echo "$glibcxx_cv_utimensat" >&6; }
80048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80049 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80050 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80051 $as_echo_n "(cached) " >&6
80052 else
80053 if test x$gcc_no_link = xyes; then
80054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80055 /* end confdefs.h. */
80056 #include <sys/stat.h>
80058 main ()
80061 struct stat st;
80062 return st.st_mtim.tv_nsec;
80065 return 0;
80067 _ACEOF
80068 if ac_fn_cxx_try_compile "$LINENO"; then :
80069 glibcxx_cv_st_mtim=yes
80070 else
80071 glibcxx_cv_st_mtim=no
80073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80074 else
80075 if test x$gcc_no_link = xyes; then
80076 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80079 /* end confdefs.h. */
80080 #include <sys/stat.h>
80082 main ()
80085 struct stat st;
80086 return st.st_mtim.tv_nsec;
80089 return 0;
80091 _ACEOF
80092 if ac_fn_cxx_try_link "$LINENO"; then :
80093 glibcxx_cv_st_mtim=yes
80094 else
80095 glibcxx_cv_st_mtim=no
80097 rm -f core conftest.err conftest.$ac_objext \
80098 conftest$ac_exeext conftest.$ac_ext
80103 if test $glibcxx_cv_st_mtim = yes; then
80105 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80109 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80111 $as_echo_n "checking for fchmod... " >&6; }
80112 if test "${glibcxx_cv_fchmod+set}" = set; then :
80113 $as_echo_n "(cached) " >&6
80114 else
80115 if test x$gcc_no_link = xyes; then
80116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80117 /* end confdefs.h. */
80118 #include <sys/stat.h>
80120 main ()
80122 fchmod(1, S_IWUSR);
80124 return 0;
80126 _ACEOF
80127 if ac_fn_cxx_try_compile "$LINENO"; then :
80128 glibcxx_cv_fchmod=yes
80129 else
80130 glibcxx_cv_fchmod=no
80132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80133 else
80134 if test x$gcc_no_link = xyes; then
80135 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80138 /* end confdefs.h. */
80139 #include <sys/stat.h>
80141 main ()
80143 fchmod(1, S_IWUSR);
80145 return 0;
80147 _ACEOF
80148 if ac_fn_cxx_try_link "$LINENO"; then :
80149 glibcxx_cv_fchmod=yes
80150 else
80151 glibcxx_cv_fchmod=no
80153 rm -f core conftest.err conftest.$ac_objext \
80154 conftest$ac_exeext conftest.$ac_ext
80159 if test $glibcxx_cv_fchmod = yes; then
80161 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80165 $as_echo "$glibcxx_cv_fchmod" >&6; }
80166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80167 $as_echo_n "checking for fchmodat... " >&6; }
80168 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80169 $as_echo_n "(cached) " >&6
80170 else
80171 if test x$gcc_no_link = xyes; then
80172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80173 /* end confdefs.h. */
80175 #include <fcntl.h>
80176 #include <sys/stat.h>
80179 main ()
80181 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80183 return 0;
80185 _ACEOF
80186 if ac_fn_cxx_try_compile "$LINENO"; then :
80187 glibcxx_cv_fchmodat=yes
80188 else
80189 glibcxx_cv_fchmodat=no
80191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80192 else
80193 if test x$gcc_no_link = xyes; then
80194 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80197 /* end confdefs.h. */
80199 #include <fcntl.h>
80200 #include <sys/stat.h>
80203 main ()
80205 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80207 return 0;
80209 _ACEOF
80210 if ac_fn_cxx_try_link "$LINENO"; then :
80211 glibcxx_cv_fchmodat=yes
80212 else
80213 glibcxx_cv_fchmodat=no
80215 rm -f core conftest.err conftest.$ac_objext \
80216 conftest$ac_exeext conftest.$ac_ext
80221 if test $glibcxx_cv_fchmodat = yes; then
80223 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80227 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80229 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80230 if test "${glibcxx_cv_sendfile+set}" = set; then :
80231 $as_echo_n "(cached) " >&6
80232 else
80233 case "${target_os}" in
80234 gnu* | linux* | solaris*)
80235 if test x$gcc_no_link = xyes; then
80236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80237 /* end confdefs.h. */
80238 #include <sys/sendfile.h>
80240 main ()
80242 sendfile(1, 2, (off_t*)NULL, sizeof 1);
80244 return 0;
80246 _ACEOF
80247 if ac_fn_cxx_try_compile "$LINENO"; then :
80248 glibcxx_cv_sendfile=yes
80249 else
80250 glibcxx_cv_sendfile=no
80252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80253 else
80254 if test x$gcc_no_link = xyes; then
80255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80258 /* end confdefs.h. */
80259 #include <sys/sendfile.h>
80261 main ()
80263 sendfile(1, 2, (off_t*)NULL, sizeof 1);
80265 return 0;
80267 _ACEOF
80268 if ac_fn_cxx_try_link "$LINENO"; then :
80269 glibcxx_cv_sendfile=yes
80270 else
80271 glibcxx_cv_sendfile=no
80273 rm -f core conftest.err conftest.$ac_objext \
80274 conftest$ac_exeext conftest.$ac_ext
80278 glibcxx_cv_sendfile=no
80280 esac
80284 if test $glibcxx_cv_sendfile = yes; then
80286 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80290 $as_echo "$glibcxx_cv_sendfile" >&6; }
80291 CXXFLAGS="$ac_save_CXXFLAGS"
80292 ac_ext=c
80293 ac_cpp='$CPP $CPPFLAGS'
80294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80300 # For Transactional Memory TS
80302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80303 $as_echo_n "checking how size_t is mangled... " >&6; }
80304 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80305 $as_echo_n "(cached) " >&6
80306 else
80308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80309 /* end confdefs.h. */
80312 main ()
80314 extern __SIZE_TYPE__ x; extern unsigned long x;
80316 return 0;
80318 _ACEOF
80319 if ac_fn_c_try_compile "$LINENO"; then :
80320 glibcxx_cv_size_t_mangling=m
80321 else
80323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80324 /* end confdefs.h. */
80327 main ()
80329 extern __SIZE_TYPE__ x; extern unsigned int x;
80331 return 0;
80333 _ACEOF
80334 if ac_fn_c_try_compile "$LINENO"; then :
80335 glibcxx_cv_size_t_mangling=j
80336 else
80338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80339 /* end confdefs.h. */
80342 main ()
80344 extern __SIZE_TYPE__ x; extern unsigned long long x;
80346 return 0;
80348 _ACEOF
80349 if ac_fn_c_try_compile "$LINENO"; then :
80350 glibcxx_cv_size_t_mangling=y
80351 else
80353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80354 /* end confdefs.h. */
80357 main ()
80359 extern __SIZE_TYPE__ x; extern unsigned short x;
80361 return 0;
80363 _ACEOF
80364 if ac_fn_c_try_compile "$LINENO"; then :
80365 glibcxx_cv_size_t_mangling=t
80366 else
80367 glibcxx_cv_size_t_mangling=x
80369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80382 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80383 if test $glibcxx_cv_size_t_mangling = x; then
80384 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80387 cat >>confdefs.h <<_ACEOF
80388 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80389 _ACEOF
80393 # Define documentation rules conditionally.
80395 # See if makeinfo has been installed and is modern enough
80396 # that we can use it.
80398 # Extract the first word of "makeinfo", so it can be a program name with args.
80399 set dummy makeinfo; ac_word=$2
80400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80401 $as_echo_n "checking for $ac_word... " >&6; }
80402 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80403 $as_echo_n "(cached) " >&6
80404 else
80405 if test -n "$MAKEINFO"; then
80406 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80407 else
80408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80409 for as_dir in $PATH
80411 IFS=$as_save_IFS
80412 test -z "$as_dir" && as_dir=.
80413 for ac_exec_ext in '' $ac_executable_extensions; do
80414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80415 ac_cv_prog_MAKEINFO="makeinfo"
80416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80417 break 2
80419 done
80420 done
80421 IFS=$as_save_IFS
80425 MAKEINFO=$ac_cv_prog_MAKEINFO
80426 if test -n "$MAKEINFO"; then
80427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80428 $as_echo "$MAKEINFO" >&6; }
80429 else
80430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80431 $as_echo "no" >&6; }
80435 if test -n "$MAKEINFO"; then
80436 # Found it, now check the version.
80437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80438 $as_echo_n "checking for modern makeinfo... " >&6; }
80439 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80440 $as_echo_n "(cached) " >&6
80441 else
80442 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80443 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80445 case $ac_prog_version in
80446 '') gcc_cv_prog_makeinfo_modern=no;;
80447 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80448 *) gcc_cv_prog_makeinfo_modern=no;;
80449 esac
80452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80453 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80454 else
80455 gcc_cv_prog_makeinfo_modern=no
80457 if test $gcc_cv_prog_makeinfo_modern = no; then
80458 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80461 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80462 BUILD_INFO_TRUE=
80463 BUILD_INFO_FALSE='#'
80464 else
80465 BUILD_INFO_TRUE='#'
80466 BUILD_INFO_FALSE=
80470 # Check for doxygen
80471 # Extract the first word of "doxygen", so it can be a program name with args.
80472 set dummy doxygen; ac_word=$2
80473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80474 $as_echo_n "checking for $ac_word... " >&6; }
80475 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80476 $as_echo_n "(cached) " >&6
80477 else
80478 if test -n "$DOXYGEN"; then
80479 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80480 else
80481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80482 for as_dir in $PATH
80484 IFS=$as_save_IFS
80485 test -z "$as_dir" && as_dir=.
80486 for ac_exec_ext in '' $ac_executable_extensions; do
80487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80488 ac_cv_prog_DOXYGEN="yes"
80489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80490 break 2
80492 done
80493 done
80494 IFS=$as_save_IFS
80496 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80499 DOXYGEN=$ac_cv_prog_DOXYGEN
80500 if test -n "$DOXYGEN"; then
80501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80502 $as_echo "$DOXYGEN" >&6; }
80503 else
80504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80505 $as_echo "no" >&6; }
80509 # Extract the first word of "dot", so it can be a program name with args.
80510 set dummy dot; ac_word=$2
80511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80512 $as_echo_n "checking for $ac_word... " >&6; }
80513 if test "${ac_cv_prog_DOT+set}" = set; then :
80514 $as_echo_n "(cached) " >&6
80515 else
80516 if test -n "$DOT"; then
80517 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80518 else
80519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80520 for as_dir in $PATH
80522 IFS=$as_save_IFS
80523 test -z "$as_dir" && as_dir=.
80524 for ac_exec_ext in '' $ac_executable_extensions; do
80525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80526 ac_cv_prog_DOT="yes"
80527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80528 break 2
80530 done
80531 done
80532 IFS=$as_save_IFS
80534 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80537 DOT=$ac_cv_prog_DOT
80538 if test -n "$DOT"; then
80539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80540 $as_echo "$DOT" >&6; }
80541 else
80542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80543 $as_echo "no" >&6; }
80548 # Check for docbook
80549 # Extract the first word of "xsltproc", so it can be a program name with args.
80550 set dummy xsltproc; ac_word=$2
80551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80552 $as_echo_n "checking for $ac_word... " >&6; }
80553 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80554 $as_echo_n "(cached) " >&6
80555 else
80556 if test -n "$XSLTPROC"; then
80557 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80558 else
80559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80560 for as_dir in $PATH
80562 IFS=$as_save_IFS
80563 test -z "$as_dir" && as_dir=.
80564 for ac_exec_ext in '' $ac_executable_extensions; do
80565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80566 ac_cv_prog_XSLTPROC="yes"
80567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80568 break 2
80570 done
80571 done
80572 IFS=$as_save_IFS
80574 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80577 XSLTPROC=$ac_cv_prog_XSLTPROC
80578 if test -n "$XSLTPROC"; then
80579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80580 $as_echo "$XSLTPROC" >&6; }
80581 else
80582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80583 $as_echo "no" >&6; }
80587 # Extract the first word of "xmllint", so it can be a program name with args.
80588 set dummy xmllint; ac_word=$2
80589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80590 $as_echo_n "checking for $ac_word... " >&6; }
80591 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80592 $as_echo_n "(cached) " >&6
80593 else
80594 if test -n "$XMLLINT"; then
80595 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80596 else
80597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80598 for as_dir in $PATH
80600 IFS=$as_save_IFS
80601 test -z "$as_dir" && as_dir=.
80602 for ac_exec_ext in '' $ac_executable_extensions; do
80603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80604 ac_cv_prog_XMLLINT="yes"
80605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80606 break 2
80608 done
80609 done
80610 IFS=$as_save_IFS
80612 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80615 XMLLINT=$ac_cv_prog_XMLLINT
80616 if test -n "$XMLLINT"; then
80617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80618 $as_echo "$XMLLINT" >&6; }
80619 else
80620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80621 $as_echo "no" >&6; }
80627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80628 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80629 glibcxx_stylesheets=no
80630 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
80631 glibcxx_stylesheets=yes
80633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80634 $as_echo "$glibcxx_stylesheets" >&6; }
80636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80637 $as_echo_n "checking for local stylesheet directory... " >&6; }
80638 glibcxx_local_stylesheets=no
80639 if test x"$glibcxx_stylesheets" = x"yes"; then
80640 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80641 glibcxx_local_stylesheets=yes
80642 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80644 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80645 glibcxx_local_stylesheets=yes
80646 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80648 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80649 glibcxx_local_stylesheets=yes
80650 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80654 $as_echo "$glibcxx_local_stylesheets" >&6; }
80656 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80658 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80659 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80660 else
80661 glibcxx_stylesheets=no
80664 # Check for epub3 dependencies.
80665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80666 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80667 glibcxx_epub_stylesheets=no
80668 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80669 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80670 glibcxx_epub_stylesheets=yes
80673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80674 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80675 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80676 BUILD_EPUB_TRUE=
80677 BUILD_EPUB_FALSE='#'
80678 else
80679 BUILD_EPUB_TRUE='#'
80680 BUILD_EPUB_FALSE=
80686 # Check for xml/html dependencies.
80687 if test $ac_cv_prog_DOXYGEN = "yes" &&
80688 test $ac_cv_prog_DOT = "yes" &&
80689 test $ac_cv_prog_XSLTPROC = "yes" &&
80690 test $ac_cv_prog_XMLLINT = "yes" &&
80691 test $glibcxx_stylesheets = "yes"; then
80692 BUILD_XML_TRUE=
80693 BUILD_XML_FALSE='#'
80694 else
80695 BUILD_XML_TRUE='#'
80696 BUILD_XML_FALSE=
80700 if test $ac_cv_prog_DOXYGEN = "yes" &&
80701 test $ac_cv_prog_DOT = "yes" &&
80702 test $ac_cv_prog_XSLTPROC = "yes" &&
80703 test $ac_cv_prog_XMLLINT = "yes" &&
80704 test $glibcxx_stylesheets = "yes"; then
80705 BUILD_HTML_TRUE=
80706 BUILD_HTML_FALSE='#'
80707 else
80708 BUILD_HTML_TRUE='#'
80709 BUILD_HTML_FALSE=
80713 # Check for man dependencies.
80714 if test $ac_cv_prog_DOXYGEN = "yes" &&
80715 test $ac_cv_prog_DOT = "yes"; then
80716 BUILD_MAN_TRUE=
80717 BUILD_MAN_FALSE='#'
80718 else
80719 BUILD_MAN_TRUE='#'
80720 BUILD_MAN_FALSE=
80724 # Check for pdf dependencies.
80725 # Extract the first word of "dblatex", so it can be a program name with args.
80726 set dummy dblatex; ac_word=$2
80727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80728 $as_echo_n "checking for $ac_word... " >&6; }
80729 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
80730 $as_echo_n "(cached) " >&6
80731 else
80732 if test -n "$DBLATEX"; then
80733 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
80734 else
80735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80736 for as_dir in $PATH
80738 IFS=$as_save_IFS
80739 test -z "$as_dir" && as_dir=.
80740 for ac_exec_ext in '' $ac_executable_extensions; do
80741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80742 ac_cv_prog_DBLATEX="yes"
80743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80744 break 2
80746 done
80747 done
80748 IFS=$as_save_IFS
80750 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
80753 DBLATEX=$ac_cv_prog_DBLATEX
80754 if test -n "$DBLATEX"; then
80755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
80756 $as_echo "$DBLATEX" >&6; }
80757 else
80758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80759 $as_echo "no" >&6; }
80763 # Extract the first word of "pdflatex", so it can be a program name with args.
80764 set dummy pdflatex; ac_word=$2
80765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80766 $as_echo_n "checking for $ac_word... " >&6; }
80767 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
80768 $as_echo_n "(cached) " >&6
80769 else
80770 if test -n "$PDFLATEX"; then
80771 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
80772 else
80773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80774 for as_dir in $PATH
80776 IFS=$as_save_IFS
80777 test -z "$as_dir" && as_dir=.
80778 for ac_exec_ext in '' $ac_executable_extensions; do
80779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80780 ac_cv_prog_PDFLATEX="yes"
80781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80782 break 2
80784 done
80785 done
80786 IFS=$as_save_IFS
80788 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
80791 PDFLATEX=$ac_cv_prog_PDFLATEX
80792 if test -n "$PDFLATEX"; then
80793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
80794 $as_echo "$PDFLATEX" >&6; }
80795 else
80796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80797 $as_echo "no" >&6; }
80801 if test $ac_cv_prog_DBLATEX = "yes" &&
80802 test $ac_cv_prog_PDFLATEX = "yes"; then
80803 BUILD_PDF_TRUE=
80804 BUILD_PDF_FALSE='#'
80805 else
80806 BUILD_PDF_TRUE='#'
80807 BUILD_PDF_FALSE=
80812 # Propagate the target-specific source directories through the build chain.
80813 ATOMICITY_SRCDIR=config/${atomicity_dir}
80814 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
80815 ATOMIC_FLAGS=${atomic_flags}
80816 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
80817 OS_INC_SRCDIR=config/${os_include_dir}
80818 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
80819 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
80820 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
80821 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
80833 # Determine cross-compile flags and AM_CONDITIONALs.
80834 #AC_SUBST(GLIBCXX_IS_NATIVE)
80835 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
80836 if test $is_hosted = yes; then
80837 GLIBCXX_HOSTED_TRUE=
80838 GLIBCXX_HOSTED_FALSE='#'
80839 else
80840 GLIBCXX_HOSTED_TRUE='#'
80841 GLIBCXX_HOSTED_FALSE=
80845 if test $enable_libstdcxx_pch = yes; then
80846 GLIBCXX_BUILD_PCH_TRUE=
80847 GLIBCXX_BUILD_PCH_FALSE='#'
80848 else
80849 GLIBCXX_BUILD_PCH_TRUE='#'
80850 GLIBCXX_BUILD_PCH_FALSE=
80854 if test $enable_libstdcxx_allocator_flag = new; then
80855 ENABLE_ALLOCATOR_NEW_TRUE=
80856 ENABLE_ALLOCATOR_NEW_FALSE='#'
80857 else
80858 ENABLE_ALLOCATOR_NEW_TRUE='#'
80859 ENABLE_ALLOCATOR_NEW_FALSE=
80863 if test $enable_cheaders = c; then
80864 GLIBCXX_C_HEADERS_C_TRUE=
80865 GLIBCXX_C_HEADERS_C_FALSE='#'
80866 else
80867 GLIBCXX_C_HEADERS_C_TRUE='#'
80868 GLIBCXX_C_HEADERS_C_FALSE=
80872 if test $enable_cheaders = c_std; then
80873 GLIBCXX_C_HEADERS_C_STD_TRUE=
80874 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
80875 else
80876 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
80877 GLIBCXX_C_HEADERS_C_STD_FALSE=
80881 if test $enable_cheaders = c_global; then
80882 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
80883 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
80884 else
80885 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
80886 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
80890 if test $c_compatibility = yes; then
80891 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
80892 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
80893 else
80894 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
80895 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
80899 if test $enable_libstdcxx_debug = yes; then
80900 GLIBCXX_BUILD_DEBUG_TRUE=
80901 GLIBCXX_BUILD_DEBUG_FALSE='#'
80902 else
80903 GLIBCXX_BUILD_DEBUG_TRUE='#'
80904 GLIBCXX_BUILD_DEBUG_FALSE=
80908 if test $enable_extern_template = yes; then
80909 ENABLE_EXTERN_TEMPLATE_TRUE=
80910 ENABLE_EXTERN_TEMPLATE_FALSE='#'
80911 else
80912 ENABLE_EXTERN_TEMPLATE_TRUE='#'
80913 ENABLE_EXTERN_TEMPLATE_FALSE=
80917 if test $python_mod_dir != no; then
80918 ENABLE_PYTHONDIR_TRUE=
80919 ENABLE_PYTHONDIR_FALSE='#'
80920 else
80921 ENABLE_PYTHONDIR_TRUE='#'
80922 ENABLE_PYTHONDIR_FALSE=
80926 if test $enable_werror = yes; then
80927 ENABLE_WERROR_TRUE=
80928 ENABLE_WERROR_FALSE='#'
80929 else
80930 ENABLE_WERROR_TRUE='#'
80931 ENABLE_WERROR_FALSE=
80935 if test $enable_vtable_verify = yes; then
80936 ENABLE_VTABLE_VERIFY_TRUE=
80937 ENABLE_VTABLE_VERIFY_FALSE='#'
80938 else
80939 ENABLE_VTABLE_VERIFY_TRUE='#'
80940 ENABLE_VTABLE_VERIFY_FALSE=
80944 if test $enable_symvers != no; then
80945 ENABLE_SYMVERS_TRUE=
80946 ENABLE_SYMVERS_FALSE='#'
80947 else
80948 ENABLE_SYMVERS_TRUE='#'
80949 ENABLE_SYMVERS_FALSE=
80953 if test $enable_symvers = gnu; then
80954 ENABLE_SYMVERS_GNU_TRUE=
80955 ENABLE_SYMVERS_GNU_FALSE='#'
80956 else
80957 ENABLE_SYMVERS_GNU_TRUE='#'
80958 ENABLE_SYMVERS_GNU_FALSE=
80962 if test $enable_symvers = gnu-versioned-namespace; then
80963 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
80964 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
80965 else
80966 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
80967 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
80971 if test $enable_symvers = darwin; then
80972 ENABLE_SYMVERS_DARWIN_TRUE=
80973 ENABLE_SYMVERS_DARWIN_FALSE='#'
80974 else
80975 ENABLE_SYMVERS_DARWIN_TRUE='#'
80976 ENABLE_SYMVERS_DARWIN_FALSE=
80980 if test $enable_symvers = sun; then
80981 ENABLE_SYMVERS_SUN_TRUE=
80982 ENABLE_SYMVERS_SUN_FALSE='#'
80983 else
80984 ENABLE_SYMVERS_SUN_TRUE='#'
80985 ENABLE_SYMVERS_SUN_FALSE=
80989 if test $enable_libstdcxx_visibility = yes; then
80990 ENABLE_VISIBILITY_TRUE=
80991 ENABLE_VISIBILITY_FALSE='#'
80992 else
80993 ENABLE_VISIBILITY_TRUE='#'
80994 ENABLE_VISIBILITY_FALSE=
80998 if test $enable_libstdcxx_dual_abi = yes; then
80999 ENABLE_DUAL_ABI_TRUE=
81000 ENABLE_DUAL_ABI_FALSE='#'
81001 else
81002 ENABLE_DUAL_ABI_TRUE='#'
81003 ENABLE_DUAL_ABI_FALSE=
81007 if test $glibcxx_cxx11_abi = 1; then
81008 ENABLE_CXX11_ABI_TRUE=
81009 ENABLE_CXX11_ABI_FALSE='#'
81010 else
81011 ENABLE_CXX11_ABI_TRUE='#'
81012 ENABLE_CXX11_ABI_FALSE=
81016 if test $ac_ldbl_compat = yes; then
81017 GLIBCXX_LDBL_COMPAT_TRUE=
81018 GLIBCXX_LDBL_COMPAT_FALSE='#'
81019 else
81020 GLIBCXX_LDBL_COMPAT_TRUE='#'
81021 GLIBCXX_LDBL_COMPAT_FALSE=
81025 if test $enable_libstdcxx_filesystem_ts = yes; then
81026 ENABLE_FILESYSTEM_TS_TRUE=
81027 ENABLE_FILESYSTEM_TS_FALSE='#'
81028 else
81029 ENABLE_FILESYSTEM_TS_TRUE='#'
81030 ENABLE_FILESYSTEM_TS_FALSE=
81036 cat >confcache <<\_ACEOF
81037 # This file is a shell script that caches the results of configure
81038 # tests run on this system so they can be shared between configure
81039 # scripts and configure runs, see configure's option --config-cache.
81040 # It is not useful on other systems. If it contains results you don't
81041 # want to keep, you may remove or edit it.
81043 # config.status only pays attention to the cache file if you give it
81044 # the --recheck option to rerun configure.
81046 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81047 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81048 # following values.
81050 _ACEOF
81052 # The following way of writing the cache mishandles newlines in values,
81053 # but we know of no workaround that is simple, portable, and efficient.
81054 # So, we kill variables containing newlines.
81055 # Ultrix sh set writes to stderr and can't be redirected directly,
81056 # and sets the high bit in the cache file unless we assign to the vars.
81058 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81059 eval ac_val=\$$ac_var
81060 case $ac_val in #(
81061 *${as_nl}*)
81062 case $ac_var in #(
81063 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81065 esac
81066 case $ac_var in #(
81067 _ | IFS | as_nl) ;; #(
81068 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81069 *) { eval $ac_var=; unset $ac_var;} ;;
81070 esac ;;
81071 esac
81072 done
81074 (set) 2>&1 |
81075 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81076 *${as_nl}ac_space=\ *)
81077 # `set' does not quote correctly, so add quotes: double-quote
81078 # substitution turns \\\\ into \\, and sed turns \\ into \.
81079 sed -n \
81080 "s/'/'\\\\''/g;
81081 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81082 ;; #(
81084 # `set' quotes correctly as required by POSIX, so do not add quotes.
81085 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81087 esac |
81088 sort
81090 sed '
81091 /^ac_cv_env_/b end
81092 t clear
81093 :clear
81094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81095 t end
81096 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81097 :end' >>confcache
81098 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81099 if test -w "$cache_file"; then
81100 test "x$cache_file" != "x/dev/null" &&
81101 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81102 $as_echo "$as_me: updating cache $cache_file" >&6;}
81103 cat confcache >$cache_file
81104 else
81105 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81106 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81109 rm -f confcache
81111 if test ${multilib} = yes; then
81112 multilib_arg="--enable-multilib"
81113 else
81114 multilib_arg=
81117 # Export all the install information.
81119 glibcxx_toolexecdir=no
81120 glibcxx_toolexeclibdir=no
81121 glibcxx_prefixdir=$prefix
81123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81124 $as_echo_n "checking for gxx-include-dir... " >&6; }
81126 # Check whether --with-gxx-include-dir was given.
81127 if test "${with_gxx_include_dir+set}" = set; then :
81128 withval=$with_gxx_include_dir; case "$withval" in
81129 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81130 no) gxx_include_dir=no ;;
81131 *) gxx_include_dir=$withval ;;
81132 esac
81133 else
81134 gxx_include_dir=no
81137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81138 $as_echo "$gxx_include_dir" >&6; }
81140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81141 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81142 # Check whether --enable-version-specific-runtime-libs was given.
81143 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81144 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81145 yes) version_specific_libs=yes ;;
81146 no) version_specific_libs=no ;;
81147 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81148 esac
81149 else
81150 version_specific_libs=no
81153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81154 $as_echo "$version_specific_libs" >&6; }
81156 # Default case for install directory for include files.
81157 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81158 gxx_include_dir='include/c++/${gcc_version}'
81159 if test -n "$with_cross_host" &&
81160 test x"$with_cross_host" != x"no"; then
81161 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81162 else
81163 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81167 # Version-specific runtime libs processing.
81168 if test $version_specific_libs = yes; then
81169 # Need the gcc compiler version to know where to install libraries
81170 # and header files if --enable-version-specific-runtime-libs option
81171 # is selected. FIXME: these variables are misnamed, there are
81172 # no executables installed in _toolexecdir or _toolexeclibdir.
81173 if test x"$gxx_include_dir" = x"no"; then
81174 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81176 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81177 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81180 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81181 # Install a library built with a cross compiler in tooldir, not libdir.
81182 if test x"$glibcxx_toolexecdir" = x"no"; then
81183 if test -n "$with_cross_host" &&
81184 test x"$with_cross_host" != x"no"; then
81185 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81186 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81187 else
81188 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81189 glibcxx_toolexeclibdir='${libdir}'
81191 multi_os_directory=`$CXX -print-multi-os-directory`
81192 case $multi_os_directory in
81193 .) ;; # Avoid trailing /.
81194 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81195 esac
81198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81199 $as_echo_n "checking for install location... " >&6; }
81200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81201 $as_echo "$gxx_include_dir" >&6; }
81209 # Export all the include and flag information to Makefiles.
81211 # Used for every C++ compile we perform.
81212 GLIBCXX_INCLUDES="\
81213 -I$glibcxx_builddir/include/$host_alias \
81214 -I$glibcxx_builddir/include \
81215 -I$glibcxx_srcdir/libsupc++"
81217 # For Canadian crosses, pick this up too.
81218 if test $CANADIAN = yes; then
81219 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81222 # Stuff in the actual top level. Currently only used by libsupc++ to
81223 # get unwind* headers from the libgcc dir.
81224 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81225 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81227 # Now, export this to all the little Makefiles....
81232 # Optimization flags that are probably a good idea for thrill-seekers. Just
81233 # uncomment the lines below and make, everything else is ready to go...
81234 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81235 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81238 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81242 ac_config_files="$ac_config_files Makefile"
81244 ac_config_files="$ac_config_files scripts/testsuite_flags"
81246 ac_config_files="$ac_config_files scripts/extract_symvers"
81248 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81251 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81252 # that multilib installs will end up installed in the correct place.
81253 # The testsuite needs it for multilib-aware ABI baseline files.
81254 # To work around this not being passed down from config-ml.in ->
81255 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81256 # append it here. Only modify Makefiles that have just been created.
81258 # Also, get rid of this simulated-VPATH thing that automake does.
81259 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"
81262 ac_config_commands="$ac_config_commands generate-headers"
81265 cat >confcache <<\_ACEOF
81266 # This file is a shell script that caches the results of configure
81267 # tests run on this system so they can be shared between configure
81268 # scripts and configure runs, see configure's option --config-cache.
81269 # It is not useful on other systems. If it contains results you don't
81270 # want to keep, you may remove or edit it.
81272 # config.status only pays attention to the cache file if you give it
81273 # the --recheck option to rerun configure.
81275 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81276 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81277 # following values.
81279 _ACEOF
81281 # The following way of writing the cache mishandles newlines in values,
81282 # but we know of no workaround that is simple, portable, and efficient.
81283 # So, we kill variables containing newlines.
81284 # Ultrix sh set writes to stderr and can't be redirected directly,
81285 # and sets the high bit in the cache file unless we assign to the vars.
81287 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81288 eval ac_val=\$$ac_var
81289 case $ac_val in #(
81290 *${as_nl}*)
81291 case $ac_var in #(
81292 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81293 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81294 esac
81295 case $ac_var in #(
81296 _ | IFS | as_nl) ;; #(
81297 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81298 *) { eval $ac_var=; unset $ac_var;} ;;
81299 esac ;;
81300 esac
81301 done
81303 (set) 2>&1 |
81304 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81305 *${as_nl}ac_space=\ *)
81306 # `set' does not quote correctly, so add quotes: double-quote
81307 # substitution turns \\\\ into \\, and sed turns \\ into \.
81308 sed -n \
81309 "s/'/'\\\\''/g;
81310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81311 ;; #(
81313 # `set' quotes correctly as required by POSIX, so do not add quotes.
81314 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81316 esac |
81317 sort
81319 sed '
81320 /^ac_cv_env_/b end
81321 t clear
81322 :clear
81323 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81324 t end
81325 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81326 :end' >>confcache
81327 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81328 if test -w "$cache_file"; then
81329 test "x$cache_file" != "x/dev/null" &&
81330 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81331 $as_echo "$as_me: updating cache $cache_file" >&6;}
81332 cat confcache >$cache_file
81333 else
81334 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81335 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81338 rm -f confcache
81340 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81341 # Let make expand exec_prefix.
81342 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81344 DEFS=-DHAVE_CONFIG_H
81346 ac_libobjs=
81347 ac_ltlibobjs=
81348 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81349 # 1. Remove the extension, and $U if already installed.
81350 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81351 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81352 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81353 # will be set to the directory where LIBOBJS objects are built.
81354 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81355 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81356 done
81357 LIBOBJS=$ac_libobjs
81359 LTLIBOBJS=$ac_ltlibobjs
81362 if test -n "$EXEEXT"; then
81363 am__EXEEXT_TRUE=
81364 am__EXEEXT_FALSE='#'
81365 else
81366 am__EXEEXT_TRUE='#'
81367 am__EXEEXT_FALSE=
81370 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81371 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81374 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81375 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81378 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81379 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81382 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81383 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81386 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81387 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81390 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81391 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81394 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81395 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81398 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81399 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81402 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81403 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81406 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81407 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81410 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81411 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81414 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81415 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81418 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81419 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81422 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81423 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81426 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81427 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81430 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81431 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81434 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81435 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81438 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81439 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81442 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81443 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81446 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81447 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81450 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81451 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81454 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81455 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81458 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81459 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81462 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81463 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81466 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81467 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81470 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81471 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81474 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81475 as_fn_error "conditional \"BUILD_XML\" was never defined.
81476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81478 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81479 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81482 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81483 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81486 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81487 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81491 : ${CONFIG_STATUS=./config.status}
81492 ac_write_fail=0
81493 ac_clean_files_save=$ac_clean_files
81494 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81495 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81496 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81497 as_write_fail=0
81498 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81499 #! $SHELL
81500 # Generated by $as_me.
81501 # Run this file to recreate the current configuration.
81502 # Compiler output produced by configure, useful for debugging
81503 # configure, is in config.log if it exists.
81505 debug=false
81506 ac_cs_recheck=false
81507 ac_cs_silent=false
81509 SHELL=\${CONFIG_SHELL-$SHELL}
81510 export SHELL
81511 _ASEOF
81512 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81513 ## -------------------- ##
81514 ## M4sh Initialization. ##
81515 ## -------------------- ##
81517 # Be more Bourne compatible
81518 DUALCASE=1; export DUALCASE # for MKS sh
81519 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81520 emulate sh
81521 NULLCMD=:
81522 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81523 # is contrary to our usage. Disable this feature.
81524 alias -g '${1+"$@"}'='"$@"'
81525 setopt NO_GLOB_SUBST
81526 else
81527 case `(set -o) 2>/dev/null` in #(
81528 *posix*) :
81529 set -o posix ;; #(
81530 *) :
81532 esac
81536 as_nl='
81538 export as_nl
81539 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81540 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81542 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81543 # Prefer a ksh shell builtin over an external printf program on Solaris,
81544 # but without wasting forks for bash or zsh.
81545 if test -z "$BASH_VERSION$ZSH_VERSION" \
81546 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81547 as_echo='print -r --'
81548 as_echo_n='print -rn --'
81549 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81550 as_echo='printf %s\n'
81551 as_echo_n='printf %s'
81552 else
81553 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81554 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81555 as_echo_n='/usr/ucb/echo -n'
81556 else
81557 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81558 as_echo_n_body='eval
81559 arg=$1;
81560 case $arg in #(
81561 *"$as_nl"*)
81562 expr "X$arg" : "X\\(.*\\)$as_nl";
81563 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81564 esac;
81565 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81567 export as_echo_n_body
81568 as_echo_n='sh -c $as_echo_n_body as_echo'
81570 export as_echo_body
81571 as_echo='sh -c $as_echo_body as_echo'
81574 # The user is always right.
81575 if test "${PATH_SEPARATOR+set}" != set; then
81576 PATH_SEPARATOR=:
81577 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81578 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81579 PATH_SEPARATOR=';'
81584 # IFS
81585 # We need space, tab and new line, in precisely that order. Quoting is
81586 # there to prevent editors from complaining about space-tab.
81587 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81588 # splitting by setting IFS to empty value.)
81589 IFS=" "" $as_nl"
81591 # Find who we are. Look in the path if we contain no directory separator.
81592 case $0 in #((
81593 *[\\/]* ) as_myself=$0 ;;
81594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81595 for as_dir in $PATH
81597 IFS=$as_save_IFS
81598 test -z "$as_dir" && as_dir=.
81599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81600 done
81601 IFS=$as_save_IFS
81604 esac
81605 # We did not find ourselves, most probably we were run as `sh COMMAND'
81606 # in which case we are not to be found in the path.
81607 if test "x$as_myself" = x; then
81608 as_myself=$0
81610 if test ! -f "$as_myself"; then
81611 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81612 exit 1
81615 # Unset variables that we do not need and which cause bugs (e.g. in
81616 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81617 # suppresses any "Segmentation fault" message there. '((' could
81618 # trigger a bug in pdksh 5.2.14.
81619 for as_var in BASH_ENV ENV MAIL MAILPATH
81620 do eval test x\${$as_var+set} = xset \
81621 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81622 done
81623 PS1='$ '
81624 PS2='> '
81625 PS4='+ '
81627 # NLS nuisances.
81628 LC_ALL=C
81629 export LC_ALL
81630 LANGUAGE=C
81631 export LANGUAGE
81633 # CDPATH.
81634 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81637 # as_fn_error ERROR [LINENO LOG_FD]
81638 # ---------------------------------
81639 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81640 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81641 # script with status $?, using 1 if that was 0.
81642 as_fn_error ()
81644 as_status=$?; test $as_status -eq 0 && as_status=1
81645 if test "$3"; then
81646 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
81647 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
81649 $as_echo "$as_me: error: $1" >&2
81650 as_fn_exit $as_status
81651 } # as_fn_error
81654 # as_fn_set_status STATUS
81655 # -----------------------
81656 # Set $? to STATUS, without forking.
81657 as_fn_set_status ()
81659 return $1
81660 } # as_fn_set_status
81662 # as_fn_exit STATUS
81663 # -----------------
81664 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
81665 as_fn_exit ()
81667 set +e
81668 as_fn_set_status $1
81669 exit $1
81670 } # as_fn_exit
81672 # as_fn_unset VAR
81673 # ---------------
81674 # Portably unset VAR.
81675 as_fn_unset ()
81677 { eval $1=; unset $1;}
81679 as_unset=as_fn_unset
81680 # as_fn_append VAR VALUE
81681 # ----------------------
81682 # Append the text in VALUE to the end of the definition contained in VAR. Take
81683 # advantage of any shell optimizations that allow amortized linear growth over
81684 # repeated appends, instead of the typical quadratic growth present in naive
81685 # implementations.
81686 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
81687 eval 'as_fn_append ()
81689 eval $1+=\$2
81691 else
81692 as_fn_append ()
81694 eval $1=\$$1\$2
81696 fi # as_fn_append
81698 # as_fn_arith ARG...
81699 # ------------------
81700 # Perform arithmetic evaluation on the ARGs, and store the result in the
81701 # global $as_val. Take advantage of shells that can avoid forks. The arguments
81702 # must be portable across $(()) and expr.
81703 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
81704 eval 'as_fn_arith ()
81706 as_val=$(( $* ))
81708 else
81709 as_fn_arith ()
81711 as_val=`expr "$@" || test $? -eq 1`
81713 fi # as_fn_arith
81716 if expr a : '\(a\)' >/dev/null 2>&1 &&
81717 test "X`expr 00001 : '.*\(...\)'`" = X001; then
81718 as_expr=expr
81719 else
81720 as_expr=false
81723 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
81724 as_basename=basename
81725 else
81726 as_basename=false
81729 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
81730 as_dirname=dirname
81731 else
81732 as_dirname=false
81735 as_me=`$as_basename -- "$0" ||
81736 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
81737 X"$0" : 'X\(//\)$' \| \
81738 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
81739 $as_echo X/"$0" |
81740 sed '/^.*\/\([^/][^/]*\)\/*$/{
81741 s//\1/
81744 /^X\/\(\/\/\)$/{
81745 s//\1/
81748 /^X\/\(\/\).*/{
81749 s//\1/
81752 s/.*/./; q'`
81754 # Avoid depending upon Character Ranges.
81755 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81756 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81757 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81758 as_cr_digits='0123456789'
81759 as_cr_alnum=$as_cr_Letters$as_cr_digits
81761 ECHO_C= ECHO_N= ECHO_T=
81762 case `echo -n x` in #(((((
81763 -n*)
81764 case `echo 'xy\c'` in
81765 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
81766 xy) ECHO_C='\c';;
81767 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
81768 ECHO_T=' ';;
81769 esac;;
81771 ECHO_N='-n';;
81772 esac
81774 rm -f conf$$ conf$$.exe conf$$.file
81775 if test -d conf$$.dir; then
81776 rm -f conf$$.dir/conf$$.file
81777 else
81778 rm -f conf$$.dir
81779 mkdir conf$$.dir 2>/dev/null
81781 if (echo >conf$$.file) 2>/dev/null; then
81782 if ln -s conf$$.file conf$$ 2>/dev/null; then
81783 as_ln_s='ln -s'
81784 # ... but there are two gotchas:
81785 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
81786 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
81787 # In both cases, we have to default to `cp -p'.
81788 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
81789 as_ln_s='cp -p'
81790 elif ln conf$$.file conf$$ 2>/dev/null; then
81791 as_ln_s=ln
81792 else
81793 as_ln_s='cp -p'
81795 else
81796 as_ln_s='cp -p'
81798 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
81799 rmdir conf$$.dir 2>/dev/null
81802 # as_fn_mkdir_p
81803 # -------------
81804 # Create "$as_dir" as a directory, including parents if necessary.
81805 as_fn_mkdir_p ()
81808 case $as_dir in #(
81809 -*) as_dir=./$as_dir;;
81810 esac
81811 test -d "$as_dir" || eval $as_mkdir_p || {
81812 as_dirs=
81813 while :; do
81814 case $as_dir in #(
81815 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
81816 *) as_qdir=$as_dir;;
81817 esac
81818 as_dirs="'$as_qdir' $as_dirs"
81819 as_dir=`$as_dirname -- "$as_dir" ||
81820 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81821 X"$as_dir" : 'X\(//\)[^/]' \| \
81822 X"$as_dir" : 'X\(//\)$' \| \
81823 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
81824 $as_echo X"$as_dir" |
81825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81826 s//\1/
81829 /^X\(\/\/\)[^/].*/{
81830 s//\1/
81833 /^X\(\/\/\)$/{
81834 s//\1/
81837 /^X\(\/\).*/{
81838 s//\1/
81841 s/.*/./; q'`
81842 test -d "$as_dir" && break
81843 done
81844 test -z "$as_dirs" || eval "mkdir $as_dirs"
81845 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
81848 } # as_fn_mkdir_p
81849 if mkdir -p . 2>/dev/null; then
81850 as_mkdir_p='mkdir -p "$as_dir"'
81851 else
81852 test -d ./-p && rmdir ./-p
81853 as_mkdir_p=false
81856 if test -x / >/dev/null 2>&1; then
81857 as_test_x='test -x'
81858 else
81859 if ls -dL / >/dev/null 2>&1; then
81860 as_ls_L_option=L
81861 else
81862 as_ls_L_option=
81864 as_test_x='
81865 eval sh -c '\''
81866 if test -d "$1"; then
81867 test -d "$1/.";
81868 else
81869 case $1 in #(
81870 -*)set "./$1";;
81871 esac;
81872 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
81873 ???[sx]*):;;*)false;;esac;fi
81874 '\'' sh
81877 as_executable_p=$as_test_x
81879 # Sed expression to map a string onto a valid CPP name.
81880 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
81882 # Sed expression to map a string onto a valid variable name.
81883 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
81886 exec 6>&1
81887 ## ----------------------------------- ##
81888 ## Main body of $CONFIG_STATUS script. ##
81889 ## ----------------------------------- ##
81890 _ASEOF
81891 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
81893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81894 # Save the log message, to keep $0 and so on meaningful, and to
81895 # report actual input values of CONFIG_FILES etc. instead of their
81896 # values after options handling.
81897 ac_log="
81898 This file was extended by package-unused $as_me version-unused, which was
81899 generated by GNU Autoconf 2.64. Invocation command line was
81901 CONFIG_FILES = $CONFIG_FILES
81902 CONFIG_HEADERS = $CONFIG_HEADERS
81903 CONFIG_LINKS = $CONFIG_LINKS
81904 CONFIG_COMMANDS = $CONFIG_COMMANDS
81905 $ $0 $@
81907 on `(hostname || uname -n) 2>/dev/null | sed 1q`
81910 _ACEOF
81912 case $ac_config_files in *"
81913 "*) set x $ac_config_files; shift; ac_config_files=$*;;
81914 esac
81916 case $ac_config_headers in *"
81917 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
81918 esac
81921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81922 # Files that config.status was made for.
81923 config_files="$ac_config_files"
81924 config_headers="$ac_config_headers"
81925 config_commands="$ac_config_commands"
81927 _ACEOF
81929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81930 ac_cs_usage="\
81931 \`$as_me' instantiates files and other configuration actions
81932 from templates according to the current configuration. Unless the files
81933 and actions are specified as TAGs, all are instantiated by default.
81935 Usage: $0 [OPTION]... [TAG]...
81937 -h, --help print this help, then exit
81938 -V, --version print version number and configuration settings, then exit
81939 -q, --quiet, --silent
81940 do not print progress messages
81941 -d, --debug don't remove temporary files
81942 --recheck update $as_me by reconfiguring in the same conditions
81943 --file=FILE[:TEMPLATE]
81944 instantiate the configuration file FILE
81945 --header=FILE[:TEMPLATE]
81946 instantiate the configuration header FILE
81948 Configuration files:
81949 $config_files
81951 Configuration headers:
81952 $config_headers
81954 Configuration commands:
81955 $config_commands
81957 Report bugs to the package provider."
81959 _ACEOF
81960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81961 ac_cs_version="\\
81962 package-unused config.status version-unused
81963 configured by $0, generated by GNU Autoconf 2.64,
81964 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
81966 Copyright (C) 2009 Free Software Foundation, Inc.
81967 This config.status script is free software; the Free Software Foundation
81968 gives unlimited permission to copy, distribute and modify it."
81970 ac_pwd='$ac_pwd'
81971 srcdir='$srcdir'
81972 INSTALL='$INSTALL'
81973 MKDIR_P='$MKDIR_P'
81974 AWK='$AWK'
81975 test -n "\$AWK" || AWK=awk
81976 _ACEOF
81978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81979 # The default lists apply if the user does not specify any file.
81980 ac_need_defaults=:
81981 while test $# != 0
81983 case $1 in
81984 --*=*)
81985 ac_option=`expr "X$1" : 'X\([^=]*\)='`
81986 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
81987 ac_shift=:
81990 ac_option=$1
81991 ac_optarg=$2
81992 ac_shift=shift
81994 esac
81996 case $ac_option in
81997 # Handling of the options.
81998 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
81999 ac_cs_recheck=: ;;
82000 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82001 $as_echo "$ac_cs_version"; exit ;;
82002 --debug | --debu | --deb | --de | --d | -d )
82003 debug=: ;;
82004 --file | --fil | --fi | --f )
82005 $ac_shift
82006 case $ac_optarg in
82007 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82008 esac
82009 as_fn_append CONFIG_FILES " '$ac_optarg'"
82010 ac_need_defaults=false;;
82011 --header | --heade | --head | --hea )
82012 $ac_shift
82013 case $ac_optarg in
82014 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82015 esac
82016 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82017 ac_need_defaults=false;;
82018 --he | --h)
82019 # Conflict between --help and --header
82020 as_fn_error "ambiguous option: \`$1'
82021 Try \`$0 --help' for more information.";;
82022 --help | --hel | -h )
82023 $as_echo "$ac_cs_usage"; exit ;;
82024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82025 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82026 ac_cs_silent=: ;;
82028 # This is an error.
82029 -*) as_fn_error "unrecognized option: \`$1'
82030 Try \`$0 --help' for more information." ;;
82032 *) as_fn_append ac_config_targets " $1"
82033 ac_need_defaults=false ;;
82035 esac
82036 shift
82037 done
82039 ac_configure_extra_args=
82041 if $ac_cs_silent; then
82042 exec 6>/dev/null
82043 ac_configure_extra_args="$ac_configure_extra_args --silent"
82046 _ACEOF
82047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82048 if \$ac_cs_recheck; then
82049 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82050 shift
82051 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82052 CONFIG_SHELL='$SHELL'
82053 export CONFIG_SHELL
82054 exec "\$@"
82057 _ACEOF
82058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82059 exec 5>>config.log
82061 echo
82062 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82063 ## Running $as_me. ##
82064 _ASBOX
82065 $as_echo "$ac_log"
82066 } >&5
82068 _ACEOF
82069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82071 # INIT-COMMANDS
82074 srcdir="$srcdir"
82075 host="$host"
82076 target="$target"
82077 with_multisubdir="$with_multisubdir"
82078 with_multisrctop="$with_multisrctop"
82079 with_target_subdir="$with_target_subdir"
82080 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82081 multi_basedir="$multi_basedir"
82082 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82083 CC="$CC"
82084 CXX="$CXX"
82085 GFORTRAN="$GFORTRAN"
82086 GCJ="$GCJ"
82089 # The HP-UX ksh and POSIX shell print the target directory to stdout
82090 # if CDPATH is set.
82091 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82093 sed_quote_subst='$sed_quote_subst'
82094 double_quote_subst='$double_quote_subst'
82095 delay_variable_subst='$delay_variable_subst'
82096 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82097 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82098 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82099 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82100 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82101 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82102 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82103 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82104 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82105 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82106 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82107 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82108 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82109 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82110 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82111 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82112 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82113 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82114 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82115 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82116 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82117 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82118 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82119 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82120 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82121 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82122 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82123 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82124 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82125 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82126 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82127 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82128 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82129 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82130 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82131 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82132 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82133 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82134 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82135 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82136 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82137 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82138 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82139 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82140 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82141 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82142 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82143 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82144 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"`'
82145 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82146 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82147 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82148 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82149 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82150 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82151 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82152 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82153 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82154 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82155 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82156 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82157 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82158 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82159 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82160 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82161 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82162 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82163 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82164 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82165 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82166 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82167 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82168 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82169 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82170 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82171 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82172 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82173 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82174 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82175 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82176 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82177 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82178 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82179 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82180 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82181 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82182 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82183 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82184 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82185 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82186 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82187 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82188 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82189 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82190 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82191 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82192 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82193 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82194 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82195 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82196 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82197 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82198 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82199 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82200 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82201 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82202 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82203 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82204 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82205 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82206 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82207 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82208 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82209 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82210 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82211 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82212 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82213 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82214 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82215 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82216 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82217 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82218 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82219 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82220 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82221 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82222 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82223 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82224 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82225 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82226 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82227 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82228 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82229 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82230 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82231 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82232 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82233 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82234 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82235 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82236 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82237 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82238 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82239 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82240 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82241 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82242 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82243 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82244 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82245 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82246 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82247 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82248 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82249 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82250 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82251 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82252 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82253 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82254 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82255 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82256 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82257 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82258 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82259 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82260 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82261 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82262 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82263 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82264 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82265 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82266 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82267 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82268 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82269 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82270 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82272 LTCC='$LTCC'
82273 LTCFLAGS='$LTCFLAGS'
82274 compiler='$compiler_DEFAULT'
82276 # A function that is used when there is no print builtin or printf.
82277 func_fallback_echo ()
82279 eval 'cat <<_LTECHO_EOF
82281 _LTECHO_EOF'
82284 # Quote evaled strings.
82285 for var in SHELL \
82286 ECHO \
82287 SED \
82288 GREP \
82289 EGREP \
82290 FGREP \
82291 LD \
82292 NM \
82293 LN_S \
82294 lt_SP2NL \
82295 lt_NL2SP \
82296 reload_flag \
82297 OBJDUMP \
82298 deplibs_check_method \
82299 file_magic_cmd \
82300 AR \
82301 AR_FLAGS \
82302 STRIP \
82303 RANLIB \
82304 CC \
82305 CFLAGS \
82306 compiler \
82307 lt_cv_sys_global_symbol_pipe \
82308 lt_cv_sys_global_symbol_to_cdecl \
82309 lt_cv_sys_global_symbol_to_c_name_address \
82310 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82311 lt_prog_compiler_no_builtin_flag \
82312 lt_prog_compiler_wl \
82313 lt_prog_compiler_pic \
82314 lt_prog_compiler_static \
82315 lt_cv_prog_compiler_c_o \
82316 need_locks \
82317 DSYMUTIL \
82318 NMEDIT \
82319 LIPO \
82320 OTOOL \
82321 OTOOL64 \
82322 shrext_cmds \
82323 export_dynamic_flag_spec \
82324 whole_archive_flag_spec \
82325 compiler_needs_object \
82326 with_gnu_ld \
82327 allow_undefined_flag \
82328 no_undefined_flag \
82329 hardcode_libdir_flag_spec \
82330 hardcode_libdir_flag_spec_ld \
82331 hardcode_libdir_separator \
82332 fix_srcfile_path \
82333 exclude_expsyms \
82334 include_expsyms \
82335 file_list_spec \
82336 variables_saved_for_relink \
82337 libname_spec \
82338 library_names_spec \
82339 soname_spec \
82340 install_override_mode \
82341 finish_eval \
82342 old_striplib \
82343 striplib \
82344 compiler_lib_search_dirs \
82345 predep_objects \
82346 postdep_objects \
82347 predeps \
82348 postdeps \
82349 compiler_lib_search_path \
82350 LD_CXX \
82351 reload_flag_CXX \
82352 compiler_CXX \
82353 lt_prog_compiler_no_builtin_flag_CXX \
82354 lt_prog_compiler_wl_CXX \
82355 lt_prog_compiler_pic_CXX \
82356 lt_prog_compiler_static_CXX \
82357 lt_cv_prog_compiler_c_o_CXX \
82358 export_dynamic_flag_spec_CXX \
82359 whole_archive_flag_spec_CXX \
82360 compiler_needs_object_CXX \
82361 with_gnu_ld_CXX \
82362 allow_undefined_flag_CXX \
82363 no_undefined_flag_CXX \
82364 hardcode_libdir_flag_spec_CXX \
82365 hardcode_libdir_flag_spec_ld_CXX \
82366 hardcode_libdir_separator_CXX \
82367 fix_srcfile_path_CXX \
82368 exclude_expsyms_CXX \
82369 include_expsyms_CXX \
82370 file_list_spec_CXX \
82371 compiler_lib_search_dirs_CXX \
82372 predep_objects_CXX \
82373 postdep_objects_CXX \
82374 predeps_CXX \
82375 postdeps_CXX \
82376 compiler_lib_search_path_CXX; do
82377 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82378 *[\\\\\\\`\\"\\\$]*)
82379 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82382 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82384 esac
82385 done
82387 # Double-quote double-evaled strings.
82388 for var in reload_cmds \
82389 old_postinstall_cmds \
82390 old_postuninstall_cmds \
82391 old_archive_cmds \
82392 extract_expsyms_cmds \
82393 old_archive_from_new_cmds \
82394 old_archive_from_expsyms_cmds \
82395 archive_cmds \
82396 archive_expsym_cmds \
82397 module_cmds \
82398 module_expsym_cmds \
82399 export_symbols_cmds \
82400 prelink_cmds \
82401 postinstall_cmds \
82402 postuninstall_cmds \
82403 finish_cmds \
82404 sys_lib_search_path_spec \
82405 sys_lib_dlsearch_path_spec \
82406 reload_cmds_CXX \
82407 old_archive_cmds_CXX \
82408 old_archive_from_new_cmds_CXX \
82409 old_archive_from_expsyms_cmds_CXX \
82410 archive_cmds_CXX \
82411 archive_expsym_cmds_CXX \
82412 module_cmds_CXX \
82413 module_expsym_cmds_CXX \
82414 export_symbols_cmds_CXX \
82415 prelink_cmds_CXX; do
82416 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82417 *[\\\\\\\`\\"\\\$]*)
82418 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82421 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82423 esac
82424 done
82426 ac_aux_dir='$ac_aux_dir'
82427 xsi_shell='$xsi_shell'
82428 lt_shell_append='$lt_shell_append'
82430 # See if we are running on zsh, and set the options which allow our
82431 # commands through without removal of \ escapes INIT.
82432 if test -n "\${ZSH_VERSION+set}" ; then
82433 setopt NO_GLOB_SUBST
82437 PACKAGE='$PACKAGE'
82438 VERSION='$VERSION'
82439 TIMESTAMP='$TIMESTAMP'
82440 RM='$RM'
82441 ofile='$ofile'
82448 GCC="$GCC"
82449 CC="$CC"
82450 acx_cv_header_stdint="$acx_cv_header_stdint"
82451 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82452 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82453 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82454 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82455 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82456 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82457 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82458 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82459 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82460 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82461 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82462 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82463 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82466 _ACEOF
82468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82470 # Handling of arguments.
82471 for ac_config_target in $ac_config_targets
82473 case $ac_config_target in
82474 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82475 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82476 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82477 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82478 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82479 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82480 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82481 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82482 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82483 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82484 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82485 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82486 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82487 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82488 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82489 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82490 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82491 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82492 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82494 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82495 esac
82496 done
82499 # If the user did not use the arguments to specify the items to instantiate,
82500 # then the envvar interface is used. Set only those that are not.
82501 # We use the long form for the default assignment because of an extremely
82502 # bizarre bug on SunOS 4.1.3.
82503 if $ac_need_defaults; then
82504 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82505 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82506 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82509 # Have a temporary directory for convenience. Make it in the build tree
82510 # simply because there is no reason against having it here, and in addition,
82511 # creating and moving files from /tmp can sometimes cause problems.
82512 # Hook for its removal unless debugging.
82513 # Note that there is a small window in which the directory will not be cleaned:
82514 # after its creation but before its name has been assigned to `$tmp'.
82515 $debug ||
82517 tmp=
82518 trap 'exit_status=$?
82519 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82521 trap 'as_fn_exit 1' 1 2 13 15
82523 # Create a (secure) tmp directory for tmp files.
82526 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82527 test -n "$tmp" && test -d "$tmp"
82528 } ||
82530 tmp=./conf$$-$RANDOM
82531 (umask 077 && mkdir "$tmp")
82532 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82534 # Set up the scripts for CONFIG_FILES section.
82535 # No need to generate them if there are no CONFIG_FILES.
82536 # This happens for instance with `./config.status config.h'.
82537 if test -n "$CONFIG_FILES"; then
82540 ac_cr=`echo X | tr X '\015'`
82541 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82542 # But we know of no other shell where ac_cr would be empty at this
82543 # point, so we can use a bashism as a fallback.
82544 if test "x$ac_cr" = x; then
82545 eval ac_cr=\$\'\\r\'
82547 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82548 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82549 ac_cs_awk_cr='\r'
82550 else
82551 ac_cs_awk_cr=$ac_cr
82554 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82555 _ACEOF
82559 echo "cat >conf$$subs.awk <<_ACEOF" &&
82560 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82561 echo "_ACEOF"
82562 } >conf$$subs.sh ||
82563 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82564 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82565 ac_delim='%!_!# '
82566 for ac_last_try in false false false false false :; do
82567 . ./conf$$subs.sh ||
82568 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82570 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82571 if test $ac_delim_n = $ac_delim_num; then
82572 break
82573 elif $ac_last_try; then
82574 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82575 else
82576 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82578 done
82579 rm -f conf$$subs.sh
82581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82582 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82583 _ACEOF
82584 sed -n '
82586 s/^/S["/; s/!.*/"]=/
82589 s/^[^!]*!//
82590 :repl
82591 t repl
82592 s/'"$ac_delim"'$//
82593 t delim
82596 s/\(.\{148\}\).*/\1/
82597 t more1
82598 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82601 b repl
82602 :more1
82603 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82606 s/.\{148\}//
82607 t nl
82608 :delim
82610 s/\(.\{148\}\).*/\1/
82611 t more2
82612 s/["\\]/\\&/g; s/^/"/; s/$/"/
82615 :more2
82616 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82619 s/.\{148\}//
82620 t delim
82621 ' <conf$$subs.awk | sed '
82622 /^[^""]/{
82624 s/\n//
82626 ' >>$CONFIG_STATUS || ac_write_fail=1
82627 rm -f conf$$subs.awk
82628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82629 _ACAWK
82630 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82631 for (key in S) S_is_set[key] = 1
82632 FS = "\a"
82636 line = $ 0
82637 nfields = split(line, field, "@")
82638 substed = 0
82639 len = length(field[1])
82640 for (i = 2; i < nfields; i++) {
82641 key = field[i]
82642 keylen = length(key)
82643 if (S_is_set[key]) {
82644 value = S[key]
82645 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
82646 len += length(value) + length(field[++i])
82647 substed = 1
82648 } else
82649 len += 1 + keylen
82652 print line
82655 _ACAWK
82656 _ACEOF
82657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82658 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
82659 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
82660 else
82662 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
82663 || as_fn_error "could not setup config files machinery" "$LINENO" 5
82664 _ACEOF
82666 # VPATH may cause trouble with some makes, so we remove $(srcdir),
82667 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
82668 # trailing colons and then remove the whole line if VPATH becomes empty
82669 # (actually we leave an empty line to preserve line numbers).
82670 if test "x$srcdir" = x.; then
82671 ac_vpsub='/^[ ]*VPATH[ ]*=/{
82672 s/:*\$(srcdir):*/:/
82673 s/:*\${srcdir}:*/:/
82674 s/:*@srcdir@:*/:/
82675 s/^\([^=]*=[ ]*\):*/\1/
82676 s/:*$//
82677 s/^[^=]*=[ ]*$//
82681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82682 fi # test -n "$CONFIG_FILES"
82684 # Set up the scripts for CONFIG_HEADERS section.
82685 # No need to generate them if there are no CONFIG_HEADERS.
82686 # This happens for instance with `./config.status Makefile'.
82687 if test -n "$CONFIG_HEADERS"; then
82688 cat >"$tmp/defines.awk" <<\_ACAWK ||
82689 BEGIN {
82690 _ACEOF
82692 # Transform confdefs.h into an awk script `defines.awk', embedded as
82693 # here-document in config.status, that substitutes the proper values into
82694 # config.h.in to produce config.h.
82696 # Create a delimiter string that does not exist in confdefs.h, to ease
82697 # handling of long lines.
82698 ac_delim='%!_!# '
82699 for ac_last_try in false false :; do
82700 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
82701 if test -z "$ac_t"; then
82702 break
82703 elif $ac_last_try; then
82704 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
82705 else
82706 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82708 done
82710 # For the awk script, D is an array of macro values keyed by name,
82711 # likewise P contains macro parameters if any. Preserve backslash
82712 # newline sequences.
82714 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
82715 sed -n '
82716 s/.\{148\}/&'"$ac_delim"'/g
82717 t rset
82718 :rset
82719 s/^[ ]*#[ ]*define[ ][ ]*/ /
82720 t def
82722 :def
82723 s/\\$//
82724 t bsnl
82725 s/["\\]/\\&/g
82726 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82727 D["\1"]=" \3"/p
82728 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
82730 :bsnl
82731 s/["\\]/\\&/g
82732 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82733 D["\1"]=" \3\\\\\\n"\\/p
82734 t cont
82735 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
82736 t cont
82738 :cont
82740 s/.\{148\}/&'"$ac_delim"'/g
82741 t clear
82742 :clear
82743 s/\\$//
82744 t bsnlc
82745 s/["\\]/\\&/g; s/^/"/; s/$/"/p
82747 :bsnlc
82748 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
82749 b cont
82750 ' <confdefs.h | sed '
82751 s/'"$ac_delim"'/"\\\
82752 "/g' >>$CONFIG_STATUS || ac_write_fail=1
82754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82755 for (key in D) D_is_set[key] = 1
82756 FS = "\a"
82758 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
82759 line = \$ 0
82760 split(line, arg, " ")
82761 if (arg[1] == "#") {
82762 defundef = arg[2]
82763 mac1 = arg[3]
82764 } else {
82765 defundef = substr(arg[1], 2)
82766 mac1 = arg[2]
82768 split(mac1, mac2, "(") #)
82769 macro = mac2[1]
82770 prefix = substr(line, 1, index(line, defundef) - 1)
82771 if (D_is_set[macro]) {
82772 # Preserve the white space surrounding the "#".
82773 print prefix "define", macro P[macro] D[macro]
82774 next
82775 } else {
82776 # Replace #undef with comments. This is necessary, for example,
82777 # in the case of _POSIX_SOURCE, which is predefined and required
82778 # on some systems where configure will not decide to define it.
82779 if (defundef == "undef") {
82780 print "/*", prefix defundef, macro, "*/"
82781 next
82785 { print }
82786 _ACAWK
82787 _ACEOF
82788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82789 as_fn_error "could not setup config headers machinery" "$LINENO" 5
82790 fi # test -n "$CONFIG_HEADERS"
82793 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
82794 shift
82795 for ac_tag
82797 case $ac_tag in
82798 :[FHLC]) ac_mode=$ac_tag; continue;;
82799 esac
82800 case $ac_mode$ac_tag in
82801 :[FHL]*:*);;
82802 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
82803 :[FH]-) ac_tag=-:-;;
82804 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
82805 esac
82806 ac_save_IFS=$IFS
82807 IFS=:
82808 set x $ac_tag
82809 IFS=$ac_save_IFS
82810 shift
82811 ac_file=$1
82812 shift
82814 case $ac_mode in
82815 :L) ac_source=$1;;
82816 :[FH])
82817 ac_file_inputs=
82818 for ac_f
82820 case $ac_f in
82821 -) ac_f="$tmp/stdin";;
82822 *) # Look for the file first in the build tree, then in the source tree
82823 # (if the path is not absolute). The absolute path cannot be DOS-style,
82824 # because $ac_f cannot contain `:'.
82825 test -f "$ac_f" ||
82826 case $ac_f in
82827 [\\/$]*) false;;
82828 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
82829 esac ||
82830 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
82831 esac
82832 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
82833 as_fn_append ac_file_inputs " '$ac_f'"
82834 done
82836 # Let's still pretend it is `configure' which instantiates (i.e., don't
82837 # use $as_me), people would be surprised to read:
82838 # /* config.h. Generated by config.status. */
82839 configure_input='Generated from '`
82840 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
82841 `' by configure.'
82842 if test x"$ac_file" != x-; then
82843 configure_input="$ac_file. $configure_input"
82844 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
82845 $as_echo "$as_me: creating $ac_file" >&6;}
82847 # Neutralize special characters interpreted by sed in replacement strings.
82848 case $configure_input in #(
82849 *\&* | *\|* | *\\* )
82850 ac_sed_conf_input=`$as_echo "$configure_input" |
82851 sed 's/[\\\\&|]/\\\\&/g'`;; #(
82852 *) ac_sed_conf_input=$configure_input;;
82853 esac
82855 case $ac_tag in
82856 *:-:* | *:-) cat >"$tmp/stdin" \
82857 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
82858 esac
82860 esac
82862 ac_dir=`$as_dirname -- "$ac_file" ||
82863 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82864 X"$ac_file" : 'X\(//\)[^/]' \| \
82865 X"$ac_file" : 'X\(//\)$' \| \
82866 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
82867 $as_echo X"$ac_file" |
82868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82869 s//\1/
82872 /^X\(\/\/\)[^/].*/{
82873 s//\1/
82876 /^X\(\/\/\)$/{
82877 s//\1/
82880 /^X\(\/\).*/{
82881 s//\1/
82884 s/.*/./; q'`
82885 as_dir="$ac_dir"; as_fn_mkdir_p
82886 ac_builddir=.
82888 case "$ac_dir" in
82889 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
82891 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
82892 # A ".." for each directory in $ac_dir_suffix.
82893 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
82894 case $ac_top_builddir_sub in
82895 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
82896 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
82897 esac ;;
82898 esac
82899 ac_abs_top_builddir=$ac_pwd
82900 ac_abs_builddir=$ac_pwd$ac_dir_suffix
82901 # for backward compatibility:
82902 ac_top_builddir=$ac_top_build_prefix
82904 case $srcdir in
82905 .) # We are building in place.
82906 ac_srcdir=.
82907 ac_top_srcdir=$ac_top_builddir_sub
82908 ac_abs_top_srcdir=$ac_pwd ;;
82909 [\\/]* | ?:[\\/]* ) # Absolute name.
82910 ac_srcdir=$srcdir$ac_dir_suffix;
82911 ac_top_srcdir=$srcdir
82912 ac_abs_top_srcdir=$srcdir ;;
82913 *) # Relative name.
82914 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
82915 ac_top_srcdir=$ac_top_build_prefix$srcdir
82916 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
82917 esac
82918 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
82921 case $ac_mode in
82924 # CONFIG_FILE
82927 case $INSTALL in
82928 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
82929 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
82930 esac
82931 ac_MKDIR_P=$MKDIR_P
82932 case $MKDIR_P in
82933 [\\/$]* | ?:[\\/]* ) ;;
82934 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
82935 esac
82936 _ACEOF
82938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82939 # If the template does not know about datarootdir, expand it.
82940 # FIXME: This hack should be removed a few years after 2.60.
82941 ac_datarootdir_hack=; ac_datarootdir_seen=
82942 ac_sed_dataroot='
82943 /datarootdir/ {
82947 /@datadir@/p
82948 /@docdir@/p
82949 /@infodir@/p
82950 /@localedir@/p
82951 /@mandir@/p'
82952 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
82953 *datarootdir*) ac_datarootdir_seen=yes;;
82954 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
82955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
82956 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
82957 _ACEOF
82958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82959 ac_datarootdir_hack='
82960 s&@datadir@&$datadir&g
82961 s&@docdir@&$docdir&g
82962 s&@infodir@&$infodir&g
82963 s&@localedir@&$localedir&g
82964 s&@mandir@&$mandir&g
82965 s&\\\${datarootdir}&$datarootdir&g' ;;
82966 esac
82967 _ACEOF
82969 # Neutralize VPATH when `$srcdir' = `.'.
82970 # Shell code in configure.ac might set extrasub.
82971 # FIXME: do we really want to maintain this feature?
82972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82973 ac_sed_extra="$ac_vpsub
82974 $extrasub
82975 _ACEOF
82976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
82979 s|@configure_input@|$ac_sed_conf_input|;t t
82980 s&@top_builddir@&$ac_top_builddir_sub&;t t
82981 s&@top_build_prefix@&$ac_top_build_prefix&;t t
82982 s&@srcdir@&$ac_srcdir&;t t
82983 s&@abs_srcdir@&$ac_abs_srcdir&;t t
82984 s&@top_srcdir@&$ac_top_srcdir&;t t
82985 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
82986 s&@builddir@&$ac_builddir&;t t
82987 s&@abs_builddir@&$ac_abs_builddir&;t t
82988 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
82989 s&@INSTALL@&$ac_INSTALL&;t t
82990 s&@MKDIR_P@&$ac_MKDIR_P&;t t
82991 $ac_datarootdir_hack
82993 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
82994 || as_fn_error "could not create $ac_file" "$LINENO" 5
82996 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
82997 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
82998 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
82999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83000 which seems to be undefined. Please make sure it is defined." >&5
83001 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83002 which seems to be undefined. Please make sure it is defined." >&2;}
83004 rm -f "$tmp/stdin"
83005 case $ac_file in
83006 -) cat "$tmp/out" && rm -f "$tmp/out";;
83007 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83008 esac \
83009 || as_fn_error "could not create $ac_file" "$LINENO" 5
83013 # CONFIG_HEADER
83015 if test x"$ac_file" != x-; then
83017 $as_echo "/* $configure_input */" \
83018 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83019 } >"$tmp/config.h" \
83020 || as_fn_error "could not create $ac_file" "$LINENO" 5
83021 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83022 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83023 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83024 else
83025 rm -f "$ac_file"
83026 mv "$tmp/config.h" "$ac_file" \
83027 || as_fn_error "could not create $ac_file" "$LINENO" 5
83029 else
83030 $as_echo "/* $configure_input */" \
83031 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83032 || as_fn_error "could not create -" "$LINENO" 5
83034 # Compute "$ac_file"'s index in $config_headers.
83035 _am_arg="$ac_file"
83036 _am_stamp_count=1
83037 for _am_header in $config_headers :; do
83038 case $_am_header in
83039 $_am_arg | $_am_arg:* )
83040 break ;;
83042 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83043 esac
83044 done
83045 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83046 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83047 X"$_am_arg" : 'X\(//\)[^/]' \| \
83048 X"$_am_arg" : 'X\(//\)$' \| \
83049 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83050 $as_echo X"$_am_arg" |
83051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83052 s//\1/
83055 /^X\(\/\/\)[^/].*/{
83056 s//\1/
83059 /^X\(\/\/\)$/{
83060 s//\1/
83063 /^X\(\/\).*/{
83064 s//\1/
83067 s/.*/./; q'`/stamp-h$_am_stamp_count
83070 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83071 $as_echo "$as_me: executing $ac_file commands" >&6;}
83073 esac
83076 case $ac_file$ac_mode in
83077 "default-1":C)
83078 # Only add multilib support code if we just rebuilt the top-level
83079 # Makefile.
83080 case " $CONFIG_FILES " in
83081 *" Makefile "*)
83082 ac_file=Makefile . ${multi_basedir}/config-ml.in
83084 esac ;;
83085 "libtool":C)
83087 # See if we are running on zsh, and set the options which allow our
83088 # commands through without removal of \ escapes.
83089 if test -n "${ZSH_VERSION+set}" ; then
83090 setopt NO_GLOB_SUBST
83093 cfgfile="${ofile}T"
83094 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83095 $RM "$cfgfile"
83097 cat <<_LT_EOF >> "$cfgfile"
83098 #! $SHELL
83100 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83101 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83102 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83103 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83105 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83106 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83107 # Written by Gordon Matzigkeit, 1996
83109 # This file is part of GNU Libtool.
83111 # GNU Libtool is free software; you can redistribute it and/or
83112 # modify it under the terms of the GNU General Public License as
83113 # published by the Free Software Foundation; either version 2 of
83114 # the License, or (at your option) any later version.
83116 # As a special exception to the GNU General Public License,
83117 # if you distribute this file as part of a program or library that
83118 # is built using GNU Libtool, you may include this file under the
83119 # same distribution terms that you use for the rest of that program.
83121 # GNU Libtool is distributed in the hope that it will be useful,
83122 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83123 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83124 # GNU General Public License for more details.
83126 # You should have received a copy of the GNU General Public License
83127 # along with GNU Libtool; see the file COPYING. If not, a copy
83128 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83129 # obtained by writing to the Free Software Foundation, Inc.,
83130 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83133 # The names of the tagged configurations supported by this script.
83134 available_tags="CXX "
83136 # ### BEGIN LIBTOOL CONFIG
83138 # Which release of libtool.m4 was used?
83139 macro_version=$macro_version
83140 macro_revision=$macro_revision
83142 # Whether or not to build shared libraries.
83143 build_libtool_libs=$enable_shared
83145 # Whether or not to build static libraries.
83146 build_old_libs=$enable_static
83148 # What type of objects to build.
83149 pic_mode=$pic_mode
83151 # Whether or not to optimize for fast installation.
83152 fast_install=$enable_fast_install
83154 # Shell to use when invoking shell scripts.
83155 SHELL=$lt_SHELL
83157 # An echo program that protects backslashes.
83158 ECHO=$lt_ECHO
83160 # The host system.
83161 host_alias=$host_alias
83162 host=$host
83163 host_os=$host_os
83165 # The build system.
83166 build_alias=$build_alias
83167 build=$build
83168 build_os=$build_os
83170 # A sed program that does not truncate output.
83171 SED=$lt_SED
83173 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83174 Xsed="\$SED -e 1s/^X//"
83176 # A grep program that handles long lines.
83177 GREP=$lt_GREP
83179 # An ERE matcher.
83180 EGREP=$lt_EGREP
83182 # A literal string matcher.
83183 FGREP=$lt_FGREP
83185 # A BSD- or MS-compatible name lister.
83186 NM=$lt_NM
83188 # Whether we need soft or hard links.
83189 LN_S=$lt_LN_S
83191 # What is the maximum length of a command?
83192 max_cmd_len=$max_cmd_len
83194 # Object file suffix (normally "o").
83195 objext=$ac_objext
83197 # Executable file suffix (normally "").
83198 exeext=$exeext
83200 # whether the shell understands "unset".
83201 lt_unset=$lt_unset
83203 # turn spaces into newlines.
83204 SP2NL=$lt_lt_SP2NL
83206 # turn newlines into spaces.
83207 NL2SP=$lt_lt_NL2SP
83209 # An object symbol dumper.
83210 OBJDUMP=$lt_OBJDUMP
83212 # Method to check whether dependent libraries are shared objects.
83213 deplibs_check_method=$lt_deplibs_check_method
83215 # Command to use when deplibs_check_method == "file_magic".
83216 file_magic_cmd=$lt_file_magic_cmd
83218 # The archiver.
83219 AR=$lt_AR
83220 AR_FLAGS=$lt_AR_FLAGS
83222 # A symbol stripping program.
83223 STRIP=$lt_STRIP
83225 # Commands used to install an old-style archive.
83226 RANLIB=$lt_RANLIB
83227 old_postinstall_cmds=$lt_old_postinstall_cmds
83228 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83230 # Whether to use a lock for old archive extraction.
83231 lock_old_archive_extraction=$lock_old_archive_extraction
83233 # A C compiler.
83234 LTCC=$lt_CC
83236 # LTCC compiler flags.
83237 LTCFLAGS=$lt_CFLAGS
83239 # Take the output of nm and produce a listing of raw symbols and C names.
83240 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83242 # Transform the output of nm in a proper C declaration.
83243 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83245 # Transform the output of nm in a C name address pair.
83246 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83248 # Transform the output of nm in a C name address pair when lib prefix is needed.
83249 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83251 # The name of the directory that contains temporary libtool files.
83252 objdir=$objdir
83254 # Used to examine libraries when file_magic_cmd begins with "file".
83255 MAGIC_CMD=$MAGIC_CMD
83257 # Must we lock files when doing compilation?
83258 need_locks=$lt_need_locks
83260 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83261 DSYMUTIL=$lt_DSYMUTIL
83263 # Tool to change global to local symbols on Mac OS X.
83264 NMEDIT=$lt_NMEDIT
83266 # Tool to manipulate fat objects and archives on Mac OS X.
83267 LIPO=$lt_LIPO
83269 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83270 OTOOL=$lt_OTOOL
83272 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83273 OTOOL64=$lt_OTOOL64
83275 # Old archive suffix (normally "a").
83276 libext=$libext
83278 # Shared library suffix (normally ".so").
83279 shrext_cmds=$lt_shrext_cmds
83281 # The commands to extract the exported symbol list from a shared archive.
83282 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83284 # Variables whose values should be saved in libtool wrapper scripts and
83285 # restored at link time.
83286 variables_saved_for_relink=$lt_variables_saved_for_relink
83288 # Do we need the "lib" prefix for modules?
83289 need_lib_prefix=$need_lib_prefix
83291 # Do we need a version for libraries?
83292 need_version=$need_version
83294 # Library versioning type.
83295 version_type=$version_type
83297 # Shared library runtime path variable.
83298 runpath_var=$runpath_var
83300 # Shared library path variable.
83301 shlibpath_var=$shlibpath_var
83303 # Is shlibpath searched before the hard-coded library search path?
83304 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83306 # Format of library name prefix.
83307 libname_spec=$lt_libname_spec
83309 # List of archive names. First name is the real one, the rest are links.
83310 # The last name is the one that the linker finds with -lNAME
83311 library_names_spec=$lt_library_names_spec
83313 # The coded name of the library, if different from the real name.
83314 soname_spec=$lt_soname_spec
83316 # Permission mode override for installation of shared libraries.
83317 install_override_mode=$lt_install_override_mode
83319 # Command to use after installation of a shared archive.
83320 postinstall_cmds=$lt_postinstall_cmds
83322 # Command to use after uninstallation of a shared archive.
83323 postuninstall_cmds=$lt_postuninstall_cmds
83325 # Commands used to finish a libtool library installation in a directory.
83326 finish_cmds=$lt_finish_cmds
83328 # As "finish_cmds", except a single script fragment to be evaled but
83329 # not shown.
83330 finish_eval=$lt_finish_eval
83332 # Whether we should hardcode library paths into libraries.
83333 hardcode_into_libs=$hardcode_into_libs
83335 # Compile-time system search path for libraries.
83336 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83338 # Run-time system search path for libraries.
83339 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83341 # Whether dlopen is supported.
83342 dlopen_support=$enable_dlopen
83344 # Whether dlopen of programs is supported.
83345 dlopen_self=$enable_dlopen_self
83347 # Whether dlopen of statically linked programs is supported.
83348 dlopen_self_static=$enable_dlopen_self_static
83350 # Commands to strip libraries.
83351 old_striplib=$lt_old_striplib
83352 striplib=$lt_striplib
83355 # The linker used to build libraries.
83356 LD=$lt_LD
83358 # How to create reloadable object files.
83359 reload_flag=$lt_reload_flag
83360 reload_cmds=$lt_reload_cmds
83362 # Commands used to build an old-style archive.
83363 old_archive_cmds=$lt_old_archive_cmds
83365 # A language specific compiler.
83366 CC=$lt_compiler
83368 # Is the compiler the GNU compiler?
83369 with_gcc=$GCC
83371 # Compiler flag to turn off builtin functions.
83372 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83374 # How to pass a linker flag through the compiler.
83375 wl=$lt_lt_prog_compiler_wl
83377 # Additional compiler flags for building library objects.
83378 pic_flag=$lt_lt_prog_compiler_pic
83380 # Compiler flag to prevent dynamic linking.
83381 link_static_flag=$lt_lt_prog_compiler_static
83383 # Does compiler simultaneously support -c and -o options?
83384 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83386 # Whether or not to add -lc for building shared libraries.
83387 build_libtool_need_lc=$archive_cmds_need_lc
83389 # Whether or not to disallow shared libs when runtime libs are static.
83390 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83392 # Compiler flag to allow reflexive dlopens.
83393 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83395 # Compiler flag to generate shared objects directly from archives.
83396 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83398 # Whether the compiler copes with passing no objects directly.
83399 compiler_needs_object=$lt_compiler_needs_object
83401 # Create an old-style archive from a shared archive.
83402 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83404 # Create a temporary old-style archive to link instead of a shared archive.
83405 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83407 # Commands used to build a shared archive.
83408 archive_cmds=$lt_archive_cmds
83409 archive_expsym_cmds=$lt_archive_expsym_cmds
83411 # Commands used to build a loadable module if different from building
83412 # a shared archive.
83413 module_cmds=$lt_module_cmds
83414 module_expsym_cmds=$lt_module_expsym_cmds
83416 # Whether we are building with GNU ld or not.
83417 with_gnu_ld=$lt_with_gnu_ld
83419 # Flag that allows shared libraries with undefined symbols to be built.
83420 allow_undefined_flag=$lt_allow_undefined_flag
83422 # Flag that enforces no undefined symbols.
83423 no_undefined_flag=$lt_no_undefined_flag
83425 # Flag to hardcode \$libdir into a binary during linking.
83426 # This must work even if \$libdir does not exist
83427 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83429 # If ld is used when linking, flag to hardcode \$libdir into a binary
83430 # during linking. This must work even if \$libdir does not exist.
83431 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83433 # Whether we need a single "-rpath" flag with a separated argument.
83434 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83436 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83437 # DIR into the resulting binary.
83438 hardcode_direct=$hardcode_direct
83440 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83441 # DIR into the resulting binary and the resulting library dependency is
83442 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83443 # library is relocated.
83444 hardcode_direct_absolute=$hardcode_direct_absolute
83446 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83447 # into the resulting binary.
83448 hardcode_minus_L=$hardcode_minus_L
83450 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83451 # into the resulting binary.
83452 hardcode_shlibpath_var=$hardcode_shlibpath_var
83454 # Set to "yes" if building a shared library automatically hardcodes DIR
83455 # into the library and all subsequent libraries and executables linked
83456 # against it.
83457 hardcode_automatic=$hardcode_automatic
83459 # Set to yes if linker adds runtime paths of dependent libraries
83460 # to runtime path list.
83461 inherit_rpath=$inherit_rpath
83463 # Whether libtool must link a program against all its dependency libraries.
83464 link_all_deplibs=$link_all_deplibs
83466 # Fix the shell variable \$srcfile for the compiler.
83467 fix_srcfile_path=$lt_fix_srcfile_path
83469 # Set to "yes" if exported symbols are required.
83470 always_export_symbols=$always_export_symbols
83472 # The commands to list exported symbols.
83473 export_symbols_cmds=$lt_export_symbols_cmds
83475 # Symbols that should not be listed in the preloaded symbols.
83476 exclude_expsyms=$lt_exclude_expsyms
83478 # Symbols that must always be exported.
83479 include_expsyms=$lt_include_expsyms
83481 # Commands necessary for linking programs (against libraries) with templates.
83482 prelink_cmds=$lt_prelink_cmds
83484 # Specify filename containing input files.
83485 file_list_spec=$lt_file_list_spec
83487 # How to hardcode a shared library path into an executable.
83488 hardcode_action=$hardcode_action
83490 # The directories searched by this compiler when creating a shared library.
83491 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83493 # Dependencies to place before and after the objects being linked to
83494 # create a shared library.
83495 predep_objects=$lt_predep_objects
83496 postdep_objects=$lt_postdep_objects
83497 predeps=$lt_predeps
83498 postdeps=$lt_postdeps
83500 # The library search path used internally by the compiler when linking
83501 # a shared library.
83502 compiler_lib_search_path=$lt_compiler_lib_search_path
83504 # ### END LIBTOOL CONFIG
83506 _LT_EOF
83508 case $host_os in
83509 aix3*)
83510 cat <<\_LT_EOF >> "$cfgfile"
83511 # AIX sometimes has problems with the GCC collect2 program. For some
83512 # reason, if we set the COLLECT_NAMES environment variable, the problems
83513 # vanish in a puff of smoke.
83514 if test "X${COLLECT_NAMES+set}" != Xset; then
83515 COLLECT_NAMES=
83516 export COLLECT_NAMES
83518 _LT_EOF
83520 esac
83523 ltmain="$ac_aux_dir/ltmain.sh"
83526 # We use sed instead of cat because bash on DJGPP gets confused if
83527 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83528 # text mode, it properly converts lines to CR/LF. This bash problem
83529 # is reportedly fixed, but why not run on old versions too?
83530 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83531 || (rm -f "$cfgfile"; exit 1)
83533 case $xsi_shell in
83534 yes)
83535 cat << \_LT_EOF >> "$cfgfile"
83537 # func_dirname file append nondir_replacement
83538 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83539 # otherwise set result to NONDIR_REPLACEMENT.
83540 func_dirname ()
83542 case ${1} in
83543 */*) func_dirname_result="${1%/*}${2}" ;;
83544 * ) func_dirname_result="${3}" ;;
83545 esac
83548 # func_basename file
83549 func_basename ()
83551 func_basename_result="${1##*/}"
83554 # func_dirname_and_basename file append nondir_replacement
83555 # perform func_basename and func_dirname in a single function
83556 # call:
83557 # dirname: Compute the dirname of FILE. If nonempty,
83558 # add APPEND to the result, otherwise set result
83559 # to NONDIR_REPLACEMENT.
83560 # value returned in "$func_dirname_result"
83561 # basename: Compute filename of FILE.
83562 # value retuned in "$func_basename_result"
83563 # Implementation must be kept synchronized with func_dirname
83564 # and func_basename. For efficiency, we do not delegate to
83565 # those functions but instead duplicate the functionality here.
83566 func_dirname_and_basename ()
83568 case ${1} in
83569 */*) func_dirname_result="${1%/*}${2}" ;;
83570 * ) func_dirname_result="${3}" ;;
83571 esac
83572 func_basename_result="${1##*/}"
83575 # func_stripname prefix suffix name
83576 # strip PREFIX and SUFFIX off of NAME.
83577 # PREFIX and SUFFIX must not contain globbing or regex special
83578 # characters, hashes, percent signs, but SUFFIX may contain a leading
83579 # dot (in which case that matches only a dot).
83580 func_stripname ()
83582 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83583 # positional parameters, so assign one to ordinary parameter first.
83584 func_stripname_result=${3}
83585 func_stripname_result=${func_stripname_result#"${1}"}
83586 func_stripname_result=${func_stripname_result%"${2}"}
83589 # func_opt_split
83590 func_opt_split ()
83592 func_opt_split_opt=${1%%=*}
83593 func_opt_split_arg=${1#*=}
83596 # func_lo2o object
83597 func_lo2o ()
83599 case ${1} in
83600 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83601 *) func_lo2o_result=${1} ;;
83602 esac
83605 # func_xform libobj-or-source
83606 func_xform ()
83608 func_xform_result=${1%.*}.lo
83611 # func_arith arithmetic-term...
83612 func_arith ()
83614 func_arith_result=$(( $* ))
83617 # func_len string
83618 # STRING may not start with a hyphen.
83619 func_len ()
83621 func_len_result=${#1}
83624 _LT_EOF
83626 *) # Bourne compatible functions.
83627 cat << \_LT_EOF >> "$cfgfile"
83629 # func_dirname file append nondir_replacement
83630 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83631 # otherwise set result to NONDIR_REPLACEMENT.
83632 func_dirname ()
83634 # Extract subdirectory from the argument.
83635 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83636 if test "X$func_dirname_result" = "X${1}"; then
83637 func_dirname_result="${3}"
83638 else
83639 func_dirname_result="$func_dirname_result${2}"
83643 # func_basename file
83644 func_basename ()
83646 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
83650 # func_stripname prefix suffix name
83651 # strip PREFIX and SUFFIX off of NAME.
83652 # PREFIX and SUFFIX must not contain globbing or regex special
83653 # characters, hashes, percent signs, but SUFFIX may contain a leading
83654 # dot (in which case that matches only a dot).
83655 # func_strip_suffix prefix name
83656 func_stripname ()
83658 case ${2} in
83659 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
83660 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
83661 esac
83664 # sed scripts:
83665 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
83666 my_sed_long_arg='1s/^-[^=]*=//'
83668 # func_opt_split
83669 func_opt_split ()
83671 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
83672 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
83675 # func_lo2o object
83676 func_lo2o ()
83678 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
83681 # func_xform libobj-or-source
83682 func_xform ()
83684 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
83687 # func_arith arithmetic-term...
83688 func_arith ()
83690 func_arith_result=`expr "$@"`
83693 # func_len string
83694 # STRING may not start with a hyphen.
83695 func_len ()
83697 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
83700 _LT_EOF
83701 esac
83703 case $lt_shell_append in
83704 yes)
83705 cat << \_LT_EOF >> "$cfgfile"
83707 # func_append var value
83708 # Append VALUE to the end of shell variable VAR.
83709 func_append ()
83711 eval "$1+=\$2"
83713 _LT_EOF
83716 cat << \_LT_EOF >> "$cfgfile"
83718 # func_append var value
83719 # Append VALUE to the end of shell variable VAR.
83720 func_append ()
83722 eval "$1=\$$1\$2"
83725 _LT_EOF
83727 esac
83730 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
83731 || (rm -f "$cfgfile"; exit 1)
83733 mv -f "$cfgfile" "$ofile" ||
83734 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
83735 chmod +x "$ofile"
83738 cat <<_LT_EOF >> "$ofile"
83740 # ### BEGIN LIBTOOL TAG CONFIG: CXX
83742 # The linker used to build libraries.
83743 LD=$lt_LD_CXX
83745 # How to create reloadable object files.
83746 reload_flag=$lt_reload_flag_CXX
83747 reload_cmds=$lt_reload_cmds_CXX
83749 # Commands used to build an old-style archive.
83750 old_archive_cmds=$lt_old_archive_cmds_CXX
83752 # A language specific compiler.
83753 CC=$lt_compiler_CXX
83755 # Is the compiler the GNU compiler?
83756 with_gcc=$GCC_CXX
83758 # Compiler flag to turn off builtin functions.
83759 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
83761 # How to pass a linker flag through the compiler.
83762 wl=$lt_lt_prog_compiler_wl_CXX
83764 # Additional compiler flags for building library objects.
83765 pic_flag=$lt_lt_prog_compiler_pic_CXX
83767 # Compiler flag to prevent dynamic linking.
83768 link_static_flag=$lt_lt_prog_compiler_static_CXX
83770 # Does compiler simultaneously support -c and -o options?
83771 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
83773 # Whether or not to add -lc for building shared libraries.
83774 build_libtool_need_lc=$archive_cmds_need_lc_CXX
83776 # Whether or not to disallow shared libs when runtime libs are static.
83777 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
83779 # Compiler flag to allow reflexive dlopens.
83780 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
83782 # Compiler flag to generate shared objects directly from archives.
83783 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
83785 # Whether the compiler copes with passing no objects directly.
83786 compiler_needs_object=$lt_compiler_needs_object_CXX
83788 # Create an old-style archive from a shared archive.
83789 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
83791 # Create a temporary old-style archive to link instead of a shared archive.
83792 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
83794 # Commands used to build a shared archive.
83795 archive_cmds=$lt_archive_cmds_CXX
83796 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
83798 # Commands used to build a loadable module if different from building
83799 # a shared archive.
83800 module_cmds=$lt_module_cmds_CXX
83801 module_expsym_cmds=$lt_module_expsym_cmds_CXX
83803 # Whether we are building with GNU ld or not.
83804 with_gnu_ld=$lt_with_gnu_ld_CXX
83806 # Flag that allows shared libraries with undefined symbols to be built.
83807 allow_undefined_flag=$lt_allow_undefined_flag_CXX
83809 # Flag that enforces no undefined symbols.
83810 no_undefined_flag=$lt_no_undefined_flag_CXX
83812 # Flag to hardcode \$libdir into a binary during linking.
83813 # This must work even if \$libdir does not exist
83814 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
83816 # If ld is used when linking, flag to hardcode \$libdir into a binary
83817 # during linking. This must work even if \$libdir does not exist.
83818 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
83820 # Whether we need a single "-rpath" flag with a separated argument.
83821 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
83823 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83824 # DIR into the resulting binary.
83825 hardcode_direct=$hardcode_direct_CXX
83827 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83828 # DIR into the resulting binary and the resulting library dependency is
83829 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83830 # library is relocated.
83831 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
83833 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83834 # into the resulting binary.
83835 hardcode_minus_L=$hardcode_minus_L_CXX
83837 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83838 # into the resulting binary.
83839 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
83841 # Set to "yes" if building a shared library automatically hardcodes DIR
83842 # into the library and all subsequent libraries and executables linked
83843 # against it.
83844 hardcode_automatic=$hardcode_automatic_CXX
83846 # Set to yes if linker adds runtime paths of dependent libraries
83847 # to runtime path list.
83848 inherit_rpath=$inherit_rpath_CXX
83850 # Whether libtool must link a program against all its dependency libraries.
83851 link_all_deplibs=$link_all_deplibs_CXX
83853 # Fix the shell variable \$srcfile for the compiler.
83854 fix_srcfile_path=$lt_fix_srcfile_path_CXX
83856 # Set to "yes" if exported symbols are required.
83857 always_export_symbols=$always_export_symbols_CXX
83859 # The commands to list exported symbols.
83860 export_symbols_cmds=$lt_export_symbols_cmds_CXX
83862 # Symbols that should not be listed in the preloaded symbols.
83863 exclude_expsyms=$lt_exclude_expsyms_CXX
83865 # Symbols that must always be exported.
83866 include_expsyms=$lt_include_expsyms_CXX
83868 # Commands necessary for linking programs (against libraries) with templates.
83869 prelink_cmds=$lt_prelink_cmds_CXX
83871 # Specify filename containing input files.
83872 file_list_spec=$lt_file_list_spec_CXX
83874 # How to hardcode a shared library path into an executable.
83875 hardcode_action=$hardcode_action_CXX
83877 # The directories searched by this compiler when creating a shared library.
83878 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
83880 # Dependencies to place before and after the objects being linked to
83881 # create a shared library.
83882 predep_objects=$lt_predep_objects_CXX
83883 postdep_objects=$lt_postdep_objects_CXX
83884 predeps=$lt_predeps_CXX
83885 postdeps=$lt_postdeps_CXX
83887 # The library search path used internally by the compiler when linking
83888 # a shared library.
83889 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
83891 # ### END LIBTOOL TAG CONFIG: CXX
83892 _LT_EOF
83895 "include/gstdint.h":C)
83896 if test "$GCC" = yes; then
83897 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
83898 else
83899 echo "/* generated for $CC */" > tmp-stdint.h
83902 sed 's/^ *//' >> tmp-stdint.h <<EOF
83904 #ifndef GCC_GENERATED_STDINT_H
83905 #define GCC_GENERATED_STDINT_H 1
83907 #include <sys/types.h>
83910 if test "$acx_cv_header_stdint" != stdint.h; then
83911 echo "#include <stddef.h>" >> tmp-stdint.h
83913 if test "$acx_cv_header_stdint" != stddef.h; then
83914 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
83917 sed 's/^ *//' >> tmp-stdint.h <<EOF
83918 /* glibc uses these symbols as guards to prevent redefinitions. */
83919 #ifdef __int8_t_defined
83920 #define _INT8_T
83921 #define _INT16_T
83922 #define _INT32_T
83923 #endif
83924 #ifdef __uint32_t_defined
83925 #define _UINT32_T
83926 #endif
83930 # ----------------- done header, emit basic int types -------------
83931 if test "$acx_cv_header_stdint" = stddef.h; then
83932 sed 's/^ *//' >> tmp-stdint.h <<EOF
83934 #ifndef _UINT8_T
83935 #define _UINT8_T
83936 #ifndef __uint8_t_defined
83937 #define __uint8_t_defined
83938 #ifndef uint8_t
83939 typedef unsigned $acx_cv_type_int8_t uint8_t;
83940 #endif
83941 #endif
83942 #endif
83944 #ifndef _UINT16_T
83945 #define _UINT16_T
83946 #ifndef __uint16_t_defined
83947 #define __uint16_t_defined
83948 #ifndef uint16_t
83949 typedef unsigned $acx_cv_type_int16_t uint16_t;
83950 #endif
83951 #endif
83952 #endif
83954 #ifndef _UINT32_T
83955 #define _UINT32_T
83956 #ifndef __uint32_t_defined
83957 #define __uint32_t_defined
83958 #ifndef uint32_t
83959 typedef unsigned $acx_cv_type_int32_t uint32_t;
83960 #endif
83961 #endif
83962 #endif
83964 #ifndef _INT8_T
83965 #define _INT8_T
83966 #ifndef __int8_t_defined
83967 #define __int8_t_defined
83968 #ifndef int8_t
83969 typedef $acx_cv_type_int8_t int8_t;
83970 #endif
83971 #endif
83972 #endif
83974 #ifndef _INT16_T
83975 #define _INT16_T
83976 #ifndef __int16_t_defined
83977 #define __int16_t_defined
83978 #ifndef int16_t
83979 typedef $acx_cv_type_int16_t int16_t;
83980 #endif
83981 #endif
83982 #endif
83984 #ifndef _INT32_T
83985 #define _INT32_T
83986 #ifndef __int32_t_defined
83987 #define __int32_t_defined
83988 #ifndef int32_t
83989 typedef $acx_cv_type_int32_t int32_t;
83990 #endif
83991 #endif
83992 #endif
83994 elif test "$ac_cv_type_u_int32_t" = yes; then
83995 sed 's/^ *//' >> tmp-stdint.h <<EOF
83997 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
83998 #ifndef _INT8_T
83999 #define _INT8_T
84000 #endif
84001 #ifndef _INT16_T
84002 #define _INT16_T
84003 #endif
84004 #ifndef _INT32_T
84005 #define _INT32_T
84006 #endif
84008 #ifndef _UINT8_T
84009 #define _UINT8_T
84010 #ifndef __uint8_t_defined
84011 #define __uint8_t_defined
84012 #ifndef uint8_t
84013 typedef u_int8_t uint8_t;
84014 #endif
84015 #endif
84016 #endif
84018 #ifndef _UINT16_T
84019 #define _UINT16_T
84020 #ifndef __uint16_t_defined
84021 #define __uint16_t_defined
84022 #ifndef uint16_t
84023 typedef u_int16_t uint16_t;
84024 #endif
84025 #endif
84026 #endif
84028 #ifndef _UINT32_T
84029 #define _UINT32_T
84030 #ifndef __uint32_t_defined
84031 #define __uint32_t_defined
84032 #ifndef uint32_t
84033 typedef u_int32_t uint32_t;
84034 #endif
84035 #endif
84036 #endif
84038 else
84039 sed 's/^ *//' >> tmp-stdint.h <<EOF
84041 /* Some systems have guard macros to prevent redefinitions, define them. */
84042 #ifndef _INT8_T
84043 #define _INT8_T
84044 #endif
84045 #ifndef _INT16_T
84046 #define _INT16_T
84047 #endif
84048 #ifndef _INT32_T
84049 #define _INT32_T
84050 #endif
84051 #ifndef _UINT8_T
84052 #define _UINT8_T
84053 #endif
84054 #ifndef _UINT16_T
84055 #define _UINT16_T
84056 #endif
84057 #ifndef _UINT32_T
84058 #define _UINT32_T
84059 #endif
84063 # ------------- done basic int types, emit int64_t types ------------
84064 if test "$ac_cv_type_uint64_t" = yes; then
84065 sed 's/^ *//' >> tmp-stdint.h <<EOF
84067 /* system headers have good uint64_t and int64_t */
84068 #ifndef _INT64_T
84069 #define _INT64_T
84070 #endif
84071 #ifndef _UINT64_T
84072 #define _UINT64_T
84073 #endif
84075 elif test "$ac_cv_type_u_int64_t" = yes; then
84076 sed 's/^ *//' >> tmp-stdint.h <<EOF
84078 /* system headers have an u_int64_t (and int64_t) */
84079 #ifndef _INT64_T
84080 #define _INT64_T
84081 #endif
84082 #ifndef _UINT64_T
84083 #define _UINT64_T
84084 #ifndef __uint64_t_defined
84085 #define __uint64_t_defined
84086 #ifndef uint64_t
84087 typedef u_int64_t uint64_t;
84088 #endif
84089 #endif
84090 #endif
84092 elif test -n "$acx_cv_type_int64_t"; then
84093 sed 's/^ *//' >> tmp-stdint.h <<EOF
84095 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84096 #ifndef _INT64_T
84097 #define _INT64_T
84098 #ifndef int64_t
84099 typedef $acx_cv_type_int64_t int64_t;
84100 #endif
84101 #endif
84102 #ifndef _UINT64_T
84103 #define _UINT64_T
84104 #ifndef __uint64_t_defined
84105 #define __uint64_t_defined
84106 #ifndef uint64_t
84107 typedef unsigned $acx_cv_type_int64_t uint64_t;
84108 #endif
84109 #endif
84110 #endif
84112 else
84113 sed 's/^ *//' >> tmp-stdint.h <<EOF
84115 /* some common heuristics for int64_t, using compiler-specific tests */
84116 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84117 #ifndef _INT64_T
84118 #define _INT64_T
84119 #ifndef __int64_t_defined
84120 #ifndef int64_t
84121 typedef long long int64_t;
84122 #endif
84123 #endif
84124 #endif
84125 #ifndef _UINT64_T
84126 #define _UINT64_T
84127 #ifndef uint64_t
84128 typedef unsigned long long uint64_t;
84129 #endif
84130 #endif
84132 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84133 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84134 does not implement __extension__. But that compiler doesn't define
84135 __GNUC_MINOR__. */
84136 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84137 # define __extension__
84138 # endif
84140 # ifndef _INT64_T
84141 # define _INT64_T
84142 # ifndef int64_t
84143 __extension__ typedef long long int64_t;
84144 # endif
84145 # endif
84146 # ifndef _UINT64_T
84147 # define _UINT64_T
84148 # ifndef uint64_t
84149 __extension__ typedef unsigned long long uint64_t;
84150 # endif
84151 # endif
84153 #elif !defined __STRICT_ANSI__
84154 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84156 # ifndef _INT64_T
84157 # define _INT64_T
84158 # ifndef int64_t
84159 typedef __int64 int64_t;
84160 # endif
84161 # endif
84162 # ifndef _UINT64_T
84163 # define _UINT64_T
84164 # ifndef uint64_t
84165 typedef unsigned __int64 uint64_t;
84166 # endif
84167 # endif
84168 # endif /* compiler */
84170 #endif /* ANSI version */
84174 # ------------- done int64_t types, emit intptr types ------------
84175 if test "$ac_cv_type_uintptr_t" != yes; then
84176 sed 's/^ *//' >> tmp-stdint.h <<EOF
84178 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84179 #ifndef __uintptr_t_defined
84180 #ifndef uintptr_t
84181 typedef u$acx_cv_type_intptr_t uintptr_t;
84182 #endif
84183 #endif
84184 #ifndef __intptr_t_defined
84185 #ifndef intptr_t
84186 typedef $acx_cv_type_intptr_t intptr_t;
84187 #endif
84188 #endif
84192 # ------------- done intptr types, emit int_least types ------------
84193 if test "$ac_cv_type_int_least32_t" != yes; then
84194 sed 's/^ *//' >> tmp-stdint.h <<EOF
84196 /* Define int_least types */
84197 typedef int8_t int_least8_t;
84198 typedef int16_t int_least16_t;
84199 typedef int32_t int_least32_t;
84200 #ifdef _INT64_T
84201 typedef int64_t int_least64_t;
84202 #endif
84204 typedef uint8_t uint_least8_t;
84205 typedef uint16_t uint_least16_t;
84206 typedef uint32_t uint_least32_t;
84207 #ifdef _UINT64_T
84208 typedef uint64_t uint_least64_t;
84209 #endif
84213 # ------------- done intptr types, emit int_fast types ------------
84214 if test "$ac_cv_type_int_fast32_t" != yes; then
84215 sed 's/^ *//' >> tmp-stdint.h <<EOF
84217 /* Define int_fast types. short is often slow */
84218 typedef int8_t int_fast8_t;
84219 typedef int int_fast16_t;
84220 typedef int32_t int_fast32_t;
84221 #ifdef _INT64_T
84222 typedef int64_t int_fast64_t;
84223 #endif
84225 typedef uint8_t uint_fast8_t;
84226 typedef unsigned int uint_fast16_t;
84227 typedef uint32_t uint_fast32_t;
84228 #ifdef _UINT64_T
84229 typedef uint64_t uint_fast64_t;
84230 #endif
84234 if test "$ac_cv_type_uintmax_t" != yes; then
84235 sed 's/^ *//' >> tmp-stdint.h <<EOF
84237 /* Define intmax based on what we found */
84238 #ifndef intmax_t
84239 #ifdef _INT64_T
84240 typedef int64_t intmax_t;
84241 #else
84242 typedef long intmax_t;
84243 #endif
84244 #endif
84245 #ifndef uintmax_t
84246 #ifdef _UINT64_T
84247 typedef uint64_t uintmax_t;
84248 #else
84249 typedef unsigned long uintmax_t;
84250 #endif
84251 #endif
84255 sed 's/^ *//' >> tmp-stdint.h <<EOF
84257 #endif /* GCC_GENERATED_STDINT_H */
84260 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84261 rm -f tmp-stdint.h
84262 else
84263 mv -f tmp-stdint.h include/gstdint.h
84267 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84268 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84269 "include/Makefile":F) cat > vpsed$$ << \_EOF
84270 s!`test -f '$<' || echo '$(srcdir)/'`!!
84271 _EOF
84272 sed -f vpsed$$ $ac_file > tmp$$
84273 mv tmp$$ $ac_file
84274 rm vpsed$$
84275 echo 'MULTISUBDIR =' >> $ac_file
84276 ml_norecursion=yes
84277 . ${multi_basedir}/config-ml.in
84278 { ml_norecursion=; unset ml_norecursion;}
84280 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84281 s!`test -f '$<' || echo '$(srcdir)/'`!!
84282 _EOF
84283 sed -f vpsed$$ $ac_file > tmp$$
84284 mv tmp$$ $ac_file
84285 rm vpsed$$
84286 echo 'MULTISUBDIR =' >> $ac_file
84287 ml_norecursion=yes
84288 . ${multi_basedir}/config-ml.in
84289 { ml_norecursion=; unset ml_norecursion;}
84291 "src/Makefile":F) cat > vpsed$$ << \_EOF
84292 s!`test -f '$<' || echo '$(srcdir)/'`!!
84293 _EOF
84294 sed -f vpsed$$ $ac_file > tmp$$
84295 mv tmp$$ $ac_file
84296 rm vpsed$$
84297 echo 'MULTISUBDIR =' >> $ac_file
84298 ml_norecursion=yes
84299 . ${multi_basedir}/config-ml.in
84300 { ml_norecursion=; unset ml_norecursion;}
84302 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84303 s!`test -f '$<' || echo '$(srcdir)/'`!!
84304 _EOF
84305 sed -f vpsed$$ $ac_file > tmp$$
84306 mv tmp$$ $ac_file
84307 rm vpsed$$
84308 echo 'MULTISUBDIR =' >> $ac_file
84309 ml_norecursion=yes
84310 . ${multi_basedir}/config-ml.in
84311 { ml_norecursion=; unset ml_norecursion;}
84313 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84314 s!`test -f '$<' || echo '$(srcdir)/'`!!
84315 _EOF
84316 sed -f vpsed$$ $ac_file > tmp$$
84317 mv tmp$$ $ac_file
84318 rm vpsed$$
84319 echo 'MULTISUBDIR =' >> $ac_file
84320 ml_norecursion=yes
84321 . ${multi_basedir}/config-ml.in
84322 { ml_norecursion=; unset ml_norecursion;}
84324 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84325 s!`test -f '$<' || echo '$(srcdir)/'`!!
84326 _EOF
84327 sed -f vpsed$$ $ac_file > tmp$$
84328 mv tmp$$ $ac_file
84329 rm vpsed$$
84330 echo 'MULTISUBDIR =' >> $ac_file
84331 ml_norecursion=yes
84332 . ${multi_basedir}/config-ml.in
84333 { ml_norecursion=; unset ml_norecursion;}
84335 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84336 s!`test -f '$<' || echo '$(srcdir)/'`!!
84337 _EOF
84338 sed -f vpsed$$ $ac_file > tmp$$
84339 mv tmp$$ $ac_file
84340 rm vpsed$$
84341 echo 'MULTISUBDIR =' >> $ac_file
84342 ml_norecursion=yes
84343 . ${multi_basedir}/config-ml.in
84344 { ml_norecursion=; unset ml_norecursion;}
84346 "po/Makefile":F) cat > vpsed$$ << \_EOF
84347 s!`test -f '$<' || echo '$(srcdir)/'`!!
84348 _EOF
84349 sed -f vpsed$$ $ac_file > tmp$$
84350 mv tmp$$ $ac_file
84351 rm vpsed$$
84352 echo 'MULTISUBDIR =' >> $ac_file
84353 ml_norecursion=yes
84354 . ${multi_basedir}/config-ml.in
84355 { ml_norecursion=; unset ml_norecursion;}
84357 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84358 s!`test -f '$<' || echo '$(srcdir)/'`!!
84359 _EOF
84360 sed -f vpsed$$ $ac_file > tmp$$
84361 mv tmp$$ $ac_file
84362 rm vpsed$$
84363 echo 'MULTISUBDIR =' >> $ac_file
84364 ml_norecursion=yes
84365 . ${multi_basedir}/config-ml.in
84366 { ml_norecursion=; unset ml_norecursion;}
84368 "python/Makefile":F) cat > vpsed$$ << \_EOF
84369 s!`test -f '$<' || echo '$(srcdir)/'`!!
84370 _EOF
84371 sed -f vpsed$$ $ac_file > tmp$$
84372 mv tmp$$ $ac_file
84373 rm vpsed$$
84374 echo 'MULTISUBDIR =' >> $ac_file
84375 ml_norecursion=yes
84376 . ${multi_basedir}/config-ml.in
84377 { ml_norecursion=; unset ml_norecursion;}
84379 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84381 esac
84382 done # for ac_tag
84385 as_fn_exit 0
84386 _ACEOF
84387 ac_clean_files=$ac_clean_files_save
84389 test $ac_write_fail = 0 ||
84390 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84393 # configure is writing to config.log, and then calls config.status.
84394 # config.status does its own redirection, appending to config.log.
84395 # Unfortunately, on DOS this fails, as config.log is still kept open
84396 # by configure, so config.status won't be able to write to it; its
84397 # output is simply discarded. So we exec the FD to /dev/null,
84398 # effectively closing config.log, so it can be properly (re)opened and
84399 # appended to by config.status. When coming back to configure, we
84400 # need to make the FD available again.
84401 if test "$no_create" != yes; then
84402 ac_cs_success=:
84403 ac_config_status_args=
84404 test "$silent" = yes &&
84405 ac_config_status_args="$ac_config_status_args --quiet"
84406 exec 5>/dev/null
84407 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84408 exec 5>>config.log
84409 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84410 # would make configure fail if this is the last instruction.
84411 $ac_cs_success || as_fn_exit $?
84413 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84415 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}