PR middle-end/78245 - missing -Wformat-length on an overflow of a dynamically allocat...
[official-gcc.git] / libstdc++-v3 / configure
blob64d893344b8355e7474e0b5e51ccf37633928d54
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_CFLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 LONG_DOUBLE_COMPAT_FLAGS
649 ENABLE_CXX11_ABI_FALSE
650 ENABLE_CXX11_ABI_TRUE
651 glibcxx_cxx98_abi
652 ENABLE_DUAL_ABI_FALSE
653 ENABLE_DUAL_ABI_TRUE
654 ENABLE_VISIBILITY_FALSE
655 ENABLE_VISIBILITY_TRUE
656 libtool_VERSION
657 ENABLE_SYMVERS_SUN_FALSE
658 ENABLE_SYMVERS_SUN_TRUE
659 ENABLE_SYMVERS_DARWIN_FALSE
660 ENABLE_SYMVERS_DARWIN_TRUE
661 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
662 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
663 ENABLE_SYMVERS_GNU_FALSE
664 ENABLE_SYMVERS_GNU_TRUE
665 ENABLE_SYMVERS_FALSE
666 ENABLE_SYMVERS_TRUE
667 port_specific_symbol_files
668 SYMVER_FILE
669 CXXFILT
670 LTLIBICONV
671 LIBICONV
672 OPT_LDFLAGS
673 SECTION_LDFLAGS
674 GLIBCXX_LIBS
675 ENABLE_VTABLE_VERIFY_FALSE
676 ENABLE_VTABLE_VERIFY_TRUE
677 VTV_CYGMIN_FALSE
678 VTV_CYGMIN_TRUE
679 VTV_CXXLINKFLAGS
680 VTV_PCH_CXXFLAGS
681 VTV_CXXFLAGS
682 ENABLE_WERROR_FALSE
683 ENABLE_WERROR_TRUE
684 ENABLE_PYTHONDIR_FALSE
685 ENABLE_PYTHONDIR_TRUE
686 python_mod_dir
687 ENABLE_EXTERN_TEMPLATE_FALSE
688 ENABLE_EXTERN_TEMPLATE_TRUE
689 EXTRA_CXX_FLAGS
690 GLIBCXX_BUILD_DEBUG_FALSE
691 GLIBCXX_BUILD_DEBUG_TRUE
692 DEBUG_FLAGS
693 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
694 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
695 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
696 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
697 GLIBCXX_C_HEADERS_C_STD_FALSE
698 GLIBCXX_C_HEADERS_C_STD_TRUE
699 GLIBCXX_C_HEADERS_C_FALSE
700 GLIBCXX_C_HEADERS_C_TRUE
701 C_INCLUDE_DIR
702 ALLOCATOR_NAME
703 ALLOCATOR_H
704 ENABLE_ALLOCATOR_NEW_FALSE
705 ENABLE_ALLOCATOR_NEW_TRUE
706 CLOCALE_INTERNAL_H
707 CLOCALE_CC
708 CTIME_CC
709 CTIME_H
710 CNUMERIC_CC
711 CMONEY_CC
712 CMESSAGES_CC
713 CCTYPE_CC
714 CCOLLATE_CC
715 CCODECVT_CC
716 CMESSAGES_H
717 CLOCALE_H
718 USE_NLS
719 glibcxx_localedir
720 glibcxx_POFILES
721 glibcxx_MOFILES
722 check_msgfmt
723 BASIC_FILE_CC
724 BASIC_FILE_H
725 CSTDIO_H
726 SECTION_FLAGS
727 WERROR
728 thread_header
729 glibcxx_PCHFLAGS
730 GLIBCXX_BUILD_PCH_FALSE
731 GLIBCXX_BUILD_PCH_TRUE
732 GLIBCXX_HOSTED_FALSE
733 GLIBCXX_HOSTED_TRUE
734 glibcxx_compiler_shared_flag
735 glibcxx_compiler_pic_flag
736 glibcxx_lt_pic_flag
737 enable_static
738 enable_shared
739 lt_host_flags
740 CXXCPP
741 OTOOL64
742 OTOOL
743 LIPO
744 NMEDIT
745 DSYMUTIL
746 OBJDUMP
748 ac_ct_DUMPBIN
749 DUMPBIN
751 FGREP
753 LIBTOOL
754 EGREP
755 GREP
757 MAINT
758 MAINTAINER_MODE_FALSE
759 MAINTAINER_MODE_TRUE
760 RANLIB
763 LN_S
764 toplevel_srcdir
765 toplevel_builddir
766 glibcxx_srcdir
767 glibcxx_builddir
768 ac_ct_CXX
769 CXXFLAGS
771 OBJEXT
772 EXEEXT
773 ac_ct_CC
774 CPPFLAGS
775 LDFLAGS
776 CFLAGS
778 am__untar
779 am__tar
780 AMTAR
781 am__leading_dot
782 SET_MAKE
784 mkdir_p
785 MKDIR_P
786 INSTALL_STRIP_PROGRAM
787 STRIP
788 install_sh
789 MAKEINFO
790 AUTOHEADER
791 AUTOMAKE
792 AUTOCONF
793 ACLOCAL
794 VERSION
795 PACKAGE
796 CYGPATH_W
797 am__isrc
798 INSTALL_DATA
799 INSTALL_SCRIPT
800 INSTALL_PROGRAM
801 target_os
802 target_vendor
803 target_cpu
804 target
805 host_os
806 host_vendor
807 host_cpu
808 host
809 build_os
810 build_vendor
811 build_cpu
812 build
813 multi_basedir
814 target_alias
815 host_alias
816 build_alias
817 LIBS
818 ECHO_T
819 ECHO_N
820 ECHO_C
821 DEFS
822 mandir
823 localedir
824 libdir
825 psdir
826 pdfdir
827 dvidir
828 htmldir
829 infodir
830 docdir
831 oldincludedir
832 includedir
833 localstatedir
834 sharedstatedir
835 sysconfdir
836 datadir
837 datarootdir
838 libexecdir
839 sbindir
840 bindir
841 program_transform_name
842 prefix
843 exec_prefix
844 PACKAGE_URL
845 PACKAGE_BUGREPORT
846 PACKAGE_STRING
847 PACKAGE_VERSION
848 PACKAGE_TARNAME
849 PACKAGE_NAME
850 PATH_SEPARATOR
851 SHELL'
852 ac_subst_files=''
853 ac_user_opts='
854 enable_option_checking
855 enable_multilib
856 with_target_subdir
857 with_cross_host
858 with_newlib
859 enable_maintainer_mode
860 enable_shared
861 enable_static
862 with_pic
863 enable_fast_install
864 with_gnu_ld
865 enable_libtool_lock
866 enable_hosted_libstdcxx
867 enable_libstdcxx_verbose
868 enable_libstdcxx_pch
869 enable_cstdio
870 enable_clocale
871 enable_nls
872 enable_libstdcxx_allocator
873 enable_cheaders
874 enable_long_long
875 enable_wchar_t
876 enable_c99
877 enable_concept_checks
878 enable_libstdcxx_debug_flags
879 enable_libstdcxx_debug
880 enable_cxx_flags
881 enable_fully_dynamic_string
882 enable_extern_template
883 with_python_dir
884 enable_werror
885 enable_vtable_verify
886 enable_libstdcxx_time
887 enable_tls
888 enable_rpath
889 with_libiconv_prefix
890 with_system_libunwind
891 enable_linux_futex
892 enable_symvers
893 enable_libstdcxx_visibility
894 enable_libstdcxx_dual_abi
895 with_default_libstdcxx_abi
896 enable_libstdcxx_threads
897 enable_libstdcxx_filesystem_ts
898 with_gxx_include_dir
899 enable_version_specific_runtime_libs
901 ac_precious_vars='build_alias
902 host_alias
903 target_alias
905 CFLAGS
906 LDFLAGS
907 LIBS
908 CPPFLAGS
910 CXXFLAGS
913 CXXCPP
914 CXXFILT'
917 # Initialize some variables set by options.
918 ac_init_help=
919 ac_init_version=false
920 ac_unrecognized_opts=
921 ac_unrecognized_sep=
922 # The variables have the same names as the options, with
923 # dashes changed to underlines.
924 cache_file=/dev/null
925 exec_prefix=NONE
926 no_create=
927 no_recursion=
928 prefix=NONE
929 program_prefix=NONE
930 program_suffix=NONE
931 program_transform_name=s,x,x,
932 silent=
933 site=
934 srcdir=
935 verbose=
936 x_includes=NONE
937 x_libraries=NONE
939 # Installation directory options.
940 # These are left unexpanded so users can "make install exec_prefix=/foo"
941 # and all the variables that are supposed to be based on exec_prefix
942 # by default will actually change.
943 # Use braces instead of parens because sh, perl, etc. also accept them.
944 # (The list follows the same order as the GNU Coding Standards.)
945 bindir='${exec_prefix}/bin'
946 sbindir='${exec_prefix}/sbin'
947 libexecdir='${exec_prefix}/libexec'
948 datarootdir='${prefix}/share'
949 datadir='${datarootdir}'
950 sysconfdir='${prefix}/etc'
951 sharedstatedir='${prefix}/com'
952 localstatedir='${prefix}/var'
953 includedir='${prefix}/include'
954 oldincludedir='/usr/include'
955 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
956 infodir='${datarootdir}/info'
957 htmldir='${docdir}'
958 dvidir='${docdir}'
959 pdfdir='${docdir}'
960 psdir='${docdir}'
961 libdir='${exec_prefix}/lib'
962 localedir='${datarootdir}/locale'
963 mandir='${datarootdir}/man'
965 ac_prev=
966 ac_dashdash=
967 for ac_option
969 # If the previous option needs an argument, assign it.
970 if test -n "$ac_prev"; then
971 eval $ac_prev=\$ac_option
972 ac_prev=
973 continue
976 case $ac_option in
977 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
978 *) ac_optarg=yes ;;
979 esac
981 # Accept the important Cygnus configure options, so we can diagnose typos.
983 case $ac_dashdash$ac_option in
985 ac_dashdash=yes ;;
987 -bindir | --bindir | --bindi | --bind | --bin | --bi)
988 ac_prev=bindir ;;
989 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
990 bindir=$ac_optarg ;;
992 -build | --build | --buil | --bui | --bu)
993 ac_prev=build_alias ;;
994 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
995 build_alias=$ac_optarg ;;
997 -cache-file | --cache-file | --cache-fil | --cache-fi \
998 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
999 ac_prev=cache_file ;;
1000 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1001 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1002 cache_file=$ac_optarg ;;
1004 --config-cache | -C)
1005 cache_file=config.cache ;;
1007 -datadir | --datadir | --datadi | --datad)
1008 ac_prev=datadir ;;
1009 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1010 datadir=$ac_optarg ;;
1012 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1013 | --dataroo | --dataro | --datar)
1014 ac_prev=datarootdir ;;
1015 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1016 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1017 datarootdir=$ac_optarg ;;
1019 -disable-* | --disable-*)
1020 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023 as_fn_error "invalid feature name: $ac_useropt"
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_$ac_useropt"
1029 "*) ;;
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1032 esac
1033 eval enable_$ac_useropt=no ;;
1035 -docdir | --docdir | --docdi | --doc | --do)
1036 ac_prev=docdir ;;
1037 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1038 docdir=$ac_optarg ;;
1040 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1041 ac_prev=dvidir ;;
1042 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1043 dvidir=$ac_optarg ;;
1045 -enable-* | --enable-*)
1046 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 as_fn_error "invalid feature name: $ac_useropt"
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "enable_$ac_useropt"
1055 "*) ;;
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1058 esac
1059 eval enable_$ac_useropt=\$ac_optarg ;;
1061 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1062 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1063 | --exec | --exe | --ex)
1064 ac_prev=exec_prefix ;;
1065 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1066 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1067 | --exec=* | --exe=* | --ex=*)
1068 exec_prefix=$ac_optarg ;;
1070 -gas | --gas | --ga | --g)
1071 # Obsolete; use --with-gas.
1072 with_gas=yes ;;
1074 -help | --help | --hel | --he | -h)
1075 ac_init_help=long ;;
1076 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1077 ac_init_help=recursive ;;
1078 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1079 ac_init_help=short ;;
1081 -host | --host | --hos | --ho)
1082 ac_prev=host_alias ;;
1083 -host=* | --host=* | --hos=* | --ho=*)
1084 host_alias=$ac_optarg ;;
1086 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1087 ac_prev=htmldir ;;
1088 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1089 | --ht=*)
1090 htmldir=$ac_optarg ;;
1092 -includedir | --includedir | --includedi | --included | --include \
1093 | --includ | --inclu | --incl | --inc)
1094 ac_prev=includedir ;;
1095 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1096 | --includ=* | --inclu=* | --incl=* | --inc=*)
1097 includedir=$ac_optarg ;;
1099 -infodir | --infodir | --infodi | --infod | --info | --inf)
1100 ac_prev=infodir ;;
1101 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1102 infodir=$ac_optarg ;;
1104 -libdir | --libdir | --libdi | --libd)
1105 ac_prev=libdir ;;
1106 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1107 libdir=$ac_optarg ;;
1109 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1110 | --libexe | --libex | --libe)
1111 ac_prev=libexecdir ;;
1112 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1113 | --libexe=* | --libex=* | --libe=*)
1114 libexecdir=$ac_optarg ;;
1116 -localedir | --localedir | --localedi | --localed | --locale)
1117 ac_prev=localedir ;;
1118 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1119 localedir=$ac_optarg ;;
1121 -localstatedir | --localstatedir | --localstatedi | --localstated \
1122 | --localstate | --localstat | --localsta | --localst | --locals)
1123 ac_prev=localstatedir ;;
1124 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1125 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1126 localstatedir=$ac_optarg ;;
1128 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1129 ac_prev=mandir ;;
1130 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1131 mandir=$ac_optarg ;;
1133 -nfp | --nfp | --nf)
1134 # Obsolete; use --without-fp.
1135 with_fp=no ;;
1137 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1138 | --no-cr | --no-c | -n)
1139 no_create=yes ;;
1141 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1142 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1143 no_recursion=yes ;;
1145 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1146 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1147 | --oldin | --oldi | --old | --ol | --o)
1148 ac_prev=oldincludedir ;;
1149 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1150 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1151 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1152 oldincludedir=$ac_optarg ;;
1154 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1155 ac_prev=prefix ;;
1156 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1157 prefix=$ac_optarg ;;
1159 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1160 | --program-pre | --program-pr | --program-p)
1161 ac_prev=program_prefix ;;
1162 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1163 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1164 program_prefix=$ac_optarg ;;
1166 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1167 | --program-suf | --program-su | --program-s)
1168 ac_prev=program_suffix ;;
1169 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1170 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1171 program_suffix=$ac_optarg ;;
1173 -program-transform-name | --program-transform-name \
1174 | --program-transform-nam | --program-transform-na \
1175 | --program-transform-n | --program-transform- \
1176 | --program-transform | --program-transfor \
1177 | --program-transfo | --program-transf \
1178 | --program-trans | --program-tran \
1179 | --progr-tra | --program-tr | --program-t)
1180 ac_prev=program_transform_name ;;
1181 -program-transform-name=* | --program-transform-name=* \
1182 | --program-transform-nam=* | --program-transform-na=* \
1183 | --program-transform-n=* | --program-transform-=* \
1184 | --program-transform=* | --program-transfor=* \
1185 | --program-transfo=* | --program-transf=* \
1186 | --program-trans=* | --program-tran=* \
1187 | --progr-tra=* | --program-tr=* | --program-t=*)
1188 program_transform_name=$ac_optarg ;;
1190 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1191 ac_prev=pdfdir ;;
1192 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1193 pdfdir=$ac_optarg ;;
1195 -psdir | --psdir | --psdi | --psd | --ps)
1196 ac_prev=psdir ;;
1197 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1198 psdir=$ac_optarg ;;
1200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1201 | -silent | --silent | --silen | --sile | --sil)
1202 silent=yes ;;
1204 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1205 ac_prev=sbindir ;;
1206 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1207 | --sbi=* | --sb=*)
1208 sbindir=$ac_optarg ;;
1210 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1211 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1212 | --sharedst | --shareds | --shared | --share | --shar \
1213 | --sha | --sh)
1214 ac_prev=sharedstatedir ;;
1215 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1216 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1217 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1218 | --sha=* | --sh=*)
1219 sharedstatedir=$ac_optarg ;;
1221 -site | --site | --sit)
1222 ac_prev=site ;;
1223 -site=* | --site=* | --sit=*)
1224 site=$ac_optarg ;;
1226 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1227 ac_prev=srcdir ;;
1228 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1229 srcdir=$ac_optarg ;;
1231 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1232 | --syscon | --sysco | --sysc | --sys | --sy)
1233 ac_prev=sysconfdir ;;
1234 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1235 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1236 sysconfdir=$ac_optarg ;;
1238 -target | --target | --targe | --targ | --tar | --ta | --t)
1239 ac_prev=target_alias ;;
1240 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1241 target_alias=$ac_optarg ;;
1243 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1244 verbose=yes ;;
1246 -version | --version | --versio | --versi | --vers | -V)
1247 ac_init_version=: ;;
1249 -with-* | --with-*)
1250 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1253 as_fn_error "invalid package name: $ac_useropt"
1254 ac_useropt_orig=$ac_useropt
1255 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1256 case $ac_user_opts in
1258 "with_$ac_useropt"
1259 "*) ;;
1260 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1261 ac_unrecognized_sep=', ';;
1262 esac
1263 eval with_$ac_useropt=\$ac_optarg ;;
1265 -without-* | --without-*)
1266 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1269 as_fn_error "invalid package name: $ac_useropt"
1270 ac_useropt_orig=$ac_useropt
1271 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272 case $ac_user_opts in
1274 "with_$ac_useropt"
1275 "*) ;;
1276 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1277 ac_unrecognized_sep=', ';;
1278 esac
1279 eval with_$ac_useropt=no ;;
1281 --x)
1282 # Obsolete; use --with-x.
1283 with_x=yes ;;
1285 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1286 | --x-incl | --x-inc | --x-in | --x-i)
1287 ac_prev=x_includes ;;
1288 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1289 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1290 x_includes=$ac_optarg ;;
1292 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1293 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1294 ac_prev=x_libraries ;;
1295 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1296 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1297 x_libraries=$ac_optarg ;;
1299 -*) as_fn_error "unrecognized option: \`$ac_option'
1300 Try \`$0 --help' for more information."
1303 *=*)
1304 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1305 # Reject names that are not valid shell variable names.
1306 case $ac_envvar in #(
1307 '' | [0-9]* | *[!_$as_cr_alnum]* )
1308 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1309 esac
1310 eval $ac_envvar=\$ac_optarg
1311 export $ac_envvar ;;
1314 # FIXME: should be removed in autoconf 3.0.
1315 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1316 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1317 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1318 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1321 esac
1322 done
1324 if test -n "$ac_prev"; then
1325 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1326 as_fn_error "missing argument to $ac_option"
1329 if test -n "$ac_unrecognized_opts"; then
1330 case $enable_option_checking in
1331 no) ;;
1332 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1333 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1334 esac
1337 # Check all directory arguments for consistency.
1338 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339 datadir sysconfdir sharedstatedir localstatedir includedir \
1340 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341 libdir localedir mandir
1343 eval ac_val=\$$ac_var
1344 # Remove trailing slashes.
1345 case $ac_val in
1346 */ )
1347 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1348 eval $ac_var=\$ac_val;;
1349 esac
1350 # Be sure to have absolute directory names.
1351 case $ac_val in
1352 [\\/$]* | ?:[\\/]* ) continue;;
1353 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1354 esac
1355 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1356 done
1358 # There might be people who depend on the old broken behavior: `$host'
1359 # used to hold the argument of --host etc.
1360 # FIXME: To remove some day.
1361 build=$build_alias
1362 host=$host_alias
1363 target=$target_alias
1365 # FIXME: To remove some day.
1366 if test "x$host_alias" != x; then
1367 if test "x$build_alias" = x; then
1368 cross_compiling=maybe
1369 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1370 If a cross compiler is detected then cross compile mode will be used." >&2
1371 elif test "x$build_alias" != "x$host_alias"; then
1372 cross_compiling=yes
1376 ac_tool_prefix=
1377 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1379 test "$silent" = yes && exec 6>/dev/null
1382 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1383 ac_ls_di=`ls -di .` &&
1384 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1385 as_fn_error "working directory cannot be determined"
1386 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1387 as_fn_error "pwd does not report name of working directory"
1390 # Find the source files, if location was not specified.
1391 if test -z "$srcdir"; then
1392 ac_srcdir_defaulted=yes
1393 # Try the directory containing this script, then the parent directory.
1394 ac_confdir=`$as_dirname -- "$as_myself" ||
1395 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1396 X"$as_myself" : 'X\(//\)[^/]' \| \
1397 X"$as_myself" : 'X\(//\)$' \| \
1398 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1399 $as_echo X"$as_myself" |
1400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1401 s//\1/
1404 /^X\(\/\/\)[^/].*/{
1405 s//\1/
1408 /^X\(\/\/\)$/{
1409 s//\1/
1412 /^X\(\/\).*/{
1413 s//\1/
1416 s/.*/./; q'`
1417 srcdir=$ac_confdir
1418 if test ! -r "$srcdir/$ac_unique_file"; then
1419 srcdir=..
1421 else
1422 ac_srcdir_defaulted=no
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1425 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1426 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1428 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1429 ac_abs_confdir=`(
1430 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1431 pwd)`
1432 # When building in place, set srcdir=.
1433 if test "$ac_abs_confdir" = "$ac_pwd"; then
1434 srcdir=.
1436 # Remove unnecessary trailing slashes from srcdir.
1437 # Double slashes in file names in object file debugging info
1438 # mess up M-x gdb in Emacs.
1439 case $srcdir in
1440 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1441 esac
1442 for ac_var in $ac_precious_vars; do
1443 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1444 eval ac_env_${ac_var}_value=\$${ac_var}
1445 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1446 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1447 done
1450 # Report the --help message.
1452 if test "$ac_init_help" = "long"; then
1453 # Omit some internal or obsolete options to make the list less imposing.
1454 # This message is too long to be a string in the A/UX 3.1 sh.
1455 cat <<_ACEOF
1456 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1458 Usage: $0 [OPTION]... [VAR=VALUE]...
1460 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1461 VAR=VALUE. See below for descriptions of some of the useful variables.
1463 Defaults for the options are specified in brackets.
1465 Configuration:
1466 -h, --help display this help and exit
1467 --help=short display options specific to this package
1468 --help=recursive display the short help of all the included packages
1469 -V, --version display version information and exit
1470 -q, --quiet, --silent do not print \`checking...' messages
1471 --cache-file=FILE cache test results in FILE [disabled]
1472 -C, --config-cache alias for \`--cache-file=config.cache'
1473 -n, --no-create do not create output files
1474 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1476 Installation directories:
1477 --prefix=PREFIX install architecture-independent files in PREFIX
1478 [$ac_default_prefix]
1479 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1480 [PREFIX]
1482 By default, \`make install' will install all the files in
1483 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1484 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1485 for instance \`--prefix=\$HOME'.
1487 For better control, use the options below.
1489 Fine tuning of the installation directories:
1490 --bindir=DIR user executables [EPREFIX/bin]
1491 --sbindir=DIR system admin executables [EPREFIX/sbin]
1492 --libexecdir=DIR program executables [EPREFIX/libexec]
1493 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1494 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1495 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1496 --libdir=DIR object code libraries [EPREFIX/lib]
1497 --includedir=DIR C header files [PREFIX/include]
1498 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1499 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1500 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1501 --infodir=DIR info documentation [DATAROOTDIR/info]
1502 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1503 --mandir=DIR man documentation [DATAROOTDIR/man]
1504 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1505 --htmldir=DIR html documentation [DOCDIR]
1506 --dvidir=DIR dvi documentation [DOCDIR]
1507 --pdfdir=DIR pdf documentation [DOCDIR]
1508 --psdir=DIR ps documentation [DOCDIR]
1509 _ACEOF
1511 cat <<\_ACEOF
1513 Program names:
1514 --program-prefix=PREFIX prepend PREFIX to installed program names
1515 --program-suffix=SUFFIX append SUFFIX to installed program names
1516 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1518 System types:
1519 --build=BUILD configure for building on BUILD [guessed]
1520 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1521 --target=TARGET configure for building compilers for TARGET [HOST]
1522 _ACEOF
1525 if test -n "$ac_init_help"; then
1526 case $ac_init_help in
1527 short | recursive ) echo "Configuration of package-unused version-unused:";;
1528 esac
1529 cat <<\_ACEOF
1531 Optional Features:
1532 --disable-option-checking ignore unrecognized --enable/--with options
1533 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1534 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1535 --enable-multilib build many library versions (default)
1536 --enable-maintainer-mode enable make rules and dependencies not useful
1537 (and sometimes confusing) to the casual installer
1538 --enable-shared[=PKGS] build shared libraries [default=yes]
1539 --enable-static[=PKGS] build static libraries [default=yes]
1540 --enable-fast-install[=PKGS]
1541 optimize for fast installation [default=yes]
1542 --disable-libtool-lock avoid locking (might break parallel builds)
1543 --disable-hosted-libstdcxx
1544 only build freestanding C++ runtime support
1545 --disable-libstdcxx-verbose
1546 disable termination messages to standard error
1547 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1548 [default=$is_hosted]
1549 --enable-cstdio[=PACKAGE]
1550 use target-specific I/O package [default=stdio]
1551 --enable-clocale[=MODEL]
1552 use MODEL for target locale package [default=auto]
1553 --enable-nls use Native Language Support (default)
1554 --enable-libstdcxx-allocator[=KIND]
1555 use KIND for target std::allocator base
1556 [default=auto]
1557 --enable-cheaders[=KIND]
1558 construct "C" headers for g++ [default=$c_model]
1559 --enable-long-long enable template specializations for 'long long'
1560 [default=yes]
1561 --enable-wchar_t enable template specializations for 'wchar_t'
1562 [default=yes]
1563 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1564 --enable-concept-checks use Boost-derived template checks [default=no]
1565 --enable-libstdcxx-debug-flags=FLAGS
1566 pass compiler FLAGS when building debug library
1567 [default="-gdwarf-4 -g3 -O0"]
1568 --enable-libstdcxx-debug
1569 build extra debug library [default=no]
1570 --enable-cxx-flags=FLAGS
1571 pass compiler FLAGS when building library [default=]
1572 --enable-fully-dynamic-string
1573 do not put empty strings in per-process static
1574 memory [default=no]
1575 --enable-extern-template
1576 enable extern template [default=yes]
1577 --enable-werror turns on -Werror [default=yes]
1578 --enable-vtable-verify enable vtable verify [default=no]
1579 --enable-libstdcxx-time[=KIND]
1580 use KIND for check type [default=auto]
1581 --enable-tls Use thread-local storage [default=yes]
1582 --disable-rpath do not hardcode runtime library paths
1583 --enable-linux-futex use the Linux futex system call [default=default]
1584 --enable-symvers[=STYLE]
1585 enables symbol versioning of the shared library
1586 [default=yes]
1587 --enable-libstdcxx-visibility
1588 enables visibility safe usage [default=yes]
1589 --enable-libstdcxx-dual-abi
1590 support two versions of std::string [default=yes]
1591 --enable-libstdcxx-threads
1592 enable C++11 threads support [default=auto]
1593 --enable-libstdcxx-filesystem-ts
1594 turns on ISO/IEC TS 18822 support [default=auto]
1595 --enable-version-specific-runtime-libs
1596 Specify that runtime libraries should be installed
1597 in a compiler-specific directory
1599 Optional Packages:
1600 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1601 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1602 --with-target-subdir=SUBDIR
1603 configuring in a subdirectory
1604 --with-cross-host=HOST configuring with a cross compiler
1605 --with-newlib assume newlib as a system C library
1606 --with-pic try to use only PIC/non-PIC objects [default=use
1607 both]
1608 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1609 --with-python-dir the location to install Python modules. This path is
1610 relative starting from the prefix.
1611 --with-gnu-ld assume the C compiler uses GNU ld default=no
1612 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1613 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1614 --with-system-libunwind use installed libunwind
1615 --with-default-libstdcxx-abi
1616 set the std::string ABI to use by default
1617 --with-gxx-include-dir=DIR
1618 installation directory for include files
1620 Some influential environment variables:
1621 CC C compiler command
1622 CFLAGS C compiler flags
1623 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1624 nonstandard directory <lib dir>
1625 LIBS libraries to pass to the linker, e.g. -l<library>
1626 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1627 you have headers in a nonstandard directory <include dir>
1628 CXX C++ compiler command
1629 CXXFLAGS C++ compiler flags
1630 CPP C preprocessor
1631 CXXCPP C++ preprocessor
1632 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1633 `c++filt', `gc++filt' on PATH.
1635 Use these variables to override the choices made by `configure' or to help
1636 it to find libraries and programs with nonstandard names/locations.
1638 Report bugs to the package provider.
1639 _ACEOF
1640 ac_status=$?
1643 if test "$ac_init_help" = "recursive"; then
1644 # If there are subdirs, report their specific --help.
1645 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1646 test -d "$ac_dir" ||
1647 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1648 continue
1649 ac_builddir=.
1651 case "$ac_dir" in
1652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1654 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1655 # A ".." for each directory in $ac_dir_suffix.
1656 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1657 case $ac_top_builddir_sub in
1658 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1659 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1660 esac ;;
1661 esac
1662 ac_abs_top_builddir=$ac_pwd
1663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1664 # for backward compatibility:
1665 ac_top_builddir=$ac_top_build_prefix
1667 case $srcdir in
1668 .) # We are building in place.
1669 ac_srcdir=.
1670 ac_top_srcdir=$ac_top_builddir_sub
1671 ac_abs_top_srcdir=$ac_pwd ;;
1672 [\\/]* | ?:[\\/]* ) # Absolute name.
1673 ac_srcdir=$srcdir$ac_dir_suffix;
1674 ac_top_srcdir=$srcdir
1675 ac_abs_top_srcdir=$srcdir ;;
1676 *) # Relative name.
1677 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1678 ac_top_srcdir=$ac_top_build_prefix$srcdir
1679 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1680 esac
1681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1683 cd "$ac_dir" || { ac_status=$?; continue; }
1684 # Check for guested configure.
1685 if test -f "$ac_srcdir/configure.gnu"; then
1686 echo &&
1687 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1688 elif test -f "$ac_srcdir/configure"; then
1689 echo &&
1690 $SHELL "$ac_srcdir/configure" --help=recursive
1691 else
1692 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1693 fi || ac_status=$?
1694 cd "$ac_pwd" || { ac_status=$?; break; }
1695 done
1698 test -n "$ac_init_help" && exit $ac_status
1699 if $ac_init_version; then
1700 cat <<\_ACEOF
1701 package-unused configure version-unused
1702 generated by GNU Autoconf 2.64
1704 Copyright (C) 2009 Free Software Foundation, Inc.
1705 This configure script is free software; the Free Software Foundation
1706 gives unlimited permission to copy, distribute and modify it.
1707 _ACEOF
1708 exit
1711 ## ------------------------ ##
1712 ## Autoconf initialization. ##
1713 ## ------------------------ ##
1715 # ac_fn_c_try_compile LINENO
1716 # --------------------------
1717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_c_try_compile ()
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext
1722 if { { ac_try="$ac_compile"
1723 case "(($ac_try" in
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1726 esac
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_compile") 2>conftest.err
1730 ac_status=$?
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest.$ac_objext; then :
1741 ac_retval=0
1742 else
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1746 ac_retval=1
1748 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1749 return $ac_retval
1751 } # ac_fn_c_try_compile
1753 # ac_fn_cxx_try_compile LINENO
1754 # ----------------------------
1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1756 ac_fn_cxx_try_compile ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 rm -f conftest.$ac_objext
1760 if { { ac_try="$ac_compile"
1761 case "(($ac_try" in
1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1764 esac
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_compile") 2>conftest.err
1768 ac_status=$?
1769 if test -s conftest.err; then
1770 grep -v '^ *+' conftest.err >conftest.er1
1771 cat conftest.er1 >&5
1772 mv -f conftest.er1 conftest.err
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } && {
1776 test -z "$ac_cxx_werror_flag" ||
1777 test ! -s conftest.err
1778 } && test -s conftest.$ac_objext; then :
1779 ac_retval=0
1780 else
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1784 ac_retval=1
1786 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1787 return $ac_retval
1789 } # ac_fn_cxx_try_compile
1791 # ac_fn_c_try_cpp LINENO
1792 # ----------------------
1793 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1794 ac_fn_c_try_cpp ()
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 if { { ac_try="$ac_cpp conftest.$ac_ext"
1798 case "(($ac_try" in
1799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1800 *) ac_try_echo=$ac_try;;
1801 esac
1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803 $as_echo "$ac_try_echo"; } >&5
1804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1805 ac_status=$?
1806 if test -s conftest.err; then
1807 grep -v '^ *+' conftest.err >conftest.er1
1808 cat conftest.er1 >&5
1809 mv -f conftest.er1 conftest.err
1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1812 test $ac_status = 0; } >/dev/null && {
1813 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1814 test ! -s conftest.err
1815 }; then :
1816 ac_retval=0
1817 else
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1821 ac_retval=1
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1824 return $ac_retval
1826 } # ac_fn_c_try_cpp
1828 # ac_fn_c_try_link LINENO
1829 # -----------------------
1830 # Try to link conftest.$ac_ext, and return whether this succeeded.
1831 ac_fn_c_try_link ()
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 rm -f conftest.$ac_objext conftest$ac_exeext
1835 if { { ac_try="$ac_link"
1836 case "(($ac_try" in
1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1838 *) ac_try_echo=$ac_try;;
1839 esac
1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_link") 2>conftest.err
1843 ac_status=$?
1844 if test -s conftest.err; then
1845 grep -v '^ *+' conftest.err >conftest.er1
1846 cat conftest.er1 >&5
1847 mv -f conftest.er1 conftest.err
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && {
1851 test -z "$ac_c_werror_flag" ||
1852 test ! -s conftest.err
1853 } && test -s conftest$ac_exeext && {
1854 test "$cross_compiling" = yes ||
1855 $as_test_x conftest$ac_exeext
1856 }; then :
1857 ac_retval=0
1858 else
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1862 ac_retval=1
1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1866 # interfere with the next link command; also delete a directory that is
1867 # left behind by Apple's compiler. We do this before executing the actions.
1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1870 return $ac_retval
1872 } # ac_fn_c_try_link
1874 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1875 # -------------------------------------------------------
1876 # Tests whether HEADER exists and can be compiled using the include files in
1877 # INCLUDES, setting the cache variable VAR accordingly.
1878 ac_fn_c_check_header_compile ()
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1884 $as_echo_n "(cached) " >&6
1885 else
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1889 #include <$2>
1890 _ACEOF
1891 if ac_fn_c_try_compile "$LINENO"; then :
1892 eval "$3=yes"
1893 else
1894 eval "$3=no"
1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1898 eval ac_res=\$$3
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903 } # ac_fn_c_check_header_compile
1905 # ac_fn_c_try_run LINENO
1906 # ----------------------
1907 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1908 # that executables *can* be run.
1909 ac_fn_c_try_run ()
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 if { { ac_try="$ac_link"
1913 case "(($ac_try" in
1914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1915 *) ac_try_echo=$ac_try;;
1916 esac
1917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1918 $as_echo "$ac_try_echo"; } >&5
1919 (eval "$ac_link") 2>&5
1920 ac_status=$?
1921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1922 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1923 { { case "(($ac_try" in
1924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1925 *) ac_try_echo=$ac_try;;
1926 esac
1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928 $as_echo "$ac_try_echo"; } >&5
1929 (eval "$ac_try") 2>&5
1930 ac_status=$?
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; }; }; then :
1933 ac_retval=0
1934 else
1935 $as_echo "$as_me: program exited with status $ac_status" >&5
1936 $as_echo "$as_me: failed program was:" >&5
1937 sed 's/^/| /' conftest.$ac_ext >&5
1939 ac_retval=$ac_status
1941 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1942 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1943 return $ac_retval
1945 } # ac_fn_c_try_run
1947 # ac_fn_c_check_func LINENO FUNC VAR
1948 # ----------------------------------
1949 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1950 ac_fn_c_check_func ()
1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954 $as_echo_n "checking for $2... " >&6; }
1955 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1956 $as_echo_n "(cached) " >&6
1957 else
1958 if test x$gcc_no_link = xyes; then
1959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1963 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1965 #define $2 innocuous_$2
1967 /* System header to define __stub macros and hopefully few prototypes,
1968 which can conflict with char $2 (); below.
1969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1970 <limits.h> exists even on freestanding compilers. */
1972 #ifdef __STDC__
1973 # include <limits.h>
1974 #else
1975 # include <assert.h>
1976 #endif
1978 #undef $2
1980 /* Override any GCC internal prototype to avoid an error.
1981 Use char because int might match the return type of a GCC
1982 builtin and then its argument prototype would still apply. */
1983 #ifdef __cplusplus
1984 extern "C"
1985 #endif
1986 char $2 ();
1987 /* The GNU C library defines this for functions which it implements
1988 to always fail with ENOSYS. Some functions are actually named
1989 something starting with __ and the normal name is an alias. */
1990 #if defined __stub_$2 || defined __stub___$2
1991 choke me
1992 #endif
1995 main ()
1997 return $2 ();
1999 return 0;
2001 _ACEOF
2002 if ac_fn_c_try_link "$LINENO"; then :
2003 eval "$3=yes"
2004 else
2005 eval "$3=no"
2007 rm -f core conftest.err conftest.$ac_objext \
2008 conftest$ac_exeext conftest.$ac_ext
2010 eval ac_res=\$$3
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012 $as_echo "$ac_res" >&6; }
2013 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2015 } # ac_fn_c_check_func
2017 # ac_fn_cxx_try_cpp LINENO
2018 # ------------------------
2019 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2020 ac_fn_cxx_try_cpp ()
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 if { { ac_try="$ac_cpp conftest.$ac_ext"
2024 case "(($ac_try" in
2025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2026 *) ac_try_echo=$ac_try;;
2027 esac
2028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029 $as_echo "$ac_try_echo"; } >&5
2030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2031 ac_status=$?
2032 if test -s conftest.err; then
2033 grep -v '^ *+' conftest.err >conftest.er1
2034 cat conftest.er1 >&5
2035 mv -f conftest.er1 conftest.err
2037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038 test $ac_status = 0; } >/dev/null && {
2039 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2040 test ! -s conftest.err
2041 }; then :
2042 ac_retval=0
2043 else
2044 $as_echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2047 ac_retval=1
2049 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2050 return $ac_retval
2052 } # ac_fn_cxx_try_cpp
2054 # ac_fn_cxx_try_link LINENO
2055 # -------------------------
2056 # Try to link conftest.$ac_ext, and return whether this succeeded.
2057 ac_fn_cxx_try_link ()
2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060 rm -f conftest.$ac_objext conftest$ac_exeext
2061 if { { ac_try="$ac_link"
2062 case "(($ac_try" in
2063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2064 *) ac_try_echo=$ac_try;;
2065 esac
2066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2067 $as_echo "$ac_try_echo"; } >&5
2068 (eval "$ac_link") 2>conftest.err
2069 ac_status=$?
2070 if test -s conftest.err; then
2071 grep -v '^ *+' conftest.err >conftest.er1
2072 cat conftest.er1 >&5
2073 mv -f conftest.er1 conftest.err
2075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2076 test $ac_status = 0; } && {
2077 test -z "$ac_cxx_werror_flag" ||
2078 test ! -s conftest.err
2079 } && test -s conftest$ac_exeext && {
2080 test "$cross_compiling" = yes ||
2081 $as_test_x conftest$ac_exeext
2082 }; then :
2083 ac_retval=0
2084 else
2085 $as_echo "$as_me: failed program was:" >&5
2086 sed 's/^/| /' conftest.$ac_ext >&5
2088 ac_retval=1
2090 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2091 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2092 # interfere with the next link command; also delete a directory that is
2093 # left behind by Apple's compiler. We do this before executing the actions.
2094 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2095 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2096 return $ac_retval
2098 } # ac_fn_cxx_try_link
2100 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2101 # -------------------------------------------------------
2102 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2103 # the include files in INCLUDES and setting the cache variable VAR
2104 # accordingly.
2105 ac_fn_c_check_header_mongrel ()
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2110 $as_echo_n "checking for $2... " >&6; }
2111 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2112 $as_echo_n "(cached) " >&6
2114 eval ac_res=\$$3
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116 $as_echo "$ac_res" >&6; }
2117 else
2118 # Is the header compilable?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2120 $as_echo_n "checking $2 usability... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2124 #include <$2>
2125 _ACEOF
2126 if ac_fn_c_try_compile "$LINENO"; then :
2127 ac_header_compiler=yes
2128 else
2129 ac_header_compiler=no
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2133 $as_echo "$ac_header_compiler" >&6; }
2135 # Is the header present?
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2137 $as_echo_n "checking $2 presence... " >&6; }
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2140 #include <$2>
2141 _ACEOF
2142 if ac_fn_c_try_cpp "$LINENO"; then :
2143 ac_header_preproc=yes
2144 else
2145 ac_header_preproc=no
2147 rm -f conftest.err conftest.$ac_ext
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2149 $as_echo "$ac_header_preproc" >&6; }
2151 # So? What about this header?
2152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2153 yes:no: )
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2155 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2159 no:yes:* )
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2161 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2163 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2165 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2167 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2169 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2171 esac
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2176 else
2177 eval "$3=\$ac_header_compiler"
2179 eval ac_res=\$$3
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2181 $as_echo "$ac_res" >&6; }
2183 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2185 } # ac_fn_c_check_header_mongrel
2187 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2188 # ---------------------------------------------------------
2189 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2190 # the include files in INCLUDES and setting the cache variable VAR
2191 # accordingly.
2192 ac_fn_cxx_check_header_mongrel ()
2194 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2195 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2197 $as_echo_n "checking for $2... " >&6; }
2198 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2199 $as_echo_n "(cached) " >&6
2201 eval ac_res=\$$3
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2203 $as_echo "$ac_res" >&6; }
2204 else
2205 # Is the header compilable?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2207 $as_echo_n "checking $2 usability... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2211 #include <$2>
2212 _ACEOF
2213 if ac_fn_cxx_try_compile "$LINENO"; then :
2214 ac_header_compiler=yes
2215 else
2216 ac_header_compiler=no
2218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2220 $as_echo "$ac_header_compiler" >&6; }
2222 # Is the header present?
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2224 $as_echo_n "checking $2 presence... " >&6; }
2225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2226 /* end confdefs.h. */
2227 #include <$2>
2228 _ACEOF
2229 if ac_fn_cxx_try_cpp "$LINENO"; then :
2230 ac_header_preproc=yes
2231 else
2232 ac_header_preproc=no
2234 rm -f conftest.err conftest.$ac_ext
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2236 $as_echo "$ac_header_preproc" >&6; }
2238 # So? What about this header?
2239 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2240 yes:no: )
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2242 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2244 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2246 no:yes:* )
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2248 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2250 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2252 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2254 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2256 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2258 esac
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2260 $as_echo_n "checking for $2... " >&6; }
2261 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2262 $as_echo_n "(cached) " >&6
2263 else
2264 eval "$3=\$ac_header_compiler"
2266 eval ac_res=\$$3
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2268 $as_echo "$ac_res" >&6; }
2270 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2272 } # ac_fn_cxx_check_header_mongrel
2274 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2275 # --------------------------------------------
2276 # Tries to find the compile-time value of EXPR in a program that includes
2277 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2278 # computed
2279 ac_fn_c_compute_int ()
2281 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2282 if test "$cross_compiling" = yes; then
2283 # Depending upon the size, compute the lo and hi bounds.
2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2288 main ()
2290 static int test_array [1 - 2 * !(($2) >= 0)];
2291 test_array [0] = 0
2294 return 0;
2296 _ACEOF
2297 if ac_fn_c_try_compile "$LINENO"; then :
2298 ac_lo=0 ac_mid=0
2299 while :; do
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2304 main ()
2306 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2307 test_array [0] = 0
2310 return 0;
2312 _ACEOF
2313 if ac_fn_c_try_compile "$LINENO"; then :
2314 ac_hi=$ac_mid; break
2315 else
2316 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2317 if test $ac_lo -le $ac_mid; then
2318 ac_lo= ac_hi=
2319 break
2321 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2324 done
2325 else
2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327 /* end confdefs.h. */
2330 main ()
2332 static int test_array [1 - 2 * !(($2) < 0)];
2333 test_array [0] = 0
2336 return 0;
2338 _ACEOF
2339 if ac_fn_c_try_compile "$LINENO"; then :
2340 ac_hi=-1 ac_mid=-1
2341 while :; do
2342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2343 /* end confdefs.h. */
2346 main ()
2348 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2349 test_array [0] = 0
2352 return 0;
2354 _ACEOF
2355 if ac_fn_c_try_compile "$LINENO"; then :
2356 ac_lo=$ac_mid; break
2357 else
2358 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2359 if test $ac_mid -le $ac_hi; then
2360 ac_lo= ac_hi=
2361 break
2363 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 done
2367 else
2368 ac_lo= ac_hi=
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2373 # Binary search between lo and hi bounds.
2374 while test "x$ac_lo" != "x$ac_hi"; do
2375 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2377 /* end confdefs.h. */
2380 main ()
2382 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2383 test_array [0] = 0
2386 return 0;
2388 _ACEOF
2389 if ac_fn_c_try_compile "$LINENO"; then :
2390 ac_hi=$ac_mid
2391 else
2392 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2395 done
2396 case $ac_lo in #((
2397 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2398 '') ac_retval=1 ;;
2399 esac
2400 else
2401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2402 /* end confdefs.h. */
2404 static long int longval () { return $2; }
2405 static unsigned long int ulongval () { return $2; }
2406 #include <stdio.h>
2407 #include <stdlib.h>
2409 main ()
2412 FILE *f = fopen ("conftest.val", "w");
2413 if (! f)
2414 return 1;
2415 if (($2) < 0)
2417 long int i = longval ();
2418 if (i != ($2))
2419 return 1;
2420 fprintf (f, "%ld", i);
2422 else
2424 unsigned long int i = ulongval ();
2425 if (i != ($2))
2426 return 1;
2427 fprintf (f, "%lu", i);
2429 /* Do not output a trailing newline, as this causes \r\n confusion
2430 on some platforms. */
2431 return ferror (f) || fclose (f) != 0;
2434 return 0;
2436 _ACEOF
2437 if ac_fn_c_try_run "$LINENO"; then :
2438 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2439 else
2440 ac_retval=1
2442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2443 conftest.$ac_objext conftest.beam conftest.$ac_ext
2444 rm -f conftest.val
2447 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2448 return $ac_retval
2450 } # ac_fn_c_compute_int
2452 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2453 # -------------------------------------------
2454 # Tests whether TYPE exists after having included INCLUDES, setting cache
2455 # variable VAR accordingly.
2456 ac_fn_c_check_type ()
2458 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2460 $as_echo_n "checking for $2... " >&6; }
2461 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2462 $as_echo_n "(cached) " >&6
2463 else
2464 eval "$3=no"
2465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2466 /* end confdefs.h. */
2469 main ()
2471 if (sizeof ($2))
2472 return 0;
2474 return 0;
2476 _ACEOF
2477 if ac_fn_c_try_compile "$LINENO"; then :
2478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2482 main ()
2484 if (sizeof (($2)))
2485 return 0;
2487 return 0;
2489 _ACEOF
2490 if ac_fn_c_try_compile "$LINENO"; then :
2492 else
2493 eval "$3=yes"
2495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2499 eval ac_res=\$$3
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2501 $as_echo "$ac_res" >&6; }
2502 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2504 } # ac_fn_c_check_type
2506 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2507 # ---------------------------------------------
2508 # Tests whether TYPE exists after having included INCLUDES, setting cache
2509 # variable VAR accordingly.
2510 ac_fn_cxx_check_type ()
2512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2514 $as_echo_n "checking for $2... " >&6; }
2515 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2516 $as_echo_n "(cached) " >&6
2517 else
2518 eval "$3=no"
2519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2520 /* end confdefs.h. */
2523 main ()
2525 if (sizeof ($2))
2526 return 0;
2528 return 0;
2530 _ACEOF
2531 if ac_fn_cxx_try_compile "$LINENO"; then :
2532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2533 /* end confdefs.h. */
2536 main ()
2538 if (sizeof (($2)))
2539 return 0;
2541 return 0;
2543 _ACEOF
2544 if ac_fn_cxx_try_compile "$LINENO"; then :
2546 else
2547 eval "$3=yes"
2549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2553 eval ac_res=\$$3
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2555 $as_echo "$ac_res" >&6; }
2556 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2558 } # ac_fn_cxx_check_type
2559 cat >config.log <<_ACEOF
2560 This file contains any messages produced by compilers while
2561 running configure, to aid debugging if configure makes a mistake.
2563 It was created by package-unused $as_me version-unused, which was
2564 generated by GNU Autoconf 2.64. Invocation command line was
2566 $ $0 $@
2568 _ACEOF
2569 exec 5>>config.log
2571 cat <<_ASUNAME
2572 ## --------- ##
2573 ## Platform. ##
2574 ## --------- ##
2576 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2577 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2578 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2579 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2580 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2582 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2583 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2585 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2586 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2587 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2588 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2589 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2590 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2591 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2593 _ASUNAME
2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596 for as_dir in $PATH
2598 IFS=$as_save_IFS
2599 test -z "$as_dir" && as_dir=.
2600 $as_echo "PATH: $as_dir"
2601 done
2602 IFS=$as_save_IFS
2604 } >&5
2606 cat >&5 <<_ACEOF
2609 ## ----------- ##
2610 ## Core tests. ##
2611 ## ----------- ##
2613 _ACEOF
2616 # Keep a trace of the command line.
2617 # Strip out --no-create and --no-recursion so they do not pile up.
2618 # Strip out --silent because we don't want to record it for future runs.
2619 # Also quote any args containing shell meta-characters.
2620 # Make two passes to allow for proper duplicate-argument suppression.
2621 ac_configure_args=
2622 ac_configure_args0=
2623 ac_configure_args1=
2624 ac_must_keep_next=false
2625 for ac_pass in 1 2
2627 for ac_arg
2629 case $ac_arg in
2630 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2631 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2632 | -silent | --silent | --silen | --sile | --sil)
2633 continue ;;
2634 *\'*)
2635 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2636 esac
2637 case $ac_pass in
2638 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2640 as_fn_append ac_configure_args1 " '$ac_arg'"
2641 if test $ac_must_keep_next = true; then
2642 ac_must_keep_next=false # Got value, back to normal.
2643 else
2644 case $ac_arg in
2645 *=* | --config-cache | -C | -disable-* | --disable-* \
2646 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2647 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2648 | -with-* | --with-* | -without-* | --without-* | --x)
2649 case "$ac_configure_args0 " in
2650 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2651 esac
2653 -* ) ac_must_keep_next=true ;;
2654 esac
2656 as_fn_append ac_configure_args " '$ac_arg'"
2658 esac
2659 done
2660 done
2661 { ac_configure_args0=; unset ac_configure_args0;}
2662 { ac_configure_args1=; unset ac_configure_args1;}
2664 # When interrupted or exit'd, cleanup temporary files, and complete
2665 # config.log. We remove comments because anyway the quotes in there
2666 # would cause problems or look ugly.
2667 # WARNING: Use '\'' to represent an apostrophe within the trap.
2668 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2669 trap 'exit_status=$?
2670 # Save into config.log some information that might help in debugging.
2672 echo
2674 cat <<\_ASBOX
2675 ## ---------------- ##
2676 ## Cache variables. ##
2677 ## ---------------- ##
2678 _ASBOX
2679 echo
2680 # The following way of writing the cache mishandles newlines in values,
2682 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2683 eval ac_val=\$$ac_var
2684 case $ac_val in #(
2685 *${as_nl}*)
2686 case $ac_var in #(
2687 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2688 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2689 esac
2690 case $ac_var in #(
2691 _ | IFS | as_nl) ;; #(
2692 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2693 *) { eval $ac_var=; unset $ac_var;} ;;
2694 esac ;;
2695 esac
2696 done
2697 (set) 2>&1 |
2698 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2699 *${as_nl}ac_space=\ *)
2700 sed -n \
2701 "s/'\''/'\''\\\\'\'''\''/g;
2702 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2703 ;; #(
2705 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2707 esac |
2708 sort
2710 echo
2712 cat <<\_ASBOX
2713 ## ----------------- ##
2714 ## Output variables. ##
2715 ## ----------------- ##
2716 _ASBOX
2717 echo
2718 for ac_var in $ac_subst_vars
2720 eval ac_val=\$$ac_var
2721 case $ac_val in
2722 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2723 esac
2724 $as_echo "$ac_var='\''$ac_val'\''"
2725 done | sort
2726 echo
2728 if test -n "$ac_subst_files"; then
2729 cat <<\_ASBOX
2730 ## ------------------- ##
2731 ## File substitutions. ##
2732 ## ------------------- ##
2733 _ASBOX
2734 echo
2735 for ac_var in $ac_subst_files
2737 eval ac_val=\$$ac_var
2738 case $ac_val in
2739 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2740 esac
2741 $as_echo "$ac_var='\''$ac_val'\''"
2742 done | sort
2743 echo
2746 if test -s confdefs.h; then
2747 cat <<\_ASBOX
2748 ## ----------- ##
2749 ## confdefs.h. ##
2750 ## ----------- ##
2751 _ASBOX
2752 echo
2753 cat confdefs.h
2754 echo
2756 test "$ac_signal" != 0 &&
2757 $as_echo "$as_me: caught signal $ac_signal"
2758 $as_echo "$as_me: exit $exit_status"
2759 } >&5
2760 rm -f core *.core core.conftest.* &&
2761 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2762 exit $exit_status
2764 for ac_signal in 1 2 13 15; do
2765 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2766 done
2767 ac_signal=0
2769 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2770 rm -f -r conftest* confdefs.h
2772 $as_echo "/* confdefs.h */" > confdefs.h
2774 # Predefined preprocessor variables.
2776 cat >>confdefs.h <<_ACEOF
2777 #define PACKAGE_NAME "$PACKAGE_NAME"
2778 _ACEOF
2780 cat >>confdefs.h <<_ACEOF
2781 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2782 _ACEOF
2784 cat >>confdefs.h <<_ACEOF
2785 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2786 _ACEOF
2788 cat >>confdefs.h <<_ACEOF
2789 #define PACKAGE_STRING "$PACKAGE_STRING"
2790 _ACEOF
2792 cat >>confdefs.h <<_ACEOF
2793 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2794 _ACEOF
2796 cat >>confdefs.h <<_ACEOF
2797 #define PACKAGE_URL "$PACKAGE_URL"
2798 _ACEOF
2801 # Let the site file select an alternate cache file if it wants to.
2802 # Prefer an explicitly selected file to automatically selected ones.
2803 ac_site_file1=NONE
2804 ac_site_file2=NONE
2805 if test -n "$CONFIG_SITE"; then
2806 ac_site_file1=$CONFIG_SITE
2807 elif test "x$prefix" != xNONE; then
2808 ac_site_file1=$prefix/share/config.site
2809 ac_site_file2=$prefix/etc/config.site
2810 else
2811 ac_site_file1=$ac_default_prefix/share/config.site
2812 ac_site_file2=$ac_default_prefix/etc/config.site
2814 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2816 test "x$ac_site_file" = xNONE && continue
2817 if test -r "$ac_site_file"; then
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2819 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2820 sed 's/^/| /' "$ac_site_file" >&5
2821 . "$ac_site_file"
2823 done
2825 if test -r "$cache_file"; then
2826 # Some versions of bash will fail to source /dev/null (special
2827 # files actually), so we avoid doing that.
2828 if test -f "$cache_file"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2830 $as_echo "$as_me: loading cache $cache_file" >&6;}
2831 case $cache_file in
2832 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2833 *) . "./$cache_file";;
2834 esac
2836 else
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2838 $as_echo "$as_me: creating cache $cache_file" >&6;}
2839 >$cache_file
2842 # Check that the precious variables saved in the cache have kept the same
2843 # value.
2844 ac_cache_corrupted=false
2845 for ac_var in $ac_precious_vars; do
2846 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2847 eval ac_new_set=\$ac_env_${ac_var}_set
2848 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2849 eval ac_new_val=\$ac_env_${ac_var}_value
2850 case $ac_old_set,$ac_new_set in
2851 set,)
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2853 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2854 ac_cache_corrupted=: ;;
2855 ,set)
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2857 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2858 ac_cache_corrupted=: ;;
2859 ,);;
2861 if test "x$ac_old_val" != "x$ac_new_val"; then
2862 # differences in whitespace do not lead to failure.
2863 ac_old_val_w=`echo x $ac_old_val`
2864 ac_new_val_w=`echo x $ac_new_val`
2865 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2867 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2868 ac_cache_corrupted=:
2869 else
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2871 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2872 eval $ac_var=\$ac_old_val
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2875 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2877 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2878 fi;;
2879 esac
2880 # Pass precious variables to config.status.
2881 if test "$ac_new_set" = set; then
2882 case $ac_new_val in
2883 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2884 *) ac_arg=$ac_var=$ac_new_val ;;
2885 esac
2886 case " $ac_configure_args " in
2887 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2888 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2889 esac
2891 done
2892 if $ac_cache_corrupted; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2896 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2897 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2899 ## -------------------- ##
2900 ## Main body of script. ##
2901 ## -------------------- ##
2903 ac_ext=c
2904 ac_cpp='$CPP $CPPFLAGS'
2905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2914 ac_config_headers="$ac_config_headers config.h"
2917 # This works around the fact that libtool configuration may change LD
2918 # for this particular configuration, but some shells, instead of
2919 # keeping the changes in LD private, export them just because LD is
2920 # exported. Only used at the end of this file.
2921 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2923 # Find the rest of the source tree framework.
2924 # Default to --enable-multilib
2925 # Check whether --enable-multilib was given.
2926 if test "${enable_multilib+set}" = set; then :
2927 enableval=$enable_multilib; case "$enableval" in
2928 yes) multilib=yes ;;
2929 no) multilib=no ;;
2930 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2931 esac
2932 else
2933 multilib=yes
2937 # We may get other options which we leave undocumented:
2938 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2939 # See config-ml.in if you want the gory details.
2941 if test "$srcdir" = "."; then
2942 if test "$with_target_subdir" != "."; then
2943 multi_basedir="$srcdir/$with_multisrctop../.."
2944 else
2945 multi_basedir="$srcdir/$with_multisrctop.."
2947 else
2948 multi_basedir="$srcdir/.."
2952 # Even if the default multilib is not a cross compilation,
2953 # it may be that some of the other multilibs are.
2954 if test $cross_compiling = no && test $multilib = yes \
2955 && test "x${with_multisubdir}" != x ; then
2956 cross_compiling=maybe
2959 ac_config_commands="$ac_config_commands default-1"
2962 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2964 # You will slowly go insane if you do not grok the following fact: when
2965 # building v3 as part of the compiler, the top-level /target/ becomes the
2966 # library's /host/. configure then causes --target to default to --host,
2967 # exactly like any other package using autoconf. Therefore, 'target' and
2968 # 'host' will always be the same. This makes sense both for native and
2969 # cross compilers, just think about it for a little while. :-)
2971 # Also, if v3 is being configured as part of a cross compiler, the top-level
2972 # configure script will pass the "real" host as $with_cross_host.
2974 # Do not delete or change the following two lines. For why, see
2975 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2976 ac_aux_dir=
2977 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2978 for ac_t in install-sh install.sh shtool; do
2979 if test -f "$ac_dir/$ac_t"; then
2980 ac_aux_dir=$ac_dir
2981 ac_install_sh="$ac_aux_dir/$ac_t -c"
2982 break 2
2984 done
2985 done
2986 if test -z "$ac_aux_dir"; then
2987 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2990 # These three variables are undocumented and unsupported,
2991 # and are intended to be withdrawn in a future Autoconf release.
2992 # They can cause serious problems if a builder's source tree is in a directory
2993 # whose full name contains unusual characters.
2994 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2995 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2996 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2999 # Make sure we can run config.sub.
3000 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3001 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3004 $as_echo_n "checking build system type... " >&6; }
3005 if test "${ac_cv_build+set}" = set; then :
3006 $as_echo_n "(cached) " >&6
3007 else
3008 ac_build_alias=$build_alias
3009 test "x$ac_build_alias" = x &&
3010 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3011 test "x$ac_build_alias" = x &&
3012 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3013 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3014 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3018 $as_echo "$ac_cv_build" >&6; }
3019 case $ac_cv_build in
3020 *-*-*) ;;
3021 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3022 esac
3023 build=$ac_cv_build
3024 ac_save_IFS=$IFS; IFS='-'
3025 set x $ac_cv_build
3026 shift
3027 build_cpu=$1
3028 build_vendor=$2
3029 shift; shift
3030 # Remember, the first character of IFS is used to create $*,
3031 # except with old shells:
3032 build_os=$*
3033 IFS=$ac_save_IFS
3034 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3038 $as_echo_n "checking host system type... " >&6; }
3039 if test "${ac_cv_host+set}" = set; then :
3040 $as_echo_n "(cached) " >&6
3041 else
3042 if test "x$host_alias" = x; then
3043 ac_cv_host=$ac_cv_build
3044 else
3045 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3046 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3051 $as_echo "$ac_cv_host" >&6; }
3052 case $ac_cv_host in
3053 *-*-*) ;;
3054 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3055 esac
3056 host=$ac_cv_host
3057 ac_save_IFS=$IFS; IFS='-'
3058 set x $ac_cv_host
3059 shift
3060 host_cpu=$1
3061 host_vendor=$2
3062 shift; shift
3063 # Remember, the first character of IFS is used to create $*,
3064 # except with old shells:
3065 host_os=$*
3066 IFS=$ac_save_IFS
3067 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3071 $as_echo_n "checking target system type... " >&6; }
3072 if test "${ac_cv_target+set}" = set; then :
3073 $as_echo_n "(cached) " >&6
3074 else
3075 if test "x$target_alias" = x; then
3076 ac_cv_target=$ac_cv_host
3077 else
3078 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3079 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3084 $as_echo "$ac_cv_target" >&6; }
3085 case $ac_cv_target in
3086 *-*-*) ;;
3087 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3088 esac
3089 target=$ac_cv_target
3090 ac_save_IFS=$IFS; IFS='-'
3091 set x $ac_cv_target
3092 shift
3093 target_cpu=$1
3094 target_vendor=$2
3095 shift; shift
3096 # Remember, the first character of IFS is used to create $*,
3097 # except with old shells:
3098 target_os=$*
3099 IFS=$ac_save_IFS
3100 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3103 # The aliases save the names the user supplied, while $host etc.
3104 # will get canonicalized.
3105 test -n "$target_alias" &&
3106 test "$program_prefix$program_suffix$program_transform_name" = \
3107 NONENONEs,x,x, &&
3108 program_prefix=${target_alias}-
3110 target_alias=${target_alias-$host_alias}
3112 # Handy for debugging:
3113 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3115 if test "$build" != "$host"; then
3116 # We are being configured with some form of cross compiler.
3117 GLIBCXX_IS_NATIVE=false
3118 case "$host","$target" in
3119 # Darwin crosses can use the host system's libraries and headers,
3120 # because of the fat library support. Of course, it must be the
3121 # same version of Darwin on both sides. Allow the user to
3122 # just say --target=foo-darwin without a version number to mean
3123 # "the version on this system".
3124 *-*-darwin*,*-*-darwin*)
3125 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3126 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3127 if test $hostos = $targetos -o $targetos = darwin ; then
3128 GLIBCXX_IS_NATIVE=true
3135 esac
3136 else
3137 GLIBCXX_IS_NATIVE=true
3140 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3141 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3142 # 1.x: minimum required version
3143 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3144 # of other PACKAGE_* variables will, however, and there's nothing
3145 # we can do about that; they come from AC_INIT).
3146 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3147 # file in the top srcdir, etc, etc), so stop complaining.
3148 # no-dependencies: turns off auto dependency generation (just for now)
3149 # no-dist: we don't want 'dist' and related rules.
3150 # -Wall: turns on all automake warnings...
3151 # -Wno-portability: ...except this one, since GNU make is now required.
3152 am__api_version='1.11'
3154 # Find a good install program. We prefer a C program (faster),
3155 # so one script is as good as another. But avoid the broken or
3156 # incompatible versions:
3157 # SysV /etc/install, /usr/sbin/install
3158 # SunOS /usr/etc/install
3159 # IRIX /sbin/install
3160 # AIX /bin/install
3161 # AmigaOS /C/install, which installs bootblocks on floppy discs
3162 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3163 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3164 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3165 # OS/2's system install, which has a completely different semantic
3166 # ./install, which can be erroneously created by make from ./install.sh.
3167 # Reject install programs that cannot install multiple files.
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3169 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3170 if test -z "$INSTALL"; then
3171 if test "${ac_cv_path_install+set}" = set; then :
3172 $as_echo_n "(cached) " >&6
3173 else
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 for as_dir in $PATH
3177 IFS=$as_save_IFS
3178 test -z "$as_dir" && as_dir=.
3179 # Account for people who put trailing slashes in PATH elements.
3180 case $as_dir/ in #((
3181 ./ | .// | /[cC]/* | \
3182 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3183 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3184 /usr/ucb/* ) ;;
3186 # OSF1 and SCO ODT 3.0 have their own names for install.
3187 # Don't use installbsd from OSF since it installs stuff as root
3188 # by default.
3189 for ac_prog in ginstall scoinst install; do
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3192 if test $ac_prog = install &&
3193 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3194 # AIX install. It has an incompatible calling convention.
3196 elif test $ac_prog = install &&
3197 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3198 # program-specific install script used by HP pwplus--don't use.
3200 else
3201 rm -rf conftest.one conftest.two conftest.dir
3202 echo one > conftest.one
3203 echo two > conftest.two
3204 mkdir conftest.dir
3205 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3206 test -s conftest.one && test -s conftest.two &&
3207 test -s conftest.dir/conftest.one &&
3208 test -s conftest.dir/conftest.two
3209 then
3210 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3211 break 3
3215 done
3216 done
3218 esac
3220 done
3221 IFS=$as_save_IFS
3223 rm -rf conftest.one conftest.two conftest.dir
3226 if test "${ac_cv_path_install+set}" = set; then
3227 INSTALL=$ac_cv_path_install
3228 else
3229 # As a last resort, use the slow shell script. Don't cache a
3230 # value for INSTALL within a source directory, because that will
3231 # break other packages using the cache if that directory is
3232 # removed, or if the value is a relative name.
3233 INSTALL=$ac_install_sh
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3237 $as_echo "$INSTALL" >&6; }
3239 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3240 # It thinks the first close brace ends the variable substitution.
3241 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3243 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3245 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3248 $as_echo_n "checking whether build environment is sane... " >&6; }
3249 # Just in case
3250 sleep 1
3251 echo timestamp > conftest.file
3252 # Reject unsafe characters in $srcdir or the absolute working directory
3253 # name. Accept space and tab only in the latter.
3254 am_lf='
3256 case `pwd` in
3257 *[\\\"\#\$\&\'\`$am_lf]*)
3258 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3259 esac
3260 case $srcdir in
3261 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3262 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3263 esac
3265 # Do `set' in a subshell so we don't clobber the current shell's
3266 # arguments. Must try -L first in case configure is actually a
3267 # symlink; some systems play weird games with the mod time of symlinks
3268 # (eg FreeBSD returns the mod time of the symlink's containing
3269 # directory).
3270 if (
3271 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3272 if test "$*" = "X"; then
3273 # -L didn't work.
3274 set X `ls -t "$srcdir/configure" conftest.file`
3276 rm -f conftest.file
3277 if test "$*" != "X $srcdir/configure conftest.file" \
3278 && test "$*" != "X conftest.file $srcdir/configure"; then
3280 # If neither matched, then we have a broken ls. This can happen
3281 # if, for instance, CONFIG_SHELL is bash and it inherits a
3282 # broken ls alias from the environment. This has actually
3283 # happened. Such a system could not be considered "sane".
3284 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3285 alias in your environment" "$LINENO" 5
3288 test "$2" = conftest.file
3290 then
3291 # Ok.
3293 else
3294 as_fn_error "newly created file is older than distributed files!
3295 Check your system clock" "$LINENO" 5
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3298 $as_echo "yes" >&6; }
3299 test "$program_prefix" != NONE &&
3300 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3301 # Use a double $ so make ignores it.
3302 test "$program_suffix" != NONE &&
3303 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3304 # Double any \ or $.
3305 # By default was `s,x,x', remove it if useless.
3306 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3307 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3309 # expand $ac_aux_dir to an absolute path
3310 am_aux_dir=`cd $ac_aux_dir && pwd`
3312 if test x"${MISSING+set}" != xset; then
3313 case $am_aux_dir in
3314 *\ * | *\ *)
3315 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3317 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3318 esac
3320 # Use eval to expand $SHELL
3321 if eval "$MISSING --run true"; then
3322 am_missing_run="$MISSING --run "
3323 else
3324 am_missing_run=
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3326 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3329 if test x"${install_sh}" != xset; then
3330 case $am_aux_dir in
3331 *\ * | *\ *)
3332 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3334 install_sh="\${SHELL} $am_aux_dir/install-sh"
3335 esac
3338 # Installed binaries are usually stripped using `strip' when the user
3339 # run `make install-strip'. However `strip' might not be the right
3340 # tool to use in cross-compilation environments, therefore Automake
3341 # will honor the `STRIP' environment variable to overrule this program.
3342 if test "$cross_compiling" != no; then
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}strip; ac_word=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if test "${ac_cv_prog_STRIP+set}" = set; then :
3349 $as_echo_n "(cached) " >&6
3350 else
3351 if test -n "$STRIP"; then
3352 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3353 else
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 for as_dir in $PATH
3357 IFS=$as_save_IFS
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 break 2
3365 done
3366 done
3367 IFS=$as_save_IFS
3371 STRIP=$ac_cv_prog_STRIP
3372 if test -n "$STRIP"; then
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3374 $as_echo "$STRIP" >&6; }
3375 else
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3382 if test -z "$ac_cv_prog_STRIP"; then
3383 ac_ct_STRIP=$STRIP
3384 # Extract the first word of "strip", so it can be a program name with args.
3385 set dummy strip; ac_word=$2
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3389 $as_echo_n "(cached) " >&6
3390 else
3391 if test -n "$ac_ct_STRIP"; then
3392 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3393 else
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 for as_dir in $PATH
3397 IFS=$as_save_IFS
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_STRIP="strip"
3402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 break 2
3405 done
3406 done
3407 IFS=$as_save_IFS
3411 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3412 if test -n "$ac_ct_STRIP"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3414 $as_echo "$ac_ct_STRIP" >&6; }
3415 else
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3420 if test "x$ac_ct_STRIP" = x; then
3421 STRIP=":"
3422 else
3423 case $cross_compiling:$ac_tool_warned in
3424 yes:)
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3427 ac_tool_warned=yes ;;
3428 esac
3429 STRIP=$ac_ct_STRIP
3431 else
3432 STRIP="$ac_cv_prog_STRIP"
3436 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3439 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3440 if test -z "$MKDIR_P"; then
3441 if test "${ac_cv_path_mkdir+set}" = set; then :
3442 $as_echo_n "(cached) " >&6
3443 else
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3447 IFS=$as_save_IFS
3448 test -z "$as_dir" && as_dir=.
3449 for ac_prog in mkdir gmkdir; do
3450 for ac_exec_ext in '' $ac_executable_extensions; do
3451 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3452 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3453 'mkdir (GNU coreutils) '* | \
3454 'mkdir (coreutils) '* | \
3455 'mkdir (fileutils) '4.1*)
3456 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3457 break 3;;
3458 esac
3459 done
3460 done
3461 done
3462 IFS=$as_save_IFS
3466 if test "${ac_cv_path_mkdir+set}" = set; then
3467 MKDIR_P="$ac_cv_path_mkdir -p"
3468 else
3469 # As a last resort, use the slow shell script. Don't cache a
3470 # value for MKDIR_P within a source directory, because that will
3471 # break other packages using the cache if that directory is
3472 # removed, or if the value is a relative name.
3473 test -d ./--version && rmdir ./--version
3474 MKDIR_P="$ac_install_sh -d"
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3478 $as_echo "$MKDIR_P" >&6; }
3480 mkdir_p="$MKDIR_P"
3481 case $mkdir_p in
3482 [\\/$]* | ?:[\\/]*) ;;
3483 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3484 esac
3486 for ac_prog in gawk mawk nawk awk
3488 # Extract the first word of "$ac_prog", so it can be a program name with args.
3489 set dummy $ac_prog; ac_word=$2
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3491 $as_echo_n "checking for $ac_word... " >&6; }
3492 if test "${ac_cv_prog_AWK+set}" = set; then :
3493 $as_echo_n "(cached) " >&6
3494 else
3495 if test -n "$AWK"; then
3496 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3497 else
3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3499 for as_dir in $PATH
3501 IFS=$as_save_IFS
3502 test -z "$as_dir" && as_dir=.
3503 for ac_exec_ext in '' $ac_executable_extensions; do
3504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3505 ac_cv_prog_AWK="$ac_prog"
3506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 break 2
3509 done
3510 done
3511 IFS=$as_save_IFS
3515 AWK=$ac_cv_prog_AWK
3516 if test -n "$AWK"; then
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3518 $as_echo "$AWK" >&6; }
3519 else
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 $as_echo "no" >&6; }
3525 test -n "$AWK" && break
3526 done
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3529 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3530 set x ${MAKE-make}
3531 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3532 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3533 $as_echo_n "(cached) " >&6
3534 else
3535 cat >conftest.make <<\_ACEOF
3536 SHELL = /bin/sh
3537 all:
3538 @echo '@@@%%%=$(MAKE)=@@@%%%'
3539 _ACEOF
3540 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3541 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3542 *@@@%%%=?*=@@@%%%*)
3543 eval ac_cv_prog_make_${ac_make}_set=yes;;
3545 eval ac_cv_prog_make_${ac_make}_set=no;;
3546 esac
3547 rm -f conftest.make
3549 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3551 $as_echo "yes" >&6; }
3552 SET_MAKE=
3553 else
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 $as_echo "no" >&6; }
3556 SET_MAKE="MAKE=${MAKE-make}"
3559 rm -rf .tst 2>/dev/null
3560 mkdir .tst 2>/dev/null
3561 if test -d .tst; then
3562 am__leading_dot=.
3563 else
3564 am__leading_dot=_
3566 rmdir .tst 2>/dev/null
3568 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3569 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3570 # is not polluted with repeated "-I."
3571 am__isrc=' -I$(srcdir)'
3572 # test to see if srcdir already configured
3573 if test -f $srcdir/config.status; then
3574 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3578 # test whether we have cygpath
3579 if test -z "$CYGPATH_W"; then
3580 if (cygpath --version) >/dev/null 2>/dev/null; then
3581 CYGPATH_W='cygpath -w'
3582 else
3583 CYGPATH_W=echo
3588 # Define the identity of the package.
3589 PACKAGE='libstdc++'
3590 VERSION='version-unused'
3593 # Some tools Automake needs.
3595 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3598 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3601 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3604 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3607 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3609 # We need awk for the "check" target. The system "awk" is bad on
3610 # some platforms.
3611 # Always define AMTAR for backward compatibility. Yes, it's still used
3612 # in the wild :-( We should find a proper way to deprecate it ...
3613 AMTAR='$${TAR-tar}'
3615 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3624 # -fno-builtin must be present here so that a non-conflicting form of
3625 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3627 save_CXXFLAGS="$CXXFLAGS"
3628 CXXFLAGS="$CXXFLAGS -fno-builtin"
3629 ac_ext=c
3630 ac_cpp='$CPP $CPPFLAGS'
3631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3634 if test -n "$ac_tool_prefix"; then
3635 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3636 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if test "${ac_cv_prog_CC+set}" = set; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 if test -n "$CC"; then
3643 ac_cv_prog_CC="$CC" # Let the user override the test.
3644 else
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 for as_dir in $PATH
3648 IFS=$as_save_IFS
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3652 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 break 2
3656 done
3657 done
3658 IFS=$as_save_IFS
3662 CC=$ac_cv_prog_CC
3663 if test -n "$CC"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3665 $as_echo "$CC" >&6; }
3666 else
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3673 if test -z "$ac_cv_prog_CC"; then
3674 ac_ct_CC=$CC
3675 # Extract the first word of "gcc", so it can be a program name with args.
3676 set dummy gcc; ac_word=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3680 $as_echo_n "(cached) " >&6
3681 else
3682 if test -n "$ac_ct_CC"; then
3683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3684 else
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH
3688 IFS=$as_save_IFS
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692 ac_cv_prog_ac_ct_CC="gcc"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 break 2
3696 done
3697 done
3698 IFS=$as_save_IFS
3702 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3703 if test -n "$ac_ct_CC"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3705 $as_echo "$ac_ct_CC" >&6; }
3706 else
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708 $as_echo "no" >&6; }
3711 if test "x$ac_ct_CC" = x; then
3712 CC=""
3713 else
3714 case $cross_compiling:$ac_tool_warned in
3715 yes:)
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3718 ac_tool_warned=yes ;;
3719 esac
3720 CC=$ac_ct_CC
3722 else
3723 CC="$ac_cv_prog_CC"
3726 if test -z "$CC"; then
3727 if test -n "$ac_tool_prefix"; then
3728 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3729 set dummy ${ac_tool_prefix}cc; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if test "${ac_cv_prog_CC+set}" = set; then :
3733 $as_echo_n "(cached) " >&6
3734 else
3735 if test -n "$CC"; then
3736 ac_cv_prog_CC="$CC" # Let the user override the test.
3737 else
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 for as_dir in $PATH
3741 IFS=$as_save_IFS
3742 test -z "$as_dir" && as_dir=.
3743 for ac_exec_ext in '' $ac_executable_extensions; do
3744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3745 ac_cv_prog_CC="${ac_tool_prefix}cc"
3746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 break 2
3749 done
3750 done
3751 IFS=$as_save_IFS
3755 CC=$ac_cv_prog_CC
3756 if test -n "$CC"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3759 else
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3767 if test -z "$CC"; then
3768 # Extract the first word of "cc", so it can be a program name with args.
3769 set dummy cc; ac_word=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if test "${ac_cv_prog_CC+set}" = set; then :
3773 $as_echo_n "(cached) " >&6
3774 else
3775 if test -n "$CC"; then
3776 ac_cv_prog_CC="$CC" # Let the user override the test.
3777 else
3778 ac_prog_rejected=no
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH
3782 IFS=$as_save_IFS
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3787 ac_prog_rejected=yes
3788 continue
3790 ac_cv_prog_CC="cc"
3791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 break 2
3794 done
3795 done
3796 IFS=$as_save_IFS
3798 if test $ac_prog_rejected = yes; then
3799 # We found a bogon in the path, so make sure we never use it.
3800 set dummy $ac_cv_prog_CC
3801 shift
3802 if test $# != 0; then
3803 # We chose a different compiler from the bogus one.
3804 # However, it has the same basename, so the bogon will be chosen
3805 # first if we set CC to just the basename; use the full file name.
3806 shift
3807 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3812 CC=$ac_cv_prog_CC
3813 if test -n "$CC"; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3815 $as_echo "$CC" >&6; }
3816 else
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818 $as_echo "no" >&6; }
3823 if test -z "$CC"; then
3824 if test -n "$ac_tool_prefix"; then
3825 for ac_prog in cl.exe
3827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3828 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if test "${ac_cv_prog_CC+set}" = set; then :
3832 $as_echo_n "(cached) " >&6
3833 else
3834 if test -n "$CC"; then
3835 ac_cv_prog_CC="$CC" # Let the user override the test.
3836 else
3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 for as_dir in $PATH
3840 IFS=$as_save_IFS
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3844 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 break 2
3848 done
3849 done
3850 IFS=$as_save_IFS
3854 CC=$ac_cv_prog_CC
3855 if test -n "$CC"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3857 $as_echo "$CC" >&6; }
3858 else
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3864 test -n "$CC" && break
3865 done
3867 if test -z "$CC"; then
3868 ac_ct_CC=$CC
3869 for ac_prog in cl.exe
3871 # Extract the first word of "$ac_prog", so it can be a program name with args.
3872 set dummy $ac_prog; ac_word=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3876 $as_echo_n "(cached) " >&6
3877 else
3878 if test -n "$ac_ct_CC"; then
3879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3880 else
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH
3884 IFS=$as_save_IFS
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3888 ac_cv_prog_ac_ct_CC="$ac_prog"
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 break 2
3892 done
3893 done
3894 IFS=$as_save_IFS
3898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3899 if test -n "$ac_ct_CC"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3901 $as_echo "$ac_ct_CC" >&6; }
3902 else
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3908 test -n "$ac_ct_CC" && break
3909 done
3911 if test "x$ac_ct_CC" = x; then
3912 CC=""
3913 else
3914 case $cross_compiling:$ac_tool_warned in
3915 yes:)
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3918 ac_tool_warned=yes ;;
3919 esac
3920 CC=$ac_ct_CC
3927 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3929 as_fn_error "no acceptable C compiler found in \$PATH
3930 See \`config.log' for more details." "$LINENO" 5; }
3932 # Provide some information about the compiler.
3933 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3934 set X $ac_compile
3935 ac_compiler=$2
3936 for ac_option in --version -v -V -qversion; do
3937 { { ac_try="$ac_compiler $ac_option >&5"
3938 case "(($ac_try" in
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;;
3941 esac
3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943 $as_echo "$ac_try_echo"; } >&5
3944 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3945 ac_status=$?
3946 if test -s conftest.err; then
3947 sed '10a\
3948 ... rest of stderr output deleted ...
3949 10q' conftest.err >conftest.er1
3950 cat conftest.er1 >&5
3951 rm -f conftest.er1 conftest.err
3953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954 test $ac_status = 0; }
3955 done
3957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3961 main ()
3965 return 0;
3967 _ACEOF
3968 # FIXME: Cleanup?
3969 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3970 (eval $ac_link) 2>&5
3971 ac_status=$?
3972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; }; then :
3974 gcc_no_link=no
3975 else
3976 gcc_no_link=yes
3978 if test x$gcc_no_link = xyes; then
3979 # Setting cross_compile will disable run tests; it will
3980 # also disable AC_CHECK_FILE but that's generally
3981 # correct if we can't link.
3982 cross_compiling=yes
3983 EXEEXT=
3984 else
3985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */
3989 main ()
3993 return 0;
3995 _ACEOF
3996 ac_clean_files_save=$ac_clean_files
3997 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3998 # Try to create an executable without -o first, disregard a.out.
3999 # It will help us diagnose broken compilers, and finding out an intuition
4000 # of exeext.
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4002 $as_echo_n "checking for C compiler default output file name... " >&6; }
4003 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4005 # The possible output files:
4006 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4008 ac_rmfiles=
4009 for ac_file in $ac_files
4011 case $ac_file in
4012 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4013 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4014 esac
4015 done
4016 rm -f $ac_rmfiles
4018 if { { ac_try="$ac_link_default"
4019 case "(($ac_try" in
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4022 esac
4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4024 $as_echo "$ac_try_echo"; } >&5
4025 (eval "$ac_link_default") 2>&5
4026 ac_status=$?
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; }; then :
4029 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4030 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4031 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4032 # so that the user can short-circuit this test for compilers unknown to
4033 # Autoconf.
4034 for ac_file in $ac_files ''
4036 test -f "$ac_file" || continue
4037 case $ac_file in
4038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4040 [ab].out )
4041 # We found the default executable, but exeext='' is most
4042 # certainly right.
4043 break;;
4044 *.* )
4045 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4046 then :; else
4047 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4049 # We set ac_cv_exeext here because the later test for it is not
4050 # safe: cross compilers may not add the suffix if given an `-o'
4051 # argument, so we may need to know it at that point already.
4052 # Even if this section looks crufty: it has the advantage of
4053 # actually working.
4054 break;;
4056 break;;
4057 esac
4058 done
4059 test "$ac_cv_exeext" = no && ac_cv_exeext=
4061 else
4062 ac_file=''
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4065 $as_echo "$ac_file" >&6; }
4066 if test -z "$ac_file"; then :
4067 $as_echo "$as_me: failed program was:" >&5
4068 sed 's/^/| /' conftest.$ac_ext >&5
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 { as_fn_set_status 77
4073 as_fn_error "C compiler cannot create executables
4074 See \`config.log' for more details." "$LINENO" 5; }; }
4076 ac_exeext=$ac_cv_exeext
4078 # Check that the compiler produces executables we can run. If not, either
4079 # the compiler is broken, or we cross compile.
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4081 $as_echo_n "checking whether the C compiler works... " >&6; }
4082 # If not cross compiling, check that we can run a simple program.
4083 if test "$cross_compiling" != yes; then
4084 if { ac_try='./$ac_file'
4085 { { case "(($ac_try" in
4086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4088 esac
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091 (eval "$ac_try") 2>&5
4092 ac_status=$?
4093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094 test $ac_status = 0; }; }; then
4095 cross_compiling=no
4096 else
4097 if test "$cross_compiling" = maybe; then
4098 cross_compiling=yes
4099 else
4100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4102 as_fn_error "cannot run C compiled programs.
4103 If you meant to cross compile, use \`--host'.
4104 See \`config.log' for more details." "$LINENO" 5; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4109 $as_echo "yes" >&6; }
4111 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4112 ac_clean_files=$ac_clean_files_save
4113 # Check that the compiler produces executables we can run. If not, either
4114 # the compiler is broken, or we cross compile.
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4116 $as_echo_n "checking whether we are cross compiling... " >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4118 $as_echo "$cross_compiling" >&6; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4121 $as_echo_n "checking for suffix of executables... " >&6; }
4122 if { { ac_try="$ac_link"
4123 case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126 esac
4127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4128 $as_echo "$ac_try_echo"; } >&5
4129 (eval "$ac_link") 2>&5
4130 ac_status=$?
4131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4132 test $ac_status = 0; }; then :
4133 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4134 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4135 # work properly (i.e., refer to `conftest.exe'), while it won't with
4136 # `rm'.
4137 for ac_file in conftest.exe conftest conftest.*; do
4138 test -f "$ac_file" || continue
4139 case $ac_file in
4140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4141 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4142 break;;
4143 * ) break;;
4144 esac
4145 done
4146 else
4147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4149 as_fn_error "cannot compute suffix of executables: cannot compile and link
4150 See \`config.log' for more details." "$LINENO" 5; }
4152 rm -f conftest$ac_cv_exeext
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4154 $as_echo "$ac_cv_exeext" >&6; }
4156 rm -f conftest.$ac_ext
4157 EXEEXT=$ac_cv_exeext
4158 ac_exeext=$EXEEXT
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4161 $as_echo_n "checking for suffix of object files... " >&6; }
4162 if test "${ac_cv_objext+set}" = set; then :
4163 $as_echo_n "(cached) " >&6
4164 else
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4169 main ()
4173 return 0;
4175 _ACEOF
4176 rm -f conftest.o conftest.obj
4177 if { { ac_try="$ac_compile"
4178 case "(($ac_try" in
4179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180 *) ac_try_echo=$ac_try;;
4181 esac
4182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4183 $as_echo "$ac_try_echo"; } >&5
4184 (eval "$ac_compile") 2>&5
4185 ac_status=$?
4186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4187 test $ac_status = 0; }; then :
4188 for ac_file in conftest.o conftest.obj conftest.*; do
4189 test -f "$ac_file" || continue;
4190 case $ac_file in
4191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4192 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4193 break;;
4194 esac
4195 done
4196 else
4197 $as_echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202 as_fn_error "cannot compute suffix of object files: cannot compile
4203 See \`config.log' for more details." "$LINENO" 5; }
4205 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4208 $as_echo "$ac_cv_objext" >&6; }
4209 OBJEXT=$ac_cv_objext
4210 ac_objext=$OBJEXT
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4212 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4213 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4214 $as_echo_n "(cached) " >&6
4215 else
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4220 main ()
4222 #ifndef __GNUC__
4223 choke me
4224 #endif
4227 return 0;
4229 _ACEOF
4230 if ac_fn_c_try_compile "$LINENO"; then :
4231 ac_compiler_gnu=yes
4232 else
4233 ac_compiler_gnu=no
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4240 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4241 if test $ac_compiler_gnu = yes; then
4242 GCC=yes
4243 else
4244 GCC=
4246 ac_test_CFLAGS=${CFLAGS+set}
4247 ac_save_CFLAGS=$CFLAGS
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4249 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4250 if test "${ac_cv_prog_cc_g+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_save_c_werror_flag=$ac_c_werror_flag
4254 ac_c_werror_flag=yes
4255 ac_cv_prog_cc_g=no
4256 CFLAGS="-g"
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4261 main ()
4265 return 0;
4267 _ACEOF
4268 if ac_fn_c_try_compile "$LINENO"; then :
4269 ac_cv_prog_cc_g=yes
4270 else
4271 CFLAGS=""
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4276 main ()
4280 return 0;
4282 _ACEOF
4283 if ac_fn_c_try_compile "$LINENO"; then :
4285 else
4286 ac_c_werror_flag=$ac_save_c_werror_flag
4287 CFLAGS="-g"
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4292 main ()
4296 return 0;
4298 _ACEOF
4299 if ac_fn_c_try_compile "$LINENO"; then :
4300 ac_cv_prog_cc_g=yes
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 ac_c_werror_flag=$ac_save_c_werror_flag
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4310 $as_echo "$ac_cv_prog_cc_g" >&6; }
4311 if test "$ac_test_CFLAGS" = set; then
4312 CFLAGS=$ac_save_CFLAGS
4313 elif test $ac_cv_prog_cc_g = yes; then
4314 if test "$GCC" = yes; then
4315 CFLAGS="-g -O2"
4316 else
4317 CFLAGS="-g"
4319 else
4320 if test "$GCC" = yes; then
4321 CFLAGS="-O2"
4322 else
4323 CFLAGS=
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4328 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4329 $as_echo_n "(cached) " >&6
4330 else
4331 ac_cv_prog_cc_c89=no
4332 ac_save_CC=$CC
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4335 #include <stdarg.h>
4336 #include <stdio.h>
4337 #include <sys/types.h>
4338 #include <sys/stat.h>
4339 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4340 struct buf { int x; };
4341 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4342 static char *e (p, i)
4343 char **p;
4344 int i;
4346 return p[i];
4348 static char *f (char * (*g) (char **, int), char **p, ...)
4350 char *s;
4351 va_list v;
4352 va_start (v,p);
4353 s = g (p, va_arg (v,int));
4354 va_end (v);
4355 return s;
4358 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4359 function prototypes and stuff, but not '\xHH' hex character constants.
4360 These don't provoke an error unfortunately, instead are silently treated
4361 as 'x'. The following induces an error, until -std is added to get
4362 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4363 array size at least. It's necessary to write '\x00'==0 to get something
4364 that's true only with -std. */
4365 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4367 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4368 inside strings and character constants. */
4369 #define FOO(x) 'x'
4370 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4372 int test (int i, double x);
4373 struct s1 {int (*f) (int a);};
4374 struct s2 {int (*f) (double a);};
4375 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4376 int argc;
4377 char **argv;
4379 main ()
4381 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4383 return 0;
4385 _ACEOF
4386 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4387 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4389 CC="$ac_save_CC $ac_arg"
4390 if ac_fn_c_try_compile "$LINENO"; then :
4391 ac_cv_prog_cc_c89=$ac_arg
4393 rm -f core conftest.err conftest.$ac_objext
4394 test "x$ac_cv_prog_cc_c89" != "xno" && break
4395 done
4396 rm -f conftest.$ac_ext
4397 CC=$ac_save_CC
4400 # AC_CACHE_VAL
4401 case "x$ac_cv_prog_cc_c89" in
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4404 $as_echo "none needed" >&6; } ;;
4405 xno)
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4407 $as_echo "unsupported" >&6; } ;;
4409 CC="$CC $ac_cv_prog_cc_c89"
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4411 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4412 esac
4413 if test "x$ac_cv_prog_cc_c89" != xno; then :
4417 ac_ext=c
4418 ac_cpp='$CPP $CPPFLAGS'
4419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4423 ac_ext=cpp
4424 ac_cpp='$CXXCPP $CPPFLAGS'
4425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4428 if test -z "$CXX"; then
4429 if test -n "$CCC"; then
4430 CXX=$CCC
4431 else
4432 if test -n "$ac_tool_prefix"; then
4433 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4436 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; }
4439 if test "${ac_cv_prog_CXX+set}" = set; then :
4440 $as_echo_n "(cached) " >&6
4441 else
4442 if test -n "$CXX"; then
4443 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4444 else
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 for as_dir in $PATH
4448 IFS=$as_save_IFS
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4452 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 break 2
4456 done
4457 done
4458 IFS=$as_save_IFS
4462 CXX=$ac_cv_prog_CXX
4463 if test -n "$CXX"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4465 $as_echo "$CXX" >&6; }
4466 else
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4472 test -n "$CXX" && break
4473 done
4475 if test -z "$CXX"; then
4476 ac_ct_CXX=$CXX
4477 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4479 # Extract the first word of "$ac_prog", so it can be a program name with args.
4480 set dummy $ac_prog; ac_word=$2
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4482 $as_echo_n "checking for $ac_word... " >&6; }
4483 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 if test -n "$ac_ct_CXX"; then
4487 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4488 else
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4492 IFS=$as_save_IFS
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4496 ac_cv_prog_ac_ct_CXX="$ac_prog"
4497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 break 2
4500 done
4501 done
4502 IFS=$as_save_IFS
4506 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4507 if test -n "$ac_ct_CXX"; then
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4509 $as_echo "$ac_ct_CXX" >&6; }
4510 else
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4512 $as_echo "no" >&6; }
4516 test -n "$ac_ct_CXX" && break
4517 done
4519 if test "x$ac_ct_CXX" = x; then
4520 CXX="g++"
4521 else
4522 case $cross_compiling:$ac_tool_warned in
4523 yes:)
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4526 ac_tool_warned=yes ;;
4527 esac
4528 CXX=$ac_ct_CXX
4534 # Provide some information about the compiler.
4535 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4536 set X $ac_compile
4537 ac_compiler=$2
4538 for ac_option in --version -v -V -qversion; do
4539 { { ac_try="$ac_compiler $ac_option >&5"
4540 case "(($ac_try" in
4541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4542 *) ac_try_echo=$ac_try;;
4543 esac
4544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4545 $as_echo "$ac_try_echo"; } >&5
4546 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4547 ac_status=$?
4548 if test -s conftest.err; then
4549 sed '10a\
4550 ... rest of stderr output deleted ...
4551 10q' conftest.err >conftest.er1
4552 cat conftest.er1 >&5
4553 rm -f conftest.er1 conftest.err
4555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4556 test $ac_status = 0; }
4557 done
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4560 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4561 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4562 $as_echo_n "(cached) " >&6
4563 else
4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4568 main ()
4570 #ifndef __GNUC__
4571 choke me
4572 #endif
4575 return 0;
4577 _ACEOF
4578 if ac_fn_cxx_try_compile "$LINENO"; then :
4579 ac_compiler_gnu=yes
4580 else
4581 ac_compiler_gnu=no
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4588 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4589 if test $ac_compiler_gnu = yes; then
4590 GXX=yes
4591 else
4592 GXX=
4594 ac_test_CXXFLAGS=${CXXFLAGS+set}
4595 ac_save_CXXFLAGS=$CXXFLAGS
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4597 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4598 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4599 $as_echo_n "(cached) " >&6
4600 else
4601 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4602 ac_cxx_werror_flag=yes
4603 ac_cv_prog_cxx_g=no
4604 CXXFLAGS="-g"
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4609 main ()
4613 return 0;
4615 _ACEOF
4616 if ac_fn_cxx_try_compile "$LINENO"; then :
4617 ac_cv_prog_cxx_g=yes
4618 else
4619 CXXFLAGS=""
4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4624 main ()
4628 return 0;
4630 _ACEOF
4631 if ac_fn_cxx_try_compile "$LINENO"; then :
4633 else
4634 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4635 CXXFLAGS="-g"
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4640 main ()
4644 return 0;
4646 _ACEOF
4647 if ac_fn_cxx_try_compile "$LINENO"; then :
4648 ac_cv_prog_cxx_g=yes
4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4658 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4659 if test "$ac_test_CXXFLAGS" = set; then
4660 CXXFLAGS=$ac_save_CXXFLAGS
4661 elif test $ac_cv_prog_cxx_g = yes; then
4662 if test "$GXX" = yes; then
4663 CXXFLAGS="-g -O2"
4664 else
4665 CXXFLAGS="-g"
4667 else
4668 if test "$GXX" = yes; then
4669 CXXFLAGS="-O2"
4670 else
4671 CXXFLAGS=
4674 ac_ext=c
4675 ac_cpp='$CPP $CPPFLAGS'
4676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4680 CXXFLAGS="$save_CXXFLAGS"
4682 # Runs configure.host, and assorted other critical bits. Sets
4683 # up critical shell variables.
4685 ac_ext=c
4686 ac_cpp='$CPP $CPPFLAGS'
4687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4691 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4692 # On Suns, sometimes $CPP names a directory.
4693 if test -n "$CPP" && test -d "$CPP"; then
4694 CPP=
4696 if test -z "$CPP"; then
4697 if test "${ac_cv_prog_CPP+set}" = set; then :
4698 $as_echo_n "(cached) " >&6
4699 else
4700 # Double quotes because CPP needs to be expanded
4701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4703 ac_preproc_ok=false
4704 for ac_c_preproc_warn_flag in '' yes
4706 # Use a header file that comes with gcc, so configuring glibc
4707 # with a fresh cross-compiler works.
4708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4709 # <limits.h> exists even on freestanding compilers.
4710 # On the NeXT, cc -E runs the code through the compiler's parser,
4711 # not just through cpp. "Syntax error" is here to catch this case.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #ifdef __STDC__
4715 # include <limits.h>
4716 #else
4717 # include <assert.h>
4718 #endif
4719 Syntax error
4720 _ACEOF
4721 if ac_fn_c_try_cpp "$LINENO"; then :
4723 else
4724 # Broken: fails on valid input.
4725 continue
4727 rm -f conftest.err conftest.$ac_ext
4729 # OK, works on sane cases. Now check whether nonexistent headers
4730 # can be detected and how.
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4733 #include <ac_nonexistent.h>
4734 _ACEOF
4735 if ac_fn_c_try_cpp "$LINENO"; then :
4736 # Broken: success on invalid input.
4737 continue
4738 else
4739 # Passes both tests.
4740 ac_preproc_ok=:
4741 break
4743 rm -f conftest.err conftest.$ac_ext
4745 done
4746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4747 rm -f conftest.err conftest.$ac_ext
4748 if $ac_preproc_ok; then :
4749 break
4752 done
4753 ac_cv_prog_CPP=$CPP
4756 CPP=$ac_cv_prog_CPP
4757 else
4758 ac_cv_prog_CPP=$CPP
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4761 $as_echo "$CPP" >&6; }
4762 ac_preproc_ok=false
4763 for ac_c_preproc_warn_flag in '' yes
4765 # Use a header file that comes with gcc, so configuring glibc
4766 # with a fresh cross-compiler works.
4767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4768 # <limits.h> exists even on freestanding compilers.
4769 # On the NeXT, cc -E runs the code through the compiler's parser,
4770 # not just through cpp. "Syntax error" is here to catch this case.
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4773 #ifdef __STDC__
4774 # include <limits.h>
4775 #else
4776 # include <assert.h>
4777 #endif
4778 Syntax error
4779 _ACEOF
4780 if ac_fn_c_try_cpp "$LINENO"; then :
4782 else
4783 # Broken: fails on valid input.
4784 continue
4786 rm -f conftest.err conftest.$ac_ext
4788 # OK, works on sane cases. Now check whether nonexistent headers
4789 # can be detected and how.
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4792 #include <ac_nonexistent.h>
4793 _ACEOF
4794 if ac_fn_c_try_cpp "$LINENO"; then :
4795 # Broken: success on invalid input.
4796 continue
4797 else
4798 # Passes both tests.
4799 ac_preproc_ok=:
4800 break
4802 rm -f conftest.err conftest.$ac_ext
4804 done
4805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4806 rm -f conftest.err conftest.$ac_ext
4807 if $ac_preproc_ok; then :
4809 else
4810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4812 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4813 See \`config.log' for more details." "$LINENO" 5; }
4816 ac_ext=c
4817 ac_cpp='$CPP $CPPFLAGS'
4818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4824 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4825 if test "${ac_cv_path_GREP+set}" = set; then :
4826 $as_echo_n "(cached) " >&6
4827 else
4828 if test -z "$GREP"; then
4829 ac_path_GREP_found=false
4830 # Loop through the user's path and test for each of PROGNAME-LIST
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4834 IFS=$as_save_IFS
4835 test -z "$as_dir" && as_dir=.
4836 for ac_prog in grep ggrep; do
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4839 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4840 # Check for GNU ac_path_GREP and select it if it is found.
4841 # Check for GNU $ac_path_GREP
4842 case `"$ac_path_GREP" --version 2>&1` in
4843 *GNU*)
4844 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4846 ac_count=0
4847 $as_echo_n 0123456789 >"conftest.in"
4848 while :
4850 cat "conftest.in" "conftest.in" >"conftest.tmp"
4851 mv "conftest.tmp" "conftest.in"
4852 cp "conftest.in" "conftest.nl"
4853 $as_echo 'GREP' >> "conftest.nl"
4854 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4855 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4856 as_fn_arith $ac_count + 1 && ac_count=$as_val
4857 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4858 # Best one so far, save it but keep looking for a better one
4859 ac_cv_path_GREP="$ac_path_GREP"
4860 ac_path_GREP_max=$ac_count
4862 # 10*(2^10) chars as input seems more than enough
4863 test $ac_count -gt 10 && break
4864 done
4865 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4866 esac
4868 $ac_path_GREP_found && break 3
4869 done
4870 done
4871 done
4872 IFS=$as_save_IFS
4873 if test -z "$ac_cv_path_GREP"; then
4874 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4876 else
4877 ac_cv_path_GREP=$GREP
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4882 $as_echo "$ac_cv_path_GREP" >&6; }
4883 GREP="$ac_cv_path_GREP"
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4887 $as_echo_n "checking for egrep... " >&6; }
4888 if test "${ac_cv_path_EGREP+set}" = set; then :
4889 $as_echo_n "(cached) " >&6
4890 else
4891 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4892 then ac_cv_path_EGREP="$GREP -E"
4893 else
4894 if test -z "$EGREP"; then
4895 ac_path_EGREP_found=false
4896 # Loop through the user's path and test for each of PROGNAME-LIST
4897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4900 IFS=$as_save_IFS
4901 test -z "$as_dir" && as_dir=.
4902 for ac_prog in egrep; do
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4905 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4906 # Check for GNU ac_path_EGREP and select it if it is found.
4907 # Check for GNU $ac_path_EGREP
4908 case `"$ac_path_EGREP" --version 2>&1` in
4909 *GNU*)
4910 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4912 ac_count=0
4913 $as_echo_n 0123456789 >"conftest.in"
4914 while :
4916 cat "conftest.in" "conftest.in" >"conftest.tmp"
4917 mv "conftest.tmp" "conftest.in"
4918 cp "conftest.in" "conftest.nl"
4919 $as_echo 'EGREP' >> "conftest.nl"
4920 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4921 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4922 as_fn_arith $ac_count + 1 && ac_count=$as_val
4923 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4924 # Best one so far, save it but keep looking for a better one
4925 ac_cv_path_EGREP="$ac_path_EGREP"
4926 ac_path_EGREP_max=$ac_count
4928 # 10*(2^10) chars as input seems more than enough
4929 test $ac_count -gt 10 && break
4930 done
4931 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4932 esac
4934 $ac_path_EGREP_found && break 3
4935 done
4936 done
4937 done
4938 IFS=$as_save_IFS
4939 if test -z "$ac_cv_path_EGREP"; then
4940 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4942 else
4943 ac_cv_path_EGREP=$EGREP
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4949 $as_echo "$ac_cv_path_EGREP" >&6; }
4950 EGREP="$ac_cv_path_EGREP"
4954 # Keep these sync'd with the list in Makefile.am. The first provides an
4955 # expandable list at autoconf time; the second provides an expandable list
4956 # (i.e., shell variable) at configure time.
4958 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4960 # These need to be absolute paths, yet at the same time need to
4961 # canonicalize only relative paths, because then amd will not unmount
4962 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4963 glibcxx_builddir=`${PWDCMD-pwd}`
4964 case $srcdir in
4965 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4966 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4967 esac
4968 toplevel_builddir=${glibcxx_builddir}/..
4969 toplevel_srcdir=${glibcxx_srcdir}/..
4975 # We use these options to decide which functions to include. They are
4976 # set from the top level.
4978 # Check whether --with-target-subdir was given.
4979 if test "${with_target_subdir+set}" = set; then :
4980 withval=$with_target_subdir;
4985 # Check whether --with-cross-host was given.
4986 if test "${with_cross_host+set}" = set; then :
4987 withval=$with_cross_host;
4992 # Check whether --with-newlib was given.
4993 if test "${with_newlib+set}" = set; then :
4994 withval=$with_newlib;
4998 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4999 # available). Uncomment the next line to force a particular method.
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5001 $as_echo_n "checking whether ln -s works... " >&6; }
5002 LN_S=$as_ln_s
5003 if test "$LN_S" = "ln -s"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5005 $as_echo "yes" >&6; }
5006 else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5008 $as_echo "no, using $LN_S" >&6; }
5011 #LN_S='cp -p'
5013 if test -n "$ac_tool_prefix"; then
5014 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5015 set dummy ${ac_tool_prefix}as; ac_word=$2
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017 $as_echo_n "checking for $ac_word... " >&6; }
5018 if test "${ac_cv_prog_AS+set}" = set; then :
5019 $as_echo_n "(cached) " >&6
5020 else
5021 if test -n "$AS"; then
5022 ac_cv_prog_AS="$AS" # Let the user override the test.
5023 else
5024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025 for as_dir in $PATH
5027 IFS=$as_save_IFS
5028 test -z "$as_dir" && as_dir=.
5029 for ac_exec_ext in '' $ac_executable_extensions; do
5030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5031 ac_cv_prog_AS="${ac_tool_prefix}as"
5032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 break 2
5035 done
5036 done
5037 IFS=$as_save_IFS
5041 AS=$ac_cv_prog_AS
5042 if test -n "$AS"; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5044 $as_echo "$AS" >&6; }
5045 else
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5052 if test -z "$ac_cv_prog_AS"; then
5053 ac_ct_AS=$AS
5054 # Extract the first word of "as", so it can be a program name with args.
5055 set dummy as; ac_word=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5059 $as_echo_n "(cached) " >&6
5060 else
5061 if test -n "$ac_ct_AS"; then
5062 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5063 else
5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 for as_dir in $PATH
5067 IFS=$as_save_IFS
5068 test -z "$as_dir" && as_dir=.
5069 for ac_exec_ext in '' $ac_executable_extensions; do
5070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5071 ac_cv_prog_ac_ct_AS="as"
5072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 break 2
5075 done
5076 done
5077 IFS=$as_save_IFS
5081 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5082 if test -n "$ac_ct_AS"; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5084 $as_echo "$ac_ct_AS" >&6; }
5085 else
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5090 if test "x$ac_ct_AS" = x; then
5091 AS=""
5092 else
5093 case $cross_compiling:$ac_tool_warned in
5094 yes:)
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5097 ac_tool_warned=yes ;;
5098 esac
5099 AS=$ac_ct_AS
5101 else
5102 AS="$ac_cv_prog_AS"
5105 if test -n "$ac_tool_prefix"; then
5106 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5107 set dummy ${ac_tool_prefix}ar; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if test "${ac_cv_prog_AR+set}" = set; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 if test -n "$AR"; then
5114 ac_cv_prog_AR="$AR" # Let the user override the test.
5115 else
5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5117 for as_dir in $PATH
5119 IFS=$as_save_IFS
5120 test -z "$as_dir" && as_dir=.
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5123 ac_cv_prog_AR="${ac_tool_prefix}ar"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5125 break 2
5127 done
5128 done
5129 IFS=$as_save_IFS
5133 AR=$ac_cv_prog_AR
5134 if test -n "$AR"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5136 $as_echo "$AR" >&6; }
5137 else
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5144 if test -z "$ac_cv_prog_AR"; then
5145 ac_ct_AR=$AR
5146 # Extract the first word of "ar", so it can be a program name with args.
5147 set dummy ar; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5151 $as_echo_n "(cached) " >&6
5152 else
5153 if test -n "$ac_ct_AR"; then
5154 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5155 else
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in $PATH
5159 IFS=$as_save_IFS
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5163 ac_cv_prog_ac_ct_AR="ar"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 break 2
5167 done
5168 done
5169 IFS=$as_save_IFS
5173 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5174 if test -n "$ac_ct_AR"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5176 $as_echo "$ac_ct_AR" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5182 if test "x$ac_ct_AR" = x; then
5183 AR=""
5184 else
5185 case $cross_compiling:$ac_tool_warned in
5186 yes:)
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5189 ac_tool_warned=yes ;;
5190 esac
5191 AR=$ac_ct_AR
5193 else
5194 AR="$ac_cv_prog_AR"
5197 if test -n "$ac_tool_prefix"; then
5198 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5199 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 if test -n "$RANLIB"; then
5206 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5207 else
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH
5211 IFS=$as_save_IFS
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5215 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 break 2
5219 done
5220 done
5221 IFS=$as_save_IFS
5225 RANLIB=$ac_cv_prog_RANLIB
5226 if test -n "$RANLIB"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5228 $as_echo "$RANLIB" >&6; }
5229 else
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5236 if test -z "$ac_cv_prog_RANLIB"; then
5237 ac_ct_RANLIB=$RANLIB
5238 # Extract the first word of "ranlib", so it can be a program name with args.
5239 set dummy ranlib; ac_word=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5243 $as_echo_n "(cached) " >&6
5244 else
5245 if test -n "$ac_ct_RANLIB"; then
5246 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5247 else
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH
5251 IFS=$as_save_IFS
5252 test -z "$as_dir" && as_dir=.
5253 for ac_exec_ext in '' $ac_executable_extensions; do
5254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5255 ac_cv_prog_ac_ct_RANLIB="ranlib"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 break 2
5259 done
5260 done
5261 IFS=$as_save_IFS
5265 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5266 if test -n "$ac_ct_RANLIB"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5268 $as_echo "$ac_ct_RANLIB" >&6; }
5269 else
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5274 if test "x$ac_ct_RANLIB" = x; then
5275 RANLIB="ranlib-not-found-in-path-error"
5276 else
5277 case $cross_compiling:$ac_tool_warned in
5278 yes:)
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5281 ac_tool_warned=yes ;;
5282 esac
5283 RANLIB=$ac_ct_RANLIB
5285 else
5286 RANLIB="$ac_cv_prog_RANLIB"
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5292 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5293 # Check whether --enable-maintainer-mode was given.
5294 if test "${enable_maintainer_mode+set}" = set; then :
5295 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5296 else
5297 USE_MAINTAINER_MODE=no
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5301 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5302 if test $USE_MAINTAINER_MODE = yes; then
5303 MAINTAINER_MODE_TRUE=
5304 MAINTAINER_MODE_FALSE='#'
5305 else
5306 MAINTAINER_MODE_TRUE='#'
5307 MAINTAINER_MODE_FALSE=
5310 MAINT=$MAINTAINER_MODE_TRUE
5314 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5315 # which are themselves conditionally expanded.
5316 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5317 ## other macros from doing the same. This should be automated.) -pme
5319 # Check for C library flavor since GNU/Linux platforms use different
5320 # configuration directories depending on the C library in use.
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5324 #include <stdio.h>
5325 #if __UCLIBC__
5326 _using_uclibc
5327 #endif
5329 _ACEOF
5330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5331 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5332 uclibc=yes
5333 else
5334 uclibc=no
5336 rm -f conftest*
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5342 #include <stdio.h>
5343 #if __BIONIC__
5344 _using_bionic
5345 #endif
5347 _ACEOF
5348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5349 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5350 bionic=yes
5351 else
5352 bionic=no
5354 rm -f conftest*
5357 # Find platform-specific directories containing configuration info.
5358 # Also possibly modify flags used elsewhere, as needed by the platform.
5360 . $glibcxx_srcdir/configure.host
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5362 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5364 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5368 # Libtool setup.
5369 if test "x${with_newlib}" != "xyes"; then
5370 enable_dlopen=yes
5375 case `pwd` in
5376 *\ * | *\ *)
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5378 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5379 esac
5383 macro_version='2.2.7a'
5384 macro_revision='1.3134'
5398 ltmain="$ac_aux_dir/ltmain.sh"
5400 # Backslashify metacharacters that are still active within
5401 # double-quoted strings.
5402 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5404 # Same as above, but do not quote variable references.
5405 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5407 # Sed substitution to delay expansion of an escaped shell variable in a
5408 # double_quote_subst'ed string.
5409 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5411 # Sed substitution to delay expansion of an escaped single quote.
5412 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5414 # Sed substitution to avoid accidental globbing in evaled expressions
5415 no_glob_subst='s/\*/\\\*/g'
5417 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5418 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5419 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5422 $as_echo_n "checking how to print strings... " >&6; }
5423 # Test print first, because it will be a builtin if present.
5424 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5425 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5426 ECHO='print -r --'
5427 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5428 ECHO='printf %s\n'
5429 else
5430 # Use this function as a fallback that always works.
5431 func_fallback_echo ()
5433 eval 'cat <<_LTECHO_EOF
5435 _LTECHO_EOF'
5437 ECHO='func_fallback_echo'
5440 # func_echo_all arg...
5441 # Invoke $ECHO with all args, space-separated.
5442 func_echo_all ()
5444 $ECHO ""
5447 case "$ECHO" in
5448 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5449 $as_echo "printf" >&6; } ;;
5450 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5451 $as_echo "print -r" >&6; } ;;
5452 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5453 $as_echo "cat" >&6; } ;;
5454 esac
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5470 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5471 if test "${ac_cv_path_SED+set}" = set; then :
5472 $as_echo_n "(cached) " >&6
5473 else
5474 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5475 for ac_i in 1 2 3 4 5 6 7; do
5476 ac_script="$ac_script$as_nl$ac_script"
5477 done
5478 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5479 { ac_script=; unset ac_script;}
5480 if test -z "$SED"; then
5481 ac_path_SED_found=false
5482 # Loop through the user's path and test for each of PROGNAME-LIST
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_prog in sed gsed; do
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5491 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5492 # Check for GNU ac_path_SED and select it if it is found.
5493 # Check for GNU $ac_path_SED
5494 case `"$ac_path_SED" --version 2>&1` in
5495 *GNU*)
5496 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5498 ac_count=0
5499 $as_echo_n 0123456789 >"conftest.in"
5500 while :
5502 cat "conftest.in" "conftest.in" >"conftest.tmp"
5503 mv "conftest.tmp" "conftest.in"
5504 cp "conftest.in" "conftest.nl"
5505 $as_echo '' >> "conftest.nl"
5506 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5507 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5508 as_fn_arith $ac_count + 1 && ac_count=$as_val
5509 if test $ac_count -gt ${ac_path_SED_max-0}; then
5510 # Best one so far, save it but keep looking for a better one
5511 ac_cv_path_SED="$ac_path_SED"
5512 ac_path_SED_max=$ac_count
5514 # 10*(2^10) chars as input seems more than enough
5515 test $ac_count -gt 10 && break
5516 done
5517 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5518 esac
5520 $ac_path_SED_found && break 3
5521 done
5522 done
5523 done
5524 IFS=$as_save_IFS
5525 if test -z "$ac_cv_path_SED"; then
5526 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5528 else
5529 ac_cv_path_SED=$SED
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5534 $as_echo "$ac_cv_path_SED" >&6; }
5535 SED="$ac_cv_path_SED"
5536 rm -f conftest.sed
5538 test -z "$SED" && SED=sed
5539 Xsed="$SED -e 1s/^X//"
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5552 $as_echo_n "checking for fgrep... " >&6; }
5553 if test "${ac_cv_path_FGREP+set}" = set; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5557 then ac_cv_path_FGREP="$GREP -F"
5558 else
5559 if test -z "$FGREP"; then
5560 ac_path_FGREP_found=false
5561 # Loop through the user's path and test for each of PROGNAME-LIST
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5565 IFS=$as_save_IFS
5566 test -z "$as_dir" && as_dir=.
5567 for ac_prog in fgrep; do
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5570 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5571 # Check for GNU ac_path_FGREP and select it if it is found.
5572 # Check for GNU $ac_path_FGREP
5573 case `"$ac_path_FGREP" --version 2>&1` in
5574 *GNU*)
5575 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5577 ac_count=0
5578 $as_echo_n 0123456789 >"conftest.in"
5579 while :
5581 cat "conftest.in" "conftest.in" >"conftest.tmp"
5582 mv "conftest.tmp" "conftest.in"
5583 cp "conftest.in" "conftest.nl"
5584 $as_echo 'FGREP' >> "conftest.nl"
5585 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5587 as_fn_arith $ac_count + 1 && ac_count=$as_val
5588 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5589 # Best one so far, save it but keep looking for a better one
5590 ac_cv_path_FGREP="$ac_path_FGREP"
5591 ac_path_FGREP_max=$ac_count
5593 # 10*(2^10) chars as input seems more than enough
5594 test $ac_count -gt 10 && break
5595 done
5596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5597 esac
5599 $ac_path_FGREP_found && break 3
5600 done
5601 done
5602 done
5603 IFS=$as_save_IFS
5604 if test -z "$ac_cv_path_FGREP"; then
5605 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5607 else
5608 ac_cv_path_FGREP=$FGREP
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5614 $as_echo "$ac_cv_path_FGREP" >&6; }
5615 FGREP="$ac_cv_path_FGREP"
5618 test -z "$GREP" && GREP=grep
5638 # Check whether --with-gnu-ld was given.
5639 if test "${with_gnu_ld+set}" = set; then :
5640 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5641 else
5642 with_gnu_ld=no
5645 ac_prog=ld
5646 if test "$GCC" = yes; then
5647 # Check if gcc -print-prog-name=ld gives a path.
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5649 $as_echo_n "checking for ld used by $CC... " >&6; }
5650 case $host in
5651 *-*-mingw*)
5652 # gcc leaves a trailing carriage return which upsets mingw
5653 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5655 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5656 esac
5657 case $ac_prog in
5658 # Accept absolute paths.
5659 [\\/]* | ?:[\\/]*)
5660 re_direlt='/[^/][^/]*/\.\./'
5661 # Canonicalize the pathname of ld
5662 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5663 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5664 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5665 done
5666 test -z "$LD" && LD="$ac_prog"
5669 # If it fails, then pretend we aren't using GCC.
5670 ac_prog=ld
5673 # If it is relative, then search for the first ld in PATH.
5674 with_gnu_ld=unknown
5676 esac
5677 elif test "$with_gnu_ld" = yes; then
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5679 $as_echo_n "checking for GNU ld... " >&6; }
5680 else
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5682 $as_echo_n "checking for non-GNU ld... " >&6; }
5684 if test "${lt_cv_path_LD+set}" = set; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 if test -z "$LD"; then
5688 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5689 for ac_dir in $PATH; do
5690 IFS="$lt_save_ifs"
5691 test -z "$ac_dir" && ac_dir=.
5692 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5693 lt_cv_path_LD="$ac_dir/$ac_prog"
5694 # Check to see if the program is GNU ld. I'd rather use --version,
5695 # but apparently some variants of GNU ld only accept -v.
5696 # Break only if it was the GNU/non-GNU ld that we prefer.
5697 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5698 *GNU* | *'with BFD'*)
5699 test "$with_gnu_ld" != no && break
5702 test "$with_gnu_ld" != yes && break
5704 esac
5706 done
5707 IFS="$lt_save_ifs"
5708 else
5709 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5713 LD="$lt_cv_path_LD"
5714 if test -n "$LD"; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5716 $as_echo "$LD" >&6; }
5717 else
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5721 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5723 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5724 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5728 case `$LD -v 2>&1 </dev/null` in
5729 *GNU* | *'with BFD'*)
5730 lt_cv_prog_gnu_ld=yes
5733 lt_cv_prog_gnu_ld=no
5735 esac
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5738 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5739 with_gnu_ld=$lt_cv_prog_gnu_ld
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5750 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5751 if test "${lt_cv_path_NM+set}" = set; then :
5752 $as_echo_n "(cached) " >&6
5753 else
5754 if test -n "$NM"; then
5755 # Let the user override the test.
5756 lt_cv_path_NM="$NM"
5757 else
5758 lt_nm_to_check="${ac_tool_prefix}nm"
5759 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5760 lt_nm_to_check="$lt_nm_to_check nm"
5762 for lt_tmp_nm in $lt_nm_to_check; do
5763 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5764 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5765 IFS="$lt_save_ifs"
5766 test -z "$ac_dir" && ac_dir=.
5767 tmp_nm="$ac_dir/$lt_tmp_nm"
5768 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5769 # Check to see if the nm accepts a BSD-compat flag.
5770 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5771 # nm: unknown option "B" ignored
5772 # Tru64's nm complains that /dev/null is an invalid object file
5773 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5774 */dev/null* | *'Invalid file or object type'*)
5775 lt_cv_path_NM="$tmp_nm -B"
5776 break
5779 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5780 */dev/null*)
5781 lt_cv_path_NM="$tmp_nm -p"
5782 break
5785 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5786 continue # so that we can try to find one that supports BSD flags
5788 esac
5790 esac
5792 done
5793 IFS="$lt_save_ifs"
5794 done
5795 : ${lt_cv_path_NM=no}
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5799 $as_echo "$lt_cv_path_NM" >&6; }
5800 if test "$lt_cv_path_NM" != "no"; then
5801 NM="$lt_cv_path_NM"
5802 else
5803 # Didn't find any BSD compatible name lister, look for dumpbin.
5804 if test -n "$DUMPBIN"; then :
5805 # Let the user override the test.
5806 else
5807 if test -n "$ac_tool_prefix"; then
5808 for ac_prog in dumpbin "link -dump"
5810 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5811 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5815 $as_echo_n "(cached) " >&6
5816 else
5817 if test -n "$DUMPBIN"; then
5818 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5819 else
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 for as_dir in $PATH
5823 IFS=$as_save_IFS
5824 test -z "$as_dir" && as_dir=.
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 break 2
5831 done
5832 done
5833 IFS=$as_save_IFS
5837 DUMPBIN=$ac_cv_prog_DUMPBIN
5838 if test -n "$DUMPBIN"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5840 $as_echo "$DUMPBIN" >&6; }
5841 else
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5847 test -n "$DUMPBIN" && break
5848 done
5850 if test -z "$DUMPBIN"; then
5851 ac_ct_DUMPBIN=$DUMPBIN
5852 for ac_prog in dumpbin "link -dump"
5854 # Extract the first word of "$ac_prog", so it can be a program name with args.
5855 set dummy $ac_prog; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5859 $as_echo_n "(cached) " >&6
5860 else
5861 if test -n "$ac_ct_DUMPBIN"; then
5862 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5863 else
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 for as_dir in $PATH
5867 IFS=$as_save_IFS
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5871 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 break 2
5875 done
5876 done
5877 IFS=$as_save_IFS
5881 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5882 if test -n "$ac_ct_DUMPBIN"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5884 $as_echo "$ac_ct_DUMPBIN" >&6; }
5885 else
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5891 test -n "$ac_ct_DUMPBIN" && break
5892 done
5894 if test "x$ac_ct_DUMPBIN" = x; then
5895 DUMPBIN=":"
5896 else
5897 case $cross_compiling:$ac_tool_warned in
5898 yes:)
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5901 ac_tool_warned=yes ;;
5902 esac
5903 DUMPBIN=$ac_ct_DUMPBIN
5907 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5908 *COFF*)
5909 DUMPBIN="$DUMPBIN -symbols"
5912 DUMPBIN=:
5914 esac
5917 if test "$DUMPBIN" != ":"; then
5918 NM="$DUMPBIN"
5921 test -z "$NM" && NM=nm
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5929 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5930 if test "${lt_cv_nm_interface+set}" = set; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 lt_cv_nm_interface="BSD nm"
5934 echo "int some_variable = 0;" > conftest.$ac_ext
5935 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5936 (eval "$ac_compile" 2>conftest.err)
5937 cat conftest.err >&5
5938 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5939 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5940 cat conftest.err >&5
5941 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5942 cat conftest.out >&5
5943 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5944 lt_cv_nm_interface="MS dumpbin"
5946 rm -f conftest*
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5949 $as_echo "$lt_cv_nm_interface" >&6; }
5951 # find the maximum length of command line arguments
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5953 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5954 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5958 teststring="ABCD"
5960 case $build_os in
5961 msdosdjgpp*)
5962 # On DJGPP, this test can blow up pretty badly due to problems in libc
5963 # (any single argument exceeding 2000 bytes causes a buffer overrun
5964 # during glob expansion). Even if it were fixed, the result of this
5965 # check would be larger than it should be.
5966 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5969 gnu*)
5970 # Under GNU Hurd, this test is not required because there is
5971 # no limit to the length of command line arguments.
5972 # Libtool will interpret -1 as no limit whatsoever
5973 lt_cv_sys_max_cmd_len=-1;
5976 cygwin* | mingw* | cegcc*)
5977 # On Win9x/ME, this test blows up -- it succeeds, but takes
5978 # about 5 minutes as the teststring grows exponentially.
5979 # Worse, since 9x/ME are not pre-emptively multitasking,
5980 # you end up with a "frozen" computer, even though with patience
5981 # the test eventually succeeds (with a max line length of 256k).
5982 # Instead, let's just punt: use the minimum linelength reported by
5983 # all of the supported platforms: 8192 (on NT/2K/XP).
5984 lt_cv_sys_max_cmd_len=8192;
5987 mint*)
5988 # On MiNT this can take a long time and run out of memory.
5989 lt_cv_sys_max_cmd_len=8192;
5992 amigaos*)
5993 # On AmigaOS with pdksh, this test takes hours, literally.
5994 # So we just punt and use a minimum line length of 8192.
5995 lt_cv_sys_max_cmd_len=8192;
5998 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5999 # This has been around since 386BSD, at least. Likely further.
6000 if test -x /sbin/sysctl; then
6001 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6002 elif test -x /usr/sbin/sysctl; then
6003 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6004 else
6005 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6007 # And add a safety zone
6008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6009 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6012 interix*)
6013 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6014 lt_cv_sys_max_cmd_len=196608
6017 osf*)
6018 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6019 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6020 # nice to cause kernel panics so lets avoid the loop below.
6021 # First set a reasonable default.
6022 lt_cv_sys_max_cmd_len=16384
6024 if test -x /sbin/sysconfig; then
6025 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6026 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6027 esac
6030 sco3.2v5*)
6031 lt_cv_sys_max_cmd_len=102400
6033 sysv5* | sco5v6* | sysv4.2uw2*)
6034 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6035 if test -n "$kargmax"; then
6036 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6037 else
6038 lt_cv_sys_max_cmd_len=32768
6042 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6043 if test -n "$lt_cv_sys_max_cmd_len"; then
6044 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6045 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6046 else
6047 # Make teststring a little bigger before we do anything with it.
6048 # a 1K string should be a reasonable start.
6049 for i in 1 2 3 4 5 6 7 8 ; do
6050 teststring=$teststring$teststring
6051 done
6052 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6053 # If test is not a shell built-in, we'll probably end up computing a
6054 # maximum length that is only half of the actual maximum length, but
6055 # we can't tell.
6056 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6057 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6058 test $i != 17 # 1/2 MB should be enough
6060 i=`expr $i + 1`
6061 teststring=$teststring$teststring
6062 done
6063 # Only check the string length outside the loop.
6064 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6065 teststring=
6066 # Add a significant safety factor because C++ compilers can tack on
6067 # massive amounts of additional arguments before passing them to the
6068 # linker. It appears as though 1/2 is a usable value.
6069 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6072 esac
6076 if test -n $lt_cv_sys_max_cmd_len ; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6078 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6079 else
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6081 $as_echo "none" >&6; }
6083 max_cmd_len=$lt_cv_sys_max_cmd_len
6090 : ${CP="cp -f"}
6091 : ${MV="mv -f"}
6092 : ${RM="rm -f"}
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6095 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6096 # Try some XSI features
6097 xsi_shell=no
6098 ( _lt_dummy="a/b/c"
6099 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6100 = c,a/b,, \
6101 && eval 'test $(( 1 + 1 )) -eq 2 \
6102 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6103 && xsi_shell=yes
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6105 $as_echo "$xsi_shell" >&6; }
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6109 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6110 lt_shell_append=no
6111 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6112 >/dev/null 2>&1 \
6113 && lt_shell_append=yes
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6115 $as_echo "$lt_shell_append" >&6; }
6118 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6119 lt_unset=unset
6120 else
6121 lt_unset=false
6128 # test EBCDIC or ASCII
6129 case `echo X|tr X '\101'` in
6130 A) # ASCII based system
6131 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6132 lt_SP2NL='tr \040 \012'
6133 lt_NL2SP='tr \015\012 \040\040'
6135 *) # EBCDIC based system
6136 lt_SP2NL='tr \100 \n'
6137 lt_NL2SP='tr \r\n \100\100'
6139 esac
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6150 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6151 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6152 $as_echo_n "(cached) " >&6
6153 else
6154 lt_cv_ld_reload_flag='-r'
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6157 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6158 reload_flag=$lt_cv_ld_reload_flag
6159 case $reload_flag in
6160 "" | " "*) ;;
6161 *) reload_flag=" $reload_flag" ;;
6162 esac
6163 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6164 case $host_os in
6165 darwin*)
6166 if test "$GCC" = yes; then
6167 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6168 else
6169 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6172 esac
6182 if test -n "$ac_tool_prefix"; then
6183 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6184 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6186 $as_echo_n "checking for $ac_word... " >&6; }
6187 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6188 $as_echo_n "(cached) " >&6
6189 else
6190 if test -n "$OBJDUMP"; then
6191 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6192 else
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6194 for as_dir in $PATH
6196 IFS=$as_save_IFS
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6200 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6202 break 2
6204 done
6205 done
6206 IFS=$as_save_IFS
6210 OBJDUMP=$ac_cv_prog_OBJDUMP
6211 if test -n "$OBJDUMP"; then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6213 $as_echo "$OBJDUMP" >&6; }
6214 else
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 $as_echo "no" >&6; }
6221 if test -z "$ac_cv_prog_OBJDUMP"; then
6222 ac_ct_OBJDUMP=$OBJDUMP
6223 # Extract the first word of "objdump", so it can be a program name with args.
6224 set dummy objdump; ac_word=$2
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226 $as_echo_n "checking for $ac_word... " >&6; }
6227 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6228 $as_echo_n "(cached) " >&6
6229 else
6230 if test -n "$ac_ct_OBJDUMP"; then
6231 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6232 else
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6234 for as_dir in $PATH
6236 IFS=$as_save_IFS
6237 test -z "$as_dir" && as_dir=.
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6240 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 break 2
6244 done
6245 done
6246 IFS=$as_save_IFS
6250 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6251 if test -n "$ac_ct_OBJDUMP"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6253 $as_echo "$ac_ct_OBJDUMP" >&6; }
6254 else
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6259 if test "x$ac_ct_OBJDUMP" = x; then
6260 OBJDUMP="false"
6261 else
6262 case $cross_compiling:$ac_tool_warned in
6263 yes:)
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6266 ac_tool_warned=yes ;;
6267 esac
6268 OBJDUMP=$ac_ct_OBJDUMP
6270 else
6271 OBJDUMP="$ac_cv_prog_OBJDUMP"
6274 test -z "$OBJDUMP" && OBJDUMP=objdump
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6285 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6286 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 lt_cv_file_magic_cmd='$MAGIC_CMD'
6290 lt_cv_file_magic_test_file=
6291 lt_cv_deplibs_check_method='unknown'
6292 # Need to set the preceding variable on all platforms that support
6293 # interlibrary dependencies.
6294 # 'none' -- dependencies not supported.
6295 # `unknown' -- same as none, but documents that we really don't know.
6296 # 'pass_all' -- all dependencies passed with no checks.
6297 # 'test_compile' -- check by making test program.
6298 # 'file_magic [[regex]]' -- check by looking for files in library path
6299 # which responds to the $file_magic_cmd with a given extended regex.
6300 # If you have `file' or equivalent on your system and you're not sure
6301 # whether `pass_all' will *always* work, you probably want this one.
6303 case $host_os in
6304 aix[4-9]*)
6305 lt_cv_deplibs_check_method=pass_all
6308 beos*)
6309 lt_cv_deplibs_check_method=pass_all
6312 bsdi[45]*)
6313 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6314 lt_cv_file_magic_cmd='/usr/bin/file -L'
6315 lt_cv_file_magic_test_file=/shlib/libc.so
6318 cygwin*)
6319 # func_win32_libid is a shell function defined in ltmain.sh
6320 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6321 lt_cv_file_magic_cmd='func_win32_libid'
6324 mingw* | pw32*)
6325 # Base MSYS/MinGW do not provide the 'file' command needed by
6326 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6327 # unless we find 'file', for example because we are cross-compiling.
6328 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6329 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6330 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6331 lt_cv_file_magic_cmd='func_win32_libid'
6332 else
6333 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6334 lt_cv_file_magic_cmd='$OBJDUMP -f'
6338 cegcc*)
6339 # use the weaker test based on 'objdump'. See mingw*.
6340 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6341 lt_cv_file_magic_cmd='$OBJDUMP -f'
6344 darwin* | rhapsody*)
6345 lt_cv_deplibs_check_method=pass_all
6348 freebsd* | dragonfly*)
6349 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6350 case $host_cpu in
6351 i*86 )
6352 # Not sure whether the presence of OpenBSD here was a mistake.
6353 # Let's accept both of them until this is cleared up.
6354 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6355 lt_cv_file_magic_cmd=/usr/bin/file
6356 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6358 esac
6359 else
6360 lt_cv_deplibs_check_method=pass_all
6364 gnu*)
6365 lt_cv_deplibs_check_method=pass_all
6368 haiku*)
6369 lt_cv_deplibs_check_method=pass_all
6372 hpux10.20* | hpux11*)
6373 lt_cv_file_magic_cmd=/usr/bin/file
6374 case $host_cpu in
6375 ia64*)
6376 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6377 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6379 hppa*64*)
6380 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6381 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6384 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6385 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6387 esac
6390 interix[3-9]*)
6391 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6392 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6395 irix5* | irix6* | nonstopux*)
6396 case $LD in
6397 *-32|*"-32 ") libmagic=32-bit;;
6398 *-n32|*"-n32 ") libmagic=N32;;
6399 *-64|*"-64 ") libmagic=64-bit;;
6400 *) libmagic=never-match;;
6401 esac
6402 lt_cv_deplibs_check_method=pass_all
6405 # This must be Linux ELF.
6406 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6407 lt_cv_deplibs_check_method=pass_all
6410 netbsd*)
6411 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6412 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6413 else
6414 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6418 newos6*)
6419 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6420 lt_cv_file_magic_cmd=/usr/bin/file
6421 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6424 *nto* | *qnx*)
6425 lt_cv_deplibs_check_method=pass_all
6428 openbsd*)
6429 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6430 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6431 else
6432 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6436 osf3* | osf4* | osf5*)
6437 lt_cv_deplibs_check_method=pass_all
6440 rdos*)
6441 lt_cv_deplibs_check_method=pass_all
6444 solaris*)
6445 lt_cv_deplibs_check_method=pass_all
6448 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6449 lt_cv_deplibs_check_method=pass_all
6452 sysv4 | sysv4.3*)
6453 case $host_vendor in
6454 motorola)
6455 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6456 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6458 ncr)
6459 lt_cv_deplibs_check_method=pass_all
6461 sequent)
6462 lt_cv_file_magic_cmd='/bin/file'
6463 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6465 sni)
6466 lt_cv_file_magic_cmd='/bin/file'
6467 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6468 lt_cv_file_magic_test_file=/lib/libc.so
6470 siemens)
6471 lt_cv_deplibs_check_method=pass_all
6474 lt_cv_deplibs_check_method=pass_all
6476 esac
6479 tpf*)
6480 lt_cv_deplibs_check_method=pass_all
6482 esac
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6486 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6487 file_magic_cmd=$lt_cv_file_magic_cmd
6488 deplibs_check_method=$lt_cv_deplibs_check_method
6489 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6502 if test -n "$ac_tool_prefix"; then
6503 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6504 set dummy ${ac_tool_prefix}ar; ac_word=$2
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 $as_echo_n "checking for $ac_word... " >&6; }
6507 if test "${ac_cv_prog_AR+set}" = set; then :
6508 $as_echo_n "(cached) " >&6
6509 else
6510 if test -n "$AR"; then
6511 ac_cv_prog_AR="$AR" # Let the user override the test.
6512 else
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514 for as_dir in $PATH
6516 IFS=$as_save_IFS
6517 test -z "$as_dir" && as_dir=.
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6520 ac_cv_prog_AR="${ac_tool_prefix}ar"
6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 break 2
6524 done
6525 done
6526 IFS=$as_save_IFS
6530 AR=$ac_cv_prog_AR
6531 if test -n "$AR"; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6533 $as_echo "$AR" >&6; }
6534 else
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 $as_echo "no" >&6; }
6541 if test -z "$ac_cv_prog_AR"; then
6542 ac_ct_AR=$AR
6543 # Extract the first word of "ar", so it can be a program name with args.
6544 set dummy ar; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6548 $as_echo_n "(cached) " >&6
6549 else
6550 if test -n "$ac_ct_AR"; then
6551 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6552 else
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 for as_dir in $PATH
6556 IFS=$as_save_IFS
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6560 ac_cv_prog_ac_ct_AR="ar"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 break 2
6564 done
6565 done
6566 IFS=$as_save_IFS
6570 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6571 if test -n "$ac_ct_AR"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6573 $as_echo "$ac_ct_AR" >&6; }
6574 else
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6579 if test "x$ac_ct_AR" = x; then
6580 AR="false"
6581 else
6582 case $cross_compiling:$ac_tool_warned in
6583 yes:)
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6586 ac_tool_warned=yes ;;
6587 esac
6588 AR=$ac_ct_AR
6590 else
6591 AR="$ac_cv_prog_AR"
6594 test -z "$AR" && AR=ar
6595 test -z "$AR_FLAGS" && AR_FLAGS=cru
6607 if test -n "$ac_tool_prefix"; then
6608 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6609 set dummy ${ac_tool_prefix}strip; ac_word=$2
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6611 $as_echo_n "checking for $ac_word... " >&6; }
6612 if test "${ac_cv_prog_STRIP+set}" = set; then :
6613 $as_echo_n "(cached) " >&6
6614 else
6615 if test -n "$STRIP"; then
6616 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6617 else
6618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6619 for as_dir in $PATH
6621 IFS=$as_save_IFS
6622 test -z "$as_dir" && as_dir=.
6623 for ac_exec_ext in '' $ac_executable_extensions; do
6624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6625 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6627 break 2
6629 done
6630 done
6631 IFS=$as_save_IFS
6635 STRIP=$ac_cv_prog_STRIP
6636 if test -n "$STRIP"; then
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6638 $as_echo "$STRIP" >&6; }
6639 else
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6641 $as_echo "no" >&6; }
6646 if test -z "$ac_cv_prog_STRIP"; then
6647 ac_ct_STRIP=$STRIP
6648 # Extract the first word of "strip", so it can be a program name with args.
6649 set dummy strip; ac_word=$2
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 $as_echo_n "checking for $ac_word... " >&6; }
6652 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6653 $as_echo_n "(cached) " >&6
6654 else
6655 if test -n "$ac_ct_STRIP"; then
6656 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6657 else
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 for as_dir in $PATH
6661 IFS=$as_save_IFS
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6665 ac_cv_prog_ac_ct_STRIP="strip"
6666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 break 2
6669 done
6670 done
6671 IFS=$as_save_IFS
6675 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6676 if test -n "$ac_ct_STRIP"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6678 $as_echo "$ac_ct_STRIP" >&6; }
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 $as_echo "no" >&6; }
6684 if test "x$ac_ct_STRIP" = x; then
6685 STRIP=":"
6686 else
6687 case $cross_compiling:$ac_tool_warned in
6688 yes:)
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6691 ac_tool_warned=yes ;;
6692 esac
6693 STRIP=$ac_ct_STRIP
6695 else
6696 STRIP="$ac_cv_prog_STRIP"
6699 test -z "$STRIP" && STRIP=:
6706 if test -n "$ac_tool_prefix"; then
6707 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6708 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 $as_echo_n "checking for $ac_word... " >&6; }
6711 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6712 $as_echo_n "(cached) " >&6
6713 else
6714 if test -n "$RANLIB"; then
6715 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6716 else
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6718 for as_dir in $PATH
6720 IFS=$as_save_IFS
6721 test -z "$as_dir" && as_dir=.
6722 for ac_exec_ext in '' $ac_executable_extensions; do
6723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6724 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6726 break 2
6728 done
6729 done
6730 IFS=$as_save_IFS
6734 RANLIB=$ac_cv_prog_RANLIB
6735 if test -n "$RANLIB"; then
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6737 $as_echo "$RANLIB" >&6; }
6738 else
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6740 $as_echo "no" >&6; }
6745 if test -z "$ac_cv_prog_RANLIB"; then
6746 ac_ct_RANLIB=$RANLIB
6747 # Extract the first word of "ranlib", so it can be a program name with args.
6748 set dummy ranlib; ac_word=$2
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 $as_echo_n "checking for $ac_word... " >&6; }
6751 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6752 $as_echo_n "(cached) " >&6
6753 else
6754 if test -n "$ac_ct_RANLIB"; then
6755 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6756 else
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 for as_dir in $PATH
6760 IFS=$as_save_IFS
6761 test -z "$as_dir" && as_dir=.
6762 for ac_exec_ext in '' $ac_executable_extensions; do
6763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6764 ac_cv_prog_ac_ct_RANLIB="ranlib"
6765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 break 2
6768 done
6769 done
6770 IFS=$as_save_IFS
6774 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6775 if test -n "$ac_ct_RANLIB"; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6777 $as_echo "$ac_ct_RANLIB" >&6; }
6778 else
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780 $as_echo "no" >&6; }
6783 if test "x$ac_ct_RANLIB" = x; then
6784 RANLIB=":"
6785 else
6786 case $cross_compiling:$ac_tool_warned in
6787 yes:)
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6790 ac_tool_warned=yes ;;
6791 esac
6792 RANLIB=$ac_ct_RANLIB
6794 else
6795 RANLIB="$ac_cv_prog_RANLIB"
6798 test -z "$RANLIB" && RANLIB=:
6805 # Determine commands to create old-style static archives.
6806 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6807 old_postinstall_cmds='chmod 644 $oldlib'
6808 old_postuninstall_cmds=
6810 if test -n "$RANLIB"; then
6811 case $host_os in
6812 openbsd*)
6813 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6816 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6818 esac
6819 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6822 case $host_os in
6823 darwin*)
6824 lock_old_archive_extraction=yes ;;
6826 lock_old_archive_extraction=no ;;
6827 esac
6867 # If no C compiler was specified, use CC.
6868 LTCC=${LTCC-"$CC"}
6870 # If no C compiler flags were specified, use CFLAGS.
6871 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6873 # Allow CC to be a program name with arguments.
6874 compiler=$CC
6877 # Check for command to grab the raw symbol name followed by C symbol from nm.
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6879 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6880 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6881 $as_echo_n "(cached) " >&6
6882 else
6884 # These are sane defaults that work on at least a few old systems.
6885 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6887 # Character class describing NM global symbol codes.
6888 symcode='[BCDEGRST]'
6890 # Regexp to match symbols that can be accessed directly from C.
6891 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6893 # Define system-specific variables.
6894 case $host_os in
6895 aix*)
6896 symcode='[BCDT]'
6898 cygwin* | mingw* | pw32* | cegcc*)
6899 symcode='[ABCDGISTW]'
6901 hpux*)
6902 if test "$host_cpu" = ia64; then
6903 symcode='[ABCDEGRST]'
6906 irix* | nonstopux*)
6907 symcode='[BCDEGRST]'
6909 osf*)
6910 symcode='[BCDEGQRST]'
6912 solaris*)
6913 symcode='[BDRT]'
6915 sco3.2v5*)
6916 symcode='[DT]'
6918 sysv4.2uw2*)
6919 symcode='[DT]'
6921 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6922 symcode='[ABDT]'
6924 sysv4)
6925 symcode='[DFNSTU]'
6927 esac
6929 # If we're using GNU nm, then use its standard symbol codes.
6930 case `$NM -V 2>&1` in
6931 *GNU* | *'with BFD'*)
6932 symcode='[ABCDGIRSTW]' ;;
6933 esac
6935 # Transform an extracted symbol line into a proper C declaration.
6936 # Some systems (esp. on ia64) link data and code symbols differently,
6937 # so use this general approach.
6938 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6940 # Transform an extracted symbol line into symbol name and symbol address
6941 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6942 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6944 # Handle CRLF in mingw tool chain
6945 opt_cr=
6946 case $build_os in
6947 mingw*)
6948 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6950 esac
6952 # Try without a prefix underscore, then with it.
6953 for ac_symprfx in "" "_"; do
6955 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6956 symxfrm="\\1 $ac_symprfx\\2 \\2"
6958 # Write the raw and C identifiers.
6959 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6960 # Fake it for dumpbin and say T for any non-static function
6961 # and D for any global variable.
6962 # Also find C++ and __fastcall symbols from MSVC++,
6963 # which start with @ or ?.
6964 lt_cv_sys_global_symbol_pipe="$AWK '"\
6965 " {last_section=section; section=\$ 3};"\
6966 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6967 " \$ 0!~/External *\|/{next};"\
6968 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6969 " {if(hide[section]) next};"\
6970 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6971 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6972 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6973 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6974 " ' prfx=^$ac_symprfx"
6975 else
6976 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6979 # Check to see that the pipe works correctly.
6980 pipe_works=no
6982 rm -f conftest*
6983 cat > conftest.$ac_ext <<_LT_EOF
6984 #ifdef __cplusplus
6985 extern "C" {
6986 #endif
6987 char nm_test_var;
6988 void nm_test_func(void);
6989 void nm_test_func(void){}
6990 #ifdef __cplusplus
6992 #endif
6993 int main(){nm_test_var='a';nm_test_func();return(0);}
6994 _LT_EOF
6996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6997 (eval $ac_compile) 2>&5
6998 ac_status=$?
6999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7000 test $ac_status = 0; }; then
7001 # Now try to grab the symbols.
7002 nlist=conftest.nm
7003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7004 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7005 ac_status=$?
7006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7007 test $ac_status = 0; } && test -s "$nlist"; then
7008 # Try sorting and uniquifying the output.
7009 if sort "$nlist" | uniq > "$nlist"T; then
7010 mv -f "$nlist"T "$nlist"
7011 else
7012 rm -f "$nlist"T
7015 # Make sure that we snagged all the symbols we need.
7016 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7017 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7018 cat <<_LT_EOF > conftest.$ac_ext
7019 #ifdef __cplusplus
7020 extern "C" {
7021 #endif
7023 _LT_EOF
7024 # Now generate the symbol file.
7025 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7027 cat <<_LT_EOF >> conftest.$ac_ext
7029 /* The mapping between symbol names and symbols. */
7030 const struct {
7031 const char *name;
7032 void *address;
7034 lt__PROGRAM__LTX_preloaded_symbols[] =
7036 { "@PROGRAM@", (void *) 0 },
7037 _LT_EOF
7038 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7039 cat <<\_LT_EOF >> conftest.$ac_ext
7040 {0, (void *) 0}
7043 /* This works around a problem in FreeBSD linker */
7044 #ifdef FREEBSD_WORKAROUND
7045 static const void *lt_preloaded_setup() {
7046 return lt__PROGRAM__LTX_preloaded_symbols;
7048 #endif
7050 #ifdef __cplusplus
7052 #endif
7053 _LT_EOF
7054 # Now try linking the two files.
7055 mv conftest.$ac_objext conftstm.$ac_objext
7056 lt_save_LIBS="$LIBS"
7057 lt_save_CFLAGS="$CFLAGS"
7058 LIBS="conftstm.$ac_objext"
7059 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7061 (eval $ac_link) 2>&5
7062 ac_status=$?
7063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7064 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7065 pipe_works=yes
7067 LIBS="$lt_save_LIBS"
7068 CFLAGS="$lt_save_CFLAGS"
7069 else
7070 echo "cannot find nm_test_func in $nlist" >&5
7072 else
7073 echo "cannot find nm_test_var in $nlist" >&5
7075 else
7076 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7078 else
7079 echo "$progname: failed program was:" >&5
7080 cat conftest.$ac_ext >&5
7082 rm -rf conftest* conftst*
7084 # Do not use the global_symbol_pipe unless it works.
7085 if test "$pipe_works" = yes; then
7086 break
7087 else
7088 lt_cv_sys_global_symbol_pipe=
7090 done
7094 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7095 lt_cv_sys_global_symbol_to_cdecl=
7097 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7099 $as_echo "failed" >&6; }
7100 else
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7102 $as_echo "ok" >&6; }
7126 # Check whether --enable-libtool-lock was given.
7127 if test "${enable_libtool_lock+set}" = set; then :
7128 enableval=$enable_libtool_lock;
7131 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7133 # Some flags need to be propagated to the compiler or linker for good
7134 # libtool support.
7135 case $host in
7136 ia64-*-hpux*)
7137 # Find out which ABI we are using.
7138 echo 'int i;' > conftest.$ac_ext
7139 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7140 (eval $ac_compile) 2>&5
7141 ac_status=$?
7142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7143 test $ac_status = 0; }; then
7144 case `/usr/bin/file conftest.$ac_objext` in
7145 *ELF-32*)
7146 HPUX_IA64_MODE="32"
7148 *ELF-64*)
7149 HPUX_IA64_MODE="64"
7151 esac
7153 rm -rf conftest*
7155 *-*-irix6*)
7156 # Find out which ABI we are using.
7157 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7159 (eval $ac_compile) 2>&5
7160 ac_status=$?
7161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7162 test $ac_status = 0; }; then
7163 if test "$lt_cv_prog_gnu_ld" = yes; then
7164 case `/usr/bin/file conftest.$ac_objext` in
7165 *32-bit*)
7166 LD="${LD-ld} -melf32bsmip"
7168 *N32*)
7169 LD="${LD-ld} -melf32bmipn32"
7171 *64-bit*)
7172 LD="${LD-ld} -melf64bmip"
7174 esac
7175 else
7176 case `/usr/bin/file conftest.$ac_objext` in
7177 *32-bit*)
7178 LD="${LD-ld} -32"
7180 *N32*)
7181 LD="${LD-ld} -n32"
7183 *64-bit*)
7184 LD="${LD-ld} -64"
7186 esac
7189 rm -rf conftest*
7192 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7193 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7194 # Find out which ABI we are using.
7195 echo 'int i;' > conftest.$ac_ext
7196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7197 (eval $ac_compile) 2>&5
7198 ac_status=$?
7199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7200 test $ac_status = 0; }; then
7201 case `/usr/bin/file conftest.o` in
7202 *32-bit*)
7203 case $host in
7204 x86_64-*kfreebsd*-gnu)
7205 LD="${LD-ld} -m elf_i386_fbsd"
7207 x86_64-*linux*)
7208 case `/usr/bin/file conftest.o` in
7209 *x86-64*)
7210 LD="${LD-ld} -m elf32_x86_64"
7213 LD="${LD-ld} -m elf_i386"
7215 esac
7217 powerpc64le-*linux*)
7218 LD="${LD-ld} -m elf32lppclinux"
7220 powerpc64-*linux*)
7221 LD="${LD-ld} -m elf32ppclinux"
7223 s390x-*linux*)
7224 LD="${LD-ld} -m elf_s390"
7226 sparc64-*linux*)
7227 LD="${LD-ld} -m elf32_sparc"
7229 esac
7231 *64-bit*)
7232 case $host in
7233 x86_64-*kfreebsd*-gnu)
7234 LD="${LD-ld} -m elf_x86_64_fbsd"
7236 x86_64-*linux*)
7237 LD="${LD-ld} -m elf_x86_64"
7239 powerpcle-*linux*)
7240 LD="${LD-ld} -m elf64lppc"
7242 powerpc-*linux*)
7243 LD="${LD-ld} -m elf64ppc"
7245 s390*-*linux*|s390*-*tpf*)
7246 LD="${LD-ld} -m elf64_s390"
7248 sparc*-*linux*)
7249 LD="${LD-ld} -m elf64_sparc"
7251 esac
7253 esac
7255 rm -rf conftest*
7258 *-*-sco3.2v5*)
7259 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7260 SAVE_CFLAGS="$CFLAGS"
7261 CFLAGS="$CFLAGS -belf"
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7263 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7264 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7265 $as_echo_n "(cached) " >&6
7266 else
7267 ac_ext=c
7268 ac_cpp='$CPP $CPPFLAGS'
7269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7273 if test x$gcc_no_link = xyes; then
7274 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7280 main ()
7284 return 0;
7286 _ACEOF
7287 if ac_fn_c_try_link "$LINENO"; then :
7288 lt_cv_cc_needs_belf=yes
7289 else
7290 lt_cv_cc_needs_belf=no
7292 rm -f core conftest.err conftest.$ac_objext \
7293 conftest$ac_exeext conftest.$ac_ext
7294 ac_ext=c
7295 ac_cpp='$CPP $CPPFLAGS'
7296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7302 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7303 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7304 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7305 CFLAGS="$SAVE_CFLAGS"
7308 sparc*-*solaris*)
7309 # Find out which ABI we are using.
7310 echo 'int i;' > conftest.$ac_ext
7311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7312 (eval $ac_compile) 2>&5
7313 ac_status=$?
7314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7315 test $ac_status = 0; }; then
7316 case `/usr/bin/file conftest.o` in
7317 *64-bit*)
7318 case $lt_cv_prog_gnu_ld in
7319 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7321 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7322 LD="${LD-ld} -64"
7325 esac
7327 esac
7329 rm -rf conftest*
7331 esac
7333 need_locks="$enable_libtool_lock"
7336 case $host_os in
7337 rhapsody* | darwin*)
7338 if test -n "$ac_tool_prefix"; then
7339 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7340 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 $as_echo_n "checking for $ac_word... " >&6; }
7343 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7344 $as_echo_n "(cached) " >&6
7345 else
7346 if test -n "$DSYMUTIL"; then
7347 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7348 else
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 for as_dir in $PATH
7352 IFS=$as_save_IFS
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7356 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 break 2
7360 done
7361 done
7362 IFS=$as_save_IFS
7366 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7367 if test -n "$DSYMUTIL"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7369 $as_echo "$DSYMUTIL" >&6; }
7370 else
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 $as_echo "no" >&6; }
7377 if test -z "$ac_cv_prog_DSYMUTIL"; then
7378 ac_ct_DSYMUTIL=$DSYMUTIL
7379 # Extract the first word of "dsymutil", so it can be a program name with args.
7380 set dummy dsymutil; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7384 $as_echo_n "(cached) " >&6
7385 else
7386 if test -n "$ac_ct_DSYMUTIL"; then
7387 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7388 else
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 for as_dir in $PATH
7392 IFS=$as_save_IFS
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 break 2
7400 done
7401 done
7402 IFS=$as_save_IFS
7406 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7407 if test -n "$ac_ct_DSYMUTIL"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7409 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7410 else
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7415 if test "x$ac_ct_DSYMUTIL" = x; then
7416 DSYMUTIL=":"
7417 else
7418 case $cross_compiling:$ac_tool_warned in
7419 yes:)
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7422 ac_tool_warned=yes ;;
7423 esac
7424 DSYMUTIL=$ac_ct_DSYMUTIL
7426 else
7427 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7430 if test -n "$ac_tool_prefix"; then
7431 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7432 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7434 $as_echo_n "checking for $ac_word... " >&6; }
7435 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7436 $as_echo_n "(cached) " >&6
7437 else
7438 if test -n "$NMEDIT"; then
7439 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7440 else
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 for as_dir in $PATH
7444 IFS=$as_save_IFS
7445 test -z "$as_dir" && as_dir=.
7446 for ac_exec_ext in '' $ac_executable_extensions; do
7447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7448 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 break 2
7452 done
7453 done
7454 IFS=$as_save_IFS
7458 NMEDIT=$ac_cv_prog_NMEDIT
7459 if test -n "$NMEDIT"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7461 $as_echo "$NMEDIT" >&6; }
7462 else
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464 $as_echo "no" >&6; }
7469 if test -z "$ac_cv_prog_NMEDIT"; then
7470 ac_ct_NMEDIT=$NMEDIT
7471 # Extract the first word of "nmedit", so it can be a program name with args.
7472 set dummy nmedit; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7476 $as_echo_n "(cached) " >&6
7477 else
7478 if test -n "$ac_ct_NMEDIT"; then
7479 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7480 else
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 for as_dir in $PATH
7484 IFS=$as_save_IFS
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7488 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 break 2
7492 done
7493 done
7494 IFS=$as_save_IFS
7498 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7499 if test -n "$ac_ct_NMEDIT"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7501 $as_echo "$ac_ct_NMEDIT" >&6; }
7502 else
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7507 if test "x$ac_ct_NMEDIT" = x; then
7508 NMEDIT=":"
7509 else
7510 case $cross_compiling:$ac_tool_warned in
7511 yes:)
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7514 ac_tool_warned=yes ;;
7515 esac
7516 NMEDIT=$ac_ct_NMEDIT
7518 else
7519 NMEDIT="$ac_cv_prog_NMEDIT"
7522 if test -n "$ac_tool_prefix"; then
7523 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7524 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7526 $as_echo_n "checking for $ac_word... " >&6; }
7527 if test "${ac_cv_prog_LIPO+set}" = set; then :
7528 $as_echo_n "(cached) " >&6
7529 else
7530 if test -n "$LIPO"; then
7531 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7532 else
7533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7534 for as_dir in $PATH
7536 IFS=$as_save_IFS
7537 test -z "$as_dir" && as_dir=.
7538 for ac_exec_ext in '' $ac_executable_extensions; do
7539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7540 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7542 break 2
7544 done
7545 done
7546 IFS=$as_save_IFS
7550 LIPO=$ac_cv_prog_LIPO
7551 if test -n "$LIPO"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7553 $as_echo "$LIPO" >&6; }
7554 else
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7556 $as_echo "no" >&6; }
7561 if test -z "$ac_cv_prog_LIPO"; then
7562 ac_ct_LIPO=$LIPO
7563 # Extract the first word of "lipo", so it can be a program name with args.
7564 set dummy lipo; ac_word=$2
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566 $as_echo_n "checking for $ac_word... " >&6; }
7567 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7568 $as_echo_n "(cached) " >&6
7569 else
7570 if test -n "$ac_ct_LIPO"; then
7571 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7572 else
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7574 for as_dir in $PATH
7576 IFS=$as_save_IFS
7577 test -z "$as_dir" && as_dir=.
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7580 ac_cv_prog_ac_ct_LIPO="lipo"
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 break 2
7584 done
7585 done
7586 IFS=$as_save_IFS
7590 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7591 if test -n "$ac_ct_LIPO"; then
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7593 $as_echo "$ac_ct_LIPO" >&6; }
7594 else
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7599 if test "x$ac_ct_LIPO" = x; then
7600 LIPO=":"
7601 else
7602 case $cross_compiling:$ac_tool_warned in
7603 yes:)
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7606 ac_tool_warned=yes ;;
7607 esac
7608 LIPO=$ac_ct_LIPO
7610 else
7611 LIPO="$ac_cv_prog_LIPO"
7614 if test -n "$ac_tool_prefix"; then
7615 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7616 set dummy ${ac_tool_prefix}otool; ac_word=$2
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7618 $as_echo_n "checking for $ac_word... " >&6; }
7619 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7620 $as_echo_n "(cached) " >&6
7621 else
7622 if test -n "$OTOOL"; then
7623 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7624 else
7625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626 for as_dir in $PATH
7628 IFS=$as_save_IFS
7629 test -z "$as_dir" && as_dir=.
7630 for ac_exec_ext in '' $ac_executable_extensions; do
7631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7632 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7634 break 2
7636 done
7637 done
7638 IFS=$as_save_IFS
7642 OTOOL=$ac_cv_prog_OTOOL
7643 if test -n "$OTOOL"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7645 $as_echo "$OTOOL" >&6; }
7646 else
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7653 if test -z "$ac_cv_prog_OTOOL"; then
7654 ac_ct_OTOOL=$OTOOL
7655 # Extract the first word of "otool", so it can be a program name with args.
7656 set dummy otool; ac_word=$2
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7658 $as_echo_n "checking for $ac_word... " >&6; }
7659 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7660 $as_echo_n "(cached) " >&6
7661 else
7662 if test -n "$ac_ct_OTOOL"; then
7663 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7664 else
7665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7666 for as_dir in $PATH
7668 IFS=$as_save_IFS
7669 test -z "$as_dir" && as_dir=.
7670 for ac_exec_ext in '' $ac_executable_extensions; do
7671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7672 ac_cv_prog_ac_ct_OTOOL="otool"
7673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7674 break 2
7676 done
7677 done
7678 IFS=$as_save_IFS
7682 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7683 if test -n "$ac_ct_OTOOL"; then
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7685 $as_echo "$ac_ct_OTOOL" >&6; }
7686 else
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7688 $as_echo "no" >&6; }
7691 if test "x$ac_ct_OTOOL" = x; then
7692 OTOOL=":"
7693 else
7694 case $cross_compiling:$ac_tool_warned in
7695 yes:)
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7698 ac_tool_warned=yes ;;
7699 esac
7700 OTOOL=$ac_ct_OTOOL
7702 else
7703 OTOOL="$ac_cv_prog_OTOOL"
7706 if test -n "$ac_tool_prefix"; then
7707 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7708 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7710 $as_echo_n "checking for $ac_word... " >&6; }
7711 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7712 $as_echo_n "(cached) " >&6
7713 else
7714 if test -n "$OTOOL64"; then
7715 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7716 else
7717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7718 for as_dir in $PATH
7720 IFS=$as_save_IFS
7721 test -z "$as_dir" && as_dir=.
7722 for ac_exec_ext in '' $ac_executable_extensions; do
7723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7724 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7726 break 2
7728 done
7729 done
7730 IFS=$as_save_IFS
7734 OTOOL64=$ac_cv_prog_OTOOL64
7735 if test -n "$OTOOL64"; then
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7737 $as_echo "$OTOOL64" >&6; }
7738 else
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7740 $as_echo "no" >&6; }
7745 if test -z "$ac_cv_prog_OTOOL64"; then
7746 ac_ct_OTOOL64=$OTOOL64
7747 # Extract the first word of "otool64", so it can be a program name with args.
7748 set dummy otool64; ac_word=$2
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7750 $as_echo_n "checking for $ac_word... " >&6; }
7751 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7752 $as_echo_n "(cached) " >&6
7753 else
7754 if test -n "$ac_ct_OTOOL64"; then
7755 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7756 else
7757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758 for as_dir in $PATH
7760 IFS=$as_save_IFS
7761 test -z "$as_dir" && as_dir=.
7762 for ac_exec_ext in '' $ac_executable_extensions; do
7763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7764 ac_cv_prog_ac_ct_OTOOL64="otool64"
7765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7766 break 2
7768 done
7769 done
7770 IFS=$as_save_IFS
7774 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7775 if test -n "$ac_ct_OTOOL64"; then
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7777 $as_echo "$ac_ct_OTOOL64" >&6; }
7778 else
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7780 $as_echo "no" >&6; }
7783 if test "x$ac_ct_OTOOL64" = x; then
7784 OTOOL64=":"
7785 else
7786 case $cross_compiling:$ac_tool_warned in
7787 yes:)
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7790 ac_tool_warned=yes ;;
7791 esac
7792 OTOOL64=$ac_ct_OTOOL64
7794 else
7795 OTOOL64="$ac_cv_prog_OTOOL64"
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7825 $as_echo_n "checking for -single_module linker flag... " >&6; }
7826 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7827 $as_echo_n "(cached) " >&6
7828 else
7829 lt_cv_apple_cc_single_mod=no
7830 if test -z "${LT_MULTI_MODULE}"; then
7831 # By default we will add the -single_module flag. You can override
7832 # by either setting the environment variable LT_MULTI_MODULE
7833 # non-empty at configure time, or by adding -multi_module to the
7834 # link flags.
7835 rm -rf libconftest.dylib*
7836 echo "int foo(void){return 1;}" > conftest.c
7837 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7838 -dynamiclib -Wl,-single_module conftest.c" >&5
7839 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7840 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7841 _lt_result=$?
7842 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7843 lt_cv_apple_cc_single_mod=yes
7844 else
7845 cat conftest.err >&5
7847 rm -rf libconftest.dylib*
7848 rm -f conftest.*
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7852 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7854 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7855 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7856 $as_echo_n "(cached) " >&6
7857 else
7858 lt_cv_ld_exported_symbols_list=no
7859 save_LDFLAGS=$LDFLAGS
7860 echo "_main" > conftest.sym
7861 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7862 if test x$gcc_no_link = xyes; then
7863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7866 /* end confdefs.h. */
7869 main ()
7873 return 0;
7875 _ACEOF
7876 if ac_fn_c_try_link "$LINENO"; then :
7877 lt_cv_ld_exported_symbols_list=yes
7878 else
7879 lt_cv_ld_exported_symbols_list=no
7881 rm -f core conftest.err conftest.$ac_objext \
7882 conftest$ac_exeext conftest.$ac_ext
7883 LDFLAGS="$save_LDFLAGS"
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7887 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7889 $as_echo_n "checking for -force_load linker flag... " >&6; }
7890 if test "${lt_cv_ld_force_load+set}" = set; then :
7891 $as_echo_n "(cached) " >&6
7892 else
7893 lt_cv_ld_force_load=no
7894 cat > conftest.c << _LT_EOF
7895 int forced_loaded() { return 2;}
7896 _LT_EOF
7897 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7898 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7899 echo "$AR cru libconftest.a conftest.o" >&5
7900 $AR cru libconftest.a conftest.o 2>&5
7901 cat > conftest.c << _LT_EOF
7902 int main() { return 0;}
7903 _LT_EOF
7904 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7905 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7906 _lt_result=$?
7907 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7908 lt_cv_ld_force_load=yes
7909 else
7910 cat conftest.err >&5
7912 rm -f conftest.err libconftest.a conftest conftest.c
7913 rm -rf conftest.dSYM
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7917 $as_echo "$lt_cv_ld_force_load" >&6; }
7918 case $host_os in
7919 rhapsody* | darwin1.[012])
7920 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7921 darwin1.*)
7922 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7923 darwin*) # darwin 5.x on
7924 # if running on 10.5 or later, the deployment target defaults
7925 # to the OS version, if on x86, and 10.4, the deployment
7926 # target defaults to 10.4. Don't you love it?
7927 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7928 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7929 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7930 10.[012][,.]*)
7931 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7932 10.*)
7933 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7934 esac
7936 esac
7937 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7938 _lt_dar_single_mod='$single_module'
7940 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7941 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7942 else
7943 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7945 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7946 _lt_dsymutil='~$DSYMUTIL $lib || :'
7947 else
7948 _lt_dsymutil=
7951 esac
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7954 $as_echo_n "checking for ANSI C header files... " >&6; }
7955 if test "${ac_cv_header_stdc+set}" = set; then :
7956 $as_echo_n "(cached) " >&6
7957 else
7958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959 /* end confdefs.h. */
7960 #include <stdlib.h>
7961 #include <stdarg.h>
7962 #include <string.h>
7963 #include <float.h>
7966 main ()
7970 return 0;
7972 _ACEOF
7973 if ac_fn_c_try_compile "$LINENO"; then :
7974 ac_cv_header_stdc=yes
7975 else
7976 ac_cv_header_stdc=no
7978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7980 if test $ac_cv_header_stdc = yes; then
7981 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7983 /* end confdefs.h. */
7984 #include <string.h>
7986 _ACEOF
7987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7988 $EGREP "memchr" >/dev/null 2>&1; then :
7990 else
7991 ac_cv_header_stdc=no
7993 rm -f conftest*
7997 if test $ac_cv_header_stdc = yes; then
7998 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8000 /* end confdefs.h. */
8001 #include <stdlib.h>
8003 _ACEOF
8004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8005 $EGREP "free" >/dev/null 2>&1; then :
8007 else
8008 ac_cv_header_stdc=no
8010 rm -f conftest*
8014 if test $ac_cv_header_stdc = yes; then
8015 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8016 if test "$cross_compiling" = yes; then :
8018 else
8019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8021 #include <ctype.h>
8022 #include <stdlib.h>
8023 #if ((' ' & 0x0FF) == 0x020)
8024 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8025 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8026 #else
8027 # define ISLOWER(c) \
8028 (('a' <= (c) && (c) <= 'i') \
8029 || ('j' <= (c) && (c) <= 'r') \
8030 || ('s' <= (c) && (c) <= 'z'))
8031 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8032 #endif
8034 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8036 main ()
8038 int i;
8039 for (i = 0; i < 256; i++)
8040 if (XOR (islower (i), ISLOWER (i))
8041 || toupper (i) != TOUPPER (i))
8042 return 2;
8043 return 0;
8045 _ACEOF
8046 if ac_fn_c_try_run "$LINENO"; then :
8048 else
8049 ac_cv_header_stdc=no
8051 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8052 conftest.$ac_objext conftest.beam conftest.$ac_ext
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8058 $as_echo "$ac_cv_header_stdc" >&6; }
8059 if test $ac_cv_header_stdc = yes; then
8061 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8065 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8066 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8067 inttypes.h stdint.h unistd.h
8068 do :
8069 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8070 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8072 eval as_val=\$$as_ac_Header
8073 if test "x$as_val" = x""yes; then :
8074 cat >>confdefs.h <<_ACEOF
8075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8076 _ACEOF
8080 done
8083 for ac_header in dlfcn.h
8084 do :
8085 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8087 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8088 cat >>confdefs.h <<_ACEOF
8089 #define HAVE_DLFCN_H 1
8090 _ACEOF
8094 done
8101 # Set options
8106 enable_win32_dll=no
8109 # Check whether --enable-shared was given.
8110 if test "${enable_shared+set}" = set; then :
8111 enableval=$enable_shared; p=${PACKAGE-default}
8112 case $enableval in
8113 yes) enable_shared=yes ;;
8114 no) enable_shared=no ;;
8116 enable_shared=no
8117 # Look at the argument we got. We use all the common list separators.
8118 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8119 for pkg in $enableval; do
8120 IFS="$lt_save_ifs"
8121 if test "X$pkg" = "X$p"; then
8122 enable_shared=yes
8124 done
8125 IFS="$lt_save_ifs"
8127 esac
8128 else
8129 enable_shared=yes
8140 # Check whether --enable-static was given.
8141 if test "${enable_static+set}" = set; then :
8142 enableval=$enable_static; p=${PACKAGE-default}
8143 case $enableval in
8144 yes) enable_static=yes ;;
8145 no) enable_static=no ;;
8147 enable_static=no
8148 # Look at the argument we got. We use all the common list separators.
8149 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8150 for pkg in $enableval; do
8151 IFS="$lt_save_ifs"
8152 if test "X$pkg" = "X$p"; then
8153 enable_static=yes
8155 done
8156 IFS="$lt_save_ifs"
8158 esac
8159 else
8160 enable_static=yes
8172 # Check whether --with-pic was given.
8173 if test "${with_pic+set}" = set; then :
8174 withval=$with_pic; pic_mode="$withval"
8175 else
8176 pic_mode=default
8180 test -z "$pic_mode" && pic_mode=default
8188 # Check whether --enable-fast-install was given.
8189 if test "${enable_fast_install+set}" = set; then :
8190 enableval=$enable_fast_install; p=${PACKAGE-default}
8191 case $enableval in
8192 yes) enable_fast_install=yes ;;
8193 no) enable_fast_install=no ;;
8195 enable_fast_install=no
8196 # Look at the argument we got. We use all the common list separators.
8197 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8198 for pkg in $enableval; do
8199 IFS="$lt_save_ifs"
8200 if test "X$pkg" = "X$p"; then
8201 enable_fast_install=yes
8203 done
8204 IFS="$lt_save_ifs"
8206 esac
8207 else
8208 enable_fast_install=yes
8221 # This can be used to rebuild libtool when needed
8222 LIBTOOL_DEPS="$ltmain"
8224 # Always use our own libtool.
8225 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8252 test -z "$LN_S" && LN_S="ln -s"
8267 if test -n "${ZSH_VERSION+set}" ; then
8268 setopt NO_GLOB_SUBST
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8272 $as_echo_n "checking for objdir... " >&6; }
8273 if test "${lt_cv_objdir+set}" = set; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 rm -f .libs 2>/dev/null
8277 mkdir .libs 2>/dev/null
8278 if test -d .libs; then
8279 lt_cv_objdir=.libs
8280 else
8281 # MS-DOS does not allow filenames that begin with a dot.
8282 lt_cv_objdir=_libs
8284 rmdir .libs 2>/dev/null
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8287 $as_echo "$lt_cv_objdir" >&6; }
8288 objdir=$lt_cv_objdir
8294 cat >>confdefs.h <<_ACEOF
8295 #define LT_OBJDIR "$lt_cv_objdir/"
8296 _ACEOF
8301 case $host_os in
8302 aix3*)
8303 # AIX sometimes has problems with the GCC collect2 program. For some
8304 # reason, if we set the COLLECT_NAMES environment variable, the problems
8305 # vanish in a puff of smoke.
8306 if test "X${COLLECT_NAMES+set}" != Xset; then
8307 COLLECT_NAMES=
8308 export COLLECT_NAMES
8311 esac
8313 # Global variables:
8314 ofile=libtool
8315 can_build_shared=yes
8317 # All known linkers require a `.a' archive for static linking (except MSVC,
8318 # which needs '.lib').
8319 libext=a
8321 with_gnu_ld="$lt_cv_prog_gnu_ld"
8323 old_CC="$CC"
8324 old_CFLAGS="$CFLAGS"
8326 # Set sane defaults for various variables
8327 test -z "$CC" && CC=cc
8328 test -z "$LTCC" && LTCC=$CC
8329 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8330 test -z "$LD" && LD=ld
8331 test -z "$ac_objext" && ac_objext=o
8333 for cc_temp in $compiler""; do
8334 case $cc_temp in
8335 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8336 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8337 \-*) ;;
8338 *) break;;
8339 esac
8340 done
8341 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8344 # Only perform the check for file, if the check method requires it
8345 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8346 case $deplibs_check_method in
8347 file_magic*)
8348 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8350 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8351 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 case $MAGIC_CMD in
8355 [\\/*] | ?:[\\/]*)
8356 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8359 lt_save_MAGIC_CMD="$MAGIC_CMD"
8360 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8361 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8362 for ac_dir in $ac_dummy; do
8363 IFS="$lt_save_ifs"
8364 test -z "$ac_dir" && ac_dir=.
8365 if test -f $ac_dir/${ac_tool_prefix}file; then
8366 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8367 if test -n "$file_magic_test_file"; then
8368 case $deplibs_check_method in
8369 "file_magic "*)
8370 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8371 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8372 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8373 $EGREP "$file_magic_regex" > /dev/null; then
8375 else
8376 cat <<_LT_EOF 1>&2
8378 *** Warning: the command libtool uses to detect shared libraries,
8379 *** $file_magic_cmd, produces output that libtool cannot recognize.
8380 *** The result is that libtool may fail to recognize shared libraries
8381 *** as such. This will affect the creation of libtool libraries that
8382 *** depend on shared libraries, but programs linked with such libtool
8383 *** libraries will work regardless of this problem. Nevertheless, you
8384 *** may want to report the problem to your system manager and/or to
8385 *** bug-libtool@gnu.org
8387 _LT_EOF
8388 fi ;;
8389 esac
8391 break
8393 done
8394 IFS="$lt_save_ifs"
8395 MAGIC_CMD="$lt_save_MAGIC_CMD"
8397 esac
8400 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8401 if test -n "$MAGIC_CMD"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8403 $as_echo "$MAGIC_CMD" >&6; }
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8406 $as_echo "no" >&6; }
8413 if test -z "$lt_cv_path_MAGIC_CMD"; then
8414 if test -n "$ac_tool_prefix"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8416 $as_echo_n "checking for file... " >&6; }
8417 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 case $MAGIC_CMD in
8421 [\\/*] | ?:[\\/]*)
8422 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8425 lt_save_MAGIC_CMD="$MAGIC_CMD"
8426 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8427 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8428 for ac_dir in $ac_dummy; do
8429 IFS="$lt_save_ifs"
8430 test -z "$ac_dir" && ac_dir=.
8431 if test -f $ac_dir/file; then
8432 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8433 if test -n "$file_magic_test_file"; then
8434 case $deplibs_check_method in
8435 "file_magic "*)
8436 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8437 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8438 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8439 $EGREP "$file_magic_regex" > /dev/null; then
8441 else
8442 cat <<_LT_EOF 1>&2
8444 *** Warning: the command libtool uses to detect shared libraries,
8445 *** $file_magic_cmd, produces output that libtool cannot recognize.
8446 *** The result is that libtool may fail to recognize shared libraries
8447 *** as such. This will affect the creation of libtool libraries that
8448 *** depend on shared libraries, but programs linked with such libtool
8449 *** libraries will work regardless of this problem. Nevertheless, you
8450 *** may want to report the problem to your system manager and/or to
8451 *** bug-libtool@gnu.org
8453 _LT_EOF
8454 fi ;;
8455 esac
8457 break
8459 done
8460 IFS="$lt_save_ifs"
8461 MAGIC_CMD="$lt_save_MAGIC_CMD"
8463 esac
8466 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8467 if test -n "$MAGIC_CMD"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8469 $as_echo "$MAGIC_CMD" >&6; }
8470 else
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8472 $as_echo "no" >&6; }
8476 else
8477 MAGIC_CMD=:
8483 esac
8485 # Use C for the default configuration in the libtool script
8487 lt_save_CC="$CC"
8488 ac_ext=c
8489 ac_cpp='$CPP $CPPFLAGS'
8490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8495 # Source file extension for C test sources.
8496 ac_ext=c
8498 # Object file extension for compiled C test sources.
8499 objext=o
8500 objext=$objext
8502 # Code to be used in simple compile tests
8503 lt_simple_compile_test_code="int some_variable = 0;"
8505 # Code to be used in simple link tests
8506 lt_simple_link_test_code='int main(){return(0);}'
8514 # If no C compiler was specified, use CC.
8515 LTCC=${LTCC-"$CC"}
8517 # If no C compiler flags were specified, use CFLAGS.
8518 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8520 # Allow CC to be a program name with arguments.
8521 compiler=$CC
8523 # Save the default compiler, since it gets overwritten when the other
8524 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8525 compiler_DEFAULT=$CC
8527 # save warnings/boilerplate of simple test code
8528 ac_outfile=conftest.$ac_objext
8529 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8530 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8531 _lt_compiler_boilerplate=`cat conftest.err`
8532 $RM conftest*
8534 ac_outfile=conftest.$ac_objext
8535 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8536 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8537 _lt_linker_boilerplate=`cat conftest.err`
8538 $RM -r conftest*
8541 ## CAVEAT EMPTOR:
8542 ## There is no encapsulation within the following macros, do not change
8543 ## the running order or otherwise move them around unless you know exactly
8544 ## what you are doing...
8545 if test -n "$compiler"; then
8547 lt_prog_compiler_no_builtin_flag=
8549 if test "$GCC" = yes; then
8550 case $cc_basename in
8551 nvcc*)
8552 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8554 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8555 esac
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8558 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8559 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 lt_cv_prog_compiler_rtti_exceptions=no
8563 ac_outfile=conftest.$ac_objext
8564 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8565 lt_compiler_flag="-fno-rtti -fno-exceptions"
8566 # Insert the option either (1) after the last *FLAGS variable, or
8567 # (2) before a word containing "conftest.", or (3) at the end.
8568 # Note that $ac_compile itself does not contain backslashes and begins
8569 # with a dollar sign (not a hyphen), so the echo should work correctly.
8570 # The option is referenced via a variable to avoid confusing sed.
8571 lt_compile=`echo "$ac_compile" | $SED \
8572 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8574 -e 's:$: $lt_compiler_flag:'`
8575 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8576 (eval "$lt_compile" 2>conftest.err)
8577 ac_status=$?
8578 cat conftest.err >&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 if (exit $ac_status) && test -s "$ac_outfile"; then
8581 # The compiler can only warn and ignore the option if not recognized
8582 # So say no if there are warnings other than the usual output.
8583 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8584 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8585 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8586 lt_cv_prog_compiler_rtti_exceptions=yes
8589 $RM conftest*
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8593 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8595 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8596 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8597 else
8608 lt_prog_compiler_wl=
8609 lt_prog_compiler_pic=
8610 lt_prog_compiler_static=
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8613 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8615 if test "$GCC" = yes; then
8616 lt_prog_compiler_wl='-Wl,'
8617 lt_prog_compiler_static='-static'
8619 case $host_os in
8620 aix*)
8621 # All AIX code is PIC.
8622 if test "$host_cpu" = ia64; then
8623 # AIX 5 now supports IA64 processor
8624 lt_prog_compiler_static='-Bstatic'
8626 lt_prog_compiler_pic='-fPIC'
8629 amigaos*)
8630 case $host_cpu in
8631 powerpc)
8632 # see comment about AmigaOS4 .so support
8633 lt_prog_compiler_pic='-fPIC'
8635 m68k)
8636 # FIXME: we need at least 68020 code to build shared libraries, but
8637 # adding the `-m68020' flag to GCC prevents building anything better,
8638 # like `-m68040'.
8639 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8641 esac
8644 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8645 # PIC is the default for these OSes.
8648 mingw* | cygwin* | pw32* | os2* | cegcc*)
8649 # This hack is so that the source file can tell whether it is being
8650 # built for inclusion in a dll (and should export symbols for example).
8651 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8652 # (--disable-auto-import) libraries
8653 lt_prog_compiler_pic='-DDLL_EXPORT'
8656 darwin* | rhapsody*)
8657 # PIC is the default on this platform
8658 # Common symbols not allowed in MH_DYLIB files
8659 lt_prog_compiler_pic='-fno-common'
8662 haiku*)
8663 # PIC is the default for Haiku.
8664 # The "-static" flag exists, but is broken.
8665 lt_prog_compiler_static=
8668 hpux*)
8669 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8670 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8671 # sets the default TLS model and affects inlining.
8672 case $host_cpu in
8673 hppa*64*)
8674 # +Z the default
8677 lt_prog_compiler_pic='-fPIC'
8679 esac
8682 interix[3-9]*)
8683 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8684 # Instead, we relocate shared libraries at runtime.
8687 msdosdjgpp*)
8688 # Just because we use GCC doesn't mean we suddenly get shared libraries
8689 # on systems that don't support them.
8690 lt_prog_compiler_can_build_shared=no
8691 enable_shared=no
8694 *nto* | *qnx*)
8695 # QNX uses GNU C++, but need to define -shared option too, otherwise
8696 # it will coredump.
8697 lt_prog_compiler_pic='-fPIC -shared'
8700 sysv4*MP*)
8701 if test -d /usr/nec; then
8702 lt_prog_compiler_pic=-Kconform_pic
8707 lt_prog_compiler_pic='-fPIC'
8709 esac
8711 case $cc_basename in
8712 nvcc*) # Cuda Compiler Driver 2.2
8713 lt_prog_compiler_wl='-Xlinker '
8714 lt_prog_compiler_pic='-Xcompiler -fPIC'
8716 esac
8717 else
8718 # PORTME Check for flag to pass linker flags through the system compiler.
8719 case $host_os in
8720 aix*)
8721 lt_prog_compiler_wl='-Wl,'
8722 if test "$host_cpu" = ia64; then
8723 # AIX 5 now supports IA64 processor
8724 lt_prog_compiler_static='-Bstatic'
8725 else
8726 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8730 mingw* | cygwin* | pw32* | os2* | cegcc*)
8731 # This hack is so that the source file can tell whether it is being
8732 # built for inclusion in a dll (and should export symbols for example).
8733 lt_prog_compiler_pic='-DDLL_EXPORT'
8736 hpux9* | hpux10* | hpux11*)
8737 lt_prog_compiler_wl='-Wl,'
8738 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8739 # not for PA HP-UX.
8740 case $host_cpu in
8741 hppa*64*|ia64*)
8742 # +Z the default
8745 lt_prog_compiler_pic='+Z'
8747 esac
8748 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8749 lt_prog_compiler_static='${wl}-a ${wl}archive'
8752 irix5* | irix6* | nonstopux*)
8753 lt_prog_compiler_wl='-Wl,'
8754 # PIC (with -KPIC) is the default.
8755 lt_prog_compiler_static='-non_shared'
8758 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8759 case $cc_basename in
8760 # old Intel for x86_64 which still supported -KPIC.
8761 ecc*)
8762 lt_prog_compiler_wl='-Wl,'
8763 lt_prog_compiler_pic='-KPIC'
8764 lt_prog_compiler_static='-static'
8766 # icc used to be incompatible with GCC.
8767 # ICC 10 doesn't accept -KPIC any more.
8768 icc* | ifort*)
8769 lt_prog_compiler_wl='-Wl,'
8770 lt_prog_compiler_pic='-fPIC'
8771 lt_prog_compiler_static='-static'
8773 # Lahey Fortran 8.1.
8774 lf95*)
8775 lt_prog_compiler_wl='-Wl,'
8776 lt_prog_compiler_pic='--shared'
8777 lt_prog_compiler_static='--static'
8779 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8780 # Portland Group compilers (*not* the Pentium gcc compiler,
8781 # which looks to be a dead project)
8782 lt_prog_compiler_wl='-Wl,'
8783 lt_prog_compiler_pic='-fpic'
8784 lt_prog_compiler_static='-Bstatic'
8786 ccc*)
8787 lt_prog_compiler_wl='-Wl,'
8788 # All Alpha code is PIC.
8789 lt_prog_compiler_static='-non_shared'
8791 xl* | bgxl* | bgf* | mpixl*)
8792 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8793 lt_prog_compiler_wl='-Wl,'
8794 lt_prog_compiler_pic='-qpic'
8795 lt_prog_compiler_static='-qstaticlink'
8798 case `$CC -V 2>&1 | sed 5q` in
8799 *Sun\ F* | *Sun*Fortran*)
8800 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8801 lt_prog_compiler_pic='-KPIC'
8802 lt_prog_compiler_static='-Bstatic'
8803 lt_prog_compiler_wl=''
8805 *Sun\ C*)
8806 # Sun C 5.9
8807 lt_prog_compiler_pic='-KPIC'
8808 lt_prog_compiler_static='-Bstatic'
8809 lt_prog_compiler_wl='-Wl,'
8811 esac
8813 esac
8816 newsos6)
8817 lt_prog_compiler_pic='-KPIC'
8818 lt_prog_compiler_static='-Bstatic'
8821 *nto* | *qnx*)
8822 # QNX uses GNU C++, but need to define -shared option too, otherwise
8823 # it will coredump.
8824 lt_prog_compiler_pic='-fPIC -shared'
8827 osf3* | osf4* | osf5*)
8828 lt_prog_compiler_wl='-Wl,'
8829 # All OSF/1 code is PIC.
8830 lt_prog_compiler_static='-non_shared'
8833 rdos*)
8834 lt_prog_compiler_static='-non_shared'
8837 solaris*)
8838 lt_prog_compiler_pic='-KPIC'
8839 lt_prog_compiler_static='-Bstatic'
8840 case $cc_basename in
8841 f77* | f90* | f95*)
8842 lt_prog_compiler_wl='-Qoption ld ';;
8844 lt_prog_compiler_wl='-Wl,';;
8845 esac
8848 sunos4*)
8849 lt_prog_compiler_wl='-Qoption ld '
8850 lt_prog_compiler_pic='-PIC'
8851 lt_prog_compiler_static='-Bstatic'
8854 sysv4 | sysv4.2uw2* | sysv4.3*)
8855 lt_prog_compiler_wl='-Wl,'
8856 lt_prog_compiler_pic='-KPIC'
8857 lt_prog_compiler_static='-Bstatic'
8860 sysv4*MP*)
8861 if test -d /usr/nec ;then
8862 lt_prog_compiler_pic='-Kconform_pic'
8863 lt_prog_compiler_static='-Bstatic'
8867 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8868 lt_prog_compiler_wl='-Wl,'
8869 lt_prog_compiler_pic='-KPIC'
8870 lt_prog_compiler_static='-Bstatic'
8873 unicos*)
8874 lt_prog_compiler_wl='-Wl,'
8875 lt_prog_compiler_can_build_shared=no
8878 uts4*)
8879 lt_prog_compiler_pic='-pic'
8880 lt_prog_compiler_static='-Bstatic'
8884 lt_prog_compiler_can_build_shared=no
8886 esac
8889 case $host_os in
8890 # For platforms which do not support PIC, -DPIC is meaningless:
8891 *djgpp*)
8892 lt_prog_compiler_pic=
8895 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8897 esac
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8899 $as_echo "$lt_prog_compiler_pic" >&6; }
8907 # Check to make sure the PIC flag actually works.
8909 if test -n "$lt_prog_compiler_pic"; then
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8911 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8912 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8913 $as_echo_n "(cached) " >&6
8914 else
8915 lt_cv_prog_compiler_pic_works=no
8916 ac_outfile=conftest.$ac_objext
8917 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8918 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8919 # Insert the option either (1) after the last *FLAGS variable, or
8920 # (2) before a word containing "conftest.", or (3) at the end.
8921 # Note that $ac_compile itself does not contain backslashes and begins
8922 # with a dollar sign (not a hyphen), so the echo should work correctly.
8923 # The option is referenced via a variable to avoid confusing sed.
8924 lt_compile=`echo "$ac_compile" | $SED \
8925 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8926 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8927 -e 's:$: $lt_compiler_flag:'`
8928 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8929 (eval "$lt_compile" 2>conftest.err)
8930 ac_status=$?
8931 cat conftest.err >&5
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 if (exit $ac_status) && test -s "$ac_outfile"; then
8934 # The compiler can only warn and ignore the option if not recognized
8935 # So say no if there are warnings other than the usual output.
8936 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8937 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8938 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8939 lt_cv_prog_compiler_pic_works=yes
8942 $RM conftest*
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8946 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8948 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8949 case $lt_prog_compiler_pic in
8950 "" | " "*) ;;
8951 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8952 esac
8953 else
8954 lt_prog_compiler_pic=
8955 lt_prog_compiler_can_build_shared=no
8966 # Check to make sure the static flag actually works.
8968 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8970 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8971 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8972 $as_echo_n "(cached) " >&6
8973 else
8974 lt_cv_prog_compiler_static_works=no
8975 save_LDFLAGS="$LDFLAGS"
8976 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8977 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8978 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8979 # The linker can only warn and ignore the option if not recognized
8980 # So say no if there are warnings
8981 if test -s conftest.err; then
8982 # Append any errors to the config.log.
8983 cat conftest.err 1>&5
8984 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8985 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8986 if diff conftest.exp conftest.er2 >/dev/null; then
8987 lt_cv_prog_compiler_static_works=yes
8989 else
8990 lt_cv_prog_compiler_static_works=yes
8993 $RM -r conftest*
8994 LDFLAGS="$save_LDFLAGS"
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8998 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9000 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9002 else
9003 lt_prog_compiler_static=
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9013 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9014 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9015 $as_echo_n "(cached) " >&6
9016 else
9017 lt_cv_prog_compiler_c_o=no
9018 $RM -r conftest 2>/dev/null
9019 mkdir conftest
9020 cd conftest
9021 mkdir out
9022 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9024 lt_compiler_flag="-o out/conftest2.$ac_objext"
9025 # Insert the option either (1) after the last *FLAGS variable, or
9026 # (2) before a word containing "conftest.", or (3) at the end.
9027 # Note that $ac_compile itself does not contain backslashes and begins
9028 # with a dollar sign (not a hyphen), so the echo should work correctly.
9029 lt_compile=`echo "$ac_compile" | $SED \
9030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9032 -e 's:$: $lt_compiler_flag:'`
9033 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9034 (eval "$lt_compile" 2>out/conftest.err)
9035 ac_status=$?
9036 cat out/conftest.err >&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9039 then
9040 # The compiler can only warn and ignore the option if not recognized
9041 # So say no if there are warnings
9042 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9043 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9044 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9045 lt_cv_prog_compiler_c_o=yes
9048 chmod u+w . 2>&5
9049 $RM conftest*
9050 # SGI C++ compiler will create directory out/ii_files/ for
9051 # template instantiation
9052 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9053 $RM out/* && rmdir out
9054 cd ..
9055 $RM -r conftest
9056 $RM conftest*
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9060 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9068 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9069 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9070 $as_echo_n "(cached) " >&6
9071 else
9072 lt_cv_prog_compiler_c_o=no
9073 $RM -r conftest 2>/dev/null
9074 mkdir conftest
9075 cd conftest
9076 mkdir out
9077 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9079 lt_compiler_flag="-o out/conftest2.$ac_objext"
9080 # Insert the option either (1) after the last *FLAGS variable, or
9081 # (2) before a word containing "conftest.", or (3) at the end.
9082 # Note that $ac_compile itself does not contain backslashes and begins
9083 # with a dollar sign (not a hyphen), so the echo should work correctly.
9084 lt_compile=`echo "$ac_compile" | $SED \
9085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9087 -e 's:$: $lt_compiler_flag:'`
9088 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9089 (eval "$lt_compile" 2>out/conftest.err)
9090 ac_status=$?
9091 cat out/conftest.err >&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9094 then
9095 # The compiler can only warn and ignore the option if not recognized
9096 # So say no if there are warnings
9097 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9098 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9099 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9100 lt_cv_prog_compiler_c_o=yes
9103 chmod u+w . 2>&5
9104 $RM conftest*
9105 # SGI C++ compiler will create directory out/ii_files/ for
9106 # template instantiation
9107 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9108 $RM out/* && rmdir out
9109 cd ..
9110 $RM -r conftest
9111 $RM conftest*
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9115 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9120 hard_links="nottested"
9121 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9122 # do not overwrite the value of need_locks provided by the user
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9124 $as_echo_n "checking if we can lock with hard links... " >&6; }
9125 hard_links=yes
9126 $RM conftest*
9127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9128 touch conftest.a
9129 ln conftest.a conftest.b 2>&5 || hard_links=no
9130 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9132 $as_echo "$hard_links" >&6; }
9133 if test "$hard_links" = no; then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9135 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9136 need_locks=warn
9138 else
9139 need_locks=no
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9148 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9150 runpath_var=
9151 allow_undefined_flag=
9152 always_export_symbols=no
9153 archive_cmds=
9154 archive_expsym_cmds=
9155 compiler_needs_object=no
9156 enable_shared_with_static_runtimes=no
9157 export_dynamic_flag_spec=
9158 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9159 hardcode_automatic=no
9160 hardcode_direct=no
9161 hardcode_direct_absolute=no
9162 hardcode_libdir_flag_spec=
9163 hardcode_libdir_flag_spec_ld=
9164 hardcode_libdir_separator=
9165 hardcode_minus_L=no
9166 hardcode_shlibpath_var=unsupported
9167 inherit_rpath=no
9168 link_all_deplibs=unknown
9169 module_cmds=
9170 module_expsym_cmds=
9171 old_archive_from_new_cmds=
9172 old_archive_from_expsyms_cmds=
9173 thread_safe_flag_spec=
9174 whole_archive_flag_spec=
9175 # include_expsyms should be a list of space-separated symbols to be *always*
9176 # included in the symbol list
9177 include_expsyms=
9178 # exclude_expsyms can be an extended regexp of symbols to exclude
9179 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9180 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9181 # as well as any symbol that contains `d'.
9182 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9183 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9184 # platforms (ab)use it in PIC code, but their linkers get confused if
9185 # the symbol is explicitly referenced. Since portable code cannot
9186 # rely on this symbol name, it's probably fine to never include it in
9187 # preloaded symbol tables.
9188 # Exclude shared library initialization/finalization symbols.
9189 extract_expsyms_cmds=
9191 case $host_os in
9192 cygwin* | mingw* | pw32* | cegcc*)
9193 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9194 # When not using gcc, we currently assume that we are using
9195 # Microsoft Visual C++.
9196 if test "$GCC" != yes; then
9197 with_gnu_ld=no
9200 interix*)
9201 # we just hope/assume this is gcc and not c89 (= MSVC++)
9202 with_gnu_ld=yes
9204 openbsd*)
9205 with_gnu_ld=no
9207 esac
9209 ld_shlibs=yes
9211 # On some targets, GNU ld is compatible enough with the native linker
9212 # that we're better off using the native interface for both.
9213 lt_use_gnu_ld_interface=no
9214 if test "$with_gnu_ld" = yes; then
9215 case $host_os in
9216 aix*)
9217 # The AIX port of GNU ld has always aspired to compatibility
9218 # with the native linker. However, as the warning in the GNU ld
9219 # block says, versions before 2.19.5* couldn't really create working
9220 # shared libraries, regardless of the interface used.
9221 case `$LD -v 2>&1` in
9222 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9223 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9224 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9226 lt_use_gnu_ld_interface=yes
9228 esac
9231 lt_use_gnu_ld_interface=yes
9233 esac
9236 if test "$lt_use_gnu_ld_interface" = yes; then
9237 # If archive_cmds runs LD, not CC, wlarc should be empty
9238 wlarc='${wl}'
9240 # Set some defaults for GNU ld with shared library support. These
9241 # are reset later if shared libraries are not supported. Putting them
9242 # here allows them to be overridden if necessary.
9243 runpath_var=LD_RUN_PATH
9244 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9245 export_dynamic_flag_spec='${wl}--export-dynamic'
9246 # ancient GNU ld didn't support --whole-archive et. al.
9247 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9248 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9249 else
9250 whole_archive_flag_spec=
9252 supports_anon_versioning=no
9253 case `$LD -v 2>&1` in
9254 *GNU\ gold*) supports_anon_versioning=yes ;;
9255 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9256 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9257 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9258 *\ 2.11.*) ;; # other 2.11 versions
9259 *) supports_anon_versioning=yes ;;
9260 esac
9262 # See if GNU ld supports shared libraries.
9263 case $host_os in
9264 aix[3-9]*)
9265 # On AIX/PPC, the GNU linker is very broken
9266 if test "$host_cpu" != ia64; then
9267 ld_shlibs=no
9268 cat <<_LT_EOF 1>&2
9270 *** Warning: the GNU linker, at least up to release 2.19, is reported
9271 *** to be unable to reliably create shared libraries on AIX.
9272 *** Therefore, libtool is disabling shared libraries support. If you
9273 *** really care for shared libraries, you may want to install binutils
9274 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9275 *** You will then need to restart the configuration process.
9277 _LT_EOF
9281 amigaos*)
9282 case $host_cpu in
9283 powerpc)
9284 # see comment about AmigaOS4 .so support
9285 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9286 archive_expsym_cmds=''
9288 m68k)
9289 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9290 hardcode_libdir_flag_spec='-L$libdir'
9291 hardcode_minus_L=yes
9293 esac
9296 beos*)
9297 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9298 allow_undefined_flag=unsupported
9299 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9300 # support --undefined. This deserves some investigation. FIXME
9301 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302 else
9303 ld_shlibs=no
9307 cygwin* | mingw* | pw32* | cegcc*)
9308 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9309 # as there is no search path for DLLs.
9310 hardcode_libdir_flag_spec='-L$libdir'
9311 export_dynamic_flag_spec='${wl}--export-all-symbols'
9312 allow_undefined_flag=unsupported
9313 always_export_symbols=no
9314 enable_shared_with_static_runtimes=yes
9315 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9317 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9318 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9319 # If the export-symbols file already is a .def file (1st line
9320 # is EXPORTS), use it as is; otherwise, prepend...
9321 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9322 cp $export_symbols $output_objdir/$soname.def;
9323 else
9324 echo EXPORTS > $output_objdir/$soname.def;
9325 cat $export_symbols >> $output_objdir/$soname.def;
9327 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9328 else
9329 ld_shlibs=no
9333 haiku*)
9334 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9335 link_all_deplibs=yes
9338 interix[3-9]*)
9339 hardcode_direct=no
9340 hardcode_shlibpath_var=no
9341 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9342 export_dynamic_flag_spec='${wl}-E'
9343 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9344 # Instead, shared libraries are loaded at an image base (0x10000000 by
9345 # default) and relocated if they conflict, which is a slow very memory
9346 # consuming and fragmenting process. To avoid this, we pick a random,
9347 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9348 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9349 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9350 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9353 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9354 tmp_diet=no
9355 if test "$host_os" = linux-dietlibc; then
9356 case $cc_basename in
9357 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9358 esac
9360 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9361 && test "$tmp_diet" = no
9362 then
9363 tmp_addflag=' $pic_flag'
9364 tmp_sharedflag='-shared'
9365 case $cc_basename,$host_cpu in
9366 pgcc*) # Portland Group C compiler
9367 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9368 tmp_addflag=' $pic_flag'
9370 pgf77* | pgf90* | pgf95* | pgfortran*)
9371 # Portland Group f77 and f90 compilers
9372 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9373 tmp_addflag=' $pic_flag -Mnomain' ;;
9374 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9375 tmp_addflag=' -i_dynamic' ;;
9376 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9377 tmp_addflag=' -i_dynamic -nofor_main' ;;
9378 ifc* | ifort*) # Intel Fortran compiler
9379 tmp_addflag=' -nofor_main' ;;
9380 lf95*) # Lahey Fortran 8.1
9381 whole_archive_flag_spec=
9382 tmp_sharedflag='--shared' ;;
9383 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9384 tmp_sharedflag='-qmkshrobj'
9385 tmp_addflag= ;;
9386 nvcc*) # Cuda Compiler Driver 2.2
9387 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9388 compiler_needs_object=yes
9390 esac
9391 case `$CC -V 2>&1 | sed 5q` in
9392 *Sun\ C*) # Sun C 5.9
9393 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9394 compiler_needs_object=yes
9395 tmp_sharedflag='-G' ;;
9396 *Sun\ F*) # Sun Fortran 8.3
9397 tmp_sharedflag='-G' ;;
9398 esac
9399 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401 if test "x$supports_anon_versioning" = xyes; then
9402 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9403 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9404 echo "local: *; };" >> $output_objdir/$libname.ver~
9405 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9408 case $cc_basename in
9409 xlf* | bgf* | bgxlf* | mpixlf*)
9410 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9411 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9412 hardcode_libdir_flag_spec=
9413 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9414 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9415 if test "x$supports_anon_versioning" = xyes; then
9416 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9417 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9418 echo "local: *; };" >> $output_objdir/$libname.ver~
9419 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9422 esac
9423 else
9424 ld_shlibs=no
9428 netbsd*)
9429 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9430 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9431 wlarc=
9432 else
9433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9438 solaris*)
9439 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9440 ld_shlibs=no
9441 cat <<_LT_EOF 1>&2
9443 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9444 *** create shared libraries on Solaris systems. Therefore, libtool
9445 *** is disabling shared libraries support. We urge you to upgrade GNU
9446 *** binutils to release 2.9.1 or newer. Another option is to modify
9447 *** your PATH or compiler configuration so that the native linker is
9448 *** used, and then restart.
9450 _LT_EOF
9451 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9452 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9453 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9454 else
9455 ld_shlibs=no
9459 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9460 case `$LD -v 2>&1` in
9461 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9462 ld_shlibs=no
9463 cat <<_LT_EOF 1>&2
9465 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9466 *** reliably create shared libraries on SCO systems. Therefore, libtool
9467 *** is disabling shared libraries support. We urge you to upgrade GNU
9468 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9469 *** your PATH or compiler configuration so that the native linker is
9470 *** used, and then restart.
9472 _LT_EOF
9475 # For security reasons, it is highly recommended that you always
9476 # use absolute paths for naming shared libraries, and exclude the
9477 # DT_RUNPATH tag from executables and libraries. But doing so
9478 # requires that you compile everything twice, which is a pain.
9479 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9480 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9481 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9482 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9483 else
9484 ld_shlibs=no
9487 esac
9490 sunos4*)
9491 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9492 wlarc=
9493 hardcode_direct=yes
9494 hardcode_shlibpath_var=no
9498 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9499 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9501 else
9502 ld_shlibs=no
9505 esac
9507 if test "$ld_shlibs" = no; then
9508 runpath_var=
9509 hardcode_libdir_flag_spec=
9510 export_dynamic_flag_spec=
9511 whole_archive_flag_spec=
9513 else
9514 # PORTME fill in a description of your system's linker (not GNU ld)
9515 case $host_os in
9516 aix3*)
9517 allow_undefined_flag=unsupported
9518 always_export_symbols=yes
9519 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9520 # Note: this linker hardcodes the directories in LIBPATH if there
9521 # are no directories specified by -L.
9522 hardcode_minus_L=yes
9523 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9524 # Neither direct hardcoding nor static linking is supported with a
9525 # broken collect2.
9526 hardcode_direct=unsupported
9530 aix[4-9]*)
9531 if test "$host_cpu" = ia64; then
9532 # On IA64, the linker does run time linking by default, so we don't
9533 # have to do anything special.
9534 aix_use_runtimelinking=no
9535 exp_sym_flag='-Bexport'
9536 no_entry_flag=""
9537 else
9538 # If we're using GNU nm, then we don't want the "-C" option.
9539 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9540 # Also, AIX nm treats weak defined symbols like other global
9541 # defined symbols, whereas GNU nm marks them as "W".
9542 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9543 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9544 else
9545 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9547 aix_use_runtimelinking=no
9549 # Test if we are trying to use run time linking or normal
9550 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9551 # need to do runtime linking.
9552 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9553 for ld_flag in $LDFLAGS; do
9554 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9555 aix_use_runtimelinking=yes
9556 break
9558 done
9560 esac
9562 exp_sym_flag='-bexport'
9563 no_entry_flag='-bnoentry'
9566 # When large executables or shared objects are built, AIX ld can
9567 # have problems creating the table of contents. If linking a library
9568 # or program results in "error TOC overflow" add -mminimal-toc to
9569 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9570 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9572 archive_cmds=''
9573 hardcode_direct=yes
9574 hardcode_direct_absolute=yes
9575 hardcode_libdir_separator=':'
9576 link_all_deplibs=yes
9577 file_list_spec='${wl}-f,'
9579 if test "$GCC" = yes; then
9580 case $host_os in aix4.[012]|aix4.[012].*)
9581 # We only want to do this on AIX 4.2 and lower, the check
9582 # below for broken collect2 doesn't work under 4.3+
9583 collect2name=`${CC} -print-prog-name=collect2`
9584 if test -f "$collect2name" &&
9585 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9586 then
9587 # We have reworked collect2
9589 else
9590 # We have old collect2
9591 hardcode_direct=unsupported
9592 # It fails to find uninstalled libraries when the uninstalled
9593 # path is not listed in the libpath. Setting hardcode_minus_L
9594 # to unsupported forces relinking
9595 hardcode_minus_L=yes
9596 hardcode_libdir_flag_spec='-L$libdir'
9597 hardcode_libdir_separator=
9600 esac
9601 shared_flag='-shared'
9602 if test "$aix_use_runtimelinking" = yes; then
9603 shared_flag="$shared_flag "'${wl}-G'
9605 else
9606 # not using gcc
9607 if test "$host_cpu" = ia64; then
9608 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9609 # chokes on -Wl,-G. The following line is correct:
9610 shared_flag='-G'
9611 else
9612 if test "$aix_use_runtimelinking" = yes; then
9613 shared_flag='${wl}-G'
9614 else
9615 shared_flag='${wl}-bM:SRE'
9620 export_dynamic_flag_spec='${wl}-bexpall'
9621 # It seems that -bexpall does not export symbols beginning with
9622 # underscore (_), so it is better to generate a list of symbols to export.
9623 always_export_symbols=yes
9624 if test "$aix_use_runtimelinking" = yes; then
9625 # Warning - without using the other runtime loading flags (-brtl),
9626 # -berok will link without error, but may produce a broken library.
9627 allow_undefined_flag='-berok'
9628 # Determine the default libpath from the value encoded in an
9629 # empty executable.
9630 if test x$gcc_no_link = xyes; then
9631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9634 /* end confdefs.h. */
9637 main ()
9641 return 0;
9643 _ACEOF
9644 if ac_fn_c_try_link "$LINENO"; then :
9646 lt_aix_libpath_sed='
9647 /Import File Strings/,/^$/ {
9648 /^0/ {
9649 s/^0 *\(.*\)$/\1/
9653 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654 # Check for a 64-bit object if we didn't find anything.
9655 if test -z "$aix_libpath"; then
9656 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9659 rm -f core conftest.err conftest.$ac_objext \
9660 conftest$ac_exeext conftest.$ac_ext
9661 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9663 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9664 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9665 else
9666 if test "$host_cpu" = ia64; then
9667 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9668 allow_undefined_flag="-z nodefs"
9669 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9670 else
9671 # Determine the default libpath from the value encoded in an
9672 # empty executable.
9673 if test x$gcc_no_link = xyes; then
9674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h. */
9680 main ()
9684 return 0;
9686 _ACEOF
9687 if ac_fn_c_try_link "$LINENO"; then :
9689 lt_aix_libpath_sed='
9690 /Import File Strings/,/^$/ {
9691 /^0/ {
9692 s/^0 *\(.*\)$/\1/
9696 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9697 # Check for a 64-bit object if we didn't find anything.
9698 if test -z "$aix_libpath"; then
9699 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9702 rm -f core conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9704 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9706 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9707 # Warning - without using the other run time loading flags,
9708 # -berok will link without error, but may produce a broken library.
9709 no_undefined_flag=' ${wl}-bernotok'
9710 allow_undefined_flag=' ${wl}-berok'
9711 if test "$with_gnu_ld" = yes; then
9712 # We only use this code for GNU lds that support --whole-archive.
9713 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9714 else
9715 # Exported symbols can be pulled into shared objects from archives
9716 whole_archive_flag_spec='$convenience'
9718 archive_cmds_need_lc=yes
9719 # This is similar to how AIX traditionally builds its shared libraries.
9720 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9725 amigaos*)
9726 case $host_cpu in
9727 powerpc)
9728 # see comment about AmigaOS4 .so support
9729 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9730 archive_expsym_cmds=''
9732 m68k)
9733 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9734 hardcode_libdir_flag_spec='-L$libdir'
9735 hardcode_minus_L=yes
9737 esac
9740 bsdi[45]*)
9741 export_dynamic_flag_spec=-rdynamic
9744 cygwin* | mingw* | pw32* | cegcc*)
9745 # When not using gcc, we currently assume that we are using
9746 # Microsoft Visual C++.
9747 # hardcode_libdir_flag_spec is actually meaningless, as there is
9748 # no search path for DLLs.
9749 hardcode_libdir_flag_spec=' '
9750 allow_undefined_flag=unsupported
9751 # Tell ltmain to make .lib files, not .a files.
9752 libext=lib
9753 # Tell ltmain to make .dll files, not .so files.
9754 shrext_cmds=".dll"
9755 # FIXME: Setting linknames here is a bad hack.
9756 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9757 # The linker will automatically build a .lib file if we build a DLL.
9758 old_archive_from_new_cmds='true'
9759 # FIXME: Should let the user specify the lib program.
9760 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9761 fix_srcfile_path='`cygpath -w "$srcfile"`'
9762 enable_shared_with_static_runtimes=yes
9765 darwin* | rhapsody*)
9768 archive_cmds_need_lc=no
9769 hardcode_direct=no
9770 hardcode_automatic=yes
9771 hardcode_shlibpath_var=unsupported
9772 if test "$lt_cv_ld_force_load" = "yes"; then
9773 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9774 else
9775 whole_archive_flag_spec=''
9777 link_all_deplibs=yes
9778 allow_undefined_flag="$_lt_dar_allow_undefined"
9779 case $cc_basename in
9780 ifort*) _lt_dar_can_shared=yes ;;
9781 *) _lt_dar_can_shared=$GCC ;;
9782 esac
9783 if test "$_lt_dar_can_shared" = "yes"; then
9784 output_verbose_link_cmd=func_echo_all
9785 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9786 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9787 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9788 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9790 else
9791 ld_shlibs=no
9796 dgux*)
9797 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9798 hardcode_libdir_flag_spec='-L$libdir'
9799 hardcode_shlibpath_var=no
9802 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9803 # support. Future versions do this automatically, but an explicit c++rt0.o
9804 # does not break anything, and helps significantly (at the cost of a little
9805 # extra space).
9806 freebsd2.2*)
9807 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9808 hardcode_libdir_flag_spec='-R$libdir'
9809 hardcode_direct=yes
9810 hardcode_shlibpath_var=no
9813 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9814 freebsd2.*)
9815 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9816 hardcode_direct=yes
9817 hardcode_minus_L=yes
9818 hardcode_shlibpath_var=no
9821 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9822 freebsd* | dragonfly*)
9823 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9824 hardcode_libdir_flag_spec='-R$libdir'
9825 hardcode_direct=yes
9826 hardcode_shlibpath_var=no
9829 hpux9*)
9830 if test "$GCC" = yes; then
9831 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9832 else
9833 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9835 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9836 hardcode_libdir_separator=:
9837 hardcode_direct=yes
9839 # hardcode_minus_L: Not really in the search PATH,
9840 # but as the default location of the library.
9841 hardcode_minus_L=yes
9842 export_dynamic_flag_spec='${wl}-E'
9845 hpux10*)
9846 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9847 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9848 else
9849 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9851 if test "$with_gnu_ld" = no; then
9852 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9853 hardcode_libdir_flag_spec_ld='+b $libdir'
9854 hardcode_libdir_separator=:
9855 hardcode_direct=yes
9856 hardcode_direct_absolute=yes
9857 export_dynamic_flag_spec='${wl}-E'
9858 # hardcode_minus_L: Not really in the search PATH,
9859 # but as the default location of the library.
9860 hardcode_minus_L=yes
9864 hpux11*)
9865 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9866 case $host_cpu in
9867 hppa*64*)
9868 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9870 ia64*)
9871 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9874 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9876 esac
9877 else
9878 case $host_cpu in
9879 hppa*64*)
9880 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9882 ia64*)
9883 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9887 # Older versions of the 11.00 compiler do not understand -b yet
9888 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9890 $as_echo_n "checking if $CC understands -b... " >&6; }
9891 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 lt_cv_prog_compiler__b=no
9895 save_LDFLAGS="$LDFLAGS"
9896 LDFLAGS="$LDFLAGS -b"
9897 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9898 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9899 # The linker can only warn and ignore the option if not recognized
9900 # So say no if there are warnings
9901 if test -s conftest.err; then
9902 # Append any errors to the config.log.
9903 cat conftest.err 1>&5
9904 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9905 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9906 if diff conftest.exp conftest.er2 >/dev/null; then
9907 lt_cv_prog_compiler__b=yes
9909 else
9910 lt_cv_prog_compiler__b=yes
9913 $RM -r conftest*
9914 LDFLAGS="$save_LDFLAGS"
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9918 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9920 if test x"$lt_cv_prog_compiler__b" = xyes; then
9921 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9922 else
9923 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9927 esac
9929 if test "$with_gnu_ld" = no; then
9930 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9931 hardcode_libdir_separator=:
9933 case $host_cpu in
9934 hppa*64*|ia64*)
9935 hardcode_direct=no
9936 hardcode_shlibpath_var=no
9939 hardcode_direct=yes
9940 hardcode_direct_absolute=yes
9941 export_dynamic_flag_spec='${wl}-E'
9943 # hardcode_minus_L: Not really in the search PATH,
9944 # but as the default location of the library.
9945 hardcode_minus_L=yes
9947 esac
9951 irix5* | irix6* | nonstopux*)
9952 if test "$GCC" = yes; then
9953 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9954 # Try to use the -exported_symbol ld option, if it does not
9955 # work, assume that -exports_file does not work either and
9956 # implicitly export all symbols.
9957 save_LDFLAGS="$LDFLAGS"
9958 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9959 if test x$gcc_no_link = xyes; then
9960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9964 int foo(void) {}
9965 _ACEOF
9966 if ac_fn_c_try_link "$LINENO"; then :
9967 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9970 rm -f core conftest.err conftest.$ac_objext \
9971 conftest$ac_exeext conftest.$ac_ext
9972 LDFLAGS="$save_LDFLAGS"
9973 else
9974 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9975 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9977 archive_cmds_need_lc='no'
9978 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9979 hardcode_libdir_separator=:
9980 inherit_rpath=yes
9981 link_all_deplibs=yes
9984 netbsd*)
9985 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9986 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9987 else
9988 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9990 hardcode_libdir_flag_spec='-R$libdir'
9991 hardcode_direct=yes
9992 hardcode_shlibpath_var=no
9995 newsos6)
9996 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9997 hardcode_direct=yes
9998 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9999 hardcode_libdir_separator=:
10000 hardcode_shlibpath_var=no
10003 *nto* | *qnx*)
10006 openbsd*)
10007 if test -f /usr/libexec/ld.so; then
10008 hardcode_direct=yes
10009 hardcode_shlibpath_var=no
10010 hardcode_direct_absolute=yes
10011 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10012 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10013 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10014 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10015 export_dynamic_flag_spec='${wl}-E'
10016 else
10017 case $host_os in
10018 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10019 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_libdir_flag_spec='-R$libdir'
10023 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10024 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10026 esac
10028 else
10029 ld_shlibs=no
10033 os2*)
10034 hardcode_libdir_flag_spec='-L$libdir'
10035 hardcode_minus_L=yes
10036 allow_undefined_flag=unsupported
10037 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10038 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10041 osf3*)
10042 if test "$GCC" = yes; then
10043 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10044 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10045 else
10046 allow_undefined_flag=' -expect_unresolved \*'
10047 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10049 archive_cmds_need_lc='no'
10050 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10051 hardcode_libdir_separator=:
10054 osf4* | osf5*) # as osf3* with the addition of -msym flag
10055 if test "$GCC" = yes; then
10056 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10057 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10058 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10059 else
10060 allow_undefined_flag=' -expect_unresolved \*'
10061 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10062 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10063 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10065 # Both c and cxx compiler support -rpath directly
10066 hardcode_libdir_flag_spec='-rpath $libdir'
10068 archive_cmds_need_lc='no'
10069 hardcode_libdir_separator=:
10072 solaris*)
10073 no_undefined_flag=' -z defs'
10074 if test "$GCC" = yes; then
10075 wlarc='${wl}'
10076 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10078 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10079 else
10080 case `$CC -V 2>&1` in
10081 *"Compilers 5.0"*)
10082 wlarc=''
10083 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10084 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10085 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10088 wlarc='${wl}'
10089 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10091 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10093 esac
10095 hardcode_libdir_flag_spec='-R$libdir'
10096 hardcode_shlibpath_var=no
10097 case $host_os in
10098 solaris2.[0-5] | solaris2.[0-5].*) ;;
10100 # The compiler driver will combine and reorder linker options,
10101 # but understands `-z linker_flag'. GCC discards it without `$wl',
10102 # but is careful enough not to reorder.
10103 # Supported since Solaris 2.6 (maybe 2.5.1?)
10104 if test "$GCC" = yes; then
10105 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10106 else
10107 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10110 esac
10111 link_all_deplibs=yes
10114 sunos4*)
10115 if test "x$host_vendor" = xsequent; then
10116 # Use $CC to link under sequent, because it throws in some extra .o
10117 # files that make .init and .fini sections work.
10118 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10119 else
10120 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10122 hardcode_libdir_flag_spec='-L$libdir'
10123 hardcode_direct=yes
10124 hardcode_minus_L=yes
10125 hardcode_shlibpath_var=no
10128 sysv4)
10129 case $host_vendor in
10130 sni)
10131 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10132 hardcode_direct=yes # is this really true???
10134 siemens)
10135 ## LD is ld it makes a PLAMLIB
10136 ## CC just makes a GrossModule.
10137 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10138 reload_cmds='$CC -r -o $output$reload_objs'
10139 hardcode_direct=no
10141 motorola)
10142 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10145 esac
10146 runpath_var='LD_RUN_PATH'
10147 hardcode_shlibpath_var=no
10150 sysv4.3*)
10151 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10152 hardcode_shlibpath_var=no
10153 export_dynamic_flag_spec='-Bexport'
10156 sysv4*MP*)
10157 if test -d /usr/nec; then
10158 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10159 hardcode_shlibpath_var=no
10160 runpath_var=LD_RUN_PATH
10161 hardcode_runpath_var=yes
10162 ld_shlibs=yes
10166 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10167 no_undefined_flag='${wl}-z,text'
10168 archive_cmds_need_lc=no
10169 hardcode_shlibpath_var=no
10170 runpath_var='LD_RUN_PATH'
10172 if test "$GCC" = yes; then
10173 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10175 else
10176 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10177 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10181 sysv5* | sco3.2v5* | sco5v6*)
10182 # Note: We can NOT use -z defs as we might desire, because we do not
10183 # link with -lc, and that would cause any symbols used from libc to
10184 # always be unresolved, which means just about no library would
10185 # ever link correctly. If we're not using GNU ld we use -z text
10186 # though, which does catch some bad symbols but isn't as heavy-handed
10187 # as -z defs.
10188 no_undefined_flag='${wl}-z,text'
10189 allow_undefined_flag='${wl}-z,nodefs'
10190 archive_cmds_need_lc=no
10191 hardcode_shlibpath_var=no
10192 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10193 hardcode_libdir_separator=':'
10194 link_all_deplibs=yes
10195 export_dynamic_flag_spec='${wl}-Bexport'
10196 runpath_var='LD_RUN_PATH'
10198 if test "$GCC" = yes; then
10199 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10201 else
10202 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10203 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10207 uts4*)
10208 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10209 hardcode_libdir_flag_spec='-L$libdir'
10210 hardcode_shlibpath_var=no
10214 ld_shlibs=no
10216 esac
10218 if test x$host_vendor = xsni; then
10219 case $host in
10220 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10221 export_dynamic_flag_spec='${wl}-Blargedynsym'
10223 esac
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10228 $as_echo "$ld_shlibs" >&6; }
10229 test "$ld_shlibs" = no && can_build_shared=no
10231 with_gnu_ld=$with_gnu_ld
10248 # Do we need to explicitly link libc?
10250 case "x$archive_cmds_need_lc" in
10251 x|xyes)
10252 # Assume -lc should be added
10253 archive_cmds_need_lc=yes
10255 if test "$enable_shared" = yes && test "$GCC" = yes; then
10256 case $archive_cmds in
10257 *'~'*)
10258 # FIXME: we may have to deal with multi-command sequences.
10260 '$CC '*)
10261 # Test whether the compiler implicitly links with -lc since on some
10262 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10263 # to ld, don't add -lc before -lgcc.
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10265 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10266 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10267 $as_echo_n "(cached) " >&6
10268 else
10269 $RM conftest*
10270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10273 (eval $ac_compile) 2>&5
10274 ac_status=$?
10275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10276 test $ac_status = 0; } 2>conftest.err; then
10277 soname=conftest
10278 lib=conftest
10279 libobjs=conftest.$ac_objext
10280 deplibs=
10281 wl=$lt_prog_compiler_wl
10282 pic_flag=$lt_prog_compiler_pic
10283 compiler_flags=-v
10284 linker_flags=-v
10285 verstring=
10286 output_objdir=.
10287 libname=conftest
10288 lt_save_allow_undefined_flag=$allow_undefined_flag
10289 allow_undefined_flag=
10290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10291 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10292 ac_status=$?
10293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10294 test $ac_status = 0; }
10295 then
10296 lt_cv_archive_cmds_need_lc=no
10297 else
10298 lt_cv_archive_cmds_need_lc=yes
10300 allow_undefined_flag=$lt_save_allow_undefined_flag
10301 else
10302 cat conftest.err 1>&5
10304 $RM conftest*
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10308 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10309 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10311 esac
10314 esac
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10473 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10475 if test "$GCC" = yes; then
10476 case $host_os in
10477 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10478 *) lt_awk_arg="/^libraries:/" ;;
10479 esac
10480 case $host_os in
10481 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10482 *) lt_sed_strip_eq="s,=/,/,g" ;;
10483 esac
10484 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10485 case $lt_search_path_spec in
10486 *\;*)
10487 # if the path contains ";" then we assume it to be the separator
10488 # otherwise default to the standard path separator (i.e. ":") - it is
10489 # assumed that no part of a normal pathname contains ";" but that should
10490 # okay in the real world where ";" in dirpaths is itself problematic.
10491 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10494 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10496 esac
10497 # Ok, now we have the path, separated by spaces, we can step through it
10498 # and add multilib dir if necessary.
10499 lt_tmp_lt_search_path_spec=
10500 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10501 for lt_sys_path in $lt_search_path_spec; do
10502 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10504 else
10505 test -d "$lt_sys_path" && \
10506 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10508 done
10509 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10510 BEGIN {RS=" "; FS="/|\n";} {
10511 lt_foo="";
10512 lt_count=0;
10513 for (lt_i = NF; lt_i > 0; lt_i--) {
10514 if ($lt_i != "" && $lt_i != ".") {
10515 if ($lt_i == "..") {
10516 lt_count++;
10517 } else {
10518 if (lt_count == 0) {
10519 lt_foo="/" $lt_i lt_foo;
10520 } else {
10521 lt_count--;
10526 if (lt_foo != "") { lt_freq[lt_foo]++; }
10527 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10529 # AWK program above erroneously prepends '/' to C:/dos/paths
10530 # for these hosts.
10531 case $host_os in
10532 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10533 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10534 esac
10535 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10536 else
10537 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10539 library_names_spec=
10540 libname_spec='lib$name'
10541 soname_spec=
10542 shrext_cmds=".so"
10543 postinstall_cmds=
10544 postuninstall_cmds=
10545 finish_cmds=
10546 finish_eval=
10547 shlibpath_var=
10548 shlibpath_overrides_runpath=unknown
10549 version_type=none
10550 dynamic_linker="$host_os ld.so"
10551 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10552 need_lib_prefix=unknown
10553 hardcode_into_libs=no
10555 # when you set need_version to no, make sure it does not cause -set_version
10556 # flags to be left without arguments
10557 need_version=unknown
10559 case $host_os in
10560 aix3*)
10561 version_type=linux
10562 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10563 shlibpath_var=LIBPATH
10565 # AIX 3 has no versioning support, so we append a major version to the name.
10566 soname_spec='${libname}${release}${shared_ext}$major'
10569 aix[4-9]*)
10570 version_type=linux
10571 need_lib_prefix=no
10572 need_version=no
10573 hardcode_into_libs=yes
10574 if test "$host_cpu" = ia64; then
10575 # AIX 5 supports IA64
10576 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10577 shlibpath_var=LD_LIBRARY_PATH
10578 else
10579 # With GCC up to 2.95.x, collect2 would create an import file
10580 # for dependence libraries. The import file would start with
10581 # the line `#! .'. This would cause the generated library to
10582 # depend on `.', always an invalid library. This was fixed in
10583 # development snapshots of GCC prior to 3.0.
10584 case $host_os in
10585 aix4 | aix4.[01] | aix4.[01].*)
10586 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10587 echo ' yes '
10588 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10590 else
10591 can_build_shared=no
10594 esac
10595 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10596 # soname into executable. Probably we can add versioning support to
10597 # collect2, so additional links can be useful in future.
10598 if test "$aix_use_runtimelinking" = yes; then
10599 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10600 # instead of lib<name>.a to let people know that these are not
10601 # typical AIX shared libraries.
10602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603 else
10604 # We preserve .a as extension for shared libraries through AIX4.2
10605 # and later when we are not doing run time linking.
10606 library_names_spec='${libname}${release}.a $libname.a'
10607 soname_spec='${libname}${release}${shared_ext}$major'
10609 shlibpath_var=LIBPATH
10613 amigaos*)
10614 case $host_cpu in
10615 powerpc)
10616 # Since July 2007 AmigaOS4 officially supports .so libraries.
10617 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10620 m68k)
10621 library_names_spec='$libname.ixlibrary $libname.a'
10622 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10623 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10625 esac
10628 beos*)
10629 library_names_spec='${libname}${shared_ext}'
10630 dynamic_linker="$host_os ld.so"
10631 shlibpath_var=LIBRARY_PATH
10634 bsdi[45]*)
10635 version_type=linux
10636 need_version=no
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10638 soname_spec='${libname}${release}${shared_ext}$major'
10639 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10640 shlibpath_var=LD_LIBRARY_PATH
10641 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10642 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10643 # the default ld.so.conf also contains /usr/contrib/lib and
10644 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10645 # libtool to hard-code these into programs
10648 cygwin* | mingw* | pw32* | cegcc*)
10649 version_type=windows
10650 shrext_cmds=".dll"
10651 need_version=no
10652 need_lib_prefix=no
10654 case $GCC,$host_os in
10655 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10656 library_names_spec='$libname.dll.a'
10657 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10658 postinstall_cmds='base_file=`basename \${file}`~
10659 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10660 dldir=$destdir/`dirname \$dlpath`~
10661 test -d \$dldir || mkdir -p \$dldir~
10662 $install_prog $dir/$dlname \$dldir/$dlname~
10663 chmod a+x \$dldir/$dlname~
10664 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10665 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10667 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10668 dlpath=$dir/\$dldll~
10669 $RM \$dlpath'
10670 shlibpath_overrides_runpath=yes
10672 case $host_os in
10673 cygwin*)
10674 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10675 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10677 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10679 mingw* | cegcc*)
10680 # MinGW DLLs use traditional 'lib' prefix
10681 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10683 pw32*)
10684 # pw32 DLLs use 'pw' prefix rather than 'lib'
10685 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10687 esac
10691 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10693 esac
10694 dynamic_linker='Win32 ld.exe'
10695 # FIXME: first we should search . and the directory the executable is in
10696 shlibpath_var=PATH
10699 darwin* | rhapsody*)
10700 dynamic_linker="$host_os dyld"
10701 version_type=darwin
10702 need_lib_prefix=no
10703 need_version=no
10704 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10705 soname_spec='${libname}${release}${major}$shared_ext'
10706 shlibpath_overrides_runpath=yes
10707 shlibpath_var=DYLD_LIBRARY_PATH
10708 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10710 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10711 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10714 dgux*)
10715 version_type=linux
10716 need_lib_prefix=no
10717 need_version=no
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 shlibpath_var=LD_LIBRARY_PATH
10723 freebsd* | dragonfly*)
10724 # DragonFly does not have aout. When/if they implement a new
10725 # versioning mechanism, adjust this.
10726 if test -x /usr/bin/objformat; then
10727 objformat=`/usr/bin/objformat`
10728 else
10729 case $host_os in
10730 freebsd[23].*) objformat=aout ;;
10731 *) objformat=elf ;;
10732 esac
10734 version_type=freebsd-$objformat
10735 case $version_type in
10736 freebsd-elf*)
10737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10738 need_version=no
10739 need_lib_prefix=no
10741 freebsd-*)
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10743 need_version=yes
10745 esac
10746 shlibpath_var=LD_LIBRARY_PATH
10747 case $host_os in
10748 freebsd2.*)
10749 shlibpath_overrides_runpath=yes
10751 freebsd3.[01]* | freebsdelf3.[01]*)
10752 shlibpath_overrides_runpath=yes
10753 hardcode_into_libs=yes
10755 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10756 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10757 shlibpath_overrides_runpath=no
10758 hardcode_into_libs=yes
10760 *) # from 4.6 on, and DragonFly
10761 shlibpath_overrides_runpath=yes
10762 hardcode_into_libs=yes
10764 esac
10767 gnu*)
10768 version_type=linux
10769 need_lib_prefix=no
10770 need_version=no
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 shlibpath_var=LD_LIBRARY_PATH
10774 hardcode_into_libs=yes
10777 haiku*)
10778 version_type=linux
10779 need_lib_prefix=no
10780 need_version=no
10781 dynamic_linker="$host_os runtime_loader"
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10783 soname_spec='${libname}${release}${shared_ext}$major'
10784 shlibpath_var=LIBRARY_PATH
10785 shlibpath_overrides_runpath=yes
10786 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10787 hardcode_into_libs=yes
10790 hpux9* | hpux10* | hpux11*)
10791 # Give a soname corresponding to the major version so that dld.sl refuses to
10792 # link against other versions.
10793 version_type=sunos
10794 need_lib_prefix=no
10795 need_version=no
10796 case $host_cpu in
10797 ia64*)
10798 shrext_cmds='.so'
10799 hardcode_into_libs=yes
10800 dynamic_linker="$host_os dld.so"
10801 shlibpath_var=LD_LIBRARY_PATH
10802 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10804 soname_spec='${libname}${release}${shared_ext}$major'
10805 if test "X$HPUX_IA64_MODE" = X32; then
10806 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10807 else
10808 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10810 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10812 hppa*64*)
10813 shrext_cmds='.sl'
10814 hardcode_into_libs=yes
10815 dynamic_linker="$host_os dld.sl"
10816 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10817 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 soname_spec='${libname}${release}${shared_ext}$major'
10820 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10821 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10824 shrext_cmds='.sl'
10825 dynamic_linker="$host_os dld.sl"
10826 shlibpath_var=SHLIB_PATH
10827 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829 soname_spec='${libname}${release}${shared_ext}$major'
10831 esac
10832 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10833 postinstall_cmds='chmod 555 $lib'
10834 # or fails outright, so override atomically:
10835 install_override_mode=555
10838 interix[3-9]*)
10839 version_type=linux
10840 need_lib_prefix=no
10841 need_version=no
10842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10843 soname_spec='${libname}${release}${shared_ext}$major'
10844 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10845 shlibpath_var=LD_LIBRARY_PATH
10846 shlibpath_overrides_runpath=no
10847 hardcode_into_libs=yes
10850 irix5* | irix6* | nonstopux*)
10851 case $host_os in
10852 nonstopux*) version_type=nonstopux ;;
10854 if test "$lt_cv_prog_gnu_ld" = yes; then
10855 version_type=linux
10856 else
10857 version_type=irix
10858 fi ;;
10859 esac
10860 need_lib_prefix=no
10861 need_version=no
10862 soname_spec='${libname}${release}${shared_ext}$major'
10863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10864 case $host_os in
10865 irix5* | nonstopux*)
10866 libsuff= shlibsuff=
10869 case $LD in # libtool.m4 will add one of these switches to LD
10870 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10871 libsuff= shlibsuff= libmagic=32-bit;;
10872 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10873 libsuff=32 shlibsuff=N32 libmagic=N32;;
10874 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10875 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10876 *) libsuff= shlibsuff= libmagic=never-match;;
10877 esac
10879 esac
10880 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10881 shlibpath_overrides_runpath=no
10882 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10883 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10884 hardcode_into_libs=yes
10887 # No shared lib support for Linux oldld, aout, or coff.
10888 linux*oldld* | linux*aout* | linux*coff*)
10889 dynamic_linker=no
10892 # This must be Linux ELF.
10893 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10894 version_type=linux
10895 need_lib_prefix=no
10896 need_version=no
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10898 soname_spec='${libname}${release}${shared_ext}$major'
10899 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10900 shlibpath_var=LD_LIBRARY_PATH
10901 shlibpath_overrides_runpath=no
10903 # Some binutils ld are patched to set DT_RUNPATH
10904 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10905 $as_echo_n "(cached) " >&6
10906 else
10907 lt_cv_shlibpath_overrides_runpath=no
10908 save_LDFLAGS=$LDFLAGS
10909 save_libdir=$libdir
10910 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10911 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10912 if test x$gcc_no_link = xyes; then
10913 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10919 main ()
10923 return 0;
10925 _ACEOF
10926 if ac_fn_c_try_link "$LINENO"; then :
10927 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10928 lt_cv_shlibpath_overrides_runpath=yes
10931 rm -f core conftest.err conftest.$ac_objext \
10932 conftest$ac_exeext conftest.$ac_ext
10933 LDFLAGS=$save_LDFLAGS
10934 libdir=$save_libdir
10938 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10940 # This implies no fast_install, which is unacceptable.
10941 # Some rework will be needed to allow for fast_install
10942 # before this can be enabled.
10943 hardcode_into_libs=yes
10945 # Append ld.so.conf contents to the search path
10946 if test -f /etc/ld.so.conf; then
10947 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10948 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10951 # We used to test for /lib/ld.so.1 and disable shared libraries on
10952 # powerpc, because MkLinux only supported shared libraries with the
10953 # GNU dynamic linker. Since this was broken with cross compilers,
10954 # most powerpc-linux boxes support dynamic linking these days and
10955 # people can always --disable-shared, the test was removed, and we
10956 # assume the GNU/Linux dynamic linker is in use.
10957 dynamic_linker='GNU/Linux ld.so'
10960 netbsd*)
10961 version_type=sunos
10962 need_lib_prefix=no
10963 need_version=no
10964 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10966 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10967 dynamic_linker='NetBSD (a.out) ld.so'
10968 else
10969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10970 soname_spec='${libname}${release}${shared_ext}$major'
10971 dynamic_linker='NetBSD ld.elf_so'
10973 shlibpath_var=LD_LIBRARY_PATH
10974 shlibpath_overrides_runpath=yes
10975 hardcode_into_libs=yes
10978 newsos6)
10979 version_type=linux
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 shlibpath_var=LD_LIBRARY_PATH
10982 shlibpath_overrides_runpath=yes
10985 *nto* | *qnx*)
10986 version_type=qnx
10987 need_lib_prefix=no
10988 need_version=no
10989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10990 soname_spec='${libname}${release}${shared_ext}$major'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 shlibpath_overrides_runpath=no
10993 hardcode_into_libs=yes
10994 dynamic_linker='ldqnx.so'
10997 openbsd*)
10998 version_type=sunos
10999 sys_lib_dlsearch_path_spec="/usr/lib"
11000 need_lib_prefix=no
11001 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11002 case $host_os in
11003 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11004 *) need_version=no ;;
11005 esac
11006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11007 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11008 shlibpath_var=LD_LIBRARY_PATH
11009 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11010 case $host_os in
11011 openbsd2.[89] | openbsd2.[89].*)
11012 shlibpath_overrides_runpath=no
11015 shlibpath_overrides_runpath=yes
11017 esac
11018 else
11019 shlibpath_overrides_runpath=yes
11023 os2*)
11024 libname_spec='$name'
11025 shrext_cmds=".dll"
11026 need_lib_prefix=no
11027 library_names_spec='$libname${shared_ext} $libname.a'
11028 dynamic_linker='OS/2 ld.exe'
11029 shlibpath_var=LIBPATH
11032 osf3* | osf4* | osf5*)
11033 version_type=osf
11034 need_lib_prefix=no
11035 need_version=no
11036 soname_spec='${libname}${release}${shared_ext}$major'
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11038 shlibpath_var=LD_LIBRARY_PATH
11039 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11040 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11043 rdos*)
11044 dynamic_linker=no
11047 solaris*)
11048 version_type=linux
11049 need_lib_prefix=no
11050 need_version=no
11051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11052 soname_spec='${libname}${release}${shared_ext}$major'
11053 shlibpath_var=LD_LIBRARY_PATH
11054 shlibpath_overrides_runpath=yes
11055 hardcode_into_libs=yes
11056 # ldd complains unless libraries are executable
11057 postinstall_cmds='chmod +x $lib'
11060 sunos4*)
11061 version_type=sunos
11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11063 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11064 shlibpath_var=LD_LIBRARY_PATH
11065 shlibpath_overrides_runpath=yes
11066 if test "$with_gnu_ld" = yes; then
11067 need_lib_prefix=no
11069 need_version=yes
11072 sysv4 | sysv4.3*)
11073 version_type=linux
11074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11075 soname_spec='${libname}${release}${shared_ext}$major'
11076 shlibpath_var=LD_LIBRARY_PATH
11077 case $host_vendor in
11078 sni)
11079 shlibpath_overrides_runpath=no
11080 need_lib_prefix=no
11081 runpath_var=LD_RUN_PATH
11083 siemens)
11084 need_lib_prefix=no
11086 motorola)
11087 need_lib_prefix=no
11088 need_version=no
11089 shlibpath_overrides_runpath=no
11090 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11092 esac
11095 sysv4*MP*)
11096 if test -d /usr/nec ;then
11097 version_type=linux
11098 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11099 soname_spec='$libname${shared_ext}.$major'
11100 shlibpath_var=LD_LIBRARY_PATH
11104 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11105 version_type=freebsd-elf
11106 need_lib_prefix=no
11107 need_version=no
11108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11109 soname_spec='${libname}${release}${shared_ext}$major'
11110 shlibpath_var=LD_LIBRARY_PATH
11111 shlibpath_overrides_runpath=yes
11112 hardcode_into_libs=yes
11113 if test "$with_gnu_ld" = yes; then
11114 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11115 else
11116 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11117 case $host_os in
11118 sco3.2v5*)
11119 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11121 esac
11123 sys_lib_dlsearch_path_spec='/usr/lib'
11126 tpf*)
11127 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11128 version_type=linux
11129 need_lib_prefix=no
11130 need_version=no
11131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11132 shlibpath_var=LD_LIBRARY_PATH
11133 shlibpath_overrides_runpath=no
11134 hardcode_into_libs=yes
11137 uts4*)
11138 version_type=linux
11139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140 soname_spec='${libname}${release}${shared_ext}$major'
11141 shlibpath_var=LD_LIBRARY_PATH
11145 dynamic_linker=no
11147 esac
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11149 $as_echo "$dynamic_linker" >&6; }
11150 test "$dynamic_linker" = no && can_build_shared=no
11152 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11153 if test "$GCC" = yes; then
11154 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11157 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11158 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11160 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11161 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11256 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11257 hardcode_action=
11258 if test -n "$hardcode_libdir_flag_spec" ||
11259 test -n "$runpath_var" ||
11260 test "X$hardcode_automatic" = "Xyes" ; then
11262 # We can hardcode non-existent directories.
11263 if test "$hardcode_direct" != no &&
11264 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11265 # have to relink, otherwise we might link with an installed library
11266 # when we should be linking with a yet-to-be-installed one
11267 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11268 test "$hardcode_minus_L" != no; then
11269 # Linking always hardcodes the temporary library directory.
11270 hardcode_action=relink
11271 else
11272 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11273 hardcode_action=immediate
11275 else
11276 # We cannot hardcode anything, or else we can only hardcode existing
11277 # directories.
11278 hardcode_action=unsupported
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11281 $as_echo "$hardcode_action" >&6; }
11283 if test "$hardcode_action" = relink ||
11284 test "$inherit_rpath" = yes; then
11285 # Fast installation is not supported
11286 enable_fast_install=no
11287 elif test "$shlibpath_overrides_runpath" = yes ||
11288 test "$enable_shared" = no; then
11289 # Fast installation is not necessary
11290 enable_fast_install=needless
11298 if test "x$enable_dlopen" != xyes; then
11299 enable_dlopen=unknown
11300 enable_dlopen_self=unknown
11301 enable_dlopen_self_static=unknown
11302 else
11303 lt_cv_dlopen=no
11304 lt_cv_dlopen_libs=
11306 case $host_os in
11307 beos*)
11308 lt_cv_dlopen="load_add_on"
11309 lt_cv_dlopen_libs=
11310 lt_cv_dlopen_self=yes
11313 mingw* | pw32* | cegcc*)
11314 lt_cv_dlopen="LoadLibrary"
11315 lt_cv_dlopen_libs=
11318 cygwin*)
11319 lt_cv_dlopen="dlopen"
11320 lt_cv_dlopen_libs=
11323 darwin*)
11324 # if libdl is installed we need to link against it
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11326 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11327 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11328 $as_echo_n "(cached) " >&6
11329 else
11330 ac_check_lib_save_LIBS=$LIBS
11331 LIBS="-ldl $LIBS"
11332 if test x$gcc_no_link = xyes; then
11333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11338 /* Override any GCC internal prototype to avoid an error.
11339 Use char because int might match the return type of a GCC
11340 builtin and then its argument prototype would still apply. */
11341 #ifdef __cplusplus
11342 extern "C"
11343 #endif
11344 char dlopen ();
11346 main ()
11348 return dlopen ();
11350 return 0;
11352 _ACEOF
11353 if ac_fn_c_try_link "$LINENO"; then :
11354 ac_cv_lib_dl_dlopen=yes
11355 else
11356 ac_cv_lib_dl_dlopen=no
11358 rm -f core conftest.err conftest.$ac_objext \
11359 conftest$ac_exeext conftest.$ac_ext
11360 LIBS=$ac_check_lib_save_LIBS
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11363 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11364 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11365 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11366 else
11368 lt_cv_dlopen="dyld"
11369 lt_cv_dlopen_libs=
11370 lt_cv_dlopen_self=yes
11377 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11378 if test "x$ac_cv_func_shl_load" = x""yes; then :
11379 lt_cv_dlopen="shl_load"
11380 else
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11382 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11383 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11384 $as_echo_n "(cached) " >&6
11385 else
11386 ac_check_lib_save_LIBS=$LIBS
11387 LIBS="-ldld $LIBS"
11388 if test x$gcc_no_link = xyes; then
11389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char shl_load ();
11402 main ()
11404 return shl_load ();
11406 return 0;
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 ac_cv_lib_dld_shl_load=yes
11411 else
11412 ac_cv_lib_dld_shl_load=no
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_lib_save_LIBS
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11419 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11420 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11421 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11422 else
11423 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11424 if test "x$ac_cv_func_dlopen" = x""yes; then :
11425 lt_cv_dlopen="dlopen"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11428 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11429 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldl $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dlopen ();
11448 main ()
11450 return dlopen ();
11452 return 0;
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dl_dlopen=yes
11457 else
11458 ac_cv_lib_dl_dlopen=no
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11465 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11466 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11467 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11468 else
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11470 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11471 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11472 $as_echo_n "(cached) " >&6
11473 else
11474 ac_check_lib_save_LIBS=$LIBS
11475 LIBS="-lsvld $LIBS"
11476 if test x$gcc_no_link = xyes; then
11477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11482 /* Override any GCC internal prototype to avoid an error.
11483 Use char because int might match the return type of a GCC
11484 builtin and then its argument prototype would still apply. */
11485 #ifdef __cplusplus
11486 extern "C"
11487 #endif
11488 char dlopen ();
11490 main ()
11492 return dlopen ();
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 ac_cv_lib_svld_dlopen=yes
11499 else
11500 ac_cv_lib_svld_dlopen=no
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LIBS=$ac_check_lib_save_LIBS
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11507 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11508 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11509 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11510 else
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11512 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11513 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 ac_check_lib_save_LIBS=$LIBS
11517 LIBS="-ldld $LIBS"
11518 if test x$gcc_no_link = xyes; then
11519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11524 /* Override any GCC internal prototype to avoid an error.
11525 Use char because int might match the return type of a GCC
11526 builtin and then its argument prototype would still apply. */
11527 #ifdef __cplusplus
11528 extern "C"
11529 #endif
11530 char dld_link ();
11532 main ()
11534 return dld_link ();
11536 return 0;
11538 _ACEOF
11539 if ac_fn_c_try_link "$LINENO"; then :
11540 ac_cv_lib_dld_dld_link=yes
11541 else
11542 ac_cv_lib_dld_dld_link=no
11544 rm -f core conftest.err conftest.$ac_objext \
11545 conftest$ac_exeext conftest.$ac_ext
11546 LIBS=$ac_check_lib_save_LIBS
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11549 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11550 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11551 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11570 esac
11572 if test "x$lt_cv_dlopen" != xno; then
11573 enable_dlopen=yes
11574 else
11575 enable_dlopen=no
11578 case $lt_cv_dlopen in
11579 dlopen)
11580 save_CPPFLAGS="$CPPFLAGS"
11581 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11583 save_LDFLAGS="$LDFLAGS"
11584 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11586 save_LIBS="$LIBS"
11587 LIBS="$lt_cv_dlopen_libs $LIBS"
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11590 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11591 if test "${lt_cv_dlopen_self+set}" = set; then :
11592 $as_echo_n "(cached) " >&6
11593 else
11594 if test "$cross_compiling" = yes; then :
11595 lt_cv_dlopen_self=cross
11596 else
11597 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11598 lt_status=$lt_dlunknown
11599 cat > conftest.$ac_ext <<_LT_EOF
11600 #line 11600 "configure"
11601 #include "confdefs.h"
11603 #if HAVE_DLFCN_H
11604 #include <dlfcn.h>
11605 #endif
11607 #include <stdio.h>
11609 #ifdef RTLD_GLOBAL
11610 # define LT_DLGLOBAL RTLD_GLOBAL
11611 #else
11612 # ifdef DL_GLOBAL
11613 # define LT_DLGLOBAL DL_GLOBAL
11614 # else
11615 # define LT_DLGLOBAL 0
11616 # endif
11617 #endif
11619 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11620 find out it does not work in some platform. */
11621 #ifndef LT_DLLAZY_OR_NOW
11622 # ifdef RTLD_LAZY
11623 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11624 # else
11625 # ifdef DL_LAZY
11626 # define LT_DLLAZY_OR_NOW DL_LAZY
11627 # else
11628 # ifdef RTLD_NOW
11629 # define LT_DLLAZY_OR_NOW RTLD_NOW
11630 # else
11631 # ifdef DL_NOW
11632 # define LT_DLLAZY_OR_NOW DL_NOW
11633 # else
11634 # define LT_DLLAZY_OR_NOW 0
11635 # endif
11636 # endif
11637 # endif
11638 # endif
11639 #endif
11641 /* When -fvisbility=hidden is used, assume the code has been annotated
11642 correspondingly for the symbols needed. */
11643 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11644 void fnord () __attribute__((visibility("default")));
11645 #endif
11647 void fnord () { int i=42; }
11648 int main ()
11650 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11651 int status = $lt_dlunknown;
11653 if (self)
11655 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11656 else
11658 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11659 else puts (dlerror ());
11661 /* dlclose (self); */
11663 else
11664 puts (dlerror ());
11666 return status;
11668 _LT_EOF
11669 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11670 (eval $ac_link) 2>&5
11671 ac_status=$?
11672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11673 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11674 (./conftest; exit; ) >&5 2>/dev/null
11675 lt_status=$?
11676 case x$lt_status in
11677 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11678 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11679 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11680 esac
11681 else :
11682 # compilation failed
11683 lt_cv_dlopen_self=no
11686 rm -fr conftest*
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11691 $as_echo "$lt_cv_dlopen_self" >&6; }
11693 if test "x$lt_cv_dlopen_self" = xyes; then
11694 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11696 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11697 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11698 $as_echo_n "(cached) " >&6
11699 else
11700 if test "$cross_compiling" = yes; then :
11701 lt_cv_dlopen_self_static=cross
11702 else
11703 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11704 lt_status=$lt_dlunknown
11705 cat > conftest.$ac_ext <<_LT_EOF
11706 #line 11706 "configure"
11707 #include "confdefs.h"
11709 #if HAVE_DLFCN_H
11710 #include <dlfcn.h>
11711 #endif
11713 #include <stdio.h>
11715 #ifdef RTLD_GLOBAL
11716 # define LT_DLGLOBAL RTLD_GLOBAL
11717 #else
11718 # ifdef DL_GLOBAL
11719 # define LT_DLGLOBAL DL_GLOBAL
11720 # else
11721 # define LT_DLGLOBAL 0
11722 # endif
11723 #endif
11725 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11726 find out it does not work in some platform. */
11727 #ifndef LT_DLLAZY_OR_NOW
11728 # ifdef RTLD_LAZY
11729 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11730 # else
11731 # ifdef DL_LAZY
11732 # define LT_DLLAZY_OR_NOW DL_LAZY
11733 # else
11734 # ifdef RTLD_NOW
11735 # define LT_DLLAZY_OR_NOW RTLD_NOW
11736 # else
11737 # ifdef DL_NOW
11738 # define LT_DLLAZY_OR_NOW DL_NOW
11739 # else
11740 # define LT_DLLAZY_OR_NOW 0
11741 # endif
11742 # endif
11743 # endif
11744 # endif
11745 #endif
11747 /* When -fvisbility=hidden is used, assume the code has been annotated
11748 correspondingly for the symbols needed. */
11749 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11750 void fnord () __attribute__((visibility("default")));
11751 #endif
11753 void fnord () { int i=42; }
11754 int main ()
11756 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11757 int status = $lt_dlunknown;
11759 if (self)
11761 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11762 else
11764 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11765 else puts (dlerror ());
11767 /* dlclose (self); */
11769 else
11770 puts (dlerror ());
11772 return status;
11774 _LT_EOF
11775 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11776 (eval $ac_link) 2>&5
11777 ac_status=$?
11778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11779 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11780 (./conftest; exit; ) >&5 2>/dev/null
11781 lt_status=$?
11782 case x$lt_status in
11783 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11784 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11785 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11786 esac
11787 else :
11788 # compilation failed
11789 lt_cv_dlopen_self_static=no
11792 rm -fr conftest*
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11797 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11800 CPPFLAGS="$save_CPPFLAGS"
11801 LDFLAGS="$save_LDFLAGS"
11802 LIBS="$save_LIBS"
11804 esac
11806 case $lt_cv_dlopen_self in
11807 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11808 *) enable_dlopen_self=unknown ;;
11809 esac
11811 case $lt_cv_dlopen_self_static in
11812 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11813 *) enable_dlopen_self_static=unknown ;;
11814 esac
11833 striplib=
11834 old_striplib=
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11836 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11837 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11838 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11839 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11841 $as_echo "yes" >&6; }
11842 else
11843 # FIXME - insert some real tests, host_os isn't really good enough
11844 case $host_os in
11845 darwin*)
11846 if test -n "$STRIP" ; then
11847 striplib="$STRIP -x"
11848 old_striplib="$STRIP -S"
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11850 $as_echo "yes" >&6; }
11851 else
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11853 $as_echo "no" >&6; }
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11858 $as_echo "no" >&6; }
11860 esac
11874 # Report which library types will actually be built
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11876 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11878 $as_echo "$can_build_shared" >&6; }
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11881 $as_echo_n "checking whether to build shared libraries... " >&6; }
11882 test "$can_build_shared" = "no" && enable_shared=no
11884 # On AIX, shared libraries and static libraries use the same namespace, and
11885 # are all built from PIC.
11886 case $host_os in
11887 aix3*)
11888 test "$enable_shared" = yes && enable_static=no
11889 if test -n "$RANLIB"; then
11890 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11891 postinstall_cmds='$RANLIB $lib'
11895 aix[4-9]*)
11896 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11897 test "$enable_shared" = yes && enable_static=no
11900 esac
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11902 $as_echo "$enable_shared" >&6; }
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11905 $as_echo_n "checking whether to build static libraries... " >&6; }
11906 # Make sure either enable_shared or enable_static is yes.
11907 test "$enable_shared" = yes || enable_static=yes
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11909 $as_echo "$enable_static" >&6; }
11915 ac_ext=c
11916 ac_cpp='$CPP $CPPFLAGS'
11917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11921 CC="$lt_save_CC"
11923 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11924 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11925 (test "X$CXX" != "Xg++"))) ; then
11926 ac_ext=cpp
11927 ac_cpp='$CXXCPP $CPPFLAGS'
11928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11932 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11933 if test -z "$CXXCPP"; then
11934 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11935 $as_echo_n "(cached) " >&6
11936 else
11937 # Double quotes because CXXCPP needs to be expanded
11938 for CXXCPP in "$CXX -E" "/lib/cpp"
11940 ac_preproc_ok=false
11941 for ac_cxx_preproc_warn_flag in '' yes
11943 # Use a header file that comes with gcc, so configuring glibc
11944 # with a fresh cross-compiler works.
11945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11946 # <limits.h> exists even on freestanding compilers.
11947 # On the NeXT, cc -E runs the code through the compiler's parser,
11948 # not just through cpp. "Syntax error" is here to catch this case.
11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11951 #ifdef __STDC__
11952 # include <limits.h>
11953 #else
11954 # include <assert.h>
11955 #endif
11956 Syntax error
11957 _ACEOF
11958 if ac_fn_cxx_try_cpp "$LINENO"; then :
11960 else
11961 # Broken: fails on valid input.
11962 continue
11964 rm -f conftest.err conftest.$ac_ext
11966 # OK, works on sane cases. Now check whether nonexistent headers
11967 # can be detected and how.
11968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11969 /* end confdefs.h. */
11970 #include <ac_nonexistent.h>
11971 _ACEOF
11972 if ac_fn_cxx_try_cpp "$LINENO"; then :
11973 # Broken: success on invalid input.
11974 continue
11975 else
11976 # Passes both tests.
11977 ac_preproc_ok=:
11978 break
11980 rm -f conftest.err conftest.$ac_ext
11982 done
11983 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11984 rm -f conftest.err conftest.$ac_ext
11985 if $ac_preproc_ok; then :
11986 break
11989 done
11990 ac_cv_prog_CXXCPP=$CXXCPP
11993 CXXCPP=$ac_cv_prog_CXXCPP
11994 else
11995 ac_cv_prog_CXXCPP=$CXXCPP
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11998 $as_echo "$CXXCPP" >&6; }
11999 ac_preproc_ok=false
12000 for ac_cxx_preproc_warn_flag in '' yes
12002 # Use a header file that comes with gcc, so configuring glibc
12003 # with a fresh cross-compiler works.
12004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12005 # <limits.h> exists even on freestanding compilers.
12006 # On the NeXT, cc -E runs the code through the compiler's parser,
12007 # not just through cpp. "Syntax error" is here to catch this case.
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12010 #ifdef __STDC__
12011 # include <limits.h>
12012 #else
12013 # include <assert.h>
12014 #endif
12015 Syntax error
12016 _ACEOF
12017 if ac_fn_cxx_try_cpp "$LINENO"; then :
12019 else
12020 # Broken: fails on valid input.
12021 continue
12023 rm -f conftest.err conftest.$ac_ext
12025 # OK, works on sane cases. Now check whether nonexistent headers
12026 # can be detected and how.
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12029 #include <ac_nonexistent.h>
12030 _ACEOF
12031 if ac_fn_cxx_try_cpp "$LINENO"; then :
12032 # Broken: success on invalid input.
12033 continue
12034 else
12035 # Passes both tests.
12036 ac_preproc_ok=:
12037 break
12039 rm -f conftest.err conftest.$ac_ext
12041 done
12042 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12043 rm -f conftest.err conftest.$ac_ext
12044 if $ac_preproc_ok; then :
12046 else
12047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12049 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12050 See \`config.log' for more details." "$LINENO" 5; }
12053 ac_ext=c
12054 ac_cpp='$CPP $CPPFLAGS'
12055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12059 else
12060 _lt_caught_CXX_error=yes
12063 ac_ext=cpp
12064 ac_cpp='$CXXCPP $CPPFLAGS'
12065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12069 archive_cmds_need_lc_CXX=no
12070 allow_undefined_flag_CXX=
12071 always_export_symbols_CXX=no
12072 archive_expsym_cmds_CXX=
12073 compiler_needs_object_CXX=no
12074 export_dynamic_flag_spec_CXX=
12075 hardcode_direct_CXX=no
12076 hardcode_direct_absolute_CXX=no
12077 hardcode_libdir_flag_spec_CXX=
12078 hardcode_libdir_flag_spec_ld_CXX=
12079 hardcode_libdir_separator_CXX=
12080 hardcode_minus_L_CXX=no
12081 hardcode_shlibpath_var_CXX=unsupported
12082 hardcode_automatic_CXX=no
12083 inherit_rpath_CXX=no
12084 module_cmds_CXX=
12085 module_expsym_cmds_CXX=
12086 link_all_deplibs_CXX=unknown
12087 old_archive_cmds_CXX=$old_archive_cmds
12088 reload_flag_CXX=$reload_flag
12089 reload_cmds_CXX=$reload_cmds
12090 no_undefined_flag_CXX=
12091 whole_archive_flag_spec_CXX=
12092 enable_shared_with_static_runtimes_CXX=no
12094 # Source file extension for C++ test sources.
12095 ac_ext=cpp
12097 # Object file extension for compiled C++ test sources.
12098 objext=o
12099 objext_CXX=$objext
12101 # No sense in running all these tests if we already determined that
12102 # the CXX compiler isn't working. Some variables (like enable_shared)
12103 # are currently assumed to apply to all compilers on this platform,
12104 # and will be corrupted by setting them based on a non-working compiler.
12105 if test "$_lt_caught_CXX_error" != yes; then
12106 # Code to be used in simple compile tests
12107 lt_simple_compile_test_code="int some_variable = 0;"
12109 # Code to be used in simple link tests
12110 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12112 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12119 # If no C compiler was specified, use CC.
12120 LTCC=${LTCC-"$CC"}
12122 # If no C compiler flags were specified, use CFLAGS.
12123 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12125 # Allow CC to be a program name with arguments.
12126 compiler=$CC
12129 # save warnings/boilerplate of simple test code
12130 ac_outfile=conftest.$ac_objext
12131 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12132 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12133 _lt_compiler_boilerplate=`cat conftest.err`
12134 $RM conftest*
12136 ac_outfile=conftest.$ac_objext
12137 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12138 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12139 _lt_linker_boilerplate=`cat conftest.err`
12140 $RM -r conftest*
12143 # Allow CC to be a program name with arguments.
12144 lt_save_CC=$CC
12145 lt_save_LD=$LD
12146 lt_save_GCC=$GCC
12147 GCC=$GXX
12148 lt_save_with_gnu_ld=$with_gnu_ld
12149 lt_save_path_LD=$lt_cv_path_LD
12150 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12151 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12152 else
12153 $as_unset lt_cv_prog_gnu_ld
12155 if test -n "${lt_cv_path_LDCXX+set}"; then
12156 lt_cv_path_LD=$lt_cv_path_LDCXX
12157 else
12158 $as_unset lt_cv_path_LD
12160 test -z "${LDCXX+set}" || LD=$LDCXX
12161 CC=${CXX-"c++"}
12162 compiler=$CC
12163 compiler_CXX=$CC
12164 for cc_temp in $compiler""; do
12165 case $cc_temp in
12166 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12167 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12168 \-*) ;;
12169 *) break;;
12170 esac
12171 done
12172 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12175 if test -n "$compiler"; then
12176 # We don't want -fno-exception when compiling C++ code, so set the
12177 # no_builtin_flag separately
12178 if test "$GXX" = yes; then
12179 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12180 else
12181 lt_prog_compiler_no_builtin_flag_CXX=
12184 if test "$GXX" = yes; then
12185 # Set up default GNU C++ configuration
12189 # Check whether --with-gnu-ld was given.
12190 if test "${with_gnu_ld+set}" = set; then :
12191 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12192 else
12193 with_gnu_ld=no
12196 ac_prog=ld
12197 if test "$GCC" = yes; then
12198 # Check if gcc -print-prog-name=ld gives a path.
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12200 $as_echo_n "checking for ld used by $CC... " >&6; }
12201 case $host in
12202 *-*-mingw*)
12203 # gcc leaves a trailing carriage return which upsets mingw
12204 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12206 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12207 esac
12208 case $ac_prog in
12209 # Accept absolute paths.
12210 [\\/]* | ?:[\\/]*)
12211 re_direlt='/[^/][^/]*/\.\./'
12212 # Canonicalize the pathname of ld
12213 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12214 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12215 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12216 done
12217 test -z "$LD" && LD="$ac_prog"
12220 # If it fails, then pretend we aren't using GCC.
12221 ac_prog=ld
12224 # If it is relative, then search for the first ld in PATH.
12225 with_gnu_ld=unknown
12227 esac
12228 elif test "$with_gnu_ld" = yes; then
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12230 $as_echo_n "checking for GNU ld... " >&6; }
12231 else
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12233 $as_echo_n "checking for non-GNU ld... " >&6; }
12235 if test "${lt_cv_path_LD+set}" = set; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 if test -z "$LD"; then
12239 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12240 for ac_dir in $PATH; do
12241 IFS="$lt_save_ifs"
12242 test -z "$ac_dir" && ac_dir=.
12243 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12244 lt_cv_path_LD="$ac_dir/$ac_prog"
12245 # Check to see if the program is GNU ld. I'd rather use --version,
12246 # but apparently some variants of GNU ld only accept -v.
12247 # Break only if it was the GNU/non-GNU ld that we prefer.
12248 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12249 *GNU* | *'with BFD'*)
12250 test "$with_gnu_ld" != no && break
12253 test "$with_gnu_ld" != yes && break
12255 esac
12257 done
12258 IFS="$lt_save_ifs"
12259 else
12260 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12264 LD="$lt_cv_path_LD"
12265 if test -n "$LD"; then
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12267 $as_echo "$LD" >&6; }
12268 else
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12270 $as_echo "no" >&6; }
12272 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12274 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12275 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12276 $as_echo_n "(cached) " >&6
12277 else
12278 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12279 case `$LD -v 2>&1 </dev/null` in
12280 *GNU* | *'with BFD'*)
12281 lt_cv_prog_gnu_ld=yes
12284 lt_cv_prog_gnu_ld=no
12286 esac
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12289 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12290 with_gnu_ld=$lt_cv_prog_gnu_ld
12298 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12299 # archiving commands below assume that GNU ld is being used.
12300 if test "$with_gnu_ld" = yes; then
12301 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12302 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12304 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12305 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12307 # If archive_cmds runs LD, not CC, wlarc should be empty
12308 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12309 # investigate it a little bit more. (MM)
12310 wlarc='${wl}'
12312 # ancient GNU ld didn't support --whole-archive et. al.
12313 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12314 $GREP 'no-whole-archive' > /dev/null; then
12315 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12316 else
12317 whole_archive_flag_spec_CXX=
12319 else
12320 with_gnu_ld=no
12321 wlarc=
12323 # A generic and very simple default shared library creation
12324 # command for GNU C++ for the case where it uses the native
12325 # linker, instead of GNU ld. If possible, this setting should
12326 # overridden to take advantage of the native linker features on
12327 # the platform it is being used on.
12328 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12331 # Commands to make compiler produce verbose output that lists
12332 # what "hidden" libraries, object files and flags are used when
12333 # linking a shared library.
12334 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12336 else
12337 GXX=no
12338 with_gnu_ld=no
12339 wlarc=
12342 # PORTME: fill in a description of your system's C++ link characteristics
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12344 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12345 ld_shlibs_CXX=yes
12346 case $host_os in
12347 aix3*)
12348 # FIXME: insert proper C++ library support
12349 ld_shlibs_CXX=no
12351 aix[4-9]*)
12352 if test "$host_cpu" = ia64; then
12353 # On IA64, the linker does run time linking by default, so we don't
12354 # have to do anything special.
12355 aix_use_runtimelinking=no
12356 exp_sym_flag='-Bexport'
12357 no_entry_flag=""
12358 else
12359 aix_use_runtimelinking=no
12361 # Test if we are trying to use run time linking or normal
12362 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12363 # need to do runtime linking.
12364 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12365 for ld_flag in $LDFLAGS; do
12366 case $ld_flag in
12367 *-brtl*)
12368 aix_use_runtimelinking=yes
12369 break
12371 esac
12372 done
12374 esac
12376 exp_sym_flag='-bexport'
12377 no_entry_flag='-bnoentry'
12380 # When large executables or shared objects are built, AIX ld can
12381 # have problems creating the table of contents. If linking a library
12382 # or program results in "error TOC overflow" add -mminimal-toc to
12383 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12384 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12386 archive_cmds_CXX=''
12387 hardcode_direct_CXX=yes
12388 hardcode_direct_absolute_CXX=yes
12389 hardcode_libdir_separator_CXX=':'
12390 link_all_deplibs_CXX=yes
12391 file_list_spec_CXX='${wl}-f,'
12393 if test "$GXX" = yes; then
12394 case $host_os in aix4.[012]|aix4.[012].*)
12395 # We only want to do this on AIX 4.2 and lower, the check
12396 # below for broken collect2 doesn't work under 4.3+
12397 collect2name=`${CC} -print-prog-name=collect2`
12398 if test -f "$collect2name" &&
12399 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12400 then
12401 # We have reworked collect2
12403 else
12404 # We have old collect2
12405 hardcode_direct_CXX=unsupported
12406 # It fails to find uninstalled libraries when the uninstalled
12407 # path is not listed in the libpath. Setting hardcode_minus_L
12408 # to unsupported forces relinking
12409 hardcode_minus_L_CXX=yes
12410 hardcode_libdir_flag_spec_CXX='-L$libdir'
12411 hardcode_libdir_separator_CXX=
12413 esac
12414 shared_flag='-shared'
12415 if test "$aix_use_runtimelinking" = yes; then
12416 shared_flag="$shared_flag "'${wl}-G'
12418 else
12419 # not using gcc
12420 if test "$host_cpu" = ia64; then
12421 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12422 # chokes on -Wl,-G. The following line is correct:
12423 shared_flag='-G'
12424 else
12425 if test "$aix_use_runtimelinking" = yes; then
12426 shared_flag='${wl}-G'
12427 else
12428 shared_flag='${wl}-bM:SRE'
12433 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12434 # It seems that -bexpall does not export symbols beginning with
12435 # underscore (_), so it is better to generate a list of symbols to
12436 # export.
12437 always_export_symbols_CXX=yes
12438 if test "$aix_use_runtimelinking" = yes; then
12439 # Warning - without using the other runtime loading flags (-brtl),
12440 # -berok will link without error, but may produce a broken library.
12441 allow_undefined_flag_CXX='-berok'
12442 # Determine the default libpath from the value encoded in an empty
12443 # executable.
12444 if test x$gcc_no_link = xyes; then
12445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12451 main ()
12455 return 0;
12457 _ACEOF
12458 if ac_fn_cxx_try_link "$LINENO"; then :
12460 lt_aix_libpath_sed='
12461 /Import File Strings/,/^$/ {
12462 /^0/ {
12463 s/^0 *\(.*\)$/\1/
12467 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12468 # Check for a 64-bit object if we didn't find anything.
12469 if test -z "$aix_libpath"; then
12470 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12473 rm -f core conftest.err conftest.$ac_objext \
12474 conftest$ac_exeext conftest.$ac_ext
12475 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12477 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12479 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12480 else
12481 if test "$host_cpu" = ia64; then
12482 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12483 allow_undefined_flag_CXX="-z nodefs"
12484 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12485 else
12486 # Determine the default libpath from the value encoded in an
12487 # empty executable.
12488 if test x$gcc_no_link = xyes; then
12489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12495 main ()
12499 return 0;
12501 _ACEOF
12502 if ac_fn_cxx_try_link "$LINENO"; then :
12504 lt_aix_libpath_sed='
12505 /Import File Strings/,/^$/ {
12506 /^0/ {
12507 s/^0 *\(.*\)$/\1/
12511 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12512 # Check for a 64-bit object if we didn't find anything.
12513 if test -z "$aix_libpath"; then
12514 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12517 rm -f core conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12521 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12522 # Warning - without using the other run time loading flags,
12523 # -berok will link without error, but may produce a broken library.
12524 no_undefined_flag_CXX=' ${wl}-bernotok'
12525 allow_undefined_flag_CXX=' ${wl}-berok'
12526 if test "$with_gnu_ld" = yes; then
12527 # We only use this code for GNU lds that support --whole-archive.
12528 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12529 else
12530 # Exported symbols can be pulled into shared objects from archives
12531 whole_archive_flag_spec_CXX='$convenience'
12533 archive_cmds_need_lc_CXX=yes
12534 # This is similar to how AIX traditionally builds its shared
12535 # libraries.
12536 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12541 beos*)
12542 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12543 allow_undefined_flag_CXX=unsupported
12544 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12545 # support --undefined. This deserves some investigation. FIXME
12546 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12547 else
12548 ld_shlibs_CXX=no
12552 chorus*)
12553 case $cc_basename in
12555 # FIXME: insert proper C++ library support
12556 ld_shlibs_CXX=no
12558 esac
12561 cygwin* | mingw* | pw32* | cegcc*)
12562 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12563 # as there is no search path for DLLs.
12564 hardcode_libdir_flag_spec_CXX='-L$libdir'
12565 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12566 allow_undefined_flag_CXX=unsupported
12567 always_export_symbols_CXX=no
12568 enable_shared_with_static_runtimes_CXX=yes
12570 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12571 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12572 # If the export-symbols file already is a .def file (1st line
12573 # is EXPORTS), use it as is; otherwise, prepend...
12574 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12575 cp $export_symbols $output_objdir/$soname.def;
12576 else
12577 echo EXPORTS > $output_objdir/$soname.def;
12578 cat $export_symbols >> $output_objdir/$soname.def;
12580 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12581 else
12582 ld_shlibs_CXX=no
12585 darwin* | rhapsody*)
12588 archive_cmds_need_lc_CXX=no
12589 hardcode_direct_CXX=no
12590 hardcode_automatic_CXX=yes
12591 hardcode_shlibpath_var_CXX=unsupported
12592 if test "$lt_cv_ld_force_load" = "yes"; then
12593 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12594 else
12595 whole_archive_flag_spec_CXX=''
12597 link_all_deplibs_CXX=yes
12598 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12599 case $cc_basename in
12600 ifort*) _lt_dar_can_shared=yes ;;
12601 *) _lt_dar_can_shared=$GCC ;;
12602 esac
12603 if test "$_lt_dar_can_shared" = "yes"; then
12604 output_verbose_link_cmd=func_echo_all
12605 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12606 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12607 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12608 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12609 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12610 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12611 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12614 else
12615 ld_shlibs_CXX=no
12620 dgux*)
12621 case $cc_basename in
12622 ec++*)
12623 # FIXME: insert proper C++ library support
12624 ld_shlibs_CXX=no
12626 ghcx*)
12627 # Green Hills C++ Compiler
12628 # FIXME: insert proper C++ library support
12629 ld_shlibs_CXX=no
12632 # FIXME: insert proper C++ library support
12633 ld_shlibs_CXX=no
12635 esac
12638 freebsd2.*)
12639 # C++ shared libraries reported to be fairly broken before
12640 # switch to ELF
12641 ld_shlibs_CXX=no
12644 freebsd-elf*)
12645 archive_cmds_need_lc_CXX=no
12648 freebsd* | dragonfly*)
12649 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12650 # conventions
12651 ld_shlibs_CXX=yes
12654 gnu*)
12657 haiku*)
12658 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12659 link_all_deplibs_CXX=yes
12662 hpux9*)
12663 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12664 hardcode_libdir_separator_CXX=:
12665 export_dynamic_flag_spec_CXX='${wl}-E'
12666 hardcode_direct_CXX=yes
12667 hardcode_minus_L_CXX=yes # Not in the search PATH,
12668 # but as the default
12669 # location of the library.
12671 case $cc_basename in
12672 CC*)
12673 # FIXME: insert proper C++ library support
12674 ld_shlibs_CXX=no
12676 aCC*)
12677 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12678 # Commands to make compiler produce verbose output that lists
12679 # what "hidden" libraries, object files and flags are used when
12680 # linking a shared library.
12682 # There doesn't appear to be a way to prevent this compiler from
12683 # explicitly linking system object files so we need to strip them
12684 # from the output so that they don't get included in the library
12685 # dependencies.
12686 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12689 if test "$GXX" = yes; then
12690 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12691 else
12692 # FIXME: insert proper C++ library support
12693 ld_shlibs_CXX=no
12696 esac
12699 hpux10*|hpux11*)
12700 if test $with_gnu_ld = no; then
12701 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12702 hardcode_libdir_separator_CXX=:
12704 case $host_cpu in
12705 hppa*64*|ia64*)
12708 export_dynamic_flag_spec_CXX='${wl}-E'
12710 esac
12712 case $host_cpu in
12713 hppa*64*|ia64*)
12714 hardcode_direct_CXX=no
12715 hardcode_shlibpath_var_CXX=no
12718 hardcode_direct_CXX=yes
12719 hardcode_direct_absolute_CXX=yes
12720 hardcode_minus_L_CXX=yes # Not in the search PATH,
12721 # but as the default
12722 # location of the library.
12724 esac
12726 case $cc_basename in
12727 CC*)
12728 # FIXME: insert proper C++ library support
12729 ld_shlibs_CXX=no
12731 aCC*)
12732 case $host_cpu in
12733 hppa*64*)
12734 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12736 ia64*)
12737 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12740 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12742 esac
12743 # Commands to make compiler produce verbose output that lists
12744 # what "hidden" libraries, object files and flags are used when
12745 # linking a shared library.
12747 # There doesn't appear to be a way to prevent this compiler from
12748 # explicitly linking system object files so we need to strip them
12749 # from the output so that they don't get included in the library
12750 # dependencies.
12751 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12754 if test "$GXX" = yes; then
12755 if test $with_gnu_ld = no; then
12756 case $host_cpu in
12757 hppa*64*)
12758 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12760 ia64*)
12761 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12764 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12766 esac
12768 else
12769 # FIXME: insert proper C++ library support
12770 ld_shlibs_CXX=no
12773 esac
12776 interix[3-9]*)
12777 hardcode_direct_CXX=no
12778 hardcode_shlibpath_var_CXX=no
12779 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12780 export_dynamic_flag_spec_CXX='${wl}-E'
12781 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12782 # Instead, shared libraries are loaded at an image base (0x10000000 by
12783 # default) and relocated if they conflict, which is a slow very memory
12784 # consuming and fragmenting process. To avoid this, we pick a random,
12785 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12786 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12787 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12788 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12790 irix5* | irix6*)
12791 case $cc_basename in
12792 CC*)
12793 # SGI C++
12794 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12796 # Archives containing C++ object files must be created using
12797 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12798 # necessary to make sure instantiated templates are included
12799 # in the archive.
12800 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12803 if test "$GXX" = yes; then
12804 if test "$with_gnu_ld" = no; then
12805 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12806 else
12807 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12810 link_all_deplibs_CXX=yes
12812 esac
12813 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12814 hardcode_libdir_separator_CXX=:
12815 inherit_rpath_CXX=yes
12818 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12819 case $cc_basename in
12820 KCC*)
12821 # Kuck and Associates, Inc. (KAI) C++ Compiler
12823 # KCC will only create a shared library if the output file
12824 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12825 # to its proper name (with version) after linking.
12826 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12827 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12828 # Commands to make compiler produce verbose output that lists
12829 # what "hidden" libraries, object files and flags are used when
12830 # linking a shared library.
12832 # There doesn't appear to be a way to prevent this compiler from
12833 # explicitly linking system object files so we need to strip them
12834 # from the output so that they don't get included in the library
12835 # dependencies.
12836 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12838 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12839 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841 # Archives containing C++ object files must be created using
12842 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12843 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12845 icpc* | ecpc* )
12846 # Intel C++
12847 with_gnu_ld=yes
12848 # version 8.0 and above of icpc choke on multiply defined symbols
12849 # if we add $predep_objects and $postdep_objects, however 7.1 and
12850 # earlier do not add the objects themselves.
12851 case `$CC -V 2>&1` in
12852 *"Version 7."*)
12853 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12854 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12856 *) # Version 8.0 or newer
12857 tmp_idyn=
12858 case $host_cpu in
12859 ia64*) tmp_idyn=' -i_dynamic';;
12860 esac
12861 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12862 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12864 esac
12865 archive_cmds_need_lc_CXX=no
12866 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12867 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12868 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12870 pgCC* | pgcpp*)
12871 # Portland Group C++ compiler
12872 case `$CC -V` in
12873 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12874 prelink_cmds_CXX='tpldir=Template.dir~
12875 rm -rf $tpldir~
12876 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12877 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12878 old_archive_cmds_CXX='tpldir=Template.dir~
12879 rm -rf $tpldir~
12880 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12881 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12882 $RANLIB $oldlib'
12883 archive_cmds_CXX='tpldir=Template.dir~
12884 rm -rf $tpldir~
12885 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12886 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12887 archive_expsym_cmds_CXX='tpldir=Template.dir~
12888 rm -rf $tpldir~
12889 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12890 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12892 *) # Version 6 and above use weak symbols
12893 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12894 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12896 esac
12898 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12899 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12900 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12902 cxx*)
12903 # Compaq C++
12904 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12905 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12907 runpath_var=LD_RUN_PATH
12908 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12909 hardcode_libdir_separator_CXX=:
12911 # Commands to make compiler produce verbose output that lists
12912 # what "hidden" libraries, object files and flags are used when
12913 # linking a shared library.
12915 # There doesn't appear to be a way to prevent this compiler from
12916 # explicitly linking system object files so we need to strip them
12917 # from the output so that they don't get included in the library
12918 # dependencies.
12919 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12921 xl* | mpixl* | bgxl*)
12922 # IBM XL 8.0 on PPC, with GNU ld
12923 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12924 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12925 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12926 if test "x$supports_anon_versioning" = xyes; then
12927 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12928 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12929 echo "local: *; };" >> $output_objdir/$libname.ver~
12930 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12934 case `$CC -V 2>&1 | sed 5q` in
12935 *Sun\ C*)
12936 # Sun C++ 5.9
12937 no_undefined_flag_CXX=' -zdefs'
12938 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12939 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12940 hardcode_libdir_flag_spec_CXX='-R$libdir'
12941 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12942 compiler_needs_object_CXX=yes
12944 # Not sure whether something based on
12945 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12946 # would be better.
12947 output_verbose_link_cmd='func_echo_all'
12949 # Archives containing C++ object files must be created using
12950 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12951 # necessary to make sure instantiated templates are included
12952 # in the archive.
12953 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12955 esac
12957 esac
12960 lynxos*)
12961 # FIXME: insert proper C++ library support
12962 ld_shlibs_CXX=no
12965 m88k*)
12966 # FIXME: insert proper C++ library support
12967 ld_shlibs_CXX=no
12970 mvs*)
12971 case $cc_basename in
12972 cxx*)
12973 # FIXME: insert proper C++ library support
12974 ld_shlibs_CXX=no
12977 # FIXME: insert proper C++ library support
12978 ld_shlibs_CXX=no
12980 esac
12983 netbsd*)
12984 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12985 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12986 wlarc=
12987 hardcode_libdir_flag_spec_CXX='-R$libdir'
12988 hardcode_direct_CXX=yes
12989 hardcode_shlibpath_var_CXX=no
12991 # Workaround some broken pre-1.5 toolchains
12992 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12995 *nto* | *qnx*)
12996 ld_shlibs_CXX=yes
12999 openbsd2*)
13000 # C++ shared libraries are fairly broken
13001 ld_shlibs_CXX=no
13004 openbsd*)
13005 if test -f /usr/libexec/ld.so; then
13006 hardcode_direct_CXX=yes
13007 hardcode_shlibpath_var_CXX=no
13008 hardcode_direct_absolute_CXX=yes
13009 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13010 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13011 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13012 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13013 export_dynamic_flag_spec_CXX='${wl}-E'
13014 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13016 output_verbose_link_cmd=func_echo_all
13017 else
13018 ld_shlibs_CXX=no
13022 osf3* | osf4* | osf5*)
13023 case $cc_basename in
13024 KCC*)
13025 # Kuck and Associates, Inc. (KAI) C++ Compiler
13027 # KCC will only create a shared library if the output file
13028 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13029 # to its proper name (with version) after linking.
13030 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13032 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13033 hardcode_libdir_separator_CXX=:
13035 # Archives containing C++ object files must be created using
13036 # the KAI C++ compiler.
13037 case $host in
13038 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13039 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13040 esac
13042 RCC*)
13043 # Rational C++ 2.4.1
13044 # FIXME: insert proper C++ library support
13045 ld_shlibs_CXX=no
13047 cxx*)
13048 case $host in
13049 osf3*)
13050 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13051 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13052 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13055 allow_undefined_flag_CXX=' -expect_unresolved \*'
13056 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13057 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13058 echo "-hidden">> $lib.exp~
13059 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13060 $RM $lib.exp'
13061 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13063 esac
13065 hardcode_libdir_separator_CXX=:
13067 # Commands to make compiler produce verbose output that lists
13068 # what "hidden" libraries, object files and flags are used when
13069 # linking a shared library.
13071 # There doesn't appear to be a way to prevent this compiler from
13072 # explicitly linking system object files so we need to strip them
13073 # from the output so that they don't get included in the library
13074 # dependencies.
13075 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13078 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13079 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13080 case $host in
13081 osf3*)
13082 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13085 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13087 esac
13089 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13090 hardcode_libdir_separator_CXX=:
13092 # Commands to make compiler produce verbose output that lists
13093 # what "hidden" libraries, object files and flags are used when
13094 # linking a shared library.
13095 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13097 else
13098 # FIXME: insert proper C++ library support
13099 ld_shlibs_CXX=no
13102 esac
13105 psos*)
13106 # FIXME: insert proper C++ library support
13107 ld_shlibs_CXX=no
13110 sunos4*)
13111 case $cc_basename in
13112 CC*)
13113 # Sun C++ 4.x
13114 # FIXME: insert proper C++ library support
13115 ld_shlibs_CXX=no
13117 lcc*)
13118 # Lucid
13119 # FIXME: insert proper C++ library support
13120 ld_shlibs_CXX=no
13123 # FIXME: insert proper C++ library support
13124 ld_shlibs_CXX=no
13126 esac
13129 solaris*)
13130 case $cc_basename in
13131 CC*)
13132 # Sun C++ 4.2, 5.x and Centerline C++
13133 archive_cmds_need_lc_CXX=yes
13134 no_undefined_flag_CXX=' -zdefs'
13135 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13136 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13137 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13139 hardcode_libdir_flag_spec_CXX='-R$libdir'
13140 hardcode_shlibpath_var_CXX=no
13141 case $host_os in
13142 solaris2.[0-5] | solaris2.[0-5].*) ;;
13144 # The compiler driver will combine and reorder linker options,
13145 # but understands `-z linker_flag'.
13146 # Supported since Solaris 2.6 (maybe 2.5.1?)
13147 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13149 esac
13150 link_all_deplibs_CXX=yes
13152 output_verbose_link_cmd='func_echo_all'
13154 # Archives containing C++ object files must be created using
13155 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13156 # necessary to make sure instantiated templates are included
13157 # in the archive.
13158 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13160 gcx*)
13161 # Green Hills C++ Compiler
13162 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13164 # The C++ compiler must be used to create the archive.
13165 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13168 # GNU C++ compiler with Solaris linker
13169 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13170 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13171 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13172 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13173 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13174 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13176 # Commands to make compiler produce verbose output that lists
13177 # what "hidden" libraries, object files and flags are used when
13178 # linking a shared library.
13179 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13180 else
13181 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13182 # platform.
13183 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13184 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13185 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13187 # Commands to make compiler produce verbose output that lists
13188 # what "hidden" libraries, object files and flags are used when
13189 # linking a shared library.
13190 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13193 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13194 case $host_os in
13195 solaris2.[0-5] | solaris2.[0-5].*) ;;
13197 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13199 esac
13202 esac
13205 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13206 no_undefined_flag_CXX='${wl}-z,text'
13207 archive_cmds_need_lc_CXX=no
13208 hardcode_shlibpath_var_CXX=no
13209 runpath_var='LD_RUN_PATH'
13211 case $cc_basename in
13212 CC*)
13213 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13214 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13217 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13218 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13220 esac
13223 sysv5* | sco3.2v5* | sco5v6*)
13224 # Note: We can NOT use -z defs as we might desire, because we do not
13225 # link with -lc, and that would cause any symbols used from libc to
13226 # always be unresolved, which means just about no library would
13227 # ever link correctly. If we're not using GNU ld we use -z text
13228 # though, which does catch some bad symbols but isn't as heavy-handed
13229 # as -z defs.
13230 no_undefined_flag_CXX='${wl}-z,text'
13231 allow_undefined_flag_CXX='${wl}-z,nodefs'
13232 archive_cmds_need_lc_CXX=no
13233 hardcode_shlibpath_var_CXX=no
13234 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13235 hardcode_libdir_separator_CXX=':'
13236 link_all_deplibs_CXX=yes
13237 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13238 runpath_var='LD_RUN_PATH'
13240 case $cc_basename in
13241 CC*)
13242 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13243 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13244 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13245 '"$old_archive_cmds_CXX"
13246 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13247 '"$reload_cmds_CXX"
13250 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13251 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253 esac
13256 tandem*)
13257 case $cc_basename in
13258 NCC*)
13259 # NonStop-UX NCC 3.20
13260 # FIXME: insert proper C++ library support
13261 ld_shlibs_CXX=no
13264 # FIXME: insert proper C++ library support
13265 ld_shlibs_CXX=no
13267 esac
13270 vxworks*)
13271 # FIXME: insert proper C++ library support
13272 ld_shlibs_CXX=no
13276 # FIXME: insert proper C++ library support
13277 ld_shlibs_CXX=no
13279 esac
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13282 $as_echo "$ld_shlibs_CXX" >&6; }
13283 test "$ld_shlibs_CXX" = no && can_build_shared=no
13285 GCC_CXX="$GXX"
13286 LD_CXX="$LD"
13288 ## CAVEAT EMPTOR:
13289 ## There is no encapsulation within the following macros, do not change
13290 ## the running order or otherwise move them around unless you know exactly
13291 ## what you are doing...
13292 # Dependencies to place before and after the object being linked:
13293 predep_objects_CXX=
13294 postdep_objects_CXX=
13295 predeps_CXX=
13296 postdeps_CXX=
13297 compiler_lib_search_path_CXX=
13299 cat > conftest.$ac_ext <<_LT_EOF
13300 class Foo
13302 public:
13303 Foo (void) { a = 0; }
13304 private:
13305 int a;
13307 _LT_EOF
13309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13310 (eval $ac_compile) 2>&5
13311 ac_status=$?
13312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13313 test $ac_status = 0; }; then
13314 # Parse the compiler output and extract the necessary
13315 # objects, libraries and library flags.
13317 # Sentinel used to keep track of whether or not we are before
13318 # the conftest object file.
13319 pre_test_object_deps_done=no
13321 for p in `eval "$output_verbose_link_cmd"`; do
13322 case $p in
13324 -L* | -R* | -l*)
13325 # Some compilers place space between "-{L,R}" and the path.
13326 # Remove the space.
13327 if test $p = "-L" ||
13328 test $p = "-R"; then
13329 prev=$p
13330 continue
13331 else
13332 prev=
13335 if test "$pre_test_object_deps_done" = no; then
13336 case $p in
13337 -L* | -R*)
13338 # Internal compiler library paths should come after those
13339 # provided the user. The postdeps already come after the
13340 # user supplied libs so there is no need to process them.
13341 if test -z "$compiler_lib_search_path_CXX"; then
13342 compiler_lib_search_path_CXX="${prev}${p}"
13343 else
13344 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13347 # The "-l" case would never come before the object being
13348 # linked, so don't bother handling this case.
13349 esac
13350 else
13351 if test -z "$postdeps_CXX"; then
13352 postdeps_CXX="${prev}${p}"
13353 else
13354 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13359 *.$objext)
13360 # This assumes that the test object file only shows up
13361 # once in the compiler output.
13362 if test "$p" = "conftest.$objext"; then
13363 pre_test_object_deps_done=yes
13364 continue
13367 if test "$pre_test_object_deps_done" = no; then
13368 if test -z "$predep_objects_CXX"; then
13369 predep_objects_CXX="$p"
13370 else
13371 predep_objects_CXX="$predep_objects_CXX $p"
13373 else
13374 if test -z "$postdep_objects_CXX"; then
13375 postdep_objects_CXX="$p"
13376 else
13377 postdep_objects_CXX="$postdep_objects_CXX $p"
13382 *) ;; # Ignore the rest.
13384 esac
13385 done
13387 # Clean up.
13388 rm -f a.out a.exe
13389 else
13390 echo "libtool.m4: error: problem compiling CXX test program"
13393 $RM -f confest.$objext
13395 # PORTME: override above test on systems where it is broken
13396 case $host_os in
13397 interix[3-9]*)
13398 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13399 # hack all around it, let's just trust "g++" to DTRT.
13400 predep_objects_CXX=
13401 postdep_objects_CXX=
13402 postdeps_CXX=
13405 linux*)
13406 case `$CC -V 2>&1 | sed 5q` in
13407 *Sun\ C*)
13408 # Sun C++ 5.9
13410 # The more standards-conforming stlport4 library is
13411 # incompatible with the Cstd library. Avoid specifying
13412 # it if it's in CXXFLAGS. Ignore libCrun as
13413 # -library=stlport4 depends on it.
13414 case " $CXX $CXXFLAGS " in
13415 *" -library=stlport4 "*)
13416 solaris_use_stlport4=yes
13418 esac
13420 if test "$solaris_use_stlport4" != yes; then
13421 postdeps_CXX='-library=Cstd -library=Crun'
13424 esac
13427 solaris*)
13428 case $cc_basename in
13429 CC*)
13430 # The more standards-conforming stlport4 library is
13431 # incompatible with the Cstd library. Avoid specifying
13432 # it if it's in CXXFLAGS. Ignore libCrun as
13433 # -library=stlport4 depends on it.
13434 case " $CXX $CXXFLAGS " in
13435 *" -library=stlport4 "*)
13436 solaris_use_stlport4=yes
13438 esac
13440 # Adding this requires a known-good setup of shared libraries for
13441 # Sun compiler versions before 5.6, else PIC objects from an old
13442 # archive will be linked into the output, leading to subtle bugs.
13443 if test "$solaris_use_stlport4" != yes; then
13444 postdeps_CXX='-library=Cstd -library=Crun'
13447 esac
13449 esac
13452 case " $postdeps_CXX " in
13453 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13454 esac
13455 compiler_lib_search_dirs_CXX=
13456 if test -n "${compiler_lib_search_path_CXX}"; then
13457 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13490 lt_prog_compiler_wl_CXX=
13491 lt_prog_compiler_pic_CXX=
13492 lt_prog_compiler_static_CXX=
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13495 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13497 # C++ specific cases for pic, static, wl, etc.
13498 if test "$GXX" = yes; then
13499 lt_prog_compiler_wl_CXX='-Wl,'
13500 lt_prog_compiler_static_CXX='-static'
13502 case $host_os in
13503 aix*)
13504 # All AIX code is PIC.
13505 if test "$host_cpu" = ia64; then
13506 # AIX 5 now supports IA64 processor
13507 lt_prog_compiler_static_CXX='-Bstatic'
13509 lt_prog_compiler_pic_CXX='-fPIC'
13512 amigaos*)
13513 case $host_cpu in
13514 powerpc)
13515 # see comment about AmigaOS4 .so support
13516 lt_prog_compiler_pic_CXX='-fPIC'
13518 m68k)
13519 # FIXME: we need at least 68020 code to build shared libraries, but
13520 # adding the `-m68020' flag to GCC prevents building anything better,
13521 # like `-m68040'.
13522 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13524 esac
13527 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13528 # PIC is the default for these OSes.
13530 mingw* | cygwin* | os2* | pw32* | cegcc*)
13531 # This hack is so that the source file can tell whether it is being
13532 # built for inclusion in a dll (and should export symbols for example).
13533 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13534 # (--disable-auto-import) libraries
13535 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13537 darwin* | rhapsody*)
13538 # PIC is the default on this platform
13539 # Common symbols not allowed in MH_DYLIB files
13540 lt_prog_compiler_pic_CXX='-fno-common'
13542 *djgpp*)
13543 # DJGPP does not support shared libraries at all
13544 lt_prog_compiler_pic_CXX=
13546 haiku*)
13547 # PIC is the default for Haiku.
13548 # The "-static" flag exists, but is broken.
13549 lt_prog_compiler_static_CXX=
13551 interix[3-9]*)
13552 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13553 # Instead, we relocate shared libraries at runtime.
13555 sysv4*MP*)
13556 if test -d /usr/nec; then
13557 lt_prog_compiler_pic_CXX=-Kconform_pic
13560 hpux*)
13561 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13562 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13563 # sets the default TLS model and affects inlining.
13564 case $host_cpu in
13565 hppa*64*)
13568 lt_prog_compiler_pic_CXX='-fPIC'
13570 esac
13572 *qnx* | *nto*)
13573 # QNX uses GNU C++, but need to define -shared option too, otherwise
13574 # it will coredump.
13575 lt_prog_compiler_pic_CXX='-fPIC -shared'
13578 lt_prog_compiler_pic_CXX='-fPIC'
13580 esac
13581 else
13582 case $host_os in
13583 aix[4-9]*)
13584 # All AIX code is PIC.
13585 if test "$host_cpu" = ia64; then
13586 # AIX 5 now supports IA64 processor
13587 lt_prog_compiler_static_CXX='-Bstatic'
13588 else
13589 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13592 chorus*)
13593 case $cc_basename in
13594 cxch68*)
13595 # Green Hills C++ Compiler
13596 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13598 esac
13600 dgux*)
13601 case $cc_basename in
13602 ec++*)
13603 lt_prog_compiler_pic_CXX='-KPIC'
13605 ghcx*)
13606 # Green Hills C++ Compiler
13607 lt_prog_compiler_pic_CXX='-pic'
13611 esac
13613 freebsd* | dragonfly*)
13614 # FreeBSD uses GNU C++
13616 hpux9* | hpux10* | hpux11*)
13617 case $cc_basename in
13618 CC*)
13619 lt_prog_compiler_wl_CXX='-Wl,'
13620 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13621 if test "$host_cpu" != ia64; then
13622 lt_prog_compiler_pic_CXX='+Z'
13625 aCC*)
13626 lt_prog_compiler_wl_CXX='-Wl,'
13627 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13628 case $host_cpu in
13629 hppa*64*|ia64*)
13630 # +Z the default
13633 lt_prog_compiler_pic_CXX='+Z'
13635 esac
13639 esac
13641 interix*)
13642 # This is c89, which is MS Visual C++ (no shared libs)
13643 # Anyone wants to do a port?
13645 irix5* | irix6* | nonstopux*)
13646 case $cc_basename in
13647 CC*)
13648 lt_prog_compiler_wl_CXX='-Wl,'
13649 lt_prog_compiler_static_CXX='-non_shared'
13650 # CC pic flag -KPIC is the default.
13654 esac
13656 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13657 case $cc_basename in
13658 KCC*)
13659 # KAI C++ Compiler
13660 lt_prog_compiler_wl_CXX='--backend -Wl,'
13661 lt_prog_compiler_pic_CXX='-fPIC'
13663 ecpc* )
13664 # old Intel C++ for x86_64 which still supported -KPIC.
13665 lt_prog_compiler_wl_CXX='-Wl,'
13666 lt_prog_compiler_pic_CXX='-KPIC'
13667 lt_prog_compiler_static_CXX='-static'
13669 icpc* )
13670 # Intel C++, used to be incompatible with GCC.
13671 # ICC 10 doesn't accept -KPIC any more.
13672 lt_prog_compiler_wl_CXX='-Wl,'
13673 lt_prog_compiler_pic_CXX='-fPIC'
13674 lt_prog_compiler_static_CXX='-static'
13676 pgCC* | pgcpp*)
13677 # Portland Group C++ compiler
13678 lt_prog_compiler_wl_CXX='-Wl,'
13679 lt_prog_compiler_pic_CXX='-fpic'
13680 lt_prog_compiler_static_CXX='-Bstatic'
13682 cxx*)
13683 # Compaq C++
13684 # Make sure the PIC flag is empty. It appears that all Alpha
13685 # Linux and Compaq Tru64 Unix objects are PIC.
13686 lt_prog_compiler_pic_CXX=
13687 lt_prog_compiler_static_CXX='-non_shared'
13689 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13690 # IBM XL 8.0, 9.0 on PPC and BlueGene
13691 lt_prog_compiler_wl_CXX='-Wl,'
13692 lt_prog_compiler_pic_CXX='-qpic'
13693 lt_prog_compiler_static_CXX='-qstaticlink'
13696 case `$CC -V 2>&1 | sed 5q` in
13697 *Sun\ C*)
13698 # Sun C++ 5.9
13699 lt_prog_compiler_pic_CXX='-KPIC'
13700 lt_prog_compiler_static_CXX='-Bstatic'
13701 lt_prog_compiler_wl_CXX='-Qoption ld '
13703 esac
13705 esac
13707 lynxos*)
13709 m88k*)
13711 mvs*)
13712 case $cc_basename in
13713 cxx*)
13714 lt_prog_compiler_pic_CXX='-W c,exportall'
13718 esac
13720 netbsd*)
13722 *qnx* | *nto*)
13723 # QNX uses GNU C++, but need to define -shared option too, otherwise
13724 # it will coredump.
13725 lt_prog_compiler_pic_CXX='-fPIC -shared'
13727 osf3* | osf4* | osf5*)
13728 case $cc_basename in
13729 KCC*)
13730 lt_prog_compiler_wl_CXX='--backend -Wl,'
13732 RCC*)
13733 # Rational C++ 2.4.1
13734 lt_prog_compiler_pic_CXX='-pic'
13736 cxx*)
13737 # Digital/Compaq C++
13738 lt_prog_compiler_wl_CXX='-Wl,'
13739 # Make sure the PIC flag is empty. It appears that all Alpha
13740 # Linux and Compaq Tru64 Unix objects are PIC.
13741 lt_prog_compiler_pic_CXX=
13742 lt_prog_compiler_static_CXX='-non_shared'
13746 esac
13748 psos*)
13750 solaris*)
13751 case $cc_basename in
13752 CC*)
13753 # Sun C++ 4.2, 5.x and Centerline C++
13754 lt_prog_compiler_pic_CXX='-KPIC'
13755 lt_prog_compiler_static_CXX='-Bstatic'
13756 lt_prog_compiler_wl_CXX='-Qoption ld '
13758 gcx*)
13759 # Green Hills C++ Compiler
13760 lt_prog_compiler_pic_CXX='-PIC'
13764 esac
13766 sunos4*)
13767 case $cc_basename in
13768 CC*)
13769 # Sun C++ 4.x
13770 lt_prog_compiler_pic_CXX='-pic'
13771 lt_prog_compiler_static_CXX='-Bstatic'
13773 lcc*)
13774 # Lucid
13775 lt_prog_compiler_pic_CXX='-pic'
13779 esac
13781 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13782 case $cc_basename in
13783 CC*)
13784 lt_prog_compiler_wl_CXX='-Wl,'
13785 lt_prog_compiler_pic_CXX='-KPIC'
13786 lt_prog_compiler_static_CXX='-Bstatic'
13788 esac
13790 tandem*)
13791 case $cc_basename in
13792 NCC*)
13793 # NonStop-UX NCC 3.20
13794 lt_prog_compiler_pic_CXX='-KPIC'
13798 esac
13800 vxworks*)
13803 lt_prog_compiler_can_build_shared_CXX=no
13805 esac
13808 case $host_os in
13809 # For platforms which do not support PIC, -DPIC is meaningless:
13810 *djgpp*)
13811 lt_prog_compiler_pic_CXX=
13814 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13816 esac
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13818 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13823 # Check to make sure the PIC flag actually works.
13825 if test -n "$lt_prog_compiler_pic_CXX"; then
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13828 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13829 $as_echo_n "(cached) " >&6
13830 else
13831 lt_cv_prog_compiler_pic_works_CXX=no
13832 ac_outfile=conftest.$ac_objext
13833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13834 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13835 # Insert the option either (1) after the last *FLAGS variable, or
13836 # (2) before a word containing "conftest.", or (3) at the end.
13837 # Note that $ac_compile itself does not contain backslashes and begins
13838 # with a dollar sign (not a hyphen), so the echo should work correctly.
13839 # The option is referenced via a variable to avoid confusing sed.
13840 lt_compile=`echo "$ac_compile" | $SED \
13841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13843 -e 's:$: $lt_compiler_flag:'`
13844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13845 (eval "$lt_compile" 2>conftest.err)
13846 ac_status=$?
13847 cat conftest.err >&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 if (exit $ac_status) && test -s "$ac_outfile"; then
13850 # The compiler can only warn and ignore the option if not recognized
13851 # So say no if there are warnings other than the usual output.
13852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13855 lt_cv_prog_compiler_pic_works_CXX=yes
13858 $RM conftest*
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13862 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13864 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13865 case $lt_prog_compiler_pic_CXX in
13866 "" | " "*) ;;
13867 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13868 esac
13869 else
13870 lt_prog_compiler_pic_CXX=
13871 lt_prog_compiler_can_build_shared_CXX=no
13879 # Check to make sure the static flag actually works.
13881 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13883 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13884 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13885 $as_echo_n "(cached) " >&6
13886 else
13887 lt_cv_prog_compiler_static_works_CXX=no
13888 save_LDFLAGS="$LDFLAGS"
13889 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13890 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13891 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13892 # The linker can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 if test -s conftest.err; then
13895 # Append any errors to the config.log.
13896 cat conftest.err 1>&5
13897 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13898 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13899 if diff conftest.exp conftest.er2 >/dev/null; then
13900 lt_cv_prog_compiler_static_works_CXX=yes
13902 else
13903 lt_cv_prog_compiler_static_works_CXX=yes
13906 $RM -r conftest*
13907 LDFLAGS="$save_LDFLAGS"
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13911 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13913 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13915 else
13916 lt_prog_compiler_static_CXX=
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13924 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13925 $as_echo_n "(cached) " >&6
13926 else
13927 lt_cv_prog_compiler_c_o_CXX=no
13928 $RM -r conftest 2>/dev/null
13929 mkdir conftest
13930 cd conftest
13931 mkdir out
13932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13934 lt_compiler_flag="-o out/conftest2.$ac_objext"
13935 # Insert the option either (1) after the last *FLAGS variable, or
13936 # (2) before a word containing "conftest.", or (3) at the end.
13937 # Note that $ac_compile itself does not contain backslashes and begins
13938 # with a dollar sign (not a hyphen), so the echo should work correctly.
13939 lt_compile=`echo "$ac_compile" | $SED \
13940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13942 -e 's:$: $lt_compiler_flag:'`
13943 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13944 (eval "$lt_compile" 2>out/conftest.err)
13945 ac_status=$?
13946 cat out/conftest.err >&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13949 then
13950 # The compiler can only warn and ignore the option if not recognized
13951 # So say no if there are warnings
13952 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13953 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13954 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13955 lt_cv_prog_compiler_c_o_CXX=yes
13958 chmod u+w . 2>&5
13959 $RM conftest*
13960 # SGI C++ compiler will create directory out/ii_files/ for
13961 # template instantiation
13962 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13963 $RM out/* && rmdir out
13964 cd ..
13965 $RM -r conftest
13966 $RM conftest*
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13970 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13975 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13976 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 lt_cv_prog_compiler_c_o_CXX=no
13980 $RM -r conftest 2>/dev/null
13981 mkdir conftest
13982 cd conftest
13983 mkdir out
13984 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13986 lt_compiler_flag="-o out/conftest2.$ac_objext"
13987 # Insert the option either (1) after the last *FLAGS variable, or
13988 # (2) before a word containing "conftest.", or (3) at the end.
13989 # Note that $ac_compile itself does not contain backslashes and begins
13990 # with a dollar sign (not a hyphen), so the echo should work correctly.
13991 lt_compile=`echo "$ac_compile" | $SED \
13992 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13994 -e 's:$: $lt_compiler_flag:'`
13995 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13996 (eval "$lt_compile" 2>out/conftest.err)
13997 ac_status=$?
13998 cat out/conftest.err >&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14001 then
14002 # The compiler can only warn and ignore the option if not recognized
14003 # So say no if there are warnings
14004 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14005 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14006 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14007 lt_cv_prog_compiler_c_o_CXX=yes
14010 chmod u+w . 2>&5
14011 $RM conftest*
14012 # SGI C++ compiler will create directory out/ii_files/ for
14013 # template instantiation
14014 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14015 $RM out/* && rmdir out
14016 cd ..
14017 $RM -r conftest
14018 $RM conftest*
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14022 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14027 hard_links="nottested"
14028 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14029 # do not overwrite the value of need_locks provided by the user
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14031 $as_echo_n "checking if we can lock with hard links... " >&6; }
14032 hard_links=yes
14033 $RM conftest*
14034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14035 touch conftest.a
14036 ln conftest.a conftest.b 2>&5 || hard_links=no
14037 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14039 $as_echo "$hard_links" >&6; }
14040 if test "$hard_links" = no; then
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14042 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14043 need_locks=warn
14045 else
14046 need_locks=no
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14052 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14054 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14055 case $host_os in
14056 aix[4-9]*)
14057 # If we're using GNU nm, then we don't want the "-C" option.
14058 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14059 # Also, AIX nm treats weak defined symbols like other global defined
14060 # symbols, whereas GNU nm marks them as "W".
14061 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14062 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14063 else
14064 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14067 pw32*)
14068 export_symbols_cmds_CXX="$ltdll_cmds"
14070 cygwin* | mingw* | cegcc*)
14071 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14074 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14076 esac
14077 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14080 $as_echo "$ld_shlibs_CXX" >&6; }
14081 test "$ld_shlibs_CXX" = no && can_build_shared=no
14083 with_gnu_ld_CXX=$with_gnu_ld
14091 # Do we need to explicitly link libc?
14093 case "x$archive_cmds_need_lc_CXX" in
14094 x|xyes)
14095 # Assume -lc should be added
14096 archive_cmds_need_lc_CXX=yes
14098 if test "$enable_shared" = yes && test "$GCC" = yes; then
14099 case $archive_cmds_CXX in
14100 *'~'*)
14101 # FIXME: we may have to deal with multi-command sequences.
14103 '$CC '*)
14104 # Test whether the compiler implicitly links with -lc since on some
14105 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14106 # to ld, don't add -lc before -lgcc.
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14108 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14109 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14110 $as_echo_n "(cached) " >&6
14111 else
14112 $RM conftest*
14113 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14115 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14116 (eval $ac_compile) 2>&5
14117 ac_status=$?
14118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14119 test $ac_status = 0; } 2>conftest.err; then
14120 soname=conftest
14121 lib=conftest
14122 libobjs=conftest.$ac_objext
14123 deplibs=
14124 wl=$lt_prog_compiler_wl_CXX
14125 pic_flag=$lt_prog_compiler_pic_CXX
14126 compiler_flags=-v
14127 linker_flags=-v
14128 verstring=
14129 output_objdir=.
14130 libname=conftest
14131 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14132 allow_undefined_flag_CXX=
14133 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14134 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14135 ac_status=$?
14136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14137 test $ac_status = 0; }
14138 then
14139 lt_cv_archive_cmds_need_lc_CXX=no
14140 else
14141 lt_cv_archive_cmds_need_lc_CXX=yes
14143 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14144 else
14145 cat conftest.err 1>&5
14147 $RM conftest*
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14151 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14152 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14154 esac
14157 esac
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14223 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14225 library_names_spec=
14226 libname_spec='lib$name'
14227 soname_spec=
14228 shrext_cmds=".so"
14229 postinstall_cmds=
14230 postuninstall_cmds=
14231 finish_cmds=
14232 finish_eval=
14233 shlibpath_var=
14234 shlibpath_overrides_runpath=unknown
14235 version_type=none
14236 dynamic_linker="$host_os ld.so"
14237 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14238 need_lib_prefix=unknown
14239 hardcode_into_libs=no
14241 # when you set need_version to no, make sure it does not cause -set_version
14242 # flags to be left without arguments
14243 need_version=unknown
14245 case $host_os in
14246 aix3*)
14247 version_type=linux
14248 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14249 shlibpath_var=LIBPATH
14251 # AIX 3 has no versioning support, so we append a major version to the name.
14252 soname_spec='${libname}${release}${shared_ext}$major'
14255 aix[4-9]*)
14256 version_type=linux
14257 need_lib_prefix=no
14258 need_version=no
14259 hardcode_into_libs=yes
14260 if test "$host_cpu" = ia64; then
14261 # AIX 5 supports IA64
14262 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14263 shlibpath_var=LD_LIBRARY_PATH
14264 else
14265 # With GCC up to 2.95.x, collect2 would create an import file
14266 # for dependence libraries. The import file would start with
14267 # the line `#! .'. This would cause the generated library to
14268 # depend on `.', always an invalid library. This was fixed in
14269 # development snapshots of GCC prior to 3.0.
14270 case $host_os in
14271 aix4 | aix4.[01] | aix4.[01].*)
14272 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14273 echo ' yes '
14274 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14276 else
14277 can_build_shared=no
14280 esac
14281 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14282 # soname into executable. Probably we can add versioning support to
14283 # collect2, so additional links can be useful in future.
14284 if test "$aix_use_runtimelinking" = yes; then
14285 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14286 # instead of lib<name>.a to let people know that these are not
14287 # typical AIX shared libraries.
14288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14289 else
14290 # We preserve .a as extension for shared libraries through AIX4.2
14291 # and later when we are not doing run time linking.
14292 library_names_spec='${libname}${release}.a $libname.a'
14293 soname_spec='${libname}${release}${shared_ext}$major'
14295 shlibpath_var=LIBPATH
14299 amigaos*)
14300 case $host_cpu in
14301 powerpc)
14302 # Since July 2007 AmigaOS4 officially supports .so libraries.
14303 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14306 m68k)
14307 library_names_spec='$libname.ixlibrary $libname.a'
14308 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14309 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14311 esac
14314 beos*)
14315 library_names_spec='${libname}${shared_ext}'
14316 dynamic_linker="$host_os ld.so"
14317 shlibpath_var=LIBRARY_PATH
14320 bsdi[45]*)
14321 version_type=linux
14322 need_version=no
14323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14324 soname_spec='${libname}${release}${shared_ext}$major'
14325 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14326 shlibpath_var=LD_LIBRARY_PATH
14327 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14328 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14329 # the default ld.so.conf also contains /usr/contrib/lib and
14330 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14331 # libtool to hard-code these into programs
14334 cygwin* | mingw* | pw32* | cegcc*)
14335 version_type=windows
14336 shrext_cmds=".dll"
14337 need_version=no
14338 need_lib_prefix=no
14340 case $GCC,$host_os in
14341 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14342 library_names_spec='$libname.dll.a'
14343 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14344 postinstall_cmds='base_file=`basename \${file}`~
14345 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14346 dldir=$destdir/`dirname \$dlpath`~
14347 test -d \$dldir || mkdir -p \$dldir~
14348 $install_prog $dir/$dlname \$dldir/$dlname~
14349 chmod a+x \$dldir/$dlname~
14350 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14351 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14353 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14354 dlpath=$dir/\$dldll~
14355 $RM \$dlpath'
14356 shlibpath_overrides_runpath=yes
14358 case $host_os in
14359 cygwin*)
14360 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14361 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14364 mingw* | cegcc*)
14365 # MinGW DLLs use traditional 'lib' prefix
14366 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14368 pw32*)
14369 # pw32 DLLs use 'pw' prefix rather than 'lib'
14370 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14372 esac
14376 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14378 esac
14379 dynamic_linker='Win32 ld.exe'
14380 # FIXME: first we should search . and the directory the executable is in
14381 shlibpath_var=PATH
14384 darwin* | rhapsody*)
14385 dynamic_linker="$host_os dyld"
14386 version_type=darwin
14387 need_lib_prefix=no
14388 need_version=no
14389 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14390 soname_spec='${libname}${release}${major}$shared_ext'
14391 shlibpath_overrides_runpath=yes
14392 shlibpath_var=DYLD_LIBRARY_PATH
14393 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14395 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14398 dgux*)
14399 version_type=linux
14400 need_lib_prefix=no
14401 need_version=no
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14404 shlibpath_var=LD_LIBRARY_PATH
14407 freebsd* | dragonfly*)
14408 # DragonFly does not have aout. When/if they implement a new
14409 # versioning mechanism, adjust this.
14410 if test -x /usr/bin/objformat; then
14411 objformat=`/usr/bin/objformat`
14412 else
14413 case $host_os in
14414 freebsd[23].*) objformat=aout ;;
14415 *) objformat=elf ;;
14416 esac
14418 version_type=freebsd-$objformat
14419 case $version_type in
14420 freebsd-elf*)
14421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14422 need_version=no
14423 need_lib_prefix=no
14425 freebsd-*)
14426 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14427 need_version=yes
14429 esac
14430 shlibpath_var=LD_LIBRARY_PATH
14431 case $host_os in
14432 freebsd2.*)
14433 shlibpath_overrides_runpath=yes
14435 freebsd3.[01]* | freebsdelf3.[01]*)
14436 shlibpath_overrides_runpath=yes
14437 hardcode_into_libs=yes
14439 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14440 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14441 shlibpath_overrides_runpath=no
14442 hardcode_into_libs=yes
14444 *) # from 4.6 on, and DragonFly
14445 shlibpath_overrides_runpath=yes
14446 hardcode_into_libs=yes
14448 esac
14451 gnu*)
14452 version_type=linux
14453 need_lib_prefix=no
14454 need_version=no
14455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14456 soname_spec='${libname}${release}${shared_ext}$major'
14457 shlibpath_var=LD_LIBRARY_PATH
14458 hardcode_into_libs=yes
14461 haiku*)
14462 version_type=linux
14463 need_lib_prefix=no
14464 need_version=no
14465 dynamic_linker="$host_os runtime_loader"
14466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14467 soname_spec='${libname}${release}${shared_ext}$major'
14468 shlibpath_var=LIBRARY_PATH
14469 shlibpath_overrides_runpath=yes
14470 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14471 hardcode_into_libs=yes
14474 hpux9* | hpux10* | hpux11*)
14475 # Give a soname corresponding to the major version so that dld.sl refuses to
14476 # link against other versions.
14477 version_type=sunos
14478 need_lib_prefix=no
14479 need_version=no
14480 case $host_cpu in
14481 ia64*)
14482 shrext_cmds='.so'
14483 hardcode_into_libs=yes
14484 dynamic_linker="$host_os dld.so"
14485 shlibpath_var=LD_LIBRARY_PATH
14486 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14488 soname_spec='${libname}${release}${shared_ext}$major'
14489 if test "X$HPUX_IA64_MODE" = X32; then
14490 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14491 else
14492 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14494 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14496 hppa*64*)
14497 shrext_cmds='.sl'
14498 hardcode_into_libs=yes
14499 dynamic_linker="$host_os dld.sl"
14500 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14501 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14503 soname_spec='${libname}${release}${shared_ext}$major'
14504 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14505 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14508 shrext_cmds='.sl'
14509 dynamic_linker="$host_os dld.sl"
14510 shlibpath_var=SHLIB_PATH
14511 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 soname_spec='${libname}${release}${shared_ext}$major'
14515 esac
14516 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14517 postinstall_cmds='chmod 555 $lib'
14518 # or fails outright, so override atomically:
14519 install_override_mode=555
14522 interix[3-9]*)
14523 version_type=linux
14524 need_lib_prefix=no
14525 need_version=no
14526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14527 soname_spec='${libname}${release}${shared_ext}$major'
14528 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14529 shlibpath_var=LD_LIBRARY_PATH
14530 shlibpath_overrides_runpath=no
14531 hardcode_into_libs=yes
14534 irix5* | irix6* | nonstopux*)
14535 case $host_os in
14536 nonstopux*) version_type=nonstopux ;;
14538 if test "$lt_cv_prog_gnu_ld" = yes; then
14539 version_type=linux
14540 else
14541 version_type=irix
14542 fi ;;
14543 esac
14544 need_lib_prefix=no
14545 need_version=no
14546 soname_spec='${libname}${release}${shared_ext}$major'
14547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14548 case $host_os in
14549 irix5* | nonstopux*)
14550 libsuff= shlibsuff=
14553 case $LD in # libtool.m4 will add one of these switches to LD
14554 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14555 libsuff= shlibsuff= libmagic=32-bit;;
14556 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14557 libsuff=32 shlibsuff=N32 libmagic=N32;;
14558 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14559 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14560 *) libsuff= shlibsuff= libmagic=never-match;;
14561 esac
14563 esac
14564 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14565 shlibpath_overrides_runpath=no
14566 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14567 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14568 hardcode_into_libs=yes
14571 # No shared lib support for Linux oldld, aout, or coff.
14572 linux*oldld* | linux*aout* | linux*coff*)
14573 dynamic_linker=no
14576 # This must be Linux ELF.
14577 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14578 version_type=linux
14579 need_lib_prefix=no
14580 need_version=no
14581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14582 soname_spec='${libname}${release}${shared_ext}$major'
14583 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14584 shlibpath_var=LD_LIBRARY_PATH
14585 shlibpath_overrides_runpath=no
14587 # Some binutils ld are patched to set DT_RUNPATH
14588 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14589 $as_echo_n "(cached) " >&6
14590 else
14591 lt_cv_shlibpath_overrides_runpath=no
14592 save_LDFLAGS=$LDFLAGS
14593 save_libdir=$libdir
14594 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14595 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14596 if test x$gcc_no_link = xyes; then
14597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14603 main ()
14607 return 0;
14609 _ACEOF
14610 if ac_fn_cxx_try_link "$LINENO"; then :
14611 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14612 lt_cv_shlibpath_overrides_runpath=yes
14615 rm -f core conftest.err conftest.$ac_objext \
14616 conftest$ac_exeext conftest.$ac_ext
14617 LDFLAGS=$save_LDFLAGS
14618 libdir=$save_libdir
14622 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14624 # This implies no fast_install, which is unacceptable.
14625 # Some rework will be needed to allow for fast_install
14626 # before this can be enabled.
14627 hardcode_into_libs=yes
14629 # Append ld.so.conf contents to the search path
14630 if test -f /etc/ld.so.conf; then
14631 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14632 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14635 # We used to test for /lib/ld.so.1 and disable shared libraries on
14636 # powerpc, because MkLinux only supported shared libraries with the
14637 # GNU dynamic linker. Since this was broken with cross compilers,
14638 # most powerpc-linux boxes support dynamic linking these days and
14639 # people can always --disable-shared, the test was removed, and we
14640 # assume the GNU/Linux dynamic linker is in use.
14641 dynamic_linker='GNU/Linux ld.so'
14644 netbsd*)
14645 version_type=sunos
14646 need_lib_prefix=no
14647 need_version=no
14648 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14650 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14651 dynamic_linker='NetBSD (a.out) ld.so'
14652 else
14653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14654 soname_spec='${libname}${release}${shared_ext}$major'
14655 dynamic_linker='NetBSD ld.elf_so'
14657 shlibpath_var=LD_LIBRARY_PATH
14658 shlibpath_overrides_runpath=yes
14659 hardcode_into_libs=yes
14662 newsos6)
14663 version_type=linux
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665 shlibpath_var=LD_LIBRARY_PATH
14666 shlibpath_overrides_runpath=yes
14669 *nto* | *qnx*)
14670 version_type=qnx
14671 need_lib_prefix=no
14672 need_version=no
14673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14674 soname_spec='${libname}${release}${shared_ext}$major'
14675 shlibpath_var=LD_LIBRARY_PATH
14676 shlibpath_overrides_runpath=no
14677 hardcode_into_libs=yes
14678 dynamic_linker='ldqnx.so'
14681 openbsd*)
14682 version_type=sunos
14683 sys_lib_dlsearch_path_spec="/usr/lib"
14684 need_lib_prefix=no
14685 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14686 case $host_os in
14687 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14688 *) need_version=no ;;
14689 esac
14690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14691 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14692 shlibpath_var=LD_LIBRARY_PATH
14693 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14694 case $host_os in
14695 openbsd2.[89] | openbsd2.[89].*)
14696 shlibpath_overrides_runpath=no
14699 shlibpath_overrides_runpath=yes
14701 esac
14702 else
14703 shlibpath_overrides_runpath=yes
14707 os2*)
14708 libname_spec='$name'
14709 shrext_cmds=".dll"
14710 need_lib_prefix=no
14711 library_names_spec='$libname${shared_ext} $libname.a'
14712 dynamic_linker='OS/2 ld.exe'
14713 shlibpath_var=LIBPATH
14716 osf3* | osf4* | osf5*)
14717 version_type=osf
14718 need_lib_prefix=no
14719 need_version=no
14720 soname_spec='${libname}${release}${shared_ext}$major'
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14722 shlibpath_var=LD_LIBRARY_PATH
14723 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14724 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14727 rdos*)
14728 dynamic_linker=no
14731 solaris*)
14732 version_type=linux
14733 need_lib_prefix=no
14734 need_version=no
14735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14736 soname_spec='${libname}${release}${shared_ext}$major'
14737 shlibpath_var=LD_LIBRARY_PATH
14738 shlibpath_overrides_runpath=yes
14739 hardcode_into_libs=yes
14740 # ldd complains unless libraries are executable
14741 postinstall_cmds='chmod +x $lib'
14744 sunos4*)
14745 version_type=sunos
14746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14747 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14748 shlibpath_var=LD_LIBRARY_PATH
14749 shlibpath_overrides_runpath=yes
14750 if test "$with_gnu_ld" = yes; then
14751 need_lib_prefix=no
14753 need_version=yes
14756 sysv4 | sysv4.3*)
14757 version_type=linux
14758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14759 soname_spec='${libname}${release}${shared_ext}$major'
14760 shlibpath_var=LD_LIBRARY_PATH
14761 case $host_vendor in
14762 sni)
14763 shlibpath_overrides_runpath=no
14764 need_lib_prefix=no
14765 runpath_var=LD_RUN_PATH
14767 siemens)
14768 need_lib_prefix=no
14770 motorola)
14771 need_lib_prefix=no
14772 need_version=no
14773 shlibpath_overrides_runpath=no
14774 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14776 esac
14779 sysv4*MP*)
14780 if test -d /usr/nec ;then
14781 version_type=linux
14782 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14783 soname_spec='$libname${shared_ext}.$major'
14784 shlibpath_var=LD_LIBRARY_PATH
14788 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14789 version_type=freebsd-elf
14790 need_lib_prefix=no
14791 need_version=no
14792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14793 soname_spec='${libname}${release}${shared_ext}$major'
14794 shlibpath_var=LD_LIBRARY_PATH
14795 shlibpath_overrides_runpath=yes
14796 hardcode_into_libs=yes
14797 if test "$with_gnu_ld" = yes; then
14798 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14799 else
14800 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14801 case $host_os in
14802 sco3.2v5*)
14803 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14805 esac
14807 sys_lib_dlsearch_path_spec='/usr/lib'
14810 tpf*)
14811 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14812 version_type=linux
14813 need_lib_prefix=no
14814 need_version=no
14815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14816 shlibpath_var=LD_LIBRARY_PATH
14817 shlibpath_overrides_runpath=no
14818 hardcode_into_libs=yes
14821 uts4*)
14822 version_type=linux
14823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14824 soname_spec='${libname}${release}${shared_ext}$major'
14825 shlibpath_var=LD_LIBRARY_PATH
14829 dynamic_linker=no
14831 esac
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14833 $as_echo "$dynamic_linker" >&6; }
14834 test "$dynamic_linker" = no && can_build_shared=no
14836 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14837 if test "$GCC" = yes; then
14838 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14841 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14842 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14844 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14845 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14886 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14887 hardcode_action_CXX=
14888 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14889 test -n "$runpath_var_CXX" ||
14890 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14892 # We can hardcode non-existent directories.
14893 if test "$hardcode_direct_CXX" != no &&
14894 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14895 # have to relink, otherwise we might link with an installed library
14896 # when we should be linking with a yet-to-be-installed one
14897 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14898 test "$hardcode_minus_L_CXX" != no; then
14899 # Linking always hardcodes the temporary library directory.
14900 hardcode_action_CXX=relink
14901 else
14902 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14903 hardcode_action_CXX=immediate
14905 else
14906 # We cannot hardcode anything, or else we can only hardcode existing
14907 # directories.
14908 hardcode_action_CXX=unsupported
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14911 $as_echo "$hardcode_action_CXX" >&6; }
14913 if test "$hardcode_action_CXX" = relink ||
14914 test "$inherit_rpath_CXX" = yes; then
14915 # Fast installation is not supported
14916 enable_fast_install=no
14917 elif test "$shlibpath_overrides_runpath" = yes ||
14918 test "$enable_shared" = no; then
14919 # Fast installation is not necessary
14920 enable_fast_install=needless
14929 fi # test -n "$compiler"
14931 CC=$lt_save_CC
14932 LDCXX=$LD
14933 LD=$lt_save_LD
14934 GCC=$lt_save_GCC
14935 with_gnu_ld=$lt_save_with_gnu_ld
14936 lt_cv_path_LDCXX=$lt_cv_path_LD
14937 lt_cv_path_LD=$lt_save_path_LD
14938 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14939 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14940 fi # test "$_lt_caught_CXX_error" != yes
14942 ac_ext=c
14943 ac_cpp='$CPP $CPPFLAGS'
14944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14960 ac_config_commands="$ac_config_commands libtool"
14965 # Only expand once:
14971 case $host in
14972 *-cygwin* | *-mingw*)
14973 # 'host' will be top-level target in the case of a target lib,
14974 # we must compare to with_cross_host to decide if this is a native
14975 # or cross-compiler and select where to install dlls appropriately.
14976 if test -n "$with_cross_host" &&
14977 test x"$with_cross_host" != x"no"; then
14978 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14979 else
14980 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14984 lt_host_flags=
14986 esac
14993 if test "$enable_vtable_verify" = yes; then
14994 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14995 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14999 # libtool variables for C++ shared and position-independent compiles.
15001 # Use glibcxx_lt_pic_flag to designate the automake variable
15002 # used to encapsulate the default libtool approach to creating objects
15003 # with position-independent code. Default: -prefer-pic.
15005 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15006 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15008 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15009 # creating position-independent objects. This varies with the target
15010 # hardware and operating system, but is often: -DPIC -fPIC.
15011 if test "$enable_shared" = yes; then
15012 glibcxx_lt_pic_flag="-prefer-pic"
15013 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15014 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15016 else
15017 glibcxx_lt_pic_flag=
15018 glibcxx_compiler_pic_flag=
15019 glibcxx_compiler_shared_flag=
15025 # Override the libtool's pic_flag and pic_mode.
15026 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15027 # NB: this impacts --with-pic and --without-pic.
15028 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15029 pic_mode='default'
15031 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15032 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15034 # Possibly disable most of the library.
15035 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15036 ## than just ignoring the results. Faster /and/ more correct, win win.
15038 # Check whether --enable-hosted-libstdcxx was given.
15039 if test "${enable_hosted_libstdcxx+set}" = set; then :
15040 enableval=$enable_hosted_libstdcxx;
15041 else
15042 case "$host" in
15043 arm*-*-symbianelf*)
15044 enable_hosted_libstdcxx=no
15047 enable_hosted_libstdcxx=yes
15049 esac
15052 if test "$enable_hosted_libstdcxx" = no; then
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15054 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15055 is_hosted=no
15056 hosted_define=0
15057 enable_abi_check=no
15058 enable_libstdcxx_pch=no
15059 else
15060 is_hosted=yes
15061 hosted_define=1
15065 cat >>confdefs.h <<_ACEOF
15066 #define _GLIBCXX_HOSTED $hosted_define
15067 _ACEOF
15071 # Enable descriptive messages to standard output on termination.
15073 # Check whether --enable-libstdcxx-verbose was given.
15074 if test "${enable_libstdcxx_verbose+set}" = set; then :
15075 enableval=$enable_libstdcxx_verbose;
15076 else
15077 enable_libstdcxx_verbose=yes
15080 if test x"$enable_libstdcxx_verbose" = xyes; then
15081 verbose_define=1
15082 else
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15084 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15085 verbose_define=0
15088 cat >>confdefs.h <<_ACEOF
15089 #define _GLIBCXX_VERBOSE $verbose_define
15090 _ACEOF
15094 # Enable compiler support that doesn't require linking.
15096 # Check whether --enable-libstdcxx-pch was given.
15097 if test "${enable_libstdcxx_pch+set}" = set; then :
15098 enableval=$enable_libstdcxx_pch;
15099 case "$enableval" in
15100 yes|no) ;;
15101 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15102 esac
15104 else
15105 enable_libstdcxx_pch=$is_hosted
15109 if test $enable_libstdcxx_pch = yes; then
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15111 $as_echo_n "checking for compiler with PCH support... " >&6; }
15112 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15113 $as_echo_n "(cached) " >&6
15114 else
15115 ac_save_CXXFLAGS="$CXXFLAGS"
15116 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15118 ac_ext=cpp
15119 ac_cpp='$CXXCPP $CPPFLAGS'
15120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15124 echo '#include <math.h>' > conftest.h
15125 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15126 -o conftest.h.gch 1>&5 2>&1 &&
15127 echo '#error "pch failed"' > conftest.h &&
15128 echo '#include "conftest.h"' > conftest.cc &&
15129 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15130 then
15131 glibcxx_cv_prog_CXX_pch=yes
15132 else
15133 glibcxx_cv_prog_CXX_pch=no
15135 rm -f conftest*
15136 CXXFLAGS=$ac_save_CXXFLAGS
15137 ac_ext=c
15138 ac_cpp='$CPP $CPPFLAGS'
15139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15146 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15147 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15151 $as_echo_n "checking for enabled PCH... " >&6; }
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15153 $as_echo "$enable_libstdcxx_pch" >&6; }
15156 if test $enable_libstdcxx_pch = yes; then
15157 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15158 else
15159 glibcxx_PCHFLAGS=""
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15165 $as_echo_n "checking for thread model used by GCC... " >&6; }
15166 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15168 $as_echo "$target_thread_file" >&6; }
15170 case $target_thread_file in
15171 aix) thread_header=config/rs6000/gthr-aix.h ;;
15172 dce) thread_header=config/pa/gthr-dce.h ;;
15173 lynx) thread_header=config/gthr-lynx.h ;;
15174 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15175 posix) thread_header=gthr-posix.h ;;
15176 rtems) thread_header=config/gthr-rtems.h ;;
15177 single) thread_header=gthr-single.h ;;
15178 tpf) thread_header=config/s390/gthr-tpf.h ;;
15179 vxworks) thread_header=config/gthr-vxworks.h ;;
15180 win32) thread_header=config/i386/gthr-win32.h ;;
15181 esac
15187 ac_ext=cpp
15188 ac_cpp='$CXXCPP $CPPFLAGS'
15189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15193 old_CXXFLAGS="$CXXFLAGS"
15195 # Do link tests if possible, instead asm tests, limited to some platforms
15196 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15197 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15198 atomic_builtins_link_tests=no
15199 if test x$gcc_no_link != xyes; then
15200 # Can do link tests. Limit to some tested platforms
15201 case "$host" in
15202 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15203 atomic_builtins_link_tests=yes
15205 esac
15208 if test x$atomic_builtins_link_tests = xyes; then
15210 # Do link tests.
15212 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15215 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15216 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15217 $as_echo_n "(cached) " >&6
15218 else
15220 if test x$gcc_no_link = xyes; then
15221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15227 main ()
15229 typedef bool atomic_type;
15230 atomic_type c1;
15231 atomic_type c2;
15232 atomic_type c3(0);
15233 // N.B. __atomic_fetch_add is not supported for bool.
15234 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15235 __ATOMIC_RELAXED);
15236 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15237 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15240 return 0;
15242 _ACEOF
15243 if ac_fn_cxx_try_link "$LINENO"; then :
15244 glibcxx_cv_atomic_bool=yes
15245 else
15246 glibcxx_cv_atomic_bool=no
15248 rm -f core conftest.err conftest.$ac_objext \
15249 conftest$ac_exeext conftest.$ac_ext
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15254 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15257 $as_echo_n "checking for atomic builtins for short... " >&6; }
15258 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15259 $as_echo_n "(cached) " >&6
15260 else
15262 if test x$gcc_no_link = xyes; then
15263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15269 main ()
15271 typedef short atomic_type;
15272 atomic_type c1;
15273 atomic_type c2;
15274 atomic_type c3(0);
15275 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15276 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15277 __ATOMIC_RELAXED);
15278 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15279 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15282 return 0;
15284 _ACEOF
15285 if ac_fn_cxx_try_link "$LINENO"; then :
15286 glibcxx_cv_atomic_short=yes
15287 else
15288 glibcxx_cv_atomic_short=no
15290 rm -f core conftest.err conftest.$ac_objext \
15291 conftest$ac_exeext conftest.$ac_ext
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15296 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15299 $as_echo_n "checking for atomic builtins for int... " >&6; }
15300 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15304 if test x$gcc_no_link = xyes; then
15305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15311 main ()
15313 typedef int atomic_type;
15314 atomic_type c1;
15315 atomic_type c2;
15316 atomic_type c3(0);
15317 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15318 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15319 __ATOMIC_RELAXED);
15320 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15321 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15324 return 0;
15326 _ACEOF
15327 if ac_fn_cxx_try_link "$LINENO"; then :
15328 glibcxx_cv_atomic_int=yes
15329 else
15330 glibcxx_cv_atomic_int=no
15332 rm -f core conftest.err conftest.$ac_objext \
15333 conftest$ac_exeext conftest.$ac_ext
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15338 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15341 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15342 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15343 $as_echo_n "(cached) " >&6
15344 else
15346 if test x$gcc_no_link = xyes; then
15347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15350 /* end confdefs.h. */
15353 main ()
15355 typedef long long atomic_type;
15356 atomic_type c1;
15357 atomic_type c2;
15358 atomic_type c3(0);
15359 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15360 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15361 __ATOMIC_RELAXED);
15362 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15363 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15366 return 0;
15368 _ACEOF
15369 if ac_fn_cxx_try_link "$LINENO"; then :
15370 glibcxx_cv_atomic_long_long=yes
15371 else
15372 glibcxx_cv_atomic_long_long=no
15374 rm -f core conftest.err conftest.$ac_objext \
15375 conftest$ac_exeext conftest.$ac_ext
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15380 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15382 else
15384 # Do asm tests.
15386 # Compile unoptimized.
15387 CXXFLAGS='-O0 -S'
15389 # Fake what AC_TRY_COMPILE does.
15391 cat > conftest.$ac_ext << EOF
15392 #line 15392 "configure"
15393 int main()
15395 typedef bool atomic_type;
15396 atomic_type c1;
15397 atomic_type c2;
15398 atomic_type c3(0);
15399 // N.B. __atomic_fetch_add is not supported for bool.
15400 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15401 __ATOMIC_RELAXED);
15402 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15403 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15405 return 0;
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15410 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15411 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15412 (eval $ac_compile) 2>&5
15413 ac_status=$?
15414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15415 test $ac_status = 0; }; then
15416 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15417 glibcxx_cv_atomic_bool=no
15418 else
15419 glibcxx_cv_atomic_bool=yes
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15423 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15424 rm -f conftest*
15426 cat > conftest.$ac_ext << EOF
15427 #line 15427 "configure"
15428 int main()
15430 typedef short atomic_type;
15431 atomic_type c1;
15432 atomic_type c2;
15433 atomic_type c3(0);
15434 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15435 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15436 __ATOMIC_RELAXED);
15437 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15438 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15440 return 0;
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15445 $as_echo_n "checking for atomic builtins for short... " >&6; }
15446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15447 (eval $ac_compile) 2>&5
15448 ac_status=$?
15449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15450 test $ac_status = 0; }; then
15451 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15452 glibcxx_cv_atomic_short=no
15453 else
15454 glibcxx_cv_atomic_short=yes
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15458 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15459 rm -f conftest*
15461 cat > conftest.$ac_ext << EOF
15462 #line 15462 "configure"
15463 int main()
15465 // NB: _Atomic_word not necessarily int.
15466 typedef int atomic_type;
15467 atomic_type c1;
15468 atomic_type c2;
15469 atomic_type c3(0);
15470 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15471 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15472 __ATOMIC_RELAXED);
15473 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15474 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15476 return 0;
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15481 $as_echo_n "checking for atomic builtins for int... " >&6; }
15482 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15483 (eval $ac_compile) 2>&5
15484 ac_status=$?
15485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15486 test $ac_status = 0; }; then
15487 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15488 glibcxx_cv_atomic_int=no
15489 else
15490 glibcxx_cv_atomic_int=yes
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15494 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15495 rm -f conftest*
15497 cat > conftest.$ac_ext << EOF
15498 #line 15498 "configure"
15499 int main()
15501 typedef long long atomic_type;
15502 atomic_type c1;
15503 atomic_type c2;
15504 atomic_type c3(0);
15505 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15506 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15507 __ATOMIC_RELAXED);
15508 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15509 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15511 return 0;
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15516 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15517 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15518 (eval $ac_compile) 2>&5
15519 ac_status=$?
15520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15521 test $ac_status = 0; }; then
15522 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15523 glibcxx_cv_atomic_long_long=no
15524 else
15525 glibcxx_cv_atomic_long_long=yes
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15529 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15530 rm -f conftest*
15534 CXXFLAGS="$old_CXXFLAGS"
15535 ac_ext=c
15536 ac_cpp='$CPP $CPPFLAGS'
15537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15542 # Set atomicity_dir to builtins if all but the long long test above passes,
15543 # or if the builtins were already chosen (e.g. by configure.host).
15544 if { test "$glibcxx_cv_atomic_bool" = yes \
15545 && test "$glibcxx_cv_atomic_short" = yes \
15546 && test "$glibcxx_cv_atomic_int" = yes; } \
15547 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15549 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15551 atomicity_dir=cpu/generic/atomicity_builtins
15554 # If still generic, set to mutex.
15555 if test $atomicity_dir = "cpu/generic" ; then
15556 atomicity_dir=cpu/generic/atomicity_mutex
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15558 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15559 if test "x$target_thread_file" = xsingle; then
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15561 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15563 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15564 else
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15566 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15568 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15575 # Fake what AC_TRY_COMPILE does, without linking as this is
15576 # unnecessary for this test.
15578 cat > conftest.$ac_ext << EOF
15579 #line 15579 "configure"
15580 int main()
15582 _Decimal32 d1;
15583 _Decimal64 d2;
15584 _Decimal128 d3;
15585 return 0;
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15590 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15592 (eval $ac_compile) 2>&5
15593 ac_status=$?
15594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15595 test $ac_status = 0; }; then
15597 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15599 enable_dfp=yes
15600 else
15601 enable_dfp=no
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15604 $as_echo "$enable_dfp" >&6; }
15605 rm -f conftest*
15610 ac_ext=cpp
15611 ac_cpp='$CXXCPP $CPPFLAGS'
15612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15617 # Fake what AC_TRY_COMPILE does, without linking as this is
15618 # unnecessary for this test.
15620 cat > conftest.$ac_ext << EOF
15621 #line 15621 "configure"
15622 template<typename T1, typename T2>
15623 struct same
15624 { typedef T2 type; };
15626 template<typename T>
15627 struct same<T, T>;
15629 int main()
15631 typename same<long, __int128>::type i1;
15632 typename same<long long, __int128>::type i2;
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15637 $as_echo_n "checking for __int128... " >&6; }
15638 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15639 (eval $ac_compile) 2>&5
15640 ac_status=$?
15641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15642 test $ac_status = 0; }; then
15644 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15646 enable_int128=yes
15647 else
15648 enable_int128=no
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15651 $as_echo "$enable_int128" >&6; }
15652 rm -f conftest*
15654 cat > conftest.$ac_ext << EOF
15655 #line 15655 "configure"
15656 template<typename T1, typename T2>
15657 struct same
15658 { typedef T2 type; };
15660 template<typename T>
15661 struct same<T, T>;
15663 int main()
15665 typename same<double, __float128>::type f1;
15666 typename same<long double, __float128>::type f2;
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15671 $as_echo_n "checking for __float128... " >&6; }
15672 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15673 (eval $ac_compile) 2>&5
15674 ac_status=$?
15675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15676 test $ac_status = 0; }; then
15678 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15680 enable_float128=yes
15681 else
15682 enable_float128=no
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15685 $as_echo "$enable_float128" >&6; }
15686 rm -f conftest*
15688 ac_ext=c
15689 ac_cpp='$CPP $CPPFLAGS'
15690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15695 if test "$enable_float128" = yes; then
15696 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15699 # Checks for compiler support that doesn't require linking.
15701 # All these tests are for C++; save the language and the compiler flags.
15702 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15703 # found in GLIBCXX_CONFIGURE.
15705 ac_ext=cpp
15706 ac_cpp='$CXXCPP $CPPFLAGS'
15707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15711 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15712 ac_save_CXXFLAGS="$CXXFLAGS"
15714 # Check for maintainer-mode bits.
15715 if test x"$USE_MAINTAINER_MODE" = xno; then
15716 WERROR=''
15717 else
15718 WERROR='-Werror'
15721 # Check for -ffunction-sections -fdata-sections
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15723 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15724 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15726 /* end confdefs.h. */
15727 int foo; void bar() { };
15729 main ()
15733 return 0;
15735 _ACEOF
15736 if ac_fn_cxx_try_compile "$LINENO"; then :
15737 ac_fdsections=yes
15738 else
15739 ac_fdsections=no
15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15742 if test "$ac_test_CXXFLAGS" = set; then
15743 CXXFLAGS="$ac_save_CXXFLAGS"
15744 else
15745 # this is the suspicious part
15746 CXXFLAGS=''
15748 if test x"$ac_fdsections" = x"yes"; then
15749 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15752 $as_echo "$ac_fdsections" >&6; }
15754 ac_ext=c
15755 ac_cpp='$CPP $CPPFLAGS'
15756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15764 # Enable all the variable C++ runtime options that don't require linking.
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15767 $as_echo_n "checking for underlying I/O to use... " >&6; }
15768 # Check whether --enable-cstdio was given.
15769 if test "${enable_cstdio+set}" = set; then :
15770 enableval=$enable_cstdio;
15771 case "$enableval" in
15772 stdio) ;;
15773 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15774 esac
15776 else
15777 enable_cstdio=stdio
15782 # Now that libio has been removed, you can have any color you want as long
15783 # as it's black. This is one big no-op until other packages are added, but
15784 # showing the framework never hurts.
15785 case ${enable_cstdio} in
15786 stdio)
15787 CSTDIO_H=config/io/c_io_stdio.h
15788 BASIC_FILE_H=config/io/basic_file_stdio.h
15789 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15791 $as_echo "stdio" >&6; }
15793 esac
15800 # Check whether --enable-clocale was given.
15801 if test "${enable_clocale+set}" = set; then :
15802 enableval=$enable_clocale;
15803 case "$enableval" in
15804 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15805 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15806 esac
15808 else
15809 enable_clocale=auto
15814 # Deal with gettext issues. Default to not using it (=no) until we detect
15815 # support for it later. Let the user turn it off via --e/d, but let that
15816 # default to on for easier handling.
15817 USE_NLS=no
15818 # Check whether --enable-nls was given.
15819 if test "${enable_nls+set}" = set; then :
15820 enableval=$enable_nls;
15821 else
15822 enable_nls=yes
15826 # Either a known package, or "auto"
15827 if test $enable_clocale = no || test $enable_clocale = yes; then
15828 enable_clocale=auto
15830 enable_clocale_flag=$enable_clocale
15832 # Probe for locale model to use if none specified.
15833 # Default to "generic".
15834 if test $enable_clocale_flag = auto; then
15835 case ${target_os} in
15836 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15837 enable_clocale_flag=gnu
15839 darwin*)
15840 enable_clocale_flag=darwin
15842 dragonfly* | freebsd*)
15843 enable_clocale_flag=dragonfly
15845 openbsd*)
15846 enable_clocale_flag=newlib
15849 if test x"$with_newlib" = x"yes"; then
15850 enable_clocale_flag=newlib
15851 else
15852 enable_clocale_flag=generic
15855 esac
15858 # Sanity check model, and test for special functionality.
15859 if test $enable_clocale_flag = gnu; then
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15863 #include <features.h>
15864 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15865 _GLIBCXX_ok
15866 #endif
15868 _ACEOF
15869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15870 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15871 enable_clocale_flag=gnu
15872 else
15873 enable_clocale_flag=generic
15875 rm -f conftest*
15878 # Set it to scream when it hurts.
15879 ac_save_CFLAGS="$CFLAGS"
15880 CFLAGS="-Wimplicit-function-declaration -Werror"
15882 # Use strxfrm_l if available.
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15885 #define _GNU_SOURCE 1
15886 #include <string.h>
15887 #include <locale.h>
15889 main ()
15891 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15893 return 0;
15895 _ACEOF
15896 if ac_fn_c_try_compile "$LINENO"; then :
15898 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15903 # Use strerror_l if available.
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15906 #define _GNU_SOURCE 1
15907 #include <string.h>
15908 #include <locale.h>
15910 main ()
15912 __locale_t loc; strerror_l(5, loc);
15914 return 0;
15916 _ACEOF
15917 if ac_fn_c_try_compile "$LINENO"; then :
15919 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15924 CFLAGS="$ac_save_CFLAGS"
15927 # Perhaps use strerror_r if available, and strerror_l isn't.
15928 ac_save_CFLAGS="$CFLAGS"
15929 CFLAGS="-Wimplicit-function-declaration -Werror"
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15932 #define _GNU_SOURCE 1
15933 #include <string.h>
15934 #include <locale.h>
15936 main ()
15938 char s[128]; strerror_r(5, s, 128);
15940 return 0;
15942 _ACEOF
15943 if ac_fn_c_try_compile "$LINENO"; then :
15945 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15949 CFLAGS="$ac_save_CFLAGS"
15951 # Set configure bits for specified locale package
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15953 $as_echo_n "checking for C locale to use... " >&6; }
15954 case ${enable_clocale_flag} in
15955 generic)
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15957 $as_echo "generic" >&6; }
15959 CLOCALE_H=config/locale/generic/c_locale.h
15960 CLOCALE_CC=config/locale/generic/c_locale.cc
15961 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15962 CCOLLATE_CC=config/locale/generic/collate_members.cc
15963 CCTYPE_CC=config/locale/generic/ctype_members.cc
15964 CMESSAGES_H=config/locale/generic/messages_members.h
15965 CMESSAGES_CC=config/locale/generic/messages_members.cc
15966 CMONEY_CC=config/locale/generic/monetary_members.cc
15967 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15968 CTIME_H=config/locale/generic/time_members.h
15969 CTIME_CC=config/locale/generic/time_members.cc
15970 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15972 darwin)
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15974 $as_echo "darwin" >&6; }
15976 CLOCALE_H=config/locale/generic/c_locale.h
15977 CLOCALE_CC=config/locale/generic/c_locale.cc
15978 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15979 CCOLLATE_CC=config/locale/generic/collate_members.cc
15980 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15981 CMESSAGES_H=config/locale/generic/messages_members.h
15982 CMESSAGES_CC=config/locale/generic/messages_members.cc
15983 CMONEY_CC=config/locale/generic/monetary_members.cc
15984 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15985 CTIME_H=config/locale/generic/time_members.h
15986 CTIME_CC=config/locale/generic/time_members.cc
15987 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15990 dragonfly)
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15992 $as_echo "dragonfly or freebsd" >&6; }
15994 CLOCALE_H=config/locale/dragonfly/c_locale.h
15995 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15996 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15997 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15998 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15999 CMESSAGES_H=config/locale/generic/messages_members.h
16000 CMESSAGES_CC=config/locale/generic/messages_members.cc
16001 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16002 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16003 CTIME_H=config/locale/dragonfly/time_members.h
16004 CTIME_CC=config/locale/dragonfly/time_members.cc
16005 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16008 gnu)
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16010 $as_echo "gnu" >&6; }
16012 # Declare intention to use gettext, and add support for specific
16013 # languages.
16014 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16015 ALL_LINGUAS="de fr"
16017 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16018 # Extract the first word of "msgfmt", so it can be a program name with args.
16019 set dummy msgfmt; ac_word=$2
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16021 $as_echo_n "checking for $ac_word... " >&6; }
16022 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16023 $as_echo_n "(cached) " >&6
16024 else
16025 if test -n "$check_msgfmt"; then
16026 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16027 else
16028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16029 for as_dir in $PATH
16031 IFS=$as_save_IFS
16032 test -z "$as_dir" && as_dir=.
16033 for ac_exec_ext in '' $ac_executable_extensions; do
16034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16035 ac_cv_prog_check_msgfmt="yes"
16036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16037 break 2
16039 done
16040 done
16041 IFS=$as_save_IFS
16043 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16046 check_msgfmt=$ac_cv_prog_check_msgfmt
16047 if test -n "$check_msgfmt"; then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16049 $as_echo "$check_msgfmt" >&6; }
16050 else
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16052 $as_echo "no" >&6; }
16056 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16057 USE_NLS=yes
16059 # Export the build objects.
16060 for ling in $ALL_LINGUAS; do \
16061 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16062 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16063 done
16067 CLOCALE_H=config/locale/gnu/c_locale.h
16068 CLOCALE_CC=config/locale/gnu/c_locale.cc
16069 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16070 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16071 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16072 CMESSAGES_H=config/locale/gnu/messages_members.h
16073 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16074 CMONEY_CC=config/locale/gnu/monetary_members.cc
16075 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16076 CTIME_H=config/locale/gnu/time_members.h
16077 CTIME_CC=config/locale/gnu/time_members.cc
16078 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16080 ieee_1003.1-2001)
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16082 $as_echo "IEEE 1003.1" >&6; }
16084 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16085 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16086 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16087 CCOLLATE_CC=config/locale/generic/collate_members.cc
16088 CCTYPE_CC=config/locale/generic/ctype_members.cc
16089 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16090 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16091 CMONEY_CC=config/locale/generic/monetary_members.cc
16092 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16093 CTIME_H=config/locale/generic/time_members.h
16094 CTIME_CC=config/locale/generic/time_members.cc
16095 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16097 newlib)
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16099 $as_echo "newlib" >&6; }
16101 CLOCALE_H=config/locale/generic/c_locale.h
16102 CLOCALE_CC=config/locale/generic/c_locale.cc
16103 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16104 CCOLLATE_CC=config/locale/generic/collate_members.cc
16105 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16106 CMESSAGES_H=config/locale/generic/messages_members.h
16107 CMESSAGES_CC=config/locale/generic/messages_members.cc
16108 CMONEY_CC=config/locale/generic/monetary_members.cc
16109 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16110 CTIME_H=config/locale/generic/time_members.h
16111 CTIME_CC=config/locale/generic/time_members.cc
16112 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16114 esac
16116 # This is where the testsuite looks for locale catalogs, using the
16117 # -DLOCALEDIR define during testsuite compilation.
16118 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16121 # A standalone libintl (e.g., GNU libintl) may be in use.
16122 if test $USE_NLS = yes; then
16123 for ac_header in libintl.h
16124 do :
16125 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16126 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_LIBINTL_H 1
16129 _ACEOF
16131 else
16132 USE_NLS=no
16135 done
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16138 $as_echo_n "checking for library containing gettext... " >&6; }
16139 if test "${ac_cv_search_gettext+set}" = set; then :
16140 $as_echo_n "(cached) " >&6
16141 else
16142 ac_func_search_save_LIBS=$LIBS
16143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16146 /* Override any GCC internal prototype to avoid an error.
16147 Use char because int might match the return type of a GCC
16148 builtin and then its argument prototype would still apply. */
16149 #ifdef __cplusplus
16150 extern "C"
16151 #endif
16152 char gettext ();
16154 main ()
16156 return gettext ();
16158 return 0;
16160 _ACEOF
16161 for ac_lib in '' intl; do
16162 if test -z "$ac_lib"; then
16163 ac_res="none required"
16164 else
16165 ac_res=-l$ac_lib
16166 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16168 if test x$gcc_no_link = xyes; then
16169 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16171 if ac_fn_c_try_link "$LINENO"; then :
16172 ac_cv_search_gettext=$ac_res
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext
16176 if test "${ac_cv_search_gettext+set}" = set; then :
16177 break
16179 done
16180 if test "${ac_cv_search_gettext+set}" = set; then :
16182 else
16183 ac_cv_search_gettext=no
16185 rm conftest.$ac_ext
16186 LIBS=$ac_func_search_save_LIBS
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16189 $as_echo "$ac_cv_search_gettext" >&6; }
16190 ac_res=$ac_cv_search_gettext
16191 if test "$ac_res" != no; then :
16192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16194 else
16195 USE_NLS=no
16199 if test $USE_NLS = yes; then
16201 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16221 $as_echo_n "checking for std::allocator base class... " >&6; }
16222 # Check whether --enable-libstdcxx-allocator was given.
16223 if test "${enable_libstdcxx_allocator+set}" = set; then :
16224 enableval=$enable_libstdcxx_allocator;
16225 case "$enableval" in
16226 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16227 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16228 esac
16230 else
16231 enable_libstdcxx_allocator=auto
16236 # If they didn't use this option switch, or if they specified --enable
16237 # with no specific model, we'll have to look for one. If they
16238 # specified --disable (???), do likewise.
16239 if test $enable_libstdcxx_allocator = no ||
16240 test $enable_libstdcxx_allocator = yes;
16241 then
16242 enable_libstdcxx_allocator=auto
16245 # Either a known package, or "auto". Auto implies the default choice
16246 # for a particular platform.
16247 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16249 # Probe for host-specific support if no specific model is specified.
16250 # Default to "new".
16251 if test $enable_libstdcxx_allocator_flag = auto; then
16252 case ${target_os} in
16253 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16254 enable_libstdcxx_allocator_flag=new
16257 enable_libstdcxx_allocator_flag=new
16259 esac
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16262 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16265 # Set configure bits for specified locale package
16266 case ${enable_libstdcxx_allocator_flag} in
16267 bitmap)
16268 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16269 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16271 malloc)
16272 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16273 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16276 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16277 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16279 new)
16280 ALLOCATOR_H=config/allocator/new_allocator_base.h
16281 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16283 pool)
16284 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16285 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16287 esac
16294 # Check whether --enable-cheaders was given.
16295 if test "${enable_cheaders+set}" = set; then :
16296 enableval=$enable_cheaders;
16297 case "$enableval" in
16298 c|c_std|c_global) ;;
16299 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16300 esac
16302 else
16303 enable_cheaders=$c_model
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16308 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16310 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16312 # Allow overrides to configure.host here.
16313 if test $enable_cheaders = c_global; then
16314 c_compatibility=yes
16323 # Check whether --enable-long-long was given.
16324 if test "${enable_long_long+set}" = set; then :
16325 enableval=$enable_long_long;
16326 case "$enableval" in
16327 yes|no) ;;
16328 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16329 esac
16331 else
16332 enable_long_long=yes
16336 if test $enable_long_long = yes; then
16338 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16342 $as_echo_n "checking for enabled long long specializations... " >&6; }
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16344 $as_echo "$enable_long_long" >&6; }
16347 # Check whether --enable-wchar_t was given.
16348 if test "${enable_wchar_t+set}" = set; then :
16349 enableval=$enable_wchar_t;
16350 case "$enableval" in
16351 yes|no) ;;
16352 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16353 esac
16355 else
16356 enable_wchar_t=yes
16361 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16362 for ac_header in wchar.h
16363 do :
16364 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16365 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_WCHAR_H 1
16368 _ACEOF
16369 ac_has_wchar_h=yes
16370 else
16371 ac_has_wchar_h=no
16374 done
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16377 $as_echo_n "checking for mbstate_t... " >&6; }
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16380 #include <wchar.h>
16382 main ()
16384 mbstate_t teststate;
16386 return 0;
16388 _ACEOF
16389 if ac_fn_c_try_compile "$LINENO"; then :
16390 have_mbstate_t=yes
16391 else
16392 have_mbstate_t=no
16394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16396 $as_echo "$have_mbstate_t" >&6; }
16397 if test x"$have_mbstate_t" = xyes; then
16399 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16403 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16404 # ac_has_wchar_h.
16405 for ac_header in wctype.h
16406 do :
16407 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16408 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_WCTYPE_H 1
16411 _ACEOF
16412 ac_has_wctype_h=yes
16413 else
16414 ac_has_wctype_h=no
16417 done
16420 if test x"$enable_wchar_t" = x"yes"; then
16423 ac_ext=cpp
16424 ac_cpp='$CXXCPP $CPPFLAGS'
16425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16430 if test x"$ac_has_wchar_h" = xyes &&
16431 test x"$ac_has_wctype_h" = xyes; then
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 #include <wchar.h>
16435 #include <stddef.h>
16436 wint_t i;
16437 long l = WEOF;
16438 long j = WCHAR_MIN;
16439 long k = WCHAR_MAX;
16440 namespace test
16442 using ::btowc;
16443 using ::fgetwc;
16444 using ::fgetws;
16445 using ::fputwc;
16446 using ::fputws;
16447 using ::fwide;
16448 using ::fwprintf;
16449 using ::fwscanf;
16450 using ::getwc;
16451 using ::getwchar;
16452 using ::mbrlen;
16453 using ::mbrtowc;
16454 using ::mbsinit;
16455 using ::mbsrtowcs;
16456 using ::putwc;
16457 using ::putwchar;
16458 using ::swprintf;
16459 using ::swscanf;
16460 using ::ungetwc;
16461 using ::vfwprintf;
16462 using ::vswprintf;
16463 using ::vwprintf;
16464 using ::wcrtomb;
16465 using ::wcscat;
16466 using ::wcschr;
16467 using ::wcscmp;
16468 using ::wcscoll;
16469 using ::wcscpy;
16470 using ::wcscspn;
16471 using ::wcsftime;
16472 using ::wcslen;
16473 using ::wcsncat;
16474 using ::wcsncmp;
16475 using ::wcsncpy;
16476 using ::wcspbrk;
16477 using ::wcsrchr;
16478 using ::wcsrtombs;
16479 using ::wcsspn;
16480 using ::wcsstr;
16481 using ::wcstod;
16482 using ::wcstok;
16483 using ::wcstol;
16484 using ::wcstoul;
16485 using ::wcsxfrm;
16486 using ::wctob;
16487 using ::wmemchr;
16488 using ::wmemcmp;
16489 using ::wmemcpy;
16490 using ::wmemmove;
16491 using ::wmemset;
16492 using ::wprintf;
16493 using ::wscanf;
16497 main ()
16501 return 0;
16503 _ACEOF
16504 if ac_fn_cxx_try_compile "$LINENO"; then :
16506 else
16507 enable_wchar_t=no
16509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16510 else
16511 enable_wchar_t=no
16514 ac_ext=c
16515 ac_cpp='$CPP $CPPFLAGS'
16516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16522 if test x"$enable_wchar_t" = x"yes"; then
16524 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16529 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16531 $as_echo "$enable_wchar_t" >&6; }
16535 # Check whether --enable-c99 was given.
16536 if test "${enable_c99+set}" = set; then :
16537 enableval=$enable_c99;
16538 case "$enableval" in
16539 yes|no) ;;
16540 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16541 esac
16543 else
16544 enable_c99=yes
16549 if test x"$enable_c99" = x"yes"; then
16551 ac_ext=cpp
16552 ac_cpp='$CXXCPP $CPPFLAGS'
16553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16558 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16559 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16560 # to be spuriously enabled.
16561 ac_save_CXXFLAGS="$CXXFLAGS"
16562 CXXFLAGS="$CXXFLAGS -std=c++98"
16563 ac_save_LIBS="$LIBS"
16564 ac_save_gcc_no_link="$gcc_no_link"
16566 if test x$gcc_no_link != xyes; then
16567 # Use -fno-exceptions to that the C driver can link these tests without
16568 # hitting undefined references to personality routines.
16569 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16571 $as_echo_n "checking for sin in -lm... " >&6; }
16572 if test "${ac_cv_lib_m_sin+set}" = set; then :
16573 $as_echo_n "(cached) " >&6
16574 else
16575 ac_check_lib_save_LIBS=$LIBS
16576 LIBS="-lm $LIBS"
16577 if test x$gcc_no_link = xyes; then
16578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16583 /* Override any GCC internal prototype to avoid an error.
16584 Use char because int might match the return type of a GCC
16585 builtin and then its argument prototype would still apply. */
16586 #ifdef __cplusplus
16587 extern "C"
16588 #endif
16589 char sin ();
16591 main ()
16593 return sin ();
16595 return 0;
16597 _ACEOF
16598 if ac_fn_cxx_try_link "$LINENO"; then :
16599 ac_cv_lib_m_sin=yes
16600 else
16601 ac_cv_lib_m_sin=no
16603 rm -f core conftest.err conftest.$ac_objext \
16604 conftest$ac_exeext conftest.$ac_ext
16605 LIBS=$ac_check_lib_save_LIBS
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16608 $as_echo "$ac_cv_lib_m_sin" >&6; }
16609 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16610 LIBS="$LIBS -lm"
16611 else
16613 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16614 gcc_no_link=yes
16620 # Check for the existence of <math.h> functions used if C99 is enabled.
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16622 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16623 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16627 if test x$gcc_no_link = xyes; then
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16630 #include <math.h>
16631 volatile double d1, d2;
16632 volatile int i;
16634 main ()
16636 i = fpclassify(d1);
16637 i = isfinite(d1);
16638 i = isinf(d1);
16639 i = isnan(d1);
16640 i = isnormal(d1);
16641 i = signbit(d1);
16642 i = isgreater(d1, d2);
16643 i = isgreaterequal(d1, d2);
16644 i = isless(d1, d2);
16645 i = islessequal(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = islessgreater(d1, d2);
16648 i = isunordered(d1, d2);
16651 return 0;
16653 _ACEOF
16654 if ac_fn_cxx_try_compile "$LINENO"; then :
16655 glibcxx_cv_c99_math_cxx98=yes
16656 else
16657 glibcxx_cv_c99_math_cxx98=no
16659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660 else
16661 if test x$gcc_no_link = xyes; then
16662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16666 #include <math.h>
16667 volatile double d1, d2;
16668 volatile int i;
16670 main ()
16672 i = fpclassify(d1);
16673 i = isfinite(d1);
16674 i = isinf(d1);
16675 i = isnan(d1);
16676 i = isnormal(d1);
16677 i = signbit(d1);
16678 i = isgreater(d1, d2);
16679 i = isgreaterequal(d1, d2);
16680 i = isless(d1, d2);
16681 i = islessequal(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = islessgreater(d1, d2);
16684 i = isunordered(d1, d2);
16687 return 0;
16689 _ACEOF
16690 if ac_fn_cxx_try_link "$LINENO"; then :
16691 glibcxx_cv_c99_math_cxx98=yes
16692 else
16693 glibcxx_cv_c99_math_cxx98=no
16695 rm -f core conftest.err conftest.$ac_objext \
16696 conftest$ac_exeext conftest.$ac_ext
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16702 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16703 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16705 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16709 # Check for the existence of <complex.h> complex math functions.
16710 # This is necessary even though libstdc++ uses the builtin versions
16711 # of these functions, because if the builtin cannot be used, a reference
16712 # to the library function is emitted.
16713 for ac_header in tgmath.h
16714 do :
16715 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16716 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_TGMATH_H 1
16719 _ACEOF
16720 ac_has_tgmath_h=yes
16721 else
16722 ac_has_tgmath_h=no
16725 done
16727 for ac_header in complex.h
16728 do :
16729 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16730 if test "x$ac_cv_header_complex_h" = x""yes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_COMPLEX_H 1
16733 _ACEOF
16734 ac_has_complex_h=yes
16735 else
16736 ac_has_complex_h=no
16739 done
16741 if test x"$ac_has_complex_h" = x"yes"; then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16744 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16745 $as_echo_n "(cached) " >&6
16746 else
16748 if test x$gcc_no_link = xyes; then
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #include <complex.h>
16752 typedef __complex__ float float_type;
16753 typedef __complex__ double double_type;
16754 typedef __complex__ long double ld_type;
16755 volatile float_type tmpf;
16756 volatile double_type tmpd;
16757 volatile ld_type tmpld;
16758 volatile float f;
16759 volatile double d;
16760 volatile long double ld;
16762 main ()
16764 f = cabsf(tmpf);
16765 f = cargf(tmpf);
16766 tmpf = ccosf(tmpf);
16767 tmpf = ccoshf(tmpf);
16768 tmpf = cexpf(tmpf);
16769 tmpf = clogf(tmpf);
16770 tmpf = csinf(tmpf);
16771 tmpf = csinhf(tmpf);
16772 tmpf = csqrtf(tmpf);
16773 tmpf = ctanf(tmpf);
16774 tmpf = ctanhf(tmpf);
16775 tmpf = cpowf(tmpf, tmpf);
16776 tmpf = cprojf(tmpf);
16777 d = cabs(tmpd);
16778 d = carg(tmpd);
16779 tmpd = ccos(tmpd);
16780 tmpd = ccosh(tmpd);
16781 tmpd = cexp(tmpd);
16782 tmpd = clog(tmpd);
16783 tmpd = csin(tmpd);
16784 tmpd = csinh(tmpd);
16785 tmpd = csqrt(tmpd);
16786 tmpd = ctan(tmpd);
16787 tmpd = ctanh(tmpd);
16788 tmpd = cpow(tmpd, tmpd);
16789 tmpd = cproj(tmpd);
16790 ld = cabsl(tmpld);
16791 ld = cargl(tmpld);
16792 tmpld = ccosl(tmpld);
16793 tmpld = ccoshl(tmpld);
16794 tmpld = cexpl(tmpld);
16795 tmpld = clogl(tmpld);
16796 tmpld = csinl(tmpld);
16797 tmpld = csinhl(tmpld);
16798 tmpld = csqrtl(tmpld);
16799 tmpld = ctanl(tmpld);
16800 tmpld = ctanhl(tmpld);
16801 tmpld = cpowl(tmpld, tmpld);
16802 tmpld = cprojl(tmpld);
16805 return 0;
16807 _ACEOF
16808 if ac_fn_cxx_try_compile "$LINENO"; then :
16809 glibcxx_cv_c99_complex_cxx98=yes
16810 else
16811 glibcxx_cv_c99_complex_cxx98=no
16813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16814 else
16815 if test x$gcc_no_link = xyes; then
16816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h. */
16820 #include <complex.h>
16821 typedef __complex__ float float_type;
16822 typedef __complex__ double double_type;
16823 typedef __complex__ long double ld_type;
16824 volatile float_type tmpf;
16825 volatile double_type tmpd;
16826 volatile ld_type tmpld;
16827 volatile float f;
16828 volatile double d;
16829 volatile long double ld;
16831 main ()
16833 f = cabsf(tmpf);
16834 f = cargf(tmpf);
16835 tmpf = ccosf(tmpf);
16836 tmpf = ccoshf(tmpf);
16837 tmpf = cexpf(tmpf);
16838 tmpf = clogf(tmpf);
16839 tmpf = csinf(tmpf);
16840 tmpf = csinhf(tmpf);
16841 tmpf = csqrtf(tmpf);
16842 tmpf = ctanf(tmpf);
16843 tmpf = ctanhf(tmpf);
16844 tmpf = cpowf(tmpf, tmpf);
16845 tmpf = cprojf(tmpf);
16846 d = cabs(tmpd);
16847 d = carg(tmpd);
16848 tmpd = ccos(tmpd);
16849 tmpd = ccosh(tmpd);
16850 tmpd = cexp(tmpd);
16851 tmpd = clog(tmpd);
16852 tmpd = csin(tmpd);
16853 tmpd = csinh(tmpd);
16854 tmpd = csqrt(tmpd);
16855 tmpd = ctan(tmpd);
16856 tmpd = ctanh(tmpd);
16857 tmpd = cpow(tmpd, tmpd);
16858 tmpd = cproj(tmpd);
16859 ld = cabsl(tmpld);
16860 ld = cargl(tmpld);
16861 tmpld = ccosl(tmpld);
16862 tmpld = ccoshl(tmpld);
16863 tmpld = cexpl(tmpld);
16864 tmpld = clogl(tmpld);
16865 tmpld = csinl(tmpld);
16866 tmpld = csinhl(tmpld);
16867 tmpld = csqrtl(tmpld);
16868 tmpld = ctanl(tmpld);
16869 tmpld = ctanhl(tmpld);
16870 tmpld = cpowl(tmpld, tmpld);
16871 tmpld = cprojl(tmpld);
16874 return 0;
16876 _ACEOF
16877 if ac_fn_cxx_try_link "$LINENO"; then :
16878 glibcxx_cv_c99_complex_cxx98=yes
16879 else
16880 glibcxx_cv_c99_complex_cxx98=no
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16890 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16891 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16893 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16897 # Check for the existence in <stdio.h> of vscanf, et. al.
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16899 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16900 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16904 if test x$gcc_no_link = xyes; then
16905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16906 /* end confdefs.h. */
16907 #include <stdio.h>
16908 #include <stdarg.h>
16909 void foo(char* fmt, ...)
16911 va_list args; va_start(args, fmt);
16912 vfscanf(stderr, "%i", args);
16913 vscanf("%i", args);
16914 vsnprintf(fmt, 0, "%i", args);
16915 vsscanf(fmt, "%i", args);
16916 snprintf(fmt, 0, "%i");
16919 main ()
16923 return 0;
16925 _ACEOF
16926 if ac_fn_cxx_try_compile "$LINENO"; then :
16927 glibcxx_cv_c99_stdio_cxx98=yes
16928 else
16929 glibcxx_cv_c99_stdio_cxx98=no
16931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16932 else
16933 if test x$gcc_no_link = xyes; then
16934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 #include <stdio.h>
16939 #include <stdarg.h>
16940 void foo(char* fmt, ...)
16942 va_list args; va_start(args, fmt);
16943 vfscanf(stderr, "%i", args);
16944 vscanf("%i", args);
16945 vsnprintf(fmt, 0, "%i", args);
16946 vsscanf(fmt, "%i", args);
16947 snprintf(fmt, 0, "%i");
16950 main ()
16954 return 0;
16956 _ACEOF
16957 if ac_fn_cxx_try_link "$LINENO"; then :
16958 glibcxx_cv_c99_stdio_cxx98=yes
16959 else
16960 glibcxx_cv_c99_stdio_cxx98=no
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16969 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16970 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16972 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16976 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16978 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16979 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16983 if test x$gcc_no_link = xyes; then
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 #include <stdlib.h>
16987 volatile float f;
16988 volatile long double ld;
16989 volatile unsigned long long ll;
16990 lldiv_t mydivt;
16992 main ()
16994 char* tmp;
16995 f = strtof("gnu", &tmp);
16996 ld = strtold("gnu", &tmp);
16997 ll = strtoll("gnu", &tmp, 10);
16998 ll = strtoull("gnu", &tmp, 10);
16999 ll = llabs(10);
17000 mydivt = lldiv(10,1);
17001 ll = mydivt.quot;
17002 ll = mydivt.rem;
17003 ll = atoll("10");
17004 _Exit(0);
17007 return 0;
17009 _ACEOF
17010 if ac_fn_cxx_try_compile "$LINENO"; then :
17011 glibcxx_cv_c99_stdlib_cxx98=yes
17012 else
17013 glibcxx_cv_c99_stdlib_cxx98=no
17015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 else
17017 if test x$gcc_no_link = xyes; then
17018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 #include <stdlib.h>
17023 volatile float f;
17024 volatile long double ld;
17025 volatile unsigned long long ll;
17026 lldiv_t mydivt;
17028 main ()
17030 char* tmp;
17031 f = strtof("gnu", &tmp);
17032 ld = strtold("gnu", &tmp);
17033 ll = strtoll("gnu", &tmp, 10);
17034 ll = strtoull("gnu", &tmp, 10);
17035 ll = llabs(10);
17036 mydivt = lldiv(10,1);
17037 ll = mydivt.quot;
17038 ll = mydivt.rem;
17039 ll = atoll("10");
17040 _Exit(0);
17043 return 0;
17045 _ACEOF
17046 if ac_fn_cxx_try_link "$LINENO"; then :
17047 glibcxx_cv_c99_stdlib_cxx98=yes
17048 else
17049 glibcxx_cv_c99_stdlib_cxx98=no
17051 rm -f core conftest.err conftest.$ac_objext \
17052 conftest$ac_exeext conftest.$ac_ext
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17058 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17059 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17061 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17065 # Check for the existence in <wchar.h> of wcstold, etc.
17066 if test x"$ac_has_wchar_h" = xyes &&
17067 test x"$ac_has_wctype_h" = xyes; then
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17069 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17070 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #include <wchar.h>
17077 namespace test
17079 using ::wcstold;
17080 using ::wcstoll;
17081 using ::wcstoull;
17085 main ()
17089 return 0;
17091 _ACEOF
17092 if ac_fn_cxx_try_compile "$LINENO"; then :
17093 glibcxx_cv_c99_wchar_cxx98=yes
17094 else
17095 glibcxx_cv_c99_wchar_cxx98=no
17097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17102 # Checks for wide character functions that may not be present.
17103 # Injection of these is wrapped with guard macros.
17104 # NB: only put functions here, instead of immediately above, if
17105 # absolutely necessary.
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #include <wchar.h>
17109 namespace test { using ::vfwscanf; }
17111 main ()
17115 return 0;
17117 _ACEOF
17118 if ac_fn_cxx_try_compile "$LINENO"; then :
17120 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #include <wchar.h>
17128 namespace test { using ::vswscanf; }
17130 main ()
17134 return 0;
17136 _ACEOF
17137 if ac_fn_cxx_try_compile "$LINENO"; then :
17139 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 #include <wchar.h>
17147 namespace test { using ::vwscanf; }
17149 main ()
17153 return 0;
17155 _ACEOF
17156 if ac_fn_cxx_try_compile "$LINENO"; then :
17158 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 #include <wchar.h>
17166 namespace test { using ::wcstof; }
17168 main ()
17172 return 0;
17174 _ACEOF
17175 if ac_fn_cxx_try_compile "$LINENO"; then :
17177 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 #include <wctype.h>
17186 main ()
17188 wint_t t; int i = iswblank(t);
17190 return 0;
17192 _ACEOF
17193 if ac_fn_cxx_try_compile "$LINENO"; then :
17195 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17201 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17202 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17204 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17209 # Option parsed, now set things appropriately.
17210 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17211 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17212 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17213 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17214 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17215 enable_c99=no;
17216 else
17218 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17222 gcc_no_link="$ac_save_gcc_no_link"
17223 LIBS="$ac_save_LIBS"
17224 CXXFLAGS="$ac_save_CXXFLAGS"
17225 ac_ext=c
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17233 ac_ext=cpp
17234 ac_cpp='$CXXCPP $CPPFLAGS'
17235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17240 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17241 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17242 ac_save_CXXFLAGS="$CXXFLAGS"
17243 CXXFLAGS="$CXXFLAGS -std=c++11"
17244 ac_save_LIBS="$LIBS"
17245 ac_save_gcc_no_link="$gcc_no_link"
17247 if test x$gcc_no_link != xyes; then
17248 # Use -fno-exceptions to that the C driver can link these tests without
17249 # hitting undefined references to personality routines.
17250 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17252 $as_echo_n "checking for sin in -lm... " >&6; }
17253 if test "${ac_cv_lib_m_sin+set}" = set; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_check_lib_save_LIBS=$LIBS
17257 LIBS="-lm $LIBS"
17258 if test x$gcc_no_link = xyes; then
17259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17264 /* Override any GCC internal prototype to avoid an error.
17265 Use char because int might match the return type of a GCC
17266 builtin and then its argument prototype would still apply. */
17267 #ifdef __cplusplus
17268 extern "C"
17269 #endif
17270 char sin ();
17272 main ()
17274 return sin ();
17276 return 0;
17278 _ACEOF
17279 if ac_fn_cxx_try_link "$LINENO"; then :
17280 ac_cv_lib_m_sin=yes
17281 else
17282 ac_cv_lib_m_sin=no
17284 rm -f core conftest.err conftest.$ac_objext \
17285 conftest$ac_exeext conftest.$ac_ext
17286 LIBS=$ac_check_lib_save_LIBS
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17289 $as_echo "$ac_cv_lib_m_sin" >&6; }
17290 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17291 LIBS="$LIBS -lm"
17292 else
17294 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17295 gcc_no_link=yes
17301 # Check for the existence of <math.h> functions used if C99 is enabled.
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17303 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17304 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17308 if test x$gcc_no_link = xyes; then
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 #include <math.h>
17312 volatile double d1, d2;
17313 volatile int i;
17315 main ()
17317 i = fpclassify(d1);
17318 i = isfinite(d1);
17319 i = isinf(d1);
17320 i = isnan(d1);
17321 i = isnormal(d1);
17322 i = signbit(d1);
17323 i = isgreater(d1, d2);
17324 i = isgreaterequal(d1, d2);
17325 i = isless(d1, d2);
17326 i = islessequal(d1, d2);
17327 i = islessgreater(d1, d2);
17328 i = islessgreater(d1, d2);
17329 i = isunordered(d1, d2);
17332 return 0;
17334 _ACEOF
17335 if ac_fn_cxx_try_compile "$LINENO"; then :
17336 glibcxx_cv_c99_math_cxx11=yes
17337 else
17338 glibcxx_cv_c99_math_cxx11=no
17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17341 else
17342 if test x$gcc_no_link = xyes; then
17343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 #include <math.h>
17348 volatile double d1, d2;
17349 volatile int i;
17351 main ()
17353 i = fpclassify(d1);
17354 i = isfinite(d1);
17355 i = isinf(d1);
17356 i = isnan(d1);
17357 i = isnormal(d1);
17358 i = signbit(d1);
17359 i = isgreater(d1, d2);
17360 i = isgreaterequal(d1, d2);
17361 i = isless(d1, d2);
17362 i = islessequal(d1, d2);
17363 i = islessgreater(d1, d2);
17364 i = islessgreater(d1, d2);
17365 i = isunordered(d1, d2);
17368 return 0;
17370 _ACEOF
17371 if ac_fn_cxx_try_link "$LINENO"; then :
17372 glibcxx_cv_c99_math_cxx11=yes
17373 else
17374 glibcxx_cv_c99_math_cxx11=no
17376 rm -f core conftest.err conftest.$ac_objext \
17377 conftest$ac_exeext conftest.$ac_ext
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17383 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17384 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17386 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17390 # Check for the existence of <complex.h> complex math functions.
17391 # This is necessary even though libstdc++ uses the builtin versions
17392 # of these functions, because if the builtin cannot be used, a reference
17393 # to the library function is emitted.
17394 for ac_header in tgmath.h
17395 do :
17396 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17397 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17398 cat >>confdefs.h <<_ACEOF
17399 #define HAVE_TGMATH_H 1
17400 _ACEOF
17401 ac_has_tgmath_h=yes
17402 else
17403 ac_has_tgmath_h=no
17406 done
17408 for ac_header in complex.h
17409 do :
17410 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17411 if test "x$ac_cv_header_complex_h" = x""yes; then :
17412 cat >>confdefs.h <<_ACEOF
17413 #define HAVE_COMPLEX_H 1
17414 _ACEOF
17415 ac_has_complex_h=yes
17416 else
17417 ac_has_complex_h=no
17420 done
17422 if test x"$ac_has_complex_h" = x"yes"; then
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17424 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17425 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17426 $as_echo_n "(cached) " >&6
17427 else
17429 if test x$gcc_no_link = xyes; then
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #include <complex.h>
17433 typedef __complex__ float float_type;
17434 typedef __complex__ double double_type;
17435 typedef __complex__ long double ld_type;
17436 volatile float_type tmpf;
17437 volatile double_type tmpd;
17438 volatile ld_type tmpld;
17439 volatile float f;
17440 volatile double d;
17441 volatile long double ld;
17443 main ()
17445 f = cabsf(tmpf);
17446 f = cargf(tmpf);
17447 tmpf = ccosf(tmpf);
17448 tmpf = ccoshf(tmpf);
17449 tmpf = cexpf(tmpf);
17450 tmpf = clogf(tmpf);
17451 tmpf = csinf(tmpf);
17452 tmpf = csinhf(tmpf);
17453 tmpf = csqrtf(tmpf);
17454 tmpf = ctanf(tmpf);
17455 tmpf = ctanhf(tmpf);
17456 tmpf = cpowf(tmpf, tmpf);
17457 tmpf = cprojf(tmpf);
17458 d = cabs(tmpd);
17459 d = carg(tmpd);
17460 tmpd = ccos(tmpd);
17461 tmpd = ccosh(tmpd);
17462 tmpd = cexp(tmpd);
17463 tmpd = clog(tmpd);
17464 tmpd = csin(tmpd);
17465 tmpd = csinh(tmpd);
17466 tmpd = csqrt(tmpd);
17467 tmpd = ctan(tmpd);
17468 tmpd = ctanh(tmpd);
17469 tmpd = cpow(tmpd, tmpd);
17470 tmpd = cproj(tmpd);
17471 ld = cabsl(tmpld);
17472 ld = cargl(tmpld);
17473 tmpld = ccosl(tmpld);
17474 tmpld = ccoshl(tmpld);
17475 tmpld = cexpl(tmpld);
17476 tmpld = clogl(tmpld);
17477 tmpld = csinl(tmpld);
17478 tmpld = csinhl(tmpld);
17479 tmpld = csqrtl(tmpld);
17480 tmpld = ctanl(tmpld);
17481 tmpld = ctanhl(tmpld);
17482 tmpld = cpowl(tmpld, tmpld);
17483 tmpld = cprojl(tmpld);
17486 return 0;
17488 _ACEOF
17489 if ac_fn_cxx_try_compile "$LINENO"; then :
17490 glibcxx_cv_c99_complex_cxx11=yes
17491 else
17492 glibcxx_cv_c99_complex_cxx11=no
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17495 else
17496 if test x$gcc_no_link = xyes; then
17497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 #include <complex.h>
17502 typedef __complex__ float float_type;
17503 typedef __complex__ double double_type;
17504 typedef __complex__ long double ld_type;
17505 volatile float_type tmpf;
17506 volatile double_type tmpd;
17507 volatile ld_type tmpld;
17508 volatile float f;
17509 volatile double d;
17510 volatile long double ld;
17512 main ()
17514 f = cabsf(tmpf);
17515 f = cargf(tmpf);
17516 tmpf = ccosf(tmpf);
17517 tmpf = ccoshf(tmpf);
17518 tmpf = cexpf(tmpf);
17519 tmpf = clogf(tmpf);
17520 tmpf = csinf(tmpf);
17521 tmpf = csinhf(tmpf);
17522 tmpf = csqrtf(tmpf);
17523 tmpf = ctanf(tmpf);
17524 tmpf = ctanhf(tmpf);
17525 tmpf = cpowf(tmpf, tmpf);
17526 tmpf = cprojf(tmpf);
17527 d = cabs(tmpd);
17528 d = carg(tmpd);
17529 tmpd = ccos(tmpd);
17530 tmpd = ccosh(tmpd);
17531 tmpd = cexp(tmpd);
17532 tmpd = clog(tmpd);
17533 tmpd = csin(tmpd);
17534 tmpd = csinh(tmpd);
17535 tmpd = csqrt(tmpd);
17536 tmpd = ctan(tmpd);
17537 tmpd = ctanh(tmpd);
17538 tmpd = cpow(tmpd, tmpd);
17539 tmpd = cproj(tmpd);
17540 ld = cabsl(tmpld);
17541 ld = cargl(tmpld);
17542 tmpld = ccosl(tmpld);
17543 tmpld = ccoshl(tmpld);
17544 tmpld = cexpl(tmpld);
17545 tmpld = clogl(tmpld);
17546 tmpld = csinl(tmpld);
17547 tmpld = csinhl(tmpld);
17548 tmpld = csqrtl(tmpld);
17549 tmpld = ctanl(tmpld);
17550 tmpld = ctanhl(tmpld);
17551 tmpld = cpowl(tmpld, tmpld);
17552 tmpld = cprojl(tmpld);
17555 return 0;
17557 _ACEOF
17558 if ac_fn_cxx_try_link "$LINENO"; then :
17559 glibcxx_cv_c99_complex_cxx11=yes
17560 else
17561 glibcxx_cv_c99_complex_cxx11=no
17563 rm -f core conftest.err conftest.$ac_objext \
17564 conftest$ac_exeext conftest.$ac_ext
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17571 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17572 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17574 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17578 # Check for the existence in <stdio.h> of vscanf, et. al.
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17580 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17581 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17585 if test x$gcc_no_link = xyes; then
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <stdio.h>
17589 #include <stdarg.h>
17590 void foo(char* fmt, ...)
17592 va_list args; va_start(args, fmt);
17593 vfscanf(stderr, "%i", args);
17594 vscanf("%i", args);
17595 vsnprintf(fmt, 0, "%i", args);
17596 vsscanf(fmt, "%i", args);
17597 snprintf(fmt, 0, "%i");
17600 main ()
17604 return 0;
17606 _ACEOF
17607 if ac_fn_cxx_try_compile "$LINENO"; then :
17608 glibcxx_cv_c99_stdio_cxx11=yes
17609 else
17610 glibcxx_cv_c99_stdio_cxx11=no
17612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 else
17614 if test x$gcc_no_link = xyes; then
17615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 #include <stdio.h>
17620 #include <stdarg.h>
17621 void foo(char* fmt, ...)
17623 va_list args; va_start(args, fmt);
17624 vfscanf(stderr, "%i", args);
17625 vscanf("%i", args);
17626 vsnprintf(fmt, 0, "%i", args);
17627 vsscanf(fmt, "%i", args);
17628 snprintf(fmt, 0, "%i");
17631 main ()
17635 return 0;
17637 _ACEOF
17638 if ac_fn_cxx_try_link "$LINENO"; then :
17639 glibcxx_cv_c99_stdio_cxx11=yes
17640 else
17641 glibcxx_cv_c99_stdio_cxx11=no
17643 rm -f core conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17650 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17651 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17653 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17657 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17659 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17660 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17661 $as_echo_n "(cached) " >&6
17662 else
17664 if test x$gcc_no_link = xyes; then
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #include <stdlib.h>
17668 volatile float f;
17669 volatile long double ld;
17670 volatile unsigned long long ll;
17671 lldiv_t mydivt;
17673 main ()
17675 char* tmp;
17676 f = strtof("gnu", &tmp);
17677 ld = strtold("gnu", &tmp);
17678 ll = strtoll("gnu", &tmp, 10);
17679 ll = strtoull("gnu", &tmp, 10);
17680 ll = llabs(10);
17681 mydivt = lldiv(10,1);
17682 ll = mydivt.quot;
17683 ll = mydivt.rem;
17684 ll = atoll("10");
17685 _Exit(0);
17688 return 0;
17690 _ACEOF
17691 if ac_fn_cxx_try_compile "$LINENO"; then :
17692 glibcxx_cv_c99_stdlib_cxx11=yes
17693 else
17694 glibcxx_cv_c99_stdlib_cxx11=no
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17697 else
17698 if test x$gcc_no_link = xyes; then
17699 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703 #include <stdlib.h>
17704 volatile float f;
17705 volatile long double ld;
17706 volatile unsigned long long ll;
17707 lldiv_t mydivt;
17709 main ()
17711 char* tmp;
17712 f = strtof("gnu", &tmp);
17713 ld = strtold("gnu", &tmp);
17714 ll = strtoll("gnu", &tmp, 10);
17715 ll = strtoull("gnu", &tmp, 10);
17716 ll = llabs(10);
17717 mydivt = lldiv(10,1);
17718 ll = mydivt.quot;
17719 ll = mydivt.rem;
17720 ll = atoll("10");
17721 _Exit(0);
17724 return 0;
17726 _ACEOF
17727 if ac_fn_cxx_try_link "$LINENO"; then :
17728 glibcxx_cv_c99_stdlib_cxx11=yes
17729 else
17730 glibcxx_cv_c99_stdlib_cxx11=no
17732 rm -f core conftest.err conftest.$ac_objext \
17733 conftest$ac_exeext conftest.$ac_ext
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17739 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17740 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17742 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17746 # Check for the existence in <wchar.h> of wcstold, etc.
17747 if test x"$ac_has_wchar_h" = xyes &&
17748 test x"$ac_has_wctype_h" = xyes; then
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17750 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17751 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17752 $as_echo_n "(cached) " >&6
17753 else
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 #include <wchar.h>
17758 namespace test
17760 using ::wcstold;
17761 using ::wcstoll;
17762 using ::wcstoull;
17766 main ()
17770 return 0;
17772 _ACEOF
17773 if ac_fn_cxx_try_compile "$LINENO"; then :
17774 glibcxx_cv_c99_wchar_cxx11=yes
17775 else
17776 glibcxx_cv_c99_wchar_cxx11=no
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17783 # Checks for wide character functions that may not be present.
17784 # Injection of these is wrapped with guard macros.
17785 # NB: only put functions here, instead of immediately above, if
17786 # absolutely necessary.
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <wchar.h>
17790 namespace test { using ::vfwscanf; }
17792 main ()
17796 return 0;
17798 _ACEOF
17799 if ac_fn_cxx_try_compile "$LINENO"; then :
17801 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 #include <wchar.h>
17809 namespace test { using ::vswscanf; }
17811 main ()
17815 return 0;
17817 _ACEOF
17818 if ac_fn_cxx_try_compile "$LINENO"; then :
17820 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 #include <wchar.h>
17828 namespace test { using ::vwscanf; }
17830 main ()
17834 return 0;
17836 _ACEOF
17837 if ac_fn_cxx_try_compile "$LINENO"; then :
17839 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h. */
17846 #include <wchar.h>
17847 namespace test { using ::wcstof; }
17849 main ()
17853 return 0;
17855 _ACEOF
17856 if ac_fn_cxx_try_compile "$LINENO"; then :
17858 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17865 #include <wctype.h>
17867 main ()
17869 wint_t t; int i = iswblank(t);
17871 return 0;
17873 _ACEOF
17874 if ac_fn_cxx_try_compile "$LINENO"; then :
17876 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17882 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17883 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17885 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17890 gcc_no_link="$ac_save_gcc_no_link"
17891 LIBS="$ac_save_LIBS"
17892 CXXFLAGS="$ac_save_CXXFLAGS"
17893 ac_ext=c
17894 ac_cpp='$CPP $CPPFLAGS'
17895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17902 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17904 $as_echo "$enable_c99" >&6; }
17907 # Check whether --enable-concept-checks was given.
17908 if test "${enable_concept_checks+set}" = set; then :
17909 enableval=$enable_concept_checks;
17910 case "$enableval" in
17911 yes|no) ;;
17912 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17913 esac
17915 else
17916 enable_concept_checks=no
17920 if test $enable_concept_checks = yes; then
17922 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17927 # Check whether --enable-libstdcxx-debug-flags was given.
17928 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17929 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17930 xno | x) enable_libstdcxx_debug_flags= ;;
17931 x-*) ;;
17932 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17933 esac
17934 else
17935 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17940 # Option parsed, now set things appropriately
17941 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17945 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17949 $as_echo_n "checking for additional debug build... " >&6; }
17950 # Check whether --enable-libstdcxx-debug was given.
17951 if test "${enable_libstdcxx_debug+set}" = set; then :
17952 enableval=$enable_libstdcxx_debug;
17953 case "$enableval" in
17954 yes|no) ;;
17955 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17956 esac
17958 else
17959 enable_libstdcxx_debug=no
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17964 $as_echo "$enable_libstdcxx_debug" >&6; }
17969 enable_parallel=no;
17971 # See if configured libgomp/omp.h exists. (libgomp may be in
17972 # noconfigdirs but not explicitly disabled.)
17973 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17974 enable_parallel=yes;
17975 else
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17977 $as_echo "$as_me: target-libgomp not built" >&6;}
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17981 $as_echo_n "checking for parallel mode support... " >&6; }
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17983 $as_echo "$enable_parallel" >&6; }
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17986 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17987 # Check whether --enable-cxx-flags was given.
17988 if test "${enable_cxx_flags+set}" = set; then :
17989 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17990 xno | x) enable_cxx_flags= ;;
17991 x-*) ;;
17992 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17993 esac
17994 else
17995 enable_cxx_flags=
18000 # Run through flags (either default or command-line) and set anything
18001 # extra (e.g., #defines) that must accompany particular g++ options.
18002 if test -n "$enable_cxx_flags"; then
18003 for f in $enable_cxx_flags; do
18004 case "$f" in
18005 -fhonor-std) ;;
18006 -*) ;;
18007 *) # and we're trying to pass /what/ exactly?
18008 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18009 esac
18010 done
18013 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18015 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18019 # Check whether --enable-fully-dynamic-string was given.
18020 if test "${enable_fully_dynamic_string+set}" = set; then :
18021 enableval=$enable_fully_dynamic_string;
18022 case "$enableval" in
18023 yes|no) ;;
18024 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18025 esac
18027 else
18028 enable_fully_dynamic_string=no
18032 if test $enable_fully_dynamic_string = yes; then
18033 enable_fully_dynamic_string_def=1
18034 else
18035 enable_fully_dynamic_string_def=0
18038 cat >>confdefs.h <<_ACEOF
18039 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18040 _ACEOF
18045 # Check whether --enable-extern-template was given.
18046 if test "${enable_extern_template+set}" = set; then :
18047 enableval=$enable_extern_template;
18048 case "$enableval" in
18049 yes|no) ;;
18050 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18051 esac
18053 else
18054 enable_extern_template=yes
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18060 $as_echo_n "checking for extern template support... " >&6; }
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18062 $as_echo "$enable_extern_template" >&6; }
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18069 $as_echo_n "checking for custom python install directory... " >&6; }
18071 # Check whether --with-python-dir was given.
18072 if test "${with_python_dir+set}" = set; then :
18073 withval=$with_python_dir; with_python_dir=$withval
18074 else
18075 with_python_dir="no"
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18079 $as_echo "${with_python_dir}" >&6; }
18081 # Needed for installing Python modules during make install.
18082 python_mod_dir="${with_python_dir}"
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18088 $as_echo_n "checking for -Werror... " >&6; }
18089 # Check whether --enable-werror was given.
18090 if test "${enable_werror+set}" = set; then :
18091 enableval=$enable_werror;
18092 case "$enableval" in
18093 yes|no) ;;
18094 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18095 esac
18097 else
18098 enable_werror=yes
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18103 $as_echo "$enable_werror" >&6; }
18108 # Check whether --enable-vtable-verify was given.
18109 if test "${enable_vtable_verify+set}" = set; then :
18110 enableval=$enable_vtable_verify;
18111 case "$enableval" in
18112 yes|no) ;;
18113 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18114 esac
18116 else
18117 enable_vtable_verify=no
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18123 $as_echo_n "checking for vtable verify support... " >&6; }
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18125 $as_echo "$enable_vtable_verify" >&6; }
18127 vtv_cygmin=no
18128 if test $enable_vtable_verify = yes; then
18129 case ${target_os} in
18130 cygwin*|mingw32*)
18131 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18132 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18133 vtv_cygmin=yes
18135 darwin*)
18136 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18137 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18139 solaris2*)
18140 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18141 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18144 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18145 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18147 esac
18148 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18149 else
18150 VTV_CXXFLAGS=
18151 VTV_PCH_CXXFLAGS=
18152 VTV_CXXLINKFLAGS=
18158 if test x$vtv_cygmin = xyes; then
18159 VTV_CYGMIN_TRUE=
18160 VTV_CYGMIN_FALSE='#'
18161 else
18162 VTV_CYGMIN_TRUE='#'
18163 VTV_CYGMIN_FALSE=
18169 # Checks for operating systems support that doesn't require linking.
18173 ac_ext=cpp
18174 ac_cpp='$CXXCPP $CPPFLAGS'
18175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18179 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18180 # and we don't need a declaration for C++14 anyway.
18181 ac_save_CXXFLAGS="$CXXFLAGS"
18182 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18185 $as_echo_n "checking for gets declaration... " >&6; }
18186 if test "${glibcxx_cv_gets+set}" = set; then :
18187 $as_echo_n "(cached) " >&6
18188 else
18190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18192 #include <stdio.h>
18193 namespace test
18195 using ::gets;
18198 _ACEOF
18199 if ac_fn_cxx_try_compile "$LINENO"; then :
18200 glibcxx_cv_gets=yes
18201 else
18202 glibcxx_cv_gets=no
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18209 if test $glibcxx_cv_gets = yes; then
18211 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18215 $as_echo "$glibcxx_cv_gets" >&6; }
18217 CXXFLAGS="$ac_save_CXXFLAGS"
18218 ac_ext=c
18219 ac_cpp='$CPP $CPPFLAGS'
18220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18228 ac_ext=cpp
18229 ac_cpp='$CXXCPP $CPPFLAGS'
18230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18234 ac_save_CXXFLAGS="$CXXFLAGS"
18235 CXXFLAGS="$CXXFLAGS -std=c++11"
18237 case "$host" in
18238 *-*-solaris2.*)
18239 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18240 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18242 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18243 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18244 $as_echo_n "(cached) " >&6
18245 else
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18249 #include <math.h>
18250 #undef isfinite
18251 namespace std {
18252 inline bool isfinite(float __x)
18253 { return __builtin_isfinite(__x); }
18256 _ACEOF
18257 if ac_fn_cxx_try_compile "$LINENO"; then :
18258 glibcxx_cv_math11_fp_overload=no
18259 else
18260 glibcxx_cv_math11_fp_overload=yes
18263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18267 # autoheader cannot handle indented templates.
18270 if test $glibcxx_cv_math11_fp_overload = yes; then
18271 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18275 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18277 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18278 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18280 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18281 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18282 $as_echo_n "(cached) " >&6
18283 else
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18287 #include <math.h>
18288 namespace std {
18289 template<typename _Tp>
18290 struct __is_integer;
18291 template<>
18292 struct __is_integer<int>
18294 enum { __value = 1 };
18297 namespace __gnu_cxx {
18298 template<bool, typename>
18299 struct __enable_if;
18300 template<typename _Tp>
18301 struct __enable_if<true, _Tp>
18302 { typedef _Tp __type; };
18304 namespace std {
18305 template<typename _Tp>
18306 constexpr typename __gnu_cxx::__enable_if
18307 <__is_integer<_Tp>::__value, double>::__type
18308 log2(_Tp __x)
18309 { return __builtin_log2(__x); }
18312 main (void)
18314 int i = 1000;
18315 return std::log2(i);
18318 _ACEOF
18319 if ac_fn_cxx_try_compile "$LINENO"; then :
18320 glibcxx_cv_math11_int_overload=no
18321 else
18322 glibcxx_cv_math11_int_overload=yes
18325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18329 # autoheader cannot handle indented templates.
18332 if test $glibcxx_cv_math11_int_overload = yes; then
18333 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18337 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18340 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18341 # functions (instead of or as well as the C99 generic macros) then we
18342 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18343 # and must use the ones from <math.h> instead.
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18345 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18346 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18347 $as_echo_n "(cached) " >&6
18348 else
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18352 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18353 #include <math.h>
18354 #undef isinf
18355 namespace std {
18356 using ::isinf;
18357 bool isinf(float);
18358 bool isinf(long double);
18360 using std::isinf;
18361 bool b = isinf(0.0);
18363 _ACEOF
18364 if ac_fn_cxx_try_compile "$LINENO"; then :
18365 glibcxx_cv_obsolete_isinf=yes
18366 else
18367 glibcxx_cv_obsolete_isinf=no
18370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18374 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18375 if test $glibcxx_cv_obsolete_isinf = yes; then
18377 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18382 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18383 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18384 $as_echo_n "(cached) " >&6
18385 else
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18389 #include <math.h>
18390 #undef isnan
18391 namespace std {
18392 using ::isnan;
18393 bool isnan(float);
18394 bool isnan(long double);
18396 using std::isnan;
18397 bool b = isnan(0.0);
18399 _ACEOF
18400 if ac_fn_cxx_try_compile "$LINENO"; then :
18401 glibcxx_cv_obsolete_isnan=yes
18402 else
18403 glibcxx_cv_obsolete_isnan=no
18406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18410 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18411 if test $glibcxx_cv_obsolete_isnan = yes; then
18413 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18417 esac
18419 CXXFLAGS="$ac_save_CXXFLAGS"
18420 ac_ext=c
18421 ac_cpp='$CPP $CPPFLAGS'
18422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18430 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18431 if test "${glibcxx_cv_system_error1+set}" = set; then :
18432 $as_echo_n "(cached) " >&6
18433 else
18435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18436 /* end confdefs.h. */
18437 #include <errno.h>
18439 main ()
18441 int i = EOWNERDEAD;
18443 return 0;
18445 _ACEOF
18446 if ac_fn_c_try_compile "$LINENO"; then :
18447 glibcxx_cv_system_error1=yes
18448 else
18449 glibcxx_cv_system_error1=no
18451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18456 $as_echo "$glibcxx_cv_system_error1" >&6; }
18457 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18459 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18463 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18464 if test "${glibcxx_cv_system_error2+set}" = set; then :
18465 $as_echo_n "(cached) " >&6
18466 else
18468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18469 /* end confdefs.h. */
18470 #include <errno.h>
18472 main ()
18474 int i = ENOTRECOVERABLE;
18476 return 0;
18478 _ACEOF
18479 if ac_fn_c_try_compile "$LINENO"; then :
18480 glibcxx_cv_system_error2=yes
18481 else
18482 glibcxx_cv_system_error2=no
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18489 $as_echo "$glibcxx_cv_system_error2" >&6; }
18490 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18492 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18496 $as_echo_n "checking for ENOLINK... " >&6; }
18497 if test "${glibcxx_cv_system_error3+set}" = set; then :
18498 $as_echo_n "(cached) " >&6
18499 else
18501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18503 #include <errno.h>
18505 main ()
18507 int i = ENOLINK;
18509 return 0;
18511 _ACEOF
18512 if ac_fn_c_try_compile "$LINENO"; then :
18513 glibcxx_cv_system_error3=yes
18514 else
18515 glibcxx_cv_system_error3=no
18517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18522 $as_echo "$glibcxx_cv_system_error3" >&6; }
18523 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18525 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18529 $as_echo_n "checking for EPROTO... " >&6; }
18530 if test "${glibcxx_cv_system_error4+set}" = set; then :
18531 $as_echo_n "(cached) " >&6
18532 else
18534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18536 #include <errno.h>
18538 main ()
18540 int i = EPROTO;
18542 return 0;
18544 _ACEOF
18545 if ac_fn_c_try_compile "$LINENO"; then :
18546 glibcxx_cv_system_error4=yes
18547 else
18548 glibcxx_cv_system_error4=no
18550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18555 $as_echo "$glibcxx_cv_system_error4" >&6; }
18556 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18558 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18562 $as_echo_n "checking for ENODATA... " >&6; }
18563 if test "${glibcxx_cv_system_error5+set}" = set; then :
18564 $as_echo_n "(cached) " >&6
18565 else
18567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18568 /* end confdefs.h. */
18569 #include <errno.h>
18571 main ()
18573 int i = ENODATA;
18575 return 0;
18577 _ACEOF
18578 if ac_fn_c_try_compile "$LINENO"; then :
18579 glibcxx_cv_system_error5=yes
18580 else
18581 glibcxx_cv_system_error5=no
18583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18588 $as_echo "$glibcxx_cv_system_error5" >&6; }
18589 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18591 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18595 $as_echo_n "checking for ENOSR... " >&6; }
18596 if test "${glibcxx_cv_system_error6+set}" = set; then :
18597 $as_echo_n "(cached) " >&6
18598 else
18600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18601 /* end confdefs.h. */
18602 #include <errno.h>
18604 main ()
18606 int i = ENOSR;
18608 return 0;
18610 _ACEOF
18611 if ac_fn_c_try_compile "$LINENO"; then :
18612 glibcxx_cv_system_error6=yes
18613 else
18614 glibcxx_cv_system_error6=no
18616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18621 $as_echo "$glibcxx_cv_system_error6" >&6; }
18622 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18624 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18628 $as_echo_n "checking for ENOSTR... " >&6; }
18629 if test "${glibcxx_cv_system_error7+set}" = set; then :
18630 $as_echo_n "(cached) " >&6
18631 else
18633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18634 /* end confdefs.h. */
18635 #include <errno.h>
18637 main ()
18639 int i = ENOSTR;
18641 return 0;
18643 _ACEOF
18644 if ac_fn_c_try_compile "$LINENO"; then :
18645 glibcxx_cv_system_error7=yes
18646 else
18647 glibcxx_cv_system_error7=no
18649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18654 $as_echo "$glibcxx_cv_system_error7" >&6; }
18655 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18657 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18661 $as_echo_n "checking for ETIME... " >&6; }
18662 if test "${glibcxx_cv_system_error8+set}" = set; then :
18663 $as_echo_n "(cached) " >&6
18664 else
18666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18668 #include <errno.h>
18670 main ()
18672 int i = ETIME;
18674 return 0;
18676 _ACEOF
18677 if ac_fn_c_try_compile "$LINENO"; then :
18678 glibcxx_cv_system_error8=yes
18679 else
18680 glibcxx_cv_system_error8=no
18682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18687 $as_echo "$glibcxx_cv_system_error8" >&6; }
18688 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18690 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18694 $as_echo_n "checking for EBADMSG... " >&6; }
18695 if test "${glibcxx_cv_system_error9+set}" = set; then :
18696 $as_echo_n "(cached) " >&6
18697 else
18699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18700 /* end confdefs.h. */
18701 #include <errno.h>
18703 main ()
18705 int i = EBADMSG;
18707 return 0;
18709 _ACEOF
18710 if ac_fn_c_try_compile "$LINENO"; then :
18711 glibcxx_cv_system_error9=yes
18712 else
18713 glibcxx_cv_system_error9=no
18715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18720 $as_echo "$glibcxx_cv_system_error9" >&6; }
18721 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18723 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18727 $as_echo_n "checking for ECANCELED... " >&6; }
18728 if test "${glibcxx_cv_system_error10+set}" = set; then :
18729 $as_echo_n "(cached) " >&6
18730 else
18732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18733 /* end confdefs.h. */
18734 #include <errno.h>
18736 main ()
18738 int i = ECANCELED;
18740 return 0;
18742 _ACEOF
18743 if ac_fn_c_try_compile "$LINENO"; then :
18744 glibcxx_cv_system_error10=yes
18745 else
18746 glibcxx_cv_system_error10=no
18748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18753 $as_echo "$glibcxx_cv_system_error10" >&6; }
18754 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18756 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18760 $as_echo_n "checking for EOVERFLOW... " >&6; }
18761 if test "${glibcxx_cv_system_error11+set}" = set; then :
18762 $as_echo_n "(cached) " >&6
18763 else
18765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18766 /* end confdefs.h. */
18767 #include <errno.h>
18769 main ()
18771 int i = EOVERFLOW;
18773 return 0;
18775 _ACEOF
18776 if ac_fn_c_try_compile "$LINENO"; then :
18777 glibcxx_cv_system_error11=yes
18778 else
18779 glibcxx_cv_system_error11=no
18781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18786 $as_echo "$glibcxx_cv_system_error11" >&6; }
18787 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18789 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18793 $as_echo_n "checking for ENOTSUP... " >&6; }
18794 if test "${glibcxx_cv_system_error12+set}" = set; then :
18795 $as_echo_n "(cached) " >&6
18796 else
18798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18799 /* end confdefs.h. */
18800 #include <errno.h>
18802 main ()
18804 int i = ENOTSUP;
18806 return 0;
18808 _ACEOF
18809 if ac_fn_c_try_compile "$LINENO"; then :
18810 glibcxx_cv_system_error12=yes
18811 else
18812 glibcxx_cv_system_error12=no
18814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18819 $as_echo "$glibcxx_cv_system_error12" >&6; }
18820 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18822 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18826 $as_echo_n "checking for EIDRM... " >&6; }
18827 if test "${glibcxx_cv_system_error13+set}" = set; then :
18828 $as_echo_n "(cached) " >&6
18829 else
18831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18832 /* end confdefs.h. */
18833 #include <errno.h>
18835 main ()
18837 int i = EIDRM;
18839 return 0;
18841 _ACEOF
18842 if ac_fn_c_try_compile "$LINENO"; then :
18843 glibcxx_cv_system_error13=yes
18844 else
18845 glibcxx_cv_system_error13=no
18847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18852 $as_echo "$glibcxx_cv_system_error13" >&6; }
18853 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18855 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18859 $as_echo_n "checking for ETXTBSY... " >&6; }
18860 if test "${glibcxx_cv_system_error14+set}" = set; then :
18861 $as_echo_n "(cached) " >&6
18862 else
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18866 #include <errno.h>
18868 main ()
18870 int i = ETXTBSY;
18872 return 0;
18874 _ACEOF
18875 if ac_fn_c_try_compile "$LINENO"; then :
18876 glibcxx_cv_system_error14=yes
18877 else
18878 glibcxx_cv_system_error14=no
18880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18885 $as_echo "$glibcxx_cv_system_error14" >&6; }
18886 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18888 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18892 $as_echo_n "checking for ECHILD... " >&6; }
18893 if test "${glibcxx_cv_system_error15+set}" = set; then :
18894 $as_echo_n "(cached) " >&6
18895 else
18897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18899 #include <errno.h>
18901 main ()
18903 int i = ECHILD;
18905 return 0;
18907 _ACEOF
18908 if ac_fn_c_try_compile "$LINENO"; then :
18909 glibcxx_cv_system_error15=yes
18910 else
18911 glibcxx_cv_system_error15=no
18913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18918 $as_echo "$glibcxx_cv_system_error15" >&6; }
18919 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18921 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18925 $as_echo_n "checking for ENOSPC... " >&6; }
18926 if test "${glibcxx_cv_system_error16+set}" = set; then :
18927 $as_echo_n "(cached) " >&6
18928 else
18930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18931 /* end confdefs.h. */
18932 #include <errno.h>
18934 main ()
18936 int i = ENOSPC;
18938 return 0;
18940 _ACEOF
18941 if ac_fn_c_try_compile "$LINENO"; then :
18942 glibcxx_cv_system_error16=yes
18943 else
18944 glibcxx_cv_system_error16=no
18946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18951 $as_echo "$glibcxx_cv_system_error16" >&6; }
18952 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18954 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18958 $as_echo_n "checking for EPERM... " >&6; }
18959 if test "${glibcxx_cv_system_error17+set}" = set; then :
18960 $as_echo_n "(cached) " >&6
18961 else
18963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18964 /* end confdefs.h. */
18965 #include <errno.h>
18967 main ()
18969 int i = EPERM;
18971 return 0;
18973 _ACEOF
18974 if ac_fn_c_try_compile "$LINENO"; then :
18975 glibcxx_cv_system_error17=yes
18976 else
18977 glibcxx_cv_system_error17=no
18979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18984 $as_echo "$glibcxx_cv_system_error17" >&6; }
18985 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18987 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18991 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18992 if test "${glibcxx_cv_system_error18+set}" = set; then :
18993 $as_echo_n "(cached) " >&6
18994 else
18996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h. */
18998 #include <errno.h>
19000 main ()
19002 int i = ETIMEDOUT;
19004 return 0;
19006 _ACEOF
19007 if ac_fn_c_try_compile "$LINENO"; then :
19008 glibcxx_cv_system_error18=yes
19009 else
19010 glibcxx_cv_system_error18=no
19012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19017 $as_echo "$glibcxx_cv_system_error18" >&6; }
19018 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19020 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19024 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19025 if test "${glibcxx_cv_system_error19+set}" = set; then :
19026 $as_echo_n "(cached) " >&6
19027 else
19029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19030 /* end confdefs.h. */
19031 #include <errno.h>
19033 main ()
19035 int i = EWOULDBLOCK;
19037 return 0;
19039 _ACEOF
19040 if ac_fn_c_try_compile "$LINENO"; then :
19041 glibcxx_cv_system_error19=yes
19042 else
19043 glibcxx_cv_system_error19=no
19045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19050 $as_echo "$glibcxx_cv_system_error19" >&6; }
19051 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19053 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19060 # Test uchar.h.
19061 for ac_header in uchar.h
19062 do :
19063 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19064 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_UCHAR_H 1
19067 _ACEOF
19068 ac_has_uchar_h=yes
19069 else
19070 ac_has_uchar_h=no
19073 done
19077 ac_ext=cpp
19078 ac_cpp='$CXXCPP $CPPFLAGS'
19079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19083 ac_save_CXXFLAGS="$CXXFLAGS"
19084 CXXFLAGS="$CXXFLAGS -std=c++11"
19086 if test x"$ac_has_uchar_h" = x"yes"; then
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19088 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19091 #include <uchar.h>
19092 #ifdef __STDC_UTF_16__
19093 long i = __STDC_UTF_16__;
19094 #endif
19095 #ifdef __STDC_UTF_32__
19096 long j = __STDC_UTF_32__;
19097 #endif
19098 namespace test
19100 using ::c16rtomb;
19101 using ::c32rtomb;
19102 using ::mbrtoc16;
19103 using ::mbrtoc32;
19107 main ()
19111 return 0;
19113 _ACEOF
19114 if ac_fn_cxx_try_compile "$LINENO"; then :
19115 ac_c11_uchar_cxx11=yes
19116 else
19117 ac_c11_uchar_cxx11=no
19119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19120 else
19121 ac_c11_uchar_cxx11=no
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19124 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19125 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19127 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19131 CXXFLAGS="$ac_save_CXXFLAGS"
19132 ac_ext=c
19133 ac_cpp='$CPP $CPPFLAGS'
19134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19140 # For the streamoff typedef.
19144 ac_ext=cpp
19145 ac_cpp='$CXXCPP $CPPFLAGS'
19146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19152 $as_echo_n "checking for int64_t... " >&6; }
19153 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19154 $as_echo_n "(cached) " >&6
19155 else
19157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19158 /* end confdefs.h. */
19159 #include <stdint.h>
19161 main ()
19163 int64_t var;
19165 return 0;
19167 _ACEOF
19168 if ac_fn_cxx_try_compile "$LINENO"; then :
19169 glibcxx_cv_INT64_T=yes
19170 else
19171 glibcxx_cv_INT64_T=no
19173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19178 if test $glibcxx_cv_INT64_T = yes; then
19180 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19183 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19186 $as_echo_n "checking for int64_t as long... " >&6; }
19187 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19188 $as_echo_n "(cached) " >&6
19189 else
19191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19192 /* end confdefs.h. */
19193 #include <stdint.h>
19194 template<typename, typename> struct same { enum { value = -1 }; };
19195 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19196 int array[same<int64_t, long>::value];
19198 main ()
19202 return 0;
19204 _ACEOF
19205 if ac_fn_cxx_try_compile "$LINENO"; then :
19206 glibcxx_cv_int64_t_long=yes
19207 else
19208 glibcxx_cv_int64_t_long=no
19210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19215 if test $glibcxx_cv_int64_t_long = yes; then
19217 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19220 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19224 $as_echo_n "checking for int64_t as long long... " >&6; }
19225 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19226 $as_echo_n "(cached) " >&6
19227 else
19229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19230 /* end confdefs.h. */
19231 #include <stdint.h>
19232 template<typename, typename> struct same { enum { value = -1 }; };
19233 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19234 int array[same<int64_t, long long>::value];
19236 main ()
19240 return 0;
19242 _ACEOF
19243 if ac_fn_cxx_try_compile "$LINENO"; then :
19244 glibcxx_cv_int64_t_long_long=yes
19245 else
19246 glibcxx_cv_int64_t_long_long=no
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19253 if test $glibcxx_cv_int64_t_long_long = yes; then
19255 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19258 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19262 ac_ext=c
19263 ac_cpp='$CPP $CPPFLAGS'
19264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19270 # For LFS support.
19273 ac_ext=cpp
19274 ac_cpp='$CXXCPP $CPPFLAGS'
19275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19279 ac_save_CXXFLAGS="$CXXFLAGS"
19280 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19282 $as_echo_n "checking for LFS support... " >&6; }
19283 if test "${glibcxx_cv_LFS+set}" = set; then :
19284 $as_echo_n "(cached) " >&6
19285 else
19287 if test x$gcc_no_link = xyes; then
19288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19289 /* end confdefs.h. */
19290 #include <unistd.h>
19291 #include <stdio.h>
19292 #include <sys/stat.h>
19295 main ()
19297 FILE* fp;
19298 fopen64("t", "w");
19299 fseeko64(fp, 0, SEEK_CUR);
19300 ftello64(fp);
19301 lseek64(1, 0, SEEK_CUR);
19302 struct stat64 buf;
19303 fstat64(1, &buf);
19305 return 0;
19307 _ACEOF
19308 if ac_fn_cxx_try_compile "$LINENO"; then :
19309 glibcxx_cv_LFS=yes
19310 else
19311 glibcxx_cv_LFS=no
19313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19314 else
19315 if test x$gcc_no_link = xyes; then
19316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19319 /* end confdefs.h. */
19320 #include <unistd.h>
19321 #include <stdio.h>
19322 #include <sys/stat.h>
19325 main ()
19327 FILE* fp;
19328 fopen64("t", "w");
19329 fseeko64(fp, 0, SEEK_CUR);
19330 ftello64(fp);
19331 lseek64(1, 0, SEEK_CUR);
19332 struct stat64 buf;
19333 fstat64(1, &buf);
19335 return 0;
19337 _ACEOF
19338 if ac_fn_cxx_try_link "$LINENO"; then :
19339 glibcxx_cv_LFS=yes
19340 else
19341 glibcxx_cv_LFS=no
19343 rm -f core conftest.err conftest.$ac_objext \
19344 conftest$ac_exeext conftest.$ac_ext
19349 if test $glibcxx_cv_LFS = yes; then
19351 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19355 $as_echo "$glibcxx_cv_LFS" >&6; }
19356 CXXFLAGS="$ac_save_CXXFLAGS"
19357 ac_ext=c
19358 ac_cpp='$CPP $CPPFLAGS'
19359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19365 # For showmanyc_helper().
19366 for ac_header in sys/ioctl.h sys/filio.h
19367 do :
19368 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19369 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19370 eval as_val=\$$as_ac_Header
19371 if test "x$as_val" = x""yes; then :
19372 cat >>confdefs.h <<_ACEOF
19373 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19374 _ACEOF
19378 done
19383 ac_ext=cpp
19384 ac_cpp='$CXXCPP $CPPFLAGS'
19385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19389 ac_save_CXXFLAGS="$CXXFLAGS"
19390 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19393 $as_echo_n "checking for poll... " >&6; }
19394 if test "${glibcxx_cv_POLL+set}" = set; then :
19395 $as_echo_n "(cached) " >&6
19396 else
19398 if test x$gcc_no_link = xyes; then
19399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19401 #include <poll.h>
19403 main ()
19405 struct pollfd pfd[1];
19406 pfd[0].events = POLLIN;
19407 poll(pfd, 1, 0);
19409 return 0;
19411 _ACEOF
19412 if ac_fn_cxx_try_compile "$LINENO"; then :
19413 glibcxx_cv_POLL=yes
19414 else
19415 glibcxx_cv_POLL=no
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 else
19419 if test x$gcc_no_link = xyes; then
19420 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19423 /* end confdefs.h. */
19424 #include <poll.h>
19426 main ()
19428 struct pollfd pfd[1];
19429 pfd[0].events = POLLIN;
19430 poll(pfd, 1, 0);
19432 return 0;
19434 _ACEOF
19435 if ac_fn_cxx_try_link "$LINENO"; then :
19436 glibcxx_cv_POLL=yes
19437 else
19438 glibcxx_cv_POLL=no
19440 rm -f core conftest.err conftest.$ac_objext \
19441 conftest$ac_exeext conftest.$ac_ext
19446 if test $glibcxx_cv_POLL = yes; then
19448 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19452 $as_echo "$glibcxx_cv_POLL" >&6; }
19454 CXXFLAGS="$ac_save_CXXFLAGS"
19455 ac_ext=c
19456 ac_cpp='$CPP $CPPFLAGS'
19457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19465 ac_ext=cpp
19466 ac_cpp='$CXXCPP $CPPFLAGS'
19467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19471 ac_save_CXXFLAGS="$CXXFLAGS"
19472 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19475 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19476 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19477 $as_echo_n "(cached) " >&6
19478 else
19480 if test x$gcc_no_link = xyes; then
19481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19483 #include <sys/stat.h>
19485 main ()
19487 struct stat buffer;
19488 fstat(0, &buffer);
19489 S_ISREG(buffer.st_mode);
19491 return 0;
19493 _ACEOF
19494 if ac_fn_cxx_try_compile "$LINENO"; then :
19495 glibcxx_cv_S_ISREG=yes
19496 else
19497 glibcxx_cv_S_ISREG=no
19499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19500 else
19501 if test x$gcc_no_link = xyes; then
19502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19505 /* end confdefs.h. */
19506 #include <sys/stat.h>
19508 main ()
19510 struct stat buffer;
19511 fstat(0, &buffer);
19512 S_ISREG(buffer.st_mode);
19514 return 0;
19516 _ACEOF
19517 if ac_fn_cxx_try_link "$LINENO"; then :
19518 glibcxx_cv_S_ISREG=yes
19519 else
19520 glibcxx_cv_S_ISREG=no
19522 rm -f core conftest.err conftest.$ac_objext \
19523 conftest$ac_exeext conftest.$ac_ext
19528 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19529 $as_echo_n "(cached) " >&6
19530 else
19532 if test x$gcc_no_link = xyes; then
19533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19535 #include <sys/stat.h>
19537 main ()
19539 struct stat buffer;
19540 fstat(0, &buffer);
19541 S_IFREG & buffer.st_mode;
19543 return 0;
19545 _ACEOF
19546 if ac_fn_cxx_try_compile "$LINENO"; then :
19547 glibcxx_cv_S_IFREG=yes
19548 else
19549 glibcxx_cv_S_IFREG=no
19551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19552 else
19553 if test x$gcc_no_link = xyes; then
19554 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19558 #include <sys/stat.h>
19560 main ()
19562 struct stat buffer;
19563 fstat(0, &buffer);
19564 S_IFREG & buffer.st_mode;
19566 return 0;
19568 _ACEOF
19569 if ac_fn_cxx_try_link "$LINENO"; then :
19570 glibcxx_cv_S_IFREG=yes
19571 else
19572 glibcxx_cv_S_IFREG=no
19574 rm -f core conftest.err conftest.$ac_objext \
19575 conftest$ac_exeext conftest.$ac_ext
19580 res=no
19581 if test $glibcxx_cv_S_ISREG = yes; then
19583 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19585 res=S_ISREG
19586 elif test $glibcxx_cv_S_IFREG = yes; then
19588 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19590 res=S_IFREG
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19593 $as_echo "$res" >&6; }
19595 CXXFLAGS="$ac_save_CXXFLAGS"
19596 ac_ext=c
19597 ac_cpp='$CPP $CPPFLAGS'
19598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19604 # For xsputn_2().
19605 for ac_header in sys/uio.h
19606 do :
19607 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19608 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19609 cat >>confdefs.h <<_ACEOF
19610 #define HAVE_SYS_UIO_H 1
19611 _ACEOF
19615 done
19620 ac_ext=cpp
19621 ac_cpp='$CXXCPP $CPPFLAGS'
19622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19626 ac_save_CXXFLAGS="$CXXFLAGS"
19627 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19630 $as_echo_n "checking for writev... " >&6; }
19631 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19632 $as_echo_n "(cached) " >&6
19633 else
19635 if test x$gcc_no_link = xyes; then
19636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19637 /* end confdefs.h. */
19638 #include <sys/uio.h>
19640 main ()
19642 struct iovec iov[2];
19643 writev(0, iov, 0);
19645 return 0;
19647 _ACEOF
19648 if ac_fn_cxx_try_compile "$LINENO"; then :
19649 glibcxx_cv_WRITEV=yes
19650 else
19651 glibcxx_cv_WRITEV=no
19653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19654 else
19655 if test x$gcc_no_link = xyes; then
19656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h. */
19660 #include <sys/uio.h>
19662 main ()
19664 struct iovec iov[2];
19665 writev(0, iov, 0);
19667 return 0;
19669 _ACEOF
19670 if ac_fn_cxx_try_link "$LINENO"; then :
19671 glibcxx_cv_WRITEV=yes
19672 else
19673 glibcxx_cv_WRITEV=no
19675 rm -f core conftest.err conftest.$ac_objext \
19676 conftest$ac_exeext conftest.$ac_ext
19681 if test $glibcxx_cv_WRITEV = yes; then
19683 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19687 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19689 CXXFLAGS="$ac_save_CXXFLAGS"
19690 ac_ext=c
19691 ac_cpp='$CPP $CPPFLAGS'
19692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19698 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19699 # so that the check is done with the C compiler (not C++).
19700 # Checking with C++ can break a canadian cross build if either
19701 # file does not exist in C but does in C++.
19702 for ac_header in fenv.h complex.h
19703 do :
19704 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19705 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19706 eval as_val=\$$as_ac_Header
19707 if test "x$as_val" = x""yes; then :
19708 cat >>confdefs.h <<_ACEOF
19709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19710 _ACEOF
19714 done
19717 # For C99 support to TR1.
19721 ac_ext=cpp
19722 ac_cpp='$CXXCPP $CPPFLAGS'
19723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19728 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19729 # undefined and fake C99 facilities may be spuriously enabled.
19730 ac_save_CXXFLAGS="$CXXFLAGS"
19731 CXXFLAGS="$CXXFLAGS -std=c++98"
19733 # Check for the existence of <complex.h> complex math functions used
19734 # by tr1/complex.
19735 for ac_header in complex.h
19736 do :
19737 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19738 if test "x$ac_cv_header_complex_h" = x""yes; then :
19739 cat >>confdefs.h <<_ACEOF
19740 #define HAVE_COMPLEX_H 1
19741 _ACEOF
19742 ac_has_complex_h=yes
19743 else
19744 ac_has_complex_h=no
19747 done
19749 ac_c99_complex_tr1=no;
19750 if test x"$ac_has_complex_h" = x"yes"; then
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19752 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19755 #include <complex.h>
19757 main ()
19759 typedef __complex__ float float_type; float_type tmpf;
19760 cacosf(tmpf);
19761 casinf(tmpf);
19762 catanf(tmpf);
19763 cacoshf(tmpf);
19764 casinhf(tmpf);
19765 catanhf(tmpf);
19766 typedef __complex__ double double_type; double_type tmpd;
19767 cacos(tmpd);
19768 casin(tmpd);
19769 catan(tmpd);
19770 cacosh(tmpd);
19771 casinh(tmpd);
19772 catanh(tmpd);
19773 typedef __complex__ long double ld_type; ld_type tmpld;
19774 cacosl(tmpld);
19775 casinl(tmpld);
19776 catanl(tmpld);
19777 cacoshl(tmpld);
19778 casinhl(tmpld);
19779 catanhl(tmpld);
19782 return 0;
19784 _ACEOF
19785 if ac_fn_cxx_try_compile "$LINENO"; then :
19786 ac_c99_complex_tr1=yes
19787 else
19788 ac_c99_complex_tr1=no
19790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19793 $as_echo "$ac_c99_complex_tr1" >&6; }
19794 if test x"$ac_c99_complex_tr1" = x"yes"; then
19796 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19800 # Check for the existence of <ctype.h> functions.
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19802 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19803 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19804 $as_echo_n "(cached) " >&6
19805 else
19807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19809 #include <ctype.h>
19811 main ()
19813 int ch;
19814 int ret;
19815 ret = isblank(ch);
19818 return 0;
19820 _ACEOF
19821 if ac_fn_cxx_try_compile "$LINENO"; then :
19822 glibcxx_cv_c99_ctype_tr1=yes
19823 else
19824 glibcxx_cv_c99_ctype_tr1=no
19826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19831 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19832 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19834 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19838 # Check for the existence of <fenv.h> functions.
19839 for ac_header in fenv.h
19840 do :
19841 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19842 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19843 cat >>confdefs.h <<_ACEOF
19844 #define HAVE_FENV_H 1
19845 _ACEOF
19846 ac_has_fenv_h=yes
19847 else
19848 ac_has_fenv_h=no
19851 done
19853 ac_c99_fenv_tr1=no;
19854 if test x"$ac_has_fenv_h" = x"yes"; then
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19856 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19858 /* end confdefs.h. */
19859 #include <fenv.h>
19861 main ()
19863 int except, mode;
19864 fexcept_t* pflag;
19865 fenv_t* penv;
19866 int ret;
19867 ret = feclearexcept(except);
19868 ret = fegetexceptflag(pflag, except);
19869 ret = feraiseexcept(except);
19870 ret = fesetexceptflag(pflag, except);
19871 ret = fetestexcept(except);
19872 ret = fegetround();
19873 ret = fesetround(mode);
19874 ret = fegetenv(penv);
19875 ret = feholdexcept(penv);
19876 ret = fesetenv(penv);
19877 ret = feupdateenv(penv);
19880 return 0;
19882 _ACEOF
19883 if ac_fn_cxx_try_compile "$LINENO"; then :
19884 ac_c99_fenv_tr1=yes
19885 else
19886 ac_c99_fenv_tr1=no
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19891 $as_echo "$ac_c99_fenv_tr1" >&6; }
19892 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19894 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19898 # Check for the existence of <stdint.h> types.
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19900 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19901 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19902 $as_echo_n "(cached) " >&6
19903 else
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h. */
19907 #define __STDC_LIMIT_MACROS
19908 #define __STDC_CONSTANT_MACROS
19909 #include <stdint.h>
19911 main ()
19913 typedef int8_t my_int8_t;
19914 my_int8_t i8 = INT8_MIN;
19915 i8 = INT8_MAX;
19916 typedef int16_t my_int16_t;
19917 my_int16_t i16 = INT16_MIN;
19918 i16 = INT16_MAX;
19919 typedef int32_t my_int32_t;
19920 my_int32_t i32 = INT32_MIN;
19921 i32 = INT32_MAX;
19922 typedef int64_t my_int64_t;
19923 my_int64_t i64 = INT64_MIN;
19924 i64 = INT64_MAX;
19925 typedef int_fast8_t my_int_fast8_t;
19926 my_int_fast8_t if8 = INT_FAST8_MIN;
19927 if8 = INT_FAST8_MAX;
19928 typedef int_fast16_t my_int_fast16_t;
19929 my_int_fast16_t if16 = INT_FAST16_MIN;
19930 if16 = INT_FAST16_MAX;
19931 typedef int_fast32_t my_int_fast32_t;
19932 my_int_fast32_t if32 = INT_FAST32_MIN;
19933 if32 = INT_FAST32_MAX;
19934 typedef int_fast64_t my_int_fast64_t;
19935 my_int_fast64_t if64 = INT_FAST64_MIN;
19936 if64 = INT_FAST64_MAX;
19937 typedef int_least8_t my_int_least8_t;
19938 my_int_least8_t il8 = INT_LEAST8_MIN;
19939 il8 = INT_LEAST8_MAX;
19940 typedef int_least16_t my_int_least16_t;
19941 my_int_least16_t il16 = INT_LEAST16_MIN;
19942 il16 = INT_LEAST16_MAX;
19943 typedef int_least32_t my_int_least32_t;
19944 my_int_least32_t il32 = INT_LEAST32_MIN;
19945 il32 = INT_LEAST32_MAX;
19946 typedef int_least64_t my_int_least64_t;
19947 my_int_least64_t il64 = INT_LEAST64_MIN;
19948 il64 = INT_LEAST64_MAX;
19949 typedef intmax_t my_intmax_t;
19950 my_intmax_t im = INTMAX_MAX;
19951 im = INTMAX_MIN;
19952 typedef intptr_t my_intptr_t;
19953 my_intptr_t ip = INTPTR_MAX;
19954 ip = INTPTR_MIN;
19955 typedef uint8_t my_uint8_t;
19956 my_uint8_t ui8 = UINT8_MAX;
19957 ui8 = UINT8_MAX;
19958 typedef uint16_t my_uint16_t;
19959 my_uint16_t ui16 = UINT16_MAX;
19960 ui16 = UINT16_MAX;
19961 typedef uint32_t my_uint32_t;
19962 my_uint32_t ui32 = UINT32_MAX;
19963 ui32 = UINT32_MAX;
19964 typedef uint64_t my_uint64_t;
19965 my_uint64_t ui64 = UINT64_MAX;
19966 ui64 = UINT64_MAX;
19967 typedef uint_fast8_t my_uint_fast8_t;
19968 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19969 uif8 = UINT_FAST8_MAX;
19970 typedef uint_fast16_t my_uint_fast16_t;
19971 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19972 uif16 = UINT_FAST16_MAX;
19973 typedef uint_fast32_t my_uint_fast32_t;
19974 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19975 uif32 = UINT_FAST32_MAX;
19976 typedef uint_fast64_t my_uint_fast64_t;
19977 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19978 uif64 = UINT_FAST64_MAX;
19979 typedef uint_least8_t my_uint_least8_t;
19980 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19981 uil8 = UINT_LEAST8_MAX;
19982 typedef uint_least16_t my_uint_least16_t;
19983 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19984 uil16 = UINT_LEAST16_MAX;
19985 typedef uint_least32_t my_uint_least32_t;
19986 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19987 uil32 = UINT_LEAST32_MAX;
19988 typedef uint_least64_t my_uint_least64_t;
19989 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19990 uil64 = UINT_LEAST64_MAX;
19991 typedef uintmax_t my_uintmax_t;
19992 my_uintmax_t uim = UINTMAX_MAX;
19993 uim = UINTMAX_MAX;
19994 typedef uintptr_t my_uintptr_t;
19995 my_uintptr_t uip = UINTPTR_MAX;
19996 uip = UINTPTR_MAX;
19999 return 0;
20001 _ACEOF
20002 if ac_fn_cxx_try_compile "$LINENO"; then :
20003 glibcxx_cv_c99_stdint_tr1=yes
20004 else
20005 glibcxx_cv_c99_stdint_tr1=no
20007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20012 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20013 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20015 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20019 # Check for the existence of <math.h> functions.
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20021 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20022 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20023 $as_echo_n "(cached) " >&6
20024 else
20026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20027 /* end confdefs.h. */
20028 #include <math.h>
20030 main ()
20032 typedef double_t my_double_t;
20033 typedef float_t my_float_t;
20034 acosh(0.0);
20035 acoshf(0.0f);
20036 acoshl(0.0l);
20037 asinh(0.0);
20038 asinhf(0.0f);
20039 asinhl(0.0l);
20040 atanh(0.0);
20041 atanhf(0.0f);
20042 atanhl(0.0l);
20043 cbrt(0.0);
20044 cbrtf(0.0f);
20045 cbrtl(0.0l);
20046 copysign(0.0, 0.0);
20047 copysignf(0.0f, 0.0f);
20048 copysignl(0.0l, 0.0l);
20049 erf(0.0);
20050 erff(0.0f);
20051 erfl(0.0l);
20052 erfc(0.0);
20053 erfcf(0.0f);
20054 erfcl(0.0l);
20055 exp2(0.0);
20056 exp2f(0.0f);
20057 exp2l(0.0l);
20058 expm1(0.0);
20059 expm1f(0.0f);
20060 expm1l(0.0l);
20061 fdim(0.0, 0.0);
20062 fdimf(0.0f, 0.0f);
20063 fdiml(0.0l, 0.0l);
20064 fma(0.0, 0.0, 0.0);
20065 fmaf(0.0f, 0.0f, 0.0f);
20066 fmal(0.0l, 0.0l, 0.0l);
20067 fmax(0.0, 0.0);
20068 fmaxf(0.0f, 0.0f);
20069 fmaxl(0.0l, 0.0l);
20070 fmin(0.0, 0.0);
20071 fminf(0.0f, 0.0f);
20072 fminl(0.0l, 0.0l);
20073 hypot(0.0, 0.0);
20074 hypotf(0.0f, 0.0f);
20075 hypotl(0.0l, 0.0l);
20076 ilogb(0.0);
20077 ilogbf(0.0f);
20078 ilogbl(0.0l);
20079 lgamma(0.0);
20080 lgammaf(0.0f);
20081 lgammal(0.0l);
20082 #ifndef __APPLE__ /* see below */
20083 llrint(0.0);
20084 llrintf(0.0f);
20085 llrintl(0.0l);
20086 llround(0.0);
20087 llroundf(0.0f);
20088 llroundl(0.0l);
20089 #endif
20090 log1p(0.0);
20091 log1pf(0.0f);
20092 log1pl(0.0l);
20093 log2(0.0);
20094 log2f(0.0f);
20095 log2l(0.0l);
20096 logb(0.0);
20097 logbf(0.0f);
20098 logbl(0.0l);
20099 lrint(0.0);
20100 lrintf(0.0f);
20101 lrintl(0.0l);
20102 lround(0.0);
20103 lroundf(0.0f);
20104 lroundl(0.0l);
20105 nan(0);
20106 nanf(0);
20107 nanl(0);
20108 nearbyint(0.0);
20109 nearbyintf(0.0f);
20110 nearbyintl(0.0l);
20111 nextafter(0.0, 0.0);
20112 nextafterf(0.0f, 0.0f);
20113 nextafterl(0.0l, 0.0l);
20114 nexttoward(0.0, 0.0);
20115 nexttowardf(0.0f, 0.0f);
20116 nexttowardl(0.0l, 0.0l);
20117 remainder(0.0, 0.0);
20118 remainderf(0.0f, 0.0f);
20119 remainderl(0.0l, 0.0l);
20120 remquo(0.0, 0.0, 0);
20121 remquof(0.0f, 0.0f, 0);
20122 remquol(0.0l, 0.0l, 0);
20123 rint(0.0);
20124 rintf(0.0f);
20125 rintl(0.0l);
20126 round(0.0);
20127 roundf(0.0f);
20128 roundl(0.0l);
20129 scalbln(0.0, 0l);
20130 scalblnf(0.0f, 0l);
20131 scalblnl(0.0l, 0l);
20132 scalbn(0.0, 0);
20133 scalbnf(0.0f, 0);
20134 scalbnl(0.0l, 0);
20135 tgamma(0.0);
20136 tgammaf(0.0f);
20137 tgammal(0.0l);
20138 trunc(0.0);
20139 truncf(0.0f);
20140 truncl(0.0l);
20143 return 0;
20145 _ACEOF
20146 if ac_fn_cxx_try_compile "$LINENO"; then :
20147 glibcxx_cv_c99_math_tr1=yes
20148 else
20149 glibcxx_cv_c99_math_tr1=no
20151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20156 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20157 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20159 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20162 case "${target_os}" in
20163 darwin*)
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20165 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20166 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20167 $as_echo_n "(cached) " >&6
20168 else
20170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20171 /* end confdefs.h. */
20172 #include <math.h>
20174 main ()
20176 llrint(0.0);
20177 llrintf(0.0f);
20178 llrintl(0.0l);
20179 llround(0.0);
20180 llroundf(0.0f);
20181 llroundl(0.0l);
20184 return 0;
20186 _ACEOF
20187 if ac_fn_cxx_try_compile "$LINENO"; then :
20188 glibcxx_cv_c99_math_llround=yes
20189 else
20190 glibcxx_cv_c99_math_llround=no
20192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20197 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20199 esac
20200 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20202 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20207 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20208 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20209 ac_c99_inttypes_tr1=no;
20210 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20212 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20214 /* end confdefs.h. */
20215 #include <inttypes.h>
20217 main ()
20219 intmax_t i, numer, denom, base;
20220 const char* s;
20221 char** endptr;
20222 intmax_t ret = imaxabs(i);
20223 imaxdiv_t dret = imaxdiv(numer, denom);
20224 ret = strtoimax(s, endptr, base);
20225 uintmax_t uret = strtoumax(s, endptr, base);
20228 return 0;
20230 _ACEOF
20231 if ac_fn_cxx_try_compile "$LINENO"; then :
20232 ac_c99_inttypes_tr1=yes
20233 else
20234 ac_c99_inttypes_tr1=no
20236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20239 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20240 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20242 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20246 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20247 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20248 ac_c99_inttypes_wchar_t_tr1=no;
20249 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20251 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20253 /* end confdefs.h. */
20254 #include <inttypes.h>
20256 main ()
20258 intmax_t base;
20259 const wchar_t* s;
20260 wchar_t** endptr;
20261 intmax_t ret = wcstoimax(s, endptr, base);
20262 uintmax_t uret = wcstoumax(s, endptr, base);
20265 return 0;
20267 _ACEOF
20268 if ac_fn_cxx_try_compile "$LINENO"; then :
20269 ac_c99_inttypes_wchar_t_tr1=yes
20270 else
20271 ac_c99_inttypes_wchar_t_tr1=no
20273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20276 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20277 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20279 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20283 # Check for the existence of the <stdbool.h> header.
20284 for ac_header in stdbool.h
20285 do :
20286 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20287 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20288 cat >>confdefs.h <<_ACEOF
20289 #define HAVE_STDBOOL_H 1
20290 _ACEOF
20294 done
20297 # Check for the existence of the <stdalign.h> header.
20298 for ac_header in stdalign.h
20299 do :
20300 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20301 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20302 cat >>confdefs.h <<_ACEOF
20303 #define HAVE_STDALIGN_H 1
20304 _ACEOF
20308 done
20311 CXXFLAGS="$ac_save_CXXFLAGS"
20312 ac_ext=c
20313 ac_cpp='$CPP $CPPFLAGS'
20314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20320 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20324 $as_echo_n "checking for the value of EOF... " >&6; }
20325 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20326 $as_echo_n "(cached) " >&6
20327 else
20329 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20331 else
20332 as_fn_error "computing EOF failed" "$LINENO" 5
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20338 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20340 cat >>confdefs.h <<_ACEOF
20341 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20342 _ACEOF
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20346 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20347 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20348 $as_echo_n "(cached) " >&6
20349 else
20351 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20353 else
20354 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20360 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20362 cat >>confdefs.h <<_ACEOF
20363 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20364 _ACEOF
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20368 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20369 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20370 $as_echo_n "(cached) " >&6
20371 else
20373 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20375 else
20376 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20382 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20384 cat >>confdefs.h <<_ACEOF
20385 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20386 _ACEOF
20390 # For gettimeofday support.
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20394 $as_echo_n "checking for gettimeofday... " >&6; }
20397 ac_ext=cpp
20398 ac_cpp='$CXXCPP $CPPFLAGS'
20399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20403 ac_save_CXXFLAGS="$CXXFLAGS"
20404 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20406 ac_has_gettimeofday=no;
20407 for ac_header in sys/time.h
20408 do :
20409 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20410 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20411 cat >>confdefs.h <<_ACEOF
20412 #define HAVE_SYS_TIME_H 1
20413 _ACEOF
20414 ac_has_sys_time_h=yes
20415 else
20416 ac_has_sys_time_h=no
20419 done
20421 if test x"$ac_has_sys_time_h" = x"yes"; then
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20423 $as_echo_n "checking for gettimeofday... " >&6; }
20424 if test x$gcc_no_link = xyes; then
20425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20426 /* end confdefs.h. */
20427 #include <sys/time.h>
20429 main ()
20431 timeval tv; gettimeofday(&tv, 0);
20433 return 0;
20435 _ACEOF
20436 if ac_fn_cxx_try_compile "$LINENO"; then :
20437 ac_has_gettimeofday=yes
20438 else
20439 ac_has_gettimeofday=no
20441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20442 else
20443 if test x$gcc_no_link = xyes; then
20444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20447 /* end confdefs.h. */
20448 #include <sys/time.h>
20450 main ()
20452 timeval tv; gettimeofday(&tv, 0);
20454 return 0;
20456 _ACEOF
20457 if ac_fn_cxx_try_link "$LINENO"; then :
20458 ac_has_gettimeofday=yes
20459 else
20460 ac_has_gettimeofday=no
20462 rm -f core conftest.err conftest.$ac_objext \
20463 conftest$ac_exeext conftest.$ac_ext
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20467 $as_echo "$ac_has_gettimeofday" >&6; }
20470 if test x"$ac_has_gettimeofday" = x"yes"; then
20472 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20476 CXXFLAGS="$ac_save_CXXFLAGS"
20477 ac_ext=c
20478 ac_cpp='$CPP $CPPFLAGS'
20479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20485 # For clock_gettime, nanosleep and sched_yield support.
20488 # Check whether --enable-libstdcxx-time was given.
20489 if test "${enable_libstdcxx_time+set}" = set; then :
20490 enableval=$enable_libstdcxx_time;
20491 case "$enableval" in
20492 yes|no|rt) ;;
20493 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20494 esac
20496 else
20497 enable_libstdcxx_time=auto
20503 ac_ext=cpp
20504 ac_cpp='$CXXCPP $CPPFLAGS'
20505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20509 ac_save_CXXFLAGS="$CXXFLAGS"
20510 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20511 ac_save_LIBS="$LIBS"
20513 ac_has_clock_monotonic=no
20514 ac_has_clock_realtime=no
20515 ac_has_nanosleep=no
20516 ac_has_sched_yield=no
20518 if test x"$enable_libstdcxx_time" = x"auto"; then
20520 case "${target_os}" in
20521 cygwin*)
20522 ac_has_nanosleep=yes
20524 darwin*)
20525 ac_has_nanosleep=yes
20526 ac_has_sched_yield=yes
20528 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20530 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20532 /* end confdefs.h. */
20533 #include <features.h>
20535 main ()
20538 #if ! __GLIBC_PREREQ(2, 17)
20539 #error
20540 #endif
20543 return 0;
20545 _ACEOF
20546 if ac_fn_cxx_try_compile "$LINENO"; then :
20547 glibcxx_glibc217=yes
20548 else
20549 glibcxx_glibc217=no
20551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20553 $as_echo "$glibcxx_glibc217" >&6; }
20555 if test x"$glibcxx_glibc217" = x"yes"; then
20556 ac_has_clock_monotonic=yes
20557 ac_has_clock_realtime=yes
20559 ac_has_nanosleep=yes
20560 ac_has_sched_yield=yes
20562 freebsd*|netbsd*|dragonfly*)
20563 ac_has_clock_monotonic=yes
20564 ac_has_clock_realtime=yes
20565 ac_has_nanosleep=yes
20566 ac_has_sched_yield=yes
20568 openbsd*)
20569 ac_has_clock_monotonic=yes
20570 ac_has_clock_realtime=yes
20571 ac_has_nanosleep=yes
20573 solaris*)
20574 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20575 ac_has_clock_monotonic=yes
20576 ac_has_clock_realtime=yes
20577 ac_has_nanosleep=yes
20578 ac_has_sched_yield=yes
20580 esac
20582 elif test x"$enable_libstdcxx_time" != x"no"; then
20584 if test x"$enable_libstdcxx_time" = x"rt"; then
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20586 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20587 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20588 $as_echo_n "(cached) " >&6
20589 else
20590 ac_func_search_save_LIBS=$LIBS
20591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20592 /* end confdefs.h. */
20594 /* Override any GCC internal prototype to avoid an error.
20595 Use char because int might match the return type of a GCC
20596 builtin and then its argument prototype would still apply. */
20597 #ifdef __cplusplus
20598 extern "C"
20599 #endif
20600 char clock_gettime ();
20602 main ()
20604 return clock_gettime ();
20606 return 0;
20608 _ACEOF
20609 for ac_lib in '' rt posix4; do
20610 if test -z "$ac_lib"; then
20611 ac_res="none required"
20612 else
20613 ac_res=-l$ac_lib
20614 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20616 if test x$gcc_no_link = xyes; then
20617 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20619 if ac_fn_cxx_try_link "$LINENO"; then :
20620 ac_cv_search_clock_gettime=$ac_res
20622 rm -f core conftest.err conftest.$ac_objext \
20623 conftest$ac_exeext
20624 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20625 break
20627 done
20628 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20630 else
20631 ac_cv_search_clock_gettime=no
20633 rm conftest.$ac_ext
20634 LIBS=$ac_func_search_save_LIBS
20636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20637 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20638 ac_res=$ac_cv_search_clock_gettime
20639 if test "$ac_res" != no; then :
20640 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20645 $as_echo_n "checking for library containing nanosleep... " >&6; }
20646 if test "${ac_cv_search_nanosleep+set}" = set; then :
20647 $as_echo_n "(cached) " >&6
20648 else
20649 ac_func_search_save_LIBS=$LIBS
20650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20651 /* end confdefs.h. */
20653 /* Override any GCC internal prototype to avoid an error.
20654 Use char because int might match the return type of a GCC
20655 builtin and then its argument prototype would still apply. */
20656 #ifdef __cplusplus
20657 extern "C"
20658 #endif
20659 char nanosleep ();
20661 main ()
20663 return nanosleep ();
20665 return 0;
20667 _ACEOF
20668 for ac_lib in '' rt posix4; do
20669 if test -z "$ac_lib"; then
20670 ac_res="none required"
20671 else
20672 ac_res=-l$ac_lib
20673 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20675 if test x$gcc_no_link = xyes; then
20676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20678 if ac_fn_cxx_try_link "$LINENO"; then :
20679 ac_cv_search_nanosleep=$ac_res
20681 rm -f core conftest.err conftest.$ac_objext \
20682 conftest$ac_exeext
20683 if test "${ac_cv_search_nanosleep+set}" = set; then :
20684 break
20686 done
20687 if test "${ac_cv_search_nanosleep+set}" = set; then :
20689 else
20690 ac_cv_search_nanosleep=no
20692 rm conftest.$ac_ext
20693 LIBS=$ac_func_search_save_LIBS
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20696 $as_echo "$ac_cv_search_nanosleep" >&6; }
20697 ac_res=$ac_cv_search_nanosleep
20698 if test "$ac_res" != no; then :
20699 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20703 else
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20705 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20706 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20707 $as_echo_n "(cached) " >&6
20708 else
20709 ac_func_search_save_LIBS=$LIBS
20710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20711 /* end confdefs.h. */
20713 /* Override any GCC internal prototype to avoid an error.
20714 Use char because int might match the return type of a GCC
20715 builtin and then its argument prototype would still apply. */
20716 #ifdef __cplusplus
20717 extern "C"
20718 #endif
20719 char clock_gettime ();
20721 main ()
20723 return clock_gettime ();
20725 return 0;
20727 _ACEOF
20728 for ac_lib in '' posix4; do
20729 if test -z "$ac_lib"; then
20730 ac_res="none required"
20731 else
20732 ac_res=-l$ac_lib
20733 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20735 if test x$gcc_no_link = xyes; then
20736 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20738 if ac_fn_cxx_try_link "$LINENO"; then :
20739 ac_cv_search_clock_gettime=$ac_res
20741 rm -f core conftest.err conftest.$ac_objext \
20742 conftest$ac_exeext
20743 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20744 break
20746 done
20747 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20749 else
20750 ac_cv_search_clock_gettime=no
20752 rm conftest.$ac_ext
20753 LIBS=$ac_func_search_save_LIBS
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20756 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20757 ac_res=$ac_cv_search_clock_gettime
20758 if test "$ac_res" != no; then :
20759 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20764 $as_echo_n "checking for library containing nanosleep... " >&6; }
20765 if test "${ac_cv_search_nanosleep+set}" = set; then :
20766 $as_echo_n "(cached) " >&6
20767 else
20768 ac_func_search_save_LIBS=$LIBS
20769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20770 /* end confdefs.h. */
20772 /* Override any GCC internal prototype to avoid an error.
20773 Use char because int might match the return type of a GCC
20774 builtin and then its argument prototype would still apply. */
20775 #ifdef __cplusplus
20776 extern "C"
20777 #endif
20778 char nanosleep ();
20780 main ()
20782 return nanosleep ();
20784 return 0;
20786 _ACEOF
20787 for ac_lib in '' posix4; do
20788 if test -z "$ac_lib"; then
20789 ac_res="none required"
20790 else
20791 ac_res=-l$ac_lib
20792 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20794 if test x$gcc_no_link = xyes; then
20795 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20797 if ac_fn_cxx_try_link "$LINENO"; then :
20798 ac_cv_search_nanosleep=$ac_res
20800 rm -f core conftest.err conftest.$ac_objext \
20801 conftest$ac_exeext
20802 if test "${ac_cv_search_nanosleep+set}" = set; then :
20803 break
20805 done
20806 if test "${ac_cv_search_nanosleep+set}" = set; then :
20808 else
20809 ac_cv_search_nanosleep=no
20811 rm conftest.$ac_ext
20812 LIBS=$ac_func_search_save_LIBS
20814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20815 $as_echo "$ac_cv_search_nanosleep" >&6; }
20816 ac_res=$ac_cv_search_nanosleep
20817 if test "$ac_res" != no; then :
20818 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20824 case "$ac_cv_search_clock_gettime" in
20825 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20827 esac
20828 case "$ac_cv_search_nanosleep" in
20829 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20831 esac
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20834 $as_echo_n "checking for library containing sched_yield... " >&6; }
20835 if test "${ac_cv_search_sched_yield+set}" = set; then :
20836 $as_echo_n "(cached) " >&6
20837 else
20838 ac_func_search_save_LIBS=$LIBS
20839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h. */
20842 /* Override any GCC internal prototype to avoid an error.
20843 Use char because int might match the return type of a GCC
20844 builtin and then its argument prototype would still apply. */
20845 #ifdef __cplusplus
20846 extern "C"
20847 #endif
20848 char sched_yield ();
20850 main ()
20852 return sched_yield ();
20854 return 0;
20856 _ACEOF
20857 for ac_lib in '' rt posix4; do
20858 if test -z "$ac_lib"; then
20859 ac_res="none required"
20860 else
20861 ac_res=-l$ac_lib
20862 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20864 if test x$gcc_no_link = xyes; then
20865 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20867 if ac_fn_cxx_try_link "$LINENO"; then :
20868 ac_cv_search_sched_yield=$ac_res
20870 rm -f core conftest.err conftest.$ac_objext \
20871 conftest$ac_exeext
20872 if test "${ac_cv_search_sched_yield+set}" = set; then :
20873 break
20875 done
20876 if test "${ac_cv_search_sched_yield+set}" = set; then :
20878 else
20879 ac_cv_search_sched_yield=no
20881 rm conftest.$ac_ext
20882 LIBS=$ac_func_search_save_LIBS
20884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20885 $as_echo "$ac_cv_search_sched_yield" >&6; }
20886 ac_res=$ac_cv_search_sched_yield
20887 if test "$ac_res" != no; then :
20888 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20893 case "$ac_cv_search_sched_yield" in
20894 -lposix4*)
20895 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20896 ac_has_sched_yield=yes
20898 -lrt*)
20899 if test x"$enable_libstdcxx_time" = x"rt"; then
20900 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20901 ac_has_sched_yield=yes
20905 ac_has_sched_yield=yes
20907 esac
20909 for ac_header in unistd.h
20910 do :
20911 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20912 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20913 cat >>confdefs.h <<_ACEOF
20914 #define HAVE_UNISTD_H 1
20915 _ACEOF
20916 ac_has_unistd_h=yes
20917 else
20918 ac_has_unistd_h=no
20921 done
20924 if test x"$ac_has_unistd_h" = x"yes"; then
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20926 $as_echo_n "checking for monotonic clock... " >&6; }
20927 if test x$gcc_no_link = xyes; then
20928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20931 /* end confdefs.h. */
20932 #include <unistd.h>
20933 #include <time.h>
20936 main ()
20938 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20939 timespec tp;
20940 #endif
20941 clock_gettime(CLOCK_MONOTONIC, &tp);
20944 return 0;
20946 _ACEOF
20947 if ac_fn_cxx_try_link "$LINENO"; then :
20948 ac_has_clock_monotonic=yes
20949 else
20950 ac_has_clock_monotonic=no
20952 rm -f core conftest.err conftest.$ac_objext \
20953 conftest$ac_exeext conftest.$ac_ext
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20956 $as_echo "$ac_has_clock_monotonic" >&6; }
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20959 $as_echo_n "checking for realtime clock... " >&6; }
20960 if test x$gcc_no_link = xyes; then
20961 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20964 /* end confdefs.h. */
20965 #include <unistd.h>
20966 #include <time.h>
20969 main ()
20971 #if _POSIX_TIMERS > 0
20972 timespec tp;
20973 #endif
20974 clock_gettime(CLOCK_REALTIME, &tp);
20977 return 0;
20979 _ACEOF
20980 if ac_fn_cxx_try_link "$LINENO"; then :
20981 ac_has_clock_realtime=yes
20982 else
20983 ac_has_clock_realtime=no
20985 rm -f core conftest.err conftest.$ac_objext \
20986 conftest$ac_exeext conftest.$ac_ext
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20989 $as_echo "$ac_has_clock_realtime" >&6; }
20991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20992 $as_echo_n "checking for nanosleep... " >&6; }
20993 if test x$gcc_no_link = xyes; then
20994 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20997 /* end confdefs.h. */
20998 #include <unistd.h>
20999 #include <time.h>
21002 main ()
21004 #if _POSIX_TIMERS > 0
21005 timespec tp;
21006 #endif
21007 nanosleep(&tp, 0);
21010 return 0;
21012 _ACEOF
21013 if ac_fn_cxx_try_link "$LINENO"; then :
21014 ac_has_nanosleep=yes
21015 else
21016 ac_has_nanosleep=no
21018 rm -f core conftest.err conftest.$ac_objext \
21019 conftest$ac_exeext conftest.$ac_ext
21021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21022 $as_echo "$ac_has_nanosleep" >&6; }
21026 if test x"$ac_has_clock_monotonic" != x"yes"; then
21027 case ${target_os} in
21028 linux*)
21029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21030 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21032 /* end confdefs.h. */
21033 #include <unistd.h>
21034 #include <time.h>
21035 #include <sys/syscall.h>
21038 main ()
21040 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21041 timespec tp;
21042 #endif
21043 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21044 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21047 return 0;
21049 _ACEOF
21050 if ac_fn_cxx_try_compile "$LINENO"; then :
21051 ac_has_clock_monotonic_syscall=yes
21052 else
21053 ac_has_clock_monotonic_syscall=no
21055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21057 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21058 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21060 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21062 ac_has_clock_monotonic=yes
21063 ac_has_clock_realtime=yes
21064 fi;;
21065 esac
21068 if test x"$ac_has_clock_monotonic" = x"yes"; then
21070 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21074 if test x"$ac_has_clock_realtime" = x"yes"; then
21076 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21080 if test x"$ac_has_sched_yield" = x"yes"; then
21082 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21086 if test x"$ac_has_nanosleep" = x"yes"; then
21088 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21090 else
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21092 $as_echo_n "checking for sleep... " >&6; }
21093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21094 /* end confdefs.h. */
21095 #include <unistd.h>
21097 main ()
21099 sleep(1)
21101 return 0;
21103 _ACEOF
21104 if ac_fn_cxx_try_compile "$LINENO"; then :
21105 ac_has_sleep=yes
21106 else
21107 ac_has_sleep=no
21109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21110 if test x"$ac_has_sleep" = x"yes"; then
21112 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21116 $as_echo "$ac_has_sleep" >&6; }
21117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21118 $as_echo_n "checking for usleep... " >&6; }
21119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21120 /* end confdefs.h. */
21121 #include <unistd.h>
21123 main ()
21125 sleep(1);
21126 usleep(100);
21128 return 0;
21130 _ACEOF
21131 if ac_fn_cxx_try_compile "$LINENO"; then :
21132 ac_has_usleep=yes
21133 else
21134 ac_has_usleep=no
21136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21137 if test x"$ac_has_usleep" = x"yes"; then
21139 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21143 $as_echo "$ac_has_usleep" >&6; }
21146 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21148 $as_echo_n "checking for Sleep... " >&6; }
21149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21150 /* end confdefs.h. */
21151 #include <windows.h>
21153 main ()
21155 Sleep(1)
21157 return 0;
21159 _ACEOF
21160 if ac_fn_cxx_try_compile "$LINENO"; then :
21161 ac_has_win32_sleep=yes
21162 else
21163 ac_has_win32_sleep=no
21165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21166 if test x"$ac_has_win32_sleep" = x"yes"; then
21168 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21172 $as_echo "$ac_has_win32_sleep" >&6; }
21177 CXXFLAGS="$ac_save_CXXFLAGS"
21178 LIBS="$ac_save_LIBS"
21179 ac_ext=c
21180 ac_cpp='$CPP $CPPFLAGS'
21181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21187 # Check for tmpnam which is obsolescent in POSIX.1-2008
21189 ac_ext=cpp
21190 ac_cpp='$CXXCPP $CPPFLAGS'
21191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21195 ac_save_CXXFLAGS="$CXXFLAGS"
21196 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21198 $as_echo_n "checking for tmpnam... " >&6; }
21199 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21200 $as_echo_n "(cached) " >&6
21201 else
21202 if test x$gcc_no_link = xyes; then
21203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21204 /* end confdefs.h. */
21205 #include <stdio.h>
21207 main ()
21209 char *tmp = tmpnam(NULL);
21211 return 0;
21213 _ACEOF
21214 if ac_fn_cxx_try_compile "$LINENO"; then :
21215 glibcxx_cv_TMPNAM=yes
21216 else
21217 glibcxx_cv_TMPNAM=no
21219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21220 else
21221 if test x$gcc_no_link = xyes; then
21222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21225 /* end confdefs.h. */
21226 #include <stdio.h>
21228 main ()
21230 char *tmp = tmpnam(NULL);
21232 return 0;
21234 _ACEOF
21235 if ac_fn_cxx_try_link "$LINENO"; then :
21236 glibcxx_cv_TMPNAM=yes
21237 else
21238 glibcxx_cv_TMPNAM=no
21240 rm -f core conftest.err conftest.$ac_objext \
21241 conftest$ac_exeext conftest.$ac_ext
21246 if test $glibcxx_cv_TMPNAM = yes; then
21248 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21252 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21253 CXXFLAGS="$ac_save_CXXFLAGS"
21254 ac_ext=c
21255 ac_cpp='$CPP $CPPFLAGS'
21256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21263 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21264 if test "x$ac_cv_header_locale_h" = x""yes; then :
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21267 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21268 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21269 $as_echo_n "(cached) " >&6
21270 else
21271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21272 /* end confdefs.h. */
21273 #include <locale.h>
21275 main ()
21277 return LC_MESSAGES
21279 return 0;
21281 _ACEOF
21282 if ac_fn_c_try_compile "$LINENO"; then :
21283 ac_cv_val_LC_MESSAGES=yes
21284 else
21285 ac_cv_val_LC_MESSAGES=no
21287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21290 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21291 if test $ac_cv_val_LC_MESSAGES = yes; then
21293 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21302 # For hardware_concurrency
21303 for ac_header in sys/sysinfo.h
21304 do :
21305 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21306 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21307 cat >>confdefs.h <<_ACEOF
21308 #define HAVE_SYS_SYSINFO_H 1
21309 _ACEOF
21313 done
21318 ac_ext=cpp
21319 ac_cpp='$CXXCPP $CPPFLAGS'
21320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21324 ac_save_CXXFLAGS="$CXXFLAGS"
21325 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21328 $as_echo_n "checking for get_nprocs... " >&6; }
21329 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21330 $as_echo_n "(cached) " >&6
21331 else
21333 if test x$gcc_no_link = xyes; then
21334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21335 /* end confdefs.h. */
21336 #include <sys/sysinfo.h>
21338 main ()
21340 int n = get_nprocs();
21342 return 0;
21344 _ACEOF
21345 if ac_fn_cxx_try_compile "$LINENO"; then :
21346 glibcxx_cv_GET_NPROCS=yes
21347 else
21348 glibcxx_cv_GET_NPROCS=no
21350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21351 else
21352 if test x$gcc_no_link = xyes; then
21353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21356 /* end confdefs.h. */
21357 #include <sys/sysinfo.h>
21359 main ()
21361 int n = get_nprocs();
21363 return 0;
21365 _ACEOF
21366 if ac_fn_cxx_try_link "$LINENO"; then :
21367 glibcxx_cv_GET_NPROCS=yes
21368 else
21369 glibcxx_cv_GET_NPROCS=no
21371 rm -f core conftest.err conftest.$ac_objext \
21372 conftest$ac_exeext conftest.$ac_ext
21377 if test $glibcxx_cv_GET_NPROCS = yes; then
21379 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21383 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21385 CXXFLAGS="$ac_save_CXXFLAGS"
21386 ac_ext=c
21387 ac_cpp='$CPP $CPPFLAGS'
21388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21393 for ac_header in unistd.h
21394 do :
21395 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21396 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21397 cat >>confdefs.h <<_ACEOF
21398 #define HAVE_UNISTD_H 1
21399 _ACEOF
21403 done
21408 ac_ext=cpp
21409 ac_cpp='$CXXCPP $CPPFLAGS'
21410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21414 ac_save_CXXFLAGS="$CXXFLAGS"
21415 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21418 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21419 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21420 $as_echo_n "(cached) " >&6
21421 else
21423 if test x$gcc_no_link = xyes; then
21424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21425 /* end confdefs.h. */
21426 #include <unistd.h>
21428 main ()
21430 int n = sysconf(_SC_NPROCESSORS_ONLN);
21432 return 0;
21434 _ACEOF
21435 if ac_fn_cxx_try_compile "$LINENO"; then :
21436 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21437 else
21438 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21441 else
21442 if test x$gcc_no_link = xyes; then
21443 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21446 /* end confdefs.h. */
21447 #include <unistd.h>
21449 main ()
21451 int n = sysconf(_SC_NPROCESSORS_ONLN);
21453 return 0;
21455 _ACEOF
21456 if ac_fn_cxx_try_link "$LINENO"; then :
21457 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21458 else
21459 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21461 rm -f core conftest.err conftest.$ac_objext \
21462 conftest$ac_exeext conftest.$ac_ext
21467 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21469 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21473 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21475 CXXFLAGS="$ac_save_CXXFLAGS"
21476 ac_ext=c
21477 ac_cpp='$CPP $CPPFLAGS'
21478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21486 ac_ext=cpp
21487 ac_cpp='$CXXCPP $CPPFLAGS'
21488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21492 ac_save_CXXFLAGS="$CXXFLAGS"
21493 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21496 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21497 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21498 $as_echo_n "(cached) " >&6
21499 else
21501 if test x$gcc_no_link = xyes; then
21502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21503 /* end confdefs.h. */
21504 #include <unistd.h>
21506 main ()
21508 int n = sysconf(_SC_NPROC_ONLN);
21510 return 0;
21512 _ACEOF
21513 if ac_fn_cxx_try_compile "$LINENO"; then :
21514 glibcxx_cv_SC_NPROC_ONLN=yes
21515 else
21516 glibcxx_cv_SC_NPROC_ONLN=no
21518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21519 else
21520 if test x$gcc_no_link = xyes; then
21521 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21524 /* end confdefs.h. */
21525 #include <unistd.h>
21527 main ()
21529 int n = sysconf(_SC_NPROC_ONLN);
21531 return 0;
21533 _ACEOF
21534 if ac_fn_cxx_try_link "$LINENO"; then :
21535 glibcxx_cv_SC_NPROC_ONLN=yes
21536 else
21537 glibcxx_cv_SC_NPROC_ONLN=no
21539 rm -f core conftest.err conftest.$ac_objext \
21540 conftest$ac_exeext conftest.$ac_ext
21545 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21547 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21551 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21553 CXXFLAGS="$ac_save_CXXFLAGS"
21554 ac_ext=c
21555 ac_cpp='$CPP $CPPFLAGS'
21556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21564 ac_ext=cpp
21565 ac_cpp='$CXXCPP $CPPFLAGS'
21566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21570 ac_save_CXXFLAGS="$CXXFLAGS"
21571 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21574 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21575 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21576 $as_echo_n "(cached) " >&6
21577 else
21579 if test x$gcc_no_link = xyes; then
21580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21581 /* end confdefs.h. */
21582 #include <pthread.h>
21584 main ()
21586 int n = pthread_num_processors_np();
21588 return 0;
21590 _ACEOF
21591 if ac_fn_cxx_try_compile "$LINENO"; then :
21592 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21593 else
21594 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21597 else
21598 if test x$gcc_no_link = xyes; then
21599 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21602 /* end confdefs.h. */
21603 #include <pthread.h>
21605 main ()
21607 int n = pthread_num_processors_np();
21609 return 0;
21611 _ACEOF
21612 if ac_fn_cxx_try_link "$LINENO"; then :
21613 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21614 else
21615 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21617 rm -f core conftest.err conftest.$ac_objext \
21618 conftest$ac_exeext conftest.$ac_ext
21623 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21625 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21629 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21631 CXXFLAGS="$ac_save_CXXFLAGS"
21632 ac_ext=c
21633 ac_cpp='$CPP $CPPFLAGS'
21634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21642 ac_ext=cpp
21643 ac_cpp='$CXXCPP $CPPFLAGS'
21644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21648 ac_save_CXXFLAGS="$CXXFLAGS"
21649 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21652 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21653 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21654 $as_echo_n "(cached) " >&6
21655 else
21657 if test x$gcc_no_link = xyes; then
21658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21659 /* end confdefs.h. */
21661 #include <stddef.h>
21662 #include <sys/sysctl.h>
21665 main ()
21668 int count;
21669 size_t size = sizeof(count);
21670 int mib[] = { CTL_HW, HW_NCPU };
21671 sysctl(mib, 2, &count, &size, NULL, 0);
21674 return 0;
21676 _ACEOF
21677 if ac_fn_cxx_try_compile "$LINENO"; then :
21678 glibcxx_cv_SYSCTL_HW_NCPU=yes
21679 else
21680 glibcxx_cv_SYSCTL_HW_NCPU=no
21682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21683 else
21684 if test x$gcc_no_link = xyes; then
21685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21688 /* end confdefs.h. */
21690 #include <stddef.h>
21691 #include <sys/sysctl.h>
21694 main ()
21697 int count;
21698 size_t size = sizeof(count);
21699 int mib[] = { CTL_HW, HW_NCPU };
21700 sysctl(mib, 2, &count, &size, NULL, 0);
21703 return 0;
21705 _ACEOF
21706 if ac_fn_cxx_try_link "$LINENO"; then :
21707 glibcxx_cv_SYSCTL_HW_NCPU=yes
21708 else
21709 glibcxx_cv_SYSCTL_HW_NCPU=no
21711 rm -f core conftest.err conftest.$ac_objext \
21712 conftest$ac_exeext conftest.$ac_ext
21717 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21719 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21723 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21725 CXXFLAGS="$ac_save_CXXFLAGS"
21726 ac_ext=c
21727 ac_cpp='$CPP $CPPFLAGS'
21728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21735 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21736 # Note that this test has to be run with the C language.
21737 # Otherwise, sdt.h will try to include some headers from
21738 # libstdc++ itself.
21740 ac_ext=c
21741 ac_cpp='$CPP $CPPFLAGS'
21742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21746 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21747 $as_echo_n "(cached) " >&6
21748 else
21750 # Because we have to run the test in C, we use grep rather
21751 # than the compiler to check for the bug. The bug is that
21752 # were strings without trailing whitespace, causing g++
21753 # to look for operator"". The pattern searches for the fixed
21754 # output.
21755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21756 /* end confdefs.h. */
21758 #include <sys/sdt.h>
21759 int f() { STAP_PROBE(hi, bob); }
21761 _ACEOF
21762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21763 $EGREP " \",\" " >/dev/null 2>&1; then :
21764 glibcxx_cv_sys_sdt_h=yes
21765 else
21766 glibcxx_cv_sys_sdt_h=no
21768 rm -f conftest*
21773 ac_ext=c
21774 ac_cpp='$CPP $CPPFLAGS'
21775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21779 if test $glibcxx_cv_sys_sdt_h = yes; then
21781 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21785 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21788 # Check for available headers.
21789 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21790 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21791 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21792 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21793 wchar.h wctype.h
21794 do :
21795 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21796 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21797 eval as_val=\$$as_ac_Header
21798 if test "x$as_val" = x""yes; then :
21799 cat >>confdefs.h <<_ACEOF
21800 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21801 _ACEOF
21805 done
21808 # Only do link tests if native. Else, hardcode.
21809 if $GLIBCXX_IS_NATIVE; then
21811 # We can do more elaborate tests that assume a working linker.
21812 CANADIAN=no
21816 # Check whether --with-gnu-ld was given.
21817 if test "${with_gnu_ld+set}" = set; then :
21818 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21819 else
21820 with_gnu_ld=no
21823 ac_prog=ld
21824 if test "$GCC" = yes; then
21825 # Check if gcc -print-prog-name=ld gives a path.
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21827 $as_echo_n "checking for ld used by $CC... " >&6; }
21828 case $host in
21829 *-*-mingw*)
21830 # gcc leaves a trailing carriage return which upsets mingw
21831 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21833 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21834 esac
21835 case $ac_prog in
21836 # Accept absolute paths.
21837 [\\/]* | ?:[\\/]*)
21838 re_direlt='/[^/][^/]*/\.\./'
21839 # Canonicalize the pathname of ld
21840 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21841 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21842 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21843 done
21844 test -z "$LD" && LD="$ac_prog"
21847 # If it fails, then pretend we aren't using GCC.
21848 ac_prog=ld
21851 # If it is relative, then search for the first ld in PATH.
21852 with_gnu_ld=unknown
21854 esac
21855 elif test "$with_gnu_ld" = yes; then
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21857 $as_echo_n "checking for GNU ld... " >&6; }
21858 else
21859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21860 $as_echo_n "checking for non-GNU ld... " >&6; }
21862 if test "${lt_cv_path_LD+set}" = set; then :
21863 $as_echo_n "(cached) " >&6
21864 else
21865 if test -z "$LD"; then
21866 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21867 for ac_dir in $PATH; do
21868 IFS="$lt_save_ifs"
21869 test -z "$ac_dir" && ac_dir=.
21870 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21871 lt_cv_path_LD="$ac_dir/$ac_prog"
21872 # Check to see if the program is GNU ld. I'd rather use --version,
21873 # but apparently some variants of GNU ld only accept -v.
21874 # Break only if it was the GNU/non-GNU ld that we prefer.
21875 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21876 *GNU* | *'with BFD'*)
21877 test "$with_gnu_ld" != no && break
21880 test "$with_gnu_ld" != yes && break
21882 esac
21884 done
21885 IFS="$lt_save_ifs"
21886 else
21887 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21891 LD="$lt_cv_path_LD"
21892 if test -n "$LD"; then
21893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21894 $as_echo "$LD" >&6; }
21895 else
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21897 $as_echo "no" >&6; }
21899 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21901 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21902 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21903 $as_echo_n "(cached) " >&6
21904 else
21905 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21906 case `$LD -v 2>&1 </dev/null` in
21907 *GNU* | *'with BFD'*)
21908 lt_cv_prog_gnu_ld=yes
21911 lt_cv_prog_gnu_ld=no
21913 esac
21915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21916 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21917 with_gnu_ld=$lt_cv_prog_gnu_ld
21925 # If we're not using GNU ld, then there's no point in even trying these
21926 # tests. Check for that first. We should have already tested for gld
21927 # by now (in libtool), but require it now just to be safe...
21928 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21929 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21933 # The name set by libtool depends on the version of libtool. Shame on us
21934 # for depending on an impl detail, but c'est la vie. Older versions used
21935 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21936 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21937 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21938 # set (hence we're using an older libtool), then set it.
21939 if test x${with_gnu_ld+set} != xset; then
21940 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21941 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21942 with_gnu_ld=no
21943 else
21944 with_gnu_ld=$ac_cv_prog_gnu_ld
21948 # Start by getting the version number. I think the libtool test already
21949 # does some of this, but throws away the result.
21950 glibcxx_ld_is_gold=no
21951 if test x"$with_gnu_ld" = x"yes"; then
21952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21953 $as_echo_n "checking for ld version... " >&6; }
21955 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21956 glibcxx_ld_is_gold=yes
21958 ldver=`$LD --version 2>/dev/null |
21959 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'`
21961 glibcxx_gnu_ld_version=`echo $ldver | \
21962 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21964 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21967 # Set --gc-sections.
21968 glibcxx_have_gc_sections=no
21969 if test "$glibcxx_ld_is_gold" = "yes"; then
21970 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21971 glibcxx_have_gc_sections=yes
21973 else
21974 glibcxx_gcsections_min_ld=21602
21975 if test x"$with_gnu_ld" = x"yes" &&
21976 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21977 glibcxx_have_gc_sections=yes
21980 if test "$glibcxx_have_gc_sections" = "yes"; then
21981 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21982 # NB: This flag only works reliably after 2.16.1. Configure tests
21983 # for this are difficult, so hard wire a value that should work.
21985 ac_test_CFLAGS="${CFLAGS+set}"
21986 ac_save_CFLAGS="$CFLAGS"
21987 CFLAGS='-Wl,--gc-sections'
21989 # Check for -Wl,--gc-sections
21990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21991 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21992 if test x$gcc_no_link = xyes; then
21993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21996 /* end confdefs.h. */
21997 int one(void) { return 1; }
21998 int two(void) { return 2; }
22001 main ()
22003 two();
22005 return 0;
22007 _ACEOF
22008 if ac_fn_c_try_link "$LINENO"; then :
22009 ac_gcsections=yes
22010 else
22011 ac_gcsections=no
22013 rm -f core conftest.err conftest.$ac_objext \
22014 conftest$ac_exeext conftest.$ac_ext
22015 if test "$ac_gcsections" = "yes"; then
22016 rm -f conftest.c
22017 touch conftest.c
22018 if $CC -c conftest.c; then
22019 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22020 grep "Warning: gc-sections option ignored" > /dev/null; then
22021 ac_gcsections=no
22024 rm -f conftest.c conftest.o conftest
22026 if test "$ac_gcsections" = "yes"; then
22027 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22030 $as_echo "$ac_gcsections" >&6; }
22032 if test "$ac_test_CFLAGS" = set; then
22033 CFLAGS="$ac_save_CFLAGS"
22034 else
22035 # this is the suspicious part
22036 CFLAGS=''
22040 # Set -z,relro.
22041 # Note this is only for shared objects.
22042 ac_ld_relro=no
22043 if test x"$with_gnu_ld" = x"yes"; then
22044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22045 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22046 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22047 if test -n "$cxx_z_relo"; then
22048 OPT_LDFLAGS="-Wl,-z,relro"
22049 ac_ld_relro=yes
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22052 $as_echo "$ac_ld_relro" >&6; }
22055 # Set linker optimization flags.
22056 if test x"$with_gnu_ld" = x"yes"; then
22057 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22064 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22065 ac_save_CXXFLAGS="$CXXFLAGS"
22066 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22069 $as_echo_n "checking for sin in -lm... " >&6; }
22070 if test "${ac_cv_lib_m_sin+set}" = set; then :
22071 $as_echo_n "(cached) " >&6
22072 else
22073 ac_check_lib_save_LIBS=$LIBS
22074 LIBS="-lm $LIBS"
22075 if test x$gcc_no_link = xyes; then
22076 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22079 /* end confdefs.h. */
22081 /* Override any GCC internal prototype to avoid an error.
22082 Use char because int might match the return type of a GCC
22083 builtin and then its argument prototype would still apply. */
22084 #ifdef __cplusplus
22085 extern "C"
22086 #endif
22087 char sin ();
22089 main ()
22091 return sin ();
22093 return 0;
22095 _ACEOF
22096 if ac_fn_c_try_link "$LINENO"; then :
22097 ac_cv_lib_m_sin=yes
22098 else
22099 ac_cv_lib_m_sin=no
22101 rm -f core conftest.err conftest.$ac_objext \
22102 conftest$ac_exeext conftest.$ac_ext
22103 LIBS=$ac_check_lib_save_LIBS
22105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22106 $as_echo "$ac_cv_lib_m_sin" >&6; }
22107 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22108 libm="-lm"
22111 ac_save_LIBS="$LIBS"
22112 LIBS="$LIBS $libm"
22116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22117 $as_echo_n "checking for isinf declaration... " >&6; }
22118 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22119 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22120 $as_echo_n "(cached) " >&6
22121 else
22124 ac_ext=cpp
22125 ac_cpp='$CXXCPP $CPPFLAGS'
22126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22131 /* end confdefs.h. */
22132 #include <math.h>
22133 #ifdef HAVE_IEEEFP_H
22134 #include <ieeefp.h>
22135 #endif
22138 main ()
22140 isinf(0);
22142 return 0;
22144 _ACEOF
22145 if ac_fn_cxx_try_compile "$LINENO"; then :
22146 glibcxx_cv_func_isinf_use=yes
22147 else
22148 glibcxx_cv_func_isinf_use=no
22150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22151 ac_ext=c
22152 ac_cpp='$CPP $CPPFLAGS'
22153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22162 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22164 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22165 for ac_func in isinf
22166 do :
22167 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22168 if test "x$ac_cv_func_isinf" = x""yes; then :
22169 cat >>confdefs.h <<_ACEOF
22170 #define HAVE_ISINF 1
22171 _ACEOF
22174 done
22176 else
22178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22179 $as_echo_n "checking for _isinf declaration... " >&6; }
22180 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22181 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22182 $as_echo_n "(cached) " >&6
22183 else
22186 ac_ext=cpp
22187 ac_cpp='$CXXCPP $CPPFLAGS'
22188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22193 /* end confdefs.h. */
22194 #include <math.h>
22195 #ifdef HAVE_IEEEFP_H
22196 #include <ieeefp.h>
22197 #endif
22200 main ()
22202 _isinf(0);
22204 return 0;
22206 _ACEOF
22207 if ac_fn_cxx_try_compile "$LINENO"; then :
22208 glibcxx_cv_func__isinf_use=yes
22209 else
22210 glibcxx_cv_func__isinf_use=no
22212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22213 ac_ext=c
22214 ac_cpp='$CPP $CPPFLAGS'
22215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22224 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22226 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22227 for ac_func in _isinf
22228 do :
22229 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22230 if test "x$ac_cv_func__isinf" = x""yes; then :
22231 cat >>confdefs.h <<_ACEOF
22232 #define HAVE__ISINF 1
22233 _ACEOF
22236 done
22245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22246 $as_echo_n "checking for isnan declaration... " >&6; }
22247 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22248 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22249 $as_echo_n "(cached) " >&6
22250 else
22253 ac_ext=cpp
22254 ac_cpp='$CXXCPP $CPPFLAGS'
22255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22260 /* end confdefs.h. */
22261 #include <math.h>
22262 #ifdef HAVE_IEEEFP_H
22263 #include <ieeefp.h>
22264 #endif
22267 main ()
22269 isnan(0);
22271 return 0;
22273 _ACEOF
22274 if ac_fn_cxx_try_compile "$LINENO"; then :
22275 glibcxx_cv_func_isnan_use=yes
22276 else
22277 glibcxx_cv_func_isnan_use=no
22279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22280 ac_ext=c
22281 ac_cpp='$CPP $CPPFLAGS'
22282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22291 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22293 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22294 for ac_func in isnan
22295 do :
22296 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22297 if test "x$ac_cv_func_isnan" = x""yes; then :
22298 cat >>confdefs.h <<_ACEOF
22299 #define HAVE_ISNAN 1
22300 _ACEOF
22303 done
22305 else
22307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22308 $as_echo_n "checking for _isnan declaration... " >&6; }
22309 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22310 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22311 $as_echo_n "(cached) " >&6
22312 else
22315 ac_ext=cpp
22316 ac_cpp='$CXXCPP $CPPFLAGS'
22317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22322 /* end confdefs.h. */
22323 #include <math.h>
22324 #ifdef HAVE_IEEEFP_H
22325 #include <ieeefp.h>
22326 #endif
22329 main ()
22331 _isnan(0);
22333 return 0;
22335 _ACEOF
22336 if ac_fn_cxx_try_compile "$LINENO"; then :
22337 glibcxx_cv_func__isnan_use=yes
22338 else
22339 glibcxx_cv_func__isnan_use=no
22341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22342 ac_ext=c
22343 ac_cpp='$CPP $CPPFLAGS'
22344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22353 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22355 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22356 for ac_func in _isnan
22357 do :
22358 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22359 if test "x$ac_cv_func__isnan" = x""yes; then :
22360 cat >>confdefs.h <<_ACEOF
22361 #define HAVE__ISNAN 1
22362 _ACEOF
22365 done
22374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22375 $as_echo_n "checking for finite declaration... " >&6; }
22376 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22377 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22378 $as_echo_n "(cached) " >&6
22379 else
22382 ac_ext=cpp
22383 ac_cpp='$CXXCPP $CPPFLAGS'
22384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22389 /* end confdefs.h. */
22390 #include <math.h>
22391 #ifdef HAVE_IEEEFP_H
22392 #include <ieeefp.h>
22393 #endif
22396 main ()
22398 finite(0);
22400 return 0;
22402 _ACEOF
22403 if ac_fn_cxx_try_compile "$LINENO"; then :
22404 glibcxx_cv_func_finite_use=yes
22405 else
22406 glibcxx_cv_func_finite_use=no
22408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22409 ac_ext=c
22410 ac_cpp='$CPP $CPPFLAGS'
22411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22420 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22422 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22423 for ac_func in finite
22424 do :
22425 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22426 if test "x$ac_cv_func_finite" = x""yes; then :
22427 cat >>confdefs.h <<_ACEOF
22428 #define HAVE_FINITE 1
22429 _ACEOF
22432 done
22434 else
22436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22437 $as_echo_n "checking for _finite declaration... " >&6; }
22438 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22439 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22440 $as_echo_n "(cached) " >&6
22441 else
22444 ac_ext=cpp
22445 ac_cpp='$CXXCPP $CPPFLAGS'
22446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22451 /* end confdefs.h. */
22452 #include <math.h>
22453 #ifdef HAVE_IEEEFP_H
22454 #include <ieeefp.h>
22455 #endif
22458 main ()
22460 _finite(0);
22462 return 0;
22464 _ACEOF
22465 if ac_fn_cxx_try_compile "$LINENO"; then :
22466 glibcxx_cv_func__finite_use=yes
22467 else
22468 glibcxx_cv_func__finite_use=no
22470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22471 ac_ext=c
22472 ac_cpp='$CPP $CPPFLAGS'
22473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22482 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22484 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22485 for ac_func in _finite
22486 do :
22487 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22488 if test "x$ac_cv_func__finite" = x""yes; then :
22489 cat >>confdefs.h <<_ACEOF
22490 #define HAVE__FINITE 1
22491 _ACEOF
22494 done
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22504 $as_echo_n "checking for sincos declaration... " >&6; }
22505 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22506 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22507 $as_echo_n "(cached) " >&6
22508 else
22511 ac_ext=cpp
22512 ac_cpp='$CXXCPP $CPPFLAGS'
22513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22518 /* end confdefs.h. */
22519 #include <math.h>
22521 main ()
22523 sincos(0, 0, 0);
22525 return 0;
22527 _ACEOF
22528 if ac_fn_cxx_try_compile "$LINENO"; then :
22529 glibcxx_cv_func_sincos_use=yes
22530 else
22531 glibcxx_cv_func_sincos_use=no
22533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22534 ac_ext=c
22535 ac_cpp='$CPP $CPPFLAGS'
22536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22545 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22547 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22548 for ac_func in sincos
22549 do :
22550 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22551 if test "x$ac_cv_func_sincos" = x""yes; then :
22552 cat >>confdefs.h <<_ACEOF
22553 #define HAVE_SINCOS 1
22554 _ACEOF
22557 done
22559 else
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22562 $as_echo_n "checking for _sincos declaration... " >&6; }
22563 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22564 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22565 $as_echo_n "(cached) " >&6
22566 else
22569 ac_ext=cpp
22570 ac_cpp='$CXXCPP $CPPFLAGS'
22571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22576 /* end confdefs.h. */
22577 #include <math.h>
22579 main ()
22581 _sincos(0, 0, 0);
22583 return 0;
22585 _ACEOF
22586 if ac_fn_cxx_try_compile "$LINENO"; then :
22587 glibcxx_cv_func__sincos_use=yes
22588 else
22589 glibcxx_cv_func__sincos_use=no
22591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22592 ac_ext=c
22593 ac_cpp='$CPP $CPPFLAGS'
22594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22603 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22605 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22606 for ac_func in _sincos
22607 do :
22608 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22609 if test "x$ac_cv_func__sincos" = x""yes; then :
22610 cat >>confdefs.h <<_ACEOF
22611 #define HAVE__SINCOS 1
22612 _ACEOF
22615 done
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22625 $as_echo_n "checking for fpclass declaration... " >&6; }
22626 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22627 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22628 $as_echo_n "(cached) " >&6
22629 else
22632 ac_ext=cpp
22633 ac_cpp='$CXXCPP $CPPFLAGS'
22634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22639 /* end confdefs.h. */
22640 #include <math.h>
22641 #ifdef HAVE_IEEEFP_H
22642 #include <ieeefp.h>
22643 #endif
22646 main ()
22648 fpclass(0);
22650 return 0;
22652 _ACEOF
22653 if ac_fn_cxx_try_compile "$LINENO"; then :
22654 glibcxx_cv_func_fpclass_use=yes
22655 else
22656 glibcxx_cv_func_fpclass_use=no
22658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22659 ac_ext=c
22660 ac_cpp='$CPP $CPPFLAGS'
22661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22670 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22672 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22673 for ac_func in fpclass
22674 do :
22675 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22676 if test "x$ac_cv_func_fpclass" = x""yes; then :
22677 cat >>confdefs.h <<_ACEOF
22678 #define HAVE_FPCLASS 1
22679 _ACEOF
22682 done
22684 else
22686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22687 $as_echo_n "checking for _fpclass declaration... " >&6; }
22688 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22689 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22690 $as_echo_n "(cached) " >&6
22691 else
22694 ac_ext=cpp
22695 ac_cpp='$CXXCPP $CPPFLAGS'
22696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22701 /* end confdefs.h. */
22702 #include <math.h>
22703 #ifdef HAVE_IEEEFP_H
22704 #include <ieeefp.h>
22705 #endif
22708 main ()
22710 _fpclass(0);
22712 return 0;
22714 _ACEOF
22715 if ac_fn_cxx_try_compile "$LINENO"; then :
22716 glibcxx_cv_func__fpclass_use=yes
22717 else
22718 glibcxx_cv_func__fpclass_use=no
22720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22721 ac_ext=c
22722 ac_cpp='$CPP $CPPFLAGS'
22723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22732 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22734 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22735 for ac_func in _fpclass
22736 do :
22737 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22738 if test "x$ac_cv_func__fpclass" = x""yes; then :
22739 cat >>confdefs.h <<_ACEOF
22740 #define HAVE__FPCLASS 1
22741 _ACEOF
22744 done
22753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22754 $as_echo_n "checking for qfpclass declaration... " >&6; }
22755 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22756 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22757 $as_echo_n "(cached) " >&6
22758 else
22761 ac_ext=cpp
22762 ac_cpp='$CXXCPP $CPPFLAGS'
22763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22768 /* end confdefs.h. */
22769 #include <math.h>
22770 #ifdef HAVE_IEEEFP_H
22771 #include <ieeefp.h>
22772 #endif
22775 main ()
22777 qfpclass(0);
22779 return 0;
22781 _ACEOF
22782 if ac_fn_cxx_try_compile "$LINENO"; then :
22783 glibcxx_cv_func_qfpclass_use=yes
22784 else
22785 glibcxx_cv_func_qfpclass_use=no
22787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22788 ac_ext=c
22789 ac_cpp='$CPP $CPPFLAGS'
22790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22799 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22801 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22802 for ac_func in qfpclass
22803 do :
22804 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22805 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22806 cat >>confdefs.h <<_ACEOF
22807 #define HAVE_QFPCLASS 1
22808 _ACEOF
22811 done
22813 else
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22816 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22817 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22818 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22819 $as_echo_n "(cached) " >&6
22820 else
22823 ac_ext=cpp
22824 ac_cpp='$CXXCPP $CPPFLAGS'
22825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22830 /* end confdefs.h. */
22831 #include <math.h>
22832 #ifdef HAVE_IEEEFP_H
22833 #include <ieeefp.h>
22834 #endif
22837 main ()
22839 _qfpclass(0);
22841 return 0;
22843 _ACEOF
22844 if ac_fn_cxx_try_compile "$LINENO"; then :
22845 glibcxx_cv_func__qfpclass_use=yes
22846 else
22847 glibcxx_cv_func__qfpclass_use=no
22849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22850 ac_ext=c
22851 ac_cpp='$CPP $CPPFLAGS'
22852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22861 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22863 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22864 for ac_func in _qfpclass
22865 do :
22866 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22867 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22868 cat >>confdefs.h <<_ACEOF
22869 #define HAVE__QFPCLASS 1
22870 _ACEOF
22873 done
22882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22883 $as_echo_n "checking for hypot declaration... " >&6; }
22884 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22885 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22886 $as_echo_n "(cached) " >&6
22887 else
22890 ac_ext=cpp
22891 ac_cpp='$CXXCPP $CPPFLAGS'
22892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22897 /* end confdefs.h. */
22898 #include <math.h>
22900 main ()
22902 hypot(0, 0);
22904 return 0;
22906 _ACEOF
22907 if ac_fn_cxx_try_compile "$LINENO"; then :
22908 glibcxx_cv_func_hypot_use=yes
22909 else
22910 glibcxx_cv_func_hypot_use=no
22912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22913 ac_ext=c
22914 ac_cpp='$CPP $CPPFLAGS'
22915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22924 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22926 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22927 for ac_func in hypot
22928 do :
22929 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22930 if test "x$ac_cv_func_hypot" = x""yes; then :
22931 cat >>confdefs.h <<_ACEOF
22932 #define HAVE_HYPOT 1
22933 _ACEOF
22936 done
22938 else
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22941 $as_echo_n "checking for _hypot declaration... " >&6; }
22942 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22943 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22944 $as_echo_n "(cached) " >&6
22945 else
22948 ac_ext=cpp
22949 ac_cpp='$CXXCPP $CPPFLAGS'
22950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22955 /* end confdefs.h. */
22956 #include <math.h>
22958 main ()
22960 _hypot(0, 0);
22962 return 0;
22964 _ACEOF
22965 if ac_fn_cxx_try_compile "$LINENO"; then :
22966 glibcxx_cv_func__hypot_use=yes
22967 else
22968 glibcxx_cv_func__hypot_use=no
22970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22971 ac_ext=c
22972 ac_cpp='$CPP $CPPFLAGS'
22973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22982 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22984 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22985 for ac_func in _hypot
22986 do :
22987 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22988 if test "x$ac_cv_func__hypot" = x""yes; then :
22989 cat >>confdefs.h <<_ACEOF
22990 #define HAVE__HYPOT 1
22991 _ACEOF
22994 done
23003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23004 $as_echo_n "checking for float trig functions... " >&6; }
23005 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23006 $as_echo_n "(cached) " >&6
23007 else
23010 ac_ext=cpp
23011 ac_cpp='$CXXCPP $CPPFLAGS'
23012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23017 /* end confdefs.h. */
23018 #include <math.h>
23020 main ()
23022 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23024 return 0;
23026 _ACEOF
23027 if ac_fn_cxx_try_compile "$LINENO"; then :
23028 glibcxx_cv_func_float_trig_use=yes
23029 else
23030 glibcxx_cv_func_float_trig_use=no
23032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23033 ac_ext=c
23034 ac_cpp='$CPP $CPPFLAGS'
23035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23042 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23043 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23044 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23045 do :
23046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23048 eval as_val=\$$as_ac_var
23049 if test "x$as_val" = x""yes; then :
23050 cat >>confdefs.h <<_ACEOF
23051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23052 _ACEOF
23055 done
23057 else
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23059 $as_echo_n "checking for _float trig functions... " >&6; }
23060 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23061 $as_echo_n "(cached) " >&6
23062 else
23065 ac_ext=cpp
23066 ac_cpp='$CXXCPP $CPPFLAGS'
23067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23072 /* end confdefs.h. */
23073 #include <math.h>
23075 main ()
23077 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23079 return 0;
23081 _ACEOF
23082 if ac_fn_cxx_try_compile "$LINENO"; then :
23083 glibcxx_cv_func__float_trig_use=yes
23084 else
23085 glibcxx_cv_func__float_trig_use=no
23087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23088 ac_ext=c
23089 ac_cpp='$CPP $CPPFLAGS'
23090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23097 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23098 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23099 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23100 do :
23101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23103 eval as_val=\$$as_ac_var
23104 if test "x$as_val" = x""yes; then :
23105 cat >>confdefs.h <<_ACEOF
23106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23107 _ACEOF
23110 done
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23120 $as_echo_n "checking for float round functions... " >&6; }
23121 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23122 $as_echo_n "(cached) " >&6
23123 else
23126 ac_ext=cpp
23127 ac_cpp='$CXXCPP $CPPFLAGS'
23128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23133 /* end confdefs.h. */
23134 #include <math.h>
23136 main ()
23138 ceilf (0); floorf (0);
23140 return 0;
23142 _ACEOF
23143 if ac_fn_cxx_try_compile "$LINENO"; then :
23144 glibcxx_cv_func_float_round_use=yes
23145 else
23146 glibcxx_cv_func_float_round_use=no
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149 ac_ext=c
23150 ac_cpp='$CPP $CPPFLAGS'
23151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23158 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23159 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23160 for ac_func in ceilf floorf
23161 do :
23162 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23163 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23164 eval as_val=\$$as_ac_var
23165 if test "x$as_val" = x""yes; then :
23166 cat >>confdefs.h <<_ACEOF
23167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23168 _ACEOF
23171 done
23173 else
23174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23175 $as_echo_n "checking for _float round functions... " >&6; }
23176 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23177 $as_echo_n "(cached) " >&6
23178 else
23181 ac_ext=cpp
23182 ac_cpp='$CXXCPP $CPPFLAGS'
23183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23188 /* end confdefs.h. */
23189 #include <math.h>
23191 main ()
23193 _ceilf (0); _floorf (0);
23195 return 0;
23197 _ACEOF
23198 if ac_fn_cxx_try_compile "$LINENO"; then :
23199 glibcxx_cv_func__float_round_use=yes
23200 else
23201 glibcxx_cv_func__float_round_use=no
23203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23204 ac_ext=c
23205 ac_cpp='$CPP $CPPFLAGS'
23206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23213 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23214 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23215 for ac_func in _ceilf _floorf
23216 do :
23217 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23218 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23219 eval as_val=\$$as_ac_var
23220 if test "x$as_val" = x""yes; then :
23221 cat >>confdefs.h <<_ACEOF
23222 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23223 _ACEOF
23226 done
23236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23237 $as_echo_n "checking for expf declaration... " >&6; }
23238 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23239 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23240 $as_echo_n "(cached) " >&6
23241 else
23244 ac_ext=cpp
23245 ac_cpp='$CXXCPP $CPPFLAGS'
23246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23251 /* end confdefs.h. */
23252 #include <math.h>
23253 #ifdef HAVE_IEEEFP_H
23254 #include <ieeefp.h>
23255 #endif
23258 main ()
23260 expf(0);
23262 return 0;
23264 _ACEOF
23265 if ac_fn_cxx_try_compile "$LINENO"; then :
23266 glibcxx_cv_func_expf_use=yes
23267 else
23268 glibcxx_cv_func_expf_use=no
23270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23271 ac_ext=c
23272 ac_cpp='$CPP $CPPFLAGS'
23273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23282 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23284 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23285 for ac_func in expf
23286 do :
23287 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23288 if test "x$ac_cv_func_expf" = x""yes; then :
23289 cat >>confdefs.h <<_ACEOF
23290 #define HAVE_EXPF 1
23291 _ACEOF
23294 done
23296 else
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23299 $as_echo_n "checking for _expf declaration... " >&6; }
23300 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23301 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23302 $as_echo_n "(cached) " >&6
23303 else
23306 ac_ext=cpp
23307 ac_cpp='$CXXCPP $CPPFLAGS'
23308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23313 /* end confdefs.h. */
23314 #include <math.h>
23315 #ifdef HAVE_IEEEFP_H
23316 #include <ieeefp.h>
23317 #endif
23320 main ()
23322 _expf(0);
23324 return 0;
23326 _ACEOF
23327 if ac_fn_cxx_try_compile "$LINENO"; then :
23328 glibcxx_cv_func__expf_use=yes
23329 else
23330 glibcxx_cv_func__expf_use=no
23332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23333 ac_ext=c
23334 ac_cpp='$CPP $CPPFLAGS'
23335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23344 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23346 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23347 for ac_func in _expf
23348 do :
23349 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23350 if test "x$ac_cv_func__expf" = x""yes; then :
23351 cat >>confdefs.h <<_ACEOF
23352 #define HAVE__EXPF 1
23353 _ACEOF
23356 done
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23366 $as_echo_n "checking for isnanf declaration... " >&6; }
23367 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23368 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23369 $as_echo_n "(cached) " >&6
23370 else
23373 ac_ext=cpp
23374 ac_cpp='$CXXCPP $CPPFLAGS'
23375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23380 /* end confdefs.h. */
23381 #include <math.h>
23382 #ifdef HAVE_IEEEFP_H
23383 #include <ieeefp.h>
23384 #endif
23387 main ()
23389 isnanf(0);
23391 return 0;
23393 _ACEOF
23394 if ac_fn_cxx_try_compile "$LINENO"; then :
23395 glibcxx_cv_func_isnanf_use=yes
23396 else
23397 glibcxx_cv_func_isnanf_use=no
23399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23400 ac_ext=c
23401 ac_cpp='$CPP $CPPFLAGS'
23402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23411 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23413 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23414 for ac_func in isnanf
23415 do :
23416 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23417 if test "x$ac_cv_func_isnanf" = x""yes; then :
23418 cat >>confdefs.h <<_ACEOF
23419 #define HAVE_ISNANF 1
23420 _ACEOF
23423 done
23425 else
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23428 $as_echo_n "checking for _isnanf declaration... " >&6; }
23429 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23430 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23431 $as_echo_n "(cached) " >&6
23432 else
23435 ac_ext=cpp
23436 ac_cpp='$CXXCPP $CPPFLAGS'
23437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23442 /* end confdefs.h. */
23443 #include <math.h>
23444 #ifdef HAVE_IEEEFP_H
23445 #include <ieeefp.h>
23446 #endif
23449 main ()
23451 _isnanf(0);
23453 return 0;
23455 _ACEOF
23456 if ac_fn_cxx_try_compile "$LINENO"; then :
23457 glibcxx_cv_func__isnanf_use=yes
23458 else
23459 glibcxx_cv_func__isnanf_use=no
23461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23462 ac_ext=c
23463 ac_cpp='$CPP $CPPFLAGS'
23464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23473 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23475 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23476 for ac_func in _isnanf
23477 do :
23478 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23479 if test "x$ac_cv_func__isnanf" = x""yes; then :
23480 cat >>confdefs.h <<_ACEOF
23481 #define HAVE__ISNANF 1
23482 _ACEOF
23485 done
23494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23495 $as_echo_n "checking for isinff declaration... " >&6; }
23496 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23497 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23498 $as_echo_n "(cached) " >&6
23499 else
23502 ac_ext=cpp
23503 ac_cpp='$CXXCPP $CPPFLAGS'
23504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23509 /* end confdefs.h. */
23510 #include <math.h>
23511 #ifdef HAVE_IEEEFP_H
23512 #include <ieeefp.h>
23513 #endif
23516 main ()
23518 isinff(0);
23520 return 0;
23522 _ACEOF
23523 if ac_fn_cxx_try_compile "$LINENO"; then :
23524 glibcxx_cv_func_isinff_use=yes
23525 else
23526 glibcxx_cv_func_isinff_use=no
23528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23529 ac_ext=c
23530 ac_cpp='$CPP $CPPFLAGS'
23531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23540 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23542 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23543 for ac_func in isinff
23544 do :
23545 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23546 if test "x$ac_cv_func_isinff" = x""yes; then :
23547 cat >>confdefs.h <<_ACEOF
23548 #define HAVE_ISINFF 1
23549 _ACEOF
23552 done
23554 else
23556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23557 $as_echo_n "checking for _isinff declaration... " >&6; }
23558 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23559 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23560 $as_echo_n "(cached) " >&6
23561 else
23564 ac_ext=cpp
23565 ac_cpp='$CXXCPP $CPPFLAGS'
23566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23571 /* end confdefs.h. */
23572 #include <math.h>
23573 #ifdef HAVE_IEEEFP_H
23574 #include <ieeefp.h>
23575 #endif
23578 main ()
23580 _isinff(0);
23582 return 0;
23584 _ACEOF
23585 if ac_fn_cxx_try_compile "$LINENO"; then :
23586 glibcxx_cv_func__isinff_use=yes
23587 else
23588 glibcxx_cv_func__isinff_use=no
23590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23591 ac_ext=c
23592 ac_cpp='$CPP $CPPFLAGS'
23593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23602 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23604 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23605 for ac_func in _isinff
23606 do :
23607 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23608 if test "x$ac_cv_func__isinff" = x""yes; then :
23609 cat >>confdefs.h <<_ACEOF
23610 #define HAVE__ISINFF 1
23611 _ACEOF
23614 done
23623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23624 $as_echo_n "checking for atan2f declaration... " >&6; }
23625 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23626 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23627 $as_echo_n "(cached) " >&6
23628 else
23631 ac_ext=cpp
23632 ac_cpp='$CXXCPP $CPPFLAGS'
23633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23638 /* end confdefs.h. */
23639 #include <math.h>
23641 main ()
23643 atan2f(0, 0);
23645 return 0;
23647 _ACEOF
23648 if ac_fn_cxx_try_compile "$LINENO"; then :
23649 glibcxx_cv_func_atan2f_use=yes
23650 else
23651 glibcxx_cv_func_atan2f_use=no
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23654 ac_ext=c
23655 ac_cpp='$CPP $CPPFLAGS'
23656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23665 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23667 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23668 for ac_func in atan2f
23669 do :
23670 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23671 if test "x$ac_cv_func_atan2f" = x""yes; then :
23672 cat >>confdefs.h <<_ACEOF
23673 #define HAVE_ATAN2F 1
23674 _ACEOF
23677 done
23679 else
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23682 $as_echo_n "checking for _atan2f declaration... " >&6; }
23683 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23684 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23685 $as_echo_n "(cached) " >&6
23686 else
23689 ac_ext=cpp
23690 ac_cpp='$CXXCPP $CPPFLAGS'
23691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23696 /* end confdefs.h. */
23697 #include <math.h>
23699 main ()
23701 _atan2f(0, 0);
23703 return 0;
23705 _ACEOF
23706 if ac_fn_cxx_try_compile "$LINENO"; then :
23707 glibcxx_cv_func__atan2f_use=yes
23708 else
23709 glibcxx_cv_func__atan2f_use=no
23711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23712 ac_ext=c
23713 ac_cpp='$CPP $CPPFLAGS'
23714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23723 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23725 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23726 for ac_func in _atan2f
23727 do :
23728 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23729 if test "x$ac_cv_func__atan2f" = x""yes; then :
23730 cat >>confdefs.h <<_ACEOF
23731 #define HAVE__ATAN2F 1
23732 _ACEOF
23735 done
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23745 $as_echo_n "checking for fabsf declaration... " >&6; }
23746 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23747 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23748 $as_echo_n "(cached) " >&6
23749 else
23752 ac_ext=cpp
23753 ac_cpp='$CXXCPP $CPPFLAGS'
23754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23759 /* end confdefs.h. */
23760 #include <math.h>
23761 #ifdef HAVE_IEEEFP_H
23762 #include <ieeefp.h>
23763 #endif
23766 main ()
23768 fabsf(0);
23770 return 0;
23772 _ACEOF
23773 if ac_fn_cxx_try_compile "$LINENO"; then :
23774 glibcxx_cv_func_fabsf_use=yes
23775 else
23776 glibcxx_cv_func_fabsf_use=no
23778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23779 ac_ext=c
23780 ac_cpp='$CPP $CPPFLAGS'
23781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23790 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23792 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23793 for ac_func in fabsf
23794 do :
23795 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23796 if test "x$ac_cv_func_fabsf" = x""yes; then :
23797 cat >>confdefs.h <<_ACEOF
23798 #define HAVE_FABSF 1
23799 _ACEOF
23802 done
23804 else
23806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23807 $as_echo_n "checking for _fabsf declaration... " >&6; }
23808 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23809 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23810 $as_echo_n "(cached) " >&6
23811 else
23814 ac_ext=cpp
23815 ac_cpp='$CXXCPP $CPPFLAGS'
23816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23821 /* end confdefs.h. */
23822 #include <math.h>
23823 #ifdef HAVE_IEEEFP_H
23824 #include <ieeefp.h>
23825 #endif
23828 main ()
23830 _fabsf(0);
23832 return 0;
23834 _ACEOF
23835 if ac_fn_cxx_try_compile "$LINENO"; then :
23836 glibcxx_cv_func__fabsf_use=yes
23837 else
23838 glibcxx_cv_func__fabsf_use=no
23840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23841 ac_ext=c
23842 ac_cpp='$CPP $CPPFLAGS'
23843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23852 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23854 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23855 for ac_func in _fabsf
23856 do :
23857 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23858 if test "x$ac_cv_func__fabsf" = x""yes; then :
23859 cat >>confdefs.h <<_ACEOF
23860 #define HAVE__FABSF 1
23861 _ACEOF
23864 done
23873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23874 $as_echo_n "checking for fmodf declaration... " >&6; }
23875 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23876 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23877 $as_echo_n "(cached) " >&6
23878 else
23881 ac_ext=cpp
23882 ac_cpp='$CXXCPP $CPPFLAGS'
23883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23888 /* end confdefs.h. */
23889 #include <math.h>
23891 main ()
23893 fmodf(0, 0);
23895 return 0;
23897 _ACEOF
23898 if ac_fn_cxx_try_compile "$LINENO"; then :
23899 glibcxx_cv_func_fmodf_use=yes
23900 else
23901 glibcxx_cv_func_fmodf_use=no
23903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23904 ac_ext=c
23905 ac_cpp='$CPP $CPPFLAGS'
23906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23915 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23917 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23918 for ac_func in fmodf
23919 do :
23920 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23921 if test "x$ac_cv_func_fmodf" = x""yes; then :
23922 cat >>confdefs.h <<_ACEOF
23923 #define HAVE_FMODF 1
23924 _ACEOF
23927 done
23929 else
23931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23932 $as_echo_n "checking for _fmodf declaration... " >&6; }
23933 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23934 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23935 $as_echo_n "(cached) " >&6
23936 else
23939 ac_ext=cpp
23940 ac_cpp='$CXXCPP $CPPFLAGS'
23941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23946 /* end confdefs.h. */
23947 #include <math.h>
23949 main ()
23951 _fmodf(0, 0);
23953 return 0;
23955 _ACEOF
23956 if ac_fn_cxx_try_compile "$LINENO"; then :
23957 glibcxx_cv_func__fmodf_use=yes
23958 else
23959 glibcxx_cv_func__fmodf_use=no
23961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23962 ac_ext=c
23963 ac_cpp='$CPP $CPPFLAGS'
23964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23973 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23975 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23976 for ac_func in _fmodf
23977 do :
23978 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23979 if test "x$ac_cv_func__fmodf" = x""yes; then :
23980 cat >>confdefs.h <<_ACEOF
23981 #define HAVE__FMODF 1
23982 _ACEOF
23985 done
23994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23995 $as_echo_n "checking for frexpf declaration... " >&6; }
23996 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23997 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23998 $as_echo_n "(cached) " >&6
23999 else
24002 ac_ext=cpp
24003 ac_cpp='$CXXCPP $CPPFLAGS'
24004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24009 /* end confdefs.h. */
24010 #include <math.h>
24012 main ()
24014 frexpf(0, 0);
24016 return 0;
24018 _ACEOF
24019 if ac_fn_cxx_try_compile "$LINENO"; then :
24020 glibcxx_cv_func_frexpf_use=yes
24021 else
24022 glibcxx_cv_func_frexpf_use=no
24024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24025 ac_ext=c
24026 ac_cpp='$CPP $CPPFLAGS'
24027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24036 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24038 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24039 for ac_func in frexpf
24040 do :
24041 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24042 if test "x$ac_cv_func_frexpf" = x""yes; then :
24043 cat >>confdefs.h <<_ACEOF
24044 #define HAVE_FREXPF 1
24045 _ACEOF
24048 done
24050 else
24052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24053 $as_echo_n "checking for _frexpf declaration... " >&6; }
24054 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24055 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24056 $as_echo_n "(cached) " >&6
24057 else
24060 ac_ext=cpp
24061 ac_cpp='$CXXCPP $CPPFLAGS'
24062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24067 /* end confdefs.h. */
24068 #include <math.h>
24070 main ()
24072 _frexpf(0, 0);
24074 return 0;
24076 _ACEOF
24077 if ac_fn_cxx_try_compile "$LINENO"; then :
24078 glibcxx_cv_func__frexpf_use=yes
24079 else
24080 glibcxx_cv_func__frexpf_use=no
24082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24083 ac_ext=c
24084 ac_cpp='$CPP $CPPFLAGS'
24085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24094 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24096 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24097 for ac_func in _frexpf
24098 do :
24099 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24100 if test "x$ac_cv_func__frexpf" = x""yes; then :
24101 cat >>confdefs.h <<_ACEOF
24102 #define HAVE__FREXPF 1
24103 _ACEOF
24106 done
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24116 $as_echo_n "checking for hypotf declaration... " >&6; }
24117 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24118 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24119 $as_echo_n "(cached) " >&6
24120 else
24123 ac_ext=cpp
24124 ac_cpp='$CXXCPP $CPPFLAGS'
24125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24130 /* end confdefs.h. */
24131 #include <math.h>
24133 main ()
24135 hypotf(0, 0);
24137 return 0;
24139 _ACEOF
24140 if ac_fn_cxx_try_compile "$LINENO"; then :
24141 glibcxx_cv_func_hypotf_use=yes
24142 else
24143 glibcxx_cv_func_hypotf_use=no
24145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24146 ac_ext=c
24147 ac_cpp='$CPP $CPPFLAGS'
24148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24157 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24159 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24160 for ac_func in hypotf
24161 do :
24162 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24163 if test "x$ac_cv_func_hypotf" = x""yes; then :
24164 cat >>confdefs.h <<_ACEOF
24165 #define HAVE_HYPOTF 1
24166 _ACEOF
24169 done
24171 else
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24174 $as_echo_n "checking for _hypotf declaration... " >&6; }
24175 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24176 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24177 $as_echo_n "(cached) " >&6
24178 else
24181 ac_ext=cpp
24182 ac_cpp='$CXXCPP $CPPFLAGS'
24183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24188 /* end confdefs.h. */
24189 #include <math.h>
24191 main ()
24193 _hypotf(0, 0);
24195 return 0;
24197 _ACEOF
24198 if ac_fn_cxx_try_compile "$LINENO"; then :
24199 glibcxx_cv_func__hypotf_use=yes
24200 else
24201 glibcxx_cv_func__hypotf_use=no
24203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24204 ac_ext=c
24205 ac_cpp='$CPP $CPPFLAGS'
24206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24215 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24217 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24218 for ac_func in _hypotf
24219 do :
24220 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24221 if test "x$ac_cv_func__hypotf" = x""yes; then :
24222 cat >>confdefs.h <<_ACEOF
24223 #define HAVE__HYPOTF 1
24224 _ACEOF
24227 done
24236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24237 $as_echo_n "checking for ldexpf declaration... " >&6; }
24238 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24239 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24240 $as_echo_n "(cached) " >&6
24241 else
24244 ac_ext=cpp
24245 ac_cpp='$CXXCPP $CPPFLAGS'
24246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24251 /* end confdefs.h. */
24252 #include <math.h>
24254 main ()
24256 ldexpf(0, 0);
24258 return 0;
24260 _ACEOF
24261 if ac_fn_cxx_try_compile "$LINENO"; then :
24262 glibcxx_cv_func_ldexpf_use=yes
24263 else
24264 glibcxx_cv_func_ldexpf_use=no
24266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24267 ac_ext=c
24268 ac_cpp='$CPP $CPPFLAGS'
24269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24278 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24280 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24281 for ac_func in ldexpf
24282 do :
24283 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24284 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24285 cat >>confdefs.h <<_ACEOF
24286 #define HAVE_LDEXPF 1
24287 _ACEOF
24290 done
24292 else
24294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24295 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24296 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24297 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24298 $as_echo_n "(cached) " >&6
24299 else
24302 ac_ext=cpp
24303 ac_cpp='$CXXCPP $CPPFLAGS'
24304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24309 /* end confdefs.h. */
24310 #include <math.h>
24312 main ()
24314 _ldexpf(0, 0);
24316 return 0;
24318 _ACEOF
24319 if ac_fn_cxx_try_compile "$LINENO"; then :
24320 glibcxx_cv_func__ldexpf_use=yes
24321 else
24322 glibcxx_cv_func__ldexpf_use=no
24324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24325 ac_ext=c
24326 ac_cpp='$CPP $CPPFLAGS'
24327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24336 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24338 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24339 for ac_func in _ldexpf
24340 do :
24341 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24342 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24343 cat >>confdefs.h <<_ACEOF
24344 #define HAVE__LDEXPF 1
24345 _ACEOF
24348 done
24357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24358 $as_echo_n "checking for logf declaration... " >&6; }
24359 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24360 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24361 $as_echo_n "(cached) " >&6
24362 else
24365 ac_ext=cpp
24366 ac_cpp='$CXXCPP $CPPFLAGS'
24367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24372 /* end confdefs.h. */
24373 #include <math.h>
24374 #ifdef HAVE_IEEEFP_H
24375 #include <ieeefp.h>
24376 #endif
24379 main ()
24381 logf(0);
24383 return 0;
24385 _ACEOF
24386 if ac_fn_cxx_try_compile "$LINENO"; then :
24387 glibcxx_cv_func_logf_use=yes
24388 else
24389 glibcxx_cv_func_logf_use=no
24391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24392 ac_ext=c
24393 ac_cpp='$CPP $CPPFLAGS'
24394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24403 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24405 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24406 for ac_func in logf
24407 do :
24408 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24409 if test "x$ac_cv_func_logf" = x""yes; then :
24410 cat >>confdefs.h <<_ACEOF
24411 #define HAVE_LOGF 1
24412 _ACEOF
24415 done
24417 else
24419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24420 $as_echo_n "checking for _logf declaration... " >&6; }
24421 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24422 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24423 $as_echo_n "(cached) " >&6
24424 else
24427 ac_ext=cpp
24428 ac_cpp='$CXXCPP $CPPFLAGS'
24429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24434 /* end confdefs.h. */
24435 #include <math.h>
24436 #ifdef HAVE_IEEEFP_H
24437 #include <ieeefp.h>
24438 #endif
24441 main ()
24443 _logf(0);
24445 return 0;
24447 _ACEOF
24448 if ac_fn_cxx_try_compile "$LINENO"; then :
24449 glibcxx_cv_func__logf_use=yes
24450 else
24451 glibcxx_cv_func__logf_use=no
24453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24454 ac_ext=c
24455 ac_cpp='$CPP $CPPFLAGS'
24456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24465 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24467 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24468 for ac_func in _logf
24469 do :
24470 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24471 if test "x$ac_cv_func__logf" = x""yes; then :
24472 cat >>confdefs.h <<_ACEOF
24473 #define HAVE__LOGF 1
24474 _ACEOF
24477 done
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24487 $as_echo_n "checking for log10f declaration... " >&6; }
24488 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24489 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24490 $as_echo_n "(cached) " >&6
24491 else
24494 ac_ext=cpp
24495 ac_cpp='$CXXCPP $CPPFLAGS'
24496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24501 /* end confdefs.h. */
24502 #include <math.h>
24503 #ifdef HAVE_IEEEFP_H
24504 #include <ieeefp.h>
24505 #endif
24508 main ()
24510 log10f(0);
24512 return 0;
24514 _ACEOF
24515 if ac_fn_cxx_try_compile "$LINENO"; then :
24516 glibcxx_cv_func_log10f_use=yes
24517 else
24518 glibcxx_cv_func_log10f_use=no
24520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24521 ac_ext=c
24522 ac_cpp='$CPP $CPPFLAGS'
24523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24532 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24534 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24535 for ac_func in log10f
24536 do :
24537 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24538 if test "x$ac_cv_func_log10f" = x""yes; then :
24539 cat >>confdefs.h <<_ACEOF
24540 #define HAVE_LOG10F 1
24541 _ACEOF
24544 done
24546 else
24548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24549 $as_echo_n "checking for _log10f declaration... " >&6; }
24550 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24551 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24552 $as_echo_n "(cached) " >&6
24553 else
24556 ac_ext=cpp
24557 ac_cpp='$CXXCPP $CPPFLAGS'
24558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24563 /* end confdefs.h. */
24564 #include <math.h>
24565 #ifdef HAVE_IEEEFP_H
24566 #include <ieeefp.h>
24567 #endif
24570 main ()
24572 _log10f(0);
24574 return 0;
24576 _ACEOF
24577 if ac_fn_cxx_try_compile "$LINENO"; then :
24578 glibcxx_cv_func__log10f_use=yes
24579 else
24580 glibcxx_cv_func__log10f_use=no
24582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24583 ac_ext=c
24584 ac_cpp='$CPP $CPPFLAGS'
24585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24594 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24596 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24597 for ac_func in _log10f
24598 do :
24599 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24600 if test "x$ac_cv_func__log10f" = x""yes; then :
24601 cat >>confdefs.h <<_ACEOF
24602 #define HAVE__LOG10F 1
24603 _ACEOF
24606 done
24615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24616 $as_echo_n "checking for modff declaration... " >&6; }
24617 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24618 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24619 $as_echo_n "(cached) " >&6
24620 else
24623 ac_ext=cpp
24624 ac_cpp='$CXXCPP $CPPFLAGS'
24625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24630 /* end confdefs.h. */
24631 #include <math.h>
24633 main ()
24635 modff(0, 0);
24637 return 0;
24639 _ACEOF
24640 if ac_fn_cxx_try_compile "$LINENO"; then :
24641 glibcxx_cv_func_modff_use=yes
24642 else
24643 glibcxx_cv_func_modff_use=no
24645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24646 ac_ext=c
24647 ac_cpp='$CPP $CPPFLAGS'
24648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24657 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24659 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24660 for ac_func in modff
24661 do :
24662 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24663 if test "x$ac_cv_func_modff" = x""yes; then :
24664 cat >>confdefs.h <<_ACEOF
24665 #define HAVE_MODFF 1
24666 _ACEOF
24669 done
24671 else
24673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24674 $as_echo_n "checking for _modff declaration... " >&6; }
24675 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24676 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24677 $as_echo_n "(cached) " >&6
24678 else
24681 ac_ext=cpp
24682 ac_cpp='$CXXCPP $CPPFLAGS'
24683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24688 /* end confdefs.h. */
24689 #include <math.h>
24691 main ()
24693 _modff(0, 0);
24695 return 0;
24697 _ACEOF
24698 if ac_fn_cxx_try_compile "$LINENO"; then :
24699 glibcxx_cv_func__modff_use=yes
24700 else
24701 glibcxx_cv_func__modff_use=no
24703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24704 ac_ext=c
24705 ac_cpp='$CPP $CPPFLAGS'
24706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24715 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24717 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24718 for ac_func in _modff
24719 do :
24720 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24721 if test "x$ac_cv_func__modff" = x""yes; then :
24722 cat >>confdefs.h <<_ACEOF
24723 #define HAVE__MODFF 1
24724 _ACEOF
24727 done
24736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24737 $as_echo_n "checking for modf declaration... " >&6; }
24738 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24739 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24740 $as_echo_n "(cached) " >&6
24741 else
24744 ac_ext=cpp
24745 ac_cpp='$CXXCPP $CPPFLAGS'
24746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24751 /* end confdefs.h. */
24752 #include <math.h>
24754 main ()
24756 modf(0, 0);
24758 return 0;
24760 _ACEOF
24761 if ac_fn_cxx_try_compile "$LINENO"; then :
24762 glibcxx_cv_func_modf_use=yes
24763 else
24764 glibcxx_cv_func_modf_use=no
24766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24767 ac_ext=c
24768 ac_cpp='$CPP $CPPFLAGS'
24769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24778 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24780 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24781 for ac_func in modf
24782 do :
24783 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24784 if test "x$ac_cv_func_modf" = x""yes; then :
24785 cat >>confdefs.h <<_ACEOF
24786 #define HAVE_MODF 1
24787 _ACEOF
24790 done
24792 else
24794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24795 $as_echo_n "checking for _modf declaration... " >&6; }
24796 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24797 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24798 $as_echo_n "(cached) " >&6
24799 else
24802 ac_ext=cpp
24803 ac_cpp='$CXXCPP $CPPFLAGS'
24804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24809 /* end confdefs.h. */
24810 #include <math.h>
24812 main ()
24814 _modf(0, 0);
24816 return 0;
24818 _ACEOF
24819 if ac_fn_cxx_try_compile "$LINENO"; then :
24820 glibcxx_cv_func__modf_use=yes
24821 else
24822 glibcxx_cv_func__modf_use=no
24824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24825 ac_ext=c
24826 ac_cpp='$CPP $CPPFLAGS'
24827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24836 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24838 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24839 for ac_func in _modf
24840 do :
24841 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24842 if test "x$ac_cv_func__modf" = x""yes; then :
24843 cat >>confdefs.h <<_ACEOF
24844 #define HAVE__MODF 1
24845 _ACEOF
24848 done
24857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24858 $as_echo_n "checking for powf declaration... " >&6; }
24859 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24860 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24861 $as_echo_n "(cached) " >&6
24862 else
24865 ac_ext=cpp
24866 ac_cpp='$CXXCPP $CPPFLAGS'
24867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24872 /* end confdefs.h. */
24873 #include <math.h>
24875 main ()
24877 powf(0, 0);
24879 return 0;
24881 _ACEOF
24882 if ac_fn_cxx_try_compile "$LINENO"; then :
24883 glibcxx_cv_func_powf_use=yes
24884 else
24885 glibcxx_cv_func_powf_use=no
24887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24888 ac_ext=c
24889 ac_cpp='$CPP $CPPFLAGS'
24890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24899 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24901 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24902 for ac_func in powf
24903 do :
24904 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24905 if test "x$ac_cv_func_powf" = x""yes; then :
24906 cat >>confdefs.h <<_ACEOF
24907 #define HAVE_POWF 1
24908 _ACEOF
24911 done
24913 else
24915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24916 $as_echo_n "checking for _powf declaration... " >&6; }
24917 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24918 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24919 $as_echo_n "(cached) " >&6
24920 else
24923 ac_ext=cpp
24924 ac_cpp='$CXXCPP $CPPFLAGS'
24925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24930 /* end confdefs.h. */
24931 #include <math.h>
24933 main ()
24935 _powf(0, 0);
24937 return 0;
24939 _ACEOF
24940 if ac_fn_cxx_try_compile "$LINENO"; then :
24941 glibcxx_cv_func__powf_use=yes
24942 else
24943 glibcxx_cv_func__powf_use=no
24945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24946 ac_ext=c
24947 ac_cpp='$CPP $CPPFLAGS'
24948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24957 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24959 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24960 for ac_func in _powf
24961 do :
24962 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24963 if test "x$ac_cv_func__powf" = x""yes; then :
24964 cat >>confdefs.h <<_ACEOF
24965 #define HAVE__POWF 1
24966 _ACEOF
24969 done
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24979 $as_echo_n "checking for sqrtf declaration... " >&6; }
24980 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24981 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24982 $as_echo_n "(cached) " >&6
24983 else
24986 ac_ext=cpp
24987 ac_cpp='$CXXCPP $CPPFLAGS'
24988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24993 /* end confdefs.h. */
24994 #include <math.h>
24995 #ifdef HAVE_IEEEFP_H
24996 #include <ieeefp.h>
24997 #endif
25000 main ()
25002 sqrtf(0);
25004 return 0;
25006 _ACEOF
25007 if ac_fn_cxx_try_compile "$LINENO"; then :
25008 glibcxx_cv_func_sqrtf_use=yes
25009 else
25010 glibcxx_cv_func_sqrtf_use=no
25012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25013 ac_ext=c
25014 ac_cpp='$CPP $CPPFLAGS'
25015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25024 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25026 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25027 for ac_func in sqrtf
25028 do :
25029 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25030 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25031 cat >>confdefs.h <<_ACEOF
25032 #define HAVE_SQRTF 1
25033 _ACEOF
25036 done
25038 else
25040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25041 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25042 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25043 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25044 $as_echo_n "(cached) " >&6
25045 else
25048 ac_ext=cpp
25049 ac_cpp='$CXXCPP $CPPFLAGS'
25050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25055 /* end confdefs.h. */
25056 #include <math.h>
25057 #ifdef HAVE_IEEEFP_H
25058 #include <ieeefp.h>
25059 #endif
25062 main ()
25064 _sqrtf(0);
25066 return 0;
25068 _ACEOF
25069 if ac_fn_cxx_try_compile "$LINENO"; then :
25070 glibcxx_cv_func__sqrtf_use=yes
25071 else
25072 glibcxx_cv_func__sqrtf_use=no
25074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25075 ac_ext=c
25076 ac_cpp='$CPP $CPPFLAGS'
25077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25086 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25088 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25089 for ac_func in _sqrtf
25090 do :
25091 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25092 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25093 cat >>confdefs.h <<_ACEOF
25094 #define HAVE__SQRTF 1
25095 _ACEOF
25098 done
25107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25108 $as_echo_n "checking for sincosf declaration... " >&6; }
25109 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25110 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25111 $as_echo_n "(cached) " >&6
25112 else
25115 ac_ext=cpp
25116 ac_cpp='$CXXCPP $CPPFLAGS'
25117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25122 /* end confdefs.h. */
25123 #include <math.h>
25125 main ()
25127 sincosf(0, 0, 0);
25129 return 0;
25131 _ACEOF
25132 if ac_fn_cxx_try_compile "$LINENO"; then :
25133 glibcxx_cv_func_sincosf_use=yes
25134 else
25135 glibcxx_cv_func_sincosf_use=no
25137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25138 ac_ext=c
25139 ac_cpp='$CPP $CPPFLAGS'
25140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25149 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25151 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25152 for ac_func in sincosf
25153 do :
25154 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25155 if test "x$ac_cv_func_sincosf" = x""yes; then :
25156 cat >>confdefs.h <<_ACEOF
25157 #define HAVE_SINCOSF 1
25158 _ACEOF
25161 done
25163 else
25165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25166 $as_echo_n "checking for _sincosf declaration... " >&6; }
25167 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25168 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25169 $as_echo_n "(cached) " >&6
25170 else
25173 ac_ext=cpp
25174 ac_cpp='$CXXCPP $CPPFLAGS'
25175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25180 /* end confdefs.h. */
25181 #include <math.h>
25183 main ()
25185 _sincosf(0, 0, 0);
25187 return 0;
25189 _ACEOF
25190 if ac_fn_cxx_try_compile "$LINENO"; then :
25191 glibcxx_cv_func__sincosf_use=yes
25192 else
25193 glibcxx_cv_func__sincosf_use=no
25195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25196 ac_ext=c
25197 ac_cpp='$CPP $CPPFLAGS'
25198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25207 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25209 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25210 for ac_func in _sincosf
25211 do :
25212 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25213 if test "x$ac_cv_func__sincosf" = x""yes; then :
25214 cat >>confdefs.h <<_ACEOF
25215 #define HAVE__SINCOSF 1
25216 _ACEOF
25219 done
25228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25229 $as_echo_n "checking for finitef declaration... " >&6; }
25230 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25231 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25232 $as_echo_n "(cached) " >&6
25233 else
25236 ac_ext=cpp
25237 ac_cpp='$CXXCPP $CPPFLAGS'
25238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25243 /* end confdefs.h. */
25244 #include <math.h>
25245 #ifdef HAVE_IEEEFP_H
25246 #include <ieeefp.h>
25247 #endif
25250 main ()
25252 finitef(0);
25254 return 0;
25256 _ACEOF
25257 if ac_fn_cxx_try_compile "$LINENO"; then :
25258 glibcxx_cv_func_finitef_use=yes
25259 else
25260 glibcxx_cv_func_finitef_use=no
25262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25263 ac_ext=c
25264 ac_cpp='$CPP $CPPFLAGS'
25265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25274 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25276 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25277 for ac_func in finitef
25278 do :
25279 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25280 if test "x$ac_cv_func_finitef" = x""yes; then :
25281 cat >>confdefs.h <<_ACEOF
25282 #define HAVE_FINITEF 1
25283 _ACEOF
25286 done
25288 else
25290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25291 $as_echo_n "checking for _finitef declaration... " >&6; }
25292 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25293 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25294 $as_echo_n "(cached) " >&6
25295 else
25298 ac_ext=cpp
25299 ac_cpp='$CXXCPP $CPPFLAGS'
25300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25305 /* end confdefs.h. */
25306 #include <math.h>
25307 #ifdef HAVE_IEEEFP_H
25308 #include <ieeefp.h>
25309 #endif
25312 main ()
25314 _finitef(0);
25316 return 0;
25318 _ACEOF
25319 if ac_fn_cxx_try_compile "$LINENO"; then :
25320 glibcxx_cv_func__finitef_use=yes
25321 else
25322 glibcxx_cv_func__finitef_use=no
25324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25325 ac_ext=c
25326 ac_cpp='$CPP $CPPFLAGS'
25327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25336 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25338 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25339 for ac_func in _finitef
25340 do :
25341 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25342 if test "x$ac_cv_func__finitef" = x""yes; then :
25343 cat >>confdefs.h <<_ACEOF
25344 #define HAVE__FINITEF 1
25345 _ACEOF
25348 done
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25358 $as_echo_n "checking for long double trig functions... " >&6; }
25359 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25360 $as_echo_n "(cached) " >&6
25361 else
25364 ac_ext=cpp
25365 ac_cpp='$CXXCPP $CPPFLAGS'
25366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25371 /* end confdefs.h. */
25372 #include <math.h>
25374 main ()
25376 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25378 return 0;
25380 _ACEOF
25381 if ac_fn_cxx_try_compile "$LINENO"; then :
25382 glibcxx_cv_func_long_double_trig_use=yes
25383 else
25384 glibcxx_cv_func_long_double_trig_use=no
25386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25387 ac_ext=c
25388 ac_cpp='$CPP $CPPFLAGS'
25389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25396 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25397 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25398 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25399 do :
25400 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25401 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25402 eval as_val=\$$as_ac_var
25403 if test "x$as_val" = x""yes; then :
25404 cat >>confdefs.h <<_ACEOF
25405 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25406 _ACEOF
25409 done
25411 else
25412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25413 $as_echo_n "checking for _long double trig functions... " >&6; }
25414 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25415 $as_echo_n "(cached) " >&6
25416 else
25419 ac_ext=cpp
25420 ac_cpp='$CXXCPP $CPPFLAGS'
25421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25426 /* end confdefs.h. */
25427 #include <math.h>
25429 main ()
25431 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25433 return 0;
25435 _ACEOF
25436 if ac_fn_cxx_try_compile "$LINENO"; then :
25437 glibcxx_cv_func__long_double_trig_use=yes
25438 else
25439 glibcxx_cv_func__long_double_trig_use=no
25441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25442 ac_ext=c
25443 ac_cpp='$CPP $CPPFLAGS'
25444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25451 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25452 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25453 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25454 do :
25455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25457 eval as_val=\$$as_ac_var
25458 if test "x$as_val" = x""yes; then :
25459 cat >>confdefs.h <<_ACEOF
25460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25461 _ACEOF
25464 done
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25474 $as_echo_n "checking for long double round functions... " >&6; }
25475 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25476 $as_echo_n "(cached) " >&6
25477 else
25480 ac_ext=cpp
25481 ac_cpp='$CXXCPP $CPPFLAGS'
25482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25487 /* end confdefs.h. */
25488 #include <math.h>
25490 main ()
25492 ceill (0); floorl (0);
25494 return 0;
25496 _ACEOF
25497 if ac_fn_cxx_try_compile "$LINENO"; then :
25498 glibcxx_cv_func_long_double_round_use=yes
25499 else
25500 glibcxx_cv_func_long_double_round_use=no
25502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25503 ac_ext=c
25504 ac_cpp='$CPP $CPPFLAGS'
25505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25512 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25513 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25514 for ac_func in ceill floorl
25515 do :
25516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25518 eval as_val=\$$as_ac_var
25519 if test "x$as_val" = x""yes; then :
25520 cat >>confdefs.h <<_ACEOF
25521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25522 _ACEOF
25525 done
25527 else
25528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25529 $as_echo_n "checking for _long double round functions... " >&6; }
25530 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25531 $as_echo_n "(cached) " >&6
25532 else
25535 ac_ext=cpp
25536 ac_cpp='$CXXCPP $CPPFLAGS'
25537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25542 /* end confdefs.h. */
25543 #include <math.h>
25545 main ()
25547 _ceill (0); _floorl (0);
25549 return 0;
25551 _ACEOF
25552 if ac_fn_cxx_try_compile "$LINENO"; then :
25553 glibcxx_cv_func__long_double_round_use=yes
25554 else
25555 glibcxx_cv_func__long_double_round_use=no
25557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25558 ac_ext=c
25559 ac_cpp='$CPP $CPPFLAGS'
25560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25567 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25568 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25569 for ac_func in _ceill _floorl
25570 do :
25571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25573 eval as_val=\$$as_ac_var
25574 if test "x$as_val" = x""yes; then :
25575 cat >>confdefs.h <<_ACEOF
25576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25577 _ACEOF
25580 done
25590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25591 $as_echo_n "checking for isnanl declaration... " >&6; }
25592 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25593 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25594 $as_echo_n "(cached) " >&6
25595 else
25598 ac_ext=cpp
25599 ac_cpp='$CXXCPP $CPPFLAGS'
25600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25605 /* end confdefs.h. */
25606 #include <math.h>
25607 #ifdef HAVE_IEEEFP_H
25608 #include <ieeefp.h>
25609 #endif
25612 main ()
25614 isnanl(0);
25616 return 0;
25618 _ACEOF
25619 if ac_fn_cxx_try_compile "$LINENO"; then :
25620 glibcxx_cv_func_isnanl_use=yes
25621 else
25622 glibcxx_cv_func_isnanl_use=no
25624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25625 ac_ext=c
25626 ac_cpp='$CPP $CPPFLAGS'
25627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25636 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25638 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25639 for ac_func in isnanl
25640 do :
25641 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25642 if test "x$ac_cv_func_isnanl" = x""yes; then :
25643 cat >>confdefs.h <<_ACEOF
25644 #define HAVE_ISNANL 1
25645 _ACEOF
25648 done
25650 else
25652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25653 $as_echo_n "checking for _isnanl declaration... " >&6; }
25654 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25655 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25656 $as_echo_n "(cached) " >&6
25657 else
25660 ac_ext=cpp
25661 ac_cpp='$CXXCPP $CPPFLAGS'
25662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25667 /* end confdefs.h. */
25668 #include <math.h>
25669 #ifdef HAVE_IEEEFP_H
25670 #include <ieeefp.h>
25671 #endif
25674 main ()
25676 _isnanl(0);
25678 return 0;
25680 _ACEOF
25681 if ac_fn_cxx_try_compile "$LINENO"; then :
25682 glibcxx_cv_func__isnanl_use=yes
25683 else
25684 glibcxx_cv_func__isnanl_use=no
25686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25687 ac_ext=c
25688 ac_cpp='$CPP $CPPFLAGS'
25689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25698 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25700 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25701 for ac_func in _isnanl
25702 do :
25703 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25704 if test "x$ac_cv_func__isnanl" = x""yes; then :
25705 cat >>confdefs.h <<_ACEOF
25706 #define HAVE__ISNANL 1
25707 _ACEOF
25710 done
25719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25720 $as_echo_n "checking for isinfl declaration... " >&6; }
25721 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25722 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25723 $as_echo_n "(cached) " >&6
25724 else
25727 ac_ext=cpp
25728 ac_cpp='$CXXCPP $CPPFLAGS'
25729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25734 /* end confdefs.h. */
25735 #include <math.h>
25736 #ifdef HAVE_IEEEFP_H
25737 #include <ieeefp.h>
25738 #endif
25741 main ()
25743 isinfl(0);
25745 return 0;
25747 _ACEOF
25748 if ac_fn_cxx_try_compile "$LINENO"; then :
25749 glibcxx_cv_func_isinfl_use=yes
25750 else
25751 glibcxx_cv_func_isinfl_use=no
25753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25754 ac_ext=c
25755 ac_cpp='$CPP $CPPFLAGS'
25756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25765 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25767 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25768 for ac_func in isinfl
25769 do :
25770 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25771 if test "x$ac_cv_func_isinfl" = x""yes; then :
25772 cat >>confdefs.h <<_ACEOF
25773 #define HAVE_ISINFL 1
25774 _ACEOF
25777 done
25779 else
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25782 $as_echo_n "checking for _isinfl declaration... " >&6; }
25783 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25784 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25785 $as_echo_n "(cached) " >&6
25786 else
25789 ac_ext=cpp
25790 ac_cpp='$CXXCPP $CPPFLAGS'
25791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25796 /* end confdefs.h. */
25797 #include <math.h>
25798 #ifdef HAVE_IEEEFP_H
25799 #include <ieeefp.h>
25800 #endif
25803 main ()
25805 _isinfl(0);
25807 return 0;
25809 _ACEOF
25810 if ac_fn_cxx_try_compile "$LINENO"; then :
25811 glibcxx_cv_func__isinfl_use=yes
25812 else
25813 glibcxx_cv_func__isinfl_use=no
25815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25816 ac_ext=c
25817 ac_cpp='$CPP $CPPFLAGS'
25818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25827 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25829 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25830 for ac_func in _isinfl
25831 do :
25832 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25833 if test "x$ac_cv_func__isinfl" = x""yes; then :
25834 cat >>confdefs.h <<_ACEOF
25835 #define HAVE__ISINFL 1
25836 _ACEOF
25839 done
25848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25849 $as_echo_n "checking for atan2l declaration... " >&6; }
25850 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25851 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25852 $as_echo_n "(cached) " >&6
25853 else
25856 ac_ext=cpp
25857 ac_cpp='$CXXCPP $CPPFLAGS'
25858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25863 /* end confdefs.h. */
25864 #include <math.h>
25866 main ()
25868 atan2l(0, 0);
25870 return 0;
25872 _ACEOF
25873 if ac_fn_cxx_try_compile "$LINENO"; then :
25874 glibcxx_cv_func_atan2l_use=yes
25875 else
25876 glibcxx_cv_func_atan2l_use=no
25878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25879 ac_ext=c
25880 ac_cpp='$CPP $CPPFLAGS'
25881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25890 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25892 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25893 for ac_func in atan2l
25894 do :
25895 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25896 if test "x$ac_cv_func_atan2l" = x""yes; then :
25897 cat >>confdefs.h <<_ACEOF
25898 #define HAVE_ATAN2L 1
25899 _ACEOF
25902 done
25904 else
25906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25907 $as_echo_n "checking for _atan2l declaration... " >&6; }
25908 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25909 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25910 $as_echo_n "(cached) " >&6
25911 else
25914 ac_ext=cpp
25915 ac_cpp='$CXXCPP $CPPFLAGS'
25916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25921 /* end confdefs.h. */
25922 #include <math.h>
25924 main ()
25926 _atan2l(0, 0);
25928 return 0;
25930 _ACEOF
25931 if ac_fn_cxx_try_compile "$LINENO"; then :
25932 glibcxx_cv_func__atan2l_use=yes
25933 else
25934 glibcxx_cv_func__atan2l_use=no
25936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25937 ac_ext=c
25938 ac_cpp='$CPP $CPPFLAGS'
25939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25948 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25950 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25951 for ac_func in _atan2l
25952 do :
25953 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25954 if test "x$ac_cv_func__atan2l" = x""yes; then :
25955 cat >>confdefs.h <<_ACEOF
25956 #define HAVE__ATAN2L 1
25957 _ACEOF
25960 done
25969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25970 $as_echo_n "checking for expl declaration... " >&6; }
25971 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25972 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25973 $as_echo_n "(cached) " >&6
25974 else
25977 ac_ext=cpp
25978 ac_cpp='$CXXCPP $CPPFLAGS'
25979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25984 /* end confdefs.h. */
25985 #include <math.h>
25986 #ifdef HAVE_IEEEFP_H
25987 #include <ieeefp.h>
25988 #endif
25991 main ()
25993 expl(0);
25995 return 0;
25997 _ACEOF
25998 if ac_fn_cxx_try_compile "$LINENO"; then :
25999 glibcxx_cv_func_expl_use=yes
26000 else
26001 glibcxx_cv_func_expl_use=no
26003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26004 ac_ext=c
26005 ac_cpp='$CPP $CPPFLAGS'
26006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26015 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26017 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26018 for ac_func in expl
26019 do :
26020 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26021 if test "x$ac_cv_func_expl" = x""yes; then :
26022 cat >>confdefs.h <<_ACEOF
26023 #define HAVE_EXPL 1
26024 _ACEOF
26027 done
26029 else
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26032 $as_echo_n "checking for _expl declaration... " >&6; }
26033 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26034 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26035 $as_echo_n "(cached) " >&6
26036 else
26039 ac_ext=cpp
26040 ac_cpp='$CXXCPP $CPPFLAGS'
26041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26046 /* end confdefs.h. */
26047 #include <math.h>
26048 #ifdef HAVE_IEEEFP_H
26049 #include <ieeefp.h>
26050 #endif
26053 main ()
26055 _expl(0);
26057 return 0;
26059 _ACEOF
26060 if ac_fn_cxx_try_compile "$LINENO"; then :
26061 glibcxx_cv_func__expl_use=yes
26062 else
26063 glibcxx_cv_func__expl_use=no
26065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26066 ac_ext=c
26067 ac_cpp='$CPP $CPPFLAGS'
26068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26077 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26079 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26080 for ac_func in _expl
26081 do :
26082 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26083 if test "x$ac_cv_func__expl" = x""yes; then :
26084 cat >>confdefs.h <<_ACEOF
26085 #define HAVE__EXPL 1
26086 _ACEOF
26089 done
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26099 $as_echo_n "checking for fabsl declaration... " >&6; }
26100 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26101 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26102 $as_echo_n "(cached) " >&6
26103 else
26106 ac_ext=cpp
26107 ac_cpp='$CXXCPP $CPPFLAGS'
26108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26113 /* end confdefs.h. */
26114 #include <math.h>
26115 #ifdef HAVE_IEEEFP_H
26116 #include <ieeefp.h>
26117 #endif
26120 main ()
26122 fabsl(0);
26124 return 0;
26126 _ACEOF
26127 if ac_fn_cxx_try_compile "$LINENO"; then :
26128 glibcxx_cv_func_fabsl_use=yes
26129 else
26130 glibcxx_cv_func_fabsl_use=no
26132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26133 ac_ext=c
26134 ac_cpp='$CPP $CPPFLAGS'
26135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26144 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26146 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26147 for ac_func in fabsl
26148 do :
26149 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26150 if test "x$ac_cv_func_fabsl" = x""yes; then :
26151 cat >>confdefs.h <<_ACEOF
26152 #define HAVE_FABSL 1
26153 _ACEOF
26156 done
26158 else
26160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26161 $as_echo_n "checking for _fabsl declaration... " >&6; }
26162 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26163 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26164 $as_echo_n "(cached) " >&6
26165 else
26168 ac_ext=cpp
26169 ac_cpp='$CXXCPP $CPPFLAGS'
26170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26175 /* end confdefs.h. */
26176 #include <math.h>
26177 #ifdef HAVE_IEEEFP_H
26178 #include <ieeefp.h>
26179 #endif
26182 main ()
26184 _fabsl(0);
26186 return 0;
26188 _ACEOF
26189 if ac_fn_cxx_try_compile "$LINENO"; then :
26190 glibcxx_cv_func__fabsl_use=yes
26191 else
26192 glibcxx_cv_func__fabsl_use=no
26194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26195 ac_ext=c
26196 ac_cpp='$CPP $CPPFLAGS'
26197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26206 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26208 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26209 for ac_func in _fabsl
26210 do :
26211 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26212 if test "x$ac_cv_func__fabsl" = x""yes; then :
26213 cat >>confdefs.h <<_ACEOF
26214 #define HAVE__FABSL 1
26215 _ACEOF
26218 done
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26228 $as_echo_n "checking for fmodl declaration... " >&6; }
26229 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26230 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26231 $as_echo_n "(cached) " >&6
26232 else
26235 ac_ext=cpp
26236 ac_cpp='$CXXCPP $CPPFLAGS'
26237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26242 /* end confdefs.h. */
26243 #include <math.h>
26245 main ()
26247 fmodl(0, 0);
26249 return 0;
26251 _ACEOF
26252 if ac_fn_cxx_try_compile "$LINENO"; then :
26253 glibcxx_cv_func_fmodl_use=yes
26254 else
26255 glibcxx_cv_func_fmodl_use=no
26257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26258 ac_ext=c
26259 ac_cpp='$CPP $CPPFLAGS'
26260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26269 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26271 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26272 for ac_func in fmodl
26273 do :
26274 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26275 if test "x$ac_cv_func_fmodl" = x""yes; then :
26276 cat >>confdefs.h <<_ACEOF
26277 #define HAVE_FMODL 1
26278 _ACEOF
26281 done
26283 else
26285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26286 $as_echo_n "checking for _fmodl declaration... " >&6; }
26287 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26288 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26289 $as_echo_n "(cached) " >&6
26290 else
26293 ac_ext=cpp
26294 ac_cpp='$CXXCPP $CPPFLAGS'
26295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26300 /* end confdefs.h. */
26301 #include <math.h>
26303 main ()
26305 _fmodl(0, 0);
26307 return 0;
26309 _ACEOF
26310 if ac_fn_cxx_try_compile "$LINENO"; then :
26311 glibcxx_cv_func__fmodl_use=yes
26312 else
26313 glibcxx_cv_func__fmodl_use=no
26315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26316 ac_ext=c
26317 ac_cpp='$CPP $CPPFLAGS'
26318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26327 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26329 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26330 for ac_func in _fmodl
26331 do :
26332 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26333 if test "x$ac_cv_func__fmodl" = x""yes; then :
26334 cat >>confdefs.h <<_ACEOF
26335 #define HAVE__FMODL 1
26336 _ACEOF
26339 done
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26349 $as_echo_n "checking for frexpl declaration... " >&6; }
26350 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26351 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26352 $as_echo_n "(cached) " >&6
26353 else
26356 ac_ext=cpp
26357 ac_cpp='$CXXCPP $CPPFLAGS'
26358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26363 /* end confdefs.h. */
26364 #include <math.h>
26366 main ()
26368 frexpl(0, 0);
26370 return 0;
26372 _ACEOF
26373 if ac_fn_cxx_try_compile "$LINENO"; then :
26374 glibcxx_cv_func_frexpl_use=yes
26375 else
26376 glibcxx_cv_func_frexpl_use=no
26378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26379 ac_ext=c
26380 ac_cpp='$CPP $CPPFLAGS'
26381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26390 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26392 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26393 for ac_func in frexpl
26394 do :
26395 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26396 if test "x$ac_cv_func_frexpl" = x""yes; then :
26397 cat >>confdefs.h <<_ACEOF
26398 #define HAVE_FREXPL 1
26399 _ACEOF
26402 done
26404 else
26406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26407 $as_echo_n "checking for _frexpl declaration... " >&6; }
26408 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26409 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26410 $as_echo_n "(cached) " >&6
26411 else
26414 ac_ext=cpp
26415 ac_cpp='$CXXCPP $CPPFLAGS'
26416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26421 /* end confdefs.h. */
26422 #include <math.h>
26424 main ()
26426 _frexpl(0, 0);
26428 return 0;
26430 _ACEOF
26431 if ac_fn_cxx_try_compile "$LINENO"; then :
26432 glibcxx_cv_func__frexpl_use=yes
26433 else
26434 glibcxx_cv_func__frexpl_use=no
26436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26437 ac_ext=c
26438 ac_cpp='$CPP $CPPFLAGS'
26439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26448 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26450 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26451 for ac_func in _frexpl
26452 do :
26453 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26454 if test "x$ac_cv_func__frexpl" = x""yes; then :
26455 cat >>confdefs.h <<_ACEOF
26456 #define HAVE__FREXPL 1
26457 _ACEOF
26460 done
26469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26470 $as_echo_n "checking for hypotl declaration... " >&6; }
26471 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26472 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26473 $as_echo_n "(cached) " >&6
26474 else
26477 ac_ext=cpp
26478 ac_cpp='$CXXCPP $CPPFLAGS'
26479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26484 /* end confdefs.h. */
26485 #include <math.h>
26487 main ()
26489 hypotl(0, 0);
26491 return 0;
26493 _ACEOF
26494 if ac_fn_cxx_try_compile "$LINENO"; then :
26495 glibcxx_cv_func_hypotl_use=yes
26496 else
26497 glibcxx_cv_func_hypotl_use=no
26499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26500 ac_ext=c
26501 ac_cpp='$CPP $CPPFLAGS'
26502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26511 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26513 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26514 for ac_func in hypotl
26515 do :
26516 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26517 if test "x$ac_cv_func_hypotl" = x""yes; then :
26518 cat >>confdefs.h <<_ACEOF
26519 #define HAVE_HYPOTL 1
26520 _ACEOF
26523 done
26525 else
26527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26528 $as_echo_n "checking for _hypotl declaration... " >&6; }
26529 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26530 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26531 $as_echo_n "(cached) " >&6
26532 else
26535 ac_ext=cpp
26536 ac_cpp='$CXXCPP $CPPFLAGS'
26537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26542 /* end confdefs.h. */
26543 #include <math.h>
26545 main ()
26547 _hypotl(0, 0);
26549 return 0;
26551 _ACEOF
26552 if ac_fn_cxx_try_compile "$LINENO"; then :
26553 glibcxx_cv_func__hypotl_use=yes
26554 else
26555 glibcxx_cv_func__hypotl_use=no
26557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26558 ac_ext=c
26559 ac_cpp='$CPP $CPPFLAGS'
26560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26569 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26571 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26572 for ac_func in _hypotl
26573 do :
26574 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26575 if test "x$ac_cv_func__hypotl" = x""yes; then :
26576 cat >>confdefs.h <<_ACEOF
26577 #define HAVE__HYPOTL 1
26578 _ACEOF
26581 done
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26591 $as_echo_n "checking for ldexpl declaration... " >&6; }
26592 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26593 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26594 $as_echo_n "(cached) " >&6
26595 else
26598 ac_ext=cpp
26599 ac_cpp='$CXXCPP $CPPFLAGS'
26600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26605 /* end confdefs.h. */
26606 #include <math.h>
26608 main ()
26610 ldexpl(0, 0);
26612 return 0;
26614 _ACEOF
26615 if ac_fn_cxx_try_compile "$LINENO"; then :
26616 glibcxx_cv_func_ldexpl_use=yes
26617 else
26618 glibcxx_cv_func_ldexpl_use=no
26620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26621 ac_ext=c
26622 ac_cpp='$CPP $CPPFLAGS'
26623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26632 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26634 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26635 for ac_func in ldexpl
26636 do :
26637 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26638 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26639 cat >>confdefs.h <<_ACEOF
26640 #define HAVE_LDEXPL 1
26641 _ACEOF
26644 done
26646 else
26648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26649 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26650 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26651 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26652 $as_echo_n "(cached) " >&6
26653 else
26656 ac_ext=cpp
26657 ac_cpp='$CXXCPP $CPPFLAGS'
26658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26663 /* end confdefs.h. */
26664 #include <math.h>
26666 main ()
26668 _ldexpl(0, 0);
26670 return 0;
26672 _ACEOF
26673 if ac_fn_cxx_try_compile "$LINENO"; then :
26674 glibcxx_cv_func__ldexpl_use=yes
26675 else
26676 glibcxx_cv_func__ldexpl_use=no
26678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26679 ac_ext=c
26680 ac_cpp='$CPP $CPPFLAGS'
26681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26690 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26692 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26693 for ac_func in _ldexpl
26694 do :
26695 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26696 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26697 cat >>confdefs.h <<_ACEOF
26698 #define HAVE__LDEXPL 1
26699 _ACEOF
26702 done
26711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26712 $as_echo_n "checking for logl declaration... " >&6; }
26713 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26714 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26715 $as_echo_n "(cached) " >&6
26716 else
26719 ac_ext=cpp
26720 ac_cpp='$CXXCPP $CPPFLAGS'
26721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26726 /* end confdefs.h. */
26727 #include <math.h>
26728 #ifdef HAVE_IEEEFP_H
26729 #include <ieeefp.h>
26730 #endif
26733 main ()
26735 logl(0);
26737 return 0;
26739 _ACEOF
26740 if ac_fn_cxx_try_compile "$LINENO"; then :
26741 glibcxx_cv_func_logl_use=yes
26742 else
26743 glibcxx_cv_func_logl_use=no
26745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26746 ac_ext=c
26747 ac_cpp='$CPP $CPPFLAGS'
26748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26757 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26759 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26760 for ac_func in logl
26761 do :
26762 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26763 if test "x$ac_cv_func_logl" = x""yes; then :
26764 cat >>confdefs.h <<_ACEOF
26765 #define HAVE_LOGL 1
26766 _ACEOF
26769 done
26771 else
26773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26774 $as_echo_n "checking for _logl declaration... " >&6; }
26775 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26776 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26777 $as_echo_n "(cached) " >&6
26778 else
26781 ac_ext=cpp
26782 ac_cpp='$CXXCPP $CPPFLAGS'
26783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26788 /* end confdefs.h. */
26789 #include <math.h>
26790 #ifdef HAVE_IEEEFP_H
26791 #include <ieeefp.h>
26792 #endif
26795 main ()
26797 _logl(0);
26799 return 0;
26801 _ACEOF
26802 if ac_fn_cxx_try_compile "$LINENO"; then :
26803 glibcxx_cv_func__logl_use=yes
26804 else
26805 glibcxx_cv_func__logl_use=no
26807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26808 ac_ext=c
26809 ac_cpp='$CPP $CPPFLAGS'
26810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26819 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26821 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26822 for ac_func in _logl
26823 do :
26824 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26825 if test "x$ac_cv_func__logl" = x""yes; then :
26826 cat >>confdefs.h <<_ACEOF
26827 #define HAVE__LOGL 1
26828 _ACEOF
26831 done
26840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26841 $as_echo_n "checking for log10l declaration... " >&6; }
26842 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26843 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26844 $as_echo_n "(cached) " >&6
26845 else
26848 ac_ext=cpp
26849 ac_cpp='$CXXCPP $CPPFLAGS'
26850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26855 /* end confdefs.h. */
26856 #include <math.h>
26857 #ifdef HAVE_IEEEFP_H
26858 #include <ieeefp.h>
26859 #endif
26862 main ()
26864 log10l(0);
26866 return 0;
26868 _ACEOF
26869 if ac_fn_cxx_try_compile "$LINENO"; then :
26870 glibcxx_cv_func_log10l_use=yes
26871 else
26872 glibcxx_cv_func_log10l_use=no
26874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26875 ac_ext=c
26876 ac_cpp='$CPP $CPPFLAGS'
26877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26886 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26888 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26889 for ac_func in log10l
26890 do :
26891 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26892 if test "x$ac_cv_func_log10l" = x""yes; then :
26893 cat >>confdefs.h <<_ACEOF
26894 #define HAVE_LOG10L 1
26895 _ACEOF
26898 done
26900 else
26902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26903 $as_echo_n "checking for _log10l declaration... " >&6; }
26904 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26905 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26906 $as_echo_n "(cached) " >&6
26907 else
26910 ac_ext=cpp
26911 ac_cpp='$CXXCPP $CPPFLAGS'
26912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26917 /* end confdefs.h. */
26918 #include <math.h>
26919 #ifdef HAVE_IEEEFP_H
26920 #include <ieeefp.h>
26921 #endif
26924 main ()
26926 _log10l(0);
26928 return 0;
26930 _ACEOF
26931 if ac_fn_cxx_try_compile "$LINENO"; then :
26932 glibcxx_cv_func__log10l_use=yes
26933 else
26934 glibcxx_cv_func__log10l_use=no
26936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26937 ac_ext=c
26938 ac_cpp='$CPP $CPPFLAGS'
26939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26948 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26950 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26951 for ac_func in _log10l
26952 do :
26953 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26954 if test "x$ac_cv_func__log10l" = x""yes; then :
26955 cat >>confdefs.h <<_ACEOF
26956 #define HAVE__LOG10L 1
26957 _ACEOF
26960 done
26969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26970 $as_echo_n "checking for modfl declaration... " >&6; }
26971 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26972 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26973 $as_echo_n "(cached) " >&6
26974 else
26977 ac_ext=cpp
26978 ac_cpp='$CXXCPP $CPPFLAGS'
26979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26984 /* end confdefs.h. */
26985 #include <math.h>
26987 main ()
26989 modfl(0, 0);
26991 return 0;
26993 _ACEOF
26994 if ac_fn_cxx_try_compile "$LINENO"; then :
26995 glibcxx_cv_func_modfl_use=yes
26996 else
26997 glibcxx_cv_func_modfl_use=no
26999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27000 ac_ext=c
27001 ac_cpp='$CPP $CPPFLAGS'
27002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27011 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27013 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27014 for ac_func in modfl
27015 do :
27016 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27017 if test "x$ac_cv_func_modfl" = x""yes; then :
27018 cat >>confdefs.h <<_ACEOF
27019 #define HAVE_MODFL 1
27020 _ACEOF
27023 done
27025 else
27027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27028 $as_echo_n "checking for _modfl declaration... " >&6; }
27029 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27030 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27031 $as_echo_n "(cached) " >&6
27032 else
27035 ac_ext=cpp
27036 ac_cpp='$CXXCPP $CPPFLAGS'
27037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27042 /* end confdefs.h. */
27043 #include <math.h>
27045 main ()
27047 _modfl(0, 0);
27049 return 0;
27051 _ACEOF
27052 if ac_fn_cxx_try_compile "$LINENO"; then :
27053 glibcxx_cv_func__modfl_use=yes
27054 else
27055 glibcxx_cv_func__modfl_use=no
27057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27058 ac_ext=c
27059 ac_cpp='$CPP $CPPFLAGS'
27060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27069 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27071 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27072 for ac_func in _modfl
27073 do :
27074 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27075 if test "x$ac_cv_func__modfl" = x""yes; then :
27076 cat >>confdefs.h <<_ACEOF
27077 #define HAVE__MODFL 1
27078 _ACEOF
27081 done
27090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27091 $as_echo_n "checking for powl declaration... " >&6; }
27092 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27093 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27094 $as_echo_n "(cached) " >&6
27095 else
27098 ac_ext=cpp
27099 ac_cpp='$CXXCPP $CPPFLAGS'
27100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27105 /* end confdefs.h. */
27106 #include <math.h>
27108 main ()
27110 powl(0, 0);
27112 return 0;
27114 _ACEOF
27115 if ac_fn_cxx_try_compile "$LINENO"; then :
27116 glibcxx_cv_func_powl_use=yes
27117 else
27118 glibcxx_cv_func_powl_use=no
27120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27121 ac_ext=c
27122 ac_cpp='$CPP $CPPFLAGS'
27123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27132 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27134 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27135 for ac_func in powl
27136 do :
27137 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27138 if test "x$ac_cv_func_powl" = x""yes; then :
27139 cat >>confdefs.h <<_ACEOF
27140 #define HAVE_POWL 1
27141 _ACEOF
27144 done
27146 else
27148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27149 $as_echo_n "checking for _powl declaration... " >&6; }
27150 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27151 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27152 $as_echo_n "(cached) " >&6
27153 else
27156 ac_ext=cpp
27157 ac_cpp='$CXXCPP $CPPFLAGS'
27158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27163 /* end confdefs.h. */
27164 #include <math.h>
27166 main ()
27168 _powl(0, 0);
27170 return 0;
27172 _ACEOF
27173 if ac_fn_cxx_try_compile "$LINENO"; then :
27174 glibcxx_cv_func__powl_use=yes
27175 else
27176 glibcxx_cv_func__powl_use=no
27178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27179 ac_ext=c
27180 ac_cpp='$CPP $CPPFLAGS'
27181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27190 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27192 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27193 for ac_func in _powl
27194 do :
27195 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27196 if test "x$ac_cv_func__powl" = x""yes; then :
27197 cat >>confdefs.h <<_ACEOF
27198 #define HAVE__POWL 1
27199 _ACEOF
27202 done
27211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27212 $as_echo_n "checking for sqrtl declaration... " >&6; }
27213 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27214 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27215 $as_echo_n "(cached) " >&6
27216 else
27219 ac_ext=cpp
27220 ac_cpp='$CXXCPP $CPPFLAGS'
27221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27226 /* end confdefs.h. */
27227 #include <math.h>
27228 #ifdef HAVE_IEEEFP_H
27229 #include <ieeefp.h>
27230 #endif
27233 main ()
27235 sqrtl(0);
27237 return 0;
27239 _ACEOF
27240 if ac_fn_cxx_try_compile "$LINENO"; then :
27241 glibcxx_cv_func_sqrtl_use=yes
27242 else
27243 glibcxx_cv_func_sqrtl_use=no
27245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27246 ac_ext=c
27247 ac_cpp='$CPP $CPPFLAGS'
27248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27257 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27259 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27260 for ac_func in sqrtl
27261 do :
27262 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27263 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27264 cat >>confdefs.h <<_ACEOF
27265 #define HAVE_SQRTL 1
27266 _ACEOF
27269 done
27271 else
27273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27274 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27275 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27276 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27277 $as_echo_n "(cached) " >&6
27278 else
27281 ac_ext=cpp
27282 ac_cpp='$CXXCPP $CPPFLAGS'
27283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27288 /* end confdefs.h. */
27289 #include <math.h>
27290 #ifdef HAVE_IEEEFP_H
27291 #include <ieeefp.h>
27292 #endif
27295 main ()
27297 _sqrtl(0);
27299 return 0;
27301 _ACEOF
27302 if ac_fn_cxx_try_compile "$LINENO"; then :
27303 glibcxx_cv_func__sqrtl_use=yes
27304 else
27305 glibcxx_cv_func__sqrtl_use=no
27307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27308 ac_ext=c
27309 ac_cpp='$CPP $CPPFLAGS'
27310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27319 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27321 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27322 for ac_func in _sqrtl
27323 do :
27324 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27325 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27326 cat >>confdefs.h <<_ACEOF
27327 #define HAVE__SQRTL 1
27328 _ACEOF
27331 done
27340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27341 $as_echo_n "checking for sincosl declaration... " >&6; }
27342 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27343 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27344 $as_echo_n "(cached) " >&6
27345 else
27348 ac_ext=cpp
27349 ac_cpp='$CXXCPP $CPPFLAGS'
27350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27355 /* end confdefs.h. */
27356 #include <math.h>
27358 main ()
27360 sincosl(0, 0, 0);
27362 return 0;
27364 _ACEOF
27365 if ac_fn_cxx_try_compile "$LINENO"; then :
27366 glibcxx_cv_func_sincosl_use=yes
27367 else
27368 glibcxx_cv_func_sincosl_use=no
27370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27371 ac_ext=c
27372 ac_cpp='$CPP $CPPFLAGS'
27373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27382 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27384 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27385 for ac_func in sincosl
27386 do :
27387 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27388 if test "x$ac_cv_func_sincosl" = x""yes; then :
27389 cat >>confdefs.h <<_ACEOF
27390 #define HAVE_SINCOSL 1
27391 _ACEOF
27394 done
27396 else
27398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27399 $as_echo_n "checking for _sincosl declaration... " >&6; }
27400 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27401 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27402 $as_echo_n "(cached) " >&6
27403 else
27406 ac_ext=cpp
27407 ac_cpp='$CXXCPP $CPPFLAGS'
27408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27413 /* end confdefs.h. */
27414 #include <math.h>
27416 main ()
27418 _sincosl(0, 0, 0);
27420 return 0;
27422 _ACEOF
27423 if ac_fn_cxx_try_compile "$LINENO"; then :
27424 glibcxx_cv_func__sincosl_use=yes
27425 else
27426 glibcxx_cv_func__sincosl_use=no
27428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27429 ac_ext=c
27430 ac_cpp='$CPP $CPPFLAGS'
27431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27440 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27442 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27443 for ac_func in _sincosl
27444 do :
27445 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27446 if test "x$ac_cv_func__sincosl" = x""yes; then :
27447 cat >>confdefs.h <<_ACEOF
27448 #define HAVE__SINCOSL 1
27449 _ACEOF
27452 done
27461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27462 $as_echo_n "checking for finitel declaration... " >&6; }
27463 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27464 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27465 $as_echo_n "(cached) " >&6
27466 else
27469 ac_ext=cpp
27470 ac_cpp='$CXXCPP $CPPFLAGS'
27471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27476 /* end confdefs.h. */
27477 #include <math.h>
27478 #ifdef HAVE_IEEEFP_H
27479 #include <ieeefp.h>
27480 #endif
27483 main ()
27485 finitel(0);
27487 return 0;
27489 _ACEOF
27490 if ac_fn_cxx_try_compile "$LINENO"; then :
27491 glibcxx_cv_func_finitel_use=yes
27492 else
27493 glibcxx_cv_func_finitel_use=no
27495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27496 ac_ext=c
27497 ac_cpp='$CPP $CPPFLAGS'
27498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27507 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27509 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27510 for ac_func in finitel
27511 do :
27512 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27513 if test "x$ac_cv_func_finitel" = x""yes; then :
27514 cat >>confdefs.h <<_ACEOF
27515 #define HAVE_FINITEL 1
27516 _ACEOF
27519 done
27521 else
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27524 $as_echo_n "checking for _finitel declaration... " >&6; }
27525 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27526 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27527 $as_echo_n "(cached) " >&6
27528 else
27531 ac_ext=cpp
27532 ac_cpp='$CXXCPP $CPPFLAGS'
27533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27538 /* end confdefs.h. */
27539 #include <math.h>
27540 #ifdef HAVE_IEEEFP_H
27541 #include <ieeefp.h>
27542 #endif
27545 main ()
27547 _finitel(0);
27549 return 0;
27551 _ACEOF
27552 if ac_fn_cxx_try_compile "$LINENO"; then :
27553 glibcxx_cv_func__finitel_use=yes
27554 else
27555 glibcxx_cv_func__finitel_use=no
27557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27558 ac_ext=c
27559 ac_cpp='$CPP $CPPFLAGS'
27560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27569 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27571 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27572 for ac_func in _finitel
27573 do :
27574 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27575 if test "x$ac_cv_func__finitel" = x""yes; then :
27576 cat >>confdefs.h <<_ACEOF
27577 #define HAVE__FINITEL 1
27578 _ACEOF
27581 done
27589 LIBS="$ac_save_LIBS"
27590 CXXFLAGS="$ac_save_CXXFLAGS"
27593 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27594 ac_save_CXXFLAGS="$CXXFLAGS"
27595 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27599 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27600 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27601 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27602 $as_echo_n "(cached) " >&6
27603 else
27606 ac_ext=cpp
27607 ac_cpp='$CXXCPP $CPPFLAGS'
27608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27613 /* end confdefs.h. */
27614 #include <stdlib.h>
27616 main ()
27618 at_quick_exit(0);
27620 return 0;
27622 _ACEOF
27623 if ac_fn_cxx_try_compile "$LINENO"; then :
27624 glibcxx_cv_func_at_quick_exit_use=yes
27625 else
27626 glibcxx_cv_func_at_quick_exit_use=no
27628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27629 ac_ext=c
27630 ac_cpp='$CPP $CPPFLAGS'
27631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27640 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27641 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27642 for ac_func in at_quick_exit
27643 do :
27644 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27645 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27646 cat >>confdefs.h <<_ACEOF
27647 #define HAVE_AT_QUICK_EXIT 1
27648 _ACEOF
27651 done
27656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27657 $as_echo_n "checking for quick_exit declaration... " >&6; }
27658 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27659 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27660 $as_echo_n "(cached) " >&6
27661 else
27664 ac_ext=cpp
27665 ac_cpp='$CXXCPP $CPPFLAGS'
27666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27671 /* end confdefs.h. */
27672 #include <stdlib.h>
27674 main ()
27676 quick_exit(0);
27678 return 0;
27680 _ACEOF
27681 if ac_fn_cxx_try_compile "$LINENO"; then :
27682 glibcxx_cv_func_quick_exit_use=yes
27683 else
27684 glibcxx_cv_func_quick_exit_use=no
27686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27687 ac_ext=c
27688 ac_cpp='$CPP $CPPFLAGS'
27689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27698 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27699 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27700 for ac_func in quick_exit
27701 do :
27702 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27703 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27704 cat >>confdefs.h <<_ACEOF
27705 #define HAVE_QUICK_EXIT 1
27706 _ACEOF
27709 done
27714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27715 $as_echo_n "checking for strtold declaration... " >&6; }
27716 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27717 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27718 $as_echo_n "(cached) " >&6
27719 else
27722 ac_ext=cpp
27723 ac_cpp='$CXXCPP $CPPFLAGS'
27724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27729 /* end confdefs.h. */
27730 #include <stdlib.h>
27732 main ()
27734 strtold(0, 0);
27736 return 0;
27738 _ACEOF
27739 if ac_fn_cxx_try_compile "$LINENO"; then :
27740 glibcxx_cv_func_strtold_use=yes
27741 else
27742 glibcxx_cv_func_strtold_use=no
27744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27745 ac_ext=c
27746 ac_cpp='$CPP $CPPFLAGS'
27747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27756 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27757 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27758 for ac_func in strtold
27759 do :
27760 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27761 if test "x$ac_cv_func_strtold" = x""yes; then :
27762 cat >>confdefs.h <<_ACEOF
27763 #define HAVE_STRTOLD 1
27764 _ACEOF
27767 done
27774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27775 $as_echo_n "checking for strtof declaration... " >&6; }
27776 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27777 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27778 $as_echo_n "(cached) " >&6
27779 else
27782 ac_ext=cpp
27783 ac_cpp='$CXXCPP $CPPFLAGS'
27784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27789 /* end confdefs.h. */
27790 #include <stdlib.h>
27792 main ()
27794 strtof(0, 0);
27796 return 0;
27798 _ACEOF
27799 if ac_fn_cxx_try_compile "$LINENO"; then :
27800 glibcxx_cv_func_strtof_use=yes
27801 else
27802 glibcxx_cv_func_strtof_use=no
27804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27805 ac_ext=c
27806 ac_cpp='$CPP $CPPFLAGS'
27807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27816 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27817 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27818 for ac_func in strtof
27819 do :
27820 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27821 if test "x$ac_cv_func_strtof" = x""yes; then :
27822 cat >>confdefs.h <<_ACEOF
27823 #define HAVE_STRTOF 1
27824 _ACEOF
27827 done
27834 CXXFLAGS="$ac_save_CXXFLAGS"
27837 # For /dev/random and /dev/urandom for TR1.
27840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27841 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27842 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27843 $as_echo_n "(cached) " >&6
27844 else
27846 if test -r /dev/random && test -r /dev/urandom; then
27847 ## For MSys environment the test above is detect as false-positive
27848 ## on mingw-targets. So disable it explicit for them.
27849 case ${target_os} in
27850 *mingw*) glibcxx_cv_random_tr1=no ;;
27851 *) glibcxx_cv_random_tr1=yes ;;
27852 esac
27853 else
27854 glibcxx_cv_random_tr1=no;
27859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27860 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27862 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27864 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27870 # For TLS support.
27873 # Check whether --enable-tls was given.
27874 if test "${enable_tls+set}" = set; then :
27875 enableval=$enable_tls;
27876 case "$enableval" in
27877 yes|no) ;;
27878 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27879 esac
27881 else
27882 enable_tls=yes
27886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27887 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27888 if test "${gcc_cv_have_tls+set}" = set; then :
27889 $as_echo_n "(cached) " >&6
27890 else
27892 if test "$cross_compiling" = yes; then :
27893 if test x$gcc_no_link = xyes; then
27894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27897 /* end confdefs.h. */
27898 __thread int a; int b; int main() { return a = b; }
27899 _ACEOF
27900 if ac_fn_c_try_link "$LINENO"; then :
27901 chktls_save_LDFLAGS="$LDFLAGS"
27902 case $host in
27903 *-*-linux*)
27904 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27906 esac
27907 chktls_save_CFLAGS="$CFLAGS"
27908 CFLAGS="-fPIC $CFLAGS"
27909 if test x$gcc_no_link = xyes; then
27910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27913 /* end confdefs.h. */
27914 int f() { return 0; }
27915 _ACEOF
27916 if ac_fn_c_try_link "$LINENO"; then :
27917 if test x$gcc_no_link = xyes; then
27918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27921 /* end confdefs.h. */
27922 __thread int a; int b; int f() { return a = b; }
27923 _ACEOF
27924 if ac_fn_c_try_link "$LINENO"; then :
27925 gcc_cv_have_tls=yes
27926 else
27927 gcc_cv_have_tls=no
27929 rm -f core conftest.err conftest.$ac_objext \
27930 conftest$ac_exeext conftest.$ac_ext
27931 else
27932 gcc_cv_have_tls=yes
27934 rm -f core conftest.err conftest.$ac_objext \
27935 conftest$ac_exeext conftest.$ac_ext
27936 CFLAGS="$chktls_save_CFLAGS"
27937 LDFLAGS="$chktls_save_LDFLAGS"
27938 else
27939 gcc_cv_have_tls=no
27941 rm -f core conftest.err conftest.$ac_objext \
27942 conftest$ac_exeext conftest.$ac_ext
27945 else
27946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27947 /* end confdefs.h. */
27948 __thread int a; int b; int main() { return a = b; }
27949 _ACEOF
27950 if ac_fn_c_try_run "$LINENO"; then :
27951 chktls_save_LDFLAGS="$LDFLAGS"
27952 LDFLAGS="-static $LDFLAGS"
27953 if test x$gcc_no_link = xyes; then
27954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27957 /* end confdefs.h. */
27958 int main() { return 0; }
27959 _ACEOF
27960 if ac_fn_c_try_link "$LINENO"; then :
27961 if test "$cross_compiling" = yes; then :
27962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27964 as_fn_error "cannot run test program while cross compiling
27965 See \`config.log' for more details." "$LINENO" 5; }
27966 else
27967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27968 /* end confdefs.h. */
27969 __thread int a; int b; int main() { return a = b; }
27970 _ACEOF
27971 if ac_fn_c_try_run "$LINENO"; then :
27972 gcc_cv_have_tls=yes
27973 else
27974 gcc_cv_have_tls=no
27976 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27977 conftest.$ac_objext conftest.beam conftest.$ac_ext
27980 else
27981 gcc_cv_have_tls=yes
27983 rm -f core conftest.err conftest.$ac_objext \
27984 conftest$ac_exeext conftest.$ac_ext
27985 LDFLAGS="$chktls_save_LDFLAGS"
27986 if test $gcc_cv_have_tls = yes; then
27987 chktls_save_CFLAGS="$CFLAGS"
27988 thread_CFLAGS=failed
27989 for flag in '' '-pthread' '-lpthread'; do
27990 CFLAGS="$flag $chktls_save_CFLAGS"
27991 if test x$gcc_no_link = xyes; then
27992 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27995 /* end confdefs.h. */
27996 #include <pthread.h>
27997 void *g(void *d) { return NULL; }
27999 main ()
28001 pthread_t t; pthread_create(&t,NULL,g,NULL);
28003 return 0;
28005 _ACEOF
28006 if ac_fn_c_try_link "$LINENO"; then :
28007 thread_CFLAGS="$flag"
28009 rm -f core conftest.err conftest.$ac_objext \
28010 conftest$ac_exeext conftest.$ac_ext
28011 if test "X$thread_CFLAGS" != Xfailed; then
28012 break
28014 done
28015 CFLAGS="$chktls_save_CFLAGS"
28016 if test "X$thread_CFLAGS" != Xfailed; then
28017 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28018 if test "$cross_compiling" = yes; then :
28019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28021 as_fn_error "cannot run test program while cross compiling
28022 See \`config.log' for more details." "$LINENO" 5; }
28023 else
28024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28025 /* end confdefs.h. */
28026 #include <pthread.h>
28027 __thread int a;
28028 static int *volatile a_in_other_thread;
28029 static void *
28030 thread_func (void *arg)
28032 a_in_other_thread = &a;
28033 return (void *)0;
28036 main ()
28038 pthread_t thread;
28039 void *thread_retval;
28040 int *volatile a_in_main_thread;
28041 a_in_main_thread = &a;
28042 if (pthread_create (&thread, (pthread_attr_t *)0,
28043 thread_func, (void *)0))
28044 return 0;
28045 if (pthread_join (thread, &thread_retval))
28046 return 0;
28047 return (a_in_other_thread == a_in_main_thread);
28049 return 0;
28051 _ACEOF
28052 if ac_fn_c_try_run "$LINENO"; then :
28053 gcc_cv_have_tls=yes
28054 else
28055 gcc_cv_have_tls=no
28057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28058 conftest.$ac_objext conftest.beam conftest.$ac_ext
28061 CFLAGS="$chktls_save_CFLAGS"
28064 else
28065 gcc_cv_have_tls=no
28067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28068 conftest.$ac_objext conftest.beam conftest.$ac_ext
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28073 $as_echo "$gcc_cv_have_tls" >&6; }
28074 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28076 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28080 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28081 do :
28082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28084 eval as_val=\$$as_ac_var
28085 if test "x$as_val" = x""yes; then :
28086 cat >>confdefs.h <<_ACEOF
28087 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28088 _ACEOF
28091 done
28093 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28094 do :
28095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28097 eval as_val=\$$as_ac_var
28098 if test "x$as_val" = x""yes; then :
28099 cat >>confdefs.h <<_ACEOF
28100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28101 _ACEOF
28104 done
28107 # For iconv support.
28109 if test "X$prefix" = "XNONE"; then
28110 acl_final_prefix="$ac_default_prefix"
28111 else
28112 acl_final_prefix="$prefix"
28114 if test "X$exec_prefix" = "XNONE"; then
28115 acl_final_exec_prefix='${prefix}'
28116 else
28117 acl_final_exec_prefix="$exec_prefix"
28119 acl_save_prefix="$prefix"
28120 prefix="$acl_final_prefix"
28121 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28122 prefix="$acl_save_prefix"
28125 # Check whether --with-gnu-ld was given.
28126 if test "${with_gnu_ld+set}" = set; then :
28127 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28128 else
28129 with_gnu_ld=no
28132 # Prepare PATH_SEPARATOR.
28133 # The user is always right.
28134 if test "${PATH_SEPARATOR+set}" != set; then
28135 echo "#! /bin/sh" >conf$$.sh
28136 echo "exit 0" >>conf$$.sh
28137 chmod +x conf$$.sh
28138 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28139 PATH_SEPARATOR=';'
28140 else
28141 PATH_SEPARATOR=:
28143 rm -f conf$$.sh
28145 ac_prog=ld
28146 if test "$GCC" = yes; then
28147 # Check if gcc -print-prog-name=ld gives a path.
28148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28149 $as_echo_n "checking for ld used by GCC... " >&6; }
28150 case $host in
28151 *-*-mingw*)
28152 # gcc leaves a trailing carriage return which upsets mingw
28153 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28155 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28156 esac
28157 case $ac_prog in
28158 # Accept absolute paths.
28159 [\\/]* | [A-Za-z]:[\\/]*)
28160 re_direlt='/[^/][^/]*/\.\./'
28161 # Canonicalize the path of ld
28162 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28163 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28164 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28165 done
28166 test -z "$LD" && LD="$ac_prog"
28169 # If it fails, then pretend we aren't using GCC.
28170 ac_prog=ld
28173 # If it is relative, then search for the first ld in PATH.
28174 with_gnu_ld=unknown
28176 esac
28177 elif test "$with_gnu_ld" = yes; then
28178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28179 $as_echo_n "checking for GNU ld... " >&6; }
28180 else
28181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28182 $as_echo_n "checking for non-GNU ld... " >&6; }
28184 if test "${acl_cv_path_LD+set}" = set; then :
28185 $as_echo_n "(cached) " >&6
28186 else
28187 if test -z "$LD"; then
28188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28189 for ac_dir in $PATH; do
28190 test -z "$ac_dir" && ac_dir=.
28191 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28192 acl_cv_path_LD="$ac_dir/$ac_prog"
28193 # Check to see if the program is GNU ld. I'd rather use --version,
28194 # but apparently some GNU ld's only accept -v.
28195 # Break only if it was the GNU/non-GNU ld that we prefer.
28196 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28197 test "$with_gnu_ld" != no && break
28198 else
28199 test "$with_gnu_ld" != yes && break
28202 done
28203 IFS="$ac_save_ifs"
28204 else
28205 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28209 LD="$acl_cv_path_LD"
28210 if test -n "$LD"; then
28211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28212 $as_echo "$LD" >&6; }
28213 else
28214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28215 $as_echo "no" >&6; }
28217 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28219 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28220 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28221 $as_echo_n "(cached) " >&6
28222 else
28223 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28224 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28225 acl_cv_prog_gnu_ld=yes
28226 else
28227 acl_cv_prog_gnu_ld=no
28230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28231 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28232 with_gnu_ld=$acl_cv_prog_gnu_ld
28236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28237 $as_echo_n "checking for shared library run path origin... " >&6; }
28238 if test "${acl_cv_rpath+set}" = set; then :
28239 $as_echo_n "(cached) " >&6
28240 else
28242 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28243 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28244 . ./conftest.sh
28245 rm -f ./conftest.sh
28246 acl_cv_rpath=done
28249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28250 $as_echo "$acl_cv_rpath" >&6; }
28251 wl="$acl_cv_wl"
28252 libext="$acl_cv_libext"
28253 shlibext="$acl_cv_shlibext"
28254 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28255 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28256 hardcode_direct="$acl_cv_hardcode_direct"
28257 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28258 # Check whether --enable-rpath was given.
28259 if test "${enable_rpath+set}" = set; then :
28260 enableval=$enable_rpath; :
28261 else
28262 enable_rpath=yes
28272 use_additional=yes
28274 acl_save_prefix="$prefix"
28275 prefix="$acl_final_prefix"
28276 acl_save_exec_prefix="$exec_prefix"
28277 exec_prefix="$acl_final_exec_prefix"
28279 eval additional_includedir=\"$includedir\"
28280 eval additional_libdir=\"$libdir\"
28282 exec_prefix="$acl_save_exec_prefix"
28283 prefix="$acl_save_prefix"
28286 # Check whether --with-libiconv-prefix was given.
28287 if test "${with_libiconv_prefix+set}" = set; then :
28288 withval=$with_libiconv_prefix;
28289 if test "X$withval" = "Xno"; then
28290 use_additional=no
28291 else
28292 if test "X$withval" = "X"; then
28294 acl_save_prefix="$prefix"
28295 prefix="$acl_final_prefix"
28296 acl_save_exec_prefix="$exec_prefix"
28297 exec_prefix="$acl_final_exec_prefix"
28299 eval additional_includedir=\"$includedir\"
28300 eval additional_libdir=\"$libdir\"
28302 exec_prefix="$acl_save_exec_prefix"
28303 prefix="$acl_save_prefix"
28305 else
28306 additional_includedir="$withval/include"
28307 additional_libdir="$withval/lib"
28313 LIBICONV=
28314 LTLIBICONV=
28315 INCICONV=
28316 rpathdirs=
28317 ltrpathdirs=
28318 names_already_handled=
28319 names_next_round='iconv '
28320 while test -n "$names_next_round"; do
28321 names_this_round="$names_next_round"
28322 names_next_round=
28323 for name in $names_this_round; do
28324 already_handled=
28325 for n in $names_already_handled; do
28326 if test "$n" = "$name"; then
28327 already_handled=yes
28328 break
28330 done
28331 if test -z "$already_handled"; then
28332 names_already_handled="$names_already_handled $name"
28333 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28334 eval value=\"\$HAVE_LIB$uppername\"
28335 if test -n "$value"; then
28336 if test "$value" = yes; then
28337 eval value=\"\$LIB$uppername\"
28338 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28339 eval value=\"\$LTLIB$uppername\"
28340 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28341 else
28344 else
28345 found_dir=
28346 found_la=
28347 found_so=
28348 found_a=
28349 if test $use_additional = yes; then
28350 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28351 found_dir="$additional_libdir"
28352 found_so="$additional_libdir/lib$name.$shlibext"
28353 if test -f "$additional_libdir/lib$name.la"; then
28354 found_la="$additional_libdir/lib$name.la"
28356 else
28357 if test -f "$additional_libdir/lib$name.$libext"; then
28358 found_dir="$additional_libdir"
28359 found_a="$additional_libdir/lib$name.$libext"
28360 if test -f "$additional_libdir/lib$name.la"; then
28361 found_la="$additional_libdir/lib$name.la"
28366 if test "X$found_dir" = "X"; then
28367 for x in $LDFLAGS $LTLIBICONV; do
28369 acl_save_prefix="$prefix"
28370 prefix="$acl_final_prefix"
28371 acl_save_exec_prefix="$exec_prefix"
28372 exec_prefix="$acl_final_exec_prefix"
28373 eval x=\"$x\"
28374 exec_prefix="$acl_save_exec_prefix"
28375 prefix="$acl_save_prefix"
28377 case "$x" in
28378 -L*)
28379 dir=`echo "X$x" | sed -e 's/^X-L//'`
28380 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28381 found_dir="$dir"
28382 found_so="$dir/lib$name.$shlibext"
28383 if test -f "$dir/lib$name.la"; then
28384 found_la="$dir/lib$name.la"
28386 else
28387 if test -f "$dir/lib$name.$libext"; then
28388 found_dir="$dir"
28389 found_a="$dir/lib$name.$libext"
28390 if test -f "$dir/lib$name.la"; then
28391 found_la="$dir/lib$name.la"
28396 esac
28397 if test "X$found_dir" != "X"; then
28398 break
28400 done
28402 if test "X$found_dir" != "X"; then
28403 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28404 if test "X$found_so" != "X"; then
28405 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28406 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28407 else
28408 haveit=
28409 for x in $ltrpathdirs; do
28410 if test "X$x" = "X$found_dir"; then
28411 haveit=yes
28412 break
28414 done
28415 if test -z "$haveit"; then
28416 ltrpathdirs="$ltrpathdirs $found_dir"
28418 if test "$hardcode_direct" = yes; then
28419 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28420 else
28421 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28422 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28423 haveit=
28424 for x in $rpathdirs; do
28425 if test "X$x" = "X$found_dir"; then
28426 haveit=yes
28427 break
28429 done
28430 if test -z "$haveit"; then
28431 rpathdirs="$rpathdirs $found_dir"
28433 else
28434 haveit=
28435 for x in $LDFLAGS $LIBICONV; do
28437 acl_save_prefix="$prefix"
28438 prefix="$acl_final_prefix"
28439 acl_save_exec_prefix="$exec_prefix"
28440 exec_prefix="$acl_final_exec_prefix"
28441 eval x=\"$x\"
28442 exec_prefix="$acl_save_exec_prefix"
28443 prefix="$acl_save_prefix"
28445 if test "X$x" = "X-L$found_dir"; then
28446 haveit=yes
28447 break
28449 done
28450 if test -z "$haveit"; then
28451 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28453 if test "$hardcode_minus_L" != no; then
28454 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28455 else
28456 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28461 else
28462 if test "X$found_a" != "X"; then
28463 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28464 else
28465 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28468 additional_includedir=
28469 case "$found_dir" in
28470 */lib | */lib/)
28471 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28472 additional_includedir="$basedir/include"
28474 esac
28475 if test "X$additional_includedir" != "X"; then
28476 if test "X$additional_includedir" != "X/usr/include"; then
28477 haveit=
28478 if test "X$additional_includedir" = "X/usr/local/include"; then
28479 if test -n "$GCC"; then
28480 case $host_os in
28481 linux*) haveit=yes;;
28482 esac
28485 if test -z "$haveit"; then
28486 for x in $CPPFLAGS $INCICONV; do
28488 acl_save_prefix="$prefix"
28489 prefix="$acl_final_prefix"
28490 acl_save_exec_prefix="$exec_prefix"
28491 exec_prefix="$acl_final_exec_prefix"
28492 eval x=\"$x\"
28493 exec_prefix="$acl_save_exec_prefix"
28494 prefix="$acl_save_prefix"
28496 if test "X$x" = "X-I$additional_includedir"; then
28497 haveit=yes
28498 break
28500 done
28501 if test -z "$haveit"; then
28502 if test -d "$additional_includedir"; then
28503 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28509 if test -n "$found_la"; then
28510 save_libdir="$libdir"
28511 case "$found_la" in
28512 */* | *\\*) . "$found_la" ;;
28513 *) . "./$found_la" ;;
28514 esac
28515 libdir="$save_libdir"
28516 for dep in $dependency_libs; do
28517 case "$dep" in
28518 -L*)
28519 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28520 if test "X$additional_libdir" != "X/usr/lib"; then
28521 haveit=
28522 if test "X$additional_libdir" = "X/usr/local/lib"; then
28523 if test -n "$GCC"; then
28524 case $host_os in
28525 linux*) haveit=yes;;
28526 esac
28529 if test -z "$haveit"; then
28530 haveit=
28531 for x in $LDFLAGS $LIBICONV; do
28533 acl_save_prefix="$prefix"
28534 prefix="$acl_final_prefix"
28535 acl_save_exec_prefix="$exec_prefix"
28536 exec_prefix="$acl_final_exec_prefix"
28537 eval x=\"$x\"
28538 exec_prefix="$acl_save_exec_prefix"
28539 prefix="$acl_save_prefix"
28541 if test "X$x" = "X-L$additional_libdir"; then
28542 haveit=yes
28543 break
28545 done
28546 if test -z "$haveit"; then
28547 if test -d "$additional_libdir"; then
28548 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28551 haveit=
28552 for x in $LDFLAGS $LTLIBICONV; do
28554 acl_save_prefix="$prefix"
28555 prefix="$acl_final_prefix"
28556 acl_save_exec_prefix="$exec_prefix"
28557 exec_prefix="$acl_final_exec_prefix"
28558 eval x=\"$x\"
28559 exec_prefix="$acl_save_exec_prefix"
28560 prefix="$acl_save_prefix"
28562 if test "X$x" = "X-L$additional_libdir"; then
28563 haveit=yes
28564 break
28566 done
28567 if test -z "$haveit"; then
28568 if test -d "$additional_libdir"; then
28569 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28575 -R*)
28576 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28577 if test "$enable_rpath" != no; then
28578 haveit=
28579 for x in $rpathdirs; do
28580 if test "X$x" = "X$dir"; then
28581 haveit=yes
28582 break
28584 done
28585 if test -z "$haveit"; then
28586 rpathdirs="$rpathdirs $dir"
28588 haveit=
28589 for x in $ltrpathdirs; do
28590 if test "X$x" = "X$dir"; then
28591 haveit=yes
28592 break
28594 done
28595 if test -z "$haveit"; then
28596 ltrpathdirs="$ltrpathdirs $dir"
28600 -l*)
28601 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28603 *.la)
28604 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28607 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28608 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28610 esac
28611 done
28613 else
28614 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28615 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28619 done
28620 done
28621 if test "X$rpathdirs" != "X"; then
28622 if test -n "$hardcode_libdir_separator"; then
28623 alldirs=
28624 for found_dir in $rpathdirs; do
28625 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28626 done
28627 acl_save_libdir="$libdir"
28628 libdir="$alldirs"
28629 eval flag=\"$hardcode_libdir_flag_spec\"
28630 libdir="$acl_save_libdir"
28631 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28632 else
28633 for found_dir in $rpathdirs; do
28634 acl_save_libdir="$libdir"
28635 libdir="$found_dir"
28636 eval flag=\"$hardcode_libdir_flag_spec\"
28637 libdir="$acl_save_libdir"
28638 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28639 done
28642 if test "X$ltrpathdirs" != "X"; then
28643 for found_dir in $ltrpathdirs; do
28644 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28645 done
28654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28655 $as_echo_n "checking for iconv... " >&6; }
28656 if test "${am_cv_func_iconv+set}" = set; then :
28657 $as_echo_n "(cached) " >&6
28658 else
28660 am_cv_func_iconv="no, consider installing GNU libiconv"
28661 am_cv_lib_iconv=no
28662 am_save_CPPFLAGS="$CPPFLAGS"
28663 CPPFLAGS="$CPPFLAGS $INCICONV"
28664 if test x$gcc_no_link = xyes; then
28665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28668 /* end confdefs.h. */
28669 #include <stdlib.h>
28670 #include <iconv.h>
28672 main ()
28674 iconv_t cd = iconv_open("","");
28675 iconv(cd,NULL,NULL,NULL,NULL);
28676 iconv_close(cd);
28678 return 0;
28680 _ACEOF
28681 if ac_fn_c_try_link "$LINENO"; then :
28682 am_cv_func_iconv=yes
28684 rm -f core conftest.err conftest.$ac_objext \
28685 conftest$ac_exeext conftest.$ac_ext
28686 CPPFLAGS="$am_save_CPPFLAGS"
28688 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28689 for _libs in .libs _libs; do
28690 am_save_CPPFLAGS="$CPPFLAGS"
28691 am_save_LIBS="$LIBS"
28692 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28693 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28694 if test x$gcc_no_link = xyes; then
28695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28698 /* end confdefs.h. */
28699 #include <stdlib.h>
28700 #include <iconv.h>
28702 main ()
28704 iconv_t cd = iconv_open("","");
28705 iconv(cd,NULL,NULL,NULL,NULL);
28706 iconv_close(cd);
28708 return 0;
28710 _ACEOF
28711 if ac_fn_c_try_link "$LINENO"; then :
28712 INCICONV="-I../libiconv/include"
28713 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28714 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28715 am_cv_lib_iconv=yes
28716 am_cv_func_iconv=yes
28718 rm -f core conftest.err conftest.$ac_objext \
28719 conftest$ac_exeext conftest.$ac_ext
28720 CPPFLAGS="$am_save_CPPFLAGS"
28721 LIBS="$am_save_LIBS"
28722 if test "$am_cv_func_iconv" = "yes"; then
28723 break
28725 done
28728 if test "$am_cv_func_iconv" != yes; then
28729 am_save_CPPFLAGS="$CPPFLAGS"
28730 am_save_LIBS="$LIBS"
28731 CPPFLAGS="$LIBS $INCICONV"
28732 LIBS="$LIBS $LIBICONV"
28733 if test x$gcc_no_link = xyes; then
28734 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28737 /* end confdefs.h. */
28738 #include <stdlib.h>
28739 #include <iconv.h>
28741 main ()
28743 iconv_t cd = iconv_open("","");
28744 iconv(cd,NULL,NULL,NULL,NULL);
28745 iconv_close(cd);
28747 return 0;
28749 _ACEOF
28750 if ac_fn_c_try_link "$LINENO"; then :
28751 am_cv_lib_iconv=yes
28752 am_cv_func_iconv=yes
28754 rm -f core conftest.err conftest.$ac_objext \
28755 conftest$ac_exeext conftest.$ac_ext
28756 CPPFLAGS="$am_save_CPPFLAGS"
28757 LIBS="$am_save_LIBS"
28761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28762 $as_echo "$am_cv_func_iconv" >&6; }
28763 if test "$am_cv_func_iconv" = yes; then
28765 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28768 if test "$am_cv_lib_iconv" = yes; then
28770 for element in $INCICONV; do
28771 haveit=
28772 for x in $CPPFLAGS; do
28774 acl_save_prefix="$prefix"
28775 prefix="$acl_final_prefix"
28776 acl_save_exec_prefix="$exec_prefix"
28777 exec_prefix="$acl_final_exec_prefix"
28778 eval x=\"$x\"
28779 exec_prefix="$acl_save_exec_prefix"
28780 prefix="$acl_save_prefix"
28782 if test "X$x" = "X$element"; then
28783 haveit=yes
28784 break
28786 done
28787 if test -z "$haveit"; then
28788 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28790 done
28792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28793 $as_echo_n "checking how to link with libiconv... " >&6; }
28794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28795 $as_echo "$LIBICONV" >&6; }
28796 else
28797 LIBICONV=
28798 LTLIBICONV=
28803 if test "$am_cv_func_iconv" = yes; then
28804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28805 $as_echo_n "checking for iconv declaration... " >&6; }
28806 if test "${am_cv_proto_iconv+set}" = set; then :
28807 $as_echo_n "(cached) " >&6
28808 else
28810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28811 /* end confdefs.h. */
28813 #include <stdlib.h>
28814 #include <iconv.h>
28815 extern
28816 #ifdef __cplusplus
28818 #endif
28819 #if defined(__STDC__) || defined(__cplusplus)
28820 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28821 #else
28822 size_t iconv();
28823 #endif
28826 main ()
28830 return 0;
28832 _ACEOF
28833 if ac_fn_c_try_compile "$LINENO"; then :
28834 am_cv_proto_iconv_arg1=""
28835 else
28836 am_cv_proto_iconv_arg1="const"
28838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28839 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);"
28842 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28844 }$am_cv_proto_iconv" >&5
28845 $as_echo "${ac_t:-
28846 }$am_cv_proto_iconv" >&6; }
28848 cat >>confdefs.h <<_ACEOF
28849 #define ICONV_CONST $am_cv_proto_iconv_arg1
28850 _ACEOF
28855 else
28857 # This lets us hard-code the functionality we know we'll have in the cross
28858 # target environment. "Let" is a sugar-coated word placed on an especially
28859 # dull and tedious hack, actually.
28861 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28862 # that involve linking, can't be used:
28863 # "cannot open sim-crt0.o"
28864 # "cannot open crt0.o"
28865 # etc. All this is because there currently exists no unified, consistent
28866 # way for top level CC information to be passed down to target directories:
28867 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28868 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28869 # crosses can be removed.
28871 # If Canadian cross, then don't pick up tools from the build directory.
28872 # Used only in GLIBCXX_EXPORT_INCLUDES.
28873 if test -n "$with_cross_host" &&
28874 test x"$build_alias" != x"$with_cross_host" &&
28875 test x"$build" != x"$target";
28876 then
28877 CANADIAN=yes
28878 else
28879 CANADIAN=no
28882 # Construct crosses by hand, eliminating bits that need ld...
28883 # GLIBCXX_CHECK_MATH_SUPPORT
28885 # First, test for "known" system libraries. We may be using newlib even
28886 # on a hosted environment.
28887 if test "x${with_newlib}" = "xyes"; then
28888 os_include_dir="os/newlib"
28889 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28892 # GLIBCXX_CHECK_STDLIB_SUPPORT
28893 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28896 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28898 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28900 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28902 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28904 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28906 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28908 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28910 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28912 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28914 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28916 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28918 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28920 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28922 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28924 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28926 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28928 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28930 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28932 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28934 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28936 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28938 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28941 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28943 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28945 else
28947 # Base decisions on target environment.
28948 case "${host}" in
28949 arm*-*-symbianelf*)
28950 # This is a freestanding configuration; there is nothing to do here.
28953 avr*-*-*)
28954 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28956 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28958 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28960 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28962 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28964 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28966 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28968 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28970 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28972 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28974 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28976 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28978 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28980 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
28982 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28984 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28986 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28988 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28990 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28992 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28994 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28996 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28998 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29002 mips*-sde-elf*)
29003 # These definitions are for the SDE C library rather than newlib.
29004 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29007 # All these tests are for C++; save the language and the compiler flags.
29008 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29009 # found in GLIBCXX_CONFIGURE.
29011 ac_ext=cpp
29012 ac_cpp='$CXXCPP $CPPFLAGS'
29013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29017 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29018 ac_save_CXXFLAGS="$CXXFLAGS"
29020 # Check for maintainer-mode bits.
29021 if test x"$USE_MAINTAINER_MODE" = xno; then
29022 WERROR=''
29023 else
29024 WERROR='-Werror'
29027 # Check for -ffunction-sections -fdata-sections
29028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29029 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29030 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29032 /* end confdefs.h. */
29033 int foo; void bar() { };
29035 main ()
29039 return 0;
29041 _ACEOF
29042 if ac_fn_cxx_try_compile "$LINENO"; then :
29043 ac_fdsections=yes
29044 else
29045 ac_fdsections=no
29047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29048 if test "$ac_test_CXXFLAGS" = set; then
29049 CXXFLAGS="$ac_save_CXXFLAGS"
29050 else
29051 # this is the suspicious part
29052 CXXFLAGS=''
29054 if test x"$ac_fdsections" = x"yes"; then
29055 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29058 $as_echo "$ac_fdsections" >&6; }
29060 ac_ext=c
29061 ac_cpp='$CPP $CPPFLAGS'
29062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29070 # If we're not using GNU ld, then there's no point in even trying these
29071 # tests. Check for that first. We should have already tested for gld
29072 # by now (in libtool), but require it now just to be safe...
29073 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29074 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29078 # The name set by libtool depends on the version of libtool. Shame on us
29079 # for depending on an impl detail, but c'est la vie. Older versions used
29080 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29081 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29082 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29083 # set (hence we're using an older libtool), then set it.
29084 if test x${with_gnu_ld+set} != xset; then
29085 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29086 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29087 with_gnu_ld=no
29088 else
29089 with_gnu_ld=$ac_cv_prog_gnu_ld
29093 # Start by getting the version number. I think the libtool test already
29094 # does some of this, but throws away the result.
29095 glibcxx_ld_is_gold=no
29096 if test x"$with_gnu_ld" = x"yes"; then
29097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29098 $as_echo_n "checking for ld version... " >&6; }
29100 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29101 glibcxx_ld_is_gold=yes
29103 ldver=`$LD --version 2>/dev/null |
29104 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'`
29106 glibcxx_gnu_ld_version=`echo $ldver | \
29107 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29109 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29112 # Set --gc-sections.
29113 glibcxx_have_gc_sections=no
29114 if test "$glibcxx_ld_is_gold" = "yes"; then
29115 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29116 glibcxx_have_gc_sections=yes
29118 else
29119 glibcxx_gcsections_min_ld=21602
29120 if test x"$with_gnu_ld" = x"yes" &&
29121 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29122 glibcxx_have_gc_sections=yes
29125 if test "$glibcxx_have_gc_sections" = "yes"; then
29126 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29127 # NB: This flag only works reliably after 2.16.1. Configure tests
29128 # for this are difficult, so hard wire a value that should work.
29130 ac_test_CFLAGS="${CFLAGS+set}"
29131 ac_save_CFLAGS="$CFLAGS"
29132 CFLAGS='-Wl,--gc-sections'
29134 # Check for -Wl,--gc-sections
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29136 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29137 if test x$gcc_no_link = xyes; then
29138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29141 /* end confdefs.h. */
29142 int one(void) { return 1; }
29143 int two(void) { return 2; }
29146 main ()
29148 two();
29150 return 0;
29152 _ACEOF
29153 if ac_fn_c_try_link "$LINENO"; then :
29154 ac_gcsections=yes
29155 else
29156 ac_gcsections=no
29158 rm -f core conftest.err conftest.$ac_objext \
29159 conftest$ac_exeext conftest.$ac_ext
29160 if test "$ac_gcsections" = "yes"; then
29161 rm -f conftest.c
29162 touch conftest.c
29163 if $CC -c conftest.c; then
29164 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29165 grep "Warning: gc-sections option ignored" > /dev/null; then
29166 ac_gcsections=no
29169 rm -f conftest.c conftest.o conftest
29171 if test "$ac_gcsections" = "yes"; then
29172 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29175 $as_echo "$ac_gcsections" >&6; }
29177 if test "$ac_test_CFLAGS" = set; then
29178 CFLAGS="$ac_save_CFLAGS"
29179 else
29180 # this is the suspicious part
29181 CFLAGS=''
29185 # Set -z,relro.
29186 # Note this is only for shared objects.
29187 ac_ld_relro=no
29188 if test x"$with_gnu_ld" = x"yes"; then
29189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29190 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29191 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29192 if test -n "$cxx_z_relo"; then
29193 OPT_LDFLAGS="-Wl,-z,relro"
29194 ac_ld_relro=yes
29196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29197 $as_echo "$ac_ld_relro" >&6; }
29200 # Set linker optimization flags.
29201 if test x"$with_gnu_ld" = x"yes"; then
29202 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29209 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29210 ac_save_CXXFLAGS="$CXXFLAGS"
29211 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29214 $as_echo_n "checking for sin in -lm... " >&6; }
29215 if test "${ac_cv_lib_m_sin+set}" = set; then :
29216 $as_echo_n "(cached) " >&6
29217 else
29218 ac_check_lib_save_LIBS=$LIBS
29219 LIBS="-lm $LIBS"
29220 if test x$gcc_no_link = xyes; then
29221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29224 /* end confdefs.h. */
29226 /* Override any GCC internal prototype to avoid an error.
29227 Use char because int might match the return type of a GCC
29228 builtin and then its argument prototype would still apply. */
29229 #ifdef __cplusplus
29230 extern "C"
29231 #endif
29232 char sin ();
29234 main ()
29236 return sin ();
29238 return 0;
29240 _ACEOF
29241 if ac_fn_c_try_link "$LINENO"; then :
29242 ac_cv_lib_m_sin=yes
29243 else
29244 ac_cv_lib_m_sin=no
29246 rm -f core conftest.err conftest.$ac_objext \
29247 conftest$ac_exeext conftest.$ac_ext
29248 LIBS=$ac_check_lib_save_LIBS
29250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29251 $as_echo "$ac_cv_lib_m_sin" >&6; }
29252 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29253 libm="-lm"
29256 ac_save_LIBS="$LIBS"
29257 LIBS="$LIBS $libm"
29261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29262 $as_echo_n "checking for isinf declaration... " >&6; }
29263 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29264 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29265 $as_echo_n "(cached) " >&6
29266 else
29269 ac_ext=cpp
29270 ac_cpp='$CXXCPP $CPPFLAGS'
29271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29276 /* end confdefs.h. */
29277 #include <math.h>
29278 #ifdef HAVE_IEEEFP_H
29279 #include <ieeefp.h>
29280 #endif
29283 main ()
29285 isinf(0);
29287 return 0;
29289 _ACEOF
29290 if ac_fn_cxx_try_compile "$LINENO"; then :
29291 glibcxx_cv_func_isinf_use=yes
29292 else
29293 glibcxx_cv_func_isinf_use=no
29295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29296 ac_ext=c
29297 ac_cpp='$CPP $CPPFLAGS'
29298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29307 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29309 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29310 for ac_func in isinf
29311 do :
29312 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29313 if test "x$ac_cv_func_isinf" = x""yes; then :
29314 cat >>confdefs.h <<_ACEOF
29315 #define HAVE_ISINF 1
29316 _ACEOF
29319 done
29321 else
29323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29324 $as_echo_n "checking for _isinf declaration... " >&6; }
29325 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29326 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29327 $as_echo_n "(cached) " >&6
29328 else
29331 ac_ext=cpp
29332 ac_cpp='$CXXCPP $CPPFLAGS'
29333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29338 /* end confdefs.h. */
29339 #include <math.h>
29340 #ifdef HAVE_IEEEFP_H
29341 #include <ieeefp.h>
29342 #endif
29345 main ()
29347 _isinf(0);
29349 return 0;
29351 _ACEOF
29352 if ac_fn_cxx_try_compile "$LINENO"; then :
29353 glibcxx_cv_func__isinf_use=yes
29354 else
29355 glibcxx_cv_func__isinf_use=no
29357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29358 ac_ext=c
29359 ac_cpp='$CPP $CPPFLAGS'
29360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29369 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29371 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29372 for ac_func in _isinf
29373 do :
29374 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29375 if test "x$ac_cv_func__isinf" = x""yes; then :
29376 cat >>confdefs.h <<_ACEOF
29377 #define HAVE__ISINF 1
29378 _ACEOF
29381 done
29390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29391 $as_echo_n "checking for isnan declaration... " >&6; }
29392 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29393 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29394 $as_echo_n "(cached) " >&6
29395 else
29398 ac_ext=cpp
29399 ac_cpp='$CXXCPP $CPPFLAGS'
29400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29405 /* end confdefs.h. */
29406 #include <math.h>
29407 #ifdef HAVE_IEEEFP_H
29408 #include <ieeefp.h>
29409 #endif
29412 main ()
29414 isnan(0);
29416 return 0;
29418 _ACEOF
29419 if ac_fn_cxx_try_compile "$LINENO"; then :
29420 glibcxx_cv_func_isnan_use=yes
29421 else
29422 glibcxx_cv_func_isnan_use=no
29424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29425 ac_ext=c
29426 ac_cpp='$CPP $CPPFLAGS'
29427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29436 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29438 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29439 for ac_func in isnan
29440 do :
29441 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29442 if test "x$ac_cv_func_isnan" = x""yes; then :
29443 cat >>confdefs.h <<_ACEOF
29444 #define HAVE_ISNAN 1
29445 _ACEOF
29448 done
29450 else
29452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29453 $as_echo_n "checking for _isnan declaration... " >&6; }
29454 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29455 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29456 $as_echo_n "(cached) " >&6
29457 else
29460 ac_ext=cpp
29461 ac_cpp='$CXXCPP $CPPFLAGS'
29462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29467 /* end confdefs.h. */
29468 #include <math.h>
29469 #ifdef HAVE_IEEEFP_H
29470 #include <ieeefp.h>
29471 #endif
29474 main ()
29476 _isnan(0);
29478 return 0;
29480 _ACEOF
29481 if ac_fn_cxx_try_compile "$LINENO"; then :
29482 glibcxx_cv_func__isnan_use=yes
29483 else
29484 glibcxx_cv_func__isnan_use=no
29486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29487 ac_ext=c
29488 ac_cpp='$CPP $CPPFLAGS'
29489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29498 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29500 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29501 for ac_func in _isnan
29502 do :
29503 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29504 if test "x$ac_cv_func__isnan" = x""yes; then :
29505 cat >>confdefs.h <<_ACEOF
29506 #define HAVE__ISNAN 1
29507 _ACEOF
29510 done
29519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29520 $as_echo_n "checking for finite declaration... " >&6; }
29521 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29522 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29523 $as_echo_n "(cached) " >&6
29524 else
29527 ac_ext=cpp
29528 ac_cpp='$CXXCPP $CPPFLAGS'
29529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29534 /* end confdefs.h. */
29535 #include <math.h>
29536 #ifdef HAVE_IEEEFP_H
29537 #include <ieeefp.h>
29538 #endif
29541 main ()
29543 finite(0);
29545 return 0;
29547 _ACEOF
29548 if ac_fn_cxx_try_compile "$LINENO"; then :
29549 glibcxx_cv_func_finite_use=yes
29550 else
29551 glibcxx_cv_func_finite_use=no
29553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29554 ac_ext=c
29555 ac_cpp='$CPP $CPPFLAGS'
29556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29565 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29567 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29568 for ac_func in finite
29569 do :
29570 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29571 if test "x$ac_cv_func_finite" = x""yes; then :
29572 cat >>confdefs.h <<_ACEOF
29573 #define HAVE_FINITE 1
29574 _ACEOF
29577 done
29579 else
29581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29582 $as_echo_n "checking for _finite declaration... " >&6; }
29583 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29584 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29585 $as_echo_n "(cached) " >&6
29586 else
29589 ac_ext=cpp
29590 ac_cpp='$CXXCPP $CPPFLAGS'
29591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29596 /* end confdefs.h. */
29597 #include <math.h>
29598 #ifdef HAVE_IEEEFP_H
29599 #include <ieeefp.h>
29600 #endif
29603 main ()
29605 _finite(0);
29607 return 0;
29609 _ACEOF
29610 if ac_fn_cxx_try_compile "$LINENO"; then :
29611 glibcxx_cv_func__finite_use=yes
29612 else
29613 glibcxx_cv_func__finite_use=no
29615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29616 ac_ext=c
29617 ac_cpp='$CPP $CPPFLAGS'
29618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29627 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29629 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29630 for ac_func in _finite
29631 do :
29632 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29633 if test "x$ac_cv_func__finite" = x""yes; then :
29634 cat >>confdefs.h <<_ACEOF
29635 #define HAVE__FINITE 1
29636 _ACEOF
29639 done
29648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29649 $as_echo_n "checking for sincos declaration... " >&6; }
29650 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29651 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29652 $as_echo_n "(cached) " >&6
29653 else
29656 ac_ext=cpp
29657 ac_cpp='$CXXCPP $CPPFLAGS'
29658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29663 /* end confdefs.h. */
29664 #include <math.h>
29666 main ()
29668 sincos(0, 0, 0);
29670 return 0;
29672 _ACEOF
29673 if ac_fn_cxx_try_compile "$LINENO"; then :
29674 glibcxx_cv_func_sincos_use=yes
29675 else
29676 glibcxx_cv_func_sincos_use=no
29678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29679 ac_ext=c
29680 ac_cpp='$CPP $CPPFLAGS'
29681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29690 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29692 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29693 for ac_func in sincos
29694 do :
29695 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29696 if test "x$ac_cv_func_sincos" = x""yes; then :
29697 cat >>confdefs.h <<_ACEOF
29698 #define HAVE_SINCOS 1
29699 _ACEOF
29702 done
29704 else
29706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29707 $as_echo_n "checking for _sincos declaration... " >&6; }
29708 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29709 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29710 $as_echo_n "(cached) " >&6
29711 else
29714 ac_ext=cpp
29715 ac_cpp='$CXXCPP $CPPFLAGS'
29716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29721 /* end confdefs.h. */
29722 #include <math.h>
29724 main ()
29726 _sincos(0, 0, 0);
29728 return 0;
29730 _ACEOF
29731 if ac_fn_cxx_try_compile "$LINENO"; then :
29732 glibcxx_cv_func__sincos_use=yes
29733 else
29734 glibcxx_cv_func__sincos_use=no
29736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29737 ac_ext=c
29738 ac_cpp='$CPP $CPPFLAGS'
29739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29748 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29750 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29751 for ac_func in _sincos
29752 do :
29753 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29754 if test "x$ac_cv_func__sincos" = x""yes; then :
29755 cat >>confdefs.h <<_ACEOF
29756 #define HAVE__SINCOS 1
29757 _ACEOF
29760 done
29769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29770 $as_echo_n "checking for fpclass declaration... " >&6; }
29771 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29772 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29773 $as_echo_n "(cached) " >&6
29774 else
29777 ac_ext=cpp
29778 ac_cpp='$CXXCPP $CPPFLAGS'
29779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29784 /* end confdefs.h. */
29785 #include <math.h>
29786 #ifdef HAVE_IEEEFP_H
29787 #include <ieeefp.h>
29788 #endif
29791 main ()
29793 fpclass(0);
29795 return 0;
29797 _ACEOF
29798 if ac_fn_cxx_try_compile "$LINENO"; then :
29799 glibcxx_cv_func_fpclass_use=yes
29800 else
29801 glibcxx_cv_func_fpclass_use=no
29803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29804 ac_ext=c
29805 ac_cpp='$CPP $CPPFLAGS'
29806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29815 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29817 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29818 for ac_func in fpclass
29819 do :
29820 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29821 if test "x$ac_cv_func_fpclass" = x""yes; then :
29822 cat >>confdefs.h <<_ACEOF
29823 #define HAVE_FPCLASS 1
29824 _ACEOF
29827 done
29829 else
29831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29832 $as_echo_n "checking for _fpclass declaration... " >&6; }
29833 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29834 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29835 $as_echo_n "(cached) " >&6
29836 else
29839 ac_ext=cpp
29840 ac_cpp='$CXXCPP $CPPFLAGS'
29841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29846 /* end confdefs.h. */
29847 #include <math.h>
29848 #ifdef HAVE_IEEEFP_H
29849 #include <ieeefp.h>
29850 #endif
29853 main ()
29855 _fpclass(0);
29857 return 0;
29859 _ACEOF
29860 if ac_fn_cxx_try_compile "$LINENO"; then :
29861 glibcxx_cv_func__fpclass_use=yes
29862 else
29863 glibcxx_cv_func__fpclass_use=no
29865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29866 ac_ext=c
29867 ac_cpp='$CPP $CPPFLAGS'
29868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29877 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29879 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29880 for ac_func in _fpclass
29881 do :
29882 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29883 if test "x$ac_cv_func__fpclass" = x""yes; then :
29884 cat >>confdefs.h <<_ACEOF
29885 #define HAVE__FPCLASS 1
29886 _ACEOF
29889 done
29898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29899 $as_echo_n "checking for qfpclass declaration... " >&6; }
29900 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29901 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29902 $as_echo_n "(cached) " >&6
29903 else
29906 ac_ext=cpp
29907 ac_cpp='$CXXCPP $CPPFLAGS'
29908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29913 /* end confdefs.h. */
29914 #include <math.h>
29915 #ifdef HAVE_IEEEFP_H
29916 #include <ieeefp.h>
29917 #endif
29920 main ()
29922 qfpclass(0);
29924 return 0;
29926 _ACEOF
29927 if ac_fn_cxx_try_compile "$LINENO"; then :
29928 glibcxx_cv_func_qfpclass_use=yes
29929 else
29930 glibcxx_cv_func_qfpclass_use=no
29932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29933 ac_ext=c
29934 ac_cpp='$CPP $CPPFLAGS'
29935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29944 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29946 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29947 for ac_func in qfpclass
29948 do :
29949 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29950 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29951 cat >>confdefs.h <<_ACEOF
29952 #define HAVE_QFPCLASS 1
29953 _ACEOF
29956 done
29958 else
29960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29961 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29962 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29963 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29964 $as_echo_n "(cached) " >&6
29965 else
29968 ac_ext=cpp
29969 ac_cpp='$CXXCPP $CPPFLAGS'
29970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29975 /* end confdefs.h. */
29976 #include <math.h>
29977 #ifdef HAVE_IEEEFP_H
29978 #include <ieeefp.h>
29979 #endif
29982 main ()
29984 _qfpclass(0);
29986 return 0;
29988 _ACEOF
29989 if ac_fn_cxx_try_compile "$LINENO"; then :
29990 glibcxx_cv_func__qfpclass_use=yes
29991 else
29992 glibcxx_cv_func__qfpclass_use=no
29994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29995 ac_ext=c
29996 ac_cpp='$CPP $CPPFLAGS'
29997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30006 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30008 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30009 for ac_func in _qfpclass
30010 do :
30011 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30012 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30013 cat >>confdefs.h <<_ACEOF
30014 #define HAVE__QFPCLASS 1
30015 _ACEOF
30018 done
30027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30028 $as_echo_n "checking for hypot declaration... " >&6; }
30029 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30030 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30031 $as_echo_n "(cached) " >&6
30032 else
30035 ac_ext=cpp
30036 ac_cpp='$CXXCPP $CPPFLAGS'
30037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30042 /* end confdefs.h. */
30043 #include <math.h>
30045 main ()
30047 hypot(0, 0);
30049 return 0;
30051 _ACEOF
30052 if ac_fn_cxx_try_compile "$LINENO"; then :
30053 glibcxx_cv_func_hypot_use=yes
30054 else
30055 glibcxx_cv_func_hypot_use=no
30057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30058 ac_ext=c
30059 ac_cpp='$CPP $CPPFLAGS'
30060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30069 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30071 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30072 for ac_func in hypot
30073 do :
30074 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30075 if test "x$ac_cv_func_hypot" = x""yes; then :
30076 cat >>confdefs.h <<_ACEOF
30077 #define HAVE_HYPOT 1
30078 _ACEOF
30081 done
30083 else
30085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30086 $as_echo_n "checking for _hypot declaration... " >&6; }
30087 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30088 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30089 $as_echo_n "(cached) " >&6
30090 else
30093 ac_ext=cpp
30094 ac_cpp='$CXXCPP $CPPFLAGS'
30095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30100 /* end confdefs.h. */
30101 #include <math.h>
30103 main ()
30105 _hypot(0, 0);
30107 return 0;
30109 _ACEOF
30110 if ac_fn_cxx_try_compile "$LINENO"; then :
30111 glibcxx_cv_func__hypot_use=yes
30112 else
30113 glibcxx_cv_func__hypot_use=no
30115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30116 ac_ext=c
30117 ac_cpp='$CPP $CPPFLAGS'
30118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30127 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30129 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30130 for ac_func in _hypot
30131 do :
30132 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30133 if test "x$ac_cv_func__hypot" = x""yes; then :
30134 cat >>confdefs.h <<_ACEOF
30135 #define HAVE__HYPOT 1
30136 _ACEOF
30139 done
30148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30149 $as_echo_n "checking for float trig functions... " >&6; }
30150 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30151 $as_echo_n "(cached) " >&6
30152 else
30155 ac_ext=cpp
30156 ac_cpp='$CXXCPP $CPPFLAGS'
30157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30162 /* end confdefs.h. */
30163 #include <math.h>
30165 main ()
30167 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30169 return 0;
30171 _ACEOF
30172 if ac_fn_cxx_try_compile "$LINENO"; then :
30173 glibcxx_cv_func_float_trig_use=yes
30174 else
30175 glibcxx_cv_func_float_trig_use=no
30177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30178 ac_ext=c
30179 ac_cpp='$CPP $CPPFLAGS'
30180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30187 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30188 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30189 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30190 do :
30191 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30193 eval as_val=\$$as_ac_var
30194 if test "x$as_val" = x""yes; then :
30195 cat >>confdefs.h <<_ACEOF
30196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30197 _ACEOF
30200 done
30202 else
30203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30204 $as_echo_n "checking for _float trig functions... " >&6; }
30205 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30206 $as_echo_n "(cached) " >&6
30207 else
30210 ac_ext=cpp
30211 ac_cpp='$CXXCPP $CPPFLAGS'
30212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30217 /* end confdefs.h. */
30218 #include <math.h>
30220 main ()
30222 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30224 return 0;
30226 _ACEOF
30227 if ac_fn_cxx_try_compile "$LINENO"; then :
30228 glibcxx_cv_func__float_trig_use=yes
30229 else
30230 glibcxx_cv_func__float_trig_use=no
30232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30233 ac_ext=c
30234 ac_cpp='$CPP $CPPFLAGS'
30235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30242 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30243 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30244 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30245 do :
30246 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30247 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30248 eval as_val=\$$as_ac_var
30249 if test "x$as_val" = x""yes; then :
30250 cat >>confdefs.h <<_ACEOF
30251 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30252 _ACEOF
30255 done
30264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30265 $as_echo_n "checking for float round functions... " >&6; }
30266 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30267 $as_echo_n "(cached) " >&6
30268 else
30271 ac_ext=cpp
30272 ac_cpp='$CXXCPP $CPPFLAGS'
30273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30278 /* end confdefs.h. */
30279 #include <math.h>
30281 main ()
30283 ceilf (0); floorf (0);
30285 return 0;
30287 _ACEOF
30288 if ac_fn_cxx_try_compile "$LINENO"; then :
30289 glibcxx_cv_func_float_round_use=yes
30290 else
30291 glibcxx_cv_func_float_round_use=no
30293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30294 ac_ext=c
30295 ac_cpp='$CPP $CPPFLAGS'
30296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30303 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30304 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30305 for ac_func in ceilf floorf
30306 do :
30307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30309 eval as_val=\$$as_ac_var
30310 if test "x$as_val" = x""yes; then :
30311 cat >>confdefs.h <<_ACEOF
30312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30313 _ACEOF
30316 done
30318 else
30319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30320 $as_echo_n "checking for _float round functions... " >&6; }
30321 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30322 $as_echo_n "(cached) " >&6
30323 else
30326 ac_ext=cpp
30327 ac_cpp='$CXXCPP $CPPFLAGS'
30328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30333 /* end confdefs.h. */
30334 #include <math.h>
30336 main ()
30338 _ceilf (0); _floorf (0);
30340 return 0;
30342 _ACEOF
30343 if ac_fn_cxx_try_compile "$LINENO"; then :
30344 glibcxx_cv_func__float_round_use=yes
30345 else
30346 glibcxx_cv_func__float_round_use=no
30348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30349 ac_ext=c
30350 ac_cpp='$CPP $CPPFLAGS'
30351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30358 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30359 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30360 for ac_func in _ceilf _floorf
30361 do :
30362 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30363 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30364 eval as_val=\$$as_ac_var
30365 if test "x$as_val" = x""yes; then :
30366 cat >>confdefs.h <<_ACEOF
30367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30368 _ACEOF
30371 done
30381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30382 $as_echo_n "checking for expf declaration... " >&6; }
30383 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30384 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30385 $as_echo_n "(cached) " >&6
30386 else
30389 ac_ext=cpp
30390 ac_cpp='$CXXCPP $CPPFLAGS'
30391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30396 /* end confdefs.h. */
30397 #include <math.h>
30398 #ifdef HAVE_IEEEFP_H
30399 #include <ieeefp.h>
30400 #endif
30403 main ()
30405 expf(0);
30407 return 0;
30409 _ACEOF
30410 if ac_fn_cxx_try_compile "$LINENO"; then :
30411 glibcxx_cv_func_expf_use=yes
30412 else
30413 glibcxx_cv_func_expf_use=no
30415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30416 ac_ext=c
30417 ac_cpp='$CPP $CPPFLAGS'
30418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30427 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30429 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30430 for ac_func in expf
30431 do :
30432 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30433 if test "x$ac_cv_func_expf" = x""yes; then :
30434 cat >>confdefs.h <<_ACEOF
30435 #define HAVE_EXPF 1
30436 _ACEOF
30439 done
30441 else
30443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30444 $as_echo_n "checking for _expf declaration... " >&6; }
30445 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30446 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30447 $as_echo_n "(cached) " >&6
30448 else
30451 ac_ext=cpp
30452 ac_cpp='$CXXCPP $CPPFLAGS'
30453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30458 /* end confdefs.h. */
30459 #include <math.h>
30460 #ifdef HAVE_IEEEFP_H
30461 #include <ieeefp.h>
30462 #endif
30465 main ()
30467 _expf(0);
30469 return 0;
30471 _ACEOF
30472 if ac_fn_cxx_try_compile "$LINENO"; then :
30473 glibcxx_cv_func__expf_use=yes
30474 else
30475 glibcxx_cv_func__expf_use=no
30477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30478 ac_ext=c
30479 ac_cpp='$CPP $CPPFLAGS'
30480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30489 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30491 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30492 for ac_func in _expf
30493 do :
30494 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30495 if test "x$ac_cv_func__expf" = x""yes; then :
30496 cat >>confdefs.h <<_ACEOF
30497 #define HAVE__EXPF 1
30498 _ACEOF
30501 done
30510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30511 $as_echo_n "checking for isnanf declaration... " >&6; }
30512 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30513 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30514 $as_echo_n "(cached) " >&6
30515 else
30518 ac_ext=cpp
30519 ac_cpp='$CXXCPP $CPPFLAGS'
30520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30525 /* end confdefs.h. */
30526 #include <math.h>
30527 #ifdef HAVE_IEEEFP_H
30528 #include <ieeefp.h>
30529 #endif
30532 main ()
30534 isnanf(0);
30536 return 0;
30538 _ACEOF
30539 if ac_fn_cxx_try_compile "$LINENO"; then :
30540 glibcxx_cv_func_isnanf_use=yes
30541 else
30542 glibcxx_cv_func_isnanf_use=no
30544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30545 ac_ext=c
30546 ac_cpp='$CPP $CPPFLAGS'
30547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30556 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30558 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30559 for ac_func in isnanf
30560 do :
30561 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30562 if test "x$ac_cv_func_isnanf" = x""yes; then :
30563 cat >>confdefs.h <<_ACEOF
30564 #define HAVE_ISNANF 1
30565 _ACEOF
30568 done
30570 else
30572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30573 $as_echo_n "checking for _isnanf declaration... " >&6; }
30574 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30575 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30576 $as_echo_n "(cached) " >&6
30577 else
30580 ac_ext=cpp
30581 ac_cpp='$CXXCPP $CPPFLAGS'
30582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30587 /* end confdefs.h. */
30588 #include <math.h>
30589 #ifdef HAVE_IEEEFP_H
30590 #include <ieeefp.h>
30591 #endif
30594 main ()
30596 _isnanf(0);
30598 return 0;
30600 _ACEOF
30601 if ac_fn_cxx_try_compile "$LINENO"; then :
30602 glibcxx_cv_func__isnanf_use=yes
30603 else
30604 glibcxx_cv_func__isnanf_use=no
30606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30607 ac_ext=c
30608 ac_cpp='$CPP $CPPFLAGS'
30609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30618 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30620 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30621 for ac_func in _isnanf
30622 do :
30623 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30624 if test "x$ac_cv_func__isnanf" = x""yes; then :
30625 cat >>confdefs.h <<_ACEOF
30626 #define HAVE__ISNANF 1
30627 _ACEOF
30630 done
30639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30640 $as_echo_n "checking for isinff declaration... " >&6; }
30641 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30642 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30643 $as_echo_n "(cached) " >&6
30644 else
30647 ac_ext=cpp
30648 ac_cpp='$CXXCPP $CPPFLAGS'
30649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30654 /* end confdefs.h. */
30655 #include <math.h>
30656 #ifdef HAVE_IEEEFP_H
30657 #include <ieeefp.h>
30658 #endif
30661 main ()
30663 isinff(0);
30665 return 0;
30667 _ACEOF
30668 if ac_fn_cxx_try_compile "$LINENO"; then :
30669 glibcxx_cv_func_isinff_use=yes
30670 else
30671 glibcxx_cv_func_isinff_use=no
30673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30674 ac_ext=c
30675 ac_cpp='$CPP $CPPFLAGS'
30676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30685 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30687 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30688 for ac_func in isinff
30689 do :
30690 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30691 if test "x$ac_cv_func_isinff" = x""yes; then :
30692 cat >>confdefs.h <<_ACEOF
30693 #define HAVE_ISINFF 1
30694 _ACEOF
30697 done
30699 else
30701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30702 $as_echo_n "checking for _isinff declaration... " >&6; }
30703 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30704 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30705 $as_echo_n "(cached) " >&6
30706 else
30709 ac_ext=cpp
30710 ac_cpp='$CXXCPP $CPPFLAGS'
30711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30716 /* end confdefs.h. */
30717 #include <math.h>
30718 #ifdef HAVE_IEEEFP_H
30719 #include <ieeefp.h>
30720 #endif
30723 main ()
30725 _isinff(0);
30727 return 0;
30729 _ACEOF
30730 if ac_fn_cxx_try_compile "$LINENO"; then :
30731 glibcxx_cv_func__isinff_use=yes
30732 else
30733 glibcxx_cv_func__isinff_use=no
30735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30736 ac_ext=c
30737 ac_cpp='$CPP $CPPFLAGS'
30738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30747 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30749 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30750 for ac_func in _isinff
30751 do :
30752 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30753 if test "x$ac_cv_func__isinff" = x""yes; then :
30754 cat >>confdefs.h <<_ACEOF
30755 #define HAVE__ISINFF 1
30756 _ACEOF
30759 done
30768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30769 $as_echo_n "checking for atan2f declaration... " >&6; }
30770 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30771 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30772 $as_echo_n "(cached) " >&6
30773 else
30776 ac_ext=cpp
30777 ac_cpp='$CXXCPP $CPPFLAGS'
30778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30783 /* end confdefs.h. */
30784 #include <math.h>
30786 main ()
30788 atan2f(0, 0);
30790 return 0;
30792 _ACEOF
30793 if ac_fn_cxx_try_compile "$LINENO"; then :
30794 glibcxx_cv_func_atan2f_use=yes
30795 else
30796 glibcxx_cv_func_atan2f_use=no
30798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30799 ac_ext=c
30800 ac_cpp='$CPP $CPPFLAGS'
30801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30810 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30812 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30813 for ac_func in atan2f
30814 do :
30815 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30816 if test "x$ac_cv_func_atan2f" = x""yes; then :
30817 cat >>confdefs.h <<_ACEOF
30818 #define HAVE_ATAN2F 1
30819 _ACEOF
30822 done
30824 else
30826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30827 $as_echo_n "checking for _atan2f declaration... " >&6; }
30828 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30829 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30830 $as_echo_n "(cached) " >&6
30831 else
30834 ac_ext=cpp
30835 ac_cpp='$CXXCPP $CPPFLAGS'
30836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30841 /* end confdefs.h. */
30842 #include <math.h>
30844 main ()
30846 _atan2f(0, 0);
30848 return 0;
30850 _ACEOF
30851 if ac_fn_cxx_try_compile "$LINENO"; then :
30852 glibcxx_cv_func__atan2f_use=yes
30853 else
30854 glibcxx_cv_func__atan2f_use=no
30856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30857 ac_ext=c
30858 ac_cpp='$CPP $CPPFLAGS'
30859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30868 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30870 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30871 for ac_func in _atan2f
30872 do :
30873 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30874 if test "x$ac_cv_func__atan2f" = x""yes; then :
30875 cat >>confdefs.h <<_ACEOF
30876 #define HAVE__ATAN2F 1
30877 _ACEOF
30880 done
30889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30890 $as_echo_n "checking for fabsf declaration... " >&6; }
30891 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30892 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30893 $as_echo_n "(cached) " >&6
30894 else
30897 ac_ext=cpp
30898 ac_cpp='$CXXCPP $CPPFLAGS'
30899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30904 /* end confdefs.h. */
30905 #include <math.h>
30906 #ifdef HAVE_IEEEFP_H
30907 #include <ieeefp.h>
30908 #endif
30911 main ()
30913 fabsf(0);
30915 return 0;
30917 _ACEOF
30918 if ac_fn_cxx_try_compile "$LINENO"; then :
30919 glibcxx_cv_func_fabsf_use=yes
30920 else
30921 glibcxx_cv_func_fabsf_use=no
30923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30924 ac_ext=c
30925 ac_cpp='$CPP $CPPFLAGS'
30926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30935 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30937 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30938 for ac_func in fabsf
30939 do :
30940 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30941 if test "x$ac_cv_func_fabsf" = x""yes; then :
30942 cat >>confdefs.h <<_ACEOF
30943 #define HAVE_FABSF 1
30944 _ACEOF
30947 done
30949 else
30951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30952 $as_echo_n "checking for _fabsf declaration... " >&6; }
30953 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30954 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30955 $as_echo_n "(cached) " >&6
30956 else
30959 ac_ext=cpp
30960 ac_cpp='$CXXCPP $CPPFLAGS'
30961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30966 /* end confdefs.h. */
30967 #include <math.h>
30968 #ifdef HAVE_IEEEFP_H
30969 #include <ieeefp.h>
30970 #endif
30973 main ()
30975 _fabsf(0);
30977 return 0;
30979 _ACEOF
30980 if ac_fn_cxx_try_compile "$LINENO"; then :
30981 glibcxx_cv_func__fabsf_use=yes
30982 else
30983 glibcxx_cv_func__fabsf_use=no
30985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30986 ac_ext=c
30987 ac_cpp='$CPP $CPPFLAGS'
30988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
30997 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
30999 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31000 for ac_func in _fabsf
31001 do :
31002 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31003 if test "x$ac_cv_func__fabsf" = x""yes; then :
31004 cat >>confdefs.h <<_ACEOF
31005 #define HAVE__FABSF 1
31006 _ACEOF
31009 done
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31019 $as_echo_n "checking for fmodf declaration... " >&6; }
31020 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31021 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31022 $as_echo_n "(cached) " >&6
31023 else
31026 ac_ext=cpp
31027 ac_cpp='$CXXCPP $CPPFLAGS'
31028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31033 /* end confdefs.h. */
31034 #include <math.h>
31036 main ()
31038 fmodf(0, 0);
31040 return 0;
31042 _ACEOF
31043 if ac_fn_cxx_try_compile "$LINENO"; then :
31044 glibcxx_cv_func_fmodf_use=yes
31045 else
31046 glibcxx_cv_func_fmodf_use=no
31048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31049 ac_ext=c
31050 ac_cpp='$CPP $CPPFLAGS'
31051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31060 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31062 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31063 for ac_func in fmodf
31064 do :
31065 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31066 if test "x$ac_cv_func_fmodf" = x""yes; then :
31067 cat >>confdefs.h <<_ACEOF
31068 #define HAVE_FMODF 1
31069 _ACEOF
31072 done
31074 else
31076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31077 $as_echo_n "checking for _fmodf declaration... " >&6; }
31078 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31079 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31080 $as_echo_n "(cached) " >&6
31081 else
31084 ac_ext=cpp
31085 ac_cpp='$CXXCPP $CPPFLAGS'
31086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31091 /* end confdefs.h. */
31092 #include <math.h>
31094 main ()
31096 _fmodf(0, 0);
31098 return 0;
31100 _ACEOF
31101 if ac_fn_cxx_try_compile "$LINENO"; then :
31102 glibcxx_cv_func__fmodf_use=yes
31103 else
31104 glibcxx_cv_func__fmodf_use=no
31106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31107 ac_ext=c
31108 ac_cpp='$CPP $CPPFLAGS'
31109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31118 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31120 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31121 for ac_func in _fmodf
31122 do :
31123 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31124 if test "x$ac_cv_func__fmodf" = x""yes; then :
31125 cat >>confdefs.h <<_ACEOF
31126 #define HAVE__FMODF 1
31127 _ACEOF
31130 done
31139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31140 $as_echo_n "checking for frexpf declaration... " >&6; }
31141 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31142 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31143 $as_echo_n "(cached) " >&6
31144 else
31147 ac_ext=cpp
31148 ac_cpp='$CXXCPP $CPPFLAGS'
31149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31154 /* end confdefs.h. */
31155 #include <math.h>
31157 main ()
31159 frexpf(0, 0);
31161 return 0;
31163 _ACEOF
31164 if ac_fn_cxx_try_compile "$LINENO"; then :
31165 glibcxx_cv_func_frexpf_use=yes
31166 else
31167 glibcxx_cv_func_frexpf_use=no
31169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31170 ac_ext=c
31171 ac_cpp='$CPP $CPPFLAGS'
31172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31181 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31183 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31184 for ac_func in frexpf
31185 do :
31186 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31187 if test "x$ac_cv_func_frexpf" = x""yes; then :
31188 cat >>confdefs.h <<_ACEOF
31189 #define HAVE_FREXPF 1
31190 _ACEOF
31193 done
31195 else
31197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31198 $as_echo_n "checking for _frexpf declaration... " >&6; }
31199 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31200 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31201 $as_echo_n "(cached) " >&6
31202 else
31205 ac_ext=cpp
31206 ac_cpp='$CXXCPP $CPPFLAGS'
31207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31212 /* end confdefs.h. */
31213 #include <math.h>
31215 main ()
31217 _frexpf(0, 0);
31219 return 0;
31221 _ACEOF
31222 if ac_fn_cxx_try_compile "$LINENO"; then :
31223 glibcxx_cv_func__frexpf_use=yes
31224 else
31225 glibcxx_cv_func__frexpf_use=no
31227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31228 ac_ext=c
31229 ac_cpp='$CPP $CPPFLAGS'
31230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31239 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31241 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31242 for ac_func in _frexpf
31243 do :
31244 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31245 if test "x$ac_cv_func__frexpf" = x""yes; then :
31246 cat >>confdefs.h <<_ACEOF
31247 #define HAVE__FREXPF 1
31248 _ACEOF
31251 done
31260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31261 $as_echo_n "checking for hypotf declaration... " >&6; }
31262 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31263 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31264 $as_echo_n "(cached) " >&6
31265 else
31268 ac_ext=cpp
31269 ac_cpp='$CXXCPP $CPPFLAGS'
31270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31275 /* end confdefs.h. */
31276 #include <math.h>
31278 main ()
31280 hypotf(0, 0);
31282 return 0;
31284 _ACEOF
31285 if ac_fn_cxx_try_compile "$LINENO"; then :
31286 glibcxx_cv_func_hypotf_use=yes
31287 else
31288 glibcxx_cv_func_hypotf_use=no
31290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31291 ac_ext=c
31292 ac_cpp='$CPP $CPPFLAGS'
31293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31302 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31304 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31305 for ac_func in hypotf
31306 do :
31307 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31308 if test "x$ac_cv_func_hypotf" = x""yes; then :
31309 cat >>confdefs.h <<_ACEOF
31310 #define HAVE_HYPOTF 1
31311 _ACEOF
31314 done
31316 else
31318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31319 $as_echo_n "checking for _hypotf declaration... " >&6; }
31320 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31321 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31322 $as_echo_n "(cached) " >&6
31323 else
31326 ac_ext=cpp
31327 ac_cpp='$CXXCPP $CPPFLAGS'
31328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31333 /* end confdefs.h. */
31334 #include <math.h>
31336 main ()
31338 _hypotf(0, 0);
31340 return 0;
31342 _ACEOF
31343 if ac_fn_cxx_try_compile "$LINENO"; then :
31344 glibcxx_cv_func__hypotf_use=yes
31345 else
31346 glibcxx_cv_func__hypotf_use=no
31348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31349 ac_ext=c
31350 ac_cpp='$CPP $CPPFLAGS'
31351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31360 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31362 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31363 for ac_func in _hypotf
31364 do :
31365 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31366 if test "x$ac_cv_func__hypotf" = x""yes; then :
31367 cat >>confdefs.h <<_ACEOF
31368 #define HAVE__HYPOTF 1
31369 _ACEOF
31372 done
31381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31382 $as_echo_n "checking for ldexpf declaration... " >&6; }
31383 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31384 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31385 $as_echo_n "(cached) " >&6
31386 else
31389 ac_ext=cpp
31390 ac_cpp='$CXXCPP $CPPFLAGS'
31391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31396 /* end confdefs.h. */
31397 #include <math.h>
31399 main ()
31401 ldexpf(0, 0);
31403 return 0;
31405 _ACEOF
31406 if ac_fn_cxx_try_compile "$LINENO"; then :
31407 glibcxx_cv_func_ldexpf_use=yes
31408 else
31409 glibcxx_cv_func_ldexpf_use=no
31411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31412 ac_ext=c
31413 ac_cpp='$CPP $CPPFLAGS'
31414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31423 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31425 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31426 for ac_func in ldexpf
31427 do :
31428 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31429 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31430 cat >>confdefs.h <<_ACEOF
31431 #define HAVE_LDEXPF 1
31432 _ACEOF
31435 done
31437 else
31439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31440 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31441 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31442 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31443 $as_echo_n "(cached) " >&6
31444 else
31447 ac_ext=cpp
31448 ac_cpp='$CXXCPP $CPPFLAGS'
31449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31454 /* end confdefs.h. */
31455 #include <math.h>
31457 main ()
31459 _ldexpf(0, 0);
31461 return 0;
31463 _ACEOF
31464 if ac_fn_cxx_try_compile "$LINENO"; then :
31465 glibcxx_cv_func__ldexpf_use=yes
31466 else
31467 glibcxx_cv_func__ldexpf_use=no
31469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31470 ac_ext=c
31471 ac_cpp='$CPP $CPPFLAGS'
31472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31481 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31483 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31484 for ac_func in _ldexpf
31485 do :
31486 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31487 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31488 cat >>confdefs.h <<_ACEOF
31489 #define HAVE__LDEXPF 1
31490 _ACEOF
31493 done
31502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31503 $as_echo_n "checking for logf declaration... " >&6; }
31504 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31505 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31506 $as_echo_n "(cached) " >&6
31507 else
31510 ac_ext=cpp
31511 ac_cpp='$CXXCPP $CPPFLAGS'
31512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31517 /* end confdefs.h. */
31518 #include <math.h>
31519 #ifdef HAVE_IEEEFP_H
31520 #include <ieeefp.h>
31521 #endif
31524 main ()
31526 logf(0);
31528 return 0;
31530 _ACEOF
31531 if ac_fn_cxx_try_compile "$LINENO"; then :
31532 glibcxx_cv_func_logf_use=yes
31533 else
31534 glibcxx_cv_func_logf_use=no
31536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31537 ac_ext=c
31538 ac_cpp='$CPP $CPPFLAGS'
31539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31548 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31550 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31551 for ac_func in logf
31552 do :
31553 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31554 if test "x$ac_cv_func_logf" = x""yes; then :
31555 cat >>confdefs.h <<_ACEOF
31556 #define HAVE_LOGF 1
31557 _ACEOF
31560 done
31562 else
31564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31565 $as_echo_n "checking for _logf declaration... " >&6; }
31566 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31567 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31568 $as_echo_n "(cached) " >&6
31569 else
31572 ac_ext=cpp
31573 ac_cpp='$CXXCPP $CPPFLAGS'
31574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31579 /* end confdefs.h. */
31580 #include <math.h>
31581 #ifdef HAVE_IEEEFP_H
31582 #include <ieeefp.h>
31583 #endif
31586 main ()
31588 _logf(0);
31590 return 0;
31592 _ACEOF
31593 if ac_fn_cxx_try_compile "$LINENO"; then :
31594 glibcxx_cv_func__logf_use=yes
31595 else
31596 glibcxx_cv_func__logf_use=no
31598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31599 ac_ext=c
31600 ac_cpp='$CPP $CPPFLAGS'
31601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31610 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31612 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31613 for ac_func in _logf
31614 do :
31615 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31616 if test "x$ac_cv_func__logf" = x""yes; then :
31617 cat >>confdefs.h <<_ACEOF
31618 #define HAVE__LOGF 1
31619 _ACEOF
31622 done
31631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31632 $as_echo_n "checking for log10f declaration... " >&6; }
31633 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31634 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31635 $as_echo_n "(cached) " >&6
31636 else
31639 ac_ext=cpp
31640 ac_cpp='$CXXCPP $CPPFLAGS'
31641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31646 /* end confdefs.h. */
31647 #include <math.h>
31648 #ifdef HAVE_IEEEFP_H
31649 #include <ieeefp.h>
31650 #endif
31653 main ()
31655 log10f(0);
31657 return 0;
31659 _ACEOF
31660 if ac_fn_cxx_try_compile "$LINENO"; then :
31661 glibcxx_cv_func_log10f_use=yes
31662 else
31663 glibcxx_cv_func_log10f_use=no
31665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31666 ac_ext=c
31667 ac_cpp='$CPP $CPPFLAGS'
31668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31677 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31679 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31680 for ac_func in log10f
31681 do :
31682 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31683 if test "x$ac_cv_func_log10f" = x""yes; then :
31684 cat >>confdefs.h <<_ACEOF
31685 #define HAVE_LOG10F 1
31686 _ACEOF
31689 done
31691 else
31693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31694 $as_echo_n "checking for _log10f declaration... " >&6; }
31695 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31696 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31697 $as_echo_n "(cached) " >&6
31698 else
31701 ac_ext=cpp
31702 ac_cpp='$CXXCPP $CPPFLAGS'
31703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31708 /* end confdefs.h. */
31709 #include <math.h>
31710 #ifdef HAVE_IEEEFP_H
31711 #include <ieeefp.h>
31712 #endif
31715 main ()
31717 _log10f(0);
31719 return 0;
31721 _ACEOF
31722 if ac_fn_cxx_try_compile "$LINENO"; then :
31723 glibcxx_cv_func__log10f_use=yes
31724 else
31725 glibcxx_cv_func__log10f_use=no
31727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31728 ac_ext=c
31729 ac_cpp='$CPP $CPPFLAGS'
31730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31739 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31741 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31742 for ac_func in _log10f
31743 do :
31744 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31745 if test "x$ac_cv_func__log10f" = x""yes; then :
31746 cat >>confdefs.h <<_ACEOF
31747 #define HAVE__LOG10F 1
31748 _ACEOF
31751 done
31760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31761 $as_echo_n "checking for modff declaration... " >&6; }
31762 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31763 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31764 $as_echo_n "(cached) " >&6
31765 else
31768 ac_ext=cpp
31769 ac_cpp='$CXXCPP $CPPFLAGS'
31770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31775 /* end confdefs.h. */
31776 #include <math.h>
31778 main ()
31780 modff(0, 0);
31782 return 0;
31784 _ACEOF
31785 if ac_fn_cxx_try_compile "$LINENO"; then :
31786 glibcxx_cv_func_modff_use=yes
31787 else
31788 glibcxx_cv_func_modff_use=no
31790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31791 ac_ext=c
31792 ac_cpp='$CPP $CPPFLAGS'
31793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31802 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31804 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31805 for ac_func in modff
31806 do :
31807 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31808 if test "x$ac_cv_func_modff" = x""yes; then :
31809 cat >>confdefs.h <<_ACEOF
31810 #define HAVE_MODFF 1
31811 _ACEOF
31814 done
31816 else
31818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31819 $as_echo_n "checking for _modff declaration... " >&6; }
31820 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31821 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31822 $as_echo_n "(cached) " >&6
31823 else
31826 ac_ext=cpp
31827 ac_cpp='$CXXCPP $CPPFLAGS'
31828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31833 /* end confdefs.h. */
31834 #include <math.h>
31836 main ()
31838 _modff(0, 0);
31840 return 0;
31842 _ACEOF
31843 if ac_fn_cxx_try_compile "$LINENO"; then :
31844 glibcxx_cv_func__modff_use=yes
31845 else
31846 glibcxx_cv_func__modff_use=no
31848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31849 ac_ext=c
31850 ac_cpp='$CPP $CPPFLAGS'
31851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31860 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31862 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31863 for ac_func in _modff
31864 do :
31865 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31866 if test "x$ac_cv_func__modff" = x""yes; then :
31867 cat >>confdefs.h <<_ACEOF
31868 #define HAVE__MODFF 1
31869 _ACEOF
31872 done
31881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31882 $as_echo_n "checking for modf declaration... " >&6; }
31883 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31884 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31885 $as_echo_n "(cached) " >&6
31886 else
31889 ac_ext=cpp
31890 ac_cpp='$CXXCPP $CPPFLAGS'
31891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31896 /* end confdefs.h. */
31897 #include <math.h>
31899 main ()
31901 modf(0, 0);
31903 return 0;
31905 _ACEOF
31906 if ac_fn_cxx_try_compile "$LINENO"; then :
31907 glibcxx_cv_func_modf_use=yes
31908 else
31909 glibcxx_cv_func_modf_use=no
31911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31912 ac_ext=c
31913 ac_cpp='$CPP $CPPFLAGS'
31914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31923 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31925 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31926 for ac_func in modf
31927 do :
31928 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31929 if test "x$ac_cv_func_modf" = x""yes; then :
31930 cat >>confdefs.h <<_ACEOF
31931 #define HAVE_MODF 1
31932 _ACEOF
31935 done
31937 else
31939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31940 $as_echo_n "checking for _modf declaration... " >&6; }
31941 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31942 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31943 $as_echo_n "(cached) " >&6
31944 else
31947 ac_ext=cpp
31948 ac_cpp='$CXXCPP $CPPFLAGS'
31949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31954 /* end confdefs.h. */
31955 #include <math.h>
31957 main ()
31959 _modf(0, 0);
31961 return 0;
31963 _ACEOF
31964 if ac_fn_cxx_try_compile "$LINENO"; then :
31965 glibcxx_cv_func__modf_use=yes
31966 else
31967 glibcxx_cv_func__modf_use=no
31969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31970 ac_ext=c
31971 ac_cpp='$CPP $CPPFLAGS'
31972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31981 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31983 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31984 for ac_func in _modf
31985 do :
31986 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31987 if test "x$ac_cv_func__modf" = x""yes; then :
31988 cat >>confdefs.h <<_ACEOF
31989 #define HAVE__MODF 1
31990 _ACEOF
31993 done
32002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32003 $as_echo_n "checking for powf declaration... " >&6; }
32004 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32005 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32006 $as_echo_n "(cached) " >&6
32007 else
32010 ac_ext=cpp
32011 ac_cpp='$CXXCPP $CPPFLAGS'
32012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32017 /* end confdefs.h. */
32018 #include <math.h>
32020 main ()
32022 powf(0, 0);
32024 return 0;
32026 _ACEOF
32027 if ac_fn_cxx_try_compile "$LINENO"; then :
32028 glibcxx_cv_func_powf_use=yes
32029 else
32030 glibcxx_cv_func_powf_use=no
32032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32033 ac_ext=c
32034 ac_cpp='$CPP $CPPFLAGS'
32035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32044 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32046 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32047 for ac_func in powf
32048 do :
32049 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32050 if test "x$ac_cv_func_powf" = x""yes; then :
32051 cat >>confdefs.h <<_ACEOF
32052 #define HAVE_POWF 1
32053 _ACEOF
32056 done
32058 else
32060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32061 $as_echo_n "checking for _powf declaration... " >&6; }
32062 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32063 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32064 $as_echo_n "(cached) " >&6
32065 else
32068 ac_ext=cpp
32069 ac_cpp='$CXXCPP $CPPFLAGS'
32070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32075 /* end confdefs.h. */
32076 #include <math.h>
32078 main ()
32080 _powf(0, 0);
32082 return 0;
32084 _ACEOF
32085 if ac_fn_cxx_try_compile "$LINENO"; then :
32086 glibcxx_cv_func__powf_use=yes
32087 else
32088 glibcxx_cv_func__powf_use=no
32090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32091 ac_ext=c
32092 ac_cpp='$CPP $CPPFLAGS'
32093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32102 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32104 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32105 for ac_func in _powf
32106 do :
32107 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32108 if test "x$ac_cv_func__powf" = x""yes; then :
32109 cat >>confdefs.h <<_ACEOF
32110 #define HAVE__POWF 1
32111 _ACEOF
32114 done
32123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32124 $as_echo_n "checking for sqrtf declaration... " >&6; }
32125 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32126 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32127 $as_echo_n "(cached) " >&6
32128 else
32131 ac_ext=cpp
32132 ac_cpp='$CXXCPP $CPPFLAGS'
32133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32138 /* end confdefs.h. */
32139 #include <math.h>
32140 #ifdef HAVE_IEEEFP_H
32141 #include <ieeefp.h>
32142 #endif
32145 main ()
32147 sqrtf(0);
32149 return 0;
32151 _ACEOF
32152 if ac_fn_cxx_try_compile "$LINENO"; then :
32153 glibcxx_cv_func_sqrtf_use=yes
32154 else
32155 glibcxx_cv_func_sqrtf_use=no
32157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32158 ac_ext=c
32159 ac_cpp='$CPP $CPPFLAGS'
32160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32169 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32171 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32172 for ac_func in sqrtf
32173 do :
32174 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32175 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32176 cat >>confdefs.h <<_ACEOF
32177 #define HAVE_SQRTF 1
32178 _ACEOF
32181 done
32183 else
32185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32186 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32187 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32188 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32189 $as_echo_n "(cached) " >&6
32190 else
32193 ac_ext=cpp
32194 ac_cpp='$CXXCPP $CPPFLAGS'
32195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32200 /* end confdefs.h. */
32201 #include <math.h>
32202 #ifdef HAVE_IEEEFP_H
32203 #include <ieeefp.h>
32204 #endif
32207 main ()
32209 _sqrtf(0);
32211 return 0;
32213 _ACEOF
32214 if ac_fn_cxx_try_compile "$LINENO"; then :
32215 glibcxx_cv_func__sqrtf_use=yes
32216 else
32217 glibcxx_cv_func__sqrtf_use=no
32219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32220 ac_ext=c
32221 ac_cpp='$CPP $CPPFLAGS'
32222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32231 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32233 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32234 for ac_func in _sqrtf
32235 do :
32236 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32237 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32238 cat >>confdefs.h <<_ACEOF
32239 #define HAVE__SQRTF 1
32240 _ACEOF
32243 done
32252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32253 $as_echo_n "checking for sincosf declaration... " >&6; }
32254 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32255 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32256 $as_echo_n "(cached) " >&6
32257 else
32260 ac_ext=cpp
32261 ac_cpp='$CXXCPP $CPPFLAGS'
32262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32267 /* end confdefs.h. */
32268 #include <math.h>
32270 main ()
32272 sincosf(0, 0, 0);
32274 return 0;
32276 _ACEOF
32277 if ac_fn_cxx_try_compile "$LINENO"; then :
32278 glibcxx_cv_func_sincosf_use=yes
32279 else
32280 glibcxx_cv_func_sincosf_use=no
32282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32283 ac_ext=c
32284 ac_cpp='$CPP $CPPFLAGS'
32285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32294 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32296 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32297 for ac_func in sincosf
32298 do :
32299 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32300 if test "x$ac_cv_func_sincosf" = x""yes; then :
32301 cat >>confdefs.h <<_ACEOF
32302 #define HAVE_SINCOSF 1
32303 _ACEOF
32306 done
32308 else
32310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32311 $as_echo_n "checking for _sincosf declaration... " >&6; }
32312 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32313 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32314 $as_echo_n "(cached) " >&6
32315 else
32318 ac_ext=cpp
32319 ac_cpp='$CXXCPP $CPPFLAGS'
32320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32325 /* end confdefs.h. */
32326 #include <math.h>
32328 main ()
32330 _sincosf(0, 0, 0);
32332 return 0;
32334 _ACEOF
32335 if ac_fn_cxx_try_compile "$LINENO"; then :
32336 glibcxx_cv_func__sincosf_use=yes
32337 else
32338 glibcxx_cv_func__sincosf_use=no
32340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32341 ac_ext=c
32342 ac_cpp='$CPP $CPPFLAGS'
32343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32352 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32354 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32355 for ac_func in _sincosf
32356 do :
32357 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32358 if test "x$ac_cv_func__sincosf" = x""yes; then :
32359 cat >>confdefs.h <<_ACEOF
32360 #define HAVE__SINCOSF 1
32361 _ACEOF
32364 done
32373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32374 $as_echo_n "checking for finitef declaration... " >&6; }
32375 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32376 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32377 $as_echo_n "(cached) " >&6
32378 else
32381 ac_ext=cpp
32382 ac_cpp='$CXXCPP $CPPFLAGS'
32383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32388 /* end confdefs.h. */
32389 #include <math.h>
32390 #ifdef HAVE_IEEEFP_H
32391 #include <ieeefp.h>
32392 #endif
32395 main ()
32397 finitef(0);
32399 return 0;
32401 _ACEOF
32402 if ac_fn_cxx_try_compile "$LINENO"; then :
32403 glibcxx_cv_func_finitef_use=yes
32404 else
32405 glibcxx_cv_func_finitef_use=no
32407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32408 ac_ext=c
32409 ac_cpp='$CPP $CPPFLAGS'
32410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32419 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32421 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32422 for ac_func in finitef
32423 do :
32424 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32425 if test "x$ac_cv_func_finitef" = x""yes; then :
32426 cat >>confdefs.h <<_ACEOF
32427 #define HAVE_FINITEF 1
32428 _ACEOF
32431 done
32433 else
32435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32436 $as_echo_n "checking for _finitef declaration... " >&6; }
32437 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32438 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32439 $as_echo_n "(cached) " >&6
32440 else
32443 ac_ext=cpp
32444 ac_cpp='$CXXCPP $CPPFLAGS'
32445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32450 /* end confdefs.h. */
32451 #include <math.h>
32452 #ifdef HAVE_IEEEFP_H
32453 #include <ieeefp.h>
32454 #endif
32457 main ()
32459 _finitef(0);
32461 return 0;
32463 _ACEOF
32464 if ac_fn_cxx_try_compile "$LINENO"; then :
32465 glibcxx_cv_func__finitef_use=yes
32466 else
32467 glibcxx_cv_func__finitef_use=no
32469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32470 ac_ext=c
32471 ac_cpp='$CPP $CPPFLAGS'
32472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32481 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32483 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32484 for ac_func in _finitef
32485 do :
32486 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32487 if test "x$ac_cv_func__finitef" = x""yes; then :
32488 cat >>confdefs.h <<_ACEOF
32489 #define HAVE__FINITEF 1
32490 _ACEOF
32493 done
32502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32503 $as_echo_n "checking for long double trig functions... " >&6; }
32504 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32505 $as_echo_n "(cached) " >&6
32506 else
32509 ac_ext=cpp
32510 ac_cpp='$CXXCPP $CPPFLAGS'
32511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32516 /* end confdefs.h. */
32517 #include <math.h>
32519 main ()
32521 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32523 return 0;
32525 _ACEOF
32526 if ac_fn_cxx_try_compile "$LINENO"; then :
32527 glibcxx_cv_func_long_double_trig_use=yes
32528 else
32529 glibcxx_cv_func_long_double_trig_use=no
32531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32532 ac_ext=c
32533 ac_cpp='$CPP $CPPFLAGS'
32534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32541 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32542 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32543 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32544 do :
32545 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32546 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32547 eval as_val=\$$as_ac_var
32548 if test "x$as_val" = x""yes; then :
32549 cat >>confdefs.h <<_ACEOF
32550 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32551 _ACEOF
32554 done
32556 else
32557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32558 $as_echo_n "checking for _long double trig functions... " >&6; }
32559 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32560 $as_echo_n "(cached) " >&6
32561 else
32564 ac_ext=cpp
32565 ac_cpp='$CXXCPP $CPPFLAGS'
32566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32571 /* end confdefs.h. */
32572 #include <math.h>
32574 main ()
32576 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32578 return 0;
32580 _ACEOF
32581 if ac_fn_cxx_try_compile "$LINENO"; then :
32582 glibcxx_cv_func__long_double_trig_use=yes
32583 else
32584 glibcxx_cv_func__long_double_trig_use=no
32586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32587 ac_ext=c
32588 ac_cpp='$CPP $CPPFLAGS'
32589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32596 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32597 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32598 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32599 do :
32600 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32602 eval as_val=\$$as_ac_var
32603 if test "x$as_val" = x""yes; then :
32604 cat >>confdefs.h <<_ACEOF
32605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32606 _ACEOF
32609 done
32618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32619 $as_echo_n "checking for long double round functions... " >&6; }
32620 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32621 $as_echo_n "(cached) " >&6
32622 else
32625 ac_ext=cpp
32626 ac_cpp='$CXXCPP $CPPFLAGS'
32627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32632 /* end confdefs.h. */
32633 #include <math.h>
32635 main ()
32637 ceill (0); floorl (0);
32639 return 0;
32641 _ACEOF
32642 if ac_fn_cxx_try_compile "$LINENO"; then :
32643 glibcxx_cv_func_long_double_round_use=yes
32644 else
32645 glibcxx_cv_func_long_double_round_use=no
32647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32648 ac_ext=c
32649 ac_cpp='$CPP $CPPFLAGS'
32650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32657 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32658 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32659 for ac_func in ceill floorl
32660 do :
32661 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32662 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32663 eval as_val=\$$as_ac_var
32664 if test "x$as_val" = x""yes; then :
32665 cat >>confdefs.h <<_ACEOF
32666 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32667 _ACEOF
32670 done
32672 else
32673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32674 $as_echo_n "checking for _long double round functions... " >&6; }
32675 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32676 $as_echo_n "(cached) " >&6
32677 else
32680 ac_ext=cpp
32681 ac_cpp='$CXXCPP $CPPFLAGS'
32682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32687 /* end confdefs.h. */
32688 #include <math.h>
32690 main ()
32692 _ceill (0); _floorl (0);
32694 return 0;
32696 _ACEOF
32697 if ac_fn_cxx_try_compile "$LINENO"; then :
32698 glibcxx_cv_func__long_double_round_use=yes
32699 else
32700 glibcxx_cv_func__long_double_round_use=no
32702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32703 ac_ext=c
32704 ac_cpp='$CPP $CPPFLAGS'
32705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32712 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32713 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32714 for ac_func in _ceill _floorl
32715 do :
32716 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32717 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32718 eval as_val=\$$as_ac_var
32719 if test "x$as_val" = x""yes; then :
32720 cat >>confdefs.h <<_ACEOF
32721 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32722 _ACEOF
32725 done
32735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32736 $as_echo_n "checking for isnanl declaration... " >&6; }
32737 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32738 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32739 $as_echo_n "(cached) " >&6
32740 else
32743 ac_ext=cpp
32744 ac_cpp='$CXXCPP $CPPFLAGS'
32745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32750 /* end confdefs.h. */
32751 #include <math.h>
32752 #ifdef HAVE_IEEEFP_H
32753 #include <ieeefp.h>
32754 #endif
32757 main ()
32759 isnanl(0);
32761 return 0;
32763 _ACEOF
32764 if ac_fn_cxx_try_compile "$LINENO"; then :
32765 glibcxx_cv_func_isnanl_use=yes
32766 else
32767 glibcxx_cv_func_isnanl_use=no
32769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32770 ac_ext=c
32771 ac_cpp='$CPP $CPPFLAGS'
32772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32781 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32783 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32784 for ac_func in isnanl
32785 do :
32786 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32787 if test "x$ac_cv_func_isnanl" = x""yes; then :
32788 cat >>confdefs.h <<_ACEOF
32789 #define HAVE_ISNANL 1
32790 _ACEOF
32793 done
32795 else
32797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32798 $as_echo_n "checking for _isnanl declaration... " >&6; }
32799 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32800 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32801 $as_echo_n "(cached) " >&6
32802 else
32805 ac_ext=cpp
32806 ac_cpp='$CXXCPP $CPPFLAGS'
32807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32812 /* end confdefs.h. */
32813 #include <math.h>
32814 #ifdef HAVE_IEEEFP_H
32815 #include <ieeefp.h>
32816 #endif
32819 main ()
32821 _isnanl(0);
32823 return 0;
32825 _ACEOF
32826 if ac_fn_cxx_try_compile "$LINENO"; then :
32827 glibcxx_cv_func__isnanl_use=yes
32828 else
32829 glibcxx_cv_func__isnanl_use=no
32831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32832 ac_ext=c
32833 ac_cpp='$CPP $CPPFLAGS'
32834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32843 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32845 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32846 for ac_func in _isnanl
32847 do :
32848 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32849 if test "x$ac_cv_func__isnanl" = x""yes; then :
32850 cat >>confdefs.h <<_ACEOF
32851 #define HAVE__ISNANL 1
32852 _ACEOF
32855 done
32864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32865 $as_echo_n "checking for isinfl declaration... " >&6; }
32866 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32867 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32868 $as_echo_n "(cached) " >&6
32869 else
32872 ac_ext=cpp
32873 ac_cpp='$CXXCPP $CPPFLAGS'
32874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32879 /* end confdefs.h. */
32880 #include <math.h>
32881 #ifdef HAVE_IEEEFP_H
32882 #include <ieeefp.h>
32883 #endif
32886 main ()
32888 isinfl(0);
32890 return 0;
32892 _ACEOF
32893 if ac_fn_cxx_try_compile "$LINENO"; then :
32894 glibcxx_cv_func_isinfl_use=yes
32895 else
32896 glibcxx_cv_func_isinfl_use=no
32898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32899 ac_ext=c
32900 ac_cpp='$CPP $CPPFLAGS'
32901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32910 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32912 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32913 for ac_func in isinfl
32914 do :
32915 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32916 if test "x$ac_cv_func_isinfl" = x""yes; then :
32917 cat >>confdefs.h <<_ACEOF
32918 #define HAVE_ISINFL 1
32919 _ACEOF
32922 done
32924 else
32926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32927 $as_echo_n "checking for _isinfl declaration... " >&6; }
32928 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32929 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32930 $as_echo_n "(cached) " >&6
32931 else
32934 ac_ext=cpp
32935 ac_cpp='$CXXCPP $CPPFLAGS'
32936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32941 /* end confdefs.h. */
32942 #include <math.h>
32943 #ifdef HAVE_IEEEFP_H
32944 #include <ieeefp.h>
32945 #endif
32948 main ()
32950 _isinfl(0);
32952 return 0;
32954 _ACEOF
32955 if ac_fn_cxx_try_compile "$LINENO"; then :
32956 glibcxx_cv_func__isinfl_use=yes
32957 else
32958 glibcxx_cv_func__isinfl_use=no
32960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32961 ac_ext=c
32962 ac_cpp='$CPP $CPPFLAGS'
32963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32972 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32974 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32975 for ac_func in _isinfl
32976 do :
32977 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32978 if test "x$ac_cv_func__isinfl" = x""yes; then :
32979 cat >>confdefs.h <<_ACEOF
32980 #define HAVE__ISINFL 1
32981 _ACEOF
32984 done
32993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32994 $as_echo_n "checking for atan2l declaration... " >&6; }
32995 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
32996 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
32997 $as_echo_n "(cached) " >&6
32998 else
33001 ac_ext=cpp
33002 ac_cpp='$CXXCPP $CPPFLAGS'
33003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33008 /* end confdefs.h. */
33009 #include <math.h>
33011 main ()
33013 atan2l(0, 0);
33015 return 0;
33017 _ACEOF
33018 if ac_fn_cxx_try_compile "$LINENO"; then :
33019 glibcxx_cv_func_atan2l_use=yes
33020 else
33021 glibcxx_cv_func_atan2l_use=no
33023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33024 ac_ext=c
33025 ac_cpp='$CPP $CPPFLAGS'
33026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33035 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33037 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33038 for ac_func in atan2l
33039 do :
33040 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33041 if test "x$ac_cv_func_atan2l" = x""yes; then :
33042 cat >>confdefs.h <<_ACEOF
33043 #define HAVE_ATAN2L 1
33044 _ACEOF
33047 done
33049 else
33051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33052 $as_echo_n "checking for _atan2l declaration... " >&6; }
33053 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33054 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33055 $as_echo_n "(cached) " >&6
33056 else
33059 ac_ext=cpp
33060 ac_cpp='$CXXCPP $CPPFLAGS'
33061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33066 /* end confdefs.h. */
33067 #include <math.h>
33069 main ()
33071 _atan2l(0, 0);
33073 return 0;
33075 _ACEOF
33076 if ac_fn_cxx_try_compile "$LINENO"; then :
33077 glibcxx_cv_func__atan2l_use=yes
33078 else
33079 glibcxx_cv_func__atan2l_use=no
33081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33082 ac_ext=c
33083 ac_cpp='$CPP $CPPFLAGS'
33084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33093 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33095 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33096 for ac_func in _atan2l
33097 do :
33098 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33099 if test "x$ac_cv_func__atan2l" = x""yes; then :
33100 cat >>confdefs.h <<_ACEOF
33101 #define HAVE__ATAN2L 1
33102 _ACEOF
33105 done
33114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33115 $as_echo_n "checking for expl declaration... " >&6; }
33116 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33117 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33118 $as_echo_n "(cached) " >&6
33119 else
33122 ac_ext=cpp
33123 ac_cpp='$CXXCPP $CPPFLAGS'
33124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33129 /* end confdefs.h. */
33130 #include <math.h>
33131 #ifdef HAVE_IEEEFP_H
33132 #include <ieeefp.h>
33133 #endif
33136 main ()
33138 expl(0);
33140 return 0;
33142 _ACEOF
33143 if ac_fn_cxx_try_compile "$LINENO"; then :
33144 glibcxx_cv_func_expl_use=yes
33145 else
33146 glibcxx_cv_func_expl_use=no
33148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33149 ac_ext=c
33150 ac_cpp='$CPP $CPPFLAGS'
33151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33160 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33162 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33163 for ac_func in expl
33164 do :
33165 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33166 if test "x$ac_cv_func_expl" = x""yes; then :
33167 cat >>confdefs.h <<_ACEOF
33168 #define HAVE_EXPL 1
33169 _ACEOF
33172 done
33174 else
33176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33177 $as_echo_n "checking for _expl declaration... " >&6; }
33178 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33179 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33180 $as_echo_n "(cached) " >&6
33181 else
33184 ac_ext=cpp
33185 ac_cpp='$CXXCPP $CPPFLAGS'
33186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33191 /* end confdefs.h. */
33192 #include <math.h>
33193 #ifdef HAVE_IEEEFP_H
33194 #include <ieeefp.h>
33195 #endif
33198 main ()
33200 _expl(0);
33202 return 0;
33204 _ACEOF
33205 if ac_fn_cxx_try_compile "$LINENO"; then :
33206 glibcxx_cv_func__expl_use=yes
33207 else
33208 glibcxx_cv_func__expl_use=no
33210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33211 ac_ext=c
33212 ac_cpp='$CPP $CPPFLAGS'
33213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33222 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33224 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33225 for ac_func in _expl
33226 do :
33227 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33228 if test "x$ac_cv_func__expl" = x""yes; then :
33229 cat >>confdefs.h <<_ACEOF
33230 #define HAVE__EXPL 1
33231 _ACEOF
33234 done
33243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33244 $as_echo_n "checking for fabsl declaration... " >&6; }
33245 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33246 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33247 $as_echo_n "(cached) " >&6
33248 else
33251 ac_ext=cpp
33252 ac_cpp='$CXXCPP $CPPFLAGS'
33253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33258 /* end confdefs.h. */
33259 #include <math.h>
33260 #ifdef HAVE_IEEEFP_H
33261 #include <ieeefp.h>
33262 #endif
33265 main ()
33267 fabsl(0);
33269 return 0;
33271 _ACEOF
33272 if ac_fn_cxx_try_compile "$LINENO"; then :
33273 glibcxx_cv_func_fabsl_use=yes
33274 else
33275 glibcxx_cv_func_fabsl_use=no
33277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33278 ac_ext=c
33279 ac_cpp='$CPP $CPPFLAGS'
33280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33289 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33291 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33292 for ac_func in fabsl
33293 do :
33294 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33295 if test "x$ac_cv_func_fabsl" = x""yes; then :
33296 cat >>confdefs.h <<_ACEOF
33297 #define HAVE_FABSL 1
33298 _ACEOF
33301 done
33303 else
33305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33306 $as_echo_n "checking for _fabsl declaration... " >&6; }
33307 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33308 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33309 $as_echo_n "(cached) " >&6
33310 else
33313 ac_ext=cpp
33314 ac_cpp='$CXXCPP $CPPFLAGS'
33315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33320 /* end confdefs.h. */
33321 #include <math.h>
33322 #ifdef HAVE_IEEEFP_H
33323 #include <ieeefp.h>
33324 #endif
33327 main ()
33329 _fabsl(0);
33331 return 0;
33333 _ACEOF
33334 if ac_fn_cxx_try_compile "$LINENO"; then :
33335 glibcxx_cv_func__fabsl_use=yes
33336 else
33337 glibcxx_cv_func__fabsl_use=no
33339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33340 ac_ext=c
33341 ac_cpp='$CPP $CPPFLAGS'
33342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33351 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33353 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33354 for ac_func in _fabsl
33355 do :
33356 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33357 if test "x$ac_cv_func__fabsl" = x""yes; then :
33358 cat >>confdefs.h <<_ACEOF
33359 #define HAVE__FABSL 1
33360 _ACEOF
33363 done
33372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33373 $as_echo_n "checking for fmodl declaration... " >&6; }
33374 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33375 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33376 $as_echo_n "(cached) " >&6
33377 else
33380 ac_ext=cpp
33381 ac_cpp='$CXXCPP $CPPFLAGS'
33382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33387 /* end confdefs.h. */
33388 #include <math.h>
33390 main ()
33392 fmodl(0, 0);
33394 return 0;
33396 _ACEOF
33397 if ac_fn_cxx_try_compile "$LINENO"; then :
33398 glibcxx_cv_func_fmodl_use=yes
33399 else
33400 glibcxx_cv_func_fmodl_use=no
33402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33403 ac_ext=c
33404 ac_cpp='$CPP $CPPFLAGS'
33405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33414 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33416 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33417 for ac_func in fmodl
33418 do :
33419 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33420 if test "x$ac_cv_func_fmodl" = x""yes; then :
33421 cat >>confdefs.h <<_ACEOF
33422 #define HAVE_FMODL 1
33423 _ACEOF
33426 done
33428 else
33430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33431 $as_echo_n "checking for _fmodl declaration... " >&6; }
33432 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33433 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33434 $as_echo_n "(cached) " >&6
33435 else
33438 ac_ext=cpp
33439 ac_cpp='$CXXCPP $CPPFLAGS'
33440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33445 /* end confdefs.h. */
33446 #include <math.h>
33448 main ()
33450 _fmodl(0, 0);
33452 return 0;
33454 _ACEOF
33455 if ac_fn_cxx_try_compile "$LINENO"; then :
33456 glibcxx_cv_func__fmodl_use=yes
33457 else
33458 glibcxx_cv_func__fmodl_use=no
33460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33461 ac_ext=c
33462 ac_cpp='$CPP $CPPFLAGS'
33463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33472 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33474 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33475 for ac_func in _fmodl
33476 do :
33477 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33478 if test "x$ac_cv_func__fmodl" = x""yes; then :
33479 cat >>confdefs.h <<_ACEOF
33480 #define HAVE__FMODL 1
33481 _ACEOF
33484 done
33493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33494 $as_echo_n "checking for frexpl declaration... " >&6; }
33495 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33496 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33497 $as_echo_n "(cached) " >&6
33498 else
33501 ac_ext=cpp
33502 ac_cpp='$CXXCPP $CPPFLAGS'
33503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33508 /* end confdefs.h. */
33509 #include <math.h>
33511 main ()
33513 frexpl(0, 0);
33515 return 0;
33517 _ACEOF
33518 if ac_fn_cxx_try_compile "$LINENO"; then :
33519 glibcxx_cv_func_frexpl_use=yes
33520 else
33521 glibcxx_cv_func_frexpl_use=no
33523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33524 ac_ext=c
33525 ac_cpp='$CPP $CPPFLAGS'
33526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33535 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33537 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33538 for ac_func in frexpl
33539 do :
33540 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33541 if test "x$ac_cv_func_frexpl" = x""yes; then :
33542 cat >>confdefs.h <<_ACEOF
33543 #define HAVE_FREXPL 1
33544 _ACEOF
33547 done
33549 else
33551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33552 $as_echo_n "checking for _frexpl declaration... " >&6; }
33553 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33554 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33555 $as_echo_n "(cached) " >&6
33556 else
33559 ac_ext=cpp
33560 ac_cpp='$CXXCPP $CPPFLAGS'
33561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33566 /* end confdefs.h. */
33567 #include <math.h>
33569 main ()
33571 _frexpl(0, 0);
33573 return 0;
33575 _ACEOF
33576 if ac_fn_cxx_try_compile "$LINENO"; then :
33577 glibcxx_cv_func__frexpl_use=yes
33578 else
33579 glibcxx_cv_func__frexpl_use=no
33581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33582 ac_ext=c
33583 ac_cpp='$CPP $CPPFLAGS'
33584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33593 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33595 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33596 for ac_func in _frexpl
33597 do :
33598 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33599 if test "x$ac_cv_func__frexpl" = x""yes; then :
33600 cat >>confdefs.h <<_ACEOF
33601 #define HAVE__FREXPL 1
33602 _ACEOF
33605 done
33614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33615 $as_echo_n "checking for hypotl declaration... " >&6; }
33616 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33617 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33618 $as_echo_n "(cached) " >&6
33619 else
33622 ac_ext=cpp
33623 ac_cpp='$CXXCPP $CPPFLAGS'
33624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33629 /* end confdefs.h. */
33630 #include <math.h>
33632 main ()
33634 hypotl(0, 0);
33636 return 0;
33638 _ACEOF
33639 if ac_fn_cxx_try_compile "$LINENO"; then :
33640 glibcxx_cv_func_hypotl_use=yes
33641 else
33642 glibcxx_cv_func_hypotl_use=no
33644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33645 ac_ext=c
33646 ac_cpp='$CPP $CPPFLAGS'
33647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33656 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33658 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33659 for ac_func in hypotl
33660 do :
33661 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33662 if test "x$ac_cv_func_hypotl" = x""yes; then :
33663 cat >>confdefs.h <<_ACEOF
33664 #define HAVE_HYPOTL 1
33665 _ACEOF
33668 done
33670 else
33672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33673 $as_echo_n "checking for _hypotl declaration... " >&6; }
33674 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33675 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33676 $as_echo_n "(cached) " >&6
33677 else
33680 ac_ext=cpp
33681 ac_cpp='$CXXCPP $CPPFLAGS'
33682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33687 /* end confdefs.h. */
33688 #include <math.h>
33690 main ()
33692 _hypotl(0, 0);
33694 return 0;
33696 _ACEOF
33697 if ac_fn_cxx_try_compile "$LINENO"; then :
33698 glibcxx_cv_func__hypotl_use=yes
33699 else
33700 glibcxx_cv_func__hypotl_use=no
33702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33703 ac_ext=c
33704 ac_cpp='$CPP $CPPFLAGS'
33705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33714 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33716 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33717 for ac_func in _hypotl
33718 do :
33719 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33720 if test "x$ac_cv_func__hypotl" = x""yes; then :
33721 cat >>confdefs.h <<_ACEOF
33722 #define HAVE__HYPOTL 1
33723 _ACEOF
33726 done
33735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33736 $as_echo_n "checking for ldexpl declaration... " >&6; }
33737 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33738 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33739 $as_echo_n "(cached) " >&6
33740 else
33743 ac_ext=cpp
33744 ac_cpp='$CXXCPP $CPPFLAGS'
33745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33750 /* end confdefs.h. */
33751 #include <math.h>
33753 main ()
33755 ldexpl(0, 0);
33757 return 0;
33759 _ACEOF
33760 if ac_fn_cxx_try_compile "$LINENO"; then :
33761 glibcxx_cv_func_ldexpl_use=yes
33762 else
33763 glibcxx_cv_func_ldexpl_use=no
33765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33766 ac_ext=c
33767 ac_cpp='$CPP $CPPFLAGS'
33768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33777 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33779 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33780 for ac_func in ldexpl
33781 do :
33782 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33783 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33784 cat >>confdefs.h <<_ACEOF
33785 #define HAVE_LDEXPL 1
33786 _ACEOF
33789 done
33791 else
33793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33794 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33795 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33796 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33797 $as_echo_n "(cached) " >&6
33798 else
33801 ac_ext=cpp
33802 ac_cpp='$CXXCPP $CPPFLAGS'
33803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33808 /* end confdefs.h. */
33809 #include <math.h>
33811 main ()
33813 _ldexpl(0, 0);
33815 return 0;
33817 _ACEOF
33818 if ac_fn_cxx_try_compile "$LINENO"; then :
33819 glibcxx_cv_func__ldexpl_use=yes
33820 else
33821 glibcxx_cv_func__ldexpl_use=no
33823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33824 ac_ext=c
33825 ac_cpp='$CPP $CPPFLAGS'
33826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33835 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33837 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33838 for ac_func in _ldexpl
33839 do :
33840 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33841 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33842 cat >>confdefs.h <<_ACEOF
33843 #define HAVE__LDEXPL 1
33844 _ACEOF
33847 done
33856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33857 $as_echo_n "checking for logl declaration... " >&6; }
33858 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33859 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33860 $as_echo_n "(cached) " >&6
33861 else
33864 ac_ext=cpp
33865 ac_cpp='$CXXCPP $CPPFLAGS'
33866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33871 /* end confdefs.h. */
33872 #include <math.h>
33873 #ifdef HAVE_IEEEFP_H
33874 #include <ieeefp.h>
33875 #endif
33878 main ()
33880 logl(0);
33882 return 0;
33884 _ACEOF
33885 if ac_fn_cxx_try_compile "$LINENO"; then :
33886 glibcxx_cv_func_logl_use=yes
33887 else
33888 glibcxx_cv_func_logl_use=no
33890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33891 ac_ext=c
33892 ac_cpp='$CPP $CPPFLAGS'
33893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33902 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33904 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33905 for ac_func in logl
33906 do :
33907 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33908 if test "x$ac_cv_func_logl" = x""yes; then :
33909 cat >>confdefs.h <<_ACEOF
33910 #define HAVE_LOGL 1
33911 _ACEOF
33914 done
33916 else
33918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33919 $as_echo_n "checking for _logl declaration... " >&6; }
33920 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33921 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33922 $as_echo_n "(cached) " >&6
33923 else
33926 ac_ext=cpp
33927 ac_cpp='$CXXCPP $CPPFLAGS'
33928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33933 /* end confdefs.h. */
33934 #include <math.h>
33935 #ifdef HAVE_IEEEFP_H
33936 #include <ieeefp.h>
33937 #endif
33940 main ()
33942 _logl(0);
33944 return 0;
33946 _ACEOF
33947 if ac_fn_cxx_try_compile "$LINENO"; then :
33948 glibcxx_cv_func__logl_use=yes
33949 else
33950 glibcxx_cv_func__logl_use=no
33952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33953 ac_ext=c
33954 ac_cpp='$CPP $CPPFLAGS'
33955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33964 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33966 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33967 for ac_func in _logl
33968 do :
33969 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33970 if test "x$ac_cv_func__logl" = x""yes; then :
33971 cat >>confdefs.h <<_ACEOF
33972 #define HAVE__LOGL 1
33973 _ACEOF
33976 done
33985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33986 $as_echo_n "checking for log10l declaration... " >&6; }
33987 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33988 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33989 $as_echo_n "(cached) " >&6
33990 else
33993 ac_ext=cpp
33994 ac_cpp='$CXXCPP $CPPFLAGS'
33995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34000 /* end confdefs.h. */
34001 #include <math.h>
34002 #ifdef HAVE_IEEEFP_H
34003 #include <ieeefp.h>
34004 #endif
34007 main ()
34009 log10l(0);
34011 return 0;
34013 _ACEOF
34014 if ac_fn_cxx_try_compile "$LINENO"; then :
34015 glibcxx_cv_func_log10l_use=yes
34016 else
34017 glibcxx_cv_func_log10l_use=no
34019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34020 ac_ext=c
34021 ac_cpp='$CPP $CPPFLAGS'
34022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34031 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34033 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34034 for ac_func in log10l
34035 do :
34036 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34037 if test "x$ac_cv_func_log10l" = x""yes; then :
34038 cat >>confdefs.h <<_ACEOF
34039 #define HAVE_LOG10L 1
34040 _ACEOF
34043 done
34045 else
34047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34048 $as_echo_n "checking for _log10l declaration... " >&6; }
34049 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34050 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34051 $as_echo_n "(cached) " >&6
34052 else
34055 ac_ext=cpp
34056 ac_cpp='$CXXCPP $CPPFLAGS'
34057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34062 /* end confdefs.h. */
34063 #include <math.h>
34064 #ifdef HAVE_IEEEFP_H
34065 #include <ieeefp.h>
34066 #endif
34069 main ()
34071 _log10l(0);
34073 return 0;
34075 _ACEOF
34076 if ac_fn_cxx_try_compile "$LINENO"; then :
34077 glibcxx_cv_func__log10l_use=yes
34078 else
34079 glibcxx_cv_func__log10l_use=no
34081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34082 ac_ext=c
34083 ac_cpp='$CPP $CPPFLAGS'
34084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34093 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34095 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34096 for ac_func in _log10l
34097 do :
34098 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34099 if test "x$ac_cv_func__log10l" = x""yes; then :
34100 cat >>confdefs.h <<_ACEOF
34101 #define HAVE__LOG10L 1
34102 _ACEOF
34105 done
34114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34115 $as_echo_n "checking for modfl declaration... " >&6; }
34116 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34117 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34118 $as_echo_n "(cached) " >&6
34119 else
34122 ac_ext=cpp
34123 ac_cpp='$CXXCPP $CPPFLAGS'
34124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34129 /* end confdefs.h. */
34130 #include <math.h>
34132 main ()
34134 modfl(0, 0);
34136 return 0;
34138 _ACEOF
34139 if ac_fn_cxx_try_compile "$LINENO"; then :
34140 glibcxx_cv_func_modfl_use=yes
34141 else
34142 glibcxx_cv_func_modfl_use=no
34144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34145 ac_ext=c
34146 ac_cpp='$CPP $CPPFLAGS'
34147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34156 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34158 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34159 for ac_func in modfl
34160 do :
34161 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34162 if test "x$ac_cv_func_modfl" = x""yes; then :
34163 cat >>confdefs.h <<_ACEOF
34164 #define HAVE_MODFL 1
34165 _ACEOF
34168 done
34170 else
34172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34173 $as_echo_n "checking for _modfl declaration... " >&6; }
34174 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34175 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34176 $as_echo_n "(cached) " >&6
34177 else
34180 ac_ext=cpp
34181 ac_cpp='$CXXCPP $CPPFLAGS'
34182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34187 /* end confdefs.h. */
34188 #include <math.h>
34190 main ()
34192 _modfl(0, 0);
34194 return 0;
34196 _ACEOF
34197 if ac_fn_cxx_try_compile "$LINENO"; then :
34198 glibcxx_cv_func__modfl_use=yes
34199 else
34200 glibcxx_cv_func__modfl_use=no
34202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34203 ac_ext=c
34204 ac_cpp='$CPP $CPPFLAGS'
34205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34214 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34216 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34217 for ac_func in _modfl
34218 do :
34219 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34220 if test "x$ac_cv_func__modfl" = x""yes; then :
34221 cat >>confdefs.h <<_ACEOF
34222 #define HAVE__MODFL 1
34223 _ACEOF
34226 done
34235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34236 $as_echo_n "checking for powl declaration... " >&6; }
34237 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34238 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34239 $as_echo_n "(cached) " >&6
34240 else
34243 ac_ext=cpp
34244 ac_cpp='$CXXCPP $CPPFLAGS'
34245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34250 /* end confdefs.h. */
34251 #include <math.h>
34253 main ()
34255 powl(0, 0);
34257 return 0;
34259 _ACEOF
34260 if ac_fn_cxx_try_compile "$LINENO"; then :
34261 glibcxx_cv_func_powl_use=yes
34262 else
34263 glibcxx_cv_func_powl_use=no
34265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34266 ac_ext=c
34267 ac_cpp='$CPP $CPPFLAGS'
34268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34277 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34279 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34280 for ac_func in powl
34281 do :
34282 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34283 if test "x$ac_cv_func_powl" = x""yes; then :
34284 cat >>confdefs.h <<_ACEOF
34285 #define HAVE_POWL 1
34286 _ACEOF
34289 done
34291 else
34293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34294 $as_echo_n "checking for _powl declaration... " >&6; }
34295 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34296 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34297 $as_echo_n "(cached) " >&6
34298 else
34301 ac_ext=cpp
34302 ac_cpp='$CXXCPP $CPPFLAGS'
34303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34308 /* end confdefs.h. */
34309 #include <math.h>
34311 main ()
34313 _powl(0, 0);
34315 return 0;
34317 _ACEOF
34318 if ac_fn_cxx_try_compile "$LINENO"; then :
34319 glibcxx_cv_func__powl_use=yes
34320 else
34321 glibcxx_cv_func__powl_use=no
34323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34324 ac_ext=c
34325 ac_cpp='$CPP $CPPFLAGS'
34326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34335 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34337 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34338 for ac_func in _powl
34339 do :
34340 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34341 if test "x$ac_cv_func__powl" = x""yes; then :
34342 cat >>confdefs.h <<_ACEOF
34343 #define HAVE__POWL 1
34344 _ACEOF
34347 done
34356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34357 $as_echo_n "checking for sqrtl declaration... " >&6; }
34358 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34359 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34360 $as_echo_n "(cached) " >&6
34361 else
34364 ac_ext=cpp
34365 ac_cpp='$CXXCPP $CPPFLAGS'
34366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34371 /* end confdefs.h. */
34372 #include <math.h>
34373 #ifdef HAVE_IEEEFP_H
34374 #include <ieeefp.h>
34375 #endif
34378 main ()
34380 sqrtl(0);
34382 return 0;
34384 _ACEOF
34385 if ac_fn_cxx_try_compile "$LINENO"; then :
34386 glibcxx_cv_func_sqrtl_use=yes
34387 else
34388 glibcxx_cv_func_sqrtl_use=no
34390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34391 ac_ext=c
34392 ac_cpp='$CPP $CPPFLAGS'
34393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34402 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34404 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34405 for ac_func in sqrtl
34406 do :
34407 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34408 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34409 cat >>confdefs.h <<_ACEOF
34410 #define HAVE_SQRTL 1
34411 _ACEOF
34414 done
34416 else
34418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34419 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34420 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34421 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34422 $as_echo_n "(cached) " >&6
34423 else
34426 ac_ext=cpp
34427 ac_cpp='$CXXCPP $CPPFLAGS'
34428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34433 /* end confdefs.h. */
34434 #include <math.h>
34435 #ifdef HAVE_IEEEFP_H
34436 #include <ieeefp.h>
34437 #endif
34440 main ()
34442 _sqrtl(0);
34444 return 0;
34446 _ACEOF
34447 if ac_fn_cxx_try_compile "$LINENO"; then :
34448 glibcxx_cv_func__sqrtl_use=yes
34449 else
34450 glibcxx_cv_func__sqrtl_use=no
34452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34453 ac_ext=c
34454 ac_cpp='$CPP $CPPFLAGS'
34455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34464 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34466 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34467 for ac_func in _sqrtl
34468 do :
34469 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34470 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34471 cat >>confdefs.h <<_ACEOF
34472 #define HAVE__SQRTL 1
34473 _ACEOF
34476 done
34485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34486 $as_echo_n "checking for sincosl declaration... " >&6; }
34487 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34488 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34489 $as_echo_n "(cached) " >&6
34490 else
34493 ac_ext=cpp
34494 ac_cpp='$CXXCPP $CPPFLAGS'
34495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34500 /* end confdefs.h. */
34501 #include <math.h>
34503 main ()
34505 sincosl(0, 0, 0);
34507 return 0;
34509 _ACEOF
34510 if ac_fn_cxx_try_compile "$LINENO"; then :
34511 glibcxx_cv_func_sincosl_use=yes
34512 else
34513 glibcxx_cv_func_sincosl_use=no
34515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34516 ac_ext=c
34517 ac_cpp='$CPP $CPPFLAGS'
34518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34527 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34529 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34530 for ac_func in sincosl
34531 do :
34532 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34533 if test "x$ac_cv_func_sincosl" = x""yes; then :
34534 cat >>confdefs.h <<_ACEOF
34535 #define HAVE_SINCOSL 1
34536 _ACEOF
34539 done
34541 else
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34544 $as_echo_n "checking for _sincosl declaration... " >&6; }
34545 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34546 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34547 $as_echo_n "(cached) " >&6
34548 else
34551 ac_ext=cpp
34552 ac_cpp='$CXXCPP $CPPFLAGS'
34553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34558 /* end confdefs.h. */
34559 #include <math.h>
34561 main ()
34563 _sincosl(0, 0, 0);
34565 return 0;
34567 _ACEOF
34568 if ac_fn_cxx_try_compile "$LINENO"; then :
34569 glibcxx_cv_func__sincosl_use=yes
34570 else
34571 glibcxx_cv_func__sincosl_use=no
34573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34574 ac_ext=c
34575 ac_cpp='$CPP $CPPFLAGS'
34576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34585 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34587 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34588 for ac_func in _sincosl
34589 do :
34590 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34591 if test "x$ac_cv_func__sincosl" = x""yes; then :
34592 cat >>confdefs.h <<_ACEOF
34593 #define HAVE__SINCOSL 1
34594 _ACEOF
34597 done
34606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34607 $as_echo_n "checking for finitel declaration... " >&6; }
34608 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34609 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34610 $as_echo_n "(cached) " >&6
34611 else
34614 ac_ext=cpp
34615 ac_cpp='$CXXCPP $CPPFLAGS'
34616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34621 /* end confdefs.h. */
34622 #include <math.h>
34623 #ifdef HAVE_IEEEFP_H
34624 #include <ieeefp.h>
34625 #endif
34628 main ()
34630 finitel(0);
34632 return 0;
34634 _ACEOF
34635 if ac_fn_cxx_try_compile "$LINENO"; then :
34636 glibcxx_cv_func_finitel_use=yes
34637 else
34638 glibcxx_cv_func_finitel_use=no
34640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34641 ac_ext=c
34642 ac_cpp='$CPP $CPPFLAGS'
34643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34652 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34654 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34655 for ac_func in finitel
34656 do :
34657 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34658 if test "x$ac_cv_func_finitel" = x""yes; then :
34659 cat >>confdefs.h <<_ACEOF
34660 #define HAVE_FINITEL 1
34661 _ACEOF
34664 done
34666 else
34668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34669 $as_echo_n "checking for _finitel declaration... " >&6; }
34670 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34671 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34672 $as_echo_n "(cached) " >&6
34673 else
34676 ac_ext=cpp
34677 ac_cpp='$CXXCPP $CPPFLAGS'
34678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34683 /* end confdefs.h. */
34684 #include <math.h>
34685 #ifdef HAVE_IEEEFP_H
34686 #include <ieeefp.h>
34687 #endif
34690 main ()
34692 _finitel(0);
34694 return 0;
34696 _ACEOF
34697 if ac_fn_cxx_try_compile "$LINENO"; then :
34698 glibcxx_cv_func__finitel_use=yes
34699 else
34700 glibcxx_cv_func__finitel_use=no
34702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34703 ac_ext=c
34704 ac_cpp='$CPP $CPPFLAGS'
34705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34714 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34716 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34717 for ac_func in _finitel
34718 do :
34719 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34720 if test "x$ac_cv_func__finitel" = x""yes; then :
34721 cat >>confdefs.h <<_ACEOF
34722 #define HAVE__FINITEL 1
34723 _ACEOF
34726 done
34734 LIBS="$ac_save_LIBS"
34735 CXXFLAGS="$ac_save_CXXFLAGS"
34738 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34739 ac_save_CXXFLAGS="$CXXFLAGS"
34740 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34744 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34745 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34746 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34747 $as_echo_n "(cached) " >&6
34748 else
34751 ac_ext=cpp
34752 ac_cpp='$CXXCPP $CPPFLAGS'
34753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34758 /* end confdefs.h. */
34759 #include <stdlib.h>
34761 main ()
34763 at_quick_exit(0);
34765 return 0;
34767 _ACEOF
34768 if ac_fn_cxx_try_compile "$LINENO"; then :
34769 glibcxx_cv_func_at_quick_exit_use=yes
34770 else
34771 glibcxx_cv_func_at_quick_exit_use=no
34773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34774 ac_ext=c
34775 ac_cpp='$CPP $CPPFLAGS'
34776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34785 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34786 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34787 for ac_func in at_quick_exit
34788 do :
34789 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34790 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34791 cat >>confdefs.h <<_ACEOF
34792 #define HAVE_AT_QUICK_EXIT 1
34793 _ACEOF
34796 done
34801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34802 $as_echo_n "checking for quick_exit declaration... " >&6; }
34803 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34804 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34805 $as_echo_n "(cached) " >&6
34806 else
34809 ac_ext=cpp
34810 ac_cpp='$CXXCPP $CPPFLAGS'
34811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34816 /* end confdefs.h. */
34817 #include <stdlib.h>
34819 main ()
34821 quick_exit(0);
34823 return 0;
34825 _ACEOF
34826 if ac_fn_cxx_try_compile "$LINENO"; then :
34827 glibcxx_cv_func_quick_exit_use=yes
34828 else
34829 glibcxx_cv_func_quick_exit_use=no
34831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34832 ac_ext=c
34833 ac_cpp='$CPP $CPPFLAGS'
34834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34843 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34844 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34845 for ac_func in quick_exit
34846 do :
34847 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34848 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34849 cat >>confdefs.h <<_ACEOF
34850 #define HAVE_QUICK_EXIT 1
34851 _ACEOF
34854 done
34859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34860 $as_echo_n "checking for strtold declaration... " >&6; }
34861 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34862 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34863 $as_echo_n "(cached) " >&6
34864 else
34867 ac_ext=cpp
34868 ac_cpp='$CXXCPP $CPPFLAGS'
34869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34874 /* end confdefs.h. */
34875 #include <stdlib.h>
34877 main ()
34879 strtold(0, 0);
34881 return 0;
34883 _ACEOF
34884 if ac_fn_cxx_try_compile "$LINENO"; then :
34885 glibcxx_cv_func_strtold_use=yes
34886 else
34887 glibcxx_cv_func_strtold_use=no
34889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34890 ac_ext=c
34891 ac_cpp='$CPP $CPPFLAGS'
34892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34901 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34902 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34903 for ac_func in strtold
34904 do :
34905 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34906 if test "x$ac_cv_func_strtold" = x""yes; then :
34907 cat >>confdefs.h <<_ACEOF
34908 #define HAVE_STRTOLD 1
34909 _ACEOF
34912 done
34919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34920 $as_echo_n "checking for strtof declaration... " >&6; }
34921 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34922 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34923 $as_echo_n "(cached) " >&6
34924 else
34927 ac_ext=cpp
34928 ac_cpp='$CXXCPP $CPPFLAGS'
34929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34934 /* end confdefs.h. */
34935 #include <stdlib.h>
34937 main ()
34939 strtof(0, 0);
34941 return 0;
34943 _ACEOF
34944 if ac_fn_cxx_try_compile "$LINENO"; then :
34945 glibcxx_cv_func_strtof_use=yes
34946 else
34947 glibcxx_cv_func_strtof_use=no
34949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34950 ac_ext=c
34951 ac_cpp='$CPP $CPPFLAGS'
34952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34961 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34962 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34963 for ac_func in strtof
34964 do :
34965 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34966 if test "x$ac_cv_func_strtof" = x""yes; then :
34967 cat >>confdefs.h <<_ACEOF
34968 #define HAVE_STRTOF 1
34969 _ACEOF
34972 done
34979 CXXFLAGS="$ac_save_CXXFLAGS"
34982 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34984 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34986 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34988 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34991 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34993 $as_echo "#define HAVE_MODF 1" >>confdefs.h
34995 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
34999 spu-*-elf*)
35001 # All these tests are for C++; save the language and the compiler flags.
35002 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35003 # found in GLIBCXX_CONFIGURE.
35005 ac_ext=cpp
35006 ac_cpp='$CXXCPP $CPPFLAGS'
35007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35011 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35012 ac_save_CXXFLAGS="$CXXFLAGS"
35014 # Check for maintainer-mode bits.
35015 if test x"$USE_MAINTAINER_MODE" = xno; then
35016 WERROR=''
35017 else
35018 WERROR='-Werror'
35021 # Check for -ffunction-sections -fdata-sections
35022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35023 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35024 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35026 /* end confdefs.h. */
35027 int foo; void bar() { };
35029 main ()
35033 return 0;
35035 _ACEOF
35036 if ac_fn_cxx_try_compile "$LINENO"; then :
35037 ac_fdsections=yes
35038 else
35039 ac_fdsections=no
35041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35042 if test "$ac_test_CXXFLAGS" = set; then
35043 CXXFLAGS="$ac_save_CXXFLAGS"
35044 else
35045 # this is the suspicious part
35046 CXXFLAGS=''
35048 if test x"$ac_fdsections" = x"yes"; then
35049 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35052 $as_echo "$ac_fdsections" >&6; }
35054 ac_ext=c
35055 ac_cpp='$CPP $CPPFLAGS'
35056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35064 # If we're not using GNU ld, then there's no point in even trying these
35065 # tests. Check for that first. We should have already tested for gld
35066 # by now (in libtool), but require it now just to be safe...
35067 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35068 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35072 # The name set by libtool depends on the version of libtool. Shame on us
35073 # for depending on an impl detail, but c'est la vie. Older versions used
35074 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35075 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35076 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35077 # set (hence we're using an older libtool), then set it.
35078 if test x${with_gnu_ld+set} != xset; then
35079 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35080 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35081 with_gnu_ld=no
35082 else
35083 with_gnu_ld=$ac_cv_prog_gnu_ld
35087 # Start by getting the version number. I think the libtool test already
35088 # does some of this, but throws away the result.
35089 glibcxx_ld_is_gold=no
35090 if test x"$with_gnu_ld" = x"yes"; then
35091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35092 $as_echo_n "checking for ld version... " >&6; }
35094 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35095 glibcxx_ld_is_gold=yes
35097 ldver=`$LD --version 2>/dev/null |
35098 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'`
35100 glibcxx_gnu_ld_version=`echo $ldver | \
35101 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35103 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35106 # Set --gc-sections.
35107 glibcxx_have_gc_sections=no
35108 if test "$glibcxx_ld_is_gold" = "yes"; then
35109 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35110 glibcxx_have_gc_sections=yes
35112 else
35113 glibcxx_gcsections_min_ld=21602
35114 if test x"$with_gnu_ld" = x"yes" &&
35115 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35116 glibcxx_have_gc_sections=yes
35119 if test "$glibcxx_have_gc_sections" = "yes"; then
35120 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35121 # NB: This flag only works reliably after 2.16.1. Configure tests
35122 # for this are difficult, so hard wire a value that should work.
35124 ac_test_CFLAGS="${CFLAGS+set}"
35125 ac_save_CFLAGS="$CFLAGS"
35126 CFLAGS='-Wl,--gc-sections'
35128 # Check for -Wl,--gc-sections
35129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35130 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35131 if test x$gcc_no_link = xyes; then
35132 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35135 /* end confdefs.h. */
35136 int one(void) { return 1; }
35137 int two(void) { return 2; }
35140 main ()
35142 two();
35144 return 0;
35146 _ACEOF
35147 if ac_fn_c_try_link "$LINENO"; then :
35148 ac_gcsections=yes
35149 else
35150 ac_gcsections=no
35152 rm -f core conftest.err conftest.$ac_objext \
35153 conftest$ac_exeext conftest.$ac_ext
35154 if test "$ac_gcsections" = "yes"; then
35155 rm -f conftest.c
35156 touch conftest.c
35157 if $CC -c conftest.c; then
35158 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35159 grep "Warning: gc-sections option ignored" > /dev/null; then
35160 ac_gcsections=no
35163 rm -f conftest.c conftest.o conftest
35165 if test "$ac_gcsections" = "yes"; then
35166 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35169 $as_echo "$ac_gcsections" >&6; }
35171 if test "$ac_test_CFLAGS" = set; then
35172 CFLAGS="$ac_save_CFLAGS"
35173 else
35174 # this is the suspicious part
35175 CFLAGS=''
35179 # Set -z,relro.
35180 # Note this is only for shared objects.
35181 ac_ld_relro=no
35182 if test x"$with_gnu_ld" = x"yes"; then
35183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35184 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35185 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35186 if test -n "$cxx_z_relo"; then
35187 OPT_LDFLAGS="-Wl,-z,relro"
35188 ac_ld_relro=yes
35190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35191 $as_echo "$ac_ld_relro" >&6; }
35194 # Set linker optimization flags.
35195 if test x"$with_gnu_ld" = x"yes"; then
35196 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35203 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35204 ac_save_CXXFLAGS="$CXXFLAGS"
35205 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35208 $as_echo_n "checking for sin in -lm... " >&6; }
35209 if test "${ac_cv_lib_m_sin+set}" = set; then :
35210 $as_echo_n "(cached) " >&6
35211 else
35212 ac_check_lib_save_LIBS=$LIBS
35213 LIBS="-lm $LIBS"
35214 if test x$gcc_no_link = xyes; then
35215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35218 /* end confdefs.h. */
35220 /* Override any GCC internal prototype to avoid an error.
35221 Use char because int might match the return type of a GCC
35222 builtin and then its argument prototype would still apply. */
35223 #ifdef __cplusplus
35224 extern "C"
35225 #endif
35226 char sin ();
35228 main ()
35230 return sin ();
35232 return 0;
35234 _ACEOF
35235 if ac_fn_c_try_link "$LINENO"; then :
35236 ac_cv_lib_m_sin=yes
35237 else
35238 ac_cv_lib_m_sin=no
35240 rm -f core conftest.err conftest.$ac_objext \
35241 conftest$ac_exeext conftest.$ac_ext
35242 LIBS=$ac_check_lib_save_LIBS
35244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35245 $as_echo "$ac_cv_lib_m_sin" >&6; }
35246 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35247 libm="-lm"
35250 ac_save_LIBS="$LIBS"
35251 LIBS="$LIBS $libm"
35255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35256 $as_echo_n "checking for isinf declaration... " >&6; }
35257 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35258 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35259 $as_echo_n "(cached) " >&6
35260 else
35263 ac_ext=cpp
35264 ac_cpp='$CXXCPP $CPPFLAGS'
35265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35270 /* end confdefs.h. */
35271 #include <math.h>
35272 #ifdef HAVE_IEEEFP_H
35273 #include <ieeefp.h>
35274 #endif
35277 main ()
35279 isinf(0);
35281 return 0;
35283 _ACEOF
35284 if ac_fn_cxx_try_compile "$LINENO"; then :
35285 glibcxx_cv_func_isinf_use=yes
35286 else
35287 glibcxx_cv_func_isinf_use=no
35289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35290 ac_ext=c
35291 ac_cpp='$CPP $CPPFLAGS'
35292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35301 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35303 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35304 for ac_func in isinf
35305 do :
35306 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35307 if test "x$ac_cv_func_isinf" = x""yes; then :
35308 cat >>confdefs.h <<_ACEOF
35309 #define HAVE_ISINF 1
35310 _ACEOF
35313 done
35315 else
35317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35318 $as_echo_n "checking for _isinf declaration... " >&6; }
35319 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35320 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35321 $as_echo_n "(cached) " >&6
35322 else
35325 ac_ext=cpp
35326 ac_cpp='$CXXCPP $CPPFLAGS'
35327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35332 /* end confdefs.h. */
35333 #include <math.h>
35334 #ifdef HAVE_IEEEFP_H
35335 #include <ieeefp.h>
35336 #endif
35339 main ()
35341 _isinf(0);
35343 return 0;
35345 _ACEOF
35346 if ac_fn_cxx_try_compile "$LINENO"; then :
35347 glibcxx_cv_func__isinf_use=yes
35348 else
35349 glibcxx_cv_func__isinf_use=no
35351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35352 ac_ext=c
35353 ac_cpp='$CPP $CPPFLAGS'
35354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35363 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35365 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35366 for ac_func in _isinf
35367 do :
35368 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35369 if test "x$ac_cv_func__isinf" = x""yes; then :
35370 cat >>confdefs.h <<_ACEOF
35371 #define HAVE__ISINF 1
35372 _ACEOF
35375 done
35384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35385 $as_echo_n "checking for isnan declaration... " >&6; }
35386 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35387 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35388 $as_echo_n "(cached) " >&6
35389 else
35392 ac_ext=cpp
35393 ac_cpp='$CXXCPP $CPPFLAGS'
35394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35399 /* end confdefs.h. */
35400 #include <math.h>
35401 #ifdef HAVE_IEEEFP_H
35402 #include <ieeefp.h>
35403 #endif
35406 main ()
35408 isnan(0);
35410 return 0;
35412 _ACEOF
35413 if ac_fn_cxx_try_compile "$LINENO"; then :
35414 glibcxx_cv_func_isnan_use=yes
35415 else
35416 glibcxx_cv_func_isnan_use=no
35418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35419 ac_ext=c
35420 ac_cpp='$CPP $CPPFLAGS'
35421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35430 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35432 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35433 for ac_func in isnan
35434 do :
35435 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35436 if test "x$ac_cv_func_isnan" = x""yes; then :
35437 cat >>confdefs.h <<_ACEOF
35438 #define HAVE_ISNAN 1
35439 _ACEOF
35442 done
35444 else
35446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35447 $as_echo_n "checking for _isnan declaration... " >&6; }
35448 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35449 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35450 $as_echo_n "(cached) " >&6
35451 else
35454 ac_ext=cpp
35455 ac_cpp='$CXXCPP $CPPFLAGS'
35456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35461 /* end confdefs.h. */
35462 #include <math.h>
35463 #ifdef HAVE_IEEEFP_H
35464 #include <ieeefp.h>
35465 #endif
35468 main ()
35470 _isnan(0);
35472 return 0;
35474 _ACEOF
35475 if ac_fn_cxx_try_compile "$LINENO"; then :
35476 glibcxx_cv_func__isnan_use=yes
35477 else
35478 glibcxx_cv_func__isnan_use=no
35480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35481 ac_ext=c
35482 ac_cpp='$CPP $CPPFLAGS'
35483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35492 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35494 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35495 for ac_func in _isnan
35496 do :
35497 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35498 if test "x$ac_cv_func__isnan" = x""yes; then :
35499 cat >>confdefs.h <<_ACEOF
35500 #define HAVE__ISNAN 1
35501 _ACEOF
35504 done
35513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35514 $as_echo_n "checking for finite declaration... " >&6; }
35515 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35516 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35517 $as_echo_n "(cached) " >&6
35518 else
35521 ac_ext=cpp
35522 ac_cpp='$CXXCPP $CPPFLAGS'
35523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35528 /* end confdefs.h. */
35529 #include <math.h>
35530 #ifdef HAVE_IEEEFP_H
35531 #include <ieeefp.h>
35532 #endif
35535 main ()
35537 finite(0);
35539 return 0;
35541 _ACEOF
35542 if ac_fn_cxx_try_compile "$LINENO"; then :
35543 glibcxx_cv_func_finite_use=yes
35544 else
35545 glibcxx_cv_func_finite_use=no
35547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35548 ac_ext=c
35549 ac_cpp='$CPP $CPPFLAGS'
35550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35559 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35561 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35562 for ac_func in finite
35563 do :
35564 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35565 if test "x$ac_cv_func_finite" = x""yes; then :
35566 cat >>confdefs.h <<_ACEOF
35567 #define HAVE_FINITE 1
35568 _ACEOF
35571 done
35573 else
35575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35576 $as_echo_n "checking for _finite declaration... " >&6; }
35577 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35578 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35579 $as_echo_n "(cached) " >&6
35580 else
35583 ac_ext=cpp
35584 ac_cpp='$CXXCPP $CPPFLAGS'
35585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35590 /* end confdefs.h. */
35591 #include <math.h>
35592 #ifdef HAVE_IEEEFP_H
35593 #include <ieeefp.h>
35594 #endif
35597 main ()
35599 _finite(0);
35601 return 0;
35603 _ACEOF
35604 if ac_fn_cxx_try_compile "$LINENO"; then :
35605 glibcxx_cv_func__finite_use=yes
35606 else
35607 glibcxx_cv_func__finite_use=no
35609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35610 ac_ext=c
35611 ac_cpp='$CPP $CPPFLAGS'
35612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35621 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35623 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35624 for ac_func in _finite
35625 do :
35626 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35627 if test "x$ac_cv_func__finite" = x""yes; then :
35628 cat >>confdefs.h <<_ACEOF
35629 #define HAVE__FINITE 1
35630 _ACEOF
35633 done
35642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35643 $as_echo_n "checking for sincos declaration... " >&6; }
35644 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35645 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35646 $as_echo_n "(cached) " >&6
35647 else
35650 ac_ext=cpp
35651 ac_cpp='$CXXCPP $CPPFLAGS'
35652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35657 /* end confdefs.h. */
35658 #include <math.h>
35660 main ()
35662 sincos(0, 0, 0);
35664 return 0;
35666 _ACEOF
35667 if ac_fn_cxx_try_compile "$LINENO"; then :
35668 glibcxx_cv_func_sincos_use=yes
35669 else
35670 glibcxx_cv_func_sincos_use=no
35672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35673 ac_ext=c
35674 ac_cpp='$CPP $CPPFLAGS'
35675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35684 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35686 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35687 for ac_func in sincos
35688 do :
35689 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35690 if test "x$ac_cv_func_sincos" = x""yes; then :
35691 cat >>confdefs.h <<_ACEOF
35692 #define HAVE_SINCOS 1
35693 _ACEOF
35696 done
35698 else
35700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35701 $as_echo_n "checking for _sincos declaration... " >&6; }
35702 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35703 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35704 $as_echo_n "(cached) " >&6
35705 else
35708 ac_ext=cpp
35709 ac_cpp='$CXXCPP $CPPFLAGS'
35710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35715 /* end confdefs.h. */
35716 #include <math.h>
35718 main ()
35720 _sincos(0, 0, 0);
35722 return 0;
35724 _ACEOF
35725 if ac_fn_cxx_try_compile "$LINENO"; then :
35726 glibcxx_cv_func__sincos_use=yes
35727 else
35728 glibcxx_cv_func__sincos_use=no
35730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35731 ac_ext=c
35732 ac_cpp='$CPP $CPPFLAGS'
35733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35742 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35744 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35745 for ac_func in _sincos
35746 do :
35747 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35748 if test "x$ac_cv_func__sincos" = x""yes; then :
35749 cat >>confdefs.h <<_ACEOF
35750 #define HAVE__SINCOS 1
35751 _ACEOF
35754 done
35763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35764 $as_echo_n "checking for fpclass declaration... " >&6; }
35765 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35766 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35767 $as_echo_n "(cached) " >&6
35768 else
35771 ac_ext=cpp
35772 ac_cpp='$CXXCPP $CPPFLAGS'
35773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35778 /* end confdefs.h. */
35779 #include <math.h>
35780 #ifdef HAVE_IEEEFP_H
35781 #include <ieeefp.h>
35782 #endif
35785 main ()
35787 fpclass(0);
35789 return 0;
35791 _ACEOF
35792 if ac_fn_cxx_try_compile "$LINENO"; then :
35793 glibcxx_cv_func_fpclass_use=yes
35794 else
35795 glibcxx_cv_func_fpclass_use=no
35797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35798 ac_ext=c
35799 ac_cpp='$CPP $CPPFLAGS'
35800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35809 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35811 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35812 for ac_func in fpclass
35813 do :
35814 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35815 if test "x$ac_cv_func_fpclass" = x""yes; then :
35816 cat >>confdefs.h <<_ACEOF
35817 #define HAVE_FPCLASS 1
35818 _ACEOF
35821 done
35823 else
35825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35826 $as_echo_n "checking for _fpclass declaration... " >&6; }
35827 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35828 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35829 $as_echo_n "(cached) " >&6
35830 else
35833 ac_ext=cpp
35834 ac_cpp='$CXXCPP $CPPFLAGS'
35835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35840 /* end confdefs.h. */
35841 #include <math.h>
35842 #ifdef HAVE_IEEEFP_H
35843 #include <ieeefp.h>
35844 #endif
35847 main ()
35849 _fpclass(0);
35851 return 0;
35853 _ACEOF
35854 if ac_fn_cxx_try_compile "$LINENO"; then :
35855 glibcxx_cv_func__fpclass_use=yes
35856 else
35857 glibcxx_cv_func__fpclass_use=no
35859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35860 ac_ext=c
35861 ac_cpp='$CPP $CPPFLAGS'
35862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35871 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35873 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35874 for ac_func in _fpclass
35875 do :
35876 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35877 if test "x$ac_cv_func__fpclass" = x""yes; then :
35878 cat >>confdefs.h <<_ACEOF
35879 #define HAVE__FPCLASS 1
35880 _ACEOF
35883 done
35892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35893 $as_echo_n "checking for qfpclass declaration... " >&6; }
35894 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35895 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35896 $as_echo_n "(cached) " >&6
35897 else
35900 ac_ext=cpp
35901 ac_cpp='$CXXCPP $CPPFLAGS'
35902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35907 /* end confdefs.h. */
35908 #include <math.h>
35909 #ifdef HAVE_IEEEFP_H
35910 #include <ieeefp.h>
35911 #endif
35914 main ()
35916 qfpclass(0);
35918 return 0;
35920 _ACEOF
35921 if ac_fn_cxx_try_compile "$LINENO"; then :
35922 glibcxx_cv_func_qfpclass_use=yes
35923 else
35924 glibcxx_cv_func_qfpclass_use=no
35926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35927 ac_ext=c
35928 ac_cpp='$CPP $CPPFLAGS'
35929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35938 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35940 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35941 for ac_func in qfpclass
35942 do :
35943 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35944 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35945 cat >>confdefs.h <<_ACEOF
35946 #define HAVE_QFPCLASS 1
35947 _ACEOF
35950 done
35952 else
35954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35955 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35956 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35957 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35958 $as_echo_n "(cached) " >&6
35959 else
35962 ac_ext=cpp
35963 ac_cpp='$CXXCPP $CPPFLAGS'
35964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35969 /* end confdefs.h. */
35970 #include <math.h>
35971 #ifdef HAVE_IEEEFP_H
35972 #include <ieeefp.h>
35973 #endif
35976 main ()
35978 _qfpclass(0);
35980 return 0;
35982 _ACEOF
35983 if ac_fn_cxx_try_compile "$LINENO"; then :
35984 glibcxx_cv_func__qfpclass_use=yes
35985 else
35986 glibcxx_cv_func__qfpclass_use=no
35988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35989 ac_ext=c
35990 ac_cpp='$CPP $CPPFLAGS'
35991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36000 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36002 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36003 for ac_func in _qfpclass
36004 do :
36005 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36006 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36007 cat >>confdefs.h <<_ACEOF
36008 #define HAVE__QFPCLASS 1
36009 _ACEOF
36012 done
36021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36022 $as_echo_n "checking for hypot declaration... " >&6; }
36023 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36024 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36025 $as_echo_n "(cached) " >&6
36026 else
36029 ac_ext=cpp
36030 ac_cpp='$CXXCPP $CPPFLAGS'
36031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36036 /* end confdefs.h. */
36037 #include <math.h>
36039 main ()
36041 hypot(0, 0);
36043 return 0;
36045 _ACEOF
36046 if ac_fn_cxx_try_compile "$LINENO"; then :
36047 glibcxx_cv_func_hypot_use=yes
36048 else
36049 glibcxx_cv_func_hypot_use=no
36051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36052 ac_ext=c
36053 ac_cpp='$CPP $CPPFLAGS'
36054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36063 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36065 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36066 for ac_func in hypot
36067 do :
36068 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36069 if test "x$ac_cv_func_hypot" = x""yes; then :
36070 cat >>confdefs.h <<_ACEOF
36071 #define HAVE_HYPOT 1
36072 _ACEOF
36075 done
36077 else
36079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36080 $as_echo_n "checking for _hypot declaration... " >&6; }
36081 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36082 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36083 $as_echo_n "(cached) " >&6
36084 else
36087 ac_ext=cpp
36088 ac_cpp='$CXXCPP $CPPFLAGS'
36089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36094 /* end confdefs.h. */
36095 #include <math.h>
36097 main ()
36099 _hypot(0, 0);
36101 return 0;
36103 _ACEOF
36104 if ac_fn_cxx_try_compile "$LINENO"; then :
36105 glibcxx_cv_func__hypot_use=yes
36106 else
36107 glibcxx_cv_func__hypot_use=no
36109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36110 ac_ext=c
36111 ac_cpp='$CPP $CPPFLAGS'
36112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36121 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36123 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36124 for ac_func in _hypot
36125 do :
36126 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36127 if test "x$ac_cv_func__hypot" = x""yes; then :
36128 cat >>confdefs.h <<_ACEOF
36129 #define HAVE__HYPOT 1
36130 _ACEOF
36133 done
36142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36143 $as_echo_n "checking for float trig functions... " >&6; }
36144 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36145 $as_echo_n "(cached) " >&6
36146 else
36149 ac_ext=cpp
36150 ac_cpp='$CXXCPP $CPPFLAGS'
36151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36156 /* end confdefs.h. */
36157 #include <math.h>
36159 main ()
36161 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36163 return 0;
36165 _ACEOF
36166 if ac_fn_cxx_try_compile "$LINENO"; then :
36167 glibcxx_cv_func_float_trig_use=yes
36168 else
36169 glibcxx_cv_func_float_trig_use=no
36171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36172 ac_ext=c
36173 ac_cpp='$CPP $CPPFLAGS'
36174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36181 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36182 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36183 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36184 do :
36185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36187 eval as_val=\$$as_ac_var
36188 if test "x$as_val" = x""yes; then :
36189 cat >>confdefs.h <<_ACEOF
36190 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36191 _ACEOF
36194 done
36196 else
36197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36198 $as_echo_n "checking for _float trig functions... " >&6; }
36199 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36200 $as_echo_n "(cached) " >&6
36201 else
36204 ac_ext=cpp
36205 ac_cpp='$CXXCPP $CPPFLAGS'
36206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36211 /* end confdefs.h. */
36212 #include <math.h>
36214 main ()
36216 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36218 return 0;
36220 _ACEOF
36221 if ac_fn_cxx_try_compile "$LINENO"; then :
36222 glibcxx_cv_func__float_trig_use=yes
36223 else
36224 glibcxx_cv_func__float_trig_use=no
36226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36227 ac_ext=c
36228 ac_cpp='$CPP $CPPFLAGS'
36229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36236 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36237 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36238 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36239 do :
36240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36242 eval as_val=\$$as_ac_var
36243 if test "x$as_val" = x""yes; then :
36244 cat >>confdefs.h <<_ACEOF
36245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36246 _ACEOF
36249 done
36258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36259 $as_echo_n "checking for float round functions... " >&6; }
36260 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36261 $as_echo_n "(cached) " >&6
36262 else
36265 ac_ext=cpp
36266 ac_cpp='$CXXCPP $CPPFLAGS'
36267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36272 /* end confdefs.h. */
36273 #include <math.h>
36275 main ()
36277 ceilf (0); floorf (0);
36279 return 0;
36281 _ACEOF
36282 if ac_fn_cxx_try_compile "$LINENO"; then :
36283 glibcxx_cv_func_float_round_use=yes
36284 else
36285 glibcxx_cv_func_float_round_use=no
36287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36288 ac_ext=c
36289 ac_cpp='$CPP $CPPFLAGS'
36290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36297 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36298 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36299 for ac_func in ceilf floorf
36300 do :
36301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36303 eval as_val=\$$as_ac_var
36304 if test "x$as_val" = x""yes; then :
36305 cat >>confdefs.h <<_ACEOF
36306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36307 _ACEOF
36310 done
36312 else
36313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36314 $as_echo_n "checking for _float round functions... " >&6; }
36315 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36316 $as_echo_n "(cached) " >&6
36317 else
36320 ac_ext=cpp
36321 ac_cpp='$CXXCPP $CPPFLAGS'
36322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36327 /* end confdefs.h. */
36328 #include <math.h>
36330 main ()
36332 _ceilf (0); _floorf (0);
36334 return 0;
36336 _ACEOF
36337 if ac_fn_cxx_try_compile "$LINENO"; then :
36338 glibcxx_cv_func__float_round_use=yes
36339 else
36340 glibcxx_cv_func__float_round_use=no
36342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36343 ac_ext=c
36344 ac_cpp='$CPP $CPPFLAGS'
36345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36352 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36353 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36354 for ac_func in _ceilf _floorf
36355 do :
36356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36358 eval as_val=\$$as_ac_var
36359 if test "x$as_val" = x""yes; then :
36360 cat >>confdefs.h <<_ACEOF
36361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36362 _ACEOF
36365 done
36375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36376 $as_echo_n "checking for expf declaration... " >&6; }
36377 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36378 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36379 $as_echo_n "(cached) " >&6
36380 else
36383 ac_ext=cpp
36384 ac_cpp='$CXXCPP $CPPFLAGS'
36385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36390 /* end confdefs.h. */
36391 #include <math.h>
36392 #ifdef HAVE_IEEEFP_H
36393 #include <ieeefp.h>
36394 #endif
36397 main ()
36399 expf(0);
36401 return 0;
36403 _ACEOF
36404 if ac_fn_cxx_try_compile "$LINENO"; then :
36405 glibcxx_cv_func_expf_use=yes
36406 else
36407 glibcxx_cv_func_expf_use=no
36409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36410 ac_ext=c
36411 ac_cpp='$CPP $CPPFLAGS'
36412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36421 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36423 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36424 for ac_func in expf
36425 do :
36426 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36427 if test "x$ac_cv_func_expf" = x""yes; then :
36428 cat >>confdefs.h <<_ACEOF
36429 #define HAVE_EXPF 1
36430 _ACEOF
36433 done
36435 else
36437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36438 $as_echo_n "checking for _expf declaration... " >&6; }
36439 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36440 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36441 $as_echo_n "(cached) " >&6
36442 else
36445 ac_ext=cpp
36446 ac_cpp='$CXXCPP $CPPFLAGS'
36447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36452 /* end confdefs.h. */
36453 #include <math.h>
36454 #ifdef HAVE_IEEEFP_H
36455 #include <ieeefp.h>
36456 #endif
36459 main ()
36461 _expf(0);
36463 return 0;
36465 _ACEOF
36466 if ac_fn_cxx_try_compile "$LINENO"; then :
36467 glibcxx_cv_func__expf_use=yes
36468 else
36469 glibcxx_cv_func__expf_use=no
36471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36472 ac_ext=c
36473 ac_cpp='$CPP $CPPFLAGS'
36474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36483 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36485 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36486 for ac_func in _expf
36487 do :
36488 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36489 if test "x$ac_cv_func__expf" = x""yes; then :
36490 cat >>confdefs.h <<_ACEOF
36491 #define HAVE__EXPF 1
36492 _ACEOF
36495 done
36504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36505 $as_echo_n "checking for isnanf declaration... " >&6; }
36506 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36507 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36508 $as_echo_n "(cached) " >&6
36509 else
36512 ac_ext=cpp
36513 ac_cpp='$CXXCPP $CPPFLAGS'
36514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36519 /* end confdefs.h. */
36520 #include <math.h>
36521 #ifdef HAVE_IEEEFP_H
36522 #include <ieeefp.h>
36523 #endif
36526 main ()
36528 isnanf(0);
36530 return 0;
36532 _ACEOF
36533 if ac_fn_cxx_try_compile "$LINENO"; then :
36534 glibcxx_cv_func_isnanf_use=yes
36535 else
36536 glibcxx_cv_func_isnanf_use=no
36538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36539 ac_ext=c
36540 ac_cpp='$CPP $CPPFLAGS'
36541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36550 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36552 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36553 for ac_func in isnanf
36554 do :
36555 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36556 if test "x$ac_cv_func_isnanf" = x""yes; then :
36557 cat >>confdefs.h <<_ACEOF
36558 #define HAVE_ISNANF 1
36559 _ACEOF
36562 done
36564 else
36566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36567 $as_echo_n "checking for _isnanf declaration... " >&6; }
36568 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36569 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36570 $as_echo_n "(cached) " >&6
36571 else
36574 ac_ext=cpp
36575 ac_cpp='$CXXCPP $CPPFLAGS'
36576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36581 /* end confdefs.h. */
36582 #include <math.h>
36583 #ifdef HAVE_IEEEFP_H
36584 #include <ieeefp.h>
36585 #endif
36588 main ()
36590 _isnanf(0);
36592 return 0;
36594 _ACEOF
36595 if ac_fn_cxx_try_compile "$LINENO"; then :
36596 glibcxx_cv_func__isnanf_use=yes
36597 else
36598 glibcxx_cv_func__isnanf_use=no
36600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36601 ac_ext=c
36602 ac_cpp='$CPP $CPPFLAGS'
36603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36612 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36614 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36615 for ac_func in _isnanf
36616 do :
36617 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36618 if test "x$ac_cv_func__isnanf" = x""yes; then :
36619 cat >>confdefs.h <<_ACEOF
36620 #define HAVE__ISNANF 1
36621 _ACEOF
36624 done
36633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36634 $as_echo_n "checking for isinff declaration... " >&6; }
36635 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36636 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36637 $as_echo_n "(cached) " >&6
36638 else
36641 ac_ext=cpp
36642 ac_cpp='$CXXCPP $CPPFLAGS'
36643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36648 /* end confdefs.h. */
36649 #include <math.h>
36650 #ifdef HAVE_IEEEFP_H
36651 #include <ieeefp.h>
36652 #endif
36655 main ()
36657 isinff(0);
36659 return 0;
36661 _ACEOF
36662 if ac_fn_cxx_try_compile "$LINENO"; then :
36663 glibcxx_cv_func_isinff_use=yes
36664 else
36665 glibcxx_cv_func_isinff_use=no
36667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36668 ac_ext=c
36669 ac_cpp='$CPP $CPPFLAGS'
36670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36679 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36681 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36682 for ac_func in isinff
36683 do :
36684 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36685 if test "x$ac_cv_func_isinff" = x""yes; then :
36686 cat >>confdefs.h <<_ACEOF
36687 #define HAVE_ISINFF 1
36688 _ACEOF
36691 done
36693 else
36695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36696 $as_echo_n "checking for _isinff declaration... " >&6; }
36697 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36698 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36699 $as_echo_n "(cached) " >&6
36700 else
36703 ac_ext=cpp
36704 ac_cpp='$CXXCPP $CPPFLAGS'
36705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36710 /* end confdefs.h. */
36711 #include <math.h>
36712 #ifdef HAVE_IEEEFP_H
36713 #include <ieeefp.h>
36714 #endif
36717 main ()
36719 _isinff(0);
36721 return 0;
36723 _ACEOF
36724 if ac_fn_cxx_try_compile "$LINENO"; then :
36725 glibcxx_cv_func__isinff_use=yes
36726 else
36727 glibcxx_cv_func__isinff_use=no
36729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36730 ac_ext=c
36731 ac_cpp='$CPP $CPPFLAGS'
36732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36741 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36743 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36744 for ac_func in _isinff
36745 do :
36746 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36747 if test "x$ac_cv_func__isinff" = x""yes; then :
36748 cat >>confdefs.h <<_ACEOF
36749 #define HAVE__ISINFF 1
36750 _ACEOF
36753 done
36762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36763 $as_echo_n "checking for atan2f declaration... " >&6; }
36764 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36765 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36766 $as_echo_n "(cached) " >&6
36767 else
36770 ac_ext=cpp
36771 ac_cpp='$CXXCPP $CPPFLAGS'
36772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36777 /* end confdefs.h. */
36778 #include <math.h>
36780 main ()
36782 atan2f(0, 0);
36784 return 0;
36786 _ACEOF
36787 if ac_fn_cxx_try_compile "$LINENO"; then :
36788 glibcxx_cv_func_atan2f_use=yes
36789 else
36790 glibcxx_cv_func_atan2f_use=no
36792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36793 ac_ext=c
36794 ac_cpp='$CPP $CPPFLAGS'
36795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36804 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36806 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36807 for ac_func in atan2f
36808 do :
36809 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36810 if test "x$ac_cv_func_atan2f" = x""yes; then :
36811 cat >>confdefs.h <<_ACEOF
36812 #define HAVE_ATAN2F 1
36813 _ACEOF
36816 done
36818 else
36820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36821 $as_echo_n "checking for _atan2f declaration... " >&6; }
36822 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36823 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36824 $as_echo_n "(cached) " >&6
36825 else
36828 ac_ext=cpp
36829 ac_cpp='$CXXCPP $CPPFLAGS'
36830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36835 /* end confdefs.h. */
36836 #include <math.h>
36838 main ()
36840 _atan2f(0, 0);
36842 return 0;
36844 _ACEOF
36845 if ac_fn_cxx_try_compile "$LINENO"; then :
36846 glibcxx_cv_func__atan2f_use=yes
36847 else
36848 glibcxx_cv_func__atan2f_use=no
36850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36851 ac_ext=c
36852 ac_cpp='$CPP $CPPFLAGS'
36853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36862 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36864 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36865 for ac_func in _atan2f
36866 do :
36867 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36868 if test "x$ac_cv_func__atan2f" = x""yes; then :
36869 cat >>confdefs.h <<_ACEOF
36870 #define HAVE__ATAN2F 1
36871 _ACEOF
36874 done
36883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36884 $as_echo_n "checking for fabsf declaration... " >&6; }
36885 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36886 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36887 $as_echo_n "(cached) " >&6
36888 else
36891 ac_ext=cpp
36892 ac_cpp='$CXXCPP $CPPFLAGS'
36893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36898 /* end confdefs.h. */
36899 #include <math.h>
36900 #ifdef HAVE_IEEEFP_H
36901 #include <ieeefp.h>
36902 #endif
36905 main ()
36907 fabsf(0);
36909 return 0;
36911 _ACEOF
36912 if ac_fn_cxx_try_compile "$LINENO"; then :
36913 glibcxx_cv_func_fabsf_use=yes
36914 else
36915 glibcxx_cv_func_fabsf_use=no
36917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36918 ac_ext=c
36919 ac_cpp='$CPP $CPPFLAGS'
36920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36929 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36931 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36932 for ac_func in fabsf
36933 do :
36934 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36935 if test "x$ac_cv_func_fabsf" = x""yes; then :
36936 cat >>confdefs.h <<_ACEOF
36937 #define HAVE_FABSF 1
36938 _ACEOF
36941 done
36943 else
36945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36946 $as_echo_n "checking for _fabsf declaration... " >&6; }
36947 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36948 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36949 $as_echo_n "(cached) " >&6
36950 else
36953 ac_ext=cpp
36954 ac_cpp='$CXXCPP $CPPFLAGS'
36955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36960 /* end confdefs.h. */
36961 #include <math.h>
36962 #ifdef HAVE_IEEEFP_H
36963 #include <ieeefp.h>
36964 #endif
36967 main ()
36969 _fabsf(0);
36971 return 0;
36973 _ACEOF
36974 if ac_fn_cxx_try_compile "$LINENO"; then :
36975 glibcxx_cv_func__fabsf_use=yes
36976 else
36977 glibcxx_cv_func__fabsf_use=no
36979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36980 ac_ext=c
36981 ac_cpp='$CPP $CPPFLAGS'
36982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
36991 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36993 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36994 for ac_func in _fabsf
36995 do :
36996 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
36997 if test "x$ac_cv_func__fabsf" = x""yes; then :
36998 cat >>confdefs.h <<_ACEOF
36999 #define HAVE__FABSF 1
37000 _ACEOF
37003 done
37012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37013 $as_echo_n "checking for fmodf declaration... " >&6; }
37014 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37015 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37016 $as_echo_n "(cached) " >&6
37017 else
37020 ac_ext=cpp
37021 ac_cpp='$CXXCPP $CPPFLAGS'
37022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37027 /* end confdefs.h. */
37028 #include <math.h>
37030 main ()
37032 fmodf(0, 0);
37034 return 0;
37036 _ACEOF
37037 if ac_fn_cxx_try_compile "$LINENO"; then :
37038 glibcxx_cv_func_fmodf_use=yes
37039 else
37040 glibcxx_cv_func_fmodf_use=no
37042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37043 ac_ext=c
37044 ac_cpp='$CPP $CPPFLAGS'
37045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37054 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37056 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37057 for ac_func in fmodf
37058 do :
37059 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37060 if test "x$ac_cv_func_fmodf" = x""yes; then :
37061 cat >>confdefs.h <<_ACEOF
37062 #define HAVE_FMODF 1
37063 _ACEOF
37066 done
37068 else
37070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37071 $as_echo_n "checking for _fmodf declaration... " >&6; }
37072 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37073 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37074 $as_echo_n "(cached) " >&6
37075 else
37078 ac_ext=cpp
37079 ac_cpp='$CXXCPP $CPPFLAGS'
37080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37085 /* end confdefs.h. */
37086 #include <math.h>
37088 main ()
37090 _fmodf(0, 0);
37092 return 0;
37094 _ACEOF
37095 if ac_fn_cxx_try_compile "$LINENO"; then :
37096 glibcxx_cv_func__fmodf_use=yes
37097 else
37098 glibcxx_cv_func__fmodf_use=no
37100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37101 ac_ext=c
37102 ac_cpp='$CPP $CPPFLAGS'
37103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37112 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37114 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37115 for ac_func in _fmodf
37116 do :
37117 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37118 if test "x$ac_cv_func__fmodf" = x""yes; then :
37119 cat >>confdefs.h <<_ACEOF
37120 #define HAVE__FMODF 1
37121 _ACEOF
37124 done
37133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37134 $as_echo_n "checking for frexpf declaration... " >&6; }
37135 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37136 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37137 $as_echo_n "(cached) " >&6
37138 else
37141 ac_ext=cpp
37142 ac_cpp='$CXXCPP $CPPFLAGS'
37143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37148 /* end confdefs.h. */
37149 #include <math.h>
37151 main ()
37153 frexpf(0, 0);
37155 return 0;
37157 _ACEOF
37158 if ac_fn_cxx_try_compile "$LINENO"; then :
37159 glibcxx_cv_func_frexpf_use=yes
37160 else
37161 glibcxx_cv_func_frexpf_use=no
37163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37164 ac_ext=c
37165 ac_cpp='$CPP $CPPFLAGS'
37166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37175 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37177 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37178 for ac_func in frexpf
37179 do :
37180 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37181 if test "x$ac_cv_func_frexpf" = x""yes; then :
37182 cat >>confdefs.h <<_ACEOF
37183 #define HAVE_FREXPF 1
37184 _ACEOF
37187 done
37189 else
37191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37192 $as_echo_n "checking for _frexpf declaration... " >&6; }
37193 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37194 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37195 $as_echo_n "(cached) " >&6
37196 else
37199 ac_ext=cpp
37200 ac_cpp='$CXXCPP $CPPFLAGS'
37201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37206 /* end confdefs.h. */
37207 #include <math.h>
37209 main ()
37211 _frexpf(0, 0);
37213 return 0;
37215 _ACEOF
37216 if ac_fn_cxx_try_compile "$LINENO"; then :
37217 glibcxx_cv_func__frexpf_use=yes
37218 else
37219 glibcxx_cv_func__frexpf_use=no
37221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37222 ac_ext=c
37223 ac_cpp='$CPP $CPPFLAGS'
37224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37233 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37235 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37236 for ac_func in _frexpf
37237 do :
37238 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37239 if test "x$ac_cv_func__frexpf" = x""yes; then :
37240 cat >>confdefs.h <<_ACEOF
37241 #define HAVE__FREXPF 1
37242 _ACEOF
37245 done
37254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37255 $as_echo_n "checking for hypotf declaration... " >&6; }
37256 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37257 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37258 $as_echo_n "(cached) " >&6
37259 else
37262 ac_ext=cpp
37263 ac_cpp='$CXXCPP $CPPFLAGS'
37264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37269 /* end confdefs.h. */
37270 #include <math.h>
37272 main ()
37274 hypotf(0, 0);
37276 return 0;
37278 _ACEOF
37279 if ac_fn_cxx_try_compile "$LINENO"; then :
37280 glibcxx_cv_func_hypotf_use=yes
37281 else
37282 glibcxx_cv_func_hypotf_use=no
37284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37285 ac_ext=c
37286 ac_cpp='$CPP $CPPFLAGS'
37287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37296 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37298 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37299 for ac_func in hypotf
37300 do :
37301 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37302 if test "x$ac_cv_func_hypotf" = x""yes; then :
37303 cat >>confdefs.h <<_ACEOF
37304 #define HAVE_HYPOTF 1
37305 _ACEOF
37308 done
37310 else
37312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37313 $as_echo_n "checking for _hypotf declaration... " >&6; }
37314 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37315 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37316 $as_echo_n "(cached) " >&6
37317 else
37320 ac_ext=cpp
37321 ac_cpp='$CXXCPP $CPPFLAGS'
37322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37327 /* end confdefs.h. */
37328 #include <math.h>
37330 main ()
37332 _hypotf(0, 0);
37334 return 0;
37336 _ACEOF
37337 if ac_fn_cxx_try_compile "$LINENO"; then :
37338 glibcxx_cv_func__hypotf_use=yes
37339 else
37340 glibcxx_cv_func__hypotf_use=no
37342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37343 ac_ext=c
37344 ac_cpp='$CPP $CPPFLAGS'
37345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37354 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37356 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37357 for ac_func in _hypotf
37358 do :
37359 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37360 if test "x$ac_cv_func__hypotf" = x""yes; then :
37361 cat >>confdefs.h <<_ACEOF
37362 #define HAVE__HYPOTF 1
37363 _ACEOF
37366 done
37375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37376 $as_echo_n "checking for ldexpf declaration... " >&6; }
37377 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37378 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37379 $as_echo_n "(cached) " >&6
37380 else
37383 ac_ext=cpp
37384 ac_cpp='$CXXCPP $CPPFLAGS'
37385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37390 /* end confdefs.h. */
37391 #include <math.h>
37393 main ()
37395 ldexpf(0, 0);
37397 return 0;
37399 _ACEOF
37400 if ac_fn_cxx_try_compile "$LINENO"; then :
37401 glibcxx_cv_func_ldexpf_use=yes
37402 else
37403 glibcxx_cv_func_ldexpf_use=no
37405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37406 ac_ext=c
37407 ac_cpp='$CPP $CPPFLAGS'
37408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37417 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37419 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37420 for ac_func in ldexpf
37421 do :
37422 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37423 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37424 cat >>confdefs.h <<_ACEOF
37425 #define HAVE_LDEXPF 1
37426 _ACEOF
37429 done
37431 else
37433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37434 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37435 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37436 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37437 $as_echo_n "(cached) " >&6
37438 else
37441 ac_ext=cpp
37442 ac_cpp='$CXXCPP $CPPFLAGS'
37443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37448 /* end confdefs.h. */
37449 #include <math.h>
37451 main ()
37453 _ldexpf(0, 0);
37455 return 0;
37457 _ACEOF
37458 if ac_fn_cxx_try_compile "$LINENO"; then :
37459 glibcxx_cv_func__ldexpf_use=yes
37460 else
37461 glibcxx_cv_func__ldexpf_use=no
37463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37464 ac_ext=c
37465 ac_cpp='$CPP $CPPFLAGS'
37466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37475 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37477 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37478 for ac_func in _ldexpf
37479 do :
37480 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37481 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37482 cat >>confdefs.h <<_ACEOF
37483 #define HAVE__LDEXPF 1
37484 _ACEOF
37487 done
37496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37497 $as_echo_n "checking for logf declaration... " >&6; }
37498 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37499 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37500 $as_echo_n "(cached) " >&6
37501 else
37504 ac_ext=cpp
37505 ac_cpp='$CXXCPP $CPPFLAGS'
37506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37511 /* end confdefs.h. */
37512 #include <math.h>
37513 #ifdef HAVE_IEEEFP_H
37514 #include <ieeefp.h>
37515 #endif
37518 main ()
37520 logf(0);
37522 return 0;
37524 _ACEOF
37525 if ac_fn_cxx_try_compile "$LINENO"; then :
37526 glibcxx_cv_func_logf_use=yes
37527 else
37528 glibcxx_cv_func_logf_use=no
37530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37531 ac_ext=c
37532 ac_cpp='$CPP $CPPFLAGS'
37533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37542 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37544 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37545 for ac_func in logf
37546 do :
37547 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37548 if test "x$ac_cv_func_logf" = x""yes; then :
37549 cat >>confdefs.h <<_ACEOF
37550 #define HAVE_LOGF 1
37551 _ACEOF
37554 done
37556 else
37558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37559 $as_echo_n "checking for _logf declaration... " >&6; }
37560 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37561 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37562 $as_echo_n "(cached) " >&6
37563 else
37566 ac_ext=cpp
37567 ac_cpp='$CXXCPP $CPPFLAGS'
37568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37573 /* end confdefs.h. */
37574 #include <math.h>
37575 #ifdef HAVE_IEEEFP_H
37576 #include <ieeefp.h>
37577 #endif
37580 main ()
37582 _logf(0);
37584 return 0;
37586 _ACEOF
37587 if ac_fn_cxx_try_compile "$LINENO"; then :
37588 glibcxx_cv_func__logf_use=yes
37589 else
37590 glibcxx_cv_func__logf_use=no
37592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37593 ac_ext=c
37594 ac_cpp='$CPP $CPPFLAGS'
37595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37604 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37606 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37607 for ac_func in _logf
37608 do :
37609 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37610 if test "x$ac_cv_func__logf" = x""yes; then :
37611 cat >>confdefs.h <<_ACEOF
37612 #define HAVE__LOGF 1
37613 _ACEOF
37616 done
37625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37626 $as_echo_n "checking for log10f declaration... " >&6; }
37627 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37628 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37629 $as_echo_n "(cached) " >&6
37630 else
37633 ac_ext=cpp
37634 ac_cpp='$CXXCPP $CPPFLAGS'
37635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37640 /* end confdefs.h. */
37641 #include <math.h>
37642 #ifdef HAVE_IEEEFP_H
37643 #include <ieeefp.h>
37644 #endif
37647 main ()
37649 log10f(0);
37651 return 0;
37653 _ACEOF
37654 if ac_fn_cxx_try_compile "$LINENO"; then :
37655 glibcxx_cv_func_log10f_use=yes
37656 else
37657 glibcxx_cv_func_log10f_use=no
37659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37660 ac_ext=c
37661 ac_cpp='$CPP $CPPFLAGS'
37662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37671 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37673 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37674 for ac_func in log10f
37675 do :
37676 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37677 if test "x$ac_cv_func_log10f" = x""yes; then :
37678 cat >>confdefs.h <<_ACEOF
37679 #define HAVE_LOG10F 1
37680 _ACEOF
37683 done
37685 else
37687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37688 $as_echo_n "checking for _log10f declaration... " >&6; }
37689 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37690 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37691 $as_echo_n "(cached) " >&6
37692 else
37695 ac_ext=cpp
37696 ac_cpp='$CXXCPP $CPPFLAGS'
37697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37702 /* end confdefs.h. */
37703 #include <math.h>
37704 #ifdef HAVE_IEEEFP_H
37705 #include <ieeefp.h>
37706 #endif
37709 main ()
37711 _log10f(0);
37713 return 0;
37715 _ACEOF
37716 if ac_fn_cxx_try_compile "$LINENO"; then :
37717 glibcxx_cv_func__log10f_use=yes
37718 else
37719 glibcxx_cv_func__log10f_use=no
37721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37722 ac_ext=c
37723 ac_cpp='$CPP $CPPFLAGS'
37724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37733 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37735 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37736 for ac_func in _log10f
37737 do :
37738 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37739 if test "x$ac_cv_func__log10f" = x""yes; then :
37740 cat >>confdefs.h <<_ACEOF
37741 #define HAVE__LOG10F 1
37742 _ACEOF
37745 done
37754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37755 $as_echo_n "checking for modff declaration... " >&6; }
37756 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37757 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37758 $as_echo_n "(cached) " >&6
37759 else
37762 ac_ext=cpp
37763 ac_cpp='$CXXCPP $CPPFLAGS'
37764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37769 /* end confdefs.h. */
37770 #include <math.h>
37772 main ()
37774 modff(0, 0);
37776 return 0;
37778 _ACEOF
37779 if ac_fn_cxx_try_compile "$LINENO"; then :
37780 glibcxx_cv_func_modff_use=yes
37781 else
37782 glibcxx_cv_func_modff_use=no
37784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37785 ac_ext=c
37786 ac_cpp='$CPP $CPPFLAGS'
37787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37796 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37798 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37799 for ac_func in modff
37800 do :
37801 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37802 if test "x$ac_cv_func_modff" = x""yes; then :
37803 cat >>confdefs.h <<_ACEOF
37804 #define HAVE_MODFF 1
37805 _ACEOF
37808 done
37810 else
37812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37813 $as_echo_n "checking for _modff declaration... " >&6; }
37814 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37815 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37816 $as_echo_n "(cached) " >&6
37817 else
37820 ac_ext=cpp
37821 ac_cpp='$CXXCPP $CPPFLAGS'
37822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37827 /* end confdefs.h. */
37828 #include <math.h>
37830 main ()
37832 _modff(0, 0);
37834 return 0;
37836 _ACEOF
37837 if ac_fn_cxx_try_compile "$LINENO"; then :
37838 glibcxx_cv_func__modff_use=yes
37839 else
37840 glibcxx_cv_func__modff_use=no
37842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37843 ac_ext=c
37844 ac_cpp='$CPP $CPPFLAGS'
37845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37854 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37856 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37857 for ac_func in _modff
37858 do :
37859 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37860 if test "x$ac_cv_func__modff" = x""yes; then :
37861 cat >>confdefs.h <<_ACEOF
37862 #define HAVE__MODFF 1
37863 _ACEOF
37866 done
37875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37876 $as_echo_n "checking for modf declaration... " >&6; }
37877 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37878 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37879 $as_echo_n "(cached) " >&6
37880 else
37883 ac_ext=cpp
37884 ac_cpp='$CXXCPP $CPPFLAGS'
37885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37890 /* end confdefs.h. */
37891 #include <math.h>
37893 main ()
37895 modf(0, 0);
37897 return 0;
37899 _ACEOF
37900 if ac_fn_cxx_try_compile "$LINENO"; then :
37901 glibcxx_cv_func_modf_use=yes
37902 else
37903 glibcxx_cv_func_modf_use=no
37905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37906 ac_ext=c
37907 ac_cpp='$CPP $CPPFLAGS'
37908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37917 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37919 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37920 for ac_func in modf
37921 do :
37922 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37923 if test "x$ac_cv_func_modf" = x""yes; then :
37924 cat >>confdefs.h <<_ACEOF
37925 #define HAVE_MODF 1
37926 _ACEOF
37929 done
37931 else
37933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37934 $as_echo_n "checking for _modf declaration... " >&6; }
37935 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37936 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37937 $as_echo_n "(cached) " >&6
37938 else
37941 ac_ext=cpp
37942 ac_cpp='$CXXCPP $CPPFLAGS'
37943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37948 /* end confdefs.h. */
37949 #include <math.h>
37951 main ()
37953 _modf(0, 0);
37955 return 0;
37957 _ACEOF
37958 if ac_fn_cxx_try_compile "$LINENO"; then :
37959 glibcxx_cv_func__modf_use=yes
37960 else
37961 glibcxx_cv_func__modf_use=no
37963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37964 ac_ext=c
37965 ac_cpp='$CPP $CPPFLAGS'
37966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37975 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37977 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37978 for ac_func in _modf
37979 do :
37980 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37981 if test "x$ac_cv_func__modf" = x""yes; then :
37982 cat >>confdefs.h <<_ACEOF
37983 #define HAVE__MODF 1
37984 _ACEOF
37987 done
37996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
37997 $as_echo_n "checking for powf declaration... " >&6; }
37998 if test x${glibcxx_cv_func_powf_use+set} != xset; then
37999 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38000 $as_echo_n "(cached) " >&6
38001 else
38004 ac_ext=cpp
38005 ac_cpp='$CXXCPP $CPPFLAGS'
38006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38011 /* end confdefs.h. */
38012 #include <math.h>
38014 main ()
38016 powf(0, 0);
38018 return 0;
38020 _ACEOF
38021 if ac_fn_cxx_try_compile "$LINENO"; then :
38022 glibcxx_cv_func_powf_use=yes
38023 else
38024 glibcxx_cv_func_powf_use=no
38026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38027 ac_ext=c
38028 ac_cpp='$CPP $CPPFLAGS'
38029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38038 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38040 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38041 for ac_func in powf
38042 do :
38043 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38044 if test "x$ac_cv_func_powf" = x""yes; then :
38045 cat >>confdefs.h <<_ACEOF
38046 #define HAVE_POWF 1
38047 _ACEOF
38050 done
38052 else
38054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38055 $as_echo_n "checking for _powf declaration... " >&6; }
38056 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38057 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38058 $as_echo_n "(cached) " >&6
38059 else
38062 ac_ext=cpp
38063 ac_cpp='$CXXCPP $CPPFLAGS'
38064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38069 /* end confdefs.h. */
38070 #include <math.h>
38072 main ()
38074 _powf(0, 0);
38076 return 0;
38078 _ACEOF
38079 if ac_fn_cxx_try_compile "$LINENO"; then :
38080 glibcxx_cv_func__powf_use=yes
38081 else
38082 glibcxx_cv_func__powf_use=no
38084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38085 ac_ext=c
38086 ac_cpp='$CPP $CPPFLAGS'
38087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38096 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38098 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38099 for ac_func in _powf
38100 do :
38101 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38102 if test "x$ac_cv_func__powf" = x""yes; then :
38103 cat >>confdefs.h <<_ACEOF
38104 #define HAVE__POWF 1
38105 _ACEOF
38108 done
38117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38118 $as_echo_n "checking for sqrtf declaration... " >&6; }
38119 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38120 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38121 $as_echo_n "(cached) " >&6
38122 else
38125 ac_ext=cpp
38126 ac_cpp='$CXXCPP $CPPFLAGS'
38127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38132 /* end confdefs.h. */
38133 #include <math.h>
38134 #ifdef HAVE_IEEEFP_H
38135 #include <ieeefp.h>
38136 #endif
38139 main ()
38141 sqrtf(0);
38143 return 0;
38145 _ACEOF
38146 if ac_fn_cxx_try_compile "$LINENO"; then :
38147 glibcxx_cv_func_sqrtf_use=yes
38148 else
38149 glibcxx_cv_func_sqrtf_use=no
38151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38152 ac_ext=c
38153 ac_cpp='$CPP $CPPFLAGS'
38154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38163 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38165 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38166 for ac_func in sqrtf
38167 do :
38168 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38169 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38170 cat >>confdefs.h <<_ACEOF
38171 #define HAVE_SQRTF 1
38172 _ACEOF
38175 done
38177 else
38179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38180 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38181 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38182 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38183 $as_echo_n "(cached) " >&6
38184 else
38187 ac_ext=cpp
38188 ac_cpp='$CXXCPP $CPPFLAGS'
38189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38194 /* end confdefs.h. */
38195 #include <math.h>
38196 #ifdef HAVE_IEEEFP_H
38197 #include <ieeefp.h>
38198 #endif
38201 main ()
38203 _sqrtf(0);
38205 return 0;
38207 _ACEOF
38208 if ac_fn_cxx_try_compile "$LINENO"; then :
38209 glibcxx_cv_func__sqrtf_use=yes
38210 else
38211 glibcxx_cv_func__sqrtf_use=no
38213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38214 ac_ext=c
38215 ac_cpp='$CPP $CPPFLAGS'
38216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38225 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38227 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38228 for ac_func in _sqrtf
38229 do :
38230 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38231 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38232 cat >>confdefs.h <<_ACEOF
38233 #define HAVE__SQRTF 1
38234 _ACEOF
38237 done
38246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38247 $as_echo_n "checking for sincosf declaration... " >&6; }
38248 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38249 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38250 $as_echo_n "(cached) " >&6
38251 else
38254 ac_ext=cpp
38255 ac_cpp='$CXXCPP $CPPFLAGS'
38256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38261 /* end confdefs.h. */
38262 #include <math.h>
38264 main ()
38266 sincosf(0, 0, 0);
38268 return 0;
38270 _ACEOF
38271 if ac_fn_cxx_try_compile "$LINENO"; then :
38272 glibcxx_cv_func_sincosf_use=yes
38273 else
38274 glibcxx_cv_func_sincosf_use=no
38276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38277 ac_ext=c
38278 ac_cpp='$CPP $CPPFLAGS'
38279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38288 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38290 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38291 for ac_func in sincosf
38292 do :
38293 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38294 if test "x$ac_cv_func_sincosf" = x""yes; then :
38295 cat >>confdefs.h <<_ACEOF
38296 #define HAVE_SINCOSF 1
38297 _ACEOF
38300 done
38302 else
38304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38305 $as_echo_n "checking for _sincosf declaration... " >&6; }
38306 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38307 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38308 $as_echo_n "(cached) " >&6
38309 else
38312 ac_ext=cpp
38313 ac_cpp='$CXXCPP $CPPFLAGS'
38314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38319 /* end confdefs.h. */
38320 #include <math.h>
38322 main ()
38324 _sincosf(0, 0, 0);
38326 return 0;
38328 _ACEOF
38329 if ac_fn_cxx_try_compile "$LINENO"; then :
38330 glibcxx_cv_func__sincosf_use=yes
38331 else
38332 glibcxx_cv_func__sincosf_use=no
38334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38335 ac_ext=c
38336 ac_cpp='$CPP $CPPFLAGS'
38337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38346 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38348 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38349 for ac_func in _sincosf
38350 do :
38351 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38352 if test "x$ac_cv_func__sincosf" = x""yes; then :
38353 cat >>confdefs.h <<_ACEOF
38354 #define HAVE__SINCOSF 1
38355 _ACEOF
38358 done
38367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38368 $as_echo_n "checking for finitef declaration... " >&6; }
38369 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38370 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38371 $as_echo_n "(cached) " >&6
38372 else
38375 ac_ext=cpp
38376 ac_cpp='$CXXCPP $CPPFLAGS'
38377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38382 /* end confdefs.h. */
38383 #include <math.h>
38384 #ifdef HAVE_IEEEFP_H
38385 #include <ieeefp.h>
38386 #endif
38389 main ()
38391 finitef(0);
38393 return 0;
38395 _ACEOF
38396 if ac_fn_cxx_try_compile "$LINENO"; then :
38397 glibcxx_cv_func_finitef_use=yes
38398 else
38399 glibcxx_cv_func_finitef_use=no
38401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38402 ac_ext=c
38403 ac_cpp='$CPP $CPPFLAGS'
38404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38413 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38415 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38416 for ac_func in finitef
38417 do :
38418 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38419 if test "x$ac_cv_func_finitef" = x""yes; then :
38420 cat >>confdefs.h <<_ACEOF
38421 #define HAVE_FINITEF 1
38422 _ACEOF
38425 done
38427 else
38429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38430 $as_echo_n "checking for _finitef declaration... " >&6; }
38431 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38432 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38433 $as_echo_n "(cached) " >&6
38434 else
38437 ac_ext=cpp
38438 ac_cpp='$CXXCPP $CPPFLAGS'
38439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38444 /* end confdefs.h. */
38445 #include <math.h>
38446 #ifdef HAVE_IEEEFP_H
38447 #include <ieeefp.h>
38448 #endif
38451 main ()
38453 _finitef(0);
38455 return 0;
38457 _ACEOF
38458 if ac_fn_cxx_try_compile "$LINENO"; then :
38459 glibcxx_cv_func__finitef_use=yes
38460 else
38461 glibcxx_cv_func__finitef_use=no
38463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38464 ac_ext=c
38465 ac_cpp='$CPP $CPPFLAGS'
38466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38475 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38477 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38478 for ac_func in _finitef
38479 do :
38480 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38481 if test "x$ac_cv_func__finitef" = x""yes; then :
38482 cat >>confdefs.h <<_ACEOF
38483 #define HAVE__FINITEF 1
38484 _ACEOF
38487 done
38496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38497 $as_echo_n "checking for long double trig functions... " >&6; }
38498 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38499 $as_echo_n "(cached) " >&6
38500 else
38503 ac_ext=cpp
38504 ac_cpp='$CXXCPP $CPPFLAGS'
38505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38510 /* end confdefs.h. */
38511 #include <math.h>
38513 main ()
38515 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38517 return 0;
38519 _ACEOF
38520 if ac_fn_cxx_try_compile "$LINENO"; then :
38521 glibcxx_cv_func_long_double_trig_use=yes
38522 else
38523 glibcxx_cv_func_long_double_trig_use=no
38525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38526 ac_ext=c
38527 ac_cpp='$CPP $CPPFLAGS'
38528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38535 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38536 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38537 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38538 do :
38539 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38540 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38541 eval as_val=\$$as_ac_var
38542 if test "x$as_val" = x""yes; then :
38543 cat >>confdefs.h <<_ACEOF
38544 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38545 _ACEOF
38548 done
38550 else
38551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38552 $as_echo_n "checking for _long double trig functions... " >&6; }
38553 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38554 $as_echo_n "(cached) " >&6
38555 else
38558 ac_ext=cpp
38559 ac_cpp='$CXXCPP $CPPFLAGS'
38560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38565 /* end confdefs.h. */
38566 #include <math.h>
38568 main ()
38570 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38572 return 0;
38574 _ACEOF
38575 if ac_fn_cxx_try_compile "$LINENO"; then :
38576 glibcxx_cv_func__long_double_trig_use=yes
38577 else
38578 glibcxx_cv_func__long_double_trig_use=no
38580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38581 ac_ext=c
38582 ac_cpp='$CPP $CPPFLAGS'
38583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38590 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38591 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38592 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38593 do :
38594 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38595 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38596 eval as_val=\$$as_ac_var
38597 if test "x$as_val" = x""yes; then :
38598 cat >>confdefs.h <<_ACEOF
38599 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38600 _ACEOF
38603 done
38612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38613 $as_echo_n "checking for long double round functions... " >&6; }
38614 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38615 $as_echo_n "(cached) " >&6
38616 else
38619 ac_ext=cpp
38620 ac_cpp='$CXXCPP $CPPFLAGS'
38621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38626 /* end confdefs.h. */
38627 #include <math.h>
38629 main ()
38631 ceill (0); floorl (0);
38633 return 0;
38635 _ACEOF
38636 if ac_fn_cxx_try_compile "$LINENO"; then :
38637 glibcxx_cv_func_long_double_round_use=yes
38638 else
38639 glibcxx_cv_func_long_double_round_use=no
38641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38642 ac_ext=c
38643 ac_cpp='$CPP $CPPFLAGS'
38644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38651 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38652 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38653 for ac_func in ceill floorl
38654 do :
38655 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38656 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38657 eval as_val=\$$as_ac_var
38658 if test "x$as_val" = x""yes; then :
38659 cat >>confdefs.h <<_ACEOF
38660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38661 _ACEOF
38664 done
38666 else
38667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38668 $as_echo_n "checking for _long double round functions... " >&6; }
38669 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38670 $as_echo_n "(cached) " >&6
38671 else
38674 ac_ext=cpp
38675 ac_cpp='$CXXCPP $CPPFLAGS'
38676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38681 /* end confdefs.h. */
38682 #include <math.h>
38684 main ()
38686 _ceill (0); _floorl (0);
38688 return 0;
38690 _ACEOF
38691 if ac_fn_cxx_try_compile "$LINENO"; then :
38692 glibcxx_cv_func__long_double_round_use=yes
38693 else
38694 glibcxx_cv_func__long_double_round_use=no
38696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38697 ac_ext=c
38698 ac_cpp='$CPP $CPPFLAGS'
38699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38706 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38707 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38708 for ac_func in _ceill _floorl
38709 do :
38710 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38711 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38712 eval as_val=\$$as_ac_var
38713 if test "x$as_val" = x""yes; then :
38714 cat >>confdefs.h <<_ACEOF
38715 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38716 _ACEOF
38719 done
38729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38730 $as_echo_n "checking for isnanl declaration... " >&6; }
38731 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38732 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38733 $as_echo_n "(cached) " >&6
38734 else
38737 ac_ext=cpp
38738 ac_cpp='$CXXCPP $CPPFLAGS'
38739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38744 /* end confdefs.h. */
38745 #include <math.h>
38746 #ifdef HAVE_IEEEFP_H
38747 #include <ieeefp.h>
38748 #endif
38751 main ()
38753 isnanl(0);
38755 return 0;
38757 _ACEOF
38758 if ac_fn_cxx_try_compile "$LINENO"; then :
38759 glibcxx_cv_func_isnanl_use=yes
38760 else
38761 glibcxx_cv_func_isnanl_use=no
38763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38764 ac_ext=c
38765 ac_cpp='$CPP $CPPFLAGS'
38766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38775 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38777 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38778 for ac_func in isnanl
38779 do :
38780 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38781 if test "x$ac_cv_func_isnanl" = x""yes; then :
38782 cat >>confdefs.h <<_ACEOF
38783 #define HAVE_ISNANL 1
38784 _ACEOF
38787 done
38789 else
38791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38792 $as_echo_n "checking for _isnanl declaration... " >&6; }
38793 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38794 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38795 $as_echo_n "(cached) " >&6
38796 else
38799 ac_ext=cpp
38800 ac_cpp='$CXXCPP $CPPFLAGS'
38801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38806 /* end confdefs.h. */
38807 #include <math.h>
38808 #ifdef HAVE_IEEEFP_H
38809 #include <ieeefp.h>
38810 #endif
38813 main ()
38815 _isnanl(0);
38817 return 0;
38819 _ACEOF
38820 if ac_fn_cxx_try_compile "$LINENO"; then :
38821 glibcxx_cv_func__isnanl_use=yes
38822 else
38823 glibcxx_cv_func__isnanl_use=no
38825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38826 ac_ext=c
38827 ac_cpp='$CPP $CPPFLAGS'
38828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38837 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38839 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38840 for ac_func in _isnanl
38841 do :
38842 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38843 if test "x$ac_cv_func__isnanl" = x""yes; then :
38844 cat >>confdefs.h <<_ACEOF
38845 #define HAVE__ISNANL 1
38846 _ACEOF
38849 done
38858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38859 $as_echo_n "checking for isinfl declaration... " >&6; }
38860 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38861 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38862 $as_echo_n "(cached) " >&6
38863 else
38866 ac_ext=cpp
38867 ac_cpp='$CXXCPP $CPPFLAGS'
38868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38873 /* end confdefs.h. */
38874 #include <math.h>
38875 #ifdef HAVE_IEEEFP_H
38876 #include <ieeefp.h>
38877 #endif
38880 main ()
38882 isinfl(0);
38884 return 0;
38886 _ACEOF
38887 if ac_fn_cxx_try_compile "$LINENO"; then :
38888 glibcxx_cv_func_isinfl_use=yes
38889 else
38890 glibcxx_cv_func_isinfl_use=no
38892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38893 ac_ext=c
38894 ac_cpp='$CPP $CPPFLAGS'
38895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38904 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38906 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38907 for ac_func in isinfl
38908 do :
38909 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38910 if test "x$ac_cv_func_isinfl" = x""yes; then :
38911 cat >>confdefs.h <<_ACEOF
38912 #define HAVE_ISINFL 1
38913 _ACEOF
38916 done
38918 else
38920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38921 $as_echo_n "checking for _isinfl declaration... " >&6; }
38922 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38923 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38924 $as_echo_n "(cached) " >&6
38925 else
38928 ac_ext=cpp
38929 ac_cpp='$CXXCPP $CPPFLAGS'
38930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38935 /* end confdefs.h. */
38936 #include <math.h>
38937 #ifdef HAVE_IEEEFP_H
38938 #include <ieeefp.h>
38939 #endif
38942 main ()
38944 _isinfl(0);
38946 return 0;
38948 _ACEOF
38949 if ac_fn_cxx_try_compile "$LINENO"; then :
38950 glibcxx_cv_func__isinfl_use=yes
38951 else
38952 glibcxx_cv_func__isinfl_use=no
38954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38955 ac_ext=c
38956 ac_cpp='$CPP $CPPFLAGS'
38957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38966 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38968 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38969 for ac_func in _isinfl
38970 do :
38971 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38972 if test "x$ac_cv_func__isinfl" = x""yes; then :
38973 cat >>confdefs.h <<_ACEOF
38974 #define HAVE__ISINFL 1
38975 _ACEOF
38978 done
38987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38988 $as_echo_n "checking for atan2l declaration... " >&6; }
38989 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38990 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
38991 $as_echo_n "(cached) " >&6
38992 else
38995 ac_ext=cpp
38996 ac_cpp='$CXXCPP $CPPFLAGS'
38997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39002 /* end confdefs.h. */
39003 #include <math.h>
39005 main ()
39007 atan2l(0, 0);
39009 return 0;
39011 _ACEOF
39012 if ac_fn_cxx_try_compile "$LINENO"; then :
39013 glibcxx_cv_func_atan2l_use=yes
39014 else
39015 glibcxx_cv_func_atan2l_use=no
39017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39018 ac_ext=c
39019 ac_cpp='$CPP $CPPFLAGS'
39020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39029 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39031 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39032 for ac_func in atan2l
39033 do :
39034 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39035 if test "x$ac_cv_func_atan2l" = x""yes; then :
39036 cat >>confdefs.h <<_ACEOF
39037 #define HAVE_ATAN2L 1
39038 _ACEOF
39041 done
39043 else
39045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39046 $as_echo_n "checking for _atan2l declaration... " >&6; }
39047 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39048 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39049 $as_echo_n "(cached) " >&6
39050 else
39053 ac_ext=cpp
39054 ac_cpp='$CXXCPP $CPPFLAGS'
39055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39060 /* end confdefs.h. */
39061 #include <math.h>
39063 main ()
39065 _atan2l(0, 0);
39067 return 0;
39069 _ACEOF
39070 if ac_fn_cxx_try_compile "$LINENO"; then :
39071 glibcxx_cv_func__atan2l_use=yes
39072 else
39073 glibcxx_cv_func__atan2l_use=no
39075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39076 ac_ext=c
39077 ac_cpp='$CPP $CPPFLAGS'
39078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39087 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39089 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39090 for ac_func in _atan2l
39091 do :
39092 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39093 if test "x$ac_cv_func__atan2l" = x""yes; then :
39094 cat >>confdefs.h <<_ACEOF
39095 #define HAVE__ATAN2L 1
39096 _ACEOF
39099 done
39108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39109 $as_echo_n "checking for expl declaration... " >&6; }
39110 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39111 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39112 $as_echo_n "(cached) " >&6
39113 else
39116 ac_ext=cpp
39117 ac_cpp='$CXXCPP $CPPFLAGS'
39118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39123 /* end confdefs.h. */
39124 #include <math.h>
39125 #ifdef HAVE_IEEEFP_H
39126 #include <ieeefp.h>
39127 #endif
39130 main ()
39132 expl(0);
39134 return 0;
39136 _ACEOF
39137 if ac_fn_cxx_try_compile "$LINENO"; then :
39138 glibcxx_cv_func_expl_use=yes
39139 else
39140 glibcxx_cv_func_expl_use=no
39142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39143 ac_ext=c
39144 ac_cpp='$CPP $CPPFLAGS'
39145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39154 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39156 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39157 for ac_func in expl
39158 do :
39159 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39160 if test "x$ac_cv_func_expl" = x""yes; then :
39161 cat >>confdefs.h <<_ACEOF
39162 #define HAVE_EXPL 1
39163 _ACEOF
39166 done
39168 else
39170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39171 $as_echo_n "checking for _expl declaration... " >&6; }
39172 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39173 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39174 $as_echo_n "(cached) " >&6
39175 else
39178 ac_ext=cpp
39179 ac_cpp='$CXXCPP $CPPFLAGS'
39180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39185 /* end confdefs.h. */
39186 #include <math.h>
39187 #ifdef HAVE_IEEEFP_H
39188 #include <ieeefp.h>
39189 #endif
39192 main ()
39194 _expl(0);
39196 return 0;
39198 _ACEOF
39199 if ac_fn_cxx_try_compile "$LINENO"; then :
39200 glibcxx_cv_func__expl_use=yes
39201 else
39202 glibcxx_cv_func__expl_use=no
39204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39205 ac_ext=c
39206 ac_cpp='$CPP $CPPFLAGS'
39207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39216 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39218 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39219 for ac_func in _expl
39220 do :
39221 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39222 if test "x$ac_cv_func__expl" = x""yes; then :
39223 cat >>confdefs.h <<_ACEOF
39224 #define HAVE__EXPL 1
39225 _ACEOF
39228 done
39237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39238 $as_echo_n "checking for fabsl declaration... " >&6; }
39239 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39240 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39241 $as_echo_n "(cached) " >&6
39242 else
39245 ac_ext=cpp
39246 ac_cpp='$CXXCPP $CPPFLAGS'
39247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39252 /* end confdefs.h. */
39253 #include <math.h>
39254 #ifdef HAVE_IEEEFP_H
39255 #include <ieeefp.h>
39256 #endif
39259 main ()
39261 fabsl(0);
39263 return 0;
39265 _ACEOF
39266 if ac_fn_cxx_try_compile "$LINENO"; then :
39267 glibcxx_cv_func_fabsl_use=yes
39268 else
39269 glibcxx_cv_func_fabsl_use=no
39271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39272 ac_ext=c
39273 ac_cpp='$CPP $CPPFLAGS'
39274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39283 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39285 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39286 for ac_func in fabsl
39287 do :
39288 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39289 if test "x$ac_cv_func_fabsl" = x""yes; then :
39290 cat >>confdefs.h <<_ACEOF
39291 #define HAVE_FABSL 1
39292 _ACEOF
39295 done
39297 else
39299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39300 $as_echo_n "checking for _fabsl declaration... " >&6; }
39301 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39302 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39303 $as_echo_n "(cached) " >&6
39304 else
39307 ac_ext=cpp
39308 ac_cpp='$CXXCPP $CPPFLAGS'
39309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39314 /* end confdefs.h. */
39315 #include <math.h>
39316 #ifdef HAVE_IEEEFP_H
39317 #include <ieeefp.h>
39318 #endif
39321 main ()
39323 _fabsl(0);
39325 return 0;
39327 _ACEOF
39328 if ac_fn_cxx_try_compile "$LINENO"; then :
39329 glibcxx_cv_func__fabsl_use=yes
39330 else
39331 glibcxx_cv_func__fabsl_use=no
39333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39334 ac_ext=c
39335 ac_cpp='$CPP $CPPFLAGS'
39336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39345 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39347 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39348 for ac_func in _fabsl
39349 do :
39350 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39351 if test "x$ac_cv_func__fabsl" = x""yes; then :
39352 cat >>confdefs.h <<_ACEOF
39353 #define HAVE__FABSL 1
39354 _ACEOF
39357 done
39366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39367 $as_echo_n "checking for fmodl declaration... " >&6; }
39368 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39369 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39370 $as_echo_n "(cached) " >&6
39371 else
39374 ac_ext=cpp
39375 ac_cpp='$CXXCPP $CPPFLAGS'
39376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39381 /* end confdefs.h. */
39382 #include <math.h>
39384 main ()
39386 fmodl(0, 0);
39388 return 0;
39390 _ACEOF
39391 if ac_fn_cxx_try_compile "$LINENO"; then :
39392 glibcxx_cv_func_fmodl_use=yes
39393 else
39394 glibcxx_cv_func_fmodl_use=no
39396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39397 ac_ext=c
39398 ac_cpp='$CPP $CPPFLAGS'
39399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39408 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39410 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39411 for ac_func in fmodl
39412 do :
39413 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39414 if test "x$ac_cv_func_fmodl" = x""yes; then :
39415 cat >>confdefs.h <<_ACEOF
39416 #define HAVE_FMODL 1
39417 _ACEOF
39420 done
39422 else
39424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39425 $as_echo_n "checking for _fmodl declaration... " >&6; }
39426 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39427 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39428 $as_echo_n "(cached) " >&6
39429 else
39432 ac_ext=cpp
39433 ac_cpp='$CXXCPP $CPPFLAGS'
39434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39439 /* end confdefs.h. */
39440 #include <math.h>
39442 main ()
39444 _fmodl(0, 0);
39446 return 0;
39448 _ACEOF
39449 if ac_fn_cxx_try_compile "$LINENO"; then :
39450 glibcxx_cv_func__fmodl_use=yes
39451 else
39452 glibcxx_cv_func__fmodl_use=no
39454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39455 ac_ext=c
39456 ac_cpp='$CPP $CPPFLAGS'
39457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39466 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39468 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39469 for ac_func in _fmodl
39470 do :
39471 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39472 if test "x$ac_cv_func__fmodl" = x""yes; then :
39473 cat >>confdefs.h <<_ACEOF
39474 #define HAVE__FMODL 1
39475 _ACEOF
39478 done
39487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39488 $as_echo_n "checking for frexpl declaration... " >&6; }
39489 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39490 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39491 $as_echo_n "(cached) " >&6
39492 else
39495 ac_ext=cpp
39496 ac_cpp='$CXXCPP $CPPFLAGS'
39497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39502 /* end confdefs.h. */
39503 #include <math.h>
39505 main ()
39507 frexpl(0, 0);
39509 return 0;
39511 _ACEOF
39512 if ac_fn_cxx_try_compile "$LINENO"; then :
39513 glibcxx_cv_func_frexpl_use=yes
39514 else
39515 glibcxx_cv_func_frexpl_use=no
39517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39518 ac_ext=c
39519 ac_cpp='$CPP $CPPFLAGS'
39520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39529 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39531 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39532 for ac_func in frexpl
39533 do :
39534 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39535 if test "x$ac_cv_func_frexpl" = x""yes; then :
39536 cat >>confdefs.h <<_ACEOF
39537 #define HAVE_FREXPL 1
39538 _ACEOF
39541 done
39543 else
39545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39546 $as_echo_n "checking for _frexpl declaration... " >&6; }
39547 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39548 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39549 $as_echo_n "(cached) " >&6
39550 else
39553 ac_ext=cpp
39554 ac_cpp='$CXXCPP $CPPFLAGS'
39555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39560 /* end confdefs.h. */
39561 #include <math.h>
39563 main ()
39565 _frexpl(0, 0);
39567 return 0;
39569 _ACEOF
39570 if ac_fn_cxx_try_compile "$LINENO"; then :
39571 glibcxx_cv_func__frexpl_use=yes
39572 else
39573 glibcxx_cv_func__frexpl_use=no
39575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39576 ac_ext=c
39577 ac_cpp='$CPP $CPPFLAGS'
39578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39587 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39589 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39590 for ac_func in _frexpl
39591 do :
39592 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39593 if test "x$ac_cv_func__frexpl" = x""yes; then :
39594 cat >>confdefs.h <<_ACEOF
39595 #define HAVE__FREXPL 1
39596 _ACEOF
39599 done
39608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39609 $as_echo_n "checking for hypotl declaration... " >&6; }
39610 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39611 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39612 $as_echo_n "(cached) " >&6
39613 else
39616 ac_ext=cpp
39617 ac_cpp='$CXXCPP $CPPFLAGS'
39618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39623 /* end confdefs.h. */
39624 #include <math.h>
39626 main ()
39628 hypotl(0, 0);
39630 return 0;
39632 _ACEOF
39633 if ac_fn_cxx_try_compile "$LINENO"; then :
39634 glibcxx_cv_func_hypotl_use=yes
39635 else
39636 glibcxx_cv_func_hypotl_use=no
39638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39639 ac_ext=c
39640 ac_cpp='$CPP $CPPFLAGS'
39641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39650 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39652 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39653 for ac_func in hypotl
39654 do :
39655 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39656 if test "x$ac_cv_func_hypotl" = x""yes; then :
39657 cat >>confdefs.h <<_ACEOF
39658 #define HAVE_HYPOTL 1
39659 _ACEOF
39662 done
39664 else
39666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39667 $as_echo_n "checking for _hypotl declaration... " >&6; }
39668 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39669 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39670 $as_echo_n "(cached) " >&6
39671 else
39674 ac_ext=cpp
39675 ac_cpp='$CXXCPP $CPPFLAGS'
39676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39681 /* end confdefs.h. */
39682 #include <math.h>
39684 main ()
39686 _hypotl(0, 0);
39688 return 0;
39690 _ACEOF
39691 if ac_fn_cxx_try_compile "$LINENO"; then :
39692 glibcxx_cv_func__hypotl_use=yes
39693 else
39694 glibcxx_cv_func__hypotl_use=no
39696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39697 ac_ext=c
39698 ac_cpp='$CPP $CPPFLAGS'
39699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39708 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39710 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39711 for ac_func in _hypotl
39712 do :
39713 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39714 if test "x$ac_cv_func__hypotl" = x""yes; then :
39715 cat >>confdefs.h <<_ACEOF
39716 #define HAVE__HYPOTL 1
39717 _ACEOF
39720 done
39729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39730 $as_echo_n "checking for ldexpl declaration... " >&6; }
39731 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39732 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39733 $as_echo_n "(cached) " >&6
39734 else
39737 ac_ext=cpp
39738 ac_cpp='$CXXCPP $CPPFLAGS'
39739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39744 /* end confdefs.h. */
39745 #include <math.h>
39747 main ()
39749 ldexpl(0, 0);
39751 return 0;
39753 _ACEOF
39754 if ac_fn_cxx_try_compile "$LINENO"; then :
39755 glibcxx_cv_func_ldexpl_use=yes
39756 else
39757 glibcxx_cv_func_ldexpl_use=no
39759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39760 ac_ext=c
39761 ac_cpp='$CPP $CPPFLAGS'
39762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39771 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39773 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39774 for ac_func in ldexpl
39775 do :
39776 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39777 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39778 cat >>confdefs.h <<_ACEOF
39779 #define HAVE_LDEXPL 1
39780 _ACEOF
39783 done
39785 else
39787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39788 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39789 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39790 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39791 $as_echo_n "(cached) " >&6
39792 else
39795 ac_ext=cpp
39796 ac_cpp='$CXXCPP $CPPFLAGS'
39797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39802 /* end confdefs.h. */
39803 #include <math.h>
39805 main ()
39807 _ldexpl(0, 0);
39809 return 0;
39811 _ACEOF
39812 if ac_fn_cxx_try_compile "$LINENO"; then :
39813 glibcxx_cv_func__ldexpl_use=yes
39814 else
39815 glibcxx_cv_func__ldexpl_use=no
39817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39818 ac_ext=c
39819 ac_cpp='$CPP $CPPFLAGS'
39820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39829 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39831 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39832 for ac_func in _ldexpl
39833 do :
39834 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39835 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39836 cat >>confdefs.h <<_ACEOF
39837 #define HAVE__LDEXPL 1
39838 _ACEOF
39841 done
39850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39851 $as_echo_n "checking for logl declaration... " >&6; }
39852 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39853 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39854 $as_echo_n "(cached) " >&6
39855 else
39858 ac_ext=cpp
39859 ac_cpp='$CXXCPP $CPPFLAGS'
39860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39865 /* end confdefs.h. */
39866 #include <math.h>
39867 #ifdef HAVE_IEEEFP_H
39868 #include <ieeefp.h>
39869 #endif
39872 main ()
39874 logl(0);
39876 return 0;
39878 _ACEOF
39879 if ac_fn_cxx_try_compile "$LINENO"; then :
39880 glibcxx_cv_func_logl_use=yes
39881 else
39882 glibcxx_cv_func_logl_use=no
39884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39885 ac_ext=c
39886 ac_cpp='$CPP $CPPFLAGS'
39887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39896 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39898 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39899 for ac_func in logl
39900 do :
39901 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39902 if test "x$ac_cv_func_logl" = x""yes; then :
39903 cat >>confdefs.h <<_ACEOF
39904 #define HAVE_LOGL 1
39905 _ACEOF
39908 done
39910 else
39912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39913 $as_echo_n "checking for _logl declaration... " >&6; }
39914 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39915 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39916 $as_echo_n "(cached) " >&6
39917 else
39920 ac_ext=cpp
39921 ac_cpp='$CXXCPP $CPPFLAGS'
39922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39927 /* end confdefs.h. */
39928 #include <math.h>
39929 #ifdef HAVE_IEEEFP_H
39930 #include <ieeefp.h>
39931 #endif
39934 main ()
39936 _logl(0);
39938 return 0;
39940 _ACEOF
39941 if ac_fn_cxx_try_compile "$LINENO"; then :
39942 glibcxx_cv_func__logl_use=yes
39943 else
39944 glibcxx_cv_func__logl_use=no
39946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39947 ac_ext=c
39948 ac_cpp='$CPP $CPPFLAGS'
39949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39958 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39960 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39961 for ac_func in _logl
39962 do :
39963 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39964 if test "x$ac_cv_func__logl" = x""yes; then :
39965 cat >>confdefs.h <<_ACEOF
39966 #define HAVE__LOGL 1
39967 _ACEOF
39970 done
39979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39980 $as_echo_n "checking for log10l declaration... " >&6; }
39981 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39982 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39983 $as_echo_n "(cached) " >&6
39984 else
39987 ac_ext=cpp
39988 ac_cpp='$CXXCPP $CPPFLAGS'
39989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39994 /* end confdefs.h. */
39995 #include <math.h>
39996 #ifdef HAVE_IEEEFP_H
39997 #include <ieeefp.h>
39998 #endif
40001 main ()
40003 log10l(0);
40005 return 0;
40007 _ACEOF
40008 if ac_fn_cxx_try_compile "$LINENO"; then :
40009 glibcxx_cv_func_log10l_use=yes
40010 else
40011 glibcxx_cv_func_log10l_use=no
40013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40014 ac_ext=c
40015 ac_cpp='$CPP $CPPFLAGS'
40016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40025 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40027 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40028 for ac_func in log10l
40029 do :
40030 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40031 if test "x$ac_cv_func_log10l" = x""yes; then :
40032 cat >>confdefs.h <<_ACEOF
40033 #define HAVE_LOG10L 1
40034 _ACEOF
40037 done
40039 else
40041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40042 $as_echo_n "checking for _log10l declaration... " >&6; }
40043 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40044 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40045 $as_echo_n "(cached) " >&6
40046 else
40049 ac_ext=cpp
40050 ac_cpp='$CXXCPP $CPPFLAGS'
40051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40056 /* end confdefs.h. */
40057 #include <math.h>
40058 #ifdef HAVE_IEEEFP_H
40059 #include <ieeefp.h>
40060 #endif
40063 main ()
40065 _log10l(0);
40067 return 0;
40069 _ACEOF
40070 if ac_fn_cxx_try_compile "$LINENO"; then :
40071 glibcxx_cv_func__log10l_use=yes
40072 else
40073 glibcxx_cv_func__log10l_use=no
40075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40076 ac_ext=c
40077 ac_cpp='$CPP $CPPFLAGS'
40078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40087 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40089 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40090 for ac_func in _log10l
40091 do :
40092 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40093 if test "x$ac_cv_func__log10l" = x""yes; then :
40094 cat >>confdefs.h <<_ACEOF
40095 #define HAVE__LOG10L 1
40096 _ACEOF
40099 done
40108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40109 $as_echo_n "checking for modfl declaration... " >&6; }
40110 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40111 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40112 $as_echo_n "(cached) " >&6
40113 else
40116 ac_ext=cpp
40117 ac_cpp='$CXXCPP $CPPFLAGS'
40118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40123 /* end confdefs.h. */
40124 #include <math.h>
40126 main ()
40128 modfl(0, 0);
40130 return 0;
40132 _ACEOF
40133 if ac_fn_cxx_try_compile "$LINENO"; then :
40134 glibcxx_cv_func_modfl_use=yes
40135 else
40136 glibcxx_cv_func_modfl_use=no
40138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40139 ac_ext=c
40140 ac_cpp='$CPP $CPPFLAGS'
40141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40150 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40152 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40153 for ac_func in modfl
40154 do :
40155 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40156 if test "x$ac_cv_func_modfl" = x""yes; then :
40157 cat >>confdefs.h <<_ACEOF
40158 #define HAVE_MODFL 1
40159 _ACEOF
40162 done
40164 else
40166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40167 $as_echo_n "checking for _modfl declaration... " >&6; }
40168 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40169 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40170 $as_echo_n "(cached) " >&6
40171 else
40174 ac_ext=cpp
40175 ac_cpp='$CXXCPP $CPPFLAGS'
40176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40181 /* end confdefs.h. */
40182 #include <math.h>
40184 main ()
40186 _modfl(0, 0);
40188 return 0;
40190 _ACEOF
40191 if ac_fn_cxx_try_compile "$LINENO"; then :
40192 glibcxx_cv_func__modfl_use=yes
40193 else
40194 glibcxx_cv_func__modfl_use=no
40196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40197 ac_ext=c
40198 ac_cpp='$CPP $CPPFLAGS'
40199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40208 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40210 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40211 for ac_func in _modfl
40212 do :
40213 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40214 if test "x$ac_cv_func__modfl" = x""yes; then :
40215 cat >>confdefs.h <<_ACEOF
40216 #define HAVE__MODFL 1
40217 _ACEOF
40220 done
40229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40230 $as_echo_n "checking for powl declaration... " >&6; }
40231 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40232 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40233 $as_echo_n "(cached) " >&6
40234 else
40237 ac_ext=cpp
40238 ac_cpp='$CXXCPP $CPPFLAGS'
40239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40244 /* end confdefs.h. */
40245 #include <math.h>
40247 main ()
40249 powl(0, 0);
40251 return 0;
40253 _ACEOF
40254 if ac_fn_cxx_try_compile "$LINENO"; then :
40255 glibcxx_cv_func_powl_use=yes
40256 else
40257 glibcxx_cv_func_powl_use=no
40259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40260 ac_ext=c
40261 ac_cpp='$CPP $CPPFLAGS'
40262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40271 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40273 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40274 for ac_func in powl
40275 do :
40276 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40277 if test "x$ac_cv_func_powl" = x""yes; then :
40278 cat >>confdefs.h <<_ACEOF
40279 #define HAVE_POWL 1
40280 _ACEOF
40283 done
40285 else
40287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40288 $as_echo_n "checking for _powl declaration... " >&6; }
40289 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40290 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40291 $as_echo_n "(cached) " >&6
40292 else
40295 ac_ext=cpp
40296 ac_cpp='$CXXCPP $CPPFLAGS'
40297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40302 /* end confdefs.h. */
40303 #include <math.h>
40305 main ()
40307 _powl(0, 0);
40309 return 0;
40311 _ACEOF
40312 if ac_fn_cxx_try_compile "$LINENO"; then :
40313 glibcxx_cv_func__powl_use=yes
40314 else
40315 glibcxx_cv_func__powl_use=no
40317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40318 ac_ext=c
40319 ac_cpp='$CPP $CPPFLAGS'
40320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40329 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40331 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40332 for ac_func in _powl
40333 do :
40334 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40335 if test "x$ac_cv_func__powl" = x""yes; then :
40336 cat >>confdefs.h <<_ACEOF
40337 #define HAVE__POWL 1
40338 _ACEOF
40341 done
40350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40351 $as_echo_n "checking for sqrtl declaration... " >&6; }
40352 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40353 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40354 $as_echo_n "(cached) " >&6
40355 else
40358 ac_ext=cpp
40359 ac_cpp='$CXXCPP $CPPFLAGS'
40360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40365 /* end confdefs.h. */
40366 #include <math.h>
40367 #ifdef HAVE_IEEEFP_H
40368 #include <ieeefp.h>
40369 #endif
40372 main ()
40374 sqrtl(0);
40376 return 0;
40378 _ACEOF
40379 if ac_fn_cxx_try_compile "$LINENO"; then :
40380 glibcxx_cv_func_sqrtl_use=yes
40381 else
40382 glibcxx_cv_func_sqrtl_use=no
40384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40385 ac_ext=c
40386 ac_cpp='$CPP $CPPFLAGS'
40387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40396 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40398 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40399 for ac_func in sqrtl
40400 do :
40401 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40402 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40403 cat >>confdefs.h <<_ACEOF
40404 #define HAVE_SQRTL 1
40405 _ACEOF
40408 done
40410 else
40412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40413 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40414 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40415 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40416 $as_echo_n "(cached) " >&6
40417 else
40420 ac_ext=cpp
40421 ac_cpp='$CXXCPP $CPPFLAGS'
40422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40427 /* end confdefs.h. */
40428 #include <math.h>
40429 #ifdef HAVE_IEEEFP_H
40430 #include <ieeefp.h>
40431 #endif
40434 main ()
40436 _sqrtl(0);
40438 return 0;
40440 _ACEOF
40441 if ac_fn_cxx_try_compile "$LINENO"; then :
40442 glibcxx_cv_func__sqrtl_use=yes
40443 else
40444 glibcxx_cv_func__sqrtl_use=no
40446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40447 ac_ext=c
40448 ac_cpp='$CPP $CPPFLAGS'
40449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40458 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40460 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40461 for ac_func in _sqrtl
40462 do :
40463 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40464 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40465 cat >>confdefs.h <<_ACEOF
40466 #define HAVE__SQRTL 1
40467 _ACEOF
40470 done
40479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40480 $as_echo_n "checking for sincosl declaration... " >&6; }
40481 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40482 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40483 $as_echo_n "(cached) " >&6
40484 else
40487 ac_ext=cpp
40488 ac_cpp='$CXXCPP $CPPFLAGS'
40489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40494 /* end confdefs.h. */
40495 #include <math.h>
40497 main ()
40499 sincosl(0, 0, 0);
40501 return 0;
40503 _ACEOF
40504 if ac_fn_cxx_try_compile "$LINENO"; then :
40505 glibcxx_cv_func_sincosl_use=yes
40506 else
40507 glibcxx_cv_func_sincosl_use=no
40509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40510 ac_ext=c
40511 ac_cpp='$CPP $CPPFLAGS'
40512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40521 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40523 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40524 for ac_func in sincosl
40525 do :
40526 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40527 if test "x$ac_cv_func_sincosl" = x""yes; then :
40528 cat >>confdefs.h <<_ACEOF
40529 #define HAVE_SINCOSL 1
40530 _ACEOF
40533 done
40535 else
40537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40538 $as_echo_n "checking for _sincosl declaration... " >&6; }
40539 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40540 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40541 $as_echo_n "(cached) " >&6
40542 else
40545 ac_ext=cpp
40546 ac_cpp='$CXXCPP $CPPFLAGS'
40547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40552 /* end confdefs.h. */
40553 #include <math.h>
40555 main ()
40557 _sincosl(0, 0, 0);
40559 return 0;
40561 _ACEOF
40562 if ac_fn_cxx_try_compile "$LINENO"; then :
40563 glibcxx_cv_func__sincosl_use=yes
40564 else
40565 glibcxx_cv_func__sincosl_use=no
40567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40568 ac_ext=c
40569 ac_cpp='$CPP $CPPFLAGS'
40570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40579 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40581 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40582 for ac_func in _sincosl
40583 do :
40584 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40585 if test "x$ac_cv_func__sincosl" = x""yes; then :
40586 cat >>confdefs.h <<_ACEOF
40587 #define HAVE__SINCOSL 1
40588 _ACEOF
40591 done
40600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40601 $as_echo_n "checking for finitel declaration... " >&6; }
40602 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40603 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40604 $as_echo_n "(cached) " >&6
40605 else
40608 ac_ext=cpp
40609 ac_cpp='$CXXCPP $CPPFLAGS'
40610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40615 /* end confdefs.h. */
40616 #include <math.h>
40617 #ifdef HAVE_IEEEFP_H
40618 #include <ieeefp.h>
40619 #endif
40622 main ()
40624 finitel(0);
40626 return 0;
40628 _ACEOF
40629 if ac_fn_cxx_try_compile "$LINENO"; then :
40630 glibcxx_cv_func_finitel_use=yes
40631 else
40632 glibcxx_cv_func_finitel_use=no
40634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40635 ac_ext=c
40636 ac_cpp='$CPP $CPPFLAGS'
40637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40646 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40648 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40649 for ac_func in finitel
40650 do :
40651 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40652 if test "x$ac_cv_func_finitel" = x""yes; then :
40653 cat >>confdefs.h <<_ACEOF
40654 #define HAVE_FINITEL 1
40655 _ACEOF
40658 done
40660 else
40662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40663 $as_echo_n "checking for _finitel declaration... " >&6; }
40664 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40665 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40666 $as_echo_n "(cached) " >&6
40667 else
40670 ac_ext=cpp
40671 ac_cpp='$CXXCPP $CPPFLAGS'
40672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40677 /* end confdefs.h. */
40678 #include <math.h>
40679 #ifdef HAVE_IEEEFP_H
40680 #include <ieeefp.h>
40681 #endif
40684 main ()
40686 _finitel(0);
40688 return 0;
40690 _ACEOF
40691 if ac_fn_cxx_try_compile "$LINENO"; then :
40692 glibcxx_cv_func__finitel_use=yes
40693 else
40694 glibcxx_cv_func__finitel_use=no
40696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40697 ac_ext=c
40698 ac_cpp='$CPP $CPPFLAGS'
40699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40708 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40710 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40711 for ac_func in _finitel
40712 do :
40713 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40714 if test "x$ac_cv_func__finitel" = x""yes; then :
40715 cat >>confdefs.h <<_ACEOF
40716 #define HAVE__FINITEL 1
40717 _ACEOF
40720 done
40728 LIBS="$ac_save_LIBS"
40729 CXXFLAGS="$ac_save_CXXFLAGS"
40732 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40733 ac_save_CXXFLAGS="$CXXFLAGS"
40734 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40738 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40739 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40740 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40741 $as_echo_n "(cached) " >&6
40742 else
40745 ac_ext=cpp
40746 ac_cpp='$CXXCPP $CPPFLAGS'
40747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40752 /* end confdefs.h. */
40753 #include <stdlib.h>
40755 main ()
40757 at_quick_exit(0);
40759 return 0;
40761 _ACEOF
40762 if ac_fn_cxx_try_compile "$LINENO"; then :
40763 glibcxx_cv_func_at_quick_exit_use=yes
40764 else
40765 glibcxx_cv_func_at_quick_exit_use=no
40767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40768 ac_ext=c
40769 ac_cpp='$CPP $CPPFLAGS'
40770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40779 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40780 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40781 for ac_func in at_quick_exit
40782 do :
40783 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40784 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40785 cat >>confdefs.h <<_ACEOF
40786 #define HAVE_AT_QUICK_EXIT 1
40787 _ACEOF
40790 done
40795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40796 $as_echo_n "checking for quick_exit declaration... " >&6; }
40797 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40798 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40799 $as_echo_n "(cached) " >&6
40800 else
40803 ac_ext=cpp
40804 ac_cpp='$CXXCPP $CPPFLAGS'
40805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40810 /* end confdefs.h. */
40811 #include <stdlib.h>
40813 main ()
40815 quick_exit(0);
40817 return 0;
40819 _ACEOF
40820 if ac_fn_cxx_try_compile "$LINENO"; then :
40821 glibcxx_cv_func_quick_exit_use=yes
40822 else
40823 glibcxx_cv_func_quick_exit_use=no
40825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40826 ac_ext=c
40827 ac_cpp='$CPP $CPPFLAGS'
40828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40837 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40838 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40839 for ac_func in quick_exit
40840 do :
40841 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40842 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40843 cat >>confdefs.h <<_ACEOF
40844 #define HAVE_QUICK_EXIT 1
40845 _ACEOF
40848 done
40853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40854 $as_echo_n "checking for strtold declaration... " >&6; }
40855 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40856 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40857 $as_echo_n "(cached) " >&6
40858 else
40861 ac_ext=cpp
40862 ac_cpp='$CXXCPP $CPPFLAGS'
40863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40868 /* end confdefs.h. */
40869 #include <stdlib.h>
40871 main ()
40873 strtold(0, 0);
40875 return 0;
40877 _ACEOF
40878 if ac_fn_cxx_try_compile "$LINENO"; then :
40879 glibcxx_cv_func_strtold_use=yes
40880 else
40881 glibcxx_cv_func_strtold_use=no
40883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40884 ac_ext=c
40885 ac_cpp='$CPP $CPPFLAGS'
40886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40895 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40896 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40897 for ac_func in strtold
40898 do :
40899 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40900 if test "x$ac_cv_func_strtold" = x""yes; then :
40901 cat >>confdefs.h <<_ACEOF
40902 #define HAVE_STRTOLD 1
40903 _ACEOF
40906 done
40913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40914 $as_echo_n "checking for strtof declaration... " >&6; }
40915 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40916 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40917 $as_echo_n "(cached) " >&6
40918 else
40921 ac_ext=cpp
40922 ac_cpp='$CXXCPP $CPPFLAGS'
40923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40928 /* end confdefs.h. */
40929 #include <stdlib.h>
40931 main ()
40933 strtof(0, 0);
40935 return 0;
40937 _ACEOF
40938 if ac_fn_cxx_try_compile "$LINENO"; then :
40939 glibcxx_cv_func_strtof_use=yes
40940 else
40941 glibcxx_cv_func_strtof_use=no
40943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40944 ac_ext=c
40945 ac_cpp='$CPP $CPPFLAGS'
40946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40955 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40956 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40957 for ac_func in strtof
40958 do :
40959 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40960 if test "x$ac_cv_func_strtof" = x""yes; then :
40961 cat >>confdefs.h <<_ACEOF
40962 #define HAVE_STRTOF 1
40963 _ACEOF
40966 done
40973 CXXFLAGS="$ac_save_CXXFLAGS"
40980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40981 $as_echo_n "checking for iconv... " >&6; }
40982 if test "${am_cv_func_iconv+set}" = set; then :
40983 $as_echo_n "(cached) " >&6
40984 else
40986 am_cv_func_iconv="no, consider installing GNU libiconv"
40987 am_cv_lib_iconv=no
40988 am_save_CPPFLAGS="$CPPFLAGS"
40989 CPPFLAGS="$CPPFLAGS $INCICONV"
40990 if test x$gcc_no_link = xyes; then
40991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40994 /* end confdefs.h. */
40995 #include <stdlib.h>
40996 #include <iconv.h>
40998 main ()
41000 iconv_t cd = iconv_open("","");
41001 iconv(cd,NULL,NULL,NULL,NULL);
41002 iconv_close(cd);
41004 return 0;
41006 _ACEOF
41007 if ac_fn_c_try_link "$LINENO"; then :
41008 am_cv_func_iconv=yes
41010 rm -f core conftest.err conftest.$ac_objext \
41011 conftest$ac_exeext conftest.$ac_ext
41012 CPPFLAGS="$am_save_CPPFLAGS"
41014 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41015 for _libs in .libs _libs; do
41016 am_save_CPPFLAGS="$CPPFLAGS"
41017 am_save_LIBS="$LIBS"
41018 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41019 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41020 if test x$gcc_no_link = xyes; then
41021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41024 /* end confdefs.h. */
41025 #include <stdlib.h>
41026 #include <iconv.h>
41028 main ()
41030 iconv_t cd = iconv_open("","");
41031 iconv(cd,NULL,NULL,NULL,NULL);
41032 iconv_close(cd);
41034 return 0;
41036 _ACEOF
41037 if ac_fn_c_try_link "$LINENO"; then :
41038 INCICONV="-I../libiconv/include"
41039 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41040 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41041 am_cv_lib_iconv=yes
41042 am_cv_func_iconv=yes
41044 rm -f core conftest.err conftest.$ac_objext \
41045 conftest$ac_exeext conftest.$ac_ext
41046 CPPFLAGS="$am_save_CPPFLAGS"
41047 LIBS="$am_save_LIBS"
41048 if test "$am_cv_func_iconv" = "yes"; then
41049 break
41051 done
41054 if test "$am_cv_func_iconv" != yes; then
41055 am_save_CPPFLAGS="$CPPFLAGS"
41056 am_save_LIBS="$LIBS"
41057 CPPFLAGS="$LIBS $INCICONV"
41058 LIBS="$LIBS $LIBICONV"
41059 if test x$gcc_no_link = xyes; then
41060 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41063 /* end confdefs.h. */
41064 #include <stdlib.h>
41065 #include <iconv.h>
41067 main ()
41069 iconv_t cd = iconv_open("","");
41070 iconv(cd,NULL,NULL,NULL,NULL);
41071 iconv_close(cd);
41073 return 0;
41075 _ACEOF
41076 if ac_fn_c_try_link "$LINENO"; then :
41077 am_cv_lib_iconv=yes
41078 am_cv_func_iconv=yes
41080 rm -f core conftest.err conftest.$ac_objext \
41081 conftest$ac_exeext conftest.$ac_ext
41082 CPPFLAGS="$am_save_CPPFLAGS"
41083 LIBS="$am_save_LIBS"
41087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41088 $as_echo "$am_cv_func_iconv" >&6; }
41089 if test "$am_cv_func_iconv" = yes; then
41091 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41094 if test "$am_cv_lib_iconv" = yes; then
41096 for element in $INCICONV; do
41097 haveit=
41098 for x in $CPPFLAGS; do
41100 acl_save_prefix="$prefix"
41101 prefix="$acl_final_prefix"
41102 acl_save_exec_prefix="$exec_prefix"
41103 exec_prefix="$acl_final_exec_prefix"
41104 eval x=\"$x\"
41105 exec_prefix="$acl_save_exec_prefix"
41106 prefix="$acl_save_prefix"
41108 if test "X$x" = "X$element"; then
41109 haveit=yes
41110 break
41112 done
41113 if test -z "$haveit"; then
41114 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41116 done
41118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41119 $as_echo_n "checking how to link with libiconv... " >&6; }
41120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41121 $as_echo "$LIBICONV" >&6; }
41122 else
41123 LIBICONV=
41124 LTLIBICONV=
41129 if test "$am_cv_func_iconv" = yes; then
41130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41131 $as_echo_n "checking for iconv declaration... " >&6; }
41132 if test "${am_cv_proto_iconv+set}" = set; then :
41133 $as_echo_n "(cached) " >&6
41134 else
41136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41137 /* end confdefs.h. */
41139 #include <stdlib.h>
41140 #include <iconv.h>
41141 extern
41142 #ifdef __cplusplus
41144 #endif
41145 #if defined(__STDC__) || defined(__cplusplus)
41146 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41147 #else
41148 size_t iconv();
41149 #endif
41152 main ()
41156 return 0;
41158 _ACEOF
41159 if ac_fn_c_try_compile "$LINENO"; then :
41160 am_cv_proto_iconv_arg1=""
41161 else
41162 am_cv_proto_iconv_arg1="const"
41164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41165 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);"
41168 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41170 }$am_cv_proto_iconv" >&5
41171 $as_echo "${ac_t:-
41172 }$am_cv_proto_iconv" >&6; }
41174 cat >>confdefs.h <<_ACEOF
41175 #define ICONV_CONST $am_cv_proto_iconv_arg1
41176 _ACEOF
41182 *-aix*)
41184 # If we're not using GNU ld, then there's no point in even trying these
41185 # tests. Check for that first. We should have already tested for gld
41186 # by now (in libtool), but require it now just to be safe...
41187 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41188 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41192 # The name set by libtool depends on the version of libtool. Shame on us
41193 # for depending on an impl detail, but c'est la vie. Older versions used
41194 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41195 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41196 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41197 # set (hence we're using an older libtool), then set it.
41198 if test x${with_gnu_ld+set} != xset; then
41199 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41200 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41201 with_gnu_ld=no
41202 else
41203 with_gnu_ld=$ac_cv_prog_gnu_ld
41207 # Start by getting the version number. I think the libtool test already
41208 # does some of this, but throws away the result.
41209 glibcxx_ld_is_gold=no
41210 if test x"$with_gnu_ld" = x"yes"; then
41211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41212 $as_echo_n "checking for ld version... " >&6; }
41214 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41215 glibcxx_ld_is_gold=yes
41217 ldver=`$LD --version 2>/dev/null |
41218 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'`
41220 glibcxx_gnu_ld_version=`echo $ldver | \
41221 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41223 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41226 # Set --gc-sections.
41227 glibcxx_have_gc_sections=no
41228 if test "$glibcxx_ld_is_gold" = "yes"; then
41229 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41230 glibcxx_have_gc_sections=yes
41232 else
41233 glibcxx_gcsections_min_ld=21602
41234 if test x"$with_gnu_ld" = x"yes" &&
41235 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41236 glibcxx_have_gc_sections=yes
41239 if test "$glibcxx_have_gc_sections" = "yes"; then
41240 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41241 # NB: This flag only works reliably after 2.16.1. Configure tests
41242 # for this are difficult, so hard wire a value that should work.
41244 ac_test_CFLAGS="${CFLAGS+set}"
41245 ac_save_CFLAGS="$CFLAGS"
41246 CFLAGS='-Wl,--gc-sections'
41248 # Check for -Wl,--gc-sections
41249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41250 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41251 if test x$gcc_no_link = xyes; then
41252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41255 /* end confdefs.h. */
41256 int one(void) { return 1; }
41257 int two(void) { return 2; }
41260 main ()
41262 two();
41264 return 0;
41266 _ACEOF
41267 if ac_fn_c_try_link "$LINENO"; then :
41268 ac_gcsections=yes
41269 else
41270 ac_gcsections=no
41272 rm -f core conftest.err conftest.$ac_objext \
41273 conftest$ac_exeext conftest.$ac_ext
41274 if test "$ac_gcsections" = "yes"; then
41275 rm -f conftest.c
41276 touch conftest.c
41277 if $CC -c conftest.c; then
41278 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41279 grep "Warning: gc-sections option ignored" > /dev/null; then
41280 ac_gcsections=no
41283 rm -f conftest.c conftest.o conftest
41285 if test "$ac_gcsections" = "yes"; then
41286 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41289 $as_echo "$ac_gcsections" >&6; }
41291 if test "$ac_test_CFLAGS" = set; then
41292 CFLAGS="$ac_save_CFLAGS"
41293 else
41294 # this is the suspicious part
41295 CFLAGS=''
41299 # Set -z,relro.
41300 # Note this is only for shared objects.
41301 ac_ld_relro=no
41302 if test x"$with_gnu_ld" = x"yes"; then
41303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41304 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41305 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41306 if test -n "$cxx_z_relo"; then
41307 OPT_LDFLAGS="-Wl,-z,relro"
41308 ac_ld_relro=yes
41310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41311 $as_echo "$ac_ld_relro" >&6; }
41314 # Set linker optimization flags.
41315 if test x"$with_gnu_ld" = x"yes"; then
41316 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41323 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41324 ac_save_CXXFLAGS="$CXXFLAGS"
41325 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41328 $as_echo_n "checking for sin in -lm... " >&6; }
41329 if test "${ac_cv_lib_m_sin+set}" = set; then :
41330 $as_echo_n "(cached) " >&6
41331 else
41332 ac_check_lib_save_LIBS=$LIBS
41333 LIBS="-lm $LIBS"
41334 if test x$gcc_no_link = xyes; then
41335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41338 /* end confdefs.h. */
41340 /* Override any GCC internal prototype to avoid an error.
41341 Use char because int might match the return type of a GCC
41342 builtin and then its argument prototype would still apply. */
41343 #ifdef __cplusplus
41344 extern "C"
41345 #endif
41346 char sin ();
41348 main ()
41350 return sin ();
41352 return 0;
41354 _ACEOF
41355 if ac_fn_c_try_link "$LINENO"; then :
41356 ac_cv_lib_m_sin=yes
41357 else
41358 ac_cv_lib_m_sin=no
41360 rm -f core conftest.err conftest.$ac_objext \
41361 conftest$ac_exeext conftest.$ac_ext
41362 LIBS=$ac_check_lib_save_LIBS
41364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41365 $as_echo "$ac_cv_lib_m_sin" >&6; }
41366 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41367 libm="-lm"
41370 ac_save_LIBS="$LIBS"
41371 LIBS="$LIBS $libm"
41375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41376 $as_echo_n "checking for isinf declaration... " >&6; }
41377 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41378 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41379 $as_echo_n "(cached) " >&6
41380 else
41383 ac_ext=cpp
41384 ac_cpp='$CXXCPP $CPPFLAGS'
41385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41390 /* end confdefs.h. */
41391 #include <math.h>
41392 #ifdef HAVE_IEEEFP_H
41393 #include <ieeefp.h>
41394 #endif
41397 main ()
41399 isinf(0);
41401 return 0;
41403 _ACEOF
41404 if ac_fn_cxx_try_compile "$LINENO"; then :
41405 glibcxx_cv_func_isinf_use=yes
41406 else
41407 glibcxx_cv_func_isinf_use=no
41409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41410 ac_ext=c
41411 ac_cpp='$CPP $CPPFLAGS'
41412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41421 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41423 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41424 for ac_func in isinf
41425 do :
41426 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41427 if test "x$ac_cv_func_isinf" = x""yes; then :
41428 cat >>confdefs.h <<_ACEOF
41429 #define HAVE_ISINF 1
41430 _ACEOF
41433 done
41435 else
41437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41438 $as_echo_n "checking for _isinf declaration... " >&6; }
41439 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41440 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41441 $as_echo_n "(cached) " >&6
41442 else
41445 ac_ext=cpp
41446 ac_cpp='$CXXCPP $CPPFLAGS'
41447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41452 /* end confdefs.h. */
41453 #include <math.h>
41454 #ifdef HAVE_IEEEFP_H
41455 #include <ieeefp.h>
41456 #endif
41459 main ()
41461 _isinf(0);
41463 return 0;
41465 _ACEOF
41466 if ac_fn_cxx_try_compile "$LINENO"; then :
41467 glibcxx_cv_func__isinf_use=yes
41468 else
41469 glibcxx_cv_func__isinf_use=no
41471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41472 ac_ext=c
41473 ac_cpp='$CPP $CPPFLAGS'
41474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41483 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41485 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41486 for ac_func in _isinf
41487 do :
41488 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41489 if test "x$ac_cv_func__isinf" = x""yes; then :
41490 cat >>confdefs.h <<_ACEOF
41491 #define HAVE__ISINF 1
41492 _ACEOF
41495 done
41504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41505 $as_echo_n "checking for isnan declaration... " >&6; }
41506 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41507 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41508 $as_echo_n "(cached) " >&6
41509 else
41512 ac_ext=cpp
41513 ac_cpp='$CXXCPP $CPPFLAGS'
41514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41519 /* end confdefs.h. */
41520 #include <math.h>
41521 #ifdef HAVE_IEEEFP_H
41522 #include <ieeefp.h>
41523 #endif
41526 main ()
41528 isnan(0);
41530 return 0;
41532 _ACEOF
41533 if ac_fn_cxx_try_compile "$LINENO"; then :
41534 glibcxx_cv_func_isnan_use=yes
41535 else
41536 glibcxx_cv_func_isnan_use=no
41538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41539 ac_ext=c
41540 ac_cpp='$CPP $CPPFLAGS'
41541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41550 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41552 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41553 for ac_func in isnan
41554 do :
41555 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41556 if test "x$ac_cv_func_isnan" = x""yes; then :
41557 cat >>confdefs.h <<_ACEOF
41558 #define HAVE_ISNAN 1
41559 _ACEOF
41562 done
41564 else
41566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41567 $as_echo_n "checking for _isnan declaration... " >&6; }
41568 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41569 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41570 $as_echo_n "(cached) " >&6
41571 else
41574 ac_ext=cpp
41575 ac_cpp='$CXXCPP $CPPFLAGS'
41576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41581 /* end confdefs.h. */
41582 #include <math.h>
41583 #ifdef HAVE_IEEEFP_H
41584 #include <ieeefp.h>
41585 #endif
41588 main ()
41590 _isnan(0);
41592 return 0;
41594 _ACEOF
41595 if ac_fn_cxx_try_compile "$LINENO"; then :
41596 glibcxx_cv_func__isnan_use=yes
41597 else
41598 glibcxx_cv_func__isnan_use=no
41600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41601 ac_ext=c
41602 ac_cpp='$CPP $CPPFLAGS'
41603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41612 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41614 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41615 for ac_func in _isnan
41616 do :
41617 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41618 if test "x$ac_cv_func__isnan" = x""yes; then :
41619 cat >>confdefs.h <<_ACEOF
41620 #define HAVE__ISNAN 1
41621 _ACEOF
41624 done
41633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41634 $as_echo_n "checking for finite declaration... " >&6; }
41635 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41636 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41637 $as_echo_n "(cached) " >&6
41638 else
41641 ac_ext=cpp
41642 ac_cpp='$CXXCPP $CPPFLAGS'
41643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41648 /* end confdefs.h. */
41649 #include <math.h>
41650 #ifdef HAVE_IEEEFP_H
41651 #include <ieeefp.h>
41652 #endif
41655 main ()
41657 finite(0);
41659 return 0;
41661 _ACEOF
41662 if ac_fn_cxx_try_compile "$LINENO"; then :
41663 glibcxx_cv_func_finite_use=yes
41664 else
41665 glibcxx_cv_func_finite_use=no
41667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41668 ac_ext=c
41669 ac_cpp='$CPP $CPPFLAGS'
41670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41679 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41681 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41682 for ac_func in finite
41683 do :
41684 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41685 if test "x$ac_cv_func_finite" = x""yes; then :
41686 cat >>confdefs.h <<_ACEOF
41687 #define HAVE_FINITE 1
41688 _ACEOF
41691 done
41693 else
41695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41696 $as_echo_n "checking for _finite declaration... " >&6; }
41697 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41698 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41699 $as_echo_n "(cached) " >&6
41700 else
41703 ac_ext=cpp
41704 ac_cpp='$CXXCPP $CPPFLAGS'
41705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41710 /* end confdefs.h. */
41711 #include <math.h>
41712 #ifdef HAVE_IEEEFP_H
41713 #include <ieeefp.h>
41714 #endif
41717 main ()
41719 _finite(0);
41721 return 0;
41723 _ACEOF
41724 if ac_fn_cxx_try_compile "$LINENO"; then :
41725 glibcxx_cv_func__finite_use=yes
41726 else
41727 glibcxx_cv_func__finite_use=no
41729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41730 ac_ext=c
41731 ac_cpp='$CPP $CPPFLAGS'
41732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41741 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41743 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41744 for ac_func in _finite
41745 do :
41746 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41747 if test "x$ac_cv_func__finite" = x""yes; then :
41748 cat >>confdefs.h <<_ACEOF
41749 #define HAVE__FINITE 1
41750 _ACEOF
41753 done
41762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41763 $as_echo_n "checking for sincos declaration... " >&6; }
41764 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41765 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41766 $as_echo_n "(cached) " >&6
41767 else
41770 ac_ext=cpp
41771 ac_cpp='$CXXCPP $CPPFLAGS'
41772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41777 /* end confdefs.h. */
41778 #include <math.h>
41780 main ()
41782 sincos(0, 0, 0);
41784 return 0;
41786 _ACEOF
41787 if ac_fn_cxx_try_compile "$LINENO"; then :
41788 glibcxx_cv_func_sincos_use=yes
41789 else
41790 glibcxx_cv_func_sincos_use=no
41792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41793 ac_ext=c
41794 ac_cpp='$CPP $CPPFLAGS'
41795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41804 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41806 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41807 for ac_func in sincos
41808 do :
41809 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41810 if test "x$ac_cv_func_sincos" = x""yes; then :
41811 cat >>confdefs.h <<_ACEOF
41812 #define HAVE_SINCOS 1
41813 _ACEOF
41816 done
41818 else
41820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41821 $as_echo_n "checking for _sincos declaration... " >&6; }
41822 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41823 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41824 $as_echo_n "(cached) " >&6
41825 else
41828 ac_ext=cpp
41829 ac_cpp='$CXXCPP $CPPFLAGS'
41830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41835 /* end confdefs.h. */
41836 #include <math.h>
41838 main ()
41840 _sincos(0, 0, 0);
41842 return 0;
41844 _ACEOF
41845 if ac_fn_cxx_try_compile "$LINENO"; then :
41846 glibcxx_cv_func__sincos_use=yes
41847 else
41848 glibcxx_cv_func__sincos_use=no
41850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41851 ac_ext=c
41852 ac_cpp='$CPP $CPPFLAGS'
41853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41862 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41864 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41865 for ac_func in _sincos
41866 do :
41867 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41868 if test "x$ac_cv_func__sincos" = x""yes; then :
41869 cat >>confdefs.h <<_ACEOF
41870 #define HAVE__SINCOS 1
41871 _ACEOF
41874 done
41883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41884 $as_echo_n "checking for fpclass declaration... " >&6; }
41885 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41886 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41887 $as_echo_n "(cached) " >&6
41888 else
41891 ac_ext=cpp
41892 ac_cpp='$CXXCPP $CPPFLAGS'
41893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41898 /* end confdefs.h. */
41899 #include <math.h>
41900 #ifdef HAVE_IEEEFP_H
41901 #include <ieeefp.h>
41902 #endif
41905 main ()
41907 fpclass(0);
41909 return 0;
41911 _ACEOF
41912 if ac_fn_cxx_try_compile "$LINENO"; then :
41913 glibcxx_cv_func_fpclass_use=yes
41914 else
41915 glibcxx_cv_func_fpclass_use=no
41917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41918 ac_ext=c
41919 ac_cpp='$CPP $CPPFLAGS'
41920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41929 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41931 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41932 for ac_func in fpclass
41933 do :
41934 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41935 if test "x$ac_cv_func_fpclass" = x""yes; then :
41936 cat >>confdefs.h <<_ACEOF
41937 #define HAVE_FPCLASS 1
41938 _ACEOF
41941 done
41943 else
41945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41946 $as_echo_n "checking for _fpclass declaration... " >&6; }
41947 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41948 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41949 $as_echo_n "(cached) " >&6
41950 else
41953 ac_ext=cpp
41954 ac_cpp='$CXXCPP $CPPFLAGS'
41955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41960 /* end confdefs.h. */
41961 #include <math.h>
41962 #ifdef HAVE_IEEEFP_H
41963 #include <ieeefp.h>
41964 #endif
41967 main ()
41969 _fpclass(0);
41971 return 0;
41973 _ACEOF
41974 if ac_fn_cxx_try_compile "$LINENO"; then :
41975 glibcxx_cv_func__fpclass_use=yes
41976 else
41977 glibcxx_cv_func__fpclass_use=no
41979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41980 ac_ext=c
41981 ac_cpp='$CPP $CPPFLAGS'
41982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41991 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41993 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41994 for ac_func in _fpclass
41995 do :
41996 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41997 if test "x$ac_cv_func__fpclass" = x""yes; then :
41998 cat >>confdefs.h <<_ACEOF
41999 #define HAVE__FPCLASS 1
42000 _ACEOF
42003 done
42012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42013 $as_echo_n "checking for qfpclass declaration... " >&6; }
42014 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42015 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42016 $as_echo_n "(cached) " >&6
42017 else
42020 ac_ext=cpp
42021 ac_cpp='$CXXCPP $CPPFLAGS'
42022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42027 /* end confdefs.h. */
42028 #include <math.h>
42029 #ifdef HAVE_IEEEFP_H
42030 #include <ieeefp.h>
42031 #endif
42034 main ()
42036 qfpclass(0);
42038 return 0;
42040 _ACEOF
42041 if ac_fn_cxx_try_compile "$LINENO"; then :
42042 glibcxx_cv_func_qfpclass_use=yes
42043 else
42044 glibcxx_cv_func_qfpclass_use=no
42046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42047 ac_ext=c
42048 ac_cpp='$CPP $CPPFLAGS'
42049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42058 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42060 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42061 for ac_func in qfpclass
42062 do :
42063 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42064 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42065 cat >>confdefs.h <<_ACEOF
42066 #define HAVE_QFPCLASS 1
42067 _ACEOF
42070 done
42072 else
42074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42075 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42076 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42077 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42078 $as_echo_n "(cached) " >&6
42079 else
42082 ac_ext=cpp
42083 ac_cpp='$CXXCPP $CPPFLAGS'
42084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42089 /* end confdefs.h. */
42090 #include <math.h>
42091 #ifdef HAVE_IEEEFP_H
42092 #include <ieeefp.h>
42093 #endif
42096 main ()
42098 _qfpclass(0);
42100 return 0;
42102 _ACEOF
42103 if ac_fn_cxx_try_compile "$LINENO"; then :
42104 glibcxx_cv_func__qfpclass_use=yes
42105 else
42106 glibcxx_cv_func__qfpclass_use=no
42108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42109 ac_ext=c
42110 ac_cpp='$CPP $CPPFLAGS'
42111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42120 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42122 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42123 for ac_func in _qfpclass
42124 do :
42125 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42126 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42127 cat >>confdefs.h <<_ACEOF
42128 #define HAVE__QFPCLASS 1
42129 _ACEOF
42132 done
42141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42142 $as_echo_n "checking for hypot declaration... " >&6; }
42143 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42144 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42145 $as_echo_n "(cached) " >&6
42146 else
42149 ac_ext=cpp
42150 ac_cpp='$CXXCPP $CPPFLAGS'
42151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42156 /* end confdefs.h. */
42157 #include <math.h>
42159 main ()
42161 hypot(0, 0);
42163 return 0;
42165 _ACEOF
42166 if ac_fn_cxx_try_compile "$LINENO"; then :
42167 glibcxx_cv_func_hypot_use=yes
42168 else
42169 glibcxx_cv_func_hypot_use=no
42171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42172 ac_ext=c
42173 ac_cpp='$CPP $CPPFLAGS'
42174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42183 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42185 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42186 for ac_func in hypot
42187 do :
42188 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42189 if test "x$ac_cv_func_hypot" = x""yes; then :
42190 cat >>confdefs.h <<_ACEOF
42191 #define HAVE_HYPOT 1
42192 _ACEOF
42195 done
42197 else
42199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42200 $as_echo_n "checking for _hypot declaration... " >&6; }
42201 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42202 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42203 $as_echo_n "(cached) " >&6
42204 else
42207 ac_ext=cpp
42208 ac_cpp='$CXXCPP $CPPFLAGS'
42209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42214 /* end confdefs.h. */
42215 #include <math.h>
42217 main ()
42219 _hypot(0, 0);
42221 return 0;
42223 _ACEOF
42224 if ac_fn_cxx_try_compile "$LINENO"; then :
42225 glibcxx_cv_func__hypot_use=yes
42226 else
42227 glibcxx_cv_func__hypot_use=no
42229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42230 ac_ext=c
42231 ac_cpp='$CPP $CPPFLAGS'
42232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42241 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42243 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42244 for ac_func in _hypot
42245 do :
42246 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42247 if test "x$ac_cv_func__hypot" = x""yes; then :
42248 cat >>confdefs.h <<_ACEOF
42249 #define HAVE__HYPOT 1
42250 _ACEOF
42253 done
42262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42263 $as_echo_n "checking for float trig functions... " >&6; }
42264 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42265 $as_echo_n "(cached) " >&6
42266 else
42269 ac_ext=cpp
42270 ac_cpp='$CXXCPP $CPPFLAGS'
42271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42276 /* end confdefs.h. */
42277 #include <math.h>
42279 main ()
42281 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42283 return 0;
42285 _ACEOF
42286 if ac_fn_cxx_try_compile "$LINENO"; then :
42287 glibcxx_cv_func_float_trig_use=yes
42288 else
42289 glibcxx_cv_func_float_trig_use=no
42291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42292 ac_ext=c
42293 ac_cpp='$CPP $CPPFLAGS'
42294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42301 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42302 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42303 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42304 do :
42305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42307 eval as_val=\$$as_ac_var
42308 if test "x$as_val" = x""yes; then :
42309 cat >>confdefs.h <<_ACEOF
42310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42311 _ACEOF
42314 done
42316 else
42317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42318 $as_echo_n "checking for _float trig functions... " >&6; }
42319 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42320 $as_echo_n "(cached) " >&6
42321 else
42324 ac_ext=cpp
42325 ac_cpp='$CXXCPP $CPPFLAGS'
42326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42331 /* end confdefs.h. */
42332 #include <math.h>
42334 main ()
42336 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42338 return 0;
42340 _ACEOF
42341 if ac_fn_cxx_try_compile "$LINENO"; then :
42342 glibcxx_cv_func__float_trig_use=yes
42343 else
42344 glibcxx_cv_func__float_trig_use=no
42346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42347 ac_ext=c
42348 ac_cpp='$CPP $CPPFLAGS'
42349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42356 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42357 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42358 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42359 do :
42360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42362 eval as_val=\$$as_ac_var
42363 if test "x$as_val" = x""yes; then :
42364 cat >>confdefs.h <<_ACEOF
42365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42366 _ACEOF
42369 done
42378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42379 $as_echo_n "checking for float round functions... " >&6; }
42380 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42381 $as_echo_n "(cached) " >&6
42382 else
42385 ac_ext=cpp
42386 ac_cpp='$CXXCPP $CPPFLAGS'
42387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42392 /* end confdefs.h. */
42393 #include <math.h>
42395 main ()
42397 ceilf (0); floorf (0);
42399 return 0;
42401 _ACEOF
42402 if ac_fn_cxx_try_compile "$LINENO"; then :
42403 glibcxx_cv_func_float_round_use=yes
42404 else
42405 glibcxx_cv_func_float_round_use=no
42407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42408 ac_ext=c
42409 ac_cpp='$CPP $CPPFLAGS'
42410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42417 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42418 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42419 for ac_func in ceilf floorf
42420 do :
42421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42423 eval as_val=\$$as_ac_var
42424 if test "x$as_val" = x""yes; then :
42425 cat >>confdefs.h <<_ACEOF
42426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42427 _ACEOF
42430 done
42432 else
42433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42434 $as_echo_n "checking for _float round functions... " >&6; }
42435 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42436 $as_echo_n "(cached) " >&6
42437 else
42440 ac_ext=cpp
42441 ac_cpp='$CXXCPP $CPPFLAGS'
42442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42447 /* end confdefs.h. */
42448 #include <math.h>
42450 main ()
42452 _ceilf (0); _floorf (0);
42454 return 0;
42456 _ACEOF
42457 if ac_fn_cxx_try_compile "$LINENO"; then :
42458 glibcxx_cv_func__float_round_use=yes
42459 else
42460 glibcxx_cv_func__float_round_use=no
42462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42463 ac_ext=c
42464 ac_cpp='$CPP $CPPFLAGS'
42465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42472 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42473 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42474 for ac_func in _ceilf _floorf
42475 do :
42476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42478 eval as_val=\$$as_ac_var
42479 if test "x$as_val" = x""yes; then :
42480 cat >>confdefs.h <<_ACEOF
42481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42482 _ACEOF
42485 done
42495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42496 $as_echo_n "checking for expf declaration... " >&6; }
42497 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42498 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42499 $as_echo_n "(cached) " >&6
42500 else
42503 ac_ext=cpp
42504 ac_cpp='$CXXCPP $CPPFLAGS'
42505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42510 /* end confdefs.h. */
42511 #include <math.h>
42512 #ifdef HAVE_IEEEFP_H
42513 #include <ieeefp.h>
42514 #endif
42517 main ()
42519 expf(0);
42521 return 0;
42523 _ACEOF
42524 if ac_fn_cxx_try_compile "$LINENO"; then :
42525 glibcxx_cv_func_expf_use=yes
42526 else
42527 glibcxx_cv_func_expf_use=no
42529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42530 ac_ext=c
42531 ac_cpp='$CPP $CPPFLAGS'
42532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42541 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42543 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42544 for ac_func in expf
42545 do :
42546 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42547 if test "x$ac_cv_func_expf" = x""yes; then :
42548 cat >>confdefs.h <<_ACEOF
42549 #define HAVE_EXPF 1
42550 _ACEOF
42553 done
42555 else
42557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42558 $as_echo_n "checking for _expf declaration... " >&6; }
42559 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42560 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42561 $as_echo_n "(cached) " >&6
42562 else
42565 ac_ext=cpp
42566 ac_cpp='$CXXCPP $CPPFLAGS'
42567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42572 /* end confdefs.h. */
42573 #include <math.h>
42574 #ifdef HAVE_IEEEFP_H
42575 #include <ieeefp.h>
42576 #endif
42579 main ()
42581 _expf(0);
42583 return 0;
42585 _ACEOF
42586 if ac_fn_cxx_try_compile "$LINENO"; then :
42587 glibcxx_cv_func__expf_use=yes
42588 else
42589 glibcxx_cv_func__expf_use=no
42591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42592 ac_ext=c
42593 ac_cpp='$CPP $CPPFLAGS'
42594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42603 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42605 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42606 for ac_func in _expf
42607 do :
42608 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42609 if test "x$ac_cv_func__expf" = x""yes; then :
42610 cat >>confdefs.h <<_ACEOF
42611 #define HAVE__EXPF 1
42612 _ACEOF
42615 done
42624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42625 $as_echo_n "checking for isnanf declaration... " >&6; }
42626 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42627 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42628 $as_echo_n "(cached) " >&6
42629 else
42632 ac_ext=cpp
42633 ac_cpp='$CXXCPP $CPPFLAGS'
42634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42639 /* end confdefs.h. */
42640 #include <math.h>
42641 #ifdef HAVE_IEEEFP_H
42642 #include <ieeefp.h>
42643 #endif
42646 main ()
42648 isnanf(0);
42650 return 0;
42652 _ACEOF
42653 if ac_fn_cxx_try_compile "$LINENO"; then :
42654 glibcxx_cv_func_isnanf_use=yes
42655 else
42656 glibcxx_cv_func_isnanf_use=no
42658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42659 ac_ext=c
42660 ac_cpp='$CPP $CPPFLAGS'
42661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42670 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42672 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42673 for ac_func in isnanf
42674 do :
42675 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42676 if test "x$ac_cv_func_isnanf" = x""yes; then :
42677 cat >>confdefs.h <<_ACEOF
42678 #define HAVE_ISNANF 1
42679 _ACEOF
42682 done
42684 else
42686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42687 $as_echo_n "checking for _isnanf declaration... " >&6; }
42688 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42689 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42690 $as_echo_n "(cached) " >&6
42691 else
42694 ac_ext=cpp
42695 ac_cpp='$CXXCPP $CPPFLAGS'
42696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42701 /* end confdefs.h. */
42702 #include <math.h>
42703 #ifdef HAVE_IEEEFP_H
42704 #include <ieeefp.h>
42705 #endif
42708 main ()
42710 _isnanf(0);
42712 return 0;
42714 _ACEOF
42715 if ac_fn_cxx_try_compile "$LINENO"; then :
42716 glibcxx_cv_func__isnanf_use=yes
42717 else
42718 glibcxx_cv_func__isnanf_use=no
42720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42721 ac_ext=c
42722 ac_cpp='$CPP $CPPFLAGS'
42723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42732 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42734 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42735 for ac_func in _isnanf
42736 do :
42737 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42738 if test "x$ac_cv_func__isnanf" = x""yes; then :
42739 cat >>confdefs.h <<_ACEOF
42740 #define HAVE__ISNANF 1
42741 _ACEOF
42744 done
42753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42754 $as_echo_n "checking for isinff declaration... " >&6; }
42755 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42756 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42757 $as_echo_n "(cached) " >&6
42758 else
42761 ac_ext=cpp
42762 ac_cpp='$CXXCPP $CPPFLAGS'
42763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42768 /* end confdefs.h. */
42769 #include <math.h>
42770 #ifdef HAVE_IEEEFP_H
42771 #include <ieeefp.h>
42772 #endif
42775 main ()
42777 isinff(0);
42779 return 0;
42781 _ACEOF
42782 if ac_fn_cxx_try_compile "$LINENO"; then :
42783 glibcxx_cv_func_isinff_use=yes
42784 else
42785 glibcxx_cv_func_isinff_use=no
42787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42788 ac_ext=c
42789 ac_cpp='$CPP $CPPFLAGS'
42790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42799 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42801 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42802 for ac_func in isinff
42803 do :
42804 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42805 if test "x$ac_cv_func_isinff" = x""yes; then :
42806 cat >>confdefs.h <<_ACEOF
42807 #define HAVE_ISINFF 1
42808 _ACEOF
42811 done
42813 else
42815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42816 $as_echo_n "checking for _isinff declaration... " >&6; }
42817 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42818 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42819 $as_echo_n "(cached) " >&6
42820 else
42823 ac_ext=cpp
42824 ac_cpp='$CXXCPP $CPPFLAGS'
42825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42830 /* end confdefs.h. */
42831 #include <math.h>
42832 #ifdef HAVE_IEEEFP_H
42833 #include <ieeefp.h>
42834 #endif
42837 main ()
42839 _isinff(0);
42841 return 0;
42843 _ACEOF
42844 if ac_fn_cxx_try_compile "$LINENO"; then :
42845 glibcxx_cv_func__isinff_use=yes
42846 else
42847 glibcxx_cv_func__isinff_use=no
42849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42850 ac_ext=c
42851 ac_cpp='$CPP $CPPFLAGS'
42852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42861 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42863 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42864 for ac_func in _isinff
42865 do :
42866 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42867 if test "x$ac_cv_func__isinff" = x""yes; then :
42868 cat >>confdefs.h <<_ACEOF
42869 #define HAVE__ISINFF 1
42870 _ACEOF
42873 done
42882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42883 $as_echo_n "checking for atan2f declaration... " >&6; }
42884 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42885 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42886 $as_echo_n "(cached) " >&6
42887 else
42890 ac_ext=cpp
42891 ac_cpp='$CXXCPP $CPPFLAGS'
42892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42897 /* end confdefs.h. */
42898 #include <math.h>
42900 main ()
42902 atan2f(0, 0);
42904 return 0;
42906 _ACEOF
42907 if ac_fn_cxx_try_compile "$LINENO"; then :
42908 glibcxx_cv_func_atan2f_use=yes
42909 else
42910 glibcxx_cv_func_atan2f_use=no
42912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42913 ac_ext=c
42914 ac_cpp='$CPP $CPPFLAGS'
42915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42924 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42926 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42927 for ac_func in atan2f
42928 do :
42929 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42930 if test "x$ac_cv_func_atan2f" = x""yes; then :
42931 cat >>confdefs.h <<_ACEOF
42932 #define HAVE_ATAN2F 1
42933 _ACEOF
42936 done
42938 else
42940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42941 $as_echo_n "checking for _atan2f declaration... " >&6; }
42942 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42943 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42944 $as_echo_n "(cached) " >&6
42945 else
42948 ac_ext=cpp
42949 ac_cpp='$CXXCPP $CPPFLAGS'
42950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42955 /* end confdefs.h. */
42956 #include <math.h>
42958 main ()
42960 _atan2f(0, 0);
42962 return 0;
42964 _ACEOF
42965 if ac_fn_cxx_try_compile "$LINENO"; then :
42966 glibcxx_cv_func__atan2f_use=yes
42967 else
42968 glibcxx_cv_func__atan2f_use=no
42970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42971 ac_ext=c
42972 ac_cpp='$CPP $CPPFLAGS'
42973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42982 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42984 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42985 for ac_func in _atan2f
42986 do :
42987 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42988 if test "x$ac_cv_func__atan2f" = x""yes; then :
42989 cat >>confdefs.h <<_ACEOF
42990 #define HAVE__ATAN2F 1
42991 _ACEOF
42994 done
43003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43004 $as_echo_n "checking for fabsf declaration... " >&6; }
43005 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43006 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43007 $as_echo_n "(cached) " >&6
43008 else
43011 ac_ext=cpp
43012 ac_cpp='$CXXCPP $CPPFLAGS'
43013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43018 /* end confdefs.h. */
43019 #include <math.h>
43020 #ifdef HAVE_IEEEFP_H
43021 #include <ieeefp.h>
43022 #endif
43025 main ()
43027 fabsf(0);
43029 return 0;
43031 _ACEOF
43032 if ac_fn_cxx_try_compile "$LINENO"; then :
43033 glibcxx_cv_func_fabsf_use=yes
43034 else
43035 glibcxx_cv_func_fabsf_use=no
43037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43038 ac_ext=c
43039 ac_cpp='$CPP $CPPFLAGS'
43040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43049 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43051 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43052 for ac_func in fabsf
43053 do :
43054 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43055 if test "x$ac_cv_func_fabsf" = x""yes; then :
43056 cat >>confdefs.h <<_ACEOF
43057 #define HAVE_FABSF 1
43058 _ACEOF
43061 done
43063 else
43065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43066 $as_echo_n "checking for _fabsf declaration... " >&6; }
43067 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43068 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43069 $as_echo_n "(cached) " >&6
43070 else
43073 ac_ext=cpp
43074 ac_cpp='$CXXCPP $CPPFLAGS'
43075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43080 /* end confdefs.h. */
43081 #include <math.h>
43082 #ifdef HAVE_IEEEFP_H
43083 #include <ieeefp.h>
43084 #endif
43087 main ()
43089 _fabsf(0);
43091 return 0;
43093 _ACEOF
43094 if ac_fn_cxx_try_compile "$LINENO"; then :
43095 glibcxx_cv_func__fabsf_use=yes
43096 else
43097 glibcxx_cv_func__fabsf_use=no
43099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43100 ac_ext=c
43101 ac_cpp='$CPP $CPPFLAGS'
43102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43111 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43113 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43114 for ac_func in _fabsf
43115 do :
43116 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43117 if test "x$ac_cv_func__fabsf" = x""yes; then :
43118 cat >>confdefs.h <<_ACEOF
43119 #define HAVE__FABSF 1
43120 _ACEOF
43123 done
43132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43133 $as_echo_n "checking for fmodf declaration... " >&6; }
43134 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43135 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43136 $as_echo_n "(cached) " >&6
43137 else
43140 ac_ext=cpp
43141 ac_cpp='$CXXCPP $CPPFLAGS'
43142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43147 /* end confdefs.h. */
43148 #include <math.h>
43150 main ()
43152 fmodf(0, 0);
43154 return 0;
43156 _ACEOF
43157 if ac_fn_cxx_try_compile "$LINENO"; then :
43158 glibcxx_cv_func_fmodf_use=yes
43159 else
43160 glibcxx_cv_func_fmodf_use=no
43162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43163 ac_ext=c
43164 ac_cpp='$CPP $CPPFLAGS'
43165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43174 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43176 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43177 for ac_func in fmodf
43178 do :
43179 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43180 if test "x$ac_cv_func_fmodf" = x""yes; then :
43181 cat >>confdefs.h <<_ACEOF
43182 #define HAVE_FMODF 1
43183 _ACEOF
43186 done
43188 else
43190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43191 $as_echo_n "checking for _fmodf declaration... " >&6; }
43192 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43193 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43194 $as_echo_n "(cached) " >&6
43195 else
43198 ac_ext=cpp
43199 ac_cpp='$CXXCPP $CPPFLAGS'
43200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43205 /* end confdefs.h. */
43206 #include <math.h>
43208 main ()
43210 _fmodf(0, 0);
43212 return 0;
43214 _ACEOF
43215 if ac_fn_cxx_try_compile "$LINENO"; then :
43216 glibcxx_cv_func__fmodf_use=yes
43217 else
43218 glibcxx_cv_func__fmodf_use=no
43220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43221 ac_ext=c
43222 ac_cpp='$CPP $CPPFLAGS'
43223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43232 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43234 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43235 for ac_func in _fmodf
43236 do :
43237 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43238 if test "x$ac_cv_func__fmodf" = x""yes; then :
43239 cat >>confdefs.h <<_ACEOF
43240 #define HAVE__FMODF 1
43241 _ACEOF
43244 done
43253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43254 $as_echo_n "checking for frexpf declaration... " >&6; }
43255 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43256 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43257 $as_echo_n "(cached) " >&6
43258 else
43261 ac_ext=cpp
43262 ac_cpp='$CXXCPP $CPPFLAGS'
43263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43268 /* end confdefs.h. */
43269 #include <math.h>
43271 main ()
43273 frexpf(0, 0);
43275 return 0;
43277 _ACEOF
43278 if ac_fn_cxx_try_compile "$LINENO"; then :
43279 glibcxx_cv_func_frexpf_use=yes
43280 else
43281 glibcxx_cv_func_frexpf_use=no
43283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43284 ac_ext=c
43285 ac_cpp='$CPP $CPPFLAGS'
43286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43295 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43297 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43298 for ac_func in frexpf
43299 do :
43300 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43301 if test "x$ac_cv_func_frexpf" = x""yes; then :
43302 cat >>confdefs.h <<_ACEOF
43303 #define HAVE_FREXPF 1
43304 _ACEOF
43307 done
43309 else
43311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43312 $as_echo_n "checking for _frexpf declaration... " >&6; }
43313 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43314 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43315 $as_echo_n "(cached) " >&6
43316 else
43319 ac_ext=cpp
43320 ac_cpp='$CXXCPP $CPPFLAGS'
43321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43326 /* end confdefs.h. */
43327 #include <math.h>
43329 main ()
43331 _frexpf(0, 0);
43333 return 0;
43335 _ACEOF
43336 if ac_fn_cxx_try_compile "$LINENO"; then :
43337 glibcxx_cv_func__frexpf_use=yes
43338 else
43339 glibcxx_cv_func__frexpf_use=no
43341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43342 ac_ext=c
43343 ac_cpp='$CPP $CPPFLAGS'
43344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43353 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43355 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43356 for ac_func in _frexpf
43357 do :
43358 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43359 if test "x$ac_cv_func__frexpf" = x""yes; then :
43360 cat >>confdefs.h <<_ACEOF
43361 #define HAVE__FREXPF 1
43362 _ACEOF
43365 done
43374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43375 $as_echo_n "checking for hypotf declaration... " >&6; }
43376 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43377 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43378 $as_echo_n "(cached) " >&6
43379 else
43382 ac_ext=cpp
43383 ac_cpp='$CXXCPP $CPPFLAGS'
43384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43389 /* end confdefs.h. */
43390 #include <math.h>
43392 main ()
43394 hypotf(0, 0);
43396 return 0;
43398 _ACEOF
43399 if ac_fn_cxx_try_compile "$LINENO"; then :
43400 glibcxx_cv_func_hypotf_use=yes
43401 else
43402 glibcxx_cv_func_hypotf_use=no
43404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43405 ac_ext=c
43406 ac_cpp='$CPP $CPPFLAGS'
43407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43416 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43418 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43419 for ac_func in hypotf
43420 do :
43421 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43422 if test "x$ac_cv_func_hypotf" = x""yes; then :
43423 cat >>confdefs.h <<_ACEOF
43424 #define HAVE_HYPOTF 1
43425 _ACEOF
43428 done
43430 else
43432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43433 $as_echo_n "checking for _hypotf declaration... " >&6; }
43434 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43435 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43436 $as_echo_n "(cached) " >&6
43437 else
43440 ac_ext=cpp
43441 ac_cpp='$CXXCPP $CPPFLAGS'
43442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43447 /* end confdefs.h. */
43448 #include <math.h>
43450 main ()
43452 _hypotf(0, 0);
43454 return 0;
43456 _ACEOF
43457 if ac_fn_cxx_try_compile "$LINENO"; then :
43458 glibcxx_cv_func__hypotf_use=yes
43459 else
43460 glibcxx_cv_func__hypotf_use=no
43462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43463 ac_ext=c
43464 ac_cpp='$CPP $CPPFLAGS'
43465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43474 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43476 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43477 for ac_func in _hypotf
43478 do :
43479 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43480 if test "x$ac_cv_func__hypotf" = x""yes; then :
43481 cat >>confdefs.h <<_ACEOF
43482 #define HAVE__HYPOTF 1
43483 _ACEOF
43486 done
43495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43496 $as_echo_n "checking for ldexpf declaration... " >&6; }
43497 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43498 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43499 $as_echo_n "(cached) " >&6
43500 else
43503 ac_ext=cpp
43504 ac_cpp='$CXXCPP $CPPFLAGS'
43505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43510 /* end confdefs.h. */
43511 #include <math.h>
43513 main ()
43515 ldexpf(0, 0);
43517 return 0;
43519 _ACEOF
43520 if ac_fn_cxx_try_compile "$LINENO"; then :
43521 glibcxx_cv_func_ldexpf_use=yes
43522 else
43523 glibcxx_cv_func_ldexpf_use=no
43525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43526 ac_ext=c
43527 ac_cpp='$CPP $CPPFLAGS'
43528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43537 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43539 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43540 for ac_func in ldexpf
43541 do :
43542 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43543 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43544 cat >>confdefs.h <<_ACEOF
43545 #define HAVE_LDEXPF 1
43546 _ACEOF
43549 done
43551 else
43553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43554 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43555 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43556 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43557 $as_echo_n "(cached) " >&6
43558 else
43561 ac_ext=cpp
43562 ac_cpp='$CXXCPP $CPPFLAGS'
43563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43568 /* end confdefs.h. */
43569 #include <math.h>
43571 main ()
43573 _ldexpf(0, 0);
43575 return 0;
43577 _ACEOF
43578 if ac_fn_cxx_try_compile "$LINENO"; then :
43579 glibcxx_cv_func__ldexpf_use=yes
43580 else
43581 glibcxx_cv_func__ldexpf_use=no
43583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43584 ac_ext=c
43585 ac_cpp='$CPP $CPPFLAGS'
43586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43595 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43597 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43598 for ac_func in _ldexpf
43599 do :
43600 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43601 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43602 cat >>confdefs.h <<_ACEOF
43603 #define HAVE__LDEXPF 1
43604 _ACEOF
43607 done
43616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43617 $as_echo_n "checking for logf declaration... " >&6; }
43618 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43619 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43620 $as_echo_n "(cached) " >&6
43621 else
43624 ac_ext=cpp
43625 ac_cpp='$CXXCPP $CPPFLAGS'
43626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43631 /* end confdefs.h. */
43632 #include <math.h>
43633 #ifdef HAVE_IEEEFP_H
43634 #include <ieeefp.h>
43635 #endif
43638 main ()
43640 logf(0);
43642 return 0;
43644 _ACEOF
43645 if ac_fn_cxx_try_compile "$LINENO"; then :
43646 glibcxx_cv_func_logf_use=yes
43647 else
43648 glibcxx_cv_func_logf_use=no
43650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43651 ac_ext=c
43652 ac_cpp='$CPP $CPPFLAGS'
43653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43662 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43664 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43665 for ac_func in logf
43666 do :
43667 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43668 if test "x$ac_cv_func_logf" = x""yes; then :
43669 cat >>confdefs.h <<_ACEOF
43670 #define HAVE_LOGF 1
43671 _ACEOF
43674 done
43676 else
43678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43679 $as_echo_n "checking for _logf declaration... " >&6; }
43680 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43681 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43682 $as_echo_n "(cached) " >&6
43683 else
43686 ac_ext=cpp
43687 ac_cpp='$CXXCPP $CPPFLAGS'
43688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43693 /* end confdefs.h. */
43694 #include <math.h>
43695 #ifdef HAVE_IEEEFP_H
43696 #include <ieeefp.h>
43697 #endif
43700 main ()
43702 _logf(0);
43704 return 0;
43706 _ACEOF
43707 if ac_fn_cxx_try_compile "$LINENO"; then :
43708 glibcxx_cv_func__logf_use=yes
43709 else
43710 glibcxx_cv_func__logf_use=no
43712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43713 ac_ext=c
43714 ac_cpp='$CPP $CPPFLAGS'
43715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43724 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43726 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43727 for ac_func in _logf
43728 do :
43729 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43730 if test "x$ac_cv_func__logf" = x""yes; then :
43731 cat >>confdefs.h <<_ACEOF
43732 #define HAVE__LOGF 1
43733 _ACEOF
43736 done
43745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43746 $as_echo_n "checking for log10f declaration... " >&6; }
43747 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43748 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43749 $as_echo_n "(cached) " >&6
43750 else
43753 ac_ext=cpp
43754 ac_cpp='$CXXCPP $CPPFLAGS'
43755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43760 /* end confdefs.h. */
43761 #include <math.h>
43762 #ifdef HAVE_IEEEFP_H
43763 #include <ieeefp.h>
43764 #endif
43767 main ()
43769 log10f(0);
43771 return 0;
43773 _ACEOF
43774 if ac_fn_cxx_try_compile "$LINENO"; then :
43775 glibcxx_cv_func_log10f_use=yes
43776 else
43777 glibcxx_cv_func_log10f_use=no
43779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43780 ac_ext=c
43781 ac_cpp='$CPP $CPPFLAGS'
43782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43791 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43793 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43794 for ac_func in log10f
43795 do :
43796 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43797 if test "x$ac_cv_func_log10f" = x""yes; then :
43798 cat >>confdefs.h <<_ACEOF
43799 #define HAVE_LOG10F 1
43800 _ACEOF
43803 done
43805 else
43807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43808 $as_echo_n "checking for _log10f declaration... " >&6; }
43809 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43810 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43811 $as_echo_n "(cached) " >&6
43812 else
43815 ac_ext=cpp
43816 ac_cpp='$CXXCPP $CPPFLAGS'
43817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43822 /* end confdefs.h. */
43823 #include <math.h>
43824 #ifdef HAVE_IEEEFP_H
43825 #include <ieeefp.h>
43826 #endif
43829 main ()
43831 _log10f(0);
43833 return 0;
43835 _ACEOF
43836 if ac_fn_cxx_try_compile "$LINENO"; then :
43837 glibcxx_cv_func__log10f_use=yes
43838 else
43839 glibcxx_cv_func__log10f_use=no
43841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43842 ac_ext=c
43843 ac_cpp='$CPP $CPPFLAGS'
43844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43853 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43855 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43856 for ac_func in _log10f
43857 do :
43858 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43859 if test "x$ac_cv_func__log10f" = x""yes; then :
43860 cat >>confdefs.h <<_ACEOF
43861 #define HAVE__LOG10F 1
43862 _ACEOF
43865 done
43874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43875 $as_echo_n "checking for modff declaration... " >&6; }
43876 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43877 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43878 $as_echo_n "(cached) " >&6
43879 else
43882 ac_ext=cpp
43883 ac_cpp='$CXXCPP $CPPFLAGS'
43884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43889 /* end confdefs.h. */
43890 #include <math.h>
43892 main ()
43894 modff(0, 0);
43896 return 0;
43898 _ACEOF
43899 if ac_fn_cxx_try_compile "$LINENO"; then :
43900 glibcxx_cv_func_modff_use=yes
43901 else
43902 glibcxx_cv_func_modff_use=no
43904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43905 ac_ext=c
43906 ac_cpp='$CPP $CPPFLAGS'
43907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43916 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43918 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43919 for ac_func in modff
43920 do :
43921 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43922 if test "x$ac_cv_func_modff" = x""yes; then :
43923 cat >>confdefs.h <<_ACEOF
43924 #define HAVE_MODFF 1
43925 _ACEOF
43928 done
43930 else
43932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43933 $as_echo_n "checking for _modff declaration... " >&6; }
43934 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43935 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43936 $as_echo_n "(cached) " >&6
43937 else
43940 ac_ext=cpp
43941 ac_cpp='$CXXCPP $CPPFLAGS'
43942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43947 /* end confdefs.h. */
43948 #include <math.h>
43950 main ()
43952 _modff(0, 0);
43954 return 0;
43956 _ACEOF
43957 if ac_fn_cxx_try_compile "$LINENO"; then :
43958 glibcxx_cv_func__modff_use=yes
43959 else
43960 glibcxx_cv_func__modff_use=no
43962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43963 ac_ext=c
43964 ac_cpp='$CPP $CPPFLAGS'
43965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43974 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43976 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43977 for ac_func in _modff
43978 do :
43979 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43980 if test "x$ac_cv_func__modff" = x""yes; then :
43981 cat >>confdefs.h <<_ACEOF
43982 #define HAVE__MODFF 1
43983 _ACEOF
43986 done
43995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43996 $as_echo_n "checking for modf declaration... " >&6; }
43997 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43998 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
43999 $as_echo_n "(cached) " >&6
44000 else
44003 ac_ext=cpp
44004 ac_cpp='$CXXCPP $CPPFLAGS'
44005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44010 /* end confdefs.h. */
44011 #include <math.h>
44013 main ()
44015 modf(0, 0);
44017 return 0;
44019 _ACEOF
44020 if ac_fn_cxx_try_compile "$LINENO"; then :
44021 glibcxx_cv_func_modf_use=yes
44022 else
44023 glibcxx_cv_func_modf_use=no
44025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44026 ac_ext=c
44027 ac_cpp='$CPP $CPPFLAGS'
44028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44037 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44039 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44040 for ac_func in modf
44041 do :
44042 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44043 if test "x$ac_cv_func_modf" = x""yes; then :
44044 cat >>confdefs.h <<_ACEOF
44045 #define HAVE_MODF 1
44046 _ACEOF
44049 done
44051 else
44053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44054 $as_echo_n "checking for _modf declaration... " >&6; }
44055 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44056 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44057 $as_echo_n "(cached) " >&6
44058 else
44061 ac_ext=cpp
44062 ac_cpp='$CXXCPP $CPPFLAGS'
44063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44068 /* end confdefs.h. */
44069 #include <math.h>
44071 main ()
44073 _modf(0, 0);
44075 return 0;
44077 _ACEOF
44078 if ac_fn_cxx_try_compile "$LINENO"; then :
44079 glibcxx_cv_func__modf_use=yes
44080 else
44081 glibcxx_cv_func__modf_use=no
44083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44084 ac_ext=c
44085 ac_cpp='$CPP $CPPFLAGS'
44086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44095 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44097 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44098 for ac_func in _modf
44099 do :
44100 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44101 if test "x$ac_cv_func__modf" = x""yes; then :
44102 cat >>confdefs.h <<_ACEOF
44103 #define HAVE__MODF 1
44104 _ACEOF
44107 done
44116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44117 $as_echo_n "checking for powf declaration... " >&6; }
44118 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44119 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44120 $as_echo_n "(cached) " >&6
44121 else
44124 ac_ext=cpp
44125 ac_cpp='$CXXCPP $CPPFLAGS'
44126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44131 /* end confdefs.h. */
44132 #include <math.h>
44134 main ()
44136 powf(0, 0);
44138 return 0;
44140 _ACEOF
44141 if ac_fn_cxx_try_compile "$LINENO"; then :
44142 glibcxx_cv_func_powf_use=yes
44143 else
44144 glibcxx_cv_func_powf_use=no
44146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44147 ac_ext=c
44148 ac_cpp='$CPP $CPPFLAGS'
44149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44158 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44160 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44161 for ac_func in powf
44162 do :
44163 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44164 if test "x$ac_cv_func_powf" = x""yes; then :
44165 cat >>confdefs.h <<_ACEOF
44166 #define HAVE_POWF 1
44167 _ACEOF
44170 done
44172 else
44174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44175 $as_echo_n "checking for _powf declaration... " >&6; }
44176 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44177 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44178 $as_echo_n "(cached) " >&6
44179 else
44182 ac_ext=cpp
44183 ac_cpp='$CXXCPP $CPPFLAGS'
44184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44189 /* end confdefs.h. */
44190 #include <math.h>
44192 main ()
44194 _powf(0, 0);
44196 return 0;
44198 _ACEOF
44199 if ac_fn_cxx_try_compile "$LINENO"; then :
44200 glibcxx_cv_func__powf_use=yes
44201 else
44202 glibcxx_cv_func__powf_use=no
44204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44205 ac_ext=c
44206 ac_cpp='$CPP $CPPFLAGS'
44207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44216 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44218 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44219 for ac_func in _powf
44220 do :
44221 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44222 if test "x$ac_cv_func__powf" = x""yes; then :
44223 cat >>confdefs.h <<_ACEOF
44224 #define HAVE__POWF 1
44225 _ACEOF
44228 done
44237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44238 $as_echo_n "checking for sqrtf declaration... " >&6; }
44239 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44240 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44241 $as_echo_n "(cached) " >&6
44242 else
44245 ac_ext=cpp
44246 ac_cpp='$CXXCPP $CPPFLAGS'
44247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44252 /* end confdefs.h. */
44253 #include <math.h>
44254 #ifdef HAVE_IEEEFP_H
44255 #include <ieeefp.h>
44256 #endif
44259 main ()
44261 sqrtf(0);
44263 return 0;
44265 _ACEOF
44266 if ac_fn_cxx_try_compile "$LINENO"; then :
44267 glibcxx_cv_func_sqrtf_use=yes
44268 else
44269 glibcxx_cv_func_sqrtf_use=no
44271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44272 ac_ext=c
44273 ac_cpp='$CPP $CPPFLAGS'
44274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44283 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44285 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44286 for ac_func in sqrtf
44287 do :
44288 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44289 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44290 cat >>confdefs.h <<_ACEOF
44291 #define HAVE_SQRTF 1
44292 _ACEOF
44295 done
44297 else
44299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44300 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44301 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44302 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44303 $as_echo_n "(cached) " >&6
44304 else
44307 ac_ext=cpp
44308 ac_cpp='$CXXCPP $CPPFLAGS'
44309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44314 /* end confdefs.h. */
44315 #include <math.h>
44316 #ifdef HAVE_IEEEFP_H
44317 #include <ieeefp.h>
44318 #endif
44321 main ()
44323 _sqrtf(0);
44325 return 0;
44327 _ACEOF
44328 if ac_fn_cxx_try_compile "$LINENO"; then :
44329 glibcxx_cv_func__sqrtf_use=yes
44330 else
44331 glibcxx_cv_func__sqrtf_use=no
44333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44334 ac_ext=c
44335 ac_cpp='$CPP $CPPFLAGS'
44336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44345 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44347 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44348 for ac_func in _sqrtf
44349 do :
44350 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44351 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44352 cat >>confdefs.h <<_ACEOF
44353 #define HAVE__SQRTF 1
44354 _ACEOF
44357 done
44366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44367 $as_echo_n "checking for sincosf declaration... " >&6; }
44368 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44369 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44370 $as_echo_n "(cached) " >&6
44371 else
44374 ac_ext=cpp
44375 ac_cpp='$CXXCPP $CPPFLAGS'
44376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44381 /* end confdefs.h. */
44382 #include <math.h>
44384 main ()
44386 sincosf(0, 0, 0);
44388 return 0;
44390 _ACEOF
44391 if ac_fn_cxx_try_compile "$LINENO"; then :
44392 glibcxx_cv_func_sincosf_use=yes
44393 else
44394 glibcxx_cv_func_sincosf_use=no
44396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44397 ac_ext=c
44398 ac_cpp='$CPP $CPPFLAGS'
44399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44408 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44410 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44411 for ac_func in sincosf
44412 do :
44413 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44414 if test "x$ac_cv_func_sincosf" = x""yes; then :
44415 cat >>confdefs.h <<_ACEOF
44416 #define HAVE_SINCOSF 1
44417 _ACEOF
44420 done
44422 else
44424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44425 $as_echo_n "checking for _sincosf declaration... " >&6; }
44426 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44427 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44428 $as_echo_n "(cached) " >&6
44429 else
44432 ac_ext=cpp
44433 ac_cpp='$CXXCPP $CPPFLAGS'
44434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44439 /* end confdefs.h. */
44440 #include <math.h>
44442 main ()
44444 _sincosf(0, 0, 0);
44446 return 0;
44448 _ACEOF
44449 if ac_fn_cxx_try_compile "$LINENO"; then :
44450 glibcxx_cv_func__sincosf_use=yes
44451 else
44452 glibcxx_cv_func__sincosf_use=no
44454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44455 ac_ext=c
44456 ac_cpp='$CPP $CPPFLAGS'
44457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44466 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44468 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44469 for ac_func in _sincosf
44470 do :
44471 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44472 if test "x$ac_cv_func__sincosf" = x""yes; then :
44473 cat >>confdefs.h <<_ACEOF
44474 #define HAVE__SINCOSF 1
44475 _ACEOF
44478 done
44487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44488 $as_echo_n "checking for finitef declaration... " >&6; }
44489 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44490 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44491 $as_echo_n "(cached) " >&6
44492 else
44495 ac_ext=cpp
44496 ac_cpp='$CXXCPP $CPPFLAGS'
44497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44502 /* end confdefs.h. */
44503 #include <math.h>
44504 #ifdef HAVE_IEEEFP_H
44505 #include <ieeefp.h>
44506 #endif
44509 main ()
44511 finitef(0);
44513 return 0;
44515 _ACEOF
44516 if ac_fn_cxx_try_compile "$LINENO"; then :
44517 glibcxx_cv_func_finitef_use=yes
44518 else
44519 glibcxx_cv_func_finitef_use=no
44521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44522 ac_ext=c
44523 ac_cpp='$CPP $CPPFLAGS'
44524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44533 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44535 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44536 for ac_func in finitef
44537 do :
44538 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44539 if test "x$ac_cv_func_finitef" = x""yes; then :
44540 cat >>confdefs.h <<_ACEOF
44541 #define HAVE_FINITEF 1
44542 _ACEOF
44545 done
44547 else
44549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44550 $as_echo_n "checking for _finitef declaration... " >&6; }
44551 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44552 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44553 $as_echo_n "(cached) " >&6
44554 else
44557 ac_ext=cpp
44558 ac_cpp='$CXXCPP $CPPFLAGS'
44559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44564 /* end confdefs.h. */
44565 #include <math.h>
44566 #ifdef HAVE_IEEEFP_H
44567 #include <ieeefp.h>
44568 #endif
44571 main ()
44573 _finitef(0);
44575 return 0;
44577 _ACEOF
44578 if ac_fn_cxx_try_compile "$LINENO"; then :
44579 glibcxx_cv_func__finitef_use=yes
44580 else
44581 glibcxx_cv_func__finitef_use=no
44583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44584 ac_ext=c
44585 ac_cpp='$CPP $CPPFLAGS'
44586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44595 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44597 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44598 for ac_func in _finitef
44599 do :
44600 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44601 if test "x$ac_cv_func__finitef" = x""yes; then :
44602 cat >>confdefs.h <<_ACEOF
44603 #define HAVE__FINITEF 1
44604 _ACEOF
44607 done
44616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44617 $as_echo_n "checking for long double trig functions... " >&6; }
44618 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44619 $as_echo_n "(cached) " >&6
44620 else
44623 ac_ext=cpp
44624 ac_cpp='$CXXCPP $CPPFLAGS'
44625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44630 /* end confdefs.h. */
44631 #include <math.h>
44633 main ()
44635 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44637 return 0;
44639 _ACEOF
44640 if ac_fn_cxx_try_compile "$LINENO"; then :
44641 glibcxx_cv_func_long_double_trig_use=yes
44642 else
44643 glibcxx_cv_func_long_double_trig_use=no
44645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44646 ac_ext=c
44647 ac_cpp='$CPP $CPPFLAGS'
44648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44655 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44656 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44657 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44658 do :
44659 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44660 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44661 eval as_val=\$$as_ac_var
44662 if test "x$as_val" = x""yes; then :
44663 cat >>confdefs.h <<_ACEOF
44664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44665 _ACEOF
44668 done
44670 else
44671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44672 $as_echo_n "checking for _long double trig functions... " >&6; }
44673 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44674 $as_echo_n "(cached) " >&6
44675 else
44678 ac_ext=cpp
44679 ac_cpp='$CXXCPP $CPPFLAGS'
44680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44685 /* end confdefs.h. */
44686 #include <math.h>
44688 main ()
44690 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44692 return 0;
44694 _ACEOF
44695 if ac_fn_cxx_try_compile "$LINENO"; then :
44696 glibcxx_cv_func__long_double_trig_use=yes
44697 else
44698 glibcxx_cv_func__long_double_trig_use=no
44700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44701 ac_ext=c
44702 ac_cpp='$CPP $CPPFLAGS'
44703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44710 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44711 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44712 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44713 do :
44714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44716 eval as_val=\$$as_ac_var
44717 if test "x$as_val" = x""yes; then :
44718 cat >>confdefs.h <<_ACEOF
44719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44720 _ACEOF
44723 done
44732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44733 $as_echo_n "checking for long double round functions... " >&6; }
44734 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44735 $as_echo_n "(cached) " >&6
44736 else
44739 ac_ext=cpp
44740 ac_cpp='$CXXCPP $CPPFLAGS'
44741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44746 /* end confdefs.h. */
44747 #include <math.h>
44749 main ()
44751 ceill (0); floorl (0);
44753 return 0;
44755 _ACEOF
44756 if ac_fn_cxx_try_compile "$LINENO"; then :
44757 glibcxx_cv_func_long_double_round_use=yes
44758 else
44759 glibcxx_cv_func_long_double_round_use=no
44761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44762 ac_ext=c
44763 ac_cpp='$CPP $CPPFLAGS'
44764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44771 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44772 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44773 for ac_func in ceill floorl
44774 do :
44775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44777 eval as_val=\$$as_ac_var
44778 if test "x$as_val" = x""yes; then :
44779 cat >>confdefs.h <<_ACEOF
44780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44781 _ACEOF
44784 done
44786 else
44787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44788 $as_echo_n "checking for _long double round functions... " >&6; }
44789 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44790 $as_echo_n "(cached) " >&6
44791 else
44794 ac_ext=cpp
44795 ac_cpp='$CXXCPP $CPPFLAGS'
44796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44801 /* end confdefs.h. */
44802 #include <math.h>
44804 main ()
44806 _ceill (0); _floorl (0);
44808 return 0;
44810 _ACEOF
44811 if ac_fn_cxx_try_compile "$LINENO"; then :
44812 glibcxx_cv_func__long_double_round_use=yes
44813 else
44814 glibcxx_cv_func__long_double_round_use=no
44816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44817 ac_ext=c
44818 ac_cpp='$CPP $CPPFLAGS'
44819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44826 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44827 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44828 for ac_func in _ceill _floorl
44829 do :
44830 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44831 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44832 eval as_val=\$$as_ac_var
44833 if test "x$as_val" = x""yes; then :
44834 cat >>confdefs.h <<_ACEOF
44835 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44836 _ACEOF
44839 done
44849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44850 $as_echo_n "checking for isnanl declaration... " >&6; }
44851 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44852 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44853 $as_echo_n "(cached) " >&6
44854 else
44857 ac_ext=cpp
44858 ac_cpp='$CXXCPP $CPPFLAGS'
44859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44864 /* end confdefs.h. */
44865 #include <math.h>
44866 #ifdef HAVE_IEEEFP_H
44867 #include <ieeefp.h>
44868 #endif
44871 main ()
44873 isnanl(0);
44875 return 0;
44877 _ACEOF
44878 if ac_fn_cxx_try_compile "$LINENO"; then :
44879 glibcxx_cv_func_isnanl_use=yes
44880 else
44881 glibcxx_cv_func_isnanl_use=no
44883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44884 ac_ext=c
44885 ac_cpp='$CPP $CPPFLAGS'
44886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44895 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44897 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44898 for ac_func in isnanl
44899 do :
44900 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44901 if test "x$ac_cv_func_isnanl" = x""yes; then :
44902 cat >>confdefs.h <<_ACEOF
44903 #define HAVE_ISNANL 1
44904 _ACEOF
44907 done
44909 else
44911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44912 $as_echo_n "checking for _isnanl declaration... " >&6; }
44913 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44914 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44915 $as_echo_n "(cached) " >&6
44916 else
44919 ac_ext=cpp
44920 ac_cpp='$CXXCPP $CPPFLAGS'
44921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44926 /* end confdefs.h. */
44927 #include <math.h>
44928 #ifdef HAVE_IEEEFP_H
44929 #include <ieeefp.h>
44930 #endif
44933 main ()
44935 _isnanl(0);
44937 return 0;
44939 _ACEOF
44940 if ac_fn_cxx_try_compile "$LINENO"; then :
44941 glibcxx_cv_func__isnanl_use=yes
44942 else
44943 glibcxx_cv_func__isnanl_use=no
44945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44946 ac_ext=c
44947 ac_cpp='$CPP $CPPFLAGS'
44948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44957 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44959 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44960 for ac_func in _isnanl
44961 do :
44962 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44963 if test "x$ac_cv_func__isnanl" = x""yes; then :
44964 cat >>confdefs.h <<_ACEOF
44965 #define HAVE__ISNANL 1
44966 _ACEOF
44969 done
44978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44979 $as_echo_n "checking for isinfl declaration... " >&6; }
44980 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44981 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44982 $as_echo_n "(cached) " >&6
44983 else
44986 ac_ext=cpp
44987 ac_cpp='$CXXCPP $CPPFLAGS'
44988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44993 /* end confdefs.h. */
44994 #include <math.h>
44995 #ifdef HAVE_IEEEFP_H
44996 #include <ieeefp.h>
44997 #endif
45000 main ()
45002 isinfl(0);
45004 return 0;
45006 _ACEOF
45007 if ac_fn_cxx_try_compile "$LINENO"; then :
45008 glibcxx_cv_func_isinfl_use=yes
45009 else
45010 glibcxx_cv_func_isinfl_use=no
45012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45013 ac_ext=c
45014 ac_cpp='$CPP $CPPFLAGS'
45015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45024 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45026 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45027 for ac_func in isinfl
45028 do :
45029 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45030 if test "x$ac_cv_func_isinfl" = x""yes; then :
45031 cat >>confdefs.h <<_ACEOF
45032 #define HAVE_ISINFL 1
45033 _ACEOF
45036 done
45038 else
45040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45041 $as_echo_n "checking for _isinfl declaration... " >&6; }
45042 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45043 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45044 $as_echo_n "(cached) " >&6
45045 else
45048 ac_ext=cpp
45049 ac_cpp='$CXXCPP $CPPFLAGS'
45050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45055 /* end confdefs.h. */
45056 #include <math.h>
45057 #ifdef HAVE_IEEEFP_H
45058 #include <ieeefp.h>
45059 #endif
45062 main ()
45064 _isinfl(0);
45066 return 0;
45068 _ACEOF
45069 if ac_fn_cxx_try_compile "$LINENO"; then :
45070 glibcxx_cv_func__isinfl_use=yes
45071 else
45072 glibcxx_cv_func__isinfl_use=no
45074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45075 ac_ext=c
45076 ac_cpp='$CPP $CPPFLAGS'
45077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45086 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45088 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45089 for ac_func in _isinfl
45090 do :
45091 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45092 if test "x$ac_cv_func__isinfl" = x""yes; then :
45093 cat >>confdefs.h <<_ACEOF
45094 #define HAVE__ISINFL 1
45095 _ACEOF
45098 done
45107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45108 $as_echo_n "checking for atan2l declaration... " >&6; }
45109 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45110 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45111 $as_echo_n "(cached) " >&6
45112 else
45115 ac_ext=cpp
45116 ac_cpp='$CXXCPP $CPPFLAGS'
45117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45122 /* end confdefs.h. */
45123 #include <math.h>
45125 main ()
45127 atan2l(0, 0);
45129 return 0;
45131 _ACEOF
45132 if ac_fn_cxx_try_compile "$LINENO"; then :
45133 glibcxx_cv_func_atan2l_use=yes
45134 else
45135 glibcxx_cv_func_atan2l_use=no
45137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45138 ac_ext=c
45139 ac_cpp='$CPP $CPPFLAGS'
45140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45149 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45151 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45152 for ac_func in atan2l
45153 do :
45154 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45155 if test "x$ac_cv_func_atan2l" = x""yes; then :
45156 cat >>confdefs.h <<_ACEOF
45157 #define HAVE_ATAN2L 1
45158 _ACEOF
45161 done
45163 else
45165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45166 $as_echo_n "checking for _atan2l declaration... " >&6; }
45167 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45168 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45169 $as_echo_n "(cached) " >&6
45170 else
45173 ac_ext=cpp
45174 ac_cpp='$CXXCPP $CPPFLAGS'
45175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45180 /* end confdefs.h. */
45181 #include <math.h>
45183 main ()
45185 _atan2l(0, 0);
45187 return 0;
45189 _ACEOF
45190 if ac_fn_cxx_try_compile "$LINENO"; then :
45191 glibcxx_cv_func__atan2l_use=yes
45192 else
45193 glibcxx_cv_func__atan2l_use=no
45195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45196 ac_ext=c
45197 ac_cpp='$CPP $CPPFLAGS'
45198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45207 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45209 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45210 for ac_func in _atan2l
45211 do :
45212 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45213 if test "x$ac_cv_func__atan2l" = x""yes; then :
45214 cat >>confdefs.h <<_ACEOF
45215 #define HAVE__ATAN2L 1
45216 _ACEOF
45219 done
45228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45229 $as_echo_n "checking for expl declaration... " >&6; }
45230 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45231 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45232 $as_echo_n "(cached) " >&6
45233 else
45236 ac_ext=cpp
45237 ac_cpp='$CXXCPP $CPPFLAGS'
45238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45243 /* end confdefs.h. */
45244 #include <math.h>
45245 #ifdef HAVE_IEEEFP_H
45246 #include <ieeefp.h>
45247 #endif
45250 main ()
45252 expl(0);
45254 return 0;
45256 _ACEOF
45257 if ac_fn_cxx_try_compile "$LINENO"; then :
45258 glibcxx_cv_func_expl_use=yes
45259 else
45260 glibcxx_cv_func_expl_use=no
45262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45263 ac_ext=c
45264 ac_cpp='$CPP $CPPFLAGS'
45265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45274 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45276 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45277 for ac_func in expl
45278 do :
45279 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45280 if test "x$ac_cv_func_expl" = x""yes; then :
45281 cat >>confdefs.h <<_ACEOF
45282 #define HAVE_EXPL 1
45283 _ACEOF
45286 done
45288 else
45290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45291 $as_echo_n "checking for _expl declaration... " >&6; }
45292 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45293 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45294 $as_echo_n "(cached) " >&6
45295 else
45298 ac_ext=cpp
45299 ac_cpp='$CXXCPP $CPPFLAGS'
45300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45305 /* end confdefs.h. */
45306 #include <math.h>
45307 #ifdef HAVE_IEEEFP_H
45308 #include <ieeefp.h>
45309 #endif
45312 main ()
45314 _expl(0);
45316 return 0;
45318 _ACEOF
45319 if ac_fn_cxx_try_compile "$LINENO"; then :
45320 glibcxx_cv_func__expl_use=yes
45321 else
45322 glibcxx_cv_func__expl_use=no
45324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45325 ac_ext=c
45326 ac_cpp='$CPP $CPPFLAGS'
45327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45336 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45338 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45339 for ac_func in _expl
45340 do :
45341 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45342 if test "x$ac_cv_func__expl" = x""yes; then :
45343 cat >>confdefs.h <<_ACEOF
45344 #define HAVE__EXPL 1
45345 _ACEOF
45348 done
45357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45358 $as_echo_n "checking for fabsl declaration... " >&6; }
45359 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45360 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45361 $as_echo_n "(cached) " >&6
45362 else
45365 ac_ext=cpp
45366 ac_cpp='$CXXCPP $CPPFLAGS'
45367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45372 /* end confdefs.h. */
45373 #include <math.h>
45374 #ifdef HAVE_IEEEFP_H
45375 #include <ieeefp.h>
45376 #endif
45379 main ()
45381 fabsl(0);
45383 return 0;
45385 _ACEOF
45386 if ac_fn_cxx_try_compile "$LINENO"; then :
45387 glibcxx_cv_func_fabsl_use=yes
45388 else
45389 glibcxx_cv_func_fabsl_use=no
45391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45392 ac_ext=c
45393 ac_cpp='$CPP $CPPFLAGS'
45394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45403 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45405 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45406 for ac_func in fabsl
45407 do :
45408 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45409 if test "x$ac_cv_func_fabsl" = x""yes; then :
45410 cat >>confdefs.h <<_ACEOF
45411 #define HAVE_FABSL 1
45412 _ACEOF
45415 done
45417 else
45419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45420 $as_echo_n "checking for _fabsl declaration... " >&6; }
45421 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45422 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45423 $as_echo_n "(cached) " >&6
45424 else
45427 ac_ext=cpp
45428 ac_cpp='$CXXCPP $CPPFLAGS'
45429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45434 /* end confdefs.h. */
45435 #include <math.h>
45436 #ifdef HAVE_IEEEFP_H
45437 #include <ieeefp.h>
45438 #endif
45441 main ()
45443 _fabsl(0);
45445 return 0;
45447 _ACEOF
45448 if ac_fn_cxx_try_compile "$LINENO"; then :
45449 glibcxx_cv_func__fabsl_use=yes
45450 else
45451 glibcxx_cv_func__fabsl_use=no
45453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45454 ac_ext=c
45455 ac_cpp='$CPP $CPPFLAGS'
45456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45465 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45467 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45468 for ac_func in _fabsl
45469 do :
45470 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45471 if test "x$ac_cv_func__fabsl" = x""yes; then :
45472 cat >>confdefs.h <<_ACEOF
45473 #define HAVE__FABSL 1
45474 _ACEOF
45477 done
45486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45487 $as_echo_n "checking for fmodl declaration... " >&6; }
45488 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45489 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45490 $as_echo_n "(cached) " >&6
45491 else
45494 ac_ext=cpp
45495 ac_cpp='$CXXCPP $CPPFLAGS'
45496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45501 /* end confdefs.h. */
45502 #include <math.h>
45504 main ()
45506 fmodl(0, 0);
45508 return 0;
45510 _ACEOF
45511 if ac_fn_cxx_try_compile "$LINENO"; then :
45512 glibcxx_cv_func_fmodl_use=yes
45513 else
45514 glibcxx_cv_func_fmodl_use=no
45516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45517 ac_ext=c
45518 ac_cpp='$CPP $CPPFLAGS'
45519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45528 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45530 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45531 for ac_func in fmodl
45532 do :
45533 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45534 if test "x$ac_cv_func_fmodl" = x""yes; then :
45535 cat >>confdefs.h <<_ACEOF
45536 #define HAVE_FMODL 1
45537 _ACEOF
45540 done
45542 else
45544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45545 $as_echo_n "checking for _fmodl declaration... " >&6; }
45546 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45547 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45548 $as_echo_n "(cached) " >&6
45549 else
45552 ac_ext=cpp
45553 ac_cpp='$CXXCPP $CPPFLAGS'
45554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45559 /* end confdefs.h. */
45560 #include <math.h>
45562 main ()
45564 _fmodl(0, 0);
45566 return 0;
45568 _ACEOF
45569 if ac_fn_cxx_try_compile "$LINENO"; then :
45570 glibcxx_cv_func__fmodl_use=yes
45571 else
45572 glibcxx_cv_func__fmodl_use=no
45574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45575 ac_ext=c
45576 ac_cpp='$CPP $CPPFLAGS'
45577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45586 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45588 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45589 for ac_func in _fmodl
45590 do :
45591 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45592 if test "x$ac_cv_func__fmodl" = x""yes; then :
45593 cat >>confdefs.h <<_ACEOF
45594 #define HAVE__FMODL 1
45595 _ACEOF
45598 done
45607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45608 $as_echo_n "checking for frexpl declaration... " >&6; }
45609 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45610 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45611 $as_echo_n "(cached) " >&6
45612 else
45615 ac_ext=cpp
45616 ac_cpp='$CXXCPP $CPPFLAGS'
45617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45622 /* end confdefs.h. */
45623 #include <math.h>
45625 main ()
45627 frexpl(0, 0);
45629 return 0;
45631 _ACEOF
45632 if ac_fn_cxx_try_compile "$LINENO"; then :
45633 glibcxx_cv_func_frexpl_use=yes
45634 else
45635 glibcxx_cv_func_frexpl_use=no
45637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45638 ac_ext=c
45639 ac_cpp='$CPP $CPPFLAGS'
45640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45649 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45651 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45652 for ac_func in frexpl
45653 do :
45654 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45655 if test "x$ac_cv_func_frexpl" = x""yes; then :
45656 cat >>confdefs.h <<_ACEOF
45657 #define HAVE_FREXPL 1
45658 _ACEOF
45661 done
45663 else
45665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45666 $as_echo_n "checking for _frexpl declaration... " >&6; }
45667 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45668 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45669 $as_echo_n "(cached) " >&6
45670 else
45673 ac_ext=cpp
45674 ac_cpp='$CXXCPP $CPPFLAGS'
45675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45680 /* end confdefs.h. */
45681 #include <math.h>
45683 main ()
45685 _frexpl(0, 0);
45687 return 0;
45689 _ACEOF
45690 if ac_fn_cxx_try_compile "$LINENO"; then :
45691 glibcxx_cv_func__frexpl_use=yes
45692 else
45693 glibcxx_cv_func__frexpl_use=no
45695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45696 ac_ext=c
45697 ac_cpp='$CPP $CPPFLAGS'
45698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45707 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45709 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45710 for ac_func in _frexpl
45711 do :
45712 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45713 if test "x$ac_cv_func__frexpl" = x""yes; then :
45714 cat >>confdefs.h <<_ACEOF
45715 #define HAVE__FREXPL 1
45716 _ACEOF
45719 done
45728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45729 $as_echo_n "checking for hypotl declaration... " >&6; }
45730 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45731 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45732 $as_echo_n "(cached) " >&6
45733 else
45736 ac_ext=cpp
45737 ac_cpp='$CXXCPP $CPPFLAGS'
45738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45743 /* end confdefs.h. */
45744 #include <math.h>
45746 main ()
45748 hypotl(0, 0);
45750 return 0;
45752 _ACEOF
45753 if ac_fn_cxx_try_compile "$LINENO"; then :
45754 glibcxx_cv_func_hypotl_use=yes
45755 else
45756 glibcxx_cv_func_hypotl_use=no
45758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45759 ac_ext=c
45760 ac_cpp='$CPP $CPPFLAGS'
45761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45770 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45772 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45773 for ac_func in hypotl
45774 do :
45775 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45776 if test "x$ac_cv_func_hypotl" = x""yes; then :
45777 cat >>confdefs.h <<_ACEOF
45778 #define HAVE_HYPOTL 1
45779 _ACEOF
45782 done
45784 else
45786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45787 $as_echo_n "checking for _hypotl declaration... " >&6; }
45788 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45789 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45790 $as_echo_n "(cached) " >&6
45791 else
45794 ac_ext=cpp
45795 ac_cpp='$CXXCPP $CPPFLAGS'
45796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45801 /* end confdefs.h. */
45802 #include <math.h>
45804 main ()
45806 _hypotl(0, 0);
45808 return 0;
45810 _ACEOF
45811 if ac_fn_cxx_try_compile "$LINENO"; then :
45812 glibcxx_cv_func__hypotl_use=yes
45813 else
45814 glibcxx_cv_func__hypotl_use=no
45816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45817 ac_ext=c
45818 ac_cpp='$CPP $CPPFLAGS'
45819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45828 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45830 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45831 for ac_func in _hypotl
45832 do :
45833 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45834 if test "x$ac_cv_func__hypotl" = x""yes; then :
45835 cat >>confdefs.h <<_ACEOF
45836 #define HAVE__HYPOTL 1
45837 _ACEOF
45840 done
45849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45850 $as_echo_n "checking for ldexpl declaration... " >&6; }
45851 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45852 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45853 $as_echo_n "(cached) " >&6
45854 else
45857 ac_ext=cpp
45858 ac_cpp='$CXXCPP $CPPFLAGS'
45859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45864 /* end confdefs.h. */
45865 #include <math.h>
45867 main ()
45869 ldexpl(0, 0);
45871 return 0;
45873 _ACEOF
45874 if ac_fn_cxx_try_compile "$LINENO"; then :
45875 glibcxx_cv_func_ldexpl_use=yes
45876 else
45877 glibcxx_cv_func_ldexpl_use=no
45879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45880 ac_ext=c
45881 ac_cpp='$CPP $CPPFLAGS'
45882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45891 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45893 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45894 for ac_func in ldexpl
45895 do :
45896 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45897 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45898 cat >>confdefs.h <<_ACEOF
45899 #define HAVE_LDEXPL 1
45900 _ACEOF
45903 done
45905 else
45907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45908 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45909 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45910 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45911 $as_echo_n "(cached) " >&6
45912 else
45915 ac_ext=cpp
45916 ac_cpp='$CXXCPP $CPPFLAGS'
45917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45922 /* end confdefs.h. */
45923 #include <math.h>
45925 main ()
45927 _ldexpl(0, 0);
45929 return 0;
45931 _ACEOF
45932 if ac_fn_cxx_try_compile "$LINENO"; then :
45933 glibcxx_cv_func__ldexpl_use=yes
45934 else
45935 glibcxx_cv_func__ldexpl_use=no
45937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45938 ac_ext=c
45939 ac_cpp='$CPP $CPPFLAGS'
45940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45949 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45951 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45952 for ac_func in _ldexpl
45953 do :
45954 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45955 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45956 cat >>confdefs.h <<_ACEOF
45957 #define HAVE__LDEXPL 1
45958 _ACEOF
45961 done
45970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45971 $as_echo_n "checking for logl declaration... " >&6; }
45972 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45973 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45974 $as_echo_n "(cached) " >&6
45975 else
45978 ac_ext=cpp
45979 ac_cpp='$CXXCPP $CPPFLAGS'
45980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45985 /* end confdefs.h. */
45986 #include <math.h>
45987 #ifdef HAVE_IEEEFP_H
45988 #include <ieeefp.h>
45989 #endif
45992 main ()
45994 logl(0);
45996 return 0;
45998 _ACEOF
45999 if ac_fn_cxx_try_compile "$LINENO"; then :
46000 glibcxx_cv_func_logl_use=yes
46001 else
46002 glibcxx_cv_func_logl_use=no
46004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46005 ac_ext=c
46006 ac_cpp='$CPP $CPPFLAGS'
46007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46016 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46018 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46019 for ac_func in logl
46020 do :
46021 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46022 if test "x$ac_cv_func_logl" = x""yes; then :
46023 cat >>confdefs.h <<_ACEOF
46024 #define HAVE_LOGL 1
46025 _ACEOF
46028 done
46030 else
46032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46033 $as_echo_n "checking for _logl declaration... " >&6; }
46034 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46035 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46036 $as_echo_n "(cached) " >&6
46037 else
46040 ac_ext=cpp
46041 ac_cpp='$CXXCPP $CPPFLAGS'
46042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46047 /* end confdefs.h. */
46048 #include <math.h>
46049 #ifdef HAVE_IEEEFP_H
46050 #include <ieeefp.h>
46051 #endif
46054 main ()
46056 _logl(0);
46058 return 0;
46060 _ACEOF
46061 if ac_fn_cxx_try_compile "$LINENO"; then :
46062 glibcxx_cv_func__logl_use=yes
46063 else
46064 glibcxx_cv_func__logl_use=no
46066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46067 ac_ext=c
46068 ac_cpp='$CPP $CPPFLAGS'
46069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46078 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46080 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46081 for ac_func in _logl
46082 do :
46083 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46084 if test "x$ac_cv_func__logl" = x""yes; then :
46085 cat >>confdefs.h <<_ACEOF
46086 #define HAVE__LOGL 1
46087 _ACEOF
46090 done
46099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46100 $as_echo_n "checking for log10l declaration... " >&6; }
46101 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46102 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46103 $as_echo_n "(cached) " >&6
46104 else
46107 ac_ext=cpp
46108 ac_cpp='$CXXCPP $CPPFLAGS'
46109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46114 /* end confdefs.h. */
46115 #include <math.h>
46116 #ifdef HAVE_IEEEFP_H
46117 #include <ieeefp.h>
46118 #endif
46121 main ()
46123 log10l(0);
46125 return 0;
46127 _ACEOF
46128 if ac_fn_cxx_try_compile "$LINENO"; then :
46129 glibcxx_cv_func_log10l_use=yes
46130 else
46131 glibcxx_cv_func_log10l_use=no
46133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46134 ac_ext=c
46135 ac_cpp='$CPP $CPPFLAGS'
46136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46145 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46147 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46148 for ac_func in log10l
46149 do :
46150 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46151 if test "x$ac_cv_func_log10l" = x""yes; then :
46152 cat >>confdefs.h <<_ACEOF
46153 #define HAVE_LOG10L 1
46154 _ACEOF
46157 done
46159 else
46161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46162 $as_echo_n "checking for _log10l declaration... " >&6; }
46163 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46164 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46165 $as_echo_n "(cached) " >&6
46166 else
46169 ac_ext=cpp
46170 ac_cpp='$CXXCPP $CPPFLAGS'
46171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46176 /* end confdefs.h. */
46177 #include <math.h>
46178 #ifdef HAVE_IEEEFP_H
46179 #include <ieeefp.h>
46180 #endif
46183 main ()
46185 _log10l(0);
46187 return 0;
46189 _ACEOF
46190 if ac_fn_cxx_try_compile "$LINENO"; then :
46191 glibcxx_cv_func__log10l_use=yes
46192 else
46193 glibcxx_cv_func__log10l_use=no
46195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46196 ac_ext=c
46197 ac_cpp='$CPP $CPPFLAGS'
46198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46207 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46209 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46210 for ac_func in _log10l
46211 do :
46212 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46213 if test "x$ac_cv_func__log10l" = x""yes; then :
46214 cat >>confdefs.h <<_ACEOF
46215 #define HAVE__LOG10L 1
46216 _ACEOF
46219 done
46228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46229 $as_echo_n "checking for modfl declaration... " >&6; }
46230 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46231 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46232 $as_echo_n "(cached) " >&6
46233 else
46236 ac_ext=cpp
46237 ac_cpp='$CXXCPP $CPPFLAGS'
46238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46243 /* end confdefs.h. */
46244 #include <math.h>
46246 main ()
46248 modfl(0, 0);
46250 return 0;
46252 _ACEOF
46253 if ac_fn_cxx_try_compile "$LINENO"; then :
46254 glibcxx_cv_func_modfl_use=yes
46255 else
46256 glibcxx_cv_func_modfl_use=no
46258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46259 ac_ext=c
46260 ac_cpp='$CPP $CPPFLAGS'
46261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46270 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46272 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46273 for ac_func in modfl
46274 do :
46275 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46276 if test "x$ac_cv_func_modfl" = x""yes; then :
46277 cat >>confdefs.h <<_ACEOF
46278 #define HAVE_MODFL 1
46279 _ACEOF
46282 done
46284 else
46286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46287 $as_echo_n "checking for _modfl declaration... " >&6; }
46288 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46289 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46290 $as_echo_n "(cached) " >&6
46291 else
46294 ac_ext=cpp
46295 ac_cpp='$CXXCPP $CPPFLAGS'
46296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46301 /* end confdefs.h. */
46302 #include <math.h>
46304 main ()
46306 _modfl(0, 0);
46308 return 0;
46310 _ACEOF
46311 if ac_fn_cxx_try_compile "$LINENO"; then :
46312 glibcxx_cv_func__modfl_use=yes
46313 else
46314 glibcxx_cv_func__modfl_use=no
46316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46317 ac_ext=c
46318 ac_cpp='$CPP $CPPFLAGS'
46319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46328 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46330 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46331 for ac_func in _modfl
46332 do :
46333 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46334 if test "x$ac_cv_func__modfl" = x""yes; then :
46335 cat >>confdefs.h <<_ACEOF
46336 #define HAVE__MODFL 1
46337 _ACEOF
46340 done
46349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46350 $as_echo_n "checking for powl declaration... " >&6; }
46351 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46352 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46353 $as_echo_n "(cached) " >&6
46354 else
46357 ac_ext=cpp
46358 ac_cpp='$CXXCPP $CPPFLAGS'
46359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46364 /* end confdefs.h. */
46365 #include <math.h>
46367 main ()
46369 powl(0, 0);
46371 return 0;
46373 _ACEOF
46374 if ac_fn_cxx_try_compile "$LINENO"; then :
46375 glibcxx_cv_func_powl_use=yes
46376 else
46377 glibcxx_cv_func_powl_use=no
46379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46380 ac_ext=c
46381 ac_cpp='$CPP $CPPFLAGS'
46382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46391 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46393 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46394 for ac_func in powl
46395 do :
46396 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46397 if test "x$ac_cv_func_powl" = x""yes; then :
46398 cat >>confdefs.h <<_ACEOF
46399 #define HAVE_POWL 1
46400 _ACEOF
46403 done
46405 else
46407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46408 $as_echo_n "checking for _powl declaration... " >&6; }
46409 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46410 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46411 $as_echo_n "(cached) " >&6
46412 else
46415 ac_ext=cpp
46416 ac_cpp='$CXXCPP $CPPFLAGS'
46417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46422 /* end confdefs.h. */
46423 #include <math.h>
46425 main ()
46427 _powl(0, 0);
46429 return 0;
46431 _ACEOF
46432 if ac_fn_cxx_try_compile "$LINENO"; then :
46433 glibcxx_cv_func__powl_use=yes
46434 else
46435 glibcxx_cv_func__powl_use=no
46437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46438 ac_ext=c
46439 ac_cpp='$CPP $CPPFLAGS'
46440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46449 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46451 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46452 for ac_func in _powl
46453 do :
46454 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46455 if test "x$ac_cv_func__powl" = x""yes; then :
46456 cat >>confdefs.h <<_ACEOF
46457 #define HAVE__POWL 1
46458 _ACEOF
46461 done
46470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46471 $as_echo_n "checking for sqrtl declaration... " >&6; }
46472 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46473 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46474 $as_echo_n "(cached) " >&6
46475 else
46478 ac_ext=cpp
46479 ac_cpp='$CXXCPP $CPPFLAGS'
46480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46485 /* end confdefs.h. */
46486 #include <math.h>
46487 #ifdef HAVE_IEEEFP_H
46488 #include <ieeefp.h>
46489 #endif
46492 main ()
46494 sqrtl(0);
46496 return 0;
46498 _ACEOF
46499 if ac_fn_cxx_try_compile "$LINENO"; then :
46500 glibcxx_cv_func_sqrtl_use=yes
46501 else
46502 glibcxx_cv_func_sqrtl_use=no
46504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46505 ac_ext=c
46506 ac_cpp='$CPP $CPPFLAGS'
46507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46516 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46518 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46519 for ac_func in sqrtl
46520 do :
46521 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46522 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46523 cat >>confdefs.h <<_ACEOF
46524 #define HAVE_SQRTL 1
46525 _ACEOF
46528 done
46530 else
46532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46533 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46534 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46535 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46536 $as_echo_n "(cached) " >&6
46537 else
46540 ac_ext=cpp
46541 ac_cpp='$CXXCPP $CPPFLAGS'
46542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46547 /* end confdefs.h. */
46548 #include <math.h>
46549 #ifdef HAVE_IEEEFP_H
46550 #include <ieeefp.h>
46551 #endif
46554 main ()
46556 _sqrtl(0);
46558 return 0;
46560 _ACEOF
46561 if ac_fn_cxx_try_compile "$LINENO"; then :
46562 glibcxx_cv_func__sqrtl_use=yes
46563 else
46564 glibcxx_cv_func__sqrtl_use=no
46566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46567 ac_ext=c
46568 ac_cpp='$CPP $CPPFLAGS'
46569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46578 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46580 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46581 for ac_func in _sqrtl
46582 do :
46583 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46584 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46585 cat >>confdefs.h <<_ACEOF
46586 #define HAVE__SQRTL 1
46587 _ACEOF
46590 done
46599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46600 $as_echo_n "checking for sincosl declaration... " >&6; }
46601 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46602 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46603 $as_echo_n "(cached) " >&6
46604 else
46607 ac_ext=cpp
46608 ac_cpp='$CXXCPP $CPPFLAGS'
46609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46614 /* end confdefs.h. */
46615 #include <math.h>
46617 main ()
46619 sincosl(0, 0, 0);
46621 return 0;
46623 _ACEOF
46624 if ac_fn_cxx_try_compile "$LINENO"; then :
46625 glibcxx_cv_func_sincosl_use=yes
46626 else
46627 glibcxx_cv_func_sincosl_use=no
46629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46630 ac_ext=c
46631 ac_cpp='$CPP $CPPFLAGS'
46632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46641 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46643 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46644 for ac_func in sincosl
46645 do :
46646 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46647 if test "x$ac_cv_func_sincosl" = x""yes; then :
46648 cat >>confdefs.h <<_ACEOF
46649 #define HAVE_SINCOSL 1
46650 _ACEOF
46653 done
46655 else
46657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46658 $as_echo_n "checking for _sincosl declaration... " >&6; }
46659 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46660 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46661 $as_echo_n "(cached) " >&6
46662 else
46665 ac_ext=cpp
46666 ac_cpp='$CXXCPP $CPPFLAGS'
46667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46672 /* end confdefs.h. */
46673 #include <math.h>
46675 main ()
46677 _sincosl(0, 0, 0);
46679 return 0;
46681 _ACEOF
46682 if ac_fn_cxx_try_compile "$LINENO"; then :
46683 glibcxx_cv_func__sincosl_use=yes
46684 else
46685 glibcxx_cv_func__sincosl_use=no
46687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46688 ac_ext=c
46689 ac_cpp='$CPP $CPPFLAGS'
46690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46699 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46701 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46702 for ac_func in _sincosl
46703 do :
46704 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46705 if test "x$ac_cv_func__sincosl" = x""yes; then :
46706 cat >>confdefs.h <<_ACEOF
46707 #define HAVE__SINCOSL 1
46708 _ACEOF
46711 done
46720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46721 $as_echo_n "checking for finitel declaration... " >&6; }
46722 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46723 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46724 $as_echo_n "(cached) " >&6
46725 else
46728 ac_ext=cpp
46729 ac_cpp='$CXXCPP $CPPFLAGS'
46730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46735 /* end confdefs.h. */
46736 #include <math.h>
46737 #ifdef HAVE_IEEEFP_H
46738 #include <ieeefp.h>
46739 #endif
46742 main ()
46744 finitel(0);
46746 return 0;
46748 _ACEOF
46749 if ac_fn_cxx_try_compile "$LINENO"; then :
46750 glibcxx_cv_func_finitel_use=yes
46751 else
46752 glibcxx_cv_func_finitel_use=no
46754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46755 ac_ext=c
46756 ac_cpp='$CPP $CPPFLAGS'
46757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46766 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46768 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46769 for ac_func in finitel
46770 do :
46771 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46772 if test "x$ac_cv_func_finitel" = x""yes; then :
46773 cat >>confdefs.h <<_ACEOF
46774 #define HAVE_FINITEL 1
46775 _ACEOF
46778 done
46780 else
46782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46783 $as_echo_n "checking for _finitel declaration... " >&6; }
46784 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46785 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46786 $as_echo_n "(cached) " >&6
46787 else
46790 ac_ext=cpp
46791 ac_cpp='$CXXCPP $CPPFLAGS'
46792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46797 /* end confdefs.h. */
46798 #include <math.h>
46799 #ifdef HAVE_IEEEFP_H
46800 #include <ieeefp.h>
46801 #endif
46804 main ()
46806 _finitel(0);
46808 return 0;
46810 _ACEOF
46811 if ac_fn_cxx_try_compile "$LINENO"; then :
46812 glibcxx_cv_func__finitel_use=yes
46813 else
46814 glibcxx_cv_func__finitel_use=no
46816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46817 ac_ext=c
46818 ac_cpp='$CPP $CPPFLAGS'
46819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46828 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46830 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46831 for ac_func in _finitel
46832 do :
46833 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46834 if test "x$ac_cv_func__finitel" = x""yes; then :
46835 cat >>confdefs.h <<_ACEOF
46836 #define HAVE__FINITEL 1
46837 _ACEOF
46840 done
46848 LIBS="$ac_save_LIBS"
46849 CXXFLAGS="$ac_save_CXXFLAGS"
46852 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46853 ac_save_CXXFLAGS="$CXXFLAGS"
46854 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46858 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46859 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46860 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46861 $as_echo_n "(cached) " >&6
46862 else
46865 ac_ext=cpp
46866 ac_cpp='$CXXCPP $CPPFLAGS'
46867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46872 /* end confdefs.h. */
46873 #include <stdlib.h>
46875 main ()
46877 at_quick_exit(0);
46879 return 0;
46881 _ACEOF
46882 if ac_fn_cxx_try_compile "$LINENO"; then :
46883 glibcxx_cv_func_at_quick_exit_use=yes
46884 else
46885 glibcxx_cv_func_at_quick_exit_use=no
46887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46888 ac_ext=c
46889 ac_cpp='$CPP $CPPFLAGS'
46890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46899 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46900 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46901 for ac_func in at_quick_exit
46902 do :
46903 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46904 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46905 cat >>confdefs.h <<_ACEOF
46906 #define HAVE_AT_QUICK_EXIT 1
46907 _ACEOF
46910 done
46915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46916 $as_echo_n "checking for quick_exit declaration... " >&6; }
46917 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46918 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46919 $as_echo_n "(cached) " >&6
46920 else
46923 ac_ext=cpp
46924 ac_cpp='$CXXCPP $CPPFLAGS'
46925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46930 /* end confdefs.h. */
46931 #include <stdlib.h>
46933 main ()
46935 quick_exit(0);
46937 return 0;
46939 _ACEOF
46940 if ac_fn_cxx_try_compile "$LINENO"; then :
46941 glibcxx_cv_func_quick_exit_use=yes
46942 else
46943 glibcxx_cv_func_quick_exit_use=no
46945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46946 ac_ext=c
46947 ac_cpp='$CPP $CPPFLAGS'
46948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46957 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46958 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46959 for ac_func in quick_exit
46960 do :
46961 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46962 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46963 cat >>confdefs.h <<_ACEOF
46964 #define HAVE_QUICK_EXIT 1
46965 _ACEOF
46968 done
46973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46974 $as_echo_n "checking for strtold declaration... " >&6; }
46975 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46976 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46977 $as_echo_n "(cached) " >&6
46978 else
46981 ac_ext=cpp
46982 ac_cpp='$CXXCPP $CPPFLAGS'
46983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46988 /* end confdefs.h. */
46989 #include <stdlib.h>
46991 main ()
46993 strtold(0, 0);
46995 return 0;
46997 _ACEOF
46998 if ac_fn_cxx_try_compile "$LINENO"; then :
46999 glibcxx_cv_func_strtold_use=yes
47000 else
47001 glibcxx_cv_func_strtold_use=no
47003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47004 ac_ext=c
47005 ac_cpp='$CPP $CPPFLAGS'
47006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47015 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47016 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47017 for ac_func in strtold
47018 do :
47019 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47020 if test "x$ac_cv_func_strtold" = x""yes; then :
47021 cat >>confdefs.h <<_ACEOF
47022 #define HAVE_STRTOLD 1
47023 _ACEOF
47026 done
47033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47034 $as_echo_n "checking for strtof declaration... " >&6; }
47035 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47036 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47037 $as_echo_n "(cached) " >&6
47038 else
47041 ac_ext=cpp
47042 ac_cpp='$CXXCPP $CPPFLAGS'
47043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47048 /* end confdefs.h. */
47049 #include <stdlib.h>
47051 main ()
47053 strtof(0, 0);
47055 return 0;
47057 _ACEOF
47058 if ac_fn_cxx_try_compile "$LINENO"; then :
47059 glibcxx_cv_func_strtof_use=yes
47060 else
47061 glibcxx_cv_func_strtof_use=no
47063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47064 ac_ext=c
47065 ac_cpp='$CPP $CPPFLAGS'
47066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47075 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47076 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47077 for ac_func in strtof
47078 do :
47079 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47080 if test "x$ac_cv_func_strtof" = x""yes; then :
47081 cat >>confdefs.h <<_ACEOF
47082 #define HAVE_STRTOF 1
47083 _ACEOF
47086 done
47093 CXXFLAGS="$ac_save_CXXFLAGS"
47095 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47097 # We don't yet support AIX's TLS ABI.
47098 #GCC_CHECK_TLS
47104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47105 $as_echo_n "checking for iconv... " >&6; }
47106 if test "${am_cv_func_iconv+set}" = set; then :
47107 $as_echo_n "(cached) " >&6
47108 else
47110 am_cv_func_iconv="no, consider installing GNU libiconv"
47111 am_cv_lib_iconv=no
47112 am_save_CPPFLAGS="$CPPFLAGS"
47113 CPPFLAGS="$CPPFLAGS $INCICONV"
47114 if test x$gcc_no_link = xyes; then
47115 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47118 /* end confdefs.h. */
47119 #include <stdlib.h>
47120 #include <iconv.h>
47122 main ()
47124 iconv_t cd = iconv_open("","");
47125 iconv(cd,NULL,NULL,NULL,NULL);
47126 iconv_close(cd);
47128 return 0;
47130 _ACEOF
47131 if ac_fn_c_try_link "$LINENO"; then :
47132 am_cv_func_iconv=yes
47134 rm -f core conftest.err conftest.$ac_objext \
47135 conftest$ac_exeext conftest.$ac_ext
47136 CPPFLAGS="$am_save_CPPFLAGS"
47138 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47139 for _libs in .libs _libs; do
47140 am_save_CPPFLAGS="$CPPFLAGS"
47141 am_save_LIBS="$LIBS"
47142 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47143 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47144 if test x$gcc_no_link = xyes; then
47145 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47148 /* end confdefs.h. */
47149 #include <stdlib.h>
47150 #include <iconv.h>
47152 main ()
47154 iconv_t cd = iconv_open("","");
47155 iconv(cd,NULL,NULL,NULL,NULL);
47156 iconv_close(cd);
47158 return 0;
47160 _ACEOF
47161 if ac_fn_c_try_link "$LINENO"; then :
47162 INCICONV="-I../libiconv/include"
47163 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47164 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47165 am_cv_lib_iconv=yes
47166 am_cv_func_iconv=yes
47168 rm -f core conftest.err conftest.$ac_objext \
47169 conftest$ac_exeext conftest.$ac_ext
47170 CPPFLAGS="$am_save_CPPFLAGS"
47171 LIBS="$am_save_LIBS"
47172 if test "$am_cv_func_iconv" = "yes"; then
47173 break
47175 done
47178 if test "$am_cv_func_iconv" != yes; then
47179 am_save_CPPFLAGS="$CPPFLAGS"
47180 am_save_LIBS="$LIBS"
47181 CPPFLAGS="$LIBS $INCICONV"
47182 LIBS="$LIBS $LIBICONV"
47183 if test x$gcc_no_link = xyes; then
47184 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47187 /* end confdefs.h. */
47188 #include <stdlib.h>
47189 #include <iconv.h>
47191 main ()
47193 iconv_t cd = iconv_open("","");
47194 iconv(cd,NULL,NULL,NULL,NULL);
47195 iconv_close(cd);
47197 return 0;
47199 _ACEOF
47200 if ac_fn_c_try_link "$LINENO"; then :
47201 am_cv_lib_iconv=yes
47202 am_cv_func_iconv=yes
47204 rm -f core conftest.err conftest.$ac_objext \
47205 conftest$ac_exeext conftest.$ac_ext
47206 CPPFLAGS="$am_save_CPPFLAGS"
47207 LIBS="$am_save_LIBS"
47211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47212 $as_echo "$am_cv_func_iconv" >&6; }
47213 if test "$am_cv_func_iconv" = yes; then
47215 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47218 if test "$am_cv_lib_iconv" = yes; then
47220 for element in $INCICONV; do
47221 haveit=
47222 for x in $CPPFLAGS; do
47224 acl_save_prefix="$prefix"
47225 prefix="$acl_final_prefix"
47226 acl_save_exec_prefix="$exec_prefix"
47227 exec_prefix="$acl_final_exec_prefix"
47228 eval x=\"$x\"
47229 exec_prefix="$acl_save_exec_prefix"
47230 prefix="$acl_save_prefix"
47232 if test "X$x" = "X$element"; then
47233 haveit=yes
47234 break
47236 done
47237 if test -z "$haveit"; then
47238 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47240 done
47242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47243 $as_echo_n "checking how to link with libiconv... " >&6; }
47244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47245 $as_echo "$LIBICONV" >&6; }
47246 else
47247 LIBICONV=
47248 LTLIBICONV=
47253 if test "$am_cv_func_iconv" = yes; then
47254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47255 $as_echo_n "checking for iconv declaration... " >&6; }
47256 if test "${am_cv_proto_iconv+set}" = set; then :
47257 $as_echo_n "(cached) " >&6
47258 else
47260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47261 /* end confdefs.h. */
47263 #include <stdlib.h>
47264 #include <iconv.h>
47265 extern
47266 #ifdef __cplusplus
47268 #endif
47269 #if defined(__STDC__) || defined(__cplusplus)
47270 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47271 #else
47272 size_t iconv();
47273 #endif
47276 main ()
47280 return 0;
47282 _ACEOF
47283 if ac_fn_c_try_compile "$LINENO"; then :
47284 am_cv_proto_iconv_arg1=""
47285 else
47286 am_cv_proto_iconv_arg1="const"
47288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47289 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);"
47292 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47294 }$am_cv_proto_iconv" >&5
47295 $as_echo "${ac_t:-
47296 }$am_cv_proto_iconv" >&6; }
47298 cat >>confdefs.h <<_ACEOF
47299 #define ICONV_CONST $am_cv_proto_iconv_arg1
47300 _ACEOF
47306 *-darwin*)
47307 # Darwin versions vary, but the linker should work in a cross environment,
47308 # so we just check for all the features here.
47309 # Check for available headers.
47311 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47313 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47314 ac_save_CXXFLAGS="$CXXFLAGS"
47315 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47318 $as_echo_n "checking for sin in -lm... " >&6; }
47319 if test "${ac_cv_lib_m_sin+set}" = set; then :
47320 $as_echo_n "(cached) " >&6
47321 else
47322 ac_check_lib_save_LIBS=$LIBS
47323 LIBS="-lm $LIBS"
47324 if test x$gcc_no_link = xyes; then
47325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47328 /* end confdefs.h. */
47330 /* Override any GCC internal prototype to avoid an error.
47331 Use char because int might match the return type of a GCC
47332 builtin and then its argument prototype would still apply. */
47333 #ifdef __cplusplus
47334 extern "C"
47335 #endif
47336 char sin ();
47338 main ()
47340 return sin ();
47342 return 0;
47344 _ACEOF
47345 if ac_fn_c_try_link "$LINENO"; then :
47346 ac_cv_lib_m_sin=yes
47347 else
47348 ac_cv_lib_m_sin=no
47350 rm -f core conftest.err conftest.$ac_objext \
47351 conftest$ac_exeext conftest.$ac_ext
47352 LIBS=$ac_check_lib_save_LIBS
47354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47355 $as_echo "$ac_cv_lib_m_sin" >&6; }
47356 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47357 libm="-lm"
47360 ac_save_LIBS="$LIBS"
47361 LIBS="$LIBS $libm"
47365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47366 $as_echo_n "checking for isinf declaration... " >&6; }
47367 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47368 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47369 $as_echo_n "(cached) " >&6
47370 else
47373 ac_ext=cpp
47374 ac_cpp='$CXXCPP $CPPFLAGS'
47375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47380 /* end confdefs.h. */
47381 #include <math.h>
47382 #ifdef HAVE_IEEEFP_H
47383 #include <ieeefp.h>
47384 #endif
47387 main ()
47389 isinf(0);
47391 return 0;
47393 _ACEOF
47394 if ac_fn_cxx_try_compile "$LINENO"; then :
47395 glibcxx_cv_func_isinf_use=yes
47396 else
47397 glibcxx_cv_func_isinf_use=no
47399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47400 ac_ext=c
47401 ac_cpp='$CPP $CPPFLAGS'
47402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47411 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47413 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47414 for ac_func in isinf
47415 do :
47416 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47417 if test "x$ac_cv_func_isinf" = x""yes; then :
47418 cat >>confdefs.h <<_ACEOF
47419 #define HAVE_ISINF 1
47420 _ACEOF
47423 done
47425 else
47427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47428 $as_echo_n "checking for _isinf declaration... " >&6; }
47429 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47430 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47431 $as_echo_n "(cached) " >&6
47432 else
47435 ac_ext=cpp
47436 ac_cpp='$CXXCPP $CPPFLAGS'
47437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47442 /* end confdefs.h. */
47443 #include <math.h>
47444 #ifdef HAVE_IEEEFP_H
47445 #include <ieeefp.h>
47446 #endif
47449 main ()
47451 _isinf(0);
47453 return 0;
47455 _ACEOF
47456 if ac_fn_cxx_try_compile "$LINENO"; then :
47457 glibcxx_cv_func__isinf_use=yes
47458 else
47459 glibcxx_cv_func__isinf_use=no
47461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47462 ac_ext=c
47463 ac_cpp='$CPP $CPPFLAGS'
47464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47473 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47475 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47476 for ac_func in _isinf
47477 do :
47478 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47479 if test "x$ac_cv_func__isinf" = x""yes; then :
47480 cat >>confdefs.h <<_ACEOF
47481 #define HAVE__ISINF 1
47482 _ACEOF
47485 done
47494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47495 $as_echo_n "checking for isnan declaration... " >&6; }
47496 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47497 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47498 $as_echo_n "(cached) " >&6
47499 else
47502 ac_ext=cpp
47503 ac_cpp='$CXXCPP $CPPFLAGS'
47504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47509 /* end confdefs.h. */
47510 #include <math.h>
47511 #ifdef HAVE_IEEEFP_H
47512 #include <ieeefp.h>
47513 #endif
47516 main ()
47518 isnan(0);
47520 return 0;
47522 _ACEOF
47523 if ac_fn_cxx_try_compile "$LINENO"; then :
47524 glibcxx_cv_func_isnan_use=yes
47525 else
47526 glibcxx_cv_func_isnan_use=no
47528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47529 ac_ext=c
47530 ac_cpp='$CPP $CPPFLAGS'
47531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47540 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47542 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47543 for ac_func in isnan
47544 do :
47545 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47546 if test "x$ac_cv_func_isnan" = x""yes; then :
47547 cat >>confdefs.h <<_ACEOF
47548 #define HAVE_ISNAN 1
47549 _ACEOF
47552 done
47554 else
47556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47557 $as_echo_n "checking for _isnan declaration... " >&6; }
47558 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47559 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47560 $as_echo_n "(cached) " >&6
47561 else
47564 ac_ext=cpp
47565 ac_cpp='$CXXCPP $CPPFLAGS'
47566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47571 /* end confdefs.h. */
47572 #include <math.h>
47573 #ifdef HAVE_IEEEFP_H
47574 #include <ieeefp.h>
47575 #endif
47578 main ()
47580 _isnan(0);
47582 return 0;
47584 _ACEOF
47585 if ac_fn_cxx_try_compile "$LINENO"; then :
47586 glibcxx_cv_func__isnan_use=yes
47587 else
47588 glibcxx_cv_func__isnan_use=no
47590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47591 ac_ext=c
47592 ac_cpp='$CPP $CPPFLAGS'
47593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47602 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47604 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47605 for ac_func in _isnan
47606 do :
47607 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47608 if test "x$ac_cv_func__isnan" = x""yes; then :
47609 cat >>confdefs.h <<_ACEOF
47610 #define HAVE__ISNAN 1
47611 _ACEOF
47614 done
47623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47624 $as_echo_n "checking for finite declaration... " >&6; }
47625 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47626 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47627 $as_echo_n "(cached) " >&6
47628 else
47631 ac_ext=cpp
47632 ac_cpp='$CXXCPP $CPPFLAGS'
47633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47638 /* end confdefs.h. */
47639 #include <math.h>
47640 #ifdef HAVE_IEEEFP_H
47641 #include <ieeefp.h>
47642 #endif
47645 main ()
47647 finite(0);
47649 return 0;
47651 _ACEOF
47652 if ac_fn_cxx_try_compile "$LINENO"; then :
47653 glibcxx_cv_func_finite_use=yes
47654 else
47655 glibcxx_cv_func_finite_use=no
47657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47658 ac_ext=c
47659 ac_cpp='$CPP $CPPFLAGS'
47660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47669 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47671 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47672 for ac_func in finite
47673 do :
47674 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47675 if test "x$ac_cv_func_finite" = x""yes; then :
47676 cat >>confdefs.h <<_ACEOF
47677 #define HAVE_FINITE 1
47678 _ACEOF
47681 done
47683 else
47685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47686 $as_echo_n "checking for _finite declaration... " >&6; }
47687 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47688 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47689 $as_echo_n "(cached) " >&6
47690 else
47693 ac_ext=cpp
47694 ac_cpp='$CXXCPP $CPPFLAGS'
47695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47700 /* end confdefs.h. */
47701 #include <math.h>
47702 #ifdef HAVE_IEEEFP_H
47703 #include <ieeefp.h>
47704 #endif
47707 main ()
47709 _finite(0);
47711 return 0;
47713 _ACEOF
47714 if ac_fn_cxx_try_compile "$LINENO"; then :
47715 glibcxx_cv_func__finite_use=yes
47716 else
47717 glibcxx_cv_func__finite_use=no
47719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47720 ac_ext=c
47721 ac_cpp='$CPP $CPPFLAGS'
47722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47731 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47733 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47734 for ac_func in _finite
47735 do :
47736 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47737 if test "x$ac_cv_func__finite" = x""yes; then :
47738 cat >>confdefs.h <<_ACEOF
47739 #define HAVE__FINITE 1
47740 _ACEOF
47743 done
47752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47753 $as_echo_n "checking for sincos declaration... " >&6; }
47754 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47755 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47756 $as_echo_n "(cached) " >&6
47757 else
47760 ac_ext=cpp
47761 ac_cpp='$CXXCPP $CPPFLAGS'
47762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47767 /* end confdefs.h. */
47768 #include <math.h>
47770 main ()
47772 sincos(0, 0, 0);
47774 return 0;
47776 _ACEOF
47777 if ac_fn_cxx_try_compile "$LINENO"; then :
47778 glibcxx_cv_func_sincos_use=yes
47779 else
47780 glibcxx_cv_func_sincos_use=no
47782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47783 ac_ext=c
47784 ac_cpp='$CPP $CPPFLAGS'
47785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47794 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47796 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47797 for ac_func in sincos
47798 do :
47799 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47800 if test "x$ac_cv_func_sincos" = x""yes; then :
47801 cat >>confdefs.h <<_ACEOF
47802 #define HAVE_SINCOS 1
47803 _ACEOF
47806 done
47808 else
47810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47811 $as_echo_n "checking for _sincos declaration... " >&6; }
47812 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47813 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47814 $as_echo_n "(cached) " >&6
47815 else
47818 ac_ext=cpp
47819 ac_cpp='$CXXCPP $CPPFLAGS'
47820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47825 /* end confdefs.h. */
47826 #include <math.h>
47828 main ()
47830 _sincos(0, 0, 0);
47832 return 0;
47834 _ACEOF
47835 if ac_fn_cxx_try_compile "$LINENO"; then :
47836 glibcxx_cv_func__sincos_use=yes
47837 else
47838 glibcxx_cv_func__sincos_use=no
47840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47841 ac_ext=c
47842 ac_cpp='$CPP $CPPFLAGS'
47843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47852 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47854 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47855 for ac_func in _sincos
47856 do :
47857 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47858 if test "x$ac_cv_func__sincos" = x""yes; then :
47859 cat >>confdefs.h <<_ACEOF
47860 #define HAVE__SINCOS 1
47861 _ACEOF
47864 done
47873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47874 $as_echo_n "checking for fpclass declaration... " >&6; }
47875 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47876 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47877 $as_echo_n "(cached) " >&6
47878 else
47881 ac_ext=cpp
47882 ac_cpp='$CXXCPP $CPPFLAGS'
47883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47888 /* end confdefs.h. */
47889 #include <math.h>
47890 #ifdef HAVE_IEEEFP_H
47891 #include <ieeefp.h>
47892 #endif
47895 main ()
47897 fpclass(0);
47899 return 0;
47901 _ACEOF
47902 if ac_fn_cxx_try_compile "$LINENO"; then :
47903 glibcxx_cv_func_fpclass_use=yes
47904 else
47905 glibcxx_cv_func_fpclass_use=no
47907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47908 ac_ext=c
47909 ac_cpp='$CPP $CPPFLAGS'
47910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47919 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47921 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47922 for ac_func in fpclass
47923 do :
47924 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47925 if test "x$ac_cv_func_fpclass" = x""yes; then :
47926 cat >>confdefs.h <<_ACEOF
47927 #define HAVE_FPCLASS 1
47928 _ACEOF
47931 done
47933 else
47935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47936 $as_echo_n "checking for _fpclass declaration... " >&6; }
47937 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47938 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47939 $as_echo_n "(cached) " >&6
47940 else
47943 ac_ext=cpp
47944 ac_cpp='$CXXCPP $CPPFLAGS'
47945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47950 /* end confdefs.h. */
47951 #include <math.h>
47952 #ifdef HAVE_IEEEFP_H
47953 #include <ieeefp.h>
47954 #endif
47957 main ()
47959 _fpclass(0);
47961 return 0;
47963 _ACEOF
47964 if ac_fn_cxx_try_compile "$LINENO"; then :
47965 glibcxx_cv_func__fpclass_use=yes
47966 else
47967 glibcxx_cv_func__fpclass_use=no
47969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47970 ac_ext=c
47971 ac_cpp='$CPP $CPPFLAGS'
47972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47981 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47983 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47984 for ac_func in _fpclass
47985 do :
47986 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47987 if test "x$ac_cv_func__fpclass" = x""yes; then :
47988 cat >>confdefs.h <<_ACEOF
47989 #define HAVE__FPCLASS 1
47990 _ACEOF
47993 done
48002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48003 $as_echo_n "checking for qfpclass declaration... " >&6; }
48004 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48005 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48006 $as_echo_n "(cached) " >&6
48007 else
48010 ac_ext=cpp
48011 ac_cpp='$CXXCPP $CPPFLAGS'
48012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48017 /* end confdefs.h. */
48018 #include <math.h>
48019 #ifdef HAVE_IEEEFP_H
48020 #include <ieeefp.h>
48021 #endif
48024 main ()
48026 qfpclass(0);
48028 return 0;
48030 _ACEOF
48031 if ac_fn_cxx_try_compile "$LINENO"; then :
48032 glibcxx_cv_func_qfpclass_use=yes
48033 else
48034 glibcxx_cv_func_qfpclass_use=no
48036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48037 ac_ext=c
48038 ac_cpp='$CPP $CPPFLAGS'
48039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48048 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48050 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48051 for ac_func in qfpclass
48052 do :
48053 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48054 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48055 cat >>confdefs.h <<_ACEOF
48056 #define HAVE_QFPCLASS 1
48057 _ACEOF
48060 done
48062 else
48064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48065 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48066 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48067 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48068 $as_echo_n "(cached) " >&6
48069 else
48072 ac_ext=cpp
48073 ac_cpp='$CXXCPP $CPPFLAGS'
48074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48079 /* end confdefs.h. */
48080 #include <math.h>
48081 #ifdef HAVE_IEEEFP_H
48082 #include <ieeefp.h>
48083 #endif
48086 main ()
48088 _qfpclass(0);
48090 return 0;
48092 _ACEOF
48093 if ac_fn_cxx_try_compile "$LINENO"; then :
48094 glibcxx_cv_func__qfpclass_use=yes
48095 else
48096 glibcxx_cv_func__qfpclass_use=no
48098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48099 ac_ext=c
48100 ac_cpp='$CPP $CPPFLAGS'
48101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48110 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48112 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48113 for ac_func in _qfpclass
48114 do :
48115 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48116 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48117 cat >>confdefs.h <<_ACEOF
48118 #define HAVE__QFPCLASS 1
48119 _ACEOF
48122 done
48131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48132 $as_echo_n "checking for hypot declaration... " >&6; }
48133 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48134 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48135 $as_echo_n "(cached) " >&6
48136 else
48139 ac_ext=cpp
48140 ac_cpp='$CXXCPP $CPPFLAGS'
48141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48146 /* end confdefs.h. */
48147 #include <math.h>
48149 main ()
48151 hypot(0, 0);
48153 return 0;
48155 _ACEOF
48156 if ac_fn_cxx_try_compile "$LINENO"; then :
48157 glibcxx_cv_func_hypot_use=yes
48158 else
48159 glibcxx_cv_func_hypot_use=no
48161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48162 ac_ext=c
48163 ac_cpp='$CPP $CPPFLAGS'
48164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48173 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48175 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48176 for ac_func in hypot
48177 do :
48178 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48179 if test "x$ac_cv_func_hypot" = x""yes; then :
48180 cat >>confdefs.h <<_ACEOF
48181 #define HAVE_HYPOT 1
48182 _ACEOF
48185 done
48187 else
48189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48190 $as_echo_n "checking for _hypot declaration... " >&6; }
48191 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48192 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48193 $as_echo_n "(cached) " >&6
48194 else
48197 ac_ext=cpp
48198 ac_cpp='$CXXCPP $CPPFLAGS'
48199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48204 /* end confdefs.h. */
48205 #include <math.h>
48207 main ()
48209 _hypot(0, 0);
48211 return 0;
48213 _ACEOF
48214 if ac_fn_cxx_try_compile "$LINENO"; then :
48215 glibcxx_cv_func__hypot_use=yes
48216 else
48217 glibcxx_cv_func__hypot_use=no
48219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48220 ac_ext=c
48221 ac_cpp='$CPP $CPPFLAGS'
48222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48231 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48233 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48234 for ac_func in _hypot
48235 do :
48236 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48237 if test "x$ac_cv_func__hypot" = x""yes; then :
48238 cat >>confdefs.h <<_ACEOF
48239 #define HAVE__HYPOT 1
48240 _ACEOF
48243 done
48252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48253 $as_echo_n "checking for float trig functions... " >&6; }
48254 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48255 $as_echo_n "(cached) " >&6
48256 else
48259 ac_ext=cpp
48260 ac_cpp='$CXXCPP $CPPFLAGS'
48261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48266 /* end confdefs.h. */
48267 #include <math.h>
48269 main ()
48271 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48273 return 0;
48275 _ACEOF
48276 if ac_fn_cxx_try_compile "$LINENO"; then :
48277 glibcxx_cv_func_float_trig_use=yes
48278 else
48279 glibcxx_cv_func_float_trig_use=no
48281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48282 ac_ext=c
48283 ac_cpp='$CPP $CPPFLAGS'
48284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48291 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48292 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48293 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48294 do :
48295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48297 eval as_val=\$$as_ac_var
48298 if test "x$as_val" = x""yes; then :
48299 cat >>confdefs.h <<_ACEOF
48300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48301 _ACEOF
48304 done
48306 else
48307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48308 $as_echo_n "checking for _float trig functions... " >&6; }
48309 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48310 $as_echo_n "(cached) " >&6
48311 else
48314 ac_ext=cpp
48315 ac_cpp='$CXXCPP $CPPFLAGS'
48316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48321 /* end confdefs.h. */
48322 #include <math.h>
48324 main ()
48326 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48328 return 0;
48330 _ACEOF
48331 if ac_fn_cxx_try_compile "$LINENO"; then :
48332 glibcxx_cv_func__float_trig_use=yes
48333 else
48334 glibcxx_cv_func__float_trig_use=no
48336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48337 ac_ext=c
48338 ac_cpp='$CPP $CPPFLAGS'
48339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48346 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48347 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48348 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48349 do :
48350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48352 eval as_val=\$$as_ac_var
48353 if test "x$as_val" = x""yes; then :
48354 cat >>confdefs.h <<_ACEOF
48355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48356 _ACEOF
48359 done
48368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48369 $as_echo_n "checking for float round functions... " >&6; }
48370 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48371 $as_echo_n "(cached) " >&6
48372 else
48375 ac_ext=cpp
48376 ac_cpp='$CXXCPP $CPPFLAGS'
48377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48382 /* end confdefs.h. */
48383 #include <math.h>
48385 main ()
48387 ceilf (0); floorf (0);
48389 return 0;
48391 _ACEOF
48392 if ac_fn_cxx_try_compile "$LINENO"; then :
48393 glibcxx_cv_func_float_round_use=yes
48394 else
48395 glibcxx_cv_func_float_round_use=no
48397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48398 ac_ext=c
48399 ac_cpp='$CPP $CPPFLAGS'
48400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48407 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48408 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48409 for ac_func in ceilf floorf
48410 do :
48411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48413 eval as_val=\$$as_ac_var
48414 if test "x$as_val" = x""yes; then :
48415 cat >>confdefs.h <<_ACEOF
48416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48417 _ACEOF
48420 done
48422 else
48423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48424 $as_echo_n "checking for _float round functions... " >&6; }
48425 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48426 $as_echo_n "(cached) " >&6
48427 else
48430 ac_ext=cpp
48431 ac_cpp='$CXXCPP $CPPFLAGS'
48432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48437 /* end confdefs.h. */
48438 #include <math.h>
48440 main ()
48442 _ceilf (0); _floorf (0);
48444 return 0;
48446 _ACEOF
48447 if ac_fn_cxx_try_compile "$LINENO"; then :
48448 glibcxx_cv_func__float_round_use=yes
48449 else
48450 glibcxx_cv_func__float_round_use=no
48452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48453 ac_ext=c
48454 ac_cpp='$CPP $CPPFLAGS'
48455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48462 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48463 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48464 for ac_func in _ceilf _floorf
48465 do :
48466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48468 eval as_val=\$$as_ac_var
48469 if test "x$as_val" = x""yes; then :
48470 cat >>confdefs.h <<_ACEOF
48471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48472 _ACEOF
48475 done
48485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48486 $as_echo_n "checking for expf declaration... " >&6; }
48487 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48488 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48489 $as_echo_n "(cached) " >&6
48490 else
48493 ac_ext=cpp
48494 ac_cpp='$CXXCPP $CPPFLAGS'
48495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48500 /* end confdefs.h. */
48501 #include <math.h>
48502 #ifdef HAVE_IEEEFP_H
48503 #include <ieeefp.h>
48504 #endif
48507 main ()
48509 expf(0);
48511 return 0;
48513 _ACEOF
48514 if ac_fn_cxx_try_compile "$LINENO"; then :
48515 glibcxx_cv_func_expf_use=yes
48516 else
48517 glibcxx_cv_func_expf_use=no
48519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48520 ac_ext=c
48521 ac_cpp='$CPP $CPPFLAGS'
48522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48531 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48533 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48534 for ac_func in expf
48535 do :
48536 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48537 if test "x$ac_cv_func_expf" = x""yes; then :
48538 cat >>confdefs.h <<_ACEOF
48539 #define HAVE_EXPF 1
48540 _ACEOF
48543 done
48545 else
48547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48548 $as_echo_n "checking for _expf declaration... " >&6; }
48549 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48550 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48551 $as_echo_n "(cached) " >&6
48552 else
48555 ac_ext=cpp
48556 ac_cpp='$CXXCPP $CPPFLAGS'
48557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48562 /* end confdefs.h. */
48563 #include <math.h>
48564 #ifdef HAVE_IEEEFP_H
48565 #include <ieeefp.h>
48566 #endif
48569 main ()
48571 _expf(0);
48573 return 0;
48575 _ACEOF
48576 if ac_fn_cxx_try_compile "$LINENO"; then :
48577 glibcxx_cv_func__expf_use=yes
48578 else
48579 glibcxx_cv_func__expf_use=no
48581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48582 ac_ext=c
48583 ac_cpp='$CPP $CPPFLAGS'
48584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48593 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48595 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48596 for ac_func in _expf
48597 do :
48598 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48599 if test "x$ac_cv_func__expf" = x""yes; then :
48600 cat >>confdefs.h <<_ACEOF
48601 #define HAVE__EXPF 1
48602 _ACEOF
48605 done
48614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48615 $as_echo_n "checking for isnanf declaration... " >&6; }
48616 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48617 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48618 $as_echo_n "(cached) " >&6
48619 else
48622 ac_ext=cpp
48623 ac_cpp='$CXXCPP $CPPFLAGS'
48624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48629 /* end confdefs.h. */
48630 #include <math.h>
48631 #ifdef HAVE_IEEEFP_H
48632 #include <ieeefp.h>
48633 #endif
48636 main ()
48638 isnanf(0);
48640 return 0;
48642 _ACEOF
48643 if ac_fn_cxx_try_compile "$LINENO"; then :
48644 glibcxx_cv_func_isnanf_use=yes
48645 else
48646 glibcxx_cv_func_isnanf_use=no
48648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48649 ac_ext=c
48650 ac_cpp='$CPP $CPPFLAGS'
48651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48660 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48662 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48663 for ac_func in isnanf
48664 do :
48665 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48666 if test "x$ac_cv_func_isnanf" = x""yes; then :
48667 cat >>confdefs.h <<_ACEOF
48668 #define HAVE_ISNANF 1
48669 _ACEOF
48672 done
48674 else
48676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48677 $as_echo_n "checking for _isnanf declaration... " >&6; }
48678 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48679 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48680 $as_echo_n "(cached) " >&6
48681 else
48684 ac_ext=cpp
48685 ac_cpp='$CXXCPP $CPPFLAGS'
48686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48691 /* end confdefs.h. */
48692 #include <math.h>
48693 #ifdef HAVE_IEEEFP_H
48694 #include <ieeefp.h>
48695 #endif
48698 main ()
48700 _isnanf(0);
48702 return 0;
48704 _ACEOF
48705 if ac_fn_cxx_try_compile "$LINENO"; then :
48706 glibcxx_cv_func__isnanf_use=yes
48707 else
48708 glibcxx_cv_func__isnanf_use=no
48710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48711 ac_ext=c
48712 ac_cpp='$CPP $CPPFLAGS'
48713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48722 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48724 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48725 for ac_func in _isnanf
48726 do :
48727 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48728 if test "x$ac_cv_func__isnanf" = x""yes; then :
48729 cat >>confdefs.h <<_ACEOF
48730 #define HAVE__ISNANF 1
48731 _ACEOF
48734 done
48743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48744 $as_echo_n "checking for isinff declaration... " >&6; }
48745 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48746 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48747 $as_echo_n "(cached) " >&6
48748 else
48751 ac_ext=cpp
48752 ac_cpp='$CXXCPP $CPPFLAGS'
48753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48758 /* end confdefs.h. */
48759 #include <math.h>
48760 #ifdef HAVE_IEEEFP_H
48761 #include <ieeefp.h>
48762 #endif
48765 main ()
48767 isinff(0);
48769 return 0;
48771 _ACEOF
48772 if ac_fn_cxx_try_compile "$LINENO"; then :
48773 glibcxx_cv_func_isinff_use=yes
48774 else
48775 glibcxx_cv_func_isinff_use=no
48777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48778 ac_ext=c
48779 ac_cpp='$CPP $CPPFLAGS'
48780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48789 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48791 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48792 for ac_func in isinff
48793 do :
48794 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48795 if test "x$ac_cv_func_isinff" = x""yes; then :
48796 cat >>confdefs.h <<_ACEOF
48797 #define HAVE_ISINFF 1
48798 _ACEOF
48801 done
48803 else
48805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48806 $as_echo_n "checking for _isinff declaration... " >&6; }
48807 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48808 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48809 $as_echo_n "(cached) " >&6
48810 else
48813 ac_ext=cpp
48814 ac_cpp='$CXXCPP $CPPFLAGS'
48815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48820 /* end confdefs.h. */
48821 #include <math.h>
48822 #ifdef HAVE_IEEEFP_H
48823 #include <ieeefp.h>
48824 #endif
48827 main ()
48829 _isinff(0);
48831 return 0;
48833 _ACEOF
48834 if ac_fn_cxx_try_compile "$LINENO"; then :
48835 glibcxx_cv_func__isinff_use=yes
48836 else
48837 glibcxx_cv_func__isinff_use=no
48839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48840 ac_ext=c
48841 ac_cpp='$CPP $CPPFLAGS'
48842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48851 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48853 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48854 for ac_func in _isinff
48855 do :
48856 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48857 if test "x$ac_cv_func__isinff" = x""yes; then :
48858 cat >>confdefs.h <<_ACEOF
48859 #define HAVE__ISINFF 1
48860 _ACEOF
48863 done
48872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48873 $as_echo_n "checking for atan2f declaration... " >&6; }
48874 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48875 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48876 $as_echo_n "(cached) " >&6
48877 else
48880 ac_ext=cpp
48881 ac_cpp='$CXXCPP $CPPFLAGS'
48882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48887 /* end confdefs.h. */
48888 #include <math.h>
48890 main ()
48892 atan2f(0, 0);
48894 return 0;
48896 _ACEOF
48897 if ac_fn_cxx_try_compile "$LINENO"; then :
48898 glibcxx_cv_func_atan2f_use=yes
48899 else
48900 glibcxx_cv_func_atan2f_use=no
48902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48903 ac_ext=c
48904 ac_cpp='$CPP $CPPFLAGS'
48905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48914 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48916 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48917 for ac_func in atan2f
48918 do :
48919 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48920 if test "x$ac_cv_func_atan2f" = x""yes; then :
48921 cat >>confdefs.h <<_ACEOF
48922 #define HAVE_ATAN2F 1
48923 _ACEOF
48926 done
48928 else
48930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48931 $as_echo_n "checking for _atan2f declaration... " >&6; }
48932 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48933 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48934 $as_echo_n "(cached) " >&6
48935 else
48938 ac_ext=cpp
48939 ac_cpp='$CXXCPP $CPPFLAGS'
48940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48945 /* end confdefs.h. */
48946 #include <math.h>
48948 main ()
48950 _atan2f(0, 0);
48952 return 0;
48954 _ACEOF
48955 if ac_fn_cxx_try_compile "$LINENO"; then :
48956 glibcxx_cv_func__atan2f_use=yes
48957 else
48958 glibcxx_cv_func__atan2f_use=no
48960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48961 ac_ext=c
48962 ac_cpp='$CPP $CPPFLAGS'
48963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48972 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48974 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48975 for ac_func in _atan2f
48976 do :
48977 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48978 if test "x$ac_cv_func__atan2f" = x""yes; then :
48979 cat >>confdefs.h <<_ACEOF
48980 #define HAVE__ATAN2F 1
48981 _ACEOF
48984 done
48993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48994 $as_echo_n "checking for fabsf declaration... " >&6; }
48995 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48996 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48997 $as_echo_n "(cached) " >&6
48998 else
49001 ac_ext=cpp
49002 ac_cpp='$CXXCPP $CPPFLAGS'
49003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49008 /* end confdefs.h. */
49009 #include <math.h>
49010 #ifdef HAVE_IEEEFP_H
49011 #include <ieeefp.h>
49012 #endif
49015 main ()
49017 fabsf(0);
49019 return 0;
49021 _ACEOF
49022 if ac_fn_cxx_try_compile "$LINENO"; then :
49023 glibcxx_cv_func_fabsf_use=yes
49024 else
49025 glibcxx_cv_func_fabsf_use=no
49027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49028 ac_ext=c
49029 ac_cpp='$CPP $CPPFLAGS'
49030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49039 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49041 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49042 for ac_func in fabsf
49043 do :
49044 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49045 if test "x$ac_cv_func_fabsf" = x""yes; then :
49046 cat >>confdefs.h <<_ACEOF
49047 #define HAVE_FABSF 1
49048 _ACEOF
49051 done
49053 else
49055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49056 $as_echo_n "checking for _fabsf declaration... " >&6; }
49057 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49058 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49059 $as_echo_n "(cached) " >&6
49060 else
49063 ac_ext=cpp
49064 ac_cpp='$CXXCPP $CPPFLAGS'
49065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49070 /* end confdefs.h. */
49071 #include <math.h>
49072 #ifdef HAVE_IEEEFP_H
49073 #include <ieeefp.h>
49074 #endif
49077 main ()
49079 _fabsf(0);
49081 return 0;
49083 _ACEOF
49084 if ac_fn_cxx_try_compile "$LINENO"; then :
49085 glibcxx_cv_func__fabsf_use=yes
49086 else
49087 glibcxx_cv_func__fabsf_use=no
49089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49090 ac_ext=c
49091 ac_cpp='$CPP $CPPFLAGS'
49092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49101 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49103 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49104 for ac_func in _fabsf
49105 do :
49106 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49107 if test "x$ac_cv_func__fabsf" = x""yes; then :
49108 cat >>confdefs.h <<_ACEOF
49109 #define HAVE__FABSF 1
49110 _ACEOF
49113 done
49122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49123 $as_echo_n "checking for fmodf declaration... " >&6; }
49124 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49125 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49126 $as_echo_n "(cached) " >&6
49127 else
49130 ac_ext=cpp
49131 ac_cpp='$CXXCPP $CPPFLAGS'
49132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49137 /* end confdefs.h. */
49138 #include <math.h>
49140 main ()
49142 fmodf(0, 0);
49144 return 0;
49146 _ACEOF
49147 if ac_fn_cxx_try_compile "$LINENO"; then :
49148 glibcxx_cv_func_fmodf_use=yes
49149 else
49150 glibcxx_cv_func_fmodf_use=no
49152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49153 ac_ext=c
49154 ac_cpp='$CPP $CPPFLAGS'
49155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49164 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49166 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49167 for ac_func in fmodf
49168 do :
49169 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49170 if test "x$ac_cv_func_fmodf" = x""yes; then :
49171 cat >>confdefs.h <<_ACEOF
49172 #define HAVE_FMODF 1
49173 _ACEOF
49176 done
49178 else
49180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49181 $as_echo_n "checking for _fmodf declaration... " >&6; }
49182 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49183 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49184 $as_echo_n "(cached) " >&6
49185 else
49188 ac_ext=cpp
49189 ac_cpp='$CXXCPP $CPPFLAGS'
49190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49195 /* end confdefs.h. */
49196 #include <math.h>
49198 main ()
49200 _fmodf(0, 0);
49202 return 0;
49204 _ACEOF
49205 if ac_fn_cxx_try_compile "$LINENO"; then :
49206 glibcxx_cv_func__fmodf_use=yes
49207 else
49208 glibcxx_cv_func__fmodf_use=no
49210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49211 ac_ext=c
49212 ac_cpp='$CPP $CPPFLAGS'
49213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49222 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49224 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49225 for ac_func in _fmodf
49226 do :
49227 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49228 if test "x$ac_cv_func__fmodf" = x""yes; then :
49229 cat >>confdefs.h <<_ACEOF
49230 #define HAVE__FMODF 1
49231 _ACEOF
49234 done
49243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49244 $as_echo_n "checking for frexpf declaration... " >&6; }
49245 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49246 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49247 $as_echo_n "(cached) " >&6
49248 else
49251 ac_ext=cpp
49252 ac_cpp='$CXXCPP $CPPFLAGS'
49253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49258 /* end confdefs.h. */
49259 #include <math.h>
49261 main ()
49263 frexpf(0, 0);
49265 return 0;
49267 _ACEOF
49268 if ac_fn_cxx_try_compile "$LINENO"; then :
49269 glibcxx_cv_func_frexpf_use=yes
49270 else
49271 glibcxx_cv_func_frexpf_use=no
49273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49274 ac_ext=c
49275 ac_cpp='$CPP $CPPFLAGS'
49276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49285 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49287 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49288 for ac_func in frexpf
49289 do :
49290 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49291 if test "x$ac_cv_func_frexpf" = x""yes; then :
49292 cat >>confdefs.h <<_ACEOF
49293 #define HAVE_FREXPF 1
49294 _ACEOF
49297 done
49299 else
49301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49302 $as_echo_n "checking for _frexpf declaration... " >&6; }
49303 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49304 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49305 $as_echo_n "(cached) " >&6
49306 else
49309 ac_ext=cpp
49310 ac_cpp='$CXXCPP $CPPFLAGS'
49311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49316 /* end confdefs.h. */
49317 #include <math.h>
49319 main ()
49321 _frexpf(0, 0);
49323 return 0;
49325 _ACEOF
49326 if ac_fn_cxx_try_compile "$LINENO"; then :
49327 glibcxx_cv_func__frexpf_use=yes
49328 else
49329 glibcxx_cv_func__frexpf_use=no
49331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49332 ac_ext=c
49333 ac_cpp='$CPP $CPPFLAGS'
49334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49343 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49345 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49346 for ac_func in _frexpf
49347 do :
49348 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49349 if test "x$ac_cv_func__frexpf" = x""yes; then :
49350 cat >>confdefs.h <<_ACEOF
49351 #define HAVE__FREXPF 1
49352 _ACEOF
49355 done
49364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49365 $as_echo_n "checking for hypotf declaration... " >&6; }
49366 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49367 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49368 $as_echo_n "(cached) " >&6
49369 else
49372 ac_ext=cpp
49373 ac_cpp='$CXXCPP $CPPFLAGS'
49374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49379 /* end confdefs.h. */
49380 #include <math.h>
49382 main ()
49384 hypotf(0, 0);
49386 return 0;
49388 _ACEOF
49389 if ac_fn_cxx_try_compile "$LINENO"; then :
49390 glibcxx_cv_func_hypotf_use=yes
49391 else
49392 glibcxx_cv_func_hypotf_use=no
49394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49395 ac_ext=c
49396 ac_cpp='$CPP $CPPFLAGS'
49397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49406 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49408 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49409 for ac_func in hypotf
49410 do :
49411 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49412 if test "x$ac_cv_func_hypotf" = x""yes; then :
49413 cat >>confdefs.h <<_ACEOF
49414 #define HAVE_HYPOTF 1
49415 _ACEOF
49418 done
49420 else
49422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49423 $as_echo_n "checking for _hypotf declaration... " >&6; }
49424 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49425 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49426 $as_echo_n "(cached) " >&6
49427 else
49430 ac_ext=cpp
49431 ac_cpp='$CXXCPP $CPPFLAGS'
49432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49437 /* end confdefs.h. */
49438 #include <math.h>
49440 main ()
49442 _hypotf(0, 0);
49444 return 0;
49446 _ACEOF
49447 if ac_fn_cxx_try_compile "$LINENO"; then :
49448 glibcxx_cv_func__hypotf_use=yes
49449 else
49450 glibcxx_cv_func__hypotf_use=no
49452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49453 ac_ext=c
49454 ac_cpp='$CPP $CPPFLAGS'
49455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49464 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49466 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49467 for ac_func in _hypotf
49468 do :
49469 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49470 if test "x$ac_cv_func__hypotf" = x""yes; then :
49471 cat >>confdefs.h <<_ACEOF
49472 #define HAVE__HYPOTF 1
49473 _ACEOF
49476 done
49485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49486 $as_echo_n "checking for ldexpf declaration... " >&6; }
49487 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49488 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49489 $as_echo_n "(cached) " >&6
49490 else
49493 ac_ext=cpp
49494 ac_cpp='$CXXCPP $CPPFLAGS'
49495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49500 /* end confdefs.h. */
49501 #include <math.h>
49503 main ()
49505 ldexpf(0, 0);
49507 return 0;
49509 _ACEOF
49510 if ac_fn_cxx_try_compile "$LINENO"; then :
49511 glibcxx_cv_func_ldexpf_use=yes
49512 else
49513 glibcxx_cv_func_ldexpf_use=no
49515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49516 ac_ext=c
49517 ac_cpp='$CPP $CPPFLAGS'
49518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49527 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49529 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49530 for ac_func in ldexpf
49531 do :
49532 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49533 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49534 cat >>confdefs.h <<_ACEOF
49535 #define HAVE_LDEXPF 1
49536 _ACEOF
49539 done
49541 else
49543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49544 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49545 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49546 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49547 $as_echo_n "(cached) " >&6
49548 else
49551 ac_ext=cpp
49552 ac_cpp='$CXXCPP $CPPFLAGS'
49553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49558 /* end confdefs.h. */
49559 #include <math.h>
49561 main ()
49563 _ldexpf(0, 0);
49565 return 0;
49567 _ACEOF
49568 if ac_fn_cxx_try_compile "$LINENO"; then :
49569 glibcxx_cv_func__ldexpf_use=yes
49570 else
49571 glibcxx_cv_func__ldexpf_use=no
49573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49574 ac_ext=c
49575 ac_cpp='$CPP $CPPFLAGS'
49576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49585 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49587 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49588 for ac_func in _ldexpf
49589 do :
49590 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49591 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49592 cat >>confdefs.h <<_ACEOF
49593 #define HAVE__LDEXPF 1
49594 _ACEOF
49597 done
49606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49607 $as_echo_n "checking for logf declaration... " >&6; }
49608 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49609 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49610 $as_echo_n "(cached) " >&6
49611 else
49614 ac_ext=cpp
49615 ac_cpp='$CXXCPP $CPPFLAGS'
49616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49621 /* end confdefs.h. */
49622 #include <math.h>
49623 #ifdef HAVE_IEEEFP_H
49624 #include <ieeefp.h>
49625 #endif
49628 main ()
49630 logf(0);
49632 return 0;
49634 _ACEOF
49635 if ac_fn_cxx_try_compile "$LINENO"; then :
49636 glibcxx_cv_func_logf_use=yes
49637 else
49638 glibcxx_cv_func_logf_use=no
49640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49641 ac_ext=c
49642 ac_cpp='$CPP $CPPFLAGS'
49643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49652 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49654 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49655 for ac_func in logf
49656 do :
49657 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49658 if test "x$ac_cv_func_logf" = x""yes; then :
49659 cat >>confdefs.h <<_ACEOF
49660 #define HAVE_LOGF 1
49661 _ACEOF
49664 done
49666 else
49668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49669 $as_echo_n "checking for _logf declaration... " >&6; }
49670 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49671 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49672 $as_echo_n "(cached) " >&6
49673 else
49676 ac_ext=cpp
49677 ac_cpp='$CXXCPP $CPPFLAGS'
49678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49683 /* end confdefs.h. */
49684 #include <math.h>
49685 #ifdef HAVE_IEEEFP_H
49686 #include <ieeefp.h>
49687 #endif
49690 main ()
49692 _logf(0);
49694 return 0;
49696 _ACEOF
49697 if ac_fn_cxx_try_compile "$LINENO"; then :
49698 glibcxx_cv_func__logf_use=yes
49699 else
49700 glibcxx_cv_func__logf_use=no
49702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49703 ac_ext=c
49704 ac_cpp='$CPP $CPPFLAGS'
49705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49714 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49716 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49717 for ac_func in _logf
49718 do :
49719 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49720 if test "x$ac_cv_func__logf" = x""yes; then :
49721 cat >>confdefs.h <<_ACEOF
49722 #define HAVE__LOGF 1
49723 _ACEOF
49726 done
49735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49736 $as_echo_n "checking for log10f declaration... " >&6; }
49737 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49738 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49739 $as_echo_n "(cached) " >&6
49740 else
49743 ac_ext=cpp
49744 ac_cpp='$CXXCPP $CPPFLAGS'
49745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49750 /* end confdefs.h. */
49751 #include <math.h>
49752 #ifdef HAVE_IEEEFP_H
49753 #include <ieeefp.h>
49754 #endif
49757 main ()
49759 log10f(0);
49761 return 0;
49763 _ACEOF
49764 if ac_fn_cxx_try_compile "$LINENO"; then :
49765 glibcxx_cv_func_log10f_use=yes
49766 else
49767 glibcxx_cv_func_log10f_use=no
49769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49770 ac_ext=c
49771 ac_cpp='$CPP $CPPFLAGS'
49772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49781 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49783 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49784 for ac_func in log10f
49785 do :
49786 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49787 if test "x$ac_cv_func_log10f" = x""yes; then :
49788 cat >>confdefs.h <<_ACEOF
49789 #define HAVE_LOG10F 1
49790 _ACEOF
49793 done
49795 else
49797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49798 $as_echo_n "checking for _log10f declaration... " >&6; }
49799 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49800 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49801 $as_echo_n "(cached) " >&6
49802 else
49805 ac_ext=cpp
49806 ac_cpp='$CXXCPP $CPPFLAGS'
49807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49812 /* end confdefs.h. */
49813 #include <math.h>
49814 #ifdef HAVE_IEEEFP_H
49815 #include <ieeefp.h>
49816 #endif
49819 main ()
49821 _log10f(0);
49823 return 0;
49825 _ACEOF
49826 if ac_fn_cxx_try_compile "$LINENO"; then :
49827 glibcxx_cv_func__log10f_use=yes
49828 else
49829 glibcxx_cv_func__log10f_use=no
49831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49832 ac_ext=c
49833 ac_cpp='$CPP $CPPFLAGS'
49834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49843 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49845 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49846 for ac_func in _log10f
49847 do :
49848 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49849 if test "x$ac_cv_func__log10f" = x""yes; then :
49850 cat >>confdefs.h <<_ACEOF
49851 #define HAVE__LOG10F 1
49852 _ACEOF
49855 done
49864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49865 $as_echo_n "checking for modff declaration... " >&6; }
49866 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49867 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49868 $as_echo_n "(cached) " >&6
49869 else
49872 ac_ext=cpp
49873 ac_cpp='$CXXCPP $CPPFLAGS'
49874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49879 /* end confdefs.h. */
49880 #include <math.h>
49882 main ()
49884 modff(0, 0);
49886 return 0;
49888 _ACEOF
49889 if ac_fn_cxx_try_compile "$LINENO"; then :
49890 glibcxx_cv_func_modff_use=yes
49891 else
49892 glibcxx_cv_func_modff_use=no
49894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49895 ac_ext=c
49896 ac_cpp='$CPP $CPPFLAGS'
49897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49906 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49908 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49909 for ac_func in modff
49910 do :
49911 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49912 if test "x$ac_cv_func_modff" = x""yes; then :
49913 cat >>confdefs.h <<_ACEOF
49914 #define HAVE_MODFF 1
49915 _ACEOF
49918 done
49920 else
49922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49923 $as_echo_n "checking for _modff declaration... " >&6; }
49924 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49925 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49926 $as_echo_n "(cached) " >&6
49927 else
49930 ac_ext=cpp
49931 ac_cpp='$CXXCPP $CPPFLAGS'
49932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49937 /* end confdefs.h. */
49938 #include <math.h>
49940 main ()
49942 _modff(0, 0);
49944 return 0;
49946 _ACEOF
49947 if ac_fn_cxx_try_compile "$LINENO"; then :
49948 glibcxx_cv_func__modff_use=yes
49949 else
49950 glibcxx_cv_func__modff_use=no
49952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49953 ac_ext=c
49954 ac_cpp='$CPP $CPPFLAGS'
49955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49964 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49966 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49967 for ac_func in _modff
49968 do :
49969 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49970 if test "x$ac_cv_func__modff" = x""yes; then :
49971 cat >>confdefs.h <<_ACEOF
49972 #define HAVE__MODFF 1
49973 _ACEOF
49976 done
49985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49986 $as_echo_n "checking for modf declaration... " >&6; }
49987 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49988 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49989 $as_echo_n "(cached) " >&6
49990 else
49993 ac_ext=cpp
49994 ac_cpp='$CXXCPP $CPPFLAGS'
49995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50000 /* end confdefs.h. */
50001 #include <math.h>
50003 main ()
50005 modf(0, 0);
50007 return 0;
50009 _ACEOF
50010 if ac_fn_cxx_try_compile "$LINENO"; then :
50011 glibcxx_cv_func_modf_use=yes
50012 else
50013 glibcxx_cv_func_modf_use=no
50015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50016 ac_ext=c
50017 ac_cpp='$CPP $CPPFLAGS'
50018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50027 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50029 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50030 for ac_func in modf
50031 do :
50032 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50033 if test "x$ac_cv_func_modf" = x""yes; then :
50034 cat >>confdefs.h <<_ACEOF
50035 #define HAVE_MODF 1
50036 _ACEOF
50039 done
50041 else
50043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50044 $as_echo_n "checking for _modf declaration... " >&6; }
50045 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50046 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50047 $as_echo_n "(cached) " >&6
50048 else
50051 ac_ext=cpp
50052 ac_cpp='$CXXCPP $CPPFLAGS'
50053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50058 /* end confdefs.h. */
50059 #include <math.h>
50061 main ()
50063 _modf(0, 0);
50065 return 0;
50067 _ACEOF
50068 if ac_fn_cxx_try_compile "$LINENO"; then :
50069 glibcxx_cv_func__modf_use=yes
50070 else
50071 glibcxx_cv_func__modf_use=no
50073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50074 ac_ext=c
50075 ac_cpp='$CPP $CPPFLAGS'
50076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50085 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50087 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50088 for ac_func in _modf
50089 do :
50090 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50091 if test "x$ac_cv_func__modf" = x""yes; then :
50092 cat >>confdefs.h <<_ACEOF
50093 #define HAVE__MODF 1
50094 _ACEOF
50097 done
50106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50107 $as_echo_n "checking for powf declaration... " >&6; }
50108 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50109 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50110 $as_echo_n "(cached) " >&6
50111 else
50114 ac_ext=cpp
50115 ac_cpp='$CXXCPP $CPPFLAGS'
50116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50121 /* end confdefs.h. */
50122 #include <math.h>
50124 main ()
50126 powf(0, 0);
50128 return 0;
50130 _ACEOF
50131 if ac_fn_cxx_try_compile "$LINENO"; then :
50132 glibcxx_cv_func_powf_use=yes
50133 else
50134 glibcxx_cv_func_powf_use=no
50136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50137 ac_ext=c
50138 ac_cpp='$CPP $CPPFLAGS'
50139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50148 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50150 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50151 for ac_func in powf
50152 do :
50153 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50154 if test "x$ac_cv_func_powf" = x""yes; then :
50155 cat >>confdefs.h <<_ACEOF
50156 #define HAVE_POWF 1
50157 _ACEOF
50160 done
50162 else
50164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50165 $as_echo_n "checking for _powf declaration... " >&6; }
50166 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50167 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50168 $as_echo_n "(cached) " >&6
50169 else
50172 ac_ext=cpp
50173 ac_cpp='$CXXCPP $CPPFLAGS'
50174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50179 /* end confdefs.h. */
50180 #include <math.h>
50182 main ()
50184 _powf(0, 0);
50186 return 0;
50188 _ACEOF
50189 if ac_fn_cxx_try_compile "$LINENO"; then :
50190 glibcxx_cv_func__powf_use=yes
50191 else
50192 glibcxx_cv_func__powf_use=no
50194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50195 ac_ext=c
50196 ac_cpp='$CPP $CPPFLAGS'
50197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50206 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50208 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50209 for ac_func in _powf
50210 do :
50211 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50212 if test "x$ac_cv_func__powf" = x""yes; then :
50213 cat >>confdefs.h <<_ACEOF
50214 #define HAVE__POWF 1
50215 _ACEOF
50218 done
50227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50228 $as_echo_n "checking for sqrtf declaration... " >&6; }
50229 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50230 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50231 $as_echo_n "(cached) " >&6
50232 else
50235 ac_ext=cpp
50236 ac_cpp='$CXXCPP $CPPFLAGS'
50237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50242 /* end confdefs.h. */
50243 #include <math.h>
50244 #ifdef HAVE_IEEEFP_H
50245 #include <ieeefp.h>
50246 #endif
50249 main ()
50251 sqrtf(0);
50253 return 0;
50255 _ACEOF
50256 if ac_fn_cxx_try_compile "$LINENO"; then :
50257 glibcxx_cv_func_sqrtf_use=yes
50258 else
50259 glibcxx_cv_func_sqrtf_use=no
50261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50262 ac_ext=c
50263 ac_cpp='$CPP $CPPFLAGS'
50264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50273 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50275 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50276 for ac_func in sqrtf
50277 do :
50278 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50279 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50280 cat >>confdefs.h <<_ACEOF
50281 #define HAVE_SQRTF 1
50282 _ACEOF
50285 done
50287 else
50289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50290 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50291 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50292 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50293 $as_echo_n "(cached) " >&6
50294 else
50297 ac_ext=cpp
50298 ac_cpp='$CXXCPP $CPPFLAGS'
50299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50304 /* end confdefs.h. */
50305 #include <math.h>
50306 #ifdef HAVE_IEEEFP_H
50307 #include <ieeefp.h>
50308 #endif
50311 main ()
50313 _sqrtf(0);
50315 return 0;
50317 _ACEOF
50318 if ac_fn_cxx_try_compile "$LINENO"; then :
50319 glibcxx_cv_func__sqrtf_use=yes
50320 else
50321 glibcxx_cv_func__sqrtf_use=no
50323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50324 ac_ext=c
50325 ac_cpp='$CPP $CPPFLAGS'
50326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50335 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50337 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50338 for ac_func in _sqrtf
50339 do :
50340 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50341 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50342 cat >>confdefs.h <<_ACEOF
50343 #define HAVE__SQRTF 1
50344 _ACEOF
50347 done
50356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50357 $as_echo_n "checking for sincosf declaration... " >&6; }
50358 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50359 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50360 $as_echo_n "(cached) " >&6
50361 else
50364 ac_ext=cpp
50365 ac_cpp='$CXXCPP $CPPFLAGS'
50366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50371 /* end confdefs.h. */
50372 #include <math.h>
50374 main ()
50376 sincosf(0, 0, 0);
50378 return 0;
50380 _ACEOF
50381 if ac_fn_cxx_try_compile "$LINENO"; then :
50382 glibcxx_cv_func_sincosf_use=yes
50383 else
50384 glibcxx_cv_func_sincosf_use=no
50386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50387 ac_ext=c
50388 ac_cpp='$CPP $CPPFLAGS'
50389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50398 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50400 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50401 for ac_func in sincosf
50402 do :
50403 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50404 if test "x$ac_cv_func_sincosf" = x""yes; then :
50405 cat >>confdefs.h <<_ACEOF
50406 #define HAVE_SINCOSF 1
50407 _ACEOF
50410 done
50412 else
50414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50415 $as_echo_n "checking for _sincosf declaration... " >&6; }
50416 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50417 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50418 $as_echo_n "(cached) " >&6
50419 else
50422 ac_ext=cpp
50423 ac_cpp='$CXXCPP $CPPFLAGS'
50424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50429 /* end confdefs.h. */
50430 #include <math.h>
50432 main ()
50434 _sincosf(0, 0, 0);
50436 return 0;
50438 _ACEOF
50439 if ac_fn_cxx_try_compile "$LINENO"; then :
50440 glibcxx_cv_func__sincosf_use=yes
50441 else
50442 glibcxx_cv_func__sincosf_use=no
50444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50445 ac_ext=c
50446 ac_cpp='$CPP $CPPFLAGS'
50447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50456 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50458 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50459 for ac_func in _sincosf
50460 do :
50461 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50462 if test "x$ac_cv_func__sincosf" = x""yes; then :
50463 cat >>confdefs.h <<_ACEOF
50464 #define HAVE__SINCOSF 1
50465 _ACEOF
50468 done
50477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50478 $as_echo_n "checking for finitef declaration... " >&6; }
50479 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50480 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50481 $as_echo_n "(cached) " >&6
50482 else
50485 ac_ext=cpp
50486 ac_cpp='$CXXCPP $CPPFLAGS'
50487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50492 /* end confdefs.h. */
50493 #include <math.h>
50494 #ifdef HAVE_IEEEFP_H
50495 #include <ieeefp.h>
50496 #endif
50499 main ()
50501 finitef(0);
50503 return 0;
50505 _ACEOF
50506 if ac_fn_cxx_try_compile "$LINENO"; then :
50507 glibcxx_cv_func_finitef_use=yes
50508 else
50509 glibcxx_cv_func_finitef_use=no
50511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50512 ac_ext=c
50513 ac_cpp='$CPP $CPPFLAGS'
50514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50523 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50525 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50526 for ac_func in finitef
50527 do :
50528 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50529 if test "x$ac_cv_func_finitef" = x""yes; then :
50530 cat >>confdefs.h <<_ACEOF
50531 #define HAVE_FINITEF 1
50532 _ACEOF
50535 done
50537 else
50539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50540 $as_echo_n "checking for _finitef declaration... " >&6; }
50541 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50542 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50543 $as_echo_n "(cached) " >&6
50544 else
50547 ac_ext=cpp
50548 ac_cpp='$CXXCPP $CPPFLAGS'
50549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50554 /* end confdefs.h. */
50555 #include <math.h>
50556 #ifdef HAVE_IEEEFP_H
50557 #include <ieeefp.h>
50558 #endif
50561 main ()
50563 _finitef(0);
50565 return 0;
50567 _ACEOF
50568 if ac_fn_cxx_try_compile "$LINENO"; then :
50569 glibcxx_cv_func__finitef_use=yes
50570 else
50571 glibcxx_cv_func__finitef_use=no
50573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50574 ac_ext=c
50575 ac_cpp='$CPP $CPPFLAGS'
50576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50585 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50587 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50588 for ac_func in _finitef
50589 do :
50590 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50591 if test "x$ac_cv_func__finitef" = x""yes; then :
50592 cat >>confdefs.h <<_ACEOF
50593 #define HAVE__FINITEF 1
50594 _ACEOF
50597 done
50606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50607 $as_echo_n "checking for long double trig functions... " >&6; }
50608 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50609 $as_echo_n "(cached) " >&6
50610 else
50613 ac_ext=cpp
50614 ac_cpp='$CXXCPP $CPPFLAGS'
50615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50620 /* end confdefs.h. */
50621 #include <math.h>
50623 main ()
50625 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50627 return 0;
50629 _ACEOF
50630 if ac_fn_cxx_try_compile "$LINENO"; then :
50631 glibcxx_cv_func_long_double_trig_use=yes
50632 else
50633 glibcxx_cv_func_long_double_trig_use=no
50635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50636 ac_ext=c
50637 ac_cpp='$CPP $CPPFLAGS'
50638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50645 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50646 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50647 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50648 do :
50649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50651 eval as_val=\$$as_ac_var
50652 if test "x$as_val" = x""yes; then :
50653 cat >>confdefs.h <<_ACEOF
50654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50655 _ACEOF
50658 done
50660 else
50661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50662 $as_echo_n "checking for _long double trig functions... " >&6; }
50663 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50664 $as_echo_n "(cached) " >&6
50665 else
50668 ac_ext=cpp
50669 ac_cpp='$CXXCPP $CPPFLAGS'
50670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50675 /* end confdefs.h. */
50676 #include <math.h>
50678 main ()
50680 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50682 return 0;
50684 _ACEOF
50685 if ac_fn_cxx_try_compile "$LINENO"; then :
50686 glibcxx_cv_func__long_double_trig_use=yes
50687 else
50688 glibcxx_cv_func__long_double_trig_use=no
50690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50691 ac_ext=c
50692 ac_cpp='$CPP $CPPFLAGS'
50693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50700 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50701 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50702 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50703 do :
50704 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50706 eval as_val=\$$as_ac_var
50707 if test "x$as_val" = x""yes; then :
50708 cat >>confdefs.h <<_ACEOF
50709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50710 _ACEOF
50713 done
50722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50723 $as_echo_n "checking for long double round functions... " >&6; }
50724 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50725 $as_echo_n "(cached) " >&6
50726 else
50729 ac_ext=cpp
50730 ac_cpp='$CXXCPP $CPPFLAGS'
50731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50736 /* end confdefs.h. */
50737 #include <math.h>
50739 main ()
50741 ceill (0); floorl (0);
50743 return 0;
50745 _ACEOF
50746 if ac_fn_cxx_try_compile "$LINENO"; then :
50747 glibcxx_cv_func_long_double_round_use=yes
50748 else
50749 glibcxx_cv_func_long_double_round_use=no
50751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50752 ac_ext=c
50753 ac_cpp='$CPP $CPPFLAGS'
50754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50761 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50762 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50763 for ac_func in ceill floorl
50764 do :
50765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50767 eval as_val=\$$as_ac_var
50768 if test "x$as_val" = x""yes; then :
50769 cat >>confdefs.h <<_ACEOF
50770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50771 _ACEOF
50774 done
50776 else
50777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50778 $as_echo_n "checking for _long double round functions... " >&6; }
50779 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50780 $as_echo_n "(cached) " >&6
50781 else
50784 ac_ext=cpp
50785 ac_cpp='$CXXCPP $CPPFLAGS'
50786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50791 /* end confdefs.h. */
50792 #include <math.h>
50794 main ()
50796 _ceill (0); _floorl (0);
50798 return 0;
50800 _ACEOF
50801 if ac_fn_cxx_try_compile "$LINENO"; then :
50802 glibcxx_cv_func__long_double_round_use=yes
50803 else
50804 glibcxx_cv_func__long_double_round_use=no
50806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50807 ac_ext=c
50808 ac_cpp='$CPP $CPPFLAGS'
50809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50816 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50817 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50818 for ac_func in _ceill _floorl
50819 do :
50820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50822 eval as_val=\$$as_ac_var
50823 if test "x$as_val" = x""yes; then :
50824 cat >>confdefs.h <<_ACEOF
50825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50826 _ACEOF
50829 done
50839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50840 $as_echo_n "checking for isnanl declaration... " >&6; }
50841 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50842 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50843 $as_echo_n "(cached) " >&6
50844 else
50847 ac_ext=cpp
50848 ac_cpp='$CXXCPP $CPPFLAGS'
50849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50854 /* end confdefs.h. */
50855 #include <math.h>
50856 #ifdef HAVE_IEEEFP_H
50857 #include <ieeefp.h>
50858 #endif
50861 main ()
50863 isnanl(0);
50865 return 0;
50867 _ACEOF
50868 if ac_fn_cxx_try_compile "$LINENO"; then :
50869 glibcxx_cv_func_isnanl_use=yes
50870 else
50871 glibcxx_cv_func_isnanl_use=no
50873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50874 ac_ext=c
50875 ac_cpp='$CPP $CPPFLAGS'
50876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50885 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50887 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50888 for ac_func in isnanl
50889 do :
50890 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50891 if test "x$ac_cv_func_isnanl" = x""yes; then :
50892 cat >>confdefs.h <<_ACEOF
50893 #define HAVE_ISNANL 1
50894 _ACEOF
50897 done
50899 else
50901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50902 $as_echo_n "checking for _isnanl declaration... " >&6; }
50903 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50904 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50905 $as_echo_n "(cached) " >&6
50906 else
50909 ac_ext=cpp
50910 ac_cpp='$CXXCPP $CPPFLAGS'
50911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50916 /* end confdefs.h. */
50917 #include <math.h>
50918 #ifdef HAVE_IEEEFP_H
50919 #include <ieeefp.h>
50920 #endif
50923 main ()
50925 _isnanl(0);
50927 return 0;
50929 _ACEOF
50930 if ac_fn_cxx_try_compile "$LINENO"; then :
50931 glibcxx_cv_func__isnanl_use=yes
50932 else
50933 glibcxx_cv_func__isnanl_use=no
50935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50936 ac_ext=c
50937 ac_cpp='$CPP $CPPFLAGS'
50938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50947 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50949 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50950 for ac_func in _isnanl
50951 do :
50952 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50953 if test "x$ac_cv_func__isnanl" = x""yes; then :
50954 cat >>confdefs.h <<_ACEOF
50955 #define HAVE__ISNANL 1
50956 _ACEOF
50959 done
50968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50969 $as_echo_n "checking for isinfl declaration... " >&6; }
50970 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50971 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50972 $as_echo_n "(cached) " >&6
50973 else
50976 ac_ext=cpp
50977 ac_cpp='$CXXCPP $CPPFLAGS'
50978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50983 /* end confdefs.h. */
50984 #include <math.h>
50985 #ifdef HAVE_IEEEFP_H
50986 #include <ieeefp.h>
50987 #endif
50990 main ()
50992 isinfl(0);
50994 return 0;
50996 _ACEOF
50997 if ac_fn_cxx_try_compile "$LINENO"; then :
50998 glibcxx_cv_func_isinfl_use=yes
50999 else
51000 glibcxx_cv_func_isinfl_use=no
51002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51003 ac_ext=c
51004 ac_cpp='$CPP $CPPFLAGS'
51005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51014 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51016 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51017 for ac_func in isinfl
51018 do :
51019 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51020 if test "x$ac_cv_func_isinfl" = x""yes; then :
51021 cat >>confdefs.h <<_ACEOF
51022 #define HAVE_ISINFL 1
51023 _ACEOF
51026 done
51028 else
51030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51031 $as_echo_n "checking for _isinfl declaration... " >&6; }
51032 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51033 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51034 $as_echo_n "(cached) " >&6
51035 else
51038 ac_ext=cpp
51039 ac_cpp='$CXXCPP $CPPFLAGS'
51040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51045 /* end confdefs.h. */
51046 #include <math.h>
51047 #ifdef HAVE_IEEEFP_H
51048 #include <ieeefp.h>
51049 #endif
51052 main ()
51054 _isinfl(0);
51056 return 0;
51058 _ACEOF
51059 if ac_fn_cxx_try_compile "$LINENO"; then :
51060 glibcxx_cv_func__isinfl_use=yes
51061 else
51062 glibcxx_cv_func__isinfl_use=no
51064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51065 ac_ext=c
51066 ac_cpp='$CPP $CPPFLAGS'
51067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51076 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51078 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51079 for ac_func in _isinfl
51080 do :
51081 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51082 if test "x$ac_cv_func__isinfl" = x""yes; then :
51083 cat >>confdefs.h <<_ACEOF
51084 #define HAVE__ISINFL 1
51085 _ACEOF
51088 done
51097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51098 $as_echo_n "checking for atan2l declaration... " >&6; }
51099 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51100 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51101 $as_echo_n "(cached) " >&6
51102 else
51105 ac_ext=cpp
51106 ac_cpp='$CXXCPP $CPPFLAGS'
51107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51112 /* end confdefs.h. */
51113 #include <math.h>
51115 main ()
51117 atan2l(0, 0);
51119 return 0;
51121 _ACEOF
51122 if ac_fn_cxx_try_compile "$LINENO"; then :
51123 glibcxx_cv_func_atan2l_use=yes
51124 else
51125 glibcxx_cv_func_atan2l_use=no
51127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51128 ac_ext=c
51129 ac_cpp='$CPP $CPPFLAGS'
51130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51139 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51141 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51142 for ac_func in atan2l
51143 do :
51144 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51145 if test "x$ac_cv_func_atan2l" = x""yes; then :
51146 cat >>confdefs.h <<_ACEOF
51147 #define HAVE_ATAN2L 1
51148 _ACEOF
51151 done
51153 else
51155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51156 $as_echo_n "checking for _atan2l declaration... " >&6; }
51157 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51158 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51159 $as_echo_n "(cached) " >&6
51160 else
51163 ac_ext=cpp
51164 ac_cpp='$CXXCPP $CPPFLAGS'
51165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51170 /* end confdefs.h. */
51171 #include <math.h>
51173 main ()
51175 _atan2l(0, 0);
51177 return 0;
51179 _ACEOF
51180 if ac_fn_cxx_try_compile "$LINENO"; then :
51181 glibcxx_cv_func__atan2l_use=yes
51182 else
51183 glibcxx_cv_func__atan2l_use=no
51185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51186 ac_ext=c
51187 ac_cpp='$CPP $CPPFLAGS'
51188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51197 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51199 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51200 for ac_func in _atan2l
51201 do :
51202 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51203 if test "x$ac_cv_func__atan2l" = x""yes; then :
51204 cat >>confdefs.h <<_ACEOF
51205 #define HAVE__ATAN2L 1
51206 _ACEOF
51209 done
51218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51219 $as_echo_n "checking for expl declaration... " >&6; }
51220 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51221 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51222 $as_echo_n "(cached) " >&6
51223 else
51226 ac_ext=cpp
51227 ac_cpp='$CXXCPP $CPPFLAGS'
51228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51233 /* end confdefs.h. */
51234 #include <math.h>
51235 #ifdef HAVE_IEEEFP_H
51236 #include <ieeefp.h>
51237 #endif
51240 main ()
51242 expl(0);
51244 return 0;
51246 _ACEOF
51247 if ac_fn_cxx_try_compile "$LINENO"; then :
51248 glibcxx_cv_func_expl_use=yes
51249 else
51250 glibcxx_cv_func_expl_use=no
51252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51253 ac_ext=c
51254 ac_cpp='$CPP $CPPFLAGS'
51255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51264 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51266 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51267 for ac_func in expl
51268 do :
51269 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51270 if test "x$ac_cv_func_expl" = x""yes; then :
51271 cat >>confdefs.h <<_ACEOF
51272 #define HAVE_EXPL 1
51273 _ACEOF
51276 done
51278 else
51280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51281 $as_echo_n "checking for _expl declaration... " >&6; }
51282 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51283 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51284 $as_echo_n "(cached) " >&6
51285 else
51288 ac_ext=cpp
51289 ac_cpp='$CXXCPP $CPPFLAGS'
51290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51295 /* end confdefs.h. */
51296 #include <math.h>
51297 #ifdef HAVE_IEEEFP_H
51298 #include <ieeefp.h>
51299 #endif
51302 main ()
51304 _expl(0);
51306 return 0;
51308 _ACEOF
51309 if ac_fn_cxx_try_compile "$LINENO"; then :
51310 glibcxx_cv_func__expl_use=yes
51311 else
51312 glibcxx_cv_func__expl_use=no
51314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51315 ac_ext=c
51316 ac_cpp='$CPP $CPPFLAGS'
51317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51326 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51328 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51329 for ac_func in _expl
51330 do :
51331 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51332 if test "x$ac_cv_func__expl" = x""yes; then :
51333 cat >>confdefs.h <<_ACEOF
51334 #define HAVE__EXPL 1
51335 _ACEOF
51338 done
51347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51348 $as_echo_n "checking for fabsl declaration... " >&6; }
51349 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51350 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51351 $as_echo_n "(cached) " >&6
51352 else
51355 ac_ext=cpp
51356 ac_cpp='$CXXCPP $CPPFLAGS'
51357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51362 /* end confdefs.h. */
51363 #include <math.h>
51364 #ifdef HAVE_IEEEFP_H
51365 #include <ieeefp.h>
51366 #endif
51369 main ()
51371 fabsl(0);
51373 return 0;
51375 _ACEOF
51376 if ac_fn_cxx_try_compile "$LINENO"; then :
51377 glibcxx_cv_func_fabsl_use=yes
51378 else
51379 glibcxx_cv_func_fabsl_use=no
51381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51382 ac_ext=c
51383 ac_cpp='$CPP $CPPFLAGS'
51384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51393 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51395 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51396 for ac_func in fabsl
51397 do :
51398 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51399 if test "x$ac_cv_func_fabsl" = x""yes; then :
51400 cat >>confdefs.h <<_ACEOF
51401 #define HAVE_FABSL 1
51402 _ACEOF
51405 done
51407 else
51409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51410 $as_echo_n "checking for _fabsl declaration... " >&6; }
51411 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51412 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51413 $as_echo_n "(cached) " >&6
51414 else
51417 ac_ext=cpp
51418 ac_cpp='$CXXCPP $CPPFLAGS'
51419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51424 /* end confdefs.h. */
51425 #include <math.h>
51426 #ifdef HAVE_IEEEFP_H
51427 #include <ieeefp.h>
51428 #endif
51431 main ()
51433 _fabsl(0);
51435 return 0;
51437 _ACEOF
51438 if ac_fn_cxx_try_compile "$LINENO"; then :
51439 glibcxx_cv_func__fabsl_use=yes
51440 else
51441 glibcxx_cv_func__fabsl_use=no
51443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51444 ac_ext=c
51445 ac_cpp='$CPP $CPPFLAGS'
51446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51455 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51457 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51458 for ac_func in _fabsl
51459 do :
51460 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51461 if test "x$ac_cv_func__fabsl" = x""yes; then :
51462 cat >>confdefs.h <<_ACEOF
51463 #define HAVE__FABSL 1
51464 _ACEOF
51467 done
51476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51477 $as_echo_n "checking for fmodl declaration... " >&6; }
51478 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51479 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51480 $as_echo_n "(cached) " >&6
51481 else
51484 ac_ext=cpp
51485 ac_cpp='$CXXCPP $CPPFLAGS'
51486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51491 /* end confdefs.h. */
51492 #include <math.h>
51494 main ()
51496 fmodl(0, 0);
51498 return 0;
51500 _ACEOF
51501 if ac_fn_cxx_try_compile "$LINENO"; then :
51502 glibcxx_cv_func_fmodl_use=yes
51503 else
51504 glibcxx_cv_func_fmodl_use=no
51506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51507 ac_ext=c
51508 ac_cpp='$CPP $CPPFLAGS'
51509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51518 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51520 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51521 for ac_func in fmodl
51522 do :
51523 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51524 if test "x$ac_cv_func_fmodl" = x""yes; then :
51525 cat >>confdefs.h <<_ACEOF
51526 #define HAVE_FMODL 1
51527 _ACEOF
51530 done
51532 else
51534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51535 $as_echo_n "checking for _fmodl declaration... " >&6; }
51536 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51537 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51538 $as_echo_n "(cached) " >&6
51539 else
51542 ac_ext=cpp
51543 ac_cpp='$CXXCPP $CPPFLAGS'
51544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51549 /* end confdefs.h. */
51550 #include <math.h>
51552 main ()
51554 _fmodl(0, 0);
51556 return 0;
51558 _ACEOF
51559 if ac_fn_cxx_try_compile "$LINENO"; then :
51560 glibcxx_cv_func__fmodl_use=yes
51561 else
51562 glibcxx_cv_func__fmodl_use=no
51564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51565 ac_ext=c
51566 ac_cpp='$CPP $CPPFLAGS'
51567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51576 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51578 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51579 for ac_func in _fmodl
51580 do :
51581 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51582 if test "x$ac_cv_func__fmodl" = x""yes; then :
51583 cat >>confdefs.h <<_ACEOF
51584 #define HAVE__FMODL 1
51585 _ACEOF
51588 done
51597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51598 $as_echo_n "checking for frexpl declaration... " >&6; }
51599 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51600 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51601 $as_echo_n "(cached) " >&6
51602 else
51605 ac_ext=cpp
51606 ac_cpp='$CXXCPP $CPPFLAGS'
51607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51612 /* end confdefs.h. */
51613 #include <math.h>
51615 main ()
51617 frexpl(0, 0);
51619 return 0;
51621 _ACEOF
51622 if ac_fn_cxx_try_compile "$LINENO"; then :
51623 glibcxx_cv_func_frexpl_use=yes
51624 else
51625 glibcxx_cv_func_frexpl_use=no
51627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51628 ac_ext=c
51629 ac_cpp='$CPP $CPPFLAGS'
51630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51639 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51641 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51642 for ac_func in frexpl
51643 do :
51644 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51645 if test "x$ac_cv_func_frexpl" = x""yes; then :
51646 cat >>confdefs.h <<_ACEOF
51647 #define HAVE_FREXPL 1
51648 _ACEOF
51651 done
51653 else
51655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51656 $as_echo_n "checking for _frexpl declaration... " >&6; }
51657 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51658 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51659 $as_echo_n "(cached) " >&6
51660 else
51663 ac_ext=cpp
51664 ac_cpp='$CXXCPP $CPPFLAGS'
51665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51670 /* end confdefs.h. */
51671 #include <math.h>
51673 main ()
51675 _frexpl(0, 0);
51677 return 0;
51679 _ACEOF
51680 if ac_fn_cxx_try_compile "$LINENO"; then :
51681 glibcxx_cv_func__frexpl_use=yes
51682 else
51683 glibcxx_cv_func__frexpl_use=no
51685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51686 ac_ext=c
51687 ac_cpp='$CPP $CPPFLAGS'
51688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51697 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51699 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51700 for ac_func in _frexpl
51701 do :
51702 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51703 if test "x$ac_cv_func__frexpl" = x""yes; then :
51704 cat >>confdefs.h <<_ACEOF
51705 #define HAVE__FREXPL 1
51706 _ACEOF
51709 done
51718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51719 $as_echo_n "checking for hypotl declaration... " >&6; }
51720 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51721 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51722 $as_echo_n "(cached) " >&6
51723 else
51726 ac_ext=cpp
51727 ac_cpp='$CXXCPP $CPPFLAGS'
51728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51733 /* end confdefs.h. */
51734 #include <math.h>
51736 main ()
51738 hypotl(0, 0);
51740 return 0;
51742 _ACEOF
51743 if ac_fn_cxx_try_compile "$LINENO"; then :
51744 glibcxx_cv_func_hypotl_use=yes
51745 else
51746 glibcxx_cv_func_hypotl_use=no
51748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51749 ac_ext=c
51750 ac_cpp='$CPP $CPPFLAGS'
51751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51760 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51762 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51763 for ac_func in hypotl
51764 do :
51765 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51766 if test "x$ac_cv_func_hypotl" = x""yes; then :
51767 cat >>confdefs.h <<_ACEOF
51768 #define HAVE_HYPOTL 1
51769 _ACEOF
51772 done
51774 else
51776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51777 $as_echo_n "checking for _hypotl declaration... " >&6; }
51778 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51779 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51780 $as_echo_n "(cached) " >&6
51781 else
51784 ac_ext=cpp
51785 ac_cpp='$CXXCPP $CPPFLAGS'
51786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51791 /* end confdefs.h. */
51792 #include <math.h>
51794 main ()
51796 _hypotl(0, 0);
51798 return 0;
51800 _ACEOF
51801 if ac_fn_cxx_try_compile "$LINENO"; then :
51802 glibcxx_cv_func__hypotl_use=yes
51803 else
51804 glibcxx_cv_func__hypotl_use=no
51806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51807 ac_ext=c
51808 ac_cpp='$CPP $CPPFLAGS'
51809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51818 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51820 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51821 for ac_func in _hypotl
51822 do :
51823 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51824 if test "x$ac_cv_func__hypotl" = x""yes; then :
51825 cat >>confdefs.h <<_ACEOF
51826 #define HAVE__HYPOTL 1
51827 _ACEOF
51830 done
51839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51840 $as_echo_n "checking for ldexpl declaration... " >&6; }
51841 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51842 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51843 $as_echo_n "(cached) " >&6
51844 else
51847 ac_ext=cpp
51848 ac_cpp='$CXXCPP $CPPFLAGS'
51849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51854 /* end confdefs.h. */
51855 #include <math.h>
51857 main ()
51859 ldexpl(0, 0);
51861 return 0;
51863 _ACEOF
51864 if ac_fn_cxx_try_compile "$LINENO"; then :
51865 glibcxx_cv_func_ldexpl_use=yes
51866 else
51867 glibcxx_cv_func_ldexpl_use=no
51869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51870 ac_ext=c
51871 ac_cpp='$CPP $CPPFLAGS'
51872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51881 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51883 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51884 for ac_func in ldexpl
51885 do :
51886 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51887 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51888 cat >>confdefs.h <<_ACEOF
51889 #define HAVE_LDEXPL 1
51890 _ACEOF
51893 done
51895 else
51897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51898 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51899 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51900 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51901 $as_echo_n "(cached) " >&6
51902 else
51905 ac_ext=cpp
51906 ac_cpp='$CXXCPP $CPPFLAGS'
51907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51912 /* end confdefs.h. */
51913 #include <math.h>
51915 main ()
51917 _ldexpl(0, 0);
51919 return 0;
51921 _ACEOF
51922 if ac_fn_cxx_try_compile "$LINENO"; then :
51923 glibcxx_cv_func__ldexpl_use=yes
51924 else
51925 glibcxx_cv_func__ldexpl_use=no
51927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51928 ac_ext=c
51929 ac_cpp='$CPP $CPPFLAGS'
51930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51939 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51941 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51942 for ac_func in _ldexpl
51943 do :
51944 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51945 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51946 cat >>confdefs.h <<_ACEOF
51947 #define HAVE__LDEXPL 1
51948 _ACEOF
51951 done
51960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51961 $as_echo_n "checking for logl declaration... " >&6; }
51962 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51963 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51964 $as_echo_n "(cached) " >&6
51965 else
51968 ac_ext=cpp
51969 ac_cpp='$CXXCPP $CPPFLAGS'
51970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51975 /* end confdefs.h. */
51976 #include <math.h>
51977 #ifdef HAVE_IEEEFP_H
51978 #include <ieeefp.h>
51979 #endif
51982 main ()
51984 logl(0);
51986 return 0;
51988 _ACEOF
51989 if ac_fn_cxx_try_compile "$LINENO"; then :
51990 glibcxx_cv_func_logl_use=yes
51991 else
51992 glibcxx_cv_func_logl_use=no
51994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51995 ac_ext=c
51996 ac_cpp='$CPP $CPPFLAGS'
51997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52006 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52008 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52009 for ac_func in logl
52010 do :
52011 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52012 if test "x$ac_cv_func_logl" = x""yes; then :
52013 cat >>confdefs.h <<_ACEOF
52014 #define HAVE_LOGL 1
52015 _ACEOF
52018 done
52020 else
52022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52023 $as_echo_n "checking for _logl declaration... " >&6; }
52024 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52025 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52026 $as_echo_n "(cached) " >&6
52027 else
52030 ac_ext=cpp
52031 ac_cpp='$CXXCPP $CPPFLAGS'
52032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52037 /* end confdefs.h. */
52038 #include <math.h>
52039 #ifdef HAVE_IEEEFP_H
52040 #include <ieeefp.h>
52041 #endif
52044 main ()
52046 _logl(0);
52048 return 0;
52050 _ACEOF
52051 if ac_fn_cxx_try_compile "$LINENO"; then :
52052 glibcxx_cv_func__logl_use=yes
52053 else
52054 glibcxx_cv_func__logl_use=no
52056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52057 ac_ext=c
52058 ac_cpp='$CPP $CPPFLAGS'
52059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52068 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52070 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52071 for ac_func in _logl
52072 do :
52073 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52074 if test "x$ac_cv_func__logl" = x""yes; then :
52075 cat >>confdefs.h <<_ACEOF
52076 #define HAVE__LOGL 1
52077 _ACEOF
52080 done
52089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52090 $as_echo_n "checking for log10l declaration... " >&6; }
52091 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52092 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52093 $as_echo_n "(cached) " >&6
52094 else
52097 ac_ext=cpp
52098 ac_cpp='$CXXCPP $CPPFLAGS'
52099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52104 /* end confdefs.h. */
52105 #include <math.h>
52106 #ifdef HAVE_IEEEFP_H
52107 #include <ieeefp.h>
52108 #endif
52111 main ()
52113 log10l(0);
52115 return 0;
52117 _ACEOF
52118 if ac_fn_cxx_try_compile "$LINENO"; then :
52119 glibcxx_cv_func_log10l_use=yes
52120 else
52121 glibcxx_cv_func_log10l_use=no
52123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52124 ac_ext=c
52125 ac_cpp='$CPP $CPPFLAGS'
52126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52135 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52137 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52138 for ac_func in log10l
52139 do :
52140 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52141 if test "x$ac_cv_func_log10l" = x""yes; then :
52142 cat >>confdefs.h <<_ACEOF
52143 #define HAVE_LOG10L 1
52144 _ACEOF
52147 done
52149 else
52151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52152 $as_echo_n "checking for _log10l declaration... " >&6; }
52153 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52154 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52155 $as_echo_n "(cached) " >&6
52156 else
52159 ac_ext=cpp
52160 ac_cpp='$CXXCPP $CPPFLAGS'
52161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52166 /* end confdefs.h. */
52167 #include <math.h>
52168 #ifdef HAVE_IEEEFP_H
52169 #include <ieeefp.h>
52170 #endif
52173 main ()
52175 _log10l(0);
52177 return 0;
52179 _ACEOF
52180 if ac_fn_cxx_try_compile "$LINENO"; then :
52181 glibcxx_cv_func__log10l_use=yes
52182 else
52183 glibcxx_cv_func__log10l_use=no
52185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52186 ac_ext=c
52187 ac_cpp='$CPP $CPPFLAGS'
52188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52197 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52199 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52200 for ac_func in _log10l
52201 do :
52202 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52203 if test "x$ac_cv_func__log10l" = x""yes; then :
52204 cat >>confdefs.h <<_ACEOF
52205 #define HAVE__LOG10L 1
52206 _ACEOF
52209 done
52218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52219 $as_echo_n "checking for modfl declaration... " >&6; }
52220 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52221 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52222 $as_echo_n "(cached) " >&6
52223 else
52226 ac_ext=cpp
52227 ac_cpp='$CXXCPP $CPPFLAGS'
52228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52233 /* end confdefs.h. */
52234 #include <math.h>
52236 main ()
52238 modfl(0, 0);
52240 return 0;
52242 _ACEOF
52243 if ac_fn_cxx_try_compile "$LINENO"; then :
52244 glibcxx_cv_func_modfl_use=yes
52245 else
52246 glibcxx_cv_func_modfl_use=no
52248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52249 ac_ext=c
52250 ac_cpp='$CPP $CPPFLAGS'
52251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52260 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52262 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52263 for ac_func in modfl
52264 do :
52265 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52266 if test "x$ac_cv_func_modfl" = x""yes; then :
52267 cat >>confdefs.h <<_ACEOF
52268 #define HAVE_MODFL 1
52269 _ACEOF
52272 done
52274 else
52276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52277 $as_echo_n "checking for _modfl declaration... " >&6; }
52278 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52279 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52280 $as_echo_n "(cached) " >&6
52281 else
52284 ac_ext=cpp
52285 ac_cpp='$CXXCPP $CPPFLAGS'
52286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52291 /* end confdefs.h. */
52292 #include <math.h>
52294 main ()
52296 _modfl(0, 0);
52298 return 0;
52300 _ACEOF
52301 if ac_fn_cxx_try_compile "$LINENO"; then :
52302 glibcxx_cv_func__modfl_use=yes
52303 else
52304 glibcxx_cv_func__modfl_use=no
52306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52307 ac_ext=c
52308 ac_cpp='$CPP $CPPFLAGS'
52309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52318 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52320 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52321 for ac_func in _modfl
52322 do :
52323 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52324 if test "x$ac_cv_func__modfl" = x""yes; then :
52325 cat >>confdefs.h <<_ACEOF
52326 #define HAVE__MODFL 1
52327 _ACEOF
52330 done
52339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52340 $as_echo_n "checking for powl declaration... " >&6; }
52341 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52342 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52343 $as_echo_n "(cached) " >&6
52344 else
52347 ac_ext=cpp
52348 ac_cpp='$CXXCPP $CPPFLAGS'
52349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52354 /* end confdefs.h. */
52355 #include <math.h>
52357 main ()
52359 powl(0, 0);
52361 return 0;
52363 _ACEOF
52364 if ac_fn_cxx_try_compile "$LINENO"; then :
52365 glibcxx_cv_func_powl_use=yes
52366 else
52367 glibcxx_cv_func_powl_use=no
52369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52370 ac_ext=c
52371 ac_cpp='$CPP $CPPFLAGS'
52372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52381 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52383 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52384 for ac_func in powl
52385 do :
52386 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52387 if test "x$ac_cv_func_powl" = x""yes; then :
52388 cat >>confdefs.h <<_ACEOF
52389 #define HAVE_POWL 1
52390 _ACEOF
52393 done
52395 else
52397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52398 $as_echo_n "checking for _powl declaration... " >&6; }
52399 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52400 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52401 $as_echo_n "(cached) " >&6
52402 else
52405 ac_ext=cpp
52406 ac_cpp='$CXXCPP $CPPFLAGS'
52407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52412 /* end confdefs.h. */
52413 #include <math.h>
52415 main ()
52417 _powl(0, 0);
52419 return 0;
52421 _ACEOF
52422 if ac_fn_cxx_try_compile "$LINENO"; then :
52423 glibcxx_cv_func__powl_use=yes
52424 else
52425 glibcxx_cv_func__powl_use=no
52427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52428 ac_ext=c
52429 ac_cpp='$CPP $CPPFLAGS'
52430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52439 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52441 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52442 for ac_func in _powl
52443 do :
52444 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52445 if test "x$ac_cv_func__powl" = x""yes; then :
52446 cat >>confdefs.h <<_ACEOF
52447 #define HAVE__POWL 1
52448 _ACEOF
52451 done
52460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52461 $as_echo_n "checking for sqrtl declaration... " >&6; }
52462 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52463 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52464 $as_echo_n "(cached) " >&6
52465 else
52468 ac_ext=cpp
52469 ac_cpp='$CXXCPP $CPPFLAGS'
52470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52475 /* end confdefs.h. */
52476 #include <math.h>
52477 #ifdef HAVE_IEEEFP_H
52478 #include <ieeefp.h>
52479 #endif
52482 main ()
52484 sqrtl(0);
52486 return 0;
52488 _ACEOF
52489 if ac_fn_cxx_try_compile "$LINENO"; then :
52490 glibcxx_cv_func_sqrtl_use=yes
52491 else
52492 glibcxx_cv_func_sqrtl_use=no
52494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52495 ac_ext=c
52496 ac_cpp='$CPP $CPPFLAGS'
52497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52506 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52508 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52509 for ac_func in sqrtl
52510 do :
52511 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52512 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52513 cat >>confdefs.h <<_ACEOF
52514 #define HAVE_SQRTL 1
52515 _ACEOF
52518 done
52520 else
52522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52523 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52524 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52525 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52526 $as_echo_n "(cached) " >&6
52527 else
52530 ac_ext=cpp
52531 ac_cpp='$CXXCPP $CPPFLAGS'
52532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52537 /* end confdefs.h. */
52538 #include <math.h>
52539 #ifdef HAVE_IEEEFP_H
52540 #include <ieeefp.h>
52541 #endif
52544 main ()
52546 _sqrtl(0);
52548 return 0;
52550 _ACEOF
52551 if ac_fn_cxx_try_compile "$LINENO"; then :
52552 glibcxx_cv_func__sqrtl_use=yes
52553 else
52554 glibcxx_cv_func__sqrtl_use=no
52556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52557 ac_ext=c
52558 ac_cpp='$CPP $CPPFLAGS'
52559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52568 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52570 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52571 for ac_func in _sqrtl
52572 do :
52573 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52574 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52575 cat >>confdefs.h <<_ACEOF
52576 #define HAVE__SQRTL 1
52577 _ACEOF
52580 done
52589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52590 $as_echo_n "checking for sincosl declaration... " >&6; }
52591 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52592 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52593 $as_echo_n "(cached) " >&6
52594 else
52597 ac_ext=cpp
52598 ac_cpp='$CXXCPP $CPPFLAGS'
52599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52604 /* end confdefs.h. */
52605 #include <math.h>
52607 main ()
52609 sincosl(0, 0, 0);
52611 return 0;
52613 _ACEOF
52614 if ac_fn_cxx_try_compile "$LINENO"; then :
52615 glibcxx_cv_func_sincosl_use=yes
52616 else
52617 glibcxx_cv_func_sincosl_use=no
52619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52620 ac_ext=c
52621 ac_cpp='$CPP $CPPFLAGS'
52622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52631 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52633 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52634 for ac_func in sincosl
52635 do :
52636 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52637 if test "x$ac_cv_func_sincosl" = x""yes; then :
52638 cat >>confdefs.h <<_ACEOF
52639 #define HAVE_SINCOSL 1
52640 _ACEOF
52643 done
52645 else
52647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52648 $as_echo_n "checking for _sincosl declaration... " >&6; }
52649 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52650 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52651 $as_echo_n "(cached) " >&6
52652 else
52655 ac_ext=cpp
52656 ac_cpp='$CXXCPP $CPPFLAGS'
52657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52662 /* end confdefs.h. */
52663 #include <math.h>
52665 main ()
52667 _sincosl(0, 0, 0);
52669 return 0;
52671 _ACEOF
52672 if ac_fn_cxx_try_compile "$LINENO"; then :
52673 glibcxx_cv_func__sincosl_use=yes
52674 else
52675 glibcxx_cv_func__sincosl_use=no
52677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52678 ac_ext=c
52679 ac_cpp='$CPP $CPPFLAGS'
52680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52689 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52691 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52692 for ac_func in _sincosl
52693 do :
52694 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52695 if test "x$ac_cv_func__sincosl" = x""yes; then :
52696 cat >>confdefs.h <<_ACEOF
52697 #define HAVE__SINCOSL 1
52698 _ACEOF
52701 done
52710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52711 $as_echo_n "checking for finitel declaration... " >&6; }
52712 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52713 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52714 $as_echo_n "(cached) " >&6
52715 else
52718 ac_ext=cpp
52719 ac_cpp='$CXXCPP $CPPFLAGS'
52720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52725 /* end confdefs.h. */
52726 #include <math.h>
52727 #ifdef HAVE_IEEEFP_H
52728 #include <ieeefp.h>
52729 #endif
52732 main ()
52734 finitel(0);
52736 return 0;
52738 _ACEOF
52739 if ac_fn_cxx_try_compile "$LINENO"; then :
52740 glibcxx_cv_func_finitel_use=yes
52741 else
52742 glibcxx_cv_func_finitel_use=no
52744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52745 ac_ext=c
52746 ac_cpp='$CPP $CPPFLAGS'
52747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52756 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52758 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52759 for ac_func in finitel
52760 do :
52761 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52762 if test "x$ac_cv_func_finitel" = x""yes; then :
52763 cat >>confdefs.h <<_ACEOF
52764 #define HAVE_FINITEL 1
52765 _ACEOF
52768 done
52770 else
52772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52773 $as_echo_n "checking for _finitel declaration... " >&6; }
52774 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52775 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52776 $as_echo_n "(cached) " >&6
52777 else
52780 ac_ext=cpp
52781 ac_cpp='$CXXCPP $CPPFLAGS'
52782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52787 /* end confdefs.h. */
52788 #include <math.h>
52789 #ifdef HAVE_IEEEFP_H
52790 #include <ieeefp.h>
52791 #endif
52794 main ()
52796 _finitel(0);
52798 return 0;
52800 _ACEOF
52801 if ac_fn_cxx_try_compile "$LINENO"; then :
52802 glibcxx_cv_func__finitel_use=yes
52803 else
52804 glibcxx_cv_func__finitel_use=no
52806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52807 ac_ext=c
52808 ac_cpp='$CPP $CPPFLAGS'
52809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52818 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52820 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52821 for ac_func in _finitel
52822 do :
52823 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52824 if test "x$ac_cv_func__finitel" = x""yes; then :
52825 cat >>confdefs.h <<_ACEOF
52826 #define HAVE__FINITEL 1
52827 _ACEOF
52830 done
52838 LIBS="$ac_save_LIBS"
52839 CXXFLAGS="$ac_save_CXXFLAGS"
52842 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52843 ac_save_CXXFLAGS="$CXXFLAGS"
52844 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52848 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52849 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52850 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52851 $as_echo_n "(cached) " >&6
52852 else
52855 ac_ext=cpp
52856 ac_cpp='$CXXCPP $CPPFLAGS'
52857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52862 /* end confdefs.h. */
52863 #include <stdlib.h>
52865 main ()
52867 at_quick_exit(0);
52869 return 0;
52871 _ACEOF
52872 if ac_fn_cxx_try_compile "$LINENO"; then :
52873 glibcxx_cv_func_at_quick_exit_use=yes
52874 else
52875 glibcxx_cv_func_at_quick_exit_use=no
52877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52878 ac_ext=c
52879 ac_cpp='$CPP $CPPFLAGS'
52880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52889 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52890 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52891 for ac_func in at_quick_exit
52892 do :
52893 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52894 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52895 cat >>confdefs.h <<_ACEOF
52896 #define HAVE_AT_QUICK_EXIT 1
52897 _ACEOF
52900 done
52905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52906 $as_echo_n "checking for quick_exit declaration... " >&6; }
52907 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52908 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52909 $as_echo_n "(cached) " >&6
52910 else
52913 ac_ext=cpp
52914 ac_cpp='$CXXCPP $CPPFLAGS'
52915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52920 /* end confdefs.h. */
52921 #include <stdlib.h>
52923 main ()
52925 quick_exit(0);
52927 return 0;
52929 _ACEOF
52930 if ac_fn_cxx_try_compile "$LINENO"; then :
52931 glibcxx_cv_func_quick_exit_use=yes
52932 else
52933 glibcxx_cv_func_quick_exit_use=no
52935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52936 ac_ext=c
52937 ac_cpp='$CPP $CPPFLAGS'
52938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52947 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52948 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52949 for ac_func in quick_exit
52950 do :
52951 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52952 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52953 cat >>confdefs.h <<_ACEOF
52954 #define HAVE_QUICK_EXIT 1
52955 _ACEOF
52958 done
52963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52964 $as_echo_n "checking for strtold declaration... " >&6; }
52965 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52966 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52967 $as_echo_n "(cached) " >&6
52968 else
52971 ac_ext=cpp
52972 ac_cpp='$CXXCPP $CPPFLAGS'
52973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52978 /* end confdefs.h. */
52979 #include <stdlib.h>
52981 main ()
52983 strtold(0, 0);
52985 return 0;
52987 _ACEOF
52988 if ac_fn_cxx_try_compile "$LINENO"; then :
52989 glibcxx_cv_func_strtold_use=yes
52990 else
52991 glibcxx_cv_func_strtold_use=no
52993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52994 ac_ext=c
52995 ac_cpp='$CPP $CPPFLAGS'
52996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53005 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53006 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53007 for ac_func in strtold
53008 do :
53009 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53010 if test "x$ac_cv_func_strtold" = x""yes; then :
53011 cat >>confdefs.h <<_ACEOF
53012 #define HAVE_STRTOLD 1
53013 _ACEOF
53016 done
53023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53024 $as_echo_n "checking for strtof declaration... " >&6; }
53025 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53026 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53027 $as_echo_n "(cached) " >&6
53028 else
53031 ac_ext=cpp
53032 ac_cpp='$CXXCPP $CPPFLAGS'
53033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53038 /* end confdefs.h. */
53039 #include <stdlib.h>
53041 main ()
53043 strtof(0, 0);
53045 return 0;
53047 _ACEOF
53048 if ac_fn_cxx_try_compile "$LINENO"; then :
53049 glibcxx_cv_func_strtof_use=yes
53050 else
53051 glibcxx_cv_func_strtof_use=no
53053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53054 ac_ext=c
53055 ac_cpp='$CPP $CPPFLAGS'
53056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53065 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53066 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53067 for ac_func in strtof
53068 do :
53069 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53070 if test "x$ac_cv_func_strtof" = x""yes; then :
53071 cat >>confdefs.h <<_ACEOF
53072 #define HAVE_STRTOF 1
53073 _ACEOF
53076 done
53083 CXXFLAGS="$ac_save_CXXFLAGS"
53087 *djgpp)
53088 # GLIBCXX_CHECK_MATH_SUPPORT
53089 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53091 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53093 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53095 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53097 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53101 *-freebsd*)
53102 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53105 # If we're not using GNU ld, then there's no point in even trying these
53106 # tests. Check for that first. We should have already tested for gld
53107 # by now (in libtool), but require it now just to be safe...
53108 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53109 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53113 # The name set by libtool depends on the version of libtool. Shame on us
53114 # for depending on an impl detail, but c'est la vie. Older versions used
53115 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53116 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53117 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53118 # set (hence we're using an older libtool), then set it.
53119 if test x${with_gnu_ld+set} != xset; then
53120 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53121 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53122 with_gnu_ld=no
53123 else
53124 with_gnu_ld=$ac_cv_prog_gnu_ld
53128 # Start by getting the version number. I think the libtool test already
53129 # does some of this, but throws away the result.
53130 glibcxx_ld_is_gold=no
53131 if test x"$with_gnu_ld" = x"yes"; then
53132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53133 $as_echo_n "checking for ld version... " >&6; }
53135 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53136 glibcxx_ld_is_gold=yes
53138 ldver=`$LD --version 2>/dev/null |
53139 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'`
53141 glibcxx_gnu_ld_version=`echo $ldver | \
53142 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53144 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53147 # Set --gc-sections.
53148 glibcxx_have_gc_sections=no
53149 if test "$glibcxx_ld_is_gold" = "yes"; then
53150 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53151 glibcxx_have_gc_sections=yes
53153 else
53154 glibcxx_gcsections_min_ld=21602
53155 if test x"$with_gnu_ld" = x"yes" &&
53156 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53157 glibcxx_have_gc_sections=yes
53160 if test "$glibcxx_have_gc_sections" = "yes"; then
53161 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53162 # NB: This flag only works reliably after 2.16.1. Configure tests
53163 # for this are difficult, so hard wire a value that should work.
53165 ac_test_CFLAGS="${CFLAGS+set}"
53166 ac_save_CFLAGS="$CFLAGS"
53167 CFLAGS='-Wl,--gc-sections'
53169 # Check for -Wl,--gc-sections
53170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53171 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53172 if test x$gcc_no_link = xyes; then
53173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53176 /* end confdefs.h. */
53177 int one(void) { return 1; }
53178 int two(void) { return 2; }
53181 main ()
53183 two();
53185 return 0;
53187 _ACEOF
53188 if ac_fn_c_try_link "$LINENO"; then :
53189 ac_gcsections=yes
53190 else
53191 ac_gcsections=no
53193 rm -f core conftest.err conftest.$ac_objext \
53194 conftest$ac_exeext conftest.$ac_ext
53195 if test "$ac_gcsections" = "yes"; then
53196 rm -f conftest.c
53197 touch conftest.c
53198 if $CC -c conftest.c; then
53199 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53200 grep "Warning: gc-sections option ignored" > /dev/null; then
53201 ac_gcsections=no
53204 rm -f conftest.c conftest.o conftest
53206 if test "$ac_gcsections" = "yes"; then
53207 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53210 $as_echo "$ac_gcsections" >&6; }
53212 if test "$ac_test_CFLAGS" = set; then
53213 CFLAGS="$ac_save_CFLAGS"
53214 else
53215 # this is the suspicious part
53216 CFLAGS=''
53220 # Set -z,relro.
53221 # Note this is only for shared objects.
53222 ac_ld_relro=no
53223 if test x"$with_gnu_ld" = x"yes"; then
53224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53225 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53226 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53227 if test -n "$cxx_z_relo"; then
53228 OPT_LDFLAGS="-Wl,-z,relro"
53229 ac_ld_relro=yes
53231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53232 $as_echo "$ac_ld_relro" >&6; }
53235 # Set linker optimization flags.
53236 if test x"$with_gnu_ld" = x"yes"; then
53237 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53243 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53245 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53247 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53249 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53251 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53253 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53255 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53257 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53259 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53262 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53264 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53266 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53268 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53270 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53272 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53274 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53276 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53278 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53280 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53282 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53284 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53286 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53288 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53290 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53292 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53294 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53296 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53298 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53300 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53302 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53304 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53306 if test x"long_double_math_on_this_cpu" = x"yes"; then
53307 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53309 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53311 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53314 for ac_func in __cxa_thread_atexit
53315 do :
53316 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53317 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53318 cat >>confdefs.h <<_ACEOF
53319 #define HAVE___CXA_THREAD_ATEXIT 1
53320 _ACEOF
53323 done
53326 *-hpux*)
53327 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53330 # If we're not using GNU ld, then there's no point in even trying these
53331 # tests. Check for that first. We should have already tested for gld
53332 # by now (in libtool), but require it now just to be safe...
53333 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53334 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53338 # The name set by libtool depends on the version of libtool. Shame on us
53339 # for depending on an impl detail, but c'est la vie. Older versions used
53340 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53341 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53342 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53343 # set (hence we're using an older libtool), then set it.
53344 if test x${with_gnu_ld+set} != xset; then
53345 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53346 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53347 with_gnu_ld=no
53348 else
53349 with_gnu_ld=$ac_cv_prog_gnu_ld
53353 # Start by getting the version number. I think the libtool test already
53354 # does some of this, but throws away the result.
53355 glibcxx_ld_is_gold=no
53356 if test x"$with_gnu_ld" = x"yes"; then
53357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53358 $as_echo_n "checking for ld version... " >&6; }
53360 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53361 glibcxx_ld_is_gold=yes
53363 ldver=`$LD --version 2>/dev/null |
53364 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'`
53366 glibcxx_gnu_ld_version=`echo $ldver | \
53367 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53369 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53372 # Set --gc-sections.
53373 glibcxx_have_gc_sections=no
53374 if test "$glibcxx_ld_is_gold" = "yes"; then
53375 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53376 glibcxx_have_gc_sections=yes
53378 else
53379 glibcxx_gcsections_min_ld=21602
53380 if test x"$with_gnu_ld" = x"yes" &&
53381 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53382 glibcxx_have_gc_sections=yes
53385 if test "$glibcxx_have_gc_sections" = "yes"; then
53386 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53387 # NB: This flag only works reliably after 2.16.1. Configure tests
53388 # for this are difficult, so hard wire a value that should work.
53390 ac_test_CFLAGS="${CFLAGS+set}"
53391 ac_save_CFLAGS="$CFLAGS"
53392 CFLAGS='-Wl,--gc-sections'
53394 # Check for -Wl,--gc-sections
53395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53396 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53397 if test x$gcc_no_link = xyes; then
53398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53401 /* end confdefs.h. */
53402 int one(void) { return 1; }
53403 int two(void) { return 2; }
53406 main ()
53408 two();
53410 return 0;
53412 _ACEOF
53413 if ac_fn_c_try_link "$LINENO"; then :
53414 ac_gcsections=yes
53415 else
53416 ac_gcsections=no
53418 rm -f core conftest.err conftest.$ac_objext \
53419 conftest$ac_exeext conftest.$ac_ext
53420 if test "$ac_gcsections" = "yes"; then
53421 rm -f conftest.c
53422 touch conftest.c
53423 if $CC -c conftest.c; then
53424 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53425 grep "Warning: gc-sections option ignored" > /dev/null; then
53426 ac_gcsections=no
53429 rm -f conftest.c conftest.o conftest
53431 if test "$ac_gcsections" = "yes"; then
53432 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53435 $as_echo "$ac_gcsections" >&6; }
53437 if test "$ac_test_CFLAGS" = set; then
53438 CFLAGS="$ac_save_CFLAGS"
53439 else
53440 # this is the suspicious part
53441 CFLAGS=''
53445 # Set -z,relro.
53446 # Note this is only for shared objects.
53447 ac_ld_relro=no
53448 if test x"$with_gnu_ld" = x"yes"; then
53449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53450 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53451 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53452 if test -n "$cxx_z_relo"; then
53453 OPT_LDFLAGS="-Wl,-z,relro"
53454 ac_ld_relro=yes
53456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53457 $as_echo "$ac_ld_relro" >&6; }
53460 # Set linker optimization flags.
53461 if test x"$with_gnu_ld" = x"yes"; then
53462 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53469 # GLIBCXX_CHECK_MATH_SUPPORT
53470 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53472 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53474 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53476 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53478 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53480 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53482 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53484 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53486 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53488 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53490 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53492 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53494 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53496 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53498 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53500 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53502 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53504 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53506 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53508 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53510 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53513 # GLIBCXX_CHECK_STDLIB_SUPPORT
53514 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53519 # Check whether --enable-tls was given.
53520 if test "${enable_tls+set}" = set; then :
53521 enableval=$enable_tls;
53522 case "$enableval" in
53523 yes|no) ;;
53524 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53525 esac
53527 else
53528 enable_tls=yes
53532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53533 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53534 if test "${gcc_cv_have_tls+set}" = set; then :
53535 $as_echo_n "(cached) " >&6
53536 else
53538 if test "$cross_compiling" = yes; then :
53539 if test x$gcc_no_link = xyes; then
53540 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53543 /* end confdefs.h. */
53544 __thread int a; int b; int main() { return a = b; }
53545 _ACEOF
53546 if ac_fn_c_try_link "$LINENO"; then :
53547 chktls_save_LDFLAGS="$LDFLAGS"
53548 case $host in
53549 *-*-linux*)
53550 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53552 esac
53553 chktls_save_CFLAGS="$CFLAGS"
53554 CFLAGS="-fPIC $CFLAGS"
53555 if test x$gcc_no_link = xyes; then
53556 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53559 /* end confdefs.h. */
53560 int f() { return 0; }
53561 _ACEOF
53562 if ac_fn_c_try_link "$LINENO"; then :
53563 if test x$gcc_no_link = xyes; then
53564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53567 /* end confdefs.h. */
53568 __thread int a; int b; int f() { return a = b; }
53569 _ACEOF
53570 if ac_fn_c_try_link "$LINENO"; then :
53571 gcc_cv_have_tls=yes
53572 else
53573 gcc_cv_have_tls=no
53575 rm -f core conftest.err conftest.$ac_objext \
53576 conftest$ac_exeext conftest.$ac_ext
53577 else
53578 gcc_cv_have_tls=yes
53580 rm -f core conftest.err conftest.$ac_objext \
53581 conftest$ac_exeext conftest.$ac_ext
53582 CFLAGS="$chktls_save_CFLAGS"
53583 LDFLAGS="$chktls_save_LDFLAGS"
53584 else
53585 gcc_cv_have_tls=no
53587 rm -f core conftest.err conftest.$ac_objext \
53588 conftest$ac_exeext conftest.$ac_ext
53591 else
53592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53593 /* end confdefs.h. */
53594 __thread int a; int b; int main() { return a = b; }
53595 _ACEOF
53596 if ac_fn_c_try_run "$LINENO"; then :
53597 chktls_save_LDFLAGS="$LDFLAGS"
53598 LDFLAGS="-static $LDFLAGS"
53599 if test x$gcc_no_link = xyes; then
53600 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53603 /* end confdefs.h. */
53604 int main() { return 0; }
53605 _ACEOF
53606 if ac_fn_c_try_link "$LINENO"; then :
53607 if test "$cross_compiling" = yes; then :
53608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53610 as_fn_error "cannot run test program while cross compiling
53611 See \`config.log' for more details." "$LINENO" 5; }
53612 else
53613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53614 /* end confdefs.h. */
53615 __thread int a; int b; int main() { return a = b; }
53616 _ACEOF
53617 if ac_fn_c_try_run "$LINENO"; then :
53618 gcc_cv_have_tls=yes
53619 else
53620 gcc_cv_have_tls=no
53622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53623 conftest.$ac_objext conftest.beam conftest.$ac_ext
53626 else
53627 gcc_cv_have_tls=yes
53629 rm -f core conftest.err conftest.$ac_objext \
53630 conftest$ac_exeext conftest.$ac_ext
53631 LDFLAGS="$chktls_save_LDFLAGS"
53632 if test $gcc_cv_have_tls = yes; then
53633 chktls_save_CFLAGS="$CFLAGS"
53634 thread_CFLAGS=failed
53635 for flag in '' '-pthread' '-lpthread'; do
53636 CFLAGS="$flag $chktls_save_CFLAGS"
53637 if test x$gcc_no_link = xyes; then
53638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53641 /* end confdefs.h. */
53642 #include <pthread.h>
53643 void *g(void *d) { return NULL; }
53645 main ()
53647 pthread_t t; pthread_create(&t,NULL,g,NULL);
53649 return 0;
53651 _ACEOF
53652 if ac_fn_c_try_link "$LINENO"; then :
53653 thread_CFLAGS="$flag"
53655 rm -f core conftest.err conftest.$ac_objext \
53656 conftest$ac_exeext conftest.$ac_ext
53657 if test "X$thread_CFLAGS" != Xfailed; then
53658 break
53660 done
53661 CFLAGS="$chktls_save_CFLAGS"
53662 if test "X$thread_CFLAGS" != Xfailed; then
53663 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53664 if test "$cross_compiling" = yes; then :
53665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53667 as_fn_error "cannot run test program while cross compiling
53668 See \`config.log' for more details." "$LINENO" 5; }
53669 else
53670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53671 /* end confdefs.h. */
53672 #include <pthread.h>
53673 __thread int a;
53674 static int *volatile a_in_other_thread;
53675 static void *
53676 thread_func (void *arg)
53678 a_in_other_thread = &a;
53679 return (void *)0;
53682 main ()
53684 pthread_t thread;
53685 void *thread_retval;
53686 int *volatile a_in_main_thread;
53687 a_in_main_thread = &a;
53688 if (pthread_create (&thread, (pthread_attr_t *)0,
53689 thread_func, (void *)0))
53690 return 0;
53691 if (pthread_join (thread, &thread_retval))
53692 return 0;
53693 return (a_in_other_thread == a_in_main_thread);
53695 return 0;
53697 _ACEOF
53698 if ac_fn_c_try_run "$LINENO"; then :
53699 gcc_cv_have_tls=yes
53700 else
53701 gcc_cv_have_tls=no
53703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53704 conftest.$ac_objext conftest.beam conftest.$ac_ext
53707 CFLAGS="$chktls_save_CFLAGS"
53710 else
53711 gcc_cv_have_tls=no
53713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53714 conftest.$ac_objext conftest.beam conftest.$ac_ext
53718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53719 $as_echo "$gcc_cv_have_tls" >&6; }
53720 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53722 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53725 case "$target" in
53726 *-hpux10*)
53727 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53729 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53731 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53733 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53735 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53738 esac
53740 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin*)
53742 # All these tests are for C++; save the language and the compiler flags.
53743 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53744 # found in GLIBCXX_CONFIGURE.
53746 ac_ext=cpp
53747 ac_cpp='$CXXCPP $CPPFLAGS'
53748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53752 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53753 ac_save_CXXFLAGS="$CXXFLAGS"
53755 # Check for maintainer-mode bits.
53756 if test x"$USE_MAINTAINER_MODE" = xno; then
53757 WERROR=''
53758 else
53759 WERROR='-Werror'
53762 # Check for -ffunction-sections -fdata-sections
53763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53764 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53765 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53767 /* end confdefs.h. */
53768 int foo; void bar() { };
53770 main ()
53774 return 0;
53776 _ACEOF
53777 if ac_fn_cxx_try_compile "$LINENO"; then :
53778 ac_fdsections=yes
53779 else
53780 ac_fdsections=no
53782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53783 if test "$ac_test_CXXFLAGS" = set; then
53784 CXXFLAGS="$ac_save_CXXFLAGS"
53785 else
53786 # this is the suspicious part
53787 CXXFLAGS=''
53789 if test x"$ac_fdsections" = x"yes"; then
53790 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53793 $as_echo "$ac_fdsections" >&6; }
53795 ac_ext=c
53796 ac_cpp='$CPP $CPPFLAGS'
53797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53805 # If we're not using GNU ld, then there's no point in even trying these
53806 # tests. Check for that first. We should have already tested for gld
53807 # by now (in libtool), but require it now just to be safe...
53808 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53809 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53813 # The name set by libtool depends on the version of libtool. Shame on us
53814 # for depending on an impl detail, but c'est la vie. Older versions used
53815 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53816 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53817 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53818 # set (hence we're using an older libtool), then set it.
53819 if test x${with_gnu_ld+set} != xset; then
53820 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53821 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53822 with_gnu_ld=no
53823 else
53824 with_gnu_ld=$ac_cv_prog_gnu_ld
53828 # Start by getting the version number. I think the libtool test already
53829 # does some of this, but throws away the result.
53830 glibcxx_ld_is_gold=no
53831 if test x"$with_gnu_ld" = x"yes"; then
53832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53833 $as_echo_n "checking for ld version... " >&6; }
53835 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53836 glibcxx_ld_is_gold=yes
53838 ldver=`$LD --version 2>/dev/null |
53839 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'`
53841 glibcxx_gnu_ld_version=`echo $ldver | \
53842 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53844 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53847 # Set --gc-sections.
53848 glibcxx_have_gc_sections=no
53849 if test "$glibcxx_ld_is_gold" = "yes"; then
53850 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53851 glibcxx_have_gc_sections=yes
53853 else
53854 glibcxx_gcsections_min_ld=21602
53855 if test x"$with_gnu_ld" = x"yes" &&
53856 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53857 glibcxx_have_gc_sections=yes
53860 if test "$glibcxx_have_gc_sections" = "yes"; then
53861 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53862 # NB: This flag only works reliably after 2.16.1. Configure tests
53863 # for this are difficult, so hard wire a value that should work.
53865 ac_test_CFLAGS="${CFLAGS+set}"
53866 ac_save_CFLAGS="$CFLAGS"
53867 CFLAGS='-Wl,--gc-sections'
53869 # Check for -Wl,--gc-sections
53870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53871 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53872 if test x$gcc_no_link = xyes; then
53873 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53876 /* end confdefs.h. */
53877 int one(void) { return 1; }
53878 int two(void) { return 2; }
53881 main ()
53883 two();
53885 return 0;
53887 _ACEOF
53888 if ac_fn_c_try_link "$LINENO"; then :
53889 ac_gcsections=yes
53890 else
53891 ac_gcsections=no
53893 rm -f core conftest.err conftest.$ac_objext \
53894 conftest$ac_exeext conftest.$ac_ext
53895 if test "$ac_gcsections" = "yes"; then
53896 rm -f conftest.c
53897 touch conftest.c
53898 if $CC -c conftest.c; then
53899 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53900 grep "Warning: gc-sections option ignored" > /dev/null; then
53901 ac_gcsections=no
53904 rm -f conftest.c conftest.o conftest
53906 if test "$ac_gcsections" = "yes"; then
53907 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53910 $as_echo "$ac_gcsections" >&6; }
53912 if test "$ac_test_CFLAGS" = set; then
53913 CFLAGS="$ac_save_CFLAGS"
53914 else
53915 # this is the suspicious part
53916 CFLAGS=''
53920 # Set -z,relro.
53921 # Note this is only for shared objects.
53922 ac_ld_relro=no
53923 if test x"$with_gnu_ld" = x"yes"; then
53924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53925 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53926 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53927 if test -n "$cxx_z_relo"; then
53928 OPT_LDFLAGS="-Wl,-z,relro"
53929 ac_ld_relro=yes
53931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53932 $as_echo "$ac_ld_relro" >&6; }
53935 # Set linker optimization flags.
53936 if test x"$with_gnu_ld" = x"yes"; then
53937 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53944 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53945 ac_save_CXXFLAGS="$CXXFLAGS"
53946 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53949 $as_echo_n "checking for sin in -lm... " >&6; }
53950 if test "${ac_cv_lib_m_sin+set}" = set; then :
53951 $as_echo_n "(cached) " >&6
53952 else
53953 ac_check_lib_save_LIBS=$LIBS
53954 LIBS="-lm $LIBS"
53955 if test x$gcc_no_link = xyes; then
53956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53959 /* end confdefs.h. */
53961 /* Override any GCC internal prototype to avoid an error.
53962 Use char because int might match the return type of a GCC
53963 builtin and then its argument prototype would still apply. */
53964 #ifdef __cplusplus
53965 extern "C"
53966 #endif
53967 char sin ();
53969 main ()
53971 return sin ();
53973 return 0;
53975 _ACEOF
53976 if ac_fn_c_try_link "$LINENO"; then :
53977 ac_cv_lib_m_sin=yes
53978 else
53979 ac_cv_lib_m_sin=no
53981 rm -f core conftest.err conftest.$ac_objext \
53982 conftest$ac_exeext conftest.$ac_ext
53983 LIBS=$ac_check_lib_save_LIBS
53985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53986 $as_echo "$ac_cv_lib_m_sin" >&6; }
53987 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53988 libm="-lm"
53991 ac_save_LIBS="$LIBS"
53992 LIBS="$LIBS $libm"
53996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
53997 $as_echo_n "checking for isinf declaration... " >&6; }
53998 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53999 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54000 $as_echo_n "(cached) " >&6
54001 else
54004 ac_ext=cpp
54005 ac_cpp='$CXXCPP $CPPFLAGS'
54006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54011 /* end confdefs.h. */
54012 #include <math.h>
54013 #ifdef HAVE_IEEEFP_H
54014 #include <ieeefp.h>
54015 #endif
54018 main ()
54020 isinf(0);
54022 return 0;
54024 _ACEOF
54025 if ac_fn_cxx_try_compile "$LINENO"; then :
54026 glibcxx_cv_func_isinf_use=yes
54027 else
54028 glibcxx_cv_func_isinf_use=no
54030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54031 ac_ext=c
54032 ac_cpp='$CPP $CPPFLAGS'
54033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54042 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54044 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54045 for ac_func in isinf
54046 do :
54047 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54048 if test "x$ac_cv_func_isinf" = x""yes; then :
54049 cat >>confdefs.h <<_ACEOF
54050 #define HAVE_ISINF 1
54051 _ACEOF
54054 done
54056 else
54058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54059 $as_echo_n "checking for _isinf declaration... " >&6; }
54060 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54061 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54062 $as_echo_n "(cached) " >&6
54063 else
54066 ac_ext=cpp
54067 ac_cpp='$CXXCPP $CPPFLAGS'
54068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54073 /* end confdefs.h. */
54074 #include <math.h>
54075 #ifdef HAVE_IEEEFP_H
54076 #include <ieeefp.h>
54077 #endif
54080 main ()
54082 _isinf(0);
54084 return 0;
54086 _ACEOF
54087 if ac_fn_cxx_try_compile "$LINENO"; then :
54088 glibcxx_cv_func__isinf_use=yes
54089 else
54090 glibcxx_cv_func__isinf_use=no
54092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54093 ac_ext=c
54094 ac_cpp='$CPP $CPPFLAGS'
54095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54104 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54106 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54107 for ac_func in _isinf
54108 do :
54109 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54110 if test "x$ac_cv_func__isinf" = x""yes; then :
54111 cat >>confdefs.h <<_ACEOF
54112 #define HAVE__ISINF 1
54113 _ACEOF
54116 done
54125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54126 $as_echo_n "checking for isnan declaration... " >&6; }
54127 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54128 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54129 $as_echo_n "(cached) " >&6
54130 else
54133 ac_ext=cpp
54134 ac_cpp='$CXXCPP $CPPFLAGS'
54135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54140 /* end confdefs.h. */
54141 #include <math.h>
54142 #ifdef HAVE_IEEEFP_H
54143 #include <ieeefp.h>
54144 #endif
54147 main ()
54149 isnan(0);
54151 return 0;
54153 _ACEOF
54154 if ac_fn_cxx_try_compile "$LINENO"; then :
54155 glibcxx_cv_func_isnan_use=yes
54156 else
54157 glibcxx_cv_func_isnan_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_isnan_use" >&5
54171 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54173 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54174 for ac_func in isnan
54175 do :
54176 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54177 if test "x$ac_cv_func_isnan" = x""yes; then :
54178 cat >>confdefs.h <<_ACEOF
54179 #define HAVE_ISNAN 1
54180 _ACEOF
54183 done
54185 else
54187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54188 $as_echo_n "checking for _isnan declaration... " >&6; }
54189 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54190 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54191 $as_echo_n "(cached) " >&6
54192 else
54195 ac_ext=cpp
54196 ac_cpp='$CXXCPP $CPPFLAGS'
54197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54202 /* end confdefs.h. */
54203 #include <math.h>
54204 #ifdef HAVE_IEEEFP_H
54205 #include <ieeefp.h>
54206 #endif
54209 main ()
54211 _isnan(0);
54213 return 0;
54215 _ACEOF
54216 if ac_fn_cxx_try_compile "$LINENO"; then :
54217 glibcxx_cv_func__isnan_use=yes
54218 else
54219 glibcxx_cv_func__isnan_use=no
54221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54222 ac_ext=c
54223 ac_cpp='$CPP $CPPFLAGS'
54224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54233 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54235 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54236 for ac_func in _isnan
54237 do :
54238 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54239 if test "x$ac_cv_func__isnan" = x""yes; then :
54240 cat >>confdefs.h <<_ACEOF
54241 #define HAVE__ISNAN 1
54242 _ACEOF
54245 done
54254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54255 $as_echo_n "checking for finite declaration... " >&6; }
54256 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54257 if test "${glibcxx_cv_func_finite_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 finite(0);
54280 return 0;
54282 _ACEOF
54283 if ac_fn_cxx_try_compile "$LINENO"; then :
54284 glibcxx_cv_func_finite_use=yes
54285 else
54286 glibcxx_cv_func_finite_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_finite_use" >&5
54300 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54302 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54303 for ac_func in finite
54304 do :
54305 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54306 if test "x$ac_cv_func_finite" = x""yes; then :
54307 cat >>confdefs.h <<_ACEOF
54308 #define HAVE_FINITE 1
54309 _ACEOF
54312 done
54314 else
54316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54317 $as_echo_n "checking for _finite declaration... " >&6; }
54318 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54319 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54320 $as_echo_n "(cached) " >&6
54321 else
54324 ac_ext=cpp
54325 ac_cpp='$CXXCPP $CPPFLAGS'
54326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54331 /* end confdefs.h. */
54332 #include <math.h>
54333 #ifdef HAVE_IEEEFP_H
54334 #include <ieeefp.h>
54335 #endif
54338 main ()
54340 _finite(0);
54342 return 0;
54344 _ACEOF
54345 if ac_fn_cxx_try_compile "$LINENO"; then :
54346 glibcxx_cv_func__finite_use=yes
54347 else
54348 glibcxx_cv_func__finite_use=no
54350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54351 ac_ext=c
54352 ac_cpp='$CPP $CPPFLAGS'
54353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54362 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54364 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54365 for ac_func in _finite
54366 do :
54367 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54368 if test "x$ac_cv_func__finite" = x""yes; then :
54369 cat >>confdefs.h <<_ACEOF
54370 #define HAVE__FINITE 1
54371 _ACEOF
54374 done
54383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54384 $as_echo_n "checking for sincos declaration... " >&6; }
54385 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54386 if test "${glibcxx_cv_func_sincos_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>
54401 main ()
54403 sincos(0, 0, 0);
54405 return 0;
54407 _ACEOF
54408 if ac_fn_cxx_try_compile "$LINENO"; then :
54409 glibcxx_cv_func_sincos_use=yes
54410 else
54411 glibcxx_cv_func_sincos_use=no
54413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54414 ac_ext=c
54415 ac_cpp='$CPP $CPPFLAGS'
54416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54425 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54427 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54428 for ac_func in sincos
54429 do :
54430 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54431 if test "x$ac_cv_func_sincos" = x""yes; then :
54432 cat >>confdefs.h <<_ACEOF
54433 #define HAVE_SINCOS 1
54434 _ACEOF
54437 done
54439 else
54441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54442 $as_echo_n "checking for _sincos declaration... " >&6; }
54443 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54444 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54445 $as_echo_n "(cached) " >&6
54446 else
54449 ac_ext=cpp
54450 ac_cpp='$CXXCPP $CPPFLAGS'
54451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54456 /* end confdefs.h. */
54457 #include <math.h>
54459 main ()
54461 _sincos(0, 0, 0);
54463 return 0;
54465 _ACEOF
54466 if ac_fn_cxx_try_compile "$LINENO"; then :
54467 glibcxx_cv_func__sincos_use=yes
54468 else
54469 glibcxx_cv_func__sincos_use=no
54471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54472 ac_ext=c
54473 ac_cpp='$CPP $CPPFLAGS'
54474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54483 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54485 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54486 for ac_func in _sincos
54487 do :
54488 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54489 if test "x$ac_cv_func__sincos" = x""yes; then :
54490 cat >>confdefs.h <<_ACEOF
54491 #define HAVE__SINCOS 1
54492 _ACEOF
54495 done
54504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54505 $as_echo_n "checking for fpclass declaration... " >&6; }
54506 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54507 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54508 $as_echo_n "(cached) " >&6
54509 else
54512 ac_ext=cpp
54513 ac_cpp='$CXXCPP $CPPFLAGS'
54514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54519 /* end confdefs.h. */
54520 #include <math.h>
54521 #ifdef HAVE_IEEEFP_H
54522 #include <ieeefp.h>
54523 #endif
54526 main ()
54528 fpclass(0);
54530 return 0;
54532 _ACEOF
54533 if ac_fn_cxx_try_compile "$LINENO"; then :
54534 glibcxx_cv_func_fpclass_use=yes
54535 else
54536 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
54550 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54552 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54553 for ac_func in fpclass
54554 do :
54555 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54556 if test "x$ac_cv_func_fpclass" = x""yes; then :
54557 cat >>confdefs.h <<_ACEOF
54558 #define HAVE_FPCLASS 1
54559 _ACEOF
54562 done
54564 else
54566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54567 $as_echo_n "checking for _fpclass declaration... " >&6; }
54568 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54569 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54570 $as_echo_n "(cached) " >&6
54571 else
54574 ac_ext=cpp
54575 ac_cpp='$CXXCPP $CPPFLAGS'
54576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54581 /* end confdefs.h. */
54582 #include <math.h>
54583 #ifdef HAVE_IEEEFP_H
54584 #include <ieeefp.h>
54585 #endif
54588 main ()
54590 _fpclass(0);
54592 return 0;
54594 _ACEOF
54595 if ac_fn_cxx_try_compile "$LINENO"; then :
54596 glibcxx_cv_func__fpclass_use=yes
54597 else
54598 glibcxx_cv_func__fpclass_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
54611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54612 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54614 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54615 for ac_func in _fpclass
54616 do :
54617 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54618 if test "x$ac_cv_func__fpclass" = x""yes; then :
54619 cat >>confdefs.h <<_ACEOF
54620 #define HAVE__FPCLASS 1
54621 _ACEOF
54624 done
54633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54634 $as_echo_n "checking for qfpclass declaration... " >&6; }
54635 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54636 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54637 $as_echo_n "(cached) " >&6
54638 else
54641 ac_ext=cpp
54642 ac_cpp='$CXXCPP $CPPFLAGS'
54643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54648 /* end confdefs.h. */
54649 #include <math.h>
54650 #ifdef HAVE_IEEEFP_H
54651 #include <ieeefp.h>
54652 #endif
54655 main ()
54657 qfpclass(0);
54659 return 0;
54661 _ACEOF
54662 if ac_fn_cxx_try_compile "$LINENO"; then :
54663 glibcxx_cv_func_qfpclass_use=yes
54664 else
54665 glibcxx_cv_func_qfpclass_use=no
54667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54668 ac_ext=c
54669 ac_cpp='$CPP $CPPFLAGS'
54670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54679 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54681 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54682 for ac_func in qfpclass
54683 do :
54684 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54685 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54686 cat >>confdefs.h <<_ACEOF
54687 #define HAVE_QFPCLASS 1
54688 _ACEOF
54691 done
54693 else
54695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54696 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54697 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54698 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54699 $as_echo_n "(cached) " >&6
54700 else
54703 ac_ext=cpp
54704 ac_cpp='$CXXCPP $CPPFLAGS'
54705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54710 /* end confdefs.h. */
54711 #include <math.h>
54712 #ifdef HAVE_IEEEFP_H
54713 #include <ieeefp.h>
54714 #endif
54717 main ()
54719 _qfpclass(0);
54721 return 0;
54723 _ACEOF
54724 if ac_fn_cxx_try_compile "$LINENO"; then :
54725 glibcxx_cv_func__qfpclass_use=yes
54726 else
54727 glibcxx_cv_func__qfpclass_use=no
54729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54730 ac_ext=c
54731 ac_cpp='$CPP $CPPFLAGS'
54732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54741 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54743 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54744 for ac_func in _qfpclass
54745 do :
54746 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54747 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54748 cat >>confdefs.h <<_ACEOF
54749 #define HAVE__QFPCLASS 1
54750 _ACEOF
54753 done
54762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54763 $as_echo_n "checking for hypot declaration... " >&6; }
54764 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54765 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54766 $as_echo_n "(cached) " >&6
54767 else
54770 ac_ext=cpp
54771 ac_cpp='$CXXCPP $CPPFLAGS'
54772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54777 /* end confdefs.h. */
54778 #include <math.h>
54780 main ()
54782 hypot(0, 0);
54784 return 0;
54786 _ACEOF
54787 if ac_fn_cxx_try_compile "$LINENO"; then :
54788 glibcxx_cv_func_hypot_use=yes
54789 else
54790 glibcxx_cv_func_hypot_use=no
54792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54793 ac_ext=c
54794 ac_cpp='$CPP $CPPFLAGS'
54795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54804 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54806 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54807 for ac_func in hypot
54808 do :
54809 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54810 if test "x$ac_cv_func_hypot" = x""yes; then :
54811 cat >>confdefs.h <<_ACEOF
54812 #define HAVE_HYPOT 1
54813 _ACEOF
54816 done
54818 else
54820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54821 $as_echo_n "checking for _hypot declaration... " >&6; }
54822 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54823 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54824 $as_echo_n "(cached) " >&6
54825 else
54828 ac_ext=cpp
54829 ac_cpp='$CXXCPP $CPPFLAGS'
54830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54835 /* end confdefs.h. */
54836 #include <math.h>
54838 main ()
54840 _hypot(0, 0);
54842 return 0;
54844 _ACEOF
54845 if ac_fn_cxx_try_compile "$LINENO"; then :
54846 glibcxx_cv_func__hypot_use=yes
54847 else
54848 glibcxx_cv_func__hypot_use=no
54850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54851 ac_ext=c
54852 ac_cpp='$CPP $CPPFLAGS'
54853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54862 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54864 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54865 for ac_func in _hypot
54866 do :
54867 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54868 if test "x$ac_cv_func__hypot" = x""yes; then :
54869 cat >>confdefs.h <<_ACEOF
54870 #define HAVE__HYPOT 1
54871 _ACEOF
54874 done
54883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54884 $as_echo_n "checking for float trig functions... " >&6; }
54885 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54886 $as_echo_n "(cached) " >&6
54887 else
54890 ac_ext=cpp
54891 ac_cpp='$CXXCPP $CPPFLAGS'
54892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54897 /* end confdefs.h. */
54898 #include <math.h>
54900 main ()
54902 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54904 return 0;
54906 _ACEOF
54907 if ac_fn_cxx_try_compile "$LINENO"; then :
54908 glibcxx_cv_func_float_trig_use=yes
54909 else
54910 glibcxx_cv_func_float_trig_use=no
54912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54913 ac_ext=c
54914 ac_cpp='$CPP $CPPFLAGS'
54915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54922 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54923 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54924 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54925 do :
54926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54928 eval as_val=\$$as_ac_var
54929 if test "x$as_val" = x""yes; then :
54930 cat >>confdefs.h <<_ACEOF
54931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54932 _ACEOF
54935 done
54937 else
54938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54939 $as_echo_n "checking for _float trig functions... " >&6; }
54940 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54941 $as_echo_n "(cached) " >&6
54942 else
54945 ac_ext=cpp
54946 ac_cpp='$CXXCPP $CPPFLAGS'
54947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54952 /* end confdefs.h. */
54953 #include <math.h>
54955 main ()
54957 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54959 return 0;
54961 _ACEOF
54962 if ac_fn_cxx_try_compile "$LINENO"; then :
54963 glibcxx_cv_func__float_trig_use=yes
54964 else
54965 glibcxx_cv_func__float_trig_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
54976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54977 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54978 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54979 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54980 do :
54981 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54983 eval as_val=\$$as_ac_var
54984 if test "x$as_val" = x""yes; then :
54985 cat >>confdefs.h <<_ACEOF
54986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54987 _ACEOF
54990 done
54999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55000 $as_echo_n "checking for float round functions... " >&6; }
55001 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55002 $as_echo_n "(cached) " >&6
55003 else
55006 ac_ext=cpp
55007 ac_cpp='$CXXCPP $CPPFLAGS'
55008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55013 /* end confdefs.h. */
55014 #include <math.h>
55016 main ()
55018 ceilf (0); floorf (0);
55020 return 0;
55022 _ACEOF
55023 if ac_fn_cxx_try_compile "$LINENO"; then :
55024 glibcxx_cv_func_float_round_use=yes
55025 else
55026 glibcxx_cv_func_float_round_use=no
55028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55029 ac_ext=c
55030 ac_cpp='$CPP $CPPFLAGS'
55031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55038 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55039 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55040 for ac_func in ceilf floorf
55041 do :
55042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55044 eval as_val=\$$as_ac_var
55045 if test "x$as_val" = x""yes; then :
55046 cat >>confdefs.h <<_ACEOF
55047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55048 _ACEOF
55051 done
55053 else
55054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55055 $as_echo_n "checking for _float round functions... " >&6; }
55056 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55057 $as_echo_n "(cached) " >&6
55058 else
55061 ac_ext=cpp
55062 ac_cpp='$CXXCPP $CPPFLAGS'
55063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55068 /* end confdefs.h. */
55069 #include <math.h>
55071 main ()
55073 _ceilf (0); _floorf (0);
55075 return 0;
55077 _ACEOF
55078 if ac_fn_cxx_try_compile "$LINENO"; then :
55079 glibcxx_cv_func__float_round_use=yes
55080 else
55081 glibcxx_cv_func__float_round_use=no
55083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55084 ac_ext=c
55085 ac_cpp='$CPP $CPPFLAGS'
55086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55093 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55094 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55095 for ac_func in _ceilf _floorf
55096 do :
55097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55099 eval as_val=\$$as_ac_var
55100 if test "x$as_val" = x""yes; then :
55101 cat >>confdefs.h <<_ACEOF
55102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55103 _ACEOF
55106 done
55116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55117 $as_echo_n "checking for expf declaration... " >&6; }
55118 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55119 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55120 $as_echo_n "(cached) " >&6
55121 else
55124 ac_ext=cpp
55125 ac_cpp='$CXXCPP $CPPFLAGS'
55126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55131 /* end confdefs.h. */
55132 #include <math.h>
55133 #ifdef HAVE_IEEEFP_H
55134 #include <ieeefp.h>
55135 #endif
55138 main ()
55140 expf(0);
55142 return 0;
55144 _ACEOF
55145 if ac_fn_cxx_try_compile "$LINENO"; then :
55146 glibcxx_cv_func_expf_use=yes
55147 else
55148 glibcxx_cv_func_expf_use=no
55150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55151 ac_ext=c
55152 ac_cpp='$CPP $CPPFLAGS'
55153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55162 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55164 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55165 for ac_func in expf
55166 do :
55167 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55168 if test "x$ac_cv_func_expf" = x""yes; then :
55169 cat >>confdefs.h <<_ACEOF
55170 #define HAVE_EXPF 1
55171 _ACEOF
55174 done
55176 else
55178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55179 $as_echo_n "checking for _expf declaration... " >&6; }
55180 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55181 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55182 $as_echo_n "(cached) " >&6
55183 else
55186 ac_ext=cpp
55187 ac_cpp='$CXXCPP $CPPFLAGS'
55188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55193 /* end confdefs.h. */
55194 #include <math.h>
55195 #ifdef HAVE_IEEEFP_H
55196 #include <ieeefp.h>
55197 #endif
55200 main ()
55202 _expf(0);
55204 return 0;
55206 _ACEOF
55207 if ac_fn_cxx_try_compile "$LINENO"; then :
55208 glibcxx_cv_func__expf_use=yes
55209 else
55210 glibcxx_cv_func__expf_use=no
55212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55213 ac_ext=c
55214 ac_cpp='$CPP $CPPFLAGS'
55215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55224 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55226 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55227 for ac_func in _expf
55228 do :
55229 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55230 if test "x$ac_cv_func__expf" = x""yes; then :
55231 cat >>confdefs.h <<_ACEOF
55232 #define HAVE__EXPF 1
55233 _ACEOF
55236 done
55245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55246 $as_echo_n "checking for isnanf declaration... " >&6; }
55247 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55248 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55249 $as_echo_n "(cached) " >&6
55250 else
55253 ac_ext=cpp
55254 ac_cpp='$CXXCPP $CPPFLAGS'
55255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55260 /* end confdefs.h. */
55261 #include <math.h>
55262 #ifdef HAVE_IEEEFP_H
55263 #include <ieeefp.h>
55264 #endif
55267 main ()
55269 isnanf(0);
55271 return 0;
55273 _ACEOF
55274 if ac_fn_cxx_try_compile "$LINENO"; then :
55275 glibcxx_cv_func_isnanf_use=yes
55276 else
55277 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
55291 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55293 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55294 for ac_func in isnanf
55295 do :
55296 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55297 if test "x$ac_cv_func_isnanf" = x""yes; then :
55298 cat >>confdefs.h <<_ACEOF
55299 #define HAVE_ISNANF 1
55300 _ACEOF
55303 done
55305 else
55307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55308 $as_echo_n "checking for _isnanf declaration... " >&6; }
55309 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55310 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55311 $as_echo_n "(cached) " >&6
55312 else
55315 ac_ext=cpp
55316 ac_cpp='$CXXCPP $CPPFLAGS'
55317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55322 /* end confdefs.h. */
55323 #include <math.h>
55324 #ifdef HAVE_IEEEFP_H
55325 #include <ieeefp.h>
55326 #endif
55329 main ()
55331 _isnanf(0);
55333 return 0;
55335 _ACEOF
55336 if ac_fn_cxx_try_compile "$LINENO"; then :
55337 glibcxx_cv_func__isnanf_use=yes
55338 else
55339 glibcxx_cv_func__isnanf_use=no
55341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55342 ac_ext=c
55343 ac_cpp='$CPP $CPPFLAGS'
55344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55353 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55355 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55356 for ac_func in _isnanf
55357 do :
55358 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55359 if test "x$ac_cv_func__isnanf" = x""yes; then :
55360 cat >>confdefs.h <<_ACEOF
55361 #define HAVE__ISNANF 1
55362 _ACEOF
55365 done
55374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55375 $as_echo_n "checking for isinff declaration... " >&6; }
55376 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55377 if test "${glibcxx_cv_func_isinff_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 isinff(0);
55400 return 0;
55402 _ACEOF
55403 if ac_fn_cxx_try_compile "$LINENO"; then :
55404 glibcxx_cv_func_isinff_use=yes
55405 else
55406 glibcxx_cv_func_isinff_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_isinff_use" >&5
55420 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55422 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55423 for ac_func in isinff
55424 do :
55425 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55426 if test "x$ac_cv_func_isinff" = x""yes; then :
55427 cat >>confdefs.h <<_ACEOF
55428 #define HAVE_ISINFF 1
55429 _ACEOF
55432 done
55434 else
55436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55437 $as_echo_n "checking for _isinff declaration... " >&6; }
55438 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55439 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55440 $as_echo_n "(cached) " >&6
55441 else
55444 ac_ext=cpp
55445 ac_cpp='$CXXCPP $CPPFLAGS'
55446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55451 /* end confdefs.h. */
55452 #include <math.h>
55453 #ifdef HAVE_IEEEFP_H
55454 #include <ieeefp.h>
55455 #endif
55458 main ()
55460 _isinff(0);
55462 return 0;
55464 _ACEOF
55465 if ac_fn_cxx_try_compile "$LINENO"; then :
55466 glibcxx_cv_func__isinff_use=yes
55467 else
55468 glibcxx_cv_func__isinff_use=no
55470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55471 ac_ext=c
55472 ac_cpp='$CPP $CPPFLAGS'
55473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55482 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55484 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55485 for ac_func in _isinff
55486 do :
55487 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55488 if test "x$ac_cv_func__isinff" = x""yes; then :
55489 cat >>confdefs.h <<_ACEOF
55490 #define HAVE__ISINFF 1
55491 _ACEOF
55494 done
55503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55504 $as_echo_n "checking for atan2f declaration... " >&6; }
55505 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55506 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55507 $as_echo_n "(cached) " >&6
55508 else
55511 ac_ext=cpp
55512 ac_cpp='$CXXCPP $CPPFLAGS'
55513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55518 /* end confdefs.h. */
55519 #include <math.h>
55521 main ()
55523 atan2f(0, 0);
55525 return 0;
55527 _ACEOF
55528 if ac_fn_cxx_try_compile "$LINENO"; then :
55529 glibcxx_cv_func_atan2f_use=yes
55530 else
55531 glibcxx_cv_func_atan2f_use=no
55533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55534 ac_ext=c
55535 ac_cpp='$CPP $CPPFLAGS'
55536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55545 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55547 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55548 for ac_func in atan2f
55549 do :
55550 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55551 if test "x$ac_cv_func_atan2f" = x""yes; then :
55552 cat >>confdefs.h <<_ACEOF
55553 #define HAVE_ATAN2F 1
55554 _ACEOF
55557 done
55559 else
55561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55562 $as_echo_n "checking for _atan2f declaration... " >&6; }
55563 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55564 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55565 $as_echo_n "(cached) " >&6
55566 else
55569 ac_ext=cpp
55570 ac_cpp='$CXXCPP $CPPFLAGS'
55571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55576 /* end confdefs.h. */
55577 #include <math.h>
55579 main ()
55581 _atan2f(0, 0);
55583 return 0;
55585 _ACEOF
55586 if ac_fn_cxx_try_compile "$LINENO"; then :
55587 glibcxx_cv_func__atan2f_use=yes
55588 else
55589 glibcxx_cv_func__atan2f_use=no
55591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55592 ac_ext=c
55593 ac_cpp='$CPP $CPPFLAGS'
55594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55603 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55605 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55606 for ac_func in _atan2f
55607 do :
55608 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55609 if test "x$ac_cv_func__atan2f" = x""yes; then :
55610 cat >>confdefs.h <<_ACEOF
55611 #define HAVE__ATAN2F 1
55612 _ACEOF
55615 done
55624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55625 $as_echo_n "checking for fabsf declaration... " >&6; }
55626 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55627 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55628 $as_echo_n "(cached) " >&6
55629 else
55632 ac_ext=cpp
55633 ac_cpp='$CXXCPP $CPPFLAGS'
55634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55639 /* end confdefs.h. */
55640 #include <math.h>
55641 #ifdef HAVE_IEEEFP_H
55642 #include <ieeefp.h>
55643 #endif
55646 main ()
55648 fabsf(0);
55650 return 0;
55652 _ACEOF
55653 if ac_fn_cxx_try_compile "$LINENO"; then :
55654 glibcxx_cv_func_fabsf_use=yes
55655 else
55656 glibcxx_cv_func_fabsf_use=no
55658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55659 ac_ext=c
55660 ac_cpp='$CPP $CPPFLAGS'
55661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55670 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55672 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55673 for ac_func in fabsf
55674 do :
55675 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55676 if test "x$ac_cv_func_fabsf" = x""yes; then :
55677 cat >>confdefs.h <<_ACEOF
55678 #define HAVE_FABSF 1
55679 _ACEOF
55682 done
55684 else
55686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55687 $as_echo_n "checking for _fabsf declaration... " >&6; }
55688 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55689 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55690 $as_echo_n "(cached) " >&6
55691 else
55694 ac_ext=cpp
55695 ac_cpp='$CXXCPP $CPPFLAGS'
55696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55701 /* end confdefs.h. */
55702 #include <math.h>
55703 #ifdef HAVE_IEEEFP_H
55704 #include <ieeefp.h>
55705 #endif
55708 main ()
55710 _fabsf(0);
55712 return 0;
55714 _ACEOF
55715 if ac_fn_cxx_try_compile "$LINENO"; then :
55716 glibcxx_cv_func__fabsf_use=yes
55717 else
55718 glibcxx_cv_func__fabsf_use=no
55720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55721 ac_ext=c
55722 ac_cpp='$CPP $CPPFLAGS'
55723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55732 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55734 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55735 for ac_func in _fabsf
55736 do :
55737 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55738 if test "x$ac_cv_func__fabsf" = x""yes; then :
55739 cat >>confdefs.h <<_ACEOF
55740 #define HAVE__FABSF 1
55741 _ACEOF
55744 done
55753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55754 $as_echo_n "checking for fmodf declaration... " >&6; }
55755 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55756 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55757 $as_echo_n "(cached) " >&6
55758 else
55761 ac_ext=cpp
55762 ac_cpp='$CXXCPP $CPPFLAGS'
55763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55768 /* end confdefs.h. */
55769 #include <math.h>
55771 main ()
55773 fmodf(0, 0);
55775 return 0;
55777 _ACEOF
55778 if ac_fn_cxx_try_compile "$LINENO"; then :
55779 glibcxx_cv_func_fmodf_use=yes
55780 else
55781 glibcxx_cv_func_fmodf_use=no
55783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55784 ac_ext=c
55785 ac_cpp='$CPP $CPPFLAGS'
55786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55795 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55797 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55798 for ac_func in fmodf
55799 do :
55800 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55801 if test "x$ac_cv_func_fmodf" = x""yes; then :
55802 cat >>confdefs.h <<_ACEOF
55803 #define HAVE_FMODF 1
55804 _ACEOF
55807 done
55809 else
55811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55812 $as_echo_n "checking for _fmodf declaration... " >&6; }
55813 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55814 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55815 $as_echo_n "(cached) " >&6
55816 else
55819 ac_ext=cpp
55820 ac_cpp='$CXXCPP $CPPFLAGS'
55821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55826 /* end confdefs.h. */
55827 #include <math.h>
55829 main ()
55831 _fmodf(0, 0);
55833 return 0;
55835 _ACEOF
55836 if ac_fn_cxx_try_compile "$LINENO"; then :
55837 glibcxx_cv_func__fmodf_use=yes
55838 else
55839 glibcxx_cv_func__fmodf_use=no
55841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55842 ac_ext=c
55843 ac_cpp='$CPP $CPPFLAGS'
55844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55853 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55855 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55856 for ac_func in _fmodf
55857 do :
55858 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55859 if test "x$ac_cv_func__fmodf" = x""yes; then :
55860 cat >>confdefs.h <<_ACEOF
55861 #define HAVE__FMODF 1
55862 _ACEOF
55865 done
55874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55875 $as_echo_n "checking for frexpf declaration... " >&6; }
55876 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55877 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55878 $as_echo_n "(cached) " >&6
55879 else
55882 ac_ext=cpp
55883 ac_cpp='$CXXCPP $CPPFLAGS'
55884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55889 /* end confdefs.h. */
55890 #include <math.h>
55892 main ()
55894 frexpf(0, 0);
55896 return 0;
55898 _ACEOF
55899 if ac_fn_cxx_try_compile "$LINENO"; then :
55900 glibcxx_cv_func_frexpf_use=yes
55901 else
55902 glibcxx_cv_func_frexpf_use=no
55904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55905 ac_ext=c
55906 ac_cpp='$CPP $CPPFLAGS'
55907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55916 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55918 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55919 for ac_func in frexpf
55920 do :
55921 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55922 if test "x$ac_cv_func_frexpf" = x""yes; then :
55923 cat >>confdefs.h <<_ACEOF
55924 #define HAVE_FREXPF 1
55925 _ACEOF
55928 done
55930 else
55932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55933 $as_echo_n "checking for _frexpf declaration... " >&6; }
55934 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55935 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55936 $as_echo_n "(cached) " >&6
55937 else
55940 ac_ext=cpp
55941 ac_cpp='$CXXCPP $CPPFLAGS'
55942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55947 /* end confdefs.h. */
55948 #include <math.h>
55950 main ()
55952 _frexpf(0, 0);
55954 return 0;
55956 _ACEOF
55957 if ac_fn_cxx_try_compile "$LINENO"; then :
55958 glibcxx_cv_func__frexpf_use=yes
55959 else
55960 glibcxx_cv_func__frexpf_use=no
55962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55963 ac_ext=c
55964 ac_cpp='$CPP $CPPFLAGS'
55965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55974 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55976 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55977 for ac_func in _frexpf
55978 do :
55979 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55980 if test "x$ac_cv_func__frexpf" = x""yes; then :
55981 cat >>confdefs.h <<_ACEOF
55982 #define HAVE__FREXPF 1
55983 _ACEOF
55986 done
55995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
55996 $as_echo_n "checking for hypotf declaration... " >&6; }
55997 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
55998 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
55999 $as_echo_n "(cached) " >&6
56000 else
56003 ac_ext=cpp
56004 ac_cpp='$CXXCPP $CPPFLAGS'
56005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56010 /* end confdefs.h. */
56011 #include <math.h>
56013 main ()
56015 hypotf(0, 0);
56017 return 0;
56019 _ACEOF
56020 if ac_fn_cxx_try_compile "$LINENO"; then :
56021 glibcxx_cv_func_hypotf_use=yes
56022 else
56023 glibcxx_cv_func_hypotf_use=no
56025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56026 ac_ext=c
56027 ac_cpp='$CPP $CPPFLAGS'
56028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56037 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56039 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56040 for ac_func in hypotf
56041 do :
56042 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56043 if test "x$ac_cv_func_hypotf" = x""yes; then :
56044 cat >>confdefs.h <<_ACEOF
56045 #define HAVE_HYPOTF 1
56046 _ACEOF
56049 done
56051 else
56053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56054 $as_echo_n "checking for _hypotf declaration... " >&6; }
56055 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56056 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56057 $as_echo_n "(cached) " >&6
56058 else
56061 ac_ext=cpp
56062 ac_cpp='$CXXCPP $CPPFLAGS'
56063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56068 /* end confdefs.h. */
56069 #include <math.h>
56071 main ()
56073 _hypotf(0, 0);
56075 return 0;
56077 _ACEOF
56078 if ac_fn_cxx_try_compile "$LINENO"; then :
56079 glibcxx_cv_func__hypotf_use=yes
56080 else
56081 glibcxx_cv_func__hypotf_use=no
56083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56084 ac_ext=c
56085 ac_cpp='$CPP $CPPFLAGS'
56086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56095 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56097 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56098 for ac_func in _hypotf
56099 do :
56100 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56101 if test "x$ac_cv_func__hypotf" = x""yes; then :
56102 cat >>confdefs.h <<_ACEOF
56103 #define HAVE__HYPOTF 1
56104 _ACEOF
56107 done
56116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56117 $as_echo_n "checking for ldexpf declaration... " >&6; }
56118 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56119 if test "${glibcxx_cv_func_ldexpf_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>
56134 main ()
56136 ldexpf(0, 0);
56138 return 0;
56140 _ACEOF
56141 if ac_fn_cxx_try_compile "$LINENO"; then :
56142 glibcxx_cv_func_ldexpf_use=yes
56143 else
56144 glibcxx_cv_func_ldexpf_use=no
56146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56147 ac_ext=c
56148 ac_cpp='$CPP $CPPFLAGS'
56149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56158 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56160 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56161 for ac_func in ldexpf
56162 do :
56163 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56164 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56165 cat >>confdefs.h <<_ACEOF
56166 #define HAVE_LDEXPF 1
56167 _ACEOF
56170 done
56172 else
56174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56175 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56176 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56177 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56178 $as_echo_n "(cached) " >&6
56179 else
56182 ac_ext=cpp
56183 ac_cpp='$CXXCPP $CPPFLAGS'
56184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56189 /* end confdefs.h. */
56190 #include <math.h>
56192 main ()
56194 _ldexpf(0, 0);
56196 return 0;
56198 _ACEOF
56199 if ac_fn_cxx_try_compile "$LINENO"; then :
56200 glibcxx_cv_func__ldexpf_use=yes
56201 else
56202 glibcxx_cv_func__ldexpf_use=no
56204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56205 ac_ext=c
56206 ac_cpp='$CPP $CPPFLAGS'
56207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56216 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56218 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56219 for ac_func in _ldexpf
56220 do :
56221 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56222 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56223 cat >>confdefs.h <<_ACEOF
56224 #define HAVE__LDEXPF 1
56225 _ACEOF
56228 done
56237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56238 $as_echo_n "checking for logf declaration... " >&6; }
56239 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56240 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56241 $as_echo_n "(cached) " >&6
56242 else
56245 ac_ext=cpp
56246 ac_cpp='$CXXCPP $CPPFLAGS'
56247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56252 /* end confdefs.h. */
56253 #include <math.h>
56254 #ifdef HAVE_IEEEFP_H
56255 #include <ieeefp.h>
56256 #endif
56259 main ()
56261 logf(0);
56263 return 0;
56265 _ACEOF
56266 if ac_fn_cxx_try_compile "$LINENO"; then :
56267 glibcxx_cv_func_logf_use=yes
56268 else
56269 glibcxx_cv_func_logf_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_logf_use" >&5
56283 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56285 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56286 for ac_func in logf
56287 do :
56288 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56289 if test "x$ac_cv_func_logf" = x""yes; then :
56290 cat >>confdefs.h <<_ACEOF
56291 #define HAVE_LOGF 1
56292 _ACEOF
56295 done
56297 else
56299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56300 $as_echo_n "checking for _logf declaration... " >&6; }
56301 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56302 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56303 $as_echo_n "(cached) " >&6
56304 else
56307 ac_ext=cpp
56308 ac_cpp='$CXXCPP $CPPFLAGS'
56309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56314 /* end confdefs.h. */
56315 #include <math.h>
56316 #ifdef HAVE_IEEEFP_H
56317 #include <ieeefp.h>
56318 #endif
56321 main ()
56323 _logf(0);
56325 return 0;
56327 _ACEOF
56328 if ac_fn_cxx_try_compile "$LINENO"; then :
56329 glibcxx_cv_func__logf_use=yes
56330 else
56331 glibcxx_cv_func__logf_use=no
56333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56334 ac_ext=c
56335 ac_cpp='$CPP $CPPFLAGS'
56336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56345 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56347 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56348 for ac_func in _logf
56349 do :
56350 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56351 if test "x$ac_cv_func__logf" = x""yes; then :
56352 cat >>confdefs.h <<_ACEOF
56353 #define HAVE__LOGF 1
56354 _ACEOF
56357 done
56366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56367 $as_echo_n "checking for log10f declaration... " >&6; }
56368 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56369 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56370 $as_echo_n "(cached) " >&6
56371 else
56374 ac_ext=cpp
56375 ac_cpp='$CXXCPP $CPPFLAGS'
56376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56381 /* end confdefs.h. */
56382 #include <math.h>
56383 #ifdef HAVE_IEEEFP_H
56384 #include <ieeefp.h>
56385 #endif
56388 main ()
56390 log10f(0);
56392 return 0;
56394 _ACEOF
56395 if ac_fn_cxx_try_compile "$LINENO"; then :
56396 glibcxx_cv_func_log10f_use=yes
56397 else
56398 glibcxx_cv_func_log10f_use=no
56400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56401 ac_ext=c
56402 ac_cpp='$CPP $CPPFLAGS'
56403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56412 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56414 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56415 for ac_func in log10f
56416 do :
56417 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56418 if test "x$ac_cv_func_log10f" = x""yes; then :
56419 cat >>confdefs.h <<_ACEOF
56420 #define HAVE_LOG10F 1
56421 _ACEOF
56424 done
56426 else
56428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56429 $as_echo_n "checking for _log10f declaration... " >&6; }
56430 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56431 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56432 $as_echo_n "(cached) " >&6
56433 else
56436 ac_ext=cpp
56437 ac_cpp='$CXXCPP $CPPFLAGS'
56438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56443 /* end confdefs.h. */
56444 #include <math.h>
56445 #ifdef HAVE_IEEEFP_H
56446 #include <ieeefp.h>
56447 #endif
56450 main ()
56452 _log10f(0);
56454 return 0;
56456 _ACEOF
56457 if ac_fn_cxx_try_compile "$LINENO"; then :
56458 glibcxx_cv_func__log10f_use=yes
56459 else
56460 glibcxx_cv_func__log10f_use=no
56462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56463 ac_ext=c
56464 ac_cpp='$CPP $CPPFLAGS'
56465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56474 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56476 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56477 for ac_func in _log10f
56478 do :
56479 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56480 if test "x$ac_cv_func__log10f" = x""yes; then :
56481 cat >>confdefs.h <<_ACEOF
56482 #define HAVE__LOG10F 1
56483 _ACEOF
56486 done
56495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56496 $as_echo_n "checking for modff declaration... " >&6; }
56497 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56498 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56499 $as_echo_n "(cached) " >&6
56500 else
56503 ac_ext=cpp
56504 ac_cpp='$CXXCPP $CPPFLAGS'
56505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56510 /* end confdefs.h. */
56511 #include <math.h>
56513 main ()
56515 modff(0, 0);
56517 return 0;
56519 _ACEOF
56520 if ac_fn_cxx_try_compile "$LINENO"; then :
56521 glibcxx_cv_func_modff_use=yes
56522 else
56523 glibcxx_cv_func_modff_use=no
56525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56526 ac_ext=c
56527 ac_cpp='$CPP $CPPFLAGS'
56528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56537 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56539 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56540 for ac_func in modff
56541 do :
56542 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56543 if test "x$ac_cv_func_modff" = x""yes; then :
56544 cat >>confdefs.h <<_ACEOF
56545 #define HAVE_MODFF 1
56546 _ACEOF
56549 done
56551 else
56553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56554 $as_echo_n "checking for _modff declaration... " >&6; }
56555 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56556 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56557 $as_echo_n "(cached) " >&6
56558 else
56561 ac_ext=cpp
56562 ac_cpp='$CXXCPP $CPPFLAGS'
56563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56568 /* end confdefs.h. */
56569 #include <math.h>
56571 main ()
56573 _modff(0, 0);
56575 return 0;
56577 _ACEOF
56578 if ac_fn_cxx_try_compile "$LINENO"; then :
56579 glibcxx_cv_func__modff_use=yes
56580 else
56581 glibcxx_cv_func__modff_use=no
56583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56584 ac_ext=c
56585 ac_cpp='$CPP $CPPFLAGS'
56586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56595 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56597 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56598 for ac_func in _modff
56599 do :
56600 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56601 if test "x$ac_cv_func__modff" = x""yes; then :
56602 cat >>confdefs.h <<_ACEOF
56603 #define HAVE__MODFF 1
56604 _ACEOF
56607 done
56616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56617 $as_echo_n "checking for modf declaration... " >&6; }
56618 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56619 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56620 $as_echo_n "(cached) " >&6
56621 else
56624 ac_ext=cpp
56625 ac_cpp='$CXXCPP $CPPFLAGS'
56626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56631 /* end confdefs.h. */
56632 #include <math.h>
56634 main ()
56636 modf(0, 0);
56638 return 0;
56640 _ACEOF
56641 if ac_fn_cxx_try_compile "$LINENO"; then :
56642 glibcxx_cv_func_modf_use=yes
56643 else
56644 glibcxx_cv_func_modf_use=no
56646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56647 ac_ext=c
56648 ac_cpp='$CPP $CPPFLAGS'
56649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56658 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56660 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56661 for ac_func in modf
56662 do :
56663 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56664 if test "x$ac_cv_func_modf" = x""yes; then :
56665 cat >>confdefs.h <<_ACEOF
56666 #define HAVE_MODF 1
56667 _ACEOF
56670 done
56672 else
56674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56675 $as_echo_n "checking for _modf declaration... " >&6; }
56676 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56677 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56678 $as_echo_n "(cached) " >&6
56679 else
56682 ac_ext=cpp
56683 ac_cpp='$CXXCPP $CPPFLAGS'
56684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56689 /* end confdefs.h. */
56690 #include <math.h>
56692 main ()
56694 _modf(0, 0);
56696 return 0;
56698 _ACEOF
56699 if ac_fn_cxx_try_compile "$LINENO"; then :
56700 glibcxx_cv_func__modf_use=yes
56701 else
56702 glibcxx_cv_func__modf_use=no
56704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56705 ac_ext=c
56706 ac_cpp='$CPP $CPPFLAGS'
56707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56716 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56718 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56719 for ac_func in _modf
56720 do :
56721 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56722 if test "x$ac_cv_func__modf" = x""yes; then :
56723 cat >>confdefs.h <<_ACEOF
56724 #define HAVE__MODF 1
56725 _ACEOF
56728 done
56737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56738 $as_echo_n "checking for powf declaration... " >&6; }
56739 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56740 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56741 $as_echo_n "(cached) " >&6
56742 else
56745 ac_ext=cpp
56746 ac_cpp='$CXXCPP $CPPFLAGS'
56747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56752 /* end confdefs.h. */
56753 #include <math.h>
56755 main ()
56757 powf(0, 0);
56759 return 0;
56761 _ACEOF
56762 if ac_fn_cxx_try_compile "$LINENO"; then :
56763 glibcxx_cv_func_powf_use=yes
56764 else
56765 glibcxx_cv_func_powf_use=no
56767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56768 ac_ext=c
56769 ac_cpp='$CPP $CPPFLAGS'
56770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56779 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56781 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56782 for ac_func in powf
56783 do :
56784 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56785 if test "x$ac_cv_func_powf" = x""yes; then :
56786 cat >>confdefs.h <<_ACEOF
56787 #define HAVE_POWF 1
56788 _ACEOF
56791 done
56793 else
56795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56796 $as_echo_n "checking for _powf declaration... " >&6; }
56797 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56798 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56799 $as_echo_n "(cached) " >&6
56800 else
56803 ac_ext=cpp
56804 ac_cpp='$CXXCPP $CPPFLAGS'
56805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56810 /* end confdefs.h. */
56811 #include <math.h>
56813 main ()
56815 _powf(0, 0);
56817 return 0;
56819 _ACEOF
56820 if ac_fn_cxx_try_compile "$LINENO"; then :
56821 glibcxx_cv_func__powf_use=yes
56822 else
56823 glibcxx_cv_func__powf_use=no
56825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56826 ac_ext=c
56827 ac_cpp='$CPP $CPPFLAGS'
56828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56837 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56839 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56840 for ac_func in _powf
56841 do :
56842 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56843 if test "x$ac_cv_func__powf" = x""yes; then :
56844 cat >>confdefs.h <<_ACEOF
56845 #define HAVE__POWF 1
56846 _ACEOF
56849 done
56858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56859 $as_echo_n "checking for sqrtf declaration... " >&6; }
56860 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56861 if test "${glibcxx_cv_func_sqrtf_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 sqrtf(0);
56884 return 0;
56886 _ACEOF
56887 if ac_fn_cxx_try_compile "$LINENO"; then :
56888 glibcxx_cv_func_sqrtf_use=yes
56889 else
56890 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
56904 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56906 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56907 for ac_func in sqrtf
56908 do :
56909 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56910 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56911 cat >>confdefs.h <<_ACEOF
56912 #define HAVE_SQRTF 1
56913 _ACEOF
56916 done
56918 else
56920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56921 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56922 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56923 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56924 $as_echo_n "(cached) " >&6
56925 else
56928 ac_ext=cpp
56929 ac_cpp='$CXXCPP $CPPFLAGS'
56930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56935 /* end confdefs.h. */
56936 #include <math.h>
56937 #ifdef HAVE_IEEEFP_H
56938 #include <ieeefp.h>
56939 #endif
56942 main ()
56944 _sqrtf(0);
56946 return 0;
56948 _ACEOF
56949 if ac_fn_cxx_try_compile "$LINENO"; then :
56950 glibcxx_cv_func__sqrtf_use=yes
56951 else
56952 glibcxx_cv_func__sqrtf_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
56965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56966 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56968 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56969 for ac_func in _sqrtf
56970 do :
56971 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56972 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56973 cat >>confdefs.h <<_ACEOF
56974 #define HAVE__SQRTF 1
56975 _ACEOF
56978 done
56987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56988 $as_echo_n "checking for sincosf declaration... " >&6; }
56989 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
56990 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
56991 $as_echo_n "(cached) " >&6
56992 else
56995 ac_ext=cpp
56996 ac_cpp='$CXXCPP $CPPFLAGS'
56997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57002 /* end confdefs.h. */
57003 #include <math.h>
57005 main ()
57007 sincosf(0, 0, 0);
57009 return 0;
57011 _ACEOF
57012 if ac_fn_cxx_try_compile "$LINENO"; then :
57013 glibcxx_cv_func_sincosf_use=yes
57014 else
57015 glibcxx_cv_func_sincosf_use=no
57017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57018 ac_ext=c
57019 ac_cpp='$CPP $CPPFLAGS'
57020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57029 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57031 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57032 for ac_func in sincosf
57033 do :
57034 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57035 if test "x$ac_cv_func_sincosf" = x""yes; then :
57036 cat >>confdefs.h <<_ACEOF
57037 #define HAVE_SINCOSF 1
57038 _ACEOF
57041 done
57043 else
57045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57046 $as_echo_n "checking for _sincosf declaration... " >&6; }
57047 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57048 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57049 $as_echo_n "(cached) " >&6
57050 else
57053 ac_ext=cpp
57054 ac_cpp='$CXXCPP $CPPFLAGS'
57055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57060 /* end confdefs.h. */
57061 #include <math.h>
57063 main ()
57065 _sincosf(0, 0, 0);
57067 return 0;
57069 _ACEOF
57070 if ac_fn_cxx_try_compile "$LINENO"; then :
57071 glibcxx_cv_func__sincosf_use=yes
57072 else
57073 glibcxx_cv_func__sincosf_use=no
57075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57076 ac_ext=c
57077 ac_cpp='$CPP $CPPFLAGS'
57078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57087 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57089 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57090 for ac_func in _sincosf
57091 do :
57092 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57093 if test "x$ac_cv_func__sincosf" = x""yes; then :
57094 cat >>confdefs.h <<_ACEOF
57095 #define HAVE__SINCOSF 1
57096 _ACEOF
57099 done
57108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57109 $as_echo_n "checking for finitef declaration... " >&6; }
57110 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57111 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57112 $as_echo_n "(cached) " >&6
57113 else
57116 ac_ext=cpp
57117 ac_cpp='$CXXCPP $CPPFLAGS'
57118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57123 /* end confdefs.h. */
57124 #include <math.h>
57125 #ifdef HAVE_IEEEFP_H
57126 #include <ieeefp.h>
57127 #endif
57130 main ()
57132 finitef(0);
57134 return 0;
57136 _ACEOF
57137 if ac_fn_cxx_try_compile "$LINENO"; then :
57138 glibcxx_cv_func_finitef_use=yes
57139 else
57140 glibcxx_cv_func_finitef_use=no
57142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57143 ac_ext=c
57144 ac_cpp='$CPP $CPPFLAGS'
57145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57154 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57156 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57157 for ac_func in finitef
57158 do :
57159 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57160 if test "x$ac_cv_func_finitef" = x""yes; then :
57161 cat >>confdefs.h <<_ACEOF
57162 #define HAVE_FINITEF 1
57163 _ACEOF
57166 done
57168 else
57170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57171 $as_echo_n "checking for _finitef declaration... " >&6; }
57172 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57173 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57174 $as_echo_n "(cached) " >&6
57175 else
57178 ac_ext=cpp
57179 ac_cpp='$CXXCPP $CPPFLAGS'
57180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57185 /* end confdefs.h. */
57186 #include <math.h>
57187 #ifdef HAVE_IEEEFP_H
57188 #include <ieeefp.h>
57189 #endif
57192 main ()
57194 _finitef(0);
57196 return 0;
57198 _ACEOF
57199 if ac_fn_cxx_try_compile "$LINENO"; then :
57200 glibcxx_cv_func__finitef_use=yes
57201 else
57202 glibcxx_cv_func__finitef_use=no
57204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57205 ac_ext=c
57206 ac_cpp='$CPP $CPPFLAGS'
57207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57216 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57218 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57219 for ac_func in _finitef
57220 do :
57221 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57222 if test "x$ac_cv_func__finitef" = x""yes; then :
57223 cat >>confdefs.h <<_ACEOF
57224 #define HAVE__FINITEF 1
57225 _ACEOF
57228 done
57237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57238 $as_echo_n "checking for long double trig functions... " >&6; }
57239 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57240 $as_echo_n "(cached) " >&6
57241 else
57244 ac_ext=cpp
57245 ac_cpp='$CXXCPP $CPPFLAGS'
57246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57251 /* end confdefs.h. */
57252 #include <math.h>
57254 main ()
57256 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57258 return 0;
57260 _ACEOF
57261 if ac_fn_cxx_try_compile "$LINENO"; then :
57262 glibcxx_cv_func_long_double_trig_use=yes
57263 else
57264 glibcxx_cv_func_long_double_trig_use=no
57266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57267 ac_ext=c
57268 ac_cpp='$CPP $CPPFLAGS'
57269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57276 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57277 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57278 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57279 do :
57280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57282 eval as_val=\$$as_ac_var
57283 if test "x$as_val" = x""yes; then :
57284 cat >>confdefs.h <<_ACEOF
57285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57286 _ACEOF
57289 done
57291 else
57292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57293 $as_echo_n "checking for _long double trig functions... " >&6; }
57294 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57295 $as_echo_n "(cached) " >&6
57296 else
57299 ac_ext=cpp
57300 ac_cpp='$CXXCPP $CPPFLAGS'
57301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57306 /* end confdefs.h. */
57307 #include <math.h>
57309 main ()
57311 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57313 return 0;
57315 _ACEOF
57316 if ac_fn_cxx_try_compile "$LINENO"; then :
57317 glibcxx_cv_func__long_double_trig_use=yes
57318 else
57319 glibcxx_cv_func__long_double_trig_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
57330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57331 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57332 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57333 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57334 do :
57335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57337 eval as_val=\$$as_ac_var
57338 if test "x$as_val" = x""yes; then :
57339 cat >>confdefs.h <<_ACEOF
57340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57341 _ACEOF
57344 done
57353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57354 $as_echo_n "checking for long double round functions... " >&6; }
57355 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57356 $as_echo_n "(cached) " >&6
57357 else
57360 ac_ext=cpp
57361 ac_cpp='$CXXCPP $CPPFLAGS'
57362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57367 /* end confdefs.h. */
57368 #include <math.h>
57370 main ()
57372 ceill (0); floorl (0);
57374 return 0;
57376 _ACEOF
57377 if ac_fn_cxx_try_compile "$LINENO"; then :
57378 glibcxx_cv_func_long_double_round_use=yes
57379 else
57380 glibcxx_cv_func_long_double_round_use=no
57382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57383 ac_ext=c
57384 ac_cpp='$CPP $CPPFLAGS'
57385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57392 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57393 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57394 for ac_func in ceill floorl
57395 do :
57396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57398 eval as_val=\$$as_ac_var
57399 if test "x$as_val" = x""yes; then :
57400 cat >>confdefs.h <<_ACEOF
57401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57402 _ACEOF
57405 done
57407 else
57408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57409 $as_echo_n "checking for _long double round functions... " >&6; }
57410 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57411 $as_echo_n "(cached) " >&6
57412 else
57415 ac_ext=cpp
57416 ac_cpp='$CXXCPP $CPPFLAGS'
57417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57422 /* end confdefs.h. */
57423 #include <math.h>
57425 main ()
57427 _ceill (0); _floorl (0);
57429 return 0;
57431 _ACEOF
57432 if ac_fn_cxx_try_compile "$LINENO"; then :
57433 glibcxx_cv_func__long_double_round_use=yes
57434 else
57435 glibcxx_cv_func__long_double_round_use=no
57437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57438 ac_ext=c
57439 ac_cpp='$CPP $CPPFLAGS'
57440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57447 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57448 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57449 for ac_func in _ceill _floorl
57450 do :
57451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57453 eval as_val=\$$as_ac_var
57454 if test "x$as_val" = x""yes; then :
57455 cat >>confdefs.h <<_ACEOF
57456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57457 _ACEOF
57460 done
57470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57471 $as_echo_n "checking for isnanl declaration... " >&6; }
57472 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57473 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57474 $as_echo_n "(cached) " >&6
57475 else
57478 ac_ext=cpp
57479 ac_cpp='$CXXCPP $CPPFLAGS'
57480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57485 /* end confdefs.h. */
57486 #include <math.h>
57487 #ifdef HAVE_IEEEFP_H
57488 #include <ieeefp.h>
57489 #endif
57492 main ()
57494 isnanl(0);
57496 return 0;
57498 _ACEOF
57499 if ac_fn_cxx_try_compile "$LINENO"; then :
57500 glibcxx_cv_func_isnanl_use=yes
57501 else
57502 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
57516 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57518 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57519 for ac_func in isnanl
57520 do :
57521 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57522 if test "x$ac_cv_func_isnanl" = x""yes; then :
57523 cat >>confdefs.h <<_ACEOF
57524 #define HAVE_ISNANL 1
57525 _ACEOF
57528 done
57530 else
57532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57533 $as_echo_n "checking for _isnanl declaration... " >&6; }
57534 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57535 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57536 $as_echo_n "(cached) " >&6
57537 else
57540 ac_ext=cpp
57541 ac_cpp='$CXXCPP $CPPFLAGS'
57542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57547 /* end confdefs.h. */
57548 #include <math.h>
57549 #ifdef HAVE_IEEEFP_H
57550 #include <ieeefp.h>
57551 #endif
57554 main ()
57556 _isnanl(0);
57558 return 0;
57560 _ACEOF
57561 if ac_fn_cxx_try_compile "$LINENO"; then :
57562 glibcxx_cv_func__isnanl_use=yes
57563 else
57564 glibcxx_cv_func__isnanl_use=no
57566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57567 ac_ext=c
57568 ac_cpp='$CPP $CPPFLAGS'
57569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57578 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57580 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57581 for ac_func in _isnanl
57582 do :
57583 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57584 if test "x$ac_cv_func__isnanl" = x""yes; then :
57585 cat >>confdefs.h <<_ACEOF
57586 #define HAVE__ISNANL 1
57587 _ACEOF
57590 done
57599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57600 $as_echo_n "checking for isinfl declaration... " >&6; }
57601 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57602 if test "${glibcxx_cv_func_isinfl_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 isinfl(0);
57625 return 0;
57627 _ACEOF
57628 if ac_fn_cxx_try_compile "$LINENO"; then :
57629 glibcxx_cv_func_isinfl_use=yes
57630 else
57631 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
57645 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57647 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57648 for ac_func in isinfl
57649 do :
57650 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57651 if test "x$ac_cv_func_isinfl" = x""yes; then :
57652 cat >>confdefs.h <<_ACEOF
57653 #define HAVE_ISINFL 1
57654 _ACEOF
57657 done
57659 else
57661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57662 $as_echo_n "checking for _isinfl declaration... " >&6; }
57663 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57664 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57665 $as_echo_n "(cached) " >&6
57666 else
57669 ac_ext=cpp
57670 ac_cpp='$CXXCPP $CPPFLAGS'
57671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57676 /* end confdefs.h. */
57677 #include <math.h>
57678 #ifdef HAVE_IEEEFP_H
57679 #include <ieeefp.h>
57680 #endif
57683 main ()
57685 _isinfl(0);
57687 return 0;
57689 _ACEOF
57690 if ac_fn_cxx_try_compile "$LINENO"; then :
57691 glibcxx_cv_func__isinfl_use=yes
57692 else
57693 glibcxx_cv_func__isinfl_use=no
57695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57696 ac_ext=c
57697 ac_cpp='$CPP $CPPFLAGS'
57698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57707 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57709 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57710 for ac_func in _isinfl
57711 do :
57712 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57713 if test "x$ac_cv_func__isinfl" = x""yes; then :
57714 cat >>confdefs.h <<_ACEOF
57715 #define HAVE__ISINFL 1
57716 _ACEOF
57719 done
57728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57729 $as_echo_n "checking for atan2l declaration... " >&6; }
57730 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57731 if test "${glibcxx_cv_func_atan2l_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>
57746 main ()
57748 atan2l(0, 0);
57750 return 0;
57752 _ACEOF
57753 if ac_fn_cxx_try_compile "$LINENO"; then :
57754 glibcxx_cv_func_atan2l_use=yes
57755 else
57756 glibcxx_cv_func_atan2l_use=no
57758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57759 ac_ext=c
57760 ac_cpp='$CPP $CPPFLAGS'
57761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57770 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57772 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57773 for ac_func in atan2l
57774 do :
57775 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57776 if test "x$ac_cv_func_atan2l" = x""yes; then :
57777 cat >>confdefs.h <<_ACEOF
57778 #define HAVE_ATAN2L 1
57779 _ACEOF
57782 done
57784 else
57786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57787 $as_echo_n "checking for _atan2l declaration... " >&6; }
57788 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57789 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57790 $as_echo_n "(cached) " >&6
57791 else
57794 ac_ext=cpp
57795 ac_cpp='$CXXCPP $CPPFLAGS'
57796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57801 /* end confdefs.h. */
57802 #include <math.h>
57804 main ()
57806 _atan2l(0, 0);
57808 return 0;
57810 _ACEOF
57811 if ac_fn_cxx_try_compile "$LINENO"; then :
57812 glibcxx_cv_func__atan2l_use=yes
57813 else
57814 glibcxx_cv_func__atan2l_use=no
57816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57817 ac_ext=c
57818 ac_cpp='$CPP $CPPFLAGS'
57819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57828 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57830 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57831 for ac_func in _atan2l
57832 do :
57833 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57834 if test "x$ac_cv_func__atan2l" = x""yes; then :
57835 cat >>confdefs.h <<_ACEOF
57836 #define HAVE__ATAN2L 1
57837 _ACEOF
57840 done
57849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57850 $as_echo_n "checking for expl declaration... " >&6; }
57851 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57852 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57853 $as_echo_n "(cached) " >&6
57854 else
57857 ac_ext=cpp
57858 ac_cpp='$CXXCPP $CPPFLAGS'
57859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57864 /* end confdefs.h. */
57865 #include <math.h>
57866 #ifdef HAVE_IEEEFP_H
57867 #include <ieeefp.h>
57868 #endif
57871 main ()
57873 expl(0);
57875 return 0;
57877 _ACEOF
57878 if ac_fn_cxx_try_compile "$LINENO"; then :
57879 glibcxx_cv_func_expl_use=yes
57880 else
57881 glibcxx_cv_func_expl_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_expl_use" >&5
57895 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57897 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57898 for ac_func in expl
57899 do :
57900 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57901 if test "x$ac_cv_func_expl" = x""yes; then :
57902 cat >>confdefs.h <<_ACEOF
57903 #define HAVE_EXPL 1
57904 _ACEOF
57907 done
57909 else
57911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57912 $as_echo_n "checking for _expl declaration... " >&6; }
57913 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57914 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57915 $as_echo_n "(cached) " >&6
57916 else
57919 ac_ext=cpp
57920 ac_cpp='$CXXCPP $CPPFLAGS'
57921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57926 /* end confdefs.h. */
57927 #include <math.h>
57928 #ifdef HAVE_IEEEFP_H
57929 #include <ieeefp.h>
57930 #endif
57933 main ()
57935 _expl(0);
57937 return 0;
57939 _ACEOF
57940 if ac_fn_cxx_try_compile "$LINENO"; then :
57941 glibcxx_cv_func__expl_use=yes
57942 else
57943 glibcxx_cv_func__expl_use=no
57945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57946 ac_ext=c
57947 ac_cpp='$CPP $CPPFLAGS'
57948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57957 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57959 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57960 for ac_func in _expl
57961 do :
57962 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57963 if test "x$ac_cv_func__expl" = x""yes; then :
57964 cat >>confdefs.h <<_ACEOF
57965 #define HAVE__EXPL 1
57966 _ACEOF
57969 done
57978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57979 $as_echo_n "checking for fabsl declaration... " >&6; }
57980 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57981 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57982 $as_echo_n "(cached) " >&6
57983 else
57986 ac_ext=cpp
57987 ac_cpp='$CXXCPP $CPPFLAGS'
57988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57993 /* end confdefs.h. */
57994 #include <math.h>
57995 #ifdef HAVE_IEEEFP_H
57996 #include <ieeefp.h>
57997 #endif
58000 main ()
58002 fabsl(0);
58004 return 0;
58006 _ACEOF
58007 if ac_fn_cxx_try_compile "$LINENO"; then :
58008 glibcxx_cv_func_fabsl_use=yes
58009 else
58010 glibcxx_cv_func_fabsl_use=no
58012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58013 ac_ext=c
58014 ac_cpp='$CPP $CPPFLAGS'
58015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58024 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58026 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58027 for ac_func in fabsl
58028 do :
58029 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58030 if test "x$ac_cv_func_fabsl" = x""yes; then :
58031 cat >>confdefs.h <<_ACEOF
58032 #define HAVE_FABSL 1
58033 _ACEOF
58036 done
58038 else
58040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58041 $as_echo_n "checking for _fabsl declaration... " >&6; }
58042 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58043 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58044 $as_echo_n "(cached) " >&6
58045 else
58048 ac_ext=cpp
58049 ac_cpp='$CXXCPP $CPPFLAGS'
58050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58055 /* end confdefs.h. */
58056 #include <math.h>
58057 #ifdef HAVE_IEEEFP_H
58058 #include <ieeefp.h>
58059 #endif
58062 main ()
58064 _fabsl(0);
58066 return 0;
58068 _ACEOF
58069 if ac_fn_cxx_try_compile "$LINENO"; then :
58070 glibcxx_cv_func__fabsl_use=yes
58071 else
58072 glibcxx_cv_func__fabsl_use=no
58074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58075 ac_ext=c
58076 ac_cpp='$CPP $CPPFLAGS'
58077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58086 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58088 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58089 for ac_func in _fabsl
58090 do :
58091 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58092 if test "x$ac_cv_func__fabsl" = x""yes; then :
58093 cat >>confdefs.h <<_ACEOF
58094 #define HAVE__FABSL 1
58095 _ACEOF
58098 done
58107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58108 $as_echo_n "checking for fmodl declaration... " >&6; }
58109 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58110 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58111 $as_echo_n "(cached) " >&6
58112 else
58115 ac_ext=cpp
58116 ac_cpp='$CXXCPP $CPPFLAGS'
58117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58122 /* end confdefs.h. */
58123 #include <math.h>
58125 main ()
58127 fmodl(0, 0);
58129 return 0;
58131 _ACEOF
58132 if ac_fn_cxx_try_compile "$LINENO"; then :
58133 glibcxx_cv_func_fmodl_use=yes
58134 else
58135 glibcxx_cv_func_fmodl_use=no
58137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58138 ac_ext=c
58139 ac_cpp='$CPP $CPPFLAGS'
58140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58149 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58151 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58152 for ac_func in fmodl
58153 do :
58154 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58155 if test "x$ac_cv_func_fmodl" = x""yes; then :
58156 cat >>confdefs.h <<_ACEOF
58157 #define HAVE_FMODL 1
58158 _ACEOF
58161 done
58163 else
58165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58166 $as_echo_n "checking for _fmodl declaration... " >&6; }
58167 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58168 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58169 $as_echo_n "(cached) " >&6
58170 else
58173 ac_ext=cpp
58174 ac_cpp='$CXXCPP $CPPFLAGS'
58175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58180 /* end confdefs.h. */
58181 #include <math.h>
58183 main ()
58185 _fmodl(0, 0);
58187 return 0;
58189 _ACEOF
58190 if ac_fn_cxx_try_compile "$LINENO"; then :
58191 glibcxx_cv_func__fmodl_use=yes
58192 else
58193 glibcxx_cv_func__fmodl_use=no
58195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58196 ac_ext=c
58197 ac_cpp='$CPP $CPPFLAGS'
58198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58207 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58209 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58210 for ac_func in _fmodl
58211 do :
58212 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58213 if test "x$ac_cv_func__fmodl" = x""yes; then :
58214 cat >>confdefs.h <<_ACEOF
58215 #define HAVE__FMODL 1
58216 _ACEOF
58219 done
58228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58229 $as_echo_n "checking for frexpl declaration... " >&6; }
58230 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58231 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58232 $as_echo_n "(cached) " >&6
58233 else
58236 ac_ext=cpp
58237 ac_cpp='$CXXCPP $CPPFLAGS'
58238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58243 /* end confdefs.h. */
58244 #include <math.h>
58246 main ()
58248 frexpl(0, 0);
58250 return 0;
58252 _ACEOF
58253 if ac_fn_cxx_try_compile "$LINENO"; then :
58254 glibcxx_cv_func_frexpl_use=yes
58255 else
58256 glibcxx_cv_func_frexpl_use=no
58258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58259 ac_ext=c
58260 ac_cpp='$CPP $CPPFLAGS'
58261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58270 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58272 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58273 for ac_func in frexpl
58274 do :
58275 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58276 if test "x$ac_cv_func_frexpl" = x""yes; then :
58277 cat >>confdefs.h <<_ACEOF
58278 #define HAVE_FREXPL 1
58279 _ACEOF
58282 done
58284 else
58286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58287 $as_echo_n "checking for _frexpl declaration... " >&6; }
58288 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58289 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58290 $as_echo_n "(cached) " >&6
58291 else
58294 ac_ext=cpp
58295 ac_cpp='$CXXCPP $CPPFLAGS'
58296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58301 /* end confdefs.h. */
58302 #include <math.h>
58304 main ()
58306 _frexpl(0, 0);
58308 return 0;
58310 _ACEOF
58311 if ac_fn_cxx_try_compile "$LINENO"; then :
58312 glibcxx_cv_func__frexpl_use=yes
58313 else
58314 glibcxx_cv_func__frexpl_use=no
58316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58317 ac_ext=c
58318 ac_cpp='$CPP $CPPFLAGS'
58319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58328 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58330 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58331 for ac_func in _frexpl
58332 do :
58333 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58334 if test "x$ac_cv_func__frexpl" = x""yes; then :
58335 cat >>confdefs.h <<_ACEOF
58336 #define HAVE__FREXPL 1
58337 _ACEOF
58340 done
58349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58350 $as_echo_n "checking for hypotl declaration... " >&6; }
58351 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58352 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58353 $as_echo_n "(cached) " >&6
58354 else
58357 ac_ext=cpp
58358 ac_cpp='$CXXCPP $CPPFLAGS'
58359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58364 /* end confdefs.h. */
58365 #include <math.h>
58367 main ()
58369 hypotl(0, 0);
58371 return 0;
58373 _ACEOF
58374 if ac_fn_cxx_try_compile "$LINENO"; then :
58375 glibcxx_cv_func_hypotl_use=yes
58376 else
58377 glibcxx_cv_func_hypotl_use=no
58379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58380 ac_ext=c
58381 ac_cpp='$CPP $CPPFLAGS'
58382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58391 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58393 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58394 for ac_func in hypotl
58395 do :
58396 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58397 if test "x$ac_cv_func_hypotl" = x""yes; then :
58398 cat >>confdefs.h <<_ACEOF
58399 #define HAVE_HYPOTL 1
58400 _ACEOF
58403 done
58405 else
58407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58408 $as_echo_n "checking for _hypotl declaration... " >&6; }
58409 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58410 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58411 $as_echo_n "(cached) " >&6
58412 else
58415 ac_ext=cpp
58416 ac_cpp='$CXXCPP $CPPFLAGS'
58417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58422 /* end confdefs.h. */
58423 #include <math.h>
58425 main ()
58427 _hypotl(0, 0);
58429 return 0;
58431 _ACEOF
58432 if ac_fn_cxx_try_compile "$LINENO"; then :
58433 glibcxx_cv_func__hypotl_use=yes
58434 else
58435 glibcxx_cv_func__hypotl_use=no
58437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58438 ac_ext=c
58439 ac_cpp='$CPP $CPPFLAGS'
58440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58449 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58451 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58452 for ac_func in _hypotl
58453 do :
58454 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58455 if test "x$ac_cv_func__hypotl" = x""yes; then :
58456 cat >>confdefs.h <<_ACEOF
58457 #define HAVE__HYPOTL 1
58458 _ACEOF
58461 done
58470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58471 $as_echo_n "checking for ldexpl declaration... " >&6; }
58472 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58473 if test "${glibcxx_cv_func_ldexpl_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>
58488 main ()
58490 ldexpl(0, 0);
58492 return 0;
58494 _ACEOF
58495 if ac_fn_cxx_try_compile "$LINENO"; then :
58496 glibcxx_cv_func_ldexpl_use=yes
58497 else
58498 glibcxx_cv_func_ldexpl_use=no
58500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58501 ac_ext=c
58502 ac_cpp='$CPP $CPPFLAGS'
58503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58512 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58514 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58515 for ac_func in ldexpl
58516 do :
58517 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58518 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58519 cat >>confdefs.h <<_ACEOF
58520 #define HAVE_LDEXPL 1
58521 _ACEOF
58524 done
58526 else
58528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58529 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58530 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58531 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58532 $as_echo_n "(cached) " >&6
58533 else
58536 ac_ext=cpp
58537 ac_cpp='$CXXCPP $CPPFLAGS'
58538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58543 /* end confdefs.h. */
58544 #include <math.h>
58546 main ()
58548 _ldexpl(0, 0);
58550 return 0;
58552 _ACEOF
58553 if ac_fn_cxx_try_compile "$LINENO"; then :
58554 glibcxx_cv_func__ldexpl_use=yes
58555 else
58556 glibcxx_cv_func__ldexpl_use=no
58558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58559 ac_ext=c
58560 ac_cpp='$CPP $CPPFLAGS'
58561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58570 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58572 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58573 for ac_func in _ldexpl
58574 do :
58575 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58576 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58577 cat >>confdefs.h <<_ACEOF
58578 #define HAVE__LDEXPL 1
58579 _ACEOF
58582 done
58591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58592 $as_echo_n "checking for logl declaration... " >&6; }
58593 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58594 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58595 $as_echo_n "(cached) " >&6
58596 else
58599 ac_ext=cpp
58600 ac_cpp='$CXXCPP $CPPFLAGS'
58601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58606 /* end confdefs.h. */
58607 #include <math.h>
58608 #ifdef HAVE_IEEEFP_H
58609 #include <ieeefp.h>
58610 #endif
58613 main ()
58615 logl(0);
58617 return 0;
58619 _ACEOF
58620 if ac_fn_cxx_try_compile "$LINENO"; then :
58621 glibcxx_cv_func_logl_use=yes
58622 else
58623 glibcxx_cv_func_logl_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_logl_use" >&5
58637 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58639 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58640 for ac_func in logl
58641 do :
58642 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58643 if test "x$ac_cv_func_logl" = x""yes; then :
58644 cat >>confdefs.h <<_ACEOF
58645 #define HAVE_LOGL 1
58646 _ACEOF
58649 done
58651 else
58653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58654 $as_echo_n "checking for _logl declaration... " >&6; }
58655 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58656 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58657 $as_echo_n "(cached) " >&6
58658 else
58661 ac_ext=cpp
58662 ac_cpp='$CXXCPP $CPPFLAGS'
58663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58668 /* end confdefs.h. */
58669 #include <math.h>
58670 #ifdef HAVE_IEEEFP_H
58671 #include <ieeefp.h>
58672 #endif
58675 main ()
58677 _logl(0);
58679 return 0;
58681 _ACEOF
58682 if ac_fn_cxx_try_compile "$LINENO"; then :
58683 glibcxx_cv_func__logl_use=yes
58684 else
58685 glibcxx_cv_func__logl_use=no
58687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58688 ac_ext=c
58689 ac_cpp='$CPP $CPPFLAGS'
58690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58699 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58701 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58702 for ac_func in _logl
58703 do :
58704 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58705 if test "x$ac_cv_func__logl" = x""yes; then :
58706 cat >>confdefs.h <<_ACEOF
58707 #define HAVE__LOGL 1
58708 _ACEOF
58711 done
58720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58721 $as_echo_n "checking for log10l declaration... " >&6; }
58722 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58723 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58724 $as_echo_n "(cached) " >&6
58725 else
58728 ac_ext=cpp
58729 ac_cpp='$CXXCPP $CPPFLAGS'
58730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58735 /* end confdefs.h. */
58736 #include <math.h>
58737 #ifdef HAVE_IEEEFP_H
58738 #include <ieeefp.h>
58739 #endif
58742 main ()
58744 log10l(0);
58746 return 0;
58748 _ACEOF
58749 if ac_fn_cxx_try_compile "$LINENO"; then :
58750 glibcxx_cv_func_log10l_use=yes
58751 else
58752 glibcxx_cv_func_log10l_use=no
58754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58755 ac_ext=c
58756 ac_cpp='$CPP $CPPFLAGS'
58757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58766 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58768 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58769 for ac_func in log10l
58770 do :
58771 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58772 if test "x$ac_cv_func_log10l" = x""yes; then :
58773 cat >>confdefs.h <<_ACEOF
58774 #define HAVE_LOG10L 1
58775 _ACEOF
58778 done
58780 else
58782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58783 $as_echo_n "checking for _log10l declaration... " >&6; }
58784 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58785 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58786 $as_echo_n "(cached) " >&6
58787 else
58790 ac_ext=cpp
58791 ac_cpp='$CXXCPP $CPPFLAGS'
58792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58797 /* end confdefs.h. */
58798 #include <math.h>
58799 #ifdef HAVE_IEEEFP_H
58800 #include <ieeefp.h>
58801 #endif
58804 main ()
58806 _log10l(0);
58808 return 0;
58810 _ACEOF
58811 if ac_fn_cxx_try_compile "$LINENO"; then :
58812 glibcxx_cv_func__log10l_use=yes
58813 else
58814 glibcxx_cv_func__log10l_use=no
58816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58817 ac_ext=c
58818 ac_cpp='$CPP $CPPFLAGS'
58819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58828 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58830 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58831 for ac_func in _log10l
58832 do :
58833 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58834 if test "x$ac_cv_func__log10l" = x""yes; then :
58835 cat >>confdefs.h <<_ACEOF
58836 #define HAVE__LOG10L 1
58837 _ACEOF
58840 done
58849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58850 $as_echo_n "checking for modfl declaration... " >&6; }
58851 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58852 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58853 $as_echo_n "(cached) " >&6
58854 else
58857 ac_ext=cpp
58858 ac_cpp='$CXXCPP $CPPFLAGS'
58859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58864 /* end confdefs.h. */
58865 #include <math.h>
58867 main ()
58869 modfl(0, 0);
58871 return 0;
58873 _ACEOF
58874 if ac_fn_cxx_try_compile "$LINENO"; then :
58875 glibcxx_cv_func_modfl_use=yes
58876 else
58877 glibcxx_cv_func_modfl_use=no
58879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58880 ac_ext=c
58881 ac_cpp='$CPP $CPPFLAGS'
58882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58891 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58893 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58894 for ac_func in modfl
58895 do :
58896 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58897 if test "x$ac_cv_func_modfl" = x""yes; then :
58898 cat >>confdefs.h <<_ACEOF
58899 #define HAVE_MODFL 1
58900 _ACEOF
58903 done
58905 else
58907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58908 $as_echo_n "checking for _modfl declaration... " >&6; }
58909 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58910 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58911 $as_echo_n "(cached) " >&6
58912 else
58915 ac_ext=cpp
58916 ac_cpp='$CXXCPP $CPPFLAGS'
58917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58922 /* end confdefs.h. */
58923 #include <math.h>
58925 main ()
58927 _modfl(0, 0);
58929 return 0;
58931 _ACEOF
58932 if ac_fn_cxx_try_compile "$LINENO"; then :
58933 glibcxx_cv_func__modfl_use=yes
58934 else
58935 glibcxx_cv_func__modfl_use=no
58937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58938 ac_ext=c
58939 ac_cpp='$CPP $CPPFLAGS'
58940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58949 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58951 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58952 for ac_func in _modfl
58953 do :
58954 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58955 if test "x$ac_cv_func__modfl" = x""yes; then :
58956 cat >>confdefs.h <<_ACEOF
58957 #define HAVE__MODFL 1
58958 _ACEOF
58961 done
58970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58971 $as_echo_n "checking for powl declaration... " >&6; }
58972 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58973 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58974 $as_echo_n "(cached) " >&6
58975 else
58978 ac_ext=cpp
58979 ac_cpp='$CXXCPP $CPPFLAGS'
58980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58985 /* end confdefs.h. */
58986 #include <math.h>
58988 main ()
58990 powl(0, 0);
58992 return 0;
58994 _ACEOF
58995 if ac_fn_cxx_try_compile "$LINENO"; then :
58996 glibcxx_cv_func_powl_use=yes
58997 else
58998 glibcxx_cv_func_powl_use=no
59000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59001 ac_ext=c
59002 ac_cpp='$CPP $CPPFLAGS'
59003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59012 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59014 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59015 for ac_func in powl
59016 do :
59017 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59018 if test "x$ac_cv_func_powl" = x""yes; then :
59019 cat >>confdefs.h <<_ACEOF
59020 #define HAVE_POWL 1
59021 _ACEOF
59024 done
59026 else
59028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59029 $as_echo_n "checking for _powl declaration... " >&6; }
59030 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59031 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59032 $as_echo_n "(cached) " >&6
59033 else
59036 ac_ext=cpp
59037 ac_cpp='$CXXCPP $CPPFLAGS'
59038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59043 /* end confdefs.h. */
59044 #include <math.h>
59046 main ()
59048 _powl(0, 0);
59050 return 0;
59052 _ACEOF
59053 if ac_fn_cxx_try_compile "$LINENO"; then :
59054 glibcxx_cv_func__powl_use=yes
59055 else
59056 glibcxx_cv_func__powl_use=no
59058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59059 ac_ext=c
59060 ac_cpp='$CPP $CPPFLAGS'
59061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59070 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59072 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59073 for ac_func in _powl
59074 do :
59075 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59076 if test "x$ac_cv_func__powl" = x""yes; then :
59077 cat >>confdefs.h <<_ACEOF
59078 #define HAVE__POWL 1
59079 _ACEOF
59082 done
59091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59092 $as_echo_n "checking for sqrtl declaration... " >&6; }
59093 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59094 if test "${glibcxx_cv_func_sqrtl_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 sqrtl(0);
59117 return 0;
59119 _ACEOF
59120 if ac_fn_cxx_try_compile "$LINENO"; then :
59121 glibcxx_cv_func_sqrtl_use=yes
59122 else
59123 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
59137 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59139 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59140 for ac_func in sqrtl
59141 do :
59142 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59143 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59144 cat >>confdefs.h <<_ACEOF
59145 #define HAVE_SQRTL 1
59146 _ACEOF
59149 done
59151 else
59153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59154 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59155 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59156 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59157 $as_echo_n "(cached) " >&6
59158 else
59161 ac_ext=cpp
59162 ac_cpp='$CXXCPP $CPPFLAGS'
59163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59168 /* end confdefs.h. */
59169 #include <math.h>
59170 #ifdef HAVE_IEEEFP_H
59171 #include <ieeefp.h>
59172 #endif
59175 main ()
59177 _sqrtl(0);
59179 return 0;
59181 _ACEOF
59182 if ac_fn_cxx_try_compile "$LINENO"; then :
59183 glibcxx_cv_func__sqrtl_use=yes
59184 else
59185 glibcxx_cv_func__sqrtl_use=no
59187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59188 ac_ext=c
59189 ac_cpp='$CPP $CPPFLAGS'
59190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59199 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59201 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59202 for ac_func in _sqrtl
59203 do :
59204 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59205 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59206 cat >>confdefs.h <<_ACEOF
59207 #define HAVE__SQRTL 1
59208 _ACEOF
59211 done
59220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59221 $as_echo_n "checking for sincosl declaration... " >&6; }
59222 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59223 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59224 $as_echo_n "(cached) " >&6
59225 else
59228 ac_ext=cpp
59229 ac_cpp='$CXXCPP $CPPFLAGS'
59230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59235 /* end confdefs.h. */
59236 #include <math.h>
59238 main ()
59240 sincosl(0, 0, 0);
59242 return 0;
59244 _ACEOF
59245 if ac_fn_cxx_try_compile "$LINENO"; then :
59246 glibcxx_cv_func_sincosl_use=yes
59247 else
59248 glibcxx_cv_func_sincosl_use=no
59250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59251 ac_ext=c
59252 ac_cpp='$CPP $CPPFLAGS'
59253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59262 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59264 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59265 for ac_func in sincosl
59266 do :
59267 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59268 if test "x$ac_cv_func_sincosl" = x""yes; then :
59269 cat >>confdefs.h <<_ACEOF
59270 #define HAVE_SINCOSL 1
59271 _ACEOF
59274 done
59276 else
59278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59279 $as_echo_n "checking for _sincosl declaration... " >&6; }
59280 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59281 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59282 $as_echo_n "(cached) " >&6
59283 else
59286 ac_ext=cpp
59287 ac_cpp='$CXXCPP $CPPFLAGS'
59288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59293 /* end confdefs.h. */
59294 #include <math.h>
59296 main ()
59298 _sincosl(0, 0, 0);
59300 return 0;
59302 _ACEOF
59303 if ac_fn_cxx_try_compile "$LINENO"; then :
59304 glibcxx_cv_func__sincosl_use=yes
59305 else
59306 glibcxx_cv_func__sincosl_use=no
59308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59309 ac_ext=c
59310 ac_cpp='$CPP $CPPFLAGS'
59311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59320 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59322 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59323 for ac_func in _sincosl
59324 do :
59325 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59326 if test "x$ac_cv_func__sincosl" = x""yes; then :
59327 cat >>confdefs.h <<_ACEOF
59328 #define HAVE__SINCOSL 1
59329 _ACEOF
59332 done
59341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59342 $as_echo_n "checking for finitel declaration... " >&6; }
59343 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59344 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59345 $as_echo_n "(cached) " >&6
59346 else
59349 ac_ext=cpp
59350 ac_cpp='$CXXCPP $CPPFLAGS'
59351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59356 /* end confdefs.h. */
59357 #include <math.h>
59358 #ifdef HAVE_IEEEFP_H
59359 #include <ieeefp.h>
59360 #endif
59363 main ()
59365 finitel(0);
59367 return 0;
59369 _ACEOF
59370 if ac_fn_cxx_try_compile "$LINENO"; then :
59371 glibcxx_cv_func_finitel_use=yes
59372 else
59373 glibcxx_cv_func_finitel_use=no
59375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59376 ac_ext=c
59377 ac_cpp='$CPP $CPPFLAGS'
59378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59387 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59389 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59390 for ac_func in finitel
59391 do :
59392 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59393 if test "x$ac_cv_func_finitel" = x""yes; then :
59394 cat >>confdefs.h <<_ACEOF
59395 #define HAVE_FINITEL 1
59396 _ACEOF
59399 done
59401 else
59403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59404 $as_echo_n "checking for _finitel declaration... " >&6; }
59405 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59406 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59407 $as_echo_n "(cached) " >&6
59408 else
59411 ac_ext=cpp
59412 ac_cpp='$CXXCPP $CPPFLAGS'
59413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59418 /* end confdefs.h. */
59419 #include <math.h>
59420 #ifdef HAVE_IEEEFP_H
59421 #include <ieeefp.h>
59422 #endif
59425 main ()
59427 _finitel(0);
59429 return 0;
59431 _ACEOF
59432 if ac_fn_cxx_try_compile "$LINENO"; then :
59433 glibcxx_cv_func__finitel_use=yes
59434 else
59435 glibcxx_cv_func__finitel_use=no
59437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59438 ac_ext=c
59439 ac_cpp='$CPP $CPPFLAGS'
59440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59449 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59451 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59452 for ac_func in _finitel
59453 do :
59454 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59455 if test "x$ac_cv_func__finitel" = x""yes; then :
59456 cat >>confdefs.h <<_ACEOF
59457 #define HAVE__FINITEL 1
59458 _ACEOF
59461 done
59469 LIBS="$ac_save_LIBS"
59470 CXXFLAGS="$ac_save_CXXFLAGS"
59473 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59474 ac_save_CXXFLAGS="$CXXFLAGS"
59475 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59479 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59480 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59481 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59482 $as_echo_n "(cached) " >&6
59483 else
59486 ac_ext=cpp
59487 ac_cpp='$CXXCPP $CPPFLAGS'
59488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59493 /* end confdefs.h. */
59494 #include <stdlib.h>
59496 main ()
59498 at_quick_exit(0);
59500 return 0;
59502 _ACEOF
59503 if ac_fn_cxx_try_compile "$LINENO"; then :
59504 glibcxx_cv_func_at_quick_exit_use=yes
59505 else
59506 glibcxx_cv_func_at_quick_exit_use=no
59508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59509 ac_ext=c
59510 ac_cpp='$CPP $CPPFLAGS'
59511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59520 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59521 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59522 for ac_func in at_quick_exit
59523 do :
59524 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59525 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59526 cat >>confdefs.h <<_ACEOF
59527 #define HAVE_AT_QUICK_EXIT 1
59528 _ACEOF
59531 done
59536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59537 $as_echo_n "checking for quick_exit declaration... " >&6; }
59538 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59539 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59540 $as_echo_n "(cached) " >&6
59541 else
59544 ac_ext=cpp
59545 ac_cpp='$CXXCPP $CPPFLAGS'
59546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59551 /* end confdefs.h. */
59552 #include <stdlib.h>
59554 main ()
59556 quick_exit(0);
59558 return 0;
59560 _ACEOF
59561 if ac_fn_cxx_try_compile "$LINENO"; then :
59562 glibcxx_cv_func_quick_exit_use=yes
59563 else
59564 glibcxx_cv_func_quick_exit_use=no
59566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59567 ac_ext=c
59568 ac_cpp='$CPP $CPPFLAGS'
59569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59578 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59579 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59580 for ac_func in quick_exit
59581 do :
59582 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59583 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59584 cat >>confdefs.h <<_ACEOF
59585 #define HAVE_QUICK_EXIT 1
59586 _ACEOF
59589 done
59594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59595 $as_echo_n "checking for strtold declaration... " >&6; }
59596 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59597 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59598 $as_echo_n "(cached) " >&6
59599 else
59602 ac_ext=cpp
59603 ac_cpp='$CXXCPP $CPPFLAGS'
59604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59609 /* end confdefs.h. */
59610 #include <stdlib.h>
59612 main ()
59614 strtold(0, 0);
59616 return 0;
59618 _ACEOF
59619 if ac_fn_cxx_try_compile "$LINENO"; then :
59620 glibcxx_cv_func_strtold_use=yes
59621 else
59622 glibcxx_cv_func_strtold_use=no
59624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59625 ac_ext=c
59626 ac_cpp='$CPP $CPPFLAGS'
59627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59636 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59637 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59638 for ac_func in strtold
59639 do :
59640 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59641 if test "x$ac_cv_func_strtold" = x""yes; then :
59642 cat >>confdefs.h <<_ACEOF
59643 #define HAVE_STRTOLD 1
59644 _ACEOF
59647 done
59654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59655 $as_echo_n "checking for strtof declaration... " >&6; }
59656 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59657 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59658 $as_echo_n "(cached) " >&6
59659 else
59662 ac_ext=cpp
59663 ac_cpp='$CXXCPP $CPPFLAGS'
59664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59669 /* end confdefs.h. */
59670 #include <stdlib.h>
59672 main ()
59674 strtof(0, 0);
59676 return 0;
59678 _ACEOF
59679 if ac_fn_cxx_try_compile "$LINENO"; then :
59680 glibcxx_cv_func_strtof_use=yes
59681 else
59682 glibcxx_cv_func_strtof_use=no
59684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59685 ac_ext=c
59686 ac_cpp='$CPP $CPPFLAGS'
59687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59696 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59697 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59698 for ac_func in strtof
59699 do :
59700 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59701 if test "x$ac_cv_func_strtof" = x""yes; then :
59702 cat >>confdefs.h <<_ACEOF
59703 #define HAVE_STRTOF 1
59704 _ACEOF
59707 done
59714 CXXFLAGS="$ac_save_CXXFLAGS"
59716 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59720 # Check whether --enable-tls was given.
59721 if test "${enable_tls+set}" = set; then :
59722 enableval=$enable_tls;
59723 case "$enableval" in
59724 yes|no) ;;
59725 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59726 esac
59728 else
59729 enable_tls=yes
59733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59734 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59735 if test "${gcc_cv_have_tls+set}" = set; then :
59736 $as_echo_n "(cached) " >&6
59737 else
59739 if test "$cross_compiling" = yes; then :
59740 if test x$gcc_no_link = xyes; then
59741 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59744 /* end confdefs.h. */
59745 __thread int a; int b; int main() { return a = b; }
59746 _ACEOF
59747 if ac_fn_c_try_link "$LINENO"; then :
59748 chktls_save_LDFLAGS="$LDFLAGS"
59749 case $host in
59750 *-*-linux*)
59751 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59753 esac
59754 chktls_save_CFLAGS="$CFLAGS"
59755 CFLAGS="-fPIC $CFLAGS"
59756 if test x$gcc_no_link = xyes; then
59757 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59760 /* end confdefs.h. */
59761 int f() { return 0; }
59762 _ACEOF
59763 if ac_fn_c_try_link "$LINENO"; then :
59764 if test x$gcc_no_link = xyes; then
59765 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59768 /* end confdefs.h. */
59769 __thread int a; int b; int f() { return a = b; }
59770 _ACEOF
59771 if ac_fn_c_try_link "$LINENO"; then :
59772 gcc_cv_have_tls=yes
59773 else
59774 gcc_cv_have_tls=no
59776 rm -f core conftest.err conftest.$ac_objext \
59777 conftest$ac_exeext conftest.$ac_ext
59778 else
59779 gcc_cv_have_tls=yes
59781 rm -f core conftest.err conftest.$ac_objext \
59782 conftest$ac_exeext conftest.$ac_ext
59783 CFLAGS="$chktls_save_CFLAGS"
59784 LDFLAGS="$chktls_save_LDFLAGS"
59785 else
59786 gcc_cv_have_tls=no
59788 rm -f core conftest.err conftest.$ac_objext \
59789 conftest$ac_exeext conftest.$ac_ext
59792 else
59793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59794 /* end confdefs.h. */
59795 __thread int a; int b; int main() { return a = b; }
59796 _ACEOF
59797 if ac_fn_c_try_run "$LINENO"; then :
59798 chktls_save_LDFLAGS="$LDFLAGS"
59799 LDFLAGS="-static $LDFLAGS"
59800 if test x$gcc_no_link = xyes; then
59801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59804 /* end confdefs.h. */
59805 int main() { return 0; }
59806 _ACEOF
59807 if ac_fn_c_try_link "$LINENO"; then :
59808 if test "$cross_compiling" = yes; then :
59809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59811 as_fn_error "cannot run test program while cross compiling
59812 See \`config.log' for more details." "$LINENO" 5; }
59813 else
59814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59815 /* end confdefs.h. */
59816 __thread int a; int b; int main() { return a = b; }
59817 _ACEOF
59818 if ac_fn_c_try_run "$LINENO"; then :
59819 gcc_cv_have_tls=yes
59820 else
59821 gcc_cv_have_tls=no
59823 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59824 conftest.$ac_objext conftest.beam conftest.$ac_ext
59827 else
59828 gcc_cv_have_tls=yes
59830 rm -f core conftest.err conftest.$ac_objext \
59831 conftest$ac_exeext conftest.$ac_ext
59832 LDFLAGS="$chktls_save_LDFLAGS"
59833 if test $gcc_cv_have_tls = yes; then
59834 chktls_save_CFLAGS="$CFLAGS"
59835 thread_CFLAGS=failed
59836 for flag in '' '-pthread' '-lpthread'; do
59837 CFLAGS="$flag $chktls_save_CFLAGS"
59838 if test x$gcc_no_link = xyes; then
59839 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59842 /* end confdefs.h. */
59843 #include <pthread.h>
59844 void *g(void *d) { return NULL; }
59846 main ()
59848 pthread_t t; pthread_create(&t,NULL,g,NULL);
59850 return 0;
59852 _ACEOF
59853 if ac_fn_c_try_link "$LINENO"; then :
59854 thread_CFLAGS="$flag"
59856 rm -f core conftest.err conftest.$ac_objext \
59857 conftest$ac_exeext conftest.$ac_ext
59858 if test "X$thread_CFLAGS" != Xfailed; then
59859 break
59861 done
59862 CFLAGS="$chktls_save_CFLAGS"
59863 if test "X$thread_CFLAGS" != Xfailed; then
59864 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59865 if test "$cross_compiling" = yes; then :
59866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59868 as_fn_error "cannot run test program while cross compiling
59869 See \`config.log' for more details." "$LINENO" 5; }
59870 else
59871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59872 /* end confdefs.h. */
59873 #include <pthread.h>
59874 __thread int a;
59875 static int *volatile a_in_other_thread;
59876 static void *
59877 thread_func (void *arg)
59879 a_in_other_thread = &a;
59880 return (void *)0;
59883 main ()
59885 pthread_t thread;
59886 void *thread_retval;
59887 int *volatile a_in_main_thread;
59888 a_in_main_thread = &a;
59889 if (pthread_create (&thread, (pthread_attr_t *)0,
59890 thread_func, (void *)0))
59891 return 0;
59892 if (pthread_join (thread, &thread_retval))
59893 return 0;
59894 return (a_in_other_thread == a_in_main_thread);
59896 return 0;
59898 _ACEOF
59899 if ac_fn_c_try_run "$LINENO"; then :
59900 gcc_cv_have_tls=yes
59901 else
59902 gcc_cv_have_tls=no
59904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59905 conftest.$ac_objext conftest.beam conftest.$ac_ext
59908 CFLAGS="$chktls_save_CFLAGS"
59911 else
59912 gcc_cv_have_tls=no
59914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59915 conftest.$ac_objext conftest.beam conftest.$ac_ext
59919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59920 $as_echo "$gcc_cv_have_tls" >&6; }
59921 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59923 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59926 for ac_func in __cxa_thread_atexit_impl
59927 do :
59928 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59929 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59930 cat >>confdefs.h <<_ACEOF
59931 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59932 _ACEOF
59935 done
59937 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59938 do :
59939 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59940 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59941 eval as_val=\$$as_ac_var
59942 if test "x$as_val" = x""yes; then :
59943 cat >>confdefs.h <<_ACEOF
59944 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59945 _ACEOF
59948 done
59955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59956 $as_echo_n "checking for iconv... " >&6; }
59957 if test "${am_cv_func_iconv+set}" = set; then :
59958 $as_echo_n "(cached) " >&6
59959 else
59961 am_cv_func_iconv="no, consider installing GNU libiconv"
59962 am_cv_lib_iconv=no
59963 am_save_CPPFLAGS="$CPPFLAGS"
59964 CPPFLAGS="$CPPFLAGS $INCICONV"
59965 if test x$gcc_no_link = xyes; then
59966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59969 /* end confdefs.h. */
59970 #include <stdlib.h>
59971 #include <iconv.h>
59973 main ()
59975 iconv_t cd = iconv_open("","");
59976 iconv(cd,NULL,NULL,NULL,NULL);
59977 iconv_close(cd);
59979 return 0;
59981 _ACEOF
59982 if ac_fn_c_try_link "$LINENO"; then :
59983 am_cv_func_iconv=yes
59985 rm -f core conftest.err conftest.$ac_objext \
59986 conftest$ac_exeext conftest.$ac_ext
59987 CPPFLAGS="$am_save_CPPFLAGS"
59989 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
59990 for _libs in .libs _libs; do
59991 am_save_CPPFLAGS="$CPPFLAGS"
59992 am_save_LIBS="$LIBS"
59993 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
59994 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
59995 if test x$gcc_no_link = xyes; then
59996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59999 /* end confdefs.h. */
60000 #include <stdlib.h>
60001 #include <iconv.h>
60003 main ()
60005 iconv_t cd = iconv_open("","");
60006 iconv(cd,NULL,NULL,NULL,NULL);
60007 iconv_close(cd);
60009 return 0;
60011 _ACEOF
60012 if ac_fn_c_try_link "$LINENO"; then :
60013 INCICONV="-I../libiconv/include"
60014 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60015 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60016 am_cv_lib_iconv=yes
60017 am_cv_func_iconv=yes
60019 rm -f core conftest.err conftest.$ac_objext \
60020 conftest$ac_exeext conftest.$ac_ext
60021 CPPFLAGS="$am_save_CPPFLAGS"
60022 LIBS="$am_save_LIBS"
60023 if test "$am_cv_func_iconv" = "yes"; then
60024 break
60026 done
60029 if test "$am_cv_func_iconv" != yes; then
60030 am_save_CPPFLAGS="$CPPFLAGS"
60031 am_save_LIBS="$LIBS"
60032 CPPFLAGS="$LIBS $INCICONV"
60033 LIBS="$LIBS $LIBICONV"
60034 if test x$gcc_no_link = xyes; then
60035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60038 /* end confdefs.h. */
60039 #include <stdlib.h>
60040 #include <iconv.h>
60042 main ()
60044 iconv_t cd = iconv_open("","");
60045 iconv(cd,NULL,NULL,NULL,NULL);
60046 iconv_close(cd);
60048 return 0;
60050 _ACEOF
60051 if ac_fn_c_try_link "$LINENO"; then :
60052 am_cv_lib_iconv=yes
60053 am_cv_func_iconv=yes
60055 rm -f core conftest.err conftest.$ac_objext \
60056 conftest$ac_exeext conftest.$ac_ext
60057 CPPFLAGS="$am_save_CPPFLAGS"
60058 LIBS="$am_save_LIBS"
60062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60063 $as_echo "$am_cv_func_iconv" >&6; }
60064 if test "$am_cv_func_iconv" = yes; then
60066 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60069 if test "$am_cv_lib_iconv" = yes; then
60071 for element in $INCICONV; do
60072 haveit=
60073 for x in $CPPFLAGS; do
60075 acl_save_prefix="$prefix"
60076 prefix="$acl_final_prefix"
60077 acl_save_exec_prefix="$exec_prefix"
60078 exec_prefix="$acl_final_exec_prefix"
60079 eval x=\"$x\"
60080 exec_prefix="$acl_save_exec_prefix"
60081 prefix="$acl_save_prefix"
60083 if test "X$x" = "X$element"; then
60084 haveit=yes
60085 break
60087 done
60088 if test -z "$haveit"; then
60089 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60091 done
60093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60094 $as_echo_n "checking how to link with libiconv... " >&6; }
60095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60096 $as_echo "$LIBICONV" >&6; }
60097 else
60098 LIBICONV=
60099 LTLIBICONV=
60104 if test "$am_cv_func_iconv" = yes; then
60105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60106 $as_echo_n "checking for iconv declaration... " >&6; }
60107 if test "${am_cv_proto_iconv+set}" = set; then :
60108 $as_echo_n "(cached) " >&6
60109 else
60111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60112 /* end confdefs.h. */
60114 #include <stdlib.h>
60115 #include <iconv.h>
60116 extern
60117 #ifdef __cplusplus
60119 #endif
60120 #if defined(__STDC__) || defined(__cplusplus)
60121 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60122 #else
60123 size_t iconv();
60124 #endif
60127 main ()
60131 return 0;
60133 _ACEOF
60134 if ac_fn_c_try_compile "$LINENO"; then :
60135 am_cv_proto_iconv_arg1=""
60136 else
60137 am_cv_proto_iconv_arg1="const"
60139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60140 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);"
60143 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60145 }$am_cv_proto_iconv" >&5
60146 $as_echo "${ac_t:-
60147 }$am_cv_proto_iconv" >&6; }
60149 cat >>confdefs.h <<_ACEOF
60150 #define ICONV_CONST $am_cv_proto_iconv_arg1
60151 _ACEOF
60156 *-mingw32*)
60158 # If we're not using GNU ld, then there's no point in even trying these
60159 # tests. Check for that first. We should have already tested for gld
60160 # by now (in libtool), but require it now just to be safe...
60161 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60162 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60166 # The name set by libtool depends on the version of libtool. Shame on us
60167 # for depending on an impl detail, but c'est la vie. Older versions used
60168 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60169 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60170 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60171 # set (hence we're using an older libtool), then set it.
60172 if test x${with_gnu_ld+set} != xset; then
60173 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60174 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60175 with_gnu_ld=no
60176 else
60177 with_gnu_ld=$ac_cv_prog_gnu_ld
60181 # Start by getting the version number. I think the libtool test already
60182 # does some of this, but throws away the result.
60183 glibcxx_ld_is_gold=no
60184 if test x"$with_gnu_ld" = x"yes"; then
60185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60186 $as_echo_n "checking for ld version... " >&6; }
60188 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60189 glibcxx_ld_is_gold=yes
60191 ldver=`$LD --version 2>/dev/null |
60192 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'`
60194 glibcxx_gnu_ld_version=`echo $ldver | \
60195 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60197 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60200 # Set --gc-sections.
60201 glibcxx_have_gc_sections=no
60202 if test "$glibcxx_ld_is_gold" = "yes"; then
60203 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60204 glibcxx_have_gc_sections=yes
60206 else
60207 glibcxx_gcsections_min_ld=21602
60208 if test x"$with_gnu_ld" = x"yes" &&
60209 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60210 glibcxx_have_gc_sections=yes
60213 if test "$glibcxx_have_gc_sections" = "yes"; then
60214 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60215 # NB: This flag only works reliably after 2.16.1. Configure tests
60216 # for this are difficult, so hard wire a value that should work.
60218 ac_test_CFLAGS="${CFLAGS+set}"
60219 ac_save_CFLAGS="$CFLAGS"
60220 CFLAGS='-Wl,--gc-sections'
60222 # Check for -Wl,--gc-sections
60223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60224 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60225 if test x$gcc_no_link = xyes; then
60226 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60229 /* end confdefs.h. */
60230 int one(void) { return 1; }
60231 int two(void) { return 2; }
60234 main ()
60236 two();
60238 return 0;
60240 _ACEOF
60241 if ac_fn_c_try_link "$LINENO"; then :
60242 ac_gcsections=yes
60243 else
60244 ac_gcsections=no
60246 rm -f core conftest.err conftest.$ac_objext \
60247 conftest$ac_exeext conftest.$ac_ext
60248 if test "$ac_gcsections" = "yes"; then
60249 rm -f conftest.c
60250 touch conftest.c
60251 if $CC -c conftest.c; then
60252 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60253 grep "Warning: gc-sections option ignored" > /dev/null; then
60254 ac_gcsections=no
60257 rm -f conftest.c conftest.o conftest
60259 if test "$ac_gcsections" = "yes"; then
60260 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60263 $as_echo "$ac_gcsections" >&6; }
60265 if test "$ac_test_CFLAGS" = set; then
60266 CFLAGS="$ac_save_CFLAGS"
60267 else
60268 # this is the suspicious part
60269 CFLAGS=''
60273 # Set -z,relro.
60274 # Note this is only for shared objects.
60275 ac_ld_relro=no
60276 if test x"$with_gnu_ld" = x"yes"; then
60277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60278 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60279 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60280 if test -n "$cxx_z_relo"; then
60281 OPT_LDFLAGS="-Wl,-z,relro"
60282 ac_ld_relro=yes
60284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60285 $as_echo "$ac_ld_relro" >&6; }
60288 # Set linker optimization flags.
60289 if test x"$with_gnu_ld" = x"yes"; then
60290 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60297 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60298 ac_save_CXXFLAGS="$CXXFLAGS"
60299 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60302 $as_echo_n "checking for sin in -lm... " >&6; }
60303 if test "${ac_cv_lib_m_sin+set}" = set; then :
60304 $as_echo_n "(cached) " >&6
60305 else
60306 ac_check_lib_save_LIBS=$LIBS
60307 LIBS="-lm $LIBS"
60308 if test x$gcc_no_link = xyes; then
60309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60312 /* end confdefs.h. */
60314 /* Override any GCC internal prototype to avoid an error.
60315 Use char because int might match the return type of a GCC
60316 builtin and then its argument prototype would still apply. */
60317 #ifdef __cplusplus
60318 extern "C"
60319 #endif
60320 char sin ();
60322 main ()
60324 return sin ();
60326 return 0;
60328 _ACEOF
60329 if ac_fn_c_try_link "$LINENO"; then :
60330 ac_cv_lib_m_sin=yes
60331 else
60332 ac_cv_lib_m_sin=no
60334 rm -f core conftest.err conftest.$ac_objext \
60335 conftest$ac_exeext conftest.$ac_ext
60336 LIBS=$ac_check_lib_save_LIBS
60338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60339 $as_echo "$ac_cv_lib_m_sin" >&6; }
60340 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60341 libm="-lm"
60344 ac_save_LIBS="$LIBS"
60345 LIBS="$LIBS $libm"
60349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60350 $as_echo_n "checking for isinf declaration... " >&6; }
60351 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60352 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60353 $as_echo_n "(cached) " >&6
60354 else
60357 ac_ext=cpp
60358 ac_cpp='$CXXCPP $CPPFLAGS'
60359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60364 /* end confdefs.h. */
60365 #include <math.h>
60366 #ifdef HAVE_IEEEFP_H
60367 #include <ieeefp.h>
60368 #endif
60371 main ()
60373 isinf(0);
60375 return 0;
60377 _ACEOF
60378 if ac_fn_cxx_try_compile "$LINENO"; then :
60379 glibcxx_cv_func_isinf_use=yes
60380 else
60381 glibcxx_cv_func_isinf_use=no
60383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60384 ac_ext=c
60385 ac_cpp='$CPP $CPPFLAGS'
60386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60395 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60397 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60398 for ac_func in isinf
60399 do :
60400 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60401 if test "x$ac_cv_func_isinf" = x""yes; then :
60402 cat >>confdefs.h <<_ACEOF
60403 #define HAVE_ISINF 1
60404 _ACEOF
60407 done
60409 else
60411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60412 $as_echo_n "checking for _isinf declaration... " >&6; }
60413 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60414 if test "${glibcxx_cv_func__isinf_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>
60428 #ifdef HAVE_IEEEFP_H
60429 #include <ieeefp.h>
60430 #endif
60433 main ()
60435 _isinf(0);
60437 return 0;
60439 _ACEOF
60440 if ac_fn_cxx_try_compile "$LINENO"; then :
60441 glibcxx_cv_func__isinf_use=yes
60442 else
60443 glibcxx_cv_func__isinf_use=no
60445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60446 ac_ext=c
60447 ac_cpp='$CPP $CPPFLAGS'
60448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60457 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60459 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60460 for ac_func in _isinf
60461 do :
60462 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60463 if test "x$ac_cv_func__isinf" = x""yes; then :
60464 cat >>confdefs.h <<_ACEOF
60465 #define HAVE__ISINF 1
60466 _ACEOF
60469 done
60478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60479 $as_echo_n "checking for isnan declaration... " >&6; }
60480 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60481 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60482 $as_echo_n "(cached) " >&6
60483 else
60486 ac_ext=cpp
60487 ac_cpp='$CXXCPP $CPPFLAGS'
60488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60493 /* end confdefs.h. */
60494 #include <math.h>
60495 #ifdef HAVE_IEEEFP_H
60496 #include <ieeefp.h>
60497 #endif
60500 main ()
60502 isnan(0);
60504 return 0;
60506 _ACEOF
60507 if ac_fn_cxx_try_compile "$LINENO"; then :
60508 glibcxx_cv_func_isnan_use=yes
60509 else
60510 glibcxx_cv_func_isnan_use=no
60512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60513 ac_ext=c
60514 ac_cpp='$CPP $CPPFLAGS'
60515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60524 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60526 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60527 for ac_func in isnan
60528 do :
60529 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60530 if test "x$ac_cv_func_isnan" = x""yes; then :
60531 cat >>confdefs.h <<_ACEOF
60532 #define HAVE_ISNAN 1
60533 _ACEOF
60536 done
60538 else
60540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60541 $as_echo_n "checking for _isnan declaration... " >&6; }
60542 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60543 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60544 $as_echo_n "(cached) " >&6
60545 else
60548 ac_ext=cpp
60549 ac_cpp='$CXXCPP $CPPFLAGS'
60550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60555 /* end confdefs.h. */
60556 #include <math.h>
60557 #ifdef HAVE_IEEEFP_H
60558 #include <ieeefp.h>
60559 #endif
60562 main ()
60564 _isnan(0);
60566 return 0;
60568 _ACEOF
60569 if ac_fn_cxx_try_compile "$LINENO"; then :
60570 glibcxx_cv_func__isnan_use=yes
60571 else
60572 glibcxx_cv_func__isnan_use=no
60574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60575 ac_ext=c
60576 ac_cpp='$CPP $CPPFLAGS'
60577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60586 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60588 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60589 for ac_func in _isnan
60590 do :
60591 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60592 if test "x$ac_cv_func__isnan" = x""yes; then :
60593 cat >>confdefs.h <<_ACEOF
60594 #define HAVE__ISNAN 1
60595 _ACEOF
60598 done
60607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60608 $as_echo_n "checking for finite declaration... " >&6; }
60609 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60610 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60611 $as_echo_n "(cached) " >&6
60612 else
60615 ac_ext=cpp
60616 ac_cpp='$CXXCPP $CPPFLAGS'
60617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60622 /* end confdefs.h. */
60623 #include <math.h>
60624 #ifdef HAVE_IEEEFP_H
60625 #include <ieeefp.h>
60626 #endif
60629 main ()
60631 finite(0);
60633 return 0;
60635 _ACEOF
60636 if ac_fn_cxx_try_compile "$LINENO"; then :
60637 glibcxx_cv_func_finite_use=yes
60638 else
60639 glibcxx_cv_func_finite_use=no
60641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60642 ac_ext=c
60643 ac_cpp='$CPP $CPPFLAGS'
60644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60653 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60655 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60656 for ac_func in finite
60657 do :
60658 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60659 if test "x$ac_cv_func_finite" = x""yes; then :
60660 cat >>confdefs.h <<_ACEOF
60661 #define HAVE_FINITE 1
60662 _ACEOF
60665 done
60667 else
60669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60670 $as_echo_n "checking for _finite declaration... " >&6; }
60671 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60672 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60673 $as_echo_n "(cached) " >&6
60674 else
60677 ac_ext=cpp
60678 ac_cpp='$CXXCPP $CPPFLAGS'
60679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60684 /* end confdefs.h. */
60685 #include <math.h>
60686 #ifdef HAVE_IEEEFP_H
60687 #include <ieeefp.h>
60688 #endif
60691 main ()
60693 _finite(0);
60695 return 0;
60697 _ACEOF
60698 if ac_fn_cxx_try_compile "$LINENO"; then :
60699 glibcxx_cv_func__finite_use=yes
60700 else
60701 glibcxx_cv_func__finite_use=no
60703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60704 ac_ext=c
60705 ac_cpp='$CPP $CPPFLAGS'
60706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60715 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60717 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60718 for ac_func in _finite
60719 do :
60720 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60721 if test "x$ac_cv_func__finite" = x""yes; then :
60722 cat >>confdefs.h <<_ACEOF
60723 #define HAVE__FINITE 1
60724 _ACEOF
60727 done
60736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60737 $as_echo_n "checking for sincos declaration... " >&6; }
60738 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60739 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60740 $as_echo_n "(cached) " >&6
60741 else
60744 ac_ext=cpp
60745 ac_cpp='$CXXCPP $CPPFLAGS'
60746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60751 /* end confdefs.h. */
60752 #include <math.h>
60754 main ()
60756 sincos(0, 0, 0);
60758 return 0;
60760 _ACEOF
60761 if ac_fn_cxx_try_compile "$LINENO"; then :
60762 glibcxx_cv_func_sincos_use=yes
60763 else
60764 glibcxx_cv_func_sincos_use=no
60766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60767 ac_ext=c
60768 ac_cpp='$CPP $CPPFLAGS'
60769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60778 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60780 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60781 for ac_func in sincos
60782 do :
60783 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60784 if test "x$ac_cv_func_sincos" = x""yes; then :
60785 cat >>confdefs.h <<_ACEOF
60786 #define HAVE_SINCOS 1
60787 _ACEOF
60790 done
60792 else
60794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60795 $as_echo_n "checking for _sincos declaration... " >&6; }
60796 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60797 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60798 $as_echo_n "(cached) " >&6
60799 else
60802 ac_ext=cpp
60803 ac_cpp='$CXXCPP $CPPFLAGS'
60804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60809 /* end confdefs.h. */
60810 #include <math.h>
60812 main ()
60814 _sincos(0, 0, 0);
60816 return 0;
60818 _ACEOF
60819 if ac_fn_cxx_try_compile "$LINENO"; then :
60820 glibcxx_cv_func__sincos_use=yes
60821 else
60822 glibcxx_cv_func__sincos_use=no
60824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60825 ac_ext=c
60826 ac_cpp='$CPP $CPPFLAGS'
60827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60836 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60838 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60839 for ac_func in _sincos
60840 do :
60841 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60842 if test "x$ac_cv_func__sincos" = x""yes; then :
60843 cat >>confdefs.h <<_ACEOF
60844 #define HAVE__SINCOS 1
60845 _ACEOF
60848 done
60857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60858 $as_echo_n "checking for fpclass declaration... " >&6; }
60859 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60860 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60861 $as_echo_n "(cached) " >&6
60862 else
60865 ac_ext=cpp
60866 ac_cpp='$CXXCPP $CPPFLAGS'
60867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60872 /* end confdefs.h. */
60873 #include <math.h>
60874 #ifdef HAVE_IEEEFP_H
60875 #include <ieeefp.h>
60876 #endif
60879 main ()
60881 fpclass(0);
60883 return 0;
60885 _ACEOF
60886 if ac_fn_cxx_try_compile "$LINENO"; then :
60887 glibcxx_cv_func_fpclass_use=yes
60888 else
60889 glibcxx_cv_func_fpclass_use=no
60891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60892 ac_ext=c
60893 ac_cpp='$CPP $CPPFLAGS'
60894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60903 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60905 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60906 for ac_func in fpclass
60907 do :
60908 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60909 if test "x$ac_cv_func_fpclass" = x""yes; then :
60910 cat >>confdefs.h <<_ACEOF
60911 #define HAVE_FPCLASS 1
60912 _ACEOF
60915 done
60917 else
60919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60920 $as_echo_n "checking for _fpclass declaration... " >&6; }
60921 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60922 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60923 $as_echo_n "(cached) " >&6
60924 else
60927 ac_ext=cpp
60928 ac_cpp='$CXXCPP $CPPFLAGS'
60929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60934 /* end confdefs.h. */
60935 #include <math.h>
60936 #ifdef HAVE_IEEEFP_H
60937 #include <ieeefp.h>
60938 #endif
60941 main ()
60943 _fpclass(0);
60945 return 0;
60947 _ACEOF
60948 if ac_fn_cxx_try_compile "$LINENO"; then :
60949 glibcxx_cv_func__fpclass_use=yes
60950 else
60951 glibcxx_cv_func__fpclass_use=no
60953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60954 ac_ext=c
60955 ac_cpp='$CPP $CPPFLAGS'
60956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60965 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60967 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60968 for ac_func in _fpclass
60969 do :
60970 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60971 if test "x$ac_cv_func__fpclass" = x""yes; then :
60972 cat >>confdefs.h <<_ACEOF
60973 #define HAVE__FPCLASS 1
60974 _ACEOF
60977 done
60986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60987 $as_echo_n "checking for qfpclass declaration... " >&6; }
60988 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
60989 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
60990 $as_echo_n "(cached) " >&6
60991 else
60994 ac_ext=cpp
60995 ac_cpp='$CXXCPP $CPPFLAGS'
60996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61001 /* end confdefs.h. */
61002 #include <math.h>
61003 #ifdef HAVE_IEEEFP_H
61004 #include <ieeefp.h>
61005 #endif
61008 main ()
61010 qfpclass(0);
61012 return 0;
61014 _ACEOF
61015 if ac_fn_cxx_try_compile "$LINENO"; then :
61016 glibcxx_cv_func_qfpclass_use=yes
61017 else
61018 glibcxx_cv_func_qfpclass_use=no
61020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61021 ac_ext=c
61022 ac_cpp='$CPP $CPPFLAGS'
61023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61032 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61034 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61035 for ac_func in qfpclass
61036 do :
61037 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61038 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61039 cat >>confdefs.h <<_ACEOF
61040 #define HAVE_QFPCLASS 1
61041 _ACEOF
61044 done
61046 else
61048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61049 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61050 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61051 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61052 $as_echo_n "(cached) " >&6
61053 else
61056 ac_ext=cpp
61057 ac_cpp='$CXXCPP $CPPFLAGS'
61058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61063 /* end confdefs.h. */
61064 #include <math.h>
61065 #ifdef HAVE_IEEEFP_H
61066 #include <ieeefp.h>
61067 #endif
61070 main ()
61072 _qfpclass(0);
61074 return 0;
61076 _ACEOF
61077 if ac_fn_cxx_try_compile "$LINENO"; then :
61078 glibcxx_cv_func__qfpclass_use=yes
61079 else
61080 glibcxx_cv_func__qfpclass_use=no
61082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61083 ac_ext=c
61084 ac_cpp='$CPP $CPPFLAGS'
61085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61094 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61096 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61097 for ac_func in _qfpclass
61098 do :
61099 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61100 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61101 cat >>confdefs.h <<_ACEOF
61102 #define HAVE__QFPCLASS 1
61103 _ACEOF
61106 done
61115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61116 $as_echo_n "checking for hypot declaration... " >&6; }
61117 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61118 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61119 $as_echo_n "(cached) " >&6
61120 else
61123 ac_ext=cpp
61124 ac_cpp='$CXXCPP $CPPFLAGS'
61125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61130 /* end confdefs.h. */
61131 #include <math.h>
61133 main ()
61135 hypot(0, 0);
61137 return 0;
61139 _ACEOF
61140 if ac_fn_cxx_try_compile "$LINENO"; then :
61141 glibcxx_cv_func_hypot_use=yes
61142 else
61143 glibcxx_cv_func_hypot_use=no
61145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61146 ac_ext=c
61147 ac_cpp='$CPP $CPPFLAGS'
61148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61157 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61159 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61160 for ac_func in hypot
61161 do :
61162 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61163 if test "x$ac_cv_func_hypot" = x""yes; then :
61164 cat >>confdefs.h <<_ACEOF
61165 #define HAVE_HYPOT 1
61166 _ACEOF
61169 done
61171 else
61173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61174 $as_echo_n "checking for _hypot declaration... " >&6; }
61175 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61176 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61177 $as_echo_n "(cached) " >&6
61178 else
61181 ac_ext=cpp
61182 ac_cpp='$CXXCPP $CPPFLAGS'
61183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61188 /* end confdefs.h. */
61189 #include <math.h>
61191 main ()
61193 _hypot(0, 0);
61195 return 0;
61197 _ACEOF
61198 if ac_fn_cxx_try_compile "$LINENO"; then :
61199 glibcxx_cv_func__hypot_use=yes
61200 else
61201 glibcxx_cv_func__hypot_use=no
61203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61204 ac_ext=c
61205 ac_cpp='$CPP $CPPFLAGS'
61206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61215 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61217 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61218 for ac_func in _hypot
61219 do :
61220 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61221 if test "x$ac_cv_func__hypot" = x""yes; then :
61222 cat >>confdefs.h <<_ACEOF
61223 #define HAVE__HYPOT 1
61224 _ACEOF
61227 done
61236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61237 $as_echo_n "checking for float trig functions... " >&6; }
61238 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61239 $as_echo_n "(cached) " >&6
61240 else
61243 ac_ext=cpp
61244 ac_cpp='$CXXCPP $CPPFLAGS'
61245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61250 /* end confdefs.h. */
61251 #include <math.h>
61253 main ()
61255 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61257 return 0;
61259 _ACEOF
61260 if ac_fn_cxx_try_compile "$LINENO"; then :
61261 glibcxx_cv_func_float_trig_use=yes
61262 else
61263 glibcxx_cv_func_float_trig_use=no
61265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61266 ac_ext=c
61267 ac_cpp='$CPP $CPPFLAGS'
61268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61275 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61276 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61277 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61278 do :
61279 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61280 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61281 eval as_val=\$$as_ac_var
61282 if test "x$as_val" = x""yes; then :
61283 cat >>confdefs.h <<_ACEOF
61284 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61285 _ACEOF
61288 done
61290 else
61291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61292 $as_echo_n "checking for _float trig functions... " >&6; }
61293 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61294 $as_echo_n "(cached) " >&6
61295 else
61298 ac_ext=cpp
61299 ac_cpp='$CXXCPP $CPPFLAGS'
61300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61305 /* end confdefs.h. */
61306 #include <math.h>
61308 main ()
61310 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61312 return 0;
61314 _ACEOF
61315 if ac_fn_cxx_try_compile "$LINENO"; then :
61316 glibcxx_cv_func__float_trig_use=yes
61317 else
61318 glibcxx_cv_func__float_trig_use=no
61320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61321 ac_ext=c
61322 ac_cpp='$CPP $CPPFLAGS'
61323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61330 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61331 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61332 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61333 do :
61334 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61335 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61336 eval as_val=\$$as_ac_var
61337 if test "x$as_val" = x""yes; then :
61338 cat >>confdefs.h <<_ACEOF
61339 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61340 _ACEOF
61343 done
61352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61353 $as_echo_n "checking for float round functions... " >&6; }
61354 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61355 $as_echo_n "(cached) " >&6
61356 else
61359 ac_ext=cpp
61360 ac_cpp='$CXXCPP $CPPFLAGS'
61361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61366 /* end confdefs.h. */
61367 #include <math.h>
61369 main ()
61371 ceilf (0); floorf (0);
61373 return 0;
61375 _ACEOF
61376 if ac_fn_cxx_try_compile "$LINENO"; then :
61377 glibcxx_cv_func_float_round_use=yes
61378 else
61379 glibcxx_cv_func_float_round_use=no
61381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61382 ac_ext=c
61383 ac_cpp='$CPP $CPPFLAGS'
61384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61391 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61392 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61393 for ac_func in ceilf floorf
61394 do :
61395 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61396 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61397 eval as_val=\$$as_ac_var
61398 if test "x$as_val" = x""yes; then :
61399 cat >>confdefs.h <<_ACEOF
61400 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61401 _ACEOF
61404 done
61406 else
61407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61408 $as_echo_n "checking for _float round functions... " >&6; }
61409 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61410 $as_echo_n "(cached) " >&6
61411 else
61414 ac_ext=cpp
61415 ac_cpp='$CXXCPP $CPPFLAGS'
61416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61421 /* end confdefs.h. */
61422 #include <math.h>
61424 main ()
61426 _ceilf (0); _floorf (0);
61428 return 0;
61430 _ACEOF
61431 if ac_fn_cxx_try_compile "$LINENO"; then :
61432 glibcxx_cv_func__float_round_use=yes
61433 else
61434 glibcxx_cv_func__float_round_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
61445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61446 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61447 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61448 for ac_func in _ceilf _floorf
61449 do :
61450 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61451 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61452 eval as_val=\$$as_ac_var
61453 if test "x$as_val" = x""yes; then :
61454 cat >>confdefs.h <<_ACEOF
61455 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61456 _ACEOF
61459 done
61469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61470 $as_echo_n "checking for expf declaration... " >&6; }
61471 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61472 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61473 $as_echo_n "(cached) " >&6
61474 else
61477 ac_ext=cpp
61478 ac_cpp='$CXXCPP $CPPFLAGS'
61479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61484 /* end confdefs.h. */
61485 #include <math.h>
61486 #ifdef HAVE_IEEEFP_H
61487 #include <ieeefp.h>
61488 #endif
61491 main ()
61493 expf(0);
61495 return 0;
61497 _ACEOF
61498 if ac_fn_cxx_try_compile "$LINENO"; then :
61499 glibcxx_cv_func_expf_use=yes
61500 else
61501 glibcxx_cv_func_expf_use=no
61503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61504 ac_ext=c
61505 ac_cpp='$CPP $CPPFLAGS'
61506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61515 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61517 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61518 for ac_func in expf
61519 do :
61520 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61521 if test "x$ac_cv_func_expf" = x""yes; then :
61522 cat >>confdefs.h <<_ACEOF
61523 #define HAVE_EXPF 1
61524 _ACEOF
61527 done
61529 else
61531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61532 $as_echo_n "checking for _expf declaration... " >&6; }
61533 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61534 if test "${glibcxx_cv_func__expf_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>
61548 #ifdef HAVE_IEEEFP_H
61549 #include <ieeefp.h>
61550 #endif
61553 main ()
61555 _expf(0);
61557 return 0;
61559 _ACEOF
61560 if ac_fn_cxx_try_compile "$LINENO"; then :
61561 glibcxx_cv_func__expf_use=yes
61562 else
61563 glibcxx_cv_func__expf_use=no
61565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61566 ac_ext=c
61567 ac_cpp='$CPP $CPPFLAGS'
61568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61577 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61579 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61580 for ac_func in _expf
61581 do :
61582 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61583 if test "x$ac_cv_func__expf" = x""yes; then :
61584 cat >>confdefs.h <<_ACEOF
61585 #define HAVE__EXPF 1
61586 _ACEOF
61589 done
61598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61599 $as_echo_n "checking for isnanf declaration... " >&6; }
61600 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61601 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61602 $as_echo_n "(cached) " >&6
61603 else
61606 ac_ext=cpp
61607 ac_cpp='$CXXCPP $CPPFLAGS'
61608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61613 /* end confdefs.h. */
61614 #include <math.h>
61615 #ifdef HAVE_IEEEFP_H
61616 #include <ieeefp.h>
61617 #endif
61620 main ()
61622 isnanf(0);
61624 return 0;
61626 _ACEOF
61627 if ac_fn_cxx_try_compile "$LINENO"; then :
61628 glibcxx_cv_func_isnanf_use=yes
61629 else
61630 glibcxx_cv_func_isnanf_use=no
61632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61633 ac_ext=c
61634 ac_cpp='$CPP $CPPFLAGS'
61635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61644 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61646 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61647 for ac_func in isnanf
61648 do :
61649 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61650 if test "x$ac_cv_func_isnanf" = x""yes; then :
61651 cat >>confdefs.h <<_ACEOF
61652 #define HAVE_ISNANF 1
61653 _ACEOF
61656 done
61658 else
61660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61661 $as_echo_n "checking for _isnanf declaration... " >&6; }
61662 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61663 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61664 $as_echo_n "(cached) " >&6
61665 else
61668 ac_ext=cpp
61669 ac_cpp='$CXXCPP $CPPFLAGS'
61670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61675 /* end confdefs.h. */
61676 #include <math.h>
61677 #ifdef HAVE_IEEEFP_H
61678 #include <ieeefp.h>
61679 #endif
61682 main ()
61684 _isnanf(0);
61686 return 0;
61688 _ACEOF
61689 if ac_fn_cxx_try_compile "$LINENO"; then :
61690 glibcxx_cv_func__isnanf_use=yes
61691 else
61692 glibcxx_cv_func__isnanf_use=no
61694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61695 ac_ext=c
61696 ac_cpp='$CPP $CPPFLAGS'
61697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61706 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61708 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61709 for ac_func in _isnanf
61710 do :
61711 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61712 if test "x$ac_cv_func__isnanf" = x""yes; then :
61713 cat >>confdefs.h <<_ACEOF
61714 #define HAVE__ISNANF 1
61715 _ACEOF
61718 done
61727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61728 $as_echo_n "checking for isinff declaration... " >&6; }
61729 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61730 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61731 $as_echo_n "(cached) " >&6
61732 else
61735 ac_ext=cpp
61736 ac_cpp='$CXXCPP $CPPFLAGS'
61737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61742 /* end confdefs.h. */
61743 #include <math.h>
61744 #ifdef HAVE_IEEEFP_H
61745 #include <ieeefp.h>
61746 #endif
61749 main ()
61751 isinff(0);
61753 return 0;
61755 _ACEOF
61756 if ac_fn_cxx_try_compile "$LINENO"; then :
61757 glibcxx_cv_func_isinff_use=yes
61758 else
61759 glibcxx_cv_func_isinff_use=no
61761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61762 ac_ext=c
61763 ac_cpp='$CPP $CPPFLAGS'
61764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61773 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61775 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61776 for ac_func in isinff
61777 do :
61778 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61779 if test "x$ac_cv_func_isinff" = x""yes; then :
61780 cat >>confdefs.h <<_ACEOF
61781 #define HAVE_ISINFF 1
61782 _ACEOF
61785 done
61787 else
61789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61790 $as_echo_n "checking for _isinff declaration... " >&6; }
61791 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61792 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61793 $as_echo_n "(cached) " >&6
61794 else
61797 ac_ext=cpp
61798 ac_cpp='$CXXCPP $CPPFLAGS'
61799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61804 /* end confdefs.h. */
61805 #include <math.h>
61806 #ifdef HAVE_IEEEFP_H
61807 #include <ieeefp.h>
61808 #endif
61811 main ()
61813 _isinff(0);
61815 return 0;
61817 _ACEOF
61818 if ac_fn_cxx_try_compile "$LINENO"; then :
61819 glibcxx_cv_func__isinff_use=yes
61820 else
61821 glibcxx_cv_func__isinff_use=no
61823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61824 ac_ext=c
61825 ac_cpp='$CPP $CPPFLAGS'
61826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61835 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61837 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61838 for ac_func in _isinff
61839 do :
61840 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61841 if test "x$ac_cv_func__isinff" = x""yes; then :
61842 cat >>confdefs.h <<_ACEOF
61843 #define HAVE__ISINFF 1
61844 _ACEOF
61847 done
61856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61857 $as_echo_n "checking for atan2f declaration... " >&6; }
61858 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61859 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61860 $as_echo_n "(cached) " >&6
61861 else
61864 ac_ext=cpp
61865 ac_cpp='$CXXCPP $CPPFLAGS'
61866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61871 /* end confdefs.h. */
61872 #include <math.h>
61874 main ()
61876 atan2f(0, 0);
61878 return 0;
61880 _ACEOF
61881 if ac_fn_cxx_try_compile "$LINENO"; then :
61882 glibcxx_cv_func_atan2f_use=yes
61883 else
61884 glibcxx_cv_func_atan2f_use=no
61886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61887 ac_ext=c
61888 ac_cpp='$CPP $CPPFLAGS'
61889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61898 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61900 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61901 for ac_func in atan2f
61902 do :
61903 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61904 if test "x$ac_cv_func_atan2f" = x""yes; then :
61905 cat >>confdefs.h <<_ACEOF
61906 #define HAVE_ATAN2F 1
61907 _ACEOF
61910 done
61912 else
61914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61915 $as_echo_n "checking for _atan2f declaration... " >&6; }
61916 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61917 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61918 $as_echo_n "(cached) " >&6
61919 else
61922 ac_ext=cpp
61923 ac_cpp='$CXXCPP $CPPFLAGS'
61924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61929 /* end confdefs.h. */
61930 #include <math.h>
61932 main ()
61934 _atan2f(0, 0);
61936 return 0;
61938 _ACEOF
61939 if ac_fn_cxx_try_compile "$LINENO"; then :
61940 glibcxx_cv_func__atan2f_use=yes
61941 else
61942 glibcxx_cv_func__atan2f_use=no
61944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61945 ac_ext=c
61946 ac_cpp='$CPP $CPPFLAGS'
61947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61956 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61958 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61959 for ac_func in _atan2f
61960 do :
61961 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61962 if test "x$ac_cv_func__atan2f" = x""yes; then :
61963 cat >>confdefs.h <<_ACEOF
61964 #define HAVE__ATAN2F 1
61965 _ACEOF
61968 done
61977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61978 $as_echo_n "checking for fabsf declaration... " >&6; }
61979 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61980 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61981 $as_echo_n "(cached) " >&6
61982 else
61985 ac_ext=cpp
61986 ac_cpp='$CXXCPP $CPPFLAGS'
61987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61992 /* end confdefs.h. */
61993 #include <math.h>
61994 #ifdef HAVE_IEEEFP_H
61995 #include <ieeefp.h>
61996 #endif
61999 main ()
62001 fabsf(0);
62003 return 0;
62005 _ACEOF
62006 if ac_fn_cxx_try_compile "$LINENO"; then :
62007 glibcxx_cv_func_fabsf_use=yes
62008 else
62009 glibcxx_cv_func_fabsf_use=no
62011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62012 ac_ext=c
62013 ac_cpp='$CPP $CPPFLAGS'
62014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62023 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62025 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62026 for ac_func in fabsf
62027 do :
62028 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62029 if test "x$ac_cv_func_fabsf" = x""yes; then :
62030 cat >>confdefs.h <<_ACEOF
62031 #define HAVE_FABSF 1
62032 _ACEOF
62035 done
62037 else
62039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62040 $as_echo_n "checking for _fabsf declaration... " >&6; }
62041 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62042 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62043 $as_echo_n "(cached) " >&6
62044 else
62047 ac_ext=cpp
62048 ac_cpp='$CXXCPP $CPPFLAGS'
62049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62054 /* end confdefs.h. */
62055 #include <math.h>
62056 #ifdef HAVE_IEEEFP_H
62057 #include <ieeefp.h>
62058 #endif
62061 main ()
62063 _fabsf(0);
62065 return 0;
62067 _ACEOF
62068 if ac_fn_cxx_try_compile "$LINENO"; then :
62069 glibcxx_cv_func__fabsf_use=yes
62070 else
62071 glibcxx_cv_func__fabsf_use=no
62073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62074 ac_ext=c
62075 ac_cpp='$CPP $CPPFLAGS'
62076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62085 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62087 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62088 for ac_func in _fabsf
62089 do :
62090 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62091 if test "x$ac_cv_func__fabsf" = x""yes; then :
62092 cat >>confdefs.h <<_ACEOF
62093 #define HAVE__FABSF 1
62094 _ACEOF
62097 done
62106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62107 $as_echo_n "checking for fmodf declaration... " >&6; }
62108 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62109 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62110 $as_echo_n "(cached) " >&6
62111 else
62114 ac_ext=cpp
62115 ac_cpp='$CXXCPP $CPPFLAGS'
62116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62121 /* end confdefs.h. */
62122 #include <math.h>
62124 main ()
62126 fmodf(0, 0);
62128 return 0;
62130 _ACEOF
62131 if ac_fn_cxx_try_compile "$LINENO"; then :
62132 glibcxx_cv_func_fmodf_use=yes
62133 else
62134 glibcxx_cv_func_fmodf_use=no
62136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62137 ac_ext=c
62138 ac_cpp='$CPP $CPPFLAGS'
62139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62148 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62150 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62151 for ac_func in fmodf
62152 do :
62153 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62154 if test "x$ac_cv_func_fmodf" = x""yes; then :
62155 cat >>confdefs.h <<_ACEOF
62156 #define HAVE_FMODF 1
62157 _ACEOF
62160 done
62162 else
62164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62165 $as_echo_n "checking for _fmodf declaration... " >&6; }
62166 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62167 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62168 $as_echo_n "(cached) " >&6
62169 else
62172 ac_ext=cpp
62173 ac_cpp='$CXXCPP $CPPFLAGS'
62174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62179 /* end confdefs.h. */
62180 #include <math.h>
62182 main ()
62184 _fmodf(0, 0);
62186 return 0;
62188 _ACEOF
62189 if ac_fn_cxx_try_compile "$LINENO"; then :
62190 glibcxx_cv_func__fmodf_use=yes
62191 else
62192 glibcxx_cv_func__fmodf_use=no
62194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62195 ac_ext=c
62196 ac_cpp='$CPP $CPPFLAGS'
62197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62206 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62208 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62209 for ac_func in _fmodf
62210 do :
62211 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62212 if test "x$ac_cv_func__fmodf" = x""yes; then :
62213 cat >>confdefs.h <<_ACEOF
62214 #define HAVE__FMODF 1
62215 _ACEOF
62218 done
62227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62228 $as_echo_n "checking for frexpf declaration... " >&6; }
62229 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62230 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62231 $as_echo_n "(cached) " >&6
62232 else
62235 ac_ext=cpp
62236 ac_cpp='$CXXCPP $CPPFLAGS'
62237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62242 /* end confdefs.h. */
62243 #include <math.h>
62245 main ()
62247 frexpf(0, 0);
62249 return 0;
62251 _ACEOF
62252 if ac_fn_cxx_try_compile "$LINENO"; then :
62253 glibcxx_cv_func_frexpf_use=yes
62254 else
62255 glibcxx_cv_func_frexpf_use=no
62257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62258 ac_ext=c
62259 ac_cpp='$CPP $CPPFLAGS'
62260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62269 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62271 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62272 for ac_func in frexpf
62273 do :
62274 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62275 if test "x$ac_cv_func_frexpf" = x""yes; then :
62276 cat >>confdefs.h <<_ACEOF
62277 #define HAVE_FREXPF 1
62278 _ACEOF
62281 done
62283 else
62285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62286 $as_echo_n "checking for _frexpf declaration... " >&6; }
62287 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62288 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62289 $as_echo_n "(cached) " >&6
62290 else
62293 ac_ext=cpp
62294 ac_cpp='$CXXCPP $CPPFLAGS'
62295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62300 /* end confdefs.h. */
62301 #include <math.h>
62303 main ()
62305 _frexpf(0, 0);
62307 return 0;
62309 _ACEOF
62310 if ac_fn_cxx_try_compile "$LINENO"; then :
62311 glibcxx_cv_func__frexpf_use=yes
62312 else
62313 glibcxx_cv_func__frexpf_use=no
62315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62316 ac_ext=c
62317 ac_cpp='$CPP $CPPFLAGS'
62318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62327 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62329 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62330 for ac_func in _frexpf
62331 do :
62332 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62333 if test "x$ac_cv_func__frexpf" = x""yes; then :
62334 cat >>confdefs.h <<_ACEOF
62335 #define HAVE__FREXPF 1
62336 _ACEOF
62339 done
62348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62349 $as_echo_n "checking for hypotf declaration... " >&6; }
62350 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62351 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62352 $as_echo_n "(cached) " >&6
62353 else
62356 ac_ext=cpp
62357 ac_cpp='$CXXCPP $CPPFLAGS'
62358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62363 /* end confdefs.h. */
62364 #include <math.h>
62366 main ()
62368 hypotf(0, 0);
62370 return 0;
62372 _ACEOF
62373 if ac_fn_cxx_try_compile "$LINENO"; then :
62374 glibcxx_cv_func_hypotf_use=yes
62375 else
62376 glibcxx_cv_func_hypotf_use=no
62378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62379 ac_ext=c
62380 ac_cpp='$CPP $CPPFLAGS'
62381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62390 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62392 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62393 for ac_func in hypotf
62394 do :
62395 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62396 if test "x$ac_cv_func_hypotf" = x""yes; then :
62397 cat >>confdefs.h <<_ACEOF
62398 #define HAVE_HYPOTF 1
62399 _ACEOF
62402 done
62404 else
62406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62407 $as_echo_n "checking for _hypotf declaration... " >&6; }
62408 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62409 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62410 $as_echo_n "(cached) " >&6
62411 else
62414 ac_ext=cpp
62415 ac_cpp='$CXXCPP $CPPFLAGS'
62416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62421 /* end confdefs.h. */
62422 #include <math.h>
62424 main ()
62426 _hypotf(0, 0);
62428 return 0;
62430 _ACEOF
62431 if ac_fn_cxx_try_compile "$LINENO"; then :
62432 glibcxx_cv_func__hypotf_use=yes
62433 else
62434 glibcxx_cv_func__hypotf_use=no
62436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62437 ac_ext=c
62438 ac_cpp='$CPP $CPPFLAGS'
62439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62448 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62450 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62451 for ac_func in _hypotf
62452 do :
62453 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62454 if test "x$ac_cv_func__hypotf" = x""yes; then :
62455 cat >>confdefs.h <<_ACEOF
62456 #define HAVE__HYPOTF 1
62457 _ACEOF
62460 done
62469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62470 $as_echo_n "checking for ldexpf declaration... " >&6; }
62471 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62472 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62473 $as_echo_n "(cached) " >&6
62474 else
62477 ac_ext=cpp
62478 ac_cpp='$CXXCPP $CPPFLAGS'
62479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62484 /* end confdefs.h. */
62485 #include <math.h>
62487 main ()
62489 ldexpf(0, 0);
62491 return 0;
62493 _ACEOF
62494 if ac_fn_cxx_try_compile "$LINENO"; then :
62495 glibcxx_cv_func_ldexpf_use=yes
62496 else
62497 glibcxx_cv_func_ldexpf_use=no
62499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62500 ac_ext=c
62501 ac_cpp='$CPP $CPPFLAGS'
62502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62511 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62513 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62514 for ac_func in ldexpf
62515 do :
62516 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62517 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62518 cat >>confdefs.h <<_ACEOF
62519 #define HAVE_LDEXPF 1
62520 _ACEOF
62523 done
62525 else
62527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62528 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62529 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62530 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62531 $as_echo_n "(cached) " >&6
62532 else
62535 ac_ext=cpp
62536 ac_cpp='$CXXCPP $CPPFLAGS'
62537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62542 /* end confdefs.h. */
62543 #include <math.h>
62545 main ()
62547 _ldexpf(0, 0);
62549 return 0;
62551 _ACEOF
62552 if ac_fn_cxx_try_compile "$LINENO"; then :
62553 glibcxx_cv_func__ldexpf_use=yes
62554 else
62555 glibcxx_cv_func__ldexpf_use=no
62557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62558 ac_ext=c
62559 ac_cpp='$CPP $CPPFLAGS'
62560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62569 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62571 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62572 for ac_func in _ldexpf
62573 do :
62574 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62575 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62576 cat >>confdefs.h <<_ACEOF
62577 #define HAVE__LDEXPF 1
62578 _ACEOF
62581 done
62590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62591 $as_echo_n "checking for logf declaration... " >&6; }
62592 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62593 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62594 $as_echo_n "(cached) " >&6
62595 else
62598 ac_ext=cpp
62599 ac_cpp='$CXXCPP $CPPFLAGS'
62600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62605 /* end confdefs.h. */
62606 #include <math.h>
62607 #ifdef HAVE_IEEEFP_H
62608 #include <ieeefp.h>
62609 #endif
62612 main ()
62614 logf(0);
62616 return 0;
62618 _ACEOF
62619 if ac_fn_cxx_try_compile "$LINENO"; then :
62620 glibcxx_cv_func_logf_use=yes
62621 else
62622 glibcxx_cv_func_logf_use=no
62624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62625 ac_ext=c
62626 ac_cpp='$CPP $CPPFLAGS'
62627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62636 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62638 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62639 for ac_func in logf
62640 do :
62641 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62642 if test "x$ac_cv_func_logf" = x""yes; then :
62643 cat >>confdefs.h <<_ACEOF
62644 #define HAVE_LOGF 1
62645 _ACEOF
62648 done
62650 else
62652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62653 $as_echo_n "checking for _logf declaration... " >&6; }
62654 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62655 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62656 $as_echo_n "(cached) " >&6
62657 else
62660 ac_ext=cpp
62661 ac_cpp='$CXXCPP $CPPFLAGS'
62662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62667 /* end confdefs.h. */
62668 #include <math.h>
62669 #ifdef HAVE_IEEEFP_H
62670 #include <ieeefp.h>
62671 #endif
62674 main ()
62676 _logf(0);
62678 return 0;
62680 _ACEOF
62681 if ac_fn_cxx_try_compile "$LINENO"; then :
62682 glibcxx_cv_func__logf_use=yes
62683 else
62684 glibcxx_cv_func__logf_use=no
62686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62687 ac_ext=c
62688 ac_cpp='$CPP $CPPFLAGS'
62689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62698 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62700 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62701 for ac_func in _logf
62702 do :
62703 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62704 if test "x$ac_cv_func__logf" = x""yes; then :
62705 cat >>confdefs.h <<_ACEOF
62706 #define HAVE__LOGF 1
62707 _ACEOF
62710 done
62719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62720 $as_echo_n "checking for log10f declaration... " >&6; }
62721 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62722 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62723 $as_echo_n "(cached) " >&6
62724 else
62727 ac_ext=cpp
62728 ac_cpp='$CXXCPP $CPPFLAGS'
62729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62734 /* end confdefs.h. */
62735 #include <math.h>
62736 #ifdef HAVE_IEEEFP_H
62737 #include <ieeefp.h>
62738 #endif
62741 main ()
62743 log10f(0);
62745 return 0;
62747 _ACEOF
62748 if ac_fn_cxx_try_compile "$LINENO"; then :
62749 glibcxx_cv_func_log10f_use=yes
62750 else
62751 glibcxx_cv_func_log10f_use=no
62753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62754 ac_ext=c
62755 ac_cpp='$CPP $CPPFLAGS'
62756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62765 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62767 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62768 for ac_func in log10f
62769 do :
62770 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62771 if test "x$ac_cv_func_log10f" = x""yes; then :
62772 cat >>confdefs.h <<_ACEOF
62773 #define HAVE_LOG10F 1
62774 _ACEOF
62777 done
62779 else
62781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62782 $as_echo_n "checking for _log10f declaration... " >&6; }
62783 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62784 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62785 $as_echo_n "(cached) " >&6
62786 else
62789 ac_ext=cpp
62790 ac_cpp='$CXXCPP $CPPFLAGS'
62791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62796 /* end confdefs.h. */
62797 #include <math.h>
62798 #ifdef HAVE_IEEEFP_H
62799 #include <ieeefp.h>
62800 #endif
62803 main ()
62805 _log10f(0);
62807 return 0;
62809 _ACEOF
62810 if ac_fn_cxx_try_compile "$LINENO"; then :
62811 glibcxx_cv_func__log10f_use=yes
62812 else
62813 glibcxx_cv_func__log10f_use=no
62815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62816 ac_ext=c
62817 ac_cpp='$CPP $CPPFLAGS'
62818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62827 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62829 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62830 for ac_func in _log10f
62831 do :
62832 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62833 if test "x$ac_cv_func__log10f" = x""yes; then :
62834 cat >>confdefs.h <<_ACEOF
62835 #define HAVE__LOG10F 1
62836 _ACEOF
62839 done
62848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62849 $as_echo_n "checking for modff declaration... " >&6; }
62850 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62851 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62852 $as_echo_n "(cached) " >&6
62853 else
62856 ac_ext=cpp
62857 ac_cpp='$CXXCPP $CPPFLAGS'
62858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62863 /* end confdefs.h. */
62864 #include <math.h>
62866 main ()
62868 modff(0, 0);
62870 return 0;
62872 _ACEOF
62873 if ac_fn_cxx_try_compile "$LINENO"; then :
62874 glibcxx_cv_func_modff_use=yes
62875 else
62876 glibcxx_cv_func_modff_use=no
62878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62879 ac_ext=c
62880 ac_cpp='$CPP $CPPFLAGS'
62881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62890 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62892 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62893 for ac_func in modff
62894 do :
62895 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62896 if test "x$ac_cv_func_modff" = x""yes; then :
62897 cat >>confdefs.h <<_ACEOF
62898 #define HAVE_MODFF 1
62899 _ACEOF
62902 done
62904 else
62906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62907 $as_echo_n "checking for _modff declaration... " >&6; }
62908 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62909 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62910 $as_echo_n "(cached) " >&6
62911 else
62914 ac_ext=cpp
62915 ac_cpp='$CXXCPP $CPPFLAGS'
62916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62921 /* end confdefs.h. */
62922 #include <math.h>
62924 main ()
62926 _modff(0, 0);
62928 return 0;
62930 _ACEOF
62931 if ac_fn_cxx_try_compile "$LINENO"; then :
62932 glibcxx_cv_func__modff_use=yes
62933 else
62934 glibcxx_cv_func__modff_use=no
62936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62937 ac_ext=c
62938 ac_cpp='$CPP $CPPFLAGS'
62939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62948 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62950 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62951 for ac_func in _modff
62952 do :
62953 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62954 if test "x$ac_cv_func__modff" = x""yes; then :
62955 cat >>confdefs.h <<_ACEOF
62956 #define HAVE__MODFF 1
62957 _ACEOF
62960 done
62969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62970 $as_echo_n "checking for modf declaration... " >&6; }
62971 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62972 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62973 $as_echo_n "(cached) " >&6
62974 else
62977 ac_ext=cpp
62978 ac_cpp='$CXXCPP $CPPFLAGS'
62979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62984 /* end confdefs.h. */
62985 #include <math.h>
62987 main ()
62989 modf(0, 0);
62991 return 0;
62993 _ACEOF
62994 if ac_fn_cxx_try_compile "$LINENO"; then :
62995 glibcxx_cv_func_modf_use=yes
62996 else
62997 glibcxx_cv_func_modf_use=no
62999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63000 ac_ext=c
63001 ac_cpp='$CPP $CPPFLAGS'
63002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63011 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63013 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63014 for ac_func in modf
63015 do :
63016 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63017 if test "x$ac_cv_func_modf" = x""yes; then :
63018 cat >>confdefs.h <<_ACEOF
63019 #define HAVE_MODF 1
63020 _ACEOF
63023 done
63025 else
63027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63028 $as_echo_n "checking for _modf declaration... " >&6; }
63029 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63030 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63031 $as_echo_n "(cached) " >&6
63032 else
63035 ac_ext=cpp
63036 ac_cpp='$CXXCPP $CPPFLAGS'
63037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63042 /* end confdefs.h. */
63043 #include <math.h>
63045 main ()
63047 _modf(0, 0);
63049 return 0;
63051 _ACEOF
63052 if ac_fn_cxx_try_compile "$LINENO"; then :
63053 glibcxx_cv_func__modf_use=yes
63054 else
63055 glibcxx_cv_func__modf_use=no
63057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63058 ac_ext=c
63059 ac_cpp='$CPP $CPPFLAGS'
63060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63069 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63071 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63072 for ac_func in _modf
63073 do :
63074 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63075 if test "x$ac_cv_func__modf" = x""yes; then :
63076 cat >>confdefs.h <<_ACEOF
63077 #define HAVE__MODF 1
63078 _ACEOF
63081 done
63090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63091 $as_echo_n "checking for powf declaration... " >&6; }
63092 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63093 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63094 $as_echo_n "(cached) " >&6
63095 else
63098 ac_ext=cpp
63099 ac_cpp='$CXXCPP $CPPFLAGS'
63100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63105 /* end confdefs.h. */
63106 #include <math.h>
63108 main ()
63110 powf(0, 0);
63112 return 0;
63114 _ACEOF
63115 if ac_fn_cxx_try_compile "$LINENO"; then :
63116 glibcxx_cv_func_powf_use=yes
63117 else
63118 glibcxx_cv_func_powf_use=no
63120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63121 ac_ext=c
63122 ac_cpp='$CPP $CPPFLAGS'
63123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63132 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63134 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63135 for ac_func in powf
63136 do :
63137 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63138 if test "x$ac_cv_func_powf" = x""yes; then :
63139 cat >>confdefs.h <<_ACEOF
63140 #define HAVE_POWF 1
63141 _ACEOF
63144 done
63146 else
63148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63149 $as_echo_n "checking for _powf declaration... " >&6; }
63150 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63151 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63152 $as_echo_n "(cached) " >&6
63153 else
63156 ac_ext=cpp
63157 ac_cpp='$CXXCPP $CPPFLAGS'
63158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63163 /* end confdefs.h. */
63164 #include <math.h>
63166 main ()
63168 _powf(0, 0);
63170 return 0;
63172 _ACEOF
63173 if ac_fn_cxx_try_compile "$LINENO"; then :
63174 glibcxx_cv_func__powf_use=yes
63175 else
63176 glibcxx_cv_func__powf_use=no
63178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63179 ac_ext=c
63180 ac_cpp='$CPP $CPPFLAGS'
63181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63190 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63192 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63193 for ac_func in _powf
63194 do :
63195 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63196 if test "x$ac_cv_func__powf" = x""yes; then :
63197 cat >>confdefs.h <<_ACEOF
63198 #define HAVE__POWF 1
63199 _ACEOF
63202 done
63211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63212 $as_echo_n "checking for sqrtf declaration... " >&6; }
63213 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63214 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63215 $as_echo_n "(cached) " >&6
63216 else
63219 ac_ext=cpp
63220 ac_cpp='$CXXCPP $CPPFLAGS'
63221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63226 /* end confdefs.h. */
63227 #include <math.h>
63228 #ifdef HAVE_IEEEFP_H
63229 #include <ieeefp.h>
63230 #endif
63233 main ()
63235 sqrtf(0);
63237 return 0;
63239 _ACEOF
63240 if ac_fn_cxx_try_compile "$LINENO"; then :
63241 glibcxx_cv_func_sqrtf_use=yes
63242 else
63243 glibcxx_cv_func_sqrtf_use=no
63245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63246 ac_ext=c
63247 ac_cpp='$CPP $CPPFLAGS'
63248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63257 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63259 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63260 for ac_func in sqrtf
63261 do :
63262 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63263 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63264 cat >>confdefs.h <<_ACEOF
63265 #define HAVE_SQRTF 1
63266 _ACEOF
63269 done
63271 else
63273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63274 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63275 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63276 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63277 $as_echo_n "(cached) " >&6
63278 else
63281 ac_ext=cpp
63282 ac_cpp='$CXXCPP $CPPFLAGS'
63283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63288 /* end confdefs.h. */
63289 #include <math.h>
63290 #ifdef HAVE_IEEEFP_H
63291 #include <ieeefp.h>
63292 #endif
63295 main ()
63297 _sqrtf(0);
63299 return 0;
63301 _ACEOF
63302 if ac_fn_cxx_try_compile "$LINENO"; then :
63303 glibcxx_cv_func__sqrtf_use=yes
63304 else
63305 glibcxx_cv_func__sqrtf_use=no
63307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63308 ac_ext=c
63309 ac_cpp='$CPP $CPPFLAGS'
63310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63319 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63321 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63322 for ac_func in _sqrtf
63323 do :
63324 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63325 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63326 cat >>confdefs.h <<_ACEOF
63327 #define HAVE__SQRTF 1
63328 _ACEOF
63331 done
63340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63341 $as_echo_n "checking for sincosf declaration... " >&6; }
63342 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63343 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63344 $as_echo_n "(cached) " >&6
63345 else
63348 ac_ext=cpp
63349 ac_cpp='$CXXCPP $CPPFLAGS'
63350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63355 /* end confdefs.h. */
63356 #include <math.h>
63358 main ()
63360 sincosf(0, 0, 0);
63362 return 0;
63364 _ACEOF
63365 if ac_fn_cxx_try_compile "$LINENO"; then :
63366 glibcxx_cv_func_sincosf_use=yes
63367 else
63368 glibcxx_cv_func_sincosf_use=no
63370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63371 ac_ext=c
63372 ac_cpp='$CPP $CPPFLAGS'
63373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63382 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63384 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63385 for ac_func in sincosf
63386 do :
63387 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63388 if test "x$ac_cv_func_sincosf" = x""yes; then :
63389 cat >>confdefs.h <<_ACEOF
63390 #define HAVE_SINCOSF 1
63391 _ACEOF
63394 done
63396 else
63398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63399 $as_echo_n "checking for _sincosf declaration... " >&6; }
63400 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63401 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63402 $as_echo_n "(cached) " >&6
63403 else
63406 ac_ext=cpp
63407 ac_cpp='$CXXCPP $CPPFLAGS'
63408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63413 /* end confdefs.h. */
63414 #include <math.h>
63416 main ()
63418 _sincosf(0, 0, 0);
63420 return 0;
63422 _ACEOF
63423 if ac_fn_cxx_try_compile "$LINENO"; then :
63424 glibcxx_cv_func__sincosf_use=yes
63425 else
63426 glibcxx_cv_func__sincosf_use=no
63428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63429 ac_ext=c
63430 ac_cpp='$CPP $CPPFLAGS'
63431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63440 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63442 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63443 for ac_func in _sincosf
63444 do :
63445 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63446 if test "x$ac_cv_func__sincosf" = x""yes; then :
63447 cat >>confdefs.h <<_ACEOF
63448 #define HAVE__SINCOSF 1
63449 _ACEOF
63452 done
63461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63462 $as_echo_n "checking for finitef declaration... " >&6; }
63463 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63464 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63465 $as_echo_n "(cached) " >&6
63466 else
63469 ac_ext=cpp
63470 ac_cpp='$CXXCPP $CPPFLAGS'
63471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63476 /* end confdefs.h. */
63477 #include <math.h>
63478 #ifdef HAVE_IEEEFP_H
63479 #include <ieeefp.h>
63480 #endif
63483 main ()
63485 finitef(0);
63487 return 0;
63489 _ACEOF
63490 if ac_fn_cxx_try_compile "$LINENO"; then :
63491 glibcxx_cv_func_finitef_use=yes
63492 else
63493 glibcxx_cv_func_finitef_use=no
63495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63496 ac_ext=c
63497 ac_cpp='$CPP $CPPFLAGS'
63498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63507 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63509 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63510 for ac_func in finitef
63511 do :
63512 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63513 if test "x$ac_cv_func_finitef" = x""yes; then :
63514 cat >>confdefs.h <<_ACEOF
63515 #define HAVE_FINITEF 1
63516 _ACEOF
63519 done
63521 else
63523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63524 $as_echo_n "checking for _finitef declaration... " >&6; }
63525 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63526 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63527 $as_echo_n "(cached) " >&6
63528 else
63531 ac_ext=cpp
63532 ac_cpp='$CXXCPP $CPPFLAGS'
63533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63538 /* end confdefs.h. */
63539 #include <math.h>
63540 #ifdef HAVE_IEEEFP_H
63541 #include <ieeefp.h>
63542 #endif
63545 main ()
63547 _finitef(0);
63549 return 0;
63551 _ACEOF
63552 if ac_fn_cxx_try_compile "$LINENO"; then :
63553 glibcxx_cv_func__finitef_use=yes
63554 else
63555 glibcxx_cv_func__finitef_use=no
63557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63558 ac_ext=c
63559 ac_cpp='$CPP $CPPFLAGS'
63560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63569 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63571 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63572 for ac_func in _finitef
63573 do :
63574 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63575 if test "x$ac_cv_func__finitef" = x""yes; then :
63576 cat >>confdefs.h <<_ACEOF
63577 #define HAVE__FINITEF 1
63578 _ACEOF
63581 done
63590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63591 $as_echo_n "checking for long double trig functions... " >&6; }
63592 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63593 $as_echo_n "(cached) " >&6
63594 else
63597 ac_ext=cpp
63598 ac_cpp='$CXXCPP $CPPFLAGS'
63599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63604 /* end confdefs.h. */
63605 #include <math.h>
63607 main ()
63609 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63611 return 0;
63613 _ACEOF
63614 if ac_fn_cxx_try_compile "$LINENO"; then :
63615 glibcxx_cv_func_long_double_trig_use=yes
63616 else
63617 glibcxx_cv_func_long_double_trig_use=no
63619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63620 ac_ext=c
63621 ac_cpp='$CPP $CPPFLAGS'
63622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63629 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63630 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63631 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63632 do :
63633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63635 eval as_val=\$$as_ac_var
63636 if test "x$as_val" = x""yes; then :
63637 cat >>confdefs.h <<_ACEOF
63638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63639 _ACEOF
63642 done
63644 else
63645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63646 $as_echo_n "checking for _long double trig functions... " >&6; }
63647 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63648 $as_echo_n "(cached) " >&6
63649 else
63652 ac_ext=cpp
63653 ac_cpp='$CXXCPP $CPPFLAGS'
63654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63659 /* end confdefs.h. */
63660 #include <math.h>
63662 main ()
63664 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63666 return 0;
63668 _ACEOF
63669 if ac_fn_cxx_try_compile "$LINENO"; then :
63670 glibcxx_cv_func__long_double_trig_use=yes
63671 else
63672 glibcxx_cv_func__long_double_trig_use=no
63674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63675 ac_ext=c
63676 ac_cpp='$CPP $CPPFLAGS'
63677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63684 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63685 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63686 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63687 do :
63688 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63690 eval as_val=\$$as_ac_var
63691 if test "x$as_val" = x""yes; then :
63692 cat >>confdefs.h <<_ACEOF
63693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63694 _ACEOF
63697 done
63706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63707 $as_echo_n "checking for long double round functions... " >&6; }
63708 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63709 $as_echo_n "(cached) " >&6
63710 else
63713 ac_ext=cpp
63714 ac_cpp='$CXXCPP $CPPFLAGS'
63715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63720 /* end confdefs.h. */
63721 #include <math.h>
63723 main ()
63725 ceill (0); floorl (0);
63727 return 0;
63729 _ACEOF
63730 if ac_fn_cxx_try_compile "$LINENO"; then :
63731 glibcxx_cv_func_long_double_round_use=yes
63732 else
63733 glibcxx_cv_func_long_double_round_use=no
63735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63736 ac_ext=c
63737 ac_cpp='$CPP $CPPFLAGS'
63738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63745 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63746 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63747 for ac_func in ceill floorl
63748 do :
63749 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63750 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63751 eval as_val=\$$as_ac_var
63752 if test "x$as_val" = x""yes; then :
63753 cat >>confdefs.h <<_ACEOF
63754 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63755 _ACEOF
63758 done
63760 else
63761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63762 $as_echo_n "checking for _long double round functions... " >&6; }
63763 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63764 $as_echo_n "(cached) " >&6
63765 else
63768 ac_ext=cpp
63769 ac_cpp='$CXXCPP $CPPFLAGS'
63770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63775 /* end confdefs.h. */
63776 #include <math.h>
63778 main ()
63780 _ceill (0); _floorl (0);
63782 return 0;
63784 _ACEOF
63785 if ac_fn_cxx_try_compile "$LINENO"; then :
63786 glibcxx_cv_func__long_double_round_use=yes
63787 else
63788 glibcxx_cv_func__long_double_round_use=no
63790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63791 ac_ext=c
63792 ac_cpp='$CPP $CPPFLAGS'
63793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63800 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63801 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63802 for ac_func in _ceill _floorl
63803 do :
63804 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63805 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63806 eval as_val=\$$as_ac_var
63807 if test "x$as_val" = x""yes; then :
63808 cat >>confdefs.h <<_ACEOF
63809 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63810 _ACEOF
63813 done
63823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63824 $as_echo_n "checking for isnanl declaration... " >&6; }
63825 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63826 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63827 $as_echo_n "(cached) " >&6
63828 else
63831 ac_ext=cpp
63832 ac_cpp='$CXXCPP $CPPFLAGS'
63833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63838 /* end confdefs.h. */
63839 #include <math.h>
63840 #ifdef HAVE_IEEEFP_H
63841 #include <ieeefp.h>
63842 #endif
63845 main ()
63847 isnanl(0);
63849 return 0;
63851 _ACEOF
63852 if ac_fn_cxx_try_compile "$LINENO"; then :
63853 glibcxx_cv_func_isnanl_use=yes
63854 else
63855 glibcxx_cv_func_isnanl_use=no
63857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63858 ac_ext=c
63859 ac_cpp='$CPP $CPPFLAGS'
63860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63869 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63871 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63872 for ac_func in isnanl
63873 do :
63874 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63875 if test "x$ac_cv_func_isnanl" = x""yes; then :
63876 cat >>confdefs.h <<_ACEOF
63877 #define HAVE_ISNANL 1
63878 _ACEOF
63881 done
63883 else
63885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63886 $as_echo_n "checking for _isnanl declaration... " >&6; }
63887 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63888 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63889 $as_echo_n "(cached) " >&6
63890 else
63893 ac_ext=cpp
63894 ac_cpp='$CXXCPP $CPPFLAGS'
63895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63900 /* end confdefs.h. */
63901 #include <math.h>
63902 #ifdef HAVE_IEEEFP_H
63903 #include <ieeefp.h>
63904 #endif
63907 main ()
63909 _isnanl(0);
63911 return 0;
63913 _ACEOF
63914 if ac_fn_cxx_try_compile "$LINENO"; then :
63915 glibcxx_cv_func__isnanl_use=yes
63916 else
63917 glibcxx_cv_func__isnanl_use=no
63919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63920 ac_ext=c
63921 ac_cpp='$CPP $CPPFLAGS'
63922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63931 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63933 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63934 for ac_func in _isnanl
63935 do :
63936 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63937 if test "x$ac_cv_func__isnanl" = x""yes; then :
63938 cat >>confdefs.h <<_ACEOF
63939 #define HAVE__ISNANL 1
63940 _ACEOF
63943 done
63952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63953 $as_echo_n "checking for isinfl declaration... " >&6; }
63954 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63955 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63956 $as_echo_n "(cached) " >&6
63957 else
63960 ac_ext=cpp
63961 ac_cpp='$CXXCPP $CPPFLAGS'
63962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63967 /* end confdefs.h. */
63968 #include <math.h>
63969 #ifdef HAVE_IEEEFP_H
63970 #include <ieeefp.h>
63971 #endif
63974 main ()
63976 isinfl(0);
63978 return 0;
63980 _ACEOF
63981 if ac_fn_cxx_try_compile "$LINENO"; then :
63982 glibcxx_cv_func_isinfl_use=yes
63983 else
63984 glibcxx_cv_func_isinfl_use=no
63986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63987 ac_ext=c
63988 ac_cpp='$CPP $CPPFLAGS'
63989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
63998 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64000 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64001 for ac_func in isinfl
64002 do :
64003 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64004 if test "x$ac_cv_func_isinfl" = x""yes; then :
64005 cat >>confdefs.h <<_ACEOF
64006 #define HAVE_ISINFL 1
64007 _ACEOF
64010 done
64012 else
64014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64015 $as_echo_n "checking for _isinfl declaration... " >&6; }
64016 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64017 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64018 $as_echo_n "(cached) " >&6
64019 else
64022 ac_ext=cpp
64023 ac_cpp='$CXXCPP $CPPFLAGS'
64024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64029 /* end confdefs.h. */
64030 #include <math.h>
64031 #ifdef HAVE_IEEEFP_H
64032 #include <ieeefp.h>
64033 #endif
64036 main ()
64038 _isinfl(0);
64040 return 0;
64042 _ACEOF
64043 if ac_fn_cxx_try_compile "$LINENO"; then :
64044 glibcxx_cv_func__isinfl_use=yes
64045 else
64046 glibcxx_cv_func__isinfl_use=no
64048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64049 ac_ext=c
64050 ac_cpp='$CPP $CPPFLAGS'
64051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64060 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64062 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64063 for ac_func in _isinfl
64064 do :
64065 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64066 if test "x$ac_cv_func__isinfl" = x""yes; then :
64067 cat >>confdefs.h <<_ACEOF
64068 #define HAVE__ISINFL 1
64069 _ACEOF
64072 done
64081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64082 $as_echo_n "checking for atan2l declaration... " >&6; }
64083 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64084 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64085 $as_echo_n "(cached) " >&6
64086 else
64089 ac_ext=cpp
64090 ac_cpp='$CXXCPP $CPPFLAGS'
64091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64096 /* end confdefs.h. */
64097 #include <math.h>
64099 main ()
64101 atan2l(0, 0);
64103 return 0;
64105 _ACEOF
64106 if ac_fn_cxx_try_compile "$LINENO"; then :
64107 glibcxx_cv_func_atan2l_use=yes
64108 else
64109 glibcxx_cv_func_atan2l_use=no
64111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64112 ac_ext=c
64113 ac_cpp='$CPP $CPPFLAGS'
64114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64123 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64125 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64126 for ac_func in atan2l
64127 do :
64128 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64129 if test "x$ac_cv_func_atan2l" = x""yes; then :
64130 cat >>confdefs.h <<_ACEOF
64131 #define HAVE_ATAN2L 1
64132 _ACEOF
64135 done
64137 else
64139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64140 $as_echo_n "checking for _atan2l declaration... " >&6; }
64141 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64142 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64143 $as_echo_n "(cached) " >&6
64144 else
64147 ac_ext=cpp
64148 ac_cpp='$CXXCPP $CPPFLAGS'
64149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64154 /* end confdefs.h. */
64155 #include <math.h>
64157 main ()
64159 _atan2l(0, 0);
64161 return 0;
64163 _ACEOF
64164 if ac_fn_cxx_try_compile "$LINENO"; then :
64165 glibcxx_cv_func__atan2l_use=yes
64166 else
64167 glibcxx_cv_func__atan2l_use=no
64169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64170 ac_ext=c
64171 ac_cpp='$CPP $CPPFLAGS'
64172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64181 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64183 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64184 for ac_func in _atan2l
64185 do :
64186 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64187 if test "x$ac_cv_func__atan2l" = x""yes; then :
64188 cat >>confdefs.h <<_ACEOF
64189 #define HAVE__ATAN2L 1
64190 _ACEOF
64193 done
64202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64203 $as_echo_n "checking for expl declaration... " >&6; }
64204 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64205 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64206 $as_echo_n "(cached) " >&6
64207 else
64210 ac_ext=cpp
64211 ac_cpp='$CXXCPP $CPPFLAGS'
64212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64217 /* end confdefs.h. */
64218 #include <math.h>
64219 #ifdef HAVE_IEEEFP_H
64220 #include <ieeefp.h>
64221 #endif
64224 main ()
64226 expl(0);
64228 return 0;
64230 _ACEOF
64231 if ac_fn_cxx_try_compile "$LINENO"; then :
64232 glibcxx_cv_func_expl_use=yes
64233 else
64234 glibcxx_cv_func_expl_use=no
64236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64237 ac_ext=c
64238 ac_cpp='$CPP $CPPFLAGS'
64239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64248 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64250 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64251 for ac_func in expl
64252 do :
64253 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64254 if test "x$ac_cv_func_expl" = x""yes; then :
64255 cat >>confdefs.h <<_ACEOF
64256 #define HAVE_EXPL 1
64257 _ACEOF
64260 done
64262 else
64264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64265 $as_echo_n "checking for _expl declaration... " >&6; }
64266 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64267 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64268 $as_echo_n "(cached) " >&6
64269 else
64272 ac_ext=cpp
64273 ac_cpp='$CXXCPP $CPPFLAGS'
64274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64279 /* end confdefs.h. */
64280 #include <math.h>
64281 #ifdef HAVE_IEEEFP_H
64282 #include <ieeefp.h>
64283 #endif
64286 main ()
64288 _expl(0);
64290 return 0;
64292 _ACEOF
64293 if ac_fn_cxx_try_compile "$LINENO"; then :
64294 glibcxx_cv_func__expl_use=yes
64295 else
64296 glibcxx_cv_func__expl_use=no
64298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64299 ac_ext=c
64300 ac_cpp='$CPP $CPPFLAGS'
64301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64310 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64312 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64313 for ac_func in _expl
64314 do :
64315 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64316 if test "x$ac_cv_func__expl" = x""yes; then :
64317 cat >>confdefs.h <<_ACEOF
64318 #define HAVE__EXPL 1
64319 _ACEOF
64322 done
64331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64332 $as_echo_n "checking for fabsl declaration... " >&6; }
64333 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64334 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64335 $as_echo_n "(cached) " >&6
64336 else
64339 ac_ext=cpp
64340 ac_cpp='$CXXCPP $CPPFLAGS'
64341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64346 /* end confdefs.h. */
64347 #include <math.h>
64348 #ifdef HAVE_IEEEFP_H
64349 #include <ieeefp.h>
64350 #endif
64353 main ()
64355 fabsl(0);
64357 return 0;
64359 _ACEOF
64360 if ac_fn_cxx_try_compile "$LINENO"; then :
64361 glibcxx_cv_func_fabsl_use=yes
64362 else
64363 glibcxx_cv_func_fabsl_use=no
64365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64366 ac_ext=c
64367 ac_cpp='$CPP $CPPFLAGS'
64368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64377 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64379 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64380 for ac_func in fabsl
64381 do :
64382 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64383 if test "x$ac_cv_func_fabsl" = x""yes; then :
64384 cat >>confdefs.h <<_ACEOF
64385 #define HAVE_FABSL 1
64386 _ACEOF
64389 done
64391 else
64393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64394 $as_echo_n "checking for _fabsl declaration... " >&6; }
64395 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64396 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64397 $as_echo_n "(cached) " >&6
64398 else
64401 ac_ext=cpp
64402 ac_cpp='$CXXCPP $CPPFLAGS'
64403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64408 /* end confdefs.h. */
64409 #include <math.h>
64410 #ifdef HAVE_IEEEFP_H
64411 #include <ieeefp.h>
64412 #endif
64415 main ()
64417 _fabsl(0);
64419 return 0;
64421 _ACEOF
64422 if ac_fn_cxx_try_compile "$LINENO"; then :
64423 glibcxx_cv_func__fabsl_use=yes
64424 else
64425 glibcxx_cv_func__fabsl_use=no
64427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64428 ac_ext=c
64429 ac_cpp='$CPP $CPPFLAGS'
64430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64439 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64441 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64442 for ac_func in _fabsl
64443 do :
64444 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64445 if test "x$ac_cv_func__fabsl" = x""yes; then :
64446 cat >>confdefs.h <<_ACEOF
64447 #define HAVE__FABSL 1
64448 _ACEOF
64451 done
64460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64461 $as_echo_n "checking for fmodl declaration... " >&6; }
64462 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64463 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64464 $as_echo_n "(cached) " >&6
64465 else
64468 ac_ext=cpp
64469 ac_cpp='$CXXCPP $CPPFLAGS'
64470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64475 /* end confdefs.h. */
64476 #include <math.h>
64478 main ()
64480 fmodl(0, 0);
64482 return 0;
64484 _ACEOF
64485 if ac_fn_cxx_try_compile "$LINENO"; then :
64486 glibcxx_cv_func_fmodl_use=yes
64487 else
64488 glibcxx_cv_func_fmodl_use=no
64490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64491 ac_ext=c
64492 ac_cpp='$CPP $CPPFLAGS'
64493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64502 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64504 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64505 for ac_func in fmodl
64506 do :
64507 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64508 if test "x$ac_cv_func_fmodl" = x""yes; then :
64509 cat >>confdefs.h <<_ACEOF
64510 #define HAVE_FMODL 1
64511 _ACEOF
64514 done
64516 else
64518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64519 $as_echo_n "checking for _fmodl declaration... " >&6; }
64520 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64521 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64522 $as_echo_n "(cached) " >&6
64523 else
64526 ac_ext=cpp
64527 ac_cpp='$CXXCPP $CPPFLAGS'
64528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64533 /* end confdefs.h. */
64534 #include <math.h>
64536 main ()
64538 _fmodl(0, 0);
64540 return 0;
64542 _ACEOF
64543 if ac_fn_cxx_try_compile "$LINENO"; then :
64544 glibcxx_cv_func__fmodl_use=yes
64545 else
64546 glibcxx_cv_func__fmodl_use=no
64548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64549 ac_ext=c
64550 ac_cpp='$CPP $CPPFLAGS'
64551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64560 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64562 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64563 for ac_func in _fmodl
64564 do :
64565 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64566 if test "x$ac_cv_func__fmodl" = x""yes; then :
64567 cat >>confdefs.h <<_ACEOF
64568 #define HAVE__FMODL 1
64569 _ACEOF
64572 done
64581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64582 $as_echo_n "checking for frexpl declaration... " >&6; }
64583 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64584 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64585 $as_echo_n "(cached) " >&6
64586 else
64589 ac_ext=cpp
64590 ac_cpp='$CXXCPP $CPPFLAGS'
64591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64596 /* end confdefs.h. */
64597 #include <math.h>
64599 main ()
64601 frexpl(0, 0);
64603 return 0;
64605 _ACEOF
64606 if ac_fn_cxx_try_compile "$LINENO"; then :
64607 glibcxx_cv_func_frexpl_use=yes
64608 else
64609 glibcxx_cv_func_frexpl_use=no
64611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64612 ac_ext=c
64613 ac_cpp='$CPP $CPPFLAGS'
64614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64623 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64625 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64626 for ac_func in frexpl
64627 do :
64628 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64629 if test "x$ac_cv_func_frexpl" = x""yes; then :
64630 cat >>confdefs.h <<_ACEOF
64631 #define HAVE_FREXPL 1
64632 _ACEOF
64635 done
64637 else
64639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64640 $as_echo_n "checking for _frexpl declaration... " >&6; }
64641 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64642 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64643 $as_echo_n "(cached) " >&6
64644 else
64647 ac_ext=cpp
64648 ac_cpp='$CXXCPP $CPPFLAGS'
64649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64654 /* end confdefs.h. */
64655 #include <math.h>
64657 main ()
64659 _frexpl(0, 0);
64661 return 0;
64663 _ACEOF
64664 if ac_fn_cxx_try_compile "$LINENO"; then :
64665 glibcxx_cv_func__frexpl_use=yes
64666 else
64667 glibcxx_cv_func__frexpl_use=no
64669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64670 ac_ext=c
64671 ac_cpp='$CPP $CPPFLAGS'
64672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64681 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64683 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64684 for ac_func in _frexpl
64685 do :
64686 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64687 if test "x$ac_cv_func__frexpl" = x""yes; then :
64688 cat >>confdefs.h <<_ACEOF
64689 #define HAVE__FREXPL 1
64690 _ACEOF
64693 done
64702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64703 $as_echo_n "checking for hypotl declaration... " >&6; }
64704 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64705 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64706 $as_echo_n "(cached) " >&6
64707 else
64710 ac_ext=cpp
64711 ac_cpp='$CXXCPP $CPPFLAGS'
64712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64717 /* end confdefs.h. */
64718 #include <math.h>
64720 main ()
64722 hypotl(0, 0);
64724 return 0;
64726 _ACEOF
64727 if ac_fn_cxx_try_compile "$LINENO"; then :
64728 glibcxx_cv_func_hypotl_use=yes
64729 else
64730 glibcxx_cv_func_hypotl_use=no
64732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64733 ac_ext=c
64734 ac_cpp='$CPP $CPPFLAGS'
64735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64744 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64746 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64747 for ac_func in hypotl
64748 do :
64749 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64750 if test "x$ac_cv_func_hypotl" = x""yes; then :
64751 cat >>confdefs.h <<_ACEOF
64752 #define HAVE_HYPOTL 1
64753 _ACEOF
64756 done
64758 else
64760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64761 $as_echo_n "checking for _hypotl declaration... " >&6; }
64762 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64763 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64764 $as_echo_n "(cached) " >&6
64765 else
64768 ac_ext=cpp
64769 ac_cpp='$CXXCPP $CPPFLAGS'
64770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64775 /* end confdefs.h. */
64776 #include <math.h>
64778 main ()
64780 _hypotl(0, 0);
64782 return 0;
64784 _ACEOF
64785 if ac_fn_cxx_try_compile "$LINENO"; then :
64786 glibcxx_cv_func__hypotl_use=yes
64787 else
64788 glibcxx_cv_func__hypotl_use=no
64790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64791 ac_ext=c
64792 ac_cpp='$CPP $CPPFLAGS'
64793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64802 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64804 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64805 for ac_func in _hypotl
64806 do :
64807 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64808 if test "x$ac_cv_func__hypotl" = x""yes; then :
64809 cat >>confdefs.h <<_ACEOF
64810 #define HAVE__HYPOTL 1
64811 _ACEOF
64814 done
64823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64824 $as_echo_n "checking for ldexpl declaration... " >&6; }
64825 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64826 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64827 $as_echo_n "(cached) " >&6
64828 else
64831 ac_ext=cpp
64832 ac_cpp='$CXXCPP $CPPFLAGS'
64833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64838 /* end confdefs.h. */
64839 #include <math.h>
64841 main ()
64843 ldexpl(0, 0);
64845 return 0;
64847 _ACEOF
64848 if ac_fn_cxx_try_compile "$LINENO"; then :
64849 glibcxx_cv_func_ldexpl_use=yes
64850 else
64851 glibcxx_cv_func_ldexpl_use=no
64853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64854 ac_ext=c
64855 ac_cpp='$CPP $CPPFLAGS'
64856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64865 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64867 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64868 for ac_func in ldexpl
64869 do :
64870 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64871 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64872 cat >>confdefs.h <<_ACEOF
64873 #define HAVE_LDEXPL 1
64874 _ACEOF
64877 done
64879 else
64881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64882 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64883 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64884 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64885 $as_echo_n "(cached) " >&6
64886 else
64889 ac_ext=cpp
64890 ac_cpp='$CXXCPP $CPPFLAGS'
64891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64896 /* end confdefs.h. */
64897 #include <math.h>
64899 main ()
64901 _ldexpl(0, 0);
64903 return 0;
64905 _ACEOF
64906 if ac_fn_cxx_try_compile "$LINENO"; then :
64907 glibcxx_cv_func__ldexpl_use=yes
64908 else
64909 glibcxx_cv_func__ldexpl_use=no
64911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64912 ac_ext=c
64913 ac_cpp='$CPP $CPPFLAGS'
64914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64923 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64925 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64926 for ac_func in _ldexpl
64927 do :
64928 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64929 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64930 cat >>confdefs.h <<_ACEOF
64931 #define HAVE__LDEXPL 1
64932 _ACEOF
64935 done
64944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64945 $as_echo_n "checking for logl declaration... " >&6; }
64946 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64947 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64948 $as_echo_n "(cached) " >&6
64949 else
64952 ac_ext=cpp
64953 ac_cpp='$CXXCPP $CPPFLAGS'
64954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64959 /* end confdefs.h. */
64960 #include <math.h>
64961 #ifdef HAVE_IEEEFP_H
64962 #include <ieeefp.h>
64963 #endif
64966 main ()
64968 logl(0);
64970 return 0;
64972 _ACEOF
64973 if ac_fn_cxx_try_compile "$LINENO"; then :
64974 glibcxx_cv_func_logl_use=yes
64975 else
64976 glibcxx_cv_func_logl_use=no
64978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64979 ac_ext=c
64980 ac_cpp='$CPP $CPPFLAGS'
64981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
64990 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
64992 if test x$glibcxx_cv_func_logl_use = x"yes"; then
64993 for ac_func in logl
64994 do :
64995 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
64996 if test "x$ac_cv_func_logl" = x""yes; then :
64997 cat >>confdefs.h <<_ACEOF
64998 #define HAVE_LOGL 1
64999 _ACEOF
65002 done
65004 else
65006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65007 $as_echo_n "checking for _logl declaration... " >&6; }
65008 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65009 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65010 $as_echo_n "(cached) " >&6
65011 else
65014 ac_ext=cpp
65015 ac_cpp='$CXXCPP $CPPFLAGS'
65016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65021 /* end confdefs.h. */
65022 #include <math.h>
65023 #ifdef HAVE_IEEEFP_H
65024 #include <ieeefp.h>
65025 #endif
65028 main ()
65030 _logl(0);
65032 return 0;
65034 _ACEOF
65035 if ac_fn_cxx_try_compile "$LINENO"; then :
65036 glibcxx_cv_func__logl_use=yes
65037 else
65038 glibcxx_cv_func__logl_use=no
65040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65041 ac_ext=c
65042 ac_cpp='$CPP $CPPFLAGS'
65043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65052 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65054 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65055 for ac_func in _logl
65056 do :
65057 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65058 if test "x$ac_cv_func__logl" = x""yes; then :
65059 cat >>confdefs.h <<_ACEOF
65060 #define HAVE__LOGL 1
65061 _ACEOF
65064 done
65073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65074 $as_echo_n "checking for log10l declaration... " >&6; }
65075 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65076 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65077 $as_echo_n "(cached) " >&6
65078 else
65081 ac_ext=cpp
65082 ac_cpp='$CXXCPP $CPPFLAGS'
65083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65088 /* end confdefs.h. */
65089 #include <math.h>
65090 #ifdef HAVE_IEEEFP_H
65091 #include <ieeefp.h>
65092 #endif
65095 main ()
65097 log10l(0);
65099 return 0;
65101 _ACEOF
65102 if ac_fn_cxx_try_compile "$LINENO"; then :
65103 glibcxx_cv_func_log10l_use=yes
65104 else
65105 glibcxx_cv_func_log10l_use=no
65107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65108 ac_ext=c
65109 ac_cpp='$CPP $CPPFLAGS'
65110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65119 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65121 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65122 for ac_func in log10l
65123 do :
65124 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65125 if test "x$ac_cv_func_log10l" = x""yes; then :
65126 cat >>confdefs.h <<_ACEOF
65127 #define HAVE_LOG10L 1
65128 _ACEOF
65131 done
65133 else
65135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65136 $as_echo_n "checking for _log10l declaration... " >&6; }
65137 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65138 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65139 $as_echo_n "(cached) " >&6
65140 else
65143 ac_ext=cpp
65144 ac_cpp='$CXXCPP $CPPFLAGS'
65145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65150 /* end confdefs.h. */
65151 #include <math.h>
65152 #ifdef HAVE_IEEEFP_H
65153 #include <ieeefp.h>
65154 #endif
65157 main ()
65159 _log10l(0);
65161 return 0;
65163 _ACEOF
65164 if ac_fn_cxx_try_compile "$LINENO"; then :
65165 glibcxx_cv_func__log10l_use=yes
65166 else
65167 glibcxx_cv_func__log10l_use=no
65169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65170 ac_ext=c
65171 ac_cpp='$CPP $CPPFLAGS'
65172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65181 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65183 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65184 for ac_func in _log10l
65185 do :
65186 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65187 if test "x$ac_cv_func__log10l" = x""yes; then :
65188 cat >>confdefs.h <<_ACEOF
65189 #define HAVE__LOG10L 1
65190 _ACEOF
65193 done
65202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65203 $as_echo_n "checking for modfl declaration... " >&6; }
65204 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65205 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65206 $as_echo_n "(cached) " >&6
65207 else
65210 ac_ext=cpp
65211 ac_cpp='$CXXCPP $CPPFLAGS'
65212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65217 /* end confdefs.h. */
65218 #include <math.h>
65220 main ()
65222 modfl(0, 0);
65224 return 0;
65226 _ACEOF
65227 if ac_fn_cxx_try_compile "$LINENO"; then :
65228 glibcxx_cv_func_modfl_use=yes
65229 else
65230 glibcxx_cv_func_modfl_use=no
65232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65233 ac_ext=c
65234 ac_cpp='$CPP $CPPFLAGS'
65235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65244 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65246 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65247 for ac_func in modfl
65248 do :
65249 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65250 if test "x$ac_cv_func_modfl" = x""yes; then :
65251 cat >>confdefs.h <<_ACEOF
65252 #define HAVE_MODFL 1
65253 _ACEOF
65256 done
65258 else
65260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65261 $as_echo_n "checking for _modfl declaration... " >&6; }
65262 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65263 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65264 $as_echo_n "(cached) " >&6
65265 else
65268 ac_ext=cpp
65269 ac_cpp='$CXXCPP $CPPFLAGS'
65270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65275 /* end confdefs.h. */
65276 #include <math.h>
65278 main ()
65280 _modfl(0, 0);
65282 return 0;
65284 _ACEOF
65285 if ac_fn_cxx_try_compile "$LINENO"; then :
65286 glibcxx_cv_func__modfl_use=yes
65287 else
65288 glibcxx_cv_func__modfl_use=no
65290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65291 ac_ext=c
65292 ac_cpp='$CPP $CPPFLAGS'
65293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65302 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65304 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65305 for ac_func in _modfl
65306 do :
65307 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65308 if test "x$ac_cv_func__modfl" = x""yes; then :
65309 cat >>confdefs.h <<_ACEOF
65310 #define HAVE__MODFL 1
65311 _ACEOF
65314 done
65323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65324 $as_echo_n "checking for powl declaration... " >&6; }
65325 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65326 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65327 $as_echo_n "(cached) " >&6
65328 else
65331 ac_ext=cpp
65332 ac_cpp='$CXXCPP $CPPFLAGS'
65333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65338 /* end confdefs.h. */
65339 #include <math.h>
65341 main ()
65343 powl(0, 0);
65345 return 0;
65347 _ACEOF
65348 if ac_fn_cxx_try_compile "$LINENO"; then :
65349 glibcxx_cv_func_powl_use=yes
65350 else
65351 glibcxx_cv_func_powl_use=no
65353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65354 ac_ext=c
65355 ac_cpp='$CPP $CPPFLAGS'
65356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65365 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65367 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65368 for ac_func in powl
65369 do :
65370 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65371 if test "x$ac_cv_func_powl" = x""yes; then :
65372 cat >>confdefs.h <<_ACEOF
65373 #define HAVE_POWL 1
65374 _ACEOF
65377 done
65379 else
65381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65382 $as_echo_n "checking for _powl declaration... " >&6; }
65383 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65384 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65385 $as_echo_n "(cached) " >&6
65386 else
65389 ac_ext=cpp
65390 ac_cpp='$CXXCPP $CPPFLAGS'
65391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65396 /* end confdefs.h. */
65397 #include <math.h>
65399 main ()
65401 _powl(0, 0);
65403 return 0;
65405 _ACEOF
65406 if ac_fn_cxx_try_compile "$LINENO"; then :
65407 glibcxx_cv_func__powl_use=yes
65408 else
65409 glibcxx_cv_func__powl_use=no
65411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65412 ac_ext=c
65413 ac_cpp='$CPP $CPPFLAGS'
65414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65423 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65425 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65426 for ac_func in _powl
65427 do :
65428 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65429 if test "x$ac_cv_func__powl" = x""yes; then :
65430 cat >>confdefs.h <<_ACEOF
65431 #define HAVE__POWL 1
65432 _ACEOF
65435 done
65444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65445 $as_echo_n "checking for sqrtl declaration... " >&6; }
65446 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65447 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65448 $as_echo_n "(cached) " >&6
65449 else
65452 ac_ext=cpp
65453 ac_cpp='$CXXCPP $CPPFLAGS'
65454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65459 /* end confdefs.h. */
65460 #include <math.h>
65461 #ifdef HAVE_IEEEFP_H
65462 #include <ieeefp.h>
65463 #endif
65466 main ()
65468 sqrtl(0);
65470 return 0;
65472 _ACEOF
65473 if ac_fn_cxx_try_compile "$LINENO"; then :
65474 glibcxx_cv_func_sqrtl_use=yes
65475 else
65476 glibcxx_cv_func_sqrtl_use=no
65478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65479 ac_ext=c
65480 ac_cpp='$CPP $CPPFLAGS'
65481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65490 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65492 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65493 for ac_func in sqrtl
65494 do :
65495 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65496 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65497 cat >>confdefs.h <<_ACEOF
65498 #define HAVE_SQRTL 1
65499 _ACEOF
65502 done
65504 else
65506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65507 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65508 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65509 if test "${glibcxx_cv_func__sqrtl_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 <math.h>
65523 #ifdef HAVE_IEEEFP_H
65524 #include <ieeefp.h>
65525 #endif
65528 main ()
65530 _sqrtl(0);
65532 return 0;
65534 _ACEOF
65535 if ac_fn_cxx_try_compile "$LINENO"; then :
65536 glibcxx_cv_func__sqrtl_use=yes
65537 else
65538 glibcxx_cv_func__sqrtl_use=no
65540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65541 ac_ext=c
65542 ac_cpp='$CPP $CPPFLAGS'
65543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65552 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65554 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65555 for ac_func in _sqrtl
65556 do :
65557 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65558 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65559 cat >>confdefs.h <<_ACEOF
65560 #define HAVE__SQRTL 1
65561 _ACEOF
65564 done
65573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65574 $as_echo_n "checking for sincosl declaration... " >&6; }
65575 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65576 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65577 $as_echo_n "(cached) " >&6
65578 else
65581 ac_ext=cpp
65582 ac_cpp='$CXXCPP $CPPFLAGS'
65583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65588 /* end confdefs.h. */
65589 #include <math.h>
65591 main ()
65593 sincosl(0, 0, 0);
65595 return 0;
65597 _ACEOF
65598 if ac_fn_cxx_try_compile "$LINENO"; then :
65599 glibcxx_cv_func_sincosl_use=yes
65600 else
65601 glibcxx_cv_func_sincosl_use=no
65603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65604 ac_ext=c
65605 ac_cpp='$CPP $CPPFLAGS'
65606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65615 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65617 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65618 for ac_func in sincosl
65619 do :
65620 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65621 if test "x$ac_cv_func_sincosl" = x""yes; then :
65622 cat >>confdefs.h <<_ACEOF
65623 #define HAVE_SINCOSL 1
65624 _ACEOF
65627 done
65629 else
65631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65632 $as_echo_n "checking for _sincosl declaration... " >&6; }
65633 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65634 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65635 $as_echo_n "(cached) " >&6
65636 else
65639 ac_ext=cpp
65640 ac_cpp='$CXXCPP $CPPFLAGS'
65641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65646 /* end confdefs.h. */
65647 #include <math.h>
65649 main ()
65651 _sincosl(0, 0, 0);
65653 return 0;
65655 _ACEOF
65656 if ac_fn_cxx_try_compile "$LINENO"; then :
65657 glibcxx_cv_func__sincosl_use=yes
65658 else
65659 glibcxx_cv_func__sincosl_use=no
65661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65662 ac_ext=c
65663 ac_cpp='$CPP $CPPFLAGS'
65664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65673 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65675 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65676 for ac_func in _sincosl
65677 do :
65678 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65679 if test "x$ac_cv_func__sincosl" = x""yes; then :
65680 cat >>confdefs.h <<_ACEOF
65681 #define HAVE__SINCOSL 1
65682 _ACEOF
65685 done
65694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65695 $as_echo_n "checking for finitel declaration... " >&6; }
65696 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65697 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65698 $as_echo_n "(cached) " >&6
65699 else
65702 ac_ext=cpp
65703 ac_cpp='$CXXCPP $CPPFLAGS'
65704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65709 /* end confdefs.h. */
65710 #include <math.h>
65711 #ifdef HAVE_IEEEFP_H
65712 #include <ieeefp.h>
65713 #endif
65716 main ()
65718 finitel(0);
65720 return 0;
65722 _ACEOF
65723 if ac_fn_cxx_try_compile "$LINENO"; then :
65724 glibcxx_cv_func_finitel_use=yes
65725 else
65726 glibcxx_cv_func_finitel_use=no
65728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65729 ac_ext=c
65730 ac_cpp='$CPP $CPPFLAGS'
65731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65740 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65742 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65743 for ac_func in finitel
65744 do :
65745 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65746 if test "x$ac_cv_func_finitel" = x""yes; then :
65747 cat >>confdefs.h <<_ACEOF
65748 #define HAVE_FINITEL 1
65749 _ACEOF
65752 done
65754 else
65756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65757 $as_echo_n "checking for _finitel declaration... " >&6; }
65758 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65759 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65760 $as_echo_n "(cached) " >&6
65761 else
65764 ac_ext=cpp
65765 ac_cpp='$CXXCPP $CPPFLAGS'
65766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65771 /* end confdefs.h. */
65772 #include <math.h>
65773 #ifdef HAVE_IEEEFP_H
65774 #include <ieeefp.h>
65775 #endif
65778 main ()
65780 _finitel(0);
65782 return 0;
65784 _ACEOF
65785 if ac_fn_cxx_try_compile "$LINENO"; then :
65786 glibcxx_cv_func__finitel_use=yes
65787 else
65788 glibcxx_cv_func__finitel_use=no
65790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65791 ac_ext=c
65792 ac_cpp='$CPP $CPPFLAGS'
65793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65802 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65804 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65805 for ac_func in _finitel
65806 do :
65807 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65808 if test "x$ac_cv_func__finitel" = x""yes; then :
65809 cat >>confdefs.h <<_ACEOF
65810 #define HAVE__FINITEL 1
65811 _ACEOF
65814 done
65822 LIBS="$ac_save_LIBS"
65823 CXXFLAGS="$ac_save_CXXFLAGS"
65826 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65827 ac_save_CXXFLAGS="$CXXFLAGS"
65828 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65832 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65833 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65834 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65835 $as_echo_n "(cached) " >&6
65836 else
65839 ac_ext=cpp
65840 ac_cpp='$CXXCPP $CPPFLAGS'
65841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65846 /* end confdefs.h. */
65847 #include <stdlib.h>
65849 main ()
65851 at_quick_exit(0);
65853 return 0;
65855 _ACEOF
65856 if ac_fn_cxx_try_compile "$LINENO"; then :
65857 glibcxx_cv_func_at_quick_exit_use=yes
65858 else
65859 glibcxx_cv_func_at_quick_exit_use=no
65861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65862 ac_ext=c
65863 ac_cpp='$CPP $CPPFLAGS'
65864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65873 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65874 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65875 for ac_func in at_quick_exit
65876 do :
65877 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65878 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65879 cat >>confdefs.h <<_ACEOF
65880 #define HAVE_AT_QUICK_EXIT 1
65881 _ACEOF
65884 done
65889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65890 $as_echo_n "checking for quick_exit declaration... " >&6; }
65891 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65892 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65893 $as_echo_n "(cached) " >&6
65894 else
65897 ac_ext=cpp
65898 ac_cpp='$CXXCPP $CPPFLAGS'
65899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65904 /* end confdefs.h. */
65905 #include <stdlib.h>
65907 main ()
65909 quick_exit(0);
65911 return 0;
65913 _ACEOF
65914 if ac_fn_cxx_try_compile "$LINENO"; then :
65915 glibcxx_cv_func_quick_exit_use=yes
65916 else
65917 glibcxx_cv_func_quick_exit_use=no
65919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65920 ac_ext=c
65921 ac_cpp='$CPP $CPPFLAGS'
65922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65931 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65932 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65933 for ac_func in quick_exit
65934 do :
65935 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65936 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65937 cat >>confdefs.h <<_ACEOF
65938 #define HAVE_QUICK_EXIT 1
65939 _ACEOF
65942 done
65947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65948 $as_echo_n "checking for strtold declaration... " >&6; }
65949 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65950 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65951 $as_echo_n "(cached) " >&6
65952 else
65955 ac_ext=cpp
65956 ac_cpp='$CXXCPP $CPPFLAGS'
65957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65962 /* end confdefs.h. */
65963 #include <stdlib.h>
65965 main ()
65967 strtold(0, 0);
65969 return 0;
65971 _ACEOF
65972 if ac_fn_cxx_try_compile "$LINENO"; then :
65973 glibcxx_cv_func_strtold_use=yes
65974 else
65975 glibcxx_cv_func_strtold_use=no
65977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65978 ac_ext=c
65979 ac_cpp='$CPP $CPPFLAGS'
65980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
65989 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
65990 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
65991 for ac_func in strtold
65992 do :
65993 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
65994 if test "x$ac_cv_func_strtold" = x""yes; then :
65995 cat >>confdefs.h <<_ACEOF
65996 #define HAVE_STRTOLD 1
65997 _ACEOF
66000 done
66007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66008 $as_echo_n "checking for strtof declaration... " >&6; }
66009 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66010 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66011 $as_echo_n "(cached) " >&6
66012 else
66015 ac_ext=cpp
66016 ac_cpp='$CXXCPP $CPPFLAGS'
66017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66022 /* end confdefs.h. */
66023 #include <stdlib.h>
66025 main ()
66027 strtof(0, 0);
66029 return 0;
66031 _ACEOF
66032 if ac_fn_cxx_try_compile "$LINENO"; then :
66033 glibcxx_cv_func_strtof_use=yes
66034 else
66035 glibcxx_cv_func_strtof_use=no
66037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66038 ac_ext=c
66039 ac_cpp='$CPP $CPPFLAGS'
66040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66049 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66050 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66051 for ac_func in strtof
66052 do :
66053 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66054 if test "x$ac_cv_func_strtof" = x""yes; then :
66055 cat >>confdefs.h <<_ACEOF
66056 #define HAVE_STRTOF 1
66057 _ACEOF
66060 done
66067 CXXFLAGS="$ac_save_CXXFLAGS"
66070 *-netbsd*)
66071 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66074 # If we're not using GNU ld, then there's no point in even trying these
66075 # tests. Check for that first. We should have already tested for gld
66076 # by now (in libtool), but require it now just to be safe...
66077 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66078 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66082 # The name set by libtool depends on the version of libtool. Shame on us
66083 # for depending on an impl detail, but c'est la vie. Older versions used
66084 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66085 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66086 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66087 # set (hence we're using an older libtool), then set it.
66088 if test x${with_gnu_ld+set} != xset; then
66089 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66090 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66091 with_gnu_ld=no
66092 else
66093 with_gnu_ld=$ac_cv_prog_gnu_ld
66097 # Start by getting the version number. I think the libtool test already
66098 # does some of this, but throws away the result.
66099 glibcxx_ld_is_gold=no
66100 if test x"$with_gnu_ld" = x"yes"; then
66101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66102 $as_echo_n "checking for ld version... " >&6; }
66104 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66105 glibcxx_ld_is_gold=yes
66107 ldver=`$LD --version 2>/dev/null |
66108 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'`
66110 glibcxx_gnu_ld_version=`echo $ldver | \
66111 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66113 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66116 # Set --gc-sections.
66117 glibcxx_have_gc_sections=no
66118 if test "$glibcxx_ld_is_gold" = "yes"; then
66119 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66120 glibcxx_have_gc_sections=yes
66122 else
66123 glibcxx_gcsections_min_ld=21602
66124 if test x"$with_gnu_ld" = x"yes" &&
66125 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66126 glibcxx_have_gc_sections=yes
66129 if test "$glibcxx_have_gc_sections" = "yes"; then
66130 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66131 # NB: This flag only works reliably after 2.16.1. Configure tests
66132 # for this are difficult, so hard wire a value that should work.
66134 ac_test_CFLAGS="${CFLAGS+set}"
66135 ac_save_CFLAGS="$CFLAGS"
66136 CFLAGS='-Wl,--gc-sections'
66138 # Check for -Wl,--gc-sections
66139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66140 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66141 if test x$gcc_no_link = xyes; then
66142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66145 /* end confdefs.h. */
66146 int one(void) { return 1; }
66147 int two(void) { return 2; }
66150 main ()
66152 two();
66154 return 0;
66156 _ACEOF
66157 if ac_fn_c_try_link "$LINENO"; then :
66158 ac_gcsections=yes
66159 else
66160 ac_gcsections=no
66162 rm -f core conftest.err conftest.$ac_objext \
66163 conftest$ac_exeext conftest.$ac_ext
66164 if test "$ac_gcsections" = "yes"; then
66165 rm -f conftest.c
66166 touch conftest.c
66167 if $CC -c conftest.c; then
66168 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66169 grep "Warning: gc-sections option ignored" > /dev/null; then
66170 ac_gcsections=no
66173 rm -f conftest.c conftest.o conftest
66175 if test "$ac_gcsections" = "yes"; then
66176 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66179 $as_echo "$ac_gcsections" >&6; }
66181 if test "$ac_test_CFLAGS" = set; then
66182 CFLAGS="$ac_save_CFLAGS"
66183 else
66184 # this is the suspicious part
66185 CFLAGS=''
66189 # Set -z,relro.
66190 # Note this is only for shared objects.
66191 ac_ld_relro=no
66192 if test x"$with_gnu_ld" = x"yes"; then
66193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66194 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66195 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66196 if test -n "$cxx_z_relo"; then
66197 OPT_LDFLAGS="-Wl,-z,relro"
66198 ac_ld_relro=yes
66200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66201 $as_echo "$ac_ld_relro" >&6; }
66204 # Set linker optimization flags.
66205 if test x"$with_gnu_ld" = x"yes"; then
66206 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66212 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66214 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66216 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66218 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66220 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66222 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66224 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66226 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66228 if test x"long_double_math_on_this_cpu" = x"yes"; then
66229 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66231 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66233 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66237 *-qnx6.1* | *-qnx6.2*)
66238 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66241 # If we're not using GNU ld, then there's no point in even trying these
66242 # tests. Check for that first. We should have already tested for gld
66243 # by now (in libtool), but require it now just to be safe...
66244 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66245 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66249 # The name set by libtool depends on the version of libtool. Shame on us
66250 # for depending on an impl detail, but c'est la vie. Older versions used
66251 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66252 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66253 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66254 # set (hence we're using an older libtool), then set it.
66255 if test x${with_gnu_ld+set} != xset; then
66256 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66257 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66258 with_gnu_ld=no
66259 else
66260 with_gnu_ld=$ac_cv_prog_gnu_ld
66264 # Start by getting the version number. I think the libtool test already
66265 # does some of this, but throws away the result.
66266 glibcxx_ld_is_gold=no
66267 if test x"$with_gnu_ld" = x"yes"; then
66268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66269 $as_echo_n "checking for ld version... " >&6; }
66271 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66272 glibcxx_ld_is_gold=yes
66274 ldver=`$LD --version 2>/dev/null |
66275 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'`
66277 glibcxx_gnu_ld_version=`echo $ldver | \
66278 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66280 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66283 # Set --gc-sections.
66284 glibcxx_have_gc_sections=no
66285 if test "$glibcxx_ld_is_gold" = "yes"; then
66286 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66287 glibcxx_have_gc_sections=yes
66289 else
66290 glibcxx_gcsections_min_ld=21602
66291 if test x"$with_gnu_ld" = x"yes" &&
66292 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66293 glibcxx_have_gc_sections=yes
66296 if test "$glibcxx_have_gc_sections" = "yes"; then
66297 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66298 # NB: This flag only works reliably after 2.16.1. Configure tests
66299 # for this are difficult, so hard wire a value that should work.
66301 ac_test_CFLAGS="${CFLAGS+set}"
66302 ac_save_CFLAGS="$CFLAGS"
66303 CFLAGS='-Wl,--gc-sections'
66305 # Check for -Wl,--gc-sections
66306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66307 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66308 if test x$gcc_no_link = xyes; then
66309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66312 /* end confdefs.h. */
66313 int one(void) { return 1; }
66314 int two(void) { return 2; }
66317 main ()
66319 two();
66321 return 0;
66323 _ACEOF
66324 if ac_fn_c_try_link "$LINENO"; then :
66325 ac_gcsections=yes
66326 else
66327 ac_gcsections=no
66329 rm -f core conftest.err conftest.$ac_objext \
66330 conftest$ac_exeext conftest.$ac_ext
66331 if test "$ac_gcsections" = "yes"; then
66332 rm -f conftest.c
66333 touch conftest.c
66334 if $CC -c conftest.c; then
66335 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66336 grep "Warning: gc-sections option ignored" > /dev/null; then
66337 ac_gcsections=no
66340 rm -f conftest.c conftest.o conftest
66342 if test "$ac_gcsections" = "yes"; then
66343 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66346 $as_echo "$ac_gcsections" >&6; }
66348 if test "$ac_test_CFLAGS" = set; then
66349 CFLAGS="$ac_save_CFLAGS"
66350 else
66351 # this is the suspicious part
66352 CFLAGS=''
66356 # Set -z,relro.
66357 # Note this is only for shared objects.
66358 ac_ld_relro=no
66359 if test x"$with_gnu_ld" = x"yes"; then
66360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66361 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66362 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66363 if test -n "$cxx_z_relo"; then
66364 OPT_LDFLAGS="-Wl,-z,relro"
66365 ac_ld_relro=yes
66367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66368 $as_echo "$ac_ld_relro" >&6; }
66371 # Set linker optimization flags.
66372 if test x"$with_gnu_ld" = x"yes"; then
66373 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66379 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66381 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66383 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66385 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66387 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66389 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66391 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66393 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66395 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66397 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66399 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66401 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66404 *-rtems*)
66406 # All these tests are for C++; save the language and the compiler flags.
66407 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66408 # found in GLIBCXX_CONFIGURE.
66410 ac_ext=cpp
66411 ac_cpp='$CXXCPP $CPPFLAGS'
66412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66416 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66417 ac_save_CXXFLAGS="$CXXFLAGS"
66419 # Check for maintainer-mode bits.
66420 if test x"$USE_MAINTAINER_MODE" = xno; then
66421 WERROR=''
66422 else
66423 WERROR='-Werror'
66426 # Check for -ffunction-sections -fdata-sections
66427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66428 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66429 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66431 /* end confdefs.h. */
66432 int foo; void bar() { };
66434 main ()
66438 return 0;
66440 _ACEOF
66441 if ac_fn_cxx_try_compile "$LINENO"; then :
66442 ac_fdsections=yes
66443 else
66444 ac_fdsections=no
66446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66447 if test "$ac_test_CXXFLAGS" = set; then
66448 CXXFLAGS="$ac_save_CXXFLAGS"
66449 else
66450 # this is the suspicious part
66451 CXXFLAGS=''
66453 if test x"$ac_fdsections" = x"yes"; then
66454 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66457 $as_echo "$ac_fdsections" >&6; }
66459 ac_ext=c
66460 ac_cpp='$CPP $CPPFLAGS'
66461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66469 # If we're not using GNU ld, then there's no point in even trying these
66470 # tests. Check for that first. We should have already tested for gld
66471 # by now (in libtool), but require it now just to be safe...
66472 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66473 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66477 # The name set by libtool depends on the version of libtool. Shame on us
66478 # for depending on an impl detail, but c'est la vie. Older versions used
66479 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66480 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66481 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66482 # set (hence we're using an older libtool), then set it.
66483 if test x${with_gnu_ld+set} != xset; then
66484 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66485 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66486 with_gnu_ld=no
66487 else
66488 with_gnu_ld=$ac_cv_prog_gnu_ld
66492 # Start by getting the version number. I think the libtool test already
66493 # does some of this, but throws away the result.
66494 glibcxx_ld_is_gold=no
66495 if test x"$with_gnu_ld" = x"yes"; then
66496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66497 $as_echo_n "checking for ld version... " >&6; }
66499 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66500 glibcxx_ld_is_gold=yes
66502 ldver=`$LD --version 2>/dev/null |
66503 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'`
66505 glibcxx_gnu_ld_version=`echo $ldver | \
66506 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66508 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66511 # Set --gc-sections.
66512 glibcxx_have_gc_sections=no
66513 if test "$glibcxx_ld_is_gold" = "yes"; then
66514 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66515 glibcxx_have_gc_sections=yes
66517 else
66518 glibcxx_gcsections_min_ld=21602
66519 if test x"$with_gnu_ld" = x"yes" &&
66520 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66521 glibcxx_have_gc_sections=yes
66524 if test "$glibcxx_have_gc_sections" = "yes"; then
66525 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66526 # NB: This flag only works reliably after 2.16.1. Configure tests
66527 # for this are difficult, so hard wire a value that should work.
66529 ac_test_CFLAGS="${CFLAGS+set}"
66530 ac_save_CFLAGS="$CFLAGS"
66531 CFLAGS='-Wl,--gc-sections'
66533 # Check for -Wl,--gc-sections
66534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66535 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66536 if test x$gcc_no_link = xyes; then
66537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66540 /* end confdefs.h. */
66541 int one(void) { return 1; }
66542 int two(void) { return 2; }
66545 main ()
66547 two();
66549 return 0;
66551 _ACEOF
66552 if ac_fn_c_try_link "$LINENO"; then :
66553 ac_gcsections=yes
66554 else
66555 ac_gcsections=no
66557 rm -f core conftest.err conftest.$ac_objext \
66558 conftest$ac_exeext conftest.$ac_ext
66559 if test "$ac_gcsections" = "yes"; then
66560 rm -f conftest.c
66561 touch conftest.c
66562 if $CC -c conftest.c; then
66563 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66564 grep "Warning: gc-sections option ignored" > /dev/null; then
66565 ac_gcsections=no
66568 rm -f conftest.c conftest.o conftest
66570 if test "$ac_gcsections" = "yes"; then
66571 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66574 $as_echo "$ac_gcsections" >&6; }
66576 if test "$ac_test_CFLAGS" = set; then
66577 CFLAGS="$ac_save_CFLAGS"
66578 else
66579 # this is the suspicious part
66580 CFLAGS=''
66584 # Set -z,relro.
66585 # Note this is only for shared objects.
66586 ac_ld_relro=no
66587 if test x"$with_gnu_ld" = x"yes"; then
66588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66589 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66590 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66591 if test -n "$cxx_z_relo"; then
66592 OPT_LDFLAGS="-Wl,-z,relro"
66593 ac_ld_relro=yes
66595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66596 $as_echo "$ac_ld_relro" >&6; }
66599 # Set linker optimization flags.
66600 if test x"$with_gnu_ld" = x"yes"; then
66601 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66608 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66609 ac_save_CXXFLAGS="$CXXFLAGS"
66610 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66613 $as_echo_n "checking for sin in -lm... " >&6; }
66614 if test "${ac_cv_lib_m_sin+set}" = set; then :
66615 $as_echo_n "(cached) " >&6
66616 else
66617 ac_check_lib_save_LIBS=$LIBS
66618 LIBS="-lm $LIBS"
66619 if test x$gcc_no_link = xyes; then
66620 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66623 /* end confdefs.h. */
66625 /* Override any GCC internal prototype to avoid an error.
66626 Use char because int might match the return type of a GCC
66627 builtin and then its argument prototype would still apply. */
66628 #ifdef __cplusplus
66629 extern "C"
66630 #endif
66631 char sin ();
66633 main ()
66635 return sin ();
66637 return 0;
66639 _ACEOF
66640 if ac_fn_c_try_link "$LINENO"; then :
66641 ac_cv_lib_m_sin=yes
66642 else
66643 ac_cv_lib_m_sin=no
66645 rm -f core conftest.err conftest.$ac_objext \
66646 conftest$ac_exeext conftest.$ac_ext
66647 LIBS=$ac_check_lib_save_LIBS
66649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66650 $as_echo "$ac_cv_lib_m_sin" >&6; }
66651 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66652 libm="-lm"
66655 ac_save_LIBS="$LIBS"
66656 LIBS="$LIBS $libm"
66660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66661 $as_echo_n "checking for isinf declaration... " >&6; }
66662 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66663 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66664 $as_echo_n "(cached) " >&6
66665 else
66668 ac_ext=cpp
66669 ac_cpp='$CXXCPP $CPPFLAGS'
66670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66675 /* end confdefs.h. */
66676 #include <math.h>
66677 #ifdef HAVE_IEEEFP_H
66678 #include <ieeefp.h>
66679 #endif
66682 main ()
66684 isinf(0);
66686 return 0;
66688 _ACEOF
66689 if ac_fn_cxx_try_compile "$LINENO"; then :
66690 glibcxx_cv_func_isinf_use=yes
66691 else
66692 glibcxx_cv_func_isinf_use=no
66694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66695 ac_ext=c
66696 ac_cpp='$CPP $CPPFLAGS'
66697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66706 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66708 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66709 for ac_func in isinf
66710 do :
66711 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66712 if test "x$ac_cv_func_isinf" = x""yes; then :
66713 cat >>confdefs.h <<_ACEOF
66714 #define HAVE_ISINF 1
66715 _ACEOF
66718 done
66720 else
66722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66723 $as_echo_n "checking for _isinf declaration... " >&6; }
66724 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66725 if test "${glibcxx_cv_func__isinf_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>
66739 #ifdef HAVE_IEEEFP_H
66740 #include <ieeefp.h>
66741 #endif
66744 main ()
66746 _isinf(0);
66748 return 0;
66750 _ACEOF
66751 if ac_fn_cxx_try_compile "$LINENO"; then :
66752 glibcxx_cv_func__isinf_use=yes
66753 else
66754 glibcxx_cv_func__isinf_use=no
66756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66757 ac_ext=c
66758 ac_cpp='$CPP $CPPFLAGS'
66759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66768 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66770 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66771 for ac_func in _isinf
66772 do :
66773 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66774 if test "x$ac_cv_func__isinf" = x""yes; then :
66775 cat >>confdefs.h <<_ACEOF
66776 #define HAVE__ISINF 1
66777 _ACEOF
66780 done
66789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66790 $as_echo_n "checking for isnan declaration... " >&6; }
66791 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66792 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66793 $as_echo_n "(cached) " >&6
66794 else
66797 ac_ext=cpp
66798 ac_cpp='$CXXCPP $CPPFLAGS'
66799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66804 /* end confdefs.h. */
66805 #include <math.h>
66806 #ifdef HAVE_IEEEFP_H
66807 #include <ieeefp.h>
66808 #endif
66811 main ()
66813 isnan(0);
66815 return 0;
66817 _ACEOF
66818 if ac_fn_cxx_try_compile "$LINENO"; then :
66819 glibcxx_cv_func_isnan_use=yes
66820 else
66821 glibcxx_cv_func_isnan_use=no
66823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66824 ac_ext=c
66825 ac_cpp='$CPP $CPPFLAGS'
66826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66835 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66837 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66838 for ac_func in isnan
66839 do :
66840 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66841 if test "x$ac_cv_func_isnan" = x""yes; then :
66842 cat >>confdefs.h <<_ACEOF
66843 #define HAVE_ISNAN 1
66844 _ACEOF
66847 done
66849 else
66851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66852 $as_echo_n "checking for _isnan declaration... " >&6; }
66853 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66854 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66855 $as_echo_n "(cached) " >&6
66856 else
66859 ac_ext=cpp
66860 ac_cpp='$CXXCPP $CPPFLAGS'
66861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66866 /* end confdefs.h. */
66867 #include <math.h>
66868 #ifdef HAVE_IEEEFP_H
66869 #include <ieeefp.h>
66870 #endif
66873 main ()
66875 _isnan(0);
66877 return 0;
66879 _ACEOF
66880 if ac_fn_cxx_try_compile "$LINENO"; then :
66881 glibcxx_cv_func__isnan_use=yes
66882 else
66883 glibcxx_cv_func__isnan_use=no
66885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66886 ac_ext=c
66887 ac_cpp='$CPP $CPPFLAGS'
66888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66897 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66899 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66900 for ac_func in _isnan
66901 do :
66902 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66903 if test "x$ac_cv_func__isnan" = x""yes; then :
66904 cat >>confdefs.h <<_ACEOF
66905 #define HAVE__ISNAN 1
66906 _ACEOF
66909 done
66918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66919 $as_echo_n "checking for finite declaration... " >&6; }
66920 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66921 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66922 $as_echo_n "(cached) " >&6
66923 else
66926 ac_ext=cpp
66927 ac_cpp='$CXXCPP $CPPFLAGS'
66928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66933 /* end confdefs.h. */
66934 #include <math.h>
66935 #ifdef HAVE_IEEEFP_H
66936 #include <ieeefp.h>
66937 #endif
66940 main ()
66942 finite(0);
66944 return 0;
66946 _ACEOF
66947 if ac_fn_cxx_try_compile "$LINENO"; then :
66948 glibcxx_cv_func_finite_use=yes
66949 else
66950 glibcxx_cv_func_finite_use=no
66952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66953 ac_ext=c
66954 ac_cpp='$CPP $CPPFLAGS'
66955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66964 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66966 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66967 for ac_func in finite
66968 do :
66969 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66970 if test "x$ac_cv_func_finite" = x""yes; then :
66971 cat >>confdefs.h <<_ACEOF
66972 #define HAVE_FINITE 1
66973 _ACEOF
66976 done
66978 else
66980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66981 $as_echo_n "checking for _finite declaration... " >&6; }
66982 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66983 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66984 $as_echo_n "(cached) " >&6
66985 else
66988 ac_ext=cpp
66989 ac_cpp='$CXXCPP $CPPFLAGS'
66990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66995 /* end confdefs.h. */
66996 #include <math.h>
66997 #ifdef HAVE_IEEEFP_H
66998 #include <ieeefp.h>
66999 #endif
67002 main ()
67004 _finite(0);
67006 return 0;
67008 _ACEOF
67009 if ac_fn_cxx_try_compile "$LINENO"; then :
67010 glibcxx_cv_func__finite_use=yes
67011 else
67012 glibcxx_cv_func__finite_use=no
67014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67015 ac_ext=c
67016 ac_cpp='$CPP $CPPFLAGS'
67017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67026 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67028 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67029 for ac_func in _finite
67030 do :
67031 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67032 if test "x$ac_cv_func__finite" = x""yes; then :
67033 cat >>confdefs.h <<_ACEOF
67034 #define HAVE__FINITE 1
67035 _ACEOF
67038 done
67047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67048 $as_echo_n "checking for sincos declaration... " >&6; }
67049 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67050 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67051 $as_echo_n "(cached) " >&6
67052 else
67055 ac_ext=cpp
67056 ac_cpp='$CXXCPP $CPPFLAGS'
67057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67062 /* end confdefs.h. */
67063 #include <math.h>
67065 main ()
67067 sincos(0, 0, 0);
67069 return 0;
67071 _ACEOF
67072 if ac_fn_cxx_try_compile "$LINENO"; then :
67073 glibcxx_cv_func_sincos_use=yes
67074 else
67075 glibcxx_cv_func_sincos_use=no
67077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67078 ac_ext=c
67079 ac_cpp='$CPP $CPPFLAGS'
67080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67089 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67091 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67092 for ac_func in sincos
67093 do :
67094 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67095 if test "x$ac_cv_func_sincos" = x""yes; then :
67096 cat >>confdefs.h <<_ACEOF
67097 #define HAVE_SINCOS 1
67098 _ACEOF
67101 done
67103 else
67105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67106 $as_echo_n "checking for _sincos declaration... " >&6; }
67107 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67108 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67109 $as_echo_n "(cached) " >&6
67110 else
67113 ac_ext=cpp
67114 ac_cpp='$CXXCPP $CPPFLAGS'
67115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67120 /* end confdefs.h. */
67121 #include <math.h>
67123 main ()
67125 _sincos(0, 0, 0);
67127 return 0;
67129 _ACEOF
67130 if ac_fn_cxx_try_compile "$LINENO"; then :
67131 glibcxx_cv_func__sincos_use=yes
67132 else
67133 glibcxx_cv_func__sincos_use=no
67135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67136 ac_ext=c
67137 ac_cpp='$CPP $CPPFLAGS'
67138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67147 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67149 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67150 for ac_func in _sincos
67151 do :
67152 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67153 if test "x$ac_cv_func__sincos" = x""yes; then :
67154 cat >>confdefs.h <<_ACEOF
67155 #define HAVE__SINCOS 1
67156 _ACEOF
67159 done
67168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67169 $as_echo_n "checking for fpclass declaration... " >&6; }
67170 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67171 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67172 $as_echo_n "(cached) " >&6
67173 else
67176 ac_ext=cpp
67177 ac_cpp='$CXXCPP $CPPFLAGS'
67178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67183 /* end confdefs.h. */
67184 #include <math.h>
67185 #ifdef HAVE_IEEEFP_H
67186 #include <ieeefp.h>
67187 #endif
67190 main ()
67192 fpclass(0);
67194 return 0;
67196 _ACEOF
67197 if ac_fn_cxx_try_compile "$LINENO"; then :
67198 glibcxx_cv_func_fpclass_use=yes
67199 else
67200 glibcxx_cv_func_fpclass_use=no
67202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67203 ac_ext=c
67204 ac_cpp='$CPP $CPPFLAGS'
67205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67214 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67216 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67217 for ac_func in fpclass
67218 do :
67219 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67220 if test "x$ac_cv_func_fpclass" = x""yes; then :
67221 cat >>confdefs.h <<_ACEOF
67222 #define HAVE_FPCLASS 1
67223 _ACEOF
67226 done
67228 else
67230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67231 $as_echo_n "checking for _fpclass declaration... " >&6; }
67232 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67233 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67234 $as_echo_n "(cached) " >&6
67235 else
67238 ac_ext=cpp
67239 ac_cpp='$CXXCPP $CPPFLAGS'
67240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67245 /* end confdefs.h. */
67246 #include <math.h>
67247 #ifdef HAVE_IEEEFP_H
67248 #include <ieeefp.h>
67249 #endif
67252 main ()
67254 _fpclass(0);
67256 return 0;
67258 _ACEOF
67259 if ac_fn_cxx_try_compile "$LINENO"; then :
67260 glibcxx_cv_func__fpclass_use=yes
67261 else
67262 glibcxx_cv_func__fpclass_use=no
67264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67265 ac_ext=c
67266 ac_cpp='$CPP $CPPFLAGS'
67267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67276 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67278 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67279 for ac_func in _fpclass
67280 do :
67281 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67282 if test "x$ac_cv_func__fpclass" = x""yes; then :
67283 cat >>confdefs.h <<_ACEOF
67284 #define HAVE__FPCLASS 1
67285 _ACEOF
67288 done
67297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67298 $as_echo_n "checking for qfpclass declaration... " >&6; }
67299 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67300 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67301 $as_echo_n "(cached) " >&6
67302 else
67305 ac_ext=cpp
67306 ac_cpp='$CXXCPP $CPPFLAGS'
67307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67312 /* end confdefs.h. */
67313 #include <math.h>
67314 #ifdef HAVE_IEEEFP_H
67315 #include <ieeefp.h>
67316 #endif
67319 main ()
67321 qfpclass(0);
67323 return 0;
67325 _ACEOF
67326 if ac_fn_cxx_try_compile "$LINENO"; then :
67327 glibcxx_cv_func_qfpclass_use=yes
67328 else
67329 glibcxx_cv_func_qfpclass_use=no
67331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67332 ac_ext=c
67333 ac_cpp='$CPP $CPPFLAGS'
67334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67343 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67345 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67346 for ac_func in qfpclass
67347 do :
67348 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67349 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67350 cat >>confdefs.h <<_ACEOF
67351 #define HAVE_QFPCLASS 1
67352 _ACEOF
67355 done
67357 else
67359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67360 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67361 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67362 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67363 $as_echo_n "(cached) " >&6
67364 else
67367 ac_ext=cpp
67368 ac_cpp='$CXXCPP $CPPFLAGS'
67369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67374 /* end confdefs.h. */
67375 #include <math.h>
67376 #ifdef HAVE_IEEEFP_H
67377 #include <ieeefp.h>
67378 #endif
67381 main ()
67383 _qfpclass(0);
67385 return 0;
67387 _ACEOF
67388 if ac_fn_cxx_try_compile "$LINENO"; then :
67389 glibcxx_cv_func__qfpclass_use=yes
67390 else
67391 glibcxx_cv_func__qfpclass_use=no
67393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67394 ac_ext=c
67395 ac_cpp='$CPP $CPPFLAGS'
67396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67405 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67407 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67408 for ac_func in _qfpclass
67409 do :
67410 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67411 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67412 cat >>confdefs.h <<_ACEOF
67413 #define HAVE__QFPCLASS 1
67414 _ACEOF
67417 done
67426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67427 $as_echo_n "checking for hypot declaration... " >&6; }
67428 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67429 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67430 $as_echo_n "(cached) " >&6
67431 else
67434 ac_ext=cpp
67435 ac_cpp='$CXXCPP $CPPFLAGS'
67436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67441 /* end confdefs.h. */
67442 #include <math.h>
67444 main ()
67446 hypot(0, 0);
67448 return 0;
67450 _ACEOF
67451 if ac_fn_cxx_try_compile "$LINENO"; then :
67452 glibcxx_cv_func_hypot_use=yes
67453 else
67454 glibcxx_cv_func_hypot_use=no
67456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67457 ac_ext=c
67458 ac_cpp='$CPP $CPPFLAGS'
67459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67468 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67470 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67471 for ac_func in hypot
67472 do :
67473 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67474 if test "x$ac_cv_func_hypot" = x""yes; then :
67475 cat >>confdefs.h <<_ACEOF
67476 #define HAVE_HYPOT 1
67477 _ACEOF
67480 done
67482 else
67484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67485 $as_echo_n "checking for _hypot declaration... " >&6; }
67486 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67487 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67488 $as_echo_n "(cached) " >&6
67489 else
67492 ac_ext=cpp
67493 ac_cpp='$CXXCPP $CPPFLAGS'
67494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67499 /* end confdefs.h. */
67500 #include <math.h>
67502 main ()
67504 _hypot(0, 0);
67506 return 0;
67508 _ACEOF
67509 if ac_fn_cxx_try_compile "$LINENO"; then :
67510 glibcxx_cv_func__hypot_use=yes
67511 else
67512 glibcxx_cv_func__hypot_use=no
67514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67515 ac_ext=c
67516 ac_cpp='$CPP $CPPFLAGS'
67517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67526 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67528 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67529 for ac_func in _hypot
67530 do :
67531 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67532 if test "x$ac_cv_func__hypot" = x""yes; then :
67533 cat >>confdefs.h <<_ACEOF
67534 #define HAVE__HYPOT 1
67535 _ACEOF
67538 done
67547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67548 $as_echo_n "checking for float trig functions... " >&6; }
67549 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67550 $as_echo_n "(cached) " >&6
67551 else
67554 ac_ext=cpp
67555 ac_cpp='$CXXCPP $CPPFLAGS'
67556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67561 /* end confdefs.h. */
67562 #include <math.h>
67564 main ()
67566 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67568 return 0;
67570 _ACEOF
67571 if ac_fn_cxx_try_compile "$LINENO"; then :
67572 glibcxx_cv_func_float_trig_use=yes
67573 else
67574 glibcxx_cv_func_float_trig_use=no
67576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67577 ac_ext=c
67578 ac_cpp='$CPP $CPPFLAGS'
67579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67586 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67587 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67588 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67589 do :
67590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67592 eval as_val=\$$as_ac_var
67593 if test "x$as_val" = x""yes; then :
67594 cat >>confdefs.h <<_ACEOF
67595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67596 _ACEOF
67599 done
67601 else
67602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67603 $as_echo_n "checking for _float trig functions... " >&6; }
67604 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67605 $as_echo_n "(cached) " >&6
67606 else
67609 ac_ext=cpp
67610 ac_cpp='$CXXCPP $CPPFLAGS'
67611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67616 /* end confdefs.h. */
67617 #include <math.h>
67619 main ()
67621 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67623 return 0;
67625 _ACEOF
67626 if ac_fn_cxx_try_compile "$LINENO"; then :
67627 glibcxx_cv_func__float_trig_use=yes
67628 else
67629 glibcxx_cv_func__float_trig_use=no
67631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67632 ac_ext=c
67633 ac_cpp='$CPP $CPPFLAGS'
67634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67641 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67642 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67643 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67644 do :
67645 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67646 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67647 eval as_val=\$$as_ac_var
67648 if test "x$as_val" = x""yes; then :
67649 cat >>confdefs.h <<_ACEOF
67650 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67651 _ACEOF
67654 done
67663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67664 $as_echo_n "checking for float round functions... " >&6; }
67665 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67666 $as_echo_n "(cached) " >&6
67667 else
67670 ac_ext=cpp
67671 ac_cpp='$CXXCPP $CPPFLAGS'
67672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67677 /* end confdefs.h. */
67678 #include <math.h>
67680 main ()
67682 ceilf (0); floorf (0);
67684 return 0;
67686 _ACEOF
67687 if ac_fn_cxx_try_compile "$LINENO"; then :
67688 glibcxx_cv_func_float_round_use=yes
67689 else
67690 glibcxx_cv_func_float_round_use=no
67692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67693 ac_ext=c
67694 ac_cpp='$CPP $CPPFLAGS'
67695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67702 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67703 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67704 for ac_func in ceilf floorf
67705 do :
67706 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67707 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67708 eval as_val=\$$as_ac_var
67709 if test "x$as_val" = x""yes; then :
67710 cat >>confdefs.h <<_ACEOF
67711 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67712 _ACEOF
67715 done
67717 else
67718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67719 $as_echo_n "checking for _float round functions... " >&6; }
67720 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67721 $as_echo_n "(cached) " >&6
67722 else
67725 ac_ext=cpp
67726 ac_cpp='$CXXCPP $CPPFLAGS'
67727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67732 /* end confdefs.h. */
67733 #include <math.h>
67735 main ()
67737 _ceilf (0); _floorf (0);
67739 return 0;
67741 _ACEOF
67742 if ac_fn_cxx_try_compile "$LINENO"; then :
67743 glibcxx_cv_func__float_round_use=yes
67744 else
67745 glibcxx_cv_func__float_round_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
67756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67757 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67758 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67759 for ac_func in _ceilf _floorf
67760 do :
67761 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67763 eval as_val=\$$as_ac_var
67764 if test "x$as_val" = x""yes; then :
67765 cat >>confdefs.h <<_ACEOF
67766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67767 _ACEOF
67770 done
67780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67781 $as_echo_n "checking for expf declaration... " >&6; }
67782 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67783 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67784 $as_echo_n "(cached) " >&6
67785 else
67788 ac_ext=cpp
67789 ac_cpp='$CXXCPP $CPPFLAGS'
67790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67795 /* end confdefs.h. */
67796 #include <math.h>
67797 #ifdef HAVE_IEEEFP_H
67798 #include <ieeefp.h>
67799 #endif
67802 main ()
67804 expf(0);
67806 return 0;
67808 _ACEOF
67809 if ac_fn_cxx_try_compile "$LINENO"; then :
67810 glibcxx_cv_func_expf_use=yes
67811 else
67812 glibcxx_cv_func_expf_use=no
67814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67815 ac_ext=c
67816 ac_cpp='$CPP $CPPFLAGS'
67817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67826 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67828 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67829 for ac_func in expf
67830 do :
67831 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67832 if test "x$ac_cv_func_expf" = x""yes; then :
67833 cat >>confdefs.h <<_ACEOF
67834 #define HAVE_EXPF 1
67835 _ACEOF
67838 done
67840 else
67842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67843 $as_echo_n "checking for _expf declaration... " >&6; }
67844 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67845 if test "${glibcxx_cv_func__expf_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>
67859 #ifdef HAVE_IEEEFP_H
67860 #include <ieeefp.h>
67861 #endif
67864 main ()
67866 _expf(0);
67868 return 0;
67870 _ACEOF
67871 if ac_fn_cxx_try_compile "$LINENO"; then :
67872 glibcxx_cv_func__expf_use=yes
67873 else
67874 glibcxx_cv_func__expf_use=no
67876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67877 ac_ext=c
67878 ac_cpp='$CPP $CPPFLAGS'
67879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67888 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67890 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67891 for ac_func in _expf
67892 do :
67893 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67894 if test "x$ac_cv_func__expf" = x""yes; then :
67895 cat >>confdefs.h <<_ACEOF
67896 #define HAVE__EXPF 1
67897 _ACEOF
67900 done
67909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67910 $as_echo_n "checking for isnanf declaration... " >&6; }
67911 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67912 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67913 $as_echo_n "(cached) " >&6
67914 else
67917 ac_ext=cpp
67918 ac_cpp='$CXXCPP $CPPFLAGS'
67919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67924 /* end confdefs.h. */
67925 #include <math.h>
67926 #ifdef HAVE_IEEEFP_H
67927 #include <ieeefp.h>
67928 #endif
67931 main ()
67933 isnanf(0);
67935 return 0;
67937 _ACEOF
67938 if ac_fn_cxx_try_compile "$LINENO"; then :
67939 glibcxx_cv_func_isnanf_use=yes
67940 else
67941 glibcxx_cv_func_isnanf_use=no
67943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67944 ac_ext=c
67945 ac_cpp='$CPP $CPPFLAGS'
67946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67955 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67957 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67958 for ac_func in isnanf
67959 do :
67960 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67961 if test "x$ac_cv_func_isnanf" = x""yes; then :
67962 cat >>confdefs.h <<_ACEOF
67963 #define HAVE_ISNANF 1
67964 _ACEOF
67967 done
67969 else
67971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67972 $as_echo_n "checking for _isnanf declaration... " >&6; }
67973 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67974 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67975 $as_echo_n "(cached) " >&6
67976 else
67979 ac_ext=cpp
67980 ac_cpp='$CXXCPP $CPPFLAGS'
67981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67986 /* end confdefs.h. */
67987 #include <math.h>
67988 #ifdef HAVE_IEEEFP_H
67989 #include <ieeefp.h>
67990 #endif
67993 main ()
67995 _isnanf(0);
67997 return 0;
67999 _ACEOF
68000 if ac_fn_cxx_try_compile "$LINENO"; then :
68001 glibcxx_cv_func__isnanf_use=yes
68002 else
68003 glibcxx_cv_func__isnanf_use=no
68005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68006 ac_ext=c
68007 ac_cpp='$CPP $CPPFLAGS'
68008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68017 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68019 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68020 for ac_func in _isnanf
68021 do :
68022 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68023 if test "x$ac_cv_func__isnanf" = x""yes; then :
68024 cat >>confdefs.h <<_ACEOF
68025 #define HAVE__ISNANF 1
68026 _ACEOF
68029 done
68038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68039 $as_echo_n "checking for isinff declaration... " >&6; }
68040 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68041 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68042 $as_echo_n "(cached) " >&6
68043 else
68046 ac_ext=cpp
68047 ac_cpp='$CXXCPP $CPPFLAGS'
68048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68053 /* end confdefs.h. */
68054 #include <math.h>
68055 #ifdef HAVE_IEEEFP_H
68056 #include <ieeefp.h>
68057 #endif
68060 main ()
68062 isinff(0);
68064 return 0;
68066 _ACEOF
68067 if ac_fn_cxx_try_compile "$LINENO"; then :
68068 glibcxx_cv_func_isinff_use=yes
68069 else
68070 glibcxx_cv_func_isinff_use=no
68072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68073 ac_ext=c
68074 ac_cpp='$CPP $CPPFLAGS'
68075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68084 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68086 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68087 for ac_func in isinff
68088 do :
68089 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68090 if test "x$ac_cv_func_isinff" = x""yes; then :
68091 cat >>confdefs.h <<_ACEOF
68092 #define HAVE_ISINFF 1
68093 _ACEOF
68096 done
68098 else
68100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68101 $as_echo_n "checking for _isinff declaration... " >&6; }
68102 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68103 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68104 $as_echo_n "(cached) " >&6
68105 else
68108 ac_ext=cpp
68109 ac_cpp='$CXXCPP $CPPFLAGS'
68110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68115 /* end confdefs.h. */
68116 #include <math.h>
68117 #ifdef HAVE_IEEEFP_H
68118 #include <ieeefp.h>
68119 #endif
68122 main ()
68124 _isinff(0);
68126 return 0;
68128 _ACEOF
68129 if ac_fn_cxx_try_compile "$LINENO"; then :
68130 glibcxx_cv_func__isinff_use=yes
68131 else
68132 glibcxx_cv_func__isinff_use=no
68134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68135 ac_ext=c
68136 ac_cpp='$CPP $CPPFLAGS'
68137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68146 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68148 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68149 for ac_func in _isinff
68150 do :
68151 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68152 if test "x$ac_cv_func__isinff" = x""yes; then :
68153 cat >>confdefs.h <<_ACEOF
68154 #define HAVE__ISINFF 1
68155 _ACEOF
68158 done
68167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68168 $as_echo_n "checking for atan2f declaration... " >&6; }
68169 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68170 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68171 $as_echo_n "(cached) " >&6
68172 else
68175 ac_ext=cpp
68176 ac_cpp='$CXXCPP $CPPFLAGS'
68177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68182 /* end confdefs.h. */
68183 #include <math.h>
68185 main ()
68187 atan2f(0, 0);
68189 return 0;
68191 _ACEOF
68192 if ac_fn_cxx_try_compile "$LINENO"; then :
68193 glibcxx_cv_func_atan2f_use=yes
68194 else
68195 glibcxx_cv_func_atan2f_use=no
68197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68198 ac_ext=c
68199 ac_cpp='$CPP $CPPFLAGS'
68200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68209 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68211 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68212 for ac_func in atan2f
68213 do :
68214 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68215 if test "x$ac_cv_func_atan2f" = x""yes; then :
68216 cat >>confdefs.h <<_ACEOF
68217 #define HAVE_ATAN2F 1
68218 _ACEOF
68221 done
68223 else
68225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68226 $as_echo_n "checking for _atan2f declaration... " >&6; }
68227 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68228 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68229 $as_echo_n "(cached) " >&6
68230 else
68233 ac_ext=cpp
68234 ac_cpp='$CXXCPP $CPPFLAGS'
68235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68240 /* end confdefs.h. */
68241 #include <math.h>
68243 main ()
68245 _atan2f(0, 0);
68247 return 0;
68249 _ACEOF
68250 if ac_fn_cxx_try_compile "$LINENO"; then :
68251 glibcxx_cv_func__atan2f_use=yes
68252 else
68253 glibcxx_cv_func__atan2f_use=no
68255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68256 ac_ext=c
68257 ac_cpp='$CPP $CPPFLAGS'
68258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68267 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68269 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68270 for ac_func in _atan2f
68271 do :
68272 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68273 if test "x$ac_cv_func__atan2f" = x""yes; then :
68274 cat >>confdefs.h <<_ACEOF
68275 #define HAVE__ATAN2F 1
68276 _ACEOF
68279 done
68288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68289 $as_echo_n "checking for fabsf declaration... " >&6; }
68290 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68291 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68292 $as_echo_n "(cached) " >&6
68293 else
68296 ac_ext=cpp
68297 ac_cpp='$CXXCPP $CPPFLAGS'
68298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68303 /* end confdefs.h. */
68304 #include <math.h>
68305 #ifdef HAVE_IEEEFP_H
68306 #include <ieeefp.h>
68307 #endif
68310 main ()
68312 fabsf(0);
68314 return 0;
68316 _ACEOF
68317 if ac_fn_cxx_try_compile "$LINENO"; then :
68318 glibcxx_cv_func_fabsf_use=yes
68319 else
68320 glibcxx_cv_func_fabsf_use=no
68322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68323 ac_ext=c
68324 ac_cpp='$CPP $CPPFLAGS'
68325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68334 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68336 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68337 for ac_func in fabsf
68338 do :
68339 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68340 if test "x$ac_cv_func_fabsf" = x""yes; then :
68341 cat >>confdefs.h <<_ACEOF
68342 #define HAVE_FABSF 1
68343 _ACEOF
68346 done
68348 else
68350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68351 $as_echo_n "checking for _fabsf declaration... " >&6; }
68352 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68353 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68354 $as_echo_n "(cached) " >&6
68355 else
68358 ac_ext=cpp
68359 ac_cpp='$CXXCPP $CPPFLAGS'
68360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68365 /* end confdefs.h. */
68366 #include <math.h>
68367 #ifdef HAVE_IEEEFP_H
68368 #include <ieeefp.h>
68369 #endif
68372 main ()
68374 _fabsf(0);
68376 return 0;
68378 _ACEOF
68379 if ac_fn_cxx_try_compile "$LINENO"; then :
68380 glibcxx_cv_func__fabsf_use=yes
68381 else
68382 glibcxx_cv_func__fabsf_use=no
68384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68385 ac_ext=c
68386 ac_cpp='$CPP $CPPFLAGS'
68387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68396 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68398 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68399 for ac_func in _fabsf
68400 do :
68401 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68402 if test "x$ac_cv_func__fabsf" = x""yes; then :
68403 cat >>confdefs.h <<_ACEOF
68404 #define HAVE__FABSF 1
68405 _ACEOF
68408 done
68417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68418 $as_echo_n "checking for fmodf declaration... " >&6; }
68419 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68420 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68421 $as_echo_n "(cached) " >&6
68422 else
68425 ac_ext=cpp
68426 ac_cpp='$CXXCPP $CPPFLAGS'
68427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68432 /* end confdefs.h. */
68433 #include <math.h>
68435 main ()
68437 fmodf(0, 0);
68439 return 0;
68441 _ACEOF
68442 if ac_fn_cxx_try_compile "$LINENO"; then :
68443 glibcxx_cv_func_fmodf_use=yes
68444 else
68445 glibcxx_cv_func_fmodf_use=no
68447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68448 ac_ext=c
68449 ac_cpp='$CPP $CPPFLAGS'
68450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68459 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68461 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68462 for ac_func in fmodf
68463 do :
68464 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68465 if test "x$ac_cv_func_fmodf" = x""yes; then :
68466 cat >>confdefs.h <<_ACEOF
68467 #define HAVE_FMODF 1
68468 _ACEOF
68471 done
68473 else
68475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68476 $as_echo_n "checking for _fmodf declaration... " >&6; }
68477 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68478 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68479 $as_echo_n "(cached) " >&6
68480 else
68483 ac_ext=cpp
68484 ac_cpp='$CXXCPP $CPPFLAGS'
68485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68490 /* end confdefs.h. */
68491 #include <math.h>
68493 main ()
68495 _fmodf(0, 0);
68497 return 0;
68499 _ACEOF
68500 if ac_fn_cxx_try_compile "$LINENO"; then :
68501 glibcxx_cv_func__fmodf_use=yes
68502 else
68503 glibcxx_cv_func__fmodf_use=no
68505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68506 ac_ext=c
68507 ac_cpp='$CPP $CPPFLAGS'
68508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68517 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68519 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68520 for ac_func in _fmodf
68521 do :
68522 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68523 if test "x$ac_cv_func__fmodf" = x""yes; then :
68524 cat >>confdefs.h <<_ACEOF
68525 #define HAVE__FMODF 1
68526 _ACEOF
68529 done
68538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68539 $as_echo_n "checking for frexpf declaration... " >&6; }
68540 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68541 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68542 $as_echo_n "(cached) " >&6
68543 else
68546 ac_ext=cpp
68547 ac_cpp='$CXXCPP $CPPFLAGS'
68548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68553 /* end confdefs.h. */
68554 #include <math.h>
68556 main ()
68558 frexpf(0, 0);
68560 return 0;
68562 _ACEOF
68563 if ac_fn_cxx_try_compile "$LINENO"; then :
68564 glibcxx_cv_func_frexpf_use=yes
68565 else
68566 glibcxx_cv_func_frexpf_use=no
68568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68569 ac_ext=c
68570 ac_cpp='$CPP $CPPFLAGS'
68571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68580 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68582 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68583 for ac_func in frexpf
68584 do :
68585 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68586 if test "x$ac_cv_func_frexpf" = x""yes; then :
68587 cat >>confdefs.h <<_ACEOF
68588 #define HAVE_FREXPF 1
68589 _ACEOF
68592 done
68594 else
68596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68597 $as_echo_n "checking for _frexpf declaration... " >&6; }
68598 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68599 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68600 $as_echo_n "(cached) " >&6
68601 else
68604 ac_ext=cpp
68605 ac_cpp='$CXXCPP $CPPFLAGS'
68606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68611 /* end confdefs.h. */
68612 #include <math.h>
68614 main ()
68616 _frexpf(0, 0);
68618 return 0;
68620 _ACEOF
68621 if ac_fn_cxx_try_compile "$LINENO"; then :
68622 glibcxx_cv_func__frexpf_use=yes
68623 else
68624 glibcxx_cv_func__frexpf_use=no
68626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68627 ac_ext=c
68628 ac_cpp='$CPP $CPPFLAGS'
68629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68638 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68640 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68641 for ac_func in _frexpf
68642 do :
68643 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68644 if test "x$ac_cv_func__frexpf" = x""yes; then :
68645 cat >>confdefs.h <<_ACEOF
68646 #define HAVE__FREXPF 1
68647 _ACEOF
68650 done
68659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68660 $as_echo_n "checking for hypotf declaration... " >&6; }
68661 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68662 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68663 $as_echo_n "(cached) " >&6
68664 else
68667 ac_ext=cpp
68668 ac_cpp='$CXXCPP $CPPFLAGS'
68669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68674 /* end confdefs.h. */
68675 #include <math.h>
68677 main ()
68679 hypotf(0, 0);
68681 return 0;
68683 _ACEOF
68684 if ac_fn_cxx_try_compile "$LINENO"; then :
68685 glibcxx_cv_func_hypotf_use=yes
68686 else
68687 glibcxx_cv_func_hypotf_use=no
68689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68690 ac_ext=c
68691 ac_cpp='$CPP $CPPFLAGS'
68692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68701 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68703 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68704 for ac_func in hypotf
68705 do :
68706 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68707 if test "x$ac_cv_func_hypotf" = x""yes; then :
68708 cat >>confdefs.h <<_ACEOF
68709 #define HAVE_HYPOTF 1
68710 _ACEOF
68713 done
68715 else
68717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68718 $as_echo_n "checking for _hypotf declaration... " >&6; }
68719 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68720 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68721 $as_echo_n "(cached) " >&6
68722 else
68725 ac_ext=cpp
68726 ac_cpp='$CXXCPP $CPPFLAGS'
68727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68732 /* end confdefs.h. */
68733 #include <math.h>
68735 main ()
68737 _hypotf(0, 0);
68739 return 0;
68741 _ACEOF
68742 if ac_fn_cxx_try_compile "$LINENO"; then :
68743 glibcxx_cv_func__hypotf_use=yes
68744 else
68745 glibcxx_cv_func__hypotf_use=no
68747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68748 ac_ext=c
68749 ac_cpp='$CPP $CPPFLAGS'
68750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68759 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68761 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68762 for ac_func in _hypotf
68763 do :
68764 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68765 if test "x$ac_cv_func__hypotf" = x""yes; then :
68766 cat >>confdefs.h <<_ACEOF
68767 #define HAVE__HYPOTF 1
68768 _ACEOF
68771 done
68780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68781 $as_echo_n "checking for ldexpf declaration... " >&6; }
68782 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68783 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68784 $as_echo_n "(cached) " >&6
68785 else
68788 ac_ext=cpp
68789 ac_cpp='$CXXCPP $CPPFLAGS'
68790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68795 /* end confdefs.h. */
68796 #include <math.h>
68798 main ()
68800 ldexpf(0, 0);
68802 return 0;
68804 _ACEOF
68805 if ac_fn_cxx_try_compile "$LINENO"; then :
68806 glibcxx_cv_func_ldexpf_use=yes
68807 else
68808 glibcxx_cv_func_ldexpf_use=no
68810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68811 ac_ext=c
68812 ac_cpp='$CPP $CPPFLAGS'
68813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68822 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68824 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68825 for ac_func in ldexpf
68826 do :
68827 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68828 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68829 cat >>confdefs.h <<_ACEOF
68830 #define HAVE_LDEXPF 1
68831 _ACEOF
68834 done
68836 else
68838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68839 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68840 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68841 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68842 $as_echo_n "(cached) " >&6
68843 else
68846 ac_ext=cpp
68847 ac_cpp='$CXXCPP $CPPFLAGS'
68848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68853 /* end confdefs.h. */
68854 #include <math.h>
68856 main ()
68858 _ldexpf(0, 0);
68860 return 0;
68862 _ACEOF
68863 if ac_fn_cxx_try_compile "$LINENO"; then :
68864 glibcxx_cv_func__ldexpf_use=yes
68865 else
68866 glibcxx_cv_func__ldexpf_use=no
68868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68869 ac_ext=c
68870 ac_cpp='$CPP $CPPFLAGS'
68871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68880 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68882 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68883 for ac_func in _ldexpf
68884 do :
68885 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68886 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68887 cat >>confdefs.h <<_ACEOF
68888 #define HAVE__LDEXPF 1
68889 _ACEOF
68892 done
68901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68902 $as_echo_n "checking for logf declaration... " >&6; }
68903 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68904 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68905 $as_echo_n "(cached) " >&6
68906 else
68909 ac_ext=cpp
68910 ac_cpp='$CXXCPP $CPPFLAGS'
68911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68916 /* end confdefs.h. */
68917 #include <math.h>
68918 #ifdef HAVE_IEEEFP_H
68919 #include <ieeefp.h>
68920 #endif
68923 main ()
68925 logf(0);
68927 return 0;
68929 _ACEOF
68930 if ac_fn_cxx_try_compile "$LINENO"; then :
68931 glibcxx_cv_func_logf_use=yes
68932 else
68933 glibcxx_cv_func_logf_use=no
68935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68936 ac_ext=c
68937 ac_cpp='$CPP $CPPFLAGS'
68938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68947 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68949 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68950 for ac_func in logf
68951 do :
68952 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68953 if test "x$ac_cv_func_logf" = x""yes; then :
68954 cat >>confdefs.h <<_ACEOF
68955 #define HAVE_LOGF 1
68956 _ACEOF
68959 done
68961 else
68963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68964 $as_echo_n "checking for _logf declaration... " >&6; }
68965 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68966 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68967 $as_echo_n "(cached) " >&6
68968 else
68971 ac_ext=cpp
68972 ac_cpp='$CXXCPP $CPPFLAGS'
68973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68978 /* end confdefs.h. */
68979 #include <math.h>
68980 #ifdef HAVE_IEEEFP_H
68981 #include <ieeefp.h>
68982 #endif
68985 main ()
68987 _logf(0);
68989 return 0;
68991 _ACEOF
68992 if ac_fn_cxx_try_compile "$LINENO"; then :
68993 glibcxx_cv_func__logf_use=yes
68994 else
68995 glibcxx_cv_func__logf_use=no
68997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68998 ac_ext=c
68999 ac_cpp='$CPP $CPPFLAGS'
69000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69009 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69011 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69012 for ac_func in _logf
69013 do :
69014 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69015 if test "x$ac_cv_func__logf" = x""yes; then :
69016 cat >>confdefs.h <<_ACEOF
69017 #define HAVE__LOGF 1
69018 _ACEOF
69021 done
69030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69031 $as_echo_n "checking for log10f declaration... " >&6; }
69032 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69033 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69034 $as_echo_n "(cached) " >&6
69035 else
69038 ac_ext=cpp
69039 ac_cpp='$CXXCPP $CPPFLAGS'
69040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69045 /* end confdefs.h. */
69046 #include <math.h>
69047 #ifdef HAVE_IEEEFP_H
69048 #include <ieeefp.h>
69049 #endif
69052 main ()
69054 log10f(0);
69056 return 0;
69058 _ACEOF
69059 if ac_fn_cxx_try_compile "$LINENO"; then :
69060 glibcxx_cv_func_log10f_use=yes
69061 else
69062 glibcxx_cv_func_log10f_use=no
69064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69065 ac_ext=c
69066 ac_cpp='$CPP $CPPFLAGS'
69067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69076 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69078 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69079 for ac_func in log10f
69080 do :
69081 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69082 if test "x$ac_cv_func_log10f" = x""yes; then :
69083 cat >>confdefs.h <<_ACEOF
69084 #define HAVE_LOG10F 1
69085 _ACEOF
69088 done
69090 else
69092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69093 $as_echo_n "checking for _log10f declaration... " >&6; }
69094 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69095 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69096 $as_echo_n "(cached) " >&6
69097 else
69100 ac_ext=cpp
69101 ac_cpp='$CXXCPP $CPPFLAGS'
69102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69107 /* end confdefs.h. */
69108 #include <math.h>
69109 #ifdef HAVE_IEEEFP_H
69110 #include <ieeefp.h>
69111 #endif
69114 main ()
69116 _log10f(0);
69118 return 0;
69120 _ACEOF
69121 if ac_fn_cxx_try_compile "$LINENO"; then :
69122 glibcxx_cv_func__log10f_use=yes
69123 else
69124 glibcxx_cv_func__log10f_use=no
69126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69127 ac_ext=c
69128 ac_cpp='$CPP $CPPFLAGS'
69129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69138 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69140 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69141 for ac_func in _log10f
69142 do :
69143 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69144 if test "x$ac_cv_func__log10f" = x""yes; then :
69145 cat >>confdefs.h <<_ACEOF
69146 #define HAVE__LOG10F 1
69147 _ACEOF
69150 done
69159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69160 $as_echo_n "checking for modff declaration... " >&6; }
69161 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69162 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69163 $as_echo_n "(cached) " >&6
69164 else
69167 ac_ext=cpp
69168 ac_cpp='$CXXCPP $CPPFLAGS'
69169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69174 /* end confdefs.h. */
69175 #include <math.h>
69177 main ()
69179 modff(0, 0);
69181 return 0;
69183 _ACEOF
69184 if ac_fn_cxx_try_compile "$LINENO"; then :
69185 glibcxx_cv_func_modff_use=yes
69186 else
69187 glibcxx_cv_func_modff_use=no
69189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69190 ac_ext=c
69191 ac_cpp='$CPP $CPPFLAGS'
69192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69201 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69203 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69204 for ac_func in modff
69205 do :
69206 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69207 if test "x$ac_cv_func_modff" = x""yes; then :
69208 cat >>confdefs.h <<_ACEOF
69209 #define HAVE_MODFF 1
69210 _ACEOF
69213 done
69215 else
69217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69218 $as_echo_n "checking for _modff declaration... " >&6; }
69219 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69220 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69221 $as_echo_n "(cached) " >&6
69222 else
69225 ac_ext=cpp
69226 ac_cpp='$CXXCPP $CPPFLAGS'
69227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69232 /* end confdefs.h. */
69233 #include <math.h>
69235 main ()
69237 _modff(0, 0);
69239 return 0;
69241 _ACEOF
69242 if ac_fn_cxx_try_compile "$LINENO"; then :
69243 glibcxx_cv_func__modff_use=yes
69244 else
69245 glibcxx_cv_func__modff_use=no
69247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69248 ac_ext=c
69249 ac_cpp='$CPP $CPPFLAGS'
69250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69259 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69261 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69262 for ac_func in _modff
69263 do :
69264 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69265 if test "x$ac_cv_func__modff" = x""yes; then :
69266 cat >>confdefs.h <<_ACEOF
69267 #define HAVE__MODFF 1
69268 _ACEOF
69271 done
69280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69281 $as_echo_n "checking for modf declaration... " >&6; }
69282 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69283 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69284 $as_echo_n "(cached) " >&6
69285 else
69288 ac_ext=cpp
69289 ac_cpp='$CXXCPP $CPPFLAGS'
69290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69295 /* end confdefs.h. */
69296 #include <math.h>
69298 main ()
69300 modf(0, 0);
69302 return 0;
69304 _ACEOF
69305 if ac_fn_cxx_try_compile "$LINENO"; then :
69306 glibcxx_cv_func_modf_use=yes
69307 else
69308 glibcxx_cv_func_modf_use=no
69310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69311 ac_ext=c
69312 ac_cpp='$CPP $CPPFLAGS'
69313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69322 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69324 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69325 for ac_func in modf
69326 do :
69327 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69328 if test "x$ac_cv_func_modf" = x""yes; then :
69329 cat >>confdefs.h <<_ACEOF
69330 #define HAVE_MODF 1
69331 _ACEOF
69334 done
69336 else
69338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69339 $as_echo_n "checking for _modf declaration... " >&6; }
69340 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69341 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69342 $as_echo_n "(cached) " >&6
69343 else
69346 ac_ext=cpp
69347 ac_cpp='$CXXCPP $CPPFLAGS'
69348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69353 /* end confdefs.h. */
69354 #include <math.h>
69356 main ()
69358 _modf(0, 0);
69360 return 0;
69362 _ACEOF
69363 if ac_fn_cxx_try_compile "$LINENO"; then :
69364 glibcxx_cv_func__modf_use=yes
69365 else
69366 glibcxx_cv_func__modf_use=no
69368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69369 ac_ext=c
69370 ac_cpp='$CPP $CPPFLAGS'
69371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69380 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69382 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69383 for ac_func in _modf
69384 do :
69385 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69386 if test "x$ac_cv_func__modf" = x""yes; then :
69387 cat >>confdefs.h <<_ACEOF
69388 #define HAVE__MODF 1
69389 _ACEOF
69392 done
69401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69402 $as_echo_n "checking for powf declaration... " >&6; }
69403 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69404 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69405 $as_echo_n "(cached) " >&6
69406 else
69409 ac_ext=cpp
69410 ac_cpp='$CXXCPP $CPPFLAGS'
69411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69416 /* end confdefs.h. */
69417 #include <math.h>
69419 main ()
69421 powf(0, 0);
69423 return 0;
69425 _ACEOF
69426 if ac_fn_cxx_try_compile "$LINENO"; then :
69427 glibcxx_cv_func_powf_use=yes
69428 else
69429 glibcxx_cv_func_powf_use=no
69431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69432 ac_ext=c
69433 ac_cpp='$CPP $CPPFLAGS'
69434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69443 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69445 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69446 for ac_func in powf
69447 do :
69448 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69449 if test "x$ac_cv_func_powf" = x""yes; then :
69450 cat >>confdefs.h <<_ACEOF
69451 #define HAVE_POWF 1
69452 _ACEOF
69455 done
69457 else
69459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69460 $as_echo_n "checking for _powf declaration... " >&6; }
69461 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69462 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69463 $as_echo_n "(cached) " >&6
69464 else
69467 ac_ext=cpp
69468 ac_cpp='$CXXCPP $CPPFLAGS'
69469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69474 /* end confdefs.h. */
69475 #include <math.h>
69477 main ()
69479 _powf(0, 0);
69481 return 0;
69483 _ACEOF
69484 if ac_fn_cxx_try_compile "$LINENO"; then :
69485 glibcxx_cv_func__powf_use=yes
69486 else
69487 glibcxx_cv_func__powf_use=no
69489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69490 ac_ext=c
69491 ac_cpp='$CPP $CPPFLAGS'
69492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69501 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69503 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69504 for ac_func in _powf
69505 do :
69506 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69507 if test "x$ac_cv_func__powf" = x""yes; then :
69508 cat >>confdefs.h <<_ACEOF
69509 #define HAVE__POWF 1
69510 _ACEOF
69513 done
69522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69523 $as_echo_n "checking for sqrtf declaration... " >&6; }
69524 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69525 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69526 $as_echo_n "(cached) " >&6
69527 else
69530 ac_ext=cpp
69531 ac_cpp='$CXXCPP $CPPFLAGS'
69532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69537 /* end confdefs.h. */
69538 #include <math.h>
69539 #ifdef HAVE_IEEEFP_H
69540 #include <ieeefp.h>
69541 #endif
69544 main ()
69546 sqrtf(0);
69548 return 0;
69550 _ACEOF
69551 if ac_fn_cxx_try_compile "$LINENO"; then :
69552 glibcxx_cv_func_sqrtf_use=yes
69553 else
69554 glibcxx_cv_func_sqrtf_use=no
69556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69557 ac_ext=c
69558 ac_cpp='$CPP $CPPFLAGS'
69559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69568 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69570 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69571 for ac_func in sqrtf
69572 do :
69573 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69574 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69575 cat >>confdefs.h <<_ACEOF
69576 #define HAVE_SQRTF 1
69577 _ACEOF
69580 done
69582 else
69584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69585 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69586 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69587 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69588 $as_echo_n "(cached) " >&6
69589 else
69592 ac_ext=cpp
69593 ac_cpp='$CXXCPP $CPPFLAGS'
69594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69599 /* end confdefs.h. */
69600 #include <math.h>
69601 #ifdef HAVE_IEEEFP_H
69602 #include <ieeefp.h>
69603 #endif
69606 main ()
69608 _sqrtf(0);
69610 return 0;
69612 _ACEOF
69613 if ac_fn_cxx_try_compile "$LINENO"; then :
69614 glibcxx_cv_func__sqrtf_use=yes
69615 else
69616 glibcxx_cv_func__sqrtf_use=no
69618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69619 ac_ext=c
69620 ac_cpp='$CPP $CPPFLAGS'
69621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69630 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69632 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69633 for ac_func in _sqrtf
69634 do :
69635 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69636 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69637 cat >>confdefs.h <<_ACEOF
69638 #define HAVE__SQRTF 1
69639 _ACEOF
69642 done
69651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69652 $as_echo_n "checking for sincosf declaration... " >&6; }
69653 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69654 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69655 $as_echo_n "(cached) " >&6
69656 else
69659 ac_ext=cpp
69660 ac_cpp='$CXXCPP $CPPFLAGS'
69661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69666 /* end confdefs.h. */
69667 #include <math.h>
69669 main ()
69671 sincosf(0, 0, 0);
69673 return 0;
69675 _ACEOF
69676 if ac_fn_cxx_try_compile "$LINENO"; then :
69677 glibcxx_cv_func_sincosf_use=yes
69678 else
69679 glibcxx_cv_func_sincosf_use=no
69681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69682 ac_ext=c
69683 ac_cpp='$CPP $CPPFLAGS'
69684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69693 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69695 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69696 for ac_func in sincosf
69697 do :
69698 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69699 if test "x$ac_cv_func_sincosf" = x""yes; then :
69700 cat >>confdefs.h <<_ACEOF
69701 #define HAVE_SINCOSF 1
69702 _ACEOF
69705 done
69707 else
69709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69710 $as_echo_n "checking for _sincosf declaration... " >&6; }
69711 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69712 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69713 $as_echo_n "(cached) " >&6
69714 else
69717 ac_ext=cpp
69718 ac_cpp='$CXXCPP $CPPFLAGS'
69719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69724 /* end confdefs.h. */
69725 #include <math.h>
69727 main ()
69729 _sincosf(0, 0, 0);
69731 return 0;
69733 _ACEOF
69734 if ac_fn_cxx_try_compile "$LINENO"; then :
69735 glibcxx_cv_func__sincosf_use=yes
69736 else
69737 glibcxx_cv_func__sincosf_use=no
69739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69740 ac_ext=c
69741 ac_cpp='$CPP $CPPFLAGS'
69742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69751 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69753 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69754 for ac_func in _sincosf
69755 do :
69756 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69757 if test "x$ac_cv_func__sincosf" = x""yes; then :
69758 cat >>confdefs.h <<_ACEOF
69759 #define HAVE__SINCOSF 1
69760 _ACEOF
69763 done
69772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69773 $as_echo_n "checking for finitef declaration... " >&6; }
69774 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69775 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69776 $as_echo_n "(cached) " >&6
69777 else
69780 ac_ext=cpp
69781 ac_cpp='$CXXCPP $CPPFLAGS'
69782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69787 /* end confdefs.h. */
69788 #include <math.h>
69789 #ifdef HAVE_IEEEFP_H
69790 #include <ieeefp.h>
69791 #endif
69794 main ()
69796 finitef(0);
69798 return 0;
69800 _ACEOF
69801 if ac_fn_cxx_try_compile "$LINENO"; then :
69802 glibcxx_cv_func_finitef_use=yes
69803 else
69804 glibcxx_cv_func_finitef_use=no
69806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69807 ac_ext=c
69808 ac_cpp='$CPP $CPPFLAGS'
69809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69818 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69820 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69821 for ac_func in finitef
69822 do :
69823 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69824 if test "x$ac_cv_func_finitef" = x""yes; then :
69825 cat >>confdefs.h <<_ACEOF
69826 #define HAVE_FINITEF 1
69827 _ACEOF
69830 done
69832 else
69834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69835 $as_echo_n "checking for _finitef declaration... " >&6; }
69836 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69837 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69838 $as_echo_n "(cached) " >&6
69839 else
69842 ac_ext=cpp
69843 ac_cpp='$CXXCPP $CPPFLAGS'
69844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69849 /* end confdefs.h. */
69850 #include <math.h>
69851 #ifdef HAVE_IEEEFP_H
69852 #include <ieeefp.h>
69853 #endif
69856 main ()
69858 _finitef(0);
69860 return 0;
69862 _ACEOF
69863 if ac_fn_cxx_try_compile "$LINENO"; then :
69864 glibcxx_cv_func__finitef_use=yes
69865 else
69866 glibcxx_cv_func__finitef_use=no
69868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69869 ac_ext=c
69870 ac_cpp='$CPP $CPPFLAGS'
69871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69880 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69882 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69883 for ac_func in _finitef
69884 do :
69885 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69886 if test "x$ac_cv_func__finitef" = x""yes; then :
69887 cat >>confdefs.h <<_ACEOF
69888 #define HAVE__FINITEF 1
69889 _ACEOF
69892 done
69901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69902 $as_echo_n "checking for long double trig functions... " >&6; }
69903 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69904 $as_echo_n "(cached) " >&6
69905 else
69908 ac_ext=cpp
69909 ac_cpp='$CXXCPP $CPPFLAGS'
69910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69915 /* end confdefs.h. */
69916 #include <math.h>
69918 main ()
69920 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69922 return 0;
69924 _ACEOF
69925 if ac_fn_cxx_try_compile "$LINENO"; then :
69926 glibcxx_cv_func_long_double_trig_use=yes
69927 else
69928 glibcxx_cv_func_long_double_trig_use=no
69930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69931 ac_ext=c
69932 ac_cpp='$CPP $CPPFLAGS'
69933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69940 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69941 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69942 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69943 do :
69944 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69945 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69946 eval as_val=\$$as_ac_var
69947 if test "x$as_val" = x""yes; then :
69948 cat >>confdefs.h <<_ACEOF
69949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69950 _ACEOF
69953 done
69955 else
69956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69957 $as_echo_n "checking for _long double trig functions... " >&6; }
69958 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69959 $as_echo_n "(cached) " >&6
69960 else
69963 ac_ext=cpp
69964 ac_cpp='$CXXCPP $CPPFLAGS'
69965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69970 /* end confdefs.h. */
69971 #include <math.h>
69973 main ()
69975 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69977 return 0;
69979 _ACEOF
69980 if ac_fn_cxx_try_compile "$LINENO"; then :
69981 glibcxx_cv_func__long_double_trig_use=yes
69982 else
69983 glibcxx_cv_func__long_double_trig_use=no
69985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69986 ac_ext=c
69987 ac_cpp='$CPP $CPPFLAGS'
69988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69995 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69996 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69997 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69998 do :
69999 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70000 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70001 eval as_val=\$$as_ac_var
70002 if test "x$as_val" = x""yes; then :
70003 cat >>confdefs.h <<_ACEOF
70004 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70005 _ACEOF
70008 done
70017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70018 $as_echo_n "checking for long double round functions... " >&6; }
70019 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70020 $as_echo_n "(cached) " >&6
70021 else
70024 ac_ext=cpp
70025 ac_cpp='$CXXCPP $CPPFLAGS'
70026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70031 /* end confdefs.h. */
70032 #include <math.h>
70034 main ()
70036 ceill (0); floorl (0);
70038 return 0;
70040 _ACEOF
70041 if ac_fn_cxx_try_compile "$LINENO"; then :
70042 glibcxx_cv_func_long_double_round_use=yes
70043 else
70044 glibcxx_cv_func_long_double_round_use=no
70046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70047 ac_ext=c
70048 ac_cpp='$CPP $CPPFLAGS'
70049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70056 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70057 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70058 for ac_func in ceill floorl
70059 do :
70060 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70061 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70062 eval as_val=\$$as_ac_var
70063 if test "x$as_val" = x""yes; then :
70064 cat >>confdefs.h <<_ACEOF
70065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70066 _ACEOF
70069 done
70071 else
70072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70073 $as_echo_n "checking for _long double round functions... " >&6; }
70074 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70075 $as_echo_n "(cached) " >&6
70076 else
70079 ac_ext=cpp
70080 ac_cpp='$CXXCPP $CPPFLAGS'
70081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70086 /* end confdefs.h. */
70087 #include <math.h>
70089 main ()
70091 _ceill (0); _floorl (0);
70093 return 0;
70095 _ACEOF
70096 if ac_fn_cxx_try_compile "$LINENO"; then :
70097 glibcxx_cv_func__long_double_round_use=yes
70098 else
70099 glibcxx_cv_func__long_double_round_use=no
70101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70102 ac_ext=c
70103 ac_cpp='$CPP $CPPFLAGS'
70104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70111 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70112 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70113 for ac_func in _ceill _floorl
70114 do :
70115 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70116 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70117 eval as_val=\$$as_ac_var
70118 if test "x$as_val" = x""yes; then :
70119 cat >>confdefs.h <<_ACEOF
70120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70121 _ACEOF
70124 done
70134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70135 $as_echo_n "checking for isnanl declaration... " >&6; }
70136 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70137 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70138 $as_echo_n "(cached) " >&6
70139 else
70142 ac_ext=cpp
70143 ac_cpp='$CXXCPP $CPPFLAGS'
70144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70149 /* end confdefs.h. */
70150 #include <math.h>
70151 #ifdef HAVE_IEEEFP_H
70152 #include <ieeefp.h>
70153 #endif
70156 main ()
70158 isnanl(0);
70160 return 0;
70162 _ACEOF
70163 if ac_fn_cxx_try_compile "$LINENO"; then :
70164 glibcxx_cv_func_isnanl_use=yes
70165 else
70166 glibcxx_cv_func_isnanl_use=no
70168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70169 ac_ext=c
70170 ac_cpp='$CPP $CPPFLAGS'
70171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70180 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70182 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70183 for ac_func in isnanl
70184 do :
70185 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70186 if test "x$ac_cv_func_isnanl" = x""yes; then :
70187 cat >>confdefs.h <<_ACEOF
70188 #define HAVE_ISNANL 1
70189 _ACEOF
70192 done
70194 else
70196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70197 $as_echo_n "checking for _isnanl declaration... " >&6; }
70198 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70199 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70200 $as_echo_n "(cached) " >&6
70201 else
70204 ac_ext=cpp
70205 ac_cpp='$CXXCPP $CPPFLAGS'
70206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70211 /* end confdefs.h. */
70212 #include <math.h>
70213 #ifdef HAVE_IEEEFP_H
70214 #include <ieeefp.h>
70215 #endif
70218 main ()
70220 _isnanl(0);
70222 return 0;
70224 _ACEOF
70225 if ac_fn_cxx_try_compile "$LINENO"; then :
70226 glibcxx_cv_func__isnanl_use=yes
70227 else
70228 glibcxx_cv_func__isnanl_use=no
70230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70231 ac_ext=c
70232 ac_cpp='$CPP $CPPFLAGS'
70233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70242 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70244 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70245 for ac_func in _isnanl
70246 do :
70247 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70248 if test "x$ac_cv_func__isnanl" = x""yes; then :
70249 cat >>confdefs.h <<_ACEOF
70250 #define HAVE__ISNANL 1
70251 _ACEOF
70254 done
70263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70264 $as_echo_n "checking for isinfl declaration... " >&6; }
70265 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70266 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70267 $as_echo_n "(cached) " >&6
70268 else
70271 ac_ext=cpp
70272 ac_cpp='$CXXCPP $CPPFLAGS'
70273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70278 /* end confdefs.h. */
70279 #include <math.h>
70280 #ifdef HAVE_IEEEFP_H
70281 #include <ieeefp.h>
70282 #endif
70285 main ()
70287 isinfl(0);
70289 return 0;
70291 _ACEOF
70292 if ac_fn_cxx_try_compile "$LINENO"; then :
70293 glibcxx_cv_func_isinfl_use=yes
70294 else
70295 glibcxx_cv_func_isinfl_use=no
70297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70298 ac_ext=c
70299 ac_cpp='$CPP $CPPFLAGS'
70300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70309 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70311 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70312 for ac_func in isinfl
70313 do :
70314 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70315 if test "x$ac_cv_func_isinfl" = x""yes; then :
70316 cat >>confdefs.h <<_ACEOF
70317 #define HAVE_ISINFL 1
70318 _ACEOF
70321 done
70323 else
70325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70326 $as_echo_n "checking for _isinfl declaration... " >&6; }
70327 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70328 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70329 $as_echo_n "(cached) " >&6
70330 else
70333 ac_ext=cpp
70334 ac_cpp='$CXXCPP $CPPFLAGS'
70335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70340 /* end confdefs.h. */
70341 #include <math.h>
70342 #ifdef HAVE_IEEEFP_H
70343 #include <ieeefp.h>
70344 #endif
70347 main ()
70349 _isinfl(0);
70351 return 0;
70353 _ACEOF
70354 if ac_fn_cxx_try_compile "$LINENO"; then :
70355 glibcxx_cv_func__isinfl_use=yes
70356 else
70357 glibcxx_cv_func__isinfl_use=no
70359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70360 ac_ext=c
70361 ac_cpp='$CPP $CPPFLAGS'
70362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70371 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70373 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70374 for ac_func in _isinfl
70375 do :
70376 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70377 if test "x$ac_cv_func__isinfl" = x""yes; then :
70378 cat >>confdefs.h <<_ACEOF
70379 #define HAVE__ISINFL 1
70380 _ACEOF
70383 done
70392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70393 $as_echo_n "checking for atan2l declaration... " >&6; }
70394 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70395 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70396 $as_echo_n "(cached) " >&6
70397 else
70400 ac_ext=cpp
70401 ac_cpp='$CXXCPP $CPPFLAGS'
70402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70407 /* end confdefs.h. */
70408 #include <math.h>
70410 main ()
70412 atan2l(0, 0);
70414 return 0;
70416 _ACEOF
70417 if ac_fn_cxx_try_compile "$LINENO"; then :
70418 glibcxx_cv_func_atan2l_use=yes
70419 else
70420 glibcxx_cv_func_atan2l_use=no
70422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70423 ac_ext=c
70424 ac_cpp='$CPP $CPPFLAGS'
70425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70434 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70436 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70437 for ac_func in atan2l
70438 do :
70439 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70440 if test "x$ac_cv_func_atan2l" = x""yes; then :
70441 cat >>confdefs.h <<_ACEOF
70442 #define HAVE_ATAN2L 1
70443 _ACEOF
70446 done
70448 else
70450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70451 $as_echo_n "checking for _atan2l declaration... " >&6; }
70452 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70453 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70454 $as_echo_n "(cached) " >&6
70455 else
70458 ac_ext=cpp
70459 ac_cpp='$CXXCPP $CPPFLAGS'
70460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70465 /* end confdefs.h. */
70466 #include <math.h>
70468 main ()
70470 _atan2l(0, 0);
70472 return 0;
70474 _ACEOF
70475 if ac_fn_cxx_try_compile "$LINENO"; then :
70476 glibcxx_cv_func__atan2l_use=yes
70477 else
70478 glibcxx_cv_func__atan2l_use=no
70480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70481 ac_ext=c
70482 ac_cpp='$CPP $CPPFLAGS'
70483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70492 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70494 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70495 for ac_func in _atan2l
70496 do :
70497 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70498 if test "x$ac_cv_func__atan2l" = x""yes; then :
70499 cat >>confdefs.h <<_ACEOF
70500 #define HAVE__ATAN2L 1
70501 _ACEOF
70504 done
70513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70514 $as_echo_n "checking for expl declaration... " >&6; }
70515 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70516 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70517 $as_echo_n "(cached) " >&6
70518 else
70521 ac_ext=cpp
70522 ac_cpp='$CXXCPP $CPPFLAGS'
70523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70528 /* end confdefs.h. */
70529 #include <math.h>
70530 #ifdef HAVE_IEEEFP_H
70531 #include <ieeefp.h>
70532 #endif
70535 main ()
70537 expl(0);
70539 return 0;
70541 _ACEOF
70542 if ac_fn_cxx_try_compile "$LINENO"; then :
70543 glibcxx_cv_func_expl_use=yes
70544 else
70545 glibcxx_cv_func_expl_use=no
70547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70548 ac_ext=c
70549 ac_cpp='$CPP $CPPFLAGS'
70550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70559 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70561 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70562 for ac_func in expl
70563 do :
70564 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70565 if test "x$ac_cv_func_expl" = x""yes; then :
70566 cat >>confdefs.h <<_ACEOF
70567 #define HAVE_EXPL 1
70568 _ACEOF
70571 done
70573 else
70575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70576 $as_echo_n "checking for _expl declaration... " >&6; }
70577 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70578 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70579 $as_echo_n "(cached) " >&6
70580 else
70583 ac_ext=cpp
70584 ac_cpp='$CXXCPP $CPPFLAGS'
70585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70590 /* end confdefs.h. */
70591 #include <math.h>
70592 #ifdef HAVE_IEEEFP_H
70593 #include <ieeefp.h>
70594 #endif
70597 main ()
70599 _expl(0);
70601 return 0;
70603 _ACEOF
70604 if ac_fn_cxx_try_compile "$LINENO"; then :
70605 glibcxx_cv_func__expl_use=yes
70606 else
70607 glibcxx_cv_func__expl_use=no
70609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70610 ac_ext=c
70611 ac_cpp='$CPP $CPPFLAGS'
70612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70621 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70623 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70624 for ac_func in _expl
70625 do :
70626 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70627 if test "x$ac_cv_func__expl" = x""yes; then :
70628 cat >>confdefs.h <<_ACEOF
70629 #define HAVE__EXPL 1
70630 _ACEOF
70633 done
70642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70643 $as_echo_n "checking for fabsl declaration... " >&6; }
70644 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70645 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70646 $as_echo_n "(cached) " >&6
70647 else
70650 ac_ext=cpp
70651 ac_cpp='$CXXCPP $CPPFLAGS'
70652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70657 /* end confdefs.h. */
70658 #include <math.h>
70659 #ifdef HAVE_IEEEFP_H
70660 #include <ieeefp.h>
70661 #endif
70664 main ()
70666 fabsl(0);
70668 return 0;
70670 _ACEOF
70671 if ac_fn_cxx_try_compile "$LINENO"; then :
70672 glibcxx_cv_func_fabsl_use=yes
70673 else
70674 glibcxx_cv_func_fabsl_use=no
70676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70677 ac_ext=c
70678 ac_cpp='$CPP $CPPFLAGS'
70679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70688 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70690 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70691 for ac_func in fabsl
70692 do :
70693 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70694 if test "x$ac_cv_func_fabsl" = x""yes; then :
70695 cat >>confdefs.h <<_ACEOF
70696 #define HAVE_FABSL 1
70697 _ACEOF
70700 done
70702 else
70704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70705 $as_echo_n "checking for _fabsl declaration... " >&6; }
70706 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70707 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70708 $as_echo_n "(cached) " >&6
70709 else
70712 ac_ext=cpp
70713 ac_cpp='$CXXCPP $CPPFLAGS'
70714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70719 /* end confdefs.h. */
70720 #include <math.h>
70721 #ifdef HAVE_IEEEFP_H
70722 #include <ieeefp.h>
70723 #endif
70726 main ()
70728 _fabsl(0);
70730 return 0;
70732 _ACEOF
70733 if ac_fn_cxx_try_compile "$LINENO"; then :
70734 glibcxx_cv_func__fabsl_use=yes
70735 else
70736 glibcxx_cv_func__fabsl_use=no
70738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70739 ac_ext=c
70740 ac_cpp='$CPP $CPPFLAGS'
70741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70750 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70752 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70753 for ac_func in _fabsl
70754 do :
70755 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70756 if test "x$ac_cv_func__fabsl" = x""yes; then :
70757 cat >>confdefs.h <<_ACEOF
70758 #define HAVE__FABSL 1
70759 _ACEOF
70762 done
70771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70772 $as_echo_n "checking for fmodl declaration... " >&6; }
70773 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70774 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70775 $as_echo_n "(cached) " >&6
70776 else
70779 ac_ext=cpp
70780 ac_cpp='$CXXCPP $CPPFLAGS'
70781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70786 /* end confdefs.h. */
70787 #include <math.h>
70789 main ()
70791 fmodl(0, 0);
70793 return 0;
70795 _ACEOF
70796 if ac_fn_cxx_try_compile "$LINENO"; then :
70797 glibcxx_cv_func_fmodl_use=yes
70798 else
70799 glibcxx_cv_func_fmodl_use=no
70801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70802 ac_ext=c
70803 ac_cpp='$CPP $CPPFLAGS'
70804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70813 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70815 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70816 for ac_func in fmodl
70817 do :
70818 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70819 if test "x$ac_cv_func_fmodl" = x""yes; then :
70820 cat >>confdefs.h <<_ACEOF
70821 #define HAVE_FMODL 1
70822 _ACEOF
70825 done
70827 else
70829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70830 $as_echo_n "checking for _fmodl declaration... " >&6; }
70831 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70832 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70833 $as_echo_n "(cached) " >&6
70834 else
70837 ac_ext=cpp
70838 ac_cpp='$CXXCPP $CPPFLAGS'
70839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70844 /* end confdefs.h. */
70845 #include <math.h>
70847 main ()
70849 _fmodl(0, 0);
70851 return 0;
70853 _ACEOF
70854 if ac_fn_cxx_try_compile "$LINENO"; then :
70855 glibcxx_cv_func__fmodl_use=yes
70856 else
70857 glibcxx_cv_func__fmodl_use=no
70859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70860 ac_ext=c
70861 ac_cpp='$CPP $CPPFLAGS'
70862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70871 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70873 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70874 for ac_func in _fmodl
70875 do :
70876 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70877 if test "x$ac_cv_func__fmodl" = x""yes; then :
70878 cat >>confdefs.h <<_ACEOF
70879 #define HAVE__FMODL 1
70880 _ACEOF
70883 done
70892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70893 $as_echo_n "checking for frexpl declaration... " >&6; }
70894 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70895 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70896 $as_echo_n "(cached) " >&6
70897 else
70900 ac_ext=cpp
70901 ac_cpp='$CXXCPP $CPPFLAGS'
70902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70907 /* end confdefs.h. */
70908 #include <math.h>
70910 main ()
70912 frexpl(0, 0);
70914 return 0;
70916 _ACEOF
70917 if ac_fn_cxx_try_compile "$LINENO"; then :
70918 glibcxx_cv_func_frexpl_use=yes
70919 else
70920 glibcxx_cv_func_frexpl_use=no
70922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70923 ac_ext=c
70924 ac_cpp='$CPP $CPPFLAGS'
70925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70934 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70936 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70937 for ac_func in frexpl
70938 do :
70939 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70940 if test "x$ac_cv_func_frexpl" = x""yes; then :
70941 cat >>confdefs.h <<_ACEOF
70942 #define HAVE_FREXPL 1
70943 _ACEOF
70946 done
70948 else
70950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70951 $as_echo_n "checking for _frexpl declaration... " >&6; }
70952 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70953 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70954 $as_echo_n "(cached) " >&6
70955 else
70958 ac_ext=cpp
70959 ac_cpp='$CXXCPP $CPPFLAGS'
70960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70965 /* end confdefs.h. */
70966 #include <math.h>
70968 main ()
70970 _frexpl(0, 0);
70972 return 0;
70974 _ACEOF
70975 if ac_fn_cxx_try_compile "$LINENO"; then :
70976 glibcxx_cv_func__frexpl_use=yes
70977 else
70978 glibcxx_cv_func__frexpl_use=no
70980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70981 ac_ext=c
70982 ac_cpp='$CPP $CPPFLAGS'
70983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
70992 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70994 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70995 for ac_func in _frexpl
70996 do :
70997 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70998 if test "x$ac_cv_func__frexpl" = x""yes; then :
70999 cat >>confdefs.h <<_ACEOF
71000 #define HAVE__FREXPL 1
71001 _ACEOF
71004 done
71013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71014 $as_echo_n "checking for hypotl declaration... " >&6; }
71015 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71016 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71017 $as_echo_n "(cached) " >&6
71018 else
71021 ac_ext=cpp
71022 ac_cpp='$CXXCPP $CPPFLAGS'
71023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71028 /* end confdefs.h. */
71029 #include <math.h>
71031 main ()
71033 hypotl(0, 0);
71035 return 0;
71037 _ACEOF
71038 if ac_fn_cxx_try_compile "$LINENO"; then :
71039 glibcxx_cv_func_hypotl_use=yes
71040 else
71041 glibcxx_cv_func_hypotl_use=no
71043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71044 ac_ext=c
71045 ac_cpp='$CPP $CPPFLAGS'
71046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71055 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71057 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71058 for ac_func in hypotl
71059 do :
71060 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71061 if test "x$ac_cv_func_hypotl" = x""yes; then :
71062 cat >>confdefs.h <<_ACEOF
71063 #define HAVE_HYPOTL 1
71064 _ACEOF
71067 done
71069 else
71071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71072 $as_echo_n "checking for _hypotl declaration... " >&6; }
71073 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71074 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71075 $as_echo_n "(cached) " >&6
71076 else
71079 ac_ext=cpp
71080 ac_cpp='$CXXCPP $CPPFLAGS'
71081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71086 /* end confdefs.h. */
71087 #include <math.h>
71089 main ()
71091 _hypotl(0, 0);
71093 return 0;
71095 _ACEOF
71096 if ac_fn_cxx_try_compile "$LINENO"; then :
71097 glibcxx_cv_func__hypotl_use=yes
71098 else
71099 glibcxx_cv_func__hypotl_use=no
71101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71102 ac_ext=c
71103 ac_cpp='$CPP $CPPFLAGS'
71104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71113 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71115 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71116 for ac_func in _hypotl
71117 do :
71118 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71119 if test "x$ac_cv_func__hypotl" = x""yes; then :
71120 cat >>confdefs.h <<_ACEOF
71121 #define HAVE__HYPOTL 1
71122 _ACEOF
71125 done
71134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71135 $as_echo_n "checking for ldexpl declaration... " >&6; }
71136 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71137 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71138 $as_echo_n "(cached) " >&6
71139 else
71142 ac_ext=cpp
71143 ac_cpp='$CXXCPP $CPPFLAGS'
71144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71149 /* end confdefs.h. */
71150 #include <math.h>
71152 main ()
71154 ldexpl(0, 0);
71156 return 0;
71158 _ACEOF
71159 if ac_fn_cxx_try_compile "$LINENO"; then :
71160 glibcxx_cv_func_ldexpl_use=yes
71161 else
71162 glibcxx_cv_func_ldexpl_use=no
71164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71165 ac_ext=c
71166 ac_cpp='$CPP $CPPFLAGS'
71167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71176 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71178 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71179 for ac_func in ldexpl
71180 do :
71181 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71182 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71183 cat >>confdefs.h <<_ACEOF
71184 #define HAVE_LDEXPL 1
71185 _ACEOF
71188 done
71190 else
71192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71193 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71194 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71195 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71196 $as_echo_n "(cached) " >&6
71197 else
71200 ac_ext=cpp
71201 ac_cpp='$CXXCPP $CPPFLAGS'
71202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71207 /* end confdefs.h. */
71208 #include <math.h>
71210 main ()
71212 _ldexpl(0, 0);
71214 return 0;
71216 _ACEOF
71217 if ac_fn_cxx_try_compile "$LINENO"; then :
71218 glibcxx_cv_func__ldexpl_use=yes
71219 else
71220 glibcxx_cv_func__ldexpl_use=no
71222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71223 ac_ext=c
71224 ac_cpp='$CPP $CPPFLAGS'
71225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71234 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71236 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71237 for ac_func in _ldexpl
71238 do :
71239 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71240 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71241 cat >>confdefs.h <<_ACEOF
71242 #define HAVE__LDEXPL 1
71243 _ACEOF
71246 done
71255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71256 $as_echo_n "checking for logl declaration... " >&6; }
71257 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71258 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71259 $as_echo_n "(cached) " >&6
71260 else
71263 ac_ext=cpp
71264 ac_cpp='$CXXCPP $CPPFLAGS'
71265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71270 /* end confdefs.h. */
71271 #include <math.h>
71272 #ifdef HAVE_IEEEFP_H
71273 #include <ieeefp.h>
71274 #endif
71277 main ()
71279 logl(0);
71281 return 0;
71283 _ACEOF
71284 if ac_fn_cxx_try_compile "$LINENO"; then :
71285 glibcxx_cv_func_logl_use=yes
71286 else
71287 glibcxx_cv_func_logl_use=no
71289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71290 ac_ext=c
71291 ac_cpp='$CPP $CPPFLAGS'
71292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71301 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71303 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71304 for ac_func in logl
71305 do :
71306 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71307 if test "x$ac_cv_func_logl" = x""yes; then :
71308 cat >>confdefs.h <<_ACEOF
71309 #define HAVE_LOGL 1
71310 _ACEOF
71313 done
71315 else
71317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71318 $as_echo_n "checking for _logl declaration... " >&6; }
71319 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71320 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71321 $as_echo_n "(cached) " >&6
71322 else
71325 ac_ext=cpp
71326 ac_cpp='$CXXCPP $CPPFLAGS'
71327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71332 /* end confdefs.h. */
71333 #include <math.h>
71334 #ifdef HAVE_IEEEFP_H
71335 #include <ieeefp.h>
71336 #endif
71339 main ()
71341 _logl(0);
71343 return 0;
71345 _ACEOF
71346 if ac_fn_cxx_try_compile "$LINENO"; then :
71347 glibcxx_cv_func__logl_use=yes
71348 else
71349 glibcxx_cv_func__logl_use=no
71351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71352 ac_ext=c
71353 ac_cpp='$CPP $CPPFLAGS'
71354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71363 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71365 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71366 for ac_func in _logl
71367 do :
71368 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71369 if test "x$ac_cv_func__logl" = x""yes; then :
71370 cat >>confdefs.h <<_ACEOF
71371 #define HAVE__LOGL 1
71372 _ACEOF
71375 done
71384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71385 $as_echo_n "checking for log10l declaration... " >&6; }
71386 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71387 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71388 $as_echo_n "(cached) " >&6
71389 else
71392 ac_ext=cpp
71393 ac_cpp='$CXXCPP $CPPFLAGS'
71394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71399 /* end confdefs.h. */
71400 #include <math.h>
71401 #ifdef HAVE_IEEEFP_H
71402 #include <ieeefp.h>
71403 #endif
71406 main ()
71408 log10l(0);
71410 return 0;
71412 _ACEOF
71413 if ac_fn_cxx_try_compile "$LINENO"; then :
71414 glibcxx_cv_func_log10l_use=yes
71415 else
71416 glibcxx_cv_func_log10l_use=no
71418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71419 ac_ext=c
71420 ac_cpp='$CPP $CPPFLAGS'
71421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71430 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71432 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71433 for ac_func in log10l
71434 do :
71435 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71436 if test "x$ac_cv_func_log10l" = x""yes; then :
71437 cat >>confdefs.h <<_ACEOF
71438 #define HAVE_LOG10L 1
71439 _ACEOF
71442 done
71444 else
71446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71447 $as_echo_n "checking for _log10l declaration... " >&6; }
71448 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71449 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71450 $as_echo_n "(cached) " >&6
71451 else
71454 ac_ext=cpp
71455 ac_cpp='$CXXCPP $CPPFLAGS'
71456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71461 /* end confdefs.h. */
71462 #include <math.h>
71463 #ifdef HAVE_IEEEFP_H
71464 #include <ieeefp.h>
71465 #endif
71468 main ()
71470 _log10l(0);
71472 return 0;
71474 _ACEOF
71475 if ac_fn_cxx_try_compile "$LINENO"; then :
71476 glibcxx_cv_func__log10l_use=yes
71477 else
71478 glibcxx_cv_func__log10l_use=no
71480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71481 ac_ext=c
71482 ac_cpp='$CPP $CPPFLAGS'
71483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71492 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71494 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71495 for ac_func in _log10l
71496 do :
71497 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71498 if test "x$ac_cv_func__log10l" = x""yes; then :
71499 cat >>confdefs.h <<_ACEOF
71500 #define HAVE__LOG10L 1
71501 _ACEOF
71504 done
71513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71514 $as_echo_n "checking for modfl declaration... " >&6; }
71515 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71516 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71517 $as_echo_n "(cached) " >&6
71518 else
71521 ac_ext=cpp
71522 ac_cpp='$CXXCPP $CPPFLAGS'
71523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71528 /* end confdefs.h. */
71529 #include <math.h>
71531 main ()
71533 modfl(0, 0);
71535 return 0;
71537 _ACEOF
71538 if ac_fn_cxx_try_compile "$LINENO"; then :
71539 glibcxx_cv_func_modfl_use=yes
71540 else
71541 glibcxx_cv_func_modfl_use=no
71543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71544 ac_ext=c
71545 ac_cpp='$CPP $CPPFLAGS'
71546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71555 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71557 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71558 for ac_func in modfl
71559 do :
71560 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71561 if test "x$ac_cv_func_modfl" = x""yes; then :
71562 cat >>confdefs.h <<_ACEOF
71563 #define HAVE_MODFL 1
71564 _ACEOF
71567 done
71569 else
71571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71572 $as_echo_n "checking for _modfl declaration... " >&6; }
71573 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71574 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71575 $as_echo_n "(cached) " >&6
71576 else
71579 ac_ext=cpp
71580 ac_cpp='$CXXCPP $CPPFLAGS'
71581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71586 /* end confdefs.h. */
71587 #include <math.h>
71589 main ()
71591 _modfl(0, 0);
71593 return 0;
71595 _ACEOF
71596 if ac_fn_cxx_try_compile "$LINENO"; then :
71597 glibcxx_cv_func__modfl_use=yes
71598 else
71599 glibcxx_cv_func__modfl_use=no
71601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71602 ac_ext=c
71603 ac_cpp='$CPP $CPPFLAGS'
71604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71613 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71615 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71616 for ac_func in _modfl
71617 do :
71618 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71619 if test "x$ac_cv_func__modfl" = x""yes; then :
71620 cat >>confdefs.h <<_ACEOF
71621 #define HAVE__MODFL 1
71622 _ACEOF
71625 done
71634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71635 $as_echo_n "checking for powl declaration... " >&6; }
71636 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71637 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71638 $as_echo_n "(cached) " >&6
71639 else
71642 ac_ext=cpp
71643 ac_cpp='$CXXCPP $CPPFLAGS'
71644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71649 /* end confdefs.h. */
71650 #include <math.h>
71652 main ()
71654 powl(0, 0);
71656 return 0;
71658 _ACEOF
71659 if ac_fn_cxx_try_compile "$LINENO"; then :
71660 glibcxx_cv_func_powl_use=yes
71661 else
71662 glibcxx_cv_func_powl_use=no
71664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71665 ac_ext=c
71666 ac_cpp='$CPP $CPPFLAGS'
71667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71676 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71678 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71679 for ac_func in powl
71680 do :
71681 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71682 if test "x$ac_cv_func_powl" = x""yes; then :
71683 cat >>confdefs.h <<_ACEOF
71684 #define HAVE_POWL 1
71685 _ACEOF
71688 done
71690 else
71692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71693 $as_echo_n "checking for _powl declaration... " >&6; }
71694 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71695 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71696 $as_echo_n "(cached) " >&6
71697 else
71700 ac_ext=cpp
71701 ac_cpp='$CXXCPP $CPPFLAGS'
71702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71707 /* end confdefs.h. */
71708 #include <math.h>
71710 main ()
71712 _powl(0, 0);
71714 return 0;
71716 _ACEOF
71717 if ac_fn_cxx_try_compile "$LINENO"; then :
71718 glibcxx_cv_func__powl_use=yes
71719 else
71720 glibcxx_cv_func__powl_use=no
71722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71723 ac_ext=c
71724 ac_cpp='$CPP $CPPFLAGS'
71725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71734 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71736 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71737 for ac_func in _powl
71738 do :
71739 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71740 if test "x$ac_cv_func__powl" = x""yes; then :
71741 cat >>confdefs.h <<_ACEOF
71742 #define HAVE__POWL 1
71743 _ACEOF
71746 done
71755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71756 $as_echo_n "checking for sqrtl declaration... " >&6; }
71757 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71758 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71759 $as_echo_n "(cached) " >&6
71760 else
71763 ac_ext=cpp
71764 ac_cpp='$CXXCPP $CPPFLAGS'
71765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71770 /* end confdefs.h. */
71771 #include <math.h>
71772 #ifdef HAVE_IEEEFP_H
71773 #include <ieeefp.h>
71774 #endif
71777 main ()
71779 sqrtl(0);
71781 return 0;
71783 _ACEOF
71784 if ac_fn_cxx_try_compile "$LINENO"; then :
71785 glibcxx_cv_func_sqrtl_use=yes
71786 else
71787 glibcxx_cv_func_sqrtl_use=no
71789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71790 ac_ext=c
71791 ac_cpp='$CPP $CPPFLAGS'
71792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71801 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71803 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71804 for ac_func in sqrtl
71805 do :
71806 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71807 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71808 cat >>confdefs.h <<_ACEOF
71809 #define HAVE_SQRTL 1
71810 _ACEOF
71813 done
71815 else
71817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71818 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71819 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71820 if test "${glibcxx_cv_func__sqrtl_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 <math.h>
71834 #ifdef HAVE_IEEEFP_H
71835 #include <ieeefp.h>
71836 #endif
71839 main ()
71841 _sqrtl(0);
71843 return 0;
71845 _ACEOF
71846 if ac_fn_cxx_try_compile "$LINENO"; then :
71847 glibcxx_cv_func__sqrtl_use=yes
71848 else
71849 glibcxx_cv_func__sqrtl_use=no
71851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71852 ac_ext=c
71853 ac_cpp='$CPP $CPPFLAGS'
71854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71863 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71865 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71866 for ac_func in _sqrtl
71867 do :
71868 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71869 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71870 cat >>confdefs.h <<_ACEOF
71871 #define HAVE__SQRTL 1
71872 _ACEOF
71875 done
71884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71885 $as_echo_n "checking for sincosl declaration... " >&6; }
71886 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71887 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71888 $as_echo_n "(cached) " >&6
71889 else
71892 ac_ext=cpp
71893 ac_cpp='$CXXCPP $CPPFLAGS'
71894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71899 /* end confdefs.h. */
71900 #include <math.h>
71902 main ()
71904 sincosl(0, 0, 0);
71906 return 0;
71908 _ACEOF
71909 if ac_fn_cxx_try_compile "$LINENO"; then :
71910 glibcxx_cv_func_sincosl_use=yes
71911 else
71912 glibcxx_cv_func_sincosl_use=no
71914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71915 ac_ext=c
71916 ac_cpp='$CPP $CPPFLAGS'
71917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71926 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71928 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71929 for ac_func in sincosl
71930 do :
71931 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71932 if test "x$ac_cv_func_sincosl" = x""yes; then :
71933 cat >>confdefs.h <<_ACEOF
71934 #define HAVE_SINCOSL 1
71935 _ACEOF
71938 done
71940 else
71942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71943 $as_echo_n "checking for _sincosl declaration... " >&6; }
71944 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71945 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71946 $as_echo_n "(cached) " >&6
71947 else
71950 ac_ext=cpp
71951 ac_cpp='$CXXCPP $CPPFLAGS'
71952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71957 /* end confdefs.h. */
71958 #include <math.h>
71960 main ()
71962 _sincosl(0, 0, 0);
71964 return 0;
71966 _ACEOF
71967 if ac_fn_cxx_try_compile "$LINENO"; then :
71968 glibcxx_cv_func__sincosl_use=yes
71969 else
71970 glibcxx_cv_func__sincosl_use=no
71972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71973 ac_ext=c
71974 ac_cpp='$CPP $CPPFLAGS'
71975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71984 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71986 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71987 for ac_func in _sincosl
71988 do :
71989 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71990 if test "x$ac_cv_func__sincosl" = x""yes; then :
71991 cat >>confdefs.h <<_ACEOF
71992 #define HAVE__SINCOSL 1
71993 _ACEOF
71996 done
72005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72006 $as_echo_n "checking for finitel declaration... " >&6; }
72007 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72008 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72009 $as_echo_n "(cached) " >&6
72010 else
72013 ac_ext=cpp
72014 ac_cpp='$CXXCPP $CPPFLAGS'
72015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72020 /* end confdefs.h. */
72021 #include <math.h>
72022 #ifdef HAVE_IEEEFP_H
72023 #include <ieeefp.h>
72024 #endif
72027 main ()
72029 finitel(0);
72031 return 0;
72033 _ACEOF
72034 if ac_fn_cxx_try_compile "$LINENO"; then :
72035 glibcxx_cv_func_finitel_use=yes
72036 else
72037 glibcxx_cv_func_finitel_use=no
72039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72040 ac_ext=c
72041 ac_cpp='$CPP $CPPFLAGS'
72042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72051 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72053 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72054 for ac_func in finitel
72055 do :
72056 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72057 if test "x$ac_cv_func_finitel" = x""yes; then :
72058 cat >>confdefs.h <<_ACEOF
72059 #define HAVE_FINITEL 1
72060 _ACEOF
72063 done
72065 else
72067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72068 $as_echo_n "checking for _finitel declaration... " >&6; }
72069 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72070 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72071 $as_echo_n "(cached) " >&6
72072 else
72075 ac_ext=cpp
72076 ac_cpp='$CXXCPP $CPPFLAGS'
72077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72082 /* end confdefs.h. */
72083 #include <math.h>
72084 #ifdef HAVE_IEEEFP_H
72085 #include <ieeefp.h>
72086 #endif
72089 main ()
72091 _finitel(0);
72093 return 0;
72095 _ACEOF
72096 if ac_fn_cxx_try_compile "$LINENO"; then :
72097 glibcxx_cv_func__finitel_use=yes
72098 else
72099 glibcxx_cv_func__finitel_use=no
72101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72102 ac_ext=c
72103 ac_cpp='$CPP $CPPFLAGS'
72104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72113 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72115 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72116 for ac_func in _finitel
72117 do :
72118 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72119 if test "x$ac_cv_func__finitel" = x""yes; then :
72120 cat >>confdefs.h <<_ACEOF
72121 #define HAVE__FINITEL 1
72122 _ACEOF
72125 done
72133 LIBS="$ac_save_LIBS"
72134 CXXFLAGS="$ac_save_CXXFLAGS"
72137 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72138 ac_save_CXXFLAGS="$CXXFLAGS"
72139 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72143 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72144 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72145 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72146 $as_echo_n "(cached) " >&6
72147 else
72150 ac_ext=cpp
72151 ac_cpp='$CXXCPP $CPPFLAGS'
72152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72157 /* end confdefs.h. */
72158 #include <stdlib.h>
72160 main ()
72162 at_quick_exit(0);
72164 return 0;
72166 _ACEOF
72167 if ac_fn_cxx_try_compile "$LINENO"; then :
72168 glibcxx_cv_func_at_quick_exit_use=yes
72169 else
72170 glibcxx_cv_func_at_quick_exit_use=no
72172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72173 ac_ext=c
72174 ac_cpp='$CPP $CPPFLAGS'
72175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72184 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72185 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72186 for ac_func in at_quick_exit
72187 do :
72188 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72189 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72190 cat >>confdefs.h <<_ACEOF
72191 #define HAVE_AT_QUICK_EXIT 1
72192 _ACEOF
72195 done
72200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72201 $as_echo_n "checking for quick_exit declaration... " >&6; }
72202 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72203 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72204 $as_echo_n "(cached) " >&6
72205 else
72208 ac_ext=cpp
72209 ac_cpp='$CXXCPP $CPPFLAGS'
72210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72215 /* end confdefs.h. */
72216 #include <stdlib.h>
72218 main ()
72220 quick_exit(0);
72222 return 0;
72224 _ACEOF
72225 if ac_fn_cxx_try_compile "$LINENO"; then :
72226 glibcxx_cv_func_quick_exit_use=yes
72227 else
72228 glibcxx_cv_func_quick_exit_use=no
72230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72231 ac_ext=c
72232 ac_cpp='$CPP $CPPFLAGS'
72233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72242 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72243 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72244 for ac_func in quick_exit
72245 do :
72246 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72247 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72248 cat >>confdefs.h <<_ACEOF
72249 #define HAVE_QUICK_EXIT 1
72250 _ACEOF
72253 done
72258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72259 $as_echo_n "checking for strtold declaration... " >&6; }
72260 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72261 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72262 $as_echo_n "(cached) " >&6
72263 else
72266 ac_ext=cpp
72267 ac_cpp='$CXXCPP $CPPFLAGS'
72268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72273 /* end confdefs.h. */
72274 #include <stdlib.h>
72276 main ()
72278 strtold(0, 0);
72280 return 0;
72282 _ACEOF
72283 if ac_fn_cxx_try_compile "$LINENO"; then :
72284 glibcxx_cv_func_strtold_use=yes
72285 else
72286 glibcxx_cv_func_strtold_use=no
72288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72289 ac_ext=c
72290 ac_cpp='$CPP $CPPFLAGS'
72291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72300 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72301 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72302 for ac_func in strtold
72303 do :
72304 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72305 if test "x$ac_cv_func_strtold" = x""yes; then :
72306 cat >>confdefs.h <<_ACEOF
72307 #define HAVE_STRTOLD 1
72308 _ACEOF
72311 done
72318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72319 $as_echo_n "checking for strtof declaration... " >&6; }
72320 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72321 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72322 $as_echo_n "(cached) " >&6
72323 else
72326 ac_ext=cpp
72327 ac_cpp='$CXXCPP $CPPFLAGS'
72328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72333 /* end confdefs.h. */
72334 #include <stdlib.h>
72336 main ()
72338 strtof(0, 0);
72340 return 0;
72342 _ACEOF
72343 if ac_fn_cxx_try_compile "$LINENO"; then :
72344 glibcxx_cv_func_strtof_use=yes
72345 else
72346 glibcxx_cv_func_strtof_use=no
72348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72349 ac_ext=c
72350 ac_cpp='$CPP $CPPFLAGS'
72351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72360 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72361 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72362 for ac_func in strtof
72363 do :
72364 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72365 if test "x$ac_cv_func_strtof" = x""yes; then :
72366 cat >>confdefs.h <<_ACEOF
72367 #define HAVE_STRTOF 1
72368 _ACEOF
72371 done
72378 CXXFLAGS="$ac_save_CXXFLAGS"
72381 *-solaris*)
72383 # If we're not using GNU ld, then there's no point in even trying these
72384 # tests. Check for that first. We should have already tested for gld
72385 # by now (in libtool), but require it now just to be safe...
72386 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72387 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72391 # The name set by libtool depends on the version of libtool. Shame on us
72392 # for depending on an impl detail, but c'est la vie. Older versions used
72393 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72394 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72395 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72396 # set (hence we're using an older libtool), then set it.
72397 if test x${with_gnu_ld+set} != xset; then
72398 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72399 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72400 with_gnu_ld=no
72401 else
72402 with_gnu_ld=$ac_cv_prog_gnu_ld
72406 # Start by getting the version number. I think the libtool test already
72407 # does some of this, but throws away the result.
72408 glibcxx_ld_is_gold=no
72409 if test x"$with_gnu_ld" = x"yes"; then
72410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72411 $as_echo_n "checking for ld version... " >&6; }
72413 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72414 glibcxx_ld_is_gold=yes
72416 ldver=`$LD --version 2>/dev/null |
72417 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'`
72419 glibcxx_gnu_ld_version=`echo $ldver | \
72420 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72422 $as_echo "$glibcxx_gnu_ld_version" >&6; }
72425 # Set --gc-sections.
72426 glibcxx_have_gc_sections=no
72427 if test "$glibcxx_ld_is_gold" = "yes"; then
72428 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72429 glibcxx_have_gc_sections=yes
72431 else
72432 glibcxx_gcsections_min_ld=21602
72433 if test x"$with_gnu_ld" = x"yes" &&
72434 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72435 glibcxx_have_gc_sections=yes
72438 if test "$glibcxx_have_gc_sections" = "yes"; then
72439 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
72440 # NB: This flag only works reliably after 2.16.1. Configure tests
72441 # for this are difficult, so hard wire a value that should work.
72443 ac_test_CFLAGS="${CFLAGS+set}"
72444 ac_save_CFLAGS="$CFLAGS"
72445 CFLAGS='-Wl,--gc-sections'
72447 # Check for -Wl,--gc-sections
72448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72449 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72450 if test x$gcc_no_link = xyes; then
72451 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72454 /* end confdefs.h. */
72455 int one(void) { return 1; }
72456 int two(void) { return 2; }
72459 main ()
72461 two();
72463 return 0;
72465 _ACEOF
72466 if ac_fn_c_try_link "$LINENO"; then :
72467 ac_gcsections=yes
72468 else
72469 ac_gcsections=no
72471 rm -f core conftest.err conftest.$ac_objext \
72472 conftest$ac_exeext conftest.$ac_ext
72473 if test "$ac_gcsections" = "yes"; then
72474 rm -f conftest.c
72475 touch conftest.c
72476 if $CC -c conftest.c; then
72477 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72478 grep "Warning: gc-sections option ignored" > /dev/null; then
72479 ac_gcsections=no
72482 rm -f conftest.c conftest.o conftest
72484 if test "$ac_gcsections" = "yes"; then
72485 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72488 $as_echo "$ac_gcsections" >&6; }
72490 if test "$ac_test_CFLAGS" = set; then
72491 CFLAGS="$ac_save_CFLAGS"
72492 else
72493 # this is the suspicious part
72494 CFLAGS=''
72498 # Set -z,relro.
72499 # Note this is only for shared objects.
72500 ac_ld_relro=no
72501 if test x"$with_gnu_ld" = x"yes"; then
72502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72503 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72504 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72505 if test -n "$cxx_z_relo"; then
72506 OPT_LDFLAGS="-Wl,-z,relro"
72507 ac_ld_relro=yes
72509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72510 $as_echo "$ac_ld_relro" >&6; }
72513 # Set linker optimization flags.
72514 if test x"$with_gnu_ld" = x"yes"; then
72515 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72521 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72523 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72525 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72527 # All of the dependencies for wide character support are here, so
72528 # turn it on.
72529 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72531 # These two C99 functions are present only in Solaris >= 10
72532 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72534 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72536 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72538 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72540 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72542 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72545 *-tpf)
72546 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72547 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72549 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72551 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72553 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72555 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72557 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72559 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72561 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72563 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72565 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72567 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72569 if test x"long_double_math_on_this_cpu" = x"yes"; then
72570 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72572 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72574 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72576 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72580 *-*vms*)
72581 # Check for available headers.
72582 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72584 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72585 ac_save_CXXFLAGS="$CXXFLAGS"
72586 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72589 $as_echo_n "checking for sin in -lm... " >&6; }
72590 if test "${ac_cv_lib_m_sin+set}" = set; then :
72591 $as_echo_n "(cached) " >&6
72592 else
72593 ac_check_lib_save_LIBS=$LIBS
72594 LIBS="-lm $LIBS"
72595 if test x$gcc_no_link = xyes; then
72596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72599 /* end confdefs.h. */
72601 /* Override any GCC internal prototype to avoid an error.
72602 Use char because int might match the return type of a GCC
72603 builtin and then its argument prototype would still apply. */
72604 #ifdef __cplusplus
72605 extern "C"
72606 #endif
72607 char sin ();
72609 main ()
72611 return sin ();
72613 return 0;
72615 _ACEOF
72616 if ac_fn_c_try_link "$LINENO"; then :
72617 ac_cv_lib_m_sin=yes
72618 else
72619 ac_cv_lib_m_sin=no
72621 rm -f core conftest.err conftest.$ac_objext \
72622 conftest$ac_exeext conftest.$ac_ext
72623 LIBS=$ac_check_lib_save_LIBS
72625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72626 $as_echo "$ac_cv_lib_m_sin" >&6; }
72627 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72628 libm="-lm"
72631 ac_save_LIBS="$LIBS"
72632 LIBS="$LIBS $libm"
72636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72637 $as_echo_n "checking for isinf declaration... " >&6; }
72638 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72639 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72640 $as_echo_n "(cached) " >&6
72641 else
72644 ac_ext=cpp
72645 ac_cpp='$CXXCPP $CPPFLAGS'
72646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72651 /* end confdefs.h. */
72652 #include <math.h>
72653 #ifdef HAVE_IEEEFP_H
72654 #include <ieeefp.h>
72655 #endif
72658 main ()
72660 isinf(0);
72662 return 0;
72664 _ACEOF
72665 if ac_fn_cxx_try_compile "$LINENO"; then :
72666 glibcxx_cv_func_isinf_use=yes
72667 else
72668 glibcxx_cv_func_isinf_use=no
72670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72671 ac_ext=c
72672 ac_cpp='$CPP $CPPFLAGS'
72673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72682 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72684 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72685 for ac_func in isinf
72686 do :
72687 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72688 if test "x$ac_cv_func_isinf" = x""yes; then :
72689 cat >>confdefs.h <<_ACEOF
72690 #define HAVE_ISINF 1
72691 _ACEOF
72694 done
72696 else
72698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72699 $as_echo_n "checking for _isinf declaration... " >&6; }
72700 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72701 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72702 $as_echo_n "(cached) " >&6
72703 else
72706 ac_ext=cpp
72707 ac_cpp='$CXXCPP $CPPFLAGS'
72708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72713 /* end confdefs.h. */
72714 #include <math.h>
72715 #ifdef HAVE_IEEEFP_H
72716 #include <ieeefp.h>
72717 #endif
72720 main ()
72722 _isinf(0);
72724 return 0;
72726 _ACEOF
72727 if ac_fn_cxx_try_compile "$LINENO"; then :
72728 glibcxx_cv_func__isinf_use=yes
72729 else
72730 glibcxx_cv_func__isinf_use=no
72732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72733 ac_ext=c
72734 ac_cpp='$CPP $CPPFLAGS'
72735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72744 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72746 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72747 for ac_func in _isinf
72748 do :
72749 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72750 if test "x$ac_cv_func__isinf" = x""yes; then :
72751 cat >>confdefs.h <<_ACEOF
72752 #define HAVE__ISINF 1
72753 _ACEOF
72756 done
72765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72766 $as_echo_n "checking for isnan declaration... " >&6; }
72767 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72768 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72769 $as_echo_n "(cached) " >&6
72770 else
72773 ac_ext=cpp
72774 ac_cpp='$CXXCPP $CPPFLAGS'
72775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72780 /* end confdefs.h. */
72781 #include <math.h>
72782 #ifdef HAVE_IEEEFP_H
72783 #include <ieeefp.h>
72784 #endif
72787 main ()
72789 isnan(0);
72791 return 0;
72793 _ACEOF
72794 if ac_fn_cxx_try_compile "$LINENO"; then :
72795 glibcxx_cv_func_isnan_use=yes
72796 else
72797 glibcxx_cv_func_isnan_use=no
72799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72800 ac_ext=c
72801 ac_cpp='$CPP $CPPFLAGS'
72802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72811 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72813 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72814 for ac_func in isnan
72815 do :
72816 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72817 if test "x$ac_cv_func_isnan" = x""yes; then :
72818 cat >>confdefs.h <<_ACEOF
72819 #define HAVE_ISNAN 1
72820 _ACEOF
72823 done
72825 else
72827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72828 $as_echo_n "checking for _isnan declaration... " >&6; }
72829 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72830 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72831 $as_echo_n "(cached) " >&6
72832 else
72835 ac_ext=cpp
72836 ac_cpp='$CXXCPP $CPPFLAGS'
72837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72842 /* end confdefs.h. */
72843 #include <math.h>
72844 #ifdef HAVE_IEEEFP_H
72845 #include <ieeefp.h>
72846 #endif
72849 main ()
72851 _isnan(0);
72853 return 0;
72855 _ACEOF
72856 if ac_fn_cxx_try_compile "$LINENO"; then :
72857 glibcxx_cv_func__isnan_use=yes
72858 else
72859 glibcxx_cv_func__isnan_use=no
72861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72862 ac_ext=c
72863 ac_cpp='$CPP $CPPFLAGS'
72864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72873 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72875 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72876 for ac_func in _isnan
72877 do :
72878 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72879 if test "x$ac_cv_func__isnan" = x""yes; then :
72880 cat >>confdefs.h <<_ACEOF
72881 #define HAVE__ISNAN 1
72882 _ACEOF
72885 done
72894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72895 $as_echo_n "checking for finite declaration... " >&6; }
72896 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72897 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72898 $as_echo_n "(cached) " >&6
72899 else
72902 ac_ext=cpp
72903 ac_cpp='$CXXCPP $CPPFLAGS'
72904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72909 /* end confdefs.h. */
72910 #include <math.h>
72911 #ifdef HAVE_IEEEFP_H
72912 #include <ieeefp.h>
72913 #endif
72916 main ()
72918 finite(0);
72920 return 0;
72922 _ACEOF
72923 if ac_fn_cxx_try_compile "$LINENO"; then :
72924 glibcxx_cv_func_finite_use=yes
72925 else
72926 glibcxx_cv_func_finite_use=no
72928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72929 ac_ext=c
72930 ac_cpp='$CPP $CPPFLAGS'
72931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72940 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72942 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72943 for ac_func in finite
72944 do :
72945 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72946 if test "x$ac_cv_func_finite" = x""yes; then :
72947 cat >>confdefs.h <<_ACEOF
72948 #define HAVE_FINITE 1
72949 _ACEOF
72952 done
72954 else
72956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72957 $as_echo_n "checking for _finite declaration... " >&6; }
72958 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72959 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72960 $as_echo_n "(cached) " >&6
72961 else
72964 ac_ext=cpp
72965 ac_cpp='$CXXCPP $CPPFLAGS'
72966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72971 /* end confdefs.h. */
72972 #include <math.h>
72973 #ifdef HAVE_IEEEFP_H
72974 #include <ieeefp.h>
72975 #endif
72978 main ()
72980 _finite(0);
72982 return 0;
72984 _ACEOF
72985 if ac_fn_cxx_try_compile "$LINENO"; then :
72986 glibcxx_cv_func__finite_use=yes
72987 else
72988 glibcxx_cv_func__finite_use=no
72990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72991 ac_ext=c
72992 ac_cpp='$CPP $CPPFLAGS'
72993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
73002 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
73004 if test x$glibcxx_cv_func__finite_use = x"yes"; then
73005 for ac_func in _finite
73006 do :
73007 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
73008 if test "x$ac_cv_func__finite" = x""yes; then :
73009 cat >>confdefs.h <<_ACEOF
73010 #define HAVE__FINITE 1
73011 _ACEOF
73014 done
73023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
73024 $as_echo_n "checking for sincos declaration... " >&6; }
73025 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
73026 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
73027 $as_echo_n "(cached) " >&6
73028 else
73031 ac_ext=cpp
73032 ac_cpp='$CXXCPP $CPPFLAGS'
73033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73038 /* end confdefs.h. */
73039 #include <math.h>
73041 main ()
73043 sincos(0, 0, 0);
73045 return 0;
73047 _ACEOF
73048 if ac_fn_cxx_try_compile "$LINENO"; then :
73049 glibcxx_cv_func_sincos_use=yes
73050 else
73051 glibcxx_cv_func_sincos_use=no
73053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73054 ac_ext=c
73055 ac_cpp='$CPP $CPPFLAGS'
73056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
73065 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
73067 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
73068 for ac_func in sincos
73069 do :
73070 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
73071 if test "x$ac_cv_func_sincos" = x""yes; then :
73072 cat >>confdefs.h <<_ACEOF
73073 #define HAVE_SINCOS 1
73074 _ACEOF
73077 done
73079 else
73081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
73082 $as_echo_n "checking for _sincos declaration... " >&6; }
73083 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
73084 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
73085 $as_echo_n "(cached) " >&6
73086 else
73089 ac_ext=cpp
73090 ac_cpp='$CXXCPP $CPPFLAGS'
73091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73096 /* end confdefs.h. */
73097 #include <math.h>
73099 main ()
73101 _sincos(0, 0, 0);
73103 return 0;
73105 _ACEOF
73106 if ac_fn_cxx_try_compile "$LINENO"; then :
73107 glibcxx_cv_func__sincos_use=yes
73108 else
73109 glibcxx_cv_func__sincos_use=no
73111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73112 ac_ext=c
73113 ac_cpp='$CPP $CPPFLAGS'
73114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73123 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73125 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73126 for ac_func in _sincos
73127 do :
73128 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73129 if test "x$ac_cv_func__sincos" = x""yes; then :
73130 cat >>confdefs.h <<_ACEOF
73131 #define HAVE__SINCOS 1
73132 _ACEOF
73135 done
73144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73145 $as_echo_n "checking for fpclass declaration... " >&6; }
73146 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73147 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73148 $as_echo_n "(cached) " >&6
73149 else
73152 ac_ext=cpp
73153 ac_cpp='$CXXCPP $CPPFLAGS'
73154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73159 /* end confdefs.h. */
73160 #include <math.h>
73161 #ifdef HAVE_IEEEFP_H
73162 #include <ieeefp.h>
73163 #endif
73166 main ()
73168 fpclass(0);
73170 return 0;
73172 _ACEOF
73173 if ac_fn_cxx_try_compile "$LINENO"; then :
73174 glibcxx_cv_func_fpclass_use=yes
73175 else
73176 glibcxx_cv_func_fpclass_use=no
73178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73179 ac_ext=c
73180 ac_cpp='$CPP $CPPFLAGS'
73181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73190 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73192 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73193 for ac_func in fpclass
73194 do :
73195 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73196 if test "x$ac_cv_func_fpclass" = x""yes; then :
73197 cat >>confdefs.h <<_ACEOF
73198 #define HAVE_FPCLASS 1
73199 _ACEOF
73202 done
73204 else
73206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73207 $as_echo_n "checking for _fpclass declaration... " >&6; }
73208 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73209 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73210 $as_echo_n "(cached) " >&6
73211 else
73214 ac_ext=cpp
73215 ac_cpp='$CXXCPP $CPPFLAGS'
73216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73221 /* end confdefs.h. */
73222 #include <math.h>
73223 #ifdef HAVE_IEEEFP_H
73224 #include <ieeefp.h>
73225 #endif
73228 main ()
73230 _fpclass(0);
73232 return 0;
73234 _ACEOF
73235 if ac_fn_cxx_try_compile "$LINENO"; then :
73236 glibcxx_cv_func__fpclass_use=yes
73237 else
73238 glibcxx_cv_func__fpclass_use=no
73240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73241 ac_ext=c
73242 ac_cpp='$CPP $CPPFLAGS'
73243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73252 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73254 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73255 for ac_func in _fpclass
73256 do :
73257 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73258 if test "x$ac_cv_func__fpclass" = x""yes; then :
73259 cat >>confdefs.h <<_ACEOF
73260 #define HAVE__FPCLASS 1
73261 _ACEOF
73264 done
73273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73274 $as_echo_n "checking for qfpclass declaration... " >&6; }
73275 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73276 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73277 $as_echo_n "(cached) " >&6
73278 else
73281 ac_ext=cpp
73282 ac_cpp='$CXXCPP $CPPFLAGS'
73283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73288 /* end confdefs.h. */
73289 #include <math.h>
73290 #ifdef HAVE_IEEEFP_H
73291 #include <ieeefp.h>
73292 #endif
73295 main ()
73297 qfpclass(0);
73299 return 0;
73301 _ACEOF
73302 if ac_fn_cxx_try_compile "$LINENO"; then :
73303 glibcxx_cv_func_qfpclass_use=yes
73304 else
73305 glibcxx_cv_func_qfpclass_use=no
73307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73308 ac_ext=c
73309 ac_cpp='$CPP $CPPFLAGS'
73310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73319 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73321 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73322 for ac_func in qfpclass
73323 do :
73324 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73325 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73326 cat >>confdefs.h <<_ACEOF
73327 #define HAVE_QFPCLASS 1
73328 _ACEOF
73331 done
73333 else
73335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73336 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73337 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73338 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73339 $as_echo_n "(cached) " >&6
73340 else
73343 ac_ext=cpp
73344 ac_cpp='$CXXCPP $CPPFLAGS'
73345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73350 /* end confdefs.h. */
73351 #include <math.h>
73352 #ifdef HAVE_IEEEFP_H
73353 #include <ieeefp.h>
73354 #endif
73357 main ()
73359 _qfpclass(0);
73361 return 0;
73363 _ACEOF
73364 if ac_fn_cxx_try_compile "$LINENO"; then :
73365 glibcxx_cv_func__qfpclass_use=yes
73366 else
73367 glibcxx_cv_func__qfpclass_use=no
73369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73370 ac_ext=c
73371 ac_cpp='$CPP $CPPFLAGS'
73372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73381 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73383 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73384 for ac_func in _qfpclass
73385 do :
73386 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73387 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73388 cat >>confdefs.h <<_ACEOF
73389 #define HAVE__QFPCLASS 1
73390 _ACEOF
73393 done
73402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73403 $as_echo_n "checking for hypot declaration... " >&6; }
73404 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73405 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73406 $as_echo_n "(cached) " >&6
73407 else
73410 ac_ext=cpp
73411 ac_cpp='$CXXCPP $CPPFLAGS'
73412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73417 /* end confdefs.h. */
73418 #include <math.h>
73420 main ()
73422 hypot(0, 0);
73424 return 0;
73426 _ACEOF
73427 if ac_fn_cxx_try_compile "$LINENO"; then :
73428 glibcxx_cv_func_hypot_use=yes
73429 else
73430 glibcxx_cv_func_hypot_use=no
73432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73433 ac_ext=c
73434 ac_cpp='$CPP $CPPFLAGS'
73435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73444 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73446 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73447 for ac_func in hypot
73448 do :
73449 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73450 if test "x$ac_cv_func_hypot" = x""yes; then :
73451 cat >>confdefs.h <<_ACEOF
73452 #define HAVE_HYPOT 1
73453 _ACEOF
73456 done
73458 else
73460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73461 $as_echo_n "checking for _hypot declaration... " >&6; }
73462 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73463 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73464 $as_echo_n "(cached) " >&6
73465 else
73468 ac_ext=cpp
73469 ac_cpp='$CXXCPP $CPPFLAGS'
73470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73475 /* end confdefs.h. */
73476 #include <math.h>
73478 main ()
73480 _hypot(0, 0);
73482 return 0;
73484 _ACEOF
73485 if ac_fn_cxx_try_compile "$LINENO"; then :
73486 glibcxx_cv_func__hypot_use=yes
73487 else
73488 glibcxx_cv_func__hypot_use=no
73490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73491 ac_ext=c
73492 ac_cpp='$CPP $CPPFLAGS'
73493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73502 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73504 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73505 for ac_func in _hypot
73506 do :
73507 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73508 if test "x$ac_cv_func__hypot" = x""yes; then :
73509 cat >>confdefs.h <<_ACEOF
73510 #define HAVE__HYPOT 1
73511 _ACEOF
73514 done
73523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73524 $as_echo_n "checking for float trig functions... " >&6; }
73525 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73526 $as_echo_n "(cached) " >&6
73527 else
73530 ac_ext=cpp
73531 ac_cpp='$CXXCPP $CPPFLAGS'
73532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73537 /* end confdefs.h. */
73538 #include <math.h>
73540 main ()
73542 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73544 return 0;
73546 _ACEOF
73547 if ac_fn_cxx_try_compile "$LINENO"; then :
73548 glibcxx_cv_func_float_trig_use=yes
73549 else
73550 glibcxx_cv_func_float_trig_use=no
73552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73553 ac_ext=c
73554 ac_cpp='$CPP $CPPFLAGS'
73555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73562 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73563 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73564 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73565 do :
73566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73568 eval as_val=\$$as_ac_var
73569 if test "x$as_val" = x""yes; then :
73570 cat >>confdefs.h <<_ACEOF
73571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73572 _ACEOF
73575 done
73577 else
73578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73579 $as_echo_n "checking for _float trig functions... " >&6; }
73580 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73581 $as_echo_n "(cached) " >&6
73582 else
73585 ac_ext=cpp
73586 ac_cpp='$CXXCPP $CPPFLAGS'
73587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73592 /* end confdefs.h. */
73593 #include <math.h>
73595 main ()
73597 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73599 return 0;
73601 _ACEOF
73602 if ac_fn_cxx_try_compile "$LINENO"; then :
73603 glibcxx_cv_func__float_trig_use=yes
73604 else
73605 glibcxx_cv_func__float_trig_use=no
73607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73608 ac_ext=c
73609 ac_cpp='$CPP $CPPFLAGS'
73610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73617 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73618 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73619 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73620 do :
73621 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73622 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73623 eval as_val=\$$as_ac_var
73624 if test "x$as_val" = x""yes; then :
73625 cat >>confdefs.h <<_ACEOF
73626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73627 _ACEOF
73630 done
73639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73640 $as_echo_n "checking for float round functions... " >&6; }
73641 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73642 $as_echo_n "(cached) " >&6
73643 else
73646 ac_ext=cpp
73647 ac_cpp='$CXXCPP $CPPFLAGS'
73648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73653 /* end confdefs.h. */
73654 #include <math.h>
73656 main ()
73658 ceilf (0); floorf (0);
73660 return 0;
73662 _ACEOF
73663 if ac_fn_cxx_try_compile "$LINENO"; then :
73664 glibcxx_cv_func_float_round_use=yes
73665 else
73666 glibcxx_cv_func_float_round_use=no
73668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73669 ac_ext=c
73670 ac_cpp='$CPP $CPPFLAGS'
73671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73678 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73679 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73680 for ac_func in ceilf floorf
73681 do :
73682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73684 eval as_val=\$$as_ac_var
73685 if test "x$as_val" = x""yes; then :
73686 cat >>confdefs.h <<_ACEOF
73687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73688 _ACEOF
73691 done
73693 else
73694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73695 $as_echo_n "checking for _float round functions... " >&6; }
73696 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73697 $as_echo_n "(cached) " >&6
73698 else
73701 ac_ext=cpp
73702 ac_cpp='$CXXCPP $CPPFLAGS'
73703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73708 /* end confdefs.h. */
73709 #include <math.h>
73711 main ()
73713 _ceilf (0); _floorf (0);
73715 return 0;
73717 _ACEOF
73718 if ac_fn_cxx_try_compile "$LINENO"; then :
73719 glibcxx_cv_func__float_round_use=yes
73720 else
73721 glibcxx_cv_func__float_round_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
73732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73733 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73734 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73735 for ac_func in _ceilf _floorf
73736 do :
73737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73739 eval as_val=\$$as_ac_var
73740 if test "x$as_val" = x""yes; then :
73741 cat >>confdefs.h <<_ACEOF
73742 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73743 _ACEOF
73746 done
73756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73757 $as_echo_n "checking for expf declaration... " >&6; }
73758 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73759 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73760 $as_echo_n "(cached) " >&6
73761 else
73764 ac_ext=cpp
73765 ac_cpp='$CXXCPP $CPPFLAGS'
73766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73771 /* end confdefs.h. */
73772 #include <math.h>
73773 #ifdef HAVE_IEEEFP_H
73774 #include <ieeefp.h>
73775 #endif
73778 main ()
73780 expf(0);
73782 return 0;
73784 _ACEOF
73785 if ac_fn_cxx_try_compile "$LINENO"; then :
73786 glibcxx_cv_func_expf_use=yes
73787 else
73788 glibcxx_cv_func_expf_use=no
73790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73791 ac_ext=c
73792 ac_cpp='$CPP $CPPFLAGS'
73793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73802 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73804 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73805 for ac_func in expf
73806 do :
73807 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73808 if test "x$ac_cv_func_expf" = x""yes; then :
73809 cat >>confdefs.h <<_ACEOF
73810 #define HAVE_EXPF 1
73811 _ACEOF
73814 done
73816 else
73818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73819 $as_echo_n "checking for _expf declaration... " >&6; }
73820 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73821 if test "${glibcxx_cv_func__expf_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>
73835 #ifdef HAVE_IEEEFP_H
73836 #include <ieeefp.h>
73837 #endif
73840 main ()
73842 _expf(0);
73844 return 0;
73846 _ACEOF
73847 if ac_fn_cxx_try_compile "$LINENO"; then :
73848 glibcxx_cv_func__expf_use=yes
73849 else
73850 glibcxx_cv_func__expf_use=no
73852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73853 ac_ext=c
73854 ac_cpp='$CPP $CPPFLAGS'
73855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73864 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73866 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73867 for ac_func in _expf
73868 do :
73869 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73870 if test "x$ac_cv_func__expf" = x""yes; then :
73871 cat >>confdefs.h <<_ACEOF
73872 #define HAVE__EXPF 1
73873 _ACEOF
73876 done
73885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73886 $as_echo_n "checking for isnanf declaration... " >&6; }
73887 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73888 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73889 $as_echo_n "(cached) " >&6
73890 else
73893 ac_ext=cpp
73894 ac_cpp='$CXXCPP $CPPFLAGS'
73895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73900 /* end confdefs.h. */
73901 #include <math.h>
73902 #ifdef HAVE_IEEEFP_H
73903 #include <ieeefp.h>
73904 #endif
73907 main ()
73909 isnanf(0);
73911 return 0;
73913 _ACEOF
73914 if ac_fn_cxx_try_compile "$LINENO"; then :
73915 glibcxx_cv_func_isnanf_use=yes
73916 else
73917 glibcxx_cv_func_isnanf_use=no
73919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73920 ac_ext=c
73921 ac_cpp='$CPP $CPPFLAGS'
73922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73931 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73933 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73934 for ac_func in isnanf
73935 do :
73936 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73937 if test "x$ac_cv_func_isnanf" = x""yes; then :
73938 cat >>confdefs.h <<_ACEOF
73939 #define HAVE_ISNANF 1
73940 _ACEOF
73943 done
73945 else
73947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73948 $as_echo_n "checking for _isnanf declaration... " >&6; }
73949 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73950 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73951 $as_echo_n "(cached) " >&6
73952 else
73955 ac_ext=cpp
73956 ac_cpp='$CXXCPP $CPPFLAGS'
73957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73962 /* end confdefs.h. */
73963 #include <math.h>
73964 #ifdef HAVE_IEEEFP_H
73965 #include <ieeefp.h>
73966 #endif
73969 main ()
73971 _isnanf(0);
73973 return 0;
73975 _ACEOF
73976 if ac_fn_cxx_try_compile "$LINENO"; then :
73977 glibcxx_cv_func__isnanf_use=yes
73978 else
73979 glibcxx_cv_func__isnanf_use=no
73981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73982 ac_ext=c
73983 ac_cpp='$CPP $CPPFLAGS'
73984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73993 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73995 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73996 for ac_func in _isnanf
73997 do :
73998 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73999 if test "x$ac_cv_func__isnanf" = x""yes; then :
74000 cat >>confdefs.h <<_ACEOF
74001 #define HAVE__ISNANF 1
74002 _ACEOF
74005 done
74014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
74015 $as_echo_n "checking for isinff declaration... " >&6; }
74016 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
74017 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
74018 $as_echo_n "(cached) " >&6
74019 else
74022 ac_ext=cpp
74023 ac_cpp='$CXXCPP $CPPFLAGS'
74024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74029 /* end confdefs.h. */
74030 #include <math.h>
74031 #ifdef HAVE_IEEEFP_H
74032 #include <ieeefp.h>
74033 #endif
74036 main ()
74038 isinff(0);
74040 return 0;
74042 _ACEOF
74043 if ac_fn_cxx_try_compile "$LINENO"; then :
74044 glibcxx_cv_func_isinff_use=yes
74045 else
74046 glibcxx_cv_func_isinff_use=no
74048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74049 ac_ext=c
74050 ac_cpp='$CPP $CPPFLAGS'
74051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
74060 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
74062 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
74063 for ac_func in isinff
74064 do :
74065 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
74066 if test "x$ac_cv_func_isinff" = x""yes; then :
74067 cat >>confdefs.h <<_ACEOF
74068 #define HAVE_ISINFF 1
74069 _ACEOF
74072 done
74074 else
74076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
74077 $as_echo_n "checking for _isinff declaration... " >&6; }
74078 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
74079 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
74080 $as_echo_n "(cached) " >&6
74081 else
74084 ac_ext=cpp
74085 ac_cpp='$CXXCPP $CPPFLAGS'
74086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74091 /* end confdefs.h. */
74092 #include <math.h>
74093 #ifdef HAVE_IEEEFP_H
74094 #include <ieeefp.h>
74095 #endif
74098 main ()
74100 _isinff(0);
74102 return 0;
74104 _ACEOF
74105 if ac_fn_cxx_try_compile "$LINENO"; then :
74106 glibcxx_cv_func__isinff_use=yes
74107 else
74108 glibcxx_cv_func__isinff_use=no
74110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74111 ac_ext=c
74112 ac_cpp='$CPP $CPPFLAGS'
74113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74122 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74124 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74125 for ac_func in _isinff
74126 do :
74127 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74128 if test "x$ac_cv_func__isinff" = x""yes; then :
74129 cat >>confdefs.h <<_ACEOF
74130 #define HAVE__ISINFF 1
74131 _ACEOF
74134 done
74143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74144 $as_echo_n "checking for atan2f declaration... " >&6; }
74145 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74146 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74147 $as_echo_n "(cached) " >&6
74148 else
74151 ac_ext=cpp
74152 ac_cpp='$CXXCPP $CPPFLAGS'
74153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74158 /* end confdefs.h. */
74159 #include <math.h>
74161 main ()
74163 atan2f(0, 0);
74165 return 0;
74167 _ACEOF
74168 if ac_fn_cxx_try_compile "$LINENO"; then :
74169 glibcxx_cv_func_atan2f_use=yes
74170 else
74171 glibcxx_cv_func_atan2f_use=no
74173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74174 ac_ext=c
74175 ac_cpp='$CPP $CPPFLAGS'
74176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74185 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74187 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74188 for ac_func in atan2f
74189 do :
74190 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74191 if test "x$ac_cv_func_atan2f" = x""yes; then :
74192 cat >>confdefs.h <<_ACEOF
74193 #define HAVE_ATAN2F 1
74194 _ACEOF
74197 done
74199 else
74201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74202 $as_echo_n "checking for _atan2f declaration... " >&6; }
74203 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74204 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74205 $as_echo_n "(cached) " >&6
74206 else
74209 ac_ext=cpp
74210 ac_cpp='$CXXCPP $CPPFLAGS'
74211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74216 /* end confdefs.h. */
74217 #include <math.h>
74219 main ()
74221 _atan2f(0, 0);
74223 return 0;
74225 _ACEOF
74226 if ac_fn_cxx_try_compile "$LINENO"; then :
74227 glibcxx_cv_func__atan2f_use=yes
74228 else
74229 glibcxx_cv_func__atan2f_use=no
74231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74232 ac_ext=c
74233 ac_cpp='$CPP $CPPFLAGS'
74234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74243 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74245 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74246 for ac_func in _atan2f
74247 do :
74248 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74249 if test "x$ac_cv_func__atan2f" = x""yes; then :
74250 cat >>confdefs.h <<_ACEOF
74251 #define HAVE__ATAN2F 1
74252 _ACEOF
74255 done
74264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74265 $as_echo_n "checking for fabsf declaration... " >&6; }
74266 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74267 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74268 $as_echo_n "(cached) " >&6
74269 else
74272 ac_ext=cpp
74273 ac_cpp='$CXXCPP $CPPFLAGS'
74274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74279 /* end confdefs.h. */
74280 #include <math.h>
74281 #ifdef HAVE_IEEEFP_H
74282 #include <ieeefp.h>
74283 #endif
74286 main ()
74288 fabsf(0);
74290 return 0;
74292 _ACEOF
74293 if ac_fn_cxx_try_compile "$LINENO"; then :
74294 glibcxx_cv_func_fabsf_use=yes
74295 else
74296 glibcxx_cv_func_fabsf_use=no
74298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74299 ac_ext=c
74300 ac_cpp='$CPP $CPPFLAGS'
74301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74310 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74312 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74313 for ac_func in fabsf
74314 do :
74315 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74316 if test "x$ac_cv_func_fabsf" = x""yes; then :
74317 cat >>confdefs.h <<_ACEOF
74318 #define HAVE_FABSF 1
74319 _ACEOF
74322 done
74324 else
74326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74327 $as_echo_n "checking for _fabsf declaration... " >&6; }
74328 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74329 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74330 $as_echo_n "(cached) " >&6
74331 else
74334 ac_ext=cpp
74335 ac_cpp='$CXXCPP $CPPFLAGS'
74336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74341 /* end confdefs.h. */
74342 #include <math.h>
74343 #ifdef HAVE_IEEEFP_H
74344 #include <ieeefp.h>
74345 #endif
74348 main ()
74350 _fabsf(0);
74352 return 0;
74354 _ACEOF
74355 if ac_fn_cxx_try_compile "$LINENO"; then :
74356 glibcxx_cv_func__fabsf_use=yes
74357 else
74358 glibcxx_cv_func__fabsf_use=no
74360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74361 ac_ext=c
74362 ac_cpp='$CPP $CPPFLAGS'
74363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74372 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74374 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74375 for ac_func in _fabsf
74376 do :
74377 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74378 if test "x$ac_cv_func__fabsf" = x""yes; then :
74379 cat >>confdefs.h <<_ACEOF
74380 #define HAVE__FABSF 1
74381 _ACEOF
74384 done
74393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74394 $as_echo_n "checking for fmodf declaration... " >&6; }
74395 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74396 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74397 $as_echo_n "(cached) " >&6
74398 else
74401 ac_ext=cpp
74402 ac_cpp='$CXXCPP $CPPFLAGS'
74403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74408 /* end confdefs.h. */
74409 #include <math.h>
74411 main ()
74413 fmodf(0, 0);
74415 return 0;
74417 _ACEOF
74418 if ac_fn_cxx_try_compile "$LINENO"; then :
74419 glibcxx_cv_func_fmodf_use=yes
74420 else
74421 glibcxx_cv_func_fmodf_use=no
74423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74424 ac_ext=c
74425 ac_cpp='$CPP $CPPFLAGS'
74426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74435 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74437 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74438 for ac_func in fmodf
74439 do :
74440 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74441 if test "x$ac_cv_func_fmodf" = x""yes; then :
74442 cat >>confdefs.h <<_ACEOF
74443 #define HAVE_FMODF 1
74444 _ACEOF
74447 done
74449 else
74451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74452 $as_echo_n "checking for _fmodf declaration... " >&6; }
74453 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74454 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74455 $as_echo_n "(cached) " >&6
74456 else
74459 ac_ext=cpp
74460 ac_cpp='$CXXCPP $CPPFLAGS'
74461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74466 /* end confdefs.h. */
74467 #include <math.h>
74469 main ()
74471 _fmodf(0, 0);
74473 return 0;
74475 _ACEOF
74476 if ac_fn_cxx_try_compile "$LINENO"; then :
74477 glibcxx_cv_func__fmodf_use=yes
74478 else
74479 glibcxx_cv_func__fmodf_use=no
74481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74482 ac_ext=c
74483 ac_cpp='$CPP $CPPFLAGS'
74484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74493 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74495 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74496 for ac_func in _fmodf
74497 do :
74498 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74499 if test "x$ac_cv_func__fmodf" = x""yes; then :
74500 cat >>confdefs.h <<_ACEOF
74501 #define HAVE__FMODF 1
74502 _ACEOF
74505 done
74514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74515 $as_echo_n "checking for frexpf declaration... " >&6; }
74516 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74517 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74518 $as_echo_n "(cached) " >&6
74519 else
74522 ac_ext=cpp
74523 ac_cpp='$CXXCPP $CPPFLAGS'
74524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74529 /* end confdefs.h. */
74530 #include <math.h>
74532 main ()
74534 frexpf(0, 0);
74536 return 0;
74538 _ACEOF
74539 if ac_fn_cxx_try_compile "$LINENO"; then :
74540 glibcxx_cv_func_frexpf_use=yes
74541 else
74542 glibcxx_cv_func_frexpf_use=no
74544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74545 ac_ext=c
74546 ac_cpp='$CPP $CPPFLAGS'
74547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74556 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74558 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74559 for ac_func in frexpf
74560 do :
74561 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74562 if test "x$ac_cv_func_frexpf" = x""yes; then :
74563 cat >>confdefs.h <<_ACEOF
74564 #define HAVE_FREXPF 1
74565 _ACEOF
74568 done
74570 else
74572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74573 $as_echo_n "checking for _frexpf declaration... " >&6; }
74574 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74575 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74576 $as_echo_n "(cached) " >&6
74577 else
74580 ac_ext=cpp
74581 ac_cpp='$CXXCPP $CPPFLAGS'
74582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74587 /* end confdefs.h. */
74588 #include <math.h>
74590 main ()
74592 _frexpf(0, 0);
74594 return 0;
74596 _ACEOF
74597 if ac_fn_cxx_try_compile "$LINENO"; then :
74598 glibcxx_cv_func__frexpf_use=yes
74599 else
74600 glibcxx_cv_func__frexpf_use=no
74602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74603 ac_ext=c
74604 ac_cpp='$CPP $CPPFLAGS'
74605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74614 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74616 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74617 for ac_func in _frexpf
74618 do :
74619 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74620 if test "x$ac_cv_func__frexpf" = x""yes; then :
74621 cat >>confdefs.h <<_ACEOF
74622 #define HAVE__FREXPF 1
74623 _ACEOF
74626 done
74635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74636 $as_echo_n "checking for hypotf declaration... " >&6; }
74637 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74638 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74639 $as_echo_n "(cached) " >&6
74640 else
74643 ac_ext=cpp
74644 ac_cpp='$CXXCPP $CPPFLAGS'
74645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74650 /* end confdefs.h. */
74651 #include <math.h>
74653 main ()
74655 hypotf(0, 0);
74657 return 0;
74659 _ACEOF
74660 if ac_fn_cxx_try_compile "$LINENO"; then :
74661 glibcxx_cv_func_hypotf_use=yes
74662 else
74663 glibcxx_cv_func_hypotf_use=no
74665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74666 ac_ext=c
74667 ac_cpp='$CPP $CPPFLAGS'
74668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74677 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74679 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74680 for ac_func in hypotf
74681 do :
74682 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74683 if test "x$ac_cv_func_hypotf" = x""yes; then :
74684 cat >>confdefs.h <<_ACEOF
74685 #define HAVE_HYPOTF 1
74686 _ACEOF
74689 done
74691 else
74693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74694 $as_echo_n "checking for _hypotf declaration... " >&6; }
74695 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74696 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74697 $as_echo_n "(cached) " >&6
74698 else
74701 ac_ext=cpp
74702 ac_cpp='$CXXCPP $CPPFLAGS'
74703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74708 /* end confdefs.h. */
74709 #include <math.h>
74711 main ()
74713 _hypotf(0, 0);
74715 return 0;
74717 _ACEOF
74718 if ac_fn_cxx_try_compile "$LINENO"; then :
74719 glibcxx_cv_func__hypotf_use=yes
74720 else
74721 glibcxx_cv_func__hypotf_use=no
74723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74724 ac_ext=c
74725 ac_cpp='$CPP $CPPFLAGS'
74726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74735 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74737 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74738 for ac_func in _hypotf
74739 do :
74740 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74741 if test "x$ac_cv_func__hypotf" = x""yes; then :
74742 cat >>confdefs.h <<_ACEOF
74743 #define HAVE__HYPOTF 1
74744 _ACEOF
74747 done
74756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74757 $as_echo_n "checking for ldexpf declaration... " >&6; }
74758 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74759 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74760 $as_echo_n "(cached) " >&6
74761 else
74764 ac_ext=cpp
74765 ac_cpp='$CXXCPP $CPPFLAGS'
74766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74771 /* end confdefs.h. */
74772 #include <math.h>
74774 main ()
74776 ldexpf(0, 0);
74778 return 0;
74780 _ACEOF
74781 if ac_fn_cxx_try_compile "$LINENO"; then :
74782 glibcxx_cv_func_ldexpf_use=yes
74783 else
74784 glibcxx_cv_func_ldexpf_use=no
74786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74787 ac_ext=c
74788 ac_cpp='$CPP $CPPFLAGS'
74789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74798 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74800 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74801 for ac_func in ldexpf
74802 do :
74803 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74804 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74805 cat >>confdefs.h <<_ACEOF
74806 #define HAVE_LDEXPF 1
74807 _ACEOF
74810 done
74812 else
74814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74815 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74816 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74817 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74818 $as_echo_n "(cached) " >&6
74819 else
74822 ac_ext=cpp
74823 ac_cpp='$CXXCPP $CPPFLAGS'
74824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74829 /* end confdefs.h. */
74830 #include <math.h>
74832 main ()
74834 _ldexpf(0, 0);
74836 return 0;
74838 _ACEOF
74839 if ac_fn_cxx_try_compile "$LINENO"; then :
74840 glibcxx_cv_func__ldexpf_use=yes
74841 else
74842 glibcxx_cv_func__ldexpf_use=no
74844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74845 ac_ext=c
74846 ac_cpp='$CPP $CPPFLAGS'
74847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74856 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74858 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74859 for ac_func in _ldexpf
74860 do :
74861 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74862 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74863 cat >>confdefs.h <<_ACEOF
74864 #define HAVE__LDEXPF 1
74865 _ACEOF
74868 done
74877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74878 $as_echo_n "checking for logf declaration... " >&6; }
74879 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74880 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74881 $as_echo_n "(cached) " >&6
74882 else
74885 ac_ext=cpp
74886 ac_cpp='$CXXCPP $CPPFLAGS'
74887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74892 /* end confdefs.h. */
74893 #include <math.h>
74894 #ifdef HAVE_IEEEFP_H
74895 #include <ieeefp.h>
74896 #endif
74899 main ()
74901 logf(0);
74903 return 0;
74905 _ACEOF
74906 if ac_fn_cxx_try_compile "$LINENO"; then :
74907 glibcxx_cv_func_logf_use=yes
74908 else
74909 glibcxx_cv_func_logf_use=no
74911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74912 ac_ext=c
74913 ac_cpp='$CPP $CPPFLAGS'
74914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74923 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74925 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74926 for ac_func in logf
74927 do :
74928 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74929 if test "x$ac_cv_func_logf" = x""yes; then :
74930 cat >>confdefs.h <<_ACEOF
74931 #define HAVE_LOGF 1
74932 _ACEOF
74935 done
74937 else
74939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74940 $as_echo_n "checking for _logf declaration... " >&6; }
74941 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74942 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74943 $as_echo_n "(cached) " >&6
74944 else
74947 ac_ext=cpp
74948 ac_cpp='$CXXCPP $CPPFLAGS'
74949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74954 /* end confdefs.h. */
74955 #include <math.h>
74956 #ifdef HAVE_IEEEFP_H
74957 #include <ieeefp.h>
74958 #endif
74961 main ()
74963 _logf(0);
74965 return 0;
74967 _ACEOF
74968 if ac_fn_cxx_try_compile "$LINENO"; then :
74969 glibcxx_cv_func__logf_use=yes
74970 else
74971 glibcxx_cv_func__logf_use=no
74973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74974 ac_ext=c
74975 ac_cpp='$CPP $CPPFLAGS'
74976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74985 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74987 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74988 for ac_func in _logf
74989 do :
74990 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74991 if test "x$ac_cv_func__logf" = x""yes; then :
74992 cat >>confdefs.h <<_ACEOF
74993 #define HAVE__LOGF 1
74994 _ACEOF
74997 done
75006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
75007 $as_echo_n "checking for log10f declaration... " >&6; }
75008 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
75009 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
75010 $as_echo_n "(cached) " >&6
75011 else
75014 ac_ext=cpp
75015 ac_cpp='$CXXCPP $CPPFLAGS'
75016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75021 /* end confdefs.h. */
75022 #include <math.h>
75023 #ifdef HAVE_IEEEFP_H
75024 #include <ieeefp.h>
75025 #endif
75028 main ()
75030 log10f(0);
75032 return 0;
75034 _ACEOF
75035 if ac_fn_cxx_try_compile "$LINENO"; then :
75036 glibcxx_cv_func_log10f_use=yes
75037 else
75038 glibcxx_cv_func_log10f_use=no
75040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75041 ac_ext=c
75042 ac_cpp='$CPP $CPPFLAGS'
75043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
75052 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
75054 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
75055 for ac_func in log10f
75056 do :
75057 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
75058 if test "x$ac_cv_func_log10f" = x""yes; then :
75059 cat >>confdefs.h <<_ACEOF
75060 #define HAVE_LOG10F 1
75061 _ACEOF
75064 done
75066 else
75068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
75069 $as_echo_n "checking for _log10f declaration... " >&6; }
75070 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
75071 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
75072 $as_echo_n "(cached) " >&6
75073 else
75076 ac_ext=cpp
75077 ac_cpp='$CXXCPP $CPPFLAGS'
75078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75083 /* end confdefs.h. */
75084 #include <math.h>
75085 #ifdef HAVE_IEEEFP_H
75086 #include <ieeefp.h>
75087 #endif
75090 main ()
75092 _log10f(0);
75094 return 0;
75096 _ACEOF
75097 if ac_fn_cxx_try_compile "$LINENO"; then :
75098 glibcxx_cv_func__log10f_use=yes
75099 else
75100 glibcxx_cv_func__log10f_use=no
75102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75103 ac_ext=c
75104 ac_cpp='$CPP $CPPFLAGS'
75105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75114 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75116 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75117 for ac_func in _log10f
75118 do :
75119 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75120 if test "x$ac_cv_func__log10f" = x""yes; then :
75121 cat >>confdefs.h <<_ACEOF
75122 #define HAVE__LOG10F 1
75123 _ACEOF
75126 done
75135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75136 $as_echo_n "checking for modff declaration... " >&6; }
75137 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75138 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75139 $as_echo_n "(cached) " >&6
75140 else
75143 ac_ext=cpp
75144 ac_cpp='$CXXCPP $CPPFLAGS'
75145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75150 /* end confdefs.h. */
75151 #include <math.h>
75153 main ()
75155 modff(0, 0);
75157 return 0;
75159 _ACEOF
75160 if ac_fn_cxx_try_compile "$LINENO"; then :
75161 glibcxx_cv_func_modff_use=yes
75162 else
75163 glibcxx_cv_func_modff_use=no
75165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75166 ac_ext=c
75167 ac_cpp='$CPP $CPPFLAGS'
75168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75177 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75179 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75180 for ac_func in modff
75181 do :
75182 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75183 if test "x$ac_cv_func_modff" = x""yes; then :
75184 cat >>confdefs.h <<_ACEOF
75185 #define HAVE_MODFF 1
75186 _ACEOF
75189 done
75191 else
75193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75194 $as_echo_n "checking for _modff declaration... " >&6; }
75195 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75196 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75197 $as_echo_n "(cached) " >&6
75198 else
75201 ac_ext=cpp
75202 ac_cpp='$CXXCPP $CPPFLAGS'
75203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75208 /* end confdefs.h. */
75209 #include <math.h>
75211 main ()
75213 _modff(0, 0);
75215 return 0;
75217 _ACEOF
75218 if ac_fn_cxx_try_compile "$LINENO"; then :
75219 glibcxx_cv_func__modff_use=yes
75220 else
75221 glibcxx_cv_func__modff_use=no
75223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75224 ac_ext=c
75225 ac_cpp='$CPP $CPPFLAGS'
75226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75235 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75237 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75238 for ac_func in _modff
75239 do :
75240 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75241 if test "x$ac_cv_func__modff" = x""yes; then :
75242 cat >>confdefs.h <<_ACEOF
75243 #define HAVE__MODFF 1
75244 _ACEOF
75247 done
75256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75257 $as_echo_n "checking for modf declaration... " >&6; }
75258 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75259 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75260 $as_echo_n "(cached) " >&6
75261 else
75264 ac_ext=cpp
75265 ac_cpp='$CXXCPP $CPPFLAGS'
75266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75271 /* end confdefs.h. */
75272 #include <math.h>
75274 main ()
75276 modf(0, 0);
75278 return 0;
75280 _ACEOF
75281 if ac_fn_cxx_try_compile "$LINENO"; then :
75282 glibcxx_cv_func_modf_use=yes
75283 else
75284 glibcxx_cv_func_modf_use=no
75286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75287 ac_ext=c
75288 ac_cpp='$CPP $CPPFLAGS'
75289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75298 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75300 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75301 for ac_func in modf
75302 do :
75303 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75304 if test "x$ac_cv_func_modf" = x""yes; then :
75305 cat >>confdefs.h <<_ACEOF
75306 #define HAVE_MODF 1
75307 _ACEOF
75310 done
75312 else
75314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75315 $as_echo_n "checking for _modf declaration... " >&6; }
75316 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75317 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75318 $as_echo_n "(cached) " >&6
75319 else
75322 ac_ext=cpp
75323 ac_cpp='$CXXCPP $CPPFLAGS'
75324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75329 /* end confdefs.h. */
75330 #include <math.h>
75332 main ()
75334 _modf(0, 0);
75336 return 0;
75338 _ACEOF
75339 if ac_fn_cxx_try_compile "$LINENO"; then :
75340 glibcxx_cv_func__modf_use=yes
75341 else
75342 glibcxx_cv_func__modf_use=no
75344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75345 ac_ext=c
75346 ac_cpp='$CPP $CPPFLAGS'
75347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75356 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75358 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75359 for ac_func in _modf
75360 do :
75361 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75362 if test "x$ac_cv_func__modf" = x""yes; then :
75363 cat >>confdefs.h <<_ACEOF
75364 #define HAVE__MODF 1
75365 _ACEOF
75368 done
75377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75378 $as_echo_n "checking for powf declaration... " >&6; }
75379 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75380 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75381 $as_echo_n "(cached) " >&6
75382 else
75385 ac_ext=cpp
75386 ac_cpp='$CXXCPP $CPPFLAGS'
75387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75392 /* end confdefs.h. */
75393 #include <math.h>
75395 main ()
75397 powf(0, 0);
75399 return 0;
75401 _ACEOF
75402 if ac_fn_cxx_try_compile "$LINENO"; then :
75403 glibcxx_cv_func_powf_use=yes
75404 else
75405 glibcxx_cv_func_powf_use=no
75407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75408 ac_ext=c
75409 ac_cpp='$CPP $CPPFLAGS'
75410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75419 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75421 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75422 for ac_func in powf
75423 do :
75424 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75425 if test "x$ac_cv_func_powf" = x""yes; then :
75426 cat >>confdefs.h <<_ACEOF
75427 #define HAVE_POWF 1
75428 _ACEOF
75431 done
75433 else
75435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75436 $as_echo_n "checking for _powf declaration... " >&6; }
75437 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75438 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75439 $as_echo_n "(cached) " >&6
75440 else
75443 ac_ext=cpp
75444 ac_cpp='$CXXCPP $CPPFLAGS'
75445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75450 /* end confdefs.h. */
75451 #include <math.h>
75453 main ()
75455 _powf(0, 0);
75457 return 0;
75459 _ACEOF
75460 if ac_fn_cxx_try_compile "$LINENO"; then :
75461 glibcxx_cv_func__powf_use=yes
75462 else
75463 glibcxx_cv_func__powf_use=no
75465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75466 ac_ext=c
75467 ac_cpp='$CPP $CPPFLAGS'
75468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75477 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75479 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75480 for ac_func in _powf
75481 do :
75482 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75483 if test "x$ac_cv_func__powf" = x""yes; then :
75484 cat >>confdefs.h <<_ACEOF
75485 #define HAVE__POWF 1
75486 _ACEOF
75489 done
75498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75499 $as_echo_n "checking for sqrtf declaration... " >&6; }
75500 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75501 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75502 $as_echo_n "(cached) " >&6
75503 else
75506 ac_ext=cpp
75507 ac_cpp='$CXXCPP $CPPFLAGS'
75508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75513 /* end confdefs.h. */
75514 #include <math.h>
75515 #ifdef HAVE_IEEEFP_H
75516 #include <ieeefp.h>
75517 #endif
75520 main ()
75522 sqrtf(0);
75524 return 0;
75526 _ACEOF
75527 if ac_fn_cxx_try_compile "$LINENO"; then :
75528 glibcxx_cv_func_sqrtf_use=yes
75529 else
75530 glibcxx_cv_func_sqrtf_use=no
75532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75533 ac_ext=c
75534 ac_cpp='$CPP $CPPFLAGS'
75535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75544 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75546 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75547 for ac_func in sqrtf
75548 do :
75549 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75550 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75551 cat >>confdefs.h <<_ACEOF
75552 #define HAVE_SQRTF 1
75553 _ACEOF
75556 done
75558 else
75560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75561 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75562 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75563 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75564 $as_echo_n "(cached) " >&6
75565 else
75568 ac_ext=cpp
75569 ac_cpp='$CXXCPP $CPPFLAGS'
75570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75575 /* end confdefs.h. */
75576 #include <math.h>
75577 #ifdef HAVE_IEEEFP_H
75578 #include <ieeefp.h>
75579 #endif
75582 main ()
75584 _sqrtf(0);
75586 return 0;
75588 _ACEOF
75589 if ac_fn_cxx_try_compile "$LINENO"; then :
75590 glibcxx_cv_func__sqrtf_use=yes
75591 else
75592 glibcxx_cv_func__sqrtf_use=no
75594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75595 ac_ext=c
75596 ac_cpp='$CPP $CPPFLAGS'
75597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75606 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75608 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75609 for ac_func in _sqrtf
75610 do :
75611 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75612 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75613 cat >>confdefs.h <<_ACEOF
75614 #define HAVE__SQRTF 1
75615 _ACEOF
75618 done
75627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75628 $as_echo_n "checking for sincosf declaration... " >&6; }
75629 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75630 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75631 $as_echo_n "(cached) " >&6
75632 else
75635 ac_ext=cpp
75636 ac_cpp='$CXXCPP $CPPFLAGS'
75637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75642 /* end confdefs.h. */
75643 #include <math.h>
75645 main ()
75647 sincosf(0, 0, 0);
75649 return 0;
75651 _ACEOF
75652 if ac_fn_cxx_try_compile "$LINENO"; then :
75653 glibcxx_cv_func_sincosf_use=yes
75654 else
75655 glibcxx_cv_func_sincosf_use=no
75657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75658 ac_ext=c
75659 ac_cpp='$CPP $CPPFLAGS'
75660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75669 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75671 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75672 for ac_func in sincosf
75673 do :
75674 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75675 if test "x$ac_cv_func_sincosf" = x""yes; then :
75676 cat >>confdefs.h <<_ACEOF
75677 #define HAVE_SINCOSF 1
75678 _ACEOF
75681 done
75683 else
75685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75686 $as_echo_n "checking for _sincosf declaration... " >&6; }
75687 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75688 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75689 $as_echo_n "(cached) " >&6
75690 else
75693 ac_ext=cpp
75694 ac_cpp='$CXXCPP $CPPFLAGS'
75695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75700 /* end confdefs.h. */
75701 #include <math.h>
75703 main ()
75705 _sincosf(0, 0, 0);
75707 return 0;
75709 _ACEOF
75710 if ac_fn_cxx_try_compile "$LINENO"; then :
75711 glibcxx_cv_func__sincosf_use=yes
75712 else
75713 glibcxx_cv_func__sincosf_use=no
75715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75716 ac_ext=c
75717 ac_cpp='$CPP $CPPFLAGS'
75718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75727 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75729 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75730 for ac_func in _sincosf
75731 do :
75732 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75733 if test "x$ac_cv_func__sincosf" = x""yes; then :
75734 cat >>confdefs.h <<_ACEOF
75735 #define HAVE__SINCOSF 1
75736 _ACEOF
75739 done
75748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75749 $as_echo_n "checking for finitef declaration... " >&6; }
75750 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75751 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75752 $as_echo_n "(cached) " >&6
75753 else
75756 ac_ext=cpp
75757 ac_cpp='$CXXCPP $CPPFLAGS'
75758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75763 /* end confdefs.h. */
75764 #include <math.h>
75765 #ifdef HAVE_IEEEFP_H
75766 #include <ieeefp.h>
75767 #endif
75770 main ()
75772 finitef(0);
75774 return 0;
75776 _ACEOF
75777 if ac_fn_cxx_try_compile "$LINENO"; then :
75778 glibcxx_cv_func_finitef_use=yes
75779 else
75780 glibcxx_cv_func_finitef_use=no
75782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75783 ac_ext=c
75784 ac_cpp='$CPP $CPPFLAGS'
75785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75794 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75796 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75797 for ac_func in finitef
75798 do :
75799 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75800 if test "x$ac_cv_func_finitef" = x""yes; then :
75801 cat >>confdefs.h <<_ACEOF
75802 #define HAVE_FINITEF 1
75803 _ACEOF
75806 done
75808 else
75810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75811 $as_echo_n "checking for _finitef declaration... " >&6; }
75812 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75813 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75814 $as_echo_n "(cached) " >&6
75815 else
75818 ac_ext=cpp
75819 ac_cpp='$CXXCPP $CPPFLAGS'
75820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75825 /* end confdefs.h. */
75826 #include <math.h>
75827 #ifdef HAVE_IEEEFP_H
75828 #include <ieeefp.h>
75829 #endif
75832 main ()
75834 _finitef(0);
75836 return 0;
75838 _ACEOF
75839 if ac_fn_cxx_try_compile "$LINENO"; then :
75840 glibcxx_cv_func__finitef_use=yes
75841 else
75842 glibcxx_cv_func__finitef_use=no
75844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75845 ac_ext=c
75846 ac_cpp='$CPP $CPPFLAGS'
75847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75856 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75858 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75859 for ac_func in _finitef
75860 do :
75861 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75862 if test "x$ac_cv_func__finitef" = x""yes; then :
75863 cat >>confdefs.h <<_ACEOF
75864 #define HAVE__FINITEF 1
75865 _ACEOF
75868 done
75877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75878 $as_echo_n "checking for long double trig functions... " >&6; }
75879 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75880 $as_echo_n "(cached) " >&6
75881 else
75884 ac_ext=cpp
75885 ac_cpp='$CXXCPP $CPPFLAGS'
75886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75891 /* end confdefs.h. */
75892 #include <math.h>
75894 main ()
75896 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75898 return 0;
75900 _ACEOF
75901 if ac_fn_cxx_try_compile "$LINENO"; then :
75902 glibcxx_cv_func_long_double_trig_use=yes
75903 else
75904 glibcxx_cv_func_long_double_trig_use=no
75906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75907 ac_ext=c
75908 ac_cpp='$CPP $CPPFLAGS'
75909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75916 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75917 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75918 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75919 do :
75920 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75921 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75922 eval as_val=\$$as_ac_var
75923 if test "x$as_val" = x""yes; then :
75924 cat >>confdefs.h <<_ACEOF
75925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75926 _ACEOF
75929 done
75931 else
75932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75933 $as_echo_n "checking for _long double trig functions... " >&6; }
75934 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75935 $as_echo_n "(cached) " >&6
75936 else
75939 ac_ext=cpp
75940 ac_cpp='$CXXCPP $CPPFLAGS'
75941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75946 /* end confdefs.h. */
75947 #include <math.h>
75949 main ()
75951 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75953 return 0;
75955 _ACEOF
75956 if ac_fn_cxx_try_compile "$LINENO"; then :
75957 glibcxx_cv_func__long_double_trig_use=yes
75958 else
75959 glibcxx_cv_func__long_double_trig_use=no
75961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75962 ac_ext=c
75963 ac_cpp='$CPP $CPPFLAGS'
75964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75971 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75972 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75973 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75974 do :
75975 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75977 eval as_val=\$$as_ac_var
75978 if test "x$as_val" = x""yes; then :
75979 cat >>confdefs.h <<_ACEOF
75980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75981 _ACEOF
75984 done
75993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75994 $as_echo_n "checking for long double round functions... " >&6; }
75995 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75996 $as_echo_n "(cached) " >&6
75997 else
76000 ac_ext=cpp
76001 ac_cpp='$CXXCPP $CPPFLAGS'
76002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76007 /* end confdefs.h. */
76008 #include <math.h>
76010 main ()
76012 ceill (0); floorl (0);
76014 return 0;
76016 _ACEOF
76017 if ac_fn_cxx_try_compile "$LINENO"; then :
76018 glibcxx_cv_func_long_double_round_use=yes
76019 else
76020 glibcxx_cv_func_long_double_round_use=no
76022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76023 ac_ext=c
76024 ac_cpp='$CPP $CPPFLAGS'
76025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
76032 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
76033 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
76034 for ac_func in ceill floorl
76035 do :
76036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76038 eval as_val=\$$as_ac_var
76039 if test "x$as_val" = x""yes; then :
76040 cat >>confdefs.h <<_ACEOF
76041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76042 _ACEOF
76045 done
76047 else
76048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
76049 $as_echo_n "checking for _long double round functions... " >&6; }
76050 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
76051 $as_echo_n "(cached) " >&6
76052 else
76055 ac_ext=cpp
76056 ac_cpp='$CXXCPP $CPPFLAGS'
76057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76062 /* end confdefs.h. */
76063 #include <math.h>
76065 main ()
76067 _ceill (0); _floorl (0);
76069 return 0;
76071 _ACEOF
76072 if ac_fn_cxx_try_compile "$LINENO"; then :
76073 glibcxx_cv_func__long_double_round_use=yes
76074 else
76075 glibcxx_cv_func__long_double_round_use=no
76077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76078 ac_ext=c
76079 ac_cpp='$CPP $CPPFLAGS'
76080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
76087 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
76088 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76089 for ac_func in _ceill _floorl
76090 do :
76091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76093 eval as_val=\$$as_ac_var
76094 if test "x$as_val" = x""yes; then :
76095 cat >>confdefs.h <<_ACEOF
76096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76097 _ACEOF
76100 done
76110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76111 $as_echo_n "checking for isnanl declaration... " >&6; }
76112 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76113 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
76114 $as_echo_n "(cached) " >&6
76115 else
76118 ac_ext=cpp
76119 ac_cpp='$CXXCPP $CPPFLAGS'
76120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76125 /* end confdefs.h. */
76126 #include <math.h>
76127 #ifdef HAVE_IEEEFP_H
76128 #include <ieeefp.h>
76129 #endif
76132 main ()
76134 isnanl(0);
76136 return 0;
76138 _ACEOF
76139 if ac_fn_cxx_try_compile "$LINENO"; then :
76140 glibcxx_cv_func_isnanl_use=yes
76141 else
76142 glibcxx_cv_func_isnanl_use=no
76144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76145 ac_ext=c
76146 ac_cpp='$CPP $CPPFLAGS'
76147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76156 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76158 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76159 for ac_func in isnanl
76160 do :
76161 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76162 if test "x$ac_cv_func_isnanl" = x""yes; then :
76163 cat >>confdefs.h <<_ACEOF
76164 #define HAVE_ISNANL 1
76165 _ACEOF
76168 done
76170 else
76172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76173 $as_echo_n "checking for _isnanl declaration... " >&6; }
76174 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76175 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76176 $as_echo_n "(cached) " >&6
76177 else
76180 ac_ext=cpp
76181 ac_cpp='$CXXCPP $CPPFLAGS'
76182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76187 /* end confdefs.h. */
76188 #include <math.h>
76189 #ifdef HAVE_IEEEFP_H
76190 #include <ieeefp.h>
76191 #endif
76194 main ()
76196 _isnanl(0);
76198 return 0;
76200 _ACEOF
76201 if ac_fn_cxx_try_compile "$LINENO"; then :
76202 glibcxx_cv_func__isnanl_use=yes
76203 else
76204 glibcxx_cv_func__isnanl_use=no
76206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76207 ac_ext=c
76208 ac_cpp='$CPP $CPPFLAGS'
76209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76218 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76220 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76221 for ac_func in _isnanl
76222 do :
76223 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76224 if test "x$ac_cv_func__isnanl" = x""yes; then :
76225 cat >>confdefs.h <<_ACEOF
76226 #define HAVE__ISNANL 1
76227 _ACEOF
76230 done
76239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76240 $as_echo_n "checking for isinfl declaration... " >&6; }
76241 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76242 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76243 $as_echo_n "(cached) " >&6
76244 else
76247 ac_ext=cpp
76248 ac_cpp='$CXXCPP $CPPFLAGS'
76249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76254 /* end confdefs.h. */
76255 #include <math.h>
76256 #ifdef HAVE_IEEEFP_H
76257 #include <ieeefp.h>
76258 #endif
76261 main ()
76263 isinfl(0);
76265 return 0;
76267 _ACEOF
76268 if ac_fn_cxx_try_compile "$LINENO"; then :
76269 glibcxx_cv_func_isinfl_use=yes
76270 else
76271 glibcxx_cv_func_isinfl_use=no
76273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76274 ac_ext=c
76275 ac_cpp='$CPP $CPPFLAGS'
76276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76285 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76287 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76288 for ac_func in isinfl
76289 do :
76290 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76291 if test "x$ac_cv_func_isinfl" = x""yes; then :
76292 cat >>confdefs.h <<_ACEOF
76293 #define HAVE_ISINFL 1
76294 _ACEOF
76297 done
76299 else
76301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76302 $as_echo_n "checking for _isinfl declaration... " >&6; }
76303 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76304 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76305 $as_echo_n "(cached) " >&6
76306 else
76309 ac_ext=cpp
76310 ac_cpp='$CXXCPP $CPPFLAGS'
76311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76316 /* end confdefs.h. */
76317 #include <math.h>
76318 #ifdef HAVE_IEEEFP_H
76319 #include <ieeefp.h>
76320 #endif
76323 main ()
76325 _isinfl(0);
76327 return 0;
76329 _ACEOF
76330 if ac_fn_cxx_try_compile "$LINENO"; then :
76331 glibcxx_cv_func__isinfl_use=yes
76332 else
76333 glibcxx_cv_func__isinfl_use=no
76335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76336 ac_ext=c
76337 ac_cpp='$CPP $CPPFLAGS'
76338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76347 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76349 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76350 for ac_func in _isinfl
76351 do :
76352 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76353 if test "x$ac_cv_func__isinfl" = x""yes; then :
76354 cat >>confdefs.h <<_ACEOF
76355 #define HAVE__ISINFL 1
76356 _ACEOF
76359 done
76368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76369 $as_echo_n "checking for atan2l declaration... " >&6; }
76370 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76371 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76372 $as_echo_n "(cached) " >&6
76373 else
76376 ac_ext=cpp
76377 ac_cpp='$CXXCPP $CPPFLAGS'
76378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76383 /* end confdefs.h. */
76384 #include <math.h>
76386 main ()
76388 atan2l(0, 0);
76390 return 0;
76392 _ACEOF
76393 if ac_fn_cxx_try_compile "$LINENO"; then :
76394 glibcxx_cv_func_atan2l_use=yes
76395 else
76396 glibcxx_cv_func_atan2l_use=no
76398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76399 ac_ext=c
76400 ac_cpp='$CPP $CPPFLAGS'
76401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76410 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76412 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76413 for ac_func in atan2l
76414 do :
76415 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76416 if test "x$ac_cv_func_atan2l" = x""yes; then :
76417 cat >>confdefs.h <<_ACEOF
76418 #define HAVE_ATAN2L 1
76419 _ACEOF
76422 done
76424 else
76426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76427 $as_echo_n "checking for _atan2l declaration... " >&6; }
76428 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76429 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76430 $as_echo_n "(cached) " >&6
76431 else
76434 ac_ext=cpp
76435 ac_cpp='$CXXCPP $CPPFLAGS'
76436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76441 /* end confdefs.h. */
76442 #include <math.h>
76444 main ()
76446 _atan2l(0, 0);
76448 return 0;
76450 _ACEOF
76451 if ac_fn_cxx_try_compile "$LINENO"; then :
76452 glibcxx_cv_func__atan2l_use=yes
76453 else
76454 glibcxx_cv_func__atan2l_use=no
76456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76457 ac_ext=c
76458 ac_cpp='$CPP $CPPFLAGS'
76459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76468 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76470 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76471 for ac_func in _atan2l
76472 do :
76473 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76474 if test "x$ac_cv_func__atan2l" = x""yes; then :
76475 cat >>confdefs.h <<_ACEOF
76476 #define HAVE__ATAN2L 1
76477 _ACEOF
76480 done
76489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76490 $as_echo_n "checking for expl declaration... " >&6; }
76491 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76492 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76493 $as_echo_n "(cached) " >&6
76494 else
76497 ac_ext=cpp
76498 ac_cpp='$CXXCPP $CPPFLAGS'
76499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76504 /* end confdefs.h. */
76505 #include <math.h>
76506 #ifdef HAVE_IEEEFP_H
76507 #include <ieeefp.h>
76508 #endif
76511 main ()
76513 expl(0);
76515 return 0;
76517 _ACEOF
76518 if ac_fn_cxx_try_compile "$LINENO"; then :
76519 glibcxx_cv_func_expl_use=yes
76520 else
76521 glibcxx_cv_func_expl_use=no
76523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76524 ac_ext=c
76525 ac_cpp='$CPP $CPPFLAGS'
76526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76535 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76537 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76538 for ac_func in expl
76539 do :
76540 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76541 if test "x$ac_cv_func_expl" = x""yes; then :
76542 cat >>confdefs.h <<_ACEOF
76543 #define HAVE_EXPL 1
76544 _ACEOF
76547 done
76549 else
76551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76552 $as_echo_n "checking for _expl declaration... " >&6; }
76553 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76554 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76555 $as_echo_n "(cached) " >&6
76556 else
76559 ac_ext=cpp
76560 ac_cpp='$CXXCPP $CPPFLAGS'
76561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76566 /* end confdefs.h. */
76567 #include <math.h>
76568 #ifdef HAVE_IEEEFP_H
76569 #include <ieeefp.h>
76570 #endif
76573 main ()
76575 _expl(0);
76577 return 0;
76579 _ACEOF
76580 if ac_fn_cxx_try_compile "$LINENO"; then :
76581 glibcxx_cv_func__expl_use=yes
76582 else
76583 glibcxx_cv_func__expl_use=no
76585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76586 ac_ext=c
76587 ac_cpp='$CPP $CPPFLAGS'
76588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76597 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76599 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76600 for ac_func in _expl
76601 do :
76602 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76603 if test "x$ac_cv_func__expl" = x""yes; then :
76604 cat >>confdefs.h <<_ACEOF
76605 #define HAVE__EXPL 1
76606 _ACEOF
76609 done
76618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76619 $as_echo_n "checking for fabsl declaration... " >&6; }
76620 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76621 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76622 $as_echo_n "(cached) " >&6
76623 else
76626 ac_ext=cpp
76627 ac_cpp='$CXXCPP $CPPFLAGS'
76628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76633 /* end confdefs.h. */
76634 #include <math.h>
76635 #ifdef HAVE_IEEEFP_H
76636 #include <ieeefp.h>
76637 #endif
76640 main ()
76642 fabsl(0);
76644 return 0;
76646 _ACEOF
76647 if ac_fn_cxx_try_compile "$LINENO"; then :
76648 glibcxx_cv_func_fabsl_use=yes
76649 else
76650 glibcxx_cv_func_fabsl_use=no
76652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76653 ac_ext=c
76654 ac_cpp='$CPP $CPPFLAGS'
76655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76664 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76666 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76667 for ac_func in fabsl
76668 do :
76669 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76670 if test "x$ac_cv_func_fabsl" = x""yes; then :
76671 cat >>confdefs.h <<_ACEOF
76672 #define HAVE_FABSL 1
76673 _ACEOF
76676 done
76678 else
76680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76681 $as_echo_n "checking for _fabsl declaration... " >&6; }
76682 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76683 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76684 $as_echo_n "(cached) " >&6
76685 else
76688 ac_ext=cpp
76689 ac_cpp='$CXXCPP $CPPFLAGS'
76690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76695 /* end confdefs.h. */
76696 #include <math.h>
76697 #ifdef HAVE_IEEEFP_H
76698 #include <ieeefp.h>
76699 #endif
76702 main ()
76704 _fabsl(0);
76706 return 0;
76708 _ACEOF
76709 if ac_fn_cxx_try_compile "$LINENO"; then :
76710 glibcxx_cv_func__fabsl_use=yes
76711 else
76712 glibcxx_cv_func__fabsl_use=no
76714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76715 ac_ext=c
76716 ac_cpp='$CPP $CPPFLAGS'
76717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76726 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76728 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76729 for ac_func in _fabsl
76730 do :
76731 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76732 if test "x$ac_cv_func__fabsl" = x""yes; then :
76733 cat >>confdefs.h <<_ACEOF
76734 #define HAVE__FABSL 1
76735 _ACEOF
76738 done
76747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76748 $as_echo_n "checking for fmodl declaration... " >&6; }
76749 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76750 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76751 $as_echo_n "(cached) " >&6
76752 else
76755 ac_ext=cpp
76756 ac_cpp='$CXXCPP $CPPFLAGS'
76757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76762 /* end confdefs.h. */
76763 #include <math.h>
76765 main ()
76767 fmodl(0, 0);
76769 return 0;
76771 _ACEOF
76772 if ac_fn_cxx_try_compile "$LINENO"; then :
76773 glibcxx_cv_func_fmodl_use=yes
76774 else
76775 glibcxx_cv_func_fmodl_use=no
76777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76778 ac_ext=c
76779 ac_cpp='$CPP $CPPFLAGS'
76780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76789 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76791 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76792 for ac_func in fmodl
76793 do :
76794 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76795 if test "x$ac_cv_func_fmodl" = x""yes; then :
76796 cat >>confdefs.h <<_ACEOF
76797 #define HAVE_FMODL 1
76798 _ACEOF
76801 done
76803 else
76805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76806 $as_echo_n "checking for _fmodl declaration... " >&6; }
76807 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76808 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76809 $as_echo_n "(cached) " >&6
76810 else
76813 ac_ext=cpp
76814 ac_cpp='$CXXCPP $CPPFLAGS'
76815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76820 /* end confdefs.h. */
76821 #include <math.h>
76823 main ()
76825 _fmodl(0, 0);
76827 return 0;
76829 _ACEOF
76830 if ac_fn_cxx_try_compile "$LINENO"; then :
76831 glibcxx_cv_func__fmodl_use=yes
76832 else
76833 glibcxx_cv_func__fmodl_use=no
76835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76836 ac_ext=c
76837 ac_cpp='$CPP $CPPFLAGS'
76838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76847 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76849 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76850 for ac_func in _fmodl
76851 do :
76852 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76853 if test "x$ac_cv_func__fmodl" = x""yes; then :
76854 cat >>confdefs.h <<_ACEOF
76855 #define HAVE__FMODL 1
76856 _ACEOF
76859 done
76868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76869 $as_echo_n "checking for frexpl declaration... " >&6; }
76870 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76871 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76872 $as_echo_n "(cached) " >&6
76873 else
76876 ac_ext=cpp
76877 ac_cpp='$CXXCPP $CPPFLAGS'
76878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76883 /* end confdefs.h. */
76884 #include <math.h>
76886 main ()
76888 frexpl(0, 0);
76890 return 0;
76892 _ACEOF
76893 if ac_fn_cxx_try_compile "$LINENO"; then :
76894 glibcxx_cv_func_frexpl_use=yes
76895 else
76896 glibcxx_cv_func_frexpl_use=no
76898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76899 ac_ext=c
76900 ac_cpp='$CPP $CPPFLAGS'
76901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76910 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76912 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76913 for ac_func in frexpl
76914 do :
76915 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76916 if test "x$ac_cv_func_frexpl" = x""yes; then :
76917 cat >>confdefs.h <<_ACEOF
76918 #define HAVE_FREXPL 1
76919 _ACEOF
76922 done
76924 else
76926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76927 $as_echo_n "checking for _frexpl declaration... " >&6; }
76928 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76929 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76930 $as_echo_n "(cached) " >&6
76931 else
76934 ac_ext=cpp
76935 ac_cpp='$CXXCPP $CPPFLAGS'
76936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76941 /* end confdefs.h. */
76942 #include <math.h>
76944 main ()
76946 _frexpl(0, 0);
76948 return 0;
76950 _ACEOF
76951 if ac_fn_cxx_try_compile "$LINENO"; then :
76952 glibcxx_cv_func__frexpl_use=yes
76953 else
76954 glibcxx_cv_func__frexpl_use=no
76956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76957 ac_ext=c
76958 ac_cpp='$CPP $CPPFLAGS'
76959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76968 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76970 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76971 for ac_func in _frexpl
76972 do :
76973 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76974 if test "x$ac_cv_func__frexpl" = x""yes; then :
76975 cat >>confdefs.h <<_ACEOF
76976 #define HAVE__FREXPL 1
76977 _ACEOF
76980 done
76989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76990 $as_echo_n "checking for hypotl declaration... " >&6; }
76991 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76992 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76993 $as_echo_n "(cached) " >&6
76994 else
76997 ac_ext=cpp
76998 ac_cpp='$CXXCPP $CPPFLAGS'
76999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77004 /* end confdefs.h. */
77005 #include <math.h>
77007 main ()
77009 hypotl(0, 0);
77011 return 0;
77013 _ACEOF
77014 if ac_fn_cxx_try_compile "$LINENO"; then :
77015 glibcxx_cv_func_hypotl_use=yes
77016 else
77017 glibcxx_cv_func_hypotl_use=no
77019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77020 ac_ext=c
77021 ac_cpp='$CPP $CPPFLAGS'
77022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
77031 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
77033 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77034 for ac_func in hypotl
77035 do :
77036 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
77037 if test "x$ac_cv_func_hypotl" = x""yes; then :
77038 cat >>confdefs.h <<_ACEOF
77039 #define HAVE_HYPOTL 1
77040 _ACEOF
77043 done
77045 else
77047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
77048 $as_echo_n "checking for _hypotl declaration... " >&6; }
77049 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77050 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
77051 $as_echo_n "(cached) " >&6
77052 else
77055 ac_ext=cpp
77056 ac_cpp='$CXXCPP $CPPFLAGS'
77057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77062 /* end confdefs.h. */
77063 #include <math.h>
77065 main ()
77067 _hypotl(0, 0);
77069 return 0;
77071 _ACEOF
77072 if ac_fn_cxx_try_compile "$LINENO"; then :
77073 glibcxx_cv_func__hypotl_use=yes
77074 else
77075 glibcxx_cv_func__hypotl_use=no
77077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77078 ac_ext=c
77079 ac_cpp='$CPP $CPPFLAGS'
77080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
77089 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
77091 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77092 for ac_func in _hypotl
77093 do :
77094 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
77095 if test "x$ac_cv_func__hypotl" = x""yes; then :
77096 cat >>confdefs.h <<_ACEOF
77097 #define HAVE__HYPOTL 1
77098 _ACEOF
77101 done
77110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77111 $as_echo_n "checking for ldexpl declaration... " >&6; }
77112 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77113 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77114 $as_echo_n "(cached) " >&6
77115 else
77118 ac_ext=cpp
77119 ac_cpp='$CXXCPP $CPPFLAGS'
77120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77125 /* end confdefs.h. */
77126 #include <math.h>
77128 main ()
77130 ldexpl(0, 0);
77132 return 0;
77134 _ACEOF
77135 if ac_fn_cxx_try_compile "$LINENO"; then :
77136 glibcxx_cv_func_ldexpl_use=yes
77137 else
77138 glibcxx_cv_func_ldexpl_use=no
77140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77141 ac_ext=c
77142 ac_cpp='$CPP $CPPFLAGS'
77143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77152 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77154 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77155 for ac_func in ldexpl
77156 do :
77157 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77158 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77159 cat >>confdefs.h <<_ACEOF
77160 #define HAVE_LDEXPL 1
77161 _ACEOF
77164 done
77166 else
77168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77169 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77170 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77171 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77172 $as_echo_n "(cached) " >&6
77173 else
77176 ac_ext=cpp
77177 ac_cpp='$CXXCPP $CPPFLAGS'
77178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77183 /* end confdefs.h. */
77184 #include <math.h>
77186 main ()
77188 _ldexpl(0, 0);
77190 return 0;
77192 _ACEOF
77193 if ac_fn_cxx_try_compile "$LINENO"; then :
77194 glibcxx_cv_func__ldexpl_use=yes
77195 else
77196 glibcxx_cv_func__ldexpl_use=no
77198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77199 ac_ext=c
77200 ac_cpp='$CPP $CPPFLAGS'
77201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77210 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77212 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77213 for ac_func in _ldexpl
77214 do :
77215 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77216 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77217 cat >>confdefs.h <<_ACEOF
77218 #define HAVE__LDEXPL 1
77219 _ACEOF
77222 done
77231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77232 $as_echo_n "checking for logl declaration... " >&6; }
77233 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77234 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77235 $as_echo_n "(cached) " >&6
77236 else
77239 ac_ext=cpp
77240 ac_cpp='$CXXCPP $CPPFLAGS'
77241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77246 /* end confdefs.h. */
77247 #include <math.h>
77248 #ifdef HAVE_IEEEFP_H
77249 #include <ieeefp.h>
77250 #endif
77253 main ()
77255 logl(0);
77257 return 0;
77259 _ACEOF
77260 if ac_fn_cxx_try_compile "$LINENO"; then :
77261 glibcxx_cv_func_logl_use=yes
77262 else
77263 glibcxx_cv_func_logl_use=no
77265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77266 ac_ext=c
77267 ac_cpp='$CPP $CPPFLAGS'
77268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77277 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77279 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77280 for ac_func in logl
77281 do :
77282 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77283 if test "x$ac_cv_func_logl" = x""yes; then :
77284 cat >>confdefs.h <<_ACEOF
77285 #define HAVE_LOGL 1
77286 _ACEOF
77289 done
77291 else
77293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77294 $as_echo_n "checking for _logl declaration... " >&6; }
77295 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77296 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77297 $as_echo_n "(cached) " >&6
77298 else
77301 ac_ext=cpp
77302 ac_cpp='$CXXCPP $CPPFLAGS'
77303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77308 /* end confdefs.h. */
77309 #include <math.h>
77310 #ifdef HAVE_IEEEFP_H
77311 #include <ieeefp.h>
77312 #endif
77315 main ()
77317 _logl(0);
77319 return 0;
77321 _ACEOF
77322 if ac_fn_cxx_try_compile "$LINENO"; then :
77323 glibcxx_cv_func__logl_use=yes
77324 else
77325 glibcxx_cv_func__logl_use=no
77327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77328 ac_ext=c
77329 ac_cpp='$CPP $CPPFLAGS'
77330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77339 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77341 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77342 for ac_func in _logl
77343 do :
77344 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77345 if test "x$ac_cv_func__logl" = x""yes; then :
77346 cat >>confdefs.h <<_ACEOF
77347 #define HAVE__LOGL 1
77348 _ACEOF
77351 done
77360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77361 $as_echo_n "checking for log10l declaration... " >&6; }
77362 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77363 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77364 $as_echo_n "(cached) " >&6
77365 else
77368 ac_ext=cpp
77369 ac_cpp='$CXXCPP $CPPFLAGS'
77370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77375 /* end confdefs.h. */
77376 #include <math.h>
77377 #ifdef HAVE_IEEEFP_H
77378 #include <ieeefp.h>
77379 #endif
77382 main ()
77384 log10l(0);
77386 return 0;
77388 _ACEOF
77389 if ac_fn_cxx_try_compile "$LINENO"; then :
77390 glibcxx_cv_func_log10l_use=yes
77391 else
77392 glibcxx_cv_func_log10l_use=no
77394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77395 ac_ext=c
77396 ac_cpp='$CPP $CPPFLAGS'
77397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77406 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77408 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77409 for ac_func in log10l
77410 do :
77411 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77412 if test "x$ac_cv_func_log10l" = x""yes; then :
77413 cat >>confdefs.h <<_ACEOF
77414 #define HAVE_LOG10L 1
77415 _ACEOF
77418 done
77420 else
77422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77423 $as_echo_n "checking for _log10l declaration... " >&6; }
77424 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77425 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77426 $as_echo_n "(cached) " >&6
77427 else
77430 ac_ext=cpp
77431 ac_cpp='$CXXCPP $CPPFLAGS'
77432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77437 /* end confdefs.h. */
77438 #include <math.h>
77439 #ifdef HAVE_IEEEFP_H
77440 #include <ieeefp.h>
77441 #endif
77444 main ()
77446 _log10l(0);
77448 return 0;
77450 _ACEOF
77451 if ac_fn_cxx_try_compile "$LINENO"; then :
77452 glibcxx_cv_func__log10l_use=yes
77453 else
77454 glibcxx_cv_func__log10l_use=no
77456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77457 ac_ext=c
77458 ac_cpp='$CPP $CPPFLAGS'
77459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77468 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77470 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77471 for ac_func in _log10l
77472 do :
77473 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77474 if test "x$ac_cv_func__log10l" = x""yes; then :
77475 cat >>confdefs.h <<_ACEOF
77476 #define HAVE__LOG10L 1
77477 _ACEOF
77480 done
77489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77490 $as_echo_n "checking for modfl declaration... " >&6; }
77491 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77492 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77493 $as_echo_n "(cached) " >&6
77494 else
77497 ac_ext=cpp
77498 ac_cpp='$CXXCPP $CPPFLAGS'
77499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77504 /* end confdefs.h. */
77505 #include <math.h>
77507 main ()
77509 modfl(0, 0);
77511 return 0;
77513 _ACEOF
77514 if ac_fn_cxx_try_compile "$LINENO"; then :
77515 glibcxx_cv_func_modfl_use=yes
77516 else
77517 glibcxx_cv_func_modfl_use=no
77519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77520 ac_ext=c
77521 ac_cpp='$CPP $CPPFLAGS'
77522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77531 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77533 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77534 for ac_func in modfl
77535 do :
77536 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77537 if test "x$ac_cv_func_modfl" = x""yes; then :
77538 cat >>confdefs.h <<_ACEOF
77539 #define HAVE_MODFL 1
77540 _ACEOF
77543 done
77545 else
77547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77548 $as_echo_n "checking for _modfl declaration... " >&6; }
77549 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77550 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77551 $as_echo_n "(cached) " >&6
77552 else
77555 ac_ext=cpp
77556 ac_cpp='$CXXCPP $CPPFLAGS'
77557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77562 /* end confdefs.h. */
77563 #include <math.h>
77565 main ()
77567 _modfl(0, 0);
77569 return 0;
77571 _ACEOF
77572 if ac_fn_cxx_try_compile "$LINENO"; then :
77573 glibcxx_cv_func__modfl_use=yes
77574 else
77575 glibcxx_cv_func__modfl_use=no
77577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77578 ac_ext=c
77579 ac_cpp='$CPP $CPPFLAGS'
77580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77589 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77591 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77592 for ac_func in _modfl
77593 do :
77594 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77595 if test "x$ac_cv_func__modfl" = x""yes; then :
77596 cat >>confdefs.h <<_ACEOF
77597 #define HAVE__MODFL 1
77598 _ACEOF
77601 done
77610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77611 $as_echo_n "checking for powl declaration... " >&6; }
77612 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77613 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77614 $as_echo_n "(cached) " >&6
77615 else
77618 ac_ext=cpp
77619 ac_cpp='$CXXCPP $CPPFLAGS'
77620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77625 /* end confdefs.h. */
77626 #include <math.h>
77628 main ()
77630 powl(0, 0);
77632 return 0;
77634 _ACEOF
77635 if ac_fn_cxx_try_compile "$LINENO"; then :
77636 glibcxx_cv_func_powl_use=yes
77637 else
77638 glibcxx_cv_func_powl_use=no
77640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77641 ac_ext=c
77642 ac_cpp='$CPP $CPPFLAGS'
77643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77652 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77654 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77655 for ac_func in powl
77656 do :
77657 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77658 if test "x$ac_cv_func_powl" = x""yes; then :
77659 cat >>confdefs.h <<_ACEOF
77660 #define HAVE_POWL 1
77661 _ACEOF
77664 done
77666 else
77668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77669 $as_echo_n "checking for _powl declaration... " >&6; }
77670 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77671 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77672 $as_echo_n "(cached) " >&6
77673 else
77676 ac_ext=cpp
77677 ac_cpp='$CXXCPP $CPPFLAGS'
77678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77683 /* end confdefs.h. */
77684 #include <math.h>
77686 main ()
77688 _powl(0, 0);
77690 return 0;
77692 _ACEOF
77693 if ac_fn_cxx_try_compile "$LINENO"; then :
77694 glibcxx_cv_func__powl_use=yes
77695 else
77696 glibcxx_cv_func__powl_use=no
77698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77699 ac_ext=c
77700 ac_cpp='$CPP $CPPFLAGS'
77701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77710 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77712 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77713 for ac_func in _powl
77714 do :
77715 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77716 if test "x$ac_cv_func__powl" = x""yes; then :
77717 cat >>confdefs.h <<_ACEOF
77718 #define HAVE__POWL 1
77719 _ACEOF
77722 done
77731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77732 $as_echo_n "checking for sqrtl declaration... " >&6; }
77733 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77734 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77735 $as_echo_n "(cached) " >&6
77736 else
77739 ac_ext=cpp
77740 ac_cpp='$CXXCPP $CPPFLAGS'
77741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77746 /* end confdefs.h. */
77747 #include <math.h>
77748 #ifdef HAVE_IEEEFP_H
77749 #include <ieeefp.h>
77750 #endif
77753 main ()
77755 sqrtl(0);
77757 return 0;
77759 _ACEOF
77760 if ac_fn_cxx_try_compile "$LINENO"; then :
77761 glibcxx_cv_func_sqrtl_use=yes
77762 else
77763 glibcxx_cv_func_sqrtl_use=no
77765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77766 ac_ext=c
77767 ac_cpp='$CPP $CPPFLAGS'
77768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77777 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77779 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77780 for ac_func in sqrtl
77781 do :
77782 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77783 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77784 cat >>confdefs.h <<_ACEOF
77785 #define HAVE_SQRTL 1
77786 _ACEOF
77789 done
77791 else
77793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77794 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77795 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77796 if test "${glibcxx_cv_func__sqrtl_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 <math.h>
77810 #ifdef HAVE_IEEEFP_H
77811 #include <ieeefp.h>
77812 #endif
77815 main ()
77817 _sqrtl(0);
77819 return 0;
77821 _ACEOF
77822 if ac_fn_cxx_try_compile "$LINENO"; then :
77823 glibcxx_cv_func__sqrtl_use=yes
77824 else
77825 glibcxx_cv_func__sqrtl_use=no
77827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77828 ac_ext=c
77829 ac_cpp='$CPP $CPPFLAGS'
77830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77839 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77841 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77842 for ac_func in _sqrtl
77843 do :
77844 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77845 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77846 cat >>confdefs.h <<_ACEOF
77847 #define HAVE__SQRTL 1
77848 _ACEOF
77851 done
77860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77861 $as_echo_n "checking for sincosl declaration... " >&6; }
77862 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77863 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77864 $as_echo_n "(cached) " >&6
77865 else
77868 ac_ext=cpp
77869 ac_cpp='$CXXCPP $CPPFLAGS'
77870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77875 /* end confdefs.h. */
77876 #include <math.h>
77878 main ()
77880 sincosl(0, 0, 0);
77882 return 0;
77884 _ACEOF
77885 if ac_fn_cxx_try_compile "$LINENO"; then :
77886 glibcxx_cv_func_sincosl_use=yes
77887 else
77888 glibcxx_cv_func_sincosl_use=no
77890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77891 ac_ext=c
77892 ac_cpp='$CPP $CPPFLAGS'
77893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77902 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77904 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77905 for ac_func in sincosl
77906 do :
77907 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77908 if test "x$ac_cv_func_sincosl" = x""yes; then :
77909 cat >>confdefs.h <<_ACEOF
77910 #define HAVE_SINCOSL 1
77911 _ACEOF
77914 done
77916 else
77918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77919 $as_echo_n "checking for _sincosl declaration... " >&6; }
77920 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77921 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77922 $as_echo_n "(cached) " >&6
77923 else
77926 ac_ext=cpp
77927 ac_cpp='$CXXCPP $CPPFLAGS'
77928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77933 /* end confdefs.h. */
77934 #include <math.h>
77936 main ()
77938 _sincosl(0, 0, 0);
77940 return 0;
77942 _ACEOF
77943 if ac_fn_cxx_try_compile "$LINENO"; then :
77944 glibcxx_cv_func__sincosl_use=yes
77945 else
77946 glibcxx_cv_func__sincosl_use=no
77948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77949 ac_ext=c
77950 ac_cpp='$CPP $CPPFLAGS'
77951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77960 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77962 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77963 for ac_func in _sincosl
77964 do :
77965 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77966 if test "x$ac_cv_func__sincosl" = x""yes; then :
77967 cat >>confdefs.h <<_ACEOF
77968 #define HAVE__SINCOSL 1
77969 _ACEOF
77972 done
77981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77982 $as_echo_n "checking for finitel declaration... " >&6; }
77983 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77984 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77985 $as_echo_n "(cached) " >&6
77986 else
77989 ac_ext=cpp
77990 ac_cpp='$CXXCPP $CPPFLAGS'
77991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77996 /* end confdefs.h. */
77997 #include <math.h>
77998 #ifdef HAVE_IEEEFP_H
77999 #include <ieeefp.h>
78000 #endif
78003 main ()
78005 finitel(0);
78007 return 0;
78009 _ACEOF
78010 if ac_fn_cxx_try_compile "$LINENO"; then :
78011 glibcxx_cv_func_finitel_use=yes
78012 else
78013 glibcxx_cv_func_finitel_use=no
78015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78016 ac_ext=c
78017 ac_cpp='$CPP $CPPFLAGS'
78018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
78027 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
78029 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78030 for ac_func in finitel
78031 do :
78032 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
78033 if test "x$ac_cv_func_finitel" = x""yes; then :
78034 cat >>confdefs.h <<_ACEOF
78035 #define HAVE_FINITEL 1
78036 _ACEOF
78039 done
78041 else
78043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
78044 $as_echo_n "checking for _finitel declaration... " >&6; }
78045 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78046 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
78047 $as_echo_n "(cached) " >&6
78048 else
78051 ac_ext=cpp
78052 ac_cpp='$CXXCPP $CPPFLAGS'
78053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78058 /* end confdefs.h. */
78059 #include <math.h>
78060 #ifdef HAVE_IEEEFP_H
78061 #include <ieeefp.h>
78062 #endif
78065 main ()
78067 _finitel(0);
78069 return 0;
78071 _ACEOF
78072 if ac_fn_cxx_try_compile "$LINENO"; then :
78073 glibcxx_cv_func__finitel_use=yes
78074 else
78075 glibcxx_cv_func__finitel_use=no
78077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78078 ac_ext=c
78079 ac_cpp='$CPP $CPPFLAGS'
78080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
78089 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
78091 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78092 for ac_func in _finitel
78093 do :
78094 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
78095 if test "x$ac_cv_func__finitel" = x""yes; then :
78096 cat >>confdefs.h <<_ACEOF
78097 #define HAVE__FINITEL 1
78098 _ACEOF
78101 done
78109 LIBS="$ac_save_LIBS"
78110 CXXFLAGS="$ac_save_CXXFLAGS"
78113 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78114 ac_save_CXXFLAGS="$CXXFLAGS"
78115 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78119 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78120 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78121 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78122 $as_echo_n "(cached) " >&6
78123 else
78126 ac_ext=cpp
78127 ac_cpp='$CXXCPP $CPPFLAGS'
78128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78133 /* end confdefs.h. */
78134 #include <stdlib.h>
78136 main ()
78138 at_quick_exit(0);
78140 return 0;
78142 _ACEOF
78143 if ac_fn_cxx_try_compile "$LINENO"; then :
78144 glibcxx_cv_func_at_quick_exit_use=yes
78145 else
78146 glibcxx_cv_func_at_quick_exit_use=no
78148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78149 ac_ext=c
78150 ac_cpp='$CPP $CPPFLAGS'
78151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78160 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78161 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78162 for ac_func in at_quick_exit
78163 do :
78164 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78165 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78166 cat >>confdefs.h <<_ACEOF
78167 #define HAVE_AT_QUICK_EXIT 1
78168 _ACEOF
78171 done
78176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78177 $as_echo_n "checking for quick_exit declaration... " >&6; }
78178 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78179 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78180 $as_echo_n "(cached) " >&6
78181 else
78184 ac_ext=cpp
78185 ac_cpp='$CXXCPP $CPPFLAGS'
78186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78191 /* end confdefs.h. */
78192 #include <stdlib.h>
78194 main ()
78196 quick_exit(0);
78198 return 0;
78200 _ACEOF
78201 if ac_fn_cxx_try_compile "$LINENO"; then :
78202 glibcxx_cv_func_quick_exit_use=yes
78203 else
78204 glibcxx_cv_func_quick_exit_use=no
78206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78207 ac_ext=c
78208 ac_cpp='$CPP $CPPFLAGS'
78209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78218 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78219 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78220 for ac_func in quick_exit
78221 do :
78222 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78223 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78224 cat >>confdefs.h <<_ACEOF
78225 #define HAVE_QUICK_EXIT 1
78226 _ACEOF
78229 done
78234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78235 $as_echo_n "checking for strtold declaration... " >&6; }
78236 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78237 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78238 $as_echo_n "(cached) " >&6
78239 else
78242 ac_ext=cpp
78243 ac_cpp='$CXXCPP $CPPFLAGS'
78244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78249 /* end confdefs.h. */
78250 #include <stdlib.h>
78252 main ()
78254 strtold(0, 0);
78256 return 0;
78258 _ACEOF
78259 if ac_fn_cxx_try_compile "$LINENO"; then :
78260 glibcxx_cv_func_strtold_use=yes
78261 else
78262 glibcxx_cv_func_strtold_use=no
78264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78265 ac_ext=c
78266 ac_cpp='$CPP $CPPFLAGS'
78267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78276 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78277 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78278 for ac_func in strtold
78279 do :
78280 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78281 if test "x$ac_cv_func_strtold" = x""yes; then :
78282 cat >>confdefs.h <<_ACEOF
78283 #define HAVE_STRTOLD 1
78284 _ACEOF
78287 done
78294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78295 $as_echo_n "checking for strtof declaration... " >&6; }
78296 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78297 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78298 $as_echo_n "(cached) " >&6
78299 else
78302 ac_ext=cpp
78303 ac_cpp='$CXXCPP $CPPFLAGS'
78304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78309 /* end confdefs.h. */
78310 #include <stdlib.h>
78312 main ()
78314 strtof(0, 0);
78316 return 0;
78318 _ACEOF
78319 if ac_fn_cxx_try_compile "$LINENO"; then :
78320 glibcxx_cv_func_strtof_use=yes
78321 else
78322 glibcxx_cv_func_strtof_use=no
78324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78325 ac_ext=c
78326 ac_cpp='$CPP $CPPFLAGS'
78327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78336 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78337 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78338 for ac_func in strtof
78339 do :
78340 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78341 if test "x$ac_cv_func_strtof" = x""yes; then :
78342 cat >>confdefs.h <<_ACEOF
78343 #define HAVE_STRTOF 1
78344 _ACEOF
78347 done
78354 CXXFLAGS="$ac_save_CXXFLAGS"
78357 *-vxworks)
78358 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78360 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78362 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78364 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78366 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78368 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78370 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78372 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78374 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78376 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78378 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78380 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78382 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78384 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78386 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78388 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78390 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78392 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78394 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78396 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78400 as_fn_error "No support for this host/target combination." "$LINENO" 5
78402 esac
78406 # At some point, we should differentiate between architectures
78407 # like x86, which have long double versions, and alpha/powerpc/etc.,
78408 # which don't. For the time being, punt.
78409 if test x"long_double_math_on_this_cpu" = x"yes"; then
78410 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78412 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78414 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78416 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78418 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78420 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78422 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78424 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78426 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78428 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78430 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78432 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78434 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78436 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78438 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78440 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78442 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78444 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78446 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78448 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78450 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78452 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78454 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78459 # Check for _Unwind_GetIPInfo.
78462 # Check whether --with-system-libunwind was given.
78463 if test "${with_system_libunwind+set}" = set; then :
78464 withval=$with_system_libunwind;
78467 # If system-libunwind was not specifically set, pick a default setting.
78468 if test x$with_system_libunwind = x; then
78469 case ${target} in
78470 ia64-*-hpux*) with_system_libunwind=yes ;;
78471 *) with_system_libunwind=no ;;
78472 esac
78474 # Based on system-libunwind and target, do we have ipinfo?
78475 if test x$with_system_libunwind = xyes; then
78476 case ${target} in
78477 ia64-*-*) have_unwind_getipinfo=no ;;
78478 *) have_unwind_getipinfo=yes ;;
78479 esac
78480 else
78481 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78483 case ${target} in
78484 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78485 *) have_unwind_getipinfo=yes ;;
78486 esac
78490 if test x$have_unwind_getipinfo = xyes; then
78492 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78497 # Check whether --enable-linux-futex was given.
78498 if test "${enable_linux_futex+set}" = set; then :
78499 enableval=$enable_linux_futex;
78500 case "$enableval" in
78501 yes|no|default) ;;
78502 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78503 esac
78505 else
78506 enable_linux_futex=default
78510 case "$target" in
78511 *-linux*)
78512 case "$enable_linux_futex" in
78513 default)
78514 # If headers don't have gettid/futex syscalls definition, then
78515 # default to no, otherwise there will be compile time failures.
78516 # Otherwise, default to yes. If we don't detect we are
78517 # compiled/linked against NPTL and not cross-compiling, check
78518 # if programs are run by default against NPTL and if not, issue
78519 # a warning.
78520 enable_linux_futex=no
78521 if test x$gcc_no_link = xyes; then
78522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78525 /* end confdefs.h. */
78526 #include <sys/syscall.h>
78527 int lk;
78529 main ()
78531 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78533 return 0;
78535 _ACEOF
78536 if ac_fn_c_try_link "$LINENO"; then :
78537 save_LIBS="$LIBS"
78538 LIBS="-lpthread $LIBS"
78539 if test x$gcc_no_link = xyes; then
78540 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78543 /* end confdefs.h. */
78544 #ifndef _GNU_SOURCE
78545 #define _GNU_SOURCE 1
78546 #endif
78547 #include <pthread.h>
78548 pthread_t th; void *status;
78550 main ()
78552 pthread_tryjoin_np (th, &status);
78554 return 0;
78556 _ACEOF
78557 if ac_fn_c_try_link "$LINENO"; then :
78558 enable_linux_futex=yes
78559 else
78560 if test x$cross_compiling = xno; then
78561 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78562 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78564 If so, please configure with --disable-linux-futex" >&5
78565 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78566 If so, please configure with --disable-linux-futex" >&2;}
78569 enable_linux_futex=yes
78571 rm -f core conftest.err conftest.$ac_objext \
78572 conftest$ac_exeext conftest.$ac_ext
78573 LIBS="$save_LIBS"
78575 rm -f core conftest.err conftest.$ac_objext \
78576 conftest$ac_exeext conftest.$ac_ext
78578 yes)
78579 if test x$gcc_no_link = xyes; then
78580 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78583 /* end confdefs.h. */
78584 #include <sys/syscall.h>
78585 int lk;
78587 main ()
78589 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78591 return 0;
78593 _ACEOF
78594 if ac_fn_c_try_link "$LINENO"; then :
78596 else
78597 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78599 rm -f core conftest.err conftest.$ac_objext \
78600 conftest$ac_exeext conftest.$ac_ext
78602 esac
78605 enable_linux_futex=no
78607 esac
78608 if test x$enable_linux_futex = xyes; then
78610 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78617 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78619 acx_cv_header_stdint=stddef.h
78620 acx_cv_header_stdint_kind="(already complete)"
78621 for i in stdint.h $inttype_headers; do
78622 unset ac_cv_type_uintptr_t
78623 unset ac_cv_type_uintmax_t
78624 unset ac_cv_type_int_least32_t
78625 unset ac_cv_type_int_fast32_t
78626 unset ac_cv_type_uint64_t
78627 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78628 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78629 #include <$i>
78631 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78632 acx_cv_header_stdint=$i
78633 else
78634 continue
78637 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78638 #include <$i>
78640 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78642 else
78643 acx_cv_header_stdint_kind="(mostly complete)"
78646 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78647 #include <$i>
78649 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78651 else
78652 acx_cv_header_stdint_kind="(mostly complete)"
78655 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78656 #include <$i>
78658 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78660 else
78661 acx_cv_header_stdint_kind="(mostly complete)"
78664 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78665 #include <$i>
78667 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78669 else
78670 acx_cv_header_stdint_kind="(lacks uint64_t)"
78673 break
78674 done
78675 if test "$acx_cv_header_stdint" = stddef.h; then
78676 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78677 for i in stdint.h $inttype_headers; do
78678 unset ac_cv_type_uintptr_t
78679 unset ac_cv_type_uint32_t
78680 unset ac_cv_type_uint64_t
78681 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78682 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78683 #include <$i>
78685 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78686 acx_cv_header_stdint=$i
78687 else
78688 continue
78691 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78692 #include <$i>
78694 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78698 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78699 #include <$i>
78701 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78705 break
78706 done
78708 if test "$acx_cv_header_stdint" = stddef.h; then
78709 acx_cv_header_stdint_kind="(u_intXX_t style)"
78710 for i in sys/types.h $inttype_headers; do
78711 unset ac_cv_type_u_int32_t
78712 unset ac_cv_type_u_int64_t
78713 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78714 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78715 #include <$i>
78717 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78718 acx_cv_header_stdint=$i
78719 else
78720 continue
78723 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78724 #include <$i>
78726 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78730 break
78731 done
78733 if test "$acx_cv_header_stdint" = stddef.h; then
78734 acx_cv_header_stdint_kind="(using manual detection)"
78737 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78738 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78739 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78740 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78741 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78743 # ----------------- Summarize what we found so far
78745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78746 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78748 case `$as_basename -- include/gstdint.h ||
78749 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78750 Xinclude/gstdint.h : 'X\(//\)$' \| \
78751 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78752 $as_echo X/include/gstdint.h |
78753 sed '/^.*\/\([^/][^/]*\)\/*$/{
78754 s//\1/
78757 /^X\/\(\/\/\)$/{
78758 s//\1/
78761 /^X\/\(\/\).*/{
78762 s//\1/
78765 s/.*/./; q'` in
78766 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78767 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78768 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78769 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78770 *) ;;
78771 esac
78773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78774 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78776 # ----------------- done included file, check C basic types --------
78778 # Lacking an uintptr_t? Test size of void *
78779 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78780 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78781 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78782 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78783 # This bug is HP SR number 8606223364.
78784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78785 $as_echo_n "checking size of void *... " >&6; }
78786 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78787 $as_echo_n "(cached) " >&6
78788 else
78789 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78791 else
78792 if test "$ac_cv_type_void_p" = yes; then
78793 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78795 { as_fn_set_status 77
78796 as_fn_error "cannot compute sizeof (void *)
78797 See \`config.log' for more details." "$LINENO" 5; }; }
78798 else
78799 ac_cv_sizeof_void_p=0
78804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78805 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78809 cat >>confdefs.h <<_ACEOF
78810 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78811 _ACEOF
78814 esac
78816 # Lacking an uint64_t? Test size of long
78817 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78818 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78819 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78820 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78821 # This bug is HP SR number 8606223364.
78822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78823 $as_echo_n "checking size of long... " >&6; }
78824 if test "${ac_cv_sizeof_long+set}" = set; then :
78825 $as_echo_n "(cached) " >&6
78826 else
78827 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78829 else
78830 if test "$ac_cv_type_long" = yes; then
78831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78833 { as_fn_set_status 77
78834 as_fn_error "cannot compute sizeof (long)
78835 See \`config.log' for more details." "$LINENO" 5; }; }
78836 else
78837 ac_cv_sizeof_long=0
78842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78843 $as_echo "$ac_cv_sizeof_long" >&6; }
78847 cat >>confdefs.h <<_ACEOF
78848 #define SIZEOF_LONG $ac_cv_sizeof_long
78849 _ACEOF
78852 esac
78854 if test $acx_cv_header_stdint = stddef.h; then
78855 # Lacking a good header? Test size of everything and deduce all types.
78856 # The cast to long int works around a bug in the HP C Compiler
78857 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78858 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78859 # This bug is HP SR number 8606223364.
78860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78861 $as_echo_n "checking size of int... " >&6; }
78862 if test "${ac_cv_sizeof_int+set}" = set; then :
78863 $as_echo_n "(cached) " >&6
78864 else
78865 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78867 else
78868 if test "$ac_cv_type_int" = yes; then
78869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78871 { as_fn_set_status 77
78872 as_fn_error "cannot compute sizeof (int)
78873 See \`config.log' for more details." "$LINENO" 5; }; }
78874 else
78875 ac_cv_sizeof_int=0
78880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78881 $as_echo "$ac_cv_sizeof_int" >&6; }
78885 cat >>confdefs.h <<_ACEOF
78886 #define SIZEOF_INT $ac_cv_sizeof_int
78887 _ACEOF
78890 # The cast to long int works around a bug in the HP C Compiler
78891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78893 # This bug is HP SR number 8606223364.
78894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78895 $as_echo_n "checking size of short... " >&6; }
78896 if test "${ac_cv_sizeof_short+set}" = set; then :
78897 $as_echo_n "(cached) " >&6
78898 else
78899 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78901 else
78902 if test "$ac_cv_type_short" = yes; then
78903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78905 { as_fn_set_status 77
78906 as_fn_error "cannot compute sizeof (short)
78907 See \`config.log' for more details." "$LINENO" 5; }; }
78908 else
78909 ac_cv_sizeof_short=0
78914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78915 $as_echo "$ac_cv_sizeof_short" >&6; }
78919 cat >>confdefs.h <<_ACEOF
78920 #define SIZEOF_SHORT $ac_cv_sizeof_short
78921 _ACEOF
78924 # The cast to long int works around a bug in the HP C Compiler
78925 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78926 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78927 # This bug is HP SR number 8606223364.
78928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78929 $as_echo_n "checking size of char... " >&6; }
78930 if test "${ac_cv_sizeof_char+set}" = set; then :
78931 $as_echo_n "(cached) " >&6
78932 else
78933 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78935 else
78936 if test "$ac_cv_type_char" = yes; then
78937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78939 { as_fn_set_status 77
78940 as_fn_error "cannot compute sizeof (char)
78941 See \`config.log' for more details." "$LINENO" 5; }; }
78942 else
78943 ac_cv_sizeof_char=0
78948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78949 $as_echo "$ac_cv_sizeof_char" >&6; }
78953 cat >>confdefs.h <<_ACEOF
78954 #define SIZEOF_CHAR $ac_cv_sizeof_char
78955 _ACEOF
78959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78960 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78961 case "$ac_cv_sizeof_char" in
78962 1) acx_cv_type_int8_t=char ;;
78963 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78964 esac
78965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78966 $as_echo "$acx_cv_type_int8_t" >&6; }
78968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78969 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78970 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78971 2:*) acx_cv_type_int16_t=int ;;
78972 *:2) acx_cv_type_int16_t=short ;;
78973 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78974 esac
78975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78976 $as_echo "$acx_cv_type_int16_t" >&6; }
78978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78979 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78980 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78981 4:*) acx_cv_type_int32_t=int ;;
78982 *:4) acx_cv_type_int32_t=long ;;
78983 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78984 esac
78985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78986 $as_echo "$acx_cv_type_int32_t" >&6; }
78989 # These tests are here to make the output prettier
78991 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78992 case "$ac_cv_sizeof_long" in
78993 8) acx_cv_type_int64_t=long ;;
78994 esac
78995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78996 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78998 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
79001 # Now we can use the above types
79003 if test "$ac_cv_type_uintptr_t" != yes; then
79004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
79005 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
79006 case $ac_cv_sizeof_void_p in
79007 2) acx_cv_type_intptr_t=int16_t ;;
79008 4) acx_cv_type_intptr_t=int32_t ;;
79009 8) acx_cv_type_intptr_t=int64_t ;;
79010 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
79011 esac
79012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
79013 $as_echo "$acx_cv_type_intptr_t" >&6; }
79016 # ----------------- done all checks, emit header -------------
79017 ac_config_commands="$ac_config_commands include/gstdint.h"
79023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
79024 $as_echo_n "checking for GNU c++filt... " >&6; }
79025 if test "${ac_cv_path_CXXFILT+set}" = set; then :
79026 $as_echo_n "(cached) " >&6
79027 else
79028 if test -z "$CXXFILT"; then
79029 ac_path_CXXFILT_found=false
79030 # Loop through the user's path and test for each of PROGNAME-LIST
79031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79032 for as_dir in $PATH
79034 IFS=$as_save_IFS
79035 test -z "$as_dir" && as_dir=.
79036 for ac_prog in c++filt gc++filt; do
79037 for ac_exec_ext in '' $ac_executable_extensions; do
79038 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
79039 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
79040 # Check for GNU $ac_path_CXXFILT
79041 case `"$ac_path_CXXFILT" --version 2>&1` in
79042 *GNU*)
79043 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
79044 esac
79046 $ac_path_CXXFILT_found && break 3
79047 done
79048 done
79049 done
79050 IFS=$as_save_IFS
79051 if test -z "$ac_cv_path_CXXFILT"; then
79054 else
79055 ac_cv_path_CXXFILT=$CXXFILT
79059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
79060 $as_echo "$ac_cv_path_CXXFILT" >&6; }
79061 CXXFILT=$ac_cv_path_CXXFILT
79065 # Check whether --enable-symvers was given.
79066 if test "${enable_symvers+set}" = set; then :
79067 enableval=$enable_symvers;
79068 case "$enableval" in
79069 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
79070 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
79071 esac
79073 else
79074 enable_symvers=yes
79079 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
79080 # don't know enough about $LD to do tricks...
79082 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
79083 # with extern "C++" in version scripts.
79086 # Turn a 'yes' into a suitable default.
79087 if test x$enable_symvers = xyes ; then
79088 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
79089 enable_symvers=no
79090 else
79091 if test $with_gnu_ld = yes ; then
79092 case ${target_os} in
79093 hpux*)
79094 enable_symvers=no ;;
79096 enable_symvers=gnu ;;
79097 esac
79098 else
79099 case ${target_os} in
79100 darwin*)
79101 enable_symvers=darwin ;;
79102 # Sun symbol versioning exists since Solaris 2.5.
79103 solaris2.[5-9]* | solaris2.1[0-9]*)
79104 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79105 # version scripts, so disable symbol versioning if none can be
79106 # found.
79107 if test -z "$ac_cv_path_CXXFILT"; then
79108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79109 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79111 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79113 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79114 enable_symvers=no
79115 else
79116 enable_symvers=sun
79120 enable_symvers=no ;;
79121 esac
79126 # Check to see if 'darwin' or 'darwin-export' can win.
79127 if test x$enable_symvers = xdarwin-export ; then
79128 enable_symvers=darwin
79131 # Check if 'sun' was requested on non-Solaris 2 platforms.
79132 if test x$enable_symvers = xsun ; then
79133 case ${target_os} in
79134 solaris2*)
79135 # All fine.
79138 # Unlikely to work.
79139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79140 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79142 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79144 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79145 enable_symvers=no
79147 esac
79150 # Check to see if 'gnu' can win.
79151 if test $enable_symvers = gnu ||
79152 test $enable_symvers = gnu-versioned-namespace ||
79153 test $enable_symvers = sun; then
79154 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79156 $as_echo_n "checking for shared libgcc... " >&6; }
79157 ac_save_CFLAGS="$CFLAGS"
79158 CFLAGS=' -lgcc_s'
79159 if test x$gcc_no_link = xyes; then
79160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79163 /* end confdefs.h. */
79166 main ()
79168 return 0;
79170 return 0;
79172 _ACEOF
79173 if ac_fn_c_try_link "$LINENO"; then :
79174 glibcxx_shared_libgcc=yes
79175 else
79176 glibcxx_shared_libgcc=no
79178 rm -f core conftest.err conftest.$ac_objext \
79179 conftest$ac_exeext conftest.$ac_ext
79180 CFLAGS="$ac_save_CFLAGS"
79181 if test $glibcxx_shared_libgcc = no; then
79182 cat > conftest.c <<EOF
79183 int main (void) { return 0; }
79185 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79186 -shared -shared-libgcc -o conftest.so \
79187 conftest.c -v 2>&1 >/dev/null \
79188 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79189 rm -f conftest.c conftest.so
79190 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79191 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79192 if test x$gcc_no_link = xyes; then
79193 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79196 /* end confdefs.h. */
79199 main ()
79201 return 0;
79203 return 0;
79205 _ACEOF
79206 if ac_fn_c_try_link "$LINENO"; then :
79207 glibcxx_shared_libgcc=yes
79209 rm -f core conftest.err conftest.$ac_objext \
79210 conftest$ac_exeext conftest.$ac_ext
79211 CFLAGS="$ac_save_CFLAGS"
79214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79215 $as_echo "$glibcxx_shared_libgcc" >&6; }
79217 # For GNU ld, we need at least this version. The format is described in
79218 # GLIBCXX_CHECK_LINKER_FEATURES above.
79219 glibcxx_min_gnu_ld_version=21400
79221 # If no shared libgcc, can't win.
79222 if test $glibcxx_shared_libgcc != yes; then
79223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79224 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79226 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79228 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79229 enable_symvers=no
79230 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79231 : All interesting versions of Sun ld support sun style symbol versioning.
79232 elif test $with_gnu_ld != yes ; then
79233 # just fail for now
79234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79235 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79237 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79239 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79240 enable_symvers=no
79241 elif test $glibcxx_ld_is_gold = yes ; then
79242 : All versions of gold support symbol versioning.
79243 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79244 # The right tools, the right setup, but too old. Fallbacks?
79245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79246 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79248 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79250 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79252 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79254 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79255 enable_symvers=no
79259 # For libtool versioning info, format is CURRENT:REVISION:AGE
79260 libtool_VERSION=6:23:0
79262 # Everything parsed; figure out what files and settings to use.
79263 case $enable_symvers in
79265 SYMVER_FILE=config/abi/pre/none.ver
79267 gnu)
79268 SYMVER_FILE=config/abi/pre/gnu.ver
79270 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79273 gnu-versioned-namespace)
79274 libtool_VERSION=7:0:0
79275 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79277 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79280 darwin)
79281 SYMVER_FILE=config/abi/pre/gnu.ver
79283 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79286 sun)
79287 SYMVER_FILE=config/abi/pre/gnu.ver
79289 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79292 esac
79294 if test x$enable_symvers != xno ; then
79296 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79301 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79302 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79303 $as_echo_n "(cached) " >&6
79304 else
79306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79307 /* end confdefs.h. */
79308 void foo (void); __asm (".symver foo, bar@SYMVER");
79310 main ()
79314 return 0;
79316 _ACEOF
79317 if ac_fn_c_try_compile "$LINENO"; then :
79318 glibcxx_cv_have_as_symver_directive=yes
79319 else
79320 glibcxx_cv_have_as_symver_directive=no
79322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79325 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79326 if test $glibcxx_cv_have_as_symver_directive = yes; then
79328 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79339 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79340 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79342 if test $enable_symvers != no ; then
79343 case ${target_os} in
79344 # The Solaris 2 runtime linker doesn't support the GNU extension of
79345 # binding the same symbol to different versions
79346 solaris2*)
79348 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79351 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79354 esac
79357 # Now, set up compatibility support, if any.
79358 # In addition, need this to deal with std::size_t mangling in
79359 # src/compatibility.cc. In a perfect world, could use
79360 # typeid(std::size_t).name()[0] to do direct substitution.
79361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79362 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79363 ac_save_CFLAGS="$CFLAGS"
79364 CFLAGS="-Werror"
79365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79366 /* end confdefs.h. */
79369 main ()
79371 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79373 return 0;
79375 _ACEOF
79376 if ac_fn_c_try_compile "$LINENO"; then :
79377 glibcxx_size_t_is_i=yes
79378 else
79379 glibcxx_size_t_is_i=no
79381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79382 CFLAGS=$ac_save_CFLAGS
79383 if test "$glibcxx_size_t_is_i" = yes; then
79385 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79389 $as_echo "$glibcxx_size_t_is_i" >&6; }
79391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79392 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79393 ac_save_CFLAGS="$CFLAGS"
79394 CFLAGS="-Werror"
79395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79396 /* end confdefs.h. */
79399 main ()
79401 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79403 return 0;
79405 _ACEOF
79406 if ac_fn_c_try_compile "$LINENO"; then :
79407 glibcxx_ptrdiff_t_is_i=yes
79408 else
79409 glibcxx_ptrdiff_t_is_i=no
79411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79412 CFLAGS=$ac_save_CFLAGS
79413 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79415 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79419 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79424 # Check whether --enable-libstdcxx-visibility was given.
79425 if test "${enable_libstdcxx_visibility+set}" = set; then :
79426 enableval=$enable_libstdcxx_visibility;
79427 case "$enableval" in
79428 yes|no) ;;
79429 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79430 esac
79432 else
79433 enable_libstdcxx_visibility=yes
79438 if test x$enable_libstdcxx_visibility = xyes ; then
79439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79440 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79441 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79442 $as_echo_n "(cached) " >&6
79443 else
79445 save_CFLAGS="$CFLAGS"
79446 CFLAGS="$CFLAGS -Werror"
79447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79448 /* end confdefs.h. */
79449 void __attribute__((visibility("hidden"))) foo(void) { }
79451 main ()
79455 return 0;
79457 _ACEOF
79458 if ac_fn_c_try_compile "$LINENO"; then :
79459 glibcxx_cv_have_attribute_visibility=yes
79460 else
79461 glibcxx_cv_have_attribute_visibility=no
79463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79464 CFLAGS="$save_CFLAGS"
79466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79467 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79468 if test $glibcxx_cv_have_attribute_visibility = no; then
79469 enable_libstdcxx_visibility=no
79474 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79475 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79479 # Check whether --enable-libstdcxx-dual-abi was given.
79480 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79481 enableval=$enable_libstdcxx_dual_abi;
79482 case "$enableval" in
79483 yes|no) ;;
79484 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79485 esac
79487 else
79488 enable_libstdcxx_dual_abi=yes
79492 if test x$enable_symvers = xgnu-versioned-namespace; then
79493 # gnu-versioned-namespace is incompatible with the dual ABI.
79494 enable_libstdcxx_dual_abi="no"
79496 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79497 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79498 $as_echo "$as_me: dual ABI is disabled" >&6;}
79499 default_libstdcxx_abi="gcc4-compatible"
79504 if test x$enable_libstdcxx_dual_abi = xyes; then
79505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79506 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79508 # Check whether --with-default-libstdcxx-abi was given.
79509 if test "${with_default_libstdcxx_abi+set}" = set; then :
79510 withval=$with_default_libstdcxx_abi; case "$withval" in
79511 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79512 new|cxx11) default_libstdcxx_abi="new" ;;
79513 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79514 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79515 esac
79517 else
79518 default_libstdcxx_abi="new"
79521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79522 $as_echo "${default_libstdcxx_abi}" >&6; }
79524 if test $default_libstdcxx_abi = "new"; then
79525 glibcxx_cxx11_abi=1
79526 glibcxx_cxx98_abi=0
79527 else
79528 glibcxx_cxx11_abi=0
79529 glibcxx_cxx98_abi=1
79535 ac_ldbl_compat=no
79536 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79537 case "$target" in
79538 powerpc*-*-linux* | \
79539 sparc*-*-linux* | \
79540 s390*-*-linux* | \
79541 alpha*-*-linux*)
79542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79543 /* end confdefs.h. */
79546 main ()
79549 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79550 #error no need for long double compatibility
79551 #endif
79554 return 0;
79556 _ACEOF
79557 if ac_fn_c_try_compile "$LINENO"; then :
79558 ac_ldbl_compat=yes
79559 else
79560 ac_ldbl_compat=no
79562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79563 if test "$ac_ldbl_compat" = yes; then
79565 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79567 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79568 case "$target" in
79569 powerpc*-*-linux*)
79570 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79571 esac
79573 esac
79577 # Check if assembler supports disabling hardware capability support.
79579 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79581 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79582 # with a different meaning.
79583 case ${target_os} in
79584 solaris2*)
79585 ac_save_CFLAGS="$CFLAGS"
79586 CFLAGS="$CFLAGS -Wa,-nH"
79588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79589 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79591 /* end confdefs.h. */
79594 main ()
79596 return 0;
79598 return 0;
79600 _ACEOF
79601 if ac_fn_c_try_compile "$LINENO"; then :
79602 ac_hwcap_flags=yes
79603 else
79604 ac_hwcap_flags=no
79606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79607 if test "$ac_hwcap_flags" = "yes"; then
79608 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79611 $as_echo "$ac_hwcap_flags" >&6; }
79613 CFLAGS="$ac_save_CFLAGS"
79615 esac
79620 # Check if assembler supports rdrand opcode.
79622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79623 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79624 if test "${ac_cv_x86_rdrand+set}" = set; then :
79625 $as_echo_n "(cached) " >&6
79626 else
79628 ac_cv_x86_rdrand=no
79629 case "$target" in
79630 i?86-*-* | \
79631 x86_64-*-*)
79632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79633 /* end confdefs.h. */
79636 main ()
79638 asm("rdrand %eax");
79640 return 0;
79642 _ACEOF
79643 if ac_fn_c_try_compile "$LINENO"; then :
79644 ac_cv_x86_rdrand=yes
79645 else
79646 ac_cv_x86_rdrand=no
79648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79649 esac
79653 if test $ac_cv_x86_rdrand = yes; then
79655 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79659 $as_echo "$ac_cv_x86_rdrand" >&6; }
79662 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79664 # Do checks for resource limit functions.
79666 setrlimit_have_headers=yes
79667 for ac_header in unistd.h sys/time.h sys/resource.h
79668 do :
79669 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79670 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79671 eval as_val=\$$as_ac_Header
79672 if test "x$as_val" = x""yes; then :
79673 cat >>confdefs.h <<_ACEOF
79674 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79675 _ACEOF
79677 else
79678 setrlimit_have_headers=no
79681 done
79683 # If don't have the headers, then we can't run the tests now, and we
79684 # won't be seeing any of these during testsuite compilation.
79685 if test $setrlimit_have_headers = yes; then
79686 # Can't do these in a loop, else the resulting syntax is wrong.
79688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79689 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79691 /* end confdefs.h. */
79692 #include <unistd.h>
79693 #include <sys/time.h>
79694 #include <sys/resource.h>
79697 main ()
79699 int f = RLIMIT_DATA ;
79701 return 0;
79703 _ACEOF
79704 if ac_fn_c_try_compile "$LINENO"; then :
79705 glibcxx_mresult=1
79706 else
79707 glibcxx_mresult=0
79709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79711 cat >>confdefs.h <<_ACEOF
79712 #define HAVE_LIMIT_DATA $glibcxx_mresult
79713 _ACEOF
79715 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79717 $as_echo "$res" >&6; }
79720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79721 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79723 /* end confdefs.h. */
79724 #include <unistd.h>
79725 #include <sys/time.h>
79726 #include <sys/resource.h>
79729 main ()
79731 int f = RLIMIT_RSS ;
79733 return 0;
79735 _ACEOF
79736 if ac_fn_c_try_compile "$LINENO"; then :
79737 glibcxx_mresult=1
79738 else
79739 glibcxx_mresult=0
79741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79743 cat >>confdefs.h <<_ACEOF
79744 #define HAVE_LIMIT_RSS $glibcxx_mresult
79745 _ACEOF
79747 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79749 $as_echo "$res" >&6; }
79752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79753 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79755 /* end confdefs.h. */
79756 #include <unistd.h>
79757 #include <sys/time.h>
79758 #include <sys/resource.h>
79761 main ()
79763 int f = RLIMIT_VMEM ;
79765 return 0;
79767 _ACEOF
79768 if ac_fn_c_try_compile "$LINENO"; then :
79769 glibcxx_mresult=1
79770 else
79771 glibcxx_mresult=0
79773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79775 cat >>confdefs.h <<_ACEOF
79776 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79777 _ACEOF
79779 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79781 $as_echo "$res" >&6; }
79784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79785 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79787 /* end confdefs.h. */
79788 #include <unistd.h>
79789 #include <sys/time.h>
79790 #include <sys/resource.h>
79793 main ()
79795 int f = RLIMIT_AS ;
79797 return 0;
79799 _ACEOF
79800 if ac_fn_c_try_compile "$LINENO"; then :
79801 glibcxx_mresult=1
79802 else
79803 glibcxx_mresult=0
79805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79807 cat >>confdefs.h <<_ACEOF
79808 #define HAVE_LIMIT_AS $glibcxx_mresult
79809 _ACEOF
79811 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79813 $as_echo "$res" >&6; }
79816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79817 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79819 /* end confdefs.h. */
79820 #include <unistd.h>
79821 #include <sys/time.h>
79822 #include <sys/resource.h>
79825 main ()
79827 int f = RLIMIT_FSIZE ;
79829 return 0;
79831 _ACEOF
79832 if ac_fn_c_try_compile "$LINENO"; then :
79833 glibcxx_mresult=1
79834 else
79835 glibcxx_mresult=0
79837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79839 cat >>confdefs.h <<_ACEOF
79840 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79841 _ACEOF
79843 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79845 $as_echo "$res" >&6; }
79848 # Check for rlimit, setrlimit.
79849 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79850 $as_echo_n "(cached) " >&6
79851 else
79853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79854 /* end confdefs.h. */
79855 #include <unistd.h>
79856 #include <sys/time.h>
79857 #include <sys/resource.h>
79860 main ()
79862 struct rlimit r;
79863 setrlimit(0, &r);
79865 return 0;
79867 _ACEOF
79868 if ac_fn_c_try_compile "$LINENO"; then :
79869 glibcxx_cv_setrlimit=yes
79870 else
79871 glibcxx_cv_setrlimit=no
79873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79880 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79881 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79882 ac_res_limits=yes
79884 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79886 else
79887 ac_res_limits=no
79889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79890 $as_echo "$ac_res_limits" >&6; }
79893 if $GLIBCXX_IS_NATIVE ; then
79894 # Look for setenv, so that extended locale tests can be performed.
79896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79897 $as_echo_n "checking for setenv declaration... " >&6; }
79898 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79899 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79900 $as_echo_n "(cached) " >&6
79901 else
79904 ac_ext=cpp
79905 ac_cpp='$CXXCPP $CPPFLAGS'
79906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79911 /* end confdefs.h. */
79912 #include <stdlib.h>
79914 main ()
79916 setenv(0, 0, 0);
79918 return 0;
79920 _ACEOF
79921 if ac_fn_cxx_try_compile "$LINENO"; then :
79922 glibcxx_cv_func_setenv_use=yes
79923 else
79924 glibcxx_cv_func_setenv_use=no
79926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79927 ac_ext=c
79928 ac_cpp='$CPP $CPPFLAGS'
79929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79938 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79939 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79940 for ac_func in setenv
79941 do :
79942 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79943 if test "x$ac_cv_func_setenv" = x""yes; then :
79944 cat >>confdefs.h <<_ACEOF
79945 #define HAVE_SETENV 1
79946 _ACEOF
79949 done
79955 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79956 test $enable_symvers != no; then
79957 case "$host" in
79958 *-*-cygwin*)
79959 enable_abi_check=no ;;
79961 enable_abi_check=yes ;;
79962 esac
79963 else
79964 # Only build this as native, since automake does not understand
79965 # CXX_FOR_BUILD.
79966 enable_abi_check=no
79969 # Export file names for ABI checking.
79970 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79972 baseline_subdir_switch="$abi_baseline_subdir_switch"
79976 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79978 # Check whether --enable-libstdcxx-threads was given.
79979 if test "${enable_libstdcxx_threads+set}" = set; then :
79980 enableval=$enable_libstdcxx_threads;
79981 case "$enableval" in
79982 yes|no) ;;
79983 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79984 esac
79986 else
79987 enable_libstdcxx_threads=auto
79992 if test x$enable_libstdcxx_threads = xauto ||
79993 test x$enable_libstdcxx_threads = xyes; then
79996 ac_ext=cpp
79997 ac_cpp='$CXXCPP $CPPFLAGS'
79998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80003 ac_save_CXXFLAGS="$CXXFLAGS"
80004 CXXFLAGS="$CXXFLAGS -fno-exceptions \
80005 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
80007 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
80008 case $target_thread_file in
80009 posix)
80010 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
80011 esac
80013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
80014 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
80016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80017 /* end confdefs.h. */
80018 #include <unistd.h>
80020 main ()
80023 // In case of POSIX threads check _POSIX_TIMEOUTS.
80024 #if (defined(_PTHREADS) \
80025 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
80026 #error
80027 #endif
80030 return 0;
80032 _ACEOF
80033 if ac_fn_cxx_try_compile "$LINENO"; then :
80034 ac_gthread_use_mutex_timedlock=1
80035 else
80036 ac_gthread_use_mutex_timedlock=0
80038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80041 cat >>confdefs.h <<_ACEOF
80042 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
80043 _ACEOF
80046 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
80047 else res_mutex_timedlock=no ; fi
80048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
80049 $as_echo "$res_mutex_timedlock" >&6; }
80051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
80052 $as_echo_n "checking for gthreads library... " >&6; }
80054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80055 /* end confdefs.h. */
80056 #include "gthr.h"
80058 main ()
80061 #ifndef __GTHREADS_CXX0X
80062 #error
80063 #endif
80066 return 0;
80068 _ACEOF
80069 if ac_fn_cxx_try_compile "$LINENO"; then :
80070 ac_has_gthreads=yes
80071 else
80072 ac_has_gthreads=no
80074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80075 else
80076 ac_has_gthreads=no
80079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
80080 $as_echo "$ac_has_gthreads" >&6; }
80082 if test x"$ac_has_gthreads" = x"yes"; then
80084 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
80087 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
80088 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
80090 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
80092 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
80098 CXXFLAGS="$ac_save_CXXFLAGS"
80099 ac_ext=c
80100 ac_cpp='$CPP $CPPFLAGS'
80101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80107 # For Filesystem TS.
80108 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80109 do :
80110 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80111 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80112 eval as_val=\$$as_ac_Header
80113 if test "x$as_val" = x""yes; then :
80114 cat >>confdefs.h <<_ACEOF
80115 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80116 _ACEOF
80120 done
80123 # Check whether --enable-libstdcxx-filesystem-ts was given.
80124 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80125 enableval=$enable_libstdcxx_filesystem_ts;
80126 case "$enableval" in
80127 yes|no|auto) ;;
80128 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80129 esac
80131 else
80132 enable_libstdcxx_filesystem_ts=auto
80137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80138 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80139 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80140 enable_libstdcxx_filesystem_ts=no
80142 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80143 case "${target_os}" in
80144 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80145 enable_libstdcxx_filesystem_ts=yes
80147 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80148 enable_libstdcxx_filesystem_ts=yes
80150 solaris*)
80151 enable_libstdcxx_filesystem_ts=yes
80154 enable_libstdcxx_filesystem_ts=no
80156 esac
80158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80159 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80163 ac_ext=cpp
80164 ac_cpp='$CXXCPP $CPPFLAGS'
80165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80169 ac_save_CXXFLAGS="$CXXFLAGS"
80170 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80172 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80173 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80174 $as_echo_n "(cached) " >&6
80175 else
80176 if test x$gcc_no_link = xyes; then
80177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80178 /* end confdefs.h. */
80179 #include <dirent.h>
80181 main ()
80184 struct dirent d;
80185 if (sizeof d.d_type) return 0;
80188 return 0;
80190 _ACEOF
80191 if ac_fn_cxx_try_compile "$LINENO"; then :
80192 glibcxx_cv_dirent_d_type=yes
80193 else
80194 glibcxx_cv_dirent_d_type=no
80196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80197 else
80198 if test x$gcc_no_link = xyes; then
80199 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80202 /* end confdefs.h. */
80203 #include <dirent.h>
80205 main ()
80208 struct dirent d;
80209 if (sizeof d.d_type) return 0;
80212 return 0;
80214 _ACEOF
80215 if ac_fn_cxx_try_link "$LINENO"; then :
80216 glibcxx_cv_dirent_d_type=yes
80217 else
80218 glibcxx_cv_dirent_d_type=no
80220 rm -f core conftest.err conftest.$ac_objext \
80221 conftest$ac_exeext conftest.$ac_ext
80226 if test $glibcxx_cv_dirent_d_type = yes; then
80228 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80232 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80234 $as_echo_n "checking for realpath... " >&6; }
80235 if test "${glibcxx_cv_realpath+set}" = set; then :
80236 $as_echo_n "(cached) " >&6
80237 else
80238 if test x$gcc_no_link = xyes; then
80239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80240 /* end confdefs.h. */
80242 #include <limits.h>
80243 #include <stdlib.h>
80244 #include <unistd.h>
80247 main ()
80250 #if _XOPEN_VERSION < 500
80251 #error
80252 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80253 char *tmp = realpath((const char*)NULL, (char*)NULL);
80254 #else
80255 #error
80256 #endif
80259 return 0;
80261 _ACEOF
80262 if ac_fn_cxx_try_compile "$LINENO"; then :
80263 glibcxx_cv_realpath=yes
80264 else
80265 glibcxx_cv_realpath=no
80267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80268 else
80269 if test x$gcc_no_link = xyes; then
80270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80273 /* end confdefs.h. */
80275 #include <limits.h>
80276 #include <stdlib.h>
80277 #include <unistd.h>
80280 main ()
80283 #if _XOPEN_VERSION < 500
80284 #error
80285 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80286 char *tmp = realpath((const char*)NULL, (char*)NULL);
80287 #else
80288 #error
80289 #endif
80292 return 0;
80294 _ACEOF
80295 if ac_fn_cxx_try_link "$LINENO"; then :
80296 glibcxx_cv_realpath=yes
80297 else
80298 glibcxx_cv_realpath=no
80300 rm -f core conftest.err conftest.$ac_objext \
80301 conftest$ac_exeext conftest.$ac_ext
80306 if test $glibcxx_cv_realpath = yes; then
80308 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80312 $as_echo "$glibcxx_cv_realpath" >&6; }
80313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80314 $as_echo_n "checking for utimensat... " >&6; }
80315 if test "${glibcxx_cv_utimensat+set}" = set; then :
80316 $as_echo_n "(cached) " >&6
80317 else
80318 if test x$gcc_no_link = xyes; then
80319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80320 /* end confdefs.h. */
80322 #include <fcntl.h>
80323 #include <sys/stat.h>
80326 main ()
80329 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80330 int i = utimensat(AT_FDCWD, "path", ts, 0);
80333 return 0;
80335 _ACEOF
80336 if ac_fn_cxx_try_compile "$LINENO"; then :
80337 glibcxx_cv_utimensat=yes
80338 else
80339 glibcxx_cv_utimensat=no
80341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80342 else
80343 if test x$gcc_no_link = xyes; then
80344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80347 /* end confdefs.h. */
80349 #include <fcntl.h>
80350 #include <sys/stat.h>
80353 main ()
80356 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80357 int i = utimensat(AT_FDCWD, "path", ts, 0);
80360 return 0;
80362 _ACEOF
80363 if ac_fn_cxx_try_link "$LINENO"; then :
80364 glibcxx_cv_utimensat=yes
80365 else
80366 glibcxx_cv_utimensat=no
80368 rm -f core conftest.err conftest.$ac_objext \
80369 conftest$ac_exeext conftest.$ac_ext
80374 if test $glibcxx_cv_utimensat = yes; then
80376 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80380 $as_echo "$glibcxx_cv_utimensat" >&6; }
80381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80382 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80383 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80384 $as_echo_n "(cached) " >&6
80385 else
80386 if test x$gcc_no_link = xyes; then
80387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80388 /* end confdefs.h. */
80389 #include <sys/stat.h>
80391 main ()
80394 struct stat st;
80395 return st.st_mtim.tv_nsec;
80398 return 0;
80400 _ACEOF
80401 if ac_fn_cxx_try_compile "$LINENO"; then :
80402 glibcxx_cv_st_mtim=yes
80403 else
80404 glibcxx_cv_st_mtim=no
80406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80407 else
80408 if test x$gcc_no_link = xyes; then
80409 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80412 /* end confdefs.h. */
80413 #include <sys/stat.h>
80415 main ()
80418 struct stat st;
80419 return st.st_mtim.tv_nsec;
80422 return 0;
80424 _ACEOF
80425 if ac_fn_cxx_try_link "$LINENO"; then :
80426 glibcxx_cv_st_mtim=yes
80427 else
80428 glibcxx_cv_st_mtim=no
80430 rm -f core conftest.err conftest.$ac_objext \
80431 conftest$ac_exeext conftest.$ac_ext
80436 if test $glibcxx_cv_st_mtim = yes; then
80438 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80442 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80444 $as_echo_n "checking for fchmod... " >&6; }
80445 if test "${glibcxx_cv_fchmod+set}" = set; then :
80446 $as_echo_n "(cached) " >&6
80447 else
80448 if test x$gcc_no_link = xyes; then
80449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80450 /* end confdefs.h. */
80451 #include <sys/stat.h>
80453 main ()
80455 fchmod(1, S_IWUSR);
80457 return 0;
80459 _ACEOF
80460 if ac_fn_cxx_try_compile "$LINENO"; then :
80461 glibcxx_cv_fchmod=yes
80462 else
80463 glibcxx_cv_fchmod=no
80465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80466 else
80467 if test x$gcc_no_link = xyes; then
80468 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80471 /* end confdefs.h. */
80472 #include <sys/stat.h>
80474 main ()
80476 fchmod(1, S_IWUSR);
80478 return 0;
80480 _ACEOF
80481 if ac_fn_cxx_try_link "$LINENO"; then :
80482 glibcxx_cv_fchmod=yes
80483 else
80484 glibcxx_cv_fchmod=no
80486 rm -f core conftest.err conftest.$ac_objext \
80487 conftest$ac_exeext conftest.$ac_ext
80492 if test $glibcxx_cv_fchmod = yes; then
80494 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80498 $as_echo "$glibcxx_cv_fchmod" >&6; }
80499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80500 $as_echo_n "checking for fchmodat... " >&6; }
80501 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80502 $as_echo_n "(cached) " >&6
80503 else
80504 if test x$gcc_no_link = xyes; then
80505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80506 /* end confdefs.h. */
80508 #include <fcntl.h>
80509 #include <sys/stat.h>
80512 main ()
80514 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80516 return 0;
80518 _ACEOF
80519 if ac_fn_cxx_try_compile "$LINENO"; then :
80520 glibcxx_cv_fchmodat=yes
80521 else
80522 glibcxx_cv_fchmodat=no
80524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80525 else
80526 if test x$gcc_no_link = xyes; then
80527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80530 /* end confdefs.h. */
80532 #include <fcntl.h>
80533 #include <sys/stat.h>
80536 main ()
80538 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80540 return 0;
80542 _ACEOF
80543 if ac_fn_cxx_try_link "$LINENO"; then :
80544 glibcxx_cv_fchmodat=yes
80545 else
80546 glibcxx_cv_fchmodat=no
80548 rm -f core conftest.err conftest.$ac_objext \
80549 conftest$ac_exeext conftest.$ac_ext
80554 if test $glibcxx_cv_fchmodat = yes; then
80556 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80560 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80562 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80563 if test "${glibcxx_cv_sendfile+set}" = set; then :
80564 $as_echo_n "(cached) " >&6
80565 else
80566 case "${target_os}" in
80567 gnu* | linux* | solaris*)
80568 if test x$gcc_no_link = xyes; then
80569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80570 /* end confdefs.h. */
80571 #include <sys/sendfile.h>
80573 main ()
80575 sendfile(1, 2, (off_t*)0, sizeof 1);
80577 return 0;
80579 _ACEOF
80580 if ac_fn_cxx_try_compile "$LINENO"; then :
80581 glibcxx_cv_sendfile=yes
80582 else
80583 glibcxx_cv_sendfile=no
80585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80586 else
80587 if test x$gcc_no_link = xyes; then
80588 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80591 /* end confdefs.h. */
80592 #include <sys/sendfile.h>
80594 main ()
80596 sendfile(1, 2, (off_t*)0, sizeof 1);
80598 return 0;
80600 _ACEOF
80601 if ac_fn_cxx_try_link "$LINENO"; then :
80602 glibcxx_cv_sendfile=yes
80603 else
80604 glibcxx_cv_sendfile=no
80606 rm -f core conftest.err conftest.$ac_objext \
80607 conftest$ac_exeext conftest.$ac_ext
80611 glibcxx_cv_sendfile=no
80613 esac
80617 if test $glibcxx_cv_sendfile = yes; then
80619 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80623 $as_echo "$glibcxx_cv_sendfile" >&6; }
80624 CXXFLAGS="$ac_save_CXXFLAGS"
80625 ac_ext=c
80626 ac_cpp='$CPP $CPPFLAGS'
80627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80633 # For Transactional Memory TS
80635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80636 $as_echo_n "checking how size_t is mangled... " >&6; }
80637 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80638 $as_echo_n "(cached) " >&6
80639 else
80641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80642 /* end confdefs.h. */
80645 main ()
80647 extern __SIZE_TYPE__ x; extern unsigned long x;
80649 return 0;
80651 _ACEOF
80652 if ac_fn_c_try_compile "$LINENO"; then :
80653 glibcxx_cv_size_t_mangling=m
80654 else
80656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80657 /* end confdefs.h. */
80660 main ()
80662 extern __SIZE_TYPE__ x; extern unsigned int x;
80664 return 0;
80666 _ACEOF
80667 if ac_fn_c_try_compile "$LINENO"; then :
80668 glibcxx_cv_size_t_mangling=j
80669 else
80671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80672 /* end confdefs.h. */
80675 main ()
80677 extern __SIZE_TYPE__ x; extern unsigned long long x;
80679 return 0;
80681 _ACEOF
80682 if ac_fn_c_try_compile "$LINENO"; then :
80683 glibcxx_cv_size_t_mangling=y
80684 else
80686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80687 /* end confdefs.h. */
80690 main ()
80692 extern __SIZE_TYPE__ x; extern unsigned short x;
80694 return 0;
80696 _ACEOF
80697 if ac_fn_c_try_compile "$LINENO"; then :
80698 glibcxx_cv_size_t_mangling=t
80699 else
80700 glibcxx_cv_size_t_mangling=x
80702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80715 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80716 if test $glibcxx_cv_size_t_mangling = x; then
80717 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80720 cat >>confdefs.h <<_ACEOF
80721 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80722 _ACEOF
80726 # Check which release added std::exception_ptr for the target
80728 if test $enable_symvers != no; then
80729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80730 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80731 case ${target} in
80732 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80733 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80734 ac_exception_ptr_since_gcc46=yes
80737 # If the value of this macro changes then we will need to hardcode
80738 # yes/no here for additional targets based on the original value.
80739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80740 /* end confdefs.h. */
80743 main ()
80746 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80747 # error atomic int not always lock free
80748 #endif
80751 return 0;
80753 _ACEOF
80754 if ac_fn_c_try_compile "$LINENO"; then :
80755 ac_exception_ptr_since_gcc46=yes
80756 else
80757 ac_exception_ptr_since_gcc46=no
80759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80761 esac
80762 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80764 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80767 $as_echo "4.6.0" >&6; }
80768 else
80769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80770 $as_echo "7.1.0" >&6; }
80775 # Define documentation rules conditionally.
80777 # See if makeinfo has been installed and is modern enough
80778 # that we can use it.
80780 # Extract the first word of "makeinfo", so it can be a program name with args.
80781 set dummy makeinfo; ac_word=$2
80782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80783 $as_echo_n "checking for $ac_word... " >&6; }
80784 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80785 $as_echo_n "(cached) " >&6
80786 else
80787 if test -n "$MAKEINFO"; then
80788 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80789 else
80790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80791 for as_dir in $PATH
80793 IFS=$as_save_IFS
80794 test -z "$as_dir" && as_dir=.
80795 for ac_exec_ext in '' $ac_executable_extensions; do
80796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80797 ac_cv_prog_MAKEINFO="makeinfo"
80798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80799 break 2
80801 done
80802 done
80803 IFS=$as_save_IFS
80807 MAKEINFO=$ac_cv_prog_MAKEINFO
80808 if test -n "$MAKEINFO"; then
80809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80810 $as_echo "$MAKEINFO" >&6; }
80811 else
80812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80813 $as_echo "no" >&6; }
80817 if test -n "$MAKEINFO"; then
80818 # Found it, now check the version.
80819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80820 $as_echo_n "checking for modern makeinfo... " >&6; }
80821 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80822 $as_echo_n "(cached) " >&6
80823 else
80824 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80825 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80827 case $ac_prog_version in
80828 '') gcc_cv_prog_makeinfo_modern=no;;
80829 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80830 *) gcc_cv_prog_makeinfo_modern=no;;
80831 esac
80834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80835 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80836 else
80837 gcc_cv_prog_makeinfo_modern=no
80839 if test $gcc_cv_prog_makeinfo_modern = no; then
80840 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80843 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80844 BUILD_INFO_TRUE=
80845 BUILD_INFO_FALSE='#'
80846 else
80847 BUILD_INFO_TRUE='#'
80848 BUILD_INFO_FALSE=
80852 # Check for doxygen
80853 # Extract the first word of "doxygen", so it can be a program name with args.
80854 set dummy doxygen; ac_word=$2
80855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80856 $as_echo_n "checking for $ac_word... " >&6; }
80857 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80858 $as_echo_n "(cached) " >&6
80859 else
80860 if test -n "$DOXYGEN"; then
80861 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80862 else
80863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80864 for as_dir in $PATH
80866 IFS=$as_save_IFS
80867 test -z "$as_dir" && as_dir=.
80868 for ac_exec_ext in '' $ac_executable_extensions; do
80869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80870 ac_cv_prog_DOXYGEN="yes"
80871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80872 break 2
80874 done
80875 done
80876 IFS=$as_save_IFS
80878 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80881 DOXYGEN=$ac_cv_prog_DOXYGEN
80882 if test -n "$DOXYGEN"; then
80883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80884 $as_echo "$DOXYGEN" >&6; }
80885 else
80886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80887 $as_echo "no" >&6; }
80891 # Extract the first word of "dot", so it can be a program name with args.
80892 set dummy dot; ac_word=$2
80893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80894 $as_echo_n "checking for $ac_word... " >&6; }
80895 if test "${ac_cv_prog_DOT+set}" = set; then :
80896 $as_echo_n "(cached) " >&6
80897 else
80898 if test -n "$DOT"; then
80899 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80900 else
80901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80902 for as_dir in $PATH
80904 IFS=$as_save_IFS
80905 test -z "$as_dir" && as_dir=.
80906 for ac_exec_ext in '' $ac_executable_extensions; do
80907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80908 ac_cv_prog_DOT="yes"
80909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80910 break 2
80912 done
80913 done
80914 IFS=$as_save_IFS
80916 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80919 DOT=$ac_cv_prog_DOT
80920 if test -n "$DOT"; then
80921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80922 $as_echo "$DOT" >&6; }
80923 else
80924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80925 $as_echo "no" >&6; }
80930 # Check for docbook
80931 # Extract the first word of "xsltproc", so it can be a program name with args.
80932 set dummy xsltproc; ac_word=$2
80933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80934 $as_echo_n "checking for $ac_word... " >&6; }
80935 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80936 $as_echo_n "(cached) " >&6
80937 else
80938 if test -n "$XSLTPROC"; then
80939 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80940 else
80941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80942 for as_dir in $PATH
80944 IFS=$as_save_IFS
80945 test -z "$as_dir" && as_dir=.
80946 for ac_exec_ext in '' $ac_executable_extensions; do
80947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80948 ac_cv_prog_XSLTPROC="yes"
80949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80950 break 2
80952 done
80953 done
80954 IFS=$as_save_IFS
80956 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80959 XSLTPROC=$ac_cv_prog_XSLTPROC
80960 if test -n "$XSLTPROC"; then
80961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80962 $as_echo "$XSLTPROC" >&6; }
80963 else
80964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80965 $as_echo "no" >&6; }
80969 # Extract the first word of "xmllint", so it can be a program name with args.
80970 set dummy xmllint; ac_word=$2
80971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80972 $as_echo_n "checking for $ac_word... " >&6; }
80973 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80974 $as_echo_n "(cached) " >&6
80975 else
80976 if test -n "$XMLLINT"; then
80977 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80978 else
80979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80980 for as_dir in $PATH
80982 IFS=$as_save_IFS
80983 test -z "$as_dir" && as_dir=.
80984 for ac_exec_ext in '' $ac_executable_extensions; do
80985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80986 ac_cv_prog_XMLLINT="yes"
80987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80988 break 2
80990 done
80991 done
80992 IFS=$as_save_IFS
80994 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80997 XMLLINT=$ac_cv_prog_XMLLINT
80998 if test -n "$XMLLINT"; then
80999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81000 $as_echo "$XMLLINT" >&6; }
81001 else
81002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81003 $as_echo "no" >&6; }
81009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81010 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81011 glibcxx_stylesheets=no
81012 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
81013 glibcxx_stylesheets=yes
81015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81016 $as_echo "$glibcxx_stylesheets" >&6; }
81018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81019 $as_echo_n "checking for local stylesheet directory... " >&6; }
81020 glibcxx_local_stylesheets=no
81021 if test x"$glibcxx_stylesheets" = x"yes"; then
81022 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
81023 glibcxx_local_stylesheets=yes
81024 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
81026 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
81027 glibcxx_local_stylesheets=yes
81028 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
81030 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
81031 glibcxx_local_stylesheets=yes
81032 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
81035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81036 $as_echo "$glibcxx_local_stylesheets" >&6; }
81038 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81040 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81041 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81042 else
81043 glibcxx_stylesheets=no
81046 # Check for epub3 dependencies.
81047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81048 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81049 glibcxx_epub_stylesheets=no
81050 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81051 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81052 glibcxx_epub_stylesheets=yes
81055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81056 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81057 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81058 BUILD_EPUB_TRUE=
81059 BUILD_EPUB_FALSE='#'
81060 else
81061 BUILD_EPUB_TRUE='#'
81062 BUILD_EPUB_FALSE=
81068 # Check for xml/html dependencies.
81069 if test $ac_cv_prog_DOXYGEN = "yes" &&
81070 test $ac_cv_prog_DOT = "yes" &&
81071 test $ac_cv_prog_XSLTPROC = "yes" &&
81072 test $ac_cv_prog_XMLLINT = "yes" &&
81073 test $glibcxx_stylesheets = "yes"; then
81074 BUILD_XML_TRUE=
81075 BUILD_XML_FALSE='#'
81076 else
81077 BUILD_XML_TRUE='#'
81078 BUILD_XML_FALSE=
81082 if test $ac_cv_prog_DOXYGEN = "yes" &&
81083 test $ac_cv_prog_DOT = "yes" &&
81084 test $ac_cv_prog_XSLTPROC = "yes" &&
81085 test $ac_cv_prog_XMLLINT = "yes" &&
81086 test $glibcxx_stylesheets = "yes"; then
81087 BUILD_HTML_TRUE=
81088 BUILD_HTML_FALSE='#'
81089 else
81090 BUILD_HTML_TRUE='#'
81091 BUILD_HTML_FALSE=
81095 # Check for man dependencies.
81096 if test $ac_cv_prog_DOXYGEN = "yes" &&
81097 test $ac_cv_prog_DOT = "yes"; then
81098 BUILD_MAN_TRUE=
81099 BUILD_MAN_FALSE='#'
81100 else
81101 BUILD_MAN_TRUE='#'
81102 BUILD_MAN_FALSE=
81106 # Check for pdf dependencies.
81107 # Extract the first word of "dblatex", so it can be a program name with args.
81108 set dummy dblatex; ac_word=$2
81109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81110 $as_echo_n "checking for $ac_word... " >&6; }
81111 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81112 $as_echo_n "(cached) " >&6
81113 else
81114 if test -n "$DBLATEX"; then
81115 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81116 else
81117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81118 for as_dir in $PATH
81120 IFS=$as_save_IFS
81121 test -z "$as_dir" && as_dir=.
81122 for ac_exec_ext in '' $ac_executable_extensions; do
81123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81124 ac_cv_prog_DBLATEX="yes"
81125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81126 break 2
81128 done
81129 done
81130 IFS=$as_save_IFS
81132 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81135 DBLATEX=$ac_cv_prog_DBLATEX
81136 if test -n "$DBLATEX"; then
81137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81138 $as_echo "$DBLATEX" >&6; }
81139 else
81140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81141 $as_echo "no" >&6; }
81145 # Extract the first word of "pdflatex", so it can be a program name with args.
81146 set dummy pdflatex; ac_word=$2
81147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81148 $as_echo_n "checking for $ac_word... " >&6; }
81149 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81150 $as_echo_n "(cached) " >&6
81151 else
81152 if test -n "$PDFLATEX"; then
81153 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81154 else
81155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81156 for as_dir in $PATH
81158 IFS=$as_save_IFS
81159 test -z "$as_dir" && as_dir=.
81160 for ac_exec_ext in '' $ac_executable_extensions; do
81161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81162 ac_cv_prog_PDFLATEX="yes"
81163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81164 break 2
81166 done
81167 done
81168 IFS=$as_save_IFS
81170 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81173 PDFLATEX=$ac_cv_prog_PDFLATEX
81174 if test -n "$PDFLATEX"; then
81175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81176 $as_echo "$PDFLATEX" >&6; }
81177 else
81178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81179 $as_echo "no" >&6; }
81183 if test $ac_cv_prog_DBLATEX = "yes" &&
81184 test $ac_cv_prog_PDFLATEX = "yes"; then
81185 BUILD_PDF_TRUE=
81186 BUILD_PDF_FALSE='#'
81187 else
81188 BUILD_PDF_TRUE='#'
81189 BUILD_PDF_FALSE=
81194 # Propagate the target-specific source directories through the build chain.
81195 ATOMICITY_SRCDIR=config/${atomicity_dir}
81196 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81197 ATOMIC_FLAGS=${atomic_flags}
81198 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81199 OS_INC_SRCDIR=config/${os_include_dir}
81200 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81201 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81202 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81203 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81215 # Determine cross-compile flags and AM_CONDITIONALs.
81216 #AC_SUBST(GLIBCXX_IS_NATIVE)
81217 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81218 if test $is_hosted = yes; then
81219 GLIBCXX_HOSTED_TRUE=
81220 GLIBCXX_HOSTED_FALSE='#'
81221 else
81222 GLIBCXX_HOSTED_TRUE='#'
81223 GLIBCXX_HOSTED_FALSE=
81227 if test $enable_libstdcxx_pch = yes; then
81228 GLIBCXX_BUILD_PCH_TRUE=
81229 GLIBCXX_BUILD_PCH_FALSE='#'
81230 else
81231 GLIBCXX_BUILD_PCH_TRUE='#'
81232 GLIBCXX_BUILD_PCH_FALSE=
81236 if test $enable_libstdcxx_allocator_flag = new; then
81237 ENABLE_ALLOCATOR_NEW_TRUE=
81238 ENABLE_ALLOCATOR_NEW_FALSE='#'
81239 else
81240 ENABLE_ALLOCATOR_NEW_TRUE='#'
81241 ENABLE_ALLOCATOR_NEW_FALSE=
81245 if test $enable_cheaders = c; then
81246 GLIBCXX_C_HEADERS_C_TRUE=
81247 GLIBCXX_C_HEADERS_C_FALSE='#'
81248 else
81249 GLIBCXX_C_HEADERS_C_TRUE='#'
81250 GLIBCXX_C_HEADERS_C_FALSE=
81254 if test $enable_cheaders = c_std; then
81255 GLIBCXX_C_HEADERS_C_STD_TRUE=
81256 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81257 else
81258 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81259 GLIBCXX_C_HEADERS_C_STD_FALSE=
81263 if test $enable_cheaders = c_global; then
81264 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81265 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81266 else
81267 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81268 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81272 if test $c_compatibility = yes; then
81273 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81274 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81275 else
81276 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81277 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81281 if test $enable_libstdcxx_debug = yes; then
81282 GLIBCXX_BUILD_DEBUG_TRUE=
81283 GLIBCXX_BUILD_DEBUG_FALSE='#'
81284 else
81285 GLIBCXX_BUILD_DEBUG_TRUE='#'
81286 GLIBCXX_BUILD_DEBUG_FALSE=
81290 if test $enable_extern_template = yes; then
81291 ENABLE_EXTERN_TEMPLATE_TRUE=
81292 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81293 else
81294 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81295 ENABLE_EXTERN_TEMPLATE_FALSE=
81299 if test $python_mod_dir != no; then
81300 ENABLE_PYTHONDIR_TRUE=
81301 ENABLE_PYTHONDIR_FALSE='#'
81302 else
81303 ENABLE_PYTHONDIR_TRUE='#'
81304 ENABLE_PYTHONDIR_FALSE=
81308 if test $enable_werror = yes; then
81309 ENABLE_WERROR_TRUE=
81310 ENABLE_WERROR_FALSE='#'
81311 else
81312 ENABLE_WERROR_TRUE='#'
81313 ENABLE_WERROR_FALSE=
81317 if test $enable_vtable_verify = yes; then
81318 ENABLE_VTABLE_VERIFY_TRUE=
81319 ENABLE_VTABLE_VERIFY_FALSE='#'
81320 else
81321 ENABLE_VTABLE_VERIFY_TRUE='#'
81322 ENABLE_VTABLE_VERIFY_FALSE=
81326 if test $enable_symvers != no; then
81327 ENABLE_SYMVERS_TRUE=
81328 ENABLE_SYMVERS_FALSE='#'
81329 else
81330 ENABLE_SYMVERS_TRUE='#'
81331 ENABLE_SYMVERS_FALSE=
81335 if test $enable_symvers = gnu; then
81336 ENABLE_SYMVERS_GNU_TRUE=
81337 ENABLE_SYMVERS_GNU_FALSE='#'
81338 else
81339 ENABLE_SYMVERS_GNU_TRUE='#'
81340 ENABLE_SYMVERS_GNU_FALSE=
81344 if test $enable_symvers = gnu-versioned-namespace; then
81345 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81346 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81347 else
81348 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81349 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81353 if test $enable_symvers = darwin; then
81354 ENABLE_SYMVERS_DARWIN_TRUE=
81355 ENABLE_SYMVERS_DARWIN_FALSE='#'
81356 else
81357 ENABLE_SYMVERS_DARWIN_TRUE='#'
81358 ENABLE_SYMVERS_DARWIN_FALSE=
81362 if test $enable_symvers = sun; then
81363 ENABLE_SYMVERS_SUN_TRUE=
81364 ENABLE_SYMVERS_SUN_FALSE='#'
81365 else
81366 ENABLE_SYMVERS_SUN_TRUE='#'
81367 ENABLE_SYMVERS_SUN_FALSE=
81371 if test $enable_libstdcxx_visibility = yes; then
81372 ENABLE_VISIBILITY_TRUE=
81373 ENABLE_VISIBILITY_FALSE='#'
81374 else
81375 ENABLE_VISIBILITY_TRUE='#'
81376 ENABLE_VISIBILITY_FALSE=
81380 if test $enable_libstdcxx_dual_abi = yes; then
81381 ENABLE_DUAL_ABI_TRUE=
81382 ENABLE_DUAL_ABI_FALSE='#'
81383 else
81384 ENABLE_DUAL_ABI_TRUE='#'
81385 ENABLE_DUAL_ABI_FALSE=
81389 if test $glibcxx_cxx11_abi = 1; then
81390 ENABLE_CXX11_ABI_TRUE=
81391 ENABLE_CXX11_ABI_FALSE='#'
81392 else
81393 ENABLE_CXX11_ABI_TRUE='#'
81394 ENABLE_CXX11_ABI_FALSE=
81398 if test $ac_ldbl_compat = yes; then
81399 GLIBCXX_LDBL_COMPAT_TRUE=
81400 GLIBCXX_LDBL_COMPAT_FALSE='#'
81401 else
81402 GLIBCXX_LDBL_COMPAT_TRUE='#'
81403 GLIBCXX_LDBL_COMPAT_FALSE=
81407 if test $enable_libstdcxx_filesystem_ts = yes; then
81408 ENABLE_FILESYSTEM_TS_TRUE=
81409 ENABLE_FILESYSTEM_TS_FALSE='#'
81410 else
81411 ENABLE_FILESYSTEM_TS_TRUE='#'
81412 ENABLE_FILESYSTEM_TS_FALSE=
81418 cat >confcache <<\_ACEOF
81419 # This file is a shell script that caches the results of configure
81420 # tests run on this system so they can be shared between configure
81421 # scripts and configure runs, see configure's option --config-cache.
81422 # It is not useful on other systems. If it contains results you don't
81423 # want to keep, you may remove or edit it.
81425 # config.status only pays attention to the cache file if you give it
81426 # the --recheck option to rerun configure.
81428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81430 # following values.
81432 _ACEOF
81434 # The following way of writing the cache mishandles newlines in values,
81435 # but we know of no workaround that is simple, portable, and efficient.
81436 # So, we kill variables containing newlines.
81437 # Ultrix sh set writes to stderr and can't be redirected directly,
81438 # and sets the high bit in the cache file unless we assign to the vars.
81440 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81441 eval ac_val=\$$ac_var
81442 case $ac_val in #(
81443 *${as_nl}*)
81444 case $ac_var in #(
81445 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81446 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81447 esac
81448 case $ac_var in #(
81449 _ | IFS | as_nl) ;; #(
81450 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81451 *) { eval $ac_var=; unset $ac_var;} ;;
81452 esac ;;
81453 esac
81454 done
81456 (set) 2>&1 |
81457 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81458 *${as_nl}ac_space=\ *)
81459 # `set' does not quote correctly, so add quotes: double-quote
81460 # substitution turns \\\\ into \\, and sed turns \\ into \.
81461 sed -n \
81462 "s/'/'\\\\''/g;
81463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81464 ;; #(
81466 # `set' quotes correctly as required by POSIX, so do not add quotes.
81467 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81469 esac |
81470 sort
81472 sed '
81473 /^ac_cv_env_/b end
81474 t clear
81475 :clear
81476 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81477 t end
81478 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81479 :end' >>confcache
81480 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81481 if test -w "$cache_file"; then
81482 test "x$cache_file" != "x/dev/null" &&
81483 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81484 $as_echo "$as_me: updating cache $cache_file" >&6;}
81485 cat confcache >$cache_file
81486 else
81487 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81488 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81491 rm -f confcache
81493 if test ${multilib} = yes; then
81494 multilib_arg="--enable-multilib"
81495 else
81496 multilib_arg=
81499 # Export all the install information.
81501 glibcxx_toolexecdir=no
81502 glibcxx_toolexeclibdir=no
81503 glibcxx_prefixdir=$prefix
81505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81506 $as_echo_n "checking for gxx-include-dir... " >&6; }
81508 # Check whether --with-gxx-include-dir was given.
81509 if test "${with_gxx_include_dir+set}" = set; then :
81510 withval=$with_gxx_include_dir; case "$withval" in
81511 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81512 no) gxx_include_dir=no ;;
81513 *) gxx_include_dir=$withval ;;
81514 esac
81515 else
81516 gxx_include_dir=no
81519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81520 $as_echo "$gxx_include_dir" >&6; }
81522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81523 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81524 # Check whether --enable-version-specific-runtime-libs was given.
81525 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81526 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81527 yes) version_specific_libs=yes ;;
81528 no) version_specific_libs=no ;;
81529 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81530 esac
81531 else
81532 version_specific_libs=no
81535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81536 $as_echo "$version_specific_libs" >&6; }
81538 # Default case for install directory for include files.
81539 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81540 gxx_include_dir='include/c++/${gcc_version}'
81541 if test -n "$with_cross_host" &&
81542 test x"$with_cross_host" != x"no"; then
81543 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81544 else
81545 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81549 # Version-specific runtime libs processing.
81550 if test $version_specific_libs = yes; then
81551 # Need the gcc compiler version to know where to install libraries
81552 # and header files if --enable-version-specific-runtime-libs option
81553 # is selected. FIXME: these variables are misnamed, there are
81554 # no executables installed in _toolexecdir or _toolexeclibdir.
81555 if test x"$gxx_include_dir" = x"no"; then
81556 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81558 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81559 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81562 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81563 # Install a library built with a cross compiler in tooldir, not libdir.
81564 if test x"$glibcxx_toolexecdir" = x"no"; then
81565 if test -n "$with_cross_host" &&
81566 test x"$with_cross_host" != x"no"; then
81567 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81568 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81569 else
81570 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81571 glibcxx_toolexeclibdir='${libdir}'
81573 multi_os_directory=`$CXX -print-multi-os-directory`
81574 case $multi_os_directory in
81575 .) ;; # Avoid trailing /.
81576 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81577 esac
81580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81581 $as_echo_n "checking for install location... " >&6; }
81582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81583 $as_echo "$gxx_include_dir" >&6; }
81591 # Export all the include and flag information to Makefiles.
81593 # Used for every C++ compile we perform.
81594 GLIBCXX_INCLUDES="\
81595 -I$glibcxx_builddir/include/$host_alias \
81596 -I$glibcxx_builddir/include \
81597 -I$glibcxx_srcdir/libsupc++"
81599 # For Canadian crosses, pick this up too.
81600 if test $CANADIAN = yes; then
81601 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81604 # Stuff in the actual top level. Currently only used by libsupc++ to
81605 # get unwind* headers from the libgcc dir.
81606 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81607 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81609 # Now, export this to all the little Makefiles....
81614 # Optimization flags that are probably a good idea for thrill-seekers. Just
81615 # uncomment the lines below and make, everything else is ready to go...
81616 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81617 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81620 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81624 ac_config_files="$ac_config_files Makefile"
81626 ac_config_files="$ac_config_files scripts/testsuite_flags"
81628 ac_config_files="$ac_config_files scripts/extract_symvers"
81630 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81633 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81634 # that multilib installs will end up installed in the correct place.
81635 # The testsuite needs it for multilib-aware ABI baseline files.
81636 # To work around this not being passed down from config-ml.in ->
81637 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81638 # append it here. Only modify Makefiles that have just been created.
81640 # Also, get rid of this simulated-VPATH thing that automake does.
81641 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"
81644 ac_config_commands="$ac_config_commands generate-headers"
81647 cat >confcache <<\_ACEOF
81648 # This file is a shell script that caches the results of configure
81649 # tests run on this system so they can be shared between configure
81650 # scripts and configure runs, see configure's option --config-cache.
81651 # It is not useful on other systems. If it contains results you don't
81652 # want to keep, you may remove or edit it.
81654 # config.status only pays attention to the cache file if you give it
81655 # the --recheck option to rerun configure.
81657 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81658 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81659 # following values.
81661 _ACEOF
81663 # The following way of writing the cache mishandles newlines in values,
81664 # but we know of no workaround that is simple, portable, and efficient.
81665 # So, we kill variables containing newlines.
81666 # Ultrix sh set writes to stderr and can't be redirected directly,
81667 # and sets the high bit in the cache file unless we assign to the vars.
81669 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81670 eval ac_val=\$$ac_var
81671 case $ac_val in #(
81672 *${as_nl}*)
81673 case $ac_var in #(
81674 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81675 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81676 esac
81677 case $ac_var in #(
81678 _ | IFS | as_nl) ;; #(
81679 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81680 *) { eval $ac_var=; unset $ac_var;} ;;
81681 esac ;;
81682 esac
81683 done
81685 (set) 2>&1 |
81686 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81687 *${as_nl}ac_space=\ *)
81688 # `set' does not quote correctly, so add quotes: double-quote
81689 # substitution turns \\\\ into \\, and sed turns \\ into \.
81690 sed -n \
81691 "s/'/'\\\\''/g;
81692 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81693 ;; #(
81695 # `set' quotes correctly as required by POSIX, so do not add quotes.
81696 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81698 esac |
81699 sort
81701 sed '
81702 /^ac_cv_env_/b end
81703 t clear
81704 :clear
81705 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81706 t end
81707 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81708 :end' >>confcache
81709 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81710 if test -w "$cache_file"; then
81711 test "x$cache_file" != "x/dev/null" &&
81712 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81713 $as_echo "$as_me: updating cache $cache_file" >&6;}
81714 cat confcache >$cache_file
81715 else
81716 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81717 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81720 rm -f confcache
81722 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81723 # Let make expand exec_prefix.
81724 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81726 DEFS=-DHAVE_CONFIG_H
81728 ac_libobjs=
81729 ac_ltlibobjs=
81730 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81731 # 1. Remove the extension, and $U if already installed.
81732 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81733 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81734 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81735 # will be set to the directory where LIBOBJS objects are built.
81736 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81737 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81738 done
81739 LIBOBJS=$ac_libobjs
81741 LTLIBOBJS=$ac_ltlibobjs
81744 if test -n "$EXEEXT"; then
81745 am__EXEEXT_TRUE=
81746 am__EXEEXT_FALSE='#'
81747 else
81748 am__EXEEXT_TRUE='#'
81749 am__EXEEXT_FALSE=
81752 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81753 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81756 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81757 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81760 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81761 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81764 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81765 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81768 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81769 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81772 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81773 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81776 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81777 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81780 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81781 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81784 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81785 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81788 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81789 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81792 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81793 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81796 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81797 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81800 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81801 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81804 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81805 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81808 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81809 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81812 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81813 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81816 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81817 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81820 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81821 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81824 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81825 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81828 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81829 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81832 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81833 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81836 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81837 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81840 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81841 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81844 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81845 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81848 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81849 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81852 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81853 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81856 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81857 as_fn_error "conditional \"BUILD_XML\" was never defined.
81858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81860 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81861 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81864 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81865 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81868 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81869 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81873 : ${CONFIG_STATUS=./config.status}
81874 ac_write_fail=0
81875 ac_clean_files_save=$ac_clean_files
81876 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81877 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81878 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81879 as_write_fail=0
81880 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81881 #! $SHELL
81882 # Generated by $as_me.
81883 # Run this file to recreate the current configuration.
81884 # Compiler output produced by configure, useful for debugging
81885 # configure, is in config.log if it exists.
81887 debug=false
81888 ac_cs_recheck=false
81889 ac_cs_silent=false
81891 SHELL=\${CONFIG_SHELL-$SHELL}
81892 export SHELL
81893 _ASEOF
81894 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81895 ## -------------------- ##
81896 ## M4sh Initialization. ##
81897 ## -------------------- ##
81899 # Be more Bourne compatible
81900 DUALCASE=1; export DUALCASE # for MKS sh
81901 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81902 emulate sh
81903 NULLCMD=:
81904 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81905 # is contrary to our usage. Disable this feature.
81906 alias -g '${1+"$@"}'='"$@"'
81907 setopt NO_GLOB_SUBST
81908 else
81909 case `(set -o) 2>/dev/null` in #(
81910 *posix*) :
81911 set -o posix ;; #(
81912 *) :
81914 esac
81918 as_nl='
81920 export as_nl
81921 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81922 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81923 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81924 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81925 # Prefer a ksh shell builtin over an external printf program on Solaris,
81926 # but without wasting forks for bash or zsh.
81927 if test -z "$BASH_VERSION$ZSH_VERSION" \
81928 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81929 as_echo='print -r --'
81930 as_echo_n='print -rn --'
81931 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81932 as_echo='printf %s\n'
81933 as_echo_n='printf %s'
81934 else
81935 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81936 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81937 as_echo_n='/usr/ucb/echo -n'
81938 else
81939 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81940 as_echo_n_body='eval
81941 arg=$1;
81942 case $arg in #(
81943 *"$as_nl"*)
81944 expr "X$arg" : "X\\(.*\\)$as_nl";
81945 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81946 esac;
81947 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81949 export as_echo_n_body
81950 as_echo_n='sh -c $as_echo_n_body as_echo'
81952 export as_echo_body
81953 as_echo='sh -c $as_echo_body as_echo'
81956 # The user is always right.
81957 if test "${PATH_SEPARATOR+set}" != set; then
81958 PATH_SEPARATOR=:
81959 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81960 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81961 PATH_SEPARATOR=';'
81966 # IFS
81967 # We need space, tab and new line, in precisely that order. Quoting is
81968 # there to prevent editors from complaining about space-tab.
81969 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81970 # splitting by setting IFS to empty value.)
81971 IFS=" "" $as_nl"
81973 # Find who we are. Look in the path if we contain no directory separator.
81974 case $0 in #((
81975 *[\\/]* ) as_myself=$0 ;;
81976 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81977 for as_dir in $PATH
81979 IFS=$as_save_IFS
81980 test -z "$as_dir" && as_dir=.
81981 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81982 done
81983 IFS=$as_save_IFS
81986 esac
81987 # We did not find ourselves, most probably we were run as `sh COMMAND'
81988 # in which case we are not to be found in the path.
81989 if test "x$as_myself" = x; then
81990 as_myself=$0
81992 if test ! -f "$as_myself"; then
81993 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81994 exit 1
81997 # Unset variables that we do not need and which cause bugs (e.g. in
81998 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81999 # suppresses any "Segmentation fault" message there. '((' could
82000 # trigger a bug in pdksh 5.2.14.
82001 for as_var in BASH_ENV ENV MAIL MAILPATH
82002 do eval test x\${$as_var+set} = xset \
82003 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82004 done
82005 PS1='$ '
82006 PS2='> '
82007 PS4='+ '
82009 # NLS nuisances.
82010 LC_ALL=C
82011 export LC_ALL
82012 LANGUAGE=C
82013 export LANGUAGE
82015 # CDPATH.
82016 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82019 # as_fn_error ERROR [LINENO LOG_FD]
82020 # ---------------------------------
82021 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82022 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82023 # script with status $?, using 1 if that was 0.
82024 as_fn_error ()
82026 as_status=$?; test $as_status -eq 0 && as_status=1
82027 if test "$3"; then
82028 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82029 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82031 $as_echo "$as_me: error: $1" >&2
82032 as_fn_exit $as_status
82033 } # as_fn_error
82036 # as_fn_set_status STATUS
82037 # -----------------------
82038 # Set $? to STATUS, without forking.
82039 as_fn_set_status ()
82041 return $1
82042 } # as_fn_set_status
82044 # as_fn_exit STATUS
82045 # -----------------
82046 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82047 as_fn_exit ()
82049 set +e
82050 as_fn_set_status $1
82051 exit $1
82052 } # as_fn_exit
82054 # as_fn_unset VAR
82055 # ---------------
82056 # Portably unset VAR.
82057 as_fn_unset ()
82059 { eval $1=; unset $1;}
82061 as_unset=as_fn_unset
82062 # as_fn_append VAR VALUE
82063 # ----------------------
82064 # Append the text in VALUE to the end of the definition contained in VAR. Take
82065 # advantage of any shell optimizations that allow amortized linear growth over
82066 # repeated appends, instead of the typical quadratic growth present in naive
82067 # implementations.
82068 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82069 eval 'as_fn_append ()
82071 eval $1+=\$2
82073 else
82074 as_fn_append ()
82076 eval $1=\$$1\$2
82078 fi # as_fn_append
82080 # as_fn_arith ARG...
82081 # ------------------
82082 # Perform arithmetic evaluation on the ARGs, and store the result in the
82083 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82084 # must be portable across $(()) and expr.
82085 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82086 eval 'as_fn_arith ()
82088 as_val=$(( $* ))
82090 else
82091 as_fn_arith ()
82093 as_val=`expr "$@" || test $? -eq 1`
82095 fi # as_fn_arith
82098 if expr a : '\(a\)' >/dev/null 2>&1 &&
82099 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82100 as_expr=expr
82101 else
82102 as_expr=false
82105 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82106 as_basename=basename
82107 else
82108 as_basename=false
82111 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82112 as_dirname=dirname
82113 else
82114 as_dirname=false
82117 as_me=`$as_basename -- "$0" ||
82118 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82119 X"$0" : 'X\(//\)$' \| \
82120 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82121 $as_echo X/"$0" |
82122 sed '/^.*\/\([^/][^/]*\)\/*$/{
82123 s//\1/
82126 /^X\/\(\/\/\)$/{
82127 s//\1/
82130 /^X\/\(\/\).*/{
82131 s//\1/
82134 s/.*/./; q'`
82136 # Avoid depending upon Character Ranges.
82137 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82138 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82139 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82140 as_cr_digits='0123456789'
82141 as_cr_alnum=$as_cr_Letters$as_cr_digits
82143 ECHO_C= ECHO_N= ECHO_T=
82144 case `echo -n x` in #(((((
82145 -n*)
82146 case `echo 'xy\c'` in
82147 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82148 xy) ECHO_C='\c';;
82149 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82150 ECHO_T=' ';;
82151 esac;;
82153 ECHO_N='-n';;
82154 esac
82156 rm -f conf$$ conf$$.exe conf$$.file
82157 if test -d conf$$.dir; then
82158 rm -f conf$$.dir/conf$$.file
82159 else
82160 rm -f conf$$.dir
82161 mkdir conf$$.dir 2>/dev/null
82163 if (echo >conf$$.file) 2>/dev/null; then
82164 if ln -s conf$$.file conf$$ 2>/dev/null; then
82165 as_ln_s='ln -s'
82166 # ... but there are two gotchas:
82167 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82168 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82169 # In both cases, we have to default to `cp -p'.
82170 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82171 as_ln_s='cp -p'
82172 elif ln conf$$.file conf$$ 2>/dev/null; then
82173 as_ln_s=ln
82174 else
82175 as_ln_s='cp -p'
82177 else
82178 as_ln_s='cp -p'
82180 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82181 rmdir conf$$.dir 2>/dev/null
82184 # as_fn_mkdir_p
82185 # -------------
82186 # Create "$as_dir" as a directory, including parents if necessary.
82187 as_fn_mkdir_p ()
82190 case $as_dir in #(
82191 -*) as_dir=./$as_dir;;
82192 esac
82193 test -d "$as_dir" || eval $as_mkdir_p || {
82194 as_dirs=
82195 while :; do
82196 case $as_dir in #(
82197 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82198 *) as_qdir=$as_dir;;
82199 esac
82200 as_dirs="'$as_qdir' $as_dirs"
82201 as_dir=`$as_dirname -- "$as_dir" ||
82202 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82203 X"$as_dir" : 'X\(//\)[^/]' \| \
82204 X"$as_dir" : 'X\(//\)$' \| \
82205 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82206 $as_echo X"$as_dir" |
82207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82208 s//\1/
82211 /^X\(\/\/\)[^/].*/{
82212 s//\1/
82215 /^X\(\/\/\)$/{
82216 s//\1/
82219 /^X\(\/\).*/{
82220 s//\1/
82223 s/.*/./; q'`
82224 test -d "$as_dir" && break
82225 done
82226 test -z "$as_dirs" || eval "mkdir $as_dirs"
82227 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82230 } # as_fn_mkdir_p
82231 if mkdir -p . 2>/dev/null; then
82232 as_mkdir_p='mkdir -p "$as_dir"'
82233 else
82234 test -d ./-p && rmdir ./-p
82235 as_mkdir_p=false
82238 if test -x / >/dev/null 2>&1; then
82239 as_test_x='test -x'
82240 else
82241 if ls -dL / >/dev/null 2>&1; then
82242 as_ls_L_option=L
82243 else
82244 as_ls_L_option=
82246 as_test_x='
82247 eval sh -c '\''
82248 if test -d "$1"; then
82249 test -d "$1/.";
82250 else
82251 case $1 in #(
82252 -*)set "./$1";;
82253 esac;
82254 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82255 ???[sx]*):;;*)false;;esac;fi
82256 '\'' sh
82259 as_executable_p=$as_test_x
82261 # Sed expression to map a string onto a valid CPP name.
82262 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82264 # Sed expression to map a string onto a valid variable name.
82265 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82268 exec 6>&1
82269 ## ----------------------------------- ##
82270 ## Main body of $CONFIG_STATUS script. ##
82271 ## ----------------------------------- ##
82272 _ASEOF
82273 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82276 # Save the log message, to keep $0 and so on meaningful, and to
82277 # report actual input values of CONFIG_FILES etc. instead of their
82278 # values after options handling.
82279 ac_log="
82280 This file was extended by package-unused $as_me version-unused, which was
82281 generated by GNU Autoconf 2.64. Invocation command line was
82283 CONFIG_FILES = $CONFIG_FILES
82284 CONFIG_HEADERS = $CONFIG_HEADERS
82285 CONFIG_LINKS = $CONFIG_LINKS
82286 CONFIG_COMMANDS = $CONFIG_COMMANDS
82287 $ $0 $@
82289 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82292 _ACEOF
82294 case $ac_config_files in *"
82295 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82296 esac
82298 case $ac_config_headers in *"
82299 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82300 esac
82303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82304 # Files that config.status was made for.
82305 config_files="$ac_config_files"
82306 config_headers="$ac_config_headers"
82307 config_commands="$ac_config_commands"
82309 _ACEOF
82311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82312 ac_cs_usage="\
82313 \`$as_me' instantiates files and other configuration actions
82314 from templates according to the current configuration. Unless the files
82315 and actions are specified as TAGs, all are instantiated by default.
82317 Usage: $0 [OPTION]... [TAG]...
82319 -h, --help print this help, then exit
82320 -V, --version print version number and configuration settings, then exit
82321 -q, --quiet, --silent
82322 do not print progress messages
82323 -d, --debug don't remove temporary files
82324 --recheck update $as_me by reconfiguring in the same conditions
82325 --file=FILE[:TEMPLATE]
82326 instantiate the configuration file FILE
82327 --header=FILE[:TEMPLATE]
82328 instantiate the configuration header FILE
82330 Configuration files:
82331 $config_files
82333 Configuration headers:
82334 $config_headers
82336 Configuration commands:
82337 $config_commands
82339 Report bugs to the package provider."
82341 _ACEOF
82342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82343 ac_cs_version="\\
82344 package-unused config.status version-unused
82345 configured by $0, generated by GNU Autoconf 2.64,
82346 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82348 Copyright (C) 2009 Free Software Foundation, Inc.
82349 This config.status script is free software; the Free Software Foundation
82350 gives unlimited permission to copy, distribute and modify it."
82352 ac_pwd='$ac_pwd'
82353 srcdir='$srcdir'
82354 INSTALL='$INSTALL'
82355 MKDIR_P='$MKDIR_P'
82356 AWK='$AWK'
82357 test -n "\$AWK" || AWK=awk
82358 _ACEOF
82360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82361 # The default lists apply if the user does not specify any file.
82362 ac_need_defaults=:
82363 while test $# != 0
82365 case $1 in
82366 --*=*)
82367 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82368 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82369 ac_shift=:
82372 ac_option=$1
82373 ac_optarg=$2
82374 ac_shift=shift
82376 esac
82378 case $ac_option in
82379 # Handling of the options.
82380 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82381 ac_cs_recheck=: ;;
82382 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82383 $as_echo "$ac_cs_version"; exit ;;
82384 --debug | --debu | --deb | --de | --d | -d )
82385 debug=: ;;
82386 --file | --fil | --fi | --f )
82387 $ac_shift
82388 case $ac_optarg in
82389 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82390 esac
82391 as_fn_append CONFIG_FILES " '$ac_optarg'"
82392 ac_need_defaults=false;;
82393 --header | --heade | --head | --hea )
82394 $ac_shift
82395 case $ac_optarg in
82396 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82397 esac
82398 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82399 ac_need_defaults=false;;
82400 --he | --h)
82401 # Conflict between --help and --header
82402 as_fn_error "ambiguous option: \`$1'
82403 Try \`$0 --help' for more information.";;
82404 --help | --hel | -h )
82405 $as_echo "$ac_cs_usage"; exit ;;
82406 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82407 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82408 ac_cs_silent=: ;;
82410 # This is an error.
82411 -*) as_fn_error "unrecognized option: \`$1'
82412 Try \`$0 --help' for more information." ;;
82414 *) as_fn_append ac_config_targets " $1"
82415 ac_need_defaults=false ;;
82417 esac
82418 shift
82419 done
82421 ac_configure_extra_args=
82423 if $ac_cs_silent; then
82424 exec 6>/dev/null
82425 ac_configure_extra_args="$ac_configure_extra_args --silent"
82428 _ACEOF
82429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82430 if \$ac_cs_recheck; then
82431 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82432 shift
82433 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82434 CONFIG_SHELL='$SHELL'
82435 export CONFIG_SHELL
82436 exec "\$@"
82439 _ACEOF
82440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82441 exec 5>>config.log
82443 echo
82444 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82445 ## Running $as_me. ##
82446 _ASBOX
82447 $as_echo "$ac_log"
82448 } >&5
82450 _ACEOF
82451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82453 # INIT-COMMANDS
82456 srcdir="$srcdir"
82457 host="$host"
82458 target="$target"
82459 with_multisubdir="$with_multisubdir"
82460 with_multisrctop="$with_multisrctop"
82461 with_target_subdir="$with_target_subdir"
82462 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82463 multi_basedir="$multi_basedir"
82464 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82465 CC="$CC"
82466 CXX="$CXX"
82467 GFORTRAN="$GFORTRAN"
82470 # The HP-UX ksh and POSIX shell print the target directory to stdout
82471 # if CDPATH is set.
82472 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82474 sed_quote_subst='$sed_quote_subst'
82475 double_quote_subst='$double_quote_subst'
82476 delay_variable_subst='$delay_variable_subst'
82477 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82478 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82479 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82480 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82481 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82482 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82483 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82484 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82485 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82486 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82487 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82488 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82489 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82490 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82491 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82492 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82493 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82494 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82495 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82496 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82497 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82498 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82499 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82500 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82501 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82502 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82503 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82504 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82505 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82506 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82507 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82508 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82509 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82510 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82511 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82512 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82513 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82514 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82515 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82516 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82517 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82518 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82519 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82520 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82521 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82522 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82523 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82524 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82525 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"`'
82526 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82527 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82528 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82529 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82530 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82531 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82532 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82533 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82534 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82535 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82536 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82537 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82538 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82539 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82540 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82541 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82542 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82543 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82544 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82545 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82546 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82547 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82548 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82549 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82550 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82551 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82552 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82553 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82554 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82555 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82556 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82557 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82558 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82559 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82560 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82561 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82562 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82563 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82564 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82565 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82566 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82567 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82568 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82569 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82570 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82571 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82572 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82573 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82574 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82575 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82576 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82577 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82578 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82579 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82580 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82581 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82582 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82583 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82584 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82585 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82586 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82587 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82588 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82589 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82590 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82591 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82592 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82593 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82594 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82595 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82596 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82597 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82598 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82599 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82600 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82601 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82602 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82603 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82604 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82605 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82606 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82607 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82608 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82609 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82610 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82611 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82612 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82613 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82614 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82615 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82616 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82617 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82618 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82619 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82620 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82621 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82622 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82623 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82624 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82625 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82626 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82627 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82628 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82629 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82630 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82631 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82632 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82633 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82634 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82635 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82636 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82637 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82638 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82639 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82640 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82641 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82642 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82643 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82644 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82645 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82646 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82647 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82648 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82649 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82650 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82651 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82653 LTCC='$LTCC'
82654 LTCFLAGS='$LTCFLAGS'
82655 compiler='$compiler_DEFAULT'
82657 # A function that is used when there is no print builtin or printf.
82658 func_fallback_echo ()
82660 eval 'cat <<_LTECHO_EOF
82662 _LTECHO_EOF'
82665 # Quote evaled strings.
82666 for var in SHELL \
82667 ECHO \
82668 SED \
82669 GREP \
82670 EGREP \
82671 FGREP \
82672 LD \
82673 NM \
82674 LN_S \
82675 lt_SP2NL \
82676 lt_NL2SP \
82677 reload_flag \
82678 OBJDUMP \
82679 deplibs_check_method \
82680 file_magic_cmd \
82681 AR \
82682 AR_FLAGS \
82683 STRIP \
82684 RANLIB \
82685 CC \
82686 CFLAGS \
82687 compiler \
82688 lt_cv_sys_global_symbol_pipe \
82689 lt_cv_sys_global_symbol_to_cdecl \
82690 lt_cv_sys_global_symbol_to_c_name_address \
82691 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82692 lt_prog_compiler_no_builtin_flag \
82693 lt_prog_compiler_wl \
82694 lt_prog_compiler_pic \
82695 lt_prog_compiler_static \
82696 lt_cv_prog_compiler_c_o \
82697 need_locks \
82698 DSYMUTIL \
82699 NMEDIT \
82700 LIPO \
82701 OTOOL \
82702 OTOOL64 \
82703 shrext_cmds \
82704 export_dynamic_flag_spec \
82705 whole_archive_flag_spec \
82706 compiler_needs_object \
82707 with_gnu_ld \
82708 allow_undefined_flag \
82709 no_undefined_flag \
82710 hardcode_libdir_flag_spec \
82711 hardcode_libdir_flag_spec_ld \
82712 hardcode_libdir_separator \
82713 fix_srcfile_path \
82714 exclude_expsyms \
82715 include_expsyms \
82716 file_list_spec \
82717 variables_saved_for_relink \
82718 libname_spec \
82719 library_names_spec \
82720 soname_spec \
82721 install_override_mode \
82722 finish_eval \
82723 old_striplib \
82724 striplib \
82725 compiler_lib_search_dirs \
82726 predep_objects \
82727 postdep_objects \
82728 predeps \
82729 postdeps \
82730 compiler_lib_search_path \
82731 LD_CXX \
82732 reload_flag_CXX \
82733 compiler_CXX \
82734 lt_prog_compiler_no_builtin_flag_CXX \
82735 lt_prog_compiler_wl_CXX \
82736 lt_prog_compiler_pic_CXX \
82737 lt_prog_compiler_static_CXX \
82738 lt_cv_prog_compiler_c_o_CXX \
82739 export_dynamic_flag_spec_CXX \
82740 whole_archive_flag_spec_CXX \
82741 compiler_needs_object_CXX \
82742 with_gnu_ld_CXX \
82743 allow_undefined_flag_CXX \
82744 no_undefined_flag_CXX \
82745 hardcode_libdir_flag_spec_CXX \
82746 hardcode_libdir_flag_spec_ld_CXX \
82747 hardcode_libdir_separator_CXX \
82748 fix_srcfile_path_CXX \
82749 exclude_expsyms_CXX \
82750 include_expsyms_CXX \
82751 file_list_spec_CXX \
82752 compiler_lib_search_dirs_CXX \
82753 predep_objects_CXX \
82754 postdep_objects_CXX \
82755 predeps_CXX \
82756 postdeps_CXX \
82757 compiler_lib_search_path_CXX; do
82758 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82759 *[\\\\\\\`\\"\\\$]*)
82760 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82763 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82765 esac
82766 done
82768 # Double-quote double-evaled strings.
82769 for var in reload_cmds \
82770 old_postinstall_cmds \
82771 old_postuninstall_cmds \
82772 old_archive_cmds \
82773 extract_expsyms_cmds \
82774 old_archive_from_new_cmds \
82775 old_archive_from_expsyms_cmds \
82776 archive_cmds \
82777 archive_expsym_cmds \
82778 module_cmds \
82779 module_expsym_cmds \
82780 export_symbols_cmds \
82781 prelink_cmds \
82782 postinstall_cmds \
82783 postuninstall_cmds \
82784 finish_cmds \
82785 sys_lib_search_path_spec \
82786 sys_lib_dlsearch_path_spec \
82787 reload_cmds_CXX \
82788 old_archive_cmds_CXX \
82789 old_archive_from_new_cmds_CXX \
82790 old_archive_from_expsyms_cmds_CXX \
82791 archive_cmds_CXX \
82792 archive_expsym_cmds_CXX \
82793 module_cmds_CXX \
82794 module_expsym_cmds_CXX \
82795 export_symbols_cmds_CXX \
82796 prelink_cmds_CXX; do
82797 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82798 *[\\\\\\\`\\"\\\$]*)
82799 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82802 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82804 esac
82805 done
82807 ac_aux_dir='$ac_aux_dir'
82808 xsi_shell='$xsi_shell'
82809 lt_shell_append='$lt_shell_append'
82811 # See if we are running on zsh, and set the options which allow our
82812 # commands through without removal of \ escapes INIT.
82813 if test -n "\${ZSH_VERSION+set}" ; then
82814 setopt NO_GLOB_SUBST
82818 PACKAGE='$PACKAGE'
82819 VERSION='$VERSION'
82820 TIMESTAMP='$TIMESTAMP'
82821 RM='$RM'
82822 ofile='$ofile'
82829 GCC="$GCC"
82830 CC="$CC"
82831 acx_cv_header_stdint="$acx_cv_header_stdint"
82832 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82833 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82834 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82835 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82836 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82837 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82838 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82839 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82840 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82841 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82842 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82843 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82844 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82847 _ACEOF
82849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82851 # Handling of arguments.
82852 for ac_config_target in $ac_config_targets
82854 case $ac_config_target in
82855 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82856 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82857 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82858 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82859 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82860 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82861 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82862 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82863 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82864 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82865 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82866 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82867 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82868 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82869 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82870 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82871 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82872 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82873 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82875 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82876 esac
82877 done
82880 # If the user did not use the arguments to specify the items to instantiate,
82881 # then the envvar interface is used. Set only those that are not.
82882 # We use the long form for the default assignment because of an extremely
82883 # bizarre bug on SunOS 4.1.3.
82884 if $ac_need_defaults; then
82885 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82886 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82887 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82890 # Have a temporary directory for convenience. Make it in the build tree
82891 # simply because there is no reason against having it here, and in addition,
82892 # creating and moving files from /tmp can sometimes cause problems.
82893 # Hook for its removal unless debugging.
82894 # Note that there is a small window in which the directory will not be cleaned:
82895 # after its creation but before its name has been assigned to `$tmp'.
82896 $debug ||
82898 tmp=
82899 trap 'exit_status=$?
82900 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82902 trap 'as_fn_exit 1' 1 2 13 15
82904 # Create a (secure) tmp directory for tmp files.
82907 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82908 test -n "$tmp" && test -d "$tmp"
82909 } ||
82911 tmp=./conf$$-$RANDOM
82912 (umask 077 && mkdir "$tmp")
82913 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82915 # Set up the scripts for CONFIG_FILES section.
82916 # No need to generate them if there are no CONFIG_FILES.
82917 # This happens for instance with `./config.status config.h'.
82918 if test -n "$CONFIG_FILES"; then
82921 ac_cr=`echo X | tr X '\015'`
82922 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82923 # But we know of no other shell where ac_cr would be empty at this
82924 # point, so we can use a bashism as a fallback.
82925 if test "x$ac_cr" = x; then
82926 eval ac_cr=\$\'\\r\'
82928 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82929 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82930 ac_cs_awk_cr='\r'
82931 else
82932 ac_cs_awk_cr=$ac_cr
82935 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82936 _ACEOF
82940 echo "cat >conf$$subs.awk <<_ACEOF" &&
82941 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82942 echo "_ACEOF"
82943 } >conf$$subs.sh ||
82944 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82945 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82946 ac_delim='%!_!# '
82947 for ac_last_try in false false false false false :; do
82948 . ./conf$$subs.sh ||
82949 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82951 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82952 if test $ac_delim_n = $ac_delim_num; then
82953 break
82954 elif $ac_last_try; then
82955 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82956 else
82957 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82959 done
82960 rm -f conf$$subs.sh
82962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82963 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82964 _ACEOF
82965 sed -n '
82967 s/^/S["/; s/!.*/"]=/
82970 s/^[^!]*!//
82971 :repl
82972 t repl
82973 s/'"$ac_delim"'$//
82974 t delim
82977 s/\(.\{148\}\).*/\1/
82978 t more1
82979 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82982 b repl
82983 :more1
82984 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82987 s/.\{148\}//
82988 t nl
82989 :delim
82991 s/\(.\{148\}\).*/\1/
82992 t more2
82993 s/["\\]/\\&/g; s/^/"/; s/$/"/
82996 :more2
82997 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83000 s/.\{148\}//
83001 t delim
83002 ' <conf$$subs.awk | sed '
83003 /^[^""]/{
83005 s/\n//
83007 ' >>$CONFIG_STATUS || ac_write_fail=1
83008 rm -f conf$$subs.awk
83009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83010 _ACAWK
83011 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83012 for (key in S) S_is_set[key] = 1
83013 FS = "\a"
83017 line = $ 0
83018 nfields = split(line, field, "@")
83019 substed = 0
83020 len = length(field[1])
83021 for (i = 2; i < nfields; i++) {
83022 key = field[i]
83023 keylen = length(key)
83024 if (S_is_set[key]) {
83025 value = S[key]
83026 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83027 len += length(value) + length(field[++i])
83028 substed = 1
83029 } else
83030 len += 1 + keylen
83033 print line
83036 _ACAWK
83037 _ACEOF
83038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83039 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83040 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83041 else
83043 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83044 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83045 _ACEOF
83047 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83048 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83049 # trailing colons and then remove the whole line if VPATH becomes empty
83050 # (actually we leave an empty line to preserve line numbers).
83051 if test "x$srcdir" = x.; then
83052 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83053 s/:*\$(srcdir):*/:/
83054 s/:*\${srcdir}:*/:/
83055 s/:*@srcdir@:*/:/
83056 s/^\([^=]*=[ ]*\):*/\1/
83057 s/:*$//
83058 s/^[^=]*=[ ]*$//
83062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83063 fi # test -n "$CONFIG_FILES"
83065 # Set up the scripts for CONFIG_HEADERS section.
83066 # No need to generate them if there are no CONFIG_HEADERS.
83067 # This happens for instance with `./config.status Makefile'.
83068 if test -n "$CONFIG_HEADERS"; then
83069 cat >"$tmp/defines.awk" <<\_ACAWK ||
83070 BEGIN {
83071 _ACEOF
83073 # Transform confdefs.h into an awk script `defines.awk', embedded as
83074 # here-document in config.status, that substitutes the proper values into
83075 # config.h.in to produce config.h.
83077 # Create a delimiter string that does not exist in confdefs.h, to ease
83078 # handling of long lines.
83079 ac_delim='%!_!# '
83080 for ac_last_try in false false :; do
83081 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83082 if test -z "$ac_t"; then
83083 break
83084 elif $ac_last_try; then
83085 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83086 else
83087 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83089 done
83091 # For the awk script, D is an array of macro values keyed by name,
83092 # likewise P contains macro parameters if any. Preserve backslash
83093 # newline sequences.
83095 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83096 sed -n '
83097 s/.\{148\}/&'"$ac_delim"'/g
83098 t rset
83099 :rset
83100 s/^[ ]*#[ ]*define[ ][ ]*/ /
83101 t def
83103 :def
83104 s/\\$//
83105 t bsnl
83106 s/["\\]/\\&/g
83107 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83108 D["\1"]=" \3"/p
83109 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83111 :bsnl
83112 s/["\\]/\\&/g
83113 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83114 D["\1"]=" \3\\\\\\n"\\/p
83115 t cont
83116 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83117 t cont
83119 :cont
83121 s/.\{148\}/&'"$ac_delim"'/g
83122 t clear
83123 :clear
83124 s/\\$//
83125 t bsnlc
83126 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83128 :bsnlc
83129 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83130 b cont
83131 ' <confdefs.h | sed '
83132 s/'"$ac_delim"'/"\\\
83133 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83136 for (key in D) D_is_set[key] = 1
83137 FS = "\a"
83139 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83140 line = \$ 0
83141 split(line, arg, " ")
83142 if (arg[1] == "#") {
83143 defundef = arg[2]
83144 mac1 = arg[3]
83145 } else {
83146 defundef = substr(arg[1], 2)
83147 mac1 = arg[2]
83149 split(mac1, mac2, "(") #)
83150 macro = mac2[1]
83151 prefix = substr(line, 1, index(line, defundef) - 1)
83152 if (D_is_set[macro]) {
83153 # Preserve the white space surrounding the "#".
83154 print prefix "define", macro P[macro] D[macro]
83155 next
83156 } else {
83157 # Replace #undef with comments. This is necessary, for example,
83158 # in the case of _POSIX_SOURCE, which is predefined and required
83159 # on some systems where configure will not decide to define it.
83160 if (defundef == "undef") {
83161 print "/*", prefix defundef, macro, "*/"
83162 next
83166 { print }
83167 _ACAWK
83168 _ACEOF
83169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83170 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83171 fi # test -n "$CONFIG_HEADERS"
83174 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83175 shift
83176 for ac_tag
83178 case $ac_tag in
83179 :[FHLC]) ac_mode=$ac_tag; continue;;
83180 esac
83181 case $ac_mode$ac_tag in
83182 :[FHL]*:*);;
83183 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83184 :[FH]-) ac_tag=-:-;;
83185 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83186 esac
83187 ac_save_IFS=$IFS
83188 IFS=:
83189 set x $ac_tag
83190 IFS=$ac_save_IFS
83191 shift
83192 ac_file=$1
83193 shift
83195 case $ac_mode in
83196 :L) ac_source=$1;;
83197 :[FH])
83198 ac_file_inputs=
83199 for ac_f
83201 case $ac_f in
83202 -) ac_f="$tmp/stdin";;
83203 *) # Look for the file first in the build tree, then in the source tree
83204 # (if the path is not absolute). The absolute path cannot be DOS-style,
83205 # because $ac_f cannot contain `:'.
83206 test -f "$ac_f" ||
83207 case $ac_f in
83208 [\\/$]*) false;;
83209 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83210 esac ||
83211 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83212 esac
83213 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83214 as_fn_append ac_file_inputs " '$ac_f'"
83215 done
83217 # Let's still pretend it is `configure' which instantiates (i.e., don't
83218 # use $as_me), people would be surprised to read:
83219 # /* config.h. Generated by config.status. */
83220 configure_input='Generated from '`
83221 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83222 `' by configure.'
83223 if test x"$ac_file" != x-; then
83224 configure_input="$ac_file. $configure_input"
83225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83226 $as_echo "$as_me: creating $ac_file" >&6;}
83228 # Neutralize special characters interpreted by sed in replacement strings.
83229 case $configure_input in #(
83230 *\&* | *\|* | *\\* )
83231 ac_sed_conf_input=`$as_echo "$configure_input" |
83232 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83233 *) ac_sed_conf_input=$configure_input;;
83234 esac
83236 case $ac_tag in
83237 *:-:* | *:-) cat >"$tmp/stdin" \
83238 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83239 esac
83241 esac
83243 ac_dir=`$as_dirname -- "$ac_file" ||
83244 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83245 X"$ac_file" : 'X\(//\)[^/]' \| \
83246 X"$ac_file" : 'X\(//\)$' \| \
83247 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83248 $as_echo X"$ac_file" |
83249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83250 s//\1/
83253 /^X\(\/\/\)[^/].*/{
83254 s//\1/
83257 /^X\(\/\/\)$/{
83258 s//\1/
83261 /^X\(\/\).*/{
83262 s//\1/
83265 s/.*/./; q'`
83266 as_dir="$ac_dir"; as_fn_mkdir_p
83267 ac_builddir=.
83269 case "$ac_dir" in
83270 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83272 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83273 # A ".." for each directory in $ac_dir_suffix.
83274 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83275 case $ac_top_builddir_sub in
83276 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83277 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83278 esac ;;
83279 esac
83280 ac_abs_top_builddir=$ac_pwd
83281 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83282 # for backward compatibility:
83283 ac_top_builddir=$ac_top_build_prefix
83285 case $srcdir in
83286 .) # We are building in place.
83287 ac_srcdir=.
83288 ac_top_srcdir=$ac_top_builddir_sub
83289 ac_abs_top_srcdir=$ac_pwd ;;
83290 [\\/]* | ?:[\\/]* ) # Absolute name.
83291 ac_srcdir=$srcdir$ac_dir_suffix;
83292 ac_top_srcdir=$srcdir
83293 ac_abs_top_srcdir=$srcdir ;;
83294 *) # Relative name.
83295 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83296 ac_top_srcdir=$ac_top_build_prefix$srcdir
83297 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83298 esac
83299 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83302 case $ac_mode in
83305 # CONFIG_FILE
83308 case $INSTALL in
83309 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83310 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83311 esac
83312 ac_MKDIR_P=$MKDIR_P
83313 case $MKDIR_P in
83314 [\\/$]* | ?:[\\/]* ) ;;
83315 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83316 esac
83317 _ACEOF
83319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83320 # If the template does not know about datarootdir, expand it.
83321 # FIXME: This hack should be removed a few years after 2.60.
83322 ac_datarootdir_hack=; ac_datarootdir_seen=
83323 ac_sed_dataroot='
83324 /datarootdir/ {
83328 /@datadir@/p
83329 /@docdir@/p
83330 /@infodir@/p
83331 /@localedir@/p
83332 /@mandir@/p'
83333 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83334 *datarootdir*) ac_datarootdir_seen=yes;;
83335 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83337 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83338 _ACEOF
83339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83340 ac_datarootdir_hack='
83341 s&@datadir@&$datadir&g
83342 s&@docdir@&$docdir&g
83343 s&@infodir@&$infodir&g
83344 s&@localedir@&$localedir&g
83345 s&@mandir@&$mandir&g
83346 s&\\\${datarootdir}&$datarootdir&g' ;;
83347 esac
83348 _ACEOF
83350 # Neutralize VPATH when `$srcdir' = `.'.
83351 # Shell code in configure.ac might set extrasub.
83352 # FIXME: do we really want to maintain this feature?
83353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83354 ac_sed_extra="$ac_vpsub
83355 $extrasub
83356 _ACEOF
83357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83359 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83360 s|@configure_input@|$ac_sed_conf_input|;t t
83361 s&@top_builddir@&$ac_top_builddir_sub&;t t
83362 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83363 s&@srcdir@&$ac_srcdir&;t t
83364 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83365 s&@top_srcdir@&$ac_top_srcdir&;t t
83366 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83367 s&@builddir@&$ac_builddir&;t t
83368 s&@abs_builddir@&$ac_abs_builddir&;t t
83369 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83370 s&@INSTALL@&$ac_INSTALL&;t t
83371 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83372 $ac_datarootdir_hack
83374 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83375 || as_fn_error "could not create $ac_file" "$LINENO" 5
83377 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83378 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83379 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83381 which seems to be undefined. Please make sure it is defined." >&5
83382 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83383 which seems to be undefined. Please make sure it is defined." >&2;}
83385 rm -f "$tmp/stdin"
83386 case $ac_file in
83387 -) cat "$tmp/out" && rm -f "$tmp/out";;
83388 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83389 esac \
83390 || as_fn_error "could not create $ac_file" "$LINENO" 5
83394 # CONFIG_HEADER
83396 if test x"$ac_file" != x-; then
83398 $as_echo "/* $configure_input */" \
83399 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83400 } >"$tmp/config.h" \
83401 || as_fn_error "could not create $ac_file" "$LINENO" 5
83402 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83403 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83404 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83405 else
83406 rm -f "$ac_file"
83407 mv "$tmp/config.h" "$ac_file" \
83408 || as_fn_error "could not create $ac_file" "$LINENO" 5
83410 else
83411 $as_echo "/* $configure_input */" \
83412 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83413 || as_fn_error "could not create -" "$LINENO" 5
83415 # Compute "$ac_file"'s index in $config_headers.
83416 _am_arg="$ac_file"
83417 _am_stamp_count=1
83418 for _am_header in $config_headers :; do
83419 case $_am_header in
83420 $_am_arg | $_am_arg:* )
83421 break ;;
83423 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83424 esac
83425 done
83426 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83427 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83428 X"$_am_arg" : 'X\(//\)[^/]' \| \
83429 X"$_am_arg" : 'X\(//\)$' \| \
83430 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83431 $as_echo X"$_am_arg" |
83432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83433 s//\1/
83436 /^X\(\/\/\)[^/].*/{
83437 s//\1/
83440 /^X\(\/\/\)$/{
83441 s//\1/
83444 /^X\(\/\).*/{
83445 s//\1/
83448 s/.*/./; q'`/stamp-h$_am_stamp_count
83451 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83452 $as_echo "$as_me: executing $ac_file commands" >&6;}
83454 esac
83457 case $ac_file$ac_mode in
83458 "default-1":C)
83459 # Only add multilib support code if we just rebuilt the top-level
83460 # Makefile.
83461 case " $CONFIG_FILES " in
83462 *" Makefile "*)
83463 ac_file=Makefile . ${multi_basedir}/config-ml.in
83465 esac ;;
83466 "libtool":C)
83468 # See if we are running on zsh, and set the options which allow our
83469 # commands through without removal of \ escapes.
83470 if test -n "${ZSH_VERSION+set}" ; then
83471 setopt NO_GLOB_SUBST
83474 cfgfile="${ofile}T"
83475 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83476 $RM "$cfgfile"
83478 cat <<_LT_EOF >> "$cfgfile"
83479 #! $SHELL
83481 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83482 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83483 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83484 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83486 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83487 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83488 # Written by Gordon Matzigkeit, 1996
83490 # This file is part of GNU Libtool.
83492 # GNU Libtool is free software; you can redistribute it and/or
83493 # modify it under the terms of the GNU General Public License as
83494 # published by the Free Software Foundation; either version 2 of
83495 # the License, or (at your option) any later version.
83497 # As a special exception to the GNU General Public License,
83498 # if you distribute this file as part of a program or library that
83499 # is built using GNU Libtool, you may include this file under the
83500 # same distribution terms that you use for the rest of that program.
83502 # GNU Libtool is distributed in the hope that it will be useful,
83503 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83504 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83505 # GNU General Public License for more details.
83507 # You should have received a copy of the GNU General Public License
83508 # along with GNU Libtool; see the file COPYING. If not, a copy
83509 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83510 # obtained by writing to the Free Software Foundation, Inc.,
83511 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83514 # The names of the tagged configurations supported by this script.
83515 available_tags="CXX "
83517 # ### BEGIN LIBTOOL CONFIG
83519 # Which release of libtool.m4 was used?
83520 macro_version=$macro_version
83521 macro_revision=$macro_revision
83523 # Whether or not to build shared libraries.
83524 build_libtool_libs=$enable_shared
83526 # Whether or not to build static libraries.
83527 build_old_libs=$enable_static
83529 # What type of objects to build.
83530 pic_mode=$pic_mode
83532 # Whether or not to optimize for fast installation.
83533 fast_install=$enable_fast_install
83535 # Shell to use when invoking shell scripts.
83536 SHELL=$lt_SHELL
83538 # An echo program that protects backslashes.
83539 ECHO=$lt_ECHO
83541 # The host system.
83542 host_alias=$host_alias
83543 host=$host
83544 host_os=$host_os
83546 # The build system.
83547 build_alias=$build_alias
83548 build=$build
83549 build_os=$build_os
83551 # A sed program that does not truncate output.
83552 SED=$lt_SED
83554 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83555 Xsed="\$SED -e 1s/^X//"
83557 # A grep program that handles long lines.
83558 GREP=$lt_GREP
83560 # An ERE matcher.
83561 EGREP=$lt_EGREP
83563 # A literal string matcher.
83564 FGREP=$lt_FGREP
83566 # A BSD- or MS-compatible name lister.
83567 NM=$lt_NM
83569 # Whether we need soft or hard links.
83570 LN_S=$lt_LN_S
83572 # What is the maximum length of a command?
83573 max_cmd_len=$max_cmd_len
83575 # Object file suffix (normally "o").
83576 objext=$ac_objext
83578 # Executable file suffix (normally "").
83579 exeext=$exeext
83581 # whether the shell understands "unset".
83582 lt_unset=$lt_unset
83584 # turn spaces into newlines.
83585 SP2NL=$lt_lt_SP2NL
83587 # turn newlines into spaces.
83588 NL2SP=$lt_lt_NL2SP
83590 # An object symbol dumper.
83591 OBJDUMP=$lt_OBJDUMP
83593 # Method to check whether dependent libraries are shared objects.
83594 deplibs_check_method=$lt_deplibs_check_method
83596 # Command to use when deplibs_check_method == "file_magic".
83597 file_magic_cmd=$lt_file_magic_cmd
83599 # The archiver.
83600 AR=$lt_AR
83601 AR_FLAGS=$lt_AR_FLAGS
83603 # A symbol stripping program.
83604 STRIP=$lt_STRIP
83606 # Commands used to install an old-style archive.
83607 RANLIB=$lt_RANLIB
83608 old_postinstall_cmds=$lt_old_postinstall_cmds
83609 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83611 # Whether to use a lock for old archive extraction.
83612 lock_old_archive_extraction=$lock_old_archive_extraction
83614 # A C compiler.
83615 LTCC=$lt_CC
83617 # LTCC compiler flags.
83618 LTCFLAGS=$lt_CFLAGS
83620 # Take the output of nm and produce a listing of raw symbols and C names.
83621 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83623 # Transform the output of nm in a proper C declaration.
83624 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83626 # Transform the output of nm in a C name address pair.
83627 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83629 # Transform the output of nm in a C name address pair when lib prefix is needed.
83630 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83632 # The name of the directory that contains temporary libtool files.
83633 objdir=$objdir
83635 # Used to examine libraries when file_magic_cmd begins with "file".
83636 MAGIC_CMD=$MAGIC_CMD
83638 # Must we lock files when doing compilation?
83639 need_locks=$lt_need_locks
83641 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83642 DSYMUTIL=$lt_DSYMUTIL
83644 # Tool to change global to local symbols on Mac OS X.
83645 NMEDIT=$lt_NMEDIT
83647 # Tool to manipulate fat objects and archives on Mac OS X.
83648 LIPO=$lt_LIPO
83650 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83651 OTOOL=$lt_OTOOL
83653 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83654 OTOOL64=$lt_OTOOL64
83656 # Old archive suffix (normally "a").
83657 libext=$libext
83659 # Shared library suffix (normally ".so").
83660 shrext_cmds=$lt_shrext_cmds
83662 # The commands to extract the exported symbol list from a shared archive.
83663 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83665 # Variables whose values should be saved in libtool wrapper scripts and
83666 # restored at link time.
83667 variables_saved_for_relink=$lt_variables_saved_for_relink
83669 # Do we need the "lib" prefix for modules?
83670 need_lib_prefix=$need_lib_prefix
83672 # Do we need a version for libraries?
83673 need_version=$need_version
83675 # Library versioning type.
83676 version_type=$version_type
83678 # Shared library runtime path variable.
83679 runpath_var=$runpath_var
83681 # Shared library path variable.
83682 shlibpath_var=$shlibpath_var
83684 # Is shlibpath searched before the hard-coded library search path?
83685 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83687 # Format of library name prefix.
83688 libname_spec=$lt_libname_spec
83690 # List of archive names. First name is the real one, the rest are links.
83691 # The last name is the one that the linker finds with -lNAME
83692 library_names_spec=$lt_library_names_spec
83694 # The coded name of the library, if different from the real name.
83695 soname_spec=$lt_soname_spec
83697 # Permission mode override for installation of shared libraries.
83698 install_override_mode=$lt_install_override_mode
83700 # Command to use after installation of a shared archive.
83701 postinstall_cmds=$lt_postinstall_cmds
83703 # Command to use after uninstallation of a shared archive.
83704 postuninstall_cmds=$lt_postuninstall_cmds
83706 # Commands used to finish a libtool library installation in a directory.
83707 finish_cmds=$lt_finish_cmds
83709 # As "finish_cmds", except a single script fragment to be evaled but
83710 # not shown.
83711 finish_eval=$lt_finish_eval
83713 # Whether we should hardcode library paths into libraries.
83714 hardcode_into_libs=$hardcode_into_libs
83716 # Compile-time system search path for libraries.
83717 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83719 # Run-time system search path for libraries.
83720 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83722 # Whether dlopen is supported.
83723 dlopen_support=$enable_dlopen
83725 # Whether dlopen of programs is supported.
83726 dlopen_self=$enable_dlopen_self
83728 # Whether dlopen of statically linked programs is supported.
83729 dlopen_self_static=$enable_dlopen_self_static
83731 # Commands to strip libraries.
83732 old_striplib=$lt_old_striplib
83733 striplib=$lt_striplib
83736 # The linker used to build libraries.
83737 LD=$lt_LD
83739 # How to create reloadable object files.
83740 reload_flag=$lt_reload_flag
83741 reload_cmds=$lt_reload_cmds
83743 # Commands used to build an old-style archive.
83744 old_archive_cmds=$lt_old_archive_cmds
83746 # A language specific compiler.
83747 CC=$lt_compiler
83749 # Is the compiler the GNU compiler?
83750 with_gcc=$GCC
83752 # Compiler flag to turn off builtin functions.
83753 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83755 # How to pass a linker flag through the compiler.
83756 wl=$lt_lt_prog_compiler_wl
83758 # Additional compiler flags for building library objects.
83759 pic_flag=$lt_lt_prog_compiler_pic
83761 # Compiler flag to prevent dynamic linking.
83762 link_static_flag=$lt_lt_prog_compiler_static
83764 # Does compiler simultaneously support -c and -o options?
83765 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83767 # Whether or not to add -lc for building shared libraries.
83768 build_libtool_need_lc=$archive_cmds_need_lc
83770 # Whether or not to disallow shared libs when runtime libs are static.
83771 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83773 # Compiler flag to allow reflexive dlopens.
83774 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83776 # Compiler flag to generate shared objects directly from archives.
83777 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83779 # Whether the compiler copes with passing no objects directly.
83780 compiler_needs_object=$lt_compiler_needs_object
83782 # Create an old-style archive from a shared archive.
83783 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83785 # Create a temporary old-style archive to link instead of a shared archive.
83786 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83788 # Commands used to build a shared archive.
83789 archive_cmds=$lt_archive_cmds
83790 archive_expsym_cmds=$lt_archive_expsym_cmds
83792 # Commands used to build a loadable module if different from building
83793 # a shared archive.
83794 module_cmds=$lt_module_cmds
83795 module_expsym_cmds=$lt_module_expsym_cmds
83797 # Whether we are building with GNU ld or not.
83798 with_gnu_ld=$lt_with_gnu_ld
83800 # Flag that allows shared libraries with undefined symbols to be built.
83801 allow_undefined_flag=$lt_allow_undefined_flag
83803 # Flag that enforces no undefined symbols.
83804 no_undefined_flag=$lt_no_undefined_flag
83806 # Flag to hardcode \$libdir into a binary during linking.
83807 # This must work even if \$libdir does not exist
83808 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83810 # If ld is used when linking, flag to hardcode \$libdir into a binary
83811 # during linking. This must work even if \$libdir does not exist.
83812 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83814 # Whether we need a single "-rpath" flag with a separated argument.
83815 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83817 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83818 # DIR into the resulting binary.
83819 hardcode_direct=$hardcode_direct
83821 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83822 # DIR into the resulting binary and the resulting library dependency is
83823 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83824 # library is relocated.
83825 hardcode_direct_absolute=$hardcode_direct_absolute
83827 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83828 # into the resulting binary.
83829 hardcode_minus_L=$hardcode_minus_L
83831 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83832 # into the resulting binary.
83833 hardcode_shlibpath_var=$hardcode_shlibpath_var
83835 # Set to "yes" if building a shared library automatically hardcodes DIR
83836 # into the library and all subsequent libraries and executables linked
83837 # against it.
83838 hardcode_automatic=$hardcode_automatic
83840 # Set to yes if linker adds runtime paths of dependent libraries
83841 # to runtime path list.
83842 inherit_rpath=$inherit_rpath
83844 # Whether libtool must link a program against all its dependency libraries.
83845 link_all_deplibs=$link_all_deplibs
83847 # Fix the shell variable \$srcfile for the compiler.
83848 fix_srcfile_path=$lt_fix_srcfile_path
83850 # Set to "yes" if exported symbols are required.
83851 always_export_symbols=$always_export_symbols
83853 # The commands to list exported symbols.
83854 export_symbols_cmds=$lt_export_symbols_cmds
83856 # Symbols that should not be listed in the preloaded symbols.
83857 exclude_expsyms=$lt_exclude_expsyms
83859 # Symbols that must always be exported.
83860 include_expsyms=$lt_include_expsyms
83862 # Commands necessary for linking programs (against libraries) with templates.
83863 prelink_cmds=$lt_prelink_cmds
83865 # Specify filename containing input files.
83866 file_list_spec=$lt_file_list_spec
83868 # How to hardcode a shared library path into an executable.
83869 hardcode_action=$hardcode_action
83871 # The directories searched by this compiler when creating a shared library.
83872 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83874 # Dependencies to place before and after the objects being linked to
83875 # create a shared library.
83876 predep_objects=$lt_predep_objects
83877 postdep_objects=$lt_postdep_objects
83878 predeps=$lt_predeps
83879 postdeps=$lt_postdeps
83881 # The library search path used internally by the compiler when linking
83882 # a shared library.
83883 compiler_lib_search_path=$lt_compiler_lib_search_path
83885 # ### END LIBTOOL CONFIG
83887 _LT_EOF
83889 case $host_os in
83890 aix3*)
83891 cat <<\_LT_EOF >> "$cfgfile"
83892 # AIX sometimes has problems with the GCC collect2 program. For some
83893 # reason, if we set the COLLECT_NAMES environment variable, the problems
83894 # vanish in a puff of smoke.
83895 if test "X${COLLECT_NAMES+set}" != Xset; then
83896 COLLECT_NAMES=
83897 export COLLECT_NAMES
83899 _LT_EOF
83901 esac
83904 ltmain="$ac_aux_dir/ltmain.sh"
83907 # We use sed instead of cat because bash on DJGPP gets confused if
83908 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83909 # text mode, it properly converts lines to CR/LF. This bash problem
83910 # is reportedly fixed, but why not run on old versions too?
83911 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83912 || (rm -f "$cfgfile"; exit 1)
83914 case $xsi_shell in
83915 yes)
83916 cat << \_LT_EOF >> "$cfgfile"
83918 # func_dirname file append nondir_replacement
83919 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83920 # otherwise set result to NONDIR_REPLACEMENT.
83921 func_dirname ()
83923 case ${1} in
83924 */*) func_dirname_result="${1%/*}${2}" ;;
83925 * ) func_dirname_result="${3}" ;;
83926 esac
83929 # func_basename file
83930 func_basename ()
83932 func_basename_result="${1##*/}"
83935 # func_dirname_and_basename file append nondir_replacement
83936 # perform func_basename and func_dirname in a single function
83937 # call:
83938 # dirname: Compute the dirname of FILE. If nonempty,
83939 # add APPEND to the result, otherwise set result
83940 # to NONDIR_REPLACEMENT.
83941 # value returned in "$func_dirname_result"
83942 # basename: Compute filename of FILE.
83943 # value retuned in "$func_basename_result"
83944 # Implementation must be kept synchronized with func_dirname
83945 # and func_basename. For efficiency, we do not delegate to
83946 # those functions but instead duplicate the functionality here.
83947 func_dirname_and_basename ()
83949 case ${1} in
83950 */*) func_dirname_result="${1%/*}${2}" ;;
83951 * ) func_dirname_result="${3}" ;;
83952 esac
83953 func_basename_result="${1##*/}"
83956 # func_stripname prefix suffix name
83957 # strip PREFIX and SUFFIX off of NAME.
83958 # PREFIX and SUFFIX must not contain globbing or regex special
83959 # characters, hashes, percent signs, but SUFFIX may contain a leading
83960 # dot (in which case that matches only a dot).
83961 func_stripname ()
83963 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83964 # positional parameters, so assign one to ordinary parameter first.
83965 func_stripname_result=${3}
83966 func_stripname_result=${func_stripname_result#"${1}"}
83967 func_stripname_result=${func_stripname_result%"${2}"}
83970 # func_opt_split
83971 func_opt_split ()
83973 func_opt_split_opt=${1%%=*}
83974 func_opt_split_arg=${1#*=}
83977 # func_lo2o object
83978 func_lo2o ()
83980 case ${1} in
83981 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83982 *) func_lo2o_result=${1} ;;
83983 esac
83986 # func_xform libobj-or-source
83987 func_xform ()
83989 func_xform_result=${1%.*}.lo
83992 # func_arith arithmetic-term...
83993 func_arith ()
83995 func_arith_result=$(( $* ))
83998 # func_len string
83999 # STRING may not start with a hyphen.
84000 func_len ()
84002 func_len_result=${#1}
84005 _LT_EOF
84007 *) # Bourne compatible functions.
84008 cat << \_LT_EOF >> "$cfgfile"
84010 # func_dirname file append nondir_replacement
84011 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84012 # otherwise set result to NONDIR_REPLACEMENT.
84013 func_dirname ()
84015 # Extract subdirectory from the argument.
84016 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84017 if test "X$func_dirname_result" = "X${1}"; then
84018 func_dirname_result="${3}"
84019 else
84020 func_dirname_result="$func_dirname_result${2}"
84024 # func_basename file
84025 func_basename ()
84027 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84031 # func_stripname prefix suffix name
84032 # strip PREFIX and SUFFIX off of NAME.
84033 # PREFIX and SUFFIX must not contain globbing or regex special
84034 # characters, hashes, percent signs, but SUFFIX may contain a leading
84035 # dot (in which case that matches only a dot).
84036 # func_strip_suffix prefix name
84037 func_stripname ()
84039 case ${2} in
84040 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84041 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84042 esac
84045 # sed scripts:
84046 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84047 my_sed_long_arg='1s/^-[^=]*=//'
84049 # func_opt_split
84050 func_opt_split ()
84052 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84053 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84056 # func_lo2o object
84057 func_lo2o ()
84059 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84062 # func_xform libobj-or-source
84063 func_xform ()
84065 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84068 # func_arith arithmetic-term...
84069 func_arith ()
84071 func_arith_result=`expr "$@"`
84074 # func_len string
84075 # STRING may not start with a hyphen.
84076 func_len ()
84078 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84081 _LT_EOF
84082 esac
84084 case $lt_shell_append in
84085 yes)
84086 cat << \_LT_EOF >> "$cfgfile"
84088 # func_append var value
84089 # Append VALUE to the end of shell variable VAR.
84090 func_append ()
84092 eval "$1+=\$2"
84094 _LT_EOF
84097 cat << \_LT_EOF >> "$cfgfile"
84099 # func_append var value
84100 # Append VALUE to the end of shell variable VAR.
84101 func_append ()
84103 eval "$1=\$$1\$2"
84106 _LT_EOF
84108 esac
84111 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84112 || (rm -f "$cfgfile"; exit 1)
84114 mv -f "$cfgfile" "$ofile" ||
84115 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84116 chmod +x "$ofile"
84119 cat <<_LT_EOF >> "$ofile"
84121 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84123 # The linker used to build libraries.
84124 LD=$lt_LD_CXX
84126 # How to create reloadable object files.
84127 reload_flag=$lt_reload_flag_CXX
84128 reload_cmds=$lt_reload_cmds_CXX
84130 # Commands used to build an old-style archive.
84131 old_archive_cmds=$lt_old_archive_cmds_CXX
84133 # A language specific compiler.
84134 CC=$lt_compiler_CXX
84136 # Is the compiler the GNU compiler?
84137 with_gcc=$GCC_CXX
84139 # Compiler flag to turn off builtin functions.
84140 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84142 # How to pass a linker flag through the compiler.
84143 wl=$lt_lt_prog_compiler_wl_CXX
84145 # Additional compiler flags for building library objects.
84146 pic_flag=$lt_lt_prog_compiler_pic_CXX
84148 # Compiler flag to prevent dynamic linking.
84149 link_static_flag=$lt_lt_prog_compiler_static_CXX
84151 # Does compiler simultaneously support -c and -o options?
84152 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84154 # Whether or not to add -lc for building shared libraries.
84155 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84157 # Whether or not to disallow shared libs when runtime libs are static.
84158 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84160 # Compiler flag to allow reflexive dlopens.
84161 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84163 # Compiler flag to generate shared objects directly from archives.
84164 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84166 # Whether the compiler copes with passing no objects directly.
84167 compiler_needs_object=$lt_compiler_needs_object_CXX
84169 # Create an old-style archive from a shared archive.
84170 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84172 # Create a temporary old-style archive to link instead of a shared archive.
84173 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84175 # Commands used to build a shared archive.
84176 archive_cmds=$lt_archive_cmds_CXX
84177 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84179 # Commands used to build a loadable module if different from building
84180 # a shared archive.
84181 module_cmds=$lt_module_cmds_CXX
84182 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84184 # Whether we are building with GNU ld or not.
84185 with_gnu_ld=$lt_with_gnu_ld_CXX
84187 # Flag that allows shared libraries with undefined symbols to be built.
84188 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84190 # Flag that enforces no undefined symbols.
84191 no_undefined_flag=$lt_no_undefined_flag_CXX
84193 # Flag to hardcode \$libdir into a binary during linking.
84194 # This must work even if \$libdir does not exist
84195 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84197 # If ld is used when linking, flag to hardcode \$libdir into a binary
84198 # during linking. This must work even if \$libdir does not exist.
84199 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84201 # Whether we need a single "-rpath" flag with a separated argument.
84202 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84204 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84205 # DIR into the resulting binary.
84206 hardcode_direct=$hardcode_direct_CXX
84208 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84209 # DIR into the resulting binary and the resulting library dependency is
84210 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84211 # library is relocated.
84212 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84214 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84215 # into the resulting binary.
84216 hardcode_minus_L=$hardcode_minus_L_CXX
84218 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84219 # into the resulting binary.
84220 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84222 # Set to "yes" if building a shared library automatically hardcodes DIR
84223 # into the library and all subsequent libraries and executables linked
84224 # against it.
84225 hardcode_automatic=$hardcode_automatic_CXX
84227 # Set to yes if linker adds runtime paths of dependent libraries
84228 # to runtime path list.
84229 inherit_rpath=$inherit_rpath_CXX
84231 # Whether libtool must link a program against all its dependency libraries.
84232 link_all_deplibs=$link_all_deplibs_CXX
84234 # Fix the shell variable \$srcfile for the compiler.
84235 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84237 # Set to "yes" if exported symbols are required.
84238 always_export_symbols=$always_export_symbols_CXX
84240 # The commands to list exported symbols.
84241 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84243 # Symbols that should not be listed in the preloaded symbols.
84244 exclude_expsyms=$lt_exclude_expsyms_CXX
84246 # Symbols that must always be exported.
84247 include_expsyms=$lt_include_expsyms_CXX
84249 # Commands necessary for linking programs (against libraries) with templates.
84250 prelink_cmds=$lt_prelink_cmds_CXX
84252 # Specify filename containing input files.
84253 file_list_spec=$lt_file_list_spec_CXX
84255 # How to hardcode a shared library path into an executable.
84256 hardcode_action=$hardcode_action_CXX
84258 # The directories searched by this compiler when creating a shared library.
84259 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84261 # Dependencies to place before and after the objects being linked to
84262 # create a shared library.
84263 predep_objects=$lt_predep_objects_CXX
84264 postdep_objects=$lt_postdep_objects_CXX
84265 predeps=$lt_predeps_CXX
84266 postdeps=$lt_postdeps_CXX
84268 # The library search path used internally by the compiler when linking
84269 # a shared library.
84270 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84272 # ### END LIBTOOL TAG CONFIG: CXX
84273 _LT_EOF
84276 "include/gstdint.h":C)
84277 if test "$GCC" = yes; then
84278 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84279 else
84280 echo "/* generated for $CC */" > tmp-stdint.h
84283 sed 's/^ *//' >> tmp-stdint.h <<EOF
84285 #ifndef GCC_GENERATED_STDINT_H
84286 #define GCC_GENERATED_STDINT_H 1
84288 #include <sys/types.h>
84291 if test "$acx_cv_header_stdint" != stdint.h; then
84292 echo "#include <stddef.h>" >> tmp-stdint.h
84294 if test "$acx_cv_header_stdint" != stddef.h; then
84295 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84298 sed 's/^ *//' >> tmp-stdint.h <<EOF
84299 /* glibc uses these symbols as guards to prevent redefinitions. */
84300 #ifdef __int8_t_defined
84301 #define _INT8_T
84302 #define _INT16_T
84303 #define _INT32_T
84304 #endif
84305 #ifdef __uint32_t_defined
84306 #define _UINT32_T
84307 #endif
84311 # ----------------- done header, emit basic int types -------------
84312 if test "$acx_cv_header_stdint" = stddef.h; then
84313 sed 's/^ *//' >> tmp-stdint.h <<EOF
84315 #ifndef _UINT8_T
84316 #define _UINT8_T
84317 #ifndef __uint8_t_defined
84318 #define __uint8_t_defined
84319 #ifndef uint8_t
84320 typedef unsigned $acx_cv_type_int8_t uint8_t;
84321 #endif
84322 #endif
84323 #endif
84325 #ifndef _UINT16_T
84326 #define _UINT16_T
84327 #ifndef __uint16_t_defined
84328 #define __uint16_t_defined
84329 #ifndef uint16_t
84330 typedef unsigned $acx_cv_type_int16_t uint16_t;
84331 #endif
84332 #endif
84333 #endif
84335 #ifndef _UINT32_T
84336 #define _UINT32_T
84337 #ifndef __uint32_t_defined
84338 #define __uint32_t_defined
84339 #ifndef uint32_t
84340 typedef unsigned $acx_cv_type_int32_t uint32_t;
84341 #endif
84342 #endif
84343 #endif
84345 #ifndef _INT8_T
84346 #define _INT8_T
84347 #ifndef __int8_t_defined
84348 #define __int8_t_defined
84349 #ifndef int8_t
84350 typedef $acx_cv_type_int8_t int8_t;
84351 #endif
84352 #endif
84353 #endif
84355 #ifndef _INT16_T
84356 #define _INT16_T
84357 #ifndef __int16_t_defined
84358 #define __int16_t_defined
84359 #ifndef int16_t
84360 typedef $acx_cv_type_int16_t int16_t;
84361 #endif
84362 #endif
84363 #endif
84365 #ifndef _INT32_T
84366 #define _INT32_T
84367 #ifndef __int32_t_defined
84368 #define __int32_t_defined
84369 #ifndef int32_t
84370 typedef $acx_cv_type_int32_t int32_t;
84371 #endif
84372 #endif
84373 #endif
84375 elif test "$ac_cv_type_u_int32_t" = yes; then
84376 sed 's/^ *//' >> tmp-stdint.h <<EOF
84378 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84379 #ifndef _INT8_T
84380 #define _INT8_T
84381 #endif
84382 #ifndef _INT16_T
84383 #define _INT16_T
84384 #endif
84385 #ifndef _INT32_T
84386 #define _INT32_T
84387 #endif
84389 #ifndef _UINT8_T
84390 #define _UINT8_T
84391 #ifndef __uint8_t_defined
84392 #define __uint8_t_defined
84393 #ifndef uint8_t
84394 typedef u_int8_t uint8_t;
84395 #endif
84396 #endif
84397 #endif
84399 #ifndef _UINT16_T
84400 #define _UINT16_T
84401 #ifndef __uint16_t_defined
84402 #define __uint16_t_defined
84403 #ifndef uint16_t
84404 typedef u_int16_t uint16_t;
84405 #endif
84406 #endif
84407 #endif
84409 #ifndef _UINT32_T
84410 #define _UINT32_T
84411 #ifndef __uint32_t_defined
84412 #define __uint32_t_defined
84413 #ifndef uint32_t
84414 typedef u_int32_t uint32_t;
84415 #endif
84416 #endif
84417 #endif
84419 else
84420 sed 's/^ *//' >> tmp-stdint.h <<EOF
84422 /* Some systems have guard macros to prevent redefinitions, define them. */
84423 #ifndef _INT8_T
84424 #define _INT8_T
84425 #endif
84426 #ifndef _INT16_T
84427 #define _INT16_T
84428 #endif
84429 #ifndef _INT32_T
84430 #define _INT32_T
84431 #endif
84432 #ifndef _UINT8_T
84433 #define _UINT8_T
84434 #endif
84435 #ifndef _UINT16_T
84436 #define _UINT16_T
84437 #endif
84438 #ifndef _UINT32_T
84439 #define _UINT32_T
84440 #endif
84444 # ------------- done basic int types, emit int64_t types ------------
84445 if test "$ac_cv_type_uint64_t" = yes; then
84446 sed 's/^ *//' >> tmp-stdint.h <<EOF
84448 /* system headers have good uint64_t and int64_t */
84449 #ifndef _INT64_T
84450 #define _INT64_T
84451 #endif
84452 #ifndef _UINT64_T
84453 #define _UINT64_T
84454 #endif
84456 elif test "$ac_cv_type_u_int64_t" = yes; then
84457 sed 's/^ *//' >> tmp-stdint.h <<EOF
84459 /* system headers have an u_int64_t (and int64_t) */
84460 #ifndef _INT64_T
84461 #define _INT64_T
84462 #endif
84463 #ifndef _UINT64_T
84464 #define _UINT64_T
84465 #ifndef __uint64_t_defined
84466 #define __uint64_t_defined
84467 #ifndef uint64_t
84468 typedef u_int64_t uint64_t;
84469 #endif
84470 #endif
84471 #endif
84473 elif test -n "$acx_cv_type_int64_t"; then
84474 sed 's/^ *//' >> tmp-stdint.h <<EOF
84476 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84477 #ifndef _INT64_T
84478 #define _INT64_T
84479 #ifndef int64_t
84480 typedef $acx_cv_type_int64_t int64_t;
84481 #endif
84482 #endif
84483 #ifndef _UINT64_T
84484 #define _UINT64_T
84485 #ifndef __uint64_t_defined
84486 #define __uint64_t_defined
84487 #ifndef uint64_t
84488 typedef unsigned $acx_cv_type_int64_t uint64_t;
84489 #endif
84490 #endif
84491 #endif
84493 else
84494 sed 's/^ *//' >> tmp-stdint.h <<EOF
84496 /* some common heuristics for int64_t, using compiler-specific tests */
84497 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84498 #ifndef _INT64_T
84499 #define _INT64_T
84500 #ifndef __int64_t_defined
84501 #ifndef int64_t
84502 typedef long long int64_t;
84503 #endif
84504 #endif
84505 #endif
84506 #ifndef _UINT64_T
84507 #define _UINT64_T
84508 #ifndef uint64_t
84509 typedef unsigned long long uint64_t;
84510 #endif
84511 #endif
84513 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84514 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84515 does not implement __extension__. But that compiler doesn't define
84516 __GNUC_MINOR__. */
84517 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84518 # define __extension__
84519 # endif
84521 # ifndef _INT64_T
84522 # define _INT64_T
84523 # ifndef int64_t
84524 __extension__ typedef long long int64_t;
84525 # endif
84526 # endif
84527 # ifndef _UINT64_T
84528 # define _UINT64_T
84529 # ifndef uint64_t
84530 __extension__ typedef unsigned long long uint64_t;
84531 # endif
84532 # endif
84534 #elif !defined __STRICT_ANSI__
84535 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84537 # ifndef _INT64_T
84538 # define _INT64_T
84539 # ifndef int64_t
84540 typedef __int64 int64_t;
84541 # endif
84542 # endif
84543 # ifndef _UINT64_T
84544 # define _UINT64_T
84545 # ifndef uint64_t
84546 typedef unsigned __int64 uint64_t;
84547 # endif
84548 # endif
84549 # endif /* compiler */
84551 #endif /* ANSI version */
84555 # ------------- done int64_t types, emit intptr types ------------
84556 if test "$ac_cv_type_uintptr_t" != yes; then
84557 sed 's/^ *//' >> tmp-stdint.h <<EOF
84559 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84560 #ifndef __uintptr_t_defined
84561 #ifndef uintptr_t
84562 typedef u$acx_cv_type_intptr_t uintptr_t;
84563 #endif
84564 #endif
84565 #ifndef __intptr_t_defined
84566 #ifndef intptr_t
84567 typedef $acx_cv_type_intptr_t intptr_t;
84568 #endif
84569 #endif
84573 # ------------- done intptr types, emit int_least types ------------
84574 if test "$ac_cv_type_int_least32_t" != yes; then
84575 sed 's/^ *//' >> tmp-stdint.h <<EOF
84577 /* Define int_least types */
84578 typedef int8_t int_least8_t;
84579 typedef int16_t int_least16_t;
84580 typedef int32_t int_least32_t;
84581 #ifdef _INT64_T
84582 typedef int64_t int_least64_t;
84583 #endif
84585 typedef uint8_t uint_least8_t;
84586 typedef uint16_t uint_least16_t;
84587 typedef uint32_t uint_least32_t;
84588 #ifdef _UINT64_T
84589 typedef uint64_t uint_least64_t;
84590 #endif
84594 # ------------- done intptr types, emit int_fast types ------------
84595 if test "$ac_cv_type_int_fast32_t" != yes; then
84596 sed 's/^ *//' >> tmp-stdint.h <<EOF
84598 /* Define int_fast types. short is often slow */
84599 typedef int8_t int_fast8_t;
84600 typedef int int_fast16_t;
84601 typedef int32_t int_fast32_t;
84602 #ifdef _INT64_T
84603 typedef int64_t int_fast64_t;
84604 #endif
84606 typedef uint8_t uint_fast8_t;
84607 typedef unsigned int uint_fast16_t;
84608 typedef uint32_t uint_fast32_t;
84609 #ifdef _UINT64_T
84610 typedef uint64_t uint_fast64_t;
84611 #endif
84615 if test "$ac_cv_type_uintmax_t" != yes; then
84616 sed 's/^ *//' >> tmp-stdint.h <<EOF
84618 /* Define intmax based on what we found */
84619 #ifndef intmax_t
84620 #ifdef _INT64_T
84621 typedef int64_t intmax_t;
84622 #else
84623 typedef long intmax_t;
84624 #endif
84625 #endif
84626 #ifndef uintmax_t
84627 #ifdef _UINT64_T
84628 typedef uint64_t uintmax_t;
84629 #else
84630 typedef unsigned long uintmax_t;
84631 #endif
84632 #endif
84636 sed 's/^ *//' >> tmp-stdint.h <<EOF
84638 #endif /* GCC_GENERATED_STDINT_H */
84641 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84642 rm -f tmp-stdint.h
84643 else
84644 mv -f tmp-stdint.h include/gstdint.h
84648 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84649 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84650 "include/Makefile":F) cat > vpsed$$ << \_EOF
84651 s!`test -f '$<' || echo '$(srcdir)/'`!!
84652 _EOF
84653 sed -f vpsed$$ $ac_file > tmp$$
84654 mv tmp$$ $ac_file
84655 rm vpsed$$
84656 echo 'MULTISUBDIR =' >> $ac_file
84657 ml_norecursion=yes
84658 . ${multi_basedir}/config-ml.in
84659 { ml_norecursion=; unset ml_norecursion;}
84661 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84662 s!`test -f '$<' || echo '$(srcdir)/'`!!
84663 _EOF
84664 sed -f vpsed$$ $ac_file > tmp$$
84665 mv tmp$$ $ac_file
84666 rm vpsed$$
84667 echo 'MULTISUBDIR =' >> $ac_file
84668 ml_norecursion=yes
84669 . ${multi_basedir}/config-ml.in
84670 { ml_norecursion=; unset ml_norecursion;}
84672 "src/Makefile":F) cat > vpsed$$ << \_EOF
84673 s!`test -f '$<' || echo '$(srcdir)/'`!!
84674 _EOF
84675 sed -f vpsed$$ $ac_file > tmp$$
84676 mv tmp$$ $ac_file
84677 rm vpsed$$
84678 echo 'MULTISUBDIR =' >> $ac_file
84679 ml_norecursion=yes
84680 . ${multi_basedir}/config-ml.in
84681 { ml_norecursion=; unset ml_norecursion;}
84683 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84684 s!`test -f '$<' || echo '$(srcdir)/'`!!
84685 _EOF
84686 sed -f vpsed$$ $ac_file > tmp$$
84687 mv tmp$$ $ac_file
84688 rm vpsed$$
84689 echo 'MULTISUBDIR =' >> $ac_file
84690 ml_norecursion=yes
84691 . ${multi_basedir}/config-ml.in
84692 { ml_norecursion=; unset ml_norecursion;}
84694 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84695 s!`test -f '$<' || echo '$(srcdir)/'`!!
84696 _EOF
84697 sed -f vpsed$$ $ac_file > tmp$$
84698 mv tmp$$ $ac_file
84699 rm vpsed$$
84700 echo 'MULTISUBDIR =' >> $ac_file
84701 ml_norecursion=yes
84702 . ${multi_basedir}/config-ml.in
84703 { ml_norecursion=; unset ml_norecursion;}
84705 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84706 s!`test -f '$<' || echo '$(srcdir)/'`!!
84707 _EOF
84708 sed -f vpsed$$ $ac_file > tmp$$
84709 mv tmp$$ $ac_file
84710 rm vpsed$$
84711 echo 'MULTISUBDIR =' >> $ac_file
84712 ml_norecursion=yes
84713 . ${multi_basedir}/config-ml.in
84714 { ml_norecursion=; unset ml_norecursion;}
84716 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84717 s!`test -f '$<' || echo '$(srcdir)/'`!!
84718 _EOF
84719 sed -f vpsed$$ $ac_file > tmp$$
84720 mv tmp$$ $ac_file
84721 rm vpsed$$
84722 echo 'MULTISUBDIR =' >> $ac_file
84723 ml_norecursion=yes
84724 . ${multi_basedir}/config-ml.in
84725 { ml_norecursion=; unset ml_norecursion;}
84727 "po/Makefile":F) cat > vpsed$$ << \_EOF
84728 s!`test -f '$<' || echo '$(srcdir)/'`!!
84729 _EOF
84730 sed -f vpsed$$ $ac_file > tmp$$
84731 mv tmp$$ $ac_file
84732 rm vpsed$$
84733 echo 'MULTISUBDIR =' >> $ac_file
84734 ml_norecursion=yes
84735 . ${multi_basedir}/config-ml.in
84736 { ml_norecursion=; unset ml_norecursion;}
84738 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84739 s!`test -f '$<' || echo '$(srcdir)/'`!!
84740 _EOF
84741 sed -f vpsed$$ $ac_file > tmp$$
84742 mv tmp$$ $ac_file
84743 rm vpsed$$
84744 echo 'MULTISUBDIR =' >> $ac_file
84745 ml_norecursion=yes
84746 . ${multi_basedir}/config-ml.in
84747 { ml_norecursion=; unset ml_norecursion;}
84749 "python/Makefile":F) cat > vpsed$$ << \_EOF
84750 s!`test -f '$<' || echo '$(srcdir)/'`!!
84751 _EOF
84752 sed -f vpsed$$ $ac_file > tmp$$
84753 mv tmp$$ $ac_file
84754 rm vpsed$$
84755 echo 'MULTISUBDIR =' >> $ac_file
84756 ml_norecursion=yes
84757 . ${multi_basedir}/config-ml.in
84758 { ml_norecursion=; unset ml_norecursion;}
84760 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84762 esac
84763 done # for ac_tag
84766 as_fn_exit 0
84767 _ACEOF
84768 ac_clean_files=$ac_clean_files_save
84770 test $ac_write_fail = 0 ||
84771 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84774 # configure is writing to config.log, and then calls config.status.
84775 # config.status does its own redirection, appending to config.log.
84776 # Unfortunately, on DOS this fails, as config.log is still kept open
84777 # by configure, so config.status won't be able to write to it; its
84778 # output is simply discarded. So we exec the FD to /dev/null,
84779 # effectively closing config.log, so it can be properly (re)opened and
84780 # appended to by config.status. When coming back to configure, we
84781 # need to make the FD available again.
84782 if test "$no_create" != yes; then
84783 ac_cs_success=:
84784 ac_config_status_args=
84785 test "$silent" = yes &&
84786 ac_config_status_args="$ac_config_status_args --quiet"
84787 exec 5>/dev/null
84788 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84789 exec 5>>config.log
84790 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84791 # would make configure fail if this is the last instruction.
84792 $ac_cs_success || as_fn_exit $?
84794 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84796 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}