gcc/testsuite/
[official-gcc.git] / libstdc++-v3 / configure
blob925ff7c08e18008c4b34973c463db6e1c011f31a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_VTABLE_VERIFY_FALSE
668 ENABLE_VTABLE_VERIFY_TRUE
669 VTV_CXXLINKFLAGS
670 VTV_PCH_CXXFLAGS
671 VTV_CXXFLAGS
672 ENABLE_WERROR_FALSE
673 ENABLE_WERROR_TRUE
674 ENABLE_PYTHONDIR_FALSE
675 ENABLE_PYTHONDIR_TRUE
676 python_mod_dir
677 ENABLE_EXTERN_TEMPLATE_FALSE
678 ENABLE_EXTERN_TEMPLATE_TRUE
679 EXTRA_CXX_FLAGS
680 GLIBCXX_BUILD_DEBUG_FALSE
681 GLIBCXX_BUILD_DEBUG_TRUE
682 DEBUG_FLAGS
683 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
684 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
685 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
686 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
687 GLIBCXX_C_HEADERS_C_STD_FALSE
688 GLIBCXX_C_HEADERS_C_STD_TRUE
689 GLIBCXX_C_HEADERS_C_FALSE
690 GLIBCXX_C_HEADERS_C_TRUE
691 C_INCLUDE_DIR
692 ALLOCATOR_NAME
693 ALLOCATOR_H
694 CLOCALE_INTERNAL_H
695 CLOCALE_CC
696 CTIME_CC
697 CTIME_H
698 CNUMERIC_CC
699 CMONEY_CC
700 CMESSAGES_CC
701 CCTYPE_CC
702 CCOLLATE_CC
703 CCODECVT_CC
704 CMESSAGES_H
705 CLOCALE_H
706 USE_NLS
707 glibcxx_localedir
708 glibcxx_POFILES
709 glibcxx_MOFILES
710 check_msgfmt
711 BASIC_FILE_CC
712 BASIC_FILE_H
713 CSTDIO_H
714 SECTION_FLAGS
715 WERROR
716 thread_header
717 glibcxx_PCHFLAGS
718 GLIBCXX_BUILD_PCH_FALSE
719 GLIBCXX_BUILD_PCH_TRUE
720 GLIBCXX_HOSTED_FALSE
721 GLIBCXX_HOSTED_TRUE
722 glibcxx_compiler_shared_flag
723 glibcxx_compiler_pic_flag
724 glibcxx_lt_pic_flag
725 enable_static
726 enable_shared
727 lt_host_flags
728 CXXCPP
729 OTOOL64
730 OTOOL
731 LIPO
732 NMEDIT
733 DSYMUTIL
734 OBJDUMP
736 ac_ct_DUMPBIN
737 DUMPBIN
739 FGREP
741 LIBTOOL
742 EGREP
743 GREP
745 MAINT
746 MAINTAINER_MODE_FALSE
747 MAINTAINER_MODE_TRUE
748 RANLIB
751 LN_S
752 toplevel_srcdir
753 toplevel_builddir
754 glibcxx_srcdir
755 glibcxx_builddir
756 ac_ct_CXX
757 CXXFLAGS
759 OBJEXT
760 EXEEXT
761 ac_ct_CC
762 CPPFLAGS
763 LDFLAGS
764 CFLAGS
766 am__untar
767 am__tar
768 AMTAR
769 am__leading_dot
770 SET_MAKE
772 mkdir_p
773 MKDIR_P
774 INSTALL_STRIP_PROGRAM
775 STRIP
776 install_sh
777 MAKEINFO
778 AUTOHEADER
779 AUTOMAKE
780 AUTOCONF
781 ACLOCAL
782 VERSION
783 PACKAGE
784 CYGPATH_W
785 am__isrc
786 INSTALL_DATA
787 INSTALL_SCRIPT
788 INSTALL_PROGRAM
789 target_os
790 target_vendor
791 target_cpu
792 target
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 multi_basedir
802 target_alias
803 host_alias
804 build_alias
805 LIBS
806 ECHO_T
807 ECHO_N
808 ECHO_C
809 DEFS
810 mandir
811 localedir
812 libdir
813 psdir
814 pdfdir
815 dvidir
816 htmldir
817 infodir
818 docdir
819 oldincludedir
820 includedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_multilib
844 with_target_subdir
845 with_cross_host
846 with_newlib
847 enable_maintainer_mode
848 enable_shared
849 enable_static
850 with_pic
851 enable_fast_install
852 with_gnu_ld
853 enable_libtool_lock
854 enable_hosted_libstdcxx
855 enable_libstdcxx_verbose
856 enable_sjlj_exceptions
857 enable_libstdcxx_pch
858 enable_cstdio
859 enable_clocale
860 enable_nls
861 enable_libstdcxx_allocator
862 enable_cheaders
863 enable_long_long
864 enable_wchar_t
865 enable_c99
866 enable_concept_checks
867 enable_libstdcxx_debug_flags
868 enable_libstdcxx_debug
869 enable_cxx_flags
870 enable_fully_dynamic_string
871 enable_extern_template
872 with_python_dir
873 enable_werror
874 enable_vtable_verify
875 enable_libstdcxx_time
876 enable_tls
877 enable_rpath
878 with_libiconv_prefix
879 with_system_libunwind
880 enable_linux_futex
881 enable_symvers
882 enable_libstdcxx_visibility
883 enable_libstdcxx_threads
884 with_gxx_include_dir
885 enable_version_specific_runtime_libs
887 ac_precious_vars='build_alias
888 host_alias
889 target_alias
891 CFLAGS
892 LDFLAGS
893 LIBS
894 CPPFLAGS
896 CXXFLAGS
899 CXXCPP
900 CXXFILT'
903 # Initialize some variables set by options.
904 ac_init_help=
905 ac_init_version=false
906 ac_unrecognized_opts=
907 ac_unrecognized_sep=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
910 cache_file=/dev/null
911 exec_prefix=NONE
912 no_create=
913 no_recursion=
914 prefix=NONE
915 program_prefix=NONE
916 program_suffix=NONE
917 program_transform_name=s,x,x,
918 silent=
919 site=
920 srcdir=
921 verbose=
922 x_includes=NONE
923 x_libraries=NONE
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir='${exec_prefix}/bin'
932 sbindir='${exec_prefix}/sbin'
933 libexecdir='${exec_prefix}/libexec'
934 datarootdir='${prefix}/share'
935 datadir='${datarootdir}'
936 sysconfdir='${prefix}/etc'
937 sharedstatedir='${prefix}/com'
938 localstatedir='${prefix}/var'
939 includedir='${prefix}/include'
940 oldincludedir='/usr/include'
941 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
942 infodir='${datarootdir}/info'
943 htmldir='${docdir}'
944 dvidir='${docdir}'
945 pdfdir='${docdir}'
946 psdir='${docdir}'
947 libdir='${exec_prefix}/lib'
948 localedir='${datarootdir}/locale'
949 mandir='${datarootdir}/man'
951 ac_prev=
952 ac_dashdash=
953 for ac_option
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\$ac_option
958 ac_prev=
959 continue
962 case $ac_option in
963 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 *) ac_optarg=yes ;;
965 esac
967 # Accept the important Cygnus configure options, so we can diagnose typos.
969 case $ac_dashdash$ac_option in
971 ac_dashdash=yes ;;
973 -bindir | --bindir | --bindi | --bind | --bin | --bi)
974 ac_prev=bindir ;;
975 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
976 bindir=$ac_optarg ;;
978 -build | --build | --buil | --bui | --bu)
979 ac_prev=build_alias ;;
980 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
981 build_alias=$ac_optarg ;;
983 -cache-file | --cache-file | --cache-fil | --cache-fi \
984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
985 ac_prev=cache_file ;;
986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
988 cache_file=$ac_optarg ;;
990 --config-cache | -C)
991 cache_file=config.cache ;;
993 -datadir | --datadir | --datadi | --datad)
994 ac_prev=datadir ;;
995 -datadir=* | --datadir=* | --datadi=* | --datad=*)
996 datadir=$ac_optarg ;;
998 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
999 | --dataroo | --dataro | --datar)
1000 ac_prev=datarootdir ;;
1001 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1002 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1003 datarootdir=$ac_optarg ;;
1005 -disable-* | --disable-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error "invalid feature name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1014 "enable_$ac_useropt"
1015 "*) ;;
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1018 esac
1019 eval enable_$ac_useropt=no ;;
1021 -docdir | --docdir | --docdi | --doc | --do)
1022 ac_prev=docdir ;;
1023 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1024 docdir=$ac_optarg ;;
1026 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1027 ac_prev=dvidir ;;
1028 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1029 dvidir=$ac_optarg ;;
1031 -enable-* | --enable-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error "invalid feature name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_$ac_useropt"
1041 "*) ;;
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1044 esac
1045 eval enable_$ac_useropt=\$ac_optarg ;;
1047 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1048 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1049 | --exec | --exe | --ex)
1050 ac_prev=exec_prefix ;;
1051 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1052 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1053 | --exec=* | --exe=* | --ex=*)
1054 exec_prefix=$ac_optarg ;;
1056 -gas | --gas | --ga | --g)
1057 # Obsolete; use --with-gas.
1058 with_gas=yes ;;
1060 -help | --help | --hel | --he | -h)
1061 ac_init_help=long ;;
1062 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1063 ac_init_help=recursive ;;
1064 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1065 ac_init_help=short ;;
1067 -host | --host | --hos | --ho)
1068 ac_prev=host_alias ;;
1069 -host=* | --host=* | --hos=* | --ho=*)
1070 host_alias=$ac_optarg ;;
1072 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1073 ac_prev=htmldir ;;
1074 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1075 | --ht=*)
1076 htmldir=$ac_optarg ;;
1078 -includedir | --includedir | --includedi | --included | --include \
1079 | --includ | --inclu | --incl | --inc)
1080 ac_prev=includedir ;;
1081 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1082 | --includ=* | --inclu=* | --incl=* | --inc=*)
1083 includedir=$ac_optarg ;;
1085 -infodir | --infodir | --infodi | --infod | --info | --inf)
1086 ac_prev=infodir ;;
1087 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1088 infodir=$ac_optarg ;;
1090 -libdir | --libdir | --libdi | --libd)
1091 ac_prev=libdir ;;
1092 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1093 libdir=$ac_optarg ;;
1095 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1096 | --libexe | --libex | --libe)
1097 ac_prev=libexecdir ;;
1098 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1099 | --libexe=* | --libex=* | --libe=*)
1100 libexecdir=$ac_optarg ;;
1102 -localedir | --localedir | --localedi | --localed | --locale)
1103 ac_prev=localedir ;;
1104 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1105 localedir=$ac_optarg ;;
1107 -localstatedir | --localstatedir | --localstatedi | --localstated \
1108 | --localstate | --localstat | --localsta | --localst | --locals)
1109 ac_prev=localstatedir ;;
1110 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1111 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1112 localstatedir=$ac_optarg ;;
1114 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1115 ac_prev=mandir ;;
1116 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1117 mandir=$ac_optarg ;;
1119 -nfp | --nfp | --nf)
1120 # Obsolete; use --without-fp.
1121 with_fp=no ;;
1123 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1124 | --no-cr | --no-c | -n)
1125 no_create=yes ;;
1127 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1128 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1129 no_recursion=yes ;;
1131 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1132 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1133 | --oldin | --oldi | --old | --ol | --o)
1134 ac_prev=oldincludedir ;;
1135 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1136 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1137 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1138 oldincludedir=$ac_optarg ;;
1140 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1141 ac_prev=prefix ;;
1142 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1143 prefix=$ac_optarg ;;
1145 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1146 | --program-pre | --program-pr | --program-p)
1147 ac_prev=program_prefix ;;
1148 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1149 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1150 program_prefix=$ac_optarg ;;
1152 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1153 | --program-suf | --program-su | --program-s)
1154 ac_prev=program_suffix ;;
1155 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1156 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1157 program_suffix=$ac_optarg ;;
1159 -program-transform-name | --program-transform-name \
1160 | --program-transform-nam | --program-transform-na \
1161 | --program-transform-n | --program-transform- \
1162 | --program-transform | --program-transfor \
1163 | --program-transfo | --program-transf \
1164 | --program-trans | --program-tran \
1165 | --progr-tra | --program-tr | --program-t)
1166 ac_prev=program_transform_name ;;
1167 -program-transform-name=* | --program-transform-name=* \
1168 | --program-transform-nam=* | --program-transform-na=* \
1169 | --program-transform-n=* | --program-transform-=* \
1170 | --program-transform=* | --program-transfor=* \
1171 | --program-transfo=* | --program-transf=* \
1172 | --program-trans=* | --program-tran=* \
1173 | --progr-tra=* | --program-tr=* | --program-t=*)
1174 program_transform_name=$ac_optarg ;;
1176 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1177 ac_prev=pdfdir ;;
1178 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1179 pdfdir=$ac_optarg ;;
1181 -psdir | --psdir | --psdi | --psd | --ps)
1182 ac_prev=psdir ;;
1183 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1184 psdir=$ac_optarg ;;
1186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1187 | -silent | --silent | --silen | --sile | --sil)
1188 silent=yes ;;
1190 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1191 ac_prev=sbindir ;;
1192 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1193 | --sbi=* | --sb=*)
1194 sbindir=$ac_optarg ;;
1196 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1197 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1198 | --sharedst | --shareds | --shared | --share | --shar \
1199 | --sha | --sh)
1200 ac_prev=sharedstatedir ;;
1201 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1202 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1203 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1204 | --sha=* | --sh=*)
1205 sharedstatedir=$ac_optarg ;;
1207 -site | --site | --sit)
1208 ac_prev=site ;;
1209 -site=* | --site=* | --sit=*)
1210 site=$ac_optarg ;;
1212 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1213 ac_prev=srcdir ;;
1214 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1215 srcdir=$ac_optarg ;;
1217 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1218 | --syscon | --sysco | --sysc | --sys | --sy)
1219 ac_prev=sysconfdir ;;
1220 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1221 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1222 sysconfdir=$ac_optarg ;;
1224 -target | --target | --targe | --targ | --tar | --ta | --t)
1225 ac_prev=target_alias ;;
1226 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1227 target_alias=$ac_optarg ;;
1229 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1230 verbose=yes ;;
1232 -version | --version | --versio | --versi | --vers | -V)
1233 ac_init_version=: ;;
1235 -with-* | --with-*)
1236 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1244 "with_$ac_useropt"
1245 "*) ;;
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1248 esac
1249 eval with_$ac_useropt=\$ac_optarg ;;
1251 -without-* | --without-*)
1252 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255 as_fn_error "invalid package name: $ac_useropt"
1256 ac_useropt_orig=$ac_useropt
1257 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1260 "with_$ac_useropt"
1261 "*) ;;
1262 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1263 ac_unrecognized_sep=', ';;
1264 esac
1265 eval with_$ac_useropt=no ;;
1267 --x)
1268 # Obsolete; use --with-x.
1269 with_x=yes ;;
1271 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1272 | --x-incl | --x-inc | --x-in | --x-i)
1273 ac_prev=x_includes ;;
1274 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1275 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1276 x_includes=$ac_optarg ;;
1278 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1279 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1280 ac_prev=x_libraries ;;
1281 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1282 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1283 x_libraries=$ac_optarg ;;
1285 -*) as_fn_error "unrecognized option: \`$ac_option'
1286 Try \`$0 --help' for more information."
1289 *=*)
1290 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1291 # Reject names that are not valid shell variable names.
1292 case $ac_envvar in #(
1293 '' | [0-9]* | *[!_$as_cr_alnum]* )
1294 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1295 esac
1296 eval $ac_envvar=\$ac_optarg
1297 export $ac_envvar ;;
1300 # FIXME: should be removed in autoconf 3.0.
1301 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1303 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1307 esac
1308 done
1310 if test -n "$ac_prev"; then
1311 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1312 as_fn_error "missing argument to $ac_option"
1315 if test -n "$ac_unrecognized_opts"; then
1316 case $enable_option_checking in
1317 no) ;;
1318 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1319 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320 esac
1323 # Check all directory arguments for consistency.
1324 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1325 datadir sysconfdir sharedstatedir localstatedir includedir \
1326 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1327 libdir localedir mandir
1329 eval ac_val=\$$ac_var
1330 # Remove trailing slashes.
1331 case $ac_val in
1332 */ )
1333 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1334 eval $ac_var=\$ac_val;;
1335 esac
1336 # Be sure to have absolute directory names.
1337 case $ac_val in
1338 [\\/$]* | ?:[\\/]* ) continue;;
1339 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340 esac
1341 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1342 done
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1347 build=$build_alias
1348 host=$host_alias
1349 target=$target_alias
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353 if test "x$build_alias" = x; then
1354 cross_compiling=maybe
1355 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356 If a cross compiler is detected then cross compile mode will be used." >&2
1357 elif test "x$build_alias" != "x$host_alias"; then
1358 cross_compiling=yes
1362 ac_tool_prefix=
1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1365 test "$silent" = yes && exec 6>/dev/null
1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369 ac_ls_di=`ls -di .` &&
1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371 as_fn_error "working directory cannot be determined"
1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1373 as_fn_error "pwd does not report name of working directory"
1376 # Find the source files, if location was not specified.
1377 if test -z "$srcdir"; then
1378 ac_srcdir_defaulted=yes
1379 # Try the directory containing this script, then the parent directory.
1380 ac_confdir=`$as_dirname -- "$as_myself" ||
1381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1382 X"$as_myself" : 'X\(//\)[^/]' \| \
1383 X"$as_myself" : 'X\(//\)$' \| \
1384 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1385 $as_echo X"$as_myself" |
1386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 s//\1/
1390 /^X\(\/\/\)[^/].*/{
1391 s//\1/
1394 /^X\(\/\/\)$/{
1395 s//\1/
1398 /^X\(\/\).*/{
1399 s//\1/
1402 s/.*/./; q'`
1403 srcdir=$ac_confdir
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 srcdir=..
1407 else
1408 ac_srcdir_defaulted=no
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1411 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1412 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1415 ac_abs_confdir=`(
1416 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1417 pwd)`
1418 # When building in place, set srcdir=.
1419 if test "$ac_abs_confdir" = "$ac_pwd"; then
1420 srcdir=.
1422 # Remove unnecessary trailing slashes from srcdir.
1423 # Double slashes in file names in object file debugging info
1424 # mess up M-x gdb in Emacs.
1425 case $srcdir in
1426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 esac
1428 for ac_var in $ac_precious_vars; do
1429 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1430 eval ac_env_${ac_var}_value=\$${ac_var}
1431 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1432 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1433 done
1436 # Report the --help message.
1438 if test "$ac_init_help" = "long"; then
1439 # Omit some internal or obsolete options to make the list less imposing.
1440 # This message is too long to be a string in the A/UX 3.1 sh.
1441 cat <<_ACEOF
1442 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1444 Usage: $0 [OPTION]... [VAR=VALUE]...
1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1447 VAR=VALUE. See below for descriptions of some of the useful variables.
1449 Defaults for the options are specified in brackets.
1451 Configuration:
1452 -h, --help display this help and exit
1453 --help=short display options specific to this package
1454 --help=recursive display the short help of all the included packages
1455 -V, --version display version information and exit
1456 -q, --quiet, --silent do not print \`checking...' messages
1457 --cache-file=FILE cache test results in FILE [disabled]
1458 -C, --config-cache alias for \`--cache-file=config.cache'
1459 -n, --no-create do not create output files
1460 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1462 Installation directories:
1463 --prefix=PREFIX install architecture-independent files in PREFIX
1464 [$ac_default_prefix]
1465 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1466 [PREFIX]
1468 By default, \`make install' will install all the files in
1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1471 for instance \`--prefix=\$HOME'.
1473 For better control, use the options below.
1475 Fine tuning of the installation directories:
1476 --bindir=DIR user executables [EPREFIX/bin]
1477 --sbindir=DIR system admin executables [EPREFIX/sbin]
1478 --libexecdir=DIR program executables [EPREFIX/libexec]
1479 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1480 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1481 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1482 --libdir=DIR object code libraries [EPREFIX/lib]
1483 --includedir=DIR C header files [PREFIX/include]
1484 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1485 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1486 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1487 --infodir=DIR info documentation [DATAROOTDIR/info]
1488 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1489 --mandir=DIR man documentation [DATAROOTDIR/man]
1490 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1491 --htmldir=DIR html documentation [DOCDIR]
1492 --dvidir=DIR dvi documentation [DOCDIR]
1493 --pdfdir=DIR pdf documentation [DOCDIR]
1494 --psdir=DIR ps documentation [DOCDIR]
1495 _ACEOF
1497 cat <<\_ACEOF
1499 Program names:
1500 --program-prefix=PREFIX prepend PREFIX to installed program names
1501 --program-suffix=SUFFIX append SUFFIX to installed program names
1502 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1504 System types:
1505 --build=BUILD configure for building on BUILD [guessed]
1506 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1507 --target=TARGET configure for building compilers for TARGET [HOST]
1508 _ACEOF
1511 if test -n "$ac_init_help"; then
1512 case $ac_init_help in
1513 short | recursive ) echo "Configuration of package-unused version-unused:";;
1514 esac
1515 cat <<\_ACEOF
1517 Optional Features:
1518 --disable-option-checking ignore unrecognized --enable/--with options
1519 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1520 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1521 --enable-multilib build many library versions (default)
1522 --enable-maintainer-mode enable make rules and dependencies not useful
1523 (and sometimes confusing) to the casual installer
1524 --enable-shared[=PKGS] build shared libraries [default=yes]
1525 --enable-static[=PKGS] build static libraries [default=yes]
1526 --enable-fast-install[=PKGS]
1527 optimize for fast installation [default=yes]
1528 --disable-libtool-lock avoid locking (might break parallel builds)
1529 --disable-hosted-libstdcxx
1530 only build freestanding C++ runtime support
1531 --disable-libstdcxx-verbose
1532 disable termination messages to standard error
1533 --enable-sjlj-exceptions
1534 force use of builtin_setjmp for exceptions
1535 [default=auto]
1536 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1537 [default=$is_hosted]
1538 --enable-cstdio[=PACKAGE]
1539 use target-specific I/O package [default=stdio]
1540 --enable-clocale[=MODEL]
1541 use MODEL for target locale package [default=auto]
1542 --enable-nls use Native Language Support (default)
1543 --enable-libstdcxx-allocator[=KIND]
1544 use KIND for target std::allocator base
1545 [default=auto]
1546 --enable-cheaders[=KIND]
1547 construct "C" headers for g++ [default=$c_model]
1548 --enable-long-long enable template specializations for 'long long'
1549 [default=yes]
1550 --enable-wchar_t enable template specializations for 'wchar_t'
1551 [default=yes]
1552 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1553 --enable-concept-checks use Boost-derived template checks [default=no]
1554 --enable-libstdcxx-debug-flags=FLAGS
1555 pass compiler FLAGS when building debug library
1556 [default="-gdwarf-4 -g3 -O0"]
1557 --enable-libstdcxx-debug
1558 build extra debug library [default=no]
1559 --enable-cxx-flags=FLAGS
1560 pass compiler FLAGS when building library [default=]
1561 --enable-fully-dynamic-string
1562 do not put empty strings in per-process static
1563 memory [default=no]
1564 --enable-extern-template
1565 enable extern template [default=yes]
1566 --enable-werror turns on -Werror [default=yes]
1567 --enable-vtable-verify enable vtable verify [default=no]
1568 --enable-libstdcxx-time[=KIND]
1569 use KIND for check type [default=auto]
1570 --enable-tls Use thread-local storage [default=yes]
1571 --disable-rpath do not hardcode runtime library paths
1572 --enable-linux-futex use the Linux futex system call [default=default]
1573 --enable-symvers[=STYLE]
1574 enables symbol versioning of the shared library
1575 [default=yes]
1576 --enable-libstdcxx-visibility
1577 enables visibility safe usage [default=yes]
1578 --enable-libstdcxx-threads
1579 enable C++11 threads support [default=auto]
1580 --enable-version-specific-runtime-libs
1581 Specify that runtime libraries should be installed
1582 in a compiler-specific directory
1584 Optional Packages:
1585 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1586 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1587 --with-target-subdir=SUBDIR
1588 configuring in a subdirectory
1589 --with-cross-host=HOST configuring with a cross compiler
1590 --with-newlib assume newlib as a system C library
1591 --with-pic try to use only PIC/non-PIC objects [default=use
1592 both]
1593 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1594 --with-python-dir the location to install Python modules. This path is
1595 relative starting from the prefix.
1596 --with-gnu-ld assume the C compiler uses GNU ld default=no
1597 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1598 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1599 --with-system-libunwind use installed libunwind
1600 --with-gxx-include-dir=DIR
1601 installation directory for include files
1603 Some influential environment variables:
1604 CC C compiler command
1605 CFLAGS C compiler flags
1606 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1607 nonstandard directory <lib dir>
1608 LIBS libraries to pass to the linker, e.g. -l<library>
1609 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1610 you have headers in a nonstandard directory <include dir>
1611 CXX C++ compiler command
1612 CXXFLAGS C++ compiler flags
1613 CPP C preprocessor
1614 CXXCPP C++ preprocessor
1615 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1616 `c++filt', `gc++filt' on PATH.
1618 Use these variables to override the choices made by `configure' or to help
1619 it to find libraries and programs with nonstandard names/locations.
1621 Report bugs to the package provider.
1622 _ACEOF
1623 ac_status=$?
1626 if test "$ac_init_help" = "recursive"; then
1627 # If there are subdirs, report their specific --help.
1628 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1629 test -d "$ac_dir" ||
1630 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1631 continue
1632 ac_builddir=.
1634 case "$ac_dir" in
1635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1637 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1638 # A ".." for each directory in $ac_dir_suffix.
1639 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1640 case $ac_top_builddir_sub in
1641 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1643 esac ;;
1644 esac
1645 ac_abs_top_builddir=$ac_pwd
1646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1647 # for backward compatibility:
1648 ac_top_builddir=$ac_top_build_prefix
1650 case $srcdir in
1651 .) # We are building in place.
1652 ac_srcdir=.
1653 ac_top_srcdir=$ac_top_builddir_sub
1654 ac_abs_top_srcdir=$ac_pwd ;;
1655 [\\/]* | ?:[\\/]* ) # Absolute name.
1656 ac_srcdir=$srcdir$ac_dir_suffix;
1657 ac_top_srcdir=$srcdir
1658 ac_abs_top_srcdir=$srcdir ;;
1659 *) # Relative name.
1660 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661 ac_top_srcdir=$ac_top_build_prefix$srcdir
1662 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1663 esac
1664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1666 cd "$ac_dir" || { ac_status=$?; continue; }
1667 # Check for guested configure.
1668 if test -f "$ac_srcdir/configure.gnu"; then
1669 echo &&
1670 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671 elif test -f "$ac_srcdir/configure"; then
1672 echo &&
1673 $SHELL "$ac_srcdir/configure" --help=recursive
1674 else
1675 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676 fi || ac_status=$?
1677 cd "$ac_pwd" || { ac_status=$?; break; }
1678 done
1681 test -n "$ac_init_help" && exit $ac_status
1682 if $ac_init_version; then
1683 cat <<\_ACEOF
1684 package-unused configure version-unused
1685 generated by GNU Autoconf 2.64
1687 Copyright (C) 2009 Free Software Foundation, Inc.
1688 This configure script is free software; the Free Software Foundation
1689 gives unlimited permission to copy, distribute and modify it.
1690 _ACEOF
1691 exit
1694 ## ------------------------ ##
1695 ## Autoconf initialization. ##
1696 ## ------------------------ ##
1698 # ac_fn_c_try_compile LINENO
1699 # --------------------------
1700 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_c_try_compile ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 rm -f conftest.$ac_objext
1705 if { { ac_try="$ac_compile"
1706 case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_compile") 2>conftest.err
1713 ac_status=$?
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest.$ac_objext; then :
1724 ac_retval=0
1725 else
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1729 ac_retval=1
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 return $ac_retval
1734 } # ac_fn_c_try_compile
1736 # ac_fn_cxx_try_compile LINENO
1737 # ----------------------------
1738 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_cxx_try_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 rm -f conftest.$ac_objext
1743 if { { ac_try="$ac_compile"
1744 case "(($ac_try" in
1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1747 esac
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_compile") 2>conftest.err
1751 ac_status=$?
1752 if test -s conftest.err; then
1753 grep -v '^ *+' conftest.err >conftest.er1
1754 cat conftest.er1 >&5
1755 mv -f conftest.er1 conftest.err
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } && {
1759 test -z "$ac_cxx_werror_flag" ||
1760 test ! -s conftest.err
1761 } && test -s conftest.$ac_objext; then :
1762 ac_retval=0
1763 else
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1767 ac_retval=1
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770 return $ac_retval
1772 } # ac_fn_cxx_try_compile
1774 # ac_fn_c_try_cpp LINENO
1775 # ----------------------
1776 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1777 ac_fn_c_try_cpp ()
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 if { { ac_try="$ac_cpp conftest.$ac_ext"
1781 case "(($ac_try" in
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1788 ac_status=$?
1789 if test -s conftest.err; then
1790 grep -v '^ *+' conftest.err >conftest.er1
1791 cat conftest.er1 >&5
1792 mv -f conftest.er1 conftest.err
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } >/dev/null && {
1796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 }; then :
1799 ac_retval=0
1800 else
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1804 ac_retval=1
1806 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1807 return $ac_retval
1809 } # ac_fn_c_try_cpp
1811 # ac_fn_c_try_link LINENO
1812 # -----------------------
1813 # Try to link conftest.$ac_ext, and return whether this succeeded.
1814 ac_fn_c_try_link ()
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 rm -f conftest.$ac_objext conftest$ac_exeext
1818 if { { ac_try="$ac_link"
1819 case "(($ac_try" in
1820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1822 esac
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_link") 2>conftest.err
1826 ac_status=$?
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && {
1834 test -z "$ac_c_werror_flag" ||
1835 test ! -s conftest.err
1836 } && test -s conftest$ac_exeext && {
1837 test "$cross_compiling" = yes ||
1838 $as_test_x conftest$ac_exeext
1839 }; then :
1840 ac_retval=0
1841 else
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1845 ac_retval=1
1847 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1848 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1849 # interfere with the next link command; also delete a directory that is
1850 # left behind by Apple's compiler. We do this before executing the actions.
1851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1853 return $ac_retval
1855 } # ac_fn_c_try_link
1857 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1858 # -------------------------------------------------------
1859 # Tests whether HEADER exists and can be compiled using the include files in
1860 # INCLUDES, setting the cache variable VAR accordingly.
1861 ac_fn_c_check_header_compile ()
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1867 $as_echo_n "(cached) " >&6
1868 else
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1872 #include <$2>
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875 eval "$3=yes"
1876 else
1877 eval "$3=no"
1879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1881 eval ac_res=\$$3
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883 $as_echo "$ac_res" >&6; }
1884 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1886 } # ac_fn_c_check_header_compile
1888 # ac_fn_c_try_run LINENO
1889 # ----------------------
1890 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1891 # that executables *can* be run.
1892 ac_fn_c_try_run ()
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 if { { ac_try="$ac_link"
1896 case "(($ac_try" in
1897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898 *) ac_try_echo=$ac_try;;
1899 esac
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_link") 2>&5
1903 ac_status=$?
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1906 { { case "(($ac_try" in
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_try") 2>&5
1913 ac_status=$?
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; }; }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: program exited with status $ac_status" >&5
1919 $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1922 ac_retval=$ac_status
1924 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926 return $ac_retval
1928 } # ac_fn_c_try_run
1930 # ac_fn_c_check_func LINENO FUNC VAR
1931 # ----------------------------------
1932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1933 ac_fn_c_check_func ()
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1939 $as_echo_n "(cached) " >&6
1940 else
1941 if test x$gcc_no_link = xyes; then
1942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1948 #define $2 innocuous_$2
1950 /* System header to define __stub macros and hopefully few prototypes,
1951 which can conflict with char $2 (); below.
1952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1953 <limits.h> exists even on freestanding compilers. */
1955 #ifdef __STDC__
1956 # include <limits.h>
1957 #else
1958 # include <assert.h>
1959 #endif
1961 #undef $2
1963 /* Override any GCC internal prototype to avoid an error.
1964 Use char because int might match the return type of a GCC
1965 builtin and then its argument prototype would still apply. */
1966 #ifdef __cplusplus
1967 extern "C"
1968 #endif
1969 char $2 ();
1970 /* The GNU C library defines this for functions which it implements
1971 to always fail with ENOSYS. Some functions are actually named
1972 something starting with __ and the normal name is an alias. */
1973 #if defined __stub_$2 || defined __stub___$2
1974 choke me
1975 #endif
1978 main ()
1980 return $2 ();
1982 return 0;
1984 _ACEOF
1985 if ac_fn_c_try_link "$LINENO"; then :
1986 eval "$3=yes"
1987 else
1988 eval "$3=no"
1990 rm -f core conftest.err conftest.$ac_objext \
1991 conftest$ac_exeext conftest.$ac_ext
1993 eval ac_res=\$$3
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998 } # ac_fn_c_check_func
2000 # ac_fn_cxx_try_cpp LINENO
2001 # ------------------------
2002 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2003 ac_fn_cxx_try_cpp ()
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 if { { ac_try="$ac_cpp conftest.$ac_ext"
2007 case "(($ac_try" in
2008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2009 *) ac_try_echo=$ac_try;;
2010 esac
2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 $as_echo "$ac_try_echo"; } >&5
2013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2014 ac_status=$?
2015 if test -s conftest.err; then
2016 grep -v '^ *+' conftest.err >conftest.er1
2017 cat conftest.er1 >&5
2018 mv -f conftest.er1 conftest.err
2020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2021 test $ac_status = 0; } >/dev/null && {
2022 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2023 test ! -s conftest.err
2024 }; then :
2025 ac_retval=0
2026 else
2027 $as_echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.$ac_ext >&5
2030 ac_retval=1
2032 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033 return $ac_retval
2035 } # ac_fn_cxx_try_cpp
2037 # ac_fn_cxx_try_link LINENO
2038 # -------------------------
2039 # Try to link conftest.$ac_ext, and return whether this succeeded.
2040 ac_fn_cxx_try_link ()
2042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043 rm -f conftest.$ac_objext conftest$ac_exeext
2044 if { { ac_try="$ac_link"
2045 case "(($ac_try" in
2046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2047 *) ac_try_echo=$ac_try;;
2048 esac
2049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2050 $as_echo "$ac_try_echo"; } >&5
2051 (eval "$ac_link") 2>conftest.err
2052 ac_status=$?
2053 if test -s conftest.err; then
2054 grep -v '^ *+' conftest.err >conftest.er1
2055 cat conftest.er1 >&5
2056 mv -f conftest.er1 conftest.err
2058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2059 test $ac_status = 0; } && {
2060 test -z "$ac_cxx_werror_flag" ||
2061 test ! -s conftest.err
2062 } && test -s conftest$ac_exeext && {
2063 test "$cross_compiling" = yes ||
2064 $as_test_x conftest$ac_exeext
2065 }; then :
2066 ac_retval=0
2067 else
2068 $as_echo "$as_me: failed program was:" >&5
2069 sed 's/^/| /' conftest.$ac_ext >&5
2071 ac_retval=1
2073 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2074 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2075 # interfere with the next link command; also delete a directory that is
2076 # left behind by Apple's compiler. We do this before executing the actions.
2077 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2078 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2079 return $ac_retval
2081 } # ac_fn_cxx_try_link
2083 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2084 # -------------------------------------------------------
2085 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2086 # the include files in INCLUDES and setting the cache variable VAR
2087 # accordingly.
2088 ac_fn_c_check_header_mongrel ()
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093 $as_echo_n "checking for $2... " >&6; }
2094 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2095 $as_echo_n "(cached) " >&6
2097 eval ac_res=\$$3
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
2100 else
2101 # Is the header compilable?
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2103 $as_echo_n "checking $2 usability... " >&6; }
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2107 #include <$2>
2108 _ACEOF
2109 if ac_fn_c_try_compile "$LINENO"; then :
2110 ac_header_compiler=yes
2111 else
2112 ac_header_compiler=no
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2116 $as_echo "$ac_header_compiler" >&6; }
2118 # Is the header present?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2120 $as_echo_n "checking $2 presence... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_cpp "$LINENO"; then :
2126 ac_header_preproc=yes
2127 else
2128 ac_header_preproc=no
2130 rm -f conftest.err conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2132 $as_echo "$ac_header_preproc" >&6; }
2134 # So? What about this header?
2135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2136 yes:no: )
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2138 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2140 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2142 no:yes:* )
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2144 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2146 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2148 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2150 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2152 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2154 esac
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158 $as_echo_n "(cached) " >&6
2159 else
2160 eval "$3=\$ac_header_compiler"
2162 eval ac_res=\$$3
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2166 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2168 } # ac_fn_c_check_header_mongrel
2170 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2171 # ---------------------------------------------------------
2172 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173 # the include files in INCLUDES and setting the cache variable VAR
2174 # accordingly.
2175 ac_fn_cxx_check_header_mongrel ()
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2182 $as_echo_n "(cached) " >&6
2184 eval ac_res=\$$3
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 else
2188 # Is the header compilable?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190 $as_echo_n "checking $2 usability... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_cxx_try_compile "$LINENO"; then :
2197 ac_header_compiler=yes
2198 else
2199 ac_header_compiler=no
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203 $as_echo "$ac_header_compiler" >&6; }
2205 # Is the header present?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207 $as_echo_n "checking $2 presence... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_cpp "$LINENO"; then :
2213 ac_header_preproc=yes
2214 else
2215 ac_header_preproc=no
2217 rm -f conftest.err conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219 $as_echo "$ac_header_preproc" >&6; }
2221 # So? What about this header?
2222 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2223 yes:no: )
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2229 no:yes:* )
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2233 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2237 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241 esac
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2245 $as_echo_n "(cached) " >&6
2246 else
2247 eval "$3=\$ac_header_compiler"
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2253 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2255 } # ac_fn_cxx_check_header_mongrel
2257 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2258 # --------------------------------------------
2259 # Tries to find the compile-time value of EXPR in a program that includes
2260 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2261 # computed
2262 ac_fn_c_compute_int ()
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 if test "$cross_compiling" = yes; then
2266 # Depending upon the size, compute the lo and hi bounds.
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2271 main ()
2273 static int test_array [1 - 2 * !(($2) >= 0)];
2274 test_array [0] = 0
2277 return 0;
2279 _ACEOF
2280 if ac_fn_c_try_compile "$LINENO"; then :
2281 ac_lo=0 ac_mid=0
2282 while :; do
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2287 main ()
2289 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2290 test_array [0] = 0
2293 return 0;
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_hi=$ac_mid; break
2298 else
2299 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2300 if test $ac_lo -le $ac_mid; then
2301 ac_lo= ac_hi=
2302 break
2304 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2307 done
2308 else
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2313 main ()
2315 static int test_array [1 - 2 * !(($2) < 0)];
2316 test_array [0] = 0
2319 return 0;
2321 _ACEOF
2322 if ac_fn_c_try_compile "$LINENO"; then :
2323 ac_hi=-1 ac_mid=-1
2324 while :; do
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2329 main ()
2331 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2332 test_array [0] = 0
2335 return 0;
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_lo=$ac_mid; break
2340 else
2341 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2342 if test $ac_mid -le $ac_hi; then
2343 ac_lo= ac_hi=
2344 break
2346 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 done
2350 else
2351 ac_lo= ac_hi=
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 # Binary search between lo and hi bounds.
2357 while test "x$ac_lo" != "x$ac_hi"; do
2358 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2363 main ()
2365 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2366 test_array [0] = 0
2369 return 0;
2371 _ACEOF
2372 if ac_fn_c_try_compile "$LINENO"; then :
2373 ac_hi=$ac_mid
2374 else
2375 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2378 done
2379 case $ac_lo in #((
2380 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2381 '') ac_retval=1 ;;
2382 esac
2383 else
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2387 static long int longval () { return $2; }
2388 static unsigned long int ulongval () { return $2; }
2389 #include <stdio.h>
2390 #include <stdlib.h>
2392 main ()
2395 FILE *f = fopen ("conftest.val", "w");
2396 if (! f)
2397 return 1;
2398 if (($2) < 0)
2400 long int i = longval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%ld", i);
2405 else
2407 unsigned long int i = ulongval ();
2408 if (i != ($2))
2409 return 1;
2410 fprintf (f, "%lu", i);
2412 /* Do not output a trailing newline, as this causes \r\n confusion
2413 on some platforms. */
2414 return ferror (f) || fclose (f) != 0;
2417 return 0;
2419 _ACEOF
2420 if ac_fn_c_try_run "$LINENO"; then :
2421 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2422 else
2423 ac_retval=1
2425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2426 conftest.$ac_objext conftest.beam conftest.$ac_ext
2427 rm -f conftest.val
2430 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2431 return $ac_retval
2433 } # ac_fn_c_compute_int
2435 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2436 # -------------------------------------------
2437 # Tests whether TYPE exists after having included INCLUDES, setting cache
2438 # variable VAR accordingly.
2439 ac_fn_c_check_type ()
2441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2443 $as_echo_n "checking for $2... " >&6; }
2444 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2445 $as_echo_n "(cached) " >&6
2446 else
2447 eval "$3=no"
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2452 main ()
2454 if (sizeof ($2))
2455 return 0;
2457 return 0;
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2465 main ()
2467 if (sizeof (($2)))
2468 return 0;
2470 return 0;
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2475 else
2476 eval "$3=yes"
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2482 eval ac_res=\$$3
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2484 $as_echo "$ac_res" >&6; }
2485 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2487 } # ac_fn_c_check_type
2488 cat >config.log <<_ACEOF
2489 This file contains any messages produced by compilers while
2490 running configure, to aid debugging if configure makes a mistake.
2492 It was created by package-unused $as_me version-unused, which was
2493 generated by GNU Autoconf 2.64. Invocation command line was
2495 $ $0 $@
2497 _ACEOF
2498 exec 5>>config.log
2500 cat <<_ASUNAME
2501 ## --------- ##
2502 ## Platform. ##
2503 ## --------- ##
2505 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2506 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2507 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2508 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2509 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2511 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2512 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2514 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2515 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2516 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2517 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2518 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2519 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2520 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2522 _ASUNAME
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 for as_dir in $PATH
2527 IFS=$as_save_IFS
2528 test -z "$as_dir" && as_dir=.
2529 $as_echo "PATH: $as_dir"
2530 done
2531 IFS=$as_save_IFS
2533 } >&5
2535 cat >&5 <<_ACEOF
2538 ## ----------- ##
2539 ## Core tests. ##
2540 ## ----------- ##
2542 _ACEOF
2545 # Keep a trace of the command line.
2546 # Strip out --no-create and --no-recursion so they do not pile up.
2547 # Strip out --silent because we don't want to record it for future runs.
2548 # Also quote any args containing shell meta-characters.
2549 # Make two passes to allow for proper duplicate-argument suppression.
2550 ac_configure_args=
2551 ac_configure_args0=
2552 ac_configure_args1=
2553 ac_must_keep_next=false
2554 for ac_pass in 1 2
2556 for ac_arg
2558 case $ac_arg in
2559 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2561 | -silent | --silent | --silen | --sile | --sil)
2562 continue ;;
2563 *\'*)
2564 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2565 esac
2566 case $ac_pass in
2567 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2569 as_fn_append ac_configure_args1 " '$ac_arg'"
2570 if test $ac_must_keep_next = true; then
2571 ac_must_keep_next=false # Got value, back to normal.
2572 else
2573 case $ac_arg in
2574 *=* | --config-cache | -C | -disable-* | --disable-* \
2575 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2576 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2577 | -with-* | --with-* | -without-* | --without-* | --x)
2578 case "$ac_configure_args0 " in
2579 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2580 esac
2582 -* ) ac_must_keep_next=true ;;
2583 esac
2585 as_fn_append ac_configure_args " '$ac_arg'"
2587 esac
2588 done
2589 done
2590 { ac_configure_args0=; unset ac_configure_args0;}
2591 { ac_configure_args1=; unset ac_configure_args1;}
2593 # When interrupted or exit'd, cleanup temporary files, and complete
2594 # config.log. We remove comments because anyway the quotes in there
2595 # would cause problems or look ugly.
2596 # WARNING: Use '\'' to represent an apostrophe within the trap.
2597 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2598 trap 'exit_status=$?
2599 # Save into config.log some information that might help in debugging.
2601 echo
2603 cat <<\_ASBOX
2604 ## ---------------- ##
2605 ## Cache variables. ##
2606 ## ---------------- ##
2607 _ASBOX
2608 echo
2609 # The following way of writing the cache mishandles newlines in values,
2611 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2612 eval ac_val=\$$ac_var
2613 case $ac_val in #(
2614 *${as_nl}*)
2615 case $ac_var in #(
2616 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2617 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2618 esac
2619 case $ac_var in #(
2620 _ | IFS | as_nl) ;; #(
2621 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2622 *) { eval $ac_var=; unset $ac_var;} ;;
2623 esac ;;
2624 esac
2625 done
2626 (set) 2>&1 |
2627 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2628 *${as_nl}ac_space=\ *)
2629 sed -n \
2630 "s/'\''/'\''\\\\'\'''\''/g;
2631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2632 ;; #(
2634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2636 esac |
2637 sort
2639 echo
2641 cat <<\_ASBOX
2642 ## ----------------- ##
2643 ## Output variables. ##
2644 ## ----------------- ##
2645 _ASBOX
2646 echo
2647 for ac_var in $ac_subst_vars
2649 eval ac_val=\$$ac_var
2650 case $ac_val in
2651 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2652 esac
2653 $as_echo "$ac_var='\''$ac_val'\''"
2654 done | sort
2655 echo
2657 if test -n "$ac_subst_files"; then
2658 cat <<\_ASBOX
2659 ## ------------------- ##
2660 ## File substitutions. ##
2661 ## ------------------- ##
2662 _ASBOX
2663 echo
2664 for ac_var in $ac_subst_files
2666 eval ac_val=\$$ac_var
2667 case $ac_val in
2668 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2669 esac
2670 $as_echo "$ac_var='\''$ac_val'\''"
2671 done | sort
2672 echo
2675 if test -s confdefs.h; then
2676 cat <<\_ASBOX
2677 ## ----------- ##
2678 ## confdefs.h. ##
2679 ## ----------- ##
2680 _ASBOX
2681 echo
2682 cat confdefs.h
2683 echo
2685 test "$ac_signal" != 0 &&
2686 $as_echo "$as_me: caught signal $ac_signal"
2687 $as_echo "$as_me: exit $exit_status"
2688 } >&5
2689 rm -f core *.core core.conftest.* &&
2690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2691 exit $exit_status
2693 for ac_signal in 1 2 13 15; do
2694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2695 done
2696 ac_signal=0
2698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2699 rm -f -r conftest* confdefs.h
2701 $as_echo "/* confdefs.h */" > confdefs.h
2703 # Predefined preprocessor variables.
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_NAME "$PACKAGE_NAME"
2707 _ACEOF
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2711 _ACEOF
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2715 _ACEOF
2717 cat >>confdefs.h <<_ACEOF
2718 #define PACKAGE_STRING "$PACKAGE_STRING"
2719 _ACEOF
2721 cat >>confdefs.h <<_ACEOF
2722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2723 _ACEOF
2725 cat >>confdefs.h <<_ACEOF
2726 #define PACKAGE_URL "$PACKAGE_URL"
2727 _ACEOF
2730 # Let the site file select an alternate cache file if it wants to.
2731 # Prefer an explicitly selected file to automatically selected ones.
2732 ac_site_file1=NONE
2733 ac_site_file2=NONE
2734 if test -n "$CONFIG_SITE"; then
2735 ac_site_file1=$CONFIG_SITE
2736 elif test "x$prefix" != xNONE; then
2737 ac_site_file1=$prefix/share/config.site
2738 ac_site_file2=$prefix/etc/config.site
2739 else
2740 ac_site_file1=$ac_default_prefix/share/config.site
2741 ac_site_file2=$ac_default_prefix/etc/config.site
2743 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2745 test "x$ac_site_file" = xNONE && continue
2746 if test -r "$ac_site_file"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2748 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2749 sed 's/^/| /' "$ac_site_file" >&5
2750 . "$ac_site_file"
2752 done
2754 if test -r "$cache_file"; then
2755 # Some versions of bash will fail to source /dev/null (special
2756 # files actually), so we avoid doing that.
2757 if test -f "$cache_file"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2759 $as_echo "$as_me: loading cache $cache_file" >&6;}
2760 case $cache_file in
2761 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2762 *) . "./$cache_file";;
2763 esac
2765 else
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2767 $as_echo "$as_me: creating cache $cache_file" >&6;}
2768 >$cache_file
2771 # Check that the precious variables saved in the cache have kept the same
2772 # value.
2773 ac_cache_corrupted=false
2774 for ac_var in $ac_precious_vars; do
2775 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2776 eval ac_new_set=\$ac_env_${ac_var}_set
2777 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2778 eval ac_new_val=\$ac_env_${ac_var}_value
2779 case $ac_old_set,$ac_new_set in
2780 set,)
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2782 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2783 ac_cache_corrupted=: ;;
2784 ,set)
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2786 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2787 ac_cache_corrupted=: ;;
2788 ,);;
2790 if test "x$ac_old_val" != "x$ac_new_val"; then
2791 # differences in whitespace do not lead to failure.
2792 ac_old_val_w=`echo x $ac_old_val`
2793 ac_new_val_w=`echo x $ac_new_val`
2794 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2796 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2797 ac_cache_corrupted=:
2798 else
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2800 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2801 eval $ac_var=\$ac_old_val
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2804 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2806 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2807 fi;;
2808 esac
2809 # Pass precious variables to config.status.
2810 if test "$ac_new_set" = set; then
2811 case $ac_new_val in
2812 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2813 *) ac_arg=$ac_var=$ac_new_val ;;
2814 esac
2815 case " $ac_configure_args " in
2816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2817 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2818 esac
2820 done
2821 if $ac_cache_corrupted; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2825 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2826 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2828 ## -------------------- ##
2829 ## Main body of script. ##
2830 ## -------------------- ##
2832 ac_ext=c
2833 ac_cpp='$CPP $CPPFLAGS'
2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2843 ac_config_headers="$ac_config_headers config.h"
2846 # This works around the fact that libtool configuration may change LD
2847 # for this particular configuration, but some shells, instead of
2848 # keeping the changes in LD private, export them just because LD is
2849 # exported. Only used at the end of this file.
2850 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2852 # Find the rest of the source tree framework.
2853 # Default to --enable-multilib
2854 # Check whether --enable-multilib was given.
2855 if test "${enable_multilib+set}" = set; then :
2856 enableval=$enable_multilib; case "$enableval" in
2857 yes) multilib=yes ;;
2858 no) multilib=no ;;
2859 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2860 esac
2861 else
2862 multilib=yes
2866 # We may get other options which we leave undocumented:
2867 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2868 # See config-ml.in if you want the gory details.
2870 if test "$srcdir" = "."; then
2871 if test "$with_target_subdir" != "."; then
2872 multi_basedir="$srcdir/$with_multisrctop../.."
2873 else
2874 multi_basedir="$srcdir/$with_multisrctop.."
2876 else
2877 multi_basedir="$srcdir/.."
2881 # Even if the default multilib is not a cross compilation,
2882 # it may be that some of the other multilibs are.
2883 if test $cross_compiling = no && test $multilib = yes \
2884 && test "x${with_multisubdir}" != x ; then
2885 cross_compiling=maybe
2888 ac_config_commands="$ac_config_commands default-1"
2891 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2893 # You will slowly go insane if you do not grok the following fact: when
2894 # building v3 as part of the compiler, the top-level /target/ becomes the
2895 # library's /host/. configure then causes --target to default to --host,
2896 # exactly like any other package using autoconf. Therefore, 'target' and
2897 # 'host' will always be the same. This makes sense both for native and
2898 # cross compilers, just think about it for a little while. :-)
2900 # Also, if v3 is being configured as part of a cross compiler, the top-level
2901 # configure script will pass the "real" host as $with_cross_host.
2903 # Do not delete or change the following two lines. For why, see
2904 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2905 ac_aux_dir=
2906 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2907 for ac_t in install-sh install.sh shtool; do
2908 if test -f "$ac_dir/$ac_t"; then
2909 ac_aux_dir=$ac_dir
2910 ac_install_sh="$ac_aux_dir/$ac_t -c"
2911 break 2
2913 done
2914 done
2915 if test -z "$ac_aux_dir"; then
2916 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2919 # These three variables are undocumented and unsupported,
2920 # and are intended to be withdrawn in a future Autoconf release.
2921 # They can cause serious problems if a builder's source tree is in a directory
2922 # whose full name contains unusual characters.
2923 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2924 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2925 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2928 # Make sure we can run config.sub.
2929 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2930 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2933 $as_echo_n "checking build system type... " >&6; }
2934 if test "${ac_cv_build+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2936 else
2937 ac_build_alias=$build_alias
2938 test "x$ac_build_alias" = x &&
2939 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2940 test "x$ac_build_alias" = x &&
2941 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2942 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2943 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2947 $as_echo "$ac_cv_build" >&6; }
2948 case $ac_cv_build in
2949 *-*-*) ;;
2950 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2951 esac
2952 build=$ac_cv_build
2953 ac_save_IFS=$IFS; IFS='-'
2954 set x $ac_cv_build
2955 shift
2956 build_cpu=$1
2957 build_vendor=$2
2958 shift; shift
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2961 build_os=$*
2962 IFS=$ac_save_IFS
2963 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2967 $as_echo_n "checking host system type... " >&6; }
2968 if test "${ac_cv_host+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2970 else
2971 if test "x$host_alias" = x; then
2972 ac_cv_host=$ac_cv_build
2973 else
2974 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2975 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2980 $as_echo "$ac_cv_host" >&6; }
2981 case $ac_cv_host in
2982 *-*-*) ;;
2983 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2984 esac
2985 host=$ac_cv_host
2986 ac_save_IFS=$IFS; IFS='-'
2987 set x $ac_cv_host
2988 shift
2989 host_cpu=$1
2990 host_vendor=$2
2991 shift; shift
2992 # Remember, the first character of IFS is used to create $*,
2993 # except with old shells:
2994 host_os=$*
2995 IFS=$ac_save_IFS
2996 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3000 $as_echo_n "checking target system type... " >&6; }
3001 if test "${ac_cv_target+set}" = set; then :
3002 $as_echo_n "(cached) " >&6
3003 else
3004 if test "x$target_alias" = x; then
3005 ac_cv_target=$ac_cv_host
3006 else
3007 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3008 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3013 $as_echo "$ac_cv_target" >&6; }
3014 case $ac_cv_target in
3015 *-*-*) ;;
3016 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3017 esac
3018 target=$ac_cv_target
3019 ac_save_IFS=$IFS; IFS='-'
3020 set x $ac_cv_target
3021 shift
3022 target_cpu=$1
3023 target_vendor=$2
3024 shift; shift
3025 # Remember, the first character of IFS is used to create $*,
3026 # except with old shells:
3027 target_os=$*
3028 IFS=$ac_save_IFS
3029 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3032 # The aliases save the names the user supplied, while $host etc.
3033 # will get canonicalized.
3034 test -n "$target_alias" &&
3035 test "$program_prefix$program_suffix$program_transform_name" = \
3036 NONENONEs,x,x, &&
3037 program_prefix=${target_alias}-
3039 target_alias=${target_alias-$host_alias}
3041 # Handy for debugging:
3042 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3044 if test "$build" != "$host"; then
3045 # We are being configured with some form of cross compiler.
3046 GLIBCXX_IS_NATIVE=false
3047 case "$host","$target" in
3048 # Darwin crosses can use the host system's libraries and headers,
3049 # because of the fat library support. Of course, it must be the
3050 # same version of Darwin on both sides. Allow the user to
3051 # just say --target=foo-darwin without a version number to mean
3052 # "the version on this system".
3053 *-*-darwin*,*-*-darwin*)
3054 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3055 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3056 if test $hostos = $targetos -o $targetos = darwin ; then
3057 GLIBCXX_IS_NATIVE=true
3064 esac
3065 else
3066 GLIBCXX_IS_NATIVE=true
3069 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3070 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3071 # 1.x: minimum required version
3072 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3073 # of other PACKAGE_* variables will, however, and there's nothing
3074 # we can do about that; they come from AC_INIT).
3075 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3076 # file in the top srcdir, etc, etc), so stop complaining.
3077 # no-dependencies: turns off auto dependency generation (just for now)
3078 # no-dist: we don't want 'dist' and related rules.
3079 # -Wall: turns on all automake warnings...
3080 # -Wno-portability: ...except this one, since GNU make is now required.
3081 am__api_version='1.11'
3083 # Find a good install program. We prefer a C program (faster),
3084 # so one script is as good as another. But avoid the broken or
3085 # incompatible versions:
3086 # SysV /etc/install, /usr/sbin/install
3087 # SunOS /usr/etc/install
3088 # IRIX /sbin/install
3089 # AIX /bin/install
3090 # AmigaOS /C/install, which installs bootblocks on floppy discs
3091 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3092 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3093 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3094 # OS/2's system install, which has a completely different semantic
3095 # ./install, which can be erroneously created by make from ./install.sh.
3096 # Reject install programs that cannot install multiple files.
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3098 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3099 if test -z "$INSTALL"; then
3100 if test "${ac_cv_path_install+set}" = set; then :
3101 $as_echo_n "(cached) " >&6
3102 else
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH
3106 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=.
3108 # Account for people who put trailing slashes in PATH elements.
3109 case $as_dir/ in #((
3110 ./ | .// | /[cC]/* | \
3111 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3112 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3113 /usr/ucb/* ) ;;
3115 # OSF1 and SCO ODT 3.0 have their own names for install.
3116 # Don't use installbsd from OSF since it installs stuff as root
3117 # by default.
3118 for ac_prog in ginstall scoinst install; do
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3121 if test $ac_prog = install &&
3122 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3123 # AIX install. It has an incompatible calling convention.
3125 elif test $ac_prog = install &&
3126 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3127 # program-specific install script used by HP pwplus--don't use.
3129 else
3130 rm -rf conftest.one conftest.two conftest.dir
3131 echo one > conftest.one
3132 echo two > conftest.two
3133 mkdir conftest.dir
3134 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3135 test -s conftest.one && test -s conftest.two &&
3136 test -s conftest.dir/conftest.one &&
3137 test -s conftest.dir/conftest.two
3138 then
3139 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3140 break 3
3144 done
3145 done
3147 esac
3149 done
3150 IFS=$as_save_IFS
3152 rm -rf conftest.one conftest.two conftest.dir
3155 if test "${ac_cv_path_install+set}" = set; then
3156 INSTALL=$ac_cv_path_install
3157 else
3158 # As a last resort, use the slow shell script. Don't cache a
3159 # value for INSTALL within a source directory, because that will
3160 # break other packages using the cache if that directory is
3161 # removed, or if the value is a relative name.
3162 INSTALL=$ac_install_sh
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3166 $as_echo "$INSTALL" >&6; }
3168 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3169 # It thinks the first close brace ends the variable substitution.
3170 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3172 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3174 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3177 $as_echo_n "checking whether build environment is sane... " >&6; }
3178 # Just in case
3179 sleep 1
3180 echo timestamp > conftest.file
3181 # Reject unsafe characters in $srcdir or the absolute working directory
3182 # name. Accept space and tab only in the latter.
3183 am_lf='
3185 case `pwd` in
3186 *[\\\"\#\$\&\'\`$am_lf]*)
3187 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3188 esac
3189 case $srcdir in
3190 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3191 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3192 esac
3194 # Do `set' in a subshell so we don't clobber the current shell's
3195 # arguments. Must try -L first in case configure is actually a
3196 # symlink; some systems play weird games with the mod time of symlinks
3197 # (eg FreeBSD returns the mod time of the symlink's containing
3198 # directory).
3199 if (
3200 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3201 if test "$*" = "X"; then
3202 # -L didn't work.
3203 set X `ls -t "$srcdir/configure" conftest.file`
3205 rm -f conftest.file
3206 if test "$*" != "X $srcdir/configure conftest.file" \
3207 && test "$*" != "X conftest.file $srcdir/configure"; then
3209 # If neither matched, then we have a broken ls. This can happen
3210 # if, for instance, CONFIG_SHELL is bash and it inherits a
3211 # broken ls alias from the environment. This has actually
3212 # happened. Such a system could not be considered "sane".
3213 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3214 alias in your environment" "$LINENO" 5
3217 test "$2" = conftest.file
3219 then
3220 # Ok.
3222 else
3223 as_fn_error "newly created file is older than distributed files!
3224 Check your system clock" "$LINENO" 5
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227 $as_echo "yes" >&6; }
3228 test "$program_prefix" != NONE &&
3229 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3230 # Use a double $ so make ignores it.
3231 test "$program_suffix" != NONE &&
3232 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3233 # Double any \ or $.
3234 # By default was `s,x,x', remove it if useless.
3235 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3236 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3238 # expand $ac_aux_dir to an absolute path
3239 am_aux_dir=`cd $ac_aux_dir && pwd`
3241 if test x"${MISSING+set}" != xset; then
3242 case $am_aux_dir in
3243 *\ * | *\ *)
3244 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3246 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3247 esac
3249 # Use eval to expand $SHELL
3250 if eval "$MISSING --run true"; then
3251 am_missing_run="$MISSING --run "
3252 else
3253 am_missing_run=
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3255 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3258 if test x"${install_sh}" != xset; then
3259 case $am_aux_dir in
3260 *\ * | *\ *)
3261 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3263 install_sh="\${SHELL} $am_aux_dir/install-sh"
3264 esac
3267 # Installed binaries are usually stripped using `strip' when the user
3268 # run `make install-strip'. However `strip' might not be the right
3269 # tool to use in cross-compilation environments, therefore Automake
3270 # will honor the `STRIP' environment variable to overrule this program.
3271 if test "$cross_compiling" != no; then
3272 if test -n "$ac_tool_prefix"; then
3273 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3274 set dummy ${ac_tool_prefix}strip; ac_word=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if test "${ac_cv_prog_STRIP+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3279 else
3280 if test -n "$STRIP"; then
3281 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3282 else
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 for as_dir in $PATH
3286 IFS=$as_save_IFS
3287 test -z "$as_dir" && as_dir=.
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 break 2
3294 done
3295 done
3296 IFS=$as_save_IFS
3300 STRIP=$ac_cv_prog_STRIP
3301 if test -n "$STRIP"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3303 $as_echo "$STRIP" >&6; }
3304 else
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3311 if test -z "$ac_cv_prog_STRIP"; then
3312 ac_ct_STRIP=$STRIP
3313 # Extract the first word of "strip", so it can be a program name with args.
3314 set dummy strip; ac_word=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3318 $as_echo_n "(cached) " >&6
3319 else
3320 if test -n "$ac_ct_STRIP"; then
3321 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3322 else
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 for as_dir in $PATH
3326 IFS=$as_save_IFS
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3330 ac_cv_prog_ac_ct_STRIP="strip"
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 break 2
3334 done
3335 done
3336 IFS=$as_save_IFS
3340 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3341 if test -n "$ac_ct_STRIP"; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3343 $as_echo "$ac_ct_STRIP" >&6; }
3344 else
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3349 if test "x$ac_ct_STRIP" = x; then
3350 STRIP=":"
3351 else
3352 case $cross_compiling:$ac_tool_warned in
3353 yes:)
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3356 ac_tool_warned=yes ;;
3357 esac
3358 STRIP=$ac_ct_STRIP
3360 else
3361 STRIP="$ac_cv_prog_STRIP"
3365 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3368 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3369 if test -z "$MKDIR_P"; then
3370 if test "${ac_cv_path_mkdir+set}" = set; then :
3371 $as_echo_n "(cached) " >&6
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_prog in mkdir gmkdir; do
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3381 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3382 'mkdir (GNU coreutils) '* | \
3383 'mkdir (coreutils) '* | \
3384 'mkdir (fileutils) '4.1*)
3385 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3386 break 3;;
3387 esac
3388 done
3389 done
3390 done
3391 IFS=$as_save_IFS
3395 if test "${ac_cv_path_mkdir+set}" = set; then
3396 MKDIR_P="$ac_cv_path_mkdir -p"
3397 else
3398 # As a last resort, use the slow shell script. Don't cache a
3399 # value for MKDIR_P within a source directory, because that will
3400 # break other packages using the cache if that directory is
3401 # removed, or if the value is a relative name.
3402 test -d ./--version && rmdir ./--version
3403 MKDIR_P="$ac_install_sh -d"
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3407 $as_echo "$MKDIR_P" >&6; }
3409 mkdir_p="$MKDIR_P"
3410 case $mkdir_p in
3411 [\\/$]* | ?:[\\/]*) ;;
3412 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3413 esac
3415 for ac_prog in gawk mawk nawk awk
3417 # Extract the first word of "$ac_prog", so it can be a program name with args.
3418 set dummy $ac_prog; ac_word=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if test "${ac_cv_prog_AWK+set}" = set; then :
3422 $as_echo_n "(cached) " >&6
3423 else
3424 if test -n "$AWK"; then
3425 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3430 IFS=$as_save_IFS
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434 ac_cv_prog_AWK="$ac_prog"
3435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 break 2
3438 done
3439 done
3440 IFS=$as_save_IFS
3444 AWK=$ac_cv_prog_AWK
3445 if test -n "$AWK"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3447 $as_echo "$AWK" >&6; }
3448 else
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3454 test -n "$AWK" && break
3455 done
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3458 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3459 set x ${MAKE-make}
3460 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3461 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3462 $as_echo_n "(cached) " >&6
3463 else
3464 cat >conftest.make <<\_ACEOF
3465 SHELL = /bin/sh
3466 all:
3467 @echo '@@@%%%=$(MAKE)=@@@%%%'
3468 _ACEOF
3469 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3470 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3471 *@@@%%%=?*=@@@%%%*)
3472 eval ac_cv_prog_make_${ac_make}_set=yes;;
3474 eval ac_cv_prog_make_${ac_make}_set=no;;
3475 esac
3476 rm -f conftest.make
3478 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3480 $as_echo "yes" >&6; }
3481 SET_MAKE=
3482 else
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3485 SET_MAKE="MAKE=${MAKE-make}"
3488 rm -rf .tst 2>/dev/null
3489 mkdir .tst 2>/dev/null
3490 if test -d .tst; then
3491 am__leading_dot=.
3492 else
3493 am__leading_dot=_
3495 rmdir .tst 2>/dev/null
3497 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3498 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3499 # is not polluted with repeated "-I."
3500 am__isrc=' -I$(srcdir)'
3501 # test to see if srcdir already configured
3502 if test -f $srcdir/config.status; then
3503 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3507 # test whether we have cygpath
3508 if test -z "$CYGPATH_W"; then
3509 if (cygpath --version) >/dev/null 2>/dev/null; then
3510 CYGPATH_W='cygpath -w'
3511 else
3512 CYGPATH_W=echo
3517 # Define the identity of the package.
3518 PACKAGE='libstdc++'
3519 VERSION='version-unused'
3522 # Some tools Automake needs.
3524 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3527 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3530 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3533 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3536 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3538 # We need awk for the "check" target. The system "awk" is bad on
3539 # some platforms.
3540 # Always define AMTAR for backward compatibility.
3542 AMTAR=${AMTAR-"${am_missing_run}tar"}
3544 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3553 # -fno-builtin must be present here so that a non-conflicting form of
3554 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3556 save_CXXFLAGS="$CXXFLAGS"
3557 CXXFLAGS="$CXXFLAGS -fno-builtin"
3558 ac_ext=c
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 if test -n "$ac_tool_prefix"; then
3564 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3565 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if test "${ac_cv_prog_CC+set}" = set; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 if test -n "$CC"; then
3572 ac_cv_prog_CC="$CC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3581 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 break 2
3585 done
3586 done
3587 IFS=$as_save_IFS
3591 CC=$ac_cv_prog_CC
3592 if test -n "$CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3602 if test -z "$ac_cv_prog_CC"; then
3603 ac_ct_CC=$CC
3604 # Extract the first word of "gcc", so it can be a program name with args.
3605 set dummy gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 if test -n "$ac_ct_CC"; then
3612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3621 ac_cv_prog_ac_ct_CC="gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3625 done
3626 done
3627 IFS=$as_save_IFS
3631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3632 if test -n "$ac_ct_CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3634 $as_echo "$ac_ct_CC" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3640 if test "x$ac_ct_CC" = x; then
3641 CC=""
3642 else
3643 case $cross_compiling:$ac_tool_warned in
3644 yes:)
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned=yes ;;
3648 esac
3649 CC=$ac_ct_CC
3651 else
3652 CC="$ac_cv_prog_CC"
3655 if test -z "$CC"; then
3656 if test -n "$ac_tool_prefix"; then
3657 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 set dummy ${ac_tool_prefix}cc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if test "${ac_cv_prog_CC+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 if test -n "$CC"; then
3665 ac_cv_prog_CC="$CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3670 IFS=$as_save_IFS
3671 test -z "$as_dir" && as_dir=.
3672 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3674 ac_cv_prog_CC="${ac_tool_prefix}cc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 break 2
3678 done
3679 done
3680 IFS=$as_save_IFS
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3696 if test -z "$CC"; then
3697 # Extract the first word of "cc", so it can be a program name with args.
3698 set dummy cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if test "${ac_cv_prog_CC+set}" = set; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707 ac_prog_rejected=no
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3711 IFS=$as_save_IFS
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3716 ac_prog_rejected=yes
3717 continue
3719 ac_cv_prog_CC="cc"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3723 done
3724 done
3725 IFS=$as_save_IFS
3727 if test $ac_prog_rejected = yes; then
3728 # We found a bogon in the path, so make sure we never use it.
3729 set dummy $ac_cv_prog_CC
3730 shift
3731 if test $# != 0; then
3732 # We chose a different compiler from the bogus one.
3733 # However, it has the same basename, so the bogon will be chosen
3734 # first if we set CC to just the basename; use the full file name.
3735 shift
3736 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3741 CC=$ac_cv_prog_CC
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3752 if test -z "$CC"; then
3753 if test -n "$ac_tool_prefix"; then
3754 for ac_prog in cl.exe
3756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if test "${ac_cv_prog_CC+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC="$CC" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3769 IFS=$as_save_IFS
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 break 2
3777 done
3778 done
3779 IFS=$as_save_IFS
3783 CC=$ac_cv_prog_CC
3784 if test -n "$CC"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3787 else
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3793 test -n "$CC" && break
3794 done
3796 if test -z "$CC"; then
3797 ac_ct_CC=$CC
3798 for ac_prog in cl.exe
3800 # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy $ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$ac_ct_CC"; then
3808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3813 IFS=$as_save_IFS
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3817 ac_cv_prog_ac_ct_CC="$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 break 2
3821 done
3822 done
3823 IFS=$as_save_IFS
3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3837 test -n "$ac_ct_CC" && break
3838 done
3840 if test "x$ac_ct_CC" = x; then
3841 CC=""
3842 else
3843 case $cross_compiling:$ac_tool_warned in
3844 yes:)
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned=yes ;;
3848 esac
3849 CC=$ac_ct_CC
3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error "no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details." "$LINENO" 5; }
3861 # Provide some information about the compiler.
3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3863 set X $ac_compile
3864 ac_compiler=$2
3865 for ac_option in --version -v -V -qversion; do
3866 { { ac_try="$ac_compiler $ac_option >&5"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3874 ac_status=$?
3875 if test -s conftest.err; then
3876 sed '10a\
3877 ... rest of stderr output deleted ...
3878 10q' conftest.err >conftest.er1
3879 cat conftest.er1 >&5
3880 rm -f conftest.er1 conftest.err
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }
3884 done
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3890 main ()
3894 return 0;
3896 _ACEOF
3897 # FIXME: Cleanup?
3898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3899 (eval $ac_link) 2>&5
3900 ac_status=$?
3901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }; then :
3903 gcc_no_link=no
3904 else
3905 gcc_no_link=yes
3907 if test x$gcc_no_link = xyes; then
3908 # Setting cross_compile will disable run tests; it will
3909 # also disable AC_CHECK_FILE but that's generally
3910 # correct if we can't link.
3911 cross_compiling=yes
3912 EXEEXT=
3913 else
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3918 main ()
3922 return 0;
3924 _ACEOF
3925 ac_clean_files_save=$ac_clean_files
3926 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3927 # Try to create an executable without -o first, disregard a.out.
3928 # It will help us diagnose broken compilers, and finding out an intuition
3929 # of exeext.
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3931 $as_echo_n "checking for C compiler default output file name... " >&6; }
3932 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3934 # The possible output files:
3935 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3937 ac_rmfiles=
3938 for ac_file in $ac_files
3940 case $ac_file in
3941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3942 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3943 esac
3944 done
3945 rm -f $ac_rmfiles
3947 if { { ac_try="$ac_link_default"
3948 case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_link_default") 2>&5
3955 ac_status=$?
3956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957 test $ac_status = 0; }; then :
3958 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3959 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3960 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3961 # so that the user can short-circuit this test for compilers unknown to
3962 # Autoconf.
3963 for ac_file in $ac_files ''
3965 test -f "$ac_file" || continue
3966 case $ac_file in
3967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3969 [ab].out )
3970 # We found the default executable, but exeext='' is most
3971 # certainly right.
3972 break;;
3973 *.* )
3974 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3975 then :; else
3976 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3978 # We set ac_cv_exeext here because the later test for it is not
3979 # safe: cross compilers may not add the suffix if given an `-o'
3980 # argument, so we may need to know it at that point already.
3981 # Even if this section looks crufty: it has the advantage of
3982 # actually working.
3983 break;;
3985 break;;
3986 esac
3987 done
3988 test "$ac_cv_exeext" = no && ac_cv_exeext=
3990 else
3991 ac_file=''
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3994 $as_echo "$ac_file" >&6; }
3995 if test -z "$ac_file"; then :
3996 $as_echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
3999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4001 { as_fn_set_status 77
4002 as_fn_error "C compiler cannot create executables
4003 See \`config.log' for more details." "$LINENO" 5; }; }
4005 ac_exeext=$ac_cv_exeext
4007 # Check that the compiler produces executables we can run. If not, either
4008 # the compiler is broken, or we cross compile.
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4010 $as_echo_n "checking whether the C compiler works... " >&6; }
4011 # If not cross compiling, check that we can run a simple program.
4012 if test "$cross_compiling" != yes; then
4013 if { ac_try='./$ac_file'
4014 { { case "(($ac_try" in
4015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4017 esac
4018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4019 $as_echo "$ac_try_echo"; } >&5
4020 (eval "$ac_try") 2>&5
4021 ac_status=$?
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; }; }; then
4024 cross_compiling=no
4025 else
4026 if test "$cross_compiling" = maybe; then
4027 cross_compiling=yes
4028 else
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error "cannot run C compiled programs.
4032 If you meant to cross compile, use \`--host'.
4033 See \`config.log' for more details." "$LINENO" 5; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4038 $as_echo "yes" >&6; }
4040 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4041 ac_clean_files=$ac_clean_files_save
4042 # Check that the compiler produces executables we can run. If not, either
4043 # the compiler is broken, or we cross compile.
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4045 $as_echo_n "checking whether we are cross compiling... " >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4047 $as_echo "$cross_compiling" >&6; }
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4050 $as_echo_n "checking for suffix of executables... " >&6; }
4051 if { { ac_try="$ac_link"
4052 case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055 esac
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_link") 2>&5
4059 ac_status=$?
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }; then :
4062 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4063 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4064 # work properly (i.e., refer to `conftest.exe'), while it won't with
4065 # `rm'.
4066 for ac_file in conftest.exe conftest conftest.*; do
4067 test -f "$ac_file" || continue
4068 case $ac_file in
4069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4070 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4071 break;;
4072 * ) break;;
4073 esac
4074 done
4075 else
4076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4078 as_fn_error "cannot compute suffix of executables: cannot compile and link
4079 See \`config.log' for more details." "$LINENO" 5; }
4081 rm -f conftest$ac_cv_exeext
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4083 $as_echo "$ac_cv_exeext" >&6; }
4085 rm -f conftest.$ac_ext
4086 EXEEXT=$ac_cv_exeext
4087 ac_exeext=$EXEEXT
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4090 $as_echo_n "checking for suffix of object files... " >&6; }
4091 if test "${ac_cv_objext+set}" = set; then :
4092 $as_echo_n "(cached) " >&6
4093 else
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4098 main ()
4102 return 0;
4104 _ACEOF
4105 rm -f conftest.o conftest.obj
4106 if { { ac_try="$ac_compile"
4107 case "(($ac_try" in
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4110 esac
4111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4112 $as_echo "$ac_try_echo"; } >&5
4113 (eval "$ac_compile") 2>&5
4114 ac_status=$?
4115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4116 test $ac_status = 0; }; then :
4117 for ac_file in conftest.o conftest.obj conftest.*; do
4118 test -f "$ac_file" || continue;
4119 case $ac_file in
4120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4121 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4122 break;;
4123 esac
4124 done
4125 else
4126 $as_echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 as_fn_error "cannot compute suffix of object files: cannot compile
4132 See \`config.log' for more details." "$LINENO" 5; }
4134 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4137 $as_echo "$ac_cv_objext" >&6; }
4138 OBJEXT=$ac_cv_objext
4139 ac_objext=$OBJEXT
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4141 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4142 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4143 $as_echo_n "(cached) " >&6
4144 else
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4149 main ()
4151 #ifndef __GNUC__
4152 choke me
4153 #endif
4156 return 0;
4158 _ACEOF
4159 if ac_fn_c_try_compile "$LINENO"; then :
4160 ac_compiler_gnu=yes
4161 else
4162 ac_compiler_gnu=no
4164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4169 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4170 if test $ac_compiler_gnu = yes; then
4171 GCC=yes
4172 else
4173 GCC=
4175 ac_test_CFLAGS=${CFLAGS+set}
4176 ac_save_CFLAGS=$CFLAGS
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4178 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4179 if test "${ac_cv_prog_cc_g+set}" = set; then :
4180 $as_echo_n "(cached) " >&6
4181 else
4182 ac_save_c_werror_flag=$ac_c_werror_flag
4183 ac_c_werror_flag=yes
4184 ac_cv_prog_cc_g=no
4185 CFLAGS="-g"
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4190 main ()
4194 return 0;
4196 _ACEOF
4197 if ac_fn_c_try_compile "$LINENO"; then :
4198 ac_cv_prog_cc_g=yes
4199 else
4200 CFLAGS=""
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4205 main ()
4209 return 0;
4211 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4214 else
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4216 CFLAGS="-g"
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4221 main ()
4225 return 0;
4227 _ACEOF
4228 if ac_fn_c_try_compile "$LINENO"; then :
4229 ac_cv_prog_cc_g=yes
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_c_werror_flag=$ac_save_c_werror_flag
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4239 $as_echo "$ac_cv_prog_cc_g" >&6; }
4240 if test "$ac_test_CFLAGS" = set; then
4241 CFLAGS=$ac_save_CFLAGS
4242 elif test $ac_cv_prog_cc_g = yes; then
4243 if test "$GCC" = yes; then
4244 CFLAGS="-g -O2"
4245 else
4246 CFLAGS="-g"
4248 else
4249 if test "$GCC" = yes; then
4250 CFLAGS="-O2"
4251 else
4252 CFLAGS=
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4256 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4257 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 ac_cv_prog_cc_c89=no
4261 ac_save_CC=$CC
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4264 #include <stdarg.h>
4265 #include <stdio.h>
4266 #include <sys/types.h>
4267 #include <sys/stat.h>
4268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4269 struct buf { int x; };
4270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4271 static char *e (p, i)
4272 char **p;
4273 int i;
4275 return p[i];
4277 static char *f (char * (*g) (char **, int), char **p, ...)
4279 char *s;
4280 va_list v;
4281 va_start (v,p);
4282 s = g (p, va_arg (v,int));
4283 va_end (v);
4284 return s;
4287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4288 function prototypes and stuff, but not '\xHH' hex character constants.
4289 These don't provoke an error unfortunately, instead are silently treated
4290 as 'x'. The following induces an error, until -std is added to get
4291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4292 array size at least. It's necessary to write '\x00'==0 to get something
4293 that's true only with -std. */
4294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4297 inside strings and character constants. */
4298 #define FOO(x) 'x'
4299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4301 int test (int i, double x);
4302 struct s1 {int (*f) (int a);};
4303 struct s2 {int (*f) (double a);};
4304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4305 int argc;
4306 char **argv;
4308 main ()
4310 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4312 return 0;
4314 _ACEOF
4315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4316 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4318 CC="$ac_save_CC $ac_arg"
4319 if ac_fn_c_try_compile "$LINENO"; then :
4320 ac_cv_prog_cc_c89=$ac_arg
4322 rm -f core conftest.err conftest.$ac_objext
4323 test "x$ac_cv_prog_cc_c89" != "xno" && break
4324 done
4325 rm -f conftest.$ac_ext
4326 CC=$ac_save_CC
4329 # AC_CACHE_VAL
4330 case "x$ac_cv_prog_cc_c89" in
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4333 $as_echo "none needed" >&6; } ;;
4334 xno)
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4336 $as_echo "unsupported" >&6; } ;;
4338 CC="$CC $ac_cv_prog_cc_c89"
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4341 esac
4342 if test "x$ac_cv_prog_cc_c89" != xno; then :
4346 ac_ext=c
4347 ac_cpp='$CPP $CPPFLAGS'
4348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4352 ac_ext=cpp
4353 ac_cpp='$CXXCPP $CPPFLAGS'
4354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4357 if test -z "$CXX"; then
4358 if test -n "$CCC"; then
4359 CXX=$CCC
4360 else
4361 if test -n "$ac_tool_prefix"; then
4362 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if test "${ac_cv_prog_CXX+set}" = set; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 if test -n "$CXX"; then
4372 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4373 else
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 for as_dir in $PATH
4377 IFS=$as_save_IFS
4378 test -z "$as_dir" && as_dir=.
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4381 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 break 2
4385 done
4386 done
4387 IFS=$as_save_IFS
4391 CXX=$ac_cv_prog_CXX
4392 if test -n "$CXX"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4394 $as_echo "$CXX" >&6; }
4395 else
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4401 test -n "$CXX" && break
4402 done
4404 if test -z "$CXX"; then
4405 ac_ct_CXX=$CXX
4406 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4408 # Extract the first word of "$ac_prog", so it can be a program name with args.
4409 set dummy $ac_prog; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4413 $as_echo_n "(cached) " >&6
4414 else
4415 if test -n "$ac_ct_CXX"; then
4416 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4417 else
4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 for as_dir in $PATH
4421 IFS=$as_save_IFS
4422 test -z "$as_dir" && as_dir=.
4423 for ac_exec_ext in '' $ac_executable_extensions; do
4424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425 ac_cv_prog_ac_ct_CXX="$ac_prog"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 break 2
4429 done
4430 done
4431 IFS=$as_save_IFS
4435 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4436 if test -n "$ac_ct_CXX"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4438 $as_echo "$ac_ct_CXX" >&6; }
4439 else
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4445 test -n "$ac_ct_CXX" && break
4446 done
4448 if test "x$ac_ct_CXX" = x; then
4449 CXX="g++"
4450 else
4451 case $cross_compiling:$ac_tool_warned in
4452 yes:)
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4455 ac_tool_warned=yes ;;
4456 esac
4457 CXX=$ac_ct_CXX
4463 # Provide some information about the compiler.
4464 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4465 set X $ac_compile
4466 ac_compiler=$2
4467 for ac_option in --version -v -V -qversion; do
4468 { { ac_try="$ac_compiler $ac_option >&5"
4469 case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4476 ac_status=$?
4477 if test -s conftest.err; then
4478 sed '10a\
4479 ... rest of stderr output deleted ...
4480 10q' conftest.err >conftest.er1
4481 cat conftest.er1 >&5
4482 rm -f conftest.er1 conftest.err
4484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4485 test $ac_status = 0; }
4486 done
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4489 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4490 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4491 $as_echo_n "(cached) " >&6
4492 else
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4497 main ()
4499 #ifndef __GNUC__
4500 choke me
4501 #endif
4504 return 0;
4506 _ACEOF
4507 if ac_fn_cxx_try_compile "$LINENO"; then :
4508 ac_compiler_gnu=yes
4509 else
4510 ac_compiler_gnu=no
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4517 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4518 if test $ac_compiler_gnu = yes; then
4519 GXX=yes
4520 else
4521 GXX=
4523 ac_test_CXXFLAGS=${CXXFLAGS+set}
4524 ac_save_CXXFLAGS=$CXXFLAGS
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4526 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4527 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4529 else
4530 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4531 ac_cxx_werror_flag=yes
4532 ac_cv_prog_cxx_g=no
4533 CXXFLAGS="-g"
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4538 main ()
4542 return 0;
4544 _ACEOF
4545 if ac_fn_cxx_try_compile "$LINENO"; then :
4546 ac_cv_prog_cxx_g=yes
4547 else
4548 CXXFLAGS=""
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4553 main ()
4557 return 0;
4559 _ACEOF
4560 if ac_fn_cxx_try_compile "$LINENO"; then :
4562 else
4563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4564 CXXFLAGS="-g"
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4569 main ()
4573 return 0;
4575 _ACEOF
4576 if ac_fn_cxx_try_compile "$LINENO"; then :
4577 ac_cv_prog_cxx_g=yes
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4587 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4588 if test "$ac_test_CXXFLAGS" = set; then
4589 CXXFLAGS=$ac_save_CXXFLAGS
4590 elif test $ac_cv_prog_cxx_g = yes; then
4591 if test "$GXX" = yes; then
4592 CXXFLAGS="-g -O2"
4593 else
4594 CXXFLAGS="-g"
4596 else
4597 if test "$GXX" = yes; then
4598 CXXFLAGS="-O2"
4599 else
4600 CXXFLAGS=
4603 ac_ext=c
4604 ac_cpp='$CPP $CPPFLAGS'
4605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4609 CXXFLAGS="$save_CXXFLAGS"
4611 # Runs configure.host, and assorted other critical bits. Sets
4612 # up critical shell variables.
4614 ac_ext=c
4615 ac_cpp='$CPP $CPPFLAGS'
4616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4620 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4621 # On Suns, sometimes $CPP names a directory.
4622 if test -n "$CPP" && test -d "$CPP"; then
4623 CPP=
4625 if test -z "$CPP"; then
4626 if test "${ac_cv_prog_CPP+set}" = set; then :
4627 $as_echo_n "(cached) " >&6
4628 else
4629 # Double quotes because CPP needs to be expanded
4630 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4632 ac_preproc_ok=false
4633 for ac_c_preproc_warn_flag in '' yes
4635 # Use a header file that comes with gcc, so configuring glibc
4636 # with a fresh cross-compiler works.
4637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638 # <limits.h> exists even on freestanding compilers.
4639 # On the NeXT, cc -E runs the code through the compiler's parser,
4640 # not just through cpp. "Syntax error" is here to catch this case.
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4643 #ifdef __STDC__
4644 # include <limits.h>
4645 #else
4646 # include <assert.h>
4647 #endif
4648 Syntax error
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4652 else
4653 # Broken: fails on valid input.
4654 continue
4656 rm -f conftest.err conftest.$ac_ext
4658 # OK, works on sane cases. Now check whether nonexistent headers
4659 # can be detected and how.
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4662 #include <ac_nonexistent.h>
4663 _ACEOF
4664 if ac_fn_c_try_cpp "$LINENO"; then :
4665 # Broken: success on invalid input.
4666 continue
4667 else
4668 # Passes both tests.
4669 ac_preproc_ok=:
4670 break
4672 rm -f conftest.err conftest.$ac_ext
4674 done
4675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4676 rm -f conftest.err conftest.$ac_ext
4677 if $ac_preproc_ok; then :
4678 break
4681 done
4682 ac_cv_prog_CPP=$CPP
4685 CPP=$ac_cv_prog_CPP
4686 else
4687 ac_cv_prog_CPP=$CPP
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4690 $as_echo "$CPP" >&6; }
4691 ac_preproc_ok=false
4692 for ac_c_preproc_warn_flag in '' yes
4694 # Use a header file that comes with gcc, so configuring glibc
4695 # with a fresh cross-compiler works.
4696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4697 # <limits.h> exists even on freestanding compilers.
4698 # On the NeXT, cc -E runs the code through the compiler's parser,
4699 # not just through cpp. "Syntax error" is here to catch this case.
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4702 #ifdef __STDC__
4703 # include <limits.h>
4704 #else
4705 # include <assert.h>
4706 #endif
4707 Syntax error
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4711 else
4712 # Broken: fails on valid input.
4713 continue
4715 rm -f conftest.err conftest.$ac_ext
4717 # OK, works on sane cases. Now check whether nonexistent headers
4718 # can be detected and how.
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4721 #include <ac_nonexistent.h>
4722 _ACEOF
4723 if ac_fn_c_try_cpp "$LINENO"; then :
4724 # Broken: success on invalid input.
4725 continue
4726 else
4727 # Passes both tests.
4728 ac_preproc_ok=:
4729 break
4731 rm -f conftest.err conftest.$ac_ext
4733 done
4734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4735 rm -f conftest.err conftest.$ac_ext
4736 if $ac_preproc_ok; then :
4738 else
4739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4741 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4742 See \`config.log' for more details." "$LINENO" 5; }
4745 ac_ext=c
4746 ac_cpp='$CPP $CPPFLAGS'
4747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4753 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4754 if test "${ac_cv_path_GREP+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 if test -z "$GREP"; then
4758 ac_path_GREP_found=false
4759 # Loop through the user's path and test for each of PROGNAME-LIST
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 for ac_prog in grep ggrep; do
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4768 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4769 # Check for GNU ac_path_GREP and select it if it is found.
4770 # Check for GNU $ac_path_GREP
4771 case `"$ac_path_GREP" --version 2>&1` in
4772 *GNU*)
4773 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4775 ac_count=0
4776 $as_echo_n 0123456789 >"conftest.in"
4777 while :
4779 cat "conftest.in" "conftest.in" >"conftest.tmp"
4780 mv "conftest.tmp" "conftest.in"
4781 cp "conftest.in" "conftest.nl"
4782 $as_echo 'GREP' >> "conftest.nl"
4783 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4784 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4785 as_fn_arith $ac_count + 1 && ac_count=$as_val
4786 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4787 # Best one so far, save it but keep looking for a better one
4788 ac_cv_path_GREP="$ac_path_GREP"
4789 ac_path_GREP_max=$ac_count
4791 # 10*(2^10) chars as input seems more than enough
4792 test $ac_count -gt 10 && break
4793 done
4794 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4795 esac
4797 $ac_path_GREP_found && break 3
4798 done
4799 done
4800 done
4801 IFS=$as_save_IFS
4802 if test -z "$ac_cv_path_GREP"; then
4803 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4805 else
4806 ac_cv_path_GREP=$GREP
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4811 $as_echo "$ac_cv_path_GREP" >&6; }
4812 GREP="$ac_cv_path_GREP"
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4816 $as_echo_n "checking for egrep... " >&6; }
4817 if test "${ac_cv_path_EGREP+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4819 else
4820 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4821 then ac_cv_path_EGREP="$GREP -E"
4822 else
4823 if test -z "$EGREP"; then
4824 ac_path_EGREP_found=false
4825 # Loop through the user's path and test for each of PROGNAME-LIST
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4829 IFS=$as_save_IFS
4830 test -z "$as_dir" && as_dir=.
4831 for ac_prog in egrep; do
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4834 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4835 # Check for GNU ac_path_EGREP and select it if it is found.
4836 # Check for GNU $ac_path_EGREP
4837 case `"$ac_path_EGREP" --version 2>&1` in
4838 *GNU*)
4839 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4841 ac_count=0
4842 $as_echo_n 0123456789 >"conftest.in"
4843 while :
4845 cat "conftest.in" "conftest.in" >"conftest.tmp"
4846 mv "conftest.tmp" "conftest.in"
4847 cp "conftest.in" "conftest.nl"
4848 $as_echo 'EGREP' >> "conftest.nl"
4849 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4850 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4851 as_fn_arith $ac_count + 1 && ac_count=$as_val
4852 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4853 # Best one so far, save it but keep looking for a better one
4854 ac_cv_path_EGREP="$ac_path_EGREP"
4855 ac_path_EGREP_max=$ac_count
4857 # 10*(2^10) chars as input seems more than enough
4858 test $ac_count -gt 10 && break
4859 done
4860 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4861 esac
4863 $ac_path_EGREP_found && break 3
4864 done
4865 done
4866 done
4867 IFS=$as_save_IFS
4868 if test -z "$ac_cv_path_EGREP"; then
4869 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4871 else
4872 ac_cv_path_EGREP=$EGREP
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4878 $as_echo "$ac_cv_path_EGREP" >&6; }
4879 EGREP="$ac_cv_path_EGREP"
4883 # Keep these sync'd with the list in Makefile.am. The first provides an
4884 # expandable list at autoconf time; the second provides an expandable list
4885 # (i.e., shell variable) at configure time.
4887 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4889 # These need to be absolute paths, yet at the same time need to
4890 # canonicalize only relative paths, because then amd will not unmount
4891 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4892 glibcxx_builddir=`${PWDCMD-pwd}`
4893 case $srcdir in
4894 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4895 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4896 esac
4897 toplevel_builddir=${glibcxx_builddir}/..
4898 toplevel_srcdir=${glibcxx_srcdir}/..
4904 # We use these options to decide which functions to include. They are
4905 # set from the top level.
4907 # Check whether --with-target-subdir was given.
4908 if test "${with_target_subdir+set}" = set; then :
4909 withval=$with_target_subdir;
4914 # Check whether --with-cross-host was given.
4915 if test "${with_cross_host+set}" = set; then :
4916 withval=$with_cross_host;
4921 # Check whether --with-newlib was given.
4922 if test "${with_newlib+set}" = set; then :
4923 withval=$with_newlib;
4927 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4928 # available). Uncomment the next line to force a particular method.
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4930 $as_echo_n "checking whether ln -s works... " >&6; }
4931 LN_S=$as_ln_s
4932 if test "$LN_S" = "ln -s"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4934 $as_echo "yes" >&6; }
4935 else
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4937 $as_echo "no, using $LN_S" >&6; }
4940 #LN_S='cp -p'
4942 if test -n "$ac_tool_prefix"; then
4943 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}as; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_AS+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 if test -n "$AS"; then
4951 ac_cv_prog_AS="$AS" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_AS="${ac_tool_prefix}as"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 break 2
4964 done
4965 done
4966 IFS=$as_save_IFS
4970 AS=$ac_cv_prog_AS
4971 if test -n "$AS"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4973 $as_echo "$AS" >&6; }
4974 else
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4981 if test -z "$ac_cv_prog_AS"; then
4982 ac_ct_AS=$AS
4983 # Extract the first word of "as", so it can be a program name with args.
4984 set dummy as; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 if test -n "$ac_ct_AS"; then
4991 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_ac_ct_AS="as"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5004 done
5005 done
5006 IFS=$as_save_IFS
5010 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5011 if test -n "$ac_ct_AS"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5013 $as_echo "$ac_ct_AS" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5019 if test "x$ac_ct_AS" = x; then
5020 AS=""
5021 else
5022 case $cross_compiling:$ac_tool_warned in
5023 yes:)
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5027 esac
5028 AS=$ac_ct_AS
5030 else
5031 AS="$ac_cv_prog_AS"
5034 if test -n "$ac_tool_prefix"; then
5035 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5036 set dummy ${ac_tool_prefix}ar; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if test "${ac_cv_prog_AR+set}" = set; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$AR"; then
5043 ac_cv_prog_AR="$AR" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052 ac_cv_prog_AR="${ac_tool_prefix}ar"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 AR=$ac_cv_prog_AR
5063 if test -n "$AR"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5065 $as_echo "$AR" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5073 if test -z "$ac_cv_prog_AR"; then
5074 ac_ct_AR=$AR
5075 # Extract the first word of "ar", so it can be a program name with args.
5076 set dummy ar; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 if test -n "$ac_ct_AR"; then
5083 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5088 IFS=$as_save_IFS
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092 ac_cv_prog_ac_ct_AR="ar"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 break 2
5096 done
5097 done
5098 IFS=$as_save_IFS
5102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5103 if test -n "$ac_ct_AR"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5105 $as_echo "$ac_ct_AR" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5111 if test "x$ac_ct_AR" = x; then
5112 AR=""
5113 else
5114 case $cross_compiling:$ac_tool_warned in
5115 yes:)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5119 esac
5120 AR=$ac_ct_AR
5122 else
5123 AR="$ac_cv_prog_AR"
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134 if test -n "$RANLIB"; then
5135 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5150 IFS=$as_save_IFS
5154 RANLIB=$ac_cv_prog_RANLIB
5155 if test -n "$RANLIB"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5157 $as_echo "$RANLIB" >&6; }
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5165 if test -z "$ac_cv_prog_RANLIB"; then
5166 ac_ct_RANLIB=$RANLIB
5167 # Extract the first word of "ranlib", so it can be a program name with args.
5168 set dummy ranlib; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5172 $as_echo_n "(cached) " >&6
5173 else
5174 if test -n "$ac_ct_RANLIB"; then
5175 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5180 IFS=$as_save_IFS
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_ac_ct_RANLIB="ranlib"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 break 2
5188 done
5189 done
5190 IFS=$as_save_IFS
5194 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5195 if test -n "$ac_ct_RANLIB"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5197 $as_echo "$ac_ct_RANLIB" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5203 if test "x$ac_ct_RANLIB" = x; then
5204 RANLIB="ranlib-not-found-in-path-error"
5205 else
5206 case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210 ac_tool_warned=yes ;;
5211 esac
5212 RANLIB=$ac_ct_RANLIB
5214 else
5215 RANLIB="$ac_cv_prog_RANLIB"
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5221 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5222 # Check whether --enable-maintainer-mode was given.
5223 if test "${enable_maintainer_mode+set}" = set; then :
5224 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5225 else
5226 USE_MAINTAINER_MODE=no
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5230 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5231 if test $USE_MAINTAINER_MODE = yes; then
5232 MAINTAINER_MODE_TRUE=
5233 MAINTAINER_MODE_FALSE='#'
5234 else
5235 MAINTAINER_MODE_TRUE='#'
5236 MAINTAINER_MODE_FALSE=
5239 MAINT=$MAINTAINER_MODE_TRUE
5243 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5244 # which are themselves conditionally expanded.
5245 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5246 ## other macros from doing the same. This should be automated.) -pme
5248 # Check for C library flavor since GNU/Linux platforms use different
5249 # configuration directories depending on the C library in use.
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5253 #include <stdio.h>
5254 #if __UCLIBC__
5255 _using_uclibc
5256 #endif
5258 _ACEOF
5259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5260 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5261 uclibc=yes
5262 else
5263 uclibc=no
5265 rm -f conftest*
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5271 #include <stdio.h>
5272 #if __BIONIC__
5273 _using_bionic
5274 #endif
5276 _ACEOF
5277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5278 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5279 bionic=yes
5280 else
5281 bionic=no
5283 rm -f conftest*
5286 # Find platform-specific directories containing configuration info.
5287 # Also possibly modify flags used elsewhere, as needed by the platform.
5289 . $glibcxx_srcdir/configure.host
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5291 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5293 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5297 # Libtool setup.
5298 if test "x${with_newlib}" != "xyes"; then
5299 enable_dlopen=yes
5304 case `pwd` in
5305 *\ * | *\ *)
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5307 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5308 esac
5312 macro_version='2.2.7a'
5313 macro_revision='1.3134'
5327 ltmain="$ac_aux_dir/ltmain.sh"
5329 # Backslashify metacharacters that are still active within
5330 # double-quoted strings.
5331 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5333 # Same as above, but do not quote variable references.
5334 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5336 # Sed substitution to delay expansion of an escaped shell variable in a
5337 # double_quote_subst'ed string.
5338 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5340 # Sed substitution to delay expansion of an escaped single quote.
5341 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5343 # Sed substitution to avoid accidental globbing in evaled expressions
5344 no_glob_subst='s/\*/\\\*/g'
5346 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5347 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5348 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5351 $as_echo_n "checking how to print strings... " >&6; }
5352 # Test print first, because it will be a builtin if present.
5353 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5354 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5355 ECHO='print -r --'
5356 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5357 ECHO='printf %s\n'
5358 else
5359 # Use this function as a fallback that always works.
5360 func_fallback_echo ()
5362 eval 'cat <<_LTECHO_EOF
5364 _LTECHO_EOF'
5366 ECHO='func_fallback_echo'
5369 # func_echo_all arg...
5370 # Invoke $ECHO with all args, space-separated.
5371 func_echo_all ()
5373 $ECHO ""
5376 case "$ECHO" in
5377 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5378 $as_echo "printf" >&6; } ;;
5379 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5380 $as_echo "print -r" >&6; } ;;
5381 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5382 $as_echo "cat" >&6; } ;;
5383 esac
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5399 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5400 if test "${ac_cv_path_SED+set}" = set; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5404 for ac_i in 1 2 3 4 5 6 7; do
5405 ac_script="$ac_script$as_nl$ac_script"
5406 done
5407 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5408 { ac_script=; unset ac_script;}
5409 if test -z "$SED"; then
5410 ac_path_SED_found=false
5411 # Loop through the user's path and test for each of PROGNAME-LIST
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5415 IFS=$as_save_IFS
5416 test -z "$as_dir" && as_dir=.
5417 for ac_prog in sed gsed; do
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5420 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5421 # Check for GNU ac_path_SED and select it if it is found.
5422 # Check for GNU $ac_path_SED
5423 case `"$ac_path_SED" --version 2>&1` in
5424 *GNU*)
5425 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5427 ac_count=0
5428 $as_echo_n 0123456789 >"conftest.in"
5429 while :
5431 cat "conftest.in" "conftest.in" >"conftest.tmp"
5432 mv "conftest.tmp" "conftest.in"
5433 cp "conftest.in" "conftest.nl"
5434 $as_echo '' >> "conftest.nl"
5435 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437 as_fn_arith $ac_count + 1 && ac_count=$as_val
5438 if test $ac_count -gt ${ac_path_SED_max-0}; then
5439 # Best one so far, save it but keep looking for a better one
5440 ac_cv_path_SED="$ac_path_SED"
5441 ac_path_SED_max=$ac_count
5443 # 10*(2^10) chars as input seems more than enough
5444 test $ac_count -gt 10 && break
5445 done
5446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447 esac
5449 $ac_path_SED_found && break 3
5450 done
5451 done
5452 done
5453 IFS=$as_save_IFS
5454 if test -z "$ac_cv_path_SED"; then
5455 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5457 else
5458 ac_cv_path_SED=$SED
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5463 $as_echo "$ac_cv_path_SED" >&6; }
5464 SED="$ac_cv_path_SED"
5465 rm -f conftest.sed
5467 test -z "$SED" && SED=sed
5468 Xsed="$SED -e 1s/^X//"
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5481 $as_echo_n "checking for fgrep... " >&6; }
5482 if test "${ac_cv_path_FGREP+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5484 else
5485 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5486 then ac_cv_path_FGREP="$GREP -F"
5487 else
5488 if test -z "$FGREP"; then
5489 ac_path_FGREP_found=false
5490 # Loop through the user's path and test for each of PROGNAME-LIST
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_prog in fgrep; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5499 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5500 # Check for GNU ac_path_FGREP and select it if it is found.
5501 # Check for GNU $ac_path_FGREP
5502 case `"$ac_path_FGREP" --version 2>&1` in
5503 *GNU*)
5504 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5506 ac_count=0
5507 $as_echo_n 0123456789 >"conftest.in"
5508 while :
5510 cat "conftest.in" "conftest.in" >"conftest.tmp"
5511 mv "conftest.tmp" "conftest.in"
5512 cp "conftest.in" "conftest.nl"
5513 $as_echo 'FGREP' >> "conftest.nl"
5514 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516 as_fn_arith $ac_count + 1 && ac_count=$as_val
5517 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5518 # Best one so far, save it but keep looking for a better one
5519 ac_cv_path_FGREP="$ac_path_FGREP"
5520 ac_path_FGREP_max=$ac_count
5522 # 10*(2^10) chars as input seems more than enough
5523 test $ac_count -gt 10 && break
5524 done
5525 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5526 esac
5528 $ac_path_FGREP_found && break 3
5529 done
5530 done
5531 done
5532 IFS=$as_save_IFS
5533 if test -z "$ac_cv_path_FGREP"; then
5534 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5536 else
5537 ac_cv_path_FGREP=$FGREP
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5543 $as_echo "$ac_cv_path_FGREP" >&6; }
5544 FGREP="$ac_cv_path_FGREP"
5547 test -z "$GREP" && GREP=grep
5567 # Check whether --with-gnu-ld was given.
5568 if test "${with_gnu_ld+set}" = set; then :
5569 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5570 else
5571 with_gnu_ld=no
5574 ac_prog=ld
5575 if test "$GCC" = yes; then
5576 # Check if gcc -print-prog-name=ld gives a path.
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5578 $as_echo_n "checking for ld used by $CC... " >&6; }
5579 case $host in
5580 *-*-mingw*)
5581 # gcc leaves a trailing carriage return which upsets mingw
5582 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5584 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5585 esac
5586 case $ac_prog in
5587 # Accept absolute paths.
5588 [\\/]* | ?:[\\/]*)
5589 re_direlt='/[^/][^/]*/\.\./'
5590 # Canonicalize the pathname of ld
5591 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5592 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5593 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5594 done
5595 test -z "$LD" && LD="$ac_prog"
5598 # If it fails, then pretend we aren't using GCC.
5599 ac_prog=ld
5602 # If it is relative, then search for the first ld in PATH.
5603 with_gnu_ld=unknown
5605 esac
5606 elif test "$with_gnu_ld" = yes; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5608 $as_echo_n "checking for GNU ld... " >&6; }
5609 else
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5611 $as_echo_n "checking for non-GNU ld... " >&6; }
5613 if test "${lt_cv_path_LD+set}" = set; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 if test -z "$LD"; then
5617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5618 for ac_dir in $PATH; do
5619 IFS="$lt_save_ifs"
5620 test -z "$ac_dir" && ac_dir=.
5621 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5622 lt_cv_path_LD="$ac_dir/$ac_prog"
5623 # Check to see if the program is GNU ld. I'd rather use --version,
5624 # but apparently some variants of GNU ld only accept -v.
5625 # Break only if it was the GNU/non-GNU ld that we prefer.
5626 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5627 *GNU* | *'with BFD'*)
5628 test "$with_gnu_ld" != no && break
5631 test "$with_gnu_ld" != yes && break
5633 esac
5635 done
5636 IFS="$lt_save_ifs"
5637 else
5638 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5642 LD="$lt_cv_path_LD"
5643 if test -n "$LD"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5645 $as_echo "$LD" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5650 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5652 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5653 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5657 case `$LD -v 2>&1 </dev/null` in
5658 *GNU* | *'with BFD'*)
5659 lt_cv_prog_gnu_ld=yes
5662 lt_cv_prog_gnu_ld=no
5664 esac
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5667 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5668 with_gnu_ld=$lt_cv_prog_gnu_ld
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5679 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5680 if test "${lt_cv_path_NM+set}" = set; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 if test -n "$NM"; then
5684 # Let the user override the test.
5685 lt_cv_path_NM="$NM"
5686 else
5687 lt_nm_to_check="${ac_tool_prefix}nm"
5688 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5689 lt_nm_to_check="$lt_nm_to_check nm"
5691 for lt_tmp_nm in $lt_nm_to_check; do
5692 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5693 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5694 IFS="$lt_save_ifs"
5695 test -z "$ac_dir" && ac_dir=.
5696 tmp_nm="$ac_dir/$lt_tmp_nm"
5697 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5698 # Check to see if the nm accepts a BSD-compat flag.
5699 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5700 # nm: unknown option "B" ignored
5701 # Tru64's nm complains that /dev/null is an invalid object file
5702 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5703 */dev/null* | *'Invalid file or object type'*)
5704 lt_cv_path_NM="$tmp_nm -B"
5705 break
5708 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5709 */dev/null*)
5710 lt_cv_path_NM="$tmp_nm -p"
5711 break
5714 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5715 continue # so that we can try to find one that supports BSD flags
5717 esac
5719 esac
5721 done
5722 IFS="$lt_save_ifs"
5723 done
5724 : ${lt_cv_path_NM=no}
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5728 $as_echo "$lt_cv_path_NM" >&6; }
5729 if test "$lt_cv_path_NM" != "no"; then
5730 NM="$lt_cv_path_NM"
5731 else
5732 # Didn't find any BSD compatible name lister, look for dumpbin.
5733 if test -n "$DUMPBIN"; then :
5734 # Let the user override the test.
5735 else
5736 if test -n "$ac_tool_prefix"; then
5737 for ac_prog in dumpbin "link -dump"
5739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 if test -n "$DUMPBIN"; then
5747 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5748 else
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5752 IFS=$as_save_IFS
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5756 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 break 2
5760 done
5761 done
5762 IFS=$as_save_IFS
5766 DUMPBIN=$ac_cv_prog_DUMPBIN
5767 if test -n "$DUMPBIN"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5769 $as_echo "$DUMPBIN" >&6; }
5770 else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5776 test -n "$DUMPBIN" && break
5777 done
5779 if test -z "$DUMPBIN"; then
5780 ac_ct_DUMPBIN=$DUMPBIN
5781 for ac_prog in dumpbin "link -dump"
5783 # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy $ac_prog; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 if test -n "$ac_ct_DUMPBIN"; then
5791 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5804 done
5805 done
5806 IFS=$as_save_IFS
5810 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5811 if test -n "$ac_ct_DUMPBIN"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5813 $as_echo "$ac_ct_DUMPBIN" >&6; }
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5820 test -n "$ac_ct_DUMPBIN" && break
5821 done
5823 if test "x$ac_ct_DUMPBIN" = x; then
5824 DUMPBIN=":"
5825 else
5826 case $cross_compiling:$ac_tool_warned in
5827 yes:)
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5830 ac_tool_warned=yes ;;
5831 esac
5832 DUMPBIN=$ac_ct_DUMPBIN
5836 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5837 *COFF*)
5838 DUMPBIN="$DUMPBIN -symbols"
5841 DUMPBIN=:
5843 esac
5846 if test "$DUMPBIN" != ":"; then
5847 NM="$DUMPBIN"
5850 test -z "$NM" && NM=nm
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5858 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5859 if test "${lt_cv_nm_interface+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 lt_cv_nm_interface="BSD nm"
5863 echo "int some_variable = 0;" > conftest.$ac_ext
5864 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5865 (eval "$ac_compile" 2>conftest.err)
5866 cat conftest.err >&5
5867 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5868 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5869 cat conftest.err >&5
5870 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5871 cat conftest.out >&5
5872 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5873 lt_cv_nm_interface="MS dumpbin"
5875 rm -f conftest*
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5878 $as_echo "$lt_cv_nm_interface" >&6; }
5880 # find the maximum length of command line arguments
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5882 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5883 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5887 teststring="ABCD"
5889 case $build_os in
5890 msdosdjgpp*)
5891 # On DJGPP, this test can blow up pretty badly due to problems in libc
5892 # (any single argument exceeding 2000 bytes causes a buffer overrun
5893 # during glob expansion). Even if it were fixed, the result of this
5894 # check would be larger than it should be.
5895 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5898 gnu*)
5899 # Under GNU Hurd, this test is not required because there is
5900 # no limit to the length of command line arguments.
5901 # Libtool will interpret -1 as no limit whatsoever
5902 lt_cv_sys_max_cmd_len=-1;
5905 cygwin* | mingw* | cegcc*)
5906 # On Win9x/ME, this test blows up -- it succeeds, but takes
5907 # about 5 minutes as the teststring grows exponentially.
5908 # Worse, since 9x/ME are not pre-emptively multitasking,
5909 # you end up with a "frozen" computer, even though with patience
5910 # the test eventually succeeds (with a max line length of 256k).
5911 # Instead, let's just punt: use the minimum linelength reported by
5912 # all of the supported platforms: 8192 (on NT/2K/XP).
5913 lt_cv_sys_max_cmd_len=8192;
5916 mint*)
5917 # On MiNT this can take a long time and run out of memory.
5918 lt_cv_sys_max_cmd_len=8192;
5921 amigaos*)
5922 # On AmigaOS with pdksh, this test takes hours, literally.
5923 # So we just punt and use a minimum line length of 8192.
5924 lt_cv_sys_max_cmd_len=8192;
5927 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5928 # This has been around since 386BSD, at least. Likely further.
5929 if test -x /sbin/sysctl; then
5930 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5931 elif test -x /usr/sbin/sysctl; then
5932 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5933 else
5934 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5936 # And add a safety zone
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5941 interix*)
5942 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5943 lt_cv_sys_max_cmd_len=196608
5946 osf*)
5947 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5948 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5949 # nice to cause kernel panics so lets avoid the loop below.
5950 # First set a reasonable default.
5951 lt_cv_sys_max_cmd_len=16384
5953 if test -x /sbin/sysconfig; then
5954 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5955 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5956 esac
5959 sco3.2v5*)
5960 lt_cv_sys_max_cmd_len=102400
5962 sysv5* | sco5v6* | sysv4.2uw2*)
5963 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5964 if test -n "$kargmax"; then
5965 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5966 else
5967 lt_cv_sys_max_cmd_len=32768
5971 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5972 if test -n "$lt_cv_sys_max_cmd_len"; then
5973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5975 else
5976 # Make teststring a little bigger before we do anything with it.
5977 # a 1K string should be a reasonable start.
5978 for i in 1 2 3 4 5 6 7 8 ; do
5979 teststring=$teststring$teststring
5980 done
5981 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5982 # If test is not a shell built-in, we'll probably end up computing a
5983 # maximum length that is only half of the actual maximum length, but
5984 # we can't tell.
5985 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5986 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5987 test $i != 17 # 1/2 MB should be enough
5989 i=`expr $i + 1`
5990 teststring=$teststring$teststring
5991 done
5992 # Only check the string length outside the loop.
5993 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5994 teststring=
5995 # Add a significant safety factor because C++ compilers can tack on
5996 # massive amounts of additional arguments before passing them to the
5997 # linker. It appears as though 1/2 is a usable value.
5998 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6001 esac
6005 if test -n $lt_cv_sys_max_cmd_len ; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6007 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6008 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6010 $as_echo "none" >&6; }
6012 max_cmd_len=$lt_cv_sys_max_cmd_len
6019 : ${CP="cp -f"}
6020 : ${MV="mv -f"}
6021 : ${RM="rm -f"}
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6024 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6025 # Try some XSI features
6026 xsi_shell=no
6027 ( _lt_dummy="a/b/c"
6028 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6029 = c,a/b,, \
6030 && eval 'test $(( 1 + 1 )) -eq 2 \
6031 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6032 && xsi_shell=yes
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6034 $as_echo "$xsi_shell" >&6; }
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6038 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6039 lt_shell_append=no
6040 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6041 >/dev/null 2>&1 \
6042 && lt_shell_append=yes
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6044 $as_echo "$lt_shell_append" >&6; }
6047 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6048 lt_unset=unset
6049 else
6050 lt_unset=false
6057 # test EBCDIC or ASCII
6058 case `echo X|tr X '\101'` in
6059 A) # ASCII based system
6060 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6061 lt_SP2NL='tr \040 \012'
6062 lt_NL2SP='tr \015\012 \040\040'
6064 *) # EBCDIC based system
6065 lt_SP2NL='tr \100 \n'
6066 lt_NL2SP='tr \r\n \100\100'
6068 esac
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6079 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6080 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6081 $as_echo_n "(cached) " >&6
6082 else
6083 lt_cv_ld_reload_flag='-r'
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6086 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6087 reload_flag=$lt_cv_ld_reload_flag
6088 case $reload_flag in
6089 "" | " "*) ;;
6090 *) reload_flag=" $reload_flag" ;;
6091 esac
6092 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6093 case $host_os in
6094 darwin*)
6095 if test "$GCC" = yes; then
6096 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6097 else
6098 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6101 esac
6111 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$OBJDUMP"; then
6120 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 OBJDUMP=$ac_cv_prog_OBJDUMP
6140 if test -n "$OBJDUMP"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6142 $as_echo "$OBJDUMP" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6150 if test -z "$ac_cv_prog_OBJDUMP"; then
6151 ac_ct_OBJDUMP=$OBJDUMP
6152 # Extract the first word of "objdump", so it can be a program name with args.
6153 set dummy objdump; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6157 $as_echo_n "(cached) " >&6
6158 else
6159 if test -n "$ac_ct_OBJDUMP"; then
6160 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6165 IFS=$as_save_IFS
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 break 2
6173 done
6174 done
6175 IFS=$as_save_IFS
6179 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6180 if test -n "$ac_ct_OBJDUMP"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6182 $as_echo "$ac_ct_OBJDUMP" >&6; }
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6188 if test "x$ac_ct_OBJDUMP" = x; then
6189 OBJDUMP="false"
6190 else
6191 case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6196 esac
6197 OBJDUMP=$ac_ct_OBJDUMP
6199 else
6200 OBJDUMP="$ac_cv_prog_OBJDUMP"
6203 test -z "$OBJDUMP" && OBJDUMP=objdump
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6214 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6215 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 lt_cv_file_magic_cmd='$MAGIC_CMD'
6219 lt_cv_file_magic_test_file=
6220 lt_cv_deplibs_check_method='unknown'
6221 # Need to set the preceding variable on all platforms that support
6222 # interlibrary dependencies.
6223 # 'none' -- dependencies not supported.
6224 # `unknown' -- same as none, but documents that we really don't know.
6225 # 'pass_all' -- all dependencies passed with no checks.
6226 # 'test_compile' -- check by making test program.
6227 # 'file_magic [[regex]]' -- check by looking for files in library path
6228 # which responds to the $file_magic_cmd with a given extended regex.
6229 # If you have `file' or equivalent on your system and you're not sure
6230 # whether `pass_all' will *always* work, you probably want this one.
6232 case $host_os in
6233 aix[4-9]*)
6234 lt_cv_deplibs_check_method=pass_all
6237 beos*)
6238 lt_cv_deplibs_check_method=pass_all
6241 bsdi[45]*)
6242 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6243 lt_cv_file_magic_cmd='/usr/bin/file -L'
6244 lt_cv_file_magic_test_file=/shlib/libc.so
6247 cygwin*)
6248 # func_win32_libid is a shell function defined in ltmain.sh
6249 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6250 lt_cv_file_magic_cmd='func_win32_libid'
6253 mingw* | pw32*)
6254 # Base MSYS/MinGW do not provide the 'file' command needed by
6255 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6256 # unless we find 'file', for example because we are cross-compiling.
6257 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6258 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6259 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6260 lt_cv_file_magic_cmd='func_win32_libid'
6261 else
6262 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6267 cegcc*)
6268 # use the weaker test based on 'objdump'. See mingw*.
6269 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6270 lt_cv_file_magic_cmd='$OBJDUMP -f'
6273 darwin* | rhapsody*)
6274 lt_cv_deplibs_check_method=pass_all
6277 freebsd* | dragonfly*)
6278 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6279 case $host_cpu in
6280 i*86 )
6281 # Not sure whether the presence of OpenBSD here was a mistake.
6282 # Let's accept both of them until this is cleared up.
6283 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6284 lt_cv_file_magic_cmd=/usr/bin/file
6285 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6287 esac
6288 else
6289 lt_cv_deplibs_check_method=pass_all
6293 gnu*)
6294 lt_cv_deplibs_check_method=pass_all
6297 haiku*)
6298 lt_cv_deplibs_check_method=pass_all
6301 hpux10.20* | hpux11*)
6302 lt_cv_file_magic_cmd=/usr/bin/file
6303 case $host_cpu in
6304 ia64*)
6305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6306 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6308 hppa*64*)
6309 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]'
6310 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6313 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6314 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6316 esac
6319 interix[3-9]*)
6320 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6321 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6324 irix5* | irix6* | nonstopux*)
6325 case $LD in
6326 *-32|*"-32 ") libmagic=32-bit;;
6327 *-n32|*"-n32 ") libmagic=N32;;
6328 *-64|*"-64 ") libmagic=64-bit;;
6329 *) libmagic=never-match;;
6330 esac
6331 lt_cv_deplibs_check_method=pass_all
6334 # This must be Linux ELF.
6335 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6336 lt_cv_deplibs_check_method=pass_all
6339 netbsd*)
6340 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6341 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6342 else
6343 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6347 newos6*)
6348 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6349 lt_cv_file_magic_cmd=/usr/bin/file
6350 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6353 *nto* | *qnx*)
6354 lt_cv_deplibs_check_method=pass_all
6357 openbsd*)
6358 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6359 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6360 else
6361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6365 osf3* | osf4* | osf5*)
6366 lt_cv_deplibs_check_method=pass_all
6369 rdos*)
6370 lt_cv_deplibs_check_method=pass_all
6373 solaris*)
6374 lt_cv_deplibs_check_method=pass_all
6377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6378 lt_cv_deplibs_check_method=pass_all
6381 sysv4 | sysv4.3*)
6382 case $host_vendor in
6383 motorola)
6384 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]'
6385 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6387 ncr)
6388 lt_cv_deplibs_check_method=pass_all
6390 sequent)
6391 lt_cv_file_magic_cmd='/bin/file'
6392 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6394 sni)
6395 lt_cv_file_magic_cmd='/bin/file'
6396 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6397 lt_cv_file_magic_test_file=/lib/libc.so
6399 siemens)
6400 lt_cv_deplibs_check_method=pass_all
6403 lt_cv_deplibs_check_method=pass_all
6405 esac
6408 tpf*)
6409 lt_cv_deplibs_check_method=pass_all
6411 esac
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6415 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6416 file_magic_cmd=$lt_cv_file_magic_cmd
6417 deplibs_check_method=$lt_cv_deplibs_check_method
6418 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}ar; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if test "${ac_cv_prog_AR+set}" = set; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 if test -n "$AR"; then
6440 ac_cv_prog_AR="$AR" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6445 IFS=$as_save_IFS
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_AR="${ac_tool_prefix}ar"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 break 2
6453 done
6454 done
6455 IFS=$as_save_IFS
6459 AR=$ac_cv_prog_AR
6460 if test -n "$AR"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6462 $as_echo "$AR" >&6; }
6463 else
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6470 if test -z "$ac_cv_prog_AR"; then
6471 ac_ct_AR=$AR
6472 # Extract the first word of "ar", so it can be a program name with args.
6473 set dummy ar; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 if test -n "$ac_ct_AR"; then
6480 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6485 IFS=$as_save_IFS
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489 ac_cv_prog_ac_ct_AR="ar"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 break 2
6493 done
6494 done
6495 IFS=$as_save_IFS
6499 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6500 if test -n "$ac_ct_AR"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6502 $as_echo "$ac_ct_AR" >&6; }
6503 else
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6508 if test "x$ac_ct_AR" = x; then
6509 AR="false"
6510 else
6511 case $cross_compiling:$ac_tool_warned in
6512 yes:)
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6516 esac
6517 AR=$ac_ct_AR
6519 else
6520 AR="$ac_cv_prog_AR"
6523 test -z "$AR" && AR=ar
6524 test -z "$AR_FLAGS" && AR_FLAGS=cru
6536 if test -n "$ac_tool_prefix"; then
6537 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6538 set dummy ${ac_tool_prefix}strip; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if test "${ac_cv_prog_STRIP+set}" = set; then :
6542 $as_echo_n "(cached) " >&6
6543 else
6544 if test -n "$STRIP"; then
6545 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6550 IFS=$as_save_IFS
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556 break 2
6558 done
6559 done
6560 IFS=$as_save_IFS
6564 STRIP=$ac_cv_prog_STRIP
6565 if test -n "$STRIP"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6567 $as_echo "$STRIP" >&6; }
6568 else
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6575 if test -z "$ac_cv_prog_STRIP"; then
6576 ac_ct_STRIP=$STRIP
6577 # Extract the first word of "strip", so it can be a program name with args.
6578 set dummy strip; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6582 $as_echo_n "(cached) " >&6
6583 else
6584 if test -n "$ac_ct_STRIP"; then
6585 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6590 IFS=$as_save_IFS
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594 ac_cv_prog_ac_ct_STRIP="strip"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 break 2
6598 done
6599 done
6600 IFS=$as_save_IFS
6604 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6605 if test -n "$ac_ct_STRIP"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6607 $as_echo "$ac_ct_STRIP" >&6; }
6608 else
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6613 if test "x$ac_ct_STRIP" = x; then
6614 STRIP=":"
6615 else
6616 case $cross_compiling:$ac_tool_warned in
6617 yes:)
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6620 ac_tool_warned=yes ;;
6621 esac
6622 STRIP=$ac_ct_STRIP
6624 else
6625 STRIP="$ac_cv_prog_STRIP"
6628 test -z "$STRIP" && STRIP=:
6635 if test -n "$ac_tool_prefix"; then
6636 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6637 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 $as_echo_n "checking for $ac_word... " >&6; }
6640 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6641 $as_echo_n "(cached) " >&6
6642 else
6643 if test -n "$RANLIB"; then
6644 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6645 else
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 for as_dir in $PATH
6649 IFS=$as_save_IFS
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6655 break 2
6657 done
6658 done
6659 IFS=$as_save_IFS
6663 RANLIB=$ac_cv_prog_RANLIB
6664 if test -n "$RANLIB"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6666 $as_echo "$RANLIB" >&6; }
6667 else
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669 $as_echo "no" >&6; }
6674 if test -z "$ac_cv_prog_RANLIB"; then
6675 ac_ct_RANLIB=$RANLIB
6676 # Extract the first word of "ranlib", so it can be a program name with args.
6677 set dummy ranlib; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6681 $as_echo_n "(cached) " >&6
6682 else
6683 if test -n "$ac_ct_RANLIB"; then
6684 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6685 else
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 for as_dir in $PATH
6689 IFS=$as_save_IFS
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_ac_ct_RANLIB="ranlib"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 break 2
6697 done
6698 done
6699 IFS=$as_save_IFS
6703 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6704 if test -n "$ac_ct_RANLIB"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6706 $as_echo "$ac_ct_RANLIB" >&6; }
6707 else
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6712 if test "x$ac_ct_RANLIB" = x; then
6713 RANLIB=":"
6714 else
6715 case $cross_compiling:$ac_tool_warned in
6716 yes:)
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6719 ac_tool_warned=yes ;;
6720 esac
6721 RANLIB=$ac_ct_RANLIB
6723 else
6724 RANLIB="$ac_cv_prog_RANLIB"
6727 test -z "$RANLIB" && RANLIB=:
6734 # Determine commands to create old-style static archives.
6735 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6736 old_postinstall_cmds='chmod 644 $oldlib'
6737 old_postuninstall_cmds=
6739 if test -n "$RANLIB"; then
6740 case $host_os in
6741 openbsd*)
6742 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6745 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6747 esac
6748 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6751 case $host_os in
6752 darwin*)
6753 lock_old_archive_extraction=yes ;;
6755 lock_old_archive_extraction=no ;;
6756 esac
6796 # If no C compiler was specified, use CC.
6797 LTCC=${LTCC-"$CC"}
6799 # If no C compiler flags were specified, use CFLAGS.
6800 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6802 # Allow CC to be a program name with arguments.
6803 compiler=$CC
6806 # Check for command to grab the raw symbol name followed by C symbol from nm.
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6808 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6809 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6813 # These are sane defaults that work on at least a few old systems.
6814 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6816 # Character class describing NM global symbol codes.
6817 symcode='[BCDEGRST]'
6819 # Regexp to match symbols that can be accessed directly from C.
6820 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6822 # Define system-specific variables.
6823 case $host_os in
6824 aix*)
6825 symcode='[BCDT]'
6827 cygwin* | mingw* | pw32* | cegcc*)
6828 symcode='[ABCDGISTW]'
6830 hpux*)
6831 if test "$host_cpu" = ia64; then
6832 symcode='[ABCDEGRST]'
6835 irix* | nonstopux*)
6836 symcode='[BCDEGRST]'
6838 osf*)
6839 symcode='[BCDEGQRST]'
6841 solaris*)
6842 symcode='[BDRT]'
6844 sco3.2v5*)
6845 symcode='[DT]'
6847 sysv4.2uw2*)
6848 symcode='[DT]'
6850 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6851 symcode='[ABDT]'
6853 sysv4)
6854 symcode='[DFNSTU]'
6856 esac
6858 # If we're using GNU nm, then use its standard symbol codes.
6859 case `$NM -V 2>&1` in
6860 *GNU* | *'with BFD'*)
6861 symcode='[ABCDGIRSTW]' ;;
6862 esac
6864 # Transform an extracted symbol line into a proper C declaration.
6865 # Some systems (esp. on ia64) link data and code symbols differently,
6866 # so use this general approach.
6867 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6869 # Transform an extracted symbol line into symbol name and symbol address
6870 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6871 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'"
6873 # Handle CRLF in mingw tool chain
6874 opt_cr=
6875 case $build_os in
6876 mingw*)
6877 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6879 esac
6881 # Try without a prefix underscore, then with it.
6882 for ac_symprfx in "" "_"; do
6884 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6885 symxfrm="\\1 $ac_symprfx\\2 \\2"
6887 # Write the raw and C identifiers.
6888 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6889 # Fake it for dumpbin and say T for any non-static function
6890 # and D for any global variable.
6891 # Also find C++ and __fastcall symbols from MSVC++,
6892 # which start with @ or ?.
6893 lt_cv_sys_global_symbol_pipe="$AWK '"\
6894 " {last_section=section; section=\$ 3};"\
6895 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6896 " \$ 0!~/External *\|/{next};"\
6897 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6898 " {if(hide[section]) next};"\
6899 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6900 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6901 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6902 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6903 " ' prfx=^$ac_symprfx"
6904 else
6905 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6908 # Check to see that the pipe works correctly.
6909 pipe_works=no
6911 rm -f conftest*
6912 cat > conftest.$ac_ext <<_LT_EOF
6913 #ifdef __cplusplus
6914 extern "C" {
6915 #endif
6916 char nm_test_var;
6917 void nm_test_func(void);
6918 void nm_test_func(void){}
6919 #ifdef __cplusplus
6921 #endif
6922 int main(){nm_test_var='a';nm_test_func();return(0);}
6923 _LT_EOF
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926 (eval $ac_compile) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; }; then
6930 # Now try to grab the symbols.
6931 nlist=conftest.nm
6932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6933 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6934 ac_status=$?
6935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6936 test $ac_status = 0; } && test -s "$nlist"; then
6937 # Try sorting and uniquifying the output.
6938 if sort "$nlist" | uniq > "$nlist"T; then
6939 mv -f "$nlist"T "$nlist"
6940 else
6941 rm -f "$nlist"T
6944 # Make sure that we snagged all the symbols we need.
6945 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6946 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6947 cat <<_LT_EOF > conftest.$ac_ext
6948 #ifdef __cplusplus
6949 extern "C" {
6950 #endif
6952 _LT_EOF
6953 # Now generate the symbol file.
6954 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6956 cat <<_LT_EOF >> conftest.$ac_ext
6958 /* The mapping between symbol names and symbols. */
6959 const struct {
6960 const char *name;
6961 void *address;
6963 lt__PROGRAM__LTX_preloaded_symbols[] =
6965 { "@PROGRAM@", (void *) 0 },
6966 _LT_EOF
6967 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6968 cat <<\_LT_EOF >> conftest.$ac_ext
6969 {0, (void *) 0}
6972 /* This works around a problem in FreeBSD linker */
6973 #ifdef FREEBSD_WORKAROUND
6974 static const void *lt_preloaded_setup() {
6975 return lt__PROGRAM__LTX_preloaded_symbols;
6977 #endif
6979 #ifdef __cplusplus
6981 #endif
6982 _LT_EOF
6983 # Now try linking the two files.
6984 mv conftest.$ac_objext conftstm.$ac_objext
6985 lt_save_LIBS="$LIBS"
6986 lt_save_CFLAGS="$CFLAGS"
6987 LIBS="conftstm.$ac_objext"
6988 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6990 (eval $ac_link) 2>&5
6991 ac_status=$?
6992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6994 pipe_works=yes
6996 LIBS="$lt_save_LIBS"
6997 CFLAGS="$lt_save_CFLAGS"
6998 else
6999 echo "cannot find nm_test_func in $nlist" >&5
7001 else
7002 echo "cannot find nm_test_var in $nlist" >&5
7004 else
7005 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7007 else
7008 echo "$progname: failed program was:" >&5
7009 cat conftest.$ac_ext >&5
7011 rm -rf conftest* conftst*
7013 # Do not use the global_symbol_pipe unless it works.
7014 if test "$pipe_works" = yes; then
7015 break
7016 else
7017 lt_cv_sys_global_symbol_pipe=
7019 done
7023 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7024 lt_cv_sys_global_symbol_to_cdecl=
7026 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7028 $as_echo "failed" >&6; }
7029 else
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7031 $as_echo "ok" >&6; }
7055 # Check whether --enable-libtool-lock was given.
7056 if test "${enable_libtool_lock+set}" = set; then :
7057 enableval=$enable_libtool_lock;
7060 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7062 # Some flags need to be propagated to the compiler or linker for good
7063 # libtool support.
7064 case $host in
7065 ia64-*-hpux*)
7066 # Find out which ABI we are using.
7067 echo 'int i;' > conftest.$ac_ext
7068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7069 (eval $ac_compile) 2>&5
7070 ac_status=$?
7071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7072 test $ac_status = 0; }; then
7073 case `/usr/bin/file conftest.$ac_objext` in
7074 *ELF-32*)
7075 HPUX_IA64_MODE="32"
7077 *ELF-64*)
7078 HPUX_IA64_MODE="64"
7080 esac
7082 rm -rf conftest*
7084 *-*-irix6*)
7085 # Find out which ABI we are using.
7086 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7088 (eval $ac_compile) 2>&5
7089 ac_status=$?
7090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7091 test $ac_status = 0; }; then
7092 if test "$lt_cv_prog_gnu_ld" = yes; then
7093 case `/usr/bin/file conftest.$ac_objext` in
7094 *32-bit*)
7095 LD="${LD-ld} -melf32bsmip"
7097 *N32*)
7098 LD="${LD-ld} -melf32bmipn32"
7100 *64-bit*)
7101 LD="${LD-ld} -melf64bmip"
7103 esac
7104 else
7105 case `/usr/bin/file conftest.$ac_objext` in
7106 *32-bit*)
7107 LD="${LD-ld} -32"
7109 *N32*)
7110 LD="${LD-ld} -n32"
7112 *64-bit*)
7113 LD="${LD-ld} -64"
7115 esac
7118 rm -rf conftest*
7121 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7122 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7123 # Find out which ABI we are using.
7124 echo 'int i;' > conftest.$ac_ext
7125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7126 (eval $ac_compile) 2>&5
7127 ac_status=$?
7128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129 test $ac_status = 0; }; then
7130 case `/usr/bin/file conftest.o` in
7131 *32-bit*)
7132 case $host in
7133 x86_64-*kfreebsd*-gnu)
7134 LD="${LD-ld} -m elf_i386_fbsd"
7136 x86_64-*linux*)
7137 case `/usr/bin/file conftest.o` in
7138 *x86-64*)
7139 LD="${LD-ld} -m elf32_x86_64"
7142 LD="${LD-ld} -m elf_i386"
7144 esac
7146 powerpc64le-*linux*)
7147 LD="${LD-ld} -m elf32lppclinux"
7149 powerpc64-*linux*)
7150 LD="${LD-ld} -m elf32ppclinux"
7152 s390x-*linux*)
7153 LD="${LD-ld} -m elf_s390"
7155 sparc64-*linux*)
7156 LD="${LD-ld} -m elf32_sparc"
7158 esac
7160 *64-bit*)
7161 case $host in
7162 x86_64-*kfreebsd*-gnu)
7163 LD="${LD-ld} -m elf_x86_64_fbsd"
7165 x86_64-*linux*)
7166 LD="${LD-ld} -m elf_x86_64"
7168 powerpcle-*linux*)
7169 LD="${LD-ld} -m elf64lppc"
7171 powerpc-*linux*)
7172 LD="${LD-ld} -m elf64ppc"
7174 s390*-*linux*|s390*-*tpf*)
7175 LD="${LD-ld} -m elf64_s390"
7177 sparc*-*linux*)
7178 LD="${LD-ld} -m elf64_sparc"
7180 esac
7182 esac
7184 rm -rf conftest*
7187 *-*-sco3.2v5*)
7188 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7189 SAVE_CFLAGS="$CFLAGS"
7190 CFLAGS="$CFLAGS -belf"
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7192 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7193 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 ac_ext=c
7197 ac_cpp='$CPP $CPPFLAGS'
7198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7202 if test x$gcc_no_link = xyes; then
7203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7209 main ()
7213 return 0;
7215 _ACEOF
7216 if ac_fn_c_try_link "$LINENO"; then :
7217 lt_cv_cc_needs_belf=yes
7218 else
7219 lt_cv_cc_needs_belf=no
7221 rm -f core conftest.err conftest.$ac_objext \
7222 conftest$ac_exeext conftest.$ac_ext
7223 ac_ext=c
7224 ac_cpp='$CPP $CPPFLAGS'
7225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7231 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7232 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7233 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7234 CFLAGS="$SAVE_CFLAGS"
7237 sparc*-*solaris*)
7238 # Find out which ABI we are using.
7239 echo 'int i;' > conftest.$ac_ext
7240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7241 (eval $ac_compile) 2>&5
7242 ac_status=$?
7243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7244 test $ac_status = 0; }; then
7245 case `/usr/bin/file conftest.o` in
7246 *64-bit*)
7247 case $lt_cv_prog_gnu_ld in
7248 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7250 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7251 LD="${LD-ld} -64"
7254 esac
7256 esac
7258 rm -rf conftest*
7260 esac
7262 need_locks="$enable_libtool_lock"
7265 case $host_os in
7266 rhapsody* | darwin*)
7267 if test -n "$ac_tool_prefix"; then
7268 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 if test -n "$DSYMUTIL"; then
7276 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7281 IFS=$as_save_IFS
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 break 2
7289 done
7290 done
7291 IFS=$as_save_IFS
7295 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7296 if test -n "$DSYMUTIL"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7298 $as_echo "$DSYMUTIL" >&6; }
7299 else
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7306 if test -z "$ac_cv_prog_DSYMUTIL"; then
7307 ac_ct_DSYMUTIL=$DSYMUTIL
7308 # Extract the first word of "dsymutil", so it can be a program name with args.
7309 set dummy dsymutil; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7313 $as_echo_n "(cached) " >&6
7314 else
7315 if test -n "$ac_ct_DSYMUTIL"; then
7316 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7321 IFS=$as_save_IFS
7322 test -z "$as_dir" && as_dir=.
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327 break 2
7329 done
7330 done
7331 IFS=$as_save_IFS
7335 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7336 if test -n "$ac_ct_DSYMUTIL"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7338 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7339 else
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7344 if test "x$ac_ct_DSYMUTIL" = x; then
7345 DSYMUTIL=":"
7346 else
7347 case $cross_compiling:$ac_tool_warned in
7348 yes:)
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7352 esac
7353 DSYMUTIL=$ac_ct_DSYMUTIL
7355 else
7356 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7359 if test -n "$ac_tool_prefix"; then
7360 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7361 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7365 $as_echo_n "(cached) " >&6
7366 else
7367 if test -n "$NMEDIT"; then
7368 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7373 IFS=$as_save_IFS
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 break 2
7381 done
7382 done
7383 IFS=$as_save_IFS
7387 NMEDIT=$ac_cv_prog_NMEDIT
7388 if test -n "$NMEDIT"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7390 $as_echo "$NMEDIT" >&6; }
7391 else
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7398 if test -z "$ac_cv_prog_NMEDIT"; then
7399 ac_ct_NMEDIT=$NMEDIT
7400 # Extract the first word of "nmedit", so it can be a program name with args.
7401 set dummy nmedit; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7405 $as_echo_n "(cached) " >&6
7406 else
7407 if test -n "$ac_ct_NMEDIT"; then
7408 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7409 else
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $PATH
7413 IFS=$as_save_IFS
7414 test -z "$as_dir" && as_dir=.
7415 for ac_exec_ext in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 break 2
7421 done
7422 done
7423 IFS=$as_save_IFS
7427 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7428 if test -n "$ac_ct_NMEDIT"; then
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7430 $as_echo "$ac_ct_NMEDIT" >&6; }
7431 else
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
7436 if test "x$ac_ct_NMEDIT" = x; then
7437 NMEDIT=":"
7438 else
7439 case $cross_compiling:$ac_tool_warned in
7440 yes:)
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7443 ac_tool_warned=yes ;;
7444 esac
7445 NMEDIT=$ac_ct_NMEDIT
7447 else
7448 NMEDIT="$ac_cv_prog_NMEDIT"
7451 if test -n "$ac_tool_prefix"; then
7452 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7453 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if test "${ac_cv_prog_LIPO+set}" = set; then :
7457 $as_echo_n "(cached) " >&6
7458 else
7459 if test -n "$LIPO"; then
7460 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7465 IFS=$as_save_IFS
7466 test -z "$as_dir" && as_dir=.
7467 for ac_exec_ext in '' $ac_executable_extensions; do
7468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 break 2
7473 done
7474 done
7475 IFS=$as_save_IFS
7479 LIPO=$ac_cv_prog_LIPO
7480 if test -n "$LIPO"; then
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7482 $as_echo "$LIPO" >&6; }
7483 else
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7490 if test -z "$ac_cv_prog_LIPO"; then
7491 ac_ct_LIPO=$LIPO
7492 # Extract the first word of "lipo", so it can be a program name with args.
7493 set dummy lipo; ac_word=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7497 $as_echo_n "(cached) " >&6
7498 else
7499 if test -n "$ac_ct_LIPO"; then
7500 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7501 else
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 for as_dir in $PATH
7505 IFS=$as_save_IFS
7506 test -z "$as_dir" && as_dir=.
7507 for ac_exec_ext in '' $ac_executable_extensions; do
7508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509 ac_cv_prog_ac_ct_LIPO="lipo"
7510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511 break 2
7513 done
7514 done
7515 IFS=$as_save_IFS
7519 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7520 if test -n "$ac_ct_LIPO"; then
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7522 $as_echo "$ac_ct_LIPO" >&6; }
7523 else
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7528 if test "x$ac_ct_LIPO" = x; then
7529 LIPO=":"
7530 else
7531 case $cross_compiling:$ac_tool_warned in
7532 yes:)
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7535 ac_tool_warned=yes ;;
7536 esac
7537 LIPO=$ac_ct_LIPO
7539 else
7540 LIPO="$ac_cv_prog_LIPO"
7543 if test -n "$ac_tool_prefix"; then
7544 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7545 set dummy ${ac_tool_prefix}otool; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7549 $as_echo_n "(cached) " >&6
7550 else
7551 if test -n "$OTOOL"; then
7552 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7557 IFS=$as_save_IFS
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7561 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 break 2
7565 done
7566 done
7567 IFS=$as_save_IFS
7571 OTOOL=$ac_cv_prog_OTOOL
7572 if test -n "$OTOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7574 $as_echo "$OTOOL" >&6; }
7575 else
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7582 if test -z "$ac_cv_prog_OTOOL"; then
7583 ac_ct_OTOOL=$OTOOL
7584 # Extract the first word of "otool", so it can be a program name with args.
7585 set dummy otool; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7589 $as_echo_n "(cached) " >&6
7590 else
7591 if test -n "$ac_ct_OTOOL"; then
7592 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7597 IFS=$as_save_IFS
7598 test -z "$as_dir" && as_dir=.
7599 for ac_exec_ext in '' $ac_executable_extensions; do
7600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7601 ac_cv_prog_ac_ct_OTOOL="otool"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 break 2
7605 done
7606 done
7607 IFS=$as_save_IFS
7611 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7612 if test -n "$ac_ct_OTOOL"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7614 $as_echo "$ac_ct_OTOOL" >&6; }
7615 else
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7620 if test "x$ac_ct_OTOOL" = x; then
7621 OTOOL=":"
7622 else
7623 case $cross_compiling:$ac_tool_warned in
7624 yes:)
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7627 ac_tool_warned=yes ;;
7628 esac
7629 OTOOL=$ac_ct_OTOOL
7631 else
7632 OTOOL="$ac_cv_prog_OTOOL"
7635 if test -n "$ac_tool_prefix"; then
7636 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7637 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7641 $as_echo_n "(cached) " >&6
7642 else
7643 if test -n "$OTOOL64"; then
7644 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7645 else
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 for as_dir in $PATH
7649 IFS=$as_save_IFS
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 break 2
7657 done
7658 done
7659 IFS=$as_save_IFS
7663 OTOOL64=$ac_cv_prog_OTOOL64
7664 if test -n "$OTOOL64"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7666 $as_echo "$OTOOL64" >&6; }
7667 else
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7674 if test -z "$ac_cv_prog_OTOOL64"; then
7675 ac_ct_OTOOL64=$OTOOL64
7676 # Extract the first word of "otool64", so it can be a program name with args.
7677 set dummy otool64; ac_word=$2
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7679 $as_echo_n "checking for $ac_word... " >&6; }
7680 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7681 $as_echo_n "(cached) " >&6
7682 else
7683 if test -n "$ac_ct_OTOOL64"; then
7684 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7685 else
7686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687 for as_dir in $PATH
7689 IFS=$as_save_IFS
7690 test -z "$as_dir" && as_dir=.
7691 for ac_exec_ext in '' $ac_executable_extensions; do
7692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7693 ac_cv_prog_ac_ct_OTOOL64="otool64"
7694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7695 break 2
7697 done
7698 done
7699 IFS=$as_save_IFS
7703 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7704 if test -n "$ac_ct_OTOOL64"; then
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7706 $as_echo "$ac_ct_OTOOL64" >&6; }
7707 else
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7709 $as_echo "no" >&6; }
7712 if test "x$ac_ct_OTOOL64" = x; then
7713 OTOOL64=":"
7714 else
7715 case $cross_compiling:$ac_tool_warned in
7716 yes:)
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7719 ac_tool_warned=yes ;;
7720 esac
7721 OTOOL64=$ac_ct_OTOOL64
7723 else
7724 OTOOL64="$ac_cv_prog_OTOOL64"
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7754 $as_echo_n "checking for -single_module linker flag... " >&6; }
7755 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7756 $as_echo_n "(cached) " >&6
7757 else
7758 lt_cv_apple_cc_single_mod=no
7759 if test -z "${LT_MULTI_MODULE}"; then
7760 # By default we will add the -single_module flag. You can override
7761 # by either setting the environment variable LT_MULTI_MODULE
7762 # non-empty at configure time, or by adding -multi_module to the
7763 # link flags.
7764 rm -rf libconftest.dylib*
7765 echo "int foo(void){return 1;}" > conftest.c
7766 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7767 -dynamiclib -Wl,-single_module conftest.c" >&5
7768 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7769 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7770 _lt_result=$?
7771 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7772 lt_cv_apple_cc_single_mod=yes
7773 else
7774 cat conftest.err >&5
7776 rm -rf libconftest.dylib*
7777 rm -f conftest.*
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7781 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7783 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7784 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7785 $as_echo_n "(cached) " >&6
7786 else
7787 lt_cv_ld_exported_symbols_list=no
7788 save_LDFLAGS=$LDFLAGS
7789 echo "_main" > conftest.sym
7790 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7791 if test x$gcc_no_link = xyes; then
7792 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7798 main ()
7802 return 0;
7804 _ACEOF
7805 if ac_fn_c_try_link "$LINENO"; then :
7806 lt_cv_ld_exported_symbols_list=yes
7807 else
7808 lt_cv_ld_exported_symbols_list=no
7810 rm -f core conftest.err conftest.$ac_objext \
7811 conftest$ac_exeext conftest.$ac_ext
7812 LDFLAGS="$save_LDFLAGS"
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7816 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7818 $as_echo_n "checking for -force_load linker flag... " >&6; }
7819 if test "${lt_cv_ld_force_load+set}" = set; then :
7820 $as_echo_n "(cached) " >&6
7821 else
7822 lt_cv_ld_force_load=no
7823 cat > conftest.c << _LT_EOF
7824 int forced_loaded() { return 2;}
7825 _LT_EOF
7826 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7827 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7828 echo "$AR cru libconftest.a conftest.o" >&5
7829 $AR cru libconftest.a conftest.o 2>&5
7830 cat > conftest.c << _LT_EOF
7831 int main() { return 0;}
7832 _LT_EOF
7833 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7834 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7835 _lt_result=$?
7836 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7837 lt_cv_ld_force_load=yes
7838 else
7839 cat conftest.err >&5
7841 rm -f conftest.err libconftest.a conftest conftest.c
7842 rm -rf conftest.dSYM
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7846 $as_echo "$lt_cv_ld_force_load" >&6; }
7847 case $host_os in
7848 rhapsody* | darwin1.[012])
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7850 darwin1.*)
7851 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7852 darwin*) # darwin 5.x on
7853 # if running on 10.5 or later, the deployment target defaults
7854 # to the OS version, if on x86, and 10.4, the deployment
7855 # target defaults to 10.4. Don't you love it?
7856 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7857 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7858 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7859 10.[012]*)
7860 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7861 10.*)
7862 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7863 esac
7865 esac
7866 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7867 _lt_dar_single_mod='$single_module'
7869 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7870 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7871 else
7872 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7874 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7875 _lt_dsymutil='~$DSYMUTIL $lib || :'
7876 else
7877 _lt_dsymutil=
7880 esac
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7883 $as_echo_n "checking for ANSI C header files... " >&6; }
7884 if test "${ac_cv_header_stdc+set}" = set; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7889 #include <stdlib.h>
7890 #include <stdarg.h>
7891 #include <string.h>
7892 #include <float.h>
7895 main ()
7899 return 0;
7901 _ACEOF
7902 if ac_fn_c_try_compile "$LINENO"; then :
7903 ac_cv_header_stdc=yes
7904 else
7905 ac_cv_header_stdc=no
7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7909 if test $ac_cv_header_stdc = yes; then
7910 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 #include <string.h>
7915 _ACEOF
7916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7917 $EGREP "memchr" >/dev/null 2>&1; then :
7919 else
7920 ac_cv_header_stdc=no
7922 rm -f conftest*
7926 if test $ac_cv_header_stdc = yes; then
7927 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7930 #include <stdlib.h>
7932 _ACEOF
7933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7934 $EGREP "free" >/dev/null 2>&1; then :
7936 else
7937 ac_cv_header_stdc=no
7939 rm -f conftest*
7943 if test $ac_cv_header_stdc = yes; then
7944 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7945 if test "$cross_compiling" = yes; then :
7947 else
7948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h. */
7950 #include <ctype.h>
7951 #include <stdlib.h>
7952 #if ((' ' & 0x0FF) == 0x020)
7953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7955 #else
7956 # define ISLOWER(c) \
7957 (('a' <= (c) && (c) <= 'i') \
7958 || ('j' <= (c) && (c) <= 'r') \
7959 || ('s' <= (c) && (c) <= 'z'))
7960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7961 #endif
7963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7965 main ()
7967 int i;
7968 for (i = 0; i < 256; i++)
7969 if (XOR (islower (i), ISLOWER (i))
7970 || toupper (i) != TOUPPER (i))
7971 return 2;
7972 return 0;
7974 _ACEOF
7975 if ac_fn_c_try_run "$LINENO"; then :
7977 else
7978 ac_cv_header_stdc=no
7980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7981 conftest.$ac_objext conftest.beam conftest.$ac_ext
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7987 $as_echo "$ac_cv_header_stdc" >&6; }
7988 if test $ac_cv_header_stdc = yes; then
7990 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7996 inttypes.h stdint.h unistd.h
7997 do :
7998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8001 eval as_val=\$$as_ac_Header
8002 if test "x$as_val" = x""yes; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8005 _ACEOF
8009 done
8012 for ac_header in dlfcn.h
8013 do :
8014 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8016 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8017 cat >>confdefs.h <<_ACEOF
8018 #define HAVE_DLFCN_H 1
8019 _ACEOF
8023 done
8030 # Set options
8035 enable_win32_dll=no
8038 # Check whether --enable-shared was given.
8039 if test "${enable_shared+set}" = set; then :
8040 enableval=$enable_shared; p=${PACKAGE-default}
8041 case $enableval in
8042 yes) enable_shared=yes ;;
8043 no) enable_shared=no ;;
8045 enable_shared=no
8046 # Look at the argument we got. We use all the common list separators.
8047 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8048 for pkg in $enableval; do
8049 IFS="$lt_save_ifs"
8050 if test "X$pkg" = "X$p"; then
8051 enable_shared=yes
8053 done
8054 IFS="$lt_save_ifs"
8056 esac
8057 else
8058 enable_shared=yes
8069 # Check whether --enable-static was given.
8070 if test "${enable_static+set}" = set; then :
8071 enableval=$enable_static; p=${PACKAGE-default}
8072 case $enableval in
8073 yes) enable_static=yes ;;
8074 no) enable_static=no ;;
8076 enable_static=no
8077 # Look at the argument we got. We use all the common list separators.
8078 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8079 for pkg in $enableval; do
8080 IFS="$lt_save_ifs"
8081 if test "X$pkg" = "X$p"; then
8082 enable_static=yes
8084 done
8085 IFS="$lt_save_ifs"
8087 esac
8088 else
8089 enable_static=yes
8101 # Check whether --with-pic was given.
8102 if test "${with_pic+set}" = set; then :
8103 withval=$with_pic; pic_mode="$withval"
8104 else
8105 pic_mode=default
8109 test -z "$pic_mode" && pic_mode=default
8117 # Check whether --enable-fast-install was given.
8118 if test "${enable_fast_install+set}" = set; then :
8119 enableval=$enable_fast_install; p=${PACKAGE-default}
8120 case $enableval in
8121 yes) enable_fast_install=yes ;;
8122 no) enable_fast_install=no ;;
8124 enable_fast_install=no
8125 # Look at the argument we got. We use all the common list separators.
8126 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8127 for pkg in $enableval; do
8128 IFS="$lt_save_ifs"
8129 if test "X$pkg" = "X$p"; then
8130 enable_fast_install=yes
8132 done
8133 IFS="$lt_save_ifs"
8135 esac
8136 else
8137 enable_fast_install=yes
8150 # This can be used to rebuild libtool when needed
8151 LIBTOOL_DEPS="$ltmain"
8153 # Always use our own libtool.
8154 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8181 test -z "$LN_S" && LN_S="ln -s"
8196 if test -n "${ZSH_VERSION+set}" ; then
8197 setopt NO_GLOB_SUBST
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8201 $as_echo_n "checking for objdir... " >&6; }
8202 if test "${lt_cv_objdir+set}" = set; then :
8203 $as_echo_n "(cached) " >&6
8204 else
8205 rm -f .libs 2>/dev/null
8206 mkdir .libs 2>/dev/null
8207 if test -d .libs; then
8208 lt_cv_objdir=.libs
8209 else
8210 # MS-DOS does not allow filenames that begin with a dot.
8211 lt_cv_objdir=_libs
8213 rmdir .libs 2>/dev/null
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8216 $as_echo "$lt_cv_objdir" >&6; }
8217 objdir=$lt_cv_objdir
8223 cat >>confdefs.h <<_ACEOF
8224 #define LT_OBJDIR "$lt_cv_objdir/"
8225 _ACEOF
8230 case $host_os in
8231 aix3*)
8232 # AIX sometimes has problems with the GCC collect2 program. For some
8233 # reason, if we set the COLLECT_NAMES environment variable, the problems
8234 # vanish in a puff of smoke.
8235 if test "X${COLLECT_NAMES+set}" != Xset; then
8236 COLLECT_NAMES=
8237 export COLLECT_NAMES
8240 esac
8242 # Global variables:
8243 ofile=libtool
8244 can_build_shared=yes
8246 # All known linkers require a `.a' archive for static linking (except MSVC,
8247 # which needs '.lib').
8248 libext=a
8250 with_gnu_ld="$lt_cv_prog_gnu_ld"
8252 old_CC="$CC"
8253 old_CFLAGS="$CFLAGS"
8255 # Set sane defaults for various variables
8256 test -z "$CC" && CC=cc
8257 test -z "$LTCC" && LTCC=$CC
8258 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8259 test -z "$LD" && LD=ld
8260 test -z "$ac_objext" && ac_objext=o
8262 for cc_temp in $compiler""; do
8263 case $cc_temp in
8264 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8265 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8266 \-*) ;;
8267 *) break;;
8268 esac
8269 done
8270 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8273 # Only perform the check for file, if the check method requires it
8274 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8275 case $deplibs_check_method in
8276 file_magic*)
8277 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8279 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8280 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 case $MAGIC_CMD in
8284 [\\/*] | ?:[\\/]*)
8285 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8288 lt_save_MAGIC_CMD="$MAGIC_CMD"
8289 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8290 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8291 for ac_dir in $ac_dummy; do
8292 IFS="$lt_save_ifs"
8293 test -z "$ac_dir" && ac_dir=.
8294 if test -f $ac_dir/${ac_tool_prefix}file; then
8295 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8296 if test -n "$file_magic_test_file"; then
8297 case $deplibs_check_method in
8298 "file_magic "*)
8299 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8301 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8302 $EGREP "$file_magic_regex" > /dev/null; then
8304 else
8305 cat <<_LT_EOF 1>&2
8307 *** Warning: the command libtool uses to detect shared libraries,
8308 *** $file_magic_cmd, produces output that libtool cannot recognize.
8309 *** The result is that libtool may fail to recognize shared libraries
8310 *** as such. This will affect the creation of libtool libraries that
8311 *** depend on shared libraries, but programs linked with such libtool
8312 *** libraries will work regardless of this problem. Nevertheless, you
8313 *** may want to report the problem to your system manager and/or to
8314 *** bug-libtool@gnu.org
8316 _LT_EOF
8317 fi ;;
8318 esac
8320 break
8322 done
8323 IFS="$lt_save_ifs"
8324 MAGIC_CMD="$lt_save_MAGIC_CMD"
8326 esac
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if test -n "$MAGIC_CMD"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8332 $as_echo "$MAGIC_CMD" >&6; }
8333 else
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335 $as_echo "no" >&6; }
8342 if test -z "$lt_cv_path_MAGIC_CMD"; then
8343 if test -n "$ac_tool_prefix"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8345 $as_echo_n "checking for file... " >&6; }
8346 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 case $MAGIC_CMD in
8350 [\\/*] | ?:[\\/]*)
8351 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8354 lt_save_MAGIC_CMD="$MAGIC_CMD"
8355 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8356 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8357 for ac_dir in $ac_dummy; do
8358 IFS="$lt_save_ifs"
8359 test -z "$ac_dir" && ac_dir=.
8360 if test -f $ac_dir/file; then
8361 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8362 if test -n "$file_magic_test_file"; then
8363 case $deplibs_check_method in
8364 "file_magic "*)
8365 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8367 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8368 $EGREP "$file_magic_regex" > /dev/null; then
8370 else
8371 cat <<_LT_EOF 1>&2
8373 *** Warning: the command libtool uses to detect shared libraries,
8374 *** $file_magic_cmd, produces output that libtool cannot recognize.
8375 *** The result is that libtool may fail to recognize shared libraries
8376 *** as such. This will affect the creation of libtool libraries that
8377 *** depend on shared libraries, but programs linked with such libtool
8378 *** libraries will work regardless of this problem. Nevertheless, you
8379 *** may want to report the problem to your system manager and/or to
8380 *** bug-libtool@gnu.org
8382 _LT_EOF
8383 fi ;;
8384 esac
8386 break
8388 done
8389 IFS="$lt_save_ifs"
8390 MAGIC_CMD="$lt_save_MAGIC_CMD"
8392 esac
8395 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8396 if test -n "$MAGIC_CMD"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8398 $as_echo "$MAGIC_CMD" >&6; }
8399 else
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8405 else
8406 MAGIC_CMD=:
8412 esac
8414 # Use C for the default configuration in the libtool script
8416 lt_save_CC="$CC"
8417 ac_ext=c
8418 ac_cpp='$CPP $CPPFLAGS'
8419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8424 # Source file extension for C test sources.
8425 ac_ext=c
8427 # Object file extension for compiled C test sources.
8428 objext=o
8429 objext=$objext
8431 # Code to be used in simple compile tests
8432 lt_simple_compile_test_code="int some_variable = 0;"
8434 # Code to be used in simple link tests
8435 lt_simple_link_test_code='int main(){return(0);}'
8443 # If no C compiler was specified, use CC.
8444 LTCC=${LTCC-"$CC"}
8446 # If no C compiler flags were specified, use CFLAGS.
8447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8449 # Allow CC to be a program name with arguments.
8450 compiler=$CC
8452 # Save the default compiler, since it gets overwritten when the other
8453 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8454 compiler_DEFAULT=$CC
8456 # save warnings/boilerplate of simple test code
8457 ac_outfile=conftest.$ac_objext
8458 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8459 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8460 _lt_compiler_boilerplate=`cat conftest.err`
8461 $RM conftest*
8463 ac_outfile=conftest.$ac_objext
8464 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8465 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8466 _lt_linker_boilerplate=`cat conftest.err`
8467 $RM -r conftest*
8470 ## CAVEAT EMPTOR:
8471 ## There is no encapsulation within the following macros, do not change
8472 ## the running order or otherwise move them around unless you know exactly
8473 ## what you are doing...
8474 if test -n "$compiler"; then
8476 lt_prog_compiler_no_builtin_flag=
8478 if test "$GCC" = yes; then
8479 case $cc_basename in
8480 nvcc*)
8481 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8483 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8484 esac
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8487 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8488 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 lt_cv_prog_compiler_rtti_exceptions=no
8492 ac_outfile=conftest.$ac_objext
8493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8494 lt_compiler_flag="-fno-rtti -fno-exceptions"
8495 # Insert the option either (1) after the last *FLAGS variable, or
8496 # (2) before a word containing "conftest.", or (3) at the end.
8497 # Note that $ac_compile itself does not contain backslashes and begins
8498 # with a dollar sign (not a hyphen), so the echo should work correctly.
8499 # The option is referenced via a variable to avoid confusing sed.
8500 lt_compile=`echo "$ac_compile" | $SED \
8501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8503 -e 's:$: $lt_compiler_flag:'`
8504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8505 (eval "$lt_compile" 2>conftest.err)
8506 ac_status=$?
8507 cat conftest.err >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 if (exit $ac_status) && test -s "$ac_outfile"; then
8510 # The compiler can only warn and ignore the option if not recognized
8511 # So say no if there are warnings other than the usual output.
8512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8515 lt_cv_prog_compiler_rtti_exceptions=yes
8518 $RM conftest*
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8522 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8524 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8525 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8526 else
8537 lt_prog_compiler_wl=
8538 lt_prog_compiler_pic=
8539 lt_prog_compiler_static=
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8542 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8544 if test "$GCC" = yes; then
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_static='-static'
8548 case $host_os in
8549 aix*)
8550 # All AIX code is PIC.
8551 if test "$host_cpu" = ia64; then
8552 # AIX 5 now supports IA64 processor
8553 lt_prog_compiler_static='-Bstatic'
8555 lt_prog_compiler_pic='-fPIC'
8558 amigaos*)
8559 case $host_cpu in
8560 powerpc)
8561 # see comment about AmigaOS4 .so support
8562 lt_prog_compiler_pic='-fPIC'
8564 m68k)
8565 # FIXME: we need at least 68020 code to build shared libraries, but
8566 # adding the `-m68020' flag to GCC prevents building anything better,
8567 # like `-m68040'.
8568 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8570 esac
8573 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8574 # PIC is the default for these OSes.
8577 mingw* | cygwin* | pw32* | os2* | cegcc*)
8578 # This hack is so that the source file can tell whether it is being
8579 # built for inclusion in a dll (and should export symbols for example).
8580 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8581 # (--disable-auto-import) libraries
8582 lt_prog_compiler_pic='-DDLL_EXPORT'
8585 darwin* | rhapsody*)
8586 # PIC is the default on this platform
8587 # Common symbols not allowed in MH_DYLIB files
8588 lt_prog_compiler_pic='-fno-common'
8591 haiku*)
8592 # PIC is the default for Haiku.
8593 # The "-static" flag exists, but is broken.
8594 lt_prog_compiler_static=
8597 hpux*)
8598 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8599 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8600 # sets the default TLS model and affects inlining.
8601 case $host_cpu in
8602 hppa*64*)
8603 # +Z the default
8606 lt_prog_compiler_pic='-fPIC'
8608 esac
8611 interix[3-9]*)
8612 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8613 # Instead, we relocate shared libraries at runtime.
8616 msdosdjgpp*)
8617 # Just because we use GCC doesn't mean we suddenly get shared libraries
8618 # on systems that don't support them.
8619 lt_prog_compiler_can_build_shared=no
8620 enable_shared=no
8623 *nto* | *qnx*)
8624 # QNX uses GNU C++, but need to define -shared option too, otherwise
8625 # it will coredump.
8626 lt_prog_compiler_pic='-fPIC -shared'
8629 sysv4*MP*)
8630 if test -d /usr/nec; then
8631 lt_prog_compiler_pic=-Kconform_pic
8636 lt_prog_compiler_pic='-fPIC'
8638 esac
8640 case $cc_basename in
8641 nvcc*) # Cuda Compiler Driver 2.2
8642 lt_prog_compiler_wl='-Xlinker '
8643 lt_prog_compiler_pic='-Xcompiler -fPIC'
8645 esac
8646 else
8647 # PORTME Check for flag to pass linker flags through the system compiler.
8648 case $host_os in
8649 aix*)
8650 lt_prog_compiler_wl='-Wl,'
8651 if test "$host_cpu" = ia64; then
8652 # AIX 5 now supports IA64 processor
8653 lt_prog_compiler_static='-Bstatic'
8654 else
8655 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8659 mingw* | cygwin* | pw32* | os2* | cegcc*)
8660 # This hack is so that the source file can tell whether it is being
8661 # built for inclusion in a dll (and should export symbols for example).
8662 lt_prog_compiler_pic='-DDLL_EXPORT'
8665 hpux9* | hpux10* | hpux11*)
8666 lt_prog_compiler_wl='-Wl,'
8667 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8668 # not for PA HP-UX.
8669 case $host_cpu in
8670 hppa*64*|ia64*)
8671 # +Z the default
8674 lt_prog_compiler_pic='+Z'
8676 esac
8677 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8678 lt_prog_compiler_static='${wl}-a ${wl}archive'
8681 irix5* | irix6* | nonstopux*)
8682 lt_prog_compiler_wl='-Wl,'
8683 # PIC (with -KPIC) is the default.
8684 lt_prog_compiler_static='-non_shared'
8687 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8688 case $cc_basename in
8689 # old Intel for x86_64 which still supported -KPIC.
8690 ecc*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-static'
8695 # icc used to be incompatible with GCC.
8696 # ICC 10 doesn't accept -KPIC any more.
8697 icc* | ifort*)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fPIC'
8700 lt_prog_compiler_static='-static'
8702 # Lahey Fortran 8.1.
8703 lf95*)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='--shared'
8706 lt_prog_compiler_static='--static'
8708 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8709 # Portland Group compilers (*not* the Pentium gcc compiler,
8710 # which looks to be a dead project)
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_pic='-fpic'
8713 lt_prog_compiler_static='-Bstatic'
8715 ccc*)
8716 lt_prog_compiler_wl='-Wl,'
8717 # All Alpha code is PIC.
8718 lt_prog_compiler_static='-non_shared'
8720 xl* | bgxl* | bgf* | mpixl*)
8721 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8722 lt_prog_compiler_wl='-Wl,'
8723 lt_prog_compiler_pic='-qpic'
8724 lt_prog_compiler_static='-qstaticlink'
8727 case `$CC -V 2>&1 | sed 5q` in
8728 *Sun\ F* | *Sun*Fortran*)
8729 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8730 lt_prog_compiler_pic='-KPIC'
8731 lt_prog_compiler_static='-Bstatic'
8732 lt_prog_compiler_wl=''
8734 *Sun\ C*)
8735 # Sun C 5.9
8736 lt_prog_compiler_pic='-KPIC'
8737 lt_prog_compiler_static='-Bstatic'
8738 lt_prog_compiler_wl='-Wl,'
8740 esac
8742 esac
8745 newsos6)
8746 lt_prog_compiler_pic='-KPIC'
8747 lt_prog_compiler_static='-Bstatic'
8750 *nto* | *qnx*)
8751 # QNX uses GNU C++, but need to define -shared option too, otherwise
8752 # it will coredump.
8753 lt_prog_compiler_pic='-fPIC -shared'
8756 osf3* | osf4* | osf5*)
8757 lt_prog_compiler_wl='-Wl,'
8758 # All OSF/1 code is PIC.
8759 lt_prog_compiler_static='-non_shared'
8762 rdos*)
8763 lt_prog_compiler_static='-non_shared'
8766 solaris*)
8767 lt_prog_compiler_pic='-KPIC'
8768 lt_prog_compiler_static='-Bstatic'
8769 case $cc_basename in
8770 f77* | f90* | f95*)
8771 lt_prog_compiler_wl='-Qoption ld ';;
8773 lt_prog_compiler_wl='-Wl,';;
8774 esac
8777 sunos4*)
8778 lt_prog_compiler_wl='-Qoption ld '
8779 lt_prog_compiler_pic='-PIC'
8780 lt_prog_compiler_static='-Bstatic'
8783 sysv4 | sysv4.2uw2* | sysv4.3*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8789 sysv4*MP*)
8790 if test -d /usr/nec ;then
8791 lt_prog_compiler_pic='-Kconform_pic'
8792 lt_prog_compiler_static='-Bstatic'
8796 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8802 unicos*)
8803 lt_prog_compiler_wl='-Wl,'
8804 lt_prog_compiler_can_build_shared=no
8807 uts4*)
8808 lt_prog_compiler_pic='-pic'
8809 lt_prog_compiler_static='-Bstatic'
8813 lt_prog_compiler_can_build_shared=no
8815 esac
8818 case $host_os in
8819 # For platforms which do not support PIC, -DPIC is meaningless:
8820 *djgpp*)
8821 lt_prog_compiler_pic=
8824 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8826 esac
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8828 $as_echo "$lt_prog_compiler_pic" >&6; }
8836 # Check to make sure the PIC flag actually works.
8838 if test -n "$lt_prog_compiler_pic"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8840 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8841 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8842 $as_echo_n "(cached) " >&6
8843 else
8844 lt_cv_prog_compiler_pic_works=no
8845 ac_outfile=conftest.$ac_objext
8846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8847 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8848 # Insert the option either (1) after the last *FLAGS variable, or
8849 # (2) before a word containing "conftest.", or (3) at the end.
8850 # Note that $ac_compile itself does not contain backslashes and begins
8851 # with a dollar sign (not a hyphen), so the echo should work correctly.
8852 # The option is referenced via a variable to avoid confusing sed.
8853 lt_compile=`echo "$ac_compile" | $SED \
8854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8856 -e 's:$: $lt_compiler_flag:'`
8857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8858 (eval "$lt_compile" 2>conftest.err)
8859 ac_status=$?
8860 cat conftest.err >&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 if (exit $ac_status) && test -s "$ac_outfile"; then
8863 # The compiler can only warn and ignore the option if not recognized
8864 # So say no if there are warnings other than the usual output.
8865 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8866 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8867 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8868 lt_cv_prog_compiler_pic_works=yes
8871 $RM conftest*
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8875 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8877 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8878 case $lt_prog_compiler_pic in
8879 "" | " "*) ;;
8880 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8881 esac
8882 else
8883 lt_prog_compiler_pic=
8884 lt_prog_compiler_can_build_shared=no
8895 # Check to make sure the static flag actually works.
8897 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8899 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8900 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8901 $as_echo_n "(cached) " >&6
8902 else
8903 lt_cv_prog_compiler_static_works=no
8904 save_LDFLAGS="$LDFLAGS"
8905 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8906 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8907 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8908 # The linker can only warn and ignore the option if not recognized
8909 # So say no if there are warnings
8910 if test -s conftest.err; then
8911 # Append any errors to the config.log.
8912 cat conftest.err 1>&5
8913 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8914 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8915 if diff conftest.exp conftest.er2 >/dev/null; then
8916 lt_cv_prog_compiler_static_works=yes
8918 else
8919 lt_cv_prog_compiler_static_works=yes
8922 $RM -r conftest*
8923 LDFLAGS="$save_LDFLAGS"
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8927 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8929 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8931 else
8932 lt_prog_compiler_static=
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8942 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8943 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8944 $as_echo_n "(cached) " >&6
8945 else
8946 lt_cv_prog_compiler_c_o=no
8947 $RM -r conftest 2>/dev/null
8948 mkdir conftest
8949 cd conftest
8950 mkdir out
8951 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8953 lt_compiler_flag="-o out/conftest2.$ac_objext"
8954 # Insert the option either (1) after the last *FLAGS variable, or
8955 # (2) before a word containing "conftest.", or (3) at the end.
8956 # Note that $ac_compile itself does not contain backslashes and begins
8957 # with a dollar sign (not a hyphen), so the echo should work correctly.
8958 lt_compile=`echo "$ac_compile" | $SED \
8959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8961 -e 's:$: $lt_compiler_flag:'`
8962 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8963 (eval "$lt_compile" 2>out/conftest.err)
8964 ac_status=$?
8965 cat out/conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8968 then
8969 # The compiler can only warn and ignore the option if not recognized
8970 # So say no if there are warnings
8971 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8972 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8973 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8974 lt_cv_prog_compiler_c_o=yes
8977 chmod u+w . 2>&5
8978 $RM conftest*
8979 # SGI C++ compiler will create directory out/ii_files/ for
8980 # template instantiation
8981 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8982 $RM out/* && rmdir out
8983 cd ..
8984 $RM -r conftest
8985 $RM conftest*
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8989 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8997 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8998 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8999 $as_echo_n "(cached) " >&6
9000 else
9001 lt_cv_prog_compiler_c_o=no
9002 $RM -r conftest 2>/dev/null
9003 mkdir conftest
9004 cd conftest
9005 mkdir out
9006 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9008 lt_compiler_flag="-o out/conftest2.$ac_objext"
9009 # Insert the option either (1) after the last *FLAGS variable, or
9010 # (2) before a word containing "conftest.", or (3) at the end.
9011 # Note that $ac_compile itself does not contain backslashes and begins
9012 # with a dollar sign (not a hyphen), so the echo should work correctly.
9013 lt_compile=`echo "$ac_compile" | $SED \
9014 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016 -e 's:$: $lt_compiler_flag:'`
9017 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018 (eval "$lt_compile" 2>out/conftest.err)
9019 ac_status=$?
9020 cat out/conftest.err >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9023 then
9024 # The compiler can only warn and ignore the option if not recognized
9025 # So say no if there are warnings
9026 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9027 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9028 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9029 lt_cv_prog_compiler_c_o=yes
9032 chmod u+w . 2>&5
9033 $RM conftest*
9034 # SGI C++ compiler will create directory out/ii_files/ for
9035 # template instantiation
9036 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9037 $RM out/* && rmdir out
9038 cd ..
9039 $RM -r conftest
9040 $RM conftest*
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9044 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9049 hard_links="nottested"
9050 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9051 # do not overwrite the value of need_locks provided by the user
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9053 $as_echo_n "checking if we can lock with hard links... " >&6; }
9054 hard_links=yes
9055 $RM conftest*
9056 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9057 touch conftest.a
9058 ln conftest.a conftest.b 2>&5 || hard_links=no
9059 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9061 $as_echo "$hard_links" >&6; }
9062 if test "$hard_links" = no; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9064 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9065 need_locks=warn
9067 else
9068 need_locks=no
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9077 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9079 runpath_var=
9080 allow_undefined_flag=
9081 always_export_symbols=no
9082 archive_cmds=
9083 archive_expsym_cmds=
9084 compiler_needs_object=no
9085 enable_shared_with_static_runtimes=no
9086 export_dynamic_flag_spec=
9087 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9088 hardcode_automatic=no
9089 hardcode_direct=no
9090 hardcode_direct_absolute=no
9091 hardcode_libdir_flag_spec=
9092 hardcode_libdir_flag_spec_ld=
9093 hardcode_libdir_separator=
9094 hardcode_minus_L=no
9095 hardcode_shlibpath_var=unsupported
9096 inherit_rpath=no
9097 link_all_deplibs=unknown
9098 module_cmds=
9099 module_expsym_cmds=
9100 old_archive_from_new_cmds=
9101 old_archive_from_expsyms_cmds=
9102 thread_safe_flag_spec=
9103 whole_archive_flag_spec=
9104 # include_expsyms should be a list of space-separated symbols to be *always*
9105 # included in the symbol list
9106 include_expsyms=
9107 # exclude_expsyms can be an extended regexp of symbols to exclude
9108 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9109 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9110 # as well as any symbol that contains `d'.
9111 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9112 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9113 # platforms (ab)use it in PIC code, but their linkers get confused if
9114 # the symbol is explicitly referenced. Since portable code cannot
9115 # rely on this symbol name, it's probably fine to never include it in
9116 # preloaded symbol tables.
9117 # Exclude shared library initialization/finalization symbols.
9118 extract_expsyms_cmds=
9120 case $host_os in
9121 cygwin* | mingw* | pw32* | cegcc*)
9122 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9123 # When not using gcc, we currently assume that we are using
9124 # Microsoft Visual C++.
9125 if test "$GCC" != yes; then
9126 with_gnu_ld=no
9129 interix*)
9130 # we just hope/assume this is gcc and not c89 (= MSVC++)
9131 with_gnu_ld=yes
9133 openbsd*)
9134 with_gnu_ld=no
9136 esac
9138 ld_shlibs=yes
9140 # On some targets, GNU ld is compatible enough with the native linker
9141 # that we're better off using the native interface for both.
9142 lt_use_gnu_ld_interface=no
9143 if test "$with_gnu_ld" = yes; then
9144 case $host_os in
9145 aix*)
9146 # The AIX port of GNU ld has always aspired to compatibility
9147 # with the native linker. However, as the warning in the GNU ld
9148 # block says, versions before 2.19.5* couldn't really create working
9149 # shared libraries, regardless of the interface used.
9150 case `$LD -v 2>&1` in
9151 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9152 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9153 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9155 lt_use_gnu_ld_interface=yes
9157 esac
9160 lt_use_gnu_ld_interface=yes
9162 esac
9165 if test "$lt_use_gnu_ld_interface" = yes; then
9166 # If archive_cmds runs LD, not CC, wlarc should be empty
9167 wlarc='${wl}'
9169 # Set some defaults for GNU ld with shared library support. These
9170 # are reset later if shared libraries are not supported. Putting them
9171 # here allows them to be overridden if necessary.
9172 runpath_var=LD_RUN_PATH
9173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9174 export_dynamic_flag_spec='${wl}--export-dynamic'
9175 # ancient GNU ld didn't support --whole-archive et. al.
9176 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9177 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9178 else
9179 whole_archive_flag_spec=
9181 supports_anon_versioning=no
9182 case `$LD -v 2>&1` in
9183 *GNU\ gold*) supports_anon_versioning=yes ;;
9184 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9185 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9186 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9187 *\ 2.11.*) ;; # other 2.11 versions
9188 *) supports_anon_versioning=yes ;;
9189 esac
9191 # See if GNU ld supports shared libraries.
9192 case $host_os in
9193 aix[3-9]*)
9194 # On AIX/PPC, the GNU linker is very broken
9195 if test "$host_cpu" != ia64; then
9196 ld_shlibs=no
9197 cat <<_LT_EOF 1>&2
9199 *** Warning: the GNU linker, at least up to release 2.19, is reported
9200 *** to be unable to reliably create shared libraries on AIX.
9201 *** Therefore, libtool is disabling shared libraries support. If you
9202 *** really care for shared libraries, you may want to install binutils
9203 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9204 *** You will then need to restart the configuration process.
9206 _LT_EOF
9210 amigaos*)
9211 case $host_cpu in
9212 powerpc)
9213 # see comment about AmigaOS4 .so support
9214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9215 archive_expsym_cmds=''
9217 m68k)
9218 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)'
9219 hardcode_libdir_flag_spec='-L$libdir'
9220 hardcode_minus_L=yes
9222 esac
9225 beos*)
9226 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9227 allow_undefined_flag=unsupported
9228 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9229 # support --undefined. This deserves some investigation. FIXME
9230 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231 else
9232 ld_shlibs=no
9236 cygwin* | mingw* | pw32* | cegcc*)
9237 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9238 # as there is no search path for DLLs.
9239 hardcode_libdir_flag_spec='-L$libdir'
9240 export_dynamic_flag_spec='${wl}--export-all-symbols'
9241 allow_undefined_flag=unsupported
9242 always_export_symbols=no
9243 enable_shared_with_static_runtimes=yes
9244 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9246 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9247 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9248 # If the export-symbols file already is a .def file (1st line
9249 # is EXPORTS), use it as is; otherwise, prepend...
9250 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9251 cp $export_symbols $output_objdir/$soname.def;
9252 else
9253 echo EXPORTS > $output_objdir/$soname.def;
9254 cat $export_symbols >> $output_objdir/$soname.def;
9256 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9257 else
9258 ld_shlibs=no
9262 haiku*)
9263 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264 link_all_deplibs=yes
9267 interix[3-9]*)
9268 hardcode_direct=no
9269 hardcode_shlibpath_var=no
9270 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9271 export_dynamic_flag_spec='${wl}-E'
9272 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9273 # Instead, shared libraries are loaded at an image base (0x10000000 by
9274 # default) and relocated if they conflict, which is a slow very memory
9275 # consuming and fragmenting process. To avoid this, we pick a random,
9276 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9277 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9278 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9279 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'
9282 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9283 tmp_diet=no
9284 if test "$host_os" = linux-dietlibc; then
9285 case $cc_basename in
9286 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9287 esac
9289 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9290 && test "$tmp_diet" = no
9291 then
9292 tmp_addflag=
9293 tmp_sharedflag='-shared'
9294 case $cc_basename,$host_cpu in
9295 pgcc*) # Portland Group C compiler
9296 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'
9297 tmp_addflag=' $pic_flag'
9299 pgf77* | pgf90* | pgf95* | pgfortran*)
9300 # Portland Group f77 and f90 compilers
9301 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'
9302 tmp_addflag=' $pic_flag -Mnomain' ;;
9303 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9304 tmp_addflag=' -i_dynamic' ;;
9305 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9306 tmp_addflag=' -i_dynamic -nofor_main' ;;
9307 ifc* | ifort*) # Intel Fortran compiler
9308 tmp_addflag=' -nofor_main' ;;
9309 lf95*) # Lahey Fortran 8.1
9310 whole_archive_flag_spec=
9311 tmp_sharedflag='--shared' ;;
9312 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9313 tmp_sharedflag='-qmkshrobj'
9314 tmp_addflag= ;;
9315 nvcc*) # Cuda Compiler Driver 2.2
9316 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'
9317 compiler_needs_object=yes
9319 esac
9320 case `$CC -V 2>&1 | sed 5q` in
9321 *Sun\ C*) # Sun C 5.9
9322 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'
9323 compiler_needs_object=yes
9324 tmp_sharedflag='-G' ;;
9325 *Sun\ F*) # Sun Fortran 8.3
9326 tmp_sharedflag='-G' ;;
9327 esac
9328 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330 if test "x$supports_anon_versioning" = xyes; then
9331 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9332 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9333 echo "local: *; };" >> $output_objdir/$libname.ver~
9334 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9337 case $cc_basename in
9338 xlf* | bgf* | bgxlf* | mpixlf*)
9339 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9340 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9341 hardcode_libdir_flag_spec=
9342 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9343 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9344 if test "x$supports_anon_versioning" = xyes; then
9345 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9346 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9347 echo "local: *; };" >> $output_objdir/$libname.ver~
9348 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9351 esac
9352 else
9353 ld_shlibs=no
9357 netbsd*)
9358 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9359 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9360 wlarc=
9361 else
9362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9363 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9367 solaris*)
9368 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9369 ld_shlibs=no
9370 cat <<_LT_EOF 1>&2
9372 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9373 *** create shared libraries on Solaris systems. Therefore, libtool
9374 *** is disabling shared libraries support. We urge you to upgrade GNU
9375 *** binutils to release 2.9.1 or newer. Another option is to modify
9376 *** your PATH or compiler configuration so that the native linker is
9377 *** used, and then restart.
9379 _LT_EOF
9380 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383 else
9384 ld_shlibs=no
9388 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9389 case `$LD -v 2>&1` in
9390 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9391 ld_shlibs=no
9392 cat <<_LT_EOF 1>&2
9394 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9395 *** reliably create shared libraries on SCO systems. Therefore, libtool
9396 *** is disabling shared libraries support. We urge you to upgrade GNU
9397 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9398 *** your PATH or compiler configuration so that the native linker is
9399 *** used, and then restart.
9401 _LT_EOF
9404 # For security reasons, it is highly recommended that you always
9405 # use absolute paths for naming shared libraries, and exclude the
9406 # DT_RUNPATH tag from executables and libraries. But doing so
9407 # requires that you compile everything twice, which is a pain.
9408 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9409 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9410 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9412 else
9413 ld_shlibs=no
9416 esac
9419 sunos4*)
9420 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9421 wlarc=
9422 hardcode_direct=yes
9423 hardcode_shlibpath_var=no
9427 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9428 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9429 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9430 else
9431 ld_shlibs=no
9434 esac
9436 if test "$ld_shlibs" = no; then
9437 runpath_var=
9438 hardcode_libdir_flag_spec=
9439 export_dynamic_flag_spec=
9440 whole_archive_flag_spec=
9442 else
9443 # PORTME fill in a description of your system's linker (not GNU ld)
9444 case $host_os in
9445 aix3*)
9446 allow_undefined_flag=unsupported
9447 always_export_symbols=yes
9448 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'
9449 # Note: this linker hardcodes the directories in LIBPATH if there
9450 # are no directories specified by -L.
9451 hardcode_minus_L=yes
9452 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9453 # Neither direct hardcoding nor static linking is supported with a
9454 # broken collect2.
9455 hardcode_direct=unsupported
9459 aix[4-9]*)
9460 if test "$host_cpu" = ia64; then
9461 # On IA64, the linker does run time linking by default, so we don't
9462 # have to do anything special.
9463 aix_use_runtimelinking=no
9464 exp_sym_flag='-Bexport'
9465 no_entry_flag=""
9466 else
9467 # If we're using GNU nm, then we don't want the "-C" option.
9468 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9469 # Also, AIX nm treats weak defined symbols like other global
9470 # defined symbols, whereas GNU nm marks them as "W".
9471 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9472 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'
9473 else
9474 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9476 aix_use_runtimelinking=no
9478 # Test if we are trying to use run time linking or normal
9479 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9480 # need to do runtime linking.
9481 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9482 for ld_flag in $LDFLAGS; do
9483 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9484 aix_use_runtimelinking=yes
9485 break
9487 done
9489 esac
9491 exp_sym_flag='-bexport'
9492 no_entry_flag='-bnoentry'
9495 # When large executables or shared objects are built, AIX ld can
9496 # have problems creating the table of contents. If linking a library
9497 # or program results in "error TOC overflow" add -mminimal-toc to
9498 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9499 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9501 archive_cmds=''
9502 hardcode_direct=yes
9503 hardcode_direct_absolute=yes
9504 hardcode_libdir_separator=':'
9505 link_all_deplibs=yes
9506 file_list_spec='${wl}-f,'
9508 if test "$GCC" = yes; then
9509 case $host_os in aix4.[012]|aix4.[012].*)
9510 # We only want to do this on AIX 4.2 and lower, the check
9511 # below for broken collect2 doesn't work under 4.3+
9512 collect2name=`${CC} -print-prog-name=collect2`
9513 if test -f "$collect2name" &&
9514 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9515 then
9516 # We have reworked collect2
9518 else
9519 # We have old collect2
9520 hardcode_direct=unsupported
9521 # It fails to find uninstalled libraries when the uninstalled
9522 # path is not listed in the libpath. Setting hardcode_minus_L
9523 # to unsupported forces relinking
9524 hardcode_minus_L=yes
9525 hardcode_libdir_flag_spec='-L$libdir'
9526 hardcode_libdir_separator=
9529 esac
9530 shared_flag='-shared'
9531 if test "$aix_use_runtimelinking" = yes; then
9532 shared_flag="$shared_flag "'${wl}-G'
9534 else
9535 # not using gcc
9536 if test "$host_cpu" = ia64; then
9537 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9538 # chokes on -Wl,-G. The following line is correct:
9539 shared_flag='-G'
9540 else
9541 if test "$aix_use_runtimelinking" = yes; then
9542 shared_flag='${wl}-G'
9543 else
9544 shared_flag='${wl}-bM:SRE'
9549 export_dynamic_flag_spec='${wl}-bexpall'
9550 # It seems that -bexpall does not export symbols beginning with
9551 # underscore (_), so it is better to generate a list of symbols to export.
9552 always_export_symbols=yes
9553 if test "$aix_use_runtimelinking" = yes; then
9554 # Warning - without using the other runtime loading flags (-brtl),
9555 # -berok will link without error, but may produce a broken library.
9556 allow_undefined_flag='-berok'
9557 # Determine the default libpath from the value encoded in an
9558 # empty executable.
9559 if test x$gcc_no_link = xyes; then
9560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9566 main ()
9570 return 0;
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9575 lt_aix_libpath_sed='
9576 /Import File Strings/,/^$/ {
9577 /^0/ {
9578 s/^0 *\(.*\)$/\1/
9582 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9583 # Check for a 64-bit object if we didn't find anything.
9584 if test -z "$aix_libpath"; then
9585 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 rm -f core conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9592 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9593 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"
9594 else
9595 if test "$host_cpu" = ia64; then
9596 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9597 allow_undefined_flag="-z nodefs"
9598 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"
9599 else
9600 # Determine the default libpath from the value encoded in an
9601 # empty executable.
9602 if test x$gcc_no_link = xyes; then
9603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9609 main ()
9613 return 0;
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9618 lt_aix_libpath_sed='
9619 /Import File Strings/,/^$/ {
9620 /^0/ {
9621 s/^0 *\(.*\)$/\1/
9625 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626 # Check for a 64-bit object if we didn't find anything.
9627 if test -z "$aix_libpath"; then
9628 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9631 rm -f core conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9633 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9635 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9636 # Warning - without using the other run time loading flags,
9637 # -berok will link without error, but may produce a broken library.
9638 no_undefined_flag=' ${wl}-bernotok'
9639 allow_undefined_flag=' ${wl}-berok'
9640 if test "$with_gnu_ld" = yes; then
9641 # We only use this code for GNU lds that support --whole-archive.
9642 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9643 else
9644 # Exported symbols can be pulled into shared objects from archives
9645 whole_archive_flag_spec='$convenience'
9647 archive_cmds_need_lc=yes
9648 # This is similar to how AIX traditionally builds its shared libraries.
9649 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'
9654 amigaos*)
9655 case $host_cpu in
9656 powerpc)
9657 # see comment about AmigaOS4 .so support
9658 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9659 archive_expsym_cmds=''
9661 m68k)
9662 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)'
9663 hardcode_libdir_flag_spec='-L$libdir'
9664 hardcode_minus_L=yes
9666 esac
9669 bsdi[45]*)
9670 export_dynamic_flag_spec=-rdynamic
9673 cygwin* | mingw* | pw32* | cegcc*)
9674 # When not using gcc, we currently assume that we are using
9675 # Microsoft Visual C++.
9676 # hardcode_libdir_flag_spec is actually meaningless, as there is
9677 # no search path for DLLs.
9678 hardcode_libdir_flag_spec=' '
9679 allow_undefined_flag=unsupported
9680 # Tell ltmain to make .lib files, not .a files.
9681 libext=lib
9682 # Tell ltmain to make .dll files, not .so files.
9683 shrext_cmds=".dll"
9684 # FIXME: Setting linknames here is a bad hack.
9685 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9686 # The linker will automatically build a .lib file if we build a DLL.
9687 old_archive_from_new_cmds='true'
9688 # FIXME: Should let the user specify the lib program.
9689 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9690 fix_srcfile_path='`cygpath -w "$srcfile"`'
9691 enable_shared_with_static_runtimes=yes
9694 darwin* | rhapsody*)
9697 archive_cmds_need_lc=no
9698 hardcode_direct=no
9699 hardcode_automatic=yes
9700 hardcode_shlibpath_var=unsupported
9701 if test "$lt_cv_ld_force_load" = "yes"; then
9702 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\"`'
9703 else
9704 whole_archive_flag_spec=''
9706 link_all_deplibs=yes
9707 allow_undefined_flag="$_lt_dar_allow_undefined"
9708 case $cc_basename in
9709 ifort*) _lt_dar_can_shared=yes ;;
9710 *) _lt_dar_can_shared=$GCC ;;
9711 esac
9712 if test "$_lt_dar_can_shared" = "yes"; then
9713 output_verbose_link_cmd=func_echo_all
9714 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9715 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9716 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}"
9717 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}"
9719 else
9720 ld_shlibs=no
9725 dgux*)
9726 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_libdir_flag_spec='-L$libdir'
9728 hardcode_shlibpath_var=no
9731 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9732 # support. Future versions do this automatically, but an explicit c++rt0.o
9733 # does not break anything, and helps significantly (at the cost of a little
9734 # extra space).
9735 freebsd2.2*)
9736 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9737 hardcode_libdir_flag_spec='-R$libdir'
9738 hardcode_direct=yes
9739 hardcode_shlibpath_var=no
9742 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9743 freebsd2.*)
9744 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9745 hardcode_direct=yes
9746 hardcode_minus_L=yes
9747 hardcode_shlibpath_var=no
9750 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9751 freebsd* | dragonfly*)
9752 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9753 hardcode_libdir_flag_spec='-R$libdir'
9754 hardcode_direct=yes
9755 hardcode_shlibpath_var=no
9758 hpux9*)
9759 if test "$GCC" = yes; then
9760 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'
9761 else
9762 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'
9764 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9765 hardcode_libdir_separator=:
9766 hardcode_direct=yes
9768 # hardcode_minus_L: Not really in the search PATH,
9769 # but as the default location of the library.
9770 hardcode_minus_L=yes
9771 export_dynamic_flag_spec='${wl}-E'
9774 hpux10*)
9775 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9776 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9777 else
9778 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9780 if test "$with_gnu_ld" = no; then
9781 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9782 hardcode_libdir_flag_spec_ld='+b $libdir'
9783 hardcode_libdir_separator=:
9784 hardcode_direct=yes
9785 hardcode_direct_absolute=yes
9786 export_dynamic_flag_spec='${wl}-E'
9787 # hardcode_minus_L: Not really in the search PATH,
9788 # but as the default location of the library.
9789 hardcode_minus_L=yes
9793 hpux11*)
9794 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9795 case $host_cpu in
9796 hppa*64*)
9797 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9799 ia64*)
9800 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9805 esac
9806 else
9807 case $host_cpu in
9808 hppa*64*)
9809 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9811 ia64*)
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9816 # Older versions of the 11.00 compiler do not understand -b yet
9817 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9819 $as_echo_n "checking if $CC understands -b... " >&6; }
9820 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 lt_cv_prog_compiler__b=no
9824 save_LDFLAGS="$LDFLAGS"
9825 LDFLAGS="$LDFLAGS -b"
9826 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9827 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9828 # The linker can only warn and ignore the option if not recognized
9829 # So say no if there are warnings
9830 if test -s conftest.err; then
9831 # Append any errors to the config.log.
9832 cat conftest.err 1>&5
9833 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9834 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9835 if diff conftest.exp conftest.er2 >/dev/null; then
9836 lt_cv_prog_compiler__b=yes
9838 else
9839 lt_cv_prog_compiler__b=yes
9842 $RM -r conftest*
9843 LDFLAGS="$save_LDFLAGS"
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9847 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9849 if test x"$lt_cv_prog_compiler__b" = xyes; then
9850 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9851 else
9852 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9856 esac
9858 if test "$with_gnu_ld" = no; then
9859 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9860 hardcode_libdir_separator=:
9862 case $host_cpu in
9863 hppa*64*|ia64*)
9864 hardcode_direct=no
9865 hardcode_shlibpath_var=no
9868 hardcode_direct=yes
9869 hardcode_direct_absolute=yes
9870 export_dynamic_flag_spec='${wl}-E'
9872 # hardcode_minus_L: Not really in the search PATH,
9873 # but as the default location of the library.
9874 hardcode_minus_L=yes
9876 esac
9880 irix5* | irix6* | nonstopux*)
9881 if test "$GCC" = yes; then
9882 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'
9883 # Try to use the -exported_symbol ld option, if it does not
9884 # work, assume that -exports_file does not work either and
9885 # implicitly export all symbols.
9886 save_LDFLAGS="$LDFLAGS"
9887 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9888 if test x$gcc_no_link = xyes; then
9889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int foo(void) {}
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 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'
9899 rm -f core conftest.err conftest.$ac_objext \
9900 conftest$ac_exeext conftest.$ac_ext
9901 LDFLAGS="$save_LDFLAGS"
9902 else
9903 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'
9904 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'
9906 archive_cmds_need_lc='no'
9907 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9908 hardcode_libdir_separator=:
9909 inherit_rpath=yes
9910 link_all_deplibs=yes
9913 netbsd*)
9914 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9915 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9916 else
9917 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9919 hardcode_libdir_flag_spec='-R$libdir'
9920 hardcode_direct=yes
9921 hardcode_shlibpath_var=no
9924 newsos6)
9925 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926 hardcode_direct=yes
9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928 hardcode_libdir_separator=:
9929 hardcode_shlibpath_var=no
9932 *nto* | *qnx*)
9935 openbsd*)
9936 if test -f /usr/libexec/ld.so; then
9937 hardcode_direct=yes
9938 hardcode_shlibpath_var=no
9939 hardcode_direct_absolute=yes
9940 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9941 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9943 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9944 export_dynamic_flag_spec='${wl}-E'
9945 else
9946 case $host_os in
9947 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9948 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9949 hardcode_libdir_flag_spec='-R$libdir'
9952 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9953 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9955 esac
9957 else
9958 ld_shlibs=no
9962 os2*)
9963 hardcode_libdir_flag_spec='-L$libdir'
9964 hardcode_minus_L=yes
9965 allow_undefined_flag=unsupported
9966 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'
9967 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9970 osf3*)
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 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'
9974 else
9975 allow_undefined_flag=' -expect_unresolved \*'
9976 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'
9978 archive_cmds_need_lc='no'
9979 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9980 hardcode_libdir_separator=:
9983 osf4* | osf5*) # as osf3* with the addition of -msym flag
9984 if test "$GCC" = yes; then
9985 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9986 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'
9987 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9988 else
9989 allow_undefined_flag=' -expect_unresolved \*'
9990 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'
9991 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~
9992 $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'
9994 # Both c and cxx compiler support -rpath directly
9995 hardcode_libdir_flag_spec='-rpath $libdir'
9997 archive_cmds_need_lc='no'
9998 hardcode_libdir_separator=:
10001 solaris*)
10002 no_undefined_flag=' -z defs'
10003 if test "$GCC" = yes; then
10004 wlarc='${wl}'
10005 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 else
10009 case `$CC -V 2>&1` in
10010 *"Compilers 5.0"*)
10011 wlarc=''
10012 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10013 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10017 wlarc='${wl}'
10018 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10022 esac
10024 hardcode_libdir_flag_spec='-R$libdir'
10025 hardcode_shlibpath_var=no
10026 case $host_os in
10027 solaris2.[0-5] | solaris2.[0-5].*) ;;
10029 # The compiler driver will combine and reorder linker options,
10030 # but understands `-z linker_flag'. GCC discards it without `$wl',
10031 # but is careful enough not to reorder.
10032 # Supported since Solaris 2.6 (maybe 2.5.1?)
10033 if test "$GCC" = yes; then
10034 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10035 else
10036 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10039 esac
10040 link_all_deplibs=yes
10043 sunos4*)
10044 if test "x$host_vendor" = xsequent; then
10045 # Use $CC to link under sequent, because it throws in some extra .o
10046 # files that make .init and .fini sections work.
10047 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10048 else
10049 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10051 hardcode_libdir_flag_spec='-L$libdir'
10052 hardcode_direct=yes
10053 hardcode_minus_L=yes
10054 hardcode_shlibpath_var=no
10057 sysv4)
10058 case $host_vendor in
10059 sni)
10060 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10061 hardcode_direct=yes # is this really true???
10063 siemens)
10064 ## LD is ld it makes a PLAMLIB
10065 ## CC just makes a GrossModule.
10066 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10067 reload_cmds='$CC -r -o $output$reload_objs'
10068 hardcode_direct=no
10070 motorola)
10071 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10074 esac
10075 runpath_var='LD_RUN_PATH'
10076 hardcode_shlibpath_var=no
10079 sysv4.3*)
10080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 hardcode_shlibpath_var=no
10082 export_dynamic_flag_spec='-Bexport'
10085 sysv4*MP*)
10086 if test -d /usr/nec; then
10087 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 hardcode_shlibpath_var=no
10089 runpath_var=LD_RUN_PATH
10090 hardcode_runpath_var=yes
10091 ld_shlibs=yes
10095 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10096 no_undefined_flag='${wl}-z,text'
10097 archive_cmds_need_lc=no
10098 hardcode_shlibpath_var=no
10099 runpath_var='LD_RUN_PATH'
10101 if test "$GCC" = yes; then
10102 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 else
10105 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 sysv5* | sco3.2v5* | sco5v6*)
10111 # Note: We can NOT use -z defs as we might desire, because we do not
10112 # link with -lc, and that would cause any symbols used from libc to
10113 # always be unresolved, which means just about no library would
10114 # ever link correctly. If we're not using GNU ld we use -z text
10115 # though, which does catch some bad symbols but isn't as heavy-handed
10116 # as -z defs.
10117 no_undefined_flag='${wl}-z,text'
10118 allow_undefined_flag='${wl}-z,nodefs'
10119 archive_cmds_need_lc=no
10120 hardcode_shlibpath_var=no
10121 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10122 hardcode_libdir_separator=':'
10123 link_all_deplibs=yes
10124 export_dynamic_flag_spec='${wl}-Bexport'
10125 runpath_var='LD_RUN_PATH'
10127 if test "$GCC" = yes; then
10128 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 else
10131 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136 uts4*)
10137 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_libdir_flag_spec='-L$libdir'
10139 hardcode_shlibpath_var=no
10143 ld_shlibs=no
10145 esac
10147 if test x$host_vendor = xsni; then
10148 case $host in
10149 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10150 export_dynamic_flag_spec='${wl}-Blargedynsym'
10152 esac
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10157 $as_echo "$ld_shlibs" >&6; }
10158 test "$ld_shlibs" = no && can_build_shared=no
10160 with_gnu_ld=$with_gnu_ld
10177 # Do we need to explicitly link libc?
10179 case "x$archive_cmds_need_lc" in
10180 x|xyes)
10181 # Assume -lc should be added
10182 archive_cmds_need_lc=yes
10184 if test "$enable_shared" = yes && test "$GCC" = yes; then
10185 case $archive_cmds in
10186 *'~'*)
10187 # FIXME: we may have to deal with multi-command sequences.
10189 '$CC '*)
10190 # Test whether the compiler implicitly links with -lc since on some
10191 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10192 # to ld, don't add -lc before -lgcc.
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10194 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10195 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10196 $as_echo_n "(cached) " >&6
10197 else
10198 $RM conftest*
10199 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10202 (eval $ac_compile) 2>&5
10203 ac_status=$?
10204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10205 test $ac_status = 0; } 2>conftest.err; then
10206 soname=conftest
10207 lib=conftest
10208 libobjs=conftest.$ac_objext
10209 deplibs=
10210 wl=$lt_prog_compiler_wl
10211 pic_flag=$lt_prog_compiler_pic
10212 compiler_flags=-v
10213 linker_flags=-v
10214 verstring=
10215 output_objdir=.
10216 libname=conftest
10217 lt_save_allow_undefined_flag=$allow_undefined_flag
10218 allow_undefined_flag=
10219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10220 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10221 ac_status=$?
10222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10223 test $ac_status = 0; }
10224 then
10225 lt_cv_archive_cmds_need_lc=no
10226 else
10227 lt_cv_archive_cmds_need_lc=yes
10229 allow_undefined_flag=$lt_save_allow_undefined_flag
10230 else
10231 cat conftest.err 1>&5
10233 $RM conftest*
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10237 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10238 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10240 esac
10243 esac
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10402 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10404 if test "$GCC" = yes; then
10405 case $host_os in
10406 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10407 *) lt_awk_arg="/^libraries:/" ;;
10408 esac
10409 case $host_os in
10410 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10411 *) lt_sed_strip_eq="s,=/,/,g" ;;
10412 esac
10413 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10414 case $lt_search_path_spec in
10415 *\;*)
10416 # if the path contains ";" then we assume it to be the separator
10417 # otherwise default to the standard path separator (i.e. ":") - it is
10418 # assumed that no part of a normal pathname contains ";" but that should
10419 # okay in the real world where ";" in dirpaths is itself problematic.
10420 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10423 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10425 esac
10426 # Ok, now we have the path, separated by spaces, we can step through it
10427 # and add multilib dir if necessary.
10428 lt_tmp_lt_search_path_spec=
10429 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10430 for lt_sys_path in $lt_search_path_spec; do
10431 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10432 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10433 else
10434 test -d "$lt_sys_path" && \
10435 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10437 done
10438 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10439 BEGIN {RS=" "; FS="/|\n";} {
10440 lt_foo="";
10441 lt_count=0;
10442 for (lt_i = NF; lt_i > 0; lt_i--) {
10443 if ($lt_i != "" && $lt_i != ".") {
10444 if ($lt_i == "..") {
10445 lt_count++;
10446 } else {
10447 if (lt_count == 0) {
10448 lt_foo="/" $lt_i lt_foo;
10449 } else {
10450 lt_count--;
10455 if (lt_foo != "") { lt_freq[lt_foo]++; }
10456 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10458 # AWK program above erroneously prepends '/' to C:/dos/paths
10459 # for these hosts.
10460 case $host_os in
10461 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10462 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10463 esac
10464 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10465 else
10466 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10468 library_names_spec=
10469 libname_spec='lib$name'
10470 soname_spec=
10471 shrext_cmds=".so"
10472 postinstall_cmds=
10473 postuninstall_cmds=
10474 finish_cmds=
10475 finish_eval=
10476 shlibpath_var=
10477 shlibpath_overrides_runpath=unknown
10478 version_type=none
10479 dynamic_linker="$host_os ld.so"
10480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10481 need_lib_prefix=unknown
10482 hardcode_into_libs=no
10484 # when you set need_version to no, make sure it does not cause -set_version
10485 # flags to be left without arguments
10486 need_version=unknown
10488 case $host_os in
10489 aix3*)
10490 version_type=linux
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10492 shlibpath_var=LIBPATH
10494 # AIX 3 has no versioning support, so we append a major version to the name.
10495 soname_spec='${libname}${release}${shared_ext}$major'
10498 aix[4-9]*)
10499 version_type=linux
10500 need_lib_prefix=no
10501 need_version=no
10502 hardcode_into_libs=yes
10503 if test "$host_cpu" = ia64; then
10504 # AIX 5 supports IA64
10505 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10506 shlibpath_var=LD_LIBRARY_PATH
10507 else
10508 # With GCC up to 2.95.x, collect2 would create an import file
10509 # for dependence libraries. The import file would start with
10510 # the line `#! .'. This would cause the generated library to
10511 # depend on `.', always an invalid library. This was fixed in
10512 # development snapshots of GCC prior to 3.0.
10513 case $host_os in
10514 aix4 | aix4.[01] | aix4.[01].*)
10515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10516 echo ' yes '
10517 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10519 else
10520 can_build_shared=no
10523 esac
10524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10525 # soname into executable. Probably we can add versioning support to
10526 # collect2, so additional links can be useful in future.
10527 if test "$aix_use_runtimelinking" = yes; then
10528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10529 # instead of lib<name>.a to let people know that these are not
10530 # typical AIX shared libraries.
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532 else
10533 # We preserve .a as extension for shared libraries through AIX4.2
10534 # and later when we are not doing run time linking.
10535 library_names_spec='${libname}${release}.a $libname.a'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10538 shlibpath_var=LIBPATH
10542 amigaos*)
10543 case $host_cpu in
10544 powerpc)
10545 # Since July 2007 AmigaOS4 officially supports .so libraries.
10546 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10549 m68k)
10550 library_names_spec='$libname.ixlibrary $libname.a'
10551 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10552 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'
10554 esac
10557 beos*)
10558 library_names_spec='${libname}${shared_ext}'
10559 dynamic_linker="$host_os ld.so"
10560 shlibpath_var=LIBRARY_PATH
10563 bsdi[45]*)
10564 version_type=linux
10565 need_version=no
10566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 soname_spec='${libname}${release}${shared_ext}$major'
10568 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10569 shlibpath_var=LD_LIBRARY_PATH
10570 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10571 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10572 # the default ld.so.conf also contains /usr/contrib/lib and
10573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10574 # libtool to hard-code these into programs
10577 cygwin* | mingw* | pw32* | cegcc*)
10578 version_type=windows
10579 shrext_cmds=".dll"
10580 need_version=no
10581 need_lib_prefix=no
10583 case $GCC,$host_os in
10584 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10585 library_names_spec='$libname.dll.a'
10586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10587 postinstall_cmds='base_file=`basename \${file}`~
10588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10589 dldir=$destdir/`dirname \$dlpath`~
10590 test -d \$dldir || mkdir -p \$dldir~
10591 $install_prog $dir/$dlname \$dldir/$dlname~
10592 chmod a+x \$dldir/$dlname~
10593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10596 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10597 dlpath=$dir/\$dldll~
10598 $RM \$dlpath'
10599 shlibpath_overrides_runpath=yes
10601 case $host_os in
10602 cygwin*)
10603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10604 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10606 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10608 mingw* | cegcc*)
10609 # MinGW DLLs use traditional 'lib' prefix
10610 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10612 pw32*)
10613 # pw32 DLLs use 'pw' prefix rather than 'lib'
10614 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10616 esac
10620 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10622 esac
10623 dynamic_linker='Win32 ld.exe'
10624 # FIXME: first we should search . and the directory the executable is in
10625 shlibpath_var=PATH
10628 darwin* | rhapsody*)
10629 dynamic_linker="$host_os dyld"
10630 version_type=darwin
10631 need_lib_prefix=no
10632 need_version=no
10633 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10634 soname_spec='${libname}${release}${major}$shared_ext'
10635 shlibpath_overrides_runpath=yes
10636 shlibpath_var=DYLD_LIBRARY_PATH
10637 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10639 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10640 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10643 dgux*)
10644 version_type=linux
10645 need_lib_prefix=no
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 shlibpath_var=LD_LIBRARY_PATH
10652 freebsd* | dragonfly*)
10653 # DragonFly does not have aout. When/if they implement a new
10654 # versioning mechanism, adjust this.
10655 if test -x /usr/bin/objformat; then
10656 objformat=`/usr/bin/objformat`
10657 else
10658 case $host_os in
10659 freebsd[23].*) objformat=aout ;;
10660 *) objformat=elf ;;
10661 esac
10663 version_type=freebsd-$objformat
10664 case $version_type in
10665 freebsd-elf*)
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10667 need_version=no
10668 need_lib_prefix=no
10670 freebsd-*)
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10672 need_version=yes
10674 esac
10675 shlibpath_var=LD_LIBRARY_PATH
10676 case $host_os in
10677 freebsd2.*)
10678 shlibpath_overrides_runpath=yes
10680 freebsd3.[01]* | freebsdelf3.[01]*)
10681 shlibpath_overrides_runpath=yes
10682 hardcode_into_libs=yes
10684 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10685 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10686 shlibpath_overrides_runpath=no
10687 hardcode_into_libs=yes
10689 *) # from 4.6 on, and DragonFly
10690 shlibpath_overrides_runpath=yes
10691 hardcode_into_libs=yes
10693 esac
10696 gnu*)
10697 version_type=linux
10698 need_lib_prefix=no
10699 need_version=no
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10701 soname_spec='${libname}${release}${shared_ext}$major'
10702 shlibpath_var=LD_LIBRARY_PATH
10703 hardcode_into_libs=yes
10706 haiku*)
10707 version_type=linux
10708 need_lib_prefix=no
10709 need_version=no
10710 dynamic_linker="$host_os runtime_loader"
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 shlibpath_var=LIBRARY_PATH
10714 shlibpath_overrides_runpath=yes
10715 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10716 hardcode_into_libs=yes
10719 hpux9* | hpux10* | hpux11*)
10720 # Give a soname corresponding to the major version so that dld.sl refuses to
10721 # link against other versions.
10722 version_type=sunos
10723 need_lib_prefix=no
10724 need_version=no
10725 case $host_cpu in
10726 ia64*)
10727 shrext_cmds='.so'
10728 hardcode_into_libs=yes
10729 dynamic_linker="$host_os dld.so"
10730 shlibpath_var=LD_LIBRARY_PATH
10731 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733 soname_spec='${libname}${release}${shared_ext}$major'
10734 if test "X$HPUX_IA64_MODE" = X32; then
10735 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10736 else
10737 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10739 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10741 hppa*64*)
10742 shrext_cmds='.sl'
10743 hardcode_into_libs=yes
10744 dynamic_linker="$host_os dld.sl"
10745 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10746 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 soname_spec='${libname}${release}${shared_ext}$major'
10749 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10753 shrext_cmds='.sl'
10754 dynamic_linker="$host_os dld.sl"
10755 shlibpath_var=SHLIB_PATH
10756 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10758 soname_spec='${libname}${release}${shared_ext}$major'
10760 esac
10761 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10762 postinstall_cmds='chmod 555 $lib'
10763 # or fails outright, so override atomically:
10764 install_override_mode=555
10767 interix[3-9]*)
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 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=no
10776 hardcode_into_libs=yes
10779 irix5* | irix6* | nonstopux*)
10780 case $host_os in
10781 nonstopux*) version_type=nonstopux ;;
10783 if test "$lt_cv_prog_gnu_ld" = yes; then
10784 version_type=linux
10785 else
10786 version_type=irix
10787 fi ;;
10788 esac
10789 need_lib_prefix=no
10790 need_version=no
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10793 case $host_os in
10794 irix5* | nonstopux*)
10795 libsuff= shlibsuff=
10798 case $LD in # libtool.m4 will add one of these switches to LD
10799 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10800 libsuff= shlibsuff= libmagic=32-bit;;
10801 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10802 libsuff=32 shlibsuff=N32 libmagic=N32;;
10803 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10804 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10805 *) libsuff= shlibsuff= libmagic=never-match;;
10806 esac
10808 esac
10809 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10810 shlibpath_overrides_runpath=no
10811 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10812 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10813 hardcode_into_libs=yes
10816 # No shared lib support for Linux oldld, aout, or coff.
10817 linux*oldld* | linux*aout* | linux*coff*)
10818 dynamic_linker=no
10821 # This must be Linux ELF.
10822 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10823 version_type=linux
10824 need_lib_prefix=no
10825 need_version=no
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=no
10832 # Some binutils ld are patched to set DT_RUNPATH
10833 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10834 $as_echo_n "(cached) " >&6
10835 else
10836 lt_cv_shlibpath_overrides_runpath=no
10837 save_LDFLAGS=$LDFLAGS
10838 save_libdir=$libdir
10839 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10840 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10841 if test x$gcc_no_link = xyes; then
10842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10848 main ()
10852 return 0;
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10857 lt_cv_shlibpath_overrides_runpath=yes
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LDFLAGS=$save_LDFLAGS
10863 libdir=$save_libdir
10867 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10869 # This implies no fast_install, which is unacceptable.
10870 # Some rework will be needed to allow for fast_install
10871 # before this can be enabled.
10872 hardcode_into_libs=yes
10874 # Append ld.so.conf contents to the search path
10875 if test -f /etc/ld.so.conf; then
10876 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' ' '`
10877 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10880 # We used to test for /lib/ld.so.1 and disable shared libraries on
10881 # powerpc, because MkLinux only supported shared libraries with the
10882 # GNU dynamic linker. Since this was broken with cross compilers,
10883 # most powerpc-linux boxes support dynamic linking these days and
10884 # people can always --disable-shared, the test was removed, and we
10885 # assume the GNU/Linux dynamic linker is in use.
10886 dynamic_linker='GNU/Linux ld.so'
10889 netbsd*)
10890 version_type=sunos
10891 need_lib_prefix=no
10892 need_version=no
10893 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896 dynamic_linker='NetBSD (a.out) ld.so'
10897 else
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10899 soname_spec='${libname}${release}${shared_ext}$major'
10900 dynamic_linker='NetBSD ld.elf_so'
10902 shlibpath_var=LD_LIBRARY_PATH
10903 shlibpath_overrides_runpath=yes
10904 hardcode_into_libs=yes
10907 newsos6)
10908 version_type=linux
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=yes
10914 *nto* | *qnx*)
10915 version_type=qnx
10916 need_lib_prefix=no
10917 need_version=no
10918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919 soname_spec='${libname}${release}${shared_ext}$major'
10920 shlibpath_var=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath=no
10922 hardcode_into_libs=yes
10923 dynamic_linker='ldqnx.so'
10926 openbsd*)
10927 version_type=sunos
10928 sys_lib_dlsearch_path_spec="/usr/lib"
10929 need_lib_prefix=no
10930 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10931 case $host_os in
10932 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10933 *) need_version=no ;;
10934 esac
10935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10937 shlibpath_var=LD_LIBRARY_PATH
10938 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10939 case $host_os in
10940 openbsd2.[89] | openbsd2.[89].*)
10941 shlibpath_overrides_runpath=no
10944 shlibpath_overrides_runpath=yes
10946 esac
10947 else
10948 shlibpath_overrides_runpath=yes
10952 os2*)
10953 libname_spec='$name'
10954 shrext_cmds=".dll"
10955 need_lib_prefix=no
10956 library_names_spec='$libname${shared_ext} $libname.a'
10957 dynamic_linker='OS/2 ld.exe'
10958 shlibpath_var=LIBPATH
10961 osf3* | osf4* | osf5*)
10962 version_type=osf
10963 need_lib_prefix=no
10964 need_version=no
10965 soname_spec='${libname}${release}${shared_ext}$major'
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10969 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10972 rdos*)
10973 dynamic_linker=no
10976 solaris*)
10977 version_type=linux
10978 need_lib_prefix=no
10979 need_version=no
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 shlibpath_var=LD_LIBRARY_PATH
10983 shlibpath_overrides_runpath=yes
10984 hardcode_into_libs=yes
10985 # ldd complains unless libraries are executable
10986 postinstall_cmds='chmod +x $lib'
10989 sunos4*)
10990 version_type=sunos
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10992 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=yes
10995 if test "$with_gnu_ld" = yes; then
10996 need_lib_prefix=no
10998 need_version=yes
11001 sysv4 | sysv4.3*)
11002 version_type=linux
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004 soname_spec='${libname}${release}${shared_ext}$major'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 case $host_vendor in
11007 sni)
11008 shlibpath_overrides_runpath=no
11009 need_lib_prefix=no
11010 runpath_var=LD_RUN_PATH
11012 siemens)
11013 need_lib_prefix=no
11015 motorola)
11016 need_lib_prefix=no
11017 need_version=no
11018 shlibpath_overrides_runpath=no
11019 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11021 esac
11024 sysv4*MP*)
11025 if test -d /usr/nec ;then
11026 version_type=linux
11027 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11028 soname_spec='$libname${shared_ext}.$major'
11029 shlibpath_var=LD_LIBRARY_PATH
11033 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11034 version_type=freebsd-elf
11035 need_lib_prefix=no
11036 need_version=no
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11038 soname_spec='${libname}${release}${shared_ext}$major'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath=yes
11041 hardcode_into_libs=yes
11042 if test "$with_gnu_ld" = yes; then
11043 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11044 else
11045 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11046 case $host_os in
11047 sco3.2v5*)
11048 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11050 esac
11052 sys_lib_dlsearch_path_spec='/usr/lib'
11055 tpf*)
11056 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11057 version_type=linux
11058 need_lib_prefix=no
11059 need_version=no
11060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=no
11063 hardcode_into_libs=yes
11066 uts4*)
11067 version_type=linux
11068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069 soname_spec='${libname}${release}${shared_ext}$major'
11070 shlibpath_var=LD_LIBRARY_PATH
11074 dynamic_linker=no
11076 esac
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11078 $as_echo "$dynamic_linker" >&6; }
11079 test "$dynamic_linker" = no && can_build_shared=no
11081 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11082 if test "$GCC" = yes; then
11083 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11086 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11087 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11089 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11090 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11185 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11186 hardcode_action=
11187 if test -n "$hardcode_libdir_flag_spec" ||
11188 test -n "$runpath_var" ||
11189 test "X$hardcode_automatic" = "Xyes" ; then
11191 # We can hardcode non-existent directories.
11192 if test "$hardcode_direct" != no &&
11193 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11194 # have to relink, otherwise we might link with an installed library
11195 # when we should be linking with a yet-to-be-installed one
11196 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11197 test "$hardcode_minus_L" != no; then
11198 # Linking always hardcodes the temporary library directory.
11199 hardcode_action=relink
11200 else
11201 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11202 hardcode_action=immediate
11204 else
11205 # We cannot hardcode anything, or else we can only hardcode existing
11206 # directories.
11207 hardcode_action=unsupported
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11210 $as_echo "$hardcode_action" >&6; }
11212 if test "$hardcode_action" = relink ||
11213 test "$inherit_rpath" = yes; then
11214 # Fast installation is not supported
11215 enable_fast_install=no
11216 elif test "$shlibpath_overrides_runpath" = yes ||
11217 test "$enable_shared" = no; then
11218 # Fast installation is not necessary
11219 enable_fast_install=needless
11227 if test "x$enable_dlopen" != xyes; then
11228 enable_dlopen=unknown
11229 enable_dlopen_self=unknown
11230 enable_dlopen_self_static=unknown
11231 else
11232 lt_cv_dlopen=no
11233 lt_cv_dlopen_libs=
11235 case $host_os in
11236 beos*)
11237 lt_cv_dlopen="load_add_on"
11238 lt_cv_dlopen_libs=
11239 lt_cv_dlopen_self=yes
11242 mingw* | pw32* | cegcc*)
11243 lt_cv_dlopen="LoadLibrary"
11244 lt_cv_dlopen_libs=
11247 cygwin*)
11248 lt_cv_dlopen="dlopen"
11249 lt_cv_dlopen_libs=
11252 darwin*)
11253 # if libdl is installed we need to link against it
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11257 $as_echo_n "(cached) " >&6
11258 else
11259 ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldl $LIBS"
11261 if test x$gcc_no_link = xyes; then
11262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char dlopen ();
11275 main ()
11277 return dlopen ();
11279 return 0;
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_dl_dlopen=yes
11284 else
11285 ac_cv_lib_dl_dlopen=no
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11292 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11293 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11294 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11295 else
11297 lt_cv_dlopen="dyld"
11298 lt_cv_dlopen_libs=
11299 lt_cv_dlopen_self=yes
11306 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11307 if test "x$ac_cv_func_shl_load" = x""yes; then :
11308 lt_cv_dlopen="shl_load"
11309 else
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11311 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11312 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11313 $as_echo_n "(cached) " >&6
11314 else
11315 ac_check_lib_save_LIBS=$LIBS
11316 LIBS="-ldld $LIBS"
11317 if test x$gcc_no_link = xyes; then
11318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char shl_load ();
11331 main ()
11333 return shl_load ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 ac_cv_lib_dld_shl_load=yes
11340 else
11341 ac_cv_lib_dld_shl_load=no
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11348 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11349 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11350 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11351 else
11352 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11353 if test "x$ac_cv_func_dlopen" = x""yes; then :
11354 lt_cv_dlopen="dlopen"
11355 else
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11357 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11359 $as_echo_n "(cached) " >&6
11360 else
11361 ac_check_lib_save_LIBS=$LIBS
11362 LIBS="-ldl $LIBS"
11363 if test x$gcc_no_link = xyes; then
11364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char dlopen ();
11377 main ()
11379 return dlopen ();
11381 return 0;
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_dl_dlopen=yes
11386 else
11387 ac_cv_lib_dl_dlopen=no
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11395 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11396 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11397 else
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11399 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11400 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11401 $as_echo_n "(cached) " >&6
11402 else
11403 ac_check_lib_save_LIBS=$LIBS
11404 LIBS="-lsvld $LIBS"
11405 if test x$gcc_no_link = xyes; then
11406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char dlopen ();
11419 main ()
11421 return dlopen ();
11423 return 0;
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 ac_cv_lib_svld_dlopen=yes
11428 else
11429 ac_cv_lib_svld_dlopen=no
11431 rm -f core conftest.err conftest.$ac_objext \
11432 conftest$ac_exeext conftest.$ac_ext
11433 LIBS=$ac_check_lib_save_LIBS
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11436 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11437 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11438 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11439 else
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11441 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11442 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-ldld $LIBS"
11447 if test x$gcc_no_link = xyes; then
11448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char dld_link ();
11461 main ()
11463 return dld_link ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 ac_cv_lib_dld_dld_link=yes
11470 else
11471 ac_cv_lib_dld_dld_link=no
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_lib_save_LIBS
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11478 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11479 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11480 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11499 esac
11501 if test "x$lt_cv_dlopen" != xno; then
11502 enable_dlopen=yes
11503 else
11504 enable_dlopen=no
11507 case $lt_cv_dlopen in
11508 dlopen)
11509 save_CPPFLAGS="$CPPFLAGS"
11510 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11512 save_LDFLAGS="$LDFLAGS"
11513 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11515 save_LIBS="$LIBS"
11516 LIBS="$lt_cv_dlopen_libs $LIBS"
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11519 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11520 if test "${lt_cv_dlopen_self+set}" = set; then :
11521 $as_echo_n "(cached) " >&6
11522 else
11523 if test "$cross_compiling" = yes; then :
11524 lt_cv_dlopen_self=cross
11525 else
11526 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11527 lt_status=$lt_dlunknown
11528 cat > conftest.$ac_ext <<_LT_EOF
11529 #line 11529 "configure"
11530 #include "confdefs.h"
11532 #if HAVE_DLFCN_H
11533 #include <dlfcn.h>
11534 #endif
11536 #include <stdio.h>
11538 #ifdef RTLD_GLOBAL
11539 # define LT_DLGLOBAL RTLD_GLOBAL
11540 #else
11541 # ifdef DL_GLOBAL
11542 # define LT_DLGLOBAL DL_GLOBAL
11543 # else
11544 # define LT_DLGLOBAL 0
11545 # endif
11546 #endif
11548 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11549 find out it does not work in some platform. */
11550 #ifndef LT_DLLAZY_OR_NOW
11551 # ifdef RTLD_LAZY
11552 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11553 # else
11554 # ifdef DL_LAZY
11555 # define LT_DLLAZY_OR_NOW DL_LAZY
11556 # else
11557 # ifdef RTLD_NOW
11558 # define LT_DLLAZY_OR_NOW RTLD_NOW
11559 # else
11560 # ifdef DL_NOW
11561 # define LT_DLLAZY_OR_NOW DL_NOW
11562 # else
11563 # define LT_DLLAZY_OR_NOW 0
11564 # endif
11565 # endif
11566 # endif
11567 # endif
11568 #endif
11570 /* When -fvisbility=hidden is used, assume the code has been annotated
11571 correspondingly for the symbols needed. */
11572 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11573 void fnord () __attribute__((visibility("default")));
11574 #endif
11576 void fnord () { int i=42; }
11577 int main ()
11579 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11580 int status = $lt_dlunknown;
11582 if (self)
11584 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11585 else
11587 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11588 else puts (dlerror ());
11590 /* dlclose (self); */
11592 else
11593 puts (dlerror ());
11595 return status;
11597 _LT_EOF
11598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11599 (eval $ac_link) 2>&5
11600 ac_status=$?
11601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11602 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11603 (./conftest; exit; ) >&5 2>/dev/null
11604 lt_status=$?
11605 case x$lt_status in
11606 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11607 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11608 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11609 esac
11610 else :
11611 # compilation failed
11612 lt_cv_dlopen_self=no
11615 rm -fr conftest*
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11620 $as_echo "$lt_cv_dlopen_self" >&6; }
11622 if test "x$lt_cv_dlopen_self" = xyes; then
11623 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11625 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11626 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11627 $as_echo_n "(cached) " >&6
11628 else
11629 if test "$cross_compiling" = yes; then :
11630 lt_cv_dlopen_self_static=cross
11631 else
11632 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11633 lt_status=$lt_dlunknown
11634 cat > conftest.$ac_ext <<_LT_EOF
11635 #line 11635 "configure"
11636 #include "confdefs.h"
11638 #if HAVE_DLFCN_H
11639 #include <dlfcn.h>
11640 #endif
11642 #include <stdio.h>
11644 #ifdef RTLD_GLOBAL
11645 # define LT_DLGLOBAL RTLD_GLOBAL
11646 #else
11647 # ifdef DL_GLOBAL
11648 # define LT_DLGLOBAL DL_GLOBAL
11649 # else
11650 # define LT_DLGLOBAL 0
11651 # endif
11652 #endif
11654 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11655 find out it does not work in some platform. */
11656 #ifndef LT_DLLAZY_OR_NOW
11657 # ifdef RTLD_LAZY
11658 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11659 # else
11660 # ifdef DL_LAZY
11661 # define LT_DLLAZY_OR_NOW DL_LAZY
11662 # else
11663 # ifdef RTLD_NOW
11664 # define LT_DLLAZY_OR_NOW RTLD_NOW
11665 # else
11666 # ifdef DL_NOW
11667 # define LT_DLLAZY_OR_NOW DL_NOW
11668 # else
11669 # define LT_DLLAZY_OR_NOW 0
11670 # endif
11671 # endif
11672 # endif
11673 # endif
11674 #endif
11676 /* When -fvisbility=hidden is used, assume the code has been annotated
11677 correspondingly for the symbols needed. */
11678 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11679 void fnord () __attribute__((visibility("default")));
11680 #endif
11682 void fnord () { int i=42; }
11683 int main ()
11685 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11686 int status = $lt_dlunknown;
11688 if (self)
11690 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11691 else
11693 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11694 else puts (dlerror ());
11696 /* dlclose (self); */
11698 else
11699 puts (dlerror ());
11701 return status;
11703 _LT_EOF
11704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11705 (eval $ac_link) 2>&5
11706 ac_status=$?
11707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11708 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11709 (./conftest; exit; ) >&5 2>/dev/null
11710 lt_status=$?
11711 case x$lt_status in
11712 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11713 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11714 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11715 esac
11716 else :
11717 # compilation failed
11718 lt_cv_dlopen_self_static=no
11721 rm -fr conftest*
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11726 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11729 CPPFLAGS="$save_CPPFLAGS"
11730 LDFLAGS="$save_LDFLAGS"
11731 LIBS="$save_LIBS"
11733 esac
11735 case $lt_cv_dlopen_self in
11736 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11737 *) enable_dlopen_self=unknown ;;
11738 esac
11740 case $lt_cv_dlopen_self_static in
11741 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11742 *) enable_dlopen_self_static=unknown ;;
11743 esac
11762 striplib=
11763 old_striplib=
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11765 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11766 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11767 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11768 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11770 $as_echo "yes" >&6; }
11771 else
11772 # FIXME - insert some real tests, host_os isn't really good enough
11773 case $host_os in
11774 darwin*)
11775 if test -n "$STRIP" ; then
11776 striplib="$STRIP -x"
11777 old_striplib="$STRIP -S"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11779 $as_echo "yes" >&6; }
11780 else
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11782 $as_echo "no" >&6; }
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11789 esac
11803 # Report which library types will actually be built
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11805 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11807 $as_echo "$can_build_shared" >&6; }
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11810 $as_echo_n "checking whether to build shared libraries... " >&6; }
11811 test "$can_build_shared" = "no" && enable_shared=no
11813 # On AIX, shared libraries and static libraries use the same namespace, and
11814 # are all built from PIC.
11815 case $host_os in
11816 aix3*)
11817 test "$enable_shared" = yes && enable_static=no
11818 if test -n "$RANLIB"; then
11819 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11820 postinstall_cmds='$RANLIB $lib'
11824 aix[4-9]*)
11825 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11826 test "$enable_shared" = yes && enable_static=no
11829 esac
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11831 $as_echo "$enable_shared" >&6; }
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11834 $as_echo_n "checking whether to build static libraries... " >&6; }
11835 # Make sure either enable_shared or enable_static is yes.
11836 test "$enable_shared" = yes || enable_static=yes
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11838 $as_echo "$enable_static" >&6; }
11844 ac_ext=c
11845 ac_cpp='$CPP $CPPFLAGS'
11846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11850 CC="$lt_save_CC"
11852 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11853 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11854 (test "X$CXX" != "Xg++"))) ; then
11855 ac_ext=cpp
11856 ac_cpp='$CXXCPP $CPPFLAGS'
11857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11861 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11862 if test -z "$CXXCPP"; then
11863 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11864 $as_echo_n "(cached) " >&6
11865 else
11866 # Double quotes because CXXCPP needs to be expanded
11867 for CXXCPP in "$CXX -E" "/lib/cpp"
11869 ac_preproc_ok=false
11870 for ac_cxx_preproc_warn_flag in '' yes
11872 # Use a header file that comes with gcc, so configuring glibc
11873 # with a fresh cross-compiler works.
11874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11875 # <limits.h> exists even on freestanding compilers.
11876 # On the NeXT, cc -E runs the code through the compiler's parser,
11877 # not just through cpp. "Syntax error" is here to catch this case.
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11880 #ifdef __STDC__
11881 # include <limits.h>
11882 #else
11883 # include <assert.h>
11884 #endif
11885 Syntax error
11886 _ACEOF
11887 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 else
11890 # Broken: fails on valid input.
11891 continue
11893 rm -f conftest.err conftest.$ac_ext
11895 # OK, works on sane cases. Now check whether nonexistent headers
11896 # can be detected and how.
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11899 #include <ac_nonexistent.h>
11900 _ACEOF
11901 if ac_fn_cxx_try_cpp "$LINENO"; then :
11902 # Broken: success on invalid input.
11903 continue
11904 else
11905 # Passes both tests.
11906 ac_preproc_ok=:
11907 break
11909 rm -f conftest.err conftest.$ac_ext
11911 done
11912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11913 rm -f conftest.err conftest.$ac_ext
11914 if $ac_preproc_ok; then :
11915 break
11918 done
11919 ac_cv_prog_CXXCPP=$CXXCPP
11922 CXXCPP=$ac_cv_prog_CXXCPP
11923 else
11924 ac_cv_prog_CXXCPP=$CXXCPP
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11927 $as_echo "$CXXCPP" >&6; }
11928 ac_preproc_ok=false
11929 for ac_cxx_preproc_warn_flag in '' yes
11931 # Use a header file that comes with gcc, so configuring glibc
11932 # with a fresh cross-compiler works.
11933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11934 # <limits.h> exists even on freestanding compilers.
11935 # On the NeXT, cc -E runs the code through the compiler's parser,
11936 # not just through cpp. "Syntax error" is here to catch this case.
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #ifdef __STDC__
11940 # include <limits.h>
11941 #else
11942 # include <assert.h>
11943 #endif
11944 Syntax error
11945 _ACEOF
11946 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 else
11949 # Broken: fails on valid input.
11950 continue
11952 rm -f conftest.err conftest.$ac_ext
11954 # OK, works on sane cases. Now check whether nonexistent headers
11955 # can be detected and how.
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11958 #include <ac_nonexistent.h>
11959 _ACEOF
11960 if ac_fn_cxx_try_cpp "$LINENO"; then :
11961 # Broken: success on invalid input.
11962 continue
11963 else
11964 # Passes both tests.
11965 ac_preproc_ok=:
11966 break
11968 rm -f conftest.err conftest.$ac_ext
11970 done
11971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11972 rm -f conftest.err conftest.$ac_ext
11973 if $ac_preproc_ok; then :
11975 else
11976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11978 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11979 See \`config.log' for more details." "$LINENO" 5; }
11982 ac_ext=c
11983 ac_cpp='$CPP $CPPFLAGS'
11984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11988 else
11989 _lt_caught_CXX_error=yes
11992 ac_ext=cpp
11993 ac_cpp='$CXXCPP $CPPFLAGS'
11994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11998 archive_cmds_need_lc_CXX=no
11999 allow_undefined_flag_CXX=
12000 always_export_symbols_CXX=no
12001 archive_expsym_cmds_CXX=
12002 compiler_needs_object_CXX=no
12003 export_dynamic_flag_spec_CXX=
12004 hardcode_direct_CXX=no
12005 hardcode_direct_absolute_CXX=no
12006 hardcode_libdir_flag_spec_CXX=
12007 hardcode_libdir_flag_spec_ld_CXX=
12008 hardcode_libdir_separator_CXX=
12009 hardcode_minus_L_CXX=no
12010 hardcode_shlibpath_var_CXX=unsupported
12011 hardcode_automatic_CXX=no
12012 inherit_rpath_CXX=no
12013 module_cmds_CXX=
12014 module_expsym_cmds_CXX=
12015 link_all_deplibs_CXX=unknown
12016 old_archive_cmds_CXX=$old_archive_cmds
12017 reload_flag_CXX=$reload_flag
12018 reload_cmds_CXX=$reload_cmds
12019 no_undefined_flag_CXX=
12020 whole_archive_flag_spec_CXX=
12021 enable_shared_with_static_runtimes_CXX=no
12023 # Source file extension for C++ test sources.
12024 ac_ext=cpp
12026 # Object file extension for compiled C++ test sources.
12027 objext=o
12028 objext_CXX=$objext
12030 # No sense in running all these tests if we already determined that
12031 # the CXX compiler isn't working. Some variables (like enable_shared)
12032 # are currently assumed to apply to all compilers on this platform,
12033 # and will be corrupted by setting them based on a non-working compiler.
12034 if test "$_lt_caught_CXX_error" != yes; then
12035 # Code to be used in simple compile tests
12036 lt_simple_compile_test_code="int some_variable = 0;"
12038 # Code to be used in simple link tests
12039 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12041 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12048 # If no C compiler was specified, use CC.
12049 LTCC=${LTCC-"$CC"}
12051 # If no C compiler flags were specified, use CFLAGS.
12052 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12054 # Allow CC to be a program name with arguments.
12055 compiler=$CC
12058 # save warnings/boilerplate of simple test code
12059 ac_outfile=conftest.$ac_objext
12060 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12061 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12062 _lt_compiler_boilerplate=`cat conftest.err`
12063 $RM conftest*
12065 ac_outfile=conftest.$ac_objext
12066 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12067 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12068 _lt_linker_boilerplate=`cat conftest.err`
12069 $RM -r conftest*
12072 # Allow CC to be a program name with arguments.
12073 lt_save_CC=$CC
12074 lt_save_LD=$LD
12075 lt_save_GCC=$GCC
12076 GCC=$GXX
12077 lt_save_with_gnu_ld=$with_gnu_ld
12078 lt_save_path_LD=$lt_cv_path_LD
12079 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12080 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12081 else
12082 $as_unset lt_cv_prog_gnu_ld
12084 if test -n "${lt_cv_path_LDCXX+set}"; then
12085 lt_cv_path_LD=$lt_cv_path_LDCXX
12086 else
12087 $as_unset lt_cv_path_LD
12089 test -z "${LDCXX+set}" || LD=$LDCXX
12090 CC=${CXX-"c++"}
12091 compiler=$CC
12092 compiler_CXX=$CC
12093 for cc_temp in $compiler""; do
12094 case $cc_temp in
12095 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12096 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12097 \-*) ;;
12098 *) break;;
12099 esac
12100 done
12101 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12104 if test -n "$compiler"; then
12105 # We don't want -fno-exception when compiling C++ code, so set the
12106 # no_builtin_flag separately
12107 if test "$GXX" = yes; then
12108 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12109 else
12110 lt_prog_compiler_no_builtin_flag_CXX=
12113 if test "$GXX" = yes; then
12114 # Set up default GNU C++ configuration
12118 # Check whether --with-gnu-ld was given.
12119 if test "${with_gnu_ld+set}" = set; then :
12120 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12121 else
12122 with_gnu_ld=no
12125 ac_prog=ld
12126 if test "$GCC" = yes; then
12127 # Check if gcc -print-prog-name=ld gives a path.
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12129 $as_echo_n "checking for ld used by $CC... " >&6; }
12130 case $host in
12131 *-*-mingw*)
12132 # gcc leaves a trailing carriage return which upsets mingw
12133 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12135 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12136 esac
12137 case $ac_prog in
12138 # Accept absolute paths.
12139 [\\/]* | ?:[\\/]*)
12140 re_direlt='/[^/][^/]*/\.\./'
12141 # Canonicalize the pathname of ld
12142 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12143 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12144 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12145 done
12146 test -z "$LD" && LD="$ac_prog"
12149 # If it fails, then pretend we aren't using GCC.
12150 ac_prog=ld
12153 # If it is relative, then search for the first ld in PATH.
12154 with_gnu_ld=unknown
12156 esac
12157 elif test "$with_gnu_ld" = yes; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12159 $as_echo_n "checking for GNU ld... " >&6; }
12160 else
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12162 $as_echo_n "checking for non-GNU ld... " >&6; }
12164 if test "${lt_cv_path_LD+set}" = set; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 if test -z "$LD"; then
12168 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12169 for ac_dir in $PATH; do
12170 IFS="$lt_save_ifs"
12171 test -z "$ac_dir" && ac_dir=.
12172 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12173 lt_cv_path_LD="$ac_dir/$ac_prog"
12174 # Check to see if the program is GNU ld. I'd rather use --version,
12175 # but apparently some variants of GNU ld only accept -v.
12176 # Break only if it was the GNU/non-GNU ld that we prefer.
12177 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12178 *GNU* | *'with BFD'*)
12179 test "$with_gnu_ld" != no && break
12182 test "$with_gnu_ld" != yes && break
12184 esac
12186 done
12187 IFS="$lt_save_ifs"
12188 else
12189 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12193 LD="$lt_cv_path_LD"
12194 if test -n "$LD"; then
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12196 $as_echo "$LD" >&6; }
12197 else
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12201 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12204 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12205 $as_echo_n "(cached) " >&6
12206 else
12207 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12208 case `$LD -v 2>&1 </dev/null` in
12209 *GNU* | *'with BFD'*)
12210 lt_cv_prog_gnu_ld=yes
12213 lt_cv_prog_gnu_ld=no
12215 esac
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12218 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12219 with_gnu_ld=$lt_cv_prog_gnu_ld
12227 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12228 # archiving commands below assume that GNU ld is being used.
12229 if test "$with_gnu_ld" = yes; then
12230 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12231 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12233 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12234 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12236 # If archive_cmds runs LD, not CC, wlarc should be empty
12237 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12238 # investigate it a little bit more. (MM)
12239 wlarc='${wl}'
12241 # ancient GNU ld didn't support --whole-archive et. al.
12242 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12243 $GREP 'no-whole-archive' > /dev/null; then
12244 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12245 else
12246 whole_archive_flag_spec_CXX=
12248 else
12249 with_gnu_ld=no
12250 wlarc=
12252 # A generic and very simple default shared library creation
12253 # command for GNU C++ for the case where it uses the native
12254 # linker, instead of GNU ld. If possible, this setting should
12255 # overridden to take advantage of the native linker features on
12256 # the platform it is being used on.
12257 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12260 # Commands to make compiler produce verbose output that lists
12261 # what "hidden" libraries, object files and flags are used when
12262 # linking a shared library.
12263 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12265 else
12266 GXX=no
12267 with_gnu_ld=no
12268 wlarc=
12271 # PORTME: fill in a description of your system's C++ link characteristics
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12274 ld_shlibs_CXX=yes
12275 case $host_os in
12276 aix3*)
12277 # FIXME: insert proper C++ library support
12278 ld_shlibs_CXX=no
12280 aix[4-9]*)
12281 if test "$host_cpu" = ia64; then
12282 # On IA64, the linker does run time linking by default, so we don't
12283 # have to do anything special.
12284 aix_use_runtimelinking=no
12285 exp_sym_flag='-Bexport'
12286 no_entry_flag=""
12287 else
12288 aix_use_runtimelinking=no
12290 # Test if we are trying to use run time linking or normal
12291 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12292 # need to do runtime linking.
12293 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12294 for ld_flag in $LDFLAGS; do
12295 case $ld_flag in
12296 *-brtl*)
12297 aix_use_runtimelinking=yes
12298 break
12300 esac
12301 done
12303 esac
12305 exp_sym_flag='-bexport'
12306 no_entry_flag='-bnoentry'
12309 # When large executables or shared objects are built, AIX ld can
12310 # have problems creating the table of contents. If linking a library
12311 # or program results in "error TOC overflow" add -mminimal-toc to
12312 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12313 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12315 archive_cmds_CXX=''
12316 hardcode_direct_CXX=yes
12317 hardcode_direct_absolute_CXX=yes
12318 hardcode_libdir_separator_CXX=':'
12319 link_all_deplibs_CXX=yes
12320 file_list_spec_CXX='${wl}-f,'
12322 if test "$GXX" = yes; then
12323 case $host_os in aix4.[012]|aix4.[012].*)
12324 # We only want to do this on AIX 4.2 and lower, the check
12325 # below for broken collect2 doesn't work under 4.3+
12326 collect2name=`${CC} -print-prog-name=collect2`
12327 if test -f "$collect2name" &&
12328 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12329 then
12330 # We have reworked collect2
12332 else
12333 # We have old collect2
12334 hardcode_direct_CXX=unsupported
12335 # It fails to find uninstalled libraries when the uninstalled
12336 # path is not listed in the libpath. Setting hardcode_minus_L
12337 # to unsupported forces relinking
12338 hardcode_minus_L_CXX=yes
12339 hardcode_libdir_flag_spec_CXX='-L$libdir'
12340 hardcode_libdir_separator_CXX=
12342 esac
12343 shared_flag='-shared'
12344 if test "$aix_use_runtimelinking" = yes; then
12345 shared_flag="$shared_flag "'${wl}-G'
12347 else
12348 # not using gcc
12349 if test "$host_cpu" = ia64; then
12350 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12351 # chokes on -Wl,-G. The following line is correct:
12352 shared_flag='-G'
12353 else
12354 if test "$aix_use_runtimelinking" = yes; then
12355 shared_flag='${wl}-G'
12356 else
12357 shared_flag='${wl}-bM:SRE'
12362 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12363 # It seems that -bexpall does not export symbols beginning with
12364 # underscore (_), so it is better to generate a list of symbols to
12365 # export.
12366 always_export_symbols_CXX=yes
12367 if test "$aix_use_runtimelinking" = yes; then
12368 # Warning - without using the other runtime loading flags (-brtl),
12369 # -berok will link without error, but may produce a broken library.
12370 allow_undefined_flag_CXX='-berok'
12371 # Determine the default libpath from the value encoded in an empty
12372 # executable.
12373 if test x$gcc_no_link = xyes; then
12374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12380 main ()
12384 return 0;
12386 _ACEOF
12387 if ac_fn_cxx_try_link "$LINENO"; then :
12389 lt_aix_libpath_sed='
12390 /Import File Strings/,/^$/ {
12391 /^0/ {
12392 s/^0 *\(.*\)$/\1/
12396 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12397 # Check for a 64-bit object if we didn't find anything.
12398 if test -z "$aix_libpath"; then
12399 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 rm -f core conftest.err conftest.$ac_objext \
12403 conftest$ac_exeext conftest.$ac_ext
12404 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12406 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12408 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"
12409 else
12410 if test "$host_cpu" = ia64; then
12411 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12412 allow_undefined_flag_CXX="-z nodefs"
12413 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"
12414 else
12415 # Determine the default libpath from the value encoded in an
12416 # empty executable.
12417 if test x$gcc_no_link = xyes; then
12418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12424 main ()
12428 return 0;
12430 _ACEOF
12431 if ac_fn_cxx_try_link "$LINENO"; then :
12433 lt_aix_libpath_sed='
12434 /Import File Strings/,/^$/ {
12435 /^0/ {
12436 s/^0 *\(.*\)$/\1/
12440 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12441 # Check for a 64-bit object if we didn't find anything.
12442 if test -z "$aix_libpath"; then
12443 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12450 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12451 # Warning - without using the other run time loading flags,
12452 # -berok will link without error, but may produce a broken library.
12453 no_undefined_flag_CXX=' ${wl}-bernotok'
12454 allow_undefined_flag_CXX=' ${wl}-berok'
12455 if test "$with_gnu_ld" = yes; then
12456 # We only use this code for GNU lds that support --whole-archive.
12457 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12458 else
12459 # Exported symbols can be pulled into shared objects from archives
12460 whole_archive_flag_spec_CXX='$convenience'
12462 archive_cmds_need_lc_CXX=yes
12463 # This is similar to how AIX traditionally builds its shared
12464 # libraries.
12465 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'
12470 beos*)
12471 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12472 allow_undefined_flag_CXX=unsupported
12473 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12474 # support --undefined. This deserves some investigation. FIXME
12475 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12476 else
12477 ld_shlibs_CXX=no
12481 chorus*)
12482 case $cc_basename in
12484 # FIXME: insert proper C++ library support
12485 ld_shlibs_CXX=no
12487 esac
12490 cygwin* | mingw* | pw32* | cegcc*)
12491 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12492 # as there is no search path for DLLs.
12493 hardcode_libdir_flag_spec_CXX='-L$libdir'
12494 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12495 allow_undefined_flag_CXX=unsupported
12496 always_export_symbols_CXX=no
12497 enable_shared_with_static_runtimes_CXX=yes
12499 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12500 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'
12501 # If the export-symbols file already is a .def file (1st line
12502 # is EXPORTS), use it as is; otherwise, prepend...
12503 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12504 cp $export_symbols $output_objdir/$soname.def;
12505 else
12506 echo EXPORTS > $output_objdir/$soname.def;
12507 cat $export_symbols >> $output_objdir/$soname.def;
12509 $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'
12510 else
12511 ld_shlibs_CXX=no
12514 darwin* | rhapsody*)
12517 archive_cmds_need_lc_CXX=no
12518 hardcode_direct_CXX=no
12519 hardcode_automatic_CXX=yes
12520 hardcode_shlibpath_var_CXX=unsupported
12521 if test "$lt_cv_ld_force_load" = "yes"; then
12522 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\"`'
12523 else
12524 whole_archive_flag_spec_CXX=''
12526 link_all_deplibs_CXX=yes
12527 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12528 case $cc_basename in
12529 ifort*) _lt_dar_can_shared=yes ;;
12530 *) _lt_dar_can_shared=$GCC ;;
12531 esac
12532 if test "$_lt_dar_can_shared" = "yes"; then
12533 output_verbose_link_cmd=func_echo_all
12534 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}"
12535 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12536 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}"
12537 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}"
12538 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12539 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}"
12540 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}"
12543 else
12544 ld_shlibs_CXX=no
12549 dgux*)
12550 case $cc_basename in
12551 ec++*)
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12555 ghcx*)
12556 # Green Hills C++ Compiler
12557 # FIXME: insert proper C++ library support
12558 ld_shlibs_CXX=no
12561 # FIXME: insert proper C++ library support
12562 ld_shlibs_CXX=no
12564 esac
12567 freebsd2.*)
12568 # C++ shared libraries reported to be fairly broken before
12569 # switch to ELF
12570 ld_shlibs_CXX=no
12573 freebsd-elf*)
12574 archive_cmds_need_lc_CXX=no
12577 freebsd* | dragonfly*)
12578 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12579 # conventions
12580 ld_shlibs_CXX=yes
12583 gnu*)
12586 haiku*)
12587 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12588 link_all_deplibs_CXX=yes
12591 hpux9*)
12592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX=:
12594 export_dynamic_flag_spec_CXX='${wl}-E'
12595 hardcode_direct_CXX=yes
12596 hardcode_minus_L_CXX=yes # Not in the search PATH,
12597 # but as the default
12598 # location of the library.
12600 case $cc_basename in
12601 CC*)
12602 # FIXME: insert proper C++ library support
12603 ld_shlibs_CXX=no
12605 aCC*)
12606 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'
12607 # Commands to make compiler produce verbose output that lists
12608 # what "hidden" libraries, object files and flags are used when
12609 # linking a shared library.
12611 # There doesn't appear to be a way to prevent this compiler from
12612 # explicitly linking system object files so we need to strip them
12613 # from the output so that they don't get included in the library
12614 # dependencies.
12615 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"'
12618 if test "$GXX" = yes; then
12619 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'
12620 else
12621 # FIXME: insert proper C++ library support
12622 ld_shlibs_CXX=no
12625 esac
12628 hpux10*|hpux11*)
12629 if test $with_gnu_ld = no; then
12630 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12631 hardcode_libdir_separator_CXX=:
12633 case $host_cpu in
12634 hppa*64*|ia64*)
12637 export_dynamic_flag_spec_CXX='${wl}-E'
12639 esac
12641 case $host_cpu in
12642 hppa*64*|ia64*)
12643 hardcode_direct_CXX=no
12644 hardcode_shlibpath_var_CXX=no
12647 hardcode_direct_CXX=yes
12648 hardcode_direct_absolute_CXX=yes
12649 hardcode_minus_L_CXX=yes # Not in the search PATH,
12650 # but as the default
12651 # location of the library.
12653 esac
12655 case $cc_basename in
12656 CC*)
12657 # FIXME: insert proper C++ library support
12658 ld_shlibs_CXX=no
12660 aCC*)
12661 case $host_cpu in
12662 hppa*64*)
12663 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12665 ia64*)
12666 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12671 esac
12672 # Commands to make compiler produce verbose output that lists
12673 # what "hidden" libraries, object files and flags are used when
12674 # linking a shared library.
12676 # There doesn't appear to be a way to prevent this compiler from
12677 # explicitly linking system object files so we need to strip them
12678 # from the output so that they don't get included in the library
12679 # dependencies.
12680 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"'
12683 if test "$GXX" = yes; then
12684 if test $with_gnu_ld = no; then
12685 case $host_cpu in
12686 hppa*64*)
12687 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12689 ia64*)
12690 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12693 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'
12695 esac
12697 else
12698 # FIXME: insert proper C++ library support
12699 ld_shlibs_CXX=no
12702 esac
12705 interix[3-9]*)
12706 hardcode_direct_CXX=no
12707 hardcode_shlibpath_var_CXX=no
12708 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12709 export_dynamic_flag_spec_CXX='${wl}-E'
12710 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12711 # Instead, shared libraries are loaded at an image base (0x10000000 by
12712 # default) and relocated if they conflict, which is a slow very memory
12713 # consuming and fragmenting process. To avoid this, we pick a random,
12714 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12715 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12716 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'
12717 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'
12719 irix5* | irix6*)
12720 case $cc_basename in
12721 CC*)
12722 # SGI C++
12723 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'
12725 # Archives containing C++ object files must be created using
12726 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12727 # necessary to make sure instantiated templates are included
12728 # in the archive.
12729 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12732 if test "$GXX" = yes; then
12733 if test "$with_gnu_ld" = no; then
12734 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'
12735 else
12736 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'
12739 link_all_deplibs_CXX=yes
12741 esac
12742 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12743 hardcode_libdir_separator_CXX=:
12744 inherit_rpath_CXX=yes
12747 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12748 case $cc_basename in
12749 KCC*)
12750 # Kuck and Associates, Inc. (KAI) C++ Compiler
12752 # KCC will only create a shared library if the output file
12753 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12754 # to its proper name (with version) after linking.
12755 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'
12756 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'
12757 # Commands to make compiler produce verbose output that lists
12758 # what "hidden" libraries, object files and flags are used when
12759 # linking a shared library.
12761 # There doesn't appear to be a way to prevent this compiler from
12762 # explicitly linking system object files so we need to strip them
12763 # from the output so that they don't get included in the library
12764 # dependencies.
12765 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"'
12767 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12768 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12770 # Archives containing C++ object files must be created using
12771 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12772 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12774 icpc* | ecpc* )
12775 # Intel C++
12776 with_gnu_ld=yes
12777 # version 8.0 and above of icpc choke on multiply defined symbols
12778 # if we add $predep_objects and $postdep_objects, however 7.1 and
12779 # earlier do not add the objects themselves.
12780 case `$CC -V 2>&1` in
12781 *"Version 7."*)
12782 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12783 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'
12785 *) # Version 8.0 or newer
12786 tmp_idyn=
12787 case $host_cpu in
12788 ia64*) tmp_idyn=' -i_dynamic';;
12789 esac
12790 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12791 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'
12793 esac
12794 archive_cmds_need_lc_CXX=no
12795 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12796 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12797 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12799 pgCC* | pgcpp*)
12800 # Portland Group C++ compiler
12801 case `$CC -V` in
12802 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12803 prelink_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12806 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12807 old_archive_cmds_CXX='tpldir=Template.dir~
12808 rm -rf $tpldir~
12809 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12810 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12811 $RANLIB $oldlib'
12812 archive_cmds_CXX='tpldir=Template.dir~
12813 rm -rf $tpldir~
12814 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12815 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12816 archive_expsym_cmds_CXX='tpldir=Template.dir~
12817 rm -rf $tpldir~
12818 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12819 $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'
12821 *) # Version 6 and above use weak symbols
12822 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12823 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'
12825 esac
12827 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12828 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12829 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'
12831 cxx*)
12832 # Compaq C++
12833 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12834 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'
12836 runpath_var=LD_RUN_PATH
12837 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12838 hardcode_libdir_separator_CXX=:
12840 # Commands to make compiler produce verbose output that lists
12841 # what "hidden" libraries, object files and flags are used when
12842 # linking a shared library.
12844 # There doesn't appear to be a way to prevent this compiler from
12845 # explicitly linking system object files so we need to strip them
12846 # from the output so that they don't get included in the library
12847 # dependencies.
12848 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'
12850 xl* | mpixl* | bgxl*)
12851 # IBM XL 8.0 on PPC, with GNU ld
12852 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12853 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12854 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12855 if test "x$supports_anon_versioning" = xyes; then
12856 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12857 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12858 echo "local: *; };" >> $output_objdir/$libname.ver~
12859 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12863 case `$CC -V 2>&1 | sed 5q` in
12864 *Sun\ C*)
12865 # Sun C++ 5.9
12866 no_undefined_flag_CXX=' -zdefs'
12867 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12868 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'
12869 hardcode_libdir_flag_spec_CXX='-R$libdir'
12870 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'
12871 compiler_needs_object_CXX=yes
12873 # Not sure whether something based on
12874 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12875 # would be better.
12876 output_verbose_link_cmd='func_echo_all'
12878 # Archives containing C++ object files must be created using
12879 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12880 # necessary to make sure instantiated templates are included
12881 # in the archive.
12882 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12884 esac
12886 esac
12889 lynxos*)
12890 # FIXME: insert proper C++ library support
12891 ld_shlibs_CXX=no
12894 m88k*)
12895 # FIXME: insert proper C++ library support
12896 ld_shlibs_CXX=no
12899 mvs*)
12900 case $cc_basename in
12901 cxx*)
12902 # FIXME: insert proper C++ library support
12903 ld_shlibs_CXX=no
12906 # FIXME: insert proper C++ library support
12907 ld_shlibs_CXX=no
12909 esac
12912 netbsd*)
12913 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12914 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12915 wlarc=
12916 hardcode_libdir_flag_spec_CXX='-R$libdir'
12917 hardcode_direct_CXX=yes
12918 hardcode_shlibpath_var_CXX=no
12920 # Workaround some broken pre-1.5 toolchains
12921 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12924 *nto* | *qnx*)
12925 ld_shlibs_CXX=yes
12928 openbsd2*)
12929 # C++ shared libraries are fairly broken
12930 ld_shlibs_CXX=no
12933 openbsd*)
12934 if test -f /usr/libexec/ld.so; then
12935 hardcode_direct_CXX=yes
12936 hardcode_shlibpath_var_CXX=no
12937 hardcode_direct_absolute_CXX=yes
12938 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12939 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12940 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12941 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12942 export_dynamic_flag_spec_CXX='${wl}-E'
12943 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12945 output_verbose_link_cmd=func_echo_all
12946 else
12947 ld_shlibs_CXX=no
12951 osf3* | osf4* | osf5*)
12952 case $cc_basename in
12953 KCC*)
12954 # Kuck and Associates, Inc. (KAI) C++ Compiler
12956 # KCC will only create a shared library if the output file
12957 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12958 # to its proper name (with version) after linking.
12959 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'
12961 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12962 hardcode_libdir_separator_CXX=:
12964 # Archives containing C++ object files must be created using
12965 # the KAI C++ compiler.
12966 case $host in
12967 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12968 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12969 esac
12971 RCC*)
12972 # Rational C++ 2.4.1
12973 # FIXME: insert proper C++ library support
12974 ld_shlibs_CXX=no
12976 cxx*)
12977 case $host in
12978 osf3*)
12979 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12980 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'
12981 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12984 allow_undefined_flag_CXX=' -expect_unresolved \*'
12985 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'
12986 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12987 echo "-hidden">> $lib.exp~
12988 $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~
12989 $RM $lib.exp'
12990 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12992 esac
12994 hardcode_libdir_separator_CXX=:
12996 # Commands to make compiler produce verbose output that lists
12997 # what "hidden" libraries, object files and flags are used when
12998 # linking a shared library.
13000 # There doesn't appear to be a way to prevent this compiler from
13001 # explicitly linking system object files so we need to strip them
13002 # from the output so that they don't get included in the library
13003 # dependencies.
13004 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"'
13007 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13008 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13009 case $host in
13010 osf3*)
13011 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'
13014 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'
13016 esac
13018 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13019 hardcode_libdir_separator_CXX=:
13021 # Commands to make compiler produce verbose output that lists
13022 # what "hidden" libraries, object files and flags are used when
13023 # linking a shared library.
13024 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13026 else
13027 # FIXME: insert proper C++ library support
13028 ld_shlibs_CXX=no
13031 esac
13034 psos*)
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13039 sunos4*)
13040 case $cc_basename in
13041 CC*)
13042 # Sun C++ 4.x
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13046 lcc*)
13047 # Lucid
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13052 # FIXME: insert proper C++ library support
13053 ld_shlibs_CXX=no
13055 esac
13058 solaris*)
13059 case $cc_basename in
13060 CC*)
13061 # Sun C++ 4.2, 5.x and Centerline C++
13062 archive_cmds_need_lc_CXX=yes
13063 no_undefined_flag_CXX=' -zdefs'
13064 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13065 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13066 $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'
13068 hardcode_libdir_flag_spec_CXX='-R$libdir'
13069 hardcode_shlibpath_var_CXX=no
13070 case $host_os in
13071 solaris2.[0-5] | solaris2.[0-5].*) ;;
13073 # The compiler driver will combine and reorder linker options,
13074 # but understands `-z linker_flag'.
13075 # Supported since Solaris 2.6 (maybe 2.5.1?)
13076 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13078 esac
13079 link_all_deplibs_CXX=yes
13081 output_verbose_link_cmd='func_echo_all'
13083 # Archives containing C++ object files must be created using
13084 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13085 # necessary to make sure instantiated templates are included
13086 # in the archive.
13087 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13089 gcx*)
13090 # Green Hills C++ Compiler
13091 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13093 # The C++ compiler must be used to create the archive.
13094 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13097 # GNU C++ compiler with Solaris linker
13098 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13099 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13100 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13101 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13102 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13103 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13105 # Commands to make compiler produce verbose output that lists
13106 # what "hidden" libraries, object files and flags are used when
13107 # linking a shared library.
13108 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13109 else
13110 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13111 # platform.
13112 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13113 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13114 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13116 # Commands to make compiler produce verbose output that lists
13117 # what "hidden" libraries, object files and flags are used when
13118 # linking a shared library.
13119 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13122 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13123 case $host_os in
13124 solaris2.[0-5] | solaris2.[0-5].*) ;;
13126 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13128 esac
13131 esac
13134 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13135 no_undefined_flag_CXX='${wl}-z,text'
13136 archive_cmds_need_lc_CXX=no
13137 hardcode_shlibpath_var_CXX=no
13138 runpath_var='LD_RUN_PATH'
13140 case $cc_basename in
13141 CC*)
13142 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13147 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13149 esac
13152 sysv5* | sco3.2v5* | sco5v6*)
13153 # Note: We can NOT use -z defs as we might desire, because we do not
13154 # link with -lc, and that would cause any symbols used from libc to
13155 # always be unresolved, which means just about no library would
13156 # ever link correctly. If we're not using GNU ld we use -z text
13157 # though, which does catch some bad symbols but isn't as heavy-handed
13158 # as -z defs.
13159 no_undefined_flag_CXX='${wl}-z,text'
13160 allow_undefined_flag_CXX='${wl}-z,nodefs'
13161 archive_cmds_need_lc_CXX=no
13162 hardcode_shlibpath_var_CXX=no
13163 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13164 hardcode_libdir_separator_CXX=':'
13165 link_all_deplibs_CXX=yes
13166 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13167 runpath_var='LD_RUN_PATH'
13169 case $cc_basename in
13170 CC*)
13171 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13172 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13173 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13174 '"$old_archive_cmds_CXX"
13175 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13176 '"$reload_cmds_CXX"
13179 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13180 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13182 esac
13185 tandem*)
13186 case $cc_basename in
13187 NCC*)
13188 # NonStop-UX NCC 3.20
13189 # FIXME: insert proper C++ library support
13190 ld_shlibs_CXX=no
13193 # FIXME: insert proper C++ library support
13194 ld_shlibs_CXX=no
13196 esac
13199 vxworks*)
13200 # FIXME: insert proper C++ library support
13201 ld_shlibs_CXX=no
13205 # FIXME: insert proper C++ library support
13206 ld_shlibs_CXX=no
13208 esac
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13211 $as_echo "$ld_shlibs_CXX" >&6; }
13212 test "$ld_shlibs_CXX" = no && can_build_shared=no
13214 GCC_CXX="$GXX"
13215 LD_CXX="$LD"
13217 ## CAVEAT EMPTOR:
13218 ## There is no encapsulation within the following macros, do not change
13219 ## the running order or otherwise move them around unless you know exactly
13220 ## what you are doing...
13221 # Dependencies to place before and after the object being linked:
13222 predep_objects_CXX=
13223 postdep_objects_CXX=
13224 predeps_CXX=
13225 postdeps_CXX=
13226 compiler_lib_search_path_CXX=
13228 cat > conftest.$ac_ext <<_LT_EOF
13229 class Foo
13231 public:
13232 Foo (void) { a = 0; }
13233 private:
13234 int a;
13236 _LT_EOF
13238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13239 (eval $ac_compile) 2>&5
13240 ac_status=$?
13241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13242 test $ac_status = 0; }; then
13243 # Parse the compiler output and extract the necessary
13244 # objects, libraries and library flags.
13246 # Sentinel used to keep track of whether or not we are before
13247 # the conftest object file.
13248 pre_test_object_deps_done=no
13250 for p in `eval "$output_verbose_link_cmd"`; do
13251 case $p in
13253 -L* | -R* | -l*)
13254 # Some compilers place space between "-{L,R}" and the path.
13255 # Remove the space.
13256 if test $p = "-L" ||
13257 test $p = "-R"; then
13258 prev=$p
13259 continue
13260 else
13261 prev=
13264 if test "$pre_test_object_deps_done" = no; then
13265 case $p in
13266 -L* | -R*)
13267 # Internal compiler library paths should come after those
13268 # provided the user. The postdeps already come after the
13269 # user supplied libs so there is no need to process them.
13270 if test -z "$compiler_lib_search_path_CXX"; then
13271 compiler_lib_search_path_CXX="${prev}${p}"
13272 else
13273 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13276 # The "-l" case would never come before the object being
13277 # linked, so don't bother handling this case.
13278 esac
13279 else
13280 if test -z "$postdeps_CXX"; then
13281 postdeps_CXX="${prev}${p}"
13282 else
13283 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13288 *.$objext)
13289 # This assumes that the test object file only shows up
13290 # once in the compiler output.
13291 if test "$p" = "conftest.$objext"; then
13292 pre_test_object_deps_done=yes
13293 continue
13296 if test "$pre_test_object_deps_done" = no; then
13297 if test -z "$predep_objects_CXX"; then
13298 predep_objects_CXX="$p"
13299 else
13300 predep_objects_CXX="$predep_objects_CXX $p"
13302 else
13303 if test -z "$postdep_objects_CXX"; then
13304 postdep_objects_CXX="$p"
13305 else
13306 postdep_objects_CXX="$postdep_objects_CXX $p"
13311 *) ;; # Ignore the rest.
13313 esac
13314 done
13316 # Clean up.
13317 rm -f a.out a.exe
13318 else
13319 echo "libtool.m4: error: problem compiling CXX test program"
13322 $RM -f confest.$objext
13324 # PORTME: override above test on systems where it is broken
13325 case $host_os in
13326 interix[3-9]*)
13327 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13328 # hack all around it, let's just trust "g++" to DTRT.
13329 predep_objects_CXX=
13330 postdep_objects_CXX=
13331 postdeps_CXX=
13334 linux*)
13335 case `$CC -V 2>&1 | sed 5q` in
13336 *Sun\ C*)
13337 # Sun C++ 5.9
13339 # The more standards-conforming stlport4 library is
13340 # incompatible with the Cstd library. Avoid specifying
13341 # it if it's in CXXFLAGS. Ignore libCrun as
13342 # -library=stlport4 depends on it.
13343 case " $CXX $CXXFLAGS " in
13344 *" -library=stlport4 "*)
13345 solaris_use_stlport4=yes
13347 esac
13349 if test "$solaris_use_stlport4" != yes; then
13350 postdeps_CXX='-library=Cstd -library=Crun'
13353 esac
13356 solaris*)
13357 case $cc_basename in
13358 CC*)
13359 # The more standards-conforming stlport4 library is
13360 # incompatible with the Cstd library. Avoid specifying
13361 # it if it's in CXXFLAGS. Ignore libCrun as
13362 # -library=stlport4 depends on it.
13363 case " $CXX $CXXFLAGS " in
13364 *" -library=stlport4 "*)
13365 solaris_use_stlport4=yes
13367 esac
13369 # Adding this requires a known-good setup of shared libraries for
13370 # Sun compiler versions before 5.6, else PIC objects from an old
13371 # archive will be linked into the output, leading to subtle bugs.
13372 if test "$solaris_use_stlport4" != yes; then
13373 postdeps_CXX='-library=Cstd -library=Crun'
13376 esac
13378 esac
13381 case " $postdeps_CXX " in
13382 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13383 esac
13384 compiler_lib_search_dirs_CXX=
13385 if test -n "${compiler_lib_search_path_CXX}"; then
13386 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13419 lt_prog_compiler_wl_CXX=
13420 lt_prog_compiler_pic_CXX=
13421 lt_prog_compiler_static_CXX=
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13424 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13426 # C++ specific cases for pic, static, wl, etc.
13427 if test "$GXX" = yes; then
13428 lt_prog_compiler_wl_CXX='-Wl,'
13429 lt_prog_compiler_static_CXX='-static'
13431 case $host_os in
13432 aix*)
13433 # All AIX code is PIC.
13434 if test "$host_cpu" = ia64; then
13435 # AIX 5 now supports IA64 processor
13436 lt_prog_compiler_static_CXX='-Bstatic'
13438 lt_prog_compiler_pic_CXX='-fPIC'
13441 amigaos*)
13442 case $host_cpu in
13443 powerpc)
13444 # see comment about AmigaOS4 .so support
13445 lt_prog_compiler_pic_CXX='-fPIC'
13447 m68k)
13448 # FIXME: we need at least 68020 code to build shared libraries, but
13449 # adding the `-m68020' flag to GCC prevents building anything better,
13450 # like `-m68040'.
13451 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13453 esac
13456 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13457 # PIC is the default for these OSes.
13459 mingw* | cygwin* | os2* | pw32* | cegcc*)
13460 # This hack is so that the source file can tell whether it is being
13461 # built for inclusion in a dll (and should export symbols for example).
13462 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13463 # (--disable-auto-import) libraries
13464 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13466 darwin* | rhapsody*)
13467 # PIC is the default on this platform
13468 # Common symbols not allowed in MH_DYLIB files
13469 lt_prog_compiler_pic_CXX='-fno-common'
13471 *djgpp*)
13472 # DJGPP does not support shared libraries at all
13473 lt_prog_compiler_pic_CXX=
13475 haiku*)
13476 # PIC is the default for Haiku.
13477 # The "-static" flag exists, but is broken.
13478 lt_prog_compiler_static_CXX=
13480 interix[3-9]*)
13481 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13482 # Instead, we relocate shared libraries at runtime.
13484 sysv4*MP*)
13485 if test -d /usr/nec; then
13486 lt_prog_compiler_pic_CXX=-Kconform_pic
13489 hpux*)
13490 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13491 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13492 # sets the default TLS model and affects inlining.
13493 case $host_cpu in
13494 hppa*64*)
13497 lt_prog_compiler_pic_CXX='-fPIC'
13499 esac
13501 *qnx* | *nto*)
13502 # QNX uses GNU C++, but need to define -shared option too, otherwise
13503 # it will coredump.
13504 lt_prog_compiler_pic_CXX='-fPIC -shared'
13507 lt_prog_compiler_pic_CXX='-fPIC'
13509 esac
13510 else
13511 case $host_os in
13512 aix[4-9]*)
13513 # All AIX code is PIC.
13514 if test "$host_cpu" = ia64; then
13515 # AIX 5 now supports IA64 processor
13516 lt_prog_compiler_static_CXX='-Bstatic'
13517 else
13518 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13521 chorus*)
13522 case $cc_basename in
13523 cxch68*)
13524 # Green Hills C++ Compiler
13525 # _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"
13527 esac
13529 dgux*)
13530 case $cc_basename in
13531 ec++*)
13532 lt_prog_compiler_pic_CXX='-KPIC'
13534 ghcx*)
13535 # Green Hills C++ Compiler
13536 lt_prog_compiler_pic_CXX='-pic'
13540 esac
13542 freebsd* | dragonfly*)
13543 # FreeBSD uses GNU C++
13545 hpux9* | hpux10* | hpux11*)
13546 case $cc_basename in
13547 CC*)
13548 lt_prog_compiler_wl_CXX='-Wl,'
13549 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13550 if test "$host_cpu" != ia64; then
13551 lt_prog_compiler_pic_CXX='+Z'
13554 aCC*)
13555 lt_prog_compiler_wl_CXX='-Wl,'
13556 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13557 case $host_cpu in
13558 hppa*64*|ia64*)
13559 # +Z the default
13562 lt_prog_compiler_pic_CXX='+Z'
13564 esac
13568 esac
13570 interix*)
13571 # This is c89, which is MS Visual C++ (no shared libs)
13572 # Anyone wants to do a port?
13574 irix5* | irix6* | nonstopux*)
13575 case $cc_basename in
13576 CC*)
13577 lt_prog_compiler_wl_CXX='-Wl,'
13578 lt_prog_compiler_static_CXX='-non_shared'
13579 # CC pic flag -KPIC is the default.
13583 esac
13585 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13586 case $cc_basename in
13587 KCC*)
13588 # KAI C++ Compiler
13589 lt_prog_compiler_wl_CXX='--backend -Wl,'
13590 lt_prog_compiler_pic_CXX='-fPIC'
13592 ecpc* )
13593 # old Intel C++ for x86_64 which still supported -KPIC.
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-KPIC'
13596 lt_prog_compiler_static_CXX='-static'
13598 icpc* )
13599 # Intel C++, used to be incompatible with GCC.
13600 # ICC 10 doesn't accept -KPIC any more.
13601 lt_prog_compiler_wl_CXX='-Wl,'
13602 lt_prog_compiler_pic_CXX='-fPIC'
13603 lt_prog_compiler_static_CXX='-static'
13605 pgCC* | pgcpp*)
13606 # Portland Group C++ compiler
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-fpic'
13609 lt_prog_compiler_static_CXX='-Bstatic'
13611 cxx*)
13612 # Compaq C++
13613 # Make sure the PIC flag is empty. It appears that all Alpha
13614 # Linux and Compaq Tru64 Unix objects are PIC.
13615 lt_prog_compiler_pic_CXX=
13616 lt_prog_compiler_static_CXX='-non_shared'
13618 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13619 # IBM XL 8.0, 9.0 on PPC and BlueGene
13620 lt_prog_compiler_wl_CXX='-Wl,'
13621 lt_prog_compiler_pic_CXX='-qpic'
13622 lt_prog_compiler_static_CXX='-qstaticlink'
13625 case `$CC -V 2>&1 | sed 5q` in
13626 *Sun\ C*)
13627 # Sun C++ 5.9
13628 lt_prog_compiler_pic_CXX='-KPIC'
13629 lt_prog_compiler_static_CXX='-Bstatic'
13630 lt_prog_compiler_wl_CXX='-Qoption ld '
13632 esac
13634 esac
13636 lynxos*)
13638 m88k*)
13640 mvs*)
13641 case $cc_basename in
13642 cxx*)
13643 lt_prog_compiler_pic_CXX='-W c,exportall'
13647 esac
13649 netbsd*)
13651 *qnx* | *nto*)
13652 # QNX uses GNU C++, but need to define -shared option too, otherwise
13653 # it will coredump.
13654 lt_prog_compiler_pic_CXX='-fPIC -shared'
13656 osf3* | osf4* | osf5*)
13657 case $cc_basename in
13658 KCC*)
13659 lt_prog_compiler_wl_CXX='--backend -Wl,'
13661 RCC*)
13662 # Rational C++ 2.4.1
13663 lt_prog_compiler_pic_CXX='-pic'
13665 cxx*)
13666 # Digital/Compaq C++
13667 lt_prog_compiler_wl_CXX='-Wl,'
13668 # Make sure the PIC flag is empty. It appears that all Alpha
13669 # Linux and Compaq Tru64 Unix objects are PIC.
13670 lt_prog_compiler_pic_CXX=
13671 lt_prog_compiler_static_CXX='-non_shared'
13675 esac
13677 psos*)
13679 solaris*)
13680 case $cc_basename in
13681 CC*)
13682 # Sun C++ 4.2, 5.x and Centerline C++
13683 lt_prog_compiler_pic_CXX='-KPIC'
13684 lt_prog_compiler_static_CXX='-Bstatic'
13685 lt_prog_compiler_wl_CXX='-Qoption ld '
13687 gcx*)
13688 # Green Hills C++ Compiler
13689 lt_prog_compiler_pic_CXX='-PIC'
13693 esac
13695 sunos4*)
13696 case $cc_basename in
13697 CC*)
13698 # Sun C++ 4.x
13699 lt_prog_compiler_pic_CXX='-pic'
13700 lt_prog_compiler_static_CXX='-Bstatic'
13702 lcc*)
13703 # Lucid
13704 lt_prog_compiler_pic_CXX='-pic'
13708 esac
13710 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13711 case $cc_basename in
13712 CC*)
13713 lt_prog_compiler_wl_CXX='-Wl,'
13714 lt_prog_compiler_pic_CXX='-KPIC'
13715 lt_prog_compiler_static_CXX='-Bstatic'
13717 esac
13719 tandem*)
13720 case $cc_basename in
13721 NCC*)
13722 # NonStop-UX NCC 3.20
13723 lt_prog_compiler_pic_CXX='-KPIC'
13727 esac
13729 vxworks*)
13732 lt_prog_compiler_can_build_shared_CXX=no
13734 esac
13737 case $host_os in
13738 # For platforms which do not support PIC, -DPIC is meaningless:
13739 *djgpp*)
13740 lt_prog_compiler_pic_CXX=
13743 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13745 esac
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13747 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13752 # Check to make sure the PIC flag actually works.
13754 if test -n "$lt_prog_compiler_pic_CXX"; then
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13756 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13757 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 lt_cv_prog_compiler_pic_works_CXX=no
13761 ac_outfile=conftest.$ac_objext
13762 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13763 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13764 # Insert the option either (1) after the last *FLAGS variable, or
13765 # (2) before a word containing "conftest.", or (3) at the end.
13766 # Note that $ac_compile itself does not contain backslashes and begins
13767 # with a dollar sign (not a hyphen), so the echo should work correctly.
13768 # The option is referenced via a variable to avoid confusing sed.
13769 lt_compile=`echo "$ac_compile" | $SED \
13770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13772 -e 's:$: $lt_compiler_flag:'`
13773 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13774 (eval "$lt_compile" 2>conftest.err)
13775 ac_status=$?
13776 cat conftest.err >&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 if (exit $ac_status) && test -s "$ac_outfile"; then
13779 # The compiler can only warn and ignore the option if not recognized
13780 # So say no if there are warnings other than the usual output.
13781 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13782 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13783 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13784 lt_cv_prog_compiler_pic_works_CXX=yes
13787 $RM conftest*
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13791 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13793 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13794 case $lt_prog_compiler_pic_CXX in
13795 "" | " "*) ;;
13796 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13797 esac
13798 else
13799 lt_prog_compiler_pic_CXX=
13800 lt_prog_compiler_can_build_shared_CXX=no
13808 # Check to make sure the static flag actually works.
13810 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13812 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13813 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13814 $as_echo_n "(cached) " >&6
13815 else
13816 lt_cv_prog_compiler_static_works_CXX=no
13817 save_LDFLAGS="$LDFLAGS"
13818 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13819 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13820 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13821 # The linker can only warn and ignore the option if not recognized
13822 # So say no if there are warnings
13823 if test -s conftest.err; then
13824 # Append any errors to the config.log.
13825 cat conftest.err 1>&5
13826 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13828 if diff conftest.exp conftest.er2 >/dev/null; then
13829 lt_cv_prog_compiler_static_works_CXX=yes
13831 else
13832 lt_cv_prog_compiler_static_works_CXX=yes
13835 $RM -r conftest*
13836 LDFLAGS="$save_LDFLAGS"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13840 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13842 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13844 else
13845 lt_prog_compiler_static_CXX=
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13852 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13853 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13854 $as_echo_n "(cached) " >&6
13855 else
13856 lt_cv_prog_compiler_c_o_CXX=no
13857 $RM -r conftest 2>/dev/null
13858 mkdir conftest
13859 cd conftest
13860 mkdir out
13861 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13863 lt_compiler_flag="-o out/conftest2.$ac_objext"
13864 # Insert the option either (1) after the last *FLAGS variable, or
13865 # (2) before a word containing "conftest.", or (3) at the end.
13866 # Note that $ac_compile itself does not contain backslashes and begins
13867 # with a dollar sign (not a hyphen), so the echo should work correctly.
13868 lt_compile=`echo "$ac_compile" | $SED \
13869 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13870 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13871 -e 's:$: $lt_compiler_flag:'`
13872 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13873 (eval "$lt_compile" 2>out/conftest.err)
13874 ac_status=$?
13875 cat out/conftest.err >&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13878 then
13879 # The compiler can only warn and ignore the option if not recognized
13880 # So say no if there are warnings
13881 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13882 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13883 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13884 lt_cv_prog_compiler_c_o_CXX=yes
13887 chmod u+w . 2>&5
13888 $RM conftest*
13889 # SGI C++ compiler will create directory out/ii_files/ for
13890 # template instantiation
13891 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13892 $RM out/* && rmdir out
13893 cd ..
13894 $RM -r conftest
13895 $RM conftest*
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13899 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13905 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 lt_cv_prog_compiler_c_o_CXX=no
13909 $RM -r conftest 2>/dev/null
13910 mkdir conftest
13911 cd conftest
13912 mkdir out
13913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13915 lt_compiler_flag="-o out/conftest2.$ac_objext"
13916 # Insert the option either (1) after the last *FLAGS variable, or
13917 # (2) before a word containing "conftest.", or (3) at the end.
13918 # Note that $ac_compile itself does not contain backslashes and begins
13919 # with a dollar sign (not a hyphen), so the echo should work correctly.
13920 lt_compile=`echo "$ac_compile" | $SED \
13921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13923 -e 's:$: $lt_compiler_flag:'`
13924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13925 (eval "$lt_compile" 2>out/conftest.err)
13926 ac_status=$?
13927 cat out/conftest.err >&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13930 then
13931 # The compiler can only warn and ignore the option if not recognized
13932 # So say no if there are warnings
13933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13936 lt_cv_prog_compiler_c_o_CXX=yes
13939 chmod u+w . 2>&5
13940 $RM conftest*
13941 # SGI C++ compiler will create directory out/ii_files/ for
13942 # template instantiation
13943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13944 $RM out/* && rmdir out
13945 cd ..
13946 $RM -r conftest
13947 $RM conftest*
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13951 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13956 hard_links="nottested"
13957 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13958 # do not overwrite the value of need_locks provided by the user
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13960 $as_echo_n "checking if we can lock with hard links... " >&6; }
13961 hard_links=yes
13962 $RM conftest*
13963 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13964 touch conftest.a
13965 ln conftest.a conftest.b 2>&5 || hard_links=no
13966 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13968 $as_echo "$hard_links" >&6; }
13969 if test "$hard_links" = no; then
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13971 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13972 need_locks=warn
13974 else
13975 need_locks=no
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13981 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13983 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13984 case $host_os in
13985 aix[4-9]*)
13986 # If we're using GNU nm, then we don't want the "-C" option.
13987 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13988 # Also, AIX nm treats weak defined symbols like other global defined
13989 # symbols, whereas GNU nm marks them as "W".
13990 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13991 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'
13992 else
13993 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13996 pw32*)
13997 export_symbols_cmds_CXX="$ltdll_cmds"
13999 cygwin* | mingw* | cegcc*)
14000 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'
14003 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14005 esac
14006 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14009 $as_echo "$ld_shlibs_CXX" >&6; }
14010 test "$ld_shlibs_CXX" = no && can_build_shared=no
14012 with_gnu_ld_CXX=$with_gnu_ld
14020 # Do we need to explicitly link libc?
14022 case "x$archive_cmds_need_lc_CXX" in
14023 x|xyes)
14024 # Assume -lc should be added
14025 archive_cmds_need_lc_CXX=yes
14027 if test "$enable_shared" = yes && test "$GCC" = yes; then
14028 case $archive_cmds_CXX in
14029 *'~'*)
14030 # FIXME: we may have to deal with multi-command sequences.
14032 '$CC '*)
14033 # Test whether the compiler implicitly links with -lc since on some
14034 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14035 # to ld, don't add -lc before -lgcc.
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14037 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14038 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 $RM conftest*
14042 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14045 (eval $ac_compile) 2>&5
14046 ac_status=$?
14047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14048 test $ac_status = 0; } 2>conftest.err; then
14049 soname=conftest
14050 lib=conftest
14051 libobjs=conftest.$ac_objext
14052 deplibs=
14053 wl=$lt_prog_compiler_wl_CXX
14054 pic_flag=$lt_prog_compiler_pic_CXX
14055 compiler_flags=-v
14056 linker_flags=-v
14057 verstring=
14058 output_objdir=.
14059 libname=conftest
14060 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14061 allow_undefined_flag_CXX=
14062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14063 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14064 ac_status=$?
14065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066 test $ac_status = 0; }
14067 then
14068 lt_cv_archive_cmds_need_lc_CXX=no
14069 else
14070 lt_cv_archive_cmds_need_lc_CXX=yes
14072 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14073 else
14074 cat conftest.err 1>&5
14076 $RM conftest*
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14080 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14081 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14083 esac
14086 esac
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14152 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14154 library_names_spec=
14155 libname_spec='lib$name'
14156 soname_spec=
14157 shrext_cmds=".so"
14158 postinstall_cmds=
14159 postuninstall_cmds=
14160 finish_cmds=
14161 finish_eval=
14162 shlibpath_var=
14163 shlibpath_overrides_runpath=unknown
14164 version_type=none
14165 dynamic_linker="$host_os ld.so"
14166 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14167 need_lib_prefix=unknown
14168 hardcode_into_libs=no
14170 # when you set need_version to no, make sure it does not cause -set_version
14171 # flags to be left without arguments
14172 need_version=unknown
14174 case $host_os in
14175 aix3*)
14176 version_type=linux
14177 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14178 shlibpath_var=LIBPATH
14180 # AIX 3 has no versioning support, so we append a major version to the name.
14181 soname_spec='${libname}${release}${shared_ext}$major'
14184 aix[4-9]*)
14185 version_type=linux
14186 need_lib_prefix=no
14187 need_version=no
14188 hardcode_into_libs=yes
14189 if test "$host_cpu" = ia64; then
14190 # AIX 5 supports IA64
14191 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14192 shlibpath_var=LD_LIBRARY_PATH
14193 else
14194 # With GCC up to 2.95.x, collect2 would create an import file
14195 # for dependence libraries. The import file would start with
14196 # the line `#! .'. This would cause the generated library to
14197 # depend on `.', always an invalid library. This was fixed in
14198 # development snapshots of GCC prior to 3.0.
14199 case $host_os in
14200 aix4 | aix4.[01] | aix4.[01].*)
14201 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14202 echo ' yes '
14203 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14205 else
14206 can_build_shared=no
14209 esac
14210 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14211 # soname into executable. Probably we can add versioning support to
14212 # collect2, so additional links can be useful in future.
14213 if test "$aix_use_runtimelinking" = yes; then
14214 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14215 # instead of lib<name>.a to let people know that these are not
14216 # typical AIX shared libraries.
14217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14218 else
14219 # We preserve .a as extension for shared libraries through AIX4.2
14220 # and later when we are not doing run time linking.
14221 library_names_spec='${libname}${release}.a $libname.a'
14222 soname_spec='${libname}${release}${shared_ext}$major'
14224 shlibpath_var=LIBPATH
14228 amigaos*)
14229 case $host_cpu in
14230 powerpc)
14231 # Since July 2007 AmigaOS4 officially supports .so libraries.
14232 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14235 m68k)
14236 library_names_spec='$libname.ixlibrary $libname.a'
14237 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14238 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'
14240 esac
14243 beos*)
14244 library_names_spec='${libname}${shared_ext}'
14245 dynamic_linker="$host_os ld.so"
14246 shlibpath_var=LIBRARY_PATH
14249 bsdi[45]*)
14250 version_type=linux
14251 need_version=no
14252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14253 soname_spec='${libname}${release}${shared_ext}$major'
14254 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14255 shlibpath_var=LD_LIBRARY_PATH
14256 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14257 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14258 # the default ld.so.conf also contains /usr/contrib/lib and
14259 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14260 # libtool to hard-code these into programs
14263 cygwin* | mingw* | pw32* | cegcc*)
14264 version_type=windows
14265 shrext_cmds=".dll"
14266 need_version=no
14267 need_lib_prefix=no
14269 case $GCC,$host_os in
14270 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14271 library_names_spec='$libname.dll.a'
14272 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14273 postinstall_cmds='base_file=`basename \${file}`~
14274 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14275 dldir=$destdir/`dirname \$dlpath`~
14276 test -d \$dldir || mkdir -p \$dldir~
14277 $install_prog $dir/$dlname \$dldir/$dlname~
14278 chmod a+x \$dldir/$dlname~
14279 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14280 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14282 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14283 dlpath=$dir/\$dldll~
14284 $RM \$dlpath'
14285 shlibpath_overrides_runpath=yes
14287 case $host_os in
14288 cygwin*)
14289 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14290 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14293 mingw* | cegcc*)
14294 # MinGW DLLs use traditional 'lib' prefix
14295 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14297 pw32*)
14298 # pw32 DLLs use 'pw' prefix rather than 'lib'
14299 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14301 esac
14305 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14307 esac
14308 dynamic_linker='Win32 ld.exe'
14309 # FIXME: first we should search . and the directory the executable is in
14310 shlibpath_var=PATH
14313 darwin* | rhapsody*)
14314 dynamic_linker="$host_os dyld"
14315 version_type=darwin
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14319 soname_spec='${libname}${release}${major}$shared_ext'
14320 shlibpath_overrides_runpath=yes
14321 shlibpath_var=DYLD_LIBRARY_PATH
14322 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14324 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14327 dgux*)
14328 version_type=linux
14329 need_lib_prefix=no
14330 need_version=no
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14332 soname_spec='${libname}${release}${shared_ext}$major'
14333 shlibpath_var=LD_LIBRARY_PATH
14336 freebsd* | dragonfly*)
14337 # DragonFly does not have aout. When/if they implement a new
14338 # versioning mechanism, adjust this.
14339 if test -x /usr/bin/objformat; then
14340 objformat=`/usr/bin/objformat`
14341 else
14342 case $host_os in
14343 freebsd[23].*) objformat=aout ;;
14344 *) objformat=elf ;;
14345 esac
14347 version_type=freebsd-$objformat
14348 case $version_type in
14349 freebsd-elf*)
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14351 need_version=no
14352 need_lib_prefix=no
14354 freebsd-*)
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14356 need_version=yes
14358 esac
14359 shlibpath_var=LD_LIBRARY_PATH
14360 case $host_os in
14361 freebsd2.*)
14362 shlibpath_overrides_runpath=yes
14364 freebsd3.[01]* | freebsdelf3.[01]*)
14365 shlibpath_overrides_runpath=yes
14366 hardcode_into_libs=yes
14368 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14369 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14370 shlibpath_overrides_runpath=no
14371 hardcode_into_libs=yes
14373 *) # from 4.6 on, and DragonFly
14374 shlibpath_overrides_runpath=yes
14375 hardcode_into_libs=yes
14377 esac
14380 gnu*)
14381 version_type=linux
14382 need_lib_prefix=no
14383 need_version=no
14384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14385 soname_spec='${libname}${release}${shared_ext}$major'
14386 shlibpath_var=LD_LIBRARY_PATH
14387 hardcode_into_libs=yes
14390 haiku*)
14391 version_type=linux
14392 need_lib_prefix=no
14393 need_version=no
14394 dynamic_linker="$host_os runtime_loader"
14395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14396 soname_spec='${libname}${release}${shared_ext}$major'
14397 shlibpath_var=LIBRARY_PATH
14398 shlibpath_overrides_runpath=yes
14399 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14400 hardcode_into_libs=yes
14403 hpux9* | hpux10* | hpux11*)
14404 # Give a soname corresponding to the major version so that dld.sl refuses to
14405 # link against other versions.
14406 version_type=sunos
14407 need_lib_prefix=no
14408 need_version=no
14409 case $host_cpu in
14410 ia64*)
14411 shrext_cmds='.so'
14412 hardcode_into_libs=yes
14413 dynamic_linker="$host_os dld.so"
14414 shlibpath_var=LD_LIBRARY_PATH
14415 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 if test "X$HPUX_IA64_MODE" = X32; then
14419 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14420 else
14421 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14423 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14425 hppa*64*)
14426 shrext_cmds='.sl'
14427 hardcode_into_libs=yes
14428 dynamic_linker="$host_os dld.sl"
14429 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14430 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14432 soname_spec='${libname}${release}${shared_ext}$major'
14433 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14434 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14437 shrext_cmds='.sl'
14438 dynamic_linker="$host_os dld.sl"
14439 shlibpath_var=SHLIB_PATH
14440 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14442 soname_spec='${libname}${release}${shared_ext}$major'
14444 esac
14445 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14446 postinstall_cmds='chmod 555 $lib'
14447 # or fails outright, so override atomically:
14448 install_override_mode=555
14451 interix[3-9]*)
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 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14458 shlibpath_var=LD_LIBRARY_PATH
14459 shlibpath_overrides_runpath=no
14460 hardcode_into_libs=yes
14463 irix5* | irix6* | nonstopux*)
14464 case $host_os in
14465 nonstopux*) version_type=nonstopux ;;
14467 if test "$lt_cv_prog_gnu_ld" = yes; then
14468 version_type=linux
14469 else
14470 version_type=irix
14471 fi ;;
14472 esac
14473 need_lib_prefix=no
14474 need_version=no
14475 soname_spec='${libname}${release}${shared_ext}$major'
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14477 case $host_os in
14478 irix5* | nonstopux*)
14479 libsuff= shlibsuff=
14482 case $LD in # libtool.m4 will add one of these switches to LD
14483 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14484 libsuff= shlibsuff= libmagic=32-bit;;
14485 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14486 libsuff=32 shlibsuff=N32 libmagic=N32;;
14487 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14488 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14489 *) libsuff= shlibsuff= libmagic=never-match;;
14490 esac
14492 esac
14493 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14494 shlibpath_overrides_runpath=no
14495 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14496 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14497 hardcode_into_libs=yes
14500 # No shared lib support for Linux oldld, aout, or coff.
14501 linux*oldld* | linux*aout* | linux*coff*)
14502 dynamic_linker=no
14505 # This must be Linux ELF.
14506 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14507 version_type=linux
14508 need_lib_prefix=no
14509 need_version=no
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 soname_spec='${libname}${release}${shared_ext}$major'
14512 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14513 shlibpath_var=LD_LIBRARY_PATH
14514 shlibpath_overrides_runpath=no
14516 # Some binutils ld are patched to set DT_RUNPATH
14517 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14518 $as_echo_n "(cached) " >&6
14519 else
14520 lt_cv_shlibpath_overrides_runpath=no
14521 save_LDFLAGS=$LDFLAGS
14522 save_libdir=$libdir
14523 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14524 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14525 if test x$gcc_no_link = xyes; then
14526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14532 main ()
14536 return 0;
14538 _ACEOF
14539 if ac_fn_cxx_try_link "$LINENO"; then :
14540 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14541 lt_cv_shlibpath_overrides_runpath=yes
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LDFLAGS=$save_LDFLAGS
14547 libdir=$save_libdir
14551 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14553 # This implies no fast_install, which is unacceptable.
14554 # Some rework will be needed to allow for fast_install
14555 # before this can be enabled.
14556 hardcode_into_libs=yes
14558 # Append ld.so.conf contents to the search path
14559 if test -f /etc/ld.so.conf; then
14560 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' ' '`
14561 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14564 # We used to test for /lib/ld.so.1 and disable shared libraries on
14565 # powerpc, because MkLinux only supported shared libraries with the
14566 # GNU dynamic linker. Since this was broken with cross compilers,
14567 # most powerpc-linux boxes support dynamic linking these days and
14568 # people can always --disable-shared, the test was removed, and we
14569 # assume the GNU/Linux dynamic linker is in use.
14570 dynamic_linker='GNU/Linux ld.so'
14573 netbsd*)
14574 version_type=sunos
14575 need_lib_prefix=no
14576 need_version=no
14577 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14579 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14580 dynamic_linker='NetBSD (a.out) ld.so'
14581 else
14582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14583 soname_spec='${libname}${release}${shared_ext}$major'
14584 dynamic_linker='NetBSD ld.elf_so'
14586 shlibpath_var=LD_LIBRARY_PATH
14587 shlibpath_overrides_runpath=yes
14588 hardcode_into_libs=yes
14591 newsos6)
14592 version_type=linux
14593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14594 shlibpath_var=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath=yes
14598 *nto* | *qnx*)
14599 version_type=qnx
14600 need_lib_prefix=no
14601 need_version=no
14602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14603 soname_spec='${libname}${release}${shared_ext}$major'
14604 shlibpath_var=LD_LIBRARY_PATH
14605 shlibpath_overrides_runpath=no
14606 hardcode_into_libs=yes
14607 dynamic_linker='ldqnx.so'
14610 openbsd*)
14611 version_type=sunos
14612 sys_lib_dlsearch_path_spec="/usr/lib"
14613 need_lib_prefix=no
14614 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14615 case $host_os in
14616 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14617 *) need_version=no ;;
14618 esac
14619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14620 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14621 shlibpath_var=LD_LIBRARY_PATH
14622 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14623 case $host_os in
14624 openbsd2.[89] | openbsd2.[89].*)
14625 shlibpath_overrides_runpath=no
14628 shlibpath_overrides_runpath=yes
14630 esac
14631 else
14632 shlibpath_overrides_runpath=yes
14636 os2*)
14637 libname_spec='$name'
14638 shrext_cmds=".dll"
14639 need_lib_prefix=no
14640 library_names_spec='$libname${shared_ext} $libname.a'
14641 dynamic_linker='OS/2 ld.exe'
14642 shlibpath_var=LIBPATH
14645 osf3* | osf4* | osf5*)
14646 version_type=osf
14647 need_lib_prefix=no
14648 need_version=no
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14651 shlibpath_var=LD_LIBRARY_PATH
14652 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14653 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14656 rdos*)
14657 dynamic_linker=no
14660 solaris*)
14661 version_type=linux
14662 need_lib_prefix=no
14663 need_version=no
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665 soname_spec='${libname}${release}${shared_ext}$major'
14666 shlibpath_var=LD_LIBRARY_PATH
14667 shlibpath_overrides_runpath=yes
14668 hardcode_into_libs=yes
14669 # ldd complains unless libraries are executable
14670 postinstall_cmds='chmod +x $lib'
14673 sunos4*)
14674 version_type=sunos
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14676 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14677 shlibpath_var=LD_LIBRARY_PATH
14678 shlibpath_overrides_runpath=yes
14679 if test "$with_gnu_ld" = yes; then
14680 need_lib_prefix=no
14682 need_version=yes
14685 sysv4 | sysv4.3*)
14686 version_type=linux
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14688 soname_spec='${libname}${release}${shared_ext}$major'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 case $host_vendor in
14691 sni)
14692 shlibpath_overrides_runpath=no
14693 need_lib_prefix=no
14694 runpath_var=LD_RUN_PATH
14696 siemens)
14697 need_lib_prefix=no
14699 motorola)
14700 need_lib_prefix=no
14701 need_version=no
14702 shlibpath_overrides_runpath=no
14703 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14705 esac
14708 sysv4*MP*)
14709 if test -d /usr/nec ;then
14710 version_type=linux
14711 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14712 soname_spec='$libname${shared_ext}.$major'
14713 shlibpath_var=LD_LIBRARY_PATH
14717 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14718 version_type=freebsd-elf
14719 need_lib_prefix=no
14720 need_version=no
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14722 soname_spec='${libname}${release}${shared_ext}$major'
14723 shlibpath_var=LD_LIBRARY_PATH
14724 shlibpath_overrides_runpath=yes
14725 hardcode_into_libs=yes
14726 if test "$with_gnu_ld" = yes; then
14727 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14728 else
14729 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14730 case $host_os in
14731 sco3.2v5*)
14732 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14734 esac
14736 sys_lib_dlsearch_path_spec='/usr/lib'
14739 tpf*)
14740 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14741 version_type=linux
14742 need_lib_prefix=no
14743 need_version=no
14744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=no
14747 hardcode_into_libs=yes
14750 uts4*)
14751 version_type=linux
14752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14753 soname_spec='${libname}${release}${shared_ext}$major'
14754 shlibpath_var=LD_LIBRARY_PATH
14758 dynamic_linker=no
14760 esac
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14762 $as_echo "$dynamic_linker" >&6; }
14763 test "$dynamic_linker" = no && can_build_shared=no
14765 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14766 if test "$GCC" = yes; then
14767 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14770 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14771 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14773 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14774 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14815 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14816 hardcode_action_CXX=
14817 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14818 test -n "$runpath_var_CXX" ||
14819 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14821 # We can hardcode non-existent directories.
14822 if test "$hardcode_direct_CXX" != no &&
14823 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14824 # have to relink, otherwise we might link with an installed library
14825 # when we should be linking with a yet-to-be-installed one
14826 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14827 test "$hardcode_minus_L_CXX" != no; then
14828 # Linking always hardcodes the temporary library directory.
14829 hardcode_action_CXX=relink
14830 else
14831 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14832 hardcode_action_CXX=immediate
14834 else
14835 # We cannot hardcode anything, or else we can only hardcode existing
14836 # directories.
14837 hardcode_action_CXX=unsupported
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14840 $as_echo "$hardcode_action_CXX" >&6; }
14842 if test "$hardcode_action_CXX" = relink ||
14843 test "$inherit_rpath_CXX" = yes; then
14844 # Fast installation is not supported
14845 enable_fast_install=no
14846 elif test "$shlibpath_overrides_runpath" = yes ||
14847 test "$enable_shared" = no; then
14848 # Fast installation is not necessary
14849 enable_fast_install=needless
14858 fi # test -n "$compiler"
14860 CC=$lt_save_CC
14861 LDCXX=$LD
14862 LD=$lt_save_LD
14863 GCC=$lt_save_GCC
14864 with_gnu_ld=$lt_save_with_gnu_ld
14865 lt_cv_path_LDCXX=$lt_cv_path_LD
14866 lt_cv_path_LD=$lt_save_path_LD
14867 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14868 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14869 fi # test "$_lt_caught_CXX_error" != yes
14871 ac_ext=c
14872 ac_cpp='$CPP $CPPFLAGS'
14873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14889 ac_config_commands="$ac_config_commands libtool"
14894 # Only expand once:
14900 case $host in
14901 *-cygwin* | *-mingw*)
14902 # 'host' will be top-level target in the case of a target lib,
14903 # we must compare to with_cross_host to decide if this is a native
14904 # or cross-compiler and select where to install dlls appropriately.
14905 if test -n "$with_cross_host" &&
14906 test x"$with_cross_host" != x"no"; then
14907 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14908 else
14909 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14913 lt_host_flags=
14915 esac
14922 if test "$enable_vtable_verify" = yes; then
14923 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14924 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14928 # libtool variables for C++ shared and position-independent compiles.
14930 # Use glibcxx_lt_pic_flag to designate the automake variable
14931 # used to encapsulate the default libtool approach to creating objects
14932 # with position-independent code. Default: -prefer-pic.
14934 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14935 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14937 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14938 # creating position-independent objects. This varies with the target
14939 # hardware and operating system, but is often: -DPIC -fPIC.
14940 if test "$enable_shared" = yes; then
14941 glibcxx_lt_pic_flag="-prefer-pic"
14942 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14943 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14945 else
14946 glibcxx_lt_pic_flag=
14947 glibcxx_compiler_pic_flag=
14948 glibcxx_compiler_shared_flag=
14954 # Override the libtool's pic_flag and pic_mode.
14955 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14956 # NB: this impacts --with-pic and --without-pic.
14957 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14958 pic_mode='default'
14960 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14961 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14963 # Possibly disable most of the library.
14964 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14965 ## than just ignoring the results. Faster /and/ more correct, win win.
14967 # Check whether --enable-hosted-libstdcxx was given.
14968 if test "${enable_hosted_libstdcxx+set}" = set; then :
14969 enableval=$enable_hosted_libstdcxx;
14970 else
14971 case "$host" in
14972 arm*-*-symbianelf*)
14973 enable_hosted_libstdcxx=no
14976 enable_hosted_libstdcxx=yes
14978 esac
14981 if test "$enable_hosted_libstdcxx" = no; then
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14983 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14984 is_hosted=no
14985 hosted_define=0
14986 enable_abi_check=no
14987 enable_libstdcxx_pch=no
14988 else
14989 is_hosted=yes
14990 hosted_define=1
14994 cat >>confdefs.h <<_ACEOF
14995 #define _GLIBCXX_HOSTED $hosted_define
14996 _ACEOF
15000 # Enable descriptive messages to standard output on termination.
15002 # Check whether --enable-libstdcxx-verbose was given.
15003 if test "${enable_libstdcxx_verbose+set}" = set; then :
15004 enableval=$enable_libstdcxx_verbose;
15005 else
15006 enable_libstdcxx_verbose=yes
15009 if test x"$enable_libstdcxx_verbose" = xyes; then
15010 verbose_define=1
15011 else
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15013 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15014 verbose_define=0
15017 cat >>confdefs.h <<_ACEOF
15018 #define _GLIBCXX_VERBOSE $verbose_define
15019 _ACEOF
15023 # Enable compiler support that doesn't require linking.
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15026 $as_echo_n "checking for exception model to use... " >&6; }
15028 ac_ext=cpp
15029 ac_cpp='$CXXCPP $CPPFLAGS'
15030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15034 # Check whether --enable-sjlj-exceptions was given.
15035 if test "${enable_sjlj_exceptions+set}" = set; then :
15036 enableval=$enable_sjlj_exceptions;
15037 case "$enableval" in
15038 yes|no|auto) ;;
15039 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15040 esac
15042 else
15043 enable_sjlj_exceptions=auto
15048 if test $enable_sjlj_exceptions = auto; then
15049 # Botheration. Now we've got to detect the exception model. Link tests
15050 # against libgcc.a are problematic since we've not been given proper -L
15051 # bits for single-tree newlib and libgloss.
15053 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15054 cat > conftest.$ac_ext << EOF
15055 #line 15055 "configure"
15056 struct S { ~S(); };
15057 void bar();
15058 void foo()
15060 S s;
15061 bar();
15064 old_CXXFLAGS="$CXXFLAGS"
15065 CXXFLAGS=-S
15066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15067 (eval $ac_compile) 2>&5
15068 ac_status=$?
15069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15070 test $ac_status = 0; }; then
15071 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15072 enable_sjlj_exceptions=yes
15073 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15074 enable_sjlj_exceptions=yes
15075 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15076 enable_sjlj_exceptions=no
15077 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15078 enable_sjlj_exceptions=no
15081 CXXFLAGS="$old_CXXFLAGS"
15082 rm -f conftest*
15085 # This is a tad weird, for hysterical raisins. We have to map
15086 # enable/disable to two different models.
15087 case $enable_sjlj_exceptions in
15088 yes)
15090 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15092 ac_exception_model_name=sjlj
15095 ac_exception_model_name="call frame"
15098 as_fn_error "unable to detect exception model" "$LINENO" 5
15100 esac
15101 ac_ext=c
15102 ac_cpp='$CPP $CPPFLAGS'
15103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15108 $as_echo "$ac_exception_model_name" >&6; }
15111 # Check whether --enable-libstdcxx-pch was given.
15112 if test "${enable_libstdcxx_pch+set}" = set; then :
15113 enableval=$enable_libstdcxx_pch;
15114 case "$enableval" in
15115 yes|no) ;;
15116 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15117 esac
15119 else
15120 enable_libstdcxx_pch=$is_hosted
15124 if test $enable_libstdcxx_pch = yes; then
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15126 $as_echo_n "checking for compiler with PCH support... " >&6; }
15127 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15128 $as_echo_n "(cached) " >&6
15129 else
15130 ac_save_CXXFLAGS="$CXXFLAGS"
15131 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15133 ac_ext=cpp
15134 ac_cpp='$CXXCPP $CPPFLAGS'
15135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15139 echo '#include <math.h>' > conftest.h
15140 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15141 -o conftest.h.gch 1>&5 2>&1 &&
15142 echo '#error "pch failed"' > conftest.h &&
15143 echo '#include "conftest.h"' > conftest.cc &&
15144 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15145 then
15146 glibcxx_cv_prog_CXX_pch=yes
15147 else
15148 glibcxx_cv_prog_CXX_pch=no
15150 rm -f conftest*
15151 CXXFLAGS=$ac_save_CXXFLAGS
15152 ac_ext=c
15153 ac_cpp='$CPP $CPPFLAGS'
15154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15161 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15162 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15166 $as_echo_n "checking for enabled PCH... " >&6; }
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15168 $as_echo "$enable_libstdcxx_pch" >&6; }
15171 if test $enable_libstdcxx_pch = yes; then
15172 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15173 else
15174 glibcxx_PCHFLAGS=""
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15180 $as_echo_n "checking for thread model used by GCC... " >&6; }
15181 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15183 $as_echo "$target_thread_file" >&6; }
15185 case $target_thread_file in
15186 aix) thread_header=config/rs6000/gthr-aix.h ;;
15187 dce) thread_header=config/pa/gthr-dce.h ;;
15188 lynx) thread_header=config/gthr-lynx.h ;;
15189 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15190 posix) thread_header=gthr-posix.h ;;
15191 rtems) thread_header=config/gthr-rtems.h ;;
15192 single) thread_header=gthr-single.h ;;
15193 tpf) thread_header=config/s390/gthr-tpf.h ;;
15194 vxworks) thread_header=config/gthr-vxworks.h ;;
15195 win32) thread_header=config/i386/gthr-win32.h ;;
15196 esac
15202 ac_ext=cpp
15203 ac_cpp='$CXXCPP $CPPFLAGS'
15204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15208 old_CXXFLAGS="$CXXFLAGS"
15210 # Do link tests if possible, instead asm tests, limited to some platforms
15211 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15212 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15213 atomic_builtins_link_tests=no
15214 if test x$gcc_no_link != xyes; then
15215 # Can do link tests. Limit to some tested platforms
15216 case "$host" in
15217 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15218 atomic_builtins_link_tests=yes
15220 esac
15223 if test x$atomic_builtins_link_tests = xyes; then
15225 # Do link tests.
15227 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15230 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15231 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15232 $as_echo_n "(cached) " >&6
15233 else
15235 if test x$gcc_no_link = xyes; then
15236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h. */
15242 main ()
15244 typedef bool atomic_type;
15245 atomic_type c1;
15246 atomic_type c2;
15247 atomic_type c3(0);
15248 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15249 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15250 __ATOMIC_RELAXED);
15251 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15252 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15255 return 0;
15257 _ACEOF
15258 if ac_fn_cxx_try_link "$LINENO"; then :
15259 glibcxx_cv_atomic_bool=yes
15260 else
15261 glibcxx_cv_atomic_bool=no
15263 rm -f core conftest.err conftest.$ac_objext \
15264 conftest$ac_exeext conftest.$ac_ext
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15269 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15272 $as_echo_n "checking for atomic builtins for short... " >&6; }
15273 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15274 $as_echo_n "(cached) " >&6
15275 else
15277 if test x$gcc_no_link = xyes; then
15278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15284 main ()
15286 typedef short atomic_type;
15287 atomic_type c1;
15288 atomic_type c2;
15289 atomic_type c3(0);
15290 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15291 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15292 __ATOMIC_RELAXED);
15293 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15294 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15297 return 0;
15299 _ACEOF
15300 if ac_fn_cxx_try_link "$LINENO"; then :
15301 glibcxx_cv_atomic_short=yes
15302 else
15303 glibcxx_cv_atomic_short=no
15305 rm -f core conftest.err conftest.$ac_objext \
15306 conftest$ac_exeext conftest.$ac_ext
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15311 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15314 $as_echo_n "checking for atomic builtins for int... " >&6; }
15315 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15316 $as_echo_n "(cached) " >&6
15317 else
15319 if test x$gcc_no_link = xyes; then
15320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15326 main ()
15328 typedef int atomic_type;
15329 atomic_type c1;
15330 atomic_type c2;
15331 atomic_type c3(0);
15332 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15333 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15334 __ATOMIC_RELAXED);
15335 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15336 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15339 return 0;
15341 _ACEOF
15342 if ac_fn_cxx_try_link "$LINENO"; then :
15343 glibcxx_cv_atomic_int=yes
15344 else
15345 glibcxx_cv_atomic_int=no
15347 rm -f core conftest.err conftest.$ac_objext \
15348 conftest$ac_exeext conftest.$ac_ext
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15353 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15356 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15357 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15361 if test x$gcc_no_link = xyes; then
15362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15368 main ()
15370 typedef long long atomic_type;
15371 atomic_type c1;
15372 atomic_type c2;
15373 atomic_type c3(0);
15374 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15375 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15376 __ATOMIC_RELAXED);
15377 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15378 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15381 return 0;
15383 _ACEOF
15384 if ac_fn_cxx_try_link "$LINENO"; then :
15385 glibcxx_cv_atomic_long_long=yes
15386 else
15387 glibcxx_cv_atomic_long_long=no
15389 rm -f core conftest.err conftest.$ac_objext \
15390 conftest$ac_exeext conftest.$ac_ext
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15395 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15397 else
15399 # Do asm tests.
15401 # Compile unoptimized.
15402 CXXFLAGS='-O0 -S'
15404 # Fake what AC_TRY_COMPILE does.
15406 cat > conftest.$ac_ext << EOF
15407 #line 15407 "configure"
15408 int main()
15410 typedef bool atomic_type;
15411 atomic_type c1;
15412 atomic_type c2;
15413 atomic_type c3(0);
15414 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15415 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15416 __ATOMIC_RELAXED);
15417 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15418 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15420 return 0;
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15425 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15427 (eval $ac_compile) 2>&5
15428 ac_status=$?
15429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15430 test $ac_status = 0; }; then
15431 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15432 glibcxx_cv_atomic_bool=no
15433 else
15434 glibcxx_cv_atomic_bool=yes
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15438 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15439 rm -f conftest*
15441 cat > conftest.$ac_ext << EOF
15442 #line 15442 "configure"
15443 int main()
15445 typedef short atomic_type;
15446 atomic_type c1;
15447 atomic_type c2;
15448 atomic_type c3(0);
15449 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15450 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15451 __ATOMIC_RELAXED);
15452 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15453 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15455 return 0;
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15460 $as_echo_n "checking for atomic builtins for short... " >&6; }
15461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15462 (eval $ac_compile) 2>&5
15463 ac_status=$?
15464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15465 test $ac_status = 0; }; then
15466 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15467 glibcxx_cv_atomic_short=no
15468 else
15469 glibcxx_cv_atomic_short=yes
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15473 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15474 rm -f conftest*
15476 cat > conftest.$ac_ext << EOF
15477 #line 15477 "configure"
15478 int main()
15480 // NB: _Atomic_word not necessarily int.
15481 typedef int atomic_type;
15482 atomic_type c1;
15483 atomic_type c2;
15484 atomic_type c3(0);
15485 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15486 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15487 __ATOMIC_RELAXED);
15488 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15489 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15491 return 0;
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15496 $as_echo_n "checking for atomic builtins for int... " >&6; }
15497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15498 (eval $ac_compile) 2>&5
15499 ac_status=$?
15500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15501 test $ac_status = 0; }; then
15502 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15503 glibcxx_cv_atomic_int=no
15504 else
15505 glibcxx_cv_atomic_int=yes
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15509 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15510 rm -f conftest*
15512 cat > conftest.$ac_ext << EOF
15513 #line 15513 "configure"
15514 int main()
15516 typedef long long atomic_type;
15517 atomic_type c1;
15518 atomic_type c2;
15519 atomic_type c3(0);
15520 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15521 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15522 __ATOMIC_RELAXED);
15523 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15524 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15526 return 0;
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15531 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15533 (eval $ac_compile) 2>&5
15534 ac_status=$?
15535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15536 test $ac_status = 0; }; then
15537 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15538 glibcxx_cv_atomic_long_long=no
15539 else
15540 glibcxx_cv_atomic_long_long=yes
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15544 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15545 rm -f conftest*
15549 CXXFLAGS="$old_CXXFLAGS"
15550 ac_ext=c
15551 ac_cpp='$CPP $CPPFLAGS'
15552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15557 # Set atomicity_dir to builtins if all but the long long test above passes.
15558 if test $glibcxx_cv_atomic_bool = yes \
15559 && test $glibcxx_cv_atomic_short = yes \
15560 && test $glibcxx_cv_atomic_int = yes; then
15562 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15564 atomicity_dir=cpu/generic/atomicity_builtins
15567 # If still generic, set to mutex.
15568 if test $atomicity_dir = "cpu/generic" ; then
15569 atomicity_dir=cpu/generic/atomicity_mutex
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15571 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15572 if test "x$target_thread_file" = xsingle; then
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15574 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15576 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15577 else
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15579 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15581 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15588 # Fake what AC_TRY_COMPILE does, without linking as this is
15589 # unnecessary for this test.
15591 cat > conftest.$ac_ext << EOF
15592 #line 15592 "configure"
15593 int main()
15595 _Decimal32 d1;
15596 _Decimal64 d2;
15597 _Decimal128 d3;
15598 return 0;
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15603 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15605 (eval $ac_compile) 2>&5
15606 ac_status=$?
15607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15608 test $ac_status = 0; }; then
15610 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15612 enable_dfp=yes
15613 else
15614 enable_dfp=no
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15617 $as_echo "$enable_dfp" >&6; }
15618 rm -f conftest*
15623 ac_ext=cpp
15624 ac_cpp='$CXXCPP $CPPFLAGS'
15625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15630 # Fake what AC_TRY_COMPILE does, without linking as this is
15631 # unnecessary for this test.
15633 cat > conftest.$ac_ext << EOF
15634 #line 15634 "configure"
15635 template<typename T1, typename T2>
15636 struct same
15637 { typedef T2 type; };
15639 template<typename T>
15640 struct same<T, T>;
15642 int main()
15644 typename same<long, __int128>::type i1;
15645 typename same<long long, __int128>::type i2;
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15650 $as_echo_n "checking for __int128... " >&6; }
15651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15652 (eval $ac_compile) 2>&5
15653 ac_status=$?
15654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15655 test $ac_status = 0; }; then
15657 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15659 enable_int128=yes
15660 else
15661 enable_int128=no
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15664 $as_echo "$enable_int128" >&6; }
15665 rm -f conftest*
15667 cat > conftest.$ac_ext << EOF
15668 #line 15668 "configure"
15669 template<typename T1, typename T2>
15670 struct same
15671 { typedef T2 type; };
15673 template<typename T>
15674 struct same<T, T>;
15676 int main()
15678 typename same<double, __float128>::type f1;
15679 typename same<long double, __float128>::type f2;
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15684 $as_echo_n "checking for __float128... " >&6; }
15685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15686 (eval $ac_compile) 2>&5
15687 ac_status=$?
15688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15689 test $ac_status = 0; }; then
15691 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15693 enable_float128=yes
15694 else
15695 enable_float128=no
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15698 $as_echo "$enable_float128" >&6; }
15699 rm -f conftest*
15701 ac_ext=c
15702 ac_cpp='$CPP $CPPFLAGS'
15703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15709 # Checks for compiler support that doesn't require linking.
15711 # All these tests are for C++; save the language and the compiler flags.
15712 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15713 # found in GLIBCXX_CONFIGURE.
15715 ac_ext=cpp
15716 ac_cpp='$CXXCPP $CPPFLAGS'
15717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15721 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15722 ac_save_CXXFLAGS="$CXXFLAGS"
15724 # Check for maintainer-mode bits.
15725 if test x"$USE_MAINTAINER_MODE" = xno; then
15726 WERROR=''
15727 else
15728 WERROR='-Werror'
15731 # Check for -ffunction-sections -fdata-sections
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15733 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15734 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 int foo; void bar() { };
15739 main ()
15743 return 0;
15745 _ACEOF
15746 if ac_fn_cxx_try_compile "$LINENO"; then :
15747 ac_fdsections=yes
15748 else
15749 ac_fdsections=no
15751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15752 if test "$ac_test_CXXFLAGS" = set; then
15753 CXXFLAGS="$ac_save_CXXFLAGS"
15754 else
15755 # this is the suspicious part
15756 CXXFLAGS=''
15758 if test x"$ac_fdsections" = x"yes"; then
15759 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15762 $as_echo "$ac_fdsections" >&6; }
15764 ac_ext=c
15765 ac_cpp='$CPP $CPPFLAGS'
15766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15774 # Enable all the variable C++ runtime options that don't require linking.
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15777 $as_echo_n "checking for underlying I/O to use... " >&6; }
15778 # Check whether --enable-cstdio was given.
15779 if test "${enable_cstdio+set}" = set; then :
15780 enableval=$enable_cstdio;
15781 case "$enableval" in
15782 stdio) ;;
15783 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15784 esac
15786 else
15787 enable_cstdio=stdio
15792 # Now that libio has been removed, you can have any color you want as long
15793 # as it's black. This is one big no-op until other packages are added, but
15794 # showing the framework never hurts.
15795 case ${enable_cstdio} in
15796 stdio)
15797 CSTDIO_H=config/io/c_io_stdio.h
15798 BASIC_FILE_H=config/io/basic_file_stdio.h
15799 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15801 $as_echo "stdio" >&6; }
15803 esac
15810 # Check whether --enable-clocale was given.
15811 if test "${enable_clocale+set}" = set; then :
15812 enableval=$enable_clocale;
15813 case "$enableval" in
15814 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15815 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15816 esac
15818 else
15819 enable_clocale=auto
15824 # Deal with gettext issues. Default to not using it (=no) until we detect
15825 # support for it later. Let the user turn it off via --e/d, but let that
15826 # default to on for easier handling.
15827 USE_NLS=no
15828 # Check whether --enable-nls was given.
15829 if test "${enable_nls+set}" = set; then :
15830 enableval=$enable_nls;
15831 else
15832 enable_nls=yes
15836 # Either a known package, or "auto"
15837 if test $enable_clocale = no || test $enable_clocale = yes; then
15838 enable_clocale=auto
15840 enable_clocale_flag=$enable_clocale
15842 # Probe for locale model to use if none specified.
15843 # Default to "generic".
15844 if test $enable_clocale_flag = auto; then
15845 case ${target_os} in
15846 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15847 enable_clocale_flag=gnu
15849 darwin* | freebsd*)
15850 enable_clocale_flag=darwin
15852 openbsd*)
15853 enable_clocale_flag=newlib
15856 if test x"$with_newlib" = x"yes"; then
15857 enable_clocale_flag=newlib
15858 else
15859 enable_clocale_flag=generic
15862 esac
15865 # Sanity check model, and test for special functionality.
15866 if test $enable_clocale_flag = gnu; then
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15870 #include <features.h>
15871 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15872 _GLIBCXX_ok
15873 #endif
15875 _ACEOF
15876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15877 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15878 enable_clocale_flag=gnu
15879 else
15880 enable_clocale_flag=generic
15882 rm -f conftest*
15885 # Set it to scream when it hurts.
15886 ac_save_CFLAGS="$CFLAGS"
15887 CFLAGS="-Wimplicit-function-declaration -Werror"
15889 # Use strxfrm_l if available.
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #define _GNU_SOURCE 1
15893 #include <string.h>
15894 #include <locale.h>
15896 main ()
15898 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15905 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 # Use strerror_l if available.
15911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15912 /* end confdefs.h. */
15913 #define _GNU_SOURCE 1
15914 #include <string.h>
15915 #include <locale.h>
15917 main ()
15919 __locale_t loc; strerror_l(5, loc);
15921 return 0;
15923 _ACEOF
15924 if ac_fn_c_try_compile "$LINENO"; then :
15926 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15931 CFLAGS="$ac_save_CFLAGS"
15934 # Perhaps use strerror_r if available, and strerror_l isn't.
15935 ac_save_CFLAGS="$CFLAGS"
15936 CFLAGS="-Wimplicit-function-declaration -Werror"
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15939 #define _GNU_SOURCE 1
15940 #include <string.h>
15941 #include <locale.h>
15943 main ()
15945 char s[128]; strerror_r(5, s, 128);
15947 return 0;
15949 _ACEOF
15950 if ac_fn_c_try_compile "$LINENO"; then :
15952 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15956 CFLAGS="$ac_save_CFLAGS"
15958 # Set configure bits for specified locale package
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15960 $as_echo_n "checking for C locale to use... " >&6; }
15961 case ${enable_clocale_flag} in
15962 generic)
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15964 $as_echo "generic" >&6; }
15966 CLOCALE_H=config/locale/generic/c_locale.h
15967 CLOCALE_CC=config/locale/generic/c_locale.cc
15968 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15969 CCOLLATE_CC=config/locale/generic/collate_members.cc
15970 CCTYPE_CC=config/locale/generic/ctype_members.cc
15971 CMESSAGES_H=config/locale/generic/messages_members.h
15972 CMESSAGES_CC=config/locale/generic/messages_members.cc
15973 CMONEY_CC=config/locale/generic/monetary_members.cc
15974 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15975 CTIME_H=config/locale/generic/time_members.h
15976 CTIME_CC=config/locale/generic/time_members.cc
15977 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15979 darwin)
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15981 $as_echo "darwin or freebsd" >&6; }
15983 CLOCALE_H=config/locale/generic/c_locale.h
15984 CLOCALE_CC=config/locale/generic/c_locale.cc
15985 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15986 CCOLLATE_CC=config/locale/generic/collate_members.cc
15987 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15988 CMESSAGES_H=config/locale/generic/messages_members.h
15989 CMESSAGES_CC=config/locale/generic/messages_members.cc
15990 CMONEY_CC=config/locale/generic/monetary_members.cc
15991 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15992 CTIME_H=config/locale/generic/time_members.h
15993 CTIME_CC=config/locale/generic/time_members.cc
15994 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15997 gnu)
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15999 $as_echo "gnu" >&6; }
16001 # Declare intention to use gettext, and add support for specific
16002 # languages.
16003 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16004 ALL_LINGUAS="de fr"
16006 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16007 # Extract the first word of "msgfmt", so it can be a program name with args.
16008 set dummy msgfmt; ac_word=$2
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16010 $as_echo_n "checking for $ac_word... " >&6; }
16011 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16012 $as_echo_n "(cached) " >&6
16013 else
16014 if test -n "$check_msgfmt"; then
16015 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16016 else
16017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16018 for as_dir in $PATH
16020 IFS=$as_save_IFS
16021 test -z "$as_dir" && as_dir=.
16022 for ac_exec_ext in '' $ac_executable_extensions; do
16023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16024 ac_cv_prog_check_msgfmt="yes"
16025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16026 break 2
16028 done
16029 done
16030 IFS=$as_save_IFS
16032 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16035 check_msgfmt=$ac_cv_prog_check_msgfmt
16036 if test -n "$check_msgfmt"; then
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16038 $as_echo "$check_msgfmt" >&6; }
16039 else
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16041 $as_echo "no" >&6; }
16045 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16046 USE_NLS=yes
16048 # Export the build objects.
16049 for ling in $ALL_LINGUAS; do \
16050 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16051 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16052 done
16056 CLOCALE_H=config/locale/gnu/c_locale.h
16057 CLOCALE_CC=config/locale/gnu/c_locale.cc
16058 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16059 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16060 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16061 CMESSAGES_H=config/locale/gnu/messages_members.h
16062 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16063 CMONEY_CC=config/locale/gnu/monetary_members.cc
16064 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16065 CTIME_H=config/locale/gnu/time_members.h
16066 CTIME_CC=config/locale/gnu/time_members.cc
16067 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16069 ieee_1003.1-2001)
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16071 $as_echo "IEEE 1003.1" >&6; }
16073 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16074 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16075 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16076 CCOLLATE_CC=config/locale/generic/collate_members.cc
16077 CCTYPE_CC=config/locale/generic/ctype_members.cc
16078 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16079 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16080 CMONEY_CC=config/locale/generic/monetary_members.cc
16081 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16082 CTIME_H=config/locale/generic/time_members.h
16083 CTIME_CC=config/locale/generic/time_members.cc
16084 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16086 newlib)
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16088 $as_echo "newlib" >&6; }
16090 CLOCALE_H=config/locale/generic/c_locale.h
16091 CLOCALE_CC=config/locale/generic/c_locale.cc
16092 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16093 CCOLLATE_CC=config/locale/generic/collate_members.cc
16094 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16095 CMESSAGES_H=config/locale/generic/messages_members.h
16096 CMESSAGES_CC=config/locale/generic/messages_members.cc
16097 CMONEY_CC=config/locale/generic/monetary_members.cc
16098 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16099 CTIME_H=config/locale/generic/time_members.h
16100 CTIME_CC=config/locale/generic/time_members.cc
16101 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16103 esac
16105 # This is where the testsuite looks for locale catalogs, using the
16106 # -DLOCALEDIR define during testsuite compilation.
16107 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16110 # A standalone libintl (e.g., GNU libintl) may be in use.
16111 if test $USE_NLS = yes; then
16112 for ac_header in libintl.h
16113 do :
16114 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16115 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_LIBINTL_H 1
16118 _ACEOF
16120 else
16121 USE_NLS=no
16124 done
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16127 $as_echo_n "checking for library containing gettext... " >&6; }
16128 if test "${ac_cv_search_gettext+set}" = set; then :
16129 $as_echo_n "(cached) " >&6
16130 else
16131 ac_func_search_save_LIBS=$LIBS
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16135 /* Override any GCC internal prototype to avoid an error.
16136 Use char because int might match the return type of a GCC
16137 builtin and then its argument prototype would still apply. */
16138 #ifdef __cplusplus
16139 extern "C"
16140 #endif
16141 char gettext ();
16143 main ()
16145 return gettext ();
16147 return 0;
16149 _ACEOF
16150 for ac_lib in '' intl; do
16151 if test -z "$ac_lib"; then
16152 ac_res="none required"
16153 else
16154 ac_res=-l$ac_lib
16155 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16157 if test x$gcc_no_link = xyes; then
16158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16160 if ac_fn_c_try_link "$LINENO"; then :
16161 ac_cv_search_gettext=$ac_res
16163 rm -f core conftest.err conftest.$ac_objext \
16164 conftest$ac_exeext
16165 if test "${ac_cv_search_gettext+set}" = set; then :
16166 break
16168 done
16169 if test "${ac_cv_search_gettext+set}" = set; then :
16171 else
16172 ac_cv_search_gettext=no
16174 rm conftest.$ac_ext
16175 LIBS=$ac_func_search_save_LIBS
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16178 $as_echo "$ac_cv_search_gettext" >&6; }
16179 ac_res=$ac_cv_search_gettext
16180 if test "$ac_res" != no; then :
16181 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16183 else
16184 USE_NLS=no
16188 if test $USE_NLS = yes; then
16190 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16210 $as_echo_n "checking for std::allocator base class... " >&6; }
16211 # Check whether --enable-libstdcxx-allocator was given.
16212 if test "${enable_libstdcxx_allocator+set}" = set; then :
16213 enableval=$enable_libstdcxx_allocator;
16214 case "$enableval" in
16215 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16216 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16217 esac
16219 else
16220 enable_libstdcxx_allocator=auto
16225 # If they didn't use this option switch, or if they specified --enable
16226 # with no specific model, we'll have to look for one. If they
16227 # specified --disable (???), do likewise.
16228 if test $enable_libstdcxx_allocator = no ||
16229 test $enable_libstdcxx_allocator = yes;
16230 then
16231 enable_libstdcxx_allocator=auto
16234 # Either a known package, or "auto". Auto implies the default choice
16235 # for a particular platform.
16236 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16238 # Probe for host-specific support if no specific model is specified.
16239 # Default to "new".
16240 if test $enable_libstdcxx_allocator_flag = auto; then
16241 case ${target_os} in
16242 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16243 enable_libstdcxx_allocator_flag=new
16246 enable_libstdcxx_allocator_flag=new
16248 esac
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16251 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16254 # Set configure bits for specified locale package
16255 case ${enable_libstdcxx_allocator_flag} in
16256 bitmap)
16257 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16258 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16260 malloc)
16261 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16262 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16265 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16266 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16268 new)
16269 ALLOCATOR_H=config/allocator/new_allocator_base.h
16270 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16272 pool)
16273 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16274 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16276 esac
16282 # Check whether --enable-cheaders was given.
16283 if test "${enable_cheaders+set}" = set; then :
16284 enableval=$enable_cheaders;
16285 case "$enableval" in
16286 c|c_std|c_global) ;;
16287 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16288 esac
16290 else
16291 enable_cheaders=$c_model
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16296 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16298 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16300 # Allow overrides to configure.host here.
16301 if test $enable_cheaders = c_global; then
16302 c_compatibility=yes
16311 # Check whether --enable-long-long was given.
16312 if test "${enable_long_long+set}" = set; then :
16313 enableval=$enable_long_long;
16314 case "$enableval" in
16315 yes|no) ;;
16316 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16317 esac
16319 else
16320 enable_long_long=yes
16324 if test $enable_long_long = yes; then
16326 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16330 $as_echo_n "checking for enabled long long specializations... " >&6; }
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16332 $as_echo "$enable_long_long" >&6; }
16335 # Check whether --enable-wchar_t was given.
16336 if test "${enable_wchar_t+set}" = set; then :
16337 enableval=$enable_wchar_t;
16338 case "$enableval" in
16339 yes|no) ;;
16340 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16341 esac
16343 else
16344 enable_wchar_t=yes
16349 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16350 for ac_header in wchar.h
16351 do :
16352 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16353 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16354 cat >>confdefs.h <<_ACEOF
16355 #define HAVE_WCHAR_H 1
16356 _ACEOF
16357 ac_has_wchar_h=yes
16358 else
16359 ac_has_wchar_h=no
16362 done
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16365 $as_echo_n "checking for mbstate_t... " >&6; }
16366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16367 /* end confdefs.h. */
16368 #include <wchar.h>
16370 main ()
16372 mbstate_t teststate;
16374 return 0;
16376 _ACEOF
16377 if ac_fn_c_try_compile "$LINENO"; then :
16378 have_mbstate_t=yes
16379 else
16380 have_mbstate_t=no
16382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16384 $as_echo "$have_mbstate_t" >&6; }
16385 if test x"$have_mbstate_t" = xyes; then
16387 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16391 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16392 # ac_has_wchar_h.
16393 for ac_header in wctype.h
16394 do :
16395 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16396 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16397 cat >>confdefs.h <<_ACEOF
16398 #define HAVE_WCTYPE_H 1
16399 _ACEOF
16400 ac_has_wctype_h=yes
16401 else
16402 ac_has_wctype_h=no
16405 done
16408 if test x"$enable_wchar_t" = x"yes"; then
16411 ac_ext=cpp
16412 ac_cpp='$CXXCPP $CPPFLAGS'
16413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16418 if test x"$ac_has_wchar_h" = xyes &&
16419 test x"$ac_has_wctype_h" = xyes; then
16420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16422 #include <wchar.h>
16423 #include <stddef.h>
16424 wint_t i;
16425 long l = WEOF;
16426 long j = WCHAR_MIN;
16427 long k = WCHAR_MAX;
16428 namespace test
16430 using ::btowc;
16431 using ::fgetwc;
16432 using ::fgetws;
16433 using ::fputwc;
16434 using ::fputws;
16435 using ::fwide;
16436 using ::fwprintf;
16437 using ::fwscanf;
16438 using ::getwc;
16439 using ::getwchar;
16440 using ::mbrlen;
16441 using ::mbrtowc;
16442 using ::mbsinit;
16443 using ::mbsrtowcs;
16444 using ::putwc;
16445 using ::putwchar;
16446 using ::swprintf;
16447 using ::swscanf;
16448 using ::ungetwc;
16449 using ::vfwprintf;
16450 using ::vswprintf;
16451 using ::vwprintf;
16452 using ::wcrtomb;
16453 using ::wcscat;
16454 using ::wcschr;
16455 using ::wcscmp;
16456 using ::wcscoll;
16457 using ::wcscpy;
16458 using ::wcscspn;
16459 using ::wcsftime;
16460 using ::wcslen;
16461 using ::wcsncat;
16462 using ::wcsncmp;
16463 using ::wcsncpy;
16464 using ::wcspbrk;
16465 using ::wcsrchr;
16466 using ::wcsrtombs;
16467 using ::wcsspn;
16468 using ::wcsstr;
16469 using ::wcstod;
16470 using ::wcstok;
16471 using ::wcstol;
16472 using ::wcstoul;
16473 using ::wcsxfrm;
16474 using ::wctob;
16475 using ::wmemchr;
16476 using ::wmemcmp;
16477 using ::wmemcpy;
16478 using ::wmemmove;
16479 using ::wmemset;
16480 using ::wprintf;
16481 using ::wscanf;
16485 main ()
16489 return 0;
16491 _ACEOF
16492 if ac_fn_cxx_try_compile "$LINENO"; then :
16494 else
16495 enable_wchar_t=no
16497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16498 else
16499 enable_wchar_t=no
16502 ac_ext=c
16503 ac_cpp='$CPP $CPPFLAGS'
16504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16510 if test x"$enable_wchar_t" = x"yes"; then
16512 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16517 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16519 $as_echo "$enable_wchar_t" >&6; }
16523 # Check whether --enable-c99 was given.
16524 if test "${enable_c99+set}" = set; then :
16525 enableval=$enable_c99;
16526 case "$enableval" in
16527 yes|no) ;;
16528 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16529 esac
16531 else
16532 enable_c99=yes
16537 if test x"$enable_c99" = x"yes"; then
16540 ac_ext=cpp
16541 ac_cpp='$CXXCPP $CPPFLAGS'
16542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16547 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16548 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16549 # spuriously enabled.
16550 # Long term, -std=c++0x could be even better, could manage to explicitly
16551 # request C99 facilities to the underlying C headers.
16552 ac_save_CXXFLAGS="$CXXFLAGS"
16553 CXXFLAGS="$CXXFLAGS -std=c++98"
16554 ac_save_LIBS="$LIBS"
16555 ac_save_gcc_no_link="$gcc_no_link"
16557 if test x$gcc_no_link != xyes; then
16558 # Use -fno-exceptions to that the C driver can link these tests without
16559 # hitting undefined references to personality routines.
16560 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16562 $as_echo_n "checking for sin in -lm... " >&6; }
16563 if test "${ac_cv_lib_m_sin+set}" = set; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16566 ac_check_lib_save_LIBS=$LIBS
16567 LIBS="-lm $LIBS"
16568 if test x$gcc_no_link = xyes; then
16569 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16574 /* Override any GCC internal prototype to avoid an error.
16575 Use char because int might match the return type of a GCC
16576 builtin and then its argument prototype would still apply. */
16577 #ifdef __cplusplus
16578 extern "C"
16579 #endif
16580 char sin ();
16582 main ()
16584 return sin ();
16586 return 0;
16588 _ACEOF
16589 if ac_fn_cxx_try_link "$LINENO"; then :
16590 ac_cv_lib_m_sin=yes
16591 else
16592 ac_cv_lib_m_sin=no
16594 rm -f core conftest.err conftest.$ac_objext \
16595 conftest$ac_exeext conftest.$ac_ext
16596 LIBS=$ac_check_lib_save_LIBS
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16599 $as_echo "$ac_cv_lib_m_sin" >&6; }
16600 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16602 LIBS="$LIBS -lm"
16604 else
16606 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16607 gcc_no_link=yes
16613 # Check for the existence of <math.h> functions used if C99 is enabled.
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16615 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16616 if test "${glibcxx_cv_c99_math+set}" = set; then :
16617 $as_echo_n "(cached) " >&6
16618 else
16620 if test x$gcc_no_link = xyes; then
16621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16623 #include <math.h>
16624 volatile double d1, d2;
16625 volatile int i;
16627 main ()
16629 i = fpclassify(d1);
16630 i = isfinite(d1);
16631 i = isinf(d1);
16632 i = isnan(d1);
16633 i = isnormal(d1);
16634 i = signbit(d1);
16635 i = isgreater(d1, d2);
16636 i = isgreaterequal(d1, d2);
16637 i = isless(d1, d2);
16638 i = islessequal(d1, d2);
16639 i = islessgreater(d1, d2);
16640 i = islessgreater(d1, d2);
16641 i = isunordered(d1, d2);
16644 return 0;
16646 _ACEOF
16647 if ac_fn_cxx_try_compile "$LINENO"; then :
16648 glibcxx_cv_c99_math=yes
16649 else
16650 glibcxx_cv_c99_math=no
16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16653 else
16654 if test x$gcc_no_link = xyes; then
16655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16659 #include <math.h>
16660 volatile double d1, d2;
16661 volatile int i;
16663 main ()
16665 i = fpclassify(d1);
16666 i = isfinite(d1);
16667 i = isinf(d1);
16668 i = isnan(d1);
16669 i = isnormal(d1);
16670 i = signbit(d1);
16671 i = isgreater(d1, d2);
16672 i = isgreaterequal(d1, d2);
16673 i = isless(d1, d2);
16674 i = islessequal(d1, d2);
16675 i = islessgreater(d1, d2);
16676 i = islessgreater(d1, d2);
16677 i = isunordered(d1, d2);
16680 return 0;
16682 _ACEOF
16683 if ac_fn_cxx_try_link "$LINENO"; then :
16684 glibcxx_cv_c99_math=yes
16685 else
16686 glibcxx_cv_c99_math=no
16688 rm -f core conftest.err conftest.$ac_objext \
16689 conftest$ac_exeext conftest.$ac_ext
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16695 $as_echo "$glibcxx_cv_c99_math" >&6; }
16696 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16698 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16702 # Check for the existence of <complex.h> complex math functions.
16703 # This is necessary even though libstdc++ uses the builtin versions
16704 # of these functions, because if the builtin cannot be used, a reference
16705 # to the library function is emitted.
16706 for ac_header in tgmath.h
16707 do :
16708 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16709 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_TGMATH_H 1
16712 _ACEOF
16713 ac_has_tgmath_h=yes
16714 else
16715 ac_has_tgmath_h=no
16718 done
16720 for ac_header in complex.h
16721 do :
16722 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16723 if test "x$ac_cv_header_complex_h" = x""yes; then :
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_COMPLEX_H 1
16726 _ACEOF
16727 ac_has_complex_h=yes
16728 else
16729 ac_has_complex_h=no
16732 done
16734 glibcxx_cv_c99_complex=no;
16735 if test x"$ac_has_complex_h" = x"yes"; then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16737 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16738 if test x$gcc_no_link = xyes; then
16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16741 #include <complex.h>
16742 typedef __complex__ float float_type;
16743 typedef __complex__ double double_type;
16744 typedef __complex__ long double ld_type;
16745 volatile float_type tmpf;
16746 volatile double_type tmpd;
16747 volatile ld_type tmpld;
16748 volatile float f;
16749 volatile double d;
16750 volatile long double ld;
16752 main ()
16754 f = cabsf(tmpf);
16755 f = cargf(tmpf);
16756 tmpf = ccosf(tmpf);
16757 tmpf = ccoshf(tmpf);
16758 tmpf = cexpf(tmpf);
16759 tmpf = clogf(tmpf);
16760 tmpf = csinf(tmpf);
16761 tmpf = csinhf(tmpf);
16762 tmpf = csqrtf(tmpf);
16763 tmpf = ctanf(tmpf);
16764 tmpf = ctanhf(tmpf);
16765 tmpf = cpowf(tmpf, tmpf);
16766 tmpf = cprojf(tmpf);
16767 d = cabs(tmpd);
16768 d = carg(tmpd);
16769 tmpd = ccos(tmpd);
16770 tmpd = ccosh(tmpd);
16771 tmpd = cexp(tmpd);
16772 tmpd = clog(tmpd);
16773 tmpd = csin(tmpd);
16774 tmpd = csinh(tmpd);
16775 tmpd = csqrt(tmpd);
16776 tmpd = ctan(tmpd);
16777 tmpd = ctanh(tmpd);
16778 tmpd = cpow(tmpd, tmpd);
16779 tmpd = cproj(tmpd);
16780 ld = cabsl(tmpld);
16781 ld = cargl(tmpld);
16782 tmpld = ccosl(tmpld);
16783 tmpld = ccoshl(tmpld);
16784 tmpld = cexpl(tmpld);
16785 tmpld = clogl(tmpld);
16786 tmpld = csinl(tmpld);
16787 tmpld = csinhl(tmpld);
16788 tmpld = csqrtl(tmpld);
16789 tmpld = ctanl(tmpld);
16790 tmpld = ctanhl(tmpld);
16791 tmpld = cpowl(tmpld, tmpld);
16792 tmpld = cprojl(tmpld);
16795 return 0;
16797 _ACEOF
16798 if ac_fn_cxx_try_compile "$LINENO"; then :
16799 glibcxx_cv_c99_complex=yes
16800 else
16801 glibcxx_cv_c99_complex=no
16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16804 else
16805 if test x$gcc_no_link = xyes; then
16806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16810 #include <complex.h>
16811 typedef __complex__ float float_type;
16812 typedef __complex__ double double_type;
16813 typedef __complex__ long double ld_type;
16814 volatile float_type tmpf;
16815 volatile double_type tmpd;
16816 volatile ld_type tmpld;
16817 volatile float f;
16818 volatile double d;
16819 volatile long double ld;
16821 main ()
16823 f = cabsf(tmpf);
16824 f = cargf(tmpf);
16825 tmpf = ccosf(tmpf);
16826 tmpf = ccoshf(tmpf);
16827 tmpf = cexpf(tmpf);
16828 tmpf = clogf(tmpf);
16829 tmpf = csinf(tmpf);
16830 tmpf = csinhf(tmpf);
16831 tmpf = csqrtf(tmpf);
16832 tmpf = ctanf(tmpf);
16833 tmpf = ctanhf(tmpf);
16834 tmpf = cpowf(tmpf, tmpf);
16835 tmpf = cprojf(tmpf);
16836 d = cabs(tmpd);
16837 d = carg(tmpd);
16838 tmpd = ccos(tmpd);
16839 tmpd = ccosh(tmpd);
16840 tmpd = cexp(tmpd);
16841 tmpd = clog(tmpd);
16842 tmpd = csin(tmpd);
16843 tmpd = csinh(tmpd);
16844 tmpd = csqrt(tmpd);
16845 tmpd = ctan(tmpd);
16846 tmpd = ctanh(tmpd);
16847 tmpd = cpow(tmpd, tmpd);
16848 tmpd = cproj(tmpd);
16849 ld = cabsl(tmpld);
16850 ld = cargl(tmpld);
16851 tmpld = ccosl(tmpld);
16852 tmpld = ccoshl(tmpld);
16853 tmpld = cexpl(tmpld);
16854 tmpld = clogl(tmpld);
16855 tmpld = csinl(tmpld);
16856 tmpld = csinhl(tmpld);
16857 tmpld = csqrtl(tmpld);
16858 tmpld = ctanl(tmpld);
16859 tmpld = ctanhl(tmpld);
16860 tmpld = cpowl(tmpld, tmpld);
16861 tmpld = cprojl(tmpld);
16864 return 0;
16866 _ACEOF
16867 if ac_fn_cxx_try_link "$LINENO"; then :
16868 glibcxx_cv_c99_complex=yes
16869 else
16870 glibcxx_cv_c99_complex=no
16872 rm -f core conftest.err conftest.$ac_objext \
16873 conftest$ac_exeext conftest.$ac_ext
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16877 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16878 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16880 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16884 # Check for the existence in <stdio.h> of vscanf, et. al.
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16886 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16887 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16888 $as_echo_n "(cached) " >&6
16889 else
16891 if test x$gcc_no_link = xyes; then
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16894 #include <stdio.h>
16895 #include <stdarg.h>
16896 void foo(char* fmt, ...)
16898 va_list args; va_start(args, fmt);
16899 vfscanf(stderr, "%i", args);
16900 vscanf("%i", args);
16901 vsnprintf(fmt, 0, "%i", args);
16902 vsscanf(fmt, "%i", args);
16903 snprintf(fmt, 0, "%i");
16906 main ()
16910 return 0;
16912 _ACEOF
16913 if ac_fn_cxx_try_compile "$LINENO"; then :
16914 glibcxx_cv_c99_stdio=yes
16915 else
16916 glibcxx_cv_c99_stdio=no
16918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16919 else
16920 if test x$gcc_no_link = xyes; then
16921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16924 /* end confdefs.h. */
16925 #include <stdio.h>
16926 #include <stdarg.h>
16927 void foo(char* fmt, ...)
16929 va_list args; va_start(args, fmt);
16930 vfscanf(stderr, "%i", args);
16931 vscanf("%i", args);
16932 vsnprintf(fmt, 0, "%i", args);
16933 vsscanf(fmt, "%i", args);
16934 snprintf(fmt, 0, "%i");
16937 main ()
16941 return 0;
16943 _ACEOF
16944 if ac_fn_cxx_try_link "$LINENO"; then :
16945 glibcxx_cv_c99_stdio=yes
16946 else
16947 glibcxx_cv_c99_stdio=no
16949 rm -f core conftest.err conftest.$ac_objext \
16950 conftest$ac_exeext conftest.$ac_ext
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16956 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16958 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16960 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16961 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16962 $as_echo_n "(cached) " >&6
16963 else
16965 if test x$gcc_no_link = xyes; then
16966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16968 #include <stdlib.h>
16969 volatile float f;
16970 volatile long double ld;
16971 volatile unsigned long long ll;
16972 lldiv_t mydivt;
16974 main ()
16976 char* tmp;
16977 f = strtof("gnu", &tmp);
16978 ld = strtold("gnu", &tmp);
16979 ll = strtoll("gnu", &tmp, 10);
16980 ll = strtoull("gnu", &tmp, 10);
16981 ll = llabs(10);
16982 mydivt = lldiv(10,1);
16983 ll = mydivt.quot;
16984 ll = mydivt.rem;
16985 ll = atoll("10");
16986 _Exit(0);
16989 return 0;
16991 _ACEOF
16992 if ac_fn_cxx_try_compile "$LINENO"; then :
16993 glibcxx_cv_c99_stdlib=yes
16994 else
16995 glibcxx_cv_c99_stdlib=no
16997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16998 else
16999 if test x$gcc_no_link = xyes; then
17000 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 #include <stdlib.h>
17005 volatile float f;
17006 volatile long double ld;
17007 volatile unsigned long long ll;
17008 lldiv_t mydivt;
17010 main ()
17012 char* tmp;
17013 f = strtof("gnu", &tmp);
17014 ld = strtold("gnu", &tmp);
17015 ll = strtoll("gnu", &tmp, 10);
17016 ll = strtoull("gnu", &tmp, 10);
17017 ll = llabs(10);
17018 mydivt = lldiv(10,1);
17019 ll = mydivt.quot;
17020 ll = mydivt.rem;
17021 ll = atoll("10");
17022 _Exit(0);
17025 return 0;
17027 _ACEOF
17028 if ac_fn_cxx_try_link "$LINENO"; then :
17029 glibcxx_cv_c99_stdlib=yes
17030 else
17031 glibcxx_cv_c99_stdlib=no
17033 rm -f core conftest.err conftest.$ac_objext \
17034 conftest$ac_exeext conftest.$ac_ext
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17040 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17042 # Check for the existence in <wchar.h> of wcstold, etc.
17043 glibcxx_cv_c99_wchar=no;
17044 if test x"$ac_has_wchar_h" = xyes &&
17045 test x"$ac_has_wctype_h" = xyes; then
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17047 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17050 #include <wchar.h>
17051 namespace test
17053 using ::wcstold;
17054 using ::wcstoll;
17055 using ::wcstoull;
17059 main ()
17063 return 0;
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17067 glibcxx_cv_c99_wchar=yes
17068 else
17069 glibcxx_cv_c99_wchar=no
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17073 # Checks for wide character functions that may not be present.
17074 # Injection of these is wrapped with guard macros.
17075 # NB: only put functions here, instead of immediately above, if
17076 # absolutely necessary.
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 #include <wchar.h>
17080 namespace test { using ::vfwscanf; }
17082 main ()
17086 return 0;
17088 _ACEOF
17089 if ac_fn_cxx_try_compile "$LINENO"; then :
17091 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17098 #include <wchar.h>
17099 namespace test { using ::vswscanf; }
17101 main ()
17105 return 0;
17107 _ACEOF
17108 if ac_fn_cxx_try_compile "$LINENO"; then :
17110 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17117 #include <wchar.h>
17118 namespace test { using ::vwscanf; }
17120 main ()
17124 return 0;
17126 _ACEOF
17127 if ac_fn_cxx_try_compile "$LINENO"; then :
17129 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135 /* end confdefs.h. */
17136 #include <wchar.h>
17137 namespace test { using ::wcstof; }
17139 main ()
17143 return 0;
17145 _ACEOF
17146 if ac_fn_cxx_try_compile "$LINENO"; then :
17148 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17155 #include <wctype.h>
17157 main ()
17159 wint_t t; int i = iswblank(t);
17161 return 0;
17163 _ACEOF
17164 if ac_fn_cxx_try_compile "$LINENO"; then :
17166 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17172 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17175 # Option parsed, now set things appropriately.
17176 if test x"$glibcxx_cv_c99_math" = x"no" ||
17177 test x"$glibcxx_cv_c99_complex" = x"no" ||
17178 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17179 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17180 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17181 enable_c99=no;
17182 else
17184 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17188 gcc_no_link="$ac_save_gcc_no_link"
17189 LIBS="$ac_save_LIBS"
17190 CXXFLAGS="$ac_save_CXXFLAGS"
17191 ac_ext=c
17192 ac_cpp='$CPP $CPPFLAGS'
17193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17200 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17202 $as_echo "$enable_c99" >&6; }
17205 # Check whether --enable-concept-checks was given.
17206 if test "${enable_concept_checks+set}" = set; then :
17207 enableval=$enable_concept_checks;
17208 case "$enableval" in
17209 yes|no) ;;
17210 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17211 esac
17213 else
17214 enable_concept_checks=no
17218 if test $enable_concept_checks = yes; then
17220 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17225 # Check whether --enable-libstdcxx-debug-flags was given.
17226 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17227 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17228 xno | x) enable_libstdcxx_debug_flags= ;;
17229 x-*) ;;
17230 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17231 esac
17232 else
17233 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17238 # Option parsed, now set things appropriately
17239 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17243 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17247 $as_echo_n "checking for additional debug build... " >&6; }
17248 # Check whether --enable-libstdcxx-debug was given.
17249 if test "${enable_libstdcxx_debug+set}" = set; then :
17250 enableval=$enable_libstdcxx_debug;
17251 case "$enableval" in
17252 yes|no) ;;
17253 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17254 esac
17256 else
17257 enable_libstdcxx_debug=no
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17262 $as_echo "$enable_libstdcxx_debug" >&6; }
17267 enable_parallel=no;
17269 # See if configured libgomp/omp.h exists. (libgomp may be in
17270 # noconfigdirs but not explicitly disabled.)
17271 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17272 enable_parallel=yes;
17273 else
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17275 $as_echo "$as_me: target-libgomp not built" >&6;}
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17279 $as_echo_n "checking for parallel mode support... " >&6; }
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17281 $as_echo "$enable_parallel" >&6; }
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17284 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17285 # Check whether --enable-cxx-flags was given.
17286 if test "${enable_cxx_flags+set}" = set; then :
17287 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17288 xno | x) enable_cxx_flags= ;;
17289 x-*) ;;
17290 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17291 esac
17292 else
17293 enable_cxx_flags=
17298 # Run through flags (either default or command-line) and set anything
17299 # extra (e.g., #defines) that must accompany particular g++ options.
17300 if test -n "$enable_cxx_flags"; then
17301 for f in $enable_cxx_flags; do
17302 case "$f" in
17303 -fhonor-std) ;;
17304 -*) ;;
17305 *) # and we're trying to pass /what/ exactly?
17306 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17307 esac
17308 done
17311 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17313 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17317 # Check whether --enable-fully-dynamic-string was given.
17318 if test "${enable_fully_dynamic_string+set}" = set; then :
17319 enableval=$enable_fully_dynamic_string;
17320 case "$enableval" in
17321 yes|no) ;;
17322 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17323 esac
17325 else
17326 enable_fully_dynamic_string=no
17330 if test $enable_fully_dynamic_string = yes; then
17331 enable_fully_dynamic_string_def=1
17332 else
17333 enable_fully_dynamic_string_def=0
17336 cat >>confdefs.h <<_ACEOF
17337 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17338 _ACEOF
17343 # Check whether --enable-extern-template was given.
17344 if test "${enable_extern_template+set}" = set; then :
17345 enableval=$enable_extern_template;
17346 case "$enableval" in
17347 yes|no) ;;
17348 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17349 esac
17351 else
17352 enable_extern_template=yes
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17358 $as_echo_n "checking for extern template support... " >&6; }
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17360 $as_echo "$enable_extern_template" >&6; }
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17367 $as_echo_n "checking for custom python install directory... " >&6; }
17369 # Check whether --with-python-dir was given.
17370 if test "${with_python_dir+set}" = set; then :
17371 withval=$with_python_dir; with_python_dir=$withval
17372 else
17373 with_python_dir="no"
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17377 $as_echo "${with_python_dir}" >&6; }
17379 # Needed for installing Python modules during make install.
17380 python_mod_dir="${with_python_dir}"
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17386 $as_echo_n "checking for -Werror... " >&6; }
17387 # Check whether --enable-werror was given.
17388 if test "${enable_werror+set}" = set; then :
17389 enableval=$enable_werror;
17390 case "$enableval" in
17391 yes|no) ;;
17392 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17393 esac
17395 else
17396 enable_werror=yes
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17401 $as_echo "$enable_werror" >&6; }
17406 # Check whether --enable-vtable-verify was given.
17407 if test "${enable_vtable_verify+set}" = set; then :
17408 enableval=$enable_vtable_verify;
17409 case "$enableval" in
17410 yes|no) ;;
17411 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17412 esac
17414 else
17415 enable_vtable_verify=no
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17421 $as_echo_n "checking for vtable verify support... " >&6; }
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17423 $as_echo "$enable_vtable_verify" >&6; }
17425 if test $enable_vtable_verify = yes; then
17426 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17427 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17428 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17429 else
17430 VTV_CXXFLAGS=
17431 VTV_PCH_CXXFLAGS=
17432 VTV_CXXLINKFLAGS=
17441 # Checks for operating systems support that doesn't require linking.
17445 ac_ext=cpp
17446 ac_cpp='$CXXCPP $CPPFLAGS'
17447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17453 $as_echo_n "checking for gets declaration... " >&6; }
17454 if test "${glibcxx_cv_gets+set}" = set; then :
17455 $as_echo_n "(cached) " >&6
17456 else
17458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h. */
17460 #include <stdio.h>
17461 namespace test
17463 using ::gets;
17466 _ACEOF
17467 if ac_fn_cxx_try_compile "$LINENO"; then :
17468 glibcxx_cv_gets=yes
17469 else
17470 glibcxx_cv_gets=no
17473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17477 if test $glibcxx_cv_gets = yes; then
17479 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17483 $as_echo "$glibcxx_cv_gets" >&6; }
17485 ac_ext=c
17486 ac_cpp='$CPP $CPPFLAGS'
17487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17495 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17496 if test "${glibcxx_cv_system_error1+set}" = set; then :
17497 $as_echo_n "(cached) " >&6
17498 else
17500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17501 /* end confdefs.h. */
17502 #include <errno.h>
17504 main ()
17506 int i = EOWNERDEAD;
17508 return 0;
17510 _ACEOF
17511 if ac_fn_c_try_compile "$LINENO"; then :
17512 glibcxx_cv_system_error1=yes
17513 else
17514 glibcxx_cv_system_error1=no
17516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17521 $as_echo "$glibcxx_cv_system_error1" >&6; }
17522 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17524 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17528 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17529 if test "${glibcxx_cv_system_error2+set}" = set; then :
17530 $as_echo_n "(cached) " >&6
17531 else
17533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17534 /* end confdefs.h. */
17535 #include <errno.h>
17537 main ()
17539 int i = ENOTRECOVERABLE;
17541 return 0;
17543 _ACEOF
17544 if ac_fn_c_try_compile "$LINENO"; then :
17545 glibcxx_cv_system_error2=yes
17546 else
17547 glibcxx_cv_system_error2=no
17549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17554 $as_echo "$glibcxx_cv_system_error2" >&6; }
17555 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17557 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17561 $as_echo_n "checking for ENOLINK... " >&6; }
17562 if test "${glibcxx_cv_system_error3+set}" = set; then :
17563 $as_echo_n "(cached) " >&6
17564 else
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17568 #include <errno.h>
17570 main ()
17572 int i = ENOLINK;
17574 return 0;
17576 _ACEOF
17577 if ac_fn_c_try_compile "$LINENO"; then :
17578 glibcxx_cv_system_error3=yes
17579 else
17580 glibcxx_cv_system_error3=no
17582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17587 $as_echo "$glibcxx_cv_system_error3" >&6; }
17588 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17590 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17594 $as_echo_n "checking for EPROTO... " >&6; }
17595 if test "${glibcxx_cv_system_error4+set}" = set; then :
17596 $as_echo_n "(cached) " >&6
17597 else
17599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17600 /* end confdefs.h. */
17601 #include <errno.h>
17603 main ()
17605 int i = EPROTO;
17607 return 0;
17609 _ACEOF
17610 if ac_fn_c_try_compile "$LINENO"; then :
17611 glibcxx_cv_system_error4=yes
17612 else
17613 glibcxx_cv_system_error4=no
17615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17620 $as_echo "$glibcxx_cv_system_error4" >&6; }
17621 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17623 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17627 $as_echo_n "checking for ENODATA... " >&6; }
17628 if test "${glibcxx_cv_system_error5+set}" = set; then :
17629 $as_echo_n "(cached) " >&6
17630 else
17632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17634 #include <errno.h>
17636 main ()
17638 int i = ENODATA;
17640 return 0;
17642 _ACEOF
17643 if ac_fn_c_try_compile "$LINENO"; then :
17644 glibcxx_cv_system_error5=yes
17645 else
17646 glibcxx_cv_system_error5=no
17648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17653 $as_echo "$glibcxx_cv_system_error5" >&6; }
17654 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17656 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17660 $as_echo_n "checking for ENOSR... " >&6; }
17661 if test "${glibcxx_cv_system_error6+set}" = set; then :
17662 $as_echo_n "(cached) " >&6
17663 else
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #include <errno.h>
17669 main ()
17671 int i = ENOSR;
17673 return 0;
17675 _ACEOF
17676 if ac_fn_c_try_compile "$LINENO"; then :
17677 glibcxx_cv_system_error6=yes
17678 else
17679 glibcxx_cv_system_error6=no
17681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17686 $as_echo "$glibcxx_cv_system_error6" >&6; }
17687 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17689 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17693 $as_echo_n "checking for ENOSTR... " >&6; }
17694 if test "${glibcxx_cv_system_error7+set}" = set; then :
17695 $as_echo_n "(cached) " >&6
17696 else
17698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17700 #include <errno.h>
17702 main ()
17704 int i = ENOSTR;
17706 return 0;
17708 _ACEOF
17709 if ac_fn_c_try_compile "$LINENO"; then :
17710 glibcxx_cv_system_error7=yes
17711 else
17712 glibcxx_cv_system_error7=no
17714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17719 $as_echo "$glibcxx_cv_system_error7" >&6; }
17720 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17722 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17726 $as_echo_n "checking for ETIME... " >&6; }
17727 if test "${glibcxx_cv_system_error8+set}" = set; then :
17728 $as_echo_n "(cached) " >&6
17729 else
17731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17732 /* end confdefs.h. */
17733 #include <errno.h>
17735 main ()
17737 int i = ETIME;
17739 return 0;
17741 _ACEOF
17742 if ac_fn_c_try_compile "$LINENO"; then :
17743 glibcxx_cv_system_error8=yes
17744 else
17745 glibcxx_cv_system_error8=no
17747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17752 $as_echo "$glibcxx_cv_system_error8" >&6; }
17753 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17755 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17759 $as_echo_n "checking for EBADMSG... " >&6; }
17760 if test "${glibcxx_cv_system_error9+set}" = set; then :
17761 $as_echo_n "(cached) " >&6
17762 else
17764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17765 /* end confdefs.h. */
17766 #include <errno.h>
17768 main ()
17770 int i = EBADMSG;
17772 return 0;
17774 _ACEOF
17775 if ac_fn_c_try_compile "$LINENO"; then :
17776 glibcxx_cv_system_error9=yes
17777 else
17778 glibcxx_cv_system_error9=no
17780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17785 $as_echo "$glibcxx_cv_system_error9" >&6; }
17786 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17788 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17792 $as_echo_n "checking for ECANCELED... " >&6; }
17793 if test "${glibcxx_cv_system_error10+set}" = set; then :
17794 $as_echo_n "(cached) " >&6
17795 else
17797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17799 #include <errno.h>
17801 main ()
17803 int i = ECANCELED;
17805 return 0;
17807 _ACEOF
17808 if ac_fn_c_try_compile "$LINENO"; then :
17809 glibcxx_cv_system_error10=yes
17810 else
17811 glibcxx_cv_system_error10=no
17813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17818 $as_echo "$glibcxx_cv_system_error10" >&6; }
17819 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17821 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17825 $as_echo_n "checking for EOVERFLOW... " >&6; }
17826 if test "${glibcxx_cv_system_error11+set}" = set; then :
17827 $as_echo_n "(cached) " >&6
17828 else
17830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17831 /* end confdefs.h. */
17832 #include <errno.h>
17834 main ()
17836 int i = EOVERFLOW;
17838 return 0;
17840 _ACEOF
17841 if ac_fn_c_try_compile "$LINENO"; then :
17842 glibcxx_cv_system_error11=yes
17843 else
17844 glibcxx_cv_system_error11=no
17846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17851 $as_echo "$glibcxx_cv_system_error11" >&6; }
17852 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17854 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17858 $as_echo_n "checking for ENOTSUP... " >&6; }
17859 if test "${glibcxx_cv_system_error12+set}" = set; then :
17860 $as_echo_n "(cached) " >&6
17861 else
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17865 #include <errno.h>
17867 main ()
17869 int i = ENOTSUP;
17871 return 0;
17873 _ACEOF
17874 if ac_fn_c_try_compile "$LINENO"; then :
17875 glibcxx_cv_system_error12=yes
17876 else
17877 glibcxx_cv_system_error12=no
17879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17884 $as_echo "$glibcxx_cv_system_error12" >&6; }
17885 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17887 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17891 $as_echo_n "checking for EIDRM... " >&6; }
17892 if test "${glibcxx_cv_system_error13+set}" = set; then :
17893 $as_echo_n "(cached) " >&6
17894 else
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17898 #include <errno.h>
17900 main ()
17902 int i = EIDRM;
17904 return 0;
17906 _ACEOF
17907 if ac_fn_c_try_compile "$LINENO"; then :
17908 glibcxx_cv_system_error13=yes
17909 else
17910 glibcxx_cv_system_error13=no
17912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17917 $as_echo "$glibcxx_cv_system_error13" >&6; }
17918 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17920 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17924 $as_echo_n "checking for ETXTBSY... " >&6; }
17925 if test "${glibcxx_cv_system_error14+set}" = set; then :
17926 $as_echo_n "(cached) " >&6
17927 else
17929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17930 /* end confdefs.h. */
17931 #include <errno.h>
17933 main ()
17935 int i = ETXTBSY;
17937 return 0;
17939 _ACEOF
17940 if ac_fn_c_try_compile "$LINENO"; then :
17941 glibcxx_cv_system_error14=yes
17942 else
17943 glibcxx_cv_system_error14=no
17945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17950 $as_echo "$glibcxx_cv_system_error14" >&6; }
17951 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17953 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17957 $as_echo_n "checking for ECHILD... " >&6; }
17958 if test "${glibcxx_cv_system_error15+set}" = set; then :
17959 $as_echo_n "(cached) " >&6
17960 else
17962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17963 /* end confdefs.h. */
17964 #include <errno.h>
17966 main ()
17968 int i = ECHILD;
17970 return 0;
17972 _ACEOF
17973 if ac_fn_c_try_compile "$LINENO"; then :
17974 glibcxx_cv_system_error15=yes
17975 else
17976 glibcxx_cv_system_error15=no
17978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17983 $as_echo "$glibcxx_cv_system_error15" >&6; }
17984 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17986 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17990 $as_echo_n "checking for ENOSPC... " >&6; }
17991 if test "${glibcxx_cv_system_error16+set}" = set; then :
17992 $as_echo_n "(cached) " >&6
17993 else
17995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17996 /* end confdefs.h. */
17997 #include <errno.h>
17999 main ()
18001 int i = ENOSPC;
18003 return 0;
18005 _ACEOF
18006 if ac_fn_c_try_compile "$LINENO"; then :
18007 glibcxx_cv_system_error16=yes
18008 else
18009 glibcxx_cv_system_error16=no
18011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18016 $as_echo "$glibcxx_cv_system_error16" >&6; }
18017 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18019 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18023 $as_echo_n "checking for EPERM... " >&6; }
18024 if test "${glibcxx_cv_system_error17+set}" = set; then :
18025 $as_echo_n "(cached) " >&6
18026 else
18028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18029 /* end confdefs.h. */
18030 #include <errno.h>
18032 main ()
18034 int i = EPERM;
18036 return 0;
18038 _ACEOF
18039 if ac_fn_c_try_compile "$LINENO"; then :
18040 glibcxx_cv_system_error17=yes
18041 else
18042 glibcxx_cv_system_error17=no
18044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18049 $as_echo "$glibcxx_cv_system_error17" >&6; }
18050 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18052 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18056 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18057 if test "${glibcxx_cv_system_error18+set}" = set; then :
18058 $as_echo_n "(cached) " >&6
18059 else
18061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18062 /* end confdefs.h. */
18063 #include <errno.h>
18065 main ()
18067 int i = ETIMEDOUT;
18069 return 0;
18071 _ACEOF
18072 if ac_fn_c_try_compile "$LINENO"; then :
18073 glibcxx_cv_system_error18=yes
18074 else
18075 glibcxx_cv_system_error18=no
18077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18082 $as_echo "$glibcxx_cv_system_error18" >&6; }
18083 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18085 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18089 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18090 if test "${glibcxx_cv_system_error19+set}" = set; then :
18091 $as_echo_n "(cached) " >&6
18092 else
18094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18095 /* end confdefs.h. */
18096 #include <errno.h>
18098 main ()
18100 int i = EWOULDBLOCK;
18102 return 0;
18104 _ACEOF
18105 if ac_fn_c_try_compile "$LINENO"; then :
18106 glibcxx_cv_system_error19=yes
18107 else
18108 glibcxx_cv_system_error19=no
18110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18115 $as_echo "$glibcxx_cv_system_error19" >&6; }
18116 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18118 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18124 # For the streamoff typedef.
18128 ac_ext=cpp
18129 ac_cpp='$CXXCPP $CPPFLAGS'
18130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18136 $as_echo_n "checking for int64_t... " >&6; }
18137 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18138 $as_echo_n "(cached) " >&6
18139 else
18141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18142 /* end confdefs.h. */
18143 #include <stdint.h>
18145 main ()
18147 int64_t var;
18149 return 0;
18151 _ACEOF
18152 if ac_fn_cxx_try_compile "$LINENO"; then :
18153 glibcxx_cv_INT64_T=yes
18154 else
18155 glibcxx_cv_INT64_T=no
18157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18162 if test $glibcxx_cv_INT64_T = yes; then
18164 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18167 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18170 $as_echo_n "checking for int64_t as long... " >&6; }
18171 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18172 $as_echo_n "(cached) " >&6
18173 else
18175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18176 /* end confdefs.h. */
18177 #include <stdint.h>
18178 template<typename, typename> struct same { enum { value = -1 }; };
18179 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18180 int array[same<int64_t, long>::value];
18182 main ()
18186 return 0;
18188 _ACEOF
18189 if ac_fn_cxx_try_compile "$LINENO"; then :
18190 glibcxx_cv_int64_t_long=yes
18191 else
18192 glibcxx_cv_int64_t_long=no
18194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18199 if test $glibcxx_cv_int64_t_long = yes; then
18201 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18204 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18208 $as_echo_n "checking for int64_t as long long... " >&6; }
18209 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18210 $as_echo_n "(cached) " >&6
18211 else
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18215 #include <stdint.h>
18216 template<typename, typename> struct same { enum { value = -1 }; };
18217 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18218 int array[same<int64_t, long long>::value];
18220 main ()
18224 return 0;
18226 _ACEOF
18227 if ac_fn_cxx_try_compile "$LINENO"; then :
18228 glibcxx_cv_int64_t_long_long=yes
18229 else
18230 glibcxx_cv_int64_t_long_long=no
18232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18237 if test $glibcxx_cv_int64_t_long_long = yes; then
18239 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18242 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18246 ac_ext=c
18247 ac_cpp='$CPP $CPPFLAGS'
18248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18254 # For LFS support.
18257 ac_ext=cpp
18258 ac_cpp='$CXXCPP $CPPFLAGS'
18259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18263 ac_save_CXXFLAGS="$CXXFLAGS"
18264 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18266 $as_echo_n "checking for LFS support... " >&6; }
18267 if test "${glibcxx_cv_LFS+set}" = set; then :
18268 $as_echo_n "(cached) " >&6
18269 else
18271 if test x$gcc_no_link = xyes; then
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18274 #include <unistd.h>
18275 #include <stdio.h>
18276 #include <sys/stat.h>
18279 main ()
18281 FILE* fp;
18282 fopen64("t", "w");
18283 fseeko64(fp, 0, SEEK_CUR);
18284 ftello64(fp);
18285 lseek64(1, 0, SEEK_CUR);
18286 struct stat64 buf;
18287 fstat64(1, &buf);
18289 return 0;
18291 _ACEOF
18292 if ac_fn_cxx_try_compile "$LINENO"; then :
18293 glibcxx_cv_LFS=yes
18294 else
18295 glibcxx_cv_LFS=no
18297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18298 else
18299 if test x$gcc_no_link = xyes; then
18300 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18303 /* end confdefs.h. */
18304 #include <unistd.h>
18305 #include <stdio.h>
18306 #include <sys/stat.h>
18309 main ()
18311 FILE* fp;
18312 fopen64("t", "w");
18313 fseeko64(fp, 0, SEEK_CUR);
18314 ftello64(fp);
18315 lseek64(1, 0, SEEK_CUR);
18316 struct stat64 buf;
18317 fstat64(1, &buf);
18319 return 0;
18321 _ACEOF
18322 if ac_fn_cxx_try_link "$LINENO"; then :
18323 glibcxx_cv_LFS=yes
18324 else
18325 glibcxx_cv_LFS=no
18327 rm -f core conftest.err conftest.$ac_objext \
18328 conftest$ac_exeext conftest.$ac_ext
18333 if test $glibcxx_cv_LFS = yes; then
18335 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18339 $as_echo "$glibcxx_cv_LFS" >&6; }
18340 CXXFLAGS="$ac_save_CXXFLAGS"
18341 ac_ext=c
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18349 # For showmanyc_helper().
18350 for ac_header in sys/ioctl.h sys/filio.h
18351 do :
18352 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18353 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18354 eval as_val=\$$as_ac_Header
18355 if test "x$as_val" = x""yes; then :
18356 cat >>confdefs.h <<_ACEOF
18357 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18358 _ACEOF
18362 done
18367 ac_ext=cpp
18368 ac_cpp='$CXXCPP $CPPFLAGS'
18369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18373 ac_save_CXXFLAGS="$CXXFLAGS"
18374 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18377 $as_echo_n "checking for poll... " >&6; }
18378 if test "${glibcxx_cv_POLL+set}" = set; then :
18379 $as_echo_n "(cached) " >&6
18380 else
18382 if test x$gcc_no_link = xyes; then
18383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18384 /* end confdefs.h. */
18385 #include <poll.h>
18387 main ()
18389 struct pollfd pfd[1];
18390 pfd[0].events = POLLIN;
18391 poll(pfd, 1, 0);
18393 return 0;
18395 _ACEOF
18396 if ac_fn_cxx_try_compile "$LINENO"; then :
18397 glibcxx_cv_POLL=yes
18398 else
18399 glibcxx_cv_POLL=no
18401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18402 else
18403 if test x$gcc_no_link = xyes; then
18404 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 #include <poll.h>
18410 main ()
18412 struct pollfd pfd[1];
18413 pfd[0].events = POLLIN;
18414 poll(pfd, 1, 0);
18416 return 0;
18418 _ACEOF
18419 if ac_fn_cxx_try_link "$LINENO"; then :
18420 glibcxx_cv_POLL=yes
18421 else
18422 glibcxx_cv_POLL=no
18424 rm -f core conftest.err conftest.$ac_objext \
18425 conftest$ac_exeext conftest.$ac_ext
18430 if test $glibcxx_cv_POLL = yes; then
18432 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18436 $as_echo "$glibcxx_cv_POLL" >&6; }
18438 CXXFLAGS="$ac_save_CXXFLAGS"
18439 ac_ext=c
18440 ac_cpp='$CPP $CPPFLAGS'
18441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18449 ac_ext=cpp
18450 ac_cpp='$CXXCPP $CPPFLAGS'
18451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18455 ac_save_CXXFLAGS="$CXXFLAGS"
18456 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18459 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18460 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18461 $as_echo_n "(cached) " >&6
18462 else
18464 if test x$gcc_no_link = xyes; then
18465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18466 /* end confdefs.h. */
18467 #include <sys/stat.h>
18469 main ()
18471 struct stat buffer;
18472 fstat(0, &buffer);
18473 S_ISREG(buffer.st_mode);
18475 return 0;
18477 _ACEOF
18478 if ac_fn_cxx_try_compile "$LINENO"; then :
18479 glibcxx_cv_S_ISREG=yes
18480 else
18481 glibcxx_cv_S_ISREG=no
18483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18484 else
18485 if test x$gcc_no_link = xyes; then
18486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h. */
18490 #include <sys/stat.h>
18492 main ()
18494 struct stat buffer;
18495 fstat(0, &buffer);
18496 S_ISREG(buffer.st_mode);
18498 return 0;
18500 _ACEOF
18501 if ac_fn_cxx_try_link "$LINENO"; then :
18502 glibcxx_cv_S_ISREG=yes
18503 else
18504 glibcxx_cv_S_ISREG=no
18506 rm -f core conftest.err conftest.$ac_objext \
18507 conftest$ac_exeext conftest.$ac_ext
18512 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18513 $as_echo_n "(cached) " >&6
18514 else
18516 if test x$gcc_no_link = xyes; then
18517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18519 #include <sys/stat.h>
18521 main ()
18523 struct stat buffer;
18524 fstat(0, &buffer);
18525 S_IFREG & buffer.st_mode;
18527 return 0;
18529 _ACEOF
18530 if ac_fn_cxx_try_compile "$LINENO"; then :
18531 glibcxx_cv_S_IFREG=yes
18532 else
18533 glibcxx_cv_S_IFREG=no
18535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18536 else
18537 if test x$gcc_no_link = xyes; then
18538 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18541 /* end confdefs.h. */
18542 #include <sys/stat.h>
18544 main ()
18546 struct stat buffer;
18547 fstat(0, &buffer);
18548 S_IFREG & buffer.st_mode;
18550 return 0;
18552 _ACEOF
18553 if ac_fn_cxx_try_link "$LINENO"; then :
18554 glibcxx_cv_S_IFREG=yes
18555 else
18556 glibcxx_cv_S_IFREG=no
18558 rm -f core conftest.err conftest.$ac_objext \
18559 conftest$ac_exeext conftest.$ac_ext
18564 res=no
18565 if test $glibcxx_cv_S_ISREG = yes; then
18567 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18569 res=S_ISREG
18570 elif test $glibcxx_cv_S_IFREG = yes; then
18572 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18574 res=S_IFREG
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18577 $as_echo "$res" >&6; }
18579 CXXFLAGS="$ac_save_CXXFLAGS"
18580 ac_ext=c
18581 ac_cpp='$CPP $CPPFLAGS'
18582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18588 # For xsputn_2().
18589 for ac_header in sys/uio.h
18590 do :
18591 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18592 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18593 cat >>confdefs.h <<_ACEOF
18594 #define HAVE_SYS_UIO_H 1
18595 _ACEOF
18599 done
18604 ac_ext=cpp
18605 ac_cpp='$CXXCPP $CPPFLAGS'
18606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18610 ac_save_CXXFLAGS="$CXXFLAGS"
18611 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18614 $as_echo_n "checking for writev... " >&6; }
18615 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18616 $as_echo_n "(cached) " >&6
18617 else
18619 if test x$gcc_no_link = xyes; then
18620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18621 /* end confdefs.h. */
18622 #include <sys/uio.h>
18624 main ()
18626 struct iovec iov[2];
18627 writev(0, iov, 0);
18629 return 0;
18631 _ACEOF
18632 if ac_fn_cxx_try_compile "$LINENO"; then :
18633 glibcxx_cv_WRITEV=yes
18634 else
18635 glibcxx_cv_WRITEV=no
18637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 else
18639 if test x$gcc_no_link = xyes; then
18640 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18644 #include <sys/uio.h>
18646 main ()
18648 struct iovec iov[2];
18649 writev(0, iov, 0);
18651 return 0;
18653 _ACEOF
18654 if ac_fn_cxx_try_link "$LINENO"; then :
18655 glibcxx_cv_WRITEV=yes
18656 else
18657 glibcxx_cv_WRITEV=no
18659 rm -f core conftest.err conftest.$ac_objext \
18660 conftest$ac_exeext conftest.$ac_ext
18665 if test $glibcxx_cv_WRITEV = yes; then
18667 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18671 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18673 CXXFLAGS="$ac_save_CXXFLAGS"
18674 ac_ext=c
18675 ac_cpp='$CPP $CPPFLAGS'
18676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18682 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18683 # so that the check is done with the C compiler (not C++).
18684 # Checking with C++ can break a canadian cross build if either
18685 # file does not exist in C but does in C++.
18686 for ac_header in fenv.h complex.h
18687 do :
18688 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18689 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18690 eval as_val=\$$as_ac_Header
18691 if test "x$as_val" = x""yes; then :
18692 cat >>confdefs.h <<_ACEOF
18693 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18694 _ACEOF
18698 done
18701 # For C99 support to TR1.
18705 ac_ext=cpp
18706 ac_cpp='$CXXCPP $CPPFLAGS'
18707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18712 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18713 # undefined and fake C99 facilities may be spuriously enabled.
18714 ac_save_CXXFLAGS="$CXXFLAGS"
18715 CXXFLAGS="$CXXFLAGS -std=c++98"
18717 # Check for the existence of <complex.h> complex math functions used
18718 # by tr1/complex.
18719 for ac_header in complex.h
18720 do :
18721 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18722 if test "x$ac_cv_header_complex_h" = x""yes; then :
18723 cat >>confdefs.h <<_ACEOF
18724 #define HAVE_COMPLEX_H 1
18725 _ACEOF
18726 ac_has_complex_h=yes
18727 else
18728 ac_has_complex_h=no
18731 done
18733 ac_c99_complex_tr1=no;
18734 if test x"$ac_has_complex_h" = x"yes"; then
18735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18736 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18738 /* end confdefs.h. */
18739 #include <complex.h>
18741 main ()
18743 typedef __complex__ float float_type; float_type tmpf;
18744 cacosf(tmpf);
18745 casinf(tmpf);
18746 catanf(tmpf);
18747 cacoshf(tmpf);
18748 casinhf(tmpf);
18749 catanhf(tmpf);
18750 typedef __complex__ double double_type; double_type tmpd;
18751 cacos(tmpd);
18752 casin(tmpd);
18753 catan(tmpd);
18754 cacosh(tmpd);
18755 casinh(tmpd);
18756 catanh(tmpd);
18757 typedef __complex__ long double ld_type; ld_type tmpld;
18758 cacosl(tmpld);
18759 casinl(tmpld);
18760 catanl(tmpld);
18761 cacoshl(tmpld);
18762 casinhl(tmpld);
18763 catanhl(tmpld);
18766 return 0;
18768 _ACEOF
18769 if ac_fn_cxx_try_compile "$LINENO"; then :
18770 ac_c99_complex_tr1=yes
18771 else
18772 ac_c99_complex_tr1=no
18774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18777 $as_echo "$ac_c99_complex_tr1" >&6; }
18778 if test x"$ac_c99_complex_tr1" = x"yes"; then
18780 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18784 # Check for the existence of <ctype.h> functions.
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18786 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18787 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18788 $as_echo_n "(cached) " >&6
18789 else
18791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18792 /* end confdefs.h. */
18793 #include <ctype.h>
18795 main ()
18797 int ch;
18798 int ret;
18799 ret = isblank(ch);
18802 return 0;
18804 _ACEOF
18805 if ac_fn_cxx_try_compile "$LINENO"; then :
18806 glibcxx_cv_c99_ctype_tr1=yes
18807 else
18808 glibcxx_cv_c99_ctype_tr1=no
18810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18815 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18816 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18818 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18822 # Check for the existence of <fenv.h> functions.
18823 for ac_header in fenv.h
18824 do :
18825 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18826 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18827 cat >>confdefs.h <<_ACEOF
18828 #define HAVE_FENV_H 1
18829 _ACEOF
18830 ac_has_fenv_h=yes
18831 else
18832 ac_has_fenv_h=no
18835 done
18837 ac_c99_fenv_tr1=no;
18838 if test x"$ac_has_fenv_h" = x"yes"; then
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18840 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18843 #include <fenv.h>
18845 main ()
18847 int except, mode;
18848 fexcept_t* pflag;
18849 fenv_t* penv;
18850 int ret;
18851 ret = feclearexcept(except);
18852 ret = fegetexceptflag(pflag, except);
18853 ret = feraiseexcept(except);
18854 ret = fesetexceptflag(pflag, except);
18855 ret = fetestexcept(except);
18856 ret = fegetround();
18857 ret = fesetround(mode);
18858 ret = fegetenv(penv);
18859 ret = feholdexcept(penv);
18860 ret = fesetenv(penv);
18861 ret = feupdateenv(penv);
18864 return 0;
18866 _ACEOF
18867 if ac_fn_cxx_try_compile "$LINENO"; then :
18868 ac_c99_fenv_tr1=yes
18869 else
18870 ac_c99_fenv_tr1=no
18872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18875 $as_echo "$ac_c99_fenv_tr1" >&6; }
18876 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18878 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18882 # Check for the existence of <stdint.h> types.
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18884 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18885 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18886 $as_echo_n "(cached) " >&6
18887 else
18889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18890 /* end confdefs.h. */
18891 #define __STDC_LIMIT_MACROS
18892 #define __STDC_CONSTANT_MACROS
18893 #include <stdint.h>
18895 main ()
18897 typedef int8_t my_int8_t;
18898 my_int8_t i8 = INT8_MIN;
18899 i8 = INT8_MAX;
18900 typedef int16_t my_int16_t;
18901 my_int16_t i16 = INT16_MIN;
18902 i16 = INT16_MAX;
18903 typedef int32_t my_int32_t;
18904 my_int32_t i32 = INT32_MIN;
18905 i32 = INT32_MAX;
18906 typedef int64_t my_int64_t;
18907 my_int64_t i64 = INT64_MIN;
18908 i64 = INT64_MAX;
18909 typedef int_fast8_t my_int_fast8_t;
18910 my_int_fast8_t if8 = INT_FAST8_MIN;
18911 if8 = INT_FAST8_MAX;
18912 typedef int_fast16_t my_int_fast16_t;
18913 my_int_fast16_t if16 = INT_FAST16_MIN;
18914 if16 = INT_FAST16_MAX;
18915 typedef int_fast32_t my_int_fast32_t;
18916 my_int_fast32_t if32 = INT_FAST32_MIN;
18917 if32 = INT_FAST32_MAX;
18918 typedef int_fast64_t my_int_fast64_t;
18919 my_int_fast64_t if64 = INT_FAST64_MIN;
18920 if64 = INT_FAST64_MAX;
18921 typedef int_least8_t my_int_least8_t;
18922 my_int_least8_t il8 = INT_LEAST8_MIN;
18923 il8 = INT_LEAST8_MAX;
18924 typedef int_least16_t my_int_least16_t;
18925 my_int_least16_t il16 = INT_LEAST16_MIN;
18926 il16 = INT_LEAST16_MAX;
18927 typedef int_least32_t my_int_least32_t;
18928 my_int_least32_t il32 = INT_LEAST32_MIN;
18929 il32 = INT_LEAST32_MAX;
18930 typedef int_least64_t my_int_least64_t;
18931 my_int_least64_t il64 = INT_LEAST64_MIN;
18932 il64 = INT_LEAST64_MAX;
18933 typedef intmax_t my_intmax_t;
18934 my_intmax_t im = INTMAX_MAX;
18935 im = INTMAX_MIN;
18936 typedef intptr_t my_intptr_t;
18937 my_intptr_t ip = INTPTR_MAX;
18938 ip = INTPTR_MIN;
18939 typedef uint8_t my_uint8_t;
18940 my_uint8_t ui8 = UINT8_MAX;
18941 ui8 = UINT8_MAX;
18942 typedef uint16_t my_uint16_t;
18943 my_uint16_t ui16 = UINT16_MAX;
18944 ui16 = UINT16_MAX;
18945 typedef uint32_t my_uint32_t;
18946 my_uint32_t ui32 = UINT32_MAX;
18947 ui32 = UINT32_MAX;
18948 typedef uint64_t my_uint64_t;
18949 my_uint64_t ui64 = UINT64_MAX;
18950 ui64 = UINT64_MAX;
18951 typedef uint_fast8_t my_uint_fast8_t;
18952 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18953 uif8 = UINT_FAST8_MAX;
18954 typedef uint_fast16_t my_uint_fast16_t;
18955 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18956 uif16 = UINT_FAST16_MAX;
18957 typedef uint_fast32_t my_uint_fast32_t;
18958 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18959 uif32 = UINT_FAST32_MAX;
18960 typedef uint_fast64_t my_uint_fast64_t;
18961 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18962 uif64 = UINT_FAST64_MAX;
18963 typedef uint_least8_t my_uint_least8_t;
18964 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18965 uil8 = UINT_LEAST8_MAX;
18966 typedef uint_least16_t my_uint_least16_t;
18967 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18968 uil16 = UINT_LEAST16_MAX;
18969 typedef uint_least32_t my_uint_least32_t;
18970 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18971 uil32 = UINT_LEAST32_MAX;
18972 typedef uint_least64_t my_uint_least64_t;
18973 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18974 uil64 = UINT_LEAST64_MAX;
18975 typedef uintmax_t my_uintmax_t;
18976 my_uintmax_t uim = UINTMAX_MAX;
18977 uim = UINTMAX_MAX;
18978 typedef uintptr_t my_uintptr_t;
18979 my_uintptr_t uip = UINTPTR_MAX;
18980 uip = UINTPTR_MAX;
18983 return 0;
18985 _ACEOF
18986 if ac_fn_cxx_try_compile "$LINENO"; then :
18987 glibcxx_cv_c99_stdint_tr1=yes
18988 else
18989 glibcxx_cv_c99_stdint_tr1=no
18991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18996 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18997 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18999 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19003 # Check for the existence of <math.h> functions.
19004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19005 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19006 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19007 $as_echo_n "(cached) " >&6
19008 else
19010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19012 #include <math.h>
19014 main ()
19016 typedef double_t my_double_t;
19017 typedef float_t my_float_t;
19018 acosh(0.0);
19019 acoshf(0.0f);
19020 acoshl(0.0l);
19021 asinh(0.0);
19022 asinhf(0.0f);
19023 asinhl(0.0l);
19024 atanh(0.0);
19025 atanhf(0.0f);
19026 atanhl(0.0l);
19027 cbrt(0.0);
19028 cbrtf(0.0f);
19029 cbrtl(0.0l);
19030 copysign(0.0, 0.0);
19031 copysignf(0.0f, 0.0f);
19032 copysignl(0.0l, 0.0l);
19033 erf(0.0);
19034 erff(0.0f);
19035 erfl(0.0l);
19036 erfc(0.0);
19037 erfcf(0.0f);
19038 erfcl(0.0l);
19039 exp2(0.0);
19040 exp2f(0.0f);
19041 exp2l(0.0l);
19042 expm1(0.0);
19043 expm1f(0.0f);
19044 expm1l(0.0l);
19045 fdim(0.0, 0.0);
19046 fdimf(0.0f, 0.0f);
19047 fdiml(0.0l, 0.0l);
19048 fma(0.0, 0.0, 0.0);
19049 fmaf(0.0f, 0.0f, 0.0f);
19050 fmal(0.0l, 0.0l, 0.0l);
19051 fmax(0.0, 0.0);
19052 fmaxf(0.0f, 0.0f);
19053 fmaxl(0.0l, 0.0l);
19054 fmin(0.0, 0.0);
19055 fminf(0.0f, 0.0f);
19056 fminl(0.0l, 0.0l);
19057 hypot(0.0, 0.0);
19058 hypotf(0.0f, 0.0f);
19059 hypotl(0.0l, 0.0l);
19060 ilogb(0.0);
19061 ilogbf(0.0f);
19062 ilogbl(0.0l);
19063 lgamma(0.0);
19064 lgammaf(0.0f);
19065 lgammal(0.0l);
19066 llrint(0.0);
19067 llrintf(0.0f);
19068 llrintl(0.0l);
19069 llround(0.0);
19070 llroundf(0.0f);
19071 llroundl(0.0l);
19072 log1p(0.0);
19073 log1pf(0.0f);
19074 log1pl(0.0l);
19075 log2(0.0);
19076 log2f(0.0f);
19077 log2l(0.0l);
19078 logb(0.0);
19079 logbf(0.0f);
19080 logbl(0.0l);
19081 lrint(0.0);
19082 lrintf(0.0f);
19083 lrintl(0.0l);
19084 lround(0.0);
19085 lroundf(0.0f);
19086 lroundl(0.0l);
19087 nan(0);
19088 nanf(0);
19089 nanl(0);
19090 nearbyint(0.0);
19091 nearbyintf(0.0f);
19092 nearbyintl(0.0l);
19093 nextafter(0.0, 0.0);
19094 nextafterf(0.0f, 0.0f);
19095 nextafterl(0.0l, 0.0l);
19096 nexttoward(0.0, 0.0);
19097 nexttowardf(0.0f, 0.0f);
19098 nexttowardl(0.0l, 0.0l);
19099 remainder(0.0, 0.0);
19100 remainderf(0.0f, 0.0f);
19101 remainderl(0.0l, 0.0l);
19102 remquo(0.0, 0.0, 0);
19103 remquof(0.0f, 0.0f, 0);
19104 remquol(0.0l, 0.0l, 0);
19105 rint(0.0);
19106 rintf(0.0f);
19107 rintl(0.0l);
19108 round(0.0);
19109 roundf(0.0f);
19110 roundl(0.0l);
19111 scalbln(0.0, 0l);
19112 scalblnf(0.0f, 0l);
19113 scalblnl(0.0l, 0l);
19114 scalbn(0.0, 0);
19115 scalbnf(0.0f, 0);
19116 scalbnl(0.0l, 0);
19117 tgamma(0.0);
19118 tgammaf(0.0f);
19119 tgammal(0.0l);
19120 trunc(0.0);
19121 truncf(0.0f);
19122 truncl(0.0l);
19125 return 0;
19127 _ACEOF
19128 if ac_fn_cxx_try_compile "$LINENO"; then :
19129 glibcxx_cv_c99_math_tr1=yes
19130 else
19131 glibcxx_cv_c99_math_tr1=no
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19138 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19139 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19141 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19145 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19146 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19147 ac_c99_inttypes_tr1=no;
19148 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19150 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19152 /* end confdefs.h. */
19153 #include <inttypes.h>
19155 main ()
19157 intmax_t i, numer, denom, base;
19158 const char* s;
19159 char** endptr;
19160 intmax_t ret = imaxabs(i);
19161 imaxdiv_t dret = imaxdiv(numer, denom);
19162 ret = strtoimax(s, endptr, base);
19163 uintmax_t uret = strtoumax(s, endptr, base);
19166 return 0;
19168 _ACEOF
19169 if ac_fn_cxx_try_compile "$LINENO"; then :
19170 ac_c99_inttypes_tr1=yes
19171 else
19172 ac_c99_inttypes_tr1=no
19174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19177 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19178 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19180 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19184 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19185 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19186 ac_c99_inttypes_wchar_t_tr1=no;
19187 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19189 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19191 /* end confdefs.h. */
19192 #include <inttypes.h>
19194 main ()
19196 intmax_t base;
19197 const wchar_t* s;
19198 wchar_t** endptr;
19199 intmax_t ret = wcstoimax(s, endptr, base);
19200 uintmax_t uret = wcstoumax(s, endptr, base);
19203 return 0;
19205 _ACEOF
19206 if ac_fn_cxx_try_compile "$LINENO"; then :
19207 ac_c99_inttypes_wchar_t_tr1=yes
19208 else
19209 ac_c99_inttypes_wchar_t_tr1=no
19211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19214 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19215 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19217 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19221 # Check for the existence of the <stdbool.h> header.
19222 for ac_header in stdbool.h
19223 do :
19224 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19225 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19226 cat >>confdefs.h <<_ACEOF
19227 #define HAVE_STDBOOL_H 1
19228 _ACEOF
19232 done
19235 # Check for the existence of the <stdalign.h> header.
19236 for ac_header in stdalign.h
19237 do :
19238 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19239 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19240 cat >>confdefs.h <<_ACEOF
19241 #define HAVE_STDALIGN_H 1
19242 _ACEOF
19246 done
19249 CXXFLAGS="$ac_save_CXXFLAGS"
19250 ac_ext=c
19251 ac_cpp='$CPP $CPPFLAGS'
19252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19258 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19262 $as_echo_n "checking for the value of EOF... " >&6; }
19263 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19264 $as_echo_n "(cached) " >&6
19265 else
19267 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19269 else
19270 as_fn_error "computing EOF failed" "$LINENO" 5
19275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19276 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19278 cat >>confdefs.h <<_ACEOF
19279 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19280 _ACEOF
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19284 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19285 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19286 $as_echo_n "(cached) " >&6
19287 else
19289 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19291 else
19292 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19298 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19300 cat >>confdefs.h <<_ACEOF
19301 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19302 _ACEOF
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19306 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19307 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19308 $as_echo_n "(cached) " >&6
19309 else
19311 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19313 else
19314 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19320 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19322 cat >>confdefs.h <<_ACEOF
19323 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19324 _ACEOF
19328 # For gettimeofday support.
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19332 $as_echo_n "checking for gettimeofday... " >&6; }
19335 ac_ext=cpp
19336 ac_cpp='$CXXCPP $CPPFLAGS'
19337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19341 ac_save_CXXFLAGS="$CXXFLAGS"
19342 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19344 ac_has_gettimeofday=no;
19345 for ac_header in sys/time.h
19346 do :
19347 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19348 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19349 cat >>confdefs.h <<_ACEOF
19350 #define HAVE_SYS_TIME_H 1
19351 _ACEOF
19352 ac_has_sys_time_h=yes
19353 else
19354 ac_has_sys_time_h=no
19357 done
19359 if test x"$ac_has_sys_time_h" = x"yes"; then
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19361 $as_echo_n "checking for gettimeofday... " >&6; }
19362 if test x$gcc_no_link = xyes; then
19363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19364 /* end confdefs.h. */
19365 #include <sys/time.h>
19367 main ()
19369 timeval tv; gettimeofday(&tv, 0);
19371 return 0;
19373 _ACEOF
19374 if ac_fn_cxx_try_compile "$LINENO"; then :
19375 ac_has_gettimeofday=yes
19376 else
19377 ac_has_gettimeofday=no
19379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19380 else
19381 if test x$gcc_no_link = xyes; then
19382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19386 #include <sys/time.h>
19388 main ()
19390 timeval tv; gettimeofday(&tv, 0);
19392 return 0;
19394 _ACEOF
19395 if ac_fn_cxx_try_link "$LINENO"; then :
19396 ac_has_gettimeofday=yes
19397 else
19398 ac_has_gettimeofday=no
19400 rm -f core conftest.err conftest.$ac_objext \
19401 conftest$ac_exeext conftest.$ac_ext
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19405 $as_echo "$ac_has_gettimeofday" >&6; }
19408 if test x"$ac_has_gettimeofday" = x"yes"; then
19410 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19414 CXXFLAGS="$ac_save_CXXFLAGS"
19415 ac_ext=c
19416 ac_cpp='$CPP $CPPFLAGS'
19417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19423 # For clock_gettime, nanosleep and sched_yield support.
19426 # Check whether --enable-libstdcxx-time was given.
19427 if test "${enable_libstdcxx_time+set}" = set; then :
19428 enableval=$enable_libstdcxx_time;
19429 case "$enableval" in
19430 yes|no|rt) ;;
19431 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19432 esac
19434 else
19435 enable_libstdcxx_time=auto
19441 ac_ext=cpp
19442 ac_cpp='$CXXCPP $CPPFLAGS'
19443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19447 ac_save_CXXFLAGS="$CXXFLAGS"
19448 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19449 ac_save_LIBS="$LIBS"
19451 ac_has_clock_monotonic=no
19452 ac_has_clock_realtime=no
19453 ac_has_nanosleep=no
19454 ac_has_sched_yield=no
19456 if test x"$enable_libstdcxx_time" = x"auto"; then
19458 case "${target_os}" in
19459 cygwin*)
19460 ac_has_nanosleep=yes
19462 darwin*)
19463 ac_has_nanosleep=yes
19464 ac_has_sched_yield=yes
19466 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19468 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19471 #include <features.h>
19473 main ()
19476 #if ! __GLIBC_PREREQ(2, 17)
19477 #error
19478 #endif
19481 return 0;
19483 _ACEOF
19484 if ac_fn_cxx_try_compile "$LINENO"; then :
19485 glibcxx_glibc217=yes
19486 else
19487 glibcxx_glibc217=no
19489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19491 $as_echo "$glibcxx_glibc217" >&6; }
19493 if test x"$glibcxx_glibc217" = x"yes"; then
19494 ac_has_clock_monotonic=yes
19495 ac_has_clock_realtime=yes
19497 ac_has_nanosleep=yes
19498 ac_has_sched_yield=yes
19500 freebsd*|netbsd*)
19501 ac_has_clock_monotonic=yes
19502 ac_has_clock_realtime=yes
19503 ac_has_nanosleep=yes
19504 ac_has_sched_yield=yes
19506 openbsd*)
19507 ac_has_clock_monotonic=yes
19508 ac_has_clock_realtime=yes
19509 ac_has_nanosleep=yes
19511 solaris*)
19512 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19513 ac_has_clock_monotonic=yes
19514 ac_has_clock_realtime=yes
19515 ac_has_nanosleep=yes
19516 ac_has_sched_yield=yes
19518 esac
19520 elif test x"$enable_libstdcxx_time" != x"no"; then
19522 if test x"$enable_libstdcxx_time" = x"rt"; then
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19524 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19525 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19526 $as_echo_n "(cached) " >&6
19527 else
19528 ac_func_search_save_LIBS=$LIBS
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19532 /* Override any GCC internal prototype to avoid an error.
19533 Use char because int might match the return type of a GCC
19534 builtin and then its argument prototype would still apply. */
19535 #ifdef __cplusplus
19536 extern "C"
19537 #endif
19538 char clock_gettime ();
19540 main ()
19542 return clock_gettime ();
19544 return 0;
19546 _ACEOF
19547 for ac_lib in '' rt posix4; do
19548 if test -z "$ac_lib"; then
19549 ac_res="none required"
19550 else
19551 ac_res=-l$ac_lib
19552 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19554 if test x$gcc_no_link = xyes; then
19555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19557 if ac_fn_cxx_try_link "$LINENO"; then :
19558 ac_cv_search_clock_gettime=$ac_res
19560 rm -f core conftest.err conftest.$ac_objext \
19561 conftest$ac_exeext
19562 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19563 break
19565 done
19566 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19568 else
19569 ac_cv_search_clock_gettime=no
19571 rm conftest.$ac_ext
19572 LIBS=$ac_func_search_save_LIBS
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19575 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19576 ac_res=$ac_cv_search_clock_gettime
19577 if test "$ac_res" != no; then :
19578 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19583 $as_echo_n "checking for library containing nanosleep... " >&6; }
19584 if test "${ac_cv_search_nanosleep+set}" = set; then :
19585 $as_echo_n "(cached) " >&6
19586 else
19587 ac_func_search_save_LIBS=$LIBS
19588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h. */
19591 /* Override any GCC internal prototype to avoid an error.
19592 Use char because int might match the return type of a GCC
19593 builtin and then its argument prototype would still apply. */
19594 #ifdef __cplusplus
19595 extern "C"
19596 #endif
19597 char nanosleep ();
19599 main ()
19601 return nanosleep ();
19603 return 0;
19605 _ACEOF
19606 for ac_lib in '' rt posix4; do
19607 if test -z "$ac_lib"; then
19608 ac_res="none required"
19609 else
19610 ac_res=-l$ac_lib
19611 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19613 if test x$gcc_no_link = xyes; then
19614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19616 if ac_fn_cxx_try_link "$LINENO"; then :
19617 ac_cv_search_nanosleep=$ac_res
19619 rm -f core conftest.err conftest.$ac_objext \
19620 conftest$ac_exeext
19621 if test "${ac_cv_search_nanosleep+set}" = set; then :
19622 break
19624 done
19625 if test "${ac_cv_search_nanosleep+set}" = set; then :
19627 else
19628 ac_cv_search_nanosleep=no
19630 rm conftest.$ac_ext
19631 LIBS=$ac_func_search_save_LIBS
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19634 $as_echo "$ac_cv_search_nanosleep" >&6; }
19635 ac_res=$ac_cv_search_nanosleep
19636 if test "$ac_res" != no; then :
19637 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19641 else
19642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19643 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19644 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19645 $as_echo_n "(cached) " >&6
19646 else
19647 ac_func_search_save_LIBS=$LIBS
19648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19649 /* end confdefs.h. */
19651 /* Override any GCC internal prototype to avoid an error.
19652 Use char because int might match the return type of a GCC
19653 builtin and then its argument prototype would still apply. */
19654 #ifdef __cplusplus
19655 extern "C"
19656 #endif
19657 char clock_gettime ();
19659 main ()
19661 return clock_gettime ();
19663 return 0;
19665 _ACEOF
19666 for ac_lib in '' posix4; do
19667 if test -z "$ac_lib"; then
19668 ac_res="none required"
19669 else
19670 ac_res=-l$ac_lib
19671 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19673 if test x$gcc_no_link = xyes; then
19674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19676 if ac_fn_cxx_try_link "$LINENO"; then :
19677 ac_cv_search_clock_gettime=$ac_res
19679 rm -f core conftest.err conftest.$ac_objext \
19680 conftest$ac_exeext
19681 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19682 break
19684 done
19685 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19687 else
19688 ac_cv_search_clock_gettime=no
19690 rm conftest.$ac_ext
19691 LIBS=$ac_func_search_save_LIBS
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19694 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19695 ac_res=$ac_cv_search_clock_gettime
19696 if test "$ac_res" != no; then :
19697 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19702 $as_echo_n "checking for library containing nanosleep... " >&6; }
19703 if test "${ac_cv_search_nanosleep+set}" = set; then :
19704 $as_echo_n "(cached) " >&6
19705 else
19706 ac_func_search_save_LIBS=$LIBS
19707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19708 /* end confdefs.h. */
19710 /* Override any GCC internal prototype to avoid an error.
19711 Use char because int might match the return type of a GCC
19712 builtin and then its argument prototype would still apply. */
19713 #ifdef __cplusplus
19714 extern "C"
19715 #endif
19716 char nanosleep ();
19718 main ()
19720 return nanosleep ();
19722 return 0;
19724 _ACEOF
19725 for ac_lib in '' posix4; do
19726 if test -z "$ac_lib"; then
19727 ac_res="none required"
19728 else
19729 ac_res=-l$ac_lib
19730 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19732 if test x$gcc_no_link = xyes; then
19733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19735 if ac_fn_cxx_try_link "$LINENO"; then :
19736 ac_cv_search_nanosleep=$ac_res
19738 rm -f core conftest.err conftest.$ac_objext \
19739 conftest$ac_exeext
19740 if test "${ac_cv_search_nanosleep+set}" = set; then :
19741 break
19743 done
19744 if test "${ac_cv_search_nanosleep+set}" = set; then :
19746 else
19747 ac_cv_search_nanosleep=no
19749 rm conftest.$ac_ext
19750 LIBS=$ac_func_search_save_LIBS
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19753 $as_echo "$ac_cv_search_nanosleep" >&6; }
19754 ac_res=$ac_cv_search_nanosleep
19755 if test "$ac_res" != no; then :
19756 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19762 case "$ac_cv_search_clock_gettime" in
19763 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19765 esac
19766 case "$ac_cv_search_nanosleep" in
19767 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19769 esac
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19772 $as_echo_n "checking for library containing sched_yield... " >&6; }
19773 if test "${ac_cv_search_sched_yield+set}" = set; then :
19774 $as_echo_n "(cached) " >&6
19775 else
19776 ac_func_search_save_LIBS=$LIBS
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19780 /* Override any GCC internal prototype to avoid an error.
19781 Use char because int might match the return type of a GCC
19782 builtin and then its argument prototype would still apply. */
19783 #ifdef __cplusplus
19784 extern "C"
19785 #endif
19786 char sched_yield ();
19788 main ()
19790 return sched_yield ();
19792 return 0;
19794 _ACEOF
19795 for ac_lib in '' rt posix4; do
19796 if test -z "$ac_lib"; then
19797 ac_res="none required"
19798 else
19799 ac_res=-l$ac_lib
19800 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19802 if test x$gcc_no_link = xyes; then
19803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19805 if ac_fn_cxx_try_link "$LINENO"; then :
19806 ac_cv_search_sched_yield=$ac_res
19808 rm -f core conftest.err conftest.$ac_objext \
19809 conftest$ac_exeext
19810 if test "${ac_cv_search_sched_yield+set}" = set; then :
19811 break
19813 done
19814 if test "${ac_cv_search_sched_yield+set}" = set; then :
19816 else
19817 ac_cv_search_sched_yield=no
19819 rm conftest.$ac_ext
19820 LIBS=$ac_func_search_save_LIBS
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19823 $as_echo "$ac_cv_search_sched_yield" >&6; }
19824 ac_res=$ac_cv_search_sched_yield
19825 if test "$ac_res" != no; then :
19826 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19831 case "$ac_cv_search_sched_yield" in
19832 -lposix4*)
19833 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19834 ac_has_sched_yield=yes
19836 -lrt*)
19837 if test x"$enable_libstdcxx_time" = x"rt"; then
19838 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19839 ac_has_sched_yield=yes
19843 ac_has_sched_yield=yes
19845 esac
19847 for ac_header in unistd.h
19848 do :
19849 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19850 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19851 cat >>confdefs.h <<_ACEOF
19852 #define HAVE_UNISTD_H 1
19853 _ACEOF
19854 ac_has_unistd_h=yes
19855 else
19856 ac_has_unistd_h=no
19859 done
19862 if test x"$ac_has_unistd_h" = x"yes"; then
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19864 $as_echo_n "checking for monotonic clock... " >&6; }
19865 if test x$gcc_no_link = xyes; then
19866 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19870 #include <unistd.h>
19871 #include <time.h>
19874 main ()
19876 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19877 timespec tp;
19878 #endif
19879 clock_gettime(CLOCK_MONOTONIC, &tp);
19882 return 0;
19884 _ACEOF
19885 if ac_fn_cxx_try_link "$LINENO"; then :
19886 ac_has_clock_monotonic=yes
19887 else
19888 ac_has_clock_monotonic=no
19890 rm -f core conftest.err conftest.$ac_objext \
19891 conftest$ac_exeext conftest.$ac_ext
19893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19894 $as_echo "$ac_has_clock_monotonic" >&6; }
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19897 $as_echo_n "checking for realtime clock... " >&6; }
19898 if test x$gcc_no_link = xyes; then
19899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19903 #include <unistd.h>
19904 #include <time.h>
19907 main ()
19909 #if _POSIX_TIMERS > 0
19910 timespec tp;
19911 #endif
19912 clock_gettime(CLOCK_REALTIME, &tp);
19915 return 0;
19917 _ACEOF
19918 if ac_fn_cxx_try_link "$LINENO"; then :
19919 ac_has_clock_realtime=yes
19920 else
19921 ac_has_clock_realtime=no
19923 rm -f core conftest.err conftest.$ac_objext \
19924 conftest$ac_exeext conftest.$ac_ext
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19927 $as_echo "$ac_has_clock_realtime" >&6; }
19929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19930 $as_echo_n "checking for nanosleep... " >&6; }
19931 if test x$gcc_no_link = xyes; then
19932 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19935 /* end confdefs.h. */
19936 #include <unistd.h>
19937 #include <time.h>
19940 main ()
19942 #if _POSIX_TIMERS > 0
19943 timespec tp;
19944 #endif
19945 nanosleep(&tp, 0);
19948 return 0;
19950 _ACEOF
19951 if ac_fn_cxx_try_link "$LINENO"; then :
19952 ac_has_nanosleep=yes
19953 else
19954 ac_has_nanosleep=no
19956 rm -f core conftest.err conftest.$ac_objext \
19957 conftest$ac_exeext conftest.$ac_ext
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19960 $as_echo "$ac_has_nanosleep" >&6; }
19964 if test x"$ac_has_clock_monotonic" != x"yes"; then
19965 case ${target_os} in
19966 linux*)
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19968 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19970 /* end confdefs.h. */
19971 #include <unistd.h>
19972 #include <time.h>
19973 #include <sys/syscall.h>
19976 main ()
19978 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19979 timespec tp;
19980 #endif
19981 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19982 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19985 return 0;
19987 _ACEOF
19988 if ac_fn_cxx_try_compile "$LINENO"; then :
19989 ac_has_clock_monotonic_syscall=yes
19990 else
19991 ac_has_clock_monotonic_syscall=no
19993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19995 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19996 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19998 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20000 ac_has_clock_monotonic=yes
20001 ac_has_clock_realtime=yes
20002 fi;;
20003 esac
20006 if test x"$ac_has_clock_monotonic" = x"yes"; then
20008 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20012 if test x"$ac_has_clock_realtime" = x"yes"; then
20014 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20018 if test x"$ac_has_sched_yield" = x"yes"; then
20020 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20024 if test x"$ac_has_nanosleep" = x"yes"; then
20026 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20028 else
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20030 $as_echo_n "checking for sleep... " >&6; }
20031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20032 /* end confdefs.h. */
20033 #include <unistd.h>
20035 main ()
20037 sleep(1)
20039 return 0;
20041 _ACEOF
20042 if ac_fn_cxx_try_compile "$LINENO"; then :
20043 ac_has_sleep=yes
20044 else
20045 ac_has_sleep=no
20047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20048 if test x"$ac_has_sleep" = x"yes"; then
20050 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20054 $as_echo "$ac_has_sleep" >&6; }
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20056 $as_echo_n "checking for usleep... " >&6; }
20057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20058 /* end confdefs.h. */
20059 #include <unistd.h>
20061 main ()
20063 sleep(1);
20064 usleep(100);
20066 return 0;
20068 _ACEOF
20069 if ac_fn_cxx_try_compile "$LINENO"; then :
20070 ac_has_usleep=yes
20071 else
20072 ac_has_usleep=no
20074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20075 if test x"$ac_has_usleep" = x"yes"; then
20077 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20081 $as_echo "$ac_has_usleep" >&6; }
20084 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20086 $as_echo_n "checking for Sleep... " >&6; }
20087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20088 /* end confdefs.h. */
20089 #include <windows.h>
20091 main ()
20093 Sleep(1)
20095 return 0;
20097 _ACEOF
20098 if ac_fn_cxx_try_compile "$LINENO"; then :
20099 ac_has_win32_sleep=yes
20100 else
20101 ac_has_win32_sleep=no
20103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20104 if test x"$ac_has_win32_sleep" = x"yes"; then
20106 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20110 $as_echo "$ac_has_win32_sleep" >&6; }
20115 CXXFLAGS="$ac_save_CXXFLAGS"
20116 LIBS="$ac_save_LIBS"
20117 ac_ext=c
20118 ac_cpp='$CPP $CPPFLAGS'
20119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20125 # Check for tmpnam which is obsolescent in POSIX.1-2008
20127 ac_ext=cpp
20128 ac_cpp='$CXXCPP $CPPFLAGS'
20129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20133 ac_save_CXXFLAGS="$CXXFLAGS"
20134 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20136 $as_echo_n "checking for tmpnam... " >&6; }
20137 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20138 $as_echo_n "(cached) " >&6
20139 else
20140 if test x$gcc_no_link = xyes; then
20141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20142 /* end confdefs.h. */
20143 #include <stdio.h>
20145 main ()
20147 char *tmp = tmpnam(NULL);
20149 return 0;
20151 _ACEOF
20152 if ac_fn_cxx_try_compile "$LINENO"; then :
20153 glibcxx_cv_TMPNAM=yes
20154 else
20155 glibcxx_cv_TMPNAM=no
20157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20158 else
20159 if test x$gcc_no_link = xyes; then
20160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20163 /* end confdefs.h. */
20164 #include <stdio.h>
20166 main ()
20168 char *tmp = tmpnam(NULL);
20170 return 0;
20172 _ACEOF
20173 if ac_fn_cxx_try_link "$LINENO"; then :
20174 glibcxx_cv_TMPNAM=yes
20175 else
20176 glibcxx_cv_TMPNAM=no
20178 rm -f core conftest.err conftest.$ac_objext \
20179 conftest$ac_exeext conftest.$ac_ext
20184 if test $glibcxx_cv_TMPNAM = yes; then
20186 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20190 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20191 CXXFLAGS="$ac_save_CXXFLAGS"
20192 ac_ext=c
20193 ac_cpp='$CPP $CPPFLAGS'
20194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20201 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20202 if test "x$ac_cv_header_locale_h" = x""yes; then :
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20205 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20206 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20207 $as_echo_n "(cached) " >&6
20208 else
20209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20210 /* end confdefs.h. */
20211 #include <locale.h>
20213 main ()
20215 return LC_MESSAGES
20217 return 0;
20219 _ACEOF
20220 if ac_fn_c_try_compile "$LINENO"; then :
20221 ac_cv_val_LC_MESSAGES=yes
20222 else
20223 ac_cv_val_LC_MESSAGES=no
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20228 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20229 if test $ac_cv_val_LC_MESSAGES = yes; then
20231 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20240 # For hardware_concurrency
20241 for ac_header in sys/sysinfo.h
20242 do :
20243 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20244 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20245 cat >>confdefs.h <<_ACEOF
20246 #define HAVE_SYS_SYSINFO_H 1
20247 _ACEOF
20251 done
20256 ac_ext=cpp
20257 ac_cpp='$CXXCPP $CPPFLAGS'
20258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20262 ac_save_CXXFLAGS="$CXXFLAGS"
20263 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20266 $as_echo_n "checking for get_nprocs... " >&6; }
20267 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20268 $as_echo_n "(cached) " >&6
20269 else
20271 if test x$gcc_no_link = xyes; then
20272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20273 /* end confdefs.h. */
20274 #include <sys/sysinfo.h>
20276 main ()
20278 int n = get_nprocs();
20280 return 0;
20282 _ACEOF
20283 if ac_fn_cxx_try_compile "$LINENO"; then :
20284 glibcxx_cv_GET_NPROCS=yes
20285 else
20286 glibcxx_cv_GET_NPROCS=no
20288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20289 else
20290 if test x$gcc_no_link = xyes; then
20291 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20294 /* end confdefs.h. */
20295 #include <sys/sysinfo.h>
20297 main ()
20299 int n = get_nprocs();
20301 return 0;
20303 _ACEOF
20304 if ac_fn_cxx_try_link "$LINENO"; then :
20305 glibcxx_cv_GET_NPROCS=yes
20306 else
20307 glibcxx_cv_GET_NPROCS=no
20309 rm -f core conftest.err conftest.$ac_objext \
20310 conftest$ac_exeext conftest.$ac_ext
20315 if test $glibcxx_cv_GET_NPROCS = yes; then
20317 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20321 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20323 CXXFLAGS="$ac_save_CXXFLAGS"
20324 ac_ext=c
20325 ac_cpp='$CPP $CPPFLAGS'
20326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20331 for ac_header in unistd.h
20332 do :
20333 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20334 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20335 cat >>confdefs.h <<_ACEOF
20336 #define HAVE_UNISTD_H 1
20337 _ACEOF
20341 done
20346 ac_ext=cpp
20347 ac_cpp='$CXXCPP $CPPFLAGS'
20348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20352 ac_save_CXXFLAGS="$CXXFLAGS"
20353 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20356 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20357 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20358 $as_echo_n "(cached) " >&6
20359 else
20361 if test x$gcc_no_link = xyes; then
20362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20363 /* end confdefs.h. */
20364 #include <unistd.h>
20366 main ()
20368 int n = sysconf(_SC_NPROCESSORS_ONLN);
20370 return 0;
20372 _ACEOF
20373 if ac_fn_cxx_try_compile "$LINENO"; then :
20374 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20375 else
20376 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20379 else
20380 if test x$gcc_no_link = xyes; then
20381 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20384 /* end confdefs.h. */
20385 #include <unistd.h>
20387 main ()
20389 int n = sysconf(_SC_NPROCESSORS_ONLN);
20391 return 0;
20393 _ACEOF
20394 if ac_fn_cxx_try_link "$LINENO"; then :
20395 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20396 else
20397 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20399 rm -f core conftest.err conftest.$ac_objext \
20400 conftest$ac_exeext conftest.$ac_ext
20405 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20407 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20411 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20413 CXXFLAGS="$ac_save_CXXFLAGS"
20414 ac_ext=c
20415 ac_cpp='$CPP $CPPFLAGS'
20416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20424 ac_ext=cpp
20425 ac_cpp='$CXXCPP $CPPFLAGS'
20426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20430 ac_save_CXXFLAGS="$CXXFLAGS"
20431 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20434 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20435 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20436 $as_echo_n "(cached) " >&6
20437 else
20439 if test x$gcc_no_link = xyes; then
20440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20441 /* end confdefs.h. */
20442 #include <unistd.h>
20444 main ()
20446 int n = sysconf(_SC_NPROC_ONLN);
20448 return 0;
20450 _ACEOF
20451 if ac_fn_cxx_try_compile "$LINENO"; then :
20452 glibcxx_cv_SC_NPROC_ONLN=yes
20453 else
20454 glibcxx_cv_SC_NPROC_ONLN=no
20456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20457 else
20458 if test x$gcc_no_link = xyes; then
20459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20462 /* end confdefs.h. */
20463 #include <unistd.h>
20465 main ()
20467 int n = sysconf(_SC_NPROC_ONLN);
20469 return 0;
20471 _ACEOF
20472 if ac_fn_cxx_try_link "$LINENO"; then :
20473 glibcxx_cv_SC_NPROC_ONLN=yes
20474 else
20475 glibcxx_cv_SC_NPROC_ONLN=no
20477 rm -f core conftest.err conftest.$ac_objext \
20478 conftest$ac_exeext conftest.$ac_ext
20483 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20485 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20489 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20491 CXXFLAGS="$ac_save_CXXFLAGS"
20492 ac_ext=c
20493 ac_cpp='$CPP $CPPFLAGS'
20494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20502 ac_ext=cpp
20503 ac_cpp='$CXXCPP $CPPFLAGS'
20504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20508 ac_save_CXXFLAGS="$CXXFLAGS"
20509 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20512 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20513 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20514 $as_echo_n "(cached) " >&6
20515 else
20517 if test x$gcc_no_link = xyes; then
20518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20519 /* end confdefs.h. */
20520 #include <pthread.h>
20522 main ()
20524 int n = pthread_num_processors_np();
20526 return 0;
20528 _ACEOF
20529 if ac_fn_cxx_try_compile "$LINENO"; then :
20530 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20531 else
20532 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20535 else
20536 if test x$gcc_no_link = xyes; then
20537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20540 /* end confdefs.h. */
20541 #include <pthread.h>
20543 main ()
20545 int n = pthread_num_processors_np();
20547 return 0;
20549 _ACEOF
20550 if ac_fn_cxx_try_link "$LINENO"; then :
20551 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20552 else
20553 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20555 rm -f core conftest.err conftest.$ac_objext \
20556 conftest$ac_exeext conftest.$ac_ext
20561 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20563 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20567 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20569 CXXFLAGS="$ac_save_CXXFLAGS"
20570 ac_ext=c
20571 ac_cpp='$CPP $CPPFLAGS'
20572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20580 ac_ext=cpp
20581 ac_cpp='$CXXCPP $CPPFLAGS'
20582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20586 ac_save_CXXFLAGS="$CXXFLAGS"
20587 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20590 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20591 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20592 $as_echo_n "(cached) " >&6
20593 else
20595 if test x$gcc_no_link = xyes; then
20596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20597 /* end confdefs.h. */
20599 #include <stddef.h>
20600 #include <sys/sysctl.h>
20603 main ()
20606 int count;
20607 size_t size = sizeof(count);
20608 int mib[] = { CTL_HW, HW_NCPU };
20609 sysctl(mib, 2, &count, &size, NULL, 0);
20612 return 0;
20614 _ACEOF
20615 if ac_fn_cxx_try_compile "$LINENO"; then :
20616 glibcxx_cv_SYSCTL_HW_NCPU=yes
20617 else
20618 glibcxx_cv_SYSCTL_HW_NCPU=no
20620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20621 else
20622 if test x$gcc_no_link = xyes; then
20623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20626 /* end confdefs.h. */
20628 #include <stddef.h>
20629 #include <sys/sysctl.h>
20632 main ()
20635 int count;
20636 size_t size = sizeof(count);
20637 int mib[] = { CTL_HW, HW_NCPU };
20638 sysctl(mib, 2, &count, &size, NULL, 0);
20641 return 0;
20643 _ACEOF
20644 if ac_fn_cxx_try_link "$LINENO"; then :
20645 glibcxx_cv_SYSCTL_HW_NCPU=yes
20646 else
20647 glibcxx_cv_SYSCTL_HW_NCPU=no
20649 rm -f core conftest.err conftest.$ac_objext \
20650 conftest$ac_exeext conftest.$ac_ext
20655 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20657 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20661 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20663 CXXFLAGS="$ac_save_CXXFLAGS"
20664 ac_ext=c
20665 ac_cpp='$CPP $CPPFLAGS'
20666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20673 $as_echo "for suitable sys/sdt.h" >&6; }
20674 # Note that this test has to be run with the C language.
20675 # Otherwise, sdt.h will try to include some headers from
20676 # libstdc++ itself.
20678 ac_ext=c
20679 ac_cpp='$CPP $CPPFLAGS'
20680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20684 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20685 $as_echo_n "(cached) " >&6
20686 else
20688 # Because we have to run the test in C, we use grep rather
20689 # than the compiler to check for the bug. The bug is that
20690 # were strings without trailing whitespace, causing g++
20691 # to look for operator"". The pattern searches for the fixed
20692 # output.
20693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20694 /* end confdefs.h. */
20696 #include <sys/sdt.h>
20697 int f() { STAP_PROBE(hi, bob); }
20699 _ACEOF
20700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20701 $EGREP " \",\" " >/dev/null 2>&1; then :
20702 glibcxx_cv_sys_sdt_h=yes
20703 else
20704 glibcxx_cv_sys_sdt_h=no
20706 rm -f conftest*
20711 ac_ext=c
20712 ac_cpp='$CPP $CPPFLAGS'
20713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20717 if test $glibcxx_cv_sys_sdt_h = yes; then
20719 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20723 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20726 # Check for available headers.
20727 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20728 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20729 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20730 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20731 wchar.h wctype.h
20732 do :
20733 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20734 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20735 eval as_val=\$$as_ac_Header
20736 if test "x$as_val" = x""yes; then :
20737 cat >>confdefs.h <<_ACEOF
20738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20739 _ACEOF
20743 done
20746 # Only do link tests if native. Else, hardcode.
20747 if $GLIBCXX_IS_NATIVE; then
20749 # We can do more elaborate tests that assume a working linker.
20750 CANADIAN=no
20754 # Check whether --with-gnu-ld was given.
20755 if test "${with_gnu_ld+set}" = set; then :
20756 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20757 else
20758 with_gnu_ld=no
20761 ac_prog=ld
20762 if test "$GCC" = yes; then
20763 # Check if gcc -print-prog-name=ld gives a path.
20764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20765 $as_echo_n "checking for ld used by $CC... " >&6; }
20766 case $host in
20767 *-*-mingw*)
20768 # gcc leaves a trailing carriage return which upsets mingw
20769 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20771 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20772 esac
20773 case $ac_prog in
20774 # Accept absolute paths.
20775 [\\/]* | ?:[\\/]*)
20776 re_direlt='/[^/][^/]*/\.\./'
20777 # Canonicalize the pathname of ld
20778 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20779 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20780 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20781 done
20782 test -z "$LD" && LD="$ac_prog"
20785 # If it fails, then pretend we aren't using GCC.
20786 ac_prog=ld
20789 # If it is relative, then search for the first ld in PATH.
20790 with_gnu_ld=unknown
20792 esac
20793 elif test "$with_gnu_ld" = yes; then
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20795 $as_echo_n "checking for GNU ld... " >&6; }
20796 else
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20798 $as_echo_n "checking for non-GNU ld... " >&6; }
20800 if test "${lt_cv_path_LD+set}" = set; then :
20801 $as_echo_n "(cached) " >&6
20802 else
20803 if test -z "$LD"; then
20804 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20805 for ac_dir in $PATH; do
20806 IFS="$lt_save_ifs"
20807 test -z "$ac_dir" && ac_dir=.
20808 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20809 lt_cv_path_LD="$ac_dir/$ac_prog"
20810 # Check to see if the program is GNU ld. I'd rather use --version,
20811 # but apparently some variants of GNU ld only accept -v.
20812 # Break only if it was the GNU/non-GNU ld that we prefer.
20813 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20814 *GNU* | *'with BFD'*)
20815 test "$with_gnu_ld" != no && break
20818 test "$with_gnu_ld" != yes && break
20820 esac
20822 done
20823 IFS="$lt_save_ifs"
20824 else
20825 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20829 LD="$lt_cv_path_LD"
20830 if test -n "$LD"; then
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20832 $as_echo "$LD" >&6; }
20833 else
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20835 $as_echo "no" >&6; }
20837 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20839 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20840 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20841 $as_echo_n "(cached) " >&6
20842 else
20843 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20844 case `$LD -v 2>&1 </dev/null` in
20845 *GNU* | *'with BFD'*)
20846 lt_cv_prog_gnu_ld=yes
20849 lt_cv_prog_gnu_ld=no
20851 esac
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20854 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20855 with_gnu_ld=$lt_cv_prog_gnu_ld
20863 # If we're not using GNU ld, then there's no point in even trying these
20864 # tests. Check for that first. We should have already tested for gld
20865 # by now (in libtool), but require it now just to be safe...
20866 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20867 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20871 # The name set by libtool depends on the version of libtool. Shame on us
20872 # for depending on an impl detail, but c'est la vie. Older versions used
20873 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20874 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20875 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20876 # set (hence we're using an older libtool), then set it.
20877 if test x${with_gnu_ld+set} != xset; then
20878 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20879 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20880 with_gnu_ld=no
20881 else
20882 with_gnu_ld=$ac_cv_prog_gnu_ld
20886 # Start by getting the version number. I think the libtool test already
20887 # does some of this, but throws away the result.
20888 glibcxx_ld_is_gold=no
20889 if test x"$with_gnu_ld" = x"yes"; then
20890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20891 $as_echo_n "checking for ld version... " >&6; }
20893 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20894 glibcxx_ld_is_gold=yes
20896 ldver=`$LD --version 2>/dev/null |
20897 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'`
20899 glibcxx_gnu_ld_version=`echo $ldver | \
20900 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20902 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20905 # Set --gc-sections.
20906 glibcxx_have_gc_sections=no
20907 if test "$glibcxx_ld_is_gold" = "yes"; then
20908 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20909 glibcxx_have_gc_sections=yes
20911 else
20912 glibcxx_gcsections_min_ld=21602
20913 if test x"$with_gnu_ld" = x"yes" &&
20914 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20915 glibcxx_have_gc_sections=yes
20918 if test "$glibcxx_have_gc_sections" = "yes"; then
20919 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20920 # NB: This flag only works reliably after 2.16.1. Configure tests
20921 # for this are difficult, so hard wire a value that should work.
20923 ac_test_CFLAGS="${CFLAGS+set}"
20924 ac_save_CFLAGS="$CFLAGS"
20925 CFLAGS='-Wl,--gc-sections'
20927 # Check for -Wl,--gc-sections
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20929 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20930 if test x$gcc_no_link = xyes; then
20931 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20934 /* end confdefs.h. */
20935 int one(void) { return 1; }
20936 int two(void) { return 2; }
20939 main ()
20941 two();
20943 return 0;
20945 _ACEOF
20946 if ac_fn_c_try_link "$LINENO"; then :
20947 ac_gcsections=yes
20948 else
20949 ac_gcsections=no
20951 rm -f core conftest.err conftest.$ac_objext \
20952 conftest$ac_exeext conftest.$ac_ext
20953 if test "$ac_gcsections" = "yes"; then
20954 rm -f conftest.c
20955 touch conftest.c
20956 if $CC -c conftest.c; then
20957 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20958 grep "Warning: gc-sections option ignored" > /dev/null; then
20959 ac_gcsections=no
20962 rm -f conftest.c conftest.o conftest
20964 if test "$ac_gcsections" = "yes"; then
20965 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20968 $as_echo "$ac_gcsections" >&6; }
20970 if test "$ac_test_CFLAGS" = set; then
20971 CFLAGS="$ac_save_CFLAGS"
20972 else
20973 # this is the suspicious part
20974 CFLAGS=''
20978 # Set -z,relro.
20979 # Note this is only for shared objects.
20980 ac_ld_relro=no
20981 if test x"$with_gnu_ld" = x"yes"; then
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20983 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20984 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20985 if test -n "$cxx_z_relo"; then
20986 OPT_LDFLAGS="-Wl,-z,relro"
20987 ac_ld_relro=yes
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20990 $as_echo "$ac_ld_relro" >&6; }
20993 # Set linker optimization flags.
20994 if test x"$with_gnu_ld" = x"yes"; then
20995 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21002 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21003 ac_save_CXXFLAGS="$CXXFLAGS"
21004 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21007 $as_echo_n "checking for sin in -lm... " >&6; }
21008 if test "${ac_cv_lib_m_sin+set}" = set; then :
21009 $as_echo_n "(cached) " >&6
21010 else
21011 ac_check_lib_save_LIBS=$LIBS
21012 LIBS="-lm $LIBS"
21013 if test x$gcc_no_link = xyes; then
21014 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21017 /* end confdefs.h. */
21019 /* Override any GCC internal prototype to avoid an error.
21020 Use char because int might match the return type of a GCC
21021 builtin and then its argument prototype would still apply. */
21022 #ifdef __cplusplus
21023 extern "C"
21024 #endif
21025 char sin ();
21027 main ()
21029 return sin ();
21031 return 0;
21033 _ACEOF
21034 if ac_fn_c_try_link "$LINENO"; then :
21035 ac_cv_lib_m_sin=yes
21036 else
21037 ac_cv_lib_m_sin=no
21039 rm -f core conftest.err conftest.$ac_objext \
21040 conftest$ac_exeext conftest.$ac_ext
21041 LIBS=$ac_check_lib_save_LIBS
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21044 $as_echo "$ac_cv_lib_m_sin" >&6; }
21045 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21046 libm="-lm"
21049 ac_save_LIBS="$LIBS"
21050 LIBS="$LIBS $libm"
21054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21055 $as_echo_n "checking for isinf declaration... " >&6; }
21056 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21057 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21058 $as_echo_n "(cached) " >&6
21059 else
21062 ac_ext=cpp
21063 ac_cpp='$CXXCPP $CPPFLAGS'
21064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21069 /* end confdefs.h. */
21070 #include <math.h>
21071 #ifdef HAVE_IEEEFP_H
21072 #include <ieeefp.h>
21073 #endif
21076 main ()
21078 isinf(0);
21080 return 0;
21082 _ACEOF
21083 if ac_fn_cxx_try_compile "$LINENO"; then :
21084 glibcxx_cv_func_isinf_use=yes
21085 else
21086 glibcxx_cv_func_isinf_use=no
21088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21089 ac_ext=c
21090 ac_cpp='$CPP $CPPFLAGS'
21091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21100 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21102 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21103 for ac_func in isinf
21104 do :
21105 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21106 if test "x$ac_cv_func_isinf" = x""yes; then :
21107 cat >>confdefs.h <<_ACEOF
21108 #define HAVE_ISINF 1
21109 _ACEOF
21112 done
21114 else
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21117 $as_echo_n "checking for _isinf declaration... " >&6; }
21118 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21119 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21120 $as_echo_n "(cached) " >&6
21121 else
21124 ac_ext=cpp
21125 ac_cpp='$CXXCPP $CPPFLAGS'
21126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21131 /* end confdefs.h. */
21132 #include <math.h>
21133 #ifdef HAVE_IEEEFP_H
21134 #include <ieeefp.h>
21135 #endif
21138 main ()
21140 _isinf(0);
21142 return 0;
21144 _ACEOF
21145 if ac_fn_cxx_try_compile "$LINENO"; then :
21146 glibcxx_cv_func__isinf_use=yes
21147 else
21148 glibcxx_cv_func__isinf_use=no
21150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21151 ac_ext=c
21152 ac_cpp='$CPP $CPPFLAGS'
21153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21162 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21164 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21165 for ac_func in _isinf
21166 do :
21167 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21168 if test "x$ac_cv_func__isinf" = x""yes; then :
21169 cat >>confdefs.h <<_ACEOF
21170 #define HAVE__ISINF 1
21171 _ACEOF
21174 done
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21184 $as_echo_n "checking for isnan declaration... " >&6; }
21185 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21186 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21187 $as_echo_n "(cached) " >&6
21188 else
21191 ac_ext=cpp
21192 ac_cpp='$CXXCPP $CPPFLAGS'
21193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21198 /* end confdefs.h. */
21199 #include <math.h>
21200 #ifdef HAVE_IEEEFP_H
21201 #include <ieeefp.h>
21202 #endif
21205 main ()
21207 isnan(0);
21209 return 0;
21211 _ACEOF
21212 if ac_fn_cxx_try_compile "$LINENO"; then :
21213 glibcxx_cv_func_isnan_use=yes
21214 else
21215 glibcxx_cv_func_isnan_use=no
21217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21218 ac_ext=c
21219 ac_cpp='$CPP $CPPFLAGS'
21220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21229 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21231 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21232 for ac_func in isnan
21233 do :
21234 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21235 if test "x$ac_cv_func_isnan" = x""yes; then :
21236 cat >>confdefs.h <<_ACEOF
21237 #define HAVE_ISNAN 1
21238 _ACEOF
21241 done
21243 else
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21246 $as_echo_n "checking for _isnan declaration... " >&6; }
21247 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21248 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21249 $as_echo_n "(cached) " >&6
21250 else
21253 ac_ext=cpp
21254 ac_cpp='$CXXCPP $CPPFLAGS'
21255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21260 /* end confdefs.h. */
21261 #include <math.h>
21262 #ifdef HAVE_IEEEFP_H
21263 #include <ieeefp.h>
21264 #endif
21267 main ()
21269 _isnan(0);
21271 return 0;
21273 _ACEOF
21274 if ac_fn_cxx_try_compile "$LINENO"; then :
21275 glibcxx_cv_func__isnan_use=yes
21276 else
21277 glibcxx_cv_func__isnan_use=no
21279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21280 ac_ext=c
21281 ac_cpp='$CPP $CPPFLAGS'
21282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21291 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21293 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21294 for ac_func in _isnan
21295 do :
21296 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21297 if test "x$ac_cv_func__isnan" = x""yes; then :
21298 cat >>confdefs.h <<_ACEOF
21299 #define HAVE__ISNAN 1
21300 _ACEOF
21303 done
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21313 $as_echo_n "checking for finite declaration... " >&6; }
21314 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21315 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21316 $as_echo_n "(cached) " >&6
21317 else
21320 ac_ext=cpp
21321 ac_cpp='$CXXCPP $CPPFLAGS'
21322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21327 /* end confdefs.h. */
21328 #include <math.h>
21329 #ifdef HAVE_IEEEFP_H
21330 #include <ieeefp.h>
21331 #endif
21334 main ()
21336 finite(0);
21338 return 0;
21340 _ACEOF
21341 if ac_fn_cxx_try_compile "$LINENO"; then :
21342 glibcxx_cv_func_finite_use=yes
21343 else
21344 glibcxx_cv_func_finite_use=no
21346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21347 ac_ext=c
21348 ac_cpp='$CPP $CPPFLAGS'
21349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21358 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21360 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21361 for ac_func in finite
21362 do :
21363 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21364 if test "x$ac_cv_func_finite" = x""yes; then :
21365 cat >>confdefs.h <<_ACEOF
21366 #define HAVE_FINITE 1
21367 _ACEOF
21370 done
21372 else
21374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21375 $as_echo_n "checking for _finite declaration... " >&6; }
21376 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21377 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21378 $as_echo_n "(cached) " >&6
21379 else
21382 ac_ext=cpp
21383 ac_cpp='$CXXCPP $CPPFLAGS'
21384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21389 /* end confdefs.h. */
21390 #include <math.h>
21391 #ifdef HAVE_IEEEFP_H
21392 #include <ieeefp.h>
21393 #endif
21396 main ()
21398 _finite(0);
21400 return 0;
21402 _ACEOF
21403 if ac_fn_cxx_try_compile "$LINENO"; then :
21404 glibcxx_cv_func__finite_use=yes
21405 else
21406 glibcxx_cv_func__finite_use=no
21408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21409 ac_ext=c
21410 ac_cpp='$CPP $CPPFLAGS'
21411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21420 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21422 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21423 for ac_func in _finite
21424 do :
21425 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21426 if test "x$ac_cv_func__finite" = x""yes; then :
21427 cat >>confdefs.h <<_ACEOF
21428 #define HAVE__FINITE 1
21429 _ACEOF
21432 done
21441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21442 $as_echo_n "checking for sincos declaration... " >&6; }
21443 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21444 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21445 $as_echo_n "(cached) " >&6
21446 else
21449 ac_ext=cpp
21450 ac_cpp='$CXXCPP $CPPFLAGS'
21451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21456 /* end confdefs.h. */
21457 #include <math.h>
21459 main ()
21461 sincos(0, 0, 0);
21463 return 0;
21465 _ACEOF
21466 if ac_fn_cxx_try_compile "$LINENO"; then :
21467 glibcxx_cv_func_sincos_use=yes
21468 else
21469 glibcxx_cv_func_sincos_use=no
21471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21472 ac_ext=c
21473 ac_cpp='$CPP $CPPFLAGS'
21474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21483 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21485 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21486 for ac_func in sincos
21487 do :
21488 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21489 if test "x$ac_cv_func_sincos" = x""yes; then :
21490 cat >>confdefs.h <<_ACEOF
21491 #define HAVE_SINCOS 1
21492 _ACEOF
21495 done
21497 else
21499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21500 $as_echo_n "checking for _sincos declaration... " >&6; }
21501 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21502 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21503 $as_echo_n "(cached) " >&6
21504 else
21507 ac_ext=cpp
21508 ac_cpp='$CXXCPP $CPPFLAGS'
21509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21514 /* end confdefs.h. */
21515 #include <math.h>
21517 main ()
21519 _sincos(0, 0, 0);
21521 return 0;
21523 _ACEOF
21524 if ac_fn_cxx_try_compile "$LINENO"; then :
21525 glibcxx_cv_func__sincos_use=yes
21526 else
21527 glibcxx_cv_func__sincos_use=no
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 ac_ext=c
21531 ac_cpp='$CPP $CPPFLAGS'
21532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21541 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21543 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21544 for ac_func in _sincos
21545 do :
21546 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21547 if test "x$ac_cv_func__sincos" = x""yes; then :
21548 cat >>confdefs.h <<_ACEOF
21549 #define HAVE__SINCOS 1
21550 _ACEOF
21553 done
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21563 $as_echo_n "checking for fpclass declaration... " >&6; }
21564 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21565 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21566 $as_echo_n "(cached) " >&6
21567 else
21570 ac_ext=cpp
21571 ac_cpp='$CXXCPP $CPPFLAGS'
21572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21577 /* end confdefs.h. */
21578 #include <math.h>
21579 #ifdef HAVE_IEEEFP_H
21580 #include <ieeefp.h>
21581 #endif
21584 main ()
21586 fpclass(0);
21588 return 0;
21590 _ACEOF
21591 if ac_fn_cxx_try_compile "$LINENO"; then :
21592 glibcxx_cv_func_fpclass_use=yes
21593 else
21594 glibcxx_cv_func_fpclass_use=no
21596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21597 ac_ext=c
21598 ac_cpp='$CPP $CPPFLAGS'
21599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21608 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21610 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21611 for ac_func in fpclass
21612 do :
21613 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21614 if test "x$ac_cv_func_fpclass" = x""yes; then :
21615 cat >>confdefs.h <<_ACEOF
21616 #define HAVE_FPCLASS 1
21617 _ACEOF
21620 done
21622 else
21624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21625 $as_echo_n "checking for _fpclass declaration... " >&6; }
21626 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21627 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21628 $as_echo_n "(cached) " >&6
21629 else
21632 ac_ext=cpp
21633 ac_cpp='$CXXCPP $CPPFLAGS'
21634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21639 /* end confdefs.h. */
21640 #include <math.h>
21641 #ifdef HAVE_IEEEFP_H
21642 #include <ieeefp.h>
21643 #endif
21646 main ()
21648 _fpclass(0);
21650 return 0;
21652 _ACEOF
21653 if ac_fn_cxx_try_compile "$LINENO"; then :
21654 glibcxx_cv_func__fpclass_use=yes
21655 else
21656 glibcxx_cv_func__fpclass_use=no
21658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21659 ac_ext=c
21660 ac_cpp='$CPP $CPPFLAGS'
21661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21670 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21672 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21673 for ac_func in _fpclass
21674 do :
21675 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21676 if test "x$ac_cv_func__fpclass" = x""yes; then :
21677 cat >>confdefs.h <<_ACEOF
21678 #define HAVE__FPCLASS 1
21679 _ACEOF
21682 done
21691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21692 $as_echo_n "checking for qfpclass declaration... " >&6; }
21693 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21694 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21695 $as_echo_n "(cached) " >&6
21696 else
21699 ac_ext=cpp
21700 ac_cpp='$CXXCPP $CPPFLAGS'
21701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21706 /* end confdefs.h. */
21707 #include <math.h>
21708 #ifdef HAVE_IEEEFP_H
21709 #include <ieeefp.h>
21710 #endif
21713 main ()
21715 qfpclass(0);
21717 return 0;
21719 _ACEOF
21720 if ac_fn_cxx_try_compile "$LINENO"; then :
21721 glibcxx_cv_func_qfpclass_use=yes
21722 else
21723 glibcxx_cv_func_qfpclass_use=no
21725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21737 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21739 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21740 for ac_func in qfpclass
21741 do :
21742 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21743 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21744 cat >>confdefs.h <<_ACEOF
21745 #define HAVE_QFPCLASS 1
21746 _ACEOF
21749 done
21751 else
21753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21754 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21755 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21756 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21757 $as_echo_n "(cached) " >&6
21758 else
21761 ac_ext=cpp
21762 ac_cpp='$CXXCPP $CPPFLAGS'
21763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21768 /* end confdefs.h. */
21769 #include <math.h>
21770 #ifdef HAVE_IEEEFP_H
21771 #include <ieeefp.h>
21772 #endif
21775 main ()
21777 _qfpclass(0);
21779 return 0;
21781 _ACEOF
21782 if ac_fn_cxx_try_compile "$LINENO"; then :
21783 glibcxx_cv_func__qfpclass_use=yes
21784 else
21785 glibcxx_cv_func__qfpclass_use=no
21787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21788 ac_ext=c
21789 ac_cpp='$CPP $CPPFLAGS'
21790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21799 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21801 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21802 for ac_func in _qfpclass
21803 do :
21804 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21805 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21806 cat >>confdefs.h <<_ACEOF
21807 #define HAVE__QFPCLASS 1
21808 _ACEOF
21811 done
21820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21821 $as_echo_n "checking for hypot declaration... " >&6; }
21822 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21823 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21824 $as_echo_n "(cached) " >&6
21825 else
21828 ac_ext=cpp
21829 ac_cpp='$CXXCPP $CPPFLAGS'
21830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21835 /* end confdefs.h. */
21836 #include <math.h>
21838 main ()
21840 hypot(0, 0);
21842 return 0;
21844 _ACEOF
21845 if ac_fn_cxx_try_compile "$LINENO"; then :
21846 glibcxx_cv_func_hypot_use=yes
21847 else
21848 glibcxx_cv_func_hypot_use=no
21850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21851 ac_ext=c
21852 ac_cpp='$CPP $CPPFLAGS'
21853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21862 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21864 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21865 for ac_func in hypot
21866 do :
21867 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21868 if test "x$ac_cv_func_hypot" = x""yes; then :
21869 cat >>confdefs.h <<_ACEOF
21870 #define HAVE_HYPOT 1
21871 _ACEOF
21874 done
21876 else
21878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21879 $as_echo_n "checking for _hypot declaration... " >&6; }
21880 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21881 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21882 $as_echo_n "(cached) " >&6
21883 else
21886 ac_ext=cpp
21887 ac_cpp='$CXXCPP $CPPFLAGS'
21888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21893 /* end confdefs.h. */
21894 #include <math.h>
21896 main ()
21898 _hypot(0, 0);
21900 return 0;
21902 _ACEOF
21903 if ac_fn_cxx_try_compile "$LINENO"; then :
21904 glibcxx_cv_func__hypot_use=yes
21905 else
21906 glibcxx_cv_func__hypot_use=no
21908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21909 ac_ext=c
21910 ac_cpp='$CPP $CPPFLAGS'
21911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21920 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21922 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21923 for ac_func in _hypot
21924 do :
21925 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21926 if test "x$ac_cv_func__hypot" = x""yes; then :
21927 cat >>confdefs.h <<_ACEOF
21928 #define HAVE__HYPOT 1
21929 _ACEOF
21932 done
21941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21942 $as_echo_n "checking for float trig functions... " >&6; }
21943 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21944 $as_echo_n "(cached) " >&6
21945 else
21948 ac_ext=cpp
21949 ac_cpp='$CXXCPP $CPPFLAGS'
21950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21955 /* end confdefs.h. */
21956 #include <math.h>
21958 main ()
21960 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21962 return 0;
21964 _ACEOF
21965 if ac_fn_cxx_try_compile "$LINENO"; then :
21966 glibcxx_cv_func_float_trig_use=yes
21967 else
21968 glibcxx_cv_func_float_trig_use=no
21970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21971 ac_ext=c
21972 ac_cpp='$CPP $CPPFLAGS'
21973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21980 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21981 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21982 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21983 do :
21984 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21985 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21986 eval as_val=\$$as_ac_var
21987 if test "x$as_val" = x""yes; then :
21988 cat >>confdefs.h <<_ACEOF
21989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21990 _ACEOF
21993 done
21995 else
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21997 $as_echo_n "checking for _float trig functions... " >&6; }
21998 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21999 $as_echo_n "(cached) " >&6
22000 else
22003 ac_ext=cpp
22004 ac_cpp='$CXXCPP $CPPFLAGS'
22005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22010 /* end confdefs.h. */
22011 #include <math.h>
22013 main ()
22015 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22017 return 0;
22019 _ACEOF
22020 if ac_fn_cxx_try_compile "$LINENO"; then :
22021 glibcxx_cv_func__float_trig_use=yes
22022 else
22023 glibcxx_cv_func__float_trig_use=no
22025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22026 ac_ext=c
22027 ac_cpp='$CPP $CPPFLAGS'
22028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22035 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22036 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22037 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22038 do :
22039 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22040 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22041 eval as_val=\$$as_ac_var
22042 if test "x$as_val" = x""yes; then :
22043 cat >>confdefs.h <<_ACEOF
22044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22045 _ACEOF
22048 done
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22058 $as_echo_n "checking for float round functions... " >&6; }
22059 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22060 $as_echo_n "(cached) " >&6
22061 else
22064 ac_ext=cpp
22065 ac_cpp='$CXXCPP $CPPFLAGS'
22066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22071 /* end confdefs.h. */
22072 #include <math.h>
22074 main ()
22076 ceilf (0); floorf (0);
22078 return 0;
22080 _ACEOF
22081 if ac_fn_cxx_try_compile "$LINENO"; then :
22082 glibcxx_cv_func_float_round_use=yes
22083 else
22084 glibcxx_cv_func_float_round_use=no
22086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22087 ac_ext=c
22088 ac_cpp='$CPP $CPPFLAGS'
22089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22096 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22097 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22098 for ac_func in ceilf floorf
22099 do :
22100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22102 eval as_val=\$$as_ac_var
22103 if test "x$as_val" = x""yes; then :
22104 cat >>confdefs.h <<_ACEOF
22105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22106 _ACEOF
22109 done
22111 else
22112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22113 $as_echo_n "checking for _float round functions... " >&6; }
22114 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22115 $as_echo_n "(cached) " >&6
22116 else
22119 ac_ext=cpp
22120 ac_cpp='$CXXCPP $CPPFLAGS'
22121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22126 /* end confdefs.h. */
22127 #include <math.h>
22129 main ()
22131 _ceilf (0); _floorf (0);
22133 return 0;
22135 _ACEOF
22136 if ac_fn_cxx_try_compile "$LINENO"; then :
22137 glibcxx_cv_func__float_round_use=yes
22138 else
22139 glibcxx_cv_func__float_round_use=no
22141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22142 ac_ext=c
22143 ac_cpp='$CPP $CPPFLAGS'
22144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22151 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22152 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22153 for ac_func in _ceilf _floorf
22154 do :
22155 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22156 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22157 eval as_val=\$$as_ac_var
22158 if test "x$as_val" = x""yes; then :
22159 cat >>confdefs.h <<_ACEOF
22160 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22161 _ACEOF
22164 done
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22175 $as_echo_n "checking for expf declaration... " >&6; }
22176 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22177 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22178 $as_echo_n "(cached) " >&6
22179 else
22182 ac_ext=cpp
22183 ac_cpp='$CXXCPP $CPPFLAGS'
22184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22189 /* end confdefs.h. */
22190 #include <math.h>
22191 #ifdef HAVE_IEEEFP_H
22192 #include <ieeefp.h>
22193 #endif
22196 main ()
22198 expf(0);
22200 return 0;
22202 _ACEOF
22203 if ac_fn_cxx_try_compile "$LINENO"; then :
22204 glibcxx_cv_func_expf_use=yes
22205 else
22206 glibcxx_cv_func_expf_use=no
22208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22209 ac_ext=c
22210 ac_cpp='$CPP $CPPFLAGS'
22211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22220 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22222 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22223 for ac_func in expf
22224 do :
22225 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22226 if test "x$ac_cv_func_expf" = x""yes; then :
22227 cat >>confdefs.h <<_ACEOF
22228 #define HAVE_EXPF 1
22229 _ACEOF
22232 done
22234 else
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22237 $as_echo_n "checking for _expf declaration... " >&6; }
22238 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22239 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22240 $as_echo_n "(cached) " >&6
22241 else
22244 ac_ext=cpp
22245 ac_cpp='$CXXCPP $CPPFLAGS'
22246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22251 /* end confdefs.h. */
22252 #include <math.h>
22253 #ifdef HAVE_IEEEFP_H
22254 #include <ieeefp.h>
22255 #endif
22258 main ()
22260 _expf(0);
22262 return 0;
22264 _ACEOF
22265 if ac_fn_cxx_try_compile "$LINENO"; then :
22266 glibcxx_cv_func__expf_use=yes
22267 else
22268 glibcxx_cv_func__expf_use=no
22270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22271 ac_ext=c
22272 ac_cpp='$CPP $CPPFLAGS'
22273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22282 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22284 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22285 for ac_func in _expf
22286 do :
22287 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22288 if test "x$ac_cv_func__expf" = x""yes; then :
22289 cat >>confdefs.h <<_ACEOF
22290 #define HAVE__EXPF 1
22291 _ACEOF
22294 done
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22304 $as_echo_n "checking for isnanf declaration... " >&6; }
22305 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22306 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22307 $as_echo_n "(cached) " >&6
22308 else
22311 ac_ext=cpp
22312 ac_cpp='$CXXCPP $CPPFLAGS'
22313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22318 /* end confdefs.h. */
22319 #include <math.h>
22320 #ifdef HAVE_IEEEFP_H
22321 #include <ieeefp.h>
22322 #endif
22325 main ()
22327 isnanf(0);
22329 return 0;
22331 _ACEOF
22332 if ac_fn_cxx_try_compile "$LINENO"; then :
22333 glibcxx_cv_func_isnanf_use=yes
22334 else
22335 glibcxx_cv_func_isnanf_use=no
22337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22338 ac_ext=c
22339 ac_cpp='$CPP $CPPFLAGS'
22340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22349 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22351 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22352 for ac_func in isnanf
22353 do :
22354 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22355 if test "x$ac_cv_func_isnanf" = x""yes; then :
22356 cat >>confdefs.h <<_ACEOF
22357 #define HAVE_ISNANF 1
22358 _ACEOF
22361 done
22363 else
22365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22366 $as_echo_n "checking for _isnanf declaration... " >&6; }
22367 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22368 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22369 $as_echo_n "(cached) " >&6
22370 else
22373 ac_ext=cpp
22374 ac_cpp='$CXXCPP $CPPFLAGS'
22375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22380 /* end confdefs.h. */
22381 #include <math.h>
22382 #ifdef HAVE_IEEEFP_H
22383 #include <ieeefp.h>
22384 #endif
22387 main ()
22389 _isnanf(0);
22391 return 0;
22393 _ACEOF
22394 if ac_fn_cxx_try_compile "$LINENO"; then :
22395 glibcxx_cv_func__isnanf_use=yes
22396 else
22397 glibcxx_cv_func__isnanf_use=no
22399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22400 ac_ext=c
22401 ac_cpp='$CPP $CPPFLAGS'
22402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22411 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22413 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22414 for ac_func in _isnanf
22415 do :
22416 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22417 if test "x$ac_cv_func__isnanf" = x""yes; then :
22418 cat >>confdefs.h <<_ACEOF
22419 #define HAVE__ISNANF 1
22420 _ACEOF
22423 done
22432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22433 $as_echo_n "checking for isinff declaration... " >&6; }
22434 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22435 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22436 $as_echo_n "(cached) " >&6
22437 else
22440 ac_ext=cpp
22441 ac_cpp='$CXXCPP $CPPFLAGS'
22442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22447 /* end confdefs.h. */
22448 #include <math.h>
22449 #ifdef HAVE_IEEEFP_H
22450 #include <ieeefp.h>
22451 #endif
22454 main ()
22456 isinff(0);
22458 return 0;
22460 _ACEOF
22461 if ac_fn_cxx_try_compile "$LINENO"; then :
22462 glibcxx_cv_func_isinff_use=yes
22463 else
22464 glibcxx_cv_func_isinff_use=no
22466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22467 ac_ext=c
22468 ac_cpp='$CPP $CPPFLAGS'
22469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22478 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22480 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22481 for ac_func in isinff
22482 do :
22483 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22484 if test "x$ac_cv_func_isinff" = x""yes; then :
22485 cat >>confdefs.h <<_ACEOF
22486 #define HAVE_ISINFF 1
22487 _ACEOF
22490 done
22492 else
22494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22495 $as_echo_n "checking for _isinff declaration... " >&6; }
22496 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22497 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22498 $as_echo_n "(cached) " >&6
22499 else
22502 ac_ext=cpp
22503 ac_cpp='$CXXCPP $CPPFLAGS'
22504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22509 /* end confdefs.h. */
22510 #include <math.h>
22511 #ifdef HAVE_IEEEFP_H
22512 #include <ieeefp.h>
22513 #endif
22516 main ()
22518 _isinff(0);
22520 return 0;
22522 _ACEOF
22523 if ac_fn_cxx_try_compile "$LINENO"; then :
22524 glibcxx_cv_func__isinff_use=yes
22525 else
22526 glibcxx_cv_func__isinff_use=no
22528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22529 ac_ext=c
22530 ac_cpp='$CPP $CPPFLAGS'
22531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22540 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22542 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22543 for ac_func in _isinff
22544 do :
22545 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22546 if test "x$ac_cv_func__isinff" = x""yes; then :
22547 cat >>confdefs.h <<_ACEOF
22548 #define HAVE__ISINFF 1
22549 _ACEOF
22552 done
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22562 $as_echo_n "checking for atan2f declaration... " >&6; }
22563 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22564 if test "${glibcxx_cv_func_atan2f_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 atan2f(0, 0);
22583 return 0;
22585 _ACEOF
22586 if ac_fn_cxx_try_compile "$LINENO"; then :
22587 glibcxx_cv_func_atan2f_use=yes
22588 else
22589 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
22603 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22605 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22606 for ac_func in atan2f
22607 do :
22608 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22609 if test "x$ac_cv_func_atan2f" = x""yes; then :
22610 cat >>confdefs.h <<_ACEOF
22611 #define HAVE_ATAN2F 1
22612 _ACEOF
22615 done
22617 else
22619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22620 $as_echo_n "checking for _atan2f declaration... " >&6; }
22621 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22622 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22623 $as_echo_n "(cached) " >&6
22624 else
22627 ac_ext=cpp
22628 ac_cpp='$CXXCPP $CPPFLAGS'
22629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22634 /* end confdefs.h. */
22635 #include <math.h>
22637 main ()
22639 _atan2f(0, 0);
22641 return 0;
22643 _ACEOF
22644 if ac_fn_cxx_try_compile "$LINENO"; then :
22645 glibcxx_cv_func__atan2f_use=yes
22646 else
22647 glibcxx_cv_func__atan2f_use=no
22649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22650 ac_ext=c
22651 ac_cpp='$CPP $CPPFLAGS'
22652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22661 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22663 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22664 for ac_func in _atan2f
22665 do :
22666 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22667 if test "x$ac_cv_func__atan2f" = x""yes; then :
22668 cat >>confdefs.h <<_ACEOF
22669 #define HAVE__ATAN2F 1
22670 _ACEOF
22673 done
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22683 $as_echo_n "checking for fabsf declaration... " >&6; }
22684 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22685 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22686 $as_echo_n "(cached) " >&6
22687 else
22690 ac_ext=cpp
22691 ac_cpp='$CXXCPP $CPPFLAGS'
22692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22697 /* end confdefs.h. */
22698 #include <math.h>
22699 #ifdef HAVE_IEEEFP_H
22700 #include <ieeefp.h>
22701 #endif
22704 main ()
22706 fabsf(0);
22708 return 0;
22710 _ACEOF
22711 if ac_fn_cxx_try_compile "$LINENO"; then :
22712 glibcxx_cv_func_fabsf_use=yes
22713 else
22714 glibcxx_cv_func_fabsf_use=no
22716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22717 ac_ext=c
22718 ac_cpp='$CPP $CPPFLAGS'
22719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22728 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22730 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22731 for ac_func in fabsf
22732 do :
22733 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22734 if test "x$ac_cv_func_fabsf" = x""yes; then :
22735 cat >>confdefs.h <<_ACEOF
22736 #define HAVE_FABSF 1
22737 _ACEOF
22740 done
22742 else
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22745 $as_echo_n "checking for _fabsf declaration... " >&6; }
22746 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22747 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22748 $as_echo_n "(cached) " >&6
22749 else
22752 ac_ext=cpp
22753 ac_cpp='$CXXCPP $CPPFLAGS'
22754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22759 /* end confdefs.h. */
22760 #include <math.h>
22761 #ifdef HAVE_IEEEFP_H
22762 #include <ieeefp.h>
22763 #endif
22766 main ()
22768 _fabsf(0);
22770 return 0;
22772 _ACEOF
22773 if ac_fn_cxx_try_compile "$LINENO"; then :
22774 glibcxx_cv_func__fabsf_use=yes
22775 else
22776 glibcxx_cv_func__fabsf_use=no
22778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22779 ac_ext=c
22780 ac_cpp='$CPP $CPPFLAGS'
22781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22790 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22792 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22793 for ac_func in _fabsf
22794 do :
22795 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22796 if test "x$ac_cv_func__fabsf" = x""yes; then :
22797 cat >>confdefs.h <<_ACEOF
22798 #define HAVE__FABSF 1
22799 _ACEOF
22802 done
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22812 $as_echo_n "checking for fmodf declaration... " >&6; }
22813 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22814 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22815 $as_echo_n "(cached) " >&6
22816 else
22819 ac_ext=cpp
22820 ac_cpp='$CXXCPP $CPPFLAGS'
22821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22826 /* end confdefs.h. */
22827 #include <math.h>
22829 main ()
22831 fmodf(0, 0);
22833 return 0;
22835 _ACEOF
22836 if ac_fn_cxx_try_compile "$LINENO"; then :
22837 glibcxx_cv_func_fmodf_use=yes
22838 else
22839 glibcxx_cv_func_fmodf_use=no
22841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22842 ac_ext=c
22843 ac_cpp='$CPP $CPPFLAGS'
22844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22853 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22855 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22856 for ac_func in fmodf
22857 do :
22858 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22859 if test "x$ac_cv_func_fmodf" = x""yes; then :
22860 cat >>confdefs.h <<_ACEOF
22861 #define HAVE_FMODF 1
22862 _ACEOF
22865 done
22867 else
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22870 $as_echo_n "checking for _fmodf declaration... " >&6; }
22871 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22872 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22873 $as_echo_n "(cached) " >&6
22874 else
22877 ac_ext=cpp
22878 ac_cpp='$CXXCPP $CPPFLAGS'
22879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22884 /* end confdefs.h. */
22885 #include <math.h>
22887 main ()
22889 _fmodf(0, 0);
22891 return 0;
22893 _ACEOF
22894 if ac_fn_cxx_try_compile "$LINENO"; then :
22895 glibcxx_cv_func__fmodf_use=yes
22896 else
22897 glibcxx_cv_func__fmodf_use=no
22899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22900 ac_ext=c
22901 ac_cpp='$CPP $CPPFLAGS'
22902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22911 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22913 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22914 for ac_func in _fmodf
22915 do :
22916 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22917 if test "x$ac_cv_func__fmodf" = x""yes; then :
22918 cat >>confdefs.h <<_ACEOF
22919 #define HAVE__FMODF 1
22920 _ACEOF
22923 done
22932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22933 $as_echo_n "checking for frexpf declaration... " >&6; }
22934 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22935 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22936 $as_echo_n "(cached) " >&6
22937 else
22940 ac_ext=cpp
22941 ac_cpp='$CXXCPP $CPPFLAGS'
22942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22947 /* end confdefs.h. */
22948 #include <math.h>
22950 main ()
22952 frexpf(0, 0);
22954 return 0;
22956 _ACEOF
22957 if ac_fn_cxx_try_compile "$LINENO"; then :
22958 glibcxx_cv_func_frexpf_use=yes
22959 else
22960 glibcxx_cv_func_frexpf_use=no
22962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22963 ac_ext=c
22964 ac_cpp='$CPP $CPPFLAGS'
22965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22974 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22976 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22977 for ac_func in frexpf
22978 do :
22979 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22980 if test "x$ac_cv_func_frexpf" = x""yes; then :
22981 cat >>confdefs.h <<_ACEOF
22982 #define HAVE_FREXPF 1
22983 _ACEOF
22986 done
22988 else
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22991 $as_echo_n "checking for _frexpf declaration... " >&6; }
22992 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22993 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22994 $as_echo_n "(cached) " >&6
22995 else
22998 ac_ext=cpp
22999 ac_cpp='$CXXCPP $CPPFLAGS'
23000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23005 /* end confdefs.h. */
23006 #include <math.h>
23008 main ()
23010 _frexpf(0, 0);
23012 return 0;
23014 _ACEOF
23015 if ac_fn_cxx_try_compile "$LINENO"; then :
23016 glibcxx_cv_func__frexpf_use=yes
23017 else
23018 glibcxx_cv_func__frexpf_use=no
23020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23021 ac_ext=c
23022 ac_cpp='$CPP $CPPFLAGS'
23023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23032 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23034 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23035 for ac_func in _frexpf
23036 do :
23037 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23038 if test "x$ac_cv_func__frexpf" = x""yes; then :
23039 cat >>confdefs.h <<_ACEOF
23040 #define HAVE__FREXPF 1
23041 _ACEOF
23044 done
23053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23054 $as_echo_n "checking for hypotf declaration... " >&6; }
23055 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23056 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23057 $as_echo_n "(cached) " >&6
23058 else
23061 ac_ext=cpp
23062 ac_cpp='$CXXCPP $CPPFLAGS'
23063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23068 /* end confdefs.h. */
23069 #include <math.h>
23071 main ()
23073 hypotf(0, 0);
23075 return 0;
23077 _ACEOF
23078 if ac_fn_cxx_try_compile "$LINENO"; then :
23079 glibcxx_cv_func_hypotf_use=yes
23080 else
23081 glibcxx_cv_func_hypotf_use=no
23083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23084 ac_ext=c
23085 ac_cpp='$CPP $CPPFLAGS'
23086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23095 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23097 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23098 for ac_func in hypotf
23099 do :
23100 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23101 if test "x$ac_cv_func_hypotf" = x""yes; then :
23102 cat >>confdefs.h <<_ACEOF
23103 #define HAVE_HYPOTF 1
23104 _ACEOF
23107 done
23109 else
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23112 $as_echo_n "checking for _hypotf declaration... " >&6; }
23113 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23114 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23115 $as_echo_n "(cached) " >&6
23116 else
23119 ac_ext=cpp
23120 ac_cpp='$CXXCPP $CPPFLAGS'
23121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23126 /* end confdefs.h. */
23127 #include <math.h>
23129 main ()
23131 _hypotf(0, 0);
23133 return 0;
23135 _ACEOF
23136 if ac_fn_cxx_try_compile "$LINENO"; then :
23137 glibcxx_cv_func__hypotf_use=yes
23138 else
23139 glibcxx_cv_func__hypotf_use=no
23141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23142 ac_ext=c
23143 ac_cpp='$CPP $CPPFLAGS'
23144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23153 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23155 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23156 for ac_func in _hypotf
23157 do :
23158 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23159 if test "x$ac_cv_func__hypotf" = x""yes; then :
23160 cat >>confdefs.h <<_ACEOF
23161 #define HAVE__HYPOTF 1
23162 _ACEOF
23165 done
23174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23175 $as_echo_n "checking for ldexpf declaration... " >&6; }
23176 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23177 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23178 $as_echo_n "(cached) " >&6
23179 else
23182 ac_ext=cpp
23183 ac_cpp='$CXXCPP $CPPFLAGS'
23184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23189 /* end confdefs.h. */
23190 #include <math.h>
23192 main ()
23194 ldexpf(0, 0);
23196 return 0;
23198 _ACEOF
23199 if ac_fn_cxx_try_compile "$LINENO"; then :
23200 glibcxx_cv_func_ldexpf_use=yes
23201 else
23202 glibcxx_cv_func_ldexpf_use=no
23204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23205 ac_ext=c
23206 ac_cpp='$CPP $CPPFLAGS'
23207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23216 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23218 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23219 for ac_func in ldexpf
23220 do :
23221 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23222 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23223 cat >>confdefs.h <<_ACEOF
23224 #define HAVE_LDEXPF 1
23225 _ACEOF
23228 done
23230 else
23232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23233 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23234 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23235 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23236 $as_echo_n "(cached) " >&6
23237 else
23240 ac_ext=cpp
23241 ac_cpp='$CXXCPP $CPPFLAGS'
23242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23247 /* end confdefs.h. */
23248 #include <math.h>
23250 main ()
23252 _ldexpf(0, 0);
23254 return 0;
23256 _ACEOF
23257 if ac_fn_cxx_try_compile "$LINENO"; then :
23258 glibcxx_cv_func__ldexpf_use=yes
23259 else
23260 glibcxx_cv_func__ldexpf_use=no
23262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23263 ac_ext=c
23264 ac_cpp='$CPP $CPPFLAGS'
23265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23274 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23276 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23277 for ac_func in _ldexpf
23278 do :
23279 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23280 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23281 cat >>confdefs.h <<_ACEOF
23282 #define HAVE__LDEXPF 1
23283 _ACEOF
23286 done
23295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23296 $as_echo_n "checking for logf declaration... " >&6; }
23297 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23298 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23299 $as_echo_n "(cached) " >&6
23300 else
23303 ac_ext=cpp
23304 ac_cpp='$CXXCPP $CPPFLAGS'
23305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23310 /* end confdefs.h. */
23311 #include <math.h>
23312 #ifdef HAVE_IEEEFP_H
23313 #include <ieeefp.h>
23314 #endif
23317 main ()
23319 logf(0);
23321 return 0;
23323 _ACEOF
23324 if ac_fn_cxx_try_compile "$LINENO"; then :
23325 glibcxx_cv_func_logf_use=yes
23326 else
23327 glibcxx_cv_func_logf_use=no
23329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23330 ac_ext=c
23331 ac_cpp='$CPP $CPPFLAGS'
23332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23341 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23343 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23344 for ac_func in logf
23345 do :
23346 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23347 if test "x$ac_cv_func_logf" = x""yes; then :
23348 cat >>confdefs.h <<_ACEOF
23349 #define HAVE_LOGF 1
23350 _ACEOF
23353 done
23355 else
23357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23358 $as_echo_n "checking for _logf declaration... " >&6; }
23359 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23360 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23361 $as_echo_n "(cached) " >&6
23362 else
23365 ac_ext=cpp
23366 ac_cpp='$CXXCPP $CPPFLAGS'
23367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23372 /* end confdefs.h. */
23373 #include <math.h>
23374 #ifdef HAVE_IEEEFP_H
23375 #include <ieeefp.h>
23376 #endif
23379 main ()
23381 _logf(0);
23383 return 0;
23385 _ACEOF
23386 if ac_fn_cxx_try_compile "$LINENO"; then :
23387 glibcxx_cv_func__logf_use=yes
23388 else
23389 glibcxx_cv_func__logf_use=no
23391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23392 ac_ext=c
23393 ac_cpp='$CPP $CPPFLAGS'
23394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23403 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23405 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23406 for ac_func in _logf
23407 do :
23408 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23409 if test "x$ac_cv_func__logf" = x""yes; then :
23410 cat >>confdefs.h <<_ACEOF
23411 #define HAVE__LOGF 1
23412 _ACEOF
23415 done
23424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23425 $as_echo_n "checking for log10f declaration... " >&6; }
23426 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23427 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23428 $as_echo_n "(cached) " >&6
23429 else
23432 ac_ext=cpp
23433 ac_cpp='$CXXCPP $CPPFLAGS'
23434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23439 /* end confdefs.h. */
23440 #include <math.h>
23441 #ifdef HAVE_IEEEFP_H
23442 #include <ieeefp.h>
23443 #endif
23446 main ()
23448 log10f(0);
23450 return 0;
23452 _ACEOF
23453 if ac_fn_cxx_try_compile "$LINENO"; then :
23454 glibcxx_cv_func_log10f_use=yes
23455 else
23456 glibcxx_cv_func_log10f_use=no
23458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23459 ac_ext=c
23460 ac_cpp='$CPP $CPPFLAGS'
23461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23470 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23472 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23473 for ac_func in log10f
23474 do :
23475 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23476 if test "x$ac_cv_func_log10f" = x""yes; then :
23477 cat >>confdefs.h <<_ACEOF
23478 #define HAVE_LOG10F 1
23479 _ACEOF
23482 done
23484 else
23486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23487 $as_echo_n "checking for _log10f declaration... " >&6; }
23488 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23489 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23490 $as_echo_n "(cached) " >&6
23491 else
23494 ac_ext=cpp
23495 ac_cpp='$CXXCPP $CPPFLAGS'
23496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23501 /* end confdefs.h. */
23502 #include <math.h>
23503 #ifdef HAVE_IEEEFP_H
23504 #include <ieeefp.h>
23505 #endif
23508 main ()
23510 _log10f(0);
23512 return 0;
23514 _ACEOF
23515 if ac_fn_cxx_try_compile "$LINENO"; then :
23516 glibcxx_cv_func__log10f_use=yes
23517 else
23518 glibcxx_cv_func__log10f_use=no
23520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23521 ac_ext=c
23522 ac_cpp='$CPP $CPPFLAGS'
23523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23532 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23534 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23535 for ac_func in _log10f
23536 do :
23537 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23538 if test "x$ac_cv_func__log10f" = x""yes; then :
23539 cat >>confdefs.h <<_ACEOF
23540 #define HAVE__LOG10F 1
23541 _ACEOF
23544 done
23553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23554 $as_echo_n "checking for modff declaration... " >&6; }
23555 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23556 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23557 $as_echo_n "(cached) " >&6
23558 else
23561 ac_ext=cpp
23562 ac_cpp='$CXXCPP $CPPFLAGS'
23563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23568 /* end confdefs.h. */
23569 #include <math.h>
23571 main ()
23573 modff(0, 0);
23575 return 0;
23577 _ACEOF
23578 if ac_fn_cxx_try_compile "$LINENO"; then :
23579 glibcxx_cv_func_modff_use=yes
23580 else
23581 glibcxx_cv_func_modff_use=no
23583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23584 ac_ext=c
23585 ac_cpp='$CPP $CPPFLAGS'
23586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23595 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23597 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23598 for ac_func in modff
23599 do :
23600 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23601 if test "x$ac_cv_func_modff" = x""yes; then :
23602 cat >>confdefs.h <<_ACEOF
23603 #define HAVE_MODFF 1
23604 _ACEOF
23607 done
23609 else
23611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23612 $as_echo_n "checking for _modff declaration... " >&6; }
23613 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23614 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23615 $as_echo_n "(cached) " >&6
23616 else
23619 ac_ext=cpp
23620 ac_cpp='$CXXCPP $CPPFLAGS'
23621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23626 /* end confdefs.h. */
23627 #include <math.h>
23629 main ()
23631 _modff(0, 0);
23633 return 0;
23635 _ACEOF
23636 if ac_fn_cxx_try_compile "$LINENO"; then :
23637 glibcxx_cv_func__modff_use=yes
23638 else
23639 glibcxx_cv_func__modff_use=no
23641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23642 ac_ext=c
23643 ac_cpp='$CPP $CPPFLAGS'
23644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23653 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23655 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23656 for ac_func in _modff
23657 do :
23658 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23659 if test "x$ac_cv_func__modff" = x""yes; then :
23660 cat >>confdefs.h <<_ACEOF
23661 #define HAVE__MODFF 1
23662 _ACEOF
23665 done
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23675 $as_echo_n "checking for modf declaration... " >&6; }
23676 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23677 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23678 $as_echo_n "(cached) " >&6
23679 else
23682 ac_ext=cpp
23683 ac_cpp='$CXXCPP $CPPFLAGS'
23684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23689 /* end confdefs.h. */
23690 #include <math.h>
23692 main ()
23694 modf(0, 0);
23696 return 0;
23698 _ACEOF
23699 if ac_fn_cxx_try_compile "$LINENO"; then :
23700 glibcxx_cv_func_modf_use=yes
23701 else
23702 glibcxx_cv_func_modf_use=no
23704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23705 ac_ext=c
23706 ac_cpp='$CPP $CPPFLAGS'
23707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23716 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23718 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23719 for ac_func in modf
23720 do :
23721 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23722 if test "x$ac_cv_func_modf" = x""yes; then :
23723 cat >>confdefs.h <<_ACEOF
23724 #define HAVE_MODF 1
23725 _ACEOF
23728 done
23730 else
23732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23733 $as_echo_n "checking for _modf declaration... " >&6; }
23734 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23735 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23736 $as_echo_n "(cached) " >&6
23737 else
23740 ac_ext=cpp
23741 ac_cpp='$CXXCPP $CPPFLAGS'
23742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23747 /* end confdefs.h. */
23748 #include <math.h>
23750 main ()
23752 _modf(0, 0);
23754 return 0;
23756 _ACEOF
23757 if ac_fn_cxx_try_compile "$LINENO"; then :
23758 glibcxx_cv_func__modf_use=yes
23759 else
23760 glibcxx_cv_func__modf_use=no
23762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23763 ac_ext=c
23764 ac_cpp='$CPP $CPPFLAGS'
23765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23774 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23776 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23777 for ac_func in _modf
23778 do :
23779 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23780 if test "x$ac_cv_func__modf" = x""yes; then :
23781 cat >>confdefs.h <<_ACEOF
23782 #define HAVE__MODF 1
23783 _ACEOF
23786 done
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23796 $as_echo_n "checking for powf declaration... " >&6; }
23797 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23798 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23799 $as_echo_n "(cached) " >&6
23800 else
23803 ac_ext=cpp
23804 ac_cpp='$CXXCPP $CPPFLAGS'
23805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23810 /* end confdefs.h. */
23811 #include <math.h>
23813 main ()
23815 powf(0, 0);
23817 return 0;
23819 _ACEOF
23820 if ac_fn_cxx_try_compile "$LINENO"; then :
23821 glibcxx_cv_func_powf_use=yes
23822 else
23823 glibcxx_cv_func_powf_use=no
23825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23826 ac_ext=c
23827 ac_cpp='$CPP $CPPFLAGS'
23828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23837 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23839 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23840 for ac_func in powf
23841 do :
23842 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23843 if test "x$ac_cv_func_powf" = x""yes; then :
23844 cat >>confdefs.h <<_ACEOF
23845 #define HAVE_POWF 1
23846 _ACEOF
23849 done
23851 else
23853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23854 $as_echo_n "checking for _powf declaration... " >&6; }
23855 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23856 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23857 $as_echo_n "(cached) " >&6
23858 else
23861 ac_ext=cpp
23862 ac_cpp='$CXXCPP $CPPFLAGS'
23863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23868 /* end confdefs.h. */
23869 #include <math.h>
23871 main ()
23873 _powf(0, 0);
23875 return 0;
23877 _ACEOF
23878 if ac_fn_cxx_try_compile "$LINENO"; then :
23879 glibcxx_cv_func__powf_use=yes
23880 else
23881 glibcxx_cv_func__powf_use=no
23883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23884 ac_ext=c
23885 ac_cpp='$CPP $CPPFLAGS'
23886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23895 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23897 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23898 for ac_func in _powf
23899 do :
23900 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23901 if test "x$ac_cv_func__powf" = x""yes; then :
23902 cat >>confdefs.h <<_ACEOF
23903 #define HAVE__POWF 1
23904 _ACEOF
23907 done
23916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23917 $as_echo_n "checking for sqrtf declaration... " >&6; }
23918 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23919 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23920 $as_echo_n "(cached) " >&6
23921 else
23924 ac_ext=cpp
23925 ac_cpp='$CXXCPP $CPPFLAGS'
23926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23931 /* end confdefs.h. */
23932 #include <math.h>
23933 #ifdef HAVE_IEEEFP_H
23934 #include <ieeefp.h>
23935 #endif
23938 main ()
23940 sqrtf(0);
23942 return 0;
23944 _ACEOF
23945 if ac_fn_cxx_try_compile "$LINENO"; then :
23946 glibcxx_cv_func_sqrtf_use=yes
23947 else
23948 glibcxx_cv_func_sqrtf_use=no
23950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23951 ac_ext=c
23952 ac_cpp='$CPP $CPPFLAGS'
23953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23962 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23964 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23965 for ac_func in sqrtf
23966 do :
23967 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23968 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23969 cat >>confdefs.h <<_ACEOF
23970 #define HAVE_SQRTF 1
23971 _ACEOF
23974 done
23976 else
23978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23979 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23980 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23981 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23982 $as_echo_n "(cached) " >&6
23983 else
23986 ac_ext=cpp
23987 ac_cpp='$CXXCPP $CPPFLAGS'
23988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23993 /* end confdefs.h. */
23994 #include <math.h>
23995 #ifdef HAVE_IEEEFP_H
23996 #include <ieeefp.h>
23997 #endif
24000 main ()
24002 _sqrtf(0);
24004 return 0;
24006 _ACEOF
24007 if ac_fn_cxx_try_compile "$LINENO"; then :
24008 glibcxx_cv_func__sqrtf_use=yes
24009 else
24010 glibcxx_cv_func__sqrtf_use=no
24012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24013 ac_ext=c
24014 ac_cpp='$CPP $CPPFLAGS'
24015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24024 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24026 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24027 for ac_func in _sqrtf
24028 do :
24029 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24030 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24031 cat >>confdefs.h <<_ACEOF
24032 #define HAVE__SQRTF 1
24033 _ACEOF
24036 done
24045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24046 $as_echo_n "checking for sincosf declaration... " >&6; }
24047 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24048 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24049 $as_echo_n "(cached) " >&6
24050 else
24053 ac_ext=cpp
24054 ac_cpp='$CXXCPP $CPPFLAGS'
24055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24060 /* end confdefs.h. */
24061 #include <math.h>
24063 main ()
24065 sincosf(0, 0, 0);
24067 return 0;
24069 _ACEOF
24070 if ac_fn_cxx_try_compile "$LINENO"; then :
24071 glibcxx_cv_func_sincosf_use=yes
24072 else
24073 glibcxx_cv_func_sincosf_use=no
24075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24076 ac_ext=c
24077 ac_cpp='$CPP $CPPFLAGS'
24078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24087 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24089 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24090 for ac_func in sincosf
24091 do :
24092 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24093 if test "x$ac_cv_func_sincosf" = x""yes; then :
24094 cat >>confdefs.h <<_ACEOF
24095 #define HAVE_SINCOSF 1
24096 _ACEOF
24099 done
24101 else
24103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24104 $as_echo_n "checking for _sincosf declaration... " >&6; }
24105 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24106 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24107 $as_echo_n "(cached) " >&6
24108 else
24111 ac_ext=cpp
24112 ac_cpp='$CXXCPP $CPPFLAGS'
24113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24118 /* end confdefs.h. */
24119 #include <math.h>
24121 main ()
24123 _sincosf(0, 0, 0);
24125 return 0;
24127 _ACEOF
24128 if ac_fn_cxx_try_compile "$LINENO"; then :
24129 glibcxx_cv_func__sincosf_use=yes
24130 else
24131 glibcxx_cv_func__sincosf_use=no
24133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24134 ac_ext=c
24135 ac_cpp='$CPP $CPPFLAGS'
24136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24145 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24147 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24148 for ac_func in _sincosf
24149 do :
24150 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24151 if test "x$ac_cv_func__sincosf" = x""yes; then :
24152 cat >>confdefs.h <<_ACEOF
24153 #define HAVE__SINCOSF 1
24154 _ACEOF
24157 done
24166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24167 $as_echo_n "checking for finitef declaration... " >&6; }
24168 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24169 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24170 $as_echo_n "(cached) " >&6
24171 else
24174 ac_ext=cpp
24175 ac_cpp='$CXXCPP $CPPFLAGS'
24176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24181 /* end confdefs.h. */
24182 #include <math.h>
24183 #ifdef HAVE_IEEEFP_H
24184 #include <ieeefp.h>
24185 #endif
24188 main ()
24190 finitef(0);
24192 return 0;
24194 _ACEOF
24195 if ac_fn_cxx_try_compile "$LINENO"; then :
24196 glibcxx_cv_func_finitef_use=yes
24197 else
24198 glibcxx_cv_func_finitef_use=no
24200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24201 ac_ext=c
24202 ac_cpp='$CPP $CPPFLAGS'
24203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24212 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24214 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24215 for ac_func in finitef
24216 do :
24217 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24218 if test "x$ac_cv_func_finitef" = x""yes; then :
24219 cat >>confdefs.h <<_ACEOF
24220 #define HAVE_FINITEF 1
24221 _ACEOF
24224 done
24226 else
24228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24229 $as_echo_n "checking for _finitef declaration... " >&6; }
24230 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24231 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24232 $as_echo_n "(cached) " >&6
24233 else
24236 ac_ext=cpp
24237 ac_cpp='$CXXCPP $CPPFLAGS'
24238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24243 /* end confdefs.h. */
24244 #include <math.h>
24245 #ifdef HAVE_IEEEFP_H
24246 #include <ieeefp.h>
24247 #endif
24250 main ()
24252 _finitef(0);
24254 return 0;
24256 _ACEOF
24257 if ac_fn_cxx_try_compile "$LINENO"; then :
24258 glibcxx_cv_func__finitef_use=yes
24259 else
24260 glibcxx_cv_func__finitef_use=no
24262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24263 ac_ext=c
24264 ac_cpp='$CPP $CPPFLAGS'
24265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24274 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24276 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24277 for ac_func in _finitef
24278 do :
24279 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24280 if test "x$ac_cv_func__finitef" = x""yes; then :
24281 cat >>confdefs.h <<_ACEOF
24282 #define HAVE__FINITEF 1
24283 _ACEOF
24286 done
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24296 $as_echo_n "checking for long double trig functions... " >&6; }
24297 if test "${glibcxx_cv_func_long_double_trig_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 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24316 return 0;
24318 _ACEOF
24319 if ac_fn_cxx_try_compile "$LINENO"; then :
24320 glibcxx_cv_func_long_double_trig_use=yes
24321 else
24322 glibcxx_cv_func_long_double_trig_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
24333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24334 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24335 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24336 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24337 do :
24338 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24339 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24340 eval as_val=\$$as_ac_var
24341 if test "x$as_val" = x""yes; then :
24342 cat >>confdefs.h <<_ACEOF
24343 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24344 _ACEOF
24347 done
24349 else
24350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24351 $as_echo_n "checking for _long double trig functions... " >&6; }
24352 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24353 $as_echo_n "(cached) " >&6
24354 else
24357 ac_ext=cpp
24358 ac_cpp='$CXXCPP $CPPFLAGS'
24359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24364 /* end confdefs.h. */
24365 #include <math.h>
24367 main ()
24369 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24371 return 0;
24373 _ACEOF
24374 if ac_fn_cxx_try_compile "$LINENO"; then :
24375 glibcxx_cv_func__long_double_trig_use=yes
24376 else
24377 glibcxx_cv_func__long_double_trig_use=no
24379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24380 ac_ext=c
24381 ac_cpp='$CPP $CPPFLAGS'
24382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24389 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24390 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24391 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24392 do :
24393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24395 eval as_val=\$$as_ac_var
24396 if test "x$as_val" = x""yes; then :
24397 cat >>confdefs.h <<_ACEOF
24398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24399 _ACEOF
24402 done
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24412 $as_echo_n "checking for long double round functions... " >&6; }
24413 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24414 $as_echo_n "(cached) " >&6
24415 else
24418 ac_ext=cpp
24419 ac_cpp='$CXXCPP $CPPFLAGS'
24420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24425 /* end confdefs.h. */
24426 #include <math.h>
24428 main ()
24430 ceill (0); floorl (0);
24432 return 0;
24434 _ACEOF
24435 if ac_fn_cxx_try_compile "$LINENO"; then :
24436 glibcxx_cv_func_long_double_round_use=yes
24437 else
24438 glibcxx_cv_func_long_double_round_use=no
24440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24441 ac_ext=c
24442 ac_cpp='$CPP $CPPFLAGS'
24443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24450 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24451 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24452 for ac_func in ceill floorl
24453 do :
24454 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24455 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24456 eval as_val=\$$as_ac_var
24457 if test "x$as_val" = x""yes; then :
24458 cat >>confdefs.h <<_ACEOF
24459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24460 _ACEOF
24463 done
24465 else
24466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24467 $as_echo_n "checking for _long double round functions... " >&6; }
24468 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24469 $as_echo_n "(cached) " >&6
24470 else
24473 ac_ext=cpp
24474 ac_cpp='$CXXCPP $CPPFLAGS'
24475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24480 /* end confdefs.h. */
24481 #include <math.h>
24483 main ()
24485 _ceill (0); _floorl (0);
24487 return 0;
24489 _ACEOF
24490 if ac_fn_cxx_try_compile "$LINENO"; then :
24491 glibcxx_cv_func__long_double_round_use=yes
24492 else
24493 glibcxx_cv_func__long_double_round_use=no
24495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24496 ac_ext=c
24497 ac_cpp='$CPP $CPPFLAGS'
24498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24505 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24506 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24507 for ac_func in _ceill _floorl
24508 do :
24509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24511 eval as_val=\$$as_ac_var
24512 if test "x$as_val" = x""yes; then :
24513 cat >>confdefs.h <<_ACEOF
24514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24515 _ACEOF
24518 done
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24529 $as_echo_n "checking for isnanl declaration... " >&6; }
24530 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24531 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24532 $as_echo_n "(cached) " >&6
24533 else
24536 ac_ext=cpp
24537 ac_cpp='$CXXCPP $CPPFLAGS'
24538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24543 /* end confdefs.h. */
24544 #include <math.h>
24545 #ifdef HAVE_IEEEFP_H
24546 #include <ieeefp.h>
24547 #endif
24550 main ()
24552 isnanl(0);
24554 return 0;
24556 _ACEOF
24557 if ac_fn_cxx_try_compile "$LINENO"; then :
24558 glibcxx_cv_func_isnanl_use=yes
24559 else
24560 glibcxx_cv_func_isnanl_use=no
24562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24563 ac_ext=c
24564 ac_cpp='$CPP $CPPFLAGS'
24565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24574 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24576 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24577 for ac_func in isnanl
24578 do :
24579 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24580 if test "x$ac_cv_func_isnanl" = x""yes; then :
24581 cat >>confdefs.h <<_ACEOF
24582 #define HAVE_ISNANL 1
24583 _ACEOF
24586 done
24588 else
24590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24591 $as_echo_n "checking for _isnanl declaration... " >&6; }
24592 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24593 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24594 $as_echo_n "(cached) " >&6
24595 else
24598 ac_ext=cpp
24599 ac_cpp='$CXXCPP $CPPFLAGS'
24600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24605 /* end confdefs.h. */
24606 #include <math.h>
24607 #ifdef HAVE_IEEEFP_H
24608 #include <ieeefp.h>
24609 #endif
24612 main ()
24614 _isnanl(0);
24616 return 0;
24618 _ACEOF
24619 if ac_fn_cxx_try_compile "$LINENO"; then :
24620 glibcxx_cv_func__isnanl_use=yes
24621 else
24622 glibcxx_cv_func__isnanl_use=no
24624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24625 ac_ext=c
24626 ac_cpp='$CPP $CPPFLAGS'
24627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24636 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24638 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24639 for ac_func in _isnanl
24640 do :
24641 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24642 if test "x$ac_cv_func__isnanl" = x""yes; then :
24643 cat >>confdefs.h <<_ACEOF
24644 #define HAVE__ISNANL 1
24645 _ACEOF
24648 done
24657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24658 $as_echo_n "checking for isinfl declaration... " >&6; }
24659 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24660 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24661 $as_echo_n "(cached) " >&6
24662 else
24665 ac_ext=cpp
24666 ac_cpp='$CXXCPP $CPPFLAGS'
24667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24672 /* end confdefs.h. */
24673 #include <math.h>
24674 #ifdef HAVE_IEEEFP_H
24675 #include <ieeefp.h>
24676 #endif
24679 main ()
24681 isinfl(0);
24683 return 0;
24685 _ACEOF
24686 if ac_fn_cxx_try_compile "$LINENO"; then :
24687 glibcxx_cv_func_isinfl_use=yes
24688 else
24689 glibcxx_cv_func_isinfl_use=no
24691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24692 ac_ext=c
24693 ac_cpp='$CPP $CPPFLAGS'
24694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24703 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24705 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24706 for ac_func in isinfl
24707 do :
24708 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24709 if test "x$ac_cv_func_isinfl" = x""yes; then :
24710 cat >>confdefs.h <<_ACEOF
24711 #define HAVE_ISINFL 1
24712 _ACEOF
24715 done
24717 else
24719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24720 $as_echo_n "checking for _isinfl declaration... " >&6; }
24721 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24722 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24723 $as_echo_n "(cached) " >&6
24724 else
24727 ac_ext=cpp
24728 ac_cpp='$CXXCPP $CPPFLAGS'
24729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24734 /* end confdefs.h. */
24735 #include <math.h>
24736 #ifdef HAVE_IEEEFP_H
24737 #include <ieeefp.h>
24738 #endif
24741 main ()
24743 _isinfl(0);
24745 return 0;
24747 _ACEOF
24748 if ac_fn_cxx_try_compile "$LINENO"; then :
24749 glibcxx_cv_func__isinfl_use=yes
24750 else
24751 glibcxx_cv_func__isinfl_use=no
24753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24754 ac_ext=c
24755 ac_cpp='$CPP $CPPFLAGS'
24756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24765 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24767 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24768 for ac_func in _isinfl
24769 do :
24770 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24771 if test "x$ac_cv_func__isinfl" = x""yes; then :
24772 cat >>confdefs.h <<_ACEOF
24773 #define HAVE__ISINFL 1
24774 _ACEOF
24777 done
24786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24787 $as_echo_n "checking for atan2l declaration... " >&6; }
24788 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24789 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24790 $as_echo_n "(cached) " >&6
24791 else
24794 ac_ext=cpp
24795 ac_cpp='$CXXCPP $CPPFLAGS'
24796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24801 /* end confdefs.h. */
24802 #include <math.h>
24804 main ()
24806 atan2l(0, 0);
24808 return 0;
24810 _ACEOF
24811 if ac_fn_cxx_try_compile "$LINENO"; then :
24812 glibcxx_cv_func_atan2l_use=yes
24813 else
24814 glibcxx_cv_func_atan2l_use=no
24816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24817 ac_ext=c
24818 ac_cpp='$CPP $CPPFLAGS'
24819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24828 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24830 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24831 for ac_func in atan2l
24832 do :
24833 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24834 if test "x$ac_cv_func_atan2l" = x""yes; then :
24835 cat >>confdefs.h <<_ACEOF
24836 #define HAVE_ATAN2L 1
24837 _ACEOF
24840 done
24842 else
24844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24845 $as_echo_n "checking for _atan2l declaration... " >&6; }
24846 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24847 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24848 $as_echo_n "(cached) " >&6
24849 else
24852 ac_ext=cpp
24853 ac_cpp='$CXXCPP $CPPFLAGS'
24854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24859 /* end confdefs.h. */
24860 #include <math.h>
24862 main ()
24864 _atan2l(0, 0);
24866 return 0;
24868 _ACEOF
24869 if ac_fn_cxx_try_compile "$LINENO"; then :
24870 glibcxx_cv_func__atan2l_use=yes
24871 else
24872 glibcxx_cv_func__atan2l_use=no
24874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24875 ac_ext=c
24876 ac_cpp='$CPP $CPPFLAGS'
24877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24886 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24888 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24889 for ac_func in _atan2l
24890 do :
24891 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24892 if test "x$ac_cv_func__atan2l" = x""yes; then :
24893 cat >>confdefs.h <<_ACEOF
24894 #define HAVE__ATAN2L 1
24895 _ACEOF
24898 done
24907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24908 $as_echo_n "checking for expl declaration... " >&6; }
24909 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24910 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24911 $as_echo_n "(cached) " >&6
24912 else
24915 ac_ext=cpp
24916 ac_cpp='$CXXCPP $CPPFLAGS'
24917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24922 /* end confdefs.h. */
24923 #include <math.h>
24924 #ifdef HAVE_IEEEFP_H
24925 #include <ieeefp.h>
24926 #endif
24929 main ()
24931 expl(0);
24933 return 0;
24935 _ACEOF
24936 if ac_fn_cxx_try_compile "$LINENO"; then :
24937 glibcxx_cv_func_expl_use=yes
24938 else
24939 glibcxx_cv_func_expl_use=no
24941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24942 ac_ext=c
24943 ac_cpp='$CPP $CPPFLAGS'
24944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24953 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24955 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24956 for ac_func in expl
24957 do :
24958 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24959 if test "x$ac_cv_func_expl" = x""yes; then :
24960 cat >>confdefs.h <<_ACEOF
24961 #define HAVE_EXPL 1
24962 _ACEOF
24965 done
24967 else
24969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24970 $as_echo_n "checking for _expl declaration... " >&6; }
24971 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24972 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24973 $as_echo_n "(cached) " >&6
24974 else
24977 ac_ext=cpp
24978 ac_cpp='$CXXCPP $CPPFLAGS'
24979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24984 /* end confdefs.h. */
24985 #include <math.h>
24986 #ifdef HAVE_IEEEFP_H
24987 #include <ieeefp.h>
24988 #endif
24991 main ()
24993 _expl(0);
24995 return 0;
24997 _ACEOF
24998 if ac_fn_cxx_try_compile "$LINENO"; then :
24999 glibcxx_cv_func__expl_use=yes
25000 else
25001 glibcxx_cv_func__expl_use=no
25003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25004 ac_ext=c
25005 ac_cpp='$CPP $CPPFLAGS'
25006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25015 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25017 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25018 for ac_func in _expl
25019 do :
25020 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25021 if test "x$ac_cv_func__expl" = x""yes; then :
25022 cat >>confdefs.h <<_ACEOF
25023 #define HAVE__EXPL 1
25024 _ACEOF
25027 done
25036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25037 $as_echo_n "checking for fabsl declaration... " >&6; }
25038 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25039 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25040 $as_echo_n "(cached) " >&6
25041 else
25044 ac_ext=cpp
25045 ac_cpp='$CXXCPP $CPPFLAGS'
25046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25051 /* end confdefs.h. */
25052 #include <math.h>
25053 #ifdef HAVE_IEEEFP_H
25054 #include <ieeefp.h>
25055 #endif
25058 main ()
25060 fabsl(0);
25062 return 0;
25064 _ACEOF
25065 if ac_fn_cxx_try_compile "$LINENO"; then :
25066 glibcxx_cv_func_fabsl_use=yes
25067 else
25068 glibcxx_cv_func_fabsl_use=no
25070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25071 ac_ext=c
25072 ac_cpp='$CPP $CPPFLAGS'
25073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25082 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25084 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25085 for ac_func in fabsl
25086 do :
25087 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25088 if test "x$ac_cv_func_fabsl" = x""yes; then :
25089 cat >>confdefs.h <<_ACEOF
25090 #define HAVE_FABSL 1
25091 _ACEOF
25094 done
25096 else
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25099 $as_echo_n "checking for _fabsl declaration... " >&6; }
25100 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25101 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25102 $as_echo_n "(cached) " >&6
25103 else
25106 ac_ext=cpp
25107 ac_cpp='$CXXCPP $CPPFLAGS'
25108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25113 /* end confdefs.h. */
25114 #include <math.h>
25115 #ifdef HAVE_IEEEFP_H
25116 #include <ieeefp.h>
25117 #endif
25120 main ()
25122 _fabsl(0);
25124 return 0;
25126 _ACEOF
25127 if ac_fn_cxx_try_compile "$LINENO"; then :
25128 glibcxx_cv_func__fabsl_use=yes
25129 else
25130 glibcxx_cv_func__fabsl_use=no
25132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25133 ac_ext=c
25134 ac_cpp='$CPP $CPPFLAGS'
25135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25144 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25146 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25147 for ac_func in _fabsl
25148 do :
25149 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25150 if test "x$ac_cv_func__fabsl" = x""yes; then :
25151 cat >>confdefs.h <<_ACEOF
25152 #define HAVE__FABSL 1
25153 _ACEOF
25156 done
25165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25166 $as_echo_n "checking for fmodl declaration... " >&6; }
25167 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25168 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
25187 return 0;
25189 _ACEOF
25190 if ac_fn_cxx_try_compile "$LINENO"; then :
25191 glibcxx_cv_func_fmodl_use=yes
25192 else
25193 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
25207 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25209 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25210 for ac_func in fmodl
25211 do :
25212 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25213 if test "x$ac_cv_func_fmodl" = x""yes; then :
25214 cat >>confdefs.h <<_ACEOF
25215 #define HAVE_FMODL 1
25216 _ACEOF
25219 done
25221 else
25223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25224 $as_echo_n "checking for _fmodl declaration... " >&6; }
25225 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25226 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25227 $as_echo_n "(cached) " >&6
25228 else
25231 ac_ext=cpp
25232 ac_cpp='$CXXCPP $CPPFLAGS'
25233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25238 /* end confdefs.h. */
25239 #include <math.h>
25241 main ()
25243 _fmodl(0, 0);
25245 return 0;
25247 _ACEOF
25248 if ac_fn_cxx_try_compile "$LINENO"; then :
25249 glibcxx_cv_func__fmodl_use=yes
25250 else
25251 glibcxx_cv_func__fmodl_use=no
25253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25254 ac_ext=c
25255 ac_cpp='$CPP $CPPFLAGS'
25256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25265 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25267 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25268 for ac_func in _fmodl
25269 do :
25270 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25271 if test "x$ac_cv_func__fmodl" = x""yes; then :
25272 cat >>confdefs.h <<_ACEOF
25273 #define HAVE__FMODL 1
25274 _ACEOF
25277 done
25286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25287 $as_echo_n "checking for frexpl declaration... " >&6; }
25288 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25289 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25290 $as_echo_n "(cached) " >&6
25291 else
25294 ac_ext=cpp
25295 ac_cpp='$CXXCPP $CPPFLAGS'
25296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25301 /* end confdefs.h. */
25302 #include <math.h>
25304 main ()
25306 frexpl(0, 0);
25308 return 0;
25310 _ACEOF
25311 if ac_fn_cxx_try_compile "$LINENO"; then :
25312 glibcxx_cv_func_frexpl_use=yes
25313 else
25314 glibcxx_cv_func_frexpl_use=no
25316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25317 ac_ext=c
25318 ac_cpp='$CPP $CPPFLAGS'
25319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25328 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25330 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25331 for ac_func in frexpl
25332 do :
25333 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25334 if test "x$ac_cv_func_frexpl" = x""yes; then :
25335 cat >>confdefs.h <<_ACEOF
25336 #define HAVE_FREXPL 1
25337 _ACEOF
25340 done
25342 else
25344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25345 $as_echo_n "checking for _frexpl declaration... " >&6; }
25346 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25347 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25348 $as_echo_n "(cached) " >&6
25349 else
25352 ac_ext=cpp
25353 ac_cpp='$CXXCPP $CPPFLAGS'
25354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25359 /* end confdefs.h. */
25360 #include <math.h>
25362 main ()
25364 _frexpl(0, 0);
25366 return 0;
25368 _ACEOF
25369 if ac_fn_cxx_try_compile "$LINENO"; then :
25370 glibcxx_cv_func__frexpl_use=yes
25371 else
25372 glibcxx_cv_func__frexpl_use=no
25374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25375 ac_ext=c
25376 ac_cpp='$CPP $CPPFLAGS'
25377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25386 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25388 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25389 for ac_func in _frexpl
25390 do :
25391 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25392 if test "x$ac_cv_func__frexpl" = x""yes; then :
25393 cat >>confdefs.h <<_ACEOF
25394 #define HAVE__FREXPL 1
25395 _ACEOF
25398 done
25407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25408 $as_echo_n "checking for hypotl declaration... " >&6; }
25409 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25410 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25411 $as_echo_n "(cached) " >&6
25412 else
25415 ac_ext=cpp
25416 ac_cpp='$CXXCPP $CPPFLAGS'
25417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25422 /* end confdefs.h. */
25423 #include <math.h>
25425 main ()
25427 hypotl(0, 0);
25429 return 0;
25431 _ACEOF
25432 if ac_fn_cxx_try_compile "$LINENO"; then :
25433 glibcxx_cv_func_hypotl_use=yes
25434 else
25435 glibcxx_cv_func_hypotl_use=no
25437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25438 ac_ext=c
25439 ac_cpp='$CPP $CPPFLAGS'
25440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25449 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25451 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25452 for ac_func in hypotl
25453 do :
25454 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25455 if test "x$ac_cv_func_hypotl" = x""yes; then :
25456 cat >>confdefs.h <<_ACEOF
25457 #define HAVE_HYPOTL 1
25458 _ACEOF
25461 done
25463 else
25465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25466 $as_echo_n "checking for _hypotl declaration... " >&6; }
25467 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25468 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25469 $as_echo_n "(cached) " >&6
25470 else
25473 ac_ext=cpp
25474 ac_cpp='$CXXCPP $CPPFLAGS'
25475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25480 /* end confdefs.h. */
25481 #include <math.h>
25483 main ()
25485 _hypotl(0, 0);
25487 return 0;
25489 _ACEOF
25490 if ac_fn_cxx_try_compile "$LINENO"; then :
25491 glibcxx_cv_func__hypotl_use=yes
25492 else
25493 glibcxx_cv_func__hypotl_use=no
25495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25496 ac_ext=c
25497 ac_cpp='$CPP $CPPFLAGS'
25498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25507 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25509 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25510 for ac_func in _hypotl
25511 do :
25512 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25513 if test "x$ac_cv_func__hypotl" = x""yes; then :
25514 cat >>confdefs.h <<_ACEOF
25515 #define HAVE__HYPOTL 1
25516 _ACEOF
25519 done
25528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25529 $as_echo_n "checking for ldexpl declaration... " >&6; }
25530 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25531 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25532 $as_echo_n "(cached) " >&6
25533 else
25536 ac_ext=cpp
25537 ac_cpp='$CXXCPP $CPPFLAGS'
25538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25543 /* end confdefs.h. */
25544 #include <math.h>
25546 main ()
25548 ldexpl(0, 0);
25550 return 0;
25552 _ACEOF
25553 if ac_fn_cxx_try_compile "$LINENO"; then :
25554 glibcxx_cv_func_ldexpl_use=yes
25555 else
25556 glibcxx_cv_func_ldexpl_use=no
25558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25559 ac_ext=c
25560 ac_cpp='$CPP $CPPFLAGS'
25561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25570 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25572 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25573 for ac_func in ldexpl
25574 do :
25575 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25576 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25577 cat >>confdefs.h <<_ACEOF
25578 #define HAVE_LDEXPL 1
25579 _ACEOF
25582 done
25584 else
25586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25587 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25588 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25589 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25590 $as_echo_n "(cached) " >&6
25591 else
25594 ac_ext=cpp
25595 ac_cpp='$CXXCPP $CPPFLAGS'
25596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25601 /* end confdefs.h. */
25602 #include <math.h>
25604 main ()
25606 _ldexpl(0, 0);
25608 return 0;
25610 _ACEOF
25611 if ac_fn_cxx_try_compile "$LINENO"; then :
25612 glibcxx_cv_func__ldexpl_use=yes
25613 else
25614 glibcxx_cv_func__ldexpl_use=no
25616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25617 ac_ext=c
25618 ac_cpp='$CPP $CPPFLAGS'
25619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25628 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25630 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25631 for ac_func in _ldexpl
25632 do :
25633 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25634 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25635 cat >>confdefs.h <<_ACEOF
25636 #define HAVE__LDEXPL 1
25637 _ACEOF
25640 done
25649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25650 $as_echo_n "checking for logl declaration... " >&6; }
25651 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25652 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25653 $as_echo_n "(cached) " >&6
25654 else
25657 ac_ext=cpp
25658 ac_cpp='$CXXCPP $CPPFLAGS'
25659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25664 /* end confdefs.h. */
25665 #include <math.h>
25666 #ifdef HAVE_IEEEFP_H
25667 #include <ieeefp.h>
25668 #endif
25671 main ()
25673 logl(0);
25675 return 0;
25677 _ACEOF
25678 if ac_fn_cxx_try_compile "$LINENO"; then :
25679 glibcxx_cv_func_logl_use=yes
25680 else
25681 glibcxx_cv_func_logl_use=no
25683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25684 ac_ext=c
25685 ac_cpp='$CPP $CPPFLAGS'
25686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25695 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25697 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25698 for ac_func in logl
25699 do :
25700 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25701 if test "x$ac_cv_func_logl" = x""yes; then :
25702 cat >>confdefs.h <<_ACEOF
25703 #define HAVE_LOGL 1
25704 _ACEOF
25707 done
25709 else
25711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25712 $as_echo_n "checking for _logl declaration... " >&6; }
25713 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25714 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25715 $as_echo_n "(cached) " >&6
25716 else
25719 ac_ext=cpp
25720 ac_cpp='$CXXCPP $CPPFLAGS'
25721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25726 /* end confdefs.h. */
25727 #include <math.h>
25728 #ifdef HAVE_IEEEFP_H
25729 #include <ieeefp.h>
25730 #endif
25733 main ()
25735 _logl(0);
25737 return 0;
25739 _ACEOF
25740 if ac_fn_cxx_try_compile "$LINENO"; then :
25741 glibcxx_cv_func__logl_use=yes
25742 else
25743 glibcxx_cv_func__logl_use=no
25745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25746 ac_ext=c
25747 ac_cpp='$CPP $CPPFLAGS'
25748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25757 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25759 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25760 for ac_func in _logl
25761 do :
25762 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25763 if test "x$ac_cv_func__logl" = x""yes; then :
25764 cat >>confdefs.h <<_ACEOF
25765 #define HAVE__LOGL 1
25766 _ACEOF
25769 done
25778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25779 $as_echo_n "checking for log10l declaration... " >&6; }
25780 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25781 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25782 $as_echo_n "(cached) " >&6
25783 else
25786 ac_ext=cpp
25787 ac_cpp='$CXXCPP $CPPFLAGS'
25788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25793 /* end confdefs.h. */
25794 #include <math.h>
25795 #ifdef HAVE_IEEEFP_H
25796 #include <ieeefp.h>
25797 #endif
25800 main ()
25802 log10l(0);
25804 return 0;
25806 _ACEOF
25807 if ac_fn_cxx_try_compile "$LINENO"; then :
25808 glibcxx_cv_func_log10l_use=yes
25809 else
25810 glibcxx_cv_func_log10l_use=no
25812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25813 ac_ext=c
25814 ac_cpp='$CPP $CPPFLAGS'
25815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25824 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25826 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25827 for ac_func in log10l
25828 do :
25829 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25830 if test "x$ac_cv_func_log10l" = x""yes; then :
25831 cat >>confdefs.h <<_ACEOF
25832 #define HAVE_LOG10L 1
25833 _ACEOF
25836 done
25838 else
25840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25841 $as_echo_n "checking for _log10l declaration... " >&6; }
25842 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25843 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25844 $as_echo_n "(cached) " >&6
25845 else
25848 ac_ext=cpp
25849 ac_cpp='$CXXCPP $CPPFLAGS'
25850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25855 /* end confdefs.h. */
25856 #include <math.h>
25857 #ifdef HAVE_IEEEFP_H
25858 #include <ieeefp.h>
25859 #endif
25862 main ()
25864 _log10l(0);
25866 return 0;
25868 _ACEOF
25869 if ac_fn_cxx_try_compile "$LINENO"; then :
25870 glibcxx_cv_func__log10l_use=yes
25871 else
25872 glibcxx_cv_func__log10l_use=no
25874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25875 ac_ext=c
25876 ac_cpp='$CPP $CPPFLAGS'
25877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25886 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25888 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25889 for ac_func in _log10l
25890 do :
25891 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25892 if test "x$ac_cv_func__log10l" = x""yes; then :
25893 cat >>confdefs.h <<_ACEOF
25894 #define HAVE__LOG10L 1
25895 _ACEOF
25898 done
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25908 $as_echo_n "checking for modfl declaration... " >&6; }
25909 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25910 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25911 $as_echo_n "(cached) " >&6
25912 else
25915 ac_ext=cpp
25916 ac_cpp='$CXXCPP $CPPFLAGS'
25917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25922 /* end confdefs.h. */
25923 #include <math.h>
25925 main ()
25927 modfl(0, 0);
25929 return 0;
25931 _ACEOF
25932 if ac_fn_cxx_try_compile "$LINENO"; then :
25933 glibcxx_cv_func_modfl_use=yes
25934 else
25935 glibcxx_cv_func_modfl_use=no
25937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25938 ac_ext=c
25939 ac_cpp='$CPP $CPPFLAGS'
25940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25949 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25951 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25952 for ac_func in modfl
25953 do :
25954 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25955 if test "x$ac_cv_func_modfl" = x""yes; then :
25956 cat >>confdefs.h <<_ACEOF
25957 #define HAVE_MODFL 1
25958 _ACEOF
25961 done
25963 else
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25966 $as_echo_n "checking for _modfl declaration... " >&6; }
25967 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25968 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25969 $as_echo_n "(cached) " >&6
25970 else
25973 ac_ext=cpp
25974 ac_cpp='$CXXCPP $CPPFLAGS'
25975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25980 /* end confdefs.h. */
25981 #include <math.h>
25983 main ()
25985 _modfl(0, 0);
25987 return 0;
25989 _ACEOF
25990 if ac_fn_cxx_try_compile "$LINENO"; then :
25991 glibcxx_cv_func__modfl_use=yes
25992 else
25993 glibcxx_cv_func__modfl_use=no
25995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25996 ac_ext=c
25997 ac_cpp='$CPP $CPPFLAGS'
25998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26007 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26009 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26010 for ac_func in _modfl
26011 do :
26012 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26013 if test "x$ac_cv_func__modfl" = x""yes; then :
26014 cat >>confdefs.h <<_ACEOF
26015 #define HAVE__MODFL 1
26016 _ACEOF
26019 done
26028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26029 $as_echo_n "checking for powl declaration... " >&6; }
26030 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26031 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26032 $as_echo_n "(cached) " >&6
26033 else
26036 ac_ext=cpp
26037 ac_cpp='$CXXCPP $CPPFLAGS'
26038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26043 /* end confdefs.h. */
26044 #include <math.h>
26046 main ()
26048 powl(0, 0);
26050 return 0;
26052 _ACEOF
26053 if ac_fn_cxx_try_compile "$LINENO"; then :
26054 glibcxx_cv_func_powl_use=yes
26055 else
26056 glibcxx_cv_func_powl_use=no
26058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26059 ac_ext=c
26060 ac_cpp='$CPP $CPPFLAGS'
26061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26070 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26072 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26073 for ac_func in powl
26074 do :
26075 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26076 if test "x$ac_cv_func_powl" = x""yes; then :
26077 cat >>confdefs.h <<_ACEOF
26078 #define HAVE_POWL 1
26079 _ACEOF
26082 done
26084 else
26086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26087 $as_echo_n "checking for _powl declaration... " >&6; }
26088 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26089 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26090 $as_echo_n "(cached) " >&6
26091 else
26094 ac_ext=cpp
26095 ac_cpp='$CXXCPP $CPPFLAGS'
26096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26101 /* end confdefs.h. */
26102 #include <math.h>
26104 main ()
26106 _powl(0, 0);
26108 return 0;
26110 _ACEOF
26111 if ac_fn_cxx_try_compile "$LINENO"; then :
26112 glibcxx_cv_func__powl_use=yes
26113 else
26114 glibcxx_cv_func__powl_use=no
26116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26117 ac_ext=c
26118 ac_cpp='$CPP $CPPFLAGS'
26119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26128 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26130 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26131 for ac_func in _powl
26132 do :
26133 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26134 if test "x$ac_cv_func__powl" = x""yes; then :
26135 cat >>confdefs.h <<_ACEOF
26136 #define HAVE__POWL 1
26137 _ACEOF
26140 done
26149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26150 $as_echo_n "checking for sqrtl declaration... " >&6; }
26151 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26152 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26153 $as_echo_n "(cached) " >&6
26154 else
26157 ac_ext=cpp
26158 ac_cpp='$CXXCPP $CPPFLAGS'
26159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26164 /* end confdefs.h. */
26165 #include <math.h>
26166 #ifdef HAVE_IEEEFP_H
26167 #include <ieeefp.h>
26168 #endif
26171 main ()
26173 sqrtl(0);
26175 return 0;
26177 _ACEOF
26178 if ac_fn_cxx_try_compile "$LINENO"; then :
26179 glibcxx_cv_func_sqrtl_use=yes
26180 else
26181 glibcxx_cv_func_sqrtl_use=no
26183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26184 ac_ext=c
26185 ac_cpp='$CPP $CPPFLAGS'
26186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26195 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26197 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26198 for ac_func in sqrtl
26199 do :
26200 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26201 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26202 cat >>confdefs.h <<_ACEOF
26203 #define HAVE_SQRTL 1
26204 _ACEOF
26207 done
26209 else
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26212 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26213 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26214 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26215 $as_echo_n "(cached) " >&6
26216 else
26219 ac_ext=cpp
26220 ac_cpp='$CXXCPP $CPPFLAGS'
26221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26226 /* end confdefs.h. */
26227 #include <math.h>
26228 #ifdef HAVE_IEEEFP_H
26229 #include <ieeefp.h>
26230 #endif
26233 main ()
26235 _sqrtl(0);
26237 return 0;
26239 _ACEOF
26240 if ac_fn_cxx_try_compile "$LINENO"; then :
26241 glibcxx_cv_func__sqrtl_use=yes
26242 else
26243 glibcxx_cv_func__sqrtl_use=no
26245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26246 ac_ext=c
26247 ac_cpp='$CPP $CPPFLAGS'
26248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26257 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26259 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26260 for ac_func in _sqrtl
26261 do :
26262 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26263 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26264 cat >>confdefs.h <<_ACEOF
26265 #define HAVE__SQRTL 1
26266 _ACEOF
26269 done
26278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26279 $as_echo_n "checking for sincosl declaration... " >&6; }
26280 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26281 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26282 $as_echo_n "(cached) " >&6
26283 else
26286 ac_ext=cpp
26287 ac_cpp='$CXXCPP $CPPFLAGS'
26288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26293 /* end confdefs.h. */
26294 #include <math.h>
26296 main ()
26298 sincosl(0, 0, 0);
26300 return 0;
26302 _ACEOF
26303 if ac_fn_cxx_try_compile "$LINENO"; then :
26304 glibcxx_cv_func_sincosl_use=yes
26305 else
26306 glibcxx_cv_func_sincosl_use=no
26308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26309 ac_ext=c
26310 ac_cpp='$CPP $CPPFLAGS'
26311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26320 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26322 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26323 for ac_func in sincosl
26324 do :
26325 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26326 if test "x$ac_cv_func_sincosl" = x""yes; then :
26327 cat >>confdefs.h <<_ACEOF
26328 #define HAVE_SINCOSL 1
26329 _ACEOF
26332 done
26334 else
26336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26337 $as_echo_n "checking for _sincosl declaration... " >&6; }
26338 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26339 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26340 $as_echo_n "(cached) " >&6
26341 else
26344 ac_ext=cpp
26345 ac_cpp='$CXXCPP $CPPFLAGS'
26346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26351 /* end confdefs.h. */
26352 #include <math.h>
26354 main ()
26356 _sincosl(0, 0, 0);
26358 return 0;
26360 _ACEOF
26361 if ac_fn_cxx_try_compile "$LINENO"; then :
26362 glibcxx_cv_func__sincosl_use=yes
26363 else
26364 glibcxx_cv_func__sincosl_use=no
26366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26367 ac_ext=c
26368 ac_cpp='$CPP $CPPFLAGS'
26369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26378 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26380 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26381 for ac_func in _sincosl
26382 do :
26383 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26384 if test "x$ac_cv_func__sincosl" = x""yes; then :
26385 cat >>confdefs.h <<_ACEOF
26386 #define HAVE__SINCOSL 1
26387 _ACEOF
26390 done
26399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26400 $as_echo_n "checking for finitel declaration... " >&6; }
26401 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26402 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26403 $as_echo_n "(cached) " >&6
26404 else
26407 ac_ext=cpp
26408 ac_cpp='$CXXCPP $CPPFLAGS'
26409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26414 /* end confdefs.h. */
26415 #include <math.h>
26416 #ifdef HAVE_IEEEFP_H
26417 #include <ieeefp.h>
26418 #endif
26421 main ()
26423 finitel(0);
26425 return 0;
26427 _ACEOF
26428 if ac_fn_cxx_try_compile "$LINENO"; then :
26429 glibcxx_cv_func_finitel_use=yes
26430 else
26431 glibcxx_cv_func_finitel_use=no
26433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26434 ac_ext=c
26435 ac_cpp='$CPP $CPPFLAGS'
26436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26445 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26447 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26448 for ac_func in finitel
26449 do :
26450 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26451 if test "x$ac_cv_func_finitel" = x""yes; then :
26452 cat >>confdefs.h <<_ACEOF
26453 #define HAVE_FINITEL 1
26454 _ACEOF
26457 done
26459 else
26461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26462 $as_echo_n "checking for _finitel declaration... " >&6; }
26463 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26464 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26465 $as_echo_n "(cached) " >&6
26466 else
26469 ac_ext=cpp
26470 ac_cpp='$CXXCPP $CPPFLAGS'
26471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26476 /* end confdefs.h. */
26477 #include <math.h>
26478 #ifdef HAVE_IEEEFP_H
26479 #include <ieeefp.h>
26480 #endif
26483 main ()
26485 _finitel(0);
26487 return 0;
26489 _ACEOF
26490 if ac_fn_cxx_try_compile "$LINENO"; then :
26491 glibcxx_cv_func__finitel_use=yes
26492 else
26493 glibcxx_cv_func__finitel_use=no
26495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26496 ac_ext=c
26497 ac_cpp='$CPP $CPPFLAGS'
26498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26507 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26509 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26510 for ac_func in _finitel
26511 do :
26512 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26513 if test "x$ac_cv_func__finitel" = x""yes; then :
26514 cat >>confdefs.h <<_ACEOF
26515 #define HAVE__FINITEL 1
26516 _ACEOF
26519 done
26527 LIBS="$ac_save_LIBS"
26528 CXXFLAGS="$ac_save_CXXFLAGS"
26531 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26532 ac_save_CXXFLAGS="$CXXFLAGS"
26533 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26537 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26538 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26539 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26540 $as_echo_n "(cached) " >&6
26541 else
26544 ac_ext=cpp
26545 ac_cpp='$CXXCPP $CPPFLAGS'
26546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26551 /* end confdefs.h. */
26552 #include <stdlib.h>
26554 main ()
26556 at_quick_exit(0);
26558 return 0;
26560 _ACEOF
26561 if ac_fn_cxx_try_compile "$LINENO"; then :
26562 glibcxx_cv_func_at_quick_exit_use=yes
26563 else
26564 glibcxx_cv_func_at_quick_exit_use=no
26566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26567 ac_ext=c
26568 ac_cpp='$CPP $CPPFLAGS'
26569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26578 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26579 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26580 for ac_func in at_quick_exit
26581 do :
26582 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26583 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26584 cat >>confdefs.h <<_ACEOF
26585 #define HAVE_AT_QUICK_EXIT 1
26586 _ACEOF
26589 done
26594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26595 $as_echo_n "checking for quick_exit declaration... " >&6; }
26596 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26597 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26598 $as_echo_n "(cached) " >&6
26599 else
26602 ac_ext=cpp
26603 ac_cpp='$CXXCPP $CPPFLAGS'
26604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26609 /* end confdefs.h. */
26610 #include <stdlib.h>
26612 main ()
26614 quick_exit(0);
26616 return 0;
26618 _ACEOF
26619 if ac_fn_cxx_try_compile "$LINENO"; then :
26620 glibcxx_cv_func_quick_exit_use=yes
26621 else
26622 glibcxx_cv_func_quick_exit_use=no
26624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26625 ac_ext=c
26626 ac_cpp='$CPP $CPPFLAGS'
26627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26636 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26637 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26638 for ac_func in quick_exit
26639 do :
26640 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26641 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26642 cat >>confdefs.h <<_ACEOF
26643 #define HAVE_QUICK_EXIT 1
26644 _ACEOF
26647 done
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26653 $as_echo_n "checking for strtold declaration... " >&6; }
26654 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26655 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26656 $as_echo_n "(cached) " >&6
26657 else
26660 ac_ext=cpp
26661 ac_cpp='$CXXCPP $CPPFLAGS'
26662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26667 /* end confdefs.h. */
26668 #include <stdlib.h>
26670 main ()
26672 strtold(0, 0);
26674 return 0;
26676 _ACEOF
26677 if ac_fn_cxx_try_compile "$LINENO"; then :
26678 glibcxx_cv_func_strtold_use=yes
26679 else
26680 glibcxx_cv_func_strtold_use=no
26682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26683 ac_ext=c
26684 ac_cpp='$CPP $CPPFLAGS'
26685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26694 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26695 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26696 for ac_func in strtold
26697 do :
26698 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26699 if test "x$ac_cv_func_strtold" = x""yes; then :
26700 cat >>confdefs.h <<_ACEOF
26701 #define HAVE_STRTOLD 1
26702 _ACEOF
26705 done
26712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26713 $as_echo_n "checking for strtof declaration... " >&6; }
26714 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26715 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26716 $as_echo_n "(cached) " >&6
26717 else
26720 ac_ext=cpp
26721 ac_cpp='$CXXCPP $CPPFLAGS'
26722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26727 /* end confdefs.h. */
26728 #include <stdlib.h>
26730 main ()
26732 strtof(0, 0);
26734 return 0;
26736 _ACEOF
26737 if ac_fn_cxx_try_compile "$LINENO"; then :
26738 glibcxx_cv_func_strtof_use=yes
26739 else
26740 glibcxx_cv_func_strtof_use=no
26742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26743 ac_ext=c
26744 ac_cpp='$CPP $CPPFLAGS'
26745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26754 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26755 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26756 for ac_func in strtof
26757 do :
26758 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26759 if test "x$ac_cv_func_strtof" = x""yes; then :
26760 cat >>confdefs.h <<_ACEOF
26761 #define HAVE_STRTOF 1
26762 _ACEOF
26765 done
26772 CXXFLAGS="$ac_save_CXXFLAGS"
26775 # For /dev/random and /dev/urandom for TR1.
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26779 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26780 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26781 $as_echo_n "(cached) " >&6
26782 else
26784 if test -r /dev/random && test -r /dev/urandom; then
26785 ## For MSys environment the test above is detect as false-positive
26786 ## on mingw-targets. So disable it explicit for them.
26787 case ${target_os} in
26788 *mingw*) glibcxx_cv_random_tr1=no ;;
26789 *) glibcxx_cv_random_tr1=yes ;;
26790 esac
26791 else
26792 glibcxx_cv_random_tr1=no;
26797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26798 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26800 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26802 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26808 # For TLS support.
26811 # Check whether --enable-tls was given.
26812 if test "${enable_tls+set}" = set; then :
26813 enableval=$enable_tls;
26814 case "$enableval" in
26815 yes|no) ;;
26816 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26817 esac
26819 else
26820 enable_tls=yes
26824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26825 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26826 if test "${gcc_cv_have_tls+set}" = set; then :
26827 $as_echo_n "(cached) " >&6
26828 else
26830 if test "$cross_compiling" = yes; then :
26831 if test x$gcc_no_link = xyes; then
26832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26835 /* end confdefs.h. */
26836 __thread int a; int b; int main() { return a = b; }
26837 _ACEOF
26838 if ac_fn_c_try_link "$LINENO"; then :
26839 chktls_save_LDFLAGS="$LDFLAGS"
26840 case $host in
26841 *-*-linux*)
26842 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26844 esac
26845 chktls_save_CFLAGS="$CFLAGS"
26846 CFLAGS="-fPIC $CFLAGS"
26847 if test x$gcc_no_link = xyes; then
26848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26851 /* end confdefs.h. */
26852 int f() { return 0; }
26853 _ACEOF
26854 if ac_fn_c_try_link "$LINENO"; then :
26855 if test x$gcc_no_link = xyes; then
26856 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26859 /* end confdefs.h. */
26860 __thread int a; int b; int f() { return a = b; }
26861 _ACEOF
26862 if ac_fn_c_try_link "$LINENO"; then :
26863 gcc_cv_have_tls=yes
26864 else
26865 gcc_cv_have_tls=no
26867 rm -f core conftest.err conftest.$ac_objext \
26868 conftest$ac_exeext conftest.$ac_ext
26869 else
26870 gcc_cv_have_tls=yes
26872 rm -f core conftest.err conftest.$ac_objext \
26873 conftest$ac_exeext conftest.$ac_ext
26874 CFLAGS="$chktls_save_CFLAGS"
26875 LDFLAGS="$chktls_save_LDFLAGS"
26876 else
26877 gcc_cv_have_tls=no
26879 rm -f core conftest.err conftest.$ac_objext \
26880 conftest$ac_exeext conftest.$ac_ext
26883 else
26884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26885 /* end confdefs.h. */
26886 __thread int a; int b; int main() { return a = b; }
26887 _ACEOF
26888 if ac_fn_c_try_run "$LINENO"; then :
26889 chktls_save_LDFLAGS="$LDFLAGS"
26890 LDFLAGS="-static $LDFLAGS"
26891 if test x$gcc_no_link = xyes; then
26892 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26895 /* end confdefs.h. */
26896 int main() { return 0; }
26897 _ACEOF
26898 if ac_fn_c_try_link "$LINENO"; then :
26899 if test "$cross_compiling" = yes; then :
26900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26902 as_fn_error "cannot run test program while cross compiling
26903 See \`config.log' for more details." "$LINENO" 5; }
26904 else
26905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26906 /* end confdefs.h. */
26907 __thread int a; int b; int main() { return a = b; }
26908 _ACEOF
26909 if ac_fn_c_try_run "$LINENO"; then :
26910 gcc_cv_have_tls=yes
26911 else
26912 gcc_cv_have_tls=no
26914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26915 conftest.$ac_objext conftest.beam conftest.$ac_ext
26918 else
26919 gcc_cv_have_tls=yes
26921 rm -f core conftest.err conftest.$ac_objext \
26922 conftest$ac_exeext conftest.$ac_ext
26923 LDFLAGS="$chktls_save_LDFLAGS"
26924 if test $gcc_cv_have_tls = yes; then
26925 chktls_save_CFLAGS="$CFLAGS"
26926 thread_CFLAGS=failed
26927 for flag in '' '-pthread' '-lpthread'; do
26928 CFLAGS="$flag $chktls_save_CFLAGS"
26929 if test x$gcc_no_link = xyes; then
26930 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26933 /* end confdefs.h. */
26934 #include <pthread.h>
26935 void *g(void *d) { return NULL; }
26937 main ()
26939 pthread_t t; pthread_create(&t,NULL,g,NULL);
26941 return 0;
26943 _ACEOF
26944 if ac_fn_c_try_link "$LINENO"; then :
26945 thread_CFLAGS="$flag"
26947 rm -f core conftest.err conftest.$ac_objext \
26948 conftest$ac_exeext conftest.$ac_ext
26949 if test "X$thread_CFLAGS" != Xfailed; then
26950 break
26952 done
26953 CFLAGS="$chktls_save_CFLAGS"
26954 if test "X$thread_CFLAGS" != Xfailed; then
26955 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26956 if test "$cross_compiling" = yes; then :
26957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26959 as_fn_error "cannot run test program while cross compiling
26960 See \`config.log' for more details." "$LINENO" 5; }
26961 else
26962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26963 /* end confdefs.h. */
26964 #include <pthread.h>
26965 __thread int a;
26966 static int *volatile a_in_other_thread;
26967 static void *
26968 thread_func (void *arg)
26970 a_in_other_thread = &a;
26971 return (void *)0;
26974 main ()
26976 pthread_t thread;
26977 void *thread_retval;
26978 int *volatile a_in_main_thread;
26979 a_in_main_thread = &a;
26980 if (pthread_create (&thread, (pthread_attr_t *)0,
26981 thread_func, (void *)0))
26982 return 0;
26983 if (pthread_join (thread, &thread_retval))
26984 return 0;
26985 return (a_in_other_thread == a_in_main_thread);
26987 return 0;
26989 _ACEOF
26990 if ac_fn_c_try_run "$LINENO"; then :
26991 gcc_cv_have_tls=yes
26992 else
26993 gcc_cv_have_tls=no
26995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26996 conftest.$ac_objext conftest.beam conftest.$ac_ext
26999 CFLAGS="$chktls_save_CFLAGS"
27002 else
27003 gcc_cv_have_tls=no
27005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27006 conftest.$ac_objext conftest.beam conftest.$ac_ext
27010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27011 $as_echo "$gcc_cv_have_tls" >&6; }
27012 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27014 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27018 for ac_func in __cxa_thread_atexit_impl
27019 do :
27020 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27021 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27022 cat >>confdefs.h <<_ACEOF
27023 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27024 _ACEOF
27027 done
27030 # For iconv support.
27032 if test "X$prefix" = "XNONE"; then
27033 acl_final_prefix="$ac_default_prefix"
27034 else
27035 acl_final_prefix="$prefix"
27037 if test "X$exec_prefix" = "XNONE"; then
27038 acl_final_exec_prefix='${prefix}'
27039 else
27040 acl_final_exec_prefix="$exec_prefix"
27042 acl_save_prefix="$prefix"
27043 prefix="$acl_final_prefix"
27044 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27045 prefix="$acl_save_prefix"
27048 # Check whether --with-gnu-ld was given.
27049 if test "${with_gnu_ld+set}" = set; then :
27050 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27051 else
27052 with_gnu_ld=no
27055 # Prepare PATH_SEPARATOR.
27056 # The user is always right.
27057 if test "${PATH_SEPARATOR+set}" != set; then
27058 echo "#! /bin/sh" >conf$$.sh
27059 echo "exit 0" >>conf$$.sh
27060 chmod +x conf$$.sh
27061 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27062 PATH_SEPARATOR=';'
27063 else
27064 PATH_SEPARATOR=:
27066 rm -f conf$$.sh
27068 ac_prog=ld
27069 if test "$GCC" = yes; then
27070 # Check if gcc -print-prog-name=ld gives a path.
27071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27072 $as_echo_n "checking for ld used by GCC... " >&6; }
27073 case $host in
27074 *-*-mingw*)
27075 # gcc leaves a trailing carriage return which upsets mingw
27076 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27078 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27079 esac
27080 case $ac_prog in
27081 # Accept absolute paths.
27082 [\\/]* | [A-Za-z]:[\\/]*)
27083 re_direlt='/[^/][^/]*/\.\./'
27084 # Canonicalize the path of ld
27085 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27086 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27087 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27088 done
27089 test -z "$LD" && LD="$ac_prog"
27092 # If it fails, then pretend we aren't using GCC.
27093 ac_prog=ld
27096 # If it is relative, then search for the first ld in PATH.
27097 with_gnu_ld=unknown
27099 esac
27100 elif test "$with_gnu_ld" = yes; then
27101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27102 $as_echo_n "checking for GNU ld... " >&6; }
27103 else
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27105 $as_echo_n "checking for non-GNU ld... " >&6; }
27107 if test "${acl_cv_path_LD+set}" = set; then :
27108 $as_echo_n "(cached) " >&6
27109 else
27110 if test -z "$LD"; then
27111 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27112 for ac_dir in $PATH; do
27113 test -z "$ac_dir" && ac_dir=.
27114 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27115 acl_cv_path_LD="$ac_dir/$ac_prog"
27116 # Check to see if the program is GNU ld. I'd rather use --version,
27117 # but apparently some GNU ld's only accept -v.
27118 # Break only if it was the GNU/non-GNU ld that we prefer.
27119 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27120 test "$with_gnu_ld" != no && break
27121 else
27122 test "$with_gnu_ld" != yes && break
27125 done
27126 IFS="$ac_save_ifs"
27127 else
27128 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27132 LD="$acl_cv_path_LD"
27133 if test -n "$LD"; then
27134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27135 $as_echo "$LD" >&6; }
27136 else
27137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27138 $as_echo "no" >&6; }
27140 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27142 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27143 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27144 $as_echo_n "(cached) " >&6
27145 else
27146 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27147 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27148 acl_cv_prog_gnu_ld=yes
27149 else
27150 acl_cv_prog_gnu_ld=no
27153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27154 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27155 with_gnu_ld=$acl_cv_prog_gnu_ld
27159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27160 $as_echo_n "checking for shared library run path origin... " >&6; }
27161 if test "${acl_cv_rpath+set}" = set; then :
27162 $as_echo_n "(cached) " >&6
27163 else
27165 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27166 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27167 . ./conftest.sh
27168 rm -f ./conftest.sh
27169 acl_cv_rpath=done
27172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27173 $as_echo "$acl_cv_rpath" >&6; }
27174 wl="$acl_cv_wl"
27175 libext="$acl_cv_libext"
27176 shlibext="$acl_cv_shlibext"
27177 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27178 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27179 hardcode_direct="$acl_cv_hardcode_direct"
27180 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27181 # Check whether --enable-rpath was given.
27182 if test "${enable_rpath+set}" = set; then :
27183 enableval=$enable_rpath; :
27184 else
27185 enable_rpath=yes
27195 use_additional=yes
27197 acl_save_prefix="$prefix"
27198 prefix="$acl_final_prefix"
27199 acl_save_exec_prefix="$exec_prefix"
27200 exec_prefix="$acl_final_exec_prefix"
27202 eval additional_includedir=\"$includedir\"
27203 eval additional_libdir=\"$libdir\"
27205 exec_prefix="$acl_save_exec_prefix"
27206 prefix="$acl_save_prefix"
27209 # Check whether --with-libiconv-prefix was given.
27210 if test "${with_libiconv_prefix+set}" = set; then :
27211 withval=$with_libiconv_prefix;
27212 if test "X$withval" = "Xno"; then
27213 use_additional=no
27214 else
27215 if test "X$withval" = "X"; then
27217 acl_save_prefix="$prefix"
27218 prefix="$acl_final_prefix"
27219 acl_save_exec_prefix="$exec_prefix"
27220 exec_prefix="$acl_final_exec_prefix"
27222 eval additional_includedir=\"$includedir\"
27223 eval additional_libdir=\"$libdir\"
27225 exec_prefix="$acl_save_exec_prefix"
27226 prefix="$acl_save_prefix"
27228 else
27229 additional_includedir="$withval/include"
27230 additional_libdir="$withval/lib"
27236 LIBICONV=
27237 LTLIBICONV=
27238 INCICONV=
27239 rpathdirs=
27240 ltrpathdirs=
27241 names_already_handled=
27242 names_next_round='iconv '
27243 while test -n "$names_next_round"; do
27244 names_this_round="$names_next_round"
27245 names_next_round=
27246 for name in $names_this_round; do
27247 already_handled=
27248 for n in $names_already_handled; do
27249 if test "$n" = "$name"; then
27250 already_handled=yes
27251 break
27253 done
27254 if test -z "$already_handled"; then
27255 names_already_handled="$names_already_handled $name"
27256 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27257 eval value=\"\$HAVE_LIB$uppername\"
27258 if test -n "$value"; then
27259 if test "$value" = yes; then
27260 eval value=\"\$LIB$uppername\"
27261 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27262 eval value=\"\$LTLIB$uppername\"
27263 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27264 else
27267 else
27268 found_dir=
27269 found_la=
27270 found_so=
27271 found_a=
27272 if test $use_additional = yes; then
27273 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27274 found_dir="$additional_libdir"
27275 found_so="$additional_libdir/lib$name.$shlibext"
27276 if test -f "$additional_libdir/lib$name.la"; then
27277 found_la="$additional_libdir/lib$name.la"
27279 else
27280 if test -f "$additional_libdir/lib$name.$libext"; then
27281 found_dir="$additional_libdir"
27282 found_a="$additional_libdir/lib$name.$libext"
27283 if test -f "$additional_libdir/lib$name.la"; then
27284 found_la="$additional_libdir/lib$name.la"
27289 if test "X$found_dir" = "X"; then
27290 for x in $LDFLAGS $LTLIBICONV; do
27292 acl_save_prefix="$prefix"
27293 prefix="$acl_final_prefix"
27294 acl_save_exec_prefix="$exec_prefix"
27295 exec_prefix="$acl_final_exec_prefix"
27296 eval x=\"$x\"
27297 exec_prefix="$acl_save_exec_prefix"
27298 prefix="$acl_save_prefix"
27300 case "$x" in
27301 -L*)
27302 dir=`echo "X$x" | sed -e 's/^X-L//'`
27303 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27304 found_dir="$dir"
27305 found_so="$dir/lib$name.$shlibext"
27306 if test -f "$dir/lib$name.la"; then
27307 found_la="$dir/lib$name.la"
27309 else
27310 if test -f "$dir/lib$name.$libext"; then
27311 found_dir="$dir"
27312 found_a="$dir/lib$name.$libext"
27313 if test -f "$dir/lib$name.la"; then
27314 found_la="$dir/lib$name.la"
27319 esac
27320 if test "X$found_dir" != "X"; then
27321 break
27323 done
27325 if test "X$found_dir" != "X"; then
27326 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27327 if test "X$found_so" != "X"; then
27328 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27329 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27330 else
27331 haveit=
27332 for x in $ltrpathdirs; do
27333 if test "X$x" = "X$found_dir"; then
27334 haveit=yes
27335 break
27337 done
27338 if test -z "$haveit"; then
27339 ltrpathdirs="$ltrpathdirs $found_dir"
27341 if test "$hardcode_direct" = yes; then
27342 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27343 else
27344 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27345 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27346 haveit=
27347 for x in $rpathdirs; do
27348 if test "X$x" = "X$found_dir"; then
27349 haveit=yes
27350 break
27352 done
27353 if test -z "$haveit"; then
27354 rpathdirs="$rpathdirs $found_dir"
27356 else
27357 haveit=
27358 for x in $LDFLAGS $LIBICONV; do
27360 acl_save_prefix="$prefix"
27361 prefix="$acl_final_prefix"
27362 acl_save_exec_prefix="$exec_prefix"
27363 exec_prefix="$acl_final_exec_prefix"
27364 eval x=\"$x\"
27365 exec_prefix="$acl_save_exec_prefix"
27366 prefix="$acl_save_prefix"
27368 if test "X$x" = "X-L$found_dir"; then
27369 haveit=yes
27370 break
27372 done
27373 if test -z "$haveit"; then
27374 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27376 if test "$hardcode_minus_L" != no; then
27377 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27378 else
27379 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27384 else
27385 if test "X$found_a" != "X"; then
27386 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27387 else
27388 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27391 additional_includedir=
27392 case "$found_dir" in
27393 */lib | */lib/)
27394 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27395 additional_includedir="$basedir/include"
27397 esac
27398 if test "X$additional_includedir" != "X"; then
27399 if test "X$additional_includedir" != "X/usr/include"; then
27400 haveit=
27401 if test "X$additional_includedir" = "X/usr/local/include"; then
27402 if test -n "$GCC"; then
27403 case $host_os in
27404 linux*) haveit=yes;;
27405 esac
27408 if test -z "$haveit"; then
27409 for x in $CPPFLAGS $INCICONV; do
27411 acl_save_prefix="$prefix"
27412 prefix="$acl_final_prefix"
27413 acl_save_exec_prefix="$exec_prefix"
27414 exec_prefix="$acl_final_exec_prefix"
27415 eval x=\"$x\"
27416 exec_prefix="$acl_save_exec_prefix"
27417 prefix="$acl_save_prefix"
27419 if test "X$x" = "X-I$additional_includedir"; then
27420 haveit=yes
27421 break
27423 done
27424 if test -z "$haveit"; then
27425 if test -d "$additional_includedir"; then
27426 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27432 if test -n "$found_la"; then
27433 save_libdir="$libdir"
27434 case "$found_la" in
27435 */* | *\\*) . "$found_la" ;;
27436 *) . "./$found_la" ;;
27437 esac
27438 libdir="$save_libdir"
27439 for dep in $dependency_libs; do
27440 case "$dep" in
27441 -L*)
27442 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27443 if test "X$additional_libdir" != "X/usr/lib"; then
27444 haveit=
27445 if test "X$additional_libdir" = "X/usr/local/lib"; then
27446 if test -n "$GCC"; then
27447 case $host_os in
27448 linux*) haveit=yes;;
27449 esac
27452 if test -z "$haveit"; then
27453 haveit=
27454 for x in $LDFLAGS $LIBICONV; do
27456 acl_save_prefix="$prefix"
27457 prefix="$acl_final_prefix"
27458 acl_save_exec_prefix="$exec_prefix"
27459 exec_prefix="$acl_final_exec_prefix"
27460 eval x=\"$x\"
27461 exec_prefix="$acl_save_exec_prefix"
27462 prefix="$acl_save_prefix"
27464 if test "X$x" = "X-L$additional_libdir"; then
27465 haveit=yes
27466 break
27468 done
27469 if test -z "$haveit"; then
27470 if test -d "$additional_libdir"; then
27471 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27474 haveit=
27475 for x in $LDFLAGS $LTLIBICONV; do
27477 acl_save_prefix="$prefix"
27478 prefix="$acl_final_prefix"
27479 acl_save_exec_prefix="$exec_prefix"
27480 exec_prefix="$acl_final_exec_prefix"
27481 eval x=\"$x\"
27482 exec_prefix="$acl_save_exec_prefix"
27483 prefix="$acl_save_prefix"
27485 if test "X$x" = "X-L$additional_libdir"; then
27486 haveit=yes
27487 break
27489 done
27490 if test -z "$haveit"; then
27491 if test -d "$additional_libdir"; then
27492 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27498 -R*)
27499 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27500 if test "$enable_rpath" != no; then
27501 haveit=
27502 for x in $rpathdirs; do
27503 if test "X$x" = "X$dir"; then
27504 haveit=yes
27505 break
27507 done
27508 if test -z "$haveit"; then
27509 rpathdirs="$rpathdirs $dir"
27511 haveit=
27512 for x in $ltrpathdirs; do
27513 if test "X$x" = "X$dir"; then
27514 haveit=yes
27515 break
27517 done
27518 if test -z "$haveit"; then
27519 ltrpathdirs="$ltrpathdirs $dir"
27523 -l*)
27524 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27526 *.la)
27527 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27530 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27531 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27533 esac
27534 done
27536 else
27537 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27538 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27542 done
27543 done
27544 if test "X$rpathdirs" != "X"; then
27545 if test -n "$hardcode_libdir_separator"; then
27546 alldirs=
27547 for found_dir in $rpathdirs; do
27548 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27549 done
27550 acl_save_libdir="$libdir"
27551 libdir="$alldirs"
27552 eval flag=\"$hardcode_libdir_flag_spec\"
27553 libdir="$acl_save_libdir"
27554 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27555 else
27556 for found_dir in $rpathdirs; do
27557 acl_save_libdir="$libdir"
27558 libdir="$found_dir"
27559 eval flag=\"$hardcode_libdir_flag_spec\"
27560 libdir="$acl_save_libdir"
27561 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27562 done
27565 if test "X$ltrpathdirs" != "X"; then
27566 for found_dir in $ltrpathdirs; do
27567 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27568 done
27577 am_save_CPPFLAGS="$CPPFLAGS"
27579 for element in $INCICONV; do
27580 haveit=
27581 for x in $CPPFLAGS; do
27583 acl_save_prefix="$prefix"
27584 prefix="$acl_final_prefix"
27585 acl_save_exec_prefix="$exec_prefix"
27586 exec_prefix="$acl_final_exec_prefix"
27587 eval x=\"$x\"
27588 exec_prefix="$acl_save_exec_prefix"
27589 prefix="$acl_save_prefix"
27591 if test "X$x" = "X$element"; then
27592 haveit=yes
27593 break
27595 done
27596 if test -z "$haveit"; then
27597 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27599 done
27602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27603 $as_echo_n "checking for iconv... " >&6; }
27604 if test "${am_cv_func_iconv+set}" = set; then :
27605 $as_echo_n "(cached) " >&6
27606 else
27608 am_cv_func_iconv="no, consider installing GNU libiconv"
27609 am_cv_lib_iconv=no
27610 if test x$gcc_no_link = xyes; then
27611 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27614 /* end confdefs.h. */
27615 #include <stdlib.h>
27616 #include <iconv.h>
27618 main ()
27620 iconv_t cd = iconv_open("","");
27621 iconv(cd,NULL,NULL,NULL,NULL);
27622 iconv_close(cd);
27624 return 0;
27626 _ACEOF
27627 if ac_fn_c_try_link "$LINENO"; then :
27628 am_cv_func_iconv=yes
27630 rm -f core conftest.err conftest.$ac_objext \
27631 conftest$ac_exeext conftest.$ac_ext
27632 if test "$am_cv_func_iconv" != yes; then
27633 am_save_LIBS="$LIBS"
27634 LIBS="$LIBS $LIBICONV"
27635 if test x$gcc_no_link = xyes; then
27636 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27639 /* end confdefs.h. */
27640 #include <stdlib.h>
27641 #include <iconv.h>
27643 main ()
27645 iconv_t cd = iconv_open("","");
27646 iconv(cd,NULL,NULL,NULL,NULL);
27647 iconv_close(cd);
27649 return 0;
27651 _ACEOF
27652 if ac_fn_c_try_link "$LINENO"; then :
27653 am_cv_lib_iconv=yes
27654 am_cv_func_iconv=yes
27656 rm -f core conftest.err conftest.$ac_objext \
27657 conftest$ac_exeext conftest.$ac_ext
27658 LIBS="$am_save_LIBS"
27662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27663 $as_echo "$am_cv_func_iconv" >&6; }
27664 if test "$am_cv_func_iconv" = yes; then
27666 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27669 if test "$am_cv_lib_iconv" = yes; then
27670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27671 $as_echo_n "checking how to link with libiconv... " >&6; }
27672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27673 $as_echo "$LIBICONV" >&6; }
27674 else
27675 CPPFLAGS="$am_save_CPPFLAGS"
27676 LIBICONV=
27677 LTLIBICONV=
27682 if test "$am_cv_func_iconv" = yes; then
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27684 $as_echo_n "checking for iconv declaration... " >&6; }
27685 if test "${am_cv_proto_iconv+set}" = set; then :
27686 $as_echo_n "(cached) " >&6
27687 else
27689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27690 /* end confdefs.h. */
27692 #include <stdlib.h>
27693 #include <iconv.h>
27694 extern
27695 #ifdef __cplusplus
27697 #endif
27698 #if defined(__STDC__) || defined(__cplusplus)
27699 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27700 #else
27701 size_t iconv();
27702 #endif
27705 main ()
27709 return 0;
27711 _ACEOF
27712 if ac_fn_c_try_compile "$LINENO"; then :
27713 am_cv_proto_iconv_arg1=""
27714 else
27715 am_cv_proto_iconv_arg1="const"
27717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27718 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);"
27721 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27723 }$am_cv_proto_iconv" >&5
27724 $as_echo "${ac_t:-
27725 }$am_cv_proto_iconv" >&6; }
27727 cat >>confdefs.h <<_ACEOF
27728 #define ICONV_CONST $am_cv_proto_iconv_arg1
27729 _ACEOF
27734 else
27736 # This lets us hard-code the functionality we know we'll have in the cross
27737 # target environment. "Let" is a sugar-coated word placed on an especially
27738 # dull and tedious hack, actually.
27740 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27741 # that involve linking, can't be used:
27742 # "cannot open sim-crt0.o"
27743 # "cannot open crt0.o"
27744 # etc. All this is because there currently exists no unified, consistent
27745 # way for top level CC information to be passed down to target directories:
27746 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27747 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27748 # crosses can be removed.
27750 # If Canadian cross, then don't pick up tools from the build directory.
27751 # Used only in GLIBCXX_EXPORT_INCLUDES.
27752 if test -n "$with_cross_host" &&
27753 test x"$build_alias" != x"$with_cross_host" &&
27754 test x"$build" != x"$target";
27755 then
27756 CANADIAN=yes
27757 else
27758 CANADIAN=no
27761 # Construct crosses by hand, eliminating bits that need ld...
27762 # GLIBCXX_CHECK_MATH_SUPPORT
27764 # First, test for "known" system libraries. We may be using newlib even
27765 # on a hosted environment.
27766 if test "x${with_newlib}" = "xyes"; then
27767 os_include_dir="os/newlib"
27768 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27771 # GLIBCXX_CHECK_STDLIB_SUPPORT
27772 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27775 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27777 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27779 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27781 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27783 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27785 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27787 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27789 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27791 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27793 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27795 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27797 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27799 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27801 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27803 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27805 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27807 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27809 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27811 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27813 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27815 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27817 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27820 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27822 else
27824 # Base decisions on target environment.
27825 case "${host}" in
27826 arm*-*-symbianelf*)
27827 # This is a freestanding configuration; there is nothing to do here.
27830 mips*-sde-elf*)
27831 # These definitions are for the SDE C library rather than newlib.
27832 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27835 # All these tests are for C++; save the language and the compiler flags.
27836 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27837 # found in GLIBCXX_CONFIGURE.
27839 ac_ext=cpp
27840 ac_cpp='$CXXCPP $CPPFLAGS'
27841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27845 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27846 ac_save_CXXFLAGS="$CXXFLAGS"
27848 # Check for maintainer-mode bits.
27849 if test x"$USE_MAINTAINER_MODE" = xno; then
27850 WERROR=''
27851 else
27852 WERROR='-Werror'
27855 # Check for -ffunction-sections -fdata-sections
27856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27857 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27858 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27860 /* end confdefs.h. */
27861 int foo; void bar() { };
27863 main ()
27867 return 0;
27869 _ACEOF
27870 if ac_fn_cxx_try_compile "$LINENO"; then :
27871 ac_fdsections=yes
27872 else
27873 ac_fdsections=no
27875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27876 if test "$ac_test_CXXFLAGS" = set; then
27877 CXXFLAGS="$ac_save_CXXFLAGS"
27878 else
27879 # this is the suspicious part
27880 CXXFLAGS=''
27882 if test x"$ac_fdsections" = x"yes"; then
27883 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27886 $as_echo "$ac_fdsections" >&6; }
27888 ac_ext=c
27889 ac_cpp='$CPP $CPPFLAGS'
27890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27898 # If we're not using GNU ld, then there's no point in even trying these
27899 # tests. Check for that first. We should have already tested for gld
27900 # by now (in libtool), but require it now just to be safe...
27901 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27902 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27906 # The name set by libtool depends on the version of libtool. Shame on us
27907 # for depending on an impl detail, but c'est la vie. Older versions used
27908 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27909 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27910 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27911 # set (hence we're using an older libtool), then set it.
27912 if test x${with_gnu_ld+set} != xset; then
27913 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27914 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27915 with_gnu_ld=no
27916 else
27917 with_gnu_ld=$ac_cv_prog_gnu_ld
27921 # Start by getting the version number. I think the libtool test already
27922 # does some of this, but throws away the result.
27923 glibcxx_ld_is_gold=no
27924 if test x"$with_gnu_ld" = x"yes"; then
27925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27926 $as_echo_n "checking for ld version... " >&6; }
27928 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27929 glibcxx_ld_is_gold=yes
27931 ldver=`$LD --version 2>/dev/null |
27932 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'`
27934 glibcxx_gnu_ld_version=`echo $ldver | \
27935 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27937 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27940 # Set --gc-sections.
27941 glibcxx_have_gc_sections=no
27942 if test "$glibcxx_ld_is_gold" = "yes"; then
27943 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27944 glibcxx_have_gc_sections=yes
27946 else
27947 glibcxx_gcsections_min_ld=21602
27948 if test x"$with_gnu_ld" = x"yes" &&
27949 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27950 glibcxx_have_gc_sections=yes
27953 if test "$glibcxx_have_gc_sections" = "yes"; then
27954 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27955 # NB: This flag only works reliably after 2.16.1. Configure tests
27956 # for this are difficult, so hard wire a value that should work.
27958 ac_test_CFLAGS="${CFLAGS+set}"
27959 ac_save_CFLAGS="$CFLAGS"
27960 CFLAGS='-Wl,--gc-sections'
27962 # Check for -Wl,--gc-sections
27963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27964 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27965 if test x$gcc_no_link = xyes; then
27966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27969 /* end confdefs.h. */
27970 int one(void) { return 1; }
27971 int two(void) { return 2; }
27974 main ()
27976 two();
27978 return 0;
27980 _ACEOF
27981 if ac_fn_c_try_link "$LINENO"; then :
27982 ac_gcsections=yes
27983 else
27984 ac_gcsections=no
27986 rm -f core conftest.err conftest.$ac_objext \
27987 conftest$ac_exeext conftest.$ac_ext
27988 if test "$ac_gcsections" = "yes"; then
27989 rm -f conftest.c
27990 touch conftest.c
27991 if $CC -c conftest.c; then
27992 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27993 grep "Warning: gc-sections option ignored" > /dev/null; then
27994 ac_gcsections=no
27997 rm -f conftest.c conftest.o conftest
27999 if test "$ac_gcsections" = "yes"; then
28000 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28003 $as_echo "$ac_gcsections" >&6; }
28005 if test "$ac_test_CFLAGS" = set; then
28006 CFLAGS="$ac_save_CFLAGS"
28007 else
28008 # this is the suspicious part
28009 CFLAGS=''
28013 # Set -z,relro.
28014 # Note this is only for shared objects.
28015 ac_ld_relro=no
28016 if test x"$with_gnu_ld" = x"yes"; then
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28018 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28019 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28020 if test -n "$cxx_z_relo"; then
28021 OPT_LDFLAGS="-Wl,-z,relro"
28022 ac_ld_relro=yes
28024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28025 $as_echo "$ac_ld_relro" >&6; }
28028 # Set linker optimization flags.
28029 if test x"$with_gnu_ld" = x"yes"; then
28030 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28037 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28038 ac_save_CXXFLAGS="$CXXFLAGS"
28039 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28042 $as_echo_n "checking for sin in -lm... " >&6; }
28043 if test "${ac_cv_lib_m_sin+set}" = set; then :
28044 $as_echo_n "(cached) " >&6
28045 else
28046 ac_check_lib_save_LIBS=$LIBS
28047 LIBS="-lm $LIBS"
28048 if test x$gcc_no_link = xyes; then
28049 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28052 /* end confdefs.h. */
28054 /* Override any GCC internal prototype to avoid an error.
28055 Use char because int might match the return type of a GCC
28056 builtin and then its argument prototype would still apply. */
28057 #ifdef __cplusplus
28058 extern "C"
28059 #endif
28060 char sin ();
28062 main ()
28064 return sin ();
28066 return 0;
28068 _ACEOF
28069 if ac_fn_c_try_link "$LINENO"; then :
28070 ac_cv_lib_m_sin=yes
28071 else
28072 ac_cv_lib_m_sin=no
28074 rm -f core conftest.err conftest.$ac_objext \
28075 conftest$ac_exeext conftest.$ac_ext
28076 LIBS=$ac_check_lib_save_LIBS
28078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28079 $as_echo "$ac_cv_lib_m_sin" >&6; }
28080 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28081 libm="-lm"
28084 ac_save_LIBS="$LIBS"
28085 LIBS="$LIBS $libm"
28089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28090 $as_echo_n "checking for isinf declaration... " >&6; }
28091 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28092 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28093 $as_echo_n "(cached) " >&6
28094 else
28097 ac_ext=cpp
28098 ac_cpp='$CXXCPP $CPPFLAGS'
28099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28104 /* end confdefs.h. */
28105 #include <math.h>
28106 #ifdef HAVE_IEEEFP_H
28107 #include <ieeefp.h>
28108 #endif
28111 main ()
28113 isinf(0);
28115 return 0;
28117 _ACEOF
28118 if ac_fn_cxx_try_compile "$LINENO"; then :
28119 glibcxx_cv_func_isinf_use=yes
28120 else
28121 glibcxx_cv_func_isinf_use=no
28123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28124 ac_ext=c
28125 ac_cpp='$CPP $CPPFLAGS'
28126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28135 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28137 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28138 for ac_func in isinf
28139 do :
28140 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28141 if test "x$ac_cv_func_isinf" = x""yes; then :
28142 cat >>confdefs.h <<_ACEOF
28143 #define HAVE_ISINF 1
28144 _ACEOF
28147 done
28149 else
28151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28152 $as_echo_n "checking for _isinf declaration... " >&6; }
28153 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28154 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28155 $as_echo_n "(cached) " >&6
28156 else
28159 ac_ext=cpp
28160 ac_cpp='$CXXCPP $CPPFLAGS'
28161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28166 /* end confdefs.h. */
28167 #include <math.h>
28168 #ifdef HAVE_IEEEFP_H
28169 #include <ieeefp.h>
28170 #endif
28173 main ()
28175 _isinf(0);
28177 return 0;
28179 _ACEOF
28180 if ac_fn_cxx_try_compile "$LINENO"; then :
28181 glibcxx_cv_func__isinf_use=yes
28182 else
28183 glibcxx_cv_func__isinf_use=no
28185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28186 ac_ext=c
28187 ac_cpp='$CPP $CPPFLAGS'
28188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28197 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28199 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28200 for ac_func in _isinf
28201 do :
28202 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28203 if test "x$ac_cv_func__isinf" = x""yes; then :
28204 cat >>confdefs.h <<_ACEOF
28205 #define HAVE__ISINF 1
28206 _ACEOF
28209 done
28218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28219 $as_echo_n "checking for isnan declaration... " >&6; }
28220 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28221 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28222 $as_echo_n "(cached) " >&6
28223 else
28226 ac_ext=cpp
28227 ac_cpp='$CXXCPP $CPPFLAGS'
28228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28233 /* end confdefs.h. */
28234 #include <math.h>
28235 #ifdef HAVE_IEEEFP_H
28236 #include <ieeefp.h>
28237 #endif
28240 main ()
28242 isnan(0);
28244 return 0;
28246 _ACEOF
28247 if ac_fn_cxx_try_compile "$LINENO"; then :
28248 glibcxx_cv_func_isnan_use=yes
28249 else
28250 glibcxx_cv_func_isnan_use=no
28252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28253 ac_ext=c
28254 ac_cpp='$CPP $CPPFLAGS'
28255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28264 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28266 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28267 for ac_func in isnan
28268 do :
28269 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28270 if test "x$ac_cv_func_isnan" = x""yes; then :
28271 cat >>confdefs.h <<_ACEOF
28272 #define HAVE_ISNAN 1
28273 _ACEOF
28276 done
28278 else
28280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28281 $as_echo_n "checking for _isnan declaration... " >&6; }
28282 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28283 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28284 $as_echo_n "(cached) " >&6
28285 else
28288 ac_ext=cpp
28289 ac_cpp='$CXXCPP $CPPFLAGS'
28290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28295 /* end confdefs.h. */
28296 #include <math.h>
28297 #ifdef HAVE_IEEEFP_H
28298 #include <ieeefp.h>
28299 #endif
28302 main ()
28304 _isnan(0);
28306 return 0;
28308 _ACEOF
28309 if ac_fn_cxx_try_compile "$LINENO"; then :
28310 glibcxx_cv_func__isnan_use=yes
28311 else
28312 glibcxx_cv_func__isnan_use=no
28314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28315 ac_ext=c
28316 ac_cpp='$CPP $CPPFLAGS'
28317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28326 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28328 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28329 for ac_func in _isnan
28330 do :
28331 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28332 if test "x$ac_cv_func__isnan" = x""yes; then :
28333 cat >>confdefs.h <<_ACEOF
28334 #define HAVE__ISNAN 1
28335 _ACEOF
28338 done
28347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28348 $as_echo_n "checking for finite declaration... " >&6; }
28349 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28350 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28351 $as_echo_n "(cached) " >&6
28352 else
28355 ac_ext=cpp
28356 ac_cpp='$CXXCPP $CPPFLAGS'
28357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28362 /* end confdefs.h. */
28363 #include <math.h>
28364 #ifdef HAVE_IEEEFP_H
28365 #include <ieeefp.h>
28366 #endif
28369 main ()
28371 finite(0);
28373 return 0;
28375 _ACEOF
28376 if ac_fn_cxx_try_compile "$LINENO"; then :
28377 glibcxx_cv_func_finite_use=yes
28378 else
28379 glibcxx_cv_func_finite_use=no
28381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28382 ac_ext=c
28383 ac_cpp='$CPP $CPPFLAGS'
28384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28393 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28395 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28396 for ac_func in finite
28397 do :
28398 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28399 if test "x$ac_cv_func_finite" = x""yes; then :
28400 cat >>confdefs.h <<_ACEOF
28401 #define HAVE_FINITE 1
28402 _ACEOF
28405 done
28407 else
28409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28410 $as_echo_n "checking for _finite declaration... " >&6; }
28411 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28412 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28413 $as_echo_n "(cached) " >&6
28414 else
28417 ac_ext=cpp
28418 ac_cpp='$CXXCPP $CPPFLAGS'
28419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28424 /* end confdefs.h. */
28425 #include <math.h>
28426 #ifdef HAVE_IEEEFP_H
28427 #include <ieeefp.h>
28428 #endif
28431 main ()
28433 _finite(0);
28435 return 0;
28437 _ACEOF
28438 if ac_fn_cxx_try_compile "$LINENO"; then :
28439 glibcxx_cv_func__finite_use=yes
28440 else
28441 glibcxx_cv_func__finite_use=no
28443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28444 ac_ext=c
28445 ac_cpp='$CPP $CPPFLAGS'
28446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28455 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28457 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28458 for ac_func in _finite
28459 do :
28460 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28461 if test "x$ac_cv_func__finite" = x""yes; then :
28462 cat >>confdefs.h <<_ACEOF
28463 #define HAVE__FINITE 1
28464 _ACEOF
28467 done
28476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28477 $as_echo_n "checking for sincos declaration... " >&6; }
28478 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28479 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28480 $as_echo_n "(cached) " >&6
28481 else
28484 ac_ext=cpp
28485 ac_cpp='$CXXCPP $CPPFLAGS'
28486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28491 /* end confdefs.h. */
28492 #include <math.h>
28494 main ()
28496 sincos(0, 0, 0);
28498 return 0;
28500 _ACEOF
28501 if ac_fn_cxx_try_compile "$LINENO"; then :
28502 glibcxx_cv_func_sincos_use=yes
28503 else
28504 glibcxx_cv_func_sincos_use=no
28506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28507 ac_ext=c
28508 ac_cpp='$CPP $CPPFLAGS'
28509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28518 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28520 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28521 for ac_func in sincos
28522 do :
28523 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28524 if test "x$ac_cv_func_sincos" = x""yes; then :
28525 cat >>confdefs.h <<_ACEOF
28526 #define HAVE_SINCOS 1
28527 _ACEOF
28530 done
28532 else
28534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28535 $as_echo_n "checking for _sincos declaration... " >&6; }
28536 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28537 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28538 $as_echo_n "(cached) " >&6
28539 else
28542 ac_ext=cpp
28543 ac_cpp='$CXXCPP $CPPFLAGS'
28544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28549 /* end confdefs.h. */
28550 #include <math.h>
28552 main ()
28554 _sincos(0, 0, 0);
28556 return 0;
28558 _ACEOF
28559 if ac_fn_cxx_try_compile "$LINENO"; then :
28560 glibcxx_cv_func__sincos_use=yes
28561 else
28562 glibcxx_cv_func__sincos_use=no
28564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28565 ac_ext=c
28566 ac_cpp='$CPP $CPPFLAGS'
28567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28576 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28578 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28579 for ac_func in _sincos
28580 do :
28581 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28582 if test "x$ac_cv_func__sincos" = x""yes; then :
28583 cat >>confdefs.h <<_ACEOF
28584 #define HAVE__SINCOS 1
28585 _ACEOF
28588 done
28597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28598 $as_echo_n "checking for fpclass declaration... " >&6; }
28599 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28600 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28601 $as_echo_n "(cached) " >&6
28602 else
28605 ac_ext=cpp
28606 ac_cpp='$CXXCPP $CPPFLAGS'
28607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28612 /* end confdefs.h. */
28613 #include <math.h>
28614 #ifdef HAVE_IEEEFP_H
28615 #include <ieeefp.h>
28616 #endif
28619 main ()
28621 fpclass(0);
28623 return 0;
28625 _ACEOF
28626 if ac_fn_cxx_try_compile "$LINENO"; then :
28627 glibcxx_cv_func_fpclass_use=yes
28628 else
28629 glibcxx_cv_func_fpclass_use=no
28631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28632 ac_ext=c
28633 ac_cpp='$CPP $CPPFLAGS'
28634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28643 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28645 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28646 for ac_func in fpclass
28647 do :
28648 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28649 if test "x$ac_cv_func_fpclass" = x""yes; then :
28650 cat >>confdefs.h <<_ACEOF
28651 #define HAVE_FPCLASS 1
28652 _ACEOF
28655 done
28657 else
28659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28660 $as_echo_n "checking for _fpclass declaration... " >&6; }
28661 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28662 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28663 $as_echo_n "(cached) " >&6
28664 else
28667 ac_ext=cpp
28668 ac_cpp='$CXXCPP $CPPFLAGS'
28669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28674 /* end confdefs.h. */
28675 #include <math.h>
28676 #ifdef HAVE_IEEEFP_H
28677 #include <ieeefp.h>
28678 #endif
28681 main ()
28683 _fpclass(0);
28685 return 0;
28687 _ACEOF
28688 if ac_fn_cxx_try_compile "$LINENO"; then :
28689 glibcxx_cv_func__fpclass_use=yes
28690 else
28691 glibcxx_cv_func__fpclass_use=no
28693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28694 ac_ext=c
28695 ac_cpp='$CPP $CPPFLAGS'
28696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28705 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28707 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28708 for ac_func in _fpclass
28709 do :
28710 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28711 if test "x$ac_cv_func__fpclass" = x""yes; then :
28712 cat >>confdefs.h <<_ACEOF
28713 #define HAVE__FPCLASS 1
28714 _ACEOF
28717 done
28726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28727 $as_echo_n "checking for qfpclass declaration... " >&6; }
28728 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28729 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28730 $as_echo_n "(cached) " >&6
28731 else
28734 ac_ext=cpp
28735 ac_cpp='$CXXCPP $CPPFLAGS'
28736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28741 /* end confdefs.h. */
28742 #include <math.h>
28743 #ifdef HAVE_IEEEFP_H
28744 #include <ieeefp.h>
28745 #endif
28748 main ()
28750 qfpclass(0);
28752 return 0;
28754 _ACEOF
28755 if ac_fn_cxx_try_compile "$LINENO"; then :
28756 glibcxx_cv_func_qfpclass_use=yes
28757 else
28758 glibcxx_cv_func_qfpclass_use=no
28760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28761 ac_ext=c
28762 ac_cpp='$CPP $CPPFLAGS'
28763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28772 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28774 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28775 for ac_func in qfpclass
28776 do :
28777 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28778 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28779 cat >>confdefs.h <<_ACEOF
28780 #define HAVE_QFPCLASS 1
28781 _ACEOF
28784 done
28786 else
28788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28789 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28790 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28791 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28792 $as_echo_n "(cached) " >&6
28793 else
28796 ac_ext=cpp
28797 ac_cpp='$CXXCPP $CPPFLAGS'
28798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28803 /* end confdefs.h. */
28804 #include <math.h>
28805 #ifdef HAVE_IEEEFP_H
28806 #include <ieeefp.h>
28807 #endif
28810 main ()
28812 _qfpclass(0);
28814 return 0;
28816 _ACEOF
28817 if ac_fn_cxx_try_compile "$LINENO"; then :
28818 glibcxx_cv_func__qfpclass_use=yes
28819 else
28820 glibcxx_cv_func__qfpclass_use=no
28822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28823 ac_ext=c
28824 ac_cpp='$CPP $CPPFLAGS'
28825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28834 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28836 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28837 for ac_func in _qfpclass
28838 do :
28839 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28840 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28841 cat >>confdefs.h <<_ACEOF
28842 #define HAVE__QFPCLASS 1
28843 _ACEOF
28846 done
28855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28856 $as_echo_n "checking for hypot declaration... " >&6; }
28857 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28858 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28859 $as_echo_n "(cached) " >&6
28860 else
28863 ac_ext=cpp
28864 ac_cpp='$CXXCPP $CPPFLAGS'
28865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28870 /* end confdefs.h. */
28871 #include <math.h>
28873 main ()
28875 hypot(0, 0);
28877 return 0;
28879 _ACEOF
28880 if ac_fn_cxx_try_compile "$LINENO"; then :
28881 glibcxx_cv_func_hypot_use=yes
28882 else
28883 glibcxx_cv_func_hypot_use=no
28885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28886 ac_ext=c
28887 ac_cpp='$CPP $CPPFLAGS'
28888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28897 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28899 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28900 for ac_func in hypot
28901 do :
28902 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28903 if test "x$ac_cv_func_hypot" = x""yes; then :
28904 cat >>confdefs.h <<_ACEOF
28905 #define HAVE_HYPOT 1
28906 _ACEOF
28909 done
28911 else
28913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28914 $as_echo_n "checking for _hypot declaration... " >&6; }
28915 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28916 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28917 $as_echo_n "(cached) " >&6
28918 else
28921 ac_ext=cpp
28922 ac_cpp='$CXXCPP $CPPFLAGS'
28923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28928 /* end confdefs.h. */
28929 #include <math.h>
28931 main ()
28933 _hypot(0, 0);
28935 return 0;
28937 _ACEOF
28938 if ac_fn_cxx_try_compile "$LINENO"; then :
28939 glibcxx_cv_func__hypot_use=yes
28940 else
28941 glibcxx_cv_func__hypot_use=no
28943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28944 ac_ext=c
28945 ac_cpp='$CPP $CPPFLAGS'
28946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28955 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28957 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28958 for ac_func in _hypot
28959 do :
28960 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28961 if test "x$ac_cv_func__hypot" = x""yes; then :
28962 cat >>confdefs.h <<_ACEOF
28963 #define HAVE__HYPOT 1
28964 _ACEOF
28967 done
28976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28977 $as_echo_n "checking for float trig functions... " >&6; }
28978 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28979 $as_echo_n "(cached) " >&6
28980 else
28983 ac_ext=cpp
28984 ac_cpp='$CXXCPP $CPPFLAGS'
28985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28990 /* end confdefs.h. */
28991 #include <math.h>
28993 main ()
28995 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28997 return 0;
28999 _ACEOF
29000 if ac_fn_cxx_try_compile "$LINENO"; then :
29001 glibcxx_cv_func_float_trig_use=yes
29002 else
29003 glibcxx_cv_func_float_trig_use=no
29005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29006 ac_ext=c
29007 ac_cpp='$CPP $CPPFLAGS'
29008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29015 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29016 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29017 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29018 do :
29019 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29020 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29021 eval as_val=\$$as_ac_var
29022 if test "x$as_val" = x""yes; then :
29023 cat >>confdefs.h <<_ACEOF
29024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29025 _ACEOF
29028 done
29030 else
29031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29032 $as_echo_n "checking for _float trig functions... " >&6; }
29033 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29034 $as_echo_n "(cached) " >&6
29035 else
29038 ac_ext=cpp
29039 ac_cpp='$CXXCPP $CPPFLAGS'
29040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29045 /* end confdefs.h. */
29046 #include <math.h>
29048 main ()
29050 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29052 return 0;
29054 _ACEOF
29055 if ac_fn_cxx_try_compile "$LINENO"; then :
29056 glibcxx_cv_func__float_trig_use=yes
29057 else
29058 glibcxx_cv_func__float_trig_use=no
29060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29061 ac_ext=c
29062 ac_cpp='$CPP $CPPFLAGS'
29063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29070 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29071 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29072 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29073 do :
29074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29076 eval as_val=\$$as_ac_var
29077 if test "x$as_val" = x""yes; then :
29078 cat >>confdefs.h <<_ACEOF
29079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29080 _ACEOF
29083 done
29092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29093 $as_echo_n "checking for float round functions... " >&6; }
29094 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29095 $as_echo_n "(cached) " >&6
29096 else
29099 ac_ext=cpp
29100 ac_cpp='$CXXCPP $CPPFLAGS'
29101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29106 /* end confdefs.h. */
29107 #include <math.h>
29109 main ()
29111 ceilf (0); floorf (0);
29113 return 0;
29115 _ACEOF
29116 if ac_fn_cxx_try_compile "$LINENO"; then :
29117 glibcxx_cv_func_float_round_use=yes
29118 else
29119 glibcxx_cv_func_float_round_use=no
29121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29122 ac_ext=c
29123 ac_cpp='$CPP $CPPFLAGS'
29124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29131 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29132 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29133 for ac_func in ceilf floorf
29134 do :
29135 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29136 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29137 eval as_val=\$$as_ac_var
29138 if test "x$as_val" = x""yes; then :
29139 cat >>confdefs.h <<_ACEOF
29140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29141 _ACEOF
29144 done
29146 else
29147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29148 $as_echo_n "checking for _float round functions... " >&6; }
29149 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29150 $as_echo_n "(cached) " >&6
29151 else
29154 ac_ext=cpp
29155 ac_cpp='$CXXCPP $CPPFLAGS'
29156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29161 /* end confdefs.h. */
29162 #include <math.h>
29164 main ()
29166 _ceilf (0); _floorf (0);
29168 return 0;
29170 _ACEOF
29171 if ac_fn_cxx_try_compile "$LINENO"; then :
29172 glibcxx_cv_func__float_round_use=yes
29173 else
29174 glibcxx_cv_func__float_round_use=no
29176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29177 ac_ext=c
29178 ac_cpp='$CPP $CPPFLAGS'
29179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29186 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29187 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29188 for ac_func in _ceilf _floorf
29189 do :
29190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29192 eval as_val=\$$as_ac_var
29193 if test "x$as_val" = x""yes; then :
29194 cat >>confdefs.h <<_ACEOF
29195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29196 _ACEOF
29199 done
29209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29210 $as_echo_n "checking for expf declaration... " >&6; }
29211 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29212 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29213 $as_echo_n "(cached) " >&6
29214 else
29217 ac_ext=cpp
29218 ac_cpp='$CXXCPP $CPPFLAGS'
29219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29224 /* end confdefs.h. */
29225 #include <math.h>
29226 #ifdef HAVE_IEEEFP_H
29227 #include <ieeefp.h>
29228 #endif
29231 main ()
29233 expf(0);
29235 return 0;
29237 _ACEOF
29238 if ac_fn_cxx_try_compile "$LINENO"; then :
29239 glibcxx_cv_func_expf_use=yes
29240 else
29241 glibcxx_cv_func_expf_use=no
29243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29244 ac_ext=c
29245 ac_cpp='$CPP $CPPFLAGS'
29246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29255 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29257 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29258 for ac_func in expf
29259 do :
29260 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29261 if test "x$ac_cv_func_expf" = x""yes; then :
29262 cat >>confdefs.h <<_ACEOF
29263 #define HAVE_EXPF 1
29264 _ACEOF
29267 done
29269 else
29271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29272 $as_echo_n "checking for _expf declaration... " >&6; }
29273 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29274 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29275 $as_echo_n "(cached) " >&6
29276 else
29279 ac_ext=cpp
29280 ac_cpp='$CXXCPP $CPPFLAGS'
29281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29286 /* end confdefs.h. */
29287 #include <math.h>
29288 #ifdef HAVE_IEEEFP_H
29289 #include <ieeefp.h>
29290 #endif
29293 main ()
29295 _expf(0);
29297 return 0;
29299 _ACEOF
29300 if ac_fn_cxx_try_compile "$LINENO"; then :
29301 glibcxx_cv_func__expf_use=yes
29302 else
29303 glibcxx_cv_func__expf_use=no
29305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29306 ac_ext=c
29307 ac_cpp='$CPP $CPPFLAGS'
29308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29317 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29319 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29320 for ac_func in _expf
29321 do :
29322 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29323 if test "x$ac_cv_func__expf" = x""yes; then :
29324 cat >>confdefs.h <<_ACEOF
29325 #define HAVE__EXPF 1
29326 _ACEOF
29329 done
29338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29339 $as_echo_n "checking for isnanf declaration... " >&6; }
29340 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29341 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29342 $as_echo_n "(cached) " >&6
29343 else
29346 ac_ext=cpp
29347 ac_cpp='$CXXCPP $CPPFLAGS'
29348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29353 /* end confdefs.h. */
29354 #include <math.h>
29355 #ifdef HAVE_IEEEFP_H
29356 #include <ieeefp.h>
29357 #endif
29360 main ()
29362 isnanf(0);
29364 return 0;
29366 _ACEOF
29367 if ac_fn_cxx_try_compile "$LINENO"; then :
29368 glibcxx_cv_func_isnanf_use=yes
29369 else
29370 glibcxx_cv_func_isnanf_use=no
29372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29373 ac_ext=c
29374 ac_cpp='$CPP $CPPFLAGS'
29375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29384 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29386 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29387 for ac_func in isnanf
29388 do :
29389 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29390 if test "x$ac_cv_func_isnanf" = x""yes; then :
29391 cat >>confdefs.h <<_ACEOF
29392 #define HAVE_ISNANF 1
29393 _ACEOF
29396 done
29398 else
29400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29401 $as_echo_n "checking for _isnanf declaration... " >&6; }
29402 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29403 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29404 $as_echo_n "(cached) " >&6
29405 else
29408 ac_ext=cpp
29409 ac_cpp='$CXXCPP $CPPFLAGS'
29410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29415 /* end confdefs.h. */
29416 #include <math.h>
29417 #ifdef HAVE_IEEEFP_H
29418 #include <ieeefp.h>
29419 #endif
29422 main ()
29424 _isnanf(0);
29426 return 0;
29428 _ACEOF
29429 if ac_fn_cxx_try_compile "$LINENO"; then :
29430 glibcxx_cv_func__isnanf_use=yes
29431 else
29432 glibcxx_cv_func__isnanf_use=no
29434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29435 ac_ext=c
29436 ac_cpp='$CPP $CPPFLAGS'
29437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29446 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29448 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29449 for ac_func in _isnanf
29450 do :
29451 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29452 if test "x$ac_cv_func__isnanf" = x""yes; then :
29453 cat >>confdefs.h <<_ACEOF
29454 #define HAVE__ISNANF 1
29455 _ACEOF
29458 done
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29468 $as_echo_n "checking for isinff declaration... " >&6; }
29469 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29470 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29471 $as_echo_n "(cached) " >&6
29472 else
29475 ac_ext=cpp
29476 ac_cpp='$CXXCPP $CPPFLAGS'
29477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29482 /* end confdefs.h. */
29483 #include <math.h>
29484 #ifdef HAVE_IEEEFP_H
29485 #include <ieeefp.h>
29486 #endif
29489 main ()
29491 isinff(0);
29493 return 0;
29495 _ACEOF
29496 if ac_fn_cxx_try_compile "$LINENO"; then :
29497 glibcxx_cv_func_isinff_use=yes
29498 else
29499 glibcxx_cv_func_isinff_use=no
29501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29502 ac_ext=c
29503 ac_cpp='$CPP $CPPFLAGS'
29504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29513 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29515 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29516 for ac_func in isinff
29517 do :
29518 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29519 if test "x$ac_cv_func_isinff" = x""yes; then :
29520 cat >>confdefs.h <<_ACEOF
29521 #define HAVE_ISINFF 1
29522 _ACEOF
29525 done
29527 else
29529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29530 $as_echo_n "checking for _isinff declaration... " >&6; }
29531 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29532 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29533 $as_echo_n "(cached) " >&6
29534 else
29537 ac_ext=cpp
29538 ac_cpp='$CXXCPP $CPPFLAGS'
29539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29544 /* end confdefs.h. */
29545 #include <math.h>
29546 #ifdef HAVE_IEEEFP_H
29547 #include <ieeefp.h>
29548 #endif
29551 main ()
29553 _isinff(0);
29555 return 0;
29557 _ACEOF
29558 if ac_fn_cxx_try_compile "$LINENO"; then :
29559 glibcxx_cv_func__isinff_use=yes
29560 else
29561 glibcxx_cv_func__isinff_use=no
29563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29564 ac_ext=c
29565 ac_cpp='$CPP $CPPFLAGS'
29566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29575 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29577 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29578 for ac_func in _isinff
29579 do :
29580 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29581 if test "x$ac_cv_func__isinff" = x""yes; then :
29582 cat >>confdefs.h <<_ACEOF
29583 #define HAVE__ISINFF 1
29584 _ACEOF
29587 done
29596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29597 $as_echo_n "checking for atan2f declaration... " >&6; }
29598 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29599 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29600 $as_echo_n "(cached) " >&6
29601 else
29604 ac_ext=cpp
29605 ac_cpp='$CXXCPP $CPPFLAGS'
29606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29611 /* end confdefs.h. */
29612 #include <math.h>
29614 main ()
29616 atan2f(0, 0);
29618 return 0;
29620 _ACEOF
29621 if ac_fn_cxx_try_compile "$LINENO"; then :
29622 glibcxx_cv_func_atan2f_use=yes
29623 else
29624 glibcxx_cv_func_atan2f_use=no
29626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29627 ac_ext=c
29628 ac_cpp='$CPP $CPPFLAGS'
29629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29638 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29640 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29641 for ac_func in atan2f
29642 do :
29643 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29644 if test "x$ac_cv_func_atan2f" = x""yes; then :
29645 cat >>confdefs.h <<_ACEOF
29646 #define HAVE_ATAN2F 1
29647 _ACEOF
29650 done
29652 else
29654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29655 $as_echo_n "checking for _atan2f declaration... " >&6; }
29656 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29657 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29658 $as_echo_n "(cached) " >&6
29659 else
29662 ac_ext=cpp
29663 ac_cpp='$CXXCPP $CPPFLAGS'
29664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29669 /* end confdefs.h. */
29670 #include <math.h>
29672 main ()
29674 _atan2f(0, 0);
29676 return 0;
29678 _ACEOF
29679 if ac_fn_cxx_try_compile "$LINENO"; then :
29680 glibcxx_cv_func__atan2f_use=yes
29681 else
29682 glibcxx_cv_func__atan2f_use=no
29684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29685 ac_ext=c
29686 ac_cpp='$CPP $CPPFLAGS'
29687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29696 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29698 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29699 for ac_func in _atan2f
29700 do :
29701 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29702 if test "x$ac_cv_func__atan2f" = x""yes; then :
29703 cat >>confdefs.h <<_ACEOF
29704 #define HAVE__ATAN2F 1
29705 _ACEOF
29708 done
29717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29718 $as_echo_n "checking for fabsf declaration... " >&6; }
29719 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29720 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29721 $as_echo_n "(cached) " >&6
29722 else
29725 ac_ext=cpp
29726 ac_cpp='$CXXCPP $CPPFLAGS'
29727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29732 /* end confdefs.h. */
29733 #include <math.h>
29734 #ifdef HAVE_IEEEFP_H
29735 #include <ieeefp.h>
29736 #endif
29739 main ()
29741 fabsf(0);
29743 return 0;
29745 _ACEOF
29746 if ac_fn_cxx_try_compile "$LINENO"; then :
29747 glibcxx_cv_func_fabsf_use=yes
29748 else
29749 glibcxx_cv_func_fabsf_use=no
29751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29752 ac_ext=c
29753 ac_cpp='$CPP $CPPFLAGS'
29754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29763 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29765 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29766 for ac_func in fabsf
29767 do :
29768 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29769 if test "x$ac_cv_func_fabsf" = x""yes; then :
29770 cat >>confdefs.h <<_ACEOF
29771 #define HAVE_FABSF 1
29772 _ACEOF
29775 done
29777 else
29779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29780 $as_echo_n "checking for _fabsf declaration... " >&6; }
29781 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29782 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29783 $as_echo_n "(cached) " >&6
29784 else
29787 ac_ext=cpp
29788 ac_cpp='$CXXCPP $CPPFLAGS'
29789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29794 /* end confdefs.h. */
29795 #include <math.h>
29796 #ifdef HAVE_IEEEFP_H
29797 #include <ieeefp.h>
29798 #endif
29801 main ()
29803 _fabsf(0);
29805 return 0;
29807 _ACEOF
29808 if ac_fn_cxx_try_compile "$LINENO"; then :
29809 glibcxx_cv_func__fabsf_use=yes
29810 else
29811 glibcxx_cv_func__fabsf_use=no
29813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29814 ac_ext=c
29815 ac_cpp='$CPP $CPPFLAGS'
29816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29825 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29827 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29828 for ac_func in _fabsf
29829 do :
29830 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29831 if test "x$ac_cv_func__fabsf" = x""yes; then :
29832 cat >>confdefs.h <<_ACEOF
29833 #define HAVE__FABSF 1
29834 _ACEOF
29837 done
29846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29847 $as_echo_n "checking for fmodf declaration... " >&6; }
29848 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29849 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29850 $as_echo_n "(cached) " >&6
29851 else
29854 ac_ext=cpp
29855 ac_cpp='$CXXCPP $CPPFLAGS'
29856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29861 /* end confdefs.h. */
29862 #include <math.h>
29864 main ()
29866 fmodf(0, 0);
29868 return 0;
29870 _ACEOF
29871 if ac_fn_cxx_try_compile "$LINENO"; then :
29872 glibcxx_cv_func_fmodf_use=yes
29873 else
29874 glibcxx_cv_func_fmodf_use=no
29876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29877 ac_ext=c
29878 ac_cpp='$CPP $CPPFLAGS'
29879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29888 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29890 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29891 for ac_func in fmodf
29892 do :
29893 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29894 if test "x$ac_cv_func_fmodf" = x""yes; then :
29895 cat >>confdefs.h <<_ACEOF
29896 #define HAVE_FMODF 1
29897 _ACEOF
29900 done
29902 else
29904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29905 $as_echo_n "checking for _fmodf declaration... " >&6; }
29906 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29907 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29908 $as_echo_n "(cached) " >&6
29909 else
29912 ac_ext=cpp
29913 ac_cpp='$CXXCPP $CPPFLAGS'
29914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29919 /* end confdefs.h. */
29920 #include <math.h>
29922 main ()
29924 _fmodf(0, 0);
29926 return 0;
29928 _ACEOF
29929 if ac_fn_cxx_try_compile "$LINENO"; then :
29930 glibcxx_cv_func__fmodf_use=yes
29931 else
29932 glibcxx_cv_func__fmodf_use=no
29934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29935 ac_ext=c
29936 ac_cpp='$CPP $CPPFLAGS'
29937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29946 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29948 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29949 for ac_func in _fmodf
29950 do :
29951 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29952 if test "x$ac_cv_func__fmodf" = x""yes; then :
29953 cat >>confdefs.h <<_ACEOF
29954 #define HAVE__FMODF 1
29955 _ACEOF
29958 done
29967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29968 $as_echo_n "checking for frexpf declaration... " >&6; }
29969 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29970 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29971 $as_echo_n "(cached) " >&6
29972 else
29975 ac_ext=cpp
29976 ac_cpp='$CXXCPP $CPPFLAGS'
29977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29982 /* end confdefs.h. */
29983 #include <math.h>
29985 main ()
29987 frexpf(0, 0);
29989 return 0;
29991 _ACEOF
29992 if ac_fn_cxx_try_compile "$LINENO"; then :
29993 glibcxx_cv_func_frexpf_use=yes
29994 else
29995 glibcxx_cv_func_frexpf_use=no
29997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29998 ac_ext=c
29999 ac_cpp='$CPP $CPPFLAGS'
30000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30009 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30011 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30012 for ac_func in frexpf
30013 do :
30014 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30015 if test "x$ac_cv_func_frexpf" = x""yes; then :
30016 cat >>confdefs.h <<_ACEOF
30017 #define HAVE_FREXPF 1
30018 _ACEOF
30021 done
30023 else
30025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30026 $as_echo_n "checking for _frexpf declaration... " >&6; }
30027 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30028 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30029 $as_echo_n "(cached) " >&6
30030 else
30033 ac_ext=cpp
30034 ac_cpp='$CXXCPP $CPPFLAGS'
30035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30040 /* end confdefs.h. */
30041 #include <math.h>
30043 main ()
30045 _frexpf(0, 0);
30047 return 0;
30049 _ACEOF
30050 if ac_fn_cxx_try_compile "$LINENO"; then :
30051 glibcxx_cv_func__frexpf_use=yes
30052 else
30053 glibcxx_cv_func__frexpf_use=no
30055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30056 ac_ext=c
30057 ac_cpp='$CPP $CPPFLAGS'
30058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30067 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30069 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30070 for ac_func in _frexpf
30071 do :
30072 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30073 if test "x$ac_cv_func__frexpf" = x""yes; then :
30074 cat >>confdefs.h <<_ACEOF
30075 #define HAVE__FREXPF 1
30076 _ACEOF
30079 done
30088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30089 $as_echo_n "checking for hypotf declaration... " >&6; }
30090 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30091 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30092 $as_echo_n "(cached) " >&6
30093 else
30096 ac_ext=cpp
30097 ac_cpp='$CXXCPP $CPPFLAGS'
30098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30103 /* end confdefs.h. */
30104 #include <math.h>
30106 main ()
30108 hypotf(0, 0);
30110 return 0;
30112 _ACEOF
30113 if ac_fn_cxx_try_compile "$LINENO"; then :
30114 glibcxx_cv_func_hypotf_use=yes
30115 else
30116 glibcxx_cv_func_hypotf_use=no
30118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30119 ac_ext=c
30120 ac_cpp='$CPP $CPPFLAGS'
30121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30130 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30132 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30133 for ac_func in hypotf
30134 do :
30135 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30136 if test "x$ac_cv_func_hypotf" = x""yes; then :
30137 cat >>confdefs.h <<_ACEOF
30138 #define HAVE_HYPOTF 1
30139 _ACEOF
30142 done
30144 else
30146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30147 $as_echo_n "checking for _hypotf declaration... " >&6; }
30148 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30149 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30150 $as_echo_n "(cached) " >&6
30151 else
30154 ac_ext=cpp
30155 ac_cpp='$CXXCPP $CPPFLAGS'
30156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30161 /* end confdefs.h. */
30162 #include <math.h>
30164 main ()
30166 _hypotf(0, 0);
30168 return 0;
30170 _ACEOF
30171 if ac_fn_cxx_try_compile "$LINENO"; then :
30172 glibcxx_cv_func__hypotf_use=yes
30173 else
30174 glibcxx_cv_func__hypotf_use=no
30176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30177 ac_ext=c
30178 ac_cpp='$CPP $CPPFLAGS'
30179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30188 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30190 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30191 for ac_func in _hypotf
30192 do :
30193 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30194 if test "x$ac_cv_func__hypotf" = x""yes; then :
30195 cat >>confdefs.h <<_ACEOF
30196 #define HAVE__HYPOTF 1
30197 _ACEOF
30200 done
30209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30210 $as_echo_n "checking for ldexpf declaration... " >&6; }
30211 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30212 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30213 $as_echo_n "(cached) " >&6
30214 else
30217 ac_ext=cpp
30218 ac_cpp='$CXXCPP $CPPFLAGS'
30219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30224 /* end confdefs.h. */
30225 #include <math.h>
30227 main ()
30229 ldexpf(0, 0);
30231 return 0;
30233 _ACEOF
30234 if ac_fn_cxx_try_compile "$LINENO"; then :
30235 glibcxx_cv_func_ldexpf_use=yes
30236 else
30237 glibcxx_cv_func_ldexpf_use=no
30239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30240 ac_ext=c
30241 ac_cpp='$CPP $CPPFLAGS'
30242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30251 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30253 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30254 for ac_func in ldexpf
30255 do :
30256 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30257 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30258 cat >>confdefs.h <<_ACEOF
30259 #define HAVE_LDEXPF 1
30260 _ACEOF
30263 done
30265 else
30267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30268 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30269 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30270 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30271 $as_echo_n "(cached) " >&6
30272 else
30275 ac_ext=cpp
30276 ac_cpp='$CXXCPP $CPPFLAGS'
30277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30282 /* end confdefs.h. */
30283 #include <math.h>
30285 main ()
30287 _ldexpf(0, 0);
30289 return 0;
30291 _ACEOF
30292 if ac_fn_cxx_try_compile "$LINENO"; then :
30293 glibcxx_cv_func__ldexpf_use=yes
30294 else
30295 glibcxx_cv_func__ldexpf_use=no
30297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30298 ac_ext=c
30299 ac_cpp='$CPP $CPPFLAGS'
30300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30309 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30311 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30312 for ac_func in _ldexpf
30313 do :
30314 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30315 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30316 cat >>confdefs.h <<_ACEOF
30317 #define HAVE__LDEXPF 1
30318 _ACEOF
30321 done
30330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30331 $as_echo_n "checking for logf declaration... " >&6; }
30332 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30333 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30334 $as_echo_n "(cached) " >&6
30335 else
30338 ac_ext=cpp
30339 ac_cpp='$CXXCPP $CPPFLAGS'
30340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30345 /* end confdefs.h. */
30346 #include <math.h>
30347 #ifdef HAVE_IEEEFP_H
30348 #include <ieeefp.h>
30349 #endif
30352 main ()
30354 logf(0);
30356 return 0;
30358 _ACEOF
30359 if ac_fn_cxx_try_compile "$LINENO"; then :
30360 glibcxx_cv_func_logf_use=yes
30361 else
30362 glibcxx_cv_func_logf_use=no
30364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30365 ac_ext=c
30366 ac_cpp='$CPP $CPPFLAGS'
30367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30376 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30378 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30379 for ac_func in logf
30380 do :
30381 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30382 if test "x$ac_cv_func_logf" = x""yes; then :
30383 cat >>confdefs.h <<_ACEOF
30384 #define HAVE_LOGF 1
30385 _ACEOF
30388 done
30390 else
30392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30393 $as_echo_n "checking for _logf declaration... " >&6; }
30394 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30395 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30396 $as_echo_n "(cached) " >&6
30397 else
30400 ac_ext=cpp
30401 ac_cpp='$CXXCPP $CPPFLAGS'
30402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30407 /* end confdefs.h. */
30408 #include <math.h>
30409 #ifdef HAVE_IEEEFP_H
30410 #include <ieeefp.h>
30411 #endif
30414 main ()
30416 _logf(0);
30418 return 0;
30420 _ACEOF
30421 if ac_fn_cxx_try_compile "$LINENO"; then :
30422 glibcxx_cv_func__logf_use=yes
30423 else
30424 glibcxx_cv_func__logf_use=no
30426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30427 ac_ext=c
30428 ac_cpp='$CPP $CPPFLAGS'
30429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30438 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30440 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30441 for ac_func in _logf
30442 do :
30443 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30444 if test "x$ac_cv_func__logf" = x""yes; then :
30445 cat >>confdefs.h <<_ACEOF
30446 #define HAVE__LOGF 1
30447 _ACEOF
30450 done
30459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30460 $as_echo_n "checking for log10f declaration... " >&6; }
30461 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30462 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30463 $as_echo_n "(cached) " >&6
30464 else
30467 ac_ext=cpp
30468 ac_cpp='$CXXCPP $CPPFLAGS'
30469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30474 /* end confdefs.h. */
30475 #include <math.h>
30476 #ifdef HAVE_IEEEFP_H
30477 #include <ieeefp.h>
30478 #endif
30481 main ()
30483 log10f(0);
30485 return 0;
30487 _ACEOF
30488 if ac_fn_cxx_try_compile "$LINENO"; then :
30489 glibcxx_cv_func_log10f_use=yes
30490 else
30491 glibcxx_cv_func_log10f_use=no
30493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30494 ac_ext=c
30495 ac_cpp='$CPP $CPPFLAGS'
30496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30505 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30507 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30508 for ac_func in log10f
30509 do :
30510 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30511 if test "x$ac_cv_func_log10f" = x""yes; then :
30512 cat >>confdefs.h <<_ACEOF
30513 #define HAVE_LOG10F 1
30514 _ACEOF
30517 done
30519 else
30521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30522 $as_echo_n "checking for _log10f declaration... " >&6; }
30523 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30524 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30525 $as_echo_n "(cached) " >&6
30526 else
30529 ac_ext=cpp
30530 ac_cpp='$CXXCPP $CPPFLAGS'
30531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30536 /* end confdefs.h. */
30537 #include <math.h>
30538 #ifdef HAVE_IEEEFP_H
30539 #include <ieeefp.h>
30540 #endif
30543 main ()
30545 _log10f(0);
30547 return 0;
30549 _ACEOF
30550 if ac_fn_cxx_try_compile "$LINENO"; then :
30551 glibcxx_cv_func__log10f_use=yes
30552 else
30553 glibcxx_cv_func__log10f_use=no
30555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30556 ac_ext=c
30557 ac_cpp='$CPP $CPPFLAGS'
30558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30567 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30569 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30570 for ac_func in _log10f
30571 do :
30572 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30573 if test "x$ac_cv_func__log10f" = x""yes; then :
30574 cat >>confdefs.h <<_ACEOF
30575 #define HAVE__LOG10F 1
30576 _ACEOF
30579 done
30588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30589 $as_echo_n "checking for modff declaration... " >&6; }
30590 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30591 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30592 $as_echo_n "(cached) " >&6
30593 else
30596 ac_ext=cpp
30597 ac_cpp='$CXXCPP $CPPFLAGS'
30598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30603 /* end confdefs.h. */
30604 #include <math.h>
30606 main ()
30608 modff(0, 0);
30610 return 0;
30612 _ACEOF
30613 if ac_fn_cxx_try_compile "$LINENO"; then :
30614 glibcxx_cv_func_modff_use=yes
30615 else
30616 glibcxx_cv_func_modff_use=no
30618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30619 ac_ext=c
30620 ac_cpp='$CPP $CPPFLAGS'
30621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30630 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30632 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30633 for ac_func in modff
30634 do :
30635 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30636 if test "x$ac_cv_func_modff" = x""yes; then :
30637 cat >>confdefs.h <<_ACEOF
30638 #define HAVE_MODFF 1
30639 _ACEOF
30642 done
30644 else
30646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30647 $as_echo_n "checking for _modff declaration... " >&6; }
30648 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30649 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30650 $as_echo_n "(cached) " >&6
30651 else
30654 ac_ext=cpp
30655 ac_cpp='$CXXCPP $CPPFLAGS'
30656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30661 /* end confdefs.h. */
30662 #include <math.h>
30664 main ()
30666 _modff(0, 0);
30668 return 0;
30670 _ACEOF
30671 if ac_fn_cxx_try_compile "$LINENO"; then :
30672 glibcxx_cv_func__modff_use=yes
30673 else
30674 glibcxx_cv_func__modff_use=no
30676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30677 ac_ext=c
30678 ac_cpp='$CPP $CPPFLAGS'
30679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30688 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30690 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30691 for ac_func in _modff
30692 do :
30693 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30694 if test "x$ac_cv_func__modff" = x""yes; then :
30695 cat >>confdefs.h <<_ACEOF
30696 #define HAVE__MODFF 1
30697 _ACEOF
30700 done
30709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30710 $as_echo_n "checking for modf declaration... " >&6; }
30711 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30712 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30713 $as_echo_n "(cached) " >&6
30714 else
30717 ac_ext=cpp
30718 ac_cpp='$CXXCPP $CPPFLAGS'
30719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30724 /* end confdefs.h. */
30725 #include <math.h>
30727 main ()
30729 modf(0, 0);
30731 return 0;
30733 _ACEOF
30734 if ac_fn_cxx_try_compile "$LINENO"; then :
30735 glibcxx_cv_func_modf_use=yes
30736 else
30737 glibcxx_cv_func_modf_use=no
30739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30740 ac_ext=c
30741 ac_cpp='$CPP $CPPFLAGS'
30742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30751 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30753 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30754 for ac_func in modf
30755 do :
30756 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30757 if test "x$ac_cv_func_modf" = x""yes; then :
30758 cat >>confdefs.h <<_ACEOF
30759 #define HAVE_MODF 1
30760 _ACEOF
30763 done
30765 else
30767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30768 $as_echo_n "checking for _modf declaration... " >&6; }
30769 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30770 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30771 $as_echo_n "(cached) " >&6
30772 else
30775 ac_ext=cpp
30776 ac_cpp='$CXXCPP $CPPFLAGS'
30777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30782 /* end confdefs.h. */
30783 #include <math.h>
30785 main ()
30787 _modf(0, 0);
30789 return 0;
30791 _ACEOF
30792 if ac_fn_cxx_try_compile "$LINENO"; then :
30793 glibcxx_cv_func__modf_use=yes
30794 else
30795 glibcxx_cv_func__modf_use=no
30797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30798 ac_ext=c
30799 ac_cpp='$CPP $CPPFLAGS'
30800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30809 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30811 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30812 for ac_func in _modf
30813 do :
30814 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30815 if test "x$ac_cv_func__modf" = x""yes; then :
30816 cat >>confdefs.h <<_ACEOF
30817 #define HAVE__MODF 1
30818 _ACEOF
30821 done
30830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30831 $as_echo_n "checking for powf declaration... " >&6; }
30832 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30833 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30834 $as_echo_n "(cached) " >&6
30835 else
30838 ac_ext=cpp
30839 ac_cpp='$CXXCPP $CPPFLAGS'
30840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30845 /* end confdefs.h. */
30846 #include <math.h>
30848 main ()
30850 powf(0, 0);
30852 return 0;
30854 _ACEOF
30855 if ac_fn_cxx_try_compile "$LINENO"; then :
30856 glibcxx_cv_func_powf_use=yes
30857 else
30858 glibcxx_cv_func_powf_use=no
30860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30861 ac_ext=c
30862 ac_cpp='$CPP $CPPFLAGS'
30863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30872 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30874 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30875 for ac_func in powf
30876 do :
30877 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30878 if test "x$ac_cv_func_powf" = x""yes; then :
30879 cat >>confdefs.h <<_ACEOF
30880 #define HAVE_POWF 1
30881 _ACEOF
30884 done
30886 else
30888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30889 $as_echo_n "checking for _powf declaration... " >&6; }
30890 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30891 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30892 $as_echo_n "(cached) " >&6
30893 else
30896 ac_ext=cpp
30897 ac_cpp='$CXXCPP $CPPFLAGS'
30898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30903 /* end confdefs.h. */
30904 #include <math.h>
30906 main ()
30908 _powf(0, 0);
30910 return 0;
30912 _ACEOF
30913 if ac_fn_cxx_try_compile "$LINENO"; then :
30914 glibcxx_cv_func__powf_use=yes
30915 else
30916 glibcxx_cv_func__powf_use=no
30918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30919 ac_ext=c
30920 ac_cpp='$CPP $CPPFLAGS'
30921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30930 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30932 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30933 for ac_func in _powf
30934 do :
30935 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30936 if test "x$ac_cv_func__powf" = x""yes; then :
30937 cat >>confdefs.h <<_ACEOF
30938 #define HAVE__POWF 1
30939 _ACEOF
30942 done
30951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30952 $as_echo_n "checking for sqrtf declaration... " >&6; }
30953 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30954 if test "${glibcxx_cv_func_sqrtf_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 sqrtf(0);
30977 return 0;
30979 _ACEOF
30980 if ac_fn_cxx_try_compile "$LINENO"; then :
30981 glibcxx_cv_func_sqrtf_use=yes
30982 else
30983 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
30997 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30999 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31000 for ac_func in sqrtf
31001 do :
31002 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31003 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31004 cat >>confdefs.h <<_ACEOF
31005 #define HAVE_SQRTF 1
31006 _ACEOF
31009 done
31011 else
31013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31014 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31015 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31016 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31017 $as_echo_n "(cached) " >&6
31018 else
31021 ac_ext=cpp
31022 ac_cpp='$CXXCPP $CPPFLAGS'
31023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31028 /* end confdefs.h. */
31029 #include <math.h>
31030 #ifdef HAVE_IEEEFP_H
31031 #include <ieeefp.h>
31032 #endif
31035 main ()
31037 _sqrtf(0);
31039 return 0;
31041 _ACEOF
31042 if ac_fn_cxx_try_compile "$LINENO"; then :
31043 glibcxx_cv_func__sqrtf_use=yes
31044 else
31045 glibcxx_cv_func__sqrtf_use=no
31047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31048 ac_ext=c
31049 ac_cpp='$CPP $CPPFLAGS'
31050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31059 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31061 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31062 for ac_func in _sqrtf
31063 do :
31064 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31065 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31066 cat >>confdefs.h <<_ACEOF
31067 #define HAVE__SQRTF 1
31068 _ACEOF
31071 done
31080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31081 $as_echo_n "checking for sincosf declaration... " >&6; }
31082 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31083 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31084 $as_echo_n "(cached) " >&6
31085 else
31088 ac_ext=cpp
31089 ac_cpp='$CXXCPP $CPPFLAGS'
31090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31095 /* end confdefs.h. */
31096 #include <math.h>
31098 main ()
31100 sincosf(0, 0, 0);
31102 return 0;
31104 _ACEOF
31105 if ac_fn_cxx_try_compile "$LINENO"; then :
31106 glibcxx_cv_func_sincosf_use=yes
31107 else
31108 glibcxx_cv_func_sincosf_use=no
31110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31111 ac_ext=c
31112 ac_cpp='$CPP $CPPFLAGS'
31113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31122 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31124 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31125 for ac_func in sincosf
31126 do :
31127 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31128 if test "x$ac_cv_func_sincosf" = x""yes; then :
31129 cat >>confdefs.h <<_ACEOF
31130 #define HAVE_SINCOSF 1
31131 _ACEOF
31134 done
31136 else
31138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31139 $as_echo_n "checking for _sincosf declaration... " >&6; }
31140 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31141 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31142 $as_echo_n "(cached) " >&6
31143 else
31146 ac_ext=cpp
31147 ac_cpp='$CXXCPP $CPPFLAGS'
31148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31153 /* end confdefs.h. */
31154 #include <math.h>
31156 main ()
31158 _sincosf(0, 0, 0);
31160 return 0;
31162 _ACEOF
31163 if ac_fn_cxx_try_compile "$LINENO"; then :
31164 glibcxx_cv_func__sincosf_use=yes
31165 else
31166 glibcxx_cv_func__sincosf_use=no
31168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31169 ac_ext=c
31170 ac_cpp='$CPP $CPPFLAGS'
31171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31180 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31182 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31183 for ac_func in _sincosf
31184 do :
31185 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31186 if test "x$ac_cv_func__sincosf" = x""yes; then :
31187 cat >>confdefs.h <<_ACEOF
31188 #define HAVE__SINCOSF 1
31189 _ACEOF
31192 done
31201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31202 $as_echo_n "checking for finitef declaration... " >&6; }
31203 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31204 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31205 $as_echo_n "(cached) " >&6
31206 else
31209 ac_ext=cpp
31210 ac_cpp='$CXXCPP $CPPFLAGS'
31211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31216 /* end confdefs.h. */
31217 #include <math.h>
31218 #ifdef HAVE_IEEEFP_H
31219 #include <ieeefp.h>
31220 #endif
31223 main ()
31225 finitef(0);
31227 return 0;
31229 _ACEOF
31230 if ac_fn_cxx_try_compile "$LINENO"; then :
31231 glibcxx_cv_func_finitef_use=yes
31232 else
31233 glibcxx_cv_func_finitef_use=no
31235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31236 ac_ext=c
31237 ac_cpp='$CPP $CPPFLAGS'
31238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31247 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31249 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31250 for ac_func in finitef
31251 do :
31252 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31253 if test "x$ac_cv_func_finitef" = x""yes; then :
31254 cat >>confdefs.h <<_ACEOF
31255 #define HAVE_FINITEF 1
31256 _ACEOF
31259 done
31261 else
31263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31264 $as_echo_n "checking for _finitef declaration... " >&6; }
31265 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31266 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31267 $as_echo_n "(cached) " >&6
31268 else
31271 ac_ext=cpp
31272 ac_cpp='$CXXCPP $CPPFLAGS'
31273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31278 /* end confdefs.h. */
31279 #include <math.h>
31280 #ifdef HAVE_IEEEFP_H
31281 #include <ieeefp.h>
31282 #endif
31285 main ()
31287 _finitef(0);
31289 return 0;
31291 _ACEOF
31292 if ac_fn_cxx_try_compile "$LINENO"; then :
31293 glibcxx_cv_func__finitef_use=yes
31294 else
31295 glibcxx_cv_func__finitef_use=no
31297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31298 ac_ext=c
31299 ac_cpp='$CPP $CPPFLAGS'
31300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31309 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31311 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31312 for ac_func in _finitef
31313 do :
31314 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31315 if test "x$ac_cv_func__finitef" = x""yes; then :
31316 cat >>confdefs.h <<_ACEOF
31317 #define HAVE__FINITEF 1
31318 _ACEOF
31321 done
31330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31331 $as_echo_n "checking for long double trig functions... " >&6; }
31332 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31333 $as_echo_n "(cached) " >&6
31334 else
31337 ac_ext=cpp
31338 ac_cpp='$CXXCPP $CPPFLAGS'
31339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31344 /* end confdefs.h. */
31345 #include <math.h>
31347 main ()
31349 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31351 return 0;
31353 _ACEOF
31354 if ac_fn_cxx_try_compile "$LINENO"; then :
31355 glibcxx_cv_func_long_double_trig_use=yes
31356 else
31357 glibcxx_cv_func_long_double_trig_use=no
31359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31360 ac_ext=c
31361 ac_cpp='$CPP $CPPFLAGS'
31362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31369 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31370 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31371 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31372 do :
31373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31375 eval as_val=\$$as_ac_var
31376 if test "x$as_val" = x""yes; then :
31377 cat >>confdefs.h <<_ACEOF
31378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31379 _ACEOF
31382 done
31384 else
31385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31386 $as_echo_n "checking for _long double trig functions... " >&6; }
31387 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31388 $as_echo_n "(cached) " >&6
31389 else
31392 ac_ext=cpp
31393 ac_cpp='$CXXCPP $CPPFLAGS'
31394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31399 /* end confdefs.h. */
31400 #include <math.h>
31402 main ()
31404 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31406 return 0;
31408 _ACEOF
31409 if ac_fn_cxx_try_compile "$LINENO"; then :
31410 glibcxx_cv_func__long_double_trig_use=yes
31411 else
31412 glibcxx_cv_func__long_double_trig_use=no
31414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31415 ac_ext=c
31416 ac_cpp='$CPP $CPPFLAGS'
31417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31424 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31425 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31426 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31427 do :
31428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31430 eval as_val=\$$as_ac_var
31431 if test "x$as_val" = x""yes; then :
31432 cat >>confdefs.h <<_ACEOF
31433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31434 _ACEOF
31437 done
31446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31447 $as_echo_n "checking for long double round functions... " >&6; }
31448 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31449 $as_echo_n "(cached) " >&6
31450 else
31453 ac_ext=cpp
31454 ac_cpp='$CXXCPP $CPPFLAGS'
31455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31460 /* end confdefs.h. */
31461 #include <math.h>
31463 main ()
31465 ceill (0); floorl (0);
31467 return 0;
31469 _ACEOF
31470 if ac_fn_cxx_try_compile "$LINENO"; then :
31471 glibcxx_cv_func_long_double_round_use=yes
31472 else
31473 glibcxx_cv_func_long_double_round_use=no
31475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31476 ac_ext=c
31477 ac_cpp='$CPP $CPPFLAGS'
31478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31485 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31486 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31487 for ac_func in ceill floorl
31488 do :
31489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31491 eval as_val=\$$as_ac_var
31492 if test "x$as_val" = x""yes; then :
31493 cat >>confdefs.h <<_ACEOF
31494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31495 _ACEOF
31498 done
31500 else
31501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31502 $as_echo_n "checking for _long double round functions... " >&6; }
31503 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31504 $as_echo_n "(cached) " >&6
31505 else
31508 ac_ext=cpp
31509 ac_cpp='$CXXCPP $CPPFLAGS'
31510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31515 /* end confdefs.h. */
31516 #include <math.h>
31518 main ()
31520 _ceill (0); _floorl (0);
31522 return 0;
31524 _ACEOF
31525 if ac_fn_cxx_try_compile "$LINENO"; then :
31526 glibcxx_cv_func__long_double_round_use=yes
31527 else
31528 glibcxx_cv_func__long_double_round_use=no
31530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31531 ac_ext=c
31532 ac_cpp='$CPP $CPPFLAGS'
31533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31540 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31541 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31542 for ac_func in _ceill _floorl
31543 do :
31544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31546 eval as_val=\$$as_ac_var
31547 if test "x$as_val" = x""yes; then :
31548 cat >>confdefs.h <<_ACEOF
31549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31550 _ACEOF
31553 done
31563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31564 $as_echo_n "checking for isnanl declaration... " >&6; }
31565 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31566 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31567 $as_echo_n "(cached) " >&6
31568 else
31571 ac_ext=cpp
31572 ac_cpp='$CXXCPP $CPPFLAGS'
31573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31578 /* end confdefs.h. */
31579 #include <math.h>
31580 #ifdef HAVE_IEEEFP_H
31581 #include <ieeefp.h>
31582 #endif
31585 main ()
31587 isnanl(0);
31589 return 0;
31591 _ACEOF
31592 if ac_fn_cxx_try_compile "$LINENO"; then :
31593 glibcxx_cv_func_isnanl_use=yes
31594 else
31595 glibcxx_cv_func_isnanl_use=no
31597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31598 ac_ext=c
31599 ac_cpp='$CPP $CPPFLAGS'
31600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31609 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31611 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31612 for ac_func in isnanl
31613 do :
31614 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31615 if test "x$ac_cv_func_isnanl" = x""yes; then :
31616 cat >>confdefs.h <<_ACEOF
31617 #define HAVE_ISNANL 1
31618 _ACEOF
31621 done
31623 else
31625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31626 $as_echo_n "checking for _isnanl declaration... " >&6; }
31627 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31628 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31629 $as_echo_n "(cached) " >&6
31630 else
31633 ac_ext=cpp
31634 ac_cpp='$CXXCPP $CPPFLAGS'
31635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31640 /* end confdefs.h. */
31641 #include <math.h>
31642 #ifdef HAVE_IEEEFP_H
31643 #include <ieeefp.h>
31644 #endif
31647 main ()
31649 _isnanl(0);
31651 return 0;
31653 _ACEOF
31654 if ac_fn_cxx_try_compile "$LINENO"; then :
31655 glibcxx_cv_func__isnanl_use=yes
31656 else
31657 glibcxx_cv_func__isnanl_use=no
31659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31660 ac_ext=c
31661 ac_cpp='$CPP $CPPFLAGS'
31662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31671 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31673 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31674 for ac_func in _isnanl
31675 do :
31676 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31677 if test "x$ac_cv_func__isnanl" = x""yes; then :
31678 cat >>confdefs.h <<_ACEOF
31679 #define HAVE__ISNANL 1
31680 _ACEOF
31683 done
31692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31693 $as_echo_n "checking for isinfl declaration... " >&6; }
31694 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31695 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31696 $as_echo_n "(cached) " >&6
31697 else
31700 ac_ext=cpp
31701 ac_cpp='$CXXCPP $CPPFLAGS'
31702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31707 /* end confdefs.h. */
31708 #include <math.h>
31709 #ifdef HAVE_IEEEFP_H
31710 #include <ieeefp.h>
31711 #endif
31714 main ()
31716 isinfl(0);
31718 return 0;
31720 _ACEOF
31721 if ac_fn_cxx_try_compile "$LINENO"; then :
31722 glibcxx_cv_func_isinfl_use=yes
31723 else
31724 glibcxx_cv_func_isinfl_use=no
31726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31727 ac_ext=c
31728 ac_cpp='$CPP $CPPFLAGS'
31729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31738 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31740 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31741 for ac_func in isinfl
31742 do :
31743 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31744 if test "x$ac_cv_func_isinfl" = x""yes; then :
31745 cat >>confdefs.h <<_ACEOF
31746 #define HAVE_ISINFL 1
31747 _ACEOF
31750 done
31752 else
31754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31755 $as_echo_n "checking for _isinfl declaration... " >&6; }
31756 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31757 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31758 $as_echo_n "(cached) " >&6
31759 else
31762 ac_ext=cpp
31763 ac_cpp='$CXXCPP $CPPFLAGS'
31764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31769 /* end confdefs.h. */
31770 #include <math.h>
31771 #ifdef HAVE_IEEEFP_H
31772 #include <ieeefp.h>
31773 #endif
31776 main ()
31778 _isinfl(0);
31780 return 0;
31782 _ACEOF
31783 if ac_fn_cxx_try_compile "$LINENO"; then :
31784 glibcxx_cv_func__isinfl_use=yes
31785 else
31786 glibcxx_cv_func__isinfl_use=no
31788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31789 ac_ext=c
31790 ac_cpp='$CPP $CPPFLAGS'
31791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31800 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31802 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31803 for ac_func in _isinfl
31804 do :
31805 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31806 if test "x$ac_cv_func__isinfl" = x""yes; then :
31807 cat >>confdefs.h <<_ACEOF
31808 #define HAVE__ISINFL 1
31809 _ACEOF
31812 done
31821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31822 $as_echo_n "checking for atan2l declaration... " >&6; }
31823 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31824 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31825 $as_echo_n "(cached) " >&6
31826 else
31829 ac_ext=cpp
31830 ac_cpp='$CXXCPP $CPPFLAGS'
31831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31836 /* end confdefs.h. */
31837 #include <math.h>
31839 main ()
31841 atan2l(0, 0);
31843 return 0;
31845 _ACEOF
31846 if ac_fn_cxx_try_compile "$LINENO"; then :
31847 glibcxx_cv_func_atan2l_use=yes
31848 else
31849 glibcxx_cv_func_atan2l_use=no
31851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31852 ac_ext=c
31853 ac_cpp='$CPP $CPPFLAGS'
31854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31863 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31865 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31866 for ac_func in atan2l
31867 do :
31868 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31869 if test "x$ac_cv_func_atan2l" = x""yes; then :
31870 cat >>confdefs.h <<_ACEOF
31871 #define HAVE_ATAN2L 1
31872 _ACEOF
31875 done
31877 else
31879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31880 $as_echo_n "checking for _atan2l declaration... " >&6; }
31881 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31882 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31883 $as_echo_n "(cached) " >&6
31884 else
31887 ac_ext=cpp
31888 ac_cpp='$CXXCPP $CPPFLAGS'
31889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31894 /* end confdefs.h. */
31895 #include <math.h>
31897 main ()
31899 _atan2l(0, 0);
31901 return 0;
31903 _ACEOF
31904 if ac_fn_cxx_try_compile "$LINENO"; then :
31905 glibcxx_cv_func__atan2l_use=yes
31906 else
31907 glibcxx_cv_func__atan2l_use=no
31909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31910 ac_ext=c
31911 ac_cpp='$CPP $CPPFLAGS'
31912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31921 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31923 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31924 for ac_func in _atan2l
31925 do :
31926 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31927 if test "x$ac_cv_func__atan2l" = x""yes; then :
31928 cat >>confdefs.h <<_ACEOF
31929 #define HAVE__ATAN2L 1
31930 _ACEOF
31933 done
31942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31943 $as_echo_n "checking for expl declaration... " >&6; }
31944 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31945 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31946 $as_echo_n "(cached) " >&6
31947 else
31950 ac_ext=cpp
31951 ac_cpp='$CXXCPP $CPPFLAGS'
31952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31957 /* end confdefs.h. */
31958 #include <math.h>
31959 #ifdef HAVE_IEEEFP_H
31960 #include <ieeefp.h>
31961 #endif
31964 main ()
31966 expl(0);
31968 return 0;
31970 _ACEOF
31971 if ac_fn_cxx_try_compile "$LINENO"; then :
31972 glibcxx_cv_func_expl_use=yes
31973 else
31974 glibcxx_cv_func_expl_use=no
31976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31977 ac_ext=c
31978 ac_cpp='$CPP $CPPFLAGS'
31979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31988 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31990 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31991 for ac_func in expl
31992 do :
31993 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31994 if test "x$ac_cv_func_expl" = x""yes; then :
31995 cat >>confdefs.h <<_ACEOF
31996 #define HAVE_EXPL 1
31997 _ACEOF
32000 done
32002 else
32004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32005 $as_echo_n "checking for _expl declaration... " >&6; }
32006 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32007 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32008 $as_echo_n "(cached) " >&6
32009 else
32012 ac_ext=cpp
32013 ac_cpp='$CXXCPP $CPPFLAGS'
32014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32019 /* end confdefs.h. */
32020 #include <math.h>
32021 #ifdef HAVE_IEEEFP_H
32022 #include <ieeefp.h>
32023 #endif
32026 main ()
32028 _expl(0);
32030 return 0;
32032 _ACEOF
32033 if ac_fn_cxx_try_compile "$LINENO"; then :
32034 glibcxx_cv_func__expl_use=yes
32035 else
32036 glibcxx_cv_func__expl_use=no
32038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32039 ac_ext=c
32040 ac_cpp='$CPP $CPPFLAGS'
32041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32050 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32052 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32053 for ac_func in _expl
32054 do :
32055 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32056 if test "x$ac_cv_func__expl" = x""yes; then :
32057 cat >>confdefs.h <<_ACEOF
32058 #define HAVE__EXPL 1
32059 _ACEOF
32062 done
32071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32072 $as_echo_n "checking for fabsl declaration... " >&6; }
32073 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32074 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32075 $as_echo_n "(cached) " >&6
32076 else
32079 ac_ext=cpp
32080 ac_cpp='$CXXCPP $CPPFLAGS'
32081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32086 /* end confdefs.h. */
32087 #include <math.h>
32088 #ifdef HAVE_IEEEFP_H
32089 #include <ieeefp.h>
32090 #endif
32093 main ()
32095 fabsl(0);
32097 return 0;
32099 _ACEOF
32100 if ac_fn_cxx_try_compile "$LINENO"; then :
32101 glibcxx_cv_func_fabsl_use=yes
32102 else
32103 glibcxx_cv_func_fabsl_use=no
32105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32106 ac_ext=c
32107 ac_cpp='$CPP $CPPFLAGS'
32108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32117 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32119 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32120 for ac_func in fabsl
32121 do :
32122 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32123 if test "x$ac_cv_func_fabsl" = x""yes; then :
32124 cat >>confdefs.h <<_ACEOF
32125 #define HAVE_FABSL 1
32126 _ACEOF
32129 done
32131 else
32133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32134 $as_echo_n "checking for _fabsl declaration... " >&6; }
32135 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32136 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32137 $as_echo_n "(cached) " >&6
32138 else
32141 ac_ext=cpp
32142 ac_cpp='$CXXCPP $CPPFLAGS'
32143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32148 /* end confdefs.h. */
32149 #include <math.h>
32150 #ifdef HAVE_IEEEFP_H
32151 #include <ieeefp.h>
32152 #endif
32155 main ()
32157 _fabsl(0);
32159 return 0;
32161 _ACEOF
32162 if ac_fn_cxx_try_compile "$LINENO"; then :
32163 glibcxx_cv_func__fabsl_use=yes
32164 else
32165 glibcxx_cv_func__fabsl_use=no
32167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32168 ac_ext=c
32169 ac_cpp='$CPP $CPPFLAGS'
32170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32179 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32181 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32182 for ac_func in _fabsl
32183 do :
32184 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32185 if test "x$ac_cv_func__fabsl" = x""yes; then :
32186 cat >>confdefs.h <<_ACEOF
32187 #define HAVE__FABSL 1
32188 _ACEOF
32191 done
32200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32201 $as_echo_n "checking for fmodl declaration... " >&6; }
32202 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32203 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32204 $as_echo_n "(cached) " >&6
32205 else
32208 ac_ext=cpp
32209 ac_cpp='$CXXCPP $CPPFLAGS'
32210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32215 /* end confdefs.h. */
32216 #include <math.h>
32218 main ()
32220 fmodl(0, 0);
32222 return 0;
32224 _ACEOF
32225 if ac_fn_cxx_try_compile "$LINENO"; then :
32226 glibcxx_cv_func_fmodl_use=yes
32227 else
32228 glibcxx_cv_func_fmodl_use=no
32230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32231 ac_ext=c
32232 ac_cpp='$CPP $CPPFLAGS'
32233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32242 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32244 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32245 for ac_func in fmodl
32246 do :
32247 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32248 if test "x$ac_cv_func_fmodl" = x""yes; then :
32249 cat >>confdefs.h <<_ACEOF
32250 #define HAVE_FMODL 1
32251 _ACEOF
32254 done
32256 else
32258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32259 $as_echo_n "checking for _fmodl declaration... " >&6; }
32260 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32261 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32262 $as_echo_n "(cached) " >&6
32263 else
32266 ac_ext=cpp
32267 ac_cpp='$CXXCPP $CPPFLAGS'
32268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32273 /* end confdefs.h. */
32274 #include <math.h>
32276 main ()
32278 _fmodl(0, 0);
32280 return 0;
32282 _ACEOF
32283 if ac_fn_cxx_try_compile "$LINENO"; then :
32284 glibcxx_cv_func__fmodl_use=yes
32285 else
32286 glibcxx_cv_func__fmodl_use=no
32288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32289 ac_ext=c
32290 ac_cpp='$CPP $CPPFLAGS'
32291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32300 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32302 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32303 for ac_func in _fmodl
32304 do :
32305 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32306 if test "x$ac_cv_func__fmodl" = x""yes; then :
32307 cat >>confdefs.h <<_ACEOF
32308 #define HAVE__FMODL 1
32309 _ACEOF
32312 done
32321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32322 $as_echo_n "checking for frexpl declaration... " >&6; }
32323 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32324 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32325 $as_echo_n "(cached) " >&6
32326 else
32329 ac_ext=cpp
32330 ac_cpp='$CXXCPP $CPPFLAGS'
32331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32336 /* end confdefs.h. */
32337 #include <math.h>
32339 main ()
32341 frexpl(0, 0);
32343 return 0;
32345 _ACEOF
32346 if ac_fn_cxx_try_compile "$LINENO"; then :
32347 glibcxx_cv_func_frexpl_use=yes
32348 else
32349 glibcxx_cv_func_frexpl_use=no
32351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32352 ac_ext=c
32353 ac_cpp='$CPP $CPPFLAGS'
32354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32363 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32365 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32366 for ac_func in frexpl
32367 do :
32368 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32369 if test "x$ac_cv_func_frexpl" = x""yes; then :
32370 cat >>confdefs.h <<_ACEOF
32371 #define HAVE_FREXPL 1
32372 _ACEOF
32375 done
32377 else
32379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32380 $as_echo_n "checking for _frexpl declaration... " >&6; }
32381 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32382 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32383 $as_echo_n "(cached) " >&6
32384 else
32387 ac_ext=cpp
32388 ac_cpp='$CXXCPP $CPPFLAGS'
32389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32394 /* end confdefs.h. */
32395 #include <math.h>
32397 main ()
32399 _frexpl(0, 0);
32401 return 0;
32403 _ACEOF
32404 if ac_fn_cxx_try_compile "$LINENO"; then :
32405 glibcxx_cv_func__frexpl_use=yes
32406 else
32407 glibcxx_cv_func__frexpl_use=no
32409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32410 ac_ext=c
32411 ac_cpp='$CPP $CPPFLAGS'
32412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32421 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32423 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32424 for ac_func in _frexpl
32425 do :
32426 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32427 if test "x$ac_cv_func__frexpl" = x""yes; then :
32428 cat >>confdefs.h <<_ACEOF
32429 #define HAVE__FREXPL 1
32430 _ACEOF
32433 done
32442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32443 $as_echo_n "checking for hypotl declaration... " >&6; }
32444 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32445 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32446 $as_echo_n "(cached) " >&6
32447 else
32450 ac_ext=cpp
32451 ac_cpp='$CXXCPP $CPPFLAGS'
32452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32457 /* end confdefs.h. */
32458 #include <math.h>
32460 main ()
32462 hypotl(0, 0);
32464 return 0;
32466 _ACEOF
32467 if ac_fn_cxx_try_compile "$LINENO"; then :
32468 glibcxx_cv_func_hypotl_use=yes
32469 else
32470 glibcxx_cv_func_hypotl_use=no
32472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32473 ac_ext=c
32474 ac_cpp='$CPP $CPPFLAGS'
32475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32484 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32486 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32487 for ac_func in hypotl
32488 do :
32489 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32490 if test "x$ac_cv_func_hypotl" = x""yes; then :
32491 cat >>confdefs.h <<_ACEOF
32492 #define HAVE_HYPOTL 1
32493 _ACEOF
32496 done
32498 else
32500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32501 $as_echo_n "checking for _hypotl declaration... " >&6; }
32502 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32503 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32504 $as_echo_n "(cached) " >&6
32505 else
32508 ac_ext=cpp
32509 ac_cpp='$CXXCPP $CPPFLAGS'
32510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32515 /* end confdefs.h. */
32516 #include <math.h>
32518 main ()
32520 _hypotl(0, 0);
32522 return 0;
32524 _ACEOF
32525 if ac_fn_cxx_try_compile "$LINENO"; then :
32526 glibcxx_cv_func__hypotl_use=yes
32527 else
32528 glibcxx_cv_func__hypotl_use=no
32530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32531 ac_ext=c
32532 ac_cpp='$CPP $CPPFLAGS'
32533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32542 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32544 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32545 for ac_func in _hypotl
32546 do :
32547 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32548 if test "x$ac_cv_func__hypotl" = x""yes; then :
32549 cat >>confdefs.h <<_ACEOF
32550 #define HAVE__HYPOTL 1
32551 _ACEOF
32554 done
32563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32564 $as_echo_n "checking for ldexpl declaration... " >&6; }
32565 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32566 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32567 $as_echo_n "(cached) " >&6
32568 else
32571 ac_ext=cpp
32572 ac_cpp='$CXXCPP $CPPFLAGS'
32573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32578 /* end confdefs.h. */
32579 #include <math.h>
32581 main ()
32583 ldexpl(0, 0);
32585 return 0;
32587 _ACEOF
32588 if ac_fn_cxx_try_compile "$LINENO"; then :
32589 glibcxx_cv_func_ldexpl_use=yes
32590 else
32591 glibcxx_cv_func_ldexpl_use=no
32593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32594 ac_ext=c
32595 ac_cpp='$CPP $CPPFLAGS'
32596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32605 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32607 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32608 for ac_func in ldexpl
32609 do :
32610 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32611 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32612 cat >>confdefs.h <<_ACEOF
32613 #define HAVE_LDEXPL 1
32614 _ACEOF
32617 done
32619 else
32621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32622 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32623 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32624 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32625 $as_echo_n "(cached) " >&6
32626 else
32629 ac_ext=cpp
32630 ac_cpp='$CXXCPP $CPPFLAGS'
32631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32636 /* end confdefs.h. */
32637 #include <math.h>
32639 main ()
32641 _ldexpl(0, 0);
32643 return 0;
32645 _ACEOF
32646 if ac_fn_cxx_try_compile "$LINENO"; then :
32647 glibcxx_cv_func__ldexpl_use=yes
32648 else
32649 glibcxx_cv_func__ldexpl_use=no
32651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32652 ac_ext=c
32653 ac_cpp='$CPP $CPPFLAGS'
32654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32663 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32665 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32666 for ac_func in _ldexpl
32667 do :
32668 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32669 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32670 cat >>confdefs.h <<_ACEOF
32671 #define HAVE__LDEXPL 1
32672 _ACEOF
32675 done
32684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32685 $as_echo_n "checking for logl declaration... " >&6; }
32686 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32687 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32688 $as_echo_n "(cached) " >&6
32689 else
32692 ac_ext=cpp
32693 ac_cpp='$CXXCPP $CPPFLAGS'
32694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32699 /* end confdefs.h. */
32700 #include <math.h>
32701 #ifdef HAVE_IEEEFP_H
32702 #include <ieeefp.h>
32703 #endif
32706 main ()
32708 logl(0);
32710 return 0;
32712 _ACEOF
32713 if ac_fn_cxx_try_compile "$LINENO"; then :
32714 glibcxx_cv_func_logl_use=yes
32715 else
32716 glibcxx_cv_func_logl_use=no
32718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32719 ac_ext=c
32720 ac_cpp='$CPP $CPPFLAGS'
32721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32730 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32732 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32733 for ac_func in logl
32734 do :
32735 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32736 if test "x$ac_cv_func_logl" = x""yes; then :
32737 cat >>confdefs.h <<_ACEOF
32738 #define HAVE_LOGL 1
32739 _ACEOF
32742 done
32744 else
32746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32747 $as_echo_n "checking for _logl declaration... " >&6; }
32748 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32749 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32750 $as_echo_n "(cached) " >&6
32751 else
32754 ac_ext=cpp
32755 ac_cpp='$CXXCPP $CPPFLAGS'
32756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32761 /* end confdefs.h. */
32762 #include <math.h>
32763 #ifdef HAVE_IEEEFP_H
32764 #include <ieeefp.h>
32765 #endif
32768 main ()
32770 _logl(0);
32772 return 0;
32774 _ACEOF
32775 if ac_fn_cxx_try_compile "$LINENO"; then :
32776 glibcxx_cv_func__logl_use=yes
32777 else
32778 glibcxx_cv_func__logl_use=no
32780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32781 ac_ext=c
32782 ac_cpp='$CPP $CPPFLAGS'
32783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32792 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32794 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32795 for ac_func in _logl
32796 do :
32797 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32798 if test "x$ac_cv_func__logl" = x""yes; then :
32799 cat >>confdefs.h <<_ACEOF
32800 #define HAVE__LOGL 1
32801 _ACEOF
32804 done
32813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32814 $as_echo_n "checking for log10l declaration... " >&6; }
32815 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32816 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32817 $as_echo_n "(cached) " >&6
32818 else
32821 ac_ext=cpp
32822 ac_cpp='$CXXCPP $CPPFLAGS'
32823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32828 /* end confdefs.h. */
32829 #include <math.h>
32830 #ifdef HAVE_IEEEFP_H
32831 #include <ieeefp.h>
32832 #endif
32835 main ()
32837 log10l(0);
32839 return 0;
32841 _ACEOF
32842 if ac_fn_cxx_try_compile "$LINENO"; then :
32843 glibcxx_cv_func_log10l_use=yes
32844 else
32845 glibcxx_cv_func_log10l_use=no
32847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32848 ac_ext=c
32849 ac_cpp='$CPP $CPPFLAGS'
32850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32859 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32861 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32862 for ac_func in log10l
32863 do :
32864 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32865 if test "x$ac_cv_func_log10l" = x""yes; then :
32866 cat >>confdefs.h <<_ACEOF
32867 #define HAVE_LOG10L 1
32868 _ACEOF
32871 done
32873 else
32875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32876 $as_echo_n "checking for _log10l declaration... " >&6; }
32877 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32878 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32879 $as_echo_n "(cached) " >&6
32880 else
32883 ac_ext=cpp
32884 ac_cpp='$CXXCPP $CPPFLAGS'
32885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32890 /* end confdefs.h. */
32891 #include <math.h>
32892 #ifdef HAVE_IEEEFP_H
32893 #include <ieeefp.h>
32894 #endif
32897 main ()
32899 _log10l(0);
32901 return 0;
32903 _ACEOF
32904 if ac_fn_cxx_try_compile "$LINENO"; then :
32905 glibcxx_cv_func__log10l_use=yes
32906 else
32907 glibcxx_cv_func__log10l_use=no
32909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32910 ac_ext=c
32911 ac_cpp='$CPP $CPPFLAGS'
32912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32921 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32923 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32924 for ac_func in _log10l
32925 do :
32926 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32927 if test "x$ac_cv_func__log10l" = x""yes; then :
32928 cat >>confdefs.h <<_ACEOF
32929 #define HAVE__LOG10L 1
32930 _ACEOF
32933 done
32942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32943 $as_echo_n "checking for modfl declaration... " >&6; }
32944 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32945 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32946 $as_echo_n "(cached) " >&6
32947 else
32950 ac_ext=cpp
32951 ac_cpp='$CXXCPP $CPPFLAGS'
32952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32957 /* end confdefs.h. */
32958 #include <math.h>
32960 main ()
32962 modfl(0, 0);
32964 return 0;
32966 _ACEOF
32967 if ac_fn_cxx_try_compile "$LINENO"; then :
32968 glibcxx_cv_func_modfl_use=yes
32969 else
32970 glibcxx_cv_func_modfl_use=no
32972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32973 ac_ext=c
32974 ac_cpp='$CPP $CPPFLAGS'
32975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32984 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32986 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32987 for ac_func in modfl
32988 do :
32989 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32990 if test "x$ac_cv_func_modfl" = x""yes; then :
32991 cat >>confdefs.h <<_ACEOF
32992 #define HAVE_MODFL 1
32993 _ACEOF
32996 done
32998 else
33000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33001 $as_echo_n "checking for _modfl declaration... " >&6; }
33002 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33003 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33004 $as_echo_n "(cached) " >&6
33005 else
33008 ac_ext=cpp
33009 ac_cpp='$CXXCPP $CPPFLAGS'
33010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33015 /* end confdefs.h. */
33016 #include <math.h>
33018 main ()
33020 _modfl(0, 0);
33022 return 0;
33024 _ACEOF
33025 if ac_fn_cxx_try_compile "$LINENO"; then :
33026 glibcxx_cv_func__modfl_use=yes
33027 else
33028 glibcxx_cv_func__modfl_use=no
33030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33031 ac_ext=c
33032 ac_cpp='$CPP $CPPFLAGS'
33033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33042 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33044 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33045 for ac_func in _modfl
33046 do :
33047 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33048 if test "x$ac_cv_func__modfl" = x""yes; then :
33049 cat >>confdefs.h <<_ACEOF
33050 #define HAVE__MODFL 1
33051 _ACEOF
33054 done
33063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33064 $as_echo_n "checking for powl declaration... " >&6; }
33065 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33066 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33067 $as_echo_n "(cached) " >&6
33068 else
33071 ac_ext=cpp
33072 ac_cpp='$CXXCPP $CPPFLAGS'
33073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33078 /* end confdefs.h. */
33079 #include <math.h>
33081 main ()
33083 powl(0, 0);
33085 return 0;
33087 _ACEOF
33088 if ac_fn_cxx_try_compile "$LINENO"; then :
33089 glibcxx_cv_func_powl_use=yes
33090 else
33091 glibcxx_cv_func_powl_use=no
33093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33094 ac_ext=c
33095 ac_cpp='$CPP $CPPFLAGS'
33096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33105 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33107 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33108 for ac_func in powl
33109 do :
33110 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33111 if test "x$ac_cv_func_powl" = x""yes; then :
33112 cat >>confdefs.h <<_ACEOF
33113 #define HAVE_POWL 1
33114 _ACEOF
33117 done
33119 else
33121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33122 $as_echo_n "checking for _powl declaration... " >&6; }
33123 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33124 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33125 $as_echo_n "(cached) " >&6
33126 else
33129 ac_ext=cpp
33130 ac_cpp='$CXXCPP $CPPFLAGS'
33131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33136 /* end confdefs.h. */
33137 #include <math.h>
33139 main ()
33141 _powl(0, 0);
33143 return 0;
33145 _ACEOF
33146 if ac_fn_cxx_try_compile "$LINENO"; then :
33147 glibcxx_cv_func__powl_use=yes
33148 else
33149 glibcxx_cv_func__powl_use=no
33151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33152 ac_ext=c
33153 ac_cpp='$CPP $CPPFLAGS'
33154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33163 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33165 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33166 for ac_func in _powl
33167 do :
33168 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33169 if test "x$ac_cv_func__powl" = x""yes; then :
33170 cat >>confdefs.h <<_ACEOF
33171 #define HAVE__POWL 1
33172 _ACEOF
33175 done
33184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33185 $as_echo_n "checking for sqrtl declaration... " >&6; }
33186 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33187 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33188 $as_echo_n "(cached) " >&6
33189 else
33192 ac_ext=cpp
33193 ac_cpp='$CXXCPP $CPPFLAGS'
33194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33199 /* end confdefs.h. */
33200 #include <math.h>
33201 #ifdef HAVE_IEEEFP_H
33202 #include <ieeefp.h>
33203 #endif
33206 main ()
33208 sqrtl(0);
33210 return 0;
33212 _ACEOF
33213 if ac_fn_cxx_try_compile "$LINENO"; then :
33214 glibcxx_cv_func_sqrtl_use=yes
33215 else
33216 glibcxx_cv_func_sqrtl_use=no
33218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33219 ac_ext=c
33220 ac_cpp='$CPP $CPPFLAGS'
33221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33230 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33232 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33233 for ac_func in sqrtl
33234 do :
33235 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33236 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33237 cat >>confdefs.h <<_ACEOF
33238 #define HAVE_SQRTL 1
33239 _ACEOF
33242 done
33244 else
33246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33247 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33248 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33249 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33250 $as_echo_n "(cached) " >&6
33251 else
33254 ac_ext=cpp
33255 ac_cpp='$CXXCPP $CPPFLAGS'
33256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33261 /* end confdefs.h. */
33262 #include <math.h>
33263 #ifdef HAVE_IEEEFP_H
33264 #include <ieeefp.h>
33265 #endif
33268 main ()
33270 _sqrtl(0);
33272 return 0;
33274 _ACEOF
33275 if ac_fn_cxx_try_compile "$LINENO"; then :
33276 glibcxx_cv_func__sqrtl_use=yes
33277 else
33278 glibcxx_cv_func__sqrtl_use=no
33280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33281 ac_ext=c
33282 ac_cpp='$CPP $CPPFLAGS'
33283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33292 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33294 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33295 for ac_func in _sqrtl
33296 do :
33297 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33298 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33299 cat >>confdefs.h <<_ACEOF
33300 #define HAVE__SQRTL 1
33301 _ACEOF
33304 done
33313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33314 $as_echo_n "checking for sincosl declaration... " >&6; }
33315 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33316 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33317 $as_echo_n "(cached) " >&6
33318 else
33321 ac_ext=cpp
33322 ac_cpp='$CXXCPP $CPPFLAGS'
33323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33328 /* end confdefs.h. */
33329 #include <math.h>
33331 main ()
33333 sincosl(0, 0, 0);
33335 return 0;
33337 _ACEOF
33338 if ac_fn_cxx_try_compile "$LINENO"; then :
33339 glibcxx_cv_func_sincosl_use=yes
33340 else
33341 glibcxx_cv_func_sincosl_use=no
33343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33344 ac_ext=c
33345 ac_cpp='$CPP $CPPFLAGS'
33346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33355 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33357 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33358 for ac_func in sincosl
33359 do :
33360 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33361 if test "x$ac_cv_func_sincosl" = x""yes; then :
33362 cat >>confdefs.h <<_ACEOF
33363 #define HAVE_SINCOSL 1
33364 _ACEOF
33367 done
33369 else
33371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33372 $as_echo_n "checking for _sincosl declaration... " >&6; }
33373 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33374 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33375 $as_echo_n "(cached) " >&6
33376 else
33379 ac_ext=cpp
33380 ac_cpp='$CXXCPP $CPPFLAGS'
33381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33386 /* end confdefs.h. */
33387 #include <math.h>
33389 main ()
33391 _sincosl(0, 0, 0);
33393 return 0;
33395 _ACEOF
33396 if ac_fn_cxx_try_compile "$LINENO"; then :
33397 glibcxx_cv_func__sincosl_use=yes
33398 else
33399 glibcxx_cv_func__sincosl_use=no
33401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33402 ac_ext=c
33403 ac_cpp='$CPP $CPPFLAGS'
33404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33413 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33415 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33416 for ac_func in _sincosl
33417 do :
33418 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33419 if test "x$ac_cv_func__sincosl" = x""yes; then :
33420 cat >>confdefs.h <<_ACEOF
33421 #define HAVE__SINCOSL 1
33422 _ACEOF
33425 done
33434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33435 $as_echo_n "checking for finitel declaration... " >&6; }
33436 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33437 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33438 $as_echo_n "(cached) " >&6
33439 else
33442 ac_ext=cpp
33443 ac_cpp='$CXXCPP $CPPFLAGS'
33444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33449 /* end confdefs.h. */
33450 #include <math.h>
33451 #ifdef HAVE_IEEEFP_H
33452 #include <ieeefp.h>
33453 #endif
33456 main ()
33458 finitel(0);
33460 return 0;
33462 _ACEOF
33463 if ac_fn_cxx_try_compile "$LINENO"; then :
33464 glibcxx_cv_func_finitel_use=yes
33465 else
33466 glibcxx_cv_func_finitel_use=no
33468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33469 ac_ext=c
33470 ac_cpp='$CPP $CPPFLAGS'
33471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33480 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33482 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33483 for ac_func in finitel
33484 do :
33485 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33486 if test "x$ac_cv_func_finitel" = x""yes; then :
33487 cat >>confdefs.h <<_ACEOF
33488 #define HAVE_FINITEL 1
33489 _ACEOF
33492 done
33494 else
33496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33497 $as_echo_n "checking for _finitel declaration... " >&6; }
33498 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33499 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33500 $as_echo_n "(cached) " >&6
33501 else
33504 ac_ext=cpp
33505 ac_cpp='$CXXCPP $CPPFLAGS'
33506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33511 /* end confdefs.h. */
33512 #include <math.h>
33513 #ifdef HAVE_IEEEFP_H
33514 #include <ieeefp.h>
33515 #endif
33518 main ()
33520 _finitel(0);
33522 return 0;
33524 _ACEOF
33525 if ac_fn_cxx_try_compile "$LINENO"; then :
33526 glibcxx_cv_func__finitel_use=yes
33527 else
33528 glibcxx_cv_func__finitel_use=no
33530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33531 ac_ext=c
33532 ac_cpp='$CPP $CPPFLAGS'
33533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33542 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33544 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33545 for ac_func in _finitel
33546 do :
33547 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33548 if test "x$ac_cv_func__finitel" = x""yes; then :
33549 cat >>confdefs.h <<_ACEOF
33550 #define HAVE__FINITEL 1
33551 _ACEOF
33554 done
33562 LIBS="$ac_save_LIBS"
33563 CXXFLAGS="$ac_save_CXXFLAGS"
33566 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33567 ac_save_CXXFLAGS="$CXXFLAGS"
33568 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33572 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33573 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33574 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33575 $as_echo_n "(cached) " >&6
33576 else
33579 ac_ext=cpp
33580 ac_cpp='$CXXCPP $CPPFLAGS'
33581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33586 /* end confdefs.h. */
33587 #include <stdlib.h>
33589 main ()
33591 at_quick_exit(0);
33593 return 0;
33595 _ACEOF
33596 if ac_fn_cxx_try_compile "$LINENO"; then :
33597 glibcxx_cv_func_at_quick_exit_use=yes
33598 else
33599 glibcxx_cv_func_at_quick_exit_use=no
33601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33602 ac_ext=c
33603 ac_cpp='$CPP $CPPFLAGS'
33604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33613 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33614 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33615 for ac_func in at_quick_exit
33616 do :
33617 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33618 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33619 cat >>confdefs.h <<_ACEOF
33620 #define HAVE_AT_QUICK_EXIT 1
33621 _ACEOF
33624 done
33629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33630 $as_echo_n "checking for quick_exit declaration... " >&6; }
33631 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33632 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33633 $as_echo_n "(cached) " >&6
33634 else
33637 ac_ext=cpp
33638 ac_cpp='$CXXCPP $CPPFLAGS'
33639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33644 /* end confdefs.h. */
33645 #include <stdlib.h>
33647 main ()
33649 quick_exit(0);
33651 return 0;
33653 _ACEOF
33654 if ac_fn_cxx_try_compile "$LINENO"; then :
33655 glibcxx_cv_func_quick_exit_use=yes
33656 else
33657 glibcxx_cv_func_quick_exit_use=no
33659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33660 ac_ext=c
33661 ac_cpp='$CPP $CPPFLAGS'
33662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33671 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33672 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33673 for ac_func in quick_exit
33674 do :
33675 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33676 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33677 cat >>confdefs.h <<_ACEOF
33678 #define HAVE_QUICK_EXIT 1
33679 _ACEOF
33682 done
33687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33688 $as_echo_n "checking for strtold declaration... " >&6; }
33689 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33690 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33691 $as_echo_n "(cached) " >&6
33692 else
33695 ac_ext=cpp
33696 ac_cpp='$CXXCPP $CPPFLAGS'
33697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33702 /* end confdefs.h. */
33703 #include <stdlib.h>
33705 main ()
33707 strtold(0, 0);
33709 return 0;
33711 _ACEOF
33712 if ac_fn_cxx_try_compile "$LINENO"; then :
33713 glibcxx_cv_func_strtold_use=yes
33714 else
33715 glibcxx_cv_func_strtold_use=no
33717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33718 ac_ext=c
33719 ac_cpp='$CPP $CPPFLAGS'
33720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33729 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33730 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33731 for ac_func in strtold
33732 do :
33733 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33734 if test "x$ac_cv_func_strtold" = x""yes; then :
33735 cat >>confdefs.h <<_ACEOF
33736 #define HAVE_STRTOLD 1
33737 _ACEOF
33740 done
33747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33748 $as_echo_n "checking for strtof declaration... " >&6; }
33749 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33750 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33751 $as_echo_n "(cached) " >&6
33752 else
33755 ac_ext=cpp
33756 ac_cpp='$CXXCPP $CPPFLAGS'
33757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33762 /* end confdefs.h. */
33763 #include <stdlib.h>
33765 main ()
33767 strtof(0, 0);
33769 return 0;
33771 _ACEOF
33772 if ac_fn_cxx_try_compile "$LINENO"; then :
33773 glibcxx_cv_func_strtof_use=yes
33774 else
33775 glibcxx_cv_func_strtof_use=no
33777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33778 ac_ext=c
33779 ac_cpp='$CPP $CPPFLAGS'
33780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33789 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33790 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33791 for ac_func in strtof
33792 do :
33793 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33794 if test "x$ac_cv_func_strtof" = x""yes; then :
33795 cat >>confdefs.h <<_ACEOF
33796 #define HAVE_STRTOF 1
33797 _ACEOF
33800 done
33807 CXXFLAGS="$ac_save_CXXFLAGS"
33810 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33812 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33814 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33816 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33819 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33821 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33823 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33827 spu-*-elf*)
33829 # All these tests are for C++; save the language and the compiler flags.
33830 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33831 # found in GLIBCXX_CONFIGURE.
33833 ac_ext=cpp
33834 ac_cpp='$CXXCPP $CPPFLAGS'
33835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33839 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33840 ac_save_CXXFLAGS="$CXXFLAGS"
33842 # Check for maintainer-mode bits.
33843 if test x"$USE_MAINTAINER_MODE" = xno; then
33844 WERROR=''
33845 else
33846 WERROR='-Werror'
33849 # Check for -ffunction-sections -fdata-sections
33850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33851 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33852 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33854 /* end confdefs.h. */
33855 int foo; void bar() { };
33857 main ()
33861 return 0;
33863 _ACEOF
33864 if ac_fn_cxx_try_compile "$LINENO"; then :
33865 ac_fdsections=yes
33866 else
33867 ac_fdsections=no
33869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33870 if test "$ac_test_CXXFLAGS" = set; then
33871 CXXFLAGS="$ac_save_CXXFLAGS"
33872 else
33873 # this is the suspicious part
33874 CXXFLAGS=''
33876 if test x"$ac_fdsections" = x"yes"; then
33877 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33880 $as_echo "$ac_fdsections" >&6; }
33882 ac_ext=c
33883 ac_cpp='$CPP $CPPFLAGS'
33884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33892 # If we're not using GNU ld, then there's no point in even trying these
33893 # tests. Check for that first. We should have already tested for gld
33894 # by now (in libtool), but require it now just to be safe...
33895 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33896 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33900 # The name set by libtool depends on the version of libtool. Shame on us
33901 # for depending on an impl detail, but c'est la vie. Older versions used
33902 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33903 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33904 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33905 # set (hence we're using an older libtool), then set it.
33906 if test x${with_gnu_ld+set} != xset; then
33907 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33908 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33909 with_gnu_ld=no
33910 else
33911 with_gnu_ld=$ac_cv_prog_gnu_ld
33915 # Start by getting the version number. I think the libtool test already
33916 # does some of this, but throws away the result.
33917 glibcxx_ld_is_gold=no
33918 if test x"$with_gnu_ld" = x"yes"; then
33919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33920 $as_echo_n "checking for ld version... " >&6; }
33922 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33923 glibcxx_ld_is_gold=yes
33925 ldver=`$LD --version 2>/dev/null |
33926 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'`
33928 glibcxx_gnu_ld_version=`echo $ldver | \
33929 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33931 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33934 # Set --gc-sections.
33935 glibcxx_have_gc_sections=no
33936 if test "$glibcxx_ld_is_gold" = "yes"; then
33937 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33938 glibcxx_have_gc_sections=yes
33940 else
33941 glibcxx_gcsections_min_ld=21602
33942 if test x"$with_gnu_ld" = x"yes" &&
33943 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33944 glibcxx_have_gc_sections=yes
33947 if test "$glibcxx_have_gc_sections" = "yes"; then
33948 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33949 # NB: This flag only works reliably after 2.16.1. Configure tests
33950 # for this are difficult, so hard wire a value that should work.
33952 ac_test_CFLAGS="${CFLAGS+set}"
33953 ac_save_CFLAGS="$CFLAGS"
33954 CFLAGS='-Wl,--gc-sections'
33956 # Check for -Wl,--gc-sections
33957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33958 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33959 if test x$gcc_no_link = xyes; then
33960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33963 /* end confdefs.h. */
33964 int one(void) { return 1; }
33965 int two(void) { return 2; }
33968 main ()
33970 two();
33972 return 0;
33974 _ACEOF
33975 if ac_fn_c_try_link "$LINENO"; then :
33976 ac_gcsections=yes
33977 else
33978 ac_gcsections=no
33980 rm -f core conftest.err conftest.$ac_objext \
33981 conftest$ac_exeext conftest.$ac_ext
33982 if test "$ac_gcsections" = "yes"; then
33983 rm -f conftest.c
33984 touch conftest.c
33985 if $CC -c conftest.c; then
33986 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33987 grep "Warning: gc-sections option ignored" > /dev/null; then
33988 ac_gcsections=no
33991 rm -f conftest.c conftest.o conftest
33993 if test "$ac_gcsections" = "yes"; then
33994 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33997 $as_echo "$ac_gcsections" >&6; }
33999 if test "$ac_test_CFLAGS" = set; then
34000 CFLAGS="$ac_save_CFLAGS"
34001 else
34002 # this is the suspicious part
34003 CFLAGS=''
34007 # Set -z,relro.
34008 # Note this is only for shared objects.
34009 ac_ld_relro=no
34010 if test x"$with_gnu_ld" = x"yes"; then
34011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34012 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34013 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34014 if test -n "$cxx_z_relo"; then
34015 OPT_LDFLAGS="-Wl,-z,relro"
34016 ac_ld_relro=yes
34018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34019 $as_echo "$ac_ld_relro" >&6; }
34022 # Set linker optimization flags.
34023 if test x"$with_gnu_ld" = x"yes"; then
34024 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34031 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34032 ac_save_CXXFLAGS="$CXXFLAGS"
34033 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34036 $as_echo_n "checking for sin in -lm... " >&6; }
34037 if test "${ac_cv_lib_m_sin+set}" = set; then :
34038 $as_echo_n "(cached) " >&6
34039 else
34040 ac_check_lib_save_LIBS=$LIBS
34041 LIBS="-lm $LIBS"
34042 if test x$gcc_no_link = xyes; then
34043 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34046 /* end confdefs.h. */
34048 /* Override any GCC internal prototype to avoid an error.
34049 Use char because int might match the return type of a GCC
34050 builtin and then its argument prototype would still apply. */
34051 #ifdef __cplusplus
34052 extern "C"
34053 #endif
34054 char sin ();
34056 main ()
34058 return sin ();
34060 return 0;
34062 _ACEOF
34063 if ac_fn_c_try_link "$LINENO"; then :
34064 ac_cv_lib_m_sin=yes
34065 else
34066 ac_cv_lib_m_sin=no
34068 rm -f core conftest.err conftest.$ac_objext \
34069 conftest$ac_exeext conftest.$ac_ext
34070 LIBS=$ac_check_lib_save_LIBS
34072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34073 $as_echo "$ac_cv_lib_m_sin" >&6; }
34074 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34075 libm="-lm"
34078 ac_save_LIBS="$LIBS"
34079 LIBS="$LIBS $libm"
34083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34084 $as_echo_n "checking for isinf declaration... " >&6; }
34085 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34086 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34087 $as_echo_n "(cached) " >&6
34088 else
34091 ac_ext=cpp
34092 ac_cpp='$CXXCPP $CPPFLAGS'
34093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34098 /* end confdefs.h. */
34099 #include <math.h>
34100 #ifdef HAVE_IEEEFP_H
34101 #include <ieeefp.h>
34102 #endif
34105 main ()
34107 isinf(0);
34109 return 0;
34111 _ACEOF
34112 if ac_fn_cxx_try_compile "$LINENO"; then :
34113 glibcxx_cv_func_isinf_use=yes
34114 else
34115 glibcxx_cv_func_isinf_use=no
34117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34118 ac_ext=c
34119 ac_cpp='$CPP $CPPFLAGS'
34120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34129 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34131 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34132 for ac_func in isinf
34133 do :
34134 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34135 if test "x$ac_cv_func_isinf" = x""yes; then :
34136 cat >>confdefs.h <<_ACEOF
34137 #define HAVE_ISINF 1
34138 _ACEOF
34141 done
34143 else
34145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34146 $as_echo_n "checking for _isinf declaration... " >&6; }
34147 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34148 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34149 $as_echo_n "(cached) " >&6
34150 else
34153 ac_ext=cpp
34154 ac_cpp='$CXXCPP $CPPFLAGS'
34155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34160 /* end confdefs.h. */
34161 #include <math.h>
34162 #ifdef HAVE_IEEEFP_H
34163 #include <ieeefp.h>
34164 #endif
34167 main ()
34169 _isinf(0);
34171 return 0;
34173 _ACEOF
34174 if ac_fn_cxx_try_compile "$LINENO"; then :
34175 glibcxx_cv_func__isinf_use=yes
34176 else
34177 glibcxx_cv_func__isinf_use=no
34179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34180 ac_ext=c
34181 ac_cpp='$CPP $CPPFLAGS'
34182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34191 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34193 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34194 for ac_func in _isinf
34195 do :
34196 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34197 if test "x$ac_cv_func__isinf" = x""yes; then :
34198 cat >>confdefs.h <<_ACEOF
34199 #define HAVE__ISINF 1
34200 _ACEOF
34203 done
34212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34213 $as_echo_n "checking for isnan declaration... " >&6; }
34214 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34215 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34216 $as_echo_n "(cached) " >&6
34217 else
34220 ac_ext=cpp
34221 ac_cpp='$CXXCPP $CPPFLAGS'
34222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34227 /* end confdefs.h. */
34228 #include <math.h>
34229 #ifdef HAVE_IEEEFP_H
34230 #include <ieeefp.h>
34231 #endif
34234 main ()
34236 isnan(0);
34238 return 0;
34240 _ACEOF
34241 if ac_fn_cxx_try_compile "$LINENO"; then :
34242 glibcxx_cv_func_isnan_use=yes
34243 else
34244 glibcxx_cv_func_isnan_use=no
34246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34247 ac_ext=c
34248 ac_cpp='$CPP $CPPFLAGS'
34249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34258 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34260 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34261 for ac_func in isnan
34262 do :
34263 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34264 if test "x$ac_cv_func_isnan" = x""yes; then :
34265 cat >>confdefs.h <<_ACEOF
34266 #define HAVE_ISNAN 1
34267 _ACEOF
34270 done
34272 else
34274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34275 $as_echo_n "checking for _isnan declaration... " >&6; }
34276 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34277 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34278 $as_echo_n "(cached) " >&6
34279 else
34282 ac_ext=cpp
34283 ac_cpp='$CXXCPP $CPPFLAGS'
34284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34289 /* end confdefs.h. */
34290 #include <math.h>
34291 #ifdef HAVE_IEEEFP_H
34292 #include <ieeefp.h>
34293 #endif
34296 main ()
34298 _isnan(0);
34300 return 0;
34302 _ACEOF
34303 if ac_fn_cxx_try_compile "$LINENO"; then :
34304 glibcxx_cv_func__isnan_use=yes
34305 else
34306 glibcxx_cv_func__isnan_use=no
34308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34309 ac_ext=c
34310 ac_cpp='$CPP $CPPFLAGS'
34311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34320 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34322 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34323 for ac_func in _isnan
34324 do :
34325 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34326 if test "x$ac_cv_func__isnan" = x""yes; then :
34327 cat >>confdefs.h <<_ACEOF
34328 #define HAVE__ISNAN 1
34329 _ACEOF
34332 done
34341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34342 $as_echo_n "checking for finite declaration... " >&6; }
34343 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34344 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34345 $as_echo_n "(cached) " >&6
34346 else
34349 ac_ext=cpp
34350 ac_cpp='$CXXCPP $CPPFLAGS'
34351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34356 /* end confdefs.h. */
34357 #include <math.h>
34358 #ifdef HAVE_IEEEFP_H
34359 #include <ieeefp.h>
34360 #endif
34363 main ()
34365 finite(0);
34367 return 0;
34369 _ACEOF
34370 if ac_fn_cxx_try_compile "$LINENO"; then :
34371 glibcxx_cv_func_finite_use=yes
34372 else
34373 glibcxx_cv_func_finite_use=no
34375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34376 ac_ext=c
34377 ac_cpp='$CPP $CPPFLAGS'
34378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34387 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34389 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34390 for ac_func in finite
34391 do :
34392 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34393 if test "x$ac_cv_func_finite" = x""yes; then :
34394 cat >>confdefs.h <<_ACEOF
34395 #define HAVE_FINITE 1
34396 _ACEOF
34399 done
34401 else
34403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34404 $as_echo_n "checking for _finite declaration... " >&6; }
34405 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34406 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34407 $as_echo_n "(cached) " >&6
34408 else
34411 ac_ext=cpp
34412 ac_cpp='$CXXCPP $CPPFLAGS'
34413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34418 /* end confdefs.h. */
34419 #include <math.h>
34420 #ifdef HAVE_IEEEFP_H
34421 #include <ieeefp.h>
34422 #endif
34425 main ()
34427 _finite(0);
34429 return 0;
34431 _ACEOF
34432 if ac_fn_cxx_try_compile "$LINENO"; then :
34433 glibcxx_cv_func__finite_use=yes
34434 else
34435 glibcxx_cv_func__finite_use=no
34437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34438 ac_ext=c
34439 ac_cpp='$CPP $CPPFLAGS'
34440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34449 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34451 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34452 for ac_func in _finite
34453 do :
34454 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34455 if test "x$ac_cv_func__finite" = x""yes; then :
34456 cat >>confdefs.h <<_ACEOF
34457 #define HAVE__FINITE 1
34458 _ACEOF
34461 done
34470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34471 $as_echo_n "checking for sincos declaration... " >&6; }
34472 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34473 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34474 $as_echo_n "(cached) " >&6
34475 else
34478 ac_ext=cpp
34479 ac_cpp='$CXXCPP $CPPFLAGS'
34480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34485 /* end confdefs.h. */
34486 #include <math.h>
34488 main ()
34490 sincos(0, 0, 0);
34492 return 0;
34494 _ACEOF
34495 if ac_fn_cxx_try_compile "$LINENO"; then :
34496 glibcxx_cv_func_sincos_use=yes
34497 else
34498 glibcxx_cv_func_sincos_use=no
34500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34501 ac_ext=c
34502 ac_cpp='$CPP $CPPFLAGS'
34503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34512 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34514 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34515 for ac_func in sincos
34516 do :
34517 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34518 if test "x$ac_cv_func_sincos" = x""yes; then :
34519 cat >>confdefs.h <<_ACEOF
34520 #define HAVE_SINCOS 1
34521 _ACEOF
34524 done
34526 else
34528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34529 $as_echo_n "checking for _sincos declaration... " >&6; }
34530 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34531 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34532 $as_echo_n "(cached) " >&6
34533 else
34536 ac_ext=cpp
34537 ac_cpp='$CXXCPP $CPPFLAGS'
34538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34543 /* end confdefs.h. */
34544 #include <math.h>
34546 main ()
34548 _sincos(0, 0, 0);
34550 return 0;
34552 _ACEOF
34553 if ac_fn_cxx_try_compile "$LINENO"; then :
34554 glibcxx_cv_func__sincos_use=yes
34555 else
34556 glibcxx_cv_func__sincos_use=no
34558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34559 ac_ext=c
34560 ac_cpp='$CPP $CPPFLAGS'
34561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34570 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34572 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34573 for ac_func in _sincos
34574 do :
34575 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34576 if test "x$ac_cv_func__sincos" = x""yes; then :
34577 cat >>confdefs.h <<_ACEOF
34578 #define HAVE__SINCOS 1
34579 _ACEOF
34582 done
34591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34592 $as_echo_n "checking for fpclass declaration... " >&6; }
34593 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34594 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34595 $as_echo_n "(cached) " >&6
34596 else
34599 ac_ext=cpp
34600 ac_cpp='$CXXCPP $CPPFLAGS'
34601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34606 /* end confdefs.h. */
34607 #include <math.h>
34608 #ifdef HAVE_IEEEFP_H
34609 #include <ieeefp.h>
34610 #endif
34613 main ()
34615 fpclass(0);
34617 return 0;
34619 _ACEOF
34620 if ac_fn_cxx_try_compile "$LINENO"; then :
34621 glibcxx_cv_func_fpclass_use=yes
34622 else
34623 glibcxx_cv_func_fpclass_use=no
34625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34626 ac_ext=c
34627 ac_cpp='$CPP $CPPFLAGS'
34628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34637 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34639 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34640 for ac_func in fpclass
34641 do :
34642 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34643 if test "x$ac_cv_func_fpclass" = x""yes; then :
34644 cat >>confdefs.h <<_ACEOF
34645 #define HAVE_FPCLASS 1
34646 _ACEOF
34649 done
34651 else
34653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34654 $as_echo_n "checking for _fpclass declaration... " >&6; }
34655 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34656 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34657 $as_echo_n "(cached) " >&6
34658 else
34661 ac_ext=cpp
34662 ac_cpp='$CXXCPP $CPPFLAGS'
34663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34668 /* end confdefs.h. */
34669 #include <math.h>
34670 #ifdef HAVE_IEEEFP_H
34671 #include <ieeefp.h>
34672 #endif
34675 main ()
34677 _fpclass(0);
34679 return 0;
34681 _ACEOF
34682 if ac_fn_cxx_try_compile "$LINENO"; then :
34683 glibcxx_cv_func__fpclass_use=yes
34684 else
34685 glibcxx_cv_func__fpclass_use=no
34687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34688 ac_ext=c
34689 ac_cpp='$CPP $CPPFLAGS'
34690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34699 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34701 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34702 for ac_func in _fpclass
34703 do :
34704 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34705 if test "x$ac_cv_func__fpclass" = x""yes; then :
34706 cat >>confdefs.h <<_ACEOF
34707 #define HAVE__FPCLASS 1
34708 _ACEOF
34711 done
34720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34721 $as_echo_n "checking for qfpclass declaration... " >&6; }
34722 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34723 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34724 $as_echo_n "(cached) " >&6
34725 else
34728 ac_ext=cpp
34729 ac_cpp='$CXXCPP $CPPFLAGS'
34730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34735 /* end confdefs.h. */
34736 #include <math.h>
34737 #ifdef HAVE_IEEEFP_H
34738 #include <ieeefp.h>
34739 #endif
34742 main ()
34744 qfpclass(0);
34746 return 0;
34748 _ACEOF
34749 if ac_fn_cxx_try_compile "$LINENO"; then :
34750 glibcxx_cv_func_qfpclass_use=yes
34751 else
34752 glibcxx_cv_func_qfpclass_use=no
34754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34755 ac_ext=c
34756 ac_cpp='$CPP $CPPFLAGS'
34757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34766 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34768 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34769 for ac_func in qfpclass
34770 do :
34771 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34772 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34773 cat >>confdefs.h <<_ACEOF
34774 #define HAVE_QFPCLASS 1
34775 _ACEOF
34778 done
34780 else
34782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34783 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34784 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34785 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34786 $as_echo_n "(cached) " >&6
34787 else
34790 ac_ext=cpp
34791 ac_cpp='$CXXCPP $CPPFLAGS'
34792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34797 /* end confdefs.h. */
34798 #include <math.h>
34799 #ifdef HAVE_IEEEFP_H
34800 #include <ieeefp.h>
34801 #endif
34804 main ()
34806 _qfpclass(0);
34808 return 0;
34810 _ACEOF
34811 if ac_fn_cxx_try_compile "$LINENO"; then :
34812 glibcxx_cv_func__qfpclass_use=yes
34813 else
34814 glibcxx_cv_func__qfpclass_use=no
34816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34817 ac_ext=c
34818 ac_cpp='$CPP $CPPFLAGS'
34819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34828 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34830 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34831 for ac_func in _qfpclass
34832 do :
34833 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34834 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34835 cat >>confdefs.h <<_ACEOF
34836 #define HAVE__QFPCLASS 1
34837 _ACEOF
34840 done
34849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34850 $as_echo_n "checking for hypot declaration... " >&6; }
34851 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34852 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34853 $as_echo_n "(cached) " >&6
34854 else
34857 ac_ext=cpp
34858 ac_cpp='$CXXCPP $CPPFLAGS'
34859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34864 /* end confdefs.h. */
34865 #include <math.h>
34867 main ()
34869 hypot(0, 0);
34871 return 0;
34873 _ACEOF
34874 if ac_fn_cxx_try_compile "$LINENO"; then :
34875 glibcxx_cv_func_hypot_use=yes
34876 else
34877 glibcxx_cv_func_hypot_use=no
34879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34880 ac_ext=c
34881 ac_cpp='$CPP $CPPFLAGS'
34882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34891 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34893 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34894 for ac_func in hypot
34895 do :
34896 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34897 if test "x$ac_cv_func_hypot" = x""yes; then :
34898 cat >>confdefs.h <<_ACEOF
34899 #define HAVE_HYPOT 1
34900 _ACEOF
34903 done
34905 else
34907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34908 $as_echo_n "checking for _hypot declaration... " >&6; }
34909 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34910 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34911 $as_echo_n "(cached) " >&6
34912 else
34915 ac_ext=cpp
34916 ac_cpp='$CXXCPP $CPPFLAGS'
34917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34922 /* end confdefs.h. */
34923 #include <math.h>
34925 main ()
34927 _hypot(0, 0);
34929 return 0;
34931 _ACEOF
34932 if ac_fn_cxx_try_compile "$LINENO"; then :
34933 glibcxx_cv_func__hypot_use=yes
34934 else
34935 glibcxx_cv_func__hypot_use=no
34937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34938 ac_ext=c
34939 ac_cpp='$CPP $CPPFLAGS'
34940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34949 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34951 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34952 for ac_func in _hypot
34953 do :
34954 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34955 if test "x$ac_cv_func__hypot" = x""yes; then :
34956 cat >>confdefs.h <<_ACEOF
34957 #define HAVE__HYPOT 1
34958 _ACEOF
34961 done
34970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34971 $as_echo_n "checking for float trig functions... " >&6; }
34972 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34973 $as_echo_n "(cached) " >&6
34974 else
34977 ac_ext=cpp
34978 ac_cpp='$CXXCPP $CPPFLAGS'
34979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34984 /* end confdefs.h. */
34985 #include <math.h>
34987 main ()
34989 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34991 return 0;
34993 _ACEOF
34994 if ac_fn_cxx_try_compile "$LINENO"; then :
34995 glibcxx_cv_func_float_trig_use=yes
34996 else
34997 glibcxx_cv_func_float_trig_use=no
34999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35000 ac_ext=c
35001 ac_cpp='$CPP $CPPFLAGS'
35002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35009 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35010 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35011 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35012 do :
35013 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35014 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35015 eval as_val=\$$as_ac_var
35016 if test "x$as_val" = x""yes; then :
35017 cat >>confdefs.h <<_ACEOF
35018 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35019 _ACEOF
35022 done
35024 else
35025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35026 $as_echo_n "checking for _float trig functions... " >&6; }
35027 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35028 $as_echo_n "(cached) " >&6
35029 else
35032 ac_ext=cpp
35033 ac_cpp='$CXXCPP $CPPFLAGS'
35034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35039 /* end confdefs.h. */
35040 #include <math.h>
35042 main ()
35044 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35046 return 0;
35048 _ACEOF
35049 if ac_fn_cxx_try_compile "$LINENO"; then :
35050 glibcxx_cv_func__float_trig_use=yes
35051 else
35052 glibcxx_cv_func__float_trig_use=no
35054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35055 ac_ext=c
35056 ac_cpp='$CPP $CPPFLAGS'
35057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35064 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35065 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35066 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35067 do :
35068 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35069 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35070 eval as_val=\$$as_ac_var
35071 if test "x$as_val" = x""yes; then :
35072 cat >>confdefs.h <<_ACEOF
35073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35074 _ACEOF
35077 done
35086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35087 $as_echo_n "checking for float round functions... " >&6; }
35088 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35089 $as_echo_n "(cached) " >&6
35090 else
35093 ac_ext=cpp
35094 ac_cpp='$CXXCPP $CPPFLAGS'
35095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35100 /* end confdefs.h. */
35101 #include <math.h>
35103 main ()
35105 ceilf (0); floorf (0);
35107 return 0;
35109 _ACEOF
35110 if ac_fn_cxx_try_compile "$LINENO"; then :
35111 glibcxx_cv_func_float_round_use=yes
35112 else
35113 glibcxx_cv_func_float_round_use=no
35115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35116 ac_ext=c
35117 ac_cpp='$CPP $CPPFLAGS'
35118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35125 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35126 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35127 for ac_func in ceilf floorf
35128 do :
35129 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35130 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35131 eval as_val=\$$as_ac_var
35132 if test "x$as_val" = x""yes; then :
35133 cat >>confdefs.h <<_ACEOF
35134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35135 _ACEOF
35138 done
35140 else
35141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35142 $as_echo_n "checking for _float round functions... " >&6; }
35143 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35144 $as_echo_n "(cached) " >&6
35145 else
35148 ac_ext=cpp
35149 ac_cpp='$CXXCPP $CPPFLAGS'
35150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35155 /* end confdefs.h. */
35156 #include <math.h>
35158 main ()
35160 _ceilf (0); _floorf (0);
35162 return 0;
35164 _ACEOF
35165 if ac_fn_cxx_try_compile "$LINENO"; then :
35166 glibcxx_cv_func__float_round_use=yes
35167 else
35168 glibcxx_cv_func__float_round_use=no
35170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35171 ac_ext=c
35172 ac_cpp='$CPP $CPPFLAGS'
35173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35180 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35181 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35182 for ac_func in _ceilf _floorf
35183 do :
35184 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35185 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35186 eval as_val=\$$as_ac_var
35187 if test "x$as_val" = x""yes; then :
35188 cat >>confdefs.h <<_ACEOF
35189 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35190 _ACEOF
35193 done
35203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35204 $as_echo_n "checking for expf declaration... " >&6; }
35205 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35206 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35207 $as_echo_n "(cached) " >&6
35208 else
35211 ac_ext=cpp
35212 ac_cpp='$CXXCPP $CPPFLAGS'
35213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35218 /* end confdefs.h. */
35219 #include <math.h>
35220 #ifdef HAVE_IEEEFP_H
35221 #include <ieeefp.h>
35222 #endif
35225 main ()
35227 expf(0);
35229 return 0;
35231 _ACEOF
35232 if ac_fn_cxx_try_compile "$LINENO"; then :
35233 glibcxx_cv_func_expf_use=yes
35234 else
35235 glibcxx_cv_func_expf_use=no
35237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35238 ac_ext=c
35239 ac_cpp='$CPP $CPPFLAGS'
35240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35249 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35251 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35252 for ac_func in expf
35253 do :
35254 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35255 if test "x$ac_cv_func_expf" = x""yes; then :
35256 cat >>confdefs.h <<_ACEOF
35257 #define HAVE_EXPF 1
35258 _ACEOF
35261 done
35263 else
35265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35266 $as_echo_n "checking for _expf declaration... " >&6; }
35267 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35268 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35269 $as_echo_n "(cached) " >&6
35270 else
35273 ac_ext=cpp
35274 ac_cpp='$CXXCPP $CPPFLAGS'
35275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35280 /* end confdefs.h. */
35281 #include <math.h>
35282 #ifdef HAVE_IEEEFP_H
35283 #include <ieeefp.h>
35284 #endif
35287 main ()
35289 _expf(0);
35291 return 0;
35293 _ACEOF
35294 if ac_fn_cxx_try_compile "$LINENO"; then :
35295 glibcxx_cv_func__expf_use=yes
35296 else
35297 glibcxx_cv_func__expf_use=no
35299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35300 ac_ext=c
35301 ac_cpp='$CPP $CPPFLAGS'
35302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35311 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35313 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35314 for ac_func in _expf
35315 do :
35316 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35317 if test "x$ac_cv_func__expf" = x""yes; then :
35318 cat >>confdefs.h <<_ACEOF
35319 #define HAVE__EXPF 1
35320 _ACEOF
35323 done
35332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35333 $as_echo_n "checking for isnanf declaration... " >&6; }
35334 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35335 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35336 $as_echo_n "(cached) " >&6
35337 else
35340 ac_ext=cpp
35341 ac_cpp='$CXXCPP $CPPFLAGS'
35342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35347 /* end confdefs.h. */
35348 #include <math.h>
35349 #ifdef HAVE_IEEEFP_H
35350 #include <ieeefp.h>
35351 #endif
35354 main ()
35356 isnanf(0);
35358 return 0;
35360 _ACEOF
35361 if ac_fn_cxx_try_compile "$LINENO"; then :
35362 glibcxx_cv_func_isnanf_use=yes
35363 else
35364 glibcxx_cv_func_isnanf_use=no
35366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35367 ac_ext=c
35368 ac_cpp='$CPP $CPPFLAGS'
35369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35378 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35380 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35381 for ac_func in isnanf
35382 do :
35383 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35384 if test "x$ac_cv_func_isnanf" = x""yes; then :
35385 cat >>confdefs.h <<_ACEOF
35386 #define HAVE_ISNANF 1
35387 _ACEOF
35390 done
35392 else
35394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35395 $as_echo_n "checking for _isnanf declaration... " >&6; }
35396 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35397 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35398 $as_echo_n "(cached) " >&6
35399 else
35402 ac_ext=cpp
35403 ac_cpp='$CXXCPP $CPPFLAGS'
35404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35409 /* end confdefs.h. */
35410 #include <math.h>
35411 #ifdef HAVE_IEEEFP_H
35412 #include <ieeefp.h>
35413 #endif
35416 main ()
35418 _isnanf(0);
35420 return 0;
35422 _ACEOF
35423 if ac_fn_cxx_try_compile "$LINENO"; then :
35424 glibcxx_cv_func__isnanf_use=yes
35425 else
35426 glibcxx_cv_func__isnanf_use=no
35428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35429 ac_ext=c
35430 ac_cpp='$CPP $CPPFLAGS'
35431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35440 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35442 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35443 for ac_func in _isnanf
35444 do :
35445 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35446 if test "x$ac_cv_func__isnanf" = x""yes; then :
35447 cat >>confdefs.h <<_ACEOF
35448 #define HAVE__ISNANF 1
35449 _ACEOF
35452 done
35461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35462 $as_echo_n "checking for isinff declaration... " >&6; }
35463 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35464 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35465 $as_echo_n "(cached) " >&6
35466 else
35469 ac_ext=cpp
35470 ac_cpp='$CXXCPP $CPPFLAGS'
35471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35476 /* end confdefs.h. */
35477 #include <math.h>
35478 #ifdef HAVE_IEEEFP_H
35479 #include <ieeefp.h>
35480 #endif
35483 main ()
35485 isinff(0);
35487 return 0;
35489 _ACEOF
35490 if ac_fn_cxx_try_compile "$LINENO"; then :
35491 glibcxx_cv_func_isinff_use=yes
35492 else
35493 glibcxx_cv_func_isinff_use=no
35495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35496 ac_ext=c
35497 ac_cpp='$CPP $CPPFLAGS'
35498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35507 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35509 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35510 for ac_func in isinff
35511 do :
35512 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35513 if test "x$ac_cv_func_isinff" = x""yes; then :
35514 cat >>confdefs.h <<_ACEOF
35515 #define HAVE_ISINFF 1
35516 _ACEOF
35519 done
35521 else
35523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35524 $as_echo_n "checking for _isinff declaration... " >&6; }
35525 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35526 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35527 $as_echo_n "(cached) " >&6
35528 else
35531 ac_ext=cpp
35532 ac_cpp='$CXXCPP $CPPFLAGS'
35533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35538 /* end confdefs.h. */
35539 #include <math.h>
35540 #ifdef HAVE_IEEEFP_H
35541 #include <ieeefp.h>
35542 #endif
35545 main ()
35547 _isinff(0);
35549 return 0;
35551 _ACEOF
35552 if ac_fn_cxx_try_compile "$LINENO"; then :
35553 glibcxx_cv_func__isinff_use=yes
35554 else
35555 glibcxx_cv_func__isinff_use=no
35557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35558 ac_ext=c
35559 ac_cpp='$CPP $CPPFLAGS'
35560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35569 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35571 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35572 for ac_func in _isinff
35573 do :
35574 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35575 if test "x$ac_cv_func__isinff" = x""yes; then :
35576 cat >>confdefs.h <<_ACEOF
35577 #define HAVE__ISINFF 1
35578 _ACEOF
35581 done
35590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35591 $as_echo_n "checking for atan2f declaration... " >&6; }
35592 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35593 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35594 $as_echo_n "(cached) " >&6
35595 else
35598 ac_ext=cpp
35599 ac_cpp='$CXXCPP $CPPFLAGS'
35600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35605 /* end confdefs.h. */
35606 #include <math.h>
35608 main ()
35610 atan2f(0, 0);
35612 return 0;
35614 _ACEOF
35615 if ac_fn_cxx_try_compile "$LINENO"; then :
35616 glibcxx_cv_func_atan2f_use=yes
35617 else
35618 glibcxx_cv_func_atan2f_use=no
35620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35621 ac_ext=c
35622 ac_cpp='$CPP $CPPFLAGS'
35623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35632 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35634 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35635 for ac_func in atan2f
35636 do :
35637 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35638 if test "x$ac_cv_func_atan2f" = x""yes; then :
35639 cat >>confdefs.h <<_ACEOF
35640 #define HAVE_ATAN2F 1
35641 _ACEOF
35644 done
35646 else
35648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35649 $as_echo_n "checking for _atan2f declaration... " >&6; }
35650 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35651 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35652 $as_echo_n "(cached) " >&6
35653 else
35656 ac_ext=cpp
35657 ac_cpp='$CXXCPP $CPPFLAGS'
35658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35663 /* end confdefs.h. */
35664 #include <math.h>
35666 main ()
35668 _atan2f(0, 0);
35670 return 0;
35672 _ACEOF
35673 if ac_fn_cxx_try_compile "$LINENO"; then :
35674 glibcxx_cv_func__atan2f_use=yes
35675 else
35676 glibcxx_cv_func__atan2f_use=no
35678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35679 ac_ext=c
35680 ac_cpp='$CPP $CPPFLAGS'
35681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35690 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35692 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35693 for ac_func in _atan2f
35694 do :
35695 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35696 if test "x$ac_cv_func__atan2f" = x""yes; then :
35697 cat >>confdefs.h <<_ACEOF
35698 #define HAVE__ATAN2F 1
35699 _ACEOF
35702 done
35711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35712 $as_echo_n "checking for fabsf declaration... " >&6; }
35713 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35714 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35715 $as_echo_n "(cached) " >&6
35716 else
35719 ac_ext=cpp
35720 ac_cpp='$CXXCPP $CPPFLAGS'
35721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35726 /* end confdefs.h. */
35727 #include <math.h>
35728 #ifdef HAVE_IEEEFP_H
35729 #include <ieeefp.h>
35730 #endif
35733 main ()
35735 fabsf(0);
35737 return 0;
35739 _ACEOF
35740 if ac_fn_cxx_try_compile "$LINENO"; then :
35741 glibcxx_cv_func_fabsf_use=yes
35742 else
35743 glibcxx_cv_func_fabsf_use=no
35745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35746 ac_ext=c
35747 ac_cpp='$CPP $CPPFLAGS'
35748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35757 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35759 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35760 for ac_func in fabsf
35761 do :
35762 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35763 if test "x$ac_cv_func_fabsf" = x""yes; then :
35764 cat >>confdefs.h <<_ACEOF
35765 #define HAVE_FABSF 1
35766 _ACEOF
35769 done
35771 else
35773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35774 $as_echo_n "checking for _fabsf declaration... " >&6; }
35775 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35776 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35777 $as_echo_n "(cached) " >&6
35778 else
35781 ac_ext=cpp
35782 ac_cpp='$CXXCPP $CPPFLAGS'
35783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35788 /* end confdefs.h. */
35789 #include <math.h>
35790 #ifdef HAVE_IEEEFP_H
35791 #include <ieeefp.h>
35792 #endif
35795 main ()
35797 _fabsf(0);
35799 return 0;
35801 _ACEOF
35802 if ac_fn_cxx_try_compile "$LINENO"; then :
35803 glibcxx_cv_func__fabsf_use=yes
35804 else
35805 glibcxx_cv_func__fabsf_use=no
35807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35808 ac_ext=c
35809 ac_cpp='$CPP $CPPFLAGS'
35810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35819 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35821 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35822 for ac_func in _fabsf
35823 do :
35824 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35825 if test "x$ac_cv_func__fabsf" = x""yes; then :
35826 cat >>confdefs.h <<_ACEOF
35827 #define HAVE__FABSF 1
35828 _ACEOF
35831 done
35840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35841 $as_echo_n "checking for fmodf declaration... " >&6; }
35842 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35843 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35844 $as_echo_n "(cached) " >&6
35845 else
35848 ac_ext=cpp
35849 ac_cpp='$CXXCPP $CPPFLAGS'
35850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35855 /* end confdefs.h. */
35856 #include <math.h>
35858 main ()
35860 fmodf(0, 0);
35862 return 0;
35864 _ACEOF
35865 if ac_fn_cxx_try_compile "$LINENO"; then :
35866 glibcxx_cv_func_fmodf_use=yes
35867 else
35868 glibcxx_cv_func_fmodf_use=no
35870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35871 ac_ext=c
35872 ac_cpp='$CPP $CPPFLAGS'
35873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35882 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35884 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35885 for ac_func in fmodf
35886 do :
35887 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35888 if test "x$ac_cv_func_fmodf" = x""yes; then :
35889 cat >>confdefs.h <<_ACEOF
35890 #define HAVE_FMODF 1
35891 _ACEOF
35894 done
35896 else
35898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35899 $as_echo_n "checking for _fmodf declaration... " >&6; }
35900 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35901 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35902 $as_echo_n "(cached) " >&6
35903 else
35906 ac_ext=cpp
35907 ac_cpp='$CXXCPP $CPPFLAGS'
35908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35913 /* end confdefs.h. */
35914 #include <math.h>
35916 main ()
35918 _fmodf(0, 0);
35920 return 0;
35922 _ACEOF
35923 if ac_fn_cxx_try_compile "$LINENO"; then :
35924 glibcxx_cv_func__fmodf_use=yes
35925 else
35926 glibcxx_cv_func__fmodf_use=no
35928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35929 ac_ext=c
35930 ac_cpp='$CPP $CPPFLAGS'
35931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35940 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35942 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35943 for ac_func in _fmodf
35944 do :
35945 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35946 if test "x$ac_cv_func__fmodf" = x""yes; then :
35947 cat >>confdefs.h <<_ACEOF
35948 #define HAVE__FMODF 1
35949 _ACEOF
35952 done
35961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35962 $as_echo_n "checking for frexpf declaration... " >&6; }
35963 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35964 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35965 $as_echo_n "(cached) " >&6
35966 else
35969 ac_ext=cpp
35970 ac_cpp='$CXXCPP $CPPFLAGS'
35971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35976 /* end confdefs.h. */
35977 #include <math.h>
35979 main ()
35981 frexpf(0, 0);
35983 return 0;
35985 _ACEOF
35986 if ac_fn_cxx_try_compile "$LINENO"; then :
35987 glibcxx_cv_func_frexpf_use=yes
35988 else
35989 glibcxx_cv_func_frexpf_use=no
35991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35992 ac_ext=c
35993 ac_cpp='$CPP $CPPFLAGS'
35994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36003 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36005 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36006 for ac_func in frexpf
36007 do :
36008 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36009 if test "x$ac_cv_func_frexpf" = x""yes; then :
36010 cat >>confdefs.h <<_ACEOF
36011 #define HAVE_FREXPF 1
36012 _ACEOF
36015 done
36017 else
36019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36020 $as_echo_n "checking for _frexpf declaration... " >&6; }
36021 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36022 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36023 $as_echo_n "(cached) " >&6
36024 else
36027 ac_ext=cpp
36028 ac_cpp='$CXXCPP $CPPFLAGS'
36029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36034 /* end confdefs.h. */
36035 #include <math.h>
36037 main ()
36039 _frexpf(0, 0);
36041 return 0;
36043 _ACEOF
36044 if ac_fn_cxx_try_compile "$LINENO"; then :
36045 glibcxx_cv_func__frexpf_use=yes
36046 else
36047 glibcxx_cv_func__frexpf_use=no
36049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36050 ac_ext=c
36051 ac_cpp='$CPP $CPPFLAGS'
36052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36061 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36063 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36064 for ac_func in _frexpf
36065 do :
36066 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36067 if test "x$ac_cv_func__frexpf" = x""yes; then :
36068 cat >>confdefs.h <<_ACEOF
36069 #define HAVE__FREXPF 1
36070 _ACEOF
36073 done
36082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36083 $as_echo_n "checking for hypotf declaration... " >&6; }
36084 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36085 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36086 $as_echo_n "(cached) " >&6
36087 else
36090 ac_ext=cpp
36091 ac_cpp='$CXXCPP $CPPFLAGS'
36092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36097 /* end confdefs.h. */
36098 #include <math.h>
36100 main ()
36102 hypotf(0, 0);
36104 return 0;
36106 _ACEOF
36107 if ac_fn_cxx_try_compile "$LINENO"; then :
36108 glibcxx_cv_func_hypotf_use=yes
36109 else
36110 glibcxx_cv_func_hypotf_use=no
36112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36113 ac_ext=c
36114 ac_cpp='$CPP $CPPFLAGS'
36115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36124 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36126 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36127 for ac_func in hypotf
36128 do :
36129 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36130 if test "x$ac_cv_func_hypotf" = x""yes; then :
36131 cat >>confdefs.h <<_ACEOF
36132 #define HAVE_HYPOTF 1
36133 _ACEOF
36136 done
36138 else
36140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36141 $as_echo_n "checking for _hypotf declaration... " >&6; }
36142 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36143 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36144 $as_echo_n "(cached) " >&6
36145 else
36148 ac_ext=cpp
36149 ac_cpp='$CXXCPP $CPPFLAGS'
36150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36155 /* end confdefs.h. */
36156 #include <math.h>
36158 main ()
36160 _hypotf(0, 0);
36162 return 0;
36164 _ACEOF
36165 if ac_fn_cxx_try_compile "$LINENO"; then :
36166 glibcxx_cv_func__hypotf_use=yes
36167 else
36168 glibcxx_cv_func__hypotf_use=no
36170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36171 ac_ext=c
36172 ac_cpp='$CPP $CPPFLAGS'
36173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36182 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36184 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36185 for ac_func in _hypotf
36186 do :
36187 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36188 if test "x$ac_cv_func__hypotf" = x""yes; then :
36189 cat >>confdefs.h <<_ACEOF
36190 #define HAVE__HYPOTF 1
36191 _ACEOF
36194 done
36203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36204 $as_echo_n "checking for ldexpf declaration... " >&6; }
36205 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36206 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36207 $as_echo_n "(cached) " >&6
36208 else
36211 ac_ext=cpp
36212 ac_cpp='$CXXCPP $CPPFLAGS'
36213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36218 /* end confdefs.h. */
36219 #include <math.h>
36221 main ()
36223 ldexpf(0, 0);
36225 return 0;
36227 _ACEOF
36228 if ac_fn_cxx_try_compile "$LINENO"; then :
36229 glibcxx_cv_func_ldexpf_use=yes
36230 else
36231 glibcxx_cv_func_ldexpf_use=no
36233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36234 ac_ext=c
36235 ac_cpp='$CPP $CPPFLAGS'
36236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36245 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36247 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36248 for ac_func in ldexpf
36249 do :
36250 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36251 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36252 cat >>confdefs.h <<_ACEOF
36253 #define HAVE_LDEXPF 1
36254 _ACEOF
36257 done
36259 else
36261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36262 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36263 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36264 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36265 $as_echo_n "(cached) " >&6
36266 else
36269 ac_ext=cpp
36270 ac_cpp='$CXXCPP $CPPFLAGS'
36271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36276 /* end confdefs.h. */
36277 #include <math.h>
36279 main ()
36281 _ldexpf(0, 0);
36283 return 0;
36285 _ACEOF
36286 if ac_fn_cxx_try_compile "$LINENO"; then :
36287 glibcxx_cv_func__ldexpf_use=yes
36288 else
36289 glibcxx_cv_func__ldexpf_use=no
36291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36292 ac_ext=c
36293 ac_cpp='$CPP $CPPFLAGS'
36294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36303 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36305 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36306 for ac_func in _ldexpf
36307 do :
36308 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36309 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36310 cat >>confdefs.h <<_ACEOF
36311 #define HAVE__LDEXPF 1
36312 _ACEOF
36315 done
36324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36325 $as_echo_n "checking for logf declaration... " >&6; }
36326 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36327 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36328 $as_echo_n "(cached) " >&6
36329 else
36332 ac_ext=cpp
36333 ac_cpp='$CXXCPP $CPPFLAGS'
36334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36339 /* end confdefs.h. */
36340 #include <math.h>
36341 #ifdef HAVE_IEEEFP_H
36342 #include <ieeefp.h>
36343 #endif
36346 main ()
36348 logf(0);
36350 return 0;
36352 _ACEOF
36353 if ac_fn_cxx_try_compile "$LINENO"; then :
36354 glibcxx_cv_func_logf_use=yes
36355 else
36356 glibcxx_cv_func_logf_use=no
36358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36359 ac_ext=c
36360 ac_cpp='$CPP $CPPFLAGS'
36361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36370 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36372 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36373 for ac_func in logf
36374 do :
36375 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36376 if test "x$ac_cv_func_logf" = x""yes; then :
36377 cat >>confdefs.h <<_ACEOF
36378 #define HAVE_LOGF 1
36379 _ACEOF
36382 done
36384 else
36386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36387 $as_echo_n "checking for _logf declaration... " >&6; }
36388 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36389 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36390 $as_echo_n "(cached) " >&6
36391 else
36394 ac_ext=cpp
36395 ac_cpp='$CXXCPP $CPPFLAGS'
36396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36401 /* end confdefs.h. */
36402 #include <math.h>
36403 #ifdef HAVE_IEEEFP_H
36404 #include <ieeefp.h>
36405 #endif
36408 main ()
36410 _logf(0);
36412 return 0;
36414 _ACEOF
36415 if ac_fn_cxx_try_compile "$LINENO"; then :
36416 glibcxx_cv_func__logf_use=yes
36417 else
36418 glibcxx_cv_func__logf_use=no
36420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36421 ac_ext=c
36422 ac_cpp='$CPP $CPPFLAGS'
36423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36432 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36434 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36435 for ac_func in _logf
36436 do :
36437 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36438 if test "x$ac_cv_func__logf" = x""yes; then :
36439 cat >>confdefs.h <<_ACEOF
36440 #define HAVE__LOGF 1
36441 _ACEOF
36444 done
36453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36454 $as_echo_n "checking for log10f declaration... " >&6; }
36455 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36456 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36457 $as_echo_n "(cached) " >&6
36458 else
36461 ac_ext=cpp
36462 ac_cpp='$CXXCPP $CPPFLAGS'
36463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36468 /* end confdefs.h. */
36469 #include <math.h>
36470 #ifdef HAVE_IEEEFP_H
36471 #include <ieeefp.h>
36472 #endif
36475 main ()
36477 log10f(0);
36479 return 0;
36481 _ACEOF
36482 if ac_fn_cxx_try_compile "$LINENO"; then :
36483 glibcxx_cv_func_log10f_use=yes
36484 else
36485 glibcxx_cv_func_log10f_use=no
36487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36488 ac_ext=c
36489 ac_cpp='$CPP $CPPFLAGS'
36490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36499 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36501 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36502 for ac_func in log10f
36503 do :
36504 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36505 if test "x$ac_cv_func_log10f" = x""yes; then :
36506 cat >>confdefs.h <<_ACEOF
36507 #define HAVE_LOG10F 1
36508 _ACEOF
36511 done
36513 else
36515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36516 $as_echo_n "checking for _log10f declaration... " >&6; }
36517 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36518 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36519 $as_echo_n "(cached) " >&6
36520 else
36523 ac_ext=cpp
36524 ac_cpp='$CXXCPP $CPPFLAGS'
36525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36530 /* end confdefs.h. */
36531 #include <math.h>
36532 #ifdef HAVE_IEEEFP_H
36533 #include <ieeefp.h>
36534 #endif
36537 main ()
36539 _log10f(0);
36541 return 0;
36543 _ACEOF
36544 if ac_fn_cxx_try_compile "$LINENO"; then :
36545 glibcxx_cv_func__log10f_use=yes
36546 else
36547 glibcxx_cv_func__log10f_use=no
36549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36550 ac_ext=c
36551 ac_cpp='$CPP $CPPFLAGS'
36552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36561 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36563 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36564 for ac_func in _log10f
36565 do :
36566 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36567 if test "x$ac_cv_func__log10f" = x""yes; then :
36568 cat >>confdefs.h <<_ACEOF
36569 #define HAVE__LOG10F 1
36570 _ACEOF
36573 done
36582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36583 $as_echo_n "checking for modff declaration... " >&6; }
36584 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36585 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36586 $as_echo_n "(cached) " >&6
36587 else
36590 ac_ext=cpp
36591 ac_cpp='$CXXCPP $CPPFLAGS'
36592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36597 /* end confdefs.h. */
36598 #include <math.h>
36600 main ()
36602 modff(0, 0);
36604 return 0;
36606 _ACEOF
36607 if ac_fn_cxx_try_compile "$LINENO"; then :
36608 glibcxx_cv_func_modff_use=yes
36609 else
36610 glibcxx_cv_func_modff_use=no
36612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36613 ac_ext=c
36614 ac_cpp='$CPP $CPPFLAGS'
36615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36624 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36626 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36627 for ac_func in modff
36628 do :
36629 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36630 if test "x$ac_cv_func_modff" = x""yes; then :
36631 cat >>confdefs.h <<_ACEOF
36632 #define HAVE_MODFF 1
36633 _ACEOF
36636 done
36638 else
36640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36641 $as_echo_n "checking for _modff declaration... " >&6; }
36642 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36643 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36644 $as_echo_n "(cached) " >&6
36645 else
36648 ac_ext=cpp
36649 ac_cpp='$CXXCPP $CPPFLAGS'
36650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36655 /* end confdefs.h. */
36656 #include <math.h>
36658 main ()
36660 _modff(0, 0);
36662 return 0;
36664 _ACEOF
36665 if ac_fn_cxx_try_compile "$LINENO"; then :
36666 glibcxx_cv_func__modff_use=yes
36667 else
36668 glibcxx_cv_func__modff_use=no
36670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36671 ac_ext=c
36672 ac_cpp='$CPP $CPPFLAGS'
36673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36682 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36684 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36685 for ac_func in _modff
36686 do :
36687 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36688 if test "x$ac_cv_func__modff" = x""yes; then :
36689 cat >>confdefs.h <<_ACEOF
36690 #define HAVE__MODFF 1
36691 _ACEOF
36694 done
36703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36704 $as_echo_n "checking for modf declaration... " >&6; }
36705 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36706 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36707 $as_echo_n "(cached) " >&6
36708 else
36711 ac_ext=cpp
36712 ac_cpp='$CXXCPP $CPPFLAGS'
36713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36718 /* end confdefs.h. */
36719 #include <math.h>
36721 main ()
36723 modf(0, 0);
36725 return 0;
36727 _ACEOF
36728 if ac_fn_cxx_try_compile "$LINENO"; then :
36729 glibcxx_cv_func_modf_use=yes
36730 else
36731 glibcxx_cv_func_modf_use=no
36733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36734 ac_ext=c
36735 ac_cpp='$CPP $CPPFLAGS'
36736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36745 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36747 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36748 for ac_func in modf
36749 do :
36750 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36751 if test "x$ac_cv_func_modf" = x""yes; then :
36752 cat >>confdefs.h <<_ACEOF
36753 #define HAVE_MODF 1
36754 _ACEOF
36757 done
36759 else
36761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36762 $as_echo_n "checking for _modf declaration... " >&6; }
36763 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36764 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36765 $as_echo_n "(cached) " >&6
36766 else
36769 ac_ext=cpp
36770 ac_cpp='$CXXCPP $CPPFLAGS'
36771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36776 /* end confdefs.h. */
36777 #include <math.h>
36779 main ()
36781 _modf(0, 0);
36783 return 0;
36785 _ACEOF
36786 if ac_fn_cxx_try_compile "$LINENO"; then :
36787 glibcxx_cv_func__modf_use=yes
36788 else
36789 glibcxx_cv_func__modf_use=no
36791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36792 ac_ext=c
36793 ac_cpp='$CPP $CPPFLAGS'
36794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36803 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36805 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36806 for ac_func in _modf
36807 do :
36808 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36809 if test "x$ac_cv_func__modf" = x""yes; then :
36810 cat >>confdefs.h <<_ACEOF
36811 #define HAVE__MODF 1
36812 _ACEOF
36815 done
36824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36825 $as_echo_n "checking for powf declaration... " >&6; }
36826 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36827 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36828 $as_echo_n "(cached) " >&6
36829 else
36832 ac_ext=cpp
36833 ac_cpp='$CXXCPP $CPPFLAGS'
36834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36839 /* end confdefs.h. */
36840 #include <math.h>
36842 main ()
36844 powf(0, 0);
36846 return 0;
36848 _ACEOF
36849 if ac_fn_cxx_try_compile "$LINENO"; then :
36850 glibcxx_cv_func_powf_use=yes
36851 else
36852 glibcxx_cv_func_powf_use=no
36854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36855 ac_ext=c
36856 ac_cpp='$CPP $CPPFLAGS'
36857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36866 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36868 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36869 for ac_func in powf
36870 do :
36871 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36872 if test "x$ac_cv_func_powf" = x""yes; then :
36873 cat >>confdefs.h <<_ACEOF
36874 #define HAVE_POWF 1
36875 _ACEOF
36878 done
36880 else
36882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36883 $as_echo_n "checking for _powf declaration... " >&6; }
36884 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36885 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36886 $as_echo_n "(cached) " >&6
36887 else
36890 ac_ext=cpp
36891 ac_cpp='$CXXCPP $CPPFLAGS'
36892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36897 /* end confdefs.h. */
36898 #include <math.h>
36900 main ()
36902 _powf(0, 0);
36904 return 0;
36906 _ACEOF
36907 if ac_fn_cxx_try_compile "$LINENO"; then :
36908 glibcxx_cv_func__powf_use=yes
36909 else
36910 glibcxx_cv_func__powf_use=no
36912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36913 ac_ext=c
36914 ac_cpp='$CPP $CPPFLAGS'
36915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36924 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36926 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36927 for ac_func in _powf
36928 do :
36929 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36930 if test "x$ac_cv_func__powf" = x""yes; then :
36931 cat >>confdefs.h <<_ACEOF
36932 #define HAVE__POWF 1
36933 _ACEOF
36936 done
36945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36946 $as_echo_n "checking for sqrtf declaration... " >&6; }
36947 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36948 if test "${glibcxx_cv_func_sqrtf_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 sqrtf(0);
36971 return 0;
36973 _ACEOF
36974 if ac_fn_cxx_try_compile "$LINENO"; then :
36975 glibcxx_cv_func_sqrtf_use=yes
36976 else
36977 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
36991 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36993 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36994 for ac_func in sqrtf
36995 do :
36996 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36997 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36998 cat >>confdefs.h <<_ACEOF
36999 #define HAVE_SQRTF 1
37000 _ACEOF
37003 done
37005 else
37007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37008 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37009 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37010 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37011 $as_echo_n "(cached) " >&6
37012 else
37015 ac_ext=cpp
37016 ac_cpp='$CXXCPP $CPPFLAGS'
37017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37022 /* end confdefs.h. */
37023 #include <math.h>
37024 #ifdef HAVE_IEEEFP_H
37025 #include <ieeefp.h>
37026 #endif
37029 main ()
37031 _sqrtf(0);
37033 return 0;
37035 _ACEOF
37036 if ac_fn_cxx_try_compile "$LINENO"; then :
37037 glibcxx_cv_func__sqrtf_use=yes
37038 else
37039 glibcxx_cv_func__sqrtf_use=no
37041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37042 ac_ext=c
37043 ac_cpp='$CPP $CPPFLAGS'
37044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37053 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37055 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37056 for ac_func in _sqrtf
37057 do :
37058 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37059 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37060 cat >>confdefs.h <<_ACEOF
37061 #define HAVE__SQRTF 1
37062 _ACEOF
37065 done
37074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37075 $as_echo_n "checking for sincosf declaration... " >&6; }
37076 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37077 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37078 $as_echo_n "(cached) " >&6
37079 else
37082 ac_ext=cpp
37083 ac_cpp='$CXXCPP $CPPFLAGS'
37084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37089 /* end confdefs.h. */
37090 #include <math.h>
37092 main ()
37094 sincosf(0, 0, 0);
37096 return 0;
37098 _ACEOF
37099 if ac_fn_cxx_try_compile "$LINENO"; then :
37100 glibcxx_cv_func_sincosf_use=yes
37101 else
37102 glibcxx_cv_func_sincosf_use=no
37104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37105 ac_ext=c
37106 ac_cpp='$CPP $CPPFLAGS'
37107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37116 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37118 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37119 for ac_func in sincosf
37120 do :
37121 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37122 if test "x$ac_cv_func_sincosf" = x""yes; then :
37123 cat >>confdefs.h <<_ACEOF
37124 #define HAVE_SINCOSF 1
37125 _ACEOF
37128 done
37130 else
37132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37133 $as_echo_n "checking for _sincosf declaration... " >&6; }
37134 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37135 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37136 $as_echo_n "(cached) " >&6
37137 else
37140 ac_ext=cpp
37141 ac_cpp='$CXXCPP $CPPFLAGS'
37142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37147 /* end confdefs.h. */
37148 #include <math.h>
37150 main ()
37152 _sincosf(0, 0, 0);
37154 return 0;
37156 _ACEOF
37157 if ac_fn_cxx_try_compile "$LINENO"; then :
37158 glibcxx_cv_func__sincosf_use=yes
37159 else
37160 glibcxx_cv_func__sincosf_use=no
37162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37163 ac_ext=c
37164 ac_cpp='$CPP $CPPFLAGS'
37165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37174 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37176 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37177 for ac_func in _sincosf
37178 do :
37179 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37180 if test "x$ac_cv_func__sincosf" = x""yes; then :
37181 cat >>confdefs.h <<_ACEOF
37182 #define HAVE__SINCOSF 1
37183 _ACEOF
37186 done
37195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37196 $as_echo_n "checking for finitef declaration... " >&6; }
37197 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37198 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37199 $as_echo_n "(cached) " >&6
37200 else
37203 ac_ext=cpp
37204 ac_cpp='$CXXCPP $CPPFLAGS'
37205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37210 /* end confdefs.h. */
37211 #include <math.h>
37212 #ifdef HAVE_IEEEFP_H
37213 #include <ieeefp.h>
37214 #endif
37217 main ()
37219 finitef(0);
37221 return 0;
37223 _ACEOF
37224 if ac_fn_cxx_try_compile "$LINENO"; then :
37225 glibcxx_cv_func_finitef_use=yes
37226 else
37227 glibcxx_cv_func_finitef_use=no
37229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37230 ac_ext=c
37231 ac_cpp='$CPP $CPPFLAGS'
37232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37241 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37243 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37244 for ac_func in finitef
37245 do :
37246 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37247 if test "x$ac_cv_func_finitef" = x""yes; then :
37248 cat >>confdefs.h <<_ACEOF
37249 #define HAVE_FINITEF 1
37250 _ACEOF
37253 done
37255 else
37257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37258 $as_echo_n "checking for _finitef declaration... " >&6; }
37259 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37260 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37261 $as_echo_n "(cached) " >&6
37262 else
37265 ac_ext=cpp
37266 ac_cpp='$CXXCPP $CPPFLAGS'
37267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37272 /* end confdefs.h. */
37273 #include <math.h>
37274 #ifdef HAVE_IEEEFP_H
37275 #include <ieeefp.h>
37276 #endif
37279 main ()
37281 _finitef(0);
37283 return 0;
37285 _ACEOF
37286 if ac_fn_cxx_try_compile "$LINENO"; then :
37287 glibcxx_cv_func__finitef_use=yes
37288 else
37289 glibcxx_cv_func__finitef_use=no
37291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37292 ac_ext=c
37293 ac_cpp='$CPP $CPPFLAGS'
37294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37303 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37305 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37306 for ac_func in _finitef
37307 do :
37308 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37309 if test "x$ac_cv_func__finitef" = x""yes; then :
37310 cat >>confdefs.h <<_ACEOF
37311 #define HAVE__FINITEF 1
37312 _ACEOF
37315 done
37324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37325 $as_echo_n "checking for long double trig functions... " >&6; }
37326 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37327 $as_echo_n "(cached) " >&6
37328 else
37331 ac_ext=cpp
37332 ac_cpp='$CXXCPP $CPPFLAGS'
37333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37338 /* end confdefs.h. */
37339 #include <math.h>
37341 main ()
37343 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37345 return 0;
37347 _ACEOF
37348 if ac_fn_cxx_try_compile "$LINENO"; then :
37349 glibcxx_cv_func_long_double_trig_use=yes
37350 else
37351 glibcxx_cv_func_long_double_trig_use=no
37353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37354 ac_ext=c
37355 ac_cpp='$CPP $CPPFLAGS'
37356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37363 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37364 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37365 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37366 do :
37367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37369 eval as_val=\$$as_ac_var
37370 if test "x$as_val" = x""yes; then :
37371 cat >>confdefs.h <<_ACEOF
37372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37373 _ACEOF
37376 done
37378 else
37379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37380 $as_echo_n "checking for _long double trig functions... " >&6; }
37381 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37382 $as_echo_n "(cached) " >&6
37383 else
37386 ac_ext=cpp
37387 ac_cpp='$CXXCPP $CPPFLAGS'
37388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37393 /* end confdefs.h. */
37394 #include <math.h>
37396 main ()
37398 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37400 return 0;
37402 _ACEOF
37403 if ac_fn_cxx_try_compile "$LINENO"; then :
37404 glibcxx_cv_func__long_double_trig_use=yes
37405 else
37406 glibcxx_cv_func__long_double_trig_use=no
37408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37409 ac_ext=c
37410 ac_cpp='$CPP $CPPFLAGS'
37411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37418 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37419 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37420 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37421 do :
37422 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37423 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37424 eval as_val=\$$as_ac_var
37425 if test "x$as_val" = x""yes; then :
37426 cat >>confdefs.h <<_ACEOF
37427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37428 _ACEOF
37431 done
37440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37441 $as_echo_n "checking for long double round functions... " >&6; }
37442 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37443 $as_echo_n "(cached) " >&6
37444 else
37447 ac_ext=cpp
37448 ac_cpp='$CXXCPP $CPPFLAGS'
37449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37454 /* end confdefs.h. */
37455 #include <math.h>
37457 main ()
37459 ceill (0); floorl (0);
37461 return 0;
37463 _ACEOF
37464 if ac_fn_cxx_try_compile "$LINENO"; then :
37465 glibcxx_cv_func_long_double_round_use=yes
37466 else
37467 glibcxx_cv_func_long_double_round_use=no
37469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37470 ac_ext=c
37471 ac_cpp='$CPP $CPPFLAGS'
37472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37479 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37480 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37481 for ac_func in ceill floorl
37482 do :
37483 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37485 eval as_val=\$$as_ac_var
37486 if test "x$as_val" = x""yes; then :
37487 cat >>confdefs.h <<_ACEOF
37488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37489 _ACEOF
37492 done
37494 else
37495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37496 $as_echo_n "checking for _long double round functions... " >&6; }
37497 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37498 $as_echo_n "(cached) " >&6
37499 else
37502 ac_ext=cpp
37503 ac_cpp='$CXXCPP $CPPFLAGS'
37504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37509 /* end confdefs.h. */
37510 #include <math.h>
37512 main ()
37514 _ceill (0); _floorl (0);
37516 return 0;
37518 _ACEOF
37519 if ac_fn_cxx_try_compile "$LINENO"; then :
37520 glibcxx_cv_func__long_double_round_use=yes
37521 else
37522 glibcxx_cv_func__long_double_round_use=no
37524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37525 ac_ext=c
37526 ac_cpp='$CPP $CPPFLAGS'
37527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37534 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37535 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37536 for ac_func in _ceill _floorl
37537 do :
37538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37540 eval as_val=\$$as_ac_var
37541 if test "x$as_val" = x""yes; then :
37542 cat >>confdefs.h <<_ACEOF
37543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37544 _ACEOF
37547 done
37557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37558 $as_echo_n "checking for isnanl declaration... " >&6; }
37559 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37560 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37561 $as_echo_n "(cached) " >&6
37562 else
37565 ac_ext=cpp
37566 ac_cpp='$CXXCPP $CPPFLAGS'
37567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37572 /* end confdefs.h. */
37573 #include <math.h>
37574 #ifdef HAVE_IEEEFP_H
37575 #include <ieeefp.h>
37576 #endif
37579 main ()
37581 isnanl(0);
37583 return 0;
37585 _ACEOF
37586 if ac_fn_cxx_try_compile "$LINENO"; then :
37587 glibcxx_cv_func_isnanl_use=yes
37588 else
37589 glibcxx_cv_func_isnanl_use=no
37591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37592 ac_ext=c
37593 ac_cpp='$CPP $CPPFLAGS'
37594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37603 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37605 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37606 for ac_func in isnanl
37607 do :
37608 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37609 if test "x$ac_cv_func_isnanl" = x""yes; then :
37610 cat >>confdefs.h <<_ACEOF
37611 #define HAVE_ISNANL 1
37612 _ACEOF
37615 done
37617 else
37619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37620 $as_echo_n "checking for _isnanl declaration... " >&6; }
37621 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37622 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37623 $as_echo_n "(cached) " >&6
37624 else
37627 ac_ext=cpp
37628 ac_cpp='$CXXCPP $CPPFLAGS'
37629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37634 /* end confdefs.h. */
37635 #include <math.h>
37636 #ifdef HAVE_IEEEFP_H
37637 #include <ieeefp.h>
37638 #endif
37641 main ()
37643 _isnanl(0);
37645 return 0;
37647 _ACEOF
37648 if ac_fn_cxx_try_compile "$LINENO"; then :
37649 glibcxx_cv_func__isnanl_use=yes
37650 else
37651 glibcxx_cv_func__isnanl_use=no
37653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37654 ac_ext=c
37655 ac_cpp='$CPP $CPPFLAGS'
37656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37665 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37667 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37668 for ac_func in _isnanl
37669 do :
37670 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37671 if test "x$ac_cv_func__isnanl" = x""yes; then :
37672 cat >>confdefs.h <<_ACEOF
37673 #define HAVE__ISNANL 1
37674 _ACEOF
37677 done
37686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37687 $as_echo_n "checking for isinfl declaration... " >&6; }
37688 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37689 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37690 $as_echo_n "(cached) " >&6
37691 else
37694 ac_ext=cpp
37695 ac_cpp='$CXXCPP $CPPFLAGS'
37696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37701 /* end confdefs.h. */
37702 #include <math.h>
37703 #ifdef HAVE_IEEEFP_H
37704 #include <ieeefp.h>
37705 #endif
37708 main ()
37710 isinfl(0);
37712 return 0;
37714 _ACEOF
37715 if ac_fn_cxx_try_compile "$LINENO"; then :
37716 glibcxx_cv_func_isinfl_use=yes
37717 else
37718 glibcxx_cv_func_isinfl_use=no
37720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37721 ac_ext=c
37722 ac_cpp='$CPP $CPPFLAGS'
37723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37732 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37734 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37735 for ac_func in isinfl
37736 do :
37737 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37738 if test "x$ac_cv_func_isinfl" = x""yes; then :
37739 cat >>confdefs.h <<_ACEOF
37740 #define HAVE_ISINFL 1
37741 _ACEOF
37744 done
37746 else
37748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37749 $as_echo_n "checking for _isinfl declaration... " >&6; }
37750 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37751 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37752 $as_echo_n "(cached) " >&6
37753 else
37756 ac_ext=cpp
37757 ac_cpp='$CXXCPP $CPPFLAGS'
37758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37763 /* end confdefs.h. */
37764 #include <math.h>
37765 #ifdef HAVE_IEEEFP_H
37766 #include <ieeefp.h>
37767 #endif
37770 main ()
37772 _isinfl(0);
37774 return 0;
37776 _ACEOF
37777 if ac_fn_cxx_try_compile "$LINENO"; then :
37778 glibcxx_cv_func__isinfl_use=yes
37779 else
37780 glibcxx_cv_func__isinfl_use=no
37782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37783 ac_ext=c
37784 ac_cpp='$CPP $CPPFLAGS'
37785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37794 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37796 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37797 for ac_func in _isinfl
37798 do :
37799 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37800 if test "x$ac_cv_func__isinfl" = x""yes; then :
37801 cat >>confdefs.h <<_ACEOF
37802 #define HAVE__ISINFL 1
37803 _ACEOF
37806 done
37815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37816 $as_echo_n "checking for atan2l declaration... " >&6; }
37817 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37818 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37819 $as_echo_n "(cached) " >&6
37820 else
37823 ac_ext=cpp
37824 ac_cpp='$CXXCPP $CPPFLAGS'
37825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37830 /* end confdefs.h. */
37831 #include <math.h>
37833 main ()
37835 atan2l(0, 0);
37837 return 0;
37839 _ACEOF
37840 if ac_fn_cxx_try_compile "$LINENO"; then :
37841 glibcxx_cv_func_atan2l_use=yes
37842 else
37843 glibcxx_cv_func_atan2l_use=no
37845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37846 ac_ext=c
37847 ac_cpp='$CPP $CPPFLAGS'
37848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37857 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37859 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37860 for ac_func in atan2l
37861 do :
37862 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37863 if test "x$ac_cv_func_atan2l" = x""yes; then :
37864 cat >>confdefs.h <<_ACEOF
37865 #define HAVE_ATAN2L 1
37866 _ACEOF
37869 done
37871 else
37873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37874 $as_echo_n "checking for _atan2l declaration... " >&6; }
37875 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37876 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37877 $as_echo_n "(cached) " >&6
37878 else
37881 ac_ext=cpp
37882 ac_cpp='$CXXCPP $CPPFLAGS'
37883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37888 /* end confdefs.h. */
37889 #include <math.h>
37891 main ()
37893 _atan2l(0, 0);
37895 return 0;
37897 _ACEOF
37898 if ac_fn_cxx_try_compile "$LINENO"; then :
37899 glibcxx_cv_func__atan2l_use=yes
37900 else
37901 glibcxx_cv_func__atan2l_use=no
37903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37904 ac_ext=c
37905 ac_cpp='$CPP $CPPFLAGS'
37906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37915 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37917 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37918 for ac_func in _atan2l
37919 do :
37920 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37921 if test "x$ac_cv_func__atan2l" = x""yes; then :
37922 cat >>confdefs.h <<_ACEOF
37923 #define HAVE__ATAN2L 1
37924 _ACEOF
37927 done
37936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37937 $as_echo_n "checking for expl declaration... " >&6; }
37938 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37939 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37940 $as_echo_n "(cached) " >&6
37941 else
37944 ac_ext=cpp
37945 ac_cpp='$CXXCPP $CPPFLAGS'
37946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37951 /* end confdefs.h. */
37952 #include <math.h>
37953 #ifdef HAVE_IEEEFP_H
37954 #include <ieeefp.h>
37955 #endif
37958 main ()
37960 expl(0);
37962 return 0;
37964 _ACEOF
37965 if ac_fn_cxx_try_compile "$LINENO"; then :
37966 glibcxx_cv_func_expl_use=yes
37967 else
37968 glibcxx_cv_func_expl_use=no
37970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37971 ac_ext=c
37972 ac_cpp='$CPP $CPPFLAGS'
37973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37982 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37984 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37985 for ac_func in expl
37986 do :
37987 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37988 if test "x$ac_cv_func_expl" = x""yes; then :
37989 cat >>confdefs.h <<_ACEOF
37990 #define HAVE_EXPL 1
37991 _ACEOF
37994 done
37996 else
37998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37999 $as_echo_n "checking for _expl declaration... " >&6; }
38000 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38001 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38002 $as_echo_n "(cached) " >&6
38003 else
38006 ac_ext=cpp
38007 ac_cpp='$CXXCPP $CPPFLAGS'
38008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38013 /* end confdefs.h. */
38014 #include <math.h>
38015 #ifdef HAVE_IEEEFP_H
38016 #include <ieeefp.h>
38017 #endif
38020 main ()
38022 _expl(0);
38024 return 0;
38026 _ACEOF
38027 if ac_fn_cxx_try_compile "$LINENO"; then :
38028 glibcxx_cv_func__expl_use=yes
38029 else
38030 glibcxx_cv_func__expl_use=no
38032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38033 ac_ext=c
38034 ac_cpp='$CPP $CPPFLAGS'
38035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38044 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38046 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38047 for ac_func in _expl
38048 do :
38049 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38050 if test "x$ac_cv_func__expl" = x""yes; then :
38051 cat >>confdefs.h <<_ACEOF
38052 #define HAVE__EXPL 1
38053 _ACEOF
38056 done
38065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38066 $as_echo_n "checking for fabsl declaration... " >&6; }
38067 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38068 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38069 $as_echo_n "(cached) " >&6
38070 else
38073 ac_ext=cpp
38074 ac_cpp='$CXXCPP $CPPFLAGS'
38075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38080 /* end confdefs.h. */
38081 #include <math.h>
38082 #ifdef HAVE_IEEEFP_H
38083 #include <ieeefp.h>
38084 #endif
38087 main ()
38089 fabsl(0);
38091 return 0;
38093 _ACEOF
38094 if ac_fn_cxx_try_compile "$LINENO"; then :
38095 glibcxx_cv_func_fabsl_use=yes
38096 else
38097 glibcxx_cv_func_fabsl_use=no
38099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38100 ac_ext=c
38101 ac_cpp='$CPP $CPPFLAGS'
38102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38111 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38113 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38114 for ac_func in fabsl
38115 do :
38116 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38117 if test "x$ac_cv_func_fabsl" = x""yes; then :
38118 cat >>confdefs.h <<_ACEOF
38119 #define HAVE_FABSL 1
38120 _ACEOF
38123 done
38125 else
38127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38128 $as_echo_n "checking for _fabsl declaration... " >&6; }
38129 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38130 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38131 $as_echo_n "(cached) " >&6
38132 else
38135 ac_ext=cpp
38136 ac_cpp='$CXXCPP $CPPFLAGS'
38137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38142 /* end confdefs.h. */
38143 #include <math.h>
38144 #ifdef HAVE_IEEEFP_H
38145 #include <ieeefp.h>
38146 #endif
38149 main ()
38151 _fabsl(0);
38153 return 0;
38155 _ACEOF
38156 if ac_fn_cxx_try_compile "$LINENO"; then :
38157 glibcxx_cv_func__fabsl_use=yes
38158 else
38159 glibcxx_cv_func__fabsl_use=no
38161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38162 ac_ext=c
38163 ac_cpp='$CPP $CPPFLAGS'
38164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38173 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38175 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38176 for ac_func in _fabsl
38177 do :
38178 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38179 if test "x$ac_cv_func__fabsl" = x""yes; then :
38180 cat >>confdefs.h <<_ACEOF
38181 #define HAVE__FABSL 1
38182 _ACEOF
38185 done
38194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38195 $as_echo_n "checking for fmodl declaration... " >&6; }
38196 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38197 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38198 $as_echo_n "(cached) " >&6
38199 else
38202 ac_ext=cpp
38203 ac_cpp='$CXXCPP $CPPFLAGS'
38204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38209 /* end confdefs.h. */
38210 #include <math.h>
38212 main ()
38214 fmodl(0, 0);
38216 return 0;
38218 _ACEOF
38219 if ac_fn_cxx_try_compile "$LINENO"; then :
38220 glibcxx_cv_func_fmodl_use=yes
38221 else
38222 glibcxx_cv_func_fmodl_use=no
38224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38225 ac_ext=c
38226 ac_cpp='$CPP $CPPFLAGS'
38227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38236 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38238 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38239 for ac_func in fmodl
38240 do :
38241 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38242 if test "x$ac_cv_func_fmodl" = x""yes; then :
38243 cat >>confdefs.h <<_ACEOF
38244 #define HAVE_FMODL 1
38245 _ACEOF
38248 done
38250 else
38252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38253 $as_echo_n "checking for _fmodl declaration... " >&6; }
38254 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38255 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38256 $as_echo_n "(cached) " >&6
38257 else
38260 ac_ext=cpp
38261 ac_cpp='$CXXCPP $CPPFLAGS'
38262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38267 /* end confdefs.h. */
38268 #include <math.h>
38270 main ()
38272 _fmodl(0, 0);
38274 return 0;
38276 _ACEOF
38277 if ac_fn_cxx_try_compile "$LINENO"; then :
38278 glibcxx_cv_func__fmodl_use=yes
38279 else
38280 glibcxx_cv_func__fmodl_use=no
38282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38283 ac_ext=c
38284 ac_cpp='$CPP $CPPFLAGS'
38285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38294 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38296 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38297 for ac_func in _fmodl
38298 do :
38299 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38300 if test "x$ac_cv_func__fmodl" = x""yes; then :
38301 cat >>confdefs.h <<_ACEOF
38302 #define HAVE__FMODL 1
38303 _ACEOF
38306 done
38315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38316 $as_echo_n "checking for frexpl declaration... " >&6; }
38317 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38318 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38319 $as_echo_n "(cached) " >&6
38320 else
38323 ac_ext=cpp
38324 ac_cpp='$CXXCPP $CPPFLAGS'
38325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38330 /* end confdefs.h. */
38331 #include <math.h>
38333 main ()
38335 frexpl(0, 0);
38337 return 0;
38339 _ACEOF
38340 if ac_fn_cxx_try_compile "$LINENO"; then :
38341 glibcxx_cv_func_frexpl_use=yes
38342 else
38343 glibcxx_cv_func_frexpl_use=no
38345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38346 ac_ext=c
38347 ac_cpp='$CPP $CPPFLAGS'
38348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38357 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38359 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38360 for ac_func in frexpl
38361 do :
38362 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38363 if test "x$ac_cv_func_frexpl" = x""yes; then :
38364 cat >>confdefs.h <<_ACEOF
38365 #define HAVE_FREXPL 1
38366 _ACEOF
38369 done
38371 else
38373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38374 $as_echo_n "checking for _frexpl declaration... " >&6; }
38375 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38376 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38377 $as_echo_n "(cached) " >&6
38378 else
38381 ac_ext=cpp
38382 ac_cpp='$CXXCPP $CPPFLAGS'
38383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38388 /* end confdefs.h. */
38389 #include <math.h>
38391 main ()
38393 _frexpl(0, 0);
38395 return 0;
38397 _ACEOF
38398 if ac_fn_cxx_try_compile "$LINENO"; then :
38399 glibcxx_cv_func__frexpl_use=yes
38400 else
38401 glibcxx_cv_func__frexpl_use=no
38403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38404 ac_ext=c
38405 ac_cpp='$CPP $CPPFLAGS'
38406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38415 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38417 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38418 for ac_func in _frexpl
38419 do :
38420 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38421 if test "x$ac_cv_func__frexpl" = x""yes; then :
38422 cat >>confdefs.h <<_ACEOF
38423 #define HAVE__FREXPL 1
38424 _ACEOF
38427 done
38436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38437 $as_echo_n "checking for hypotl declaration... " >&6; }
38438 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38439 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38440 $as_echo_n "(cached) " >&6
38441 else
38444 ac_ext=cpp
38445 ac_cpp='$CXXCPP $CPPFLAGS'
38446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38451 /* end confdefs.h. */
38452 #include <math.h>
38454 main ()
38456 hypotl(0, 0);
38458 return 0;
38460 _ACEOF
38461 if ac_fn_cxx_try_compile "$LINENO"; then :
38462 glibcxx_cv_func_hypotl_use=yes
38463 else
38464 glibcxx_cv_func_hypotl_use=no
38466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38467 ac_ext=c
38468 ac_cpp='$CPP $CPPFLAGS'
38469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38478 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38480 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38481 for ac_func in hypotl
38482 do :
38483 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38484 if test "x$ac_cv_func_hypotl" = x""yes; then :
38485 cat >>confdefs.h <<_ACEOF
38486 #define HAVE_HYPOTL 1
38487 _ACEOF
38490 done
38492 else
38494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38495 $as_echo_n "checking for _hypotl declaration... " >&6; }
38496 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38497 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38498 $as_echo_n "(cached) " >&6
38499 else
38502 ac_ext=cpp
38503 ac_cpp='$CXXCPP $CPPFLAGS'
38504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38509 /* end confdefs.h. */
38510 #include <math.h>
38512 main ()
38514 _hypotl(0, 0);
38516 return 0;
38518 _ACEOF
38519 if ac_fn_cxx_try_compile "$LINENO"; then :
38520 glibcxx_cv_func__hypotl_use=yes
38521 else
38522 glibcxx_cv_func__hypotl_use=no
38524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38525 ac_ext=c
38526 ac_cpp='$CPP $CPPFLAGS'
38527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38536 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38538 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38539 for ac_func in _hypotl
38540 do :
38541 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38542 if test "x$ac_cv_func__hypotl" = x""yes; then :
38543 cat >>confdefs.h <<_ACEOF
38544 #define HAVE__HYPOTL 1
38545 _ACEOF
38548 done
38557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38558 $as_echo_n "checking for ldexpl declaration... " >&6; }
38559 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38560 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38561 $as_echo_n "(cached) " >&6
38562 else
38565 ac_ext=cpp
38566 ac_cpp='$CXXCPP $CPPFLAGS'
38567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38572 /* end confdefs.h. */
38573 #include <math.h>
38575 main ()
38577 ldexpl(0, 0);
38579 return 0;
38581 _ACEOF
38582 if ac_fn_cxx_try_compile "$LINENO"; then :
38583 glibcxx_cv_func_ldexpl_use=yes
38584 else
38585 glibcxx_cv_func_ldexpl_use=no
38587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38588 ac_ext=c
38589 ac_cpp='$CPP $CPPFLAGS'
38590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38599 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38601 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38602 for ac_func in ldexpl
38603 do :
38604 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38605 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38606 cat >>confdefs.h <<_ACEOF
38607 #define HAVE_LDEXPL 1
38608 _ACEOF
38611 done
38613 else
38615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38616 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38617 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38618 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38619 $as_echo_n "(cached) " >&6
38620 else
38623 ac_ext=cpp
38624 ac_cpp='$CXXCPP $CPPFLAGS'
38625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38630 /* end confdefs.h. */
38631 #include <math.h>
38633 main ()
38635 _ldexpl(0, 0);
38637 return 0;
38639 _ACEOF
38640 if ac_fn_cxx_try_compile "$LINENO"; then :
38641 glibcxx_cv_func__ldexpl_use=yes
38642 else
38643 glibcxx_cv_func__ldexpl_use=no
38645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38646 ac_ext=c
38647 ac_cpp='$CPP $CPPFLAGS'
38648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38657 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38659 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38660 for ac_func in _ldexpl
38661 do :
38662 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38663 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38664 cat >>confdefs.h <<_ACEOF
38665 #define HAVE__LDEXPL 1
38666 _ACEOF
38669 done
38678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38679 $as_echo_n "checking for logl declaration... " >&6; }
38680 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38681 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38682 $as_echo_n "(cached) " >&6
38683 else
38686 ac_ext=cpp
38687 ac_cpp='$CXXCPP $CPPFLAGS'
38688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38693 /* end confdefs.h. */
38694 #include <math.h>
38695 #ifdef HAVE_IEEEFP_H
38696 #include <ieeefp.h>
38697 #endif
38700 main ()
38702 logl(0);
38704 return 0;
38706 _ACEOF
38707 if ac_fn_cxx_try_compile "$LINENO"; then :
38708 glibcxx_cv_func_logl_use=yes
38709 else
38710 glibcxx_cv_func_logl_use=no
38712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38713 ac_ext=c
38714 ac_cpp='$CPP $CPPFLAGS'
38715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38724 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38726 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38727 for ac_func in logl
38728 do :
38729 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38730 if test "x$ac_cv_func_logl" = x""yes; then :
38731 cat >>confdefs.h <<_ACEOF
38732 #define HAVE_LOGL 1
38733 _ACEOF
38736 done
38738 else
38740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38741 $as_echo_n "checking for _logl declaration... " >&6; }
38742 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38743 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38744 $as_echo_n "(cached) " >&6
38745 else
38748 ac_ext=cpp
38749 ac_cpp='$CXXCPP $CPPFLAGS'
38750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38755 /* end confdefs.h. */
38756 #include <math.h>
38757 #ifdef HAVE_IEEEFP_H
38758 #include <ieeefp.h>
38759 #endif
38762 main ()
38764 _logl(0);
38766 return 0;
38768 _ACEOF
38769 if ac_fn_cxx_try_compile "$LINENO"; then :
38770 glibcxx_cv_func__logl_use=yes
38771 else
38772 glibcxx_cv_func__logl_use=no
38774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38775 ac_ext=c
38776 ac_cpp='$CPP $CPPFLAGS'
38777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38786 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38788 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38789 for ac_func in _logl
38790 do :
38791 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38792 if test "x$ac_cv_func__logl" = x""yes; then :
38793 cat >>confdefs.h <<_ACEOF
38794 #define HAVE__LOGL 1
38795 _ACEOF
38798 done
38807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38808 $as_echo_n "checking for log10l declaration... " >&6; }
38809 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38810 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38811 $as_echo_n "(cached) " >&6
38812 else
38815 ac_ext=cpp
38816 ac_cpp='$CXXCPP $CPPFLAGS'
38817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38822 /* end confdefs.h. */
38823 #include <math.h>
38824 #ifdef HAVE_IEEEFP_H
38825 #include <ieeefp.h>
38826 #endif
38829 main ()
38831 log10l(0);
38833 return 0;
38835 _ACEOF
38836 if ac_fn_cxx_try_compile "$LINENO"; then :
38837 glibcxx_cv_func_log10l_use=yes
38838 else
38839 glibcxx_cv_func_log10l_use=no
38841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38842 ac_ext=c
38843 ac_cpp='$CPP $CPPFLAGS'
38844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38853 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38855 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38856 for ac_func in log10l
38857 do :
38858 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38859 if test "x$ac_cv_func_log10l" = x""yes; then :
38860 cat >>confdefs.h <<_ACEOF
38861 #define HAVE_LOG10L 1
38862 _ACEOF
38865 done
38867 else
38869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38870 $as_echo_n "checking for _log10l declaration... " >&6; }
38871 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38872 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38873 $as_echo_n "(cached) " >&6
38874 else
38877 ac_ext=cpp
38878 ac_cpp='$CXXCPP $CPPFLAGS'
38879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38884 /* end confdefs.h. */
38885 #include <math.h>
38886 #ifdef HAVE_IEEEFP_H
38887 #include <ieeefp.h>
38888 #endif
38891 main ()
38893 _log10l(0);
38895 return 0;
38897 _ACEOF
38898 if ac_fn_cxx_try_compile "$LINENO"; then :
38899 glibcxx_cv_func__log10l_use=yes
38900 else
38901 glibcxx_cv_func__log10l_use=no
38903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38904 ac_ext=c
38905 ac_cpp='$CPP $CPPFLAGS'
38906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38915 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38917 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38918 for ac_func in _log10l
38919 do :
38920 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38921 if test "x$ac_cv_func__log10l" = x""yes; then :
38922 cat >>confdefs.h <<_ACEOF
38923 #define HAVE__LOG10L 1
38924 _ACEOF
38927 done
38936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38937 $as_echo_n "checking for modfl declaration... " >&6; }
38938 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38939 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38940 $as_echo_n "(cached) " >&6
38941 else
38944 ac_ext=cpp
38945 ac_cpp='$CXXCPP $CPPFLAGS'
38946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38951 /* end confdefs.h. */
38952 #include <math.h>
38954 main ()
38956 modfl(0, 0);
38958 return 0;
38960 _ACEOF
38961 if ac_fn_cxx_try_compile "$LINENO"; then :
38962 glibcxx_cv_func_modfl_use=yes
38963 else
38964 glibcxx_cv_func_modfl_use=no
38966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38967 ac_ext=c
38968 ac_cpp='$CPP $CPPFLAGS'
38969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38978 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38980 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38981 for ac_func in modfl
38982 do :
38983 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38984 if test "x$ac_cv_func_modfl" = x""yes; then :
38985 cat >>confdefs.h <<_ACEOF
38986 #define HAVE_MODFL 1
38987 _ACEOF
38990 done
38992 else
38994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38995 $as_echo_n "checking for _modfl declaration... " >&6; }
38996 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38997 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38998 $as_echo_n "(cached) " >&6
38999 else
39002 ac_ext=cpp
39003 ac_cpp='$CXXCPP $CPPFLAGS'
39004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39009 /* end confdefs.h. */
39010 #include <math.h>
39012 main ()
39014 _modfl(0, 0);
39016 return 0;
39018 _ACEOF
39019 if ac_fn_cxx_try_compile "$LINENO"; then :
39020 glibcxx_cv_func__modfl_use=yes
39021 else
39022 glibcxx_cv_func__modfl_use=no
39024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39025 ac_ext=c
39026 ac_cpp='$CPP $CPPFLAGS'
39027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39036 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39038 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39039 for ac_func in _modfl
39040 do :
39041 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39042 if test "x$ac_cv_func__modfl" = x""yes; then :
39043 cat >>confdefs.h <<_ACEOF
39044 #define HAVE__MODFL 1
39045 _ACEOF
39048 done
39057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39058 $as_echo_n "checking for powl declaration... " >&6; }
39059 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39060 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39061 $as_echo_n "(cached) " >&6
39062 else
39065 ac_ext=cpp
39066 ac_cpp='$CXXCPP $CPPFLAGS'
39067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39072 /* end confdefs.h. */
39073 #include <math.h>
39075 main ()
39077 powl(0, 0);
39079 return 0;
39081 _ACEOF
39082 if ac_fn_cxx_try_compile "$LINENO"; then :
39083 glibcxx_cv_func_powl_use=yes
39084 else
39085 glibcxx_cv_func_powl_use=no
39087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39088 ac_ext=c
39089 ac_cpp='$CPP $CPPFLAGS'
39090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39099 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39101 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39102 for ac_func in powl
39103 do :
39104 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39105 if test "x$ac_cv_func_powl" = x""yes; then :
39106 cat >>confdefs.h <<_ACEOF
39107 #define HAVE_POWL 1
39108 _ACEOF
39111 done
39113 else
39115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39116 $as_echo_n "checking for _powl declaration... " >&6; }
39117 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39118 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39119 $as_echo_n "(cached) " >&6
39120 else
39123 ac_ext=cpp
39124 ac_cpp='$CXXCPP $CPPFLAGS'
39125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39130 /* end confdefs.h. */
39131 #include <math.h>
39133 main ()
39135 _powl(0, 0);
39137 return 0;
39139 _ACEOF
39140 if ac_fn_cxx_try_compile "$LINENO"; then :
39141 glibcxx_cv_func__powl_use=yes
39142 else
39143 glibcxx_cv_func__powl_use=no
39145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39146 ac_ext=c
39147 ac_cpp='$CPP $CPPFLAGS'
39148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39157 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39159 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39160 for ac_func in _powl
39161 do :
39162 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39163 if test "x$ac_cv_func__powl" = x""yes; then :
39164 cat >>confdefs.h <<_ACEOF
39165 #define HAVE__POWL 1
39166 _ACEOF
39169 done
39178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39179 $as_echo_n "checking for sqrtl declaration... " >&6; }
39180 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39181 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39182 $as_echo_n "(cached) " >&6
39183 else
39186 ac_ext=cpp
39187 ac_cpp='$CXXCPP $CPPFLAGS'
39188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39193 /* end confdefs.h. */
39194 #include <math.h>
39195 #ifdef HAVE_IEEEFP_H
39196 #include <ieeefp.h>
39197 #endif
39200 main ()
39202 sqrtl(0);
39204 return 0;
39206 _ACEOF
39207 if ac_fn_cxx_try_compile "$LINENO"; then :
39208 glibcxx_cv_func_sqrtl_use=yes
39209 else
39210 glibcxx_cv_func_sqrtl_use=no
39212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39213 ac_ext=c
39214 ac_cpp='$CPP $CPPFLAGS'
39215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39224 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39226 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39227 for ac_func in sqrtl
39228 do :
39229 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39230 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39231 cat >>confdefs.h <<_ACEOF
39232 #define HAVE_SQRTL 1
39233 _ACEOF
39236 done
39238 else
39240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39241 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39242 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39243 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39244 $as_echo_n "(cached) " >&6
39245 else
39248 ac_ext=cpp
39249 ac_cpp='$CXXCPP $CPPFLAGS'
39250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39255 /* end confdefs.h. */
39256 #include <math.h>
39257 #ifdef HAVE_IEEEFP_H
39258 #include <ieeefp.h>
39259 #endif
39262 main ()
39264 _sqrtl(0);
39266 return 0;
39268 _ACEOF
39269 if ac_fn_cxx_try_compile "$LINENO"; then :
39270 glibcxx_cv_func__sqrtl_use=yes
39271 else
39272 glibcxx_cv_func__sqrtl_use=no
39274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39275 ac_ext=c
39276 ac_cpp='$CPP $CPPFLAGS'
39277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39286 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39288 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39289 for ac_func in _sqrtl
39290 do :
39291 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39292 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39293 cat >>confdefs.h <<_ACEOF
39294 #define HAVE__SQRTL 1
39295 _ACEOF
39298 done
39307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39308 $as_echo_n "checking for sincosl declaration... " >&6; }
39309 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39310 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39311 $as_echo_n "(cached) " >&6
39312 else
39315 ac_ext=cpp
39316 ac_cpp='$CXXCPP $CPPFLAGS'
39317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39322 /* end confdefs.h. */
39323 #include <math.h>
39325 main ()
39327 sincosl(0, 0, 0);
39329 return 0;
39331 _ACEOF
39332 if ac_fn_cxx_try_compile "$LINENO"; then :
39333 glibcxx_cv_func_sincosl_use=yes
39334 else
39335 glibcxx_cv_func_sincosl_use=no
39337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39338 ac_ext=c
39339 ac_cpp='$CPP $CPPFLAGS'
39340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39349 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39351 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39352 for ac_func in sincosl
39353 do :
39354 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39355 if test "x$ac_cv_func_sincosl" = x""yes; then :
39356 cat >>confdefs.h <<_ACEOF
39357 #define HAVE_SINCOSL 1
39358 _ACEOF
39361 done
39363 else
39365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39366 $as_echo_n "checking for _sincosl declaration... " >&6; }
39367 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39368 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39369 $as_echo_n "(cached) " >&6
39370 else
39373 ac_ext=cpp
39374 ac_cpp='$CXXCPP $CPPFLAGS'
39375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39380 /* end confdefs.h. */
39381 #include <math.h>
39383 main ()
39385 _sincosl(0, 0, 0);
39387 return 0;
39389 _ACEOF
39390 if ac_fn_cxx_try_compile "$LINENO"; then :
39391 glibcxx_cv_func__sincosl_use=yes
39392 else
39393 glibcxx_cv_func__sincosl_use=no
39395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39396 ac_ext=c
39397 ac_cpp='$CPP $CPPFLAGS'
39398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39407 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39409 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39410 for ac_func in _sincosl
39411 do :
39412 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39413 if test "x$ac_cv_func__sincosl" = x""yes; then :
39414 cat >>confdefs.h <<_ACEOF
39415 #define HAVE__SINCOSL 1
39416 _ACEOF
39419 done
39428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39429 $as_echo_n "checking for finitel declaration... " >&6; }
39430 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39431 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39432 $as_echo_n "(cached) " >&6
39433 else
39436 ac_ext=cpp
39437 ac_cpp='$CXXCPP $CPPFLAGS'
39438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39443 /* end confdefs.h. */
39444 #include <math.h>
39445 #ifdef HAVE_IEEEFP_H
39446 #include <ieeefp.h>
39447 #endif
39450 main ()
39452 finitel(0);
39454 return 0;
39456 _ACEOF
39457 if ac_fn_cxx_try_compile "$LINENO"; then :
39458 glibcxx_cv_func_finitel_use=yes
39459 else
39460 glibcxx_cv_func_finitel_use=no
39462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39463 ac_ext=c
39464 ac_cpp='$CPP $CPPFLAGS'
39465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39474 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39476 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39477 for ac_func in finitel
39478 do :
39479 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39480 if test "x$ac_cv_func_finitel" = x""yes; then :
39481 cat >>confdefs.h <<_ACEOF
39482 #define HAVE_FINITEL 1
39483 _ACEOF
39486 done
39488 else
39490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39491 $as_echo_n "checking for _finitel declaration... " >&6; }
39492 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39493 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39494 $as_echo_n "(cached) " >&6
39495 else
39498 ac_ext=cpp
39499 ac_cpp='$CXXCPP $CPPFLAGS'
39500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39505 /* end confdefs.h. */
39506 #include <math.h>
39507 #ifdef HAVE_IEEEFP_H
39508 #include <ieeefp.h>
39509 #endif
39512 main ()
39514 _finitel(0);
39516 return 0;
39518 _ACEOF
39519 if ac_fn_cxx_try_compile "$LINENO"; then :
39520 glibcxx_cv_func__finitel_use=yes
39521 else
39522 glibcxx_cv_func__finitel_use=no
39524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39525 ac_ext=c
39526 ac_cpp='$CPP $CPPFLAGS'
39527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39536 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39538 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39539 for ac_func in _finitel
39540 do :
39541 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39542 if test "x$ac_cv_func__finitel" = x""yes; then :
39543 cat >>confdefs.h <<_ACEOF
39544 #define HAVE__FINITEL 1
39545 _ACEOF
39548 done
39556 LIBS="$ac_save_LIBS"
39557 CXXFLAGS="$ac_save_CXXFLAGS"
39560 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39561 ac_save_CXXFLAGS="$CXXFLAGS"
39562 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39566 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39567 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39568 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39569 $as_echo_n "(cached) " >&6
39570 else
39573 ac_ext=cpp
39574 ac_cpp='$CXXCPP $CPPFLAGS'
39575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39580 /* end confdefs.h. */
39581 #include <stdlib.h>
39583 main ()
39585 at_quick_exit(0);
39587 return 0;
39589 _ACEOF
39590 if ac_fn_cxx_try_compile "$LINENO"; then :
39591 glibcxx_cv_func_at_quick_exit_use=yes
39592 else
39593 glibcxx_cv_func_at_quick_exit_use=no
39595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39596 ac_ext=c
39597 ac_cpp='$CPP $CPPFLAGS'
39598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39607 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39608 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39609 for ac_func in at_quick_exit
39610 do :
39611 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39612 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39613 cat >>confdefs.h <<_ACEOF
39614 #define HAVE_AT_QUICK_EXIT 1
39615 _ACEOF
39618 done
39623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39624 $as_echo_n "checking for quick_exit declaration... " >&6; }
39625 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39626 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39627 $as_echo_n "(cached) " >&6
39628 else
39631 ac_ext=cpp
39632 ac_cpp='$CXXCPP $CPPFLAGS'
39633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39638 /* end confdefs.h. */
39639 #include <stdlib.h>
39641 main ()
39643 quick_exit(0);
39645 return 0;
39647 _ACEOF
39648 if ac_fn_cxx_try_compile "$LINENO"; then :
39649 glibcxx_cv_func_quick_exit_use=yes
39650 else
39651 glibcxx_cv_func_quick_exit_use=no
39653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39654 ac_ext=c
39655 ac_cpp='$CPP $CPPFLAGS'
39656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39665 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39666 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39667 for ac_func in quick_exit
39668 do :
39669 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39670 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39671 cat >>confdefs.h <<_ACEOF
39672 #define HAVE_QUICK_EXIT 1
39673 _ACEOF
39676 done
39681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39682 $as_echo_n "checking for strtold declaration... " >&6; }
39683 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39684 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39685 $as_echo_n "(cached) " >&6
39686 else
39689 ac_ext=cpp
39690 ac_cpp='$CXXCPP $CPPFLAGS'
39691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39696 /* end confdefs.h. */
39697 #include <stdlib.h>
39699 main ()
39701 strtold(0, 0);
39703 return 0;
39705 _ACEOF
39706 if ac_fn_cxx_try_compile "$LINENO"; then :
39707 glibcxx_cv_func_strtold_use=yes
39708 else
39709 glibcxx_cv_func_strtold_use=no
39711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39712 ac_ext=c
39713 ac_cpp='$CPP $CPPFLAGS'
39714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39723 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39724 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39725 for ac_func in strtold
39726 do :
39727 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39728 if test "x$ac_cv_func_strtold" = x""yes; then :
39729 cat >>confdefs.h <<_ACEOF
39730 #define HAVE_STRTOLD 1
39731 _ACEOF
39734 done
39741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39742 $as_echo_n "checking for strtof declaration... " >&6; }
39743 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39744 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39745 $as_echo_n "(cached) " >&6
39746 else
39749 ac_ext=cpp
39750 ac_cpp='$CXXCPP $CPPFLAGS'
39751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39756 /* end confdefs.h. */
39757 #include <stdlib.h>
39759 main ()
39761 strtof(0, 0);
39763 return 0;
39765 _ACEOF
39766 if ac_fn_cxx_try_compile "$LINENO"; then :
39767 glibcxx_cv_func_strtof_use=yes
39768 else
39769 glibcxx_cv_func_strtof_use=no
39771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39772 ac_ext=c
39773 ac_cpp='$CPP $CPPFLAGS'
39774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39783 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39784 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39785 for ac_func in strtof
39786 do :
39787 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39788 if test "x$ac_cv_func_strtof" = x""yes; then :
39789 cat >>confdefs.h <<_ACEOF
39790 #define HAVE_STRTOF 1
39791 _ACEOF
39794 done
39801 CXXFLAGS="$ac_save_CXXFLAGS"
39808 am_save_CPPFLAGS="$CPPFLAGS"
39810 for element in $INCICONV; do
39811 haveit=
39812 for x in $CPPFLAGS; do
39814 acl_save_prefix="$prefix"
39815 prefix="$acl_final_prefix"
39816 acl_save_exec_prefix="$exec_prefix"
39817 exec_prefix="$acl_final_exec_prefix"
39818 eval x=\"$x\"
39819 exec_prefix="$acl_save_exec_prefix"
39820 prefix="$acl_save_prefix"
39822 if test "X$x" = "X$element"; then
39823 haveit=yes
39824 break
39826 done
39827 if test -z "$haveit"; then
39828 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39830 done
39833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39834 $as_echo_n "checking for iconv... " >&6; }
39835 if test "${am_cv_func_iconv+set}" = set; then :
39836 $as_echo_n "(cached) " >&6
39837 else
39839 am_cv_func_iconv="no, consider installing GNU libiconv"
39840 am_cv_lib_iconv=no
39841 if test x$gcc_no_link = xyes; then
39842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39845 /* end confdefs.h. */
39846 #include <stdlib.h>
39847 #include <iconv.h>
39849 main ()
39851 iconv_t cd = iconv_open("","");
39852 iconv(cd,NULL,NULL,NULL,NULL);
39853 iconv_close(cd);
39855 return 0;
39857 _ACEOF
39858 if ac_fn_c_try_link "$LINENO"; then :
39859 am_cv_func_iconv=yes
39861 rm -f core conftest.err conftest.$ac_objext \
39862 conftest$ac_exeext conftest.$ac_ext
39863 if test "$am_cv_func_iconv" != yes; then
39864 am_save_LIBS="$LIBS"
39865 LIBS="$LIBS $LIBICONV"
39866 if test x$gcc_no_link = xyes; then
39867 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39870 /* end confdefs.h. */
39871 #include <stdlib.h>
39872 #include <iconv.h>
39874 main ()
39876 iconv_t cd = iconv_open("","");
39877 iconv(cd,NULL,NULL,NULL,NULL);
39878 iconv_close(cd);
39880 return 0;
39882 _ACEOF
39883 if ac_fn_c_try_link "$LINENO"; then :
39884 am_cv_lib_iconv=yes
39885 am_cv_func_iconv=yes
39887 rm -f core conftest.err conftest.$ac_objext \
39888 conftest$ac_exeext conftest.$ac_ext
39889 LIBS="$am_save_LIBS"
39893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39894 $as_echo "$am_cv_func_iconv" >&6; }
39895 if test "$am_cv_func_iconv" = yes; then
39897 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39900 if test "$am_cv_lib_iconv" = yes; then
39901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39902 $as_echo_n "checking how to link with libiconv... " >&6; }
39903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39904 $as_echo "$LIBICONV" >&6; }
39905 else
39906 CPPFLAGS="$am_save_CPPFLAGS"
39907 LIBICONV=
39908 LTLIBICONV=
39913 if test "$am_cv_func_iconv" = yes; then
39914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39915 $as_echo_n "checking for iconv declaration... " >&6; }
39916 if test "${am_cv_proto_iconv+set}" = set; then :
39917 $as_echo_n "(cached) " >&6
39918 else
39920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39921 /* end confdefs.h. */
39923 #include <stdlib.h>
39924 #include <iconv.h>
39925 extern
39926 #ifdef __cplusplus
39928 #endif
39929 #if defined(__STDC__) || defined(__cplusplus)
39930 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39931 #else
39932 size_t iconv();
39933 #endif
39936 main ()
39940 return 0;
39942 _ACEOF
39943 if ac_fn_c_try_compile "$LINENO"; then :
39944 am_cv_proto_iconv_arg1=""
39945 else
39946 am_cv_proto_iconv_arg1="const"
39948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39949 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);"
39952 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39954 }$am_cv_proto_iconv" >&5
39955 $as_echo "${ac_t:-
39956 }$am_cv_proto_iconv" >&6; }
39958 cat >>confdefs.h <<_ACEOF
39959 #define ICONV_CONST $am_cv_proto_iconv_arg1
39960 _ACEOF
39966 *-aix*)
39968 # If we're not using GNU ld, then there's no point in even trying these
39969 # tests. Check for that first. We should have already tested for gld
39970 # by now (in libtool), but require it now just to be safe...
39971 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
39972 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
39976 # The name set by libtool depends on the version of libtool. Shame on us
39977 # for depending on an impl detail, but c'est la vie. Older versions used
39978 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
39979 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
39980 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
39981 # set (hence we're using an older libtool), then set it.
39982 if test x${with_gnu_ld+set} != xset; then
39983 if test x${ac_cv_prog_gnu_ld+set} != xset; then
39984 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
39985 with_gnu_ld=no
39986 else
39987 with_gnu_ld=$ac_cv_prog_gnu_ld
39991 # Start by getting the version number. I think the libtool test already
39992 # does some of this, but throws away the result.
39993 glibcxx_ld_is_gold=no
39994 if test x"$with_gnu_ld" = x"yes"; then
39995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
39996 $as_echo_n "checking for ld version... " >&6; }
39998 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
39999 glibcxx_ld_is_gold=yes
40001 ldver=`$LD --version 2>/dev/null |
40002 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'`
40004 glibcxx_gnu_ld_version=`echo $ldver | \
40005 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40007 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40010 # Set --gc-sections.
40011 glibcxx_have_gc_sections=no
40012 if test "$glibcxx_ld_is_gold" = "yes"; then
40013 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40014 glibcxx_have_gc_sections=yes
40016 else
40017 glibcxx_gcsections_min_ld=21602
40018 if test x"$with_gnu_ld" = x"yes" &&
40019 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40020 glibcxx_have_gc_sections=yes
40023 if test "$glibcxx_have_gc_sections" = "yes"; then
40024 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40025 # NB: This flag only works reliably after 2.16.1. Configure tests
40026 # for this are difficult, so hard wire a value that should work.
40028 ac_test_CFLAGS="${CFLAGS+set}"
40029 ac_save_CFLAGS="$CFLAGS"
40030 CFLAGS='-Wl,--gc-sections'
40032 # Check for -Wl,--gc-sections
40033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40034 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40035 if test x$gcc_no_link = xyes; then
40036 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40039 /* end confdefs.h. */
40040 int one(void) { return 1; }
40041 int two(void) { return 2; }
40044 main ()
40046 two();
40048 return 0;
40050 _ACEOF
40051 if ac_fn_c_try_link "$LINENO"; then :
40052 ac_gcsections=yes
40053 else
40054 ac_gcsections=no
40056 rm -f core conftest.err conftest.$ac_objext \
40057 conftest$ac_exeext conftest.$ac_ext
40058 if test "$ac_gcsections" = "yes"; then
40059 rm -f conftest.c
40060 touch conftest.c
40061 if $CC -c conftest.c; then
40062 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40063 grep "Warning: gc-sections option ignored" > /dev/null; then
40064 ac_gcsections=no
40067 rm -f conftest.c conftest.o conftest
40069 if test "$ac_gcsections" = "yes"; then
40070 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40073 $as_echo "$ac_gcsections" >&6; }
40075 if test "$ac_test_CFLAGS" = set; then
40076 CFLAGS="$ac_save_CFLAGS"
40077 else
40078 # this is the suspicious part
40079 CFLAGS=''
40083 # Set -z,relro.
40084 # Note this is only for shared objects.
40085 ac_ld_relro=no
40086 if test x"$with_gnu_ld" = x"yes"; then
40087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40088 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40089 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40090 if test -n "$cxx_z_relo"; then
40091 OPT_LDFLAGS="-Wl,-z,relro"
40092 ac_ld_relro=yes
40094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40095 $as_echo "$ac_ld_relro" >&6; }
40098 # Set linker optimization flags.
40099 if test x"$with_gnu_ld" = x"yes"; then
40100 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40107 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40108 ac_save_CXXFLAGS="$CXXFLAGS"
40109 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40112 $as_echo_n "checking for sin in -lm... " >&6; }
40113 if test "${ac_cv_lib_m_sin+set}" = set; then :
40114 $as_echo_n "(cached) " >&6
40115 else
40116 ac_check_lib_save_LIBS=$LIBS
40117 LIBS="-lm $LIBS"
40118 if test x$gcc_no_link = xyes; then
40119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40122 /* end confdefs.h. */
40124 /* Override any GCC internal prototype to avoid an error.
40125 Use char because int might match the return type of a GCC
40126 builtin and then its argument prototype would still apply. */
40127 #ifdef __cplusplus
40128 extern "C"
40129 #endif
40130 char sin ();
40132 main ()
40134 return sin ();
40136 return 0;
40138 _ACEOF
40139 if ac_fn_c_try_link "$LINENO"; then :
40140 ac_cv_lib_m_sin=yes
40141 else
40142 ac_cv_lib_m_sin=no
40144 rm -f core conftest.err conftest.$ac_objext \
40145 conftest$ac_exeext conftest.$ac_ext
40146 LIBS=$ac_check_lib_save_LIBS
40148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40149 $as_echo "$ac_cv_lib_m_sin" >&6; }
40150 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40151 libm="-lm"
40154 ac_save_LIBS="$LIBS"
40155 LIBS="$LIBS $libm"
40159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40160 $as_echo_n "checking for isinf declaration... " >&6; }
40161 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40162 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40163 $as_echo_n "(cached) " >&6
40164 else
40167 ac_ext=cpp
40168 ac_cpp='$CXXCPP $CPPFLAGS'
40169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40174 /* end confdefs.h. */
40175 #include <math.h>
40176 #ifdef HAVE_IEEEFP_H
40177 #include <ieeefp.h>
40178 #endif
40181 main ()
40183 isinf(0);
40185 return 0;
40187 _ACEOF
40188 if ac_fn_cxx_try_compile "$LINENO"; then :
40189 glibcxx_cv_func_isinf_use=yes
40190 else
40191 glibcxx_cv_func_isinf_use=no
40193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40194 ac_ext=c
40195 ac_cpp='$CPP $CPPFLAGS'
40196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40205 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40207 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40208 for ac_func in isinf
40209 do :
40210 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40211 if test "x$ac_cv_func_isinf" = x""yes; then :
40212 cat >>confdefs.h <<_ACEOF
40213 #define HAVE_ISINF 1
40214 _ACEOF
40217 done
40219 else
40221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40222 $as_echo_n "checking for _isinf declaration... " >&6; }
40223 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40224 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40225 $as_echo_n "(cached) " >&6
40226 else
40229 ac_ext=cpp
40230 ac_cpp='$CXXCPP $CPPFLAGS'
40231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40236 /* end confdefs.h. */
40237 #include <math.h>
40238 #ifdef HAVE_IEEEFP_H
40239 #include <ieeefp.h>
40240 #endif
40243 main ()
40245 _isinf(0);
40247 return 0;
40249 _ACEOF
40250 if ac_fn_cxx_try_compile "$LINENO"; then :
40251 glibcxx_cv_func__isinf_use=yes
40252 else
40253 glibcxx_cv_func__isinf_use=no
40255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40256 ac_ext=c
40257 ac_cpp='$CPP $CPPFLAGS'
40258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40267 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40269 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40270 for ac_func in _isinf
40271 do :
40272 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40273 if test "x$ac_cv_func__isinf" = x""yes; then :
40274 cat >>confdefs.h <<_ACEOF
40275 #define HAVE__ISINF 1
40276 _ACEOF
40279 done
40288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40289 $as_echo_n "checking for isnan declaration... " >&6; }
40290 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40291 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40292 $as_echo_n "(cached) " >&6
40293 else
40296 ac_ext=cpp
40297 ac_cpp='$CXXCPP $CPPFLAGS'
40298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40303 /* end confdefs.h. */
40304 #include <math.h>
40305 #ifdef HAVE_IEEEFP_H
40306 #include <ieeefp.h>
40307 #endif
40310 main ()
40312 isnan(0);
40314 return 0;
40316 _ACEOF
40317 if ac_fn_cxx_try_compile "$LINENO"; then :
40318 glibcxx_cv_func_isnan_use=yes
40319 else
40320 glibcxx_cv_func_isnan_use=no
40322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40323 ac_ext=c
40324 ac_cpp='$CPP $CPPFLAGS'
40325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40334 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40336 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40337 for ac_func in isnan
40338 do :
40339 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40340 if test "x$ac_cv_func_isnan" = x""yes; then :
40341 cat >>confdefs.h <<_ACEOF
40342 #define HAVE_ISNAN 1
40343 _ACEOF
40346 done
40348 else
40350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40351 $as_echo_n "checking for _isnan declaration... " >&6; }
40352 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40353 if test "${glibcxx_cv_func__isnan_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 _isnan(0);
40376 return 0;
40378 _ACEOF
40379 if ac_fn_cxx_try_compile "$LINENO"; then :
40380 glibcxx_cv_func__isnan_use=yes
40381 else
40382 glibcxx_cv_func__isnan_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__isnan_use" >&5
40396 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40398 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40399 for ac_func in _isnan
40400 do :
40401 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40402 if test "x$ac_cv_func__isnan" = x""yes; then :
40403 cat >>confdefs.h <<_ACEOF
40404 #define HAVE__ISNAN 1
40405 _ACEOF
40408 done
40417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40418 $as_echo_n "checking for finite declaration... " >&6; }
40419 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40420 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40421 $as_echo_n "(cached) " >&6
40422 else
40425 ac_ext=cpp
40426 ac_cpp='$CXXCPP $CPPFLAGS'
40427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40432 /* end confdefs.h. */
40433 #include <math.h>
40434 #ifdef HAVE_IEEEFP_H
40435 #include <ieeefp.h>
40436 #endif
40439 main ()
40441 finite(0);
40443 return 0;
40445 _ACEOF
40446 if ac_fn_cxx_try_compile "$LINENO"; then :
40447 glibcxx_cv_func_finite_use=yes
40448 else
40449 glibcxx_cv_func_finite_use=no
40451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40452 ac_ext=c
40453 ac_cpp='$CPP $CPPFLAGS'
40454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40463 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40465 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40466 for ac_func in finite
40467 do :
40468 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40469 if test "x$ac_cv_func_finite" = x""yes; then :
40470 cat >>confdefs.h <<_ACEOF
40471 #define HAVE_FINITE 1
40472 _ACEOF
40475 done
40477 else
40479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40480 $as_echo_n "checking for _finite declaration... " >&6; }
40481 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40482 if test "${glibcxx_cv_func__finite_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>
40496 #ifdef HAVE_IEEEFP_H
40497 #include <ieeefp.h>
40498 #endif
40501 main ()
40503 _finite(0);
40505 return 0;
40507 _ACEOF
40508 if ac_fn_cxx_try_compile "$LINENO"; then :
40509 glibcxx_cv_func__finite_use=yes
40510 else
40511 glibcxx_cv_func__finite_use=no
40513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40514 ac_ext=c
40515 ac_cpp='$CPP $CPPFLAGS'
40516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40525 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40527 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40528 for ac_func in _finite
40529 do :
40530 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40531 if test "x$ac_cv_func__finite" = x""yes; then :
40532 cat >>confdefs.h <<_ACEOF
40533 #define HAVE__FINITE 1
40534 _ACEOF
40537 done
40546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40547 $as_echo_n "checking for sincos declaration... " >&6; }
40548 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40549 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40550 $as_echo_n "(cached) " >&6
40551 else
40554 ac_ext=cpp
40555 ac_cpp='$CXXCPP $CPPFLAGS'
40556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40561 /* end confdefs.h. */
40562 #include <math.h>
40564 main ()
40566 sincos(0, 0, 0);
40568 return 0;
40570 _ACEOF
40571 if ac_fn_cxx_try_compile "$LINENO"; then :
40572 glibcxx_cv_func_sincos_use=yes
40573 else
40574 glibcxx_cv_func_sincos_use=no
40576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40577 ac_ext=c
40578 ac_cpp='$CPP $CPPFLAGS'
40579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40588 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40590 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40591 for ac_func in sincos
40592 do :
40593 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40594 if test "x$ac_cv_func_sincos" = x""yes; then :
40595 cat >>confdefs.h <<_ACEOF
40596 #define HAVE_SINCOS 1
40597 _ACEOF
40600 done
40602 else
40604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40605 $as_echo_n "checking for _sincos declaration... " >&6; }
40606 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40607 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40608 $as_echo_n "(cached) " >&6
40609 else
40612 ac_ext=cpp
40613 ac_cpp='$CXXCPP $CPPFLAGS'
40614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40619 /* end confdefs.h. */
40620 #include <math.h>
40622 main ()
40624 _sincos(0, 0, 0);
40626 return 0;
40628 _ACEOF
40629 if ac_fn_cxx_try_compile "$LINENO"; then :
40630 glibcxx_cv_func__sincos_use=yes
40631 else
40632 glibcxx_cv_func__sincos_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__sincos_use" >&5
40646 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40648 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40649 for ac_func in _sincos
40650 do :
40651 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40652 if test "x$ac_cv_func__sincos" = x""yes; then :
40653 cat >>confdefs.h <<_ACEOF
40654 #define HAVE__SINCOS 1
40655 _ACEOF
40658 done
40667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40668 $as_echo_n "checking for fpclass declaration... " >&6; }
40669 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40670 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40671 $as_echo_n "(cached) " >&6
40672 else
40675 ac_ext=cpp
40676 ac_cpp='$CXXCPP $CPPFLAGS'
40677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40682 /* end confdefs.h. */
40683 #include <math.h>
40684 #ifdef HAVE_IEEEFP_H
40685 #include <ieeefp.h>
40686 #endif
40689 main ()
40691 fpclass(0);
40693 return 0;
40695 _ACEOF
40696 if ac_fn_cxx_try_compile "$LINENO"; then :
40697 glibcxx_cv_func_fpclass_use=yes
40698 else
40699 glibcxx_cv_func_fpclass_use=no
40701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40702 ac_ext=c
40703 ac_cpp='$CPP $CPPFLAGS'
40704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40713 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40715 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40716 for ac_func in fpclass
40717 do :
40718 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40719 if test "x$ac_cv_func_fpclass" = x""yes; then :
40720 cat >>confdefs.h <<_ACEOF
40721 #define HAVE_FPCLASS 1
40722 _ACEOF
40725 done
40727 else
40729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40730 $as_echo_n "checking for _fpclass declaration... " >&6; }
40731 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40732 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40733 $as_echo_n "(cached) " >&6
40734 else
40737 ac_ext=cpp
40738 ac_cpp='$CXXCPP $CPPFLAGS'
40739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40744 /* end confdefs.h. */
40745 #include <math.h>
40746 #ifdef HAVE_IEEEFP_H
40747 #include <ieeefp.h>
40748 #endif
40751 main ()
40753 _fpclass(0);
40755 return 0;
40757 _ACEOF
40758 if ac_fn_cxx_try_compile "$LINENO"; then :
40759 glibcxx_cv_func__fpclass_use=yes
40760 else
40761 glibcxx_cv_func__fpclass_use=no
40763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40764 ac_ext=c
40765 ac_cpp='$CPP $CPPFLAGS'
40766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40775 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40777 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40778 for ac_func in _fpclass
40779 do :
40780 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40781 if test "x$ac_cv_func__fpclass" = x""yes; then :
40782 cat >>confdefs.h <<_ACEOF
40783 #define HAVE__FPCLASS 1
40784 _ACEOF
40787 done
40796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40797 $as_echo_n "checking for qfpclass declaration... " >&6; }
40798 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40799 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40800 $as_echo_n "(cached) " >&6
40801 else
40804 ac_ext=cpp
40805 ac_cpp='$CXXCPP $CPPFLAGS'
40806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40811 /* end confdefs.h. */
40812 #include <math.h>
40813 #ifdef HAVE_IEEEFP_H
40814 #include <ieeefp.h>
40815 #endif
40818 main ()
40820 qfpclass(0);
40822 return 0;
40824 _ACEOF
40825 if ac_fn_cxx_try_compile "$LINENO"; then :
40826 glibcxx_cv_func_qfpclass_use=yes
40827 else
40828 glibcxx_cv_func_qfpclass_use=no
40830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40831 ac_ext=c
40832 ac_cpp='$CPP $CPPFLAGS'
40833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40842 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40844 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40845 for ac_func in qfpclass
40846 do :
40847 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40848 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40849 cat >>confdefs.h <<_ACEOF
40850 #define HAVE_QFPCLASS 1
40851 _ACEOF
40854 done
40856 else
40858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40859 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40860 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40861 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40862 $as_echo_n "(cached) " >&6
40863 else
40866 ac_ext=cpp
40867 ac_cpp='$CXXCPP $CPPFLAGS'
40868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40873 /* end confdefs.h. */
40874 #include <math.h>
40875 #ifdef HAVE_IEEEFP_H
40876 #include <ieeefp.h>
40877 #endif
40880 main ()
40882 _qfpclass(0);
40884 return 0;
40886 _ACEOF
40887 if ac_fn_cxx_try_compile "$LINENO"; then :
40888 glibcxx_cv_func__qfpclass_use=yes
40889 else
40890 glibcxx_cv_func__qfpclass_use=no
40892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40893 ac_ext=c
40894 ac_cpp='$CPP $CPPFLAGS'
40895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40904 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40906 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40907 for ac_func in _qfpclass
40908 do :
40909 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40910 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40911 cat >>confdefs.h <<_ACEOF
40912 #define HAVE__QFPCLASS 1
40913 _ACEOF
40916 done
40925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40926 $as_echo_n "checking for hypot declaration... " >&6; }
40927 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40928 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40929 $as_echo_n "(cached) " >&6
40930 else
40933 ac_ext=cpp
40934 ac_cpp='$CXXCPP $CPPFLAGS'
40935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40940 /* end confdefs.h. */
40941 #include <math.h>
40943 main ()
40945 hypot(0, 0);
40947 return 0;
40949 _ACEOF
40950 if ac_fn_cxx_try_compile "$LINENO"; then :
40951 glibcxx_cv_func_hypot_use=yes
40952 else
40953 glibcxx_cv_func_hypot_use=no
40955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40956 ac_ext=c
40957 ac_cpp='$CPP $CPPFLAGS'
40958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40967 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40969 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40970 for ac_func in hypot
40971 do :
40972 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40973 if test "x$ac_cv_func_hypot" = x""yes; then :
40974 cat >>confdefs.h <<_ACEOF
40975 #define HAVE_HYPOT 1
40976 _ACEOF
40979 done
40981 else
40983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40984 $as_echo_n "checking for _hypot declaration... " >&6; }
40985 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40986 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40987 $as_echo_n "(cached) " >&6
40988 else
40991 ac_ext=cpp
40992 ac_cpp='$CXXCPP $CPPFLAGS'
40993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40998 /* end confdefs.h. */
40999 #include <math.h>
41001 main ()
41003 _hypot(0, 0);
41005 return 0;
41007 _ACEOF
41008 if ac_fn_cxx_try_compile "$LINENO"; then :
41009 glibcxx_cv_func__hypot_use=yes
41010 else
41011 glibcxx_cv_func__hypot_use=no
41013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41014 ac_ext=c
41015 ac_cpp='$CPP $CPPFLAGS'
41016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41025 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41027 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41028 for ac_func in _hypot
41029 do :
41030 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41031 if test "x$ac_cv_func__hypot" = x""yes; then :
41032 cat >>confdefs.h <<_ACEOF
41033 #define HAVE__HYPOT 1
41034 _ACEOF
41037 done
41046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41047 $as_echo_n "checking for float trig functions... " >&6; }
41048 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41049 $as_echo_n "(cached) " >&6
41050 else
41053 ac_ext=cpp
41054 ac_cpp='$CXXCPP $CPPFLAGS'
41055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41060 /* end confdefs.h. */
41061 #include <math.h>
41063 main ()
41065 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41067 return 0;
41069 _ACEOF
41070 if ac_fn_cxx_try_compile "$LINENO"; then :
41071 glibcxx_cv_func_float_trig_use=yes
41072 else
41073 glibcxx_cv_func_float_trig_use=no
41075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41076 ac_ext=c
41077 ac_cpp='$CPP $CPPFLAGS'
41078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41085 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41086 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41087 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41088 do :
41089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41091 eval as_val=\$$as_ac_var
41092 if test "x$as_val" = x""yes; then :
41093 cat >>confdefs.h <<_ACEOF
41094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41095 _ACEOF
41098 done
41100 else
41101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41102 $as_echo_n "checking for _float trig functions... " >&6; }
41103 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41104 $as_echo_n "(cached) " >&6
41105 else
41108 ac_ext=cpp
41109 ac_cpp='$CXXCPP $CPPFLAGS'
41110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41115 /* end confdefs.h. */
41116 #include <math.h>
41118 main ()
41120 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41122 return 0;
41124 _ACEOF
41125 if ac_fn_cxx_try_compile "$LINENO"; then :
41126 glibcxx_cv_func__float_trig_use=yes
41127 else
41128 glibcxx_cv_func__float_trig_use=no
41130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41131 ac_ext=c
41132 ac_cpp='$CPP $CPPFLAGS'
41133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41140 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41141 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41142 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41143 do :
41144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41146 eval as_val=\$$as_ac_var
41147 if test "x$as_val" = x""yes; then :
41148 cat >>confdefs.h <<_ACEOF
41149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41150 _ACEOF
41153 done
41162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41163 $as_echo_n "checking for float round functions... " >&6; }
41164 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41165 $as_echo_n "(cached) " >&6
41166 else
41169 ac_ext=cpp
41170 ac_cpp='$CXXCPP $CPPFLAGS'
41171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41176 /* end confdefs.h. */
41177 #include <math.h>
41179 main ()
41181 ceilf (0); floorf (0);
41183 return 0;
41185 _ACEOF
41186 if ac_fn_cxx_try_compile "$LINENO"; then :
41187 glibcxx_cv_func_float_round_use=yes
41188 else
41189 glibcxx_cv_func_float_round_use=no
41191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41192 ac_ext=c
41193 ac_cpp='$CPP $CPPFLAGS'
41194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41201 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41202 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41203 for ac_func in ceilf floorf
41204 do :
41205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41207 eval as_val=\$$as_ac_var
41208 if test "x$as_val" = x""yes; then :
41209 cat >>confdefs.h <<_ACEOF
41210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41211 _ACEOF
41214 done
41216 else
41217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41218 $as_echo_n "checking for _float round functions... " >&6; }
41219 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41220 $as_echo_n "(cached) " >&6
41221 else
41224 ac_ext=cpp
41225 ac_cpp='$CXXCPP $CPPFLAGS'
41226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41231 /* end confdefs.h. */
41232 #include <math.h>
41234 main ()
41236 _ceilf (0); _floorf (0);
41238 return 0;
41240 _ACEOF
41241 if ac_fn_cxx_try_compile "$LINENO"; then :
41242 glibcxx_cv_func__float_round_use=yes
41243 else
41244 glibcxx_cv_func__float_round_use=no
41246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41247 ac_ext=c
41248 ac_cpp='$CPP $CPPFLAGS'
41249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41256 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41257 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41258 for ac_func in _ceilf _floorf
41259 do :
41260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41262 eval as_val=\$$as_ac_var
41263 if test "x$as_val" = x""yes; then :
41264 cat >>confdefs.h <<_ACEOF
41265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41266 _ACEOF
41269 done
41279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41280 $as_echo_n "checking for expf declaration... " >&6; }
41281 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41282 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41283 $as_echo_n "(cached) " >&6
41284 else
41287 ac_ext=cpp
41288 ac_cpp='$CXXCPP $CPPFLAGS'
41289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41294 /* end confdefs.h. */
41295 #include <math.h>
41296 #ifdef HAVE_IEEEFP_H
41297 #include <ieeefp.h>
41298 #endif
41301 main ()
41303 expf(0);
41305 return 0;
41307 _ACEOF
41308 if ac_fn_cxx_try_compile "$LINENO"; then :
41309 glibcxx_cv_func_expf_use=yes
41310 else
41311 glibcxx_cv_func_expf_use=no
41313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41314 ac_ext=c
41315 ac_cpp='$CPP $CPPFLAGS'
41316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41325 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41327 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41328 for ac_func in expf
41329 do :
41330 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41331 if test "x$ac_cv_func_expf" = x""yes; then :
41332 cat >>confdefs.h <<_ACEOF
41333 #define HAVE_EXPF 1
41334 _ACEOF
41337 done
41339 else
41341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41342 $as_echo_n "checking for _expf declaration... " >&6; }
41343 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41344 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41345 $as_echo_n "(cached) " >&6
41346 else
41349 ac_ext=cpp
41350 ac_cpp='$CXXCPP $CPPFLAGS'
41351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41356 /* end confdefs.h. */
41357 #include <math.h>
41358 #ifdef HAVE_IEEEFP_H
41359 #include <ieeefp.h>
41360 #endif
41363 main ()
41365 _expf(0);
41367 return 0;
41369 _ACEOF
41370 if ac_fn_cxx_try_compile "$LINENO"; then :
41371 glibcxx_cv_func__expf_use=yes
41372 else
41373 glibcxx_cv_func__expf_use=no
41375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41376 ac_ext=c
41377 ac_cpp='$CPP $CPPFLAGS'
41378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41387 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41389 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41390 for ac_func in _expf
41391 do :
41392 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41393 if test "x$ac_cv_func__expf" = x""yes; then :
41394 cat >>confdefs.h <<_ACEOF
41395 #define HAVE__EXPF 1
41396 _ACEOF
41399 done
41408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41409 $as_echo_n "checking for isnanf declaration... " >&6; }
41410 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41411 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41412 $as_echo_n "(cached) " >&6
41413 else
41416 ac_ext=cpp
41417 ac_cpp='$CXXCPP $CPPFLAGS'
41418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41423 /* end confdefs.h. */
41424 #include <math.h>
41425 #ifdef HAVE_IEEEFP_H
41426 #include <ieeefp.h>
41427 #endif
41430 main ()
41432 isnanf(0);
41434 return 0;
41436 _ACEOF
41437 if ac_fn_cxx_try_compile "$LINENO"; then :
41438 glibcxx_cv_func_isnanf_use=yes
41439 else
41440 glibcxx_cv_func_isnanf_use=no
41442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41443 ac_ext=c
41444 ac_cpp='$CPP $CPPFLAGS'
41445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41454 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41456 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41457 for ac_func in isnanf
41458 do :
41459 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41460 if test "x$ac_cv_func_isnanf" = x""yes; then :
41461 cat >>confdefs.h <<_ACEOF
41462 #define HAVE_ISNANF 1
41463 _ACEOF
41466 done
41468 else
41470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41471 $as_echo_n "checking for _isnanf declaration... " >&6; }
41472 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41473 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41474 $as_echo_n "(cached) " >&6
41475 else
41478 ac_ext=cpp
41479 ac_cpp='$CXXCPP $CPPFLAGS'
41480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41485 /* end confdefs.h. */
41486 #include <math.h>
41487 #ifdef HAVE_IEEEFP_H
41488 #include <ieeefp.h>
41489 #endif
41492 main ()
41494 _isnanf(0);
41496 return 0;
41498 _ACEOF
41499 if ac_fn_cxx_try_compile "$LINENO"; then :
41500 glibcxx_cv_func__isnanf_use=yes
41501 else
41502 glibcxx_cv_func__isnanf_use=no
41504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41505 ac_ext=c
41506 ac_cpp='$CPP $CPPFLAGS'
41507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41516 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41518 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41519 for ac_func in _isnanf
41520 do :
41521 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41522 if test "x$ac_cv_func__isnanf" = x""yes; then :
41523 cat >>confdefs.h <<_ACEOF
41524 #define HAVE__ISNANF 1
41525 _ACEOF
41528 done
41537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41538 $as_echo_n "checking for isinff declaration... " >&6; }
41539 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41540 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41541 $as_echo_n "(cached) " >&6
41542 else
41545 ac_ext=cpp
41546 ac_cpp='$CXXCPP $CPPFLAGS'
41547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41552 /* end confdefs.h. */
41553 #include <math.h>
41554 #ifdef HAVE_IEEEFP_H
41555 #include <ieeefp.h>
41556 #endif
41559 main ()
41561 isinff(0);
41563 return 0;
41565 _ACEOF
41566 if ac_fn_cxx_try_compile "$LINENO"; then :
41567 glibcxx_cv_func_isinff_use=yes
41568 else
41569 glibcxx_cv_func_isinff_use=no
41571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41572 ac_ext=c
41573 ac_cpp='$CPP $CPPFLAGS'
41574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41583 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41585 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41586 for ac_func in isinff
41587 do :
41588 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41589 if test "x$ac_cv_func_isinff" = x""yes; then :
41590 cat >>confdefs.h <<_ACEOF
41591 #define HAVE_ISINFF 1
41592 _ACEOF
41595 done
41597 else
41599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41600 $as_echo_n "checking for _isinff declaration... " >&6; }
41601 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41602 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41603 $as_echo_n "(cached) " >&6
41604 else
41607 ac_ext=cpp
41608 ac_cpp='$CXXCPP $CPPFLAGS'
41609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41614 /* end confdefs.h. */
41615 #include <math.h>
41616 #ifdef HAVE_IEEEFP_H
41617 #include <ieeefp.h>
41618 #endif
41621 main ()
41623 _isinff(0);
41625 return 0;
41627 _ACEOF
41628 if ac_fn_cxx_try_compile "$LINENO"; then :
41629 glibcxx_cv_func__isinff_use=yes
41630 else
41631 glibcxx_cv_func__isinff_use=no
41633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41634 ac_ext=c
41635 ac_cpp='$CPP $CPPFLAGS'
41636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41645 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41647 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41648 for ac_func in _isinff
41649 do :
41650 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41651 if test "x$ac_cv_func__isinff" = x""yes; then :
41652 cat >>confdefs.h <<_ACEOF
41653 #define HAVE__ISINFF 1
41654 _ACEOF
41657 done
41666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41667 $as_echo_n "checking for atan2f declaration... " >&6; }
41668 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41669 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41670 $as_echo_n "(cached) " >&6
41671 else
41674 ac_ext=cpp
41675 ac_cpp='$CXXCPP $CPPFLAGS'
41676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41681 /* end confdefs.h. */
41682 #include <math.h>
41684 main ()
41686 atan2f(0, 0);
41688 return 0;
41690 _ACEOF
41691 if ac_fn_cxx_try_compile "$LINENO"; then :
41692 glibcxx_cv_func_atan2f_use=yes
41693 else
41694 glibcxx_cv_func_atan2f_use=no
41696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41697 ac_ext=c
41698 ac_cpp='$CPP $CPPFLAGS'
41699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41708 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41710 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41711 for ac_func in atan2f
41712 do :
41713 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41714 if test "x$ac_cv_func_atan2f" = x""yes; then :
41715 cat >>confdefs.h <<_ACEOF
41716 #define HAVE_ATAN2F 1
41717 _ACEOF
41720 done
41722 else
41724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41725 $as_echo_n "checking for _atan2f declaration... " >&6; }
41726 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41727 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41728 $as_echo_n "(cached) " >&6
41729 else
41732 ac_ext=cpp
41733 ac_cpp='$CXXCPP $CPPFLAGS'
41734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41739 /* end confdefs.h. */
41740 #include <math.h>
41742 main ()
41744 _atan2f(0, 0);
41746 return 0;
41748 _ACEOF
41749 if ac_fn_cxx_try_compile "$LINENO"; then :
41750 glibcxx_cv_func__atan2f_use=yes
41751 else
41752 glibcxx_cv_func__atan2f_use=no
41754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41755 ac_ext=c
41756 ac_cpp='$CPP $CPPFLAGS'
41757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41766 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41768 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41769 for ac_func in _atan2f
41770 do :
41771 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41772 if test "x$ac_cv_func__atan2f" = x""yes; then :
41773 cat >>confdefs.h <<_ACEOF
41774 #define HAVE__ATAN2F 1
41775 _ACEOF
41778 done
41787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41788 $as_echo_n "checking for fabsf declaration... " >&6; }
41789 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41790 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41791 $as_echo_n "(cached) " >&6
41792 else
41795 ac_ext=cpp
41796 ac_cpp='$CXXCPP $CPPFLAGS'
41797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41802 /* end confdefs.h. */
41803 #include <math.h>
41804 #ifdef HAVE_IEEEFP_H
41805 #include <ieeefp.h>
41806 #endif
41809 main ()
41811 fabsf(0);
41813 return 0;
41815 _ACEOF
41816 if ac_fn_cxx_try_compile "$LINENO"; then :
41817 glibcxx_cv_func_fabsf_use=yes
41818 else
41819 glibcxx_cv_func_fabsf_use=no
41821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41822 ac_ext=c
41823 ac_cpp='$CPP $CPPFLAGS'
41824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41833 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41835 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41836 for ac_func in fabsf
41837 do :
41838 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41839 if test "x$ac_cv_func_fabsf" = x""yes; then :
41840 cat >>confdefs.h <<_ACEOF
41841 #define HAVE_FABSF 1
41842 _ACEOF
41845 done
41847 else
41849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41850 $as_echo_n "checking for _fabsf declaration... " >&6; }
41851 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41852 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41853 $as_echo_n "(cached) " >&6
41854 else
41857 ac_ext=cpp
41858 ac_cpp='$CXXCPP $CPPFLAGS'
41859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41864 /* end confdefs.h. */
41865 #include <math.h>
41866 #ifdef HAVE_IEEEFP_H
41867 #include <ieeefp.h>
41868 #endif
41871 main ()
41873 _fabsf(0);
41875 return 0;
41877 _ACEOF
41878 if ac_fn_cxx_try_compile "$LINENO"; then :
41879 glibcxx_cv_func__fabsf_use=yes
41880 else
41881 glibcxx_cv_func__fabsf_use=no
41883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41884 ac_ext=c
41885 ac_cpp='$CPP $CPPFLAGS'
41886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41895 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41897 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41898 for ac_func in _fabsf
41899 do :
41900 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41901 if test "x$ac_cv_func__fabsf" = x""yes; then :
41902 cat >>confdefs.h <<_ACEOF
41903 #define HAVE__FABSF 1
41904 _ACEOF
41907 done
41916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41917 $as_echo_n "checking for fmodf declaration... " >&6; }
41918 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41919 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41920 $as_echo_n "(cached) " >&6
41921 else
41924 ac_ext=cpp
41925 ac_cpp='$CXXCPP $CPPFLAGS'
41926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41931 /* end confdefs.h. */
41932 #include <math.h>
41934 main ()
41936 fmodf(0, 0);
41938 return 0;
41940 _ACEOF
41941 if ac_fn_cxx_try_compile "$LINENO"; then :
41942 glibcxx_cv_func_fmodf_use=yes
41943 else
41944 glibcxx_cv_func_fmodf_use=no
41946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41947 ac_ext=c
41948 ac_cpp='$CPP $CPPFLAGS'
41949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41958 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41960 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41961 for ac_func in fmodf
41962 do :
41963 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41964 if test "x$ac_cv_func_fmodf" = x""yes; then :
41965 cat >>confdefs.h <<_ACEOF
41966 #define HAVE_FMODF 1
41967 _ACEOF
41970 done
41972 else
41974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41975 $as_echo_n "checking for _fmodf declaration... " >&6; }
41976 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41977 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41978 $as_echo_n "(cached) " >&6
41979 else
41982 ac_ext=cpp
41983 ac_cpp='$CXXCPP $CPPFLAGS'
41984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41989 /* end confdefs.h. */
41990 #include <math.h>
41992 main ()
41994 _fmodf(0, 0);
41996 return 0;
41998 _ACEOF
41999 if ac_fn_cxx_try_compile "$LINENO"; then :
42000 glibcxx_cv_func__fmodf_use=yes
42001 else
42002 glibcxx_cv_func__fmodf_use=no
42004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42005 ac_ext=c
42006 ac_cpp='$CPP $CPPFLAGS'
42007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42016 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42018 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42019 for ac_func in _fmodf
42020 do :
42021 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42022 if test "x$ac_cv_func__fmodf" = x""yes; then :
42023 cat >>confdefs.h <<_ACEOF
42024 #define HAVE__FMODF 1
42025 _ACEOF
42028 done
42037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42038 $as_echo_n "checking for frexpf declaration... " >&6; }
42039 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42040 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42041 $as_echo_n "(cached) " >&6
42042 else
42045 ac_ext=cpp
42046 ac_cpp='$CXXCPP $CPPFLAGS'
42047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42052 /* end confdefs.h. */
42053 #include <math.h>
42055 main ()
42057 frexpf(0, 0);
42059 return 0;
42061 _ACEOF
42062 if ac_fn_cxx_try_compile "$LINENO"; then :
42063 glibcxx_cv_func_frexpf_use=yes
42064 else
42065 glibcxx_cv_func_frexpf_use=no
42067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42068 ac_ext=c
42069 ac_cpp='$CPP $CPPFLAGS'
42070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42079 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42081 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42082 for ac_func in frexpf
42083 do :
42084 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42085 if test "x$ac_cv_func_frexpf" = x""yes; then :
42086 cat >>confdefs.h <<_ACEOF
42087 #define HAVE_FREXPF 1
42088 _ACEOF
42091 done
42093 else
42095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42096 $as_echo_n "checking for _frexpf declaration... " >&6; }
42097 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42098 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42099 $as_echo_n "(cached) " >&6
42100 else
42103 ac_ext=cpp
42104 ac_cpp='$CXXCPP $CPPFLAGS'
42105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42110 /* end confdefs.h. */
42111 #include <math.h>
42113 main ()
42115 _frexpf(0, 0);
42117 return 0;
42119 _ACEOF
42120 if ac_fn_cxx_try_compile "$LINENO"; then :
42121 glibcxx_cv_func__frexpf_use=yes
42122 else
42123 glibcxx_cv_func__frexpf_use=no
42125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42126 ac_ext=c
42127 ac_cpp='$CPP $CPPFLAGS'
42128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42137 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42139 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42140 for ac_func in _frexpf
42141 do :
42142 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42143 if test "x$ac_cv_func__frexpf" = x""yes; then :
42144 cat >>confdefs.h <<_ACEOF
42145 #define HAVE__FREXPF 1
42146 _ACEOF
42149 done
42158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42159 $as_echo_n "checking for hypotf declaration... " >&6; }
42160 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42161 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42162 $as_echo_n "(cached) " >&6
42163 else
42166 ac_ext=cpp
42167 ac_cpp='$CXXCPP $CPPFLAGS'
42168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42173 /* end confdefs.h. */
42174 #include <math.h>
42176 main ()
42178 hypotf(0, 0);
42180 return 0;
42182 _ACEOF
42183 if ac_fn_cxx_try_compile "$LINENO"; then :
42184 glibcxx_cv_func_hypotf_use=yes
42185 else
42186 glibcxx_cv_func_hypotf_use=no
42188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42189 ac_ext=c
42190 ac_cpp='$CPP $CPPFLAGS'
42191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42200 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42202 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42203 for ac_func in hypotf
42204 do :
42205 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42206 if test "x$ac_cv_func_hypotf" = x""yes; then :
42207 cat >>confdefs.h <<_ACEOF
42208 #define HAVE_HYPOTF 1
42209 _ACEOF
42212 done
42214 else
42216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42217 $as_echo_n "checking for _hypotf declaration... " >&6; }
42218 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42219 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42220 $as_echo_n "(cached) " >&6
42221 else
42224 ac_ext=cpp
42225 ac_cpp='$CXXCPP $CPPFLAGS'
42226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42231 /* end confdefs.h. */
42232 #include <math.h>
42234 main ()
42236 _hypotf(0, 0);
42238 return 0;
42240 _ACEOF
42241 if ac_fn_cxx_try_compile "$LINENO"; then :
42242 glibcxx_cv_func__hypotf_use=yes
42243 else
42244 glibcxx_cv_func__hypotf_use=no
42246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42247 ac_ext=c
42248 ac_cpp='$CPP $CPPFLAGS'
42249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42258 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42260 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42261 for ac_func in _hypotf
42262 do :
42263 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42264 if test "x$ac_cv_func__hypotf" = x""yes; then :
42265 cat >>confdefs.h <<_ACEOF
42266 #define HAVE__HYPOTF 1
42267 _ACEOF
42270 done
42279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42280 $as_echo_n "checking for ldexpf declaration... " >&6; }
42281 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42282 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42283 $as_echo_n "(cached) " >&6
42284 else
42287 ac_ext=cpp
42288 ac_cpp='$CXXCPP $CPPFLAGS'
42289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42294 /* end confdefs.h. */
42295 #include <math.h>
42297 main ()
42299 ldexpf(0, 0);
42301 return 0;
42303 _ACEOF
42304 if ac_fn_cxx_try_compile "$LINENO"; then :
42305 glibcxx_cv_func_ldexpf_use=yes
42306 else
42307 glibcxx_cv_func_ldexpf_use=no
42309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42310 ac_ext=c
42311 ac_cpp='$CPP $CPPFLAGS'
42312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42321 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42323 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42324 for ac_func in ldexpf
42325 do :
42326 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42327 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42328 cat >>confdefs.h <<_ACEOF
42329 #define HAVE_LDEXPF 1
42330 _ACEOF
42333 done
42335 else
42337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42338 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42339 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42340 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42341 $as_echo_n "(cached) " >&6
42342 else
42345 ac_ext=cpp
42346 ac_cpp='$CXXCPP $CPPFLAGS'
42347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42352 /* end confdefs.h. */
42353 #include <math.h>
42355 main ()
42357 _ldexpf(0, 0);
42359 return 0;
42361 _ACEOF
42362 if ac_fn_cxx_try_compile "$LINENO"; then :
42363 glibcxx_cv_func__ldexpf_use=yes
42364 else
42365 glibcxx_cv_func__ldexpf_use=no
42367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42368 ac_ext=c
42369 ac_cpp='$CPP $CPPFLAGS'
42370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42379 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42381 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42382 for ac_func in _ldexpf
42383 do :
42384 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42385 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42386 cat >>confdefs.h <<_ACEOF
42387 #define HAVE__LDEXPF 1
42388 _ACEOF
42391 done
42400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42401 $as_echo_n "checking for logf declaration... " >&6; }
42402 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42403 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42404 $as_echo_n "(cached) " >&6
42405 else
42408 ac_ext=cpp
42409 ac_cpp='$CXXCPP $CPPFLAGS'
42410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42415 /* end confdefs.h. */
42416 #include <math.h>
42417 #ifdef HAVE_IEEEFP_H
42418 #include <ieeefp.h>
42419 #endif
42422 main ()
42424 logf(0);
42426 return 0;
42428 _ACEOF
42429 if ac_fn_cxx_try_compile "$LINENO"; then :
42430 glibcxx_cv_func_logf_use=yes
42431 else
42432 glibcxx_cv_func_logf_use=no
42434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42435 ac_ext=c
42436 ac_cpp='$CPP $CPPFLAGS'
42437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42446 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42448 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42449 for ac_func in logf
42450 do :
42451 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42452 if test "x$ac_cv_func_logf" = x""yes; then :
42453 cat >>confdefs.h <<_ACEOF
42454 #define HAVE_LOGF 1
42455 _ACEOF
42458 done
42460 else
42462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42463 $as_echo_n "checking for _logf declaration... " >&6; }
42464 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42465 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42466 $as_echo_n "(cached) " >&6
42467 else
42470 ac_ext=cpp
42471 ac_cpp='$CXXCPP $CPPFLAGS'
42472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42477 /* end confdefs.h. */
42478 #include <math.h>
42479 #ifdef HAVE_IEEEFP_H
42480 #include <ieeefp.h>
42481 #endif
42484 main ()
42486 _logf(0);
42488 return 0;
42490 _ACEOF
42491 if ac_fn_cxx_try_compile "$LINENO"; then :
42492 glibcxx_cv_func__logf_use=yes
42493 else
42494 glibcxx_cv_func__logf_use=no
42496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42497 ac_ext=c
42498 ac_cpp='$CPP $CPPFLAGS'
42499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42508 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42510 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42511 for ac_func in _logf
42512 do :
42513 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42514 if test "x$ac_cv_func__logf" = x""yes; then :
42515 cat >>confdefs.h <<_ACEOF
42516 #define HAVE__LOGF 1
42517 _ACEOF
42520 done
42529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42530 $as_echo_n "checking for log10f declaration... " >&6; }
42531 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42532 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42533 $as_echo_n "(cached) " >&6
42534 else
42537 ac_ext=cpp
42538 ac_cpp='$CXXCPP $CPPFLAGS'
42539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42544 /* end confdefs.h. */
42545 #include <math.h>
42546 #ifdef HAVE_IEEEFP_H
42547 #include <ieeefp.h>
42548 #endif
42551 main ()
42553 log10f(0);
42555 return 0;
42557 _ACEOF
42558 if ac_fn_cxx_try_compile "$LINENO"; then :
42559 glibcxx_cv_func_log10f_use=yes
42560 else
42561 glibcxx_cv_func_log10f_use=no
42563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42564 ac_ext=c
42565 ac_cpp='$CPP $CPPFLAGS'
42566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42575 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42577 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42578 for ac_func in log10f
42579 do :
42580 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42581 if test "x$ac_cv_func_log10f" = x""yes; then :
42582 cat >>confdefs.h <<_ACEOF
42583 #define HAVE_LOG10F 1
42584 _ACEOF
42587 done
42589 else
42591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42592 $as_echo_n "checking for _log10f declaration... " >&6; }
42593 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42594 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42595 $as_echo_n "(cached) " >&6
42596 else
42599 ac_ext=cpp
42600 ac_cpp='$CXXCPP $CPPFLAGS'
42601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42606 /* end confdefs.h. */
42607 #include <math.h>
42608 #ifdef HAVE_IEEEFP_H
42609 #include <ieeefp.h>
42610 #endif
42613 main ()
42615 _log10f(0);
42617 return 0;
42619 _ACEOF
42620 if ac_fn_cxx_try_compile "$LINENO"; then :
42621 glibcxx_cv_func__log10f_use=yes
42622 else
42623 glibcxx_cv_func__log10f_use=no
42625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42626 ac_ext=c
42627 ac_cpp='$CPP $CPPFLAGS'
42628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42637 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42639 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42640 for ac_func in _log10f
42641 do :
42642 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42643 if test "x$ac_cv_func__log10f" = x""yes; then :
42644 cat >>confdefs.h <<_ACEOF
42645 #define HAVE__LOG10F 1
42646 _ACEOF
42649 done
42658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42659 $as_echo_n "checking for modff declaration... " >&6; }
42660 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42661 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42662 $as_echo_n "(cached) " >&6
42663 else
42666 ac_ext=cpp
42667 ac_cpp='$CXXCPP $CPPFLAGS'
42668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42673 /* end confdefs.h. */
42674 #include <math.h>
42676 main ()
42678 modff(0, 0);
42680 return 0;
42682 _ACEOF
42683 if ac_fn_cxx_try_compile "$LINENO"; then :
42684 glibcxx_cv_func_modff_use=yes
42685 else
42686 glibcxx_cv_func_modff_use=no
42688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42689 ac_ext=c
42690 ac_cpp='$CPP $CPPFLAGS'
42691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42700 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42702 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42703 for ac_func in modff
42704 do :
42705 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42706 if test "x$ac_cv_func_modff" = x""yes; then :
42707 cat >>confdefs.h <<_ACEOF
42708 #define HAVE_MODFF 1
42709 _ACEOF
42712 done
42714 else
42716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42717 $as_echo_n "checking for _modff declaration... " >&6; }
42718 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42719 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42720 $as_echo_n "(cached) " >&6
42721 else
42724 ac_ext=cpp
42725 ac_cpp='$CXXCPP $CPPFLAGS'
42726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42731 /* end confdefs.h. */
42732 #include <math.h>
42734 main ()
42736 _modff(0, 0);
42738 return 0;
42740 _ACEOF
42741 if ac_fn_cxx_try_compile "$LINENO"; then :
42742 glibcxx_cv_func__modff_use=yes
42743 else
42744 glibcxx_cv_func__modff_use=no
42746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42747 ac_ext=c
42748 ac_cpp='$CPP $CPPFLAGS'
42749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42758 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42760 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42761 for ac_func in _modff
42762 do :
42763 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42764 if test "x$ac_cv_func__modff" = x""yes; then :
42765 cat >>confdefs.h <<_ACEOF
42766 #define HAVE__MODFF 1
42767 _ACEOF
42770 done
42779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42780 $as_echo_n "checking for modf declaration... " >&6; }
42781 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42782 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42783 $as_echo_n "(cached) " >&6
42784 else
42787 ac_ext=cpp
42788 ac_cpp='$CXXCPP $CPPFLAGS'
42789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42794 /* end confdefs.h. */
42795 #include <math.h>
42797 main ()
42799 modf(0, 0);
42801 return 0;
42803 _ACEOF
42804 if ac_fn_cxx_try_compile "$LINENO"; then :
42805 glibcxx_cv_func_modf_use=yes
42806 else
42807 glibcxx_cv_func_modf_use=no
42809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42810 ac_ext=c
42811 ac_cpp='$CPP $CPPFLAGS'
42812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42821 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42823 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42824 for ac_func in modf
42825 do :
42826 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42827 if test "x$ac_cv_func_modf" = x""yes; then :
42828 cat >>confdefs.h <<_ACEOF
42829 #define HAVE_MODF 1
42830 _ACEOF
42833 done
42835 else
42837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42838 $as_echo_n "checking for _modf declaration... " >&6; }
42839 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42840 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42841 $as_echo_n "(cached) " >&6
42842 else
42845 ac_ext=cpp
42846 ac_cpp='$CXXCPP $CPPFLAGS'
42847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42852 /* end confdefs.h. */
42853 #include <math.h>
42855 main ()
42857 _modf(0, 0);
42859 return 0;
42861 _ACEOF
42862 if ac_fn_cxx_try_compile "$LINENO"; then :
42863 glibcxx_cv_func__modf_use=yes
42864 else
42865 glibcxx_cv_func__modf_use=no
42867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42868 ac_ext=c
42869 ac_cpp='$CPP $CPPFLAGS'
42870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42879 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42881 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42882 for ac_func in _modf
42883 do :
42884 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42885 if test "x$ac_cv_func__modf" = x""yes; then :
42886 cat >>confdefs.h <<_ACEOF
42887 #define HAVE__MODF 1
42888 _ACEOF
42891 done
42900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42901 $as_echo_n "checking for powf declaration... " >&6; }
42902 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42903 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42904 $as_echo_n "(cached) " >&6
42905 else
42908 ac_ext=cpp
42909 ac_cpp='$CXXCPP $CPPFLAGS'
42910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42915 /* end confdefs.h. */
42916 #include <math.h>
42918 main ()
42920 powf(0, 0);
42922 return 0;
42924 _ACEOF
42925 if ac_fn_cxx_try_compile "$LINENO"; then :
42926 glibcxx_cv_func_powf_use=yes
42927 else
42928 glibcxx_cv_func_powf_use=no
42930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42931 ac_ext=c
42932 ac_cpp='$CPP $CPPFLAGS'
42933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42942 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42944 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42945 for ac_func in powf
42946 do :
42947 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42948 if test "x$ac_cv_func_powf" = x""yes; then :
42949 cat >>confdefs.h <<_ACEOF
42950 #define HAVE_POWF 1
42951 _ACEOF
42954 done
42956 else
42958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42959 $as_echo_n "checking for _powf declaration... " >&6; }
42960 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42961 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42962 $as_echo_n "(cached) " >&6
42963 else
42966 ac_ext=cpp
42967 ac_cpp='$CXXCPP $CPPFLAGS'
42968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42973 /* end confdefs.h. */
42974 #include <math.h>
42976 main ()
42978 _powf(0, 0);
42980 return 0;
42982 _ACEOF
42983 if ac_fn_cxx_try_compile "$LINENO"; then :
42984 glibcxx_cv_func__powf_use=yes
42985 else
42986 glibcxx_cv_func__powf_use=no
42988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42989 ac_ext=c
42990 ac_cpp='$CPP $CPPFLAGS'
42991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43000 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43002 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43003 for ac_func in _powf
43004 do :
43005 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43006 if test "x$ac_cv_func__powf" = x""yes; then :
43007 cat >>confdefs.h <<_ACEOF
43008 #define HAVE__POWF 1
43009 _ACEOF
43012 done
43021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43022 $as_echo_n "checking for sqrtf declaration... " >&6; }
43023 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43024 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43025 $as_echo_n "(cached) " >&6
43026 else
43029 ac_ext=cpp
43030 ac_cpp='$CXXCPP $CPPFLAGS'
43031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43036 /* end confdefs.h. */
43037 #include <math.h>
43038 #ifdef HAVE_IEEEFP_H
43039 #include <ieeefp.h>
43040 #endif
43043 main ()
43045 sqrtf(0);
43047 return 0;
43049 _ACEOF
43050 if ac_fn_cxx_try_compile "$LINENO"; then :
43051 glibcxx_cv_func_sqrtf_use=yes
43052 else
43053 glibcxx_cv_func_sqrtf_use=no
43055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43056 ac_ext=c
43057 ac_cpp='$CPP $CPPFLAGS'
43058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43067 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43069 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43070 for ac_func in sqrtf
43071 do :
43072 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43073 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43074 cat >>confdefs.h <<_ACEOF
43075 #define HAVE_SQRTF 1
43076 _ACEOF
43079 done
43081 else
43083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43084 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43085 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43086 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43087 $as_echo_n "(cached) " >&6
43088 else
43091 ac_ext=cpp
43092 ac_cpp='$CXXCPP $CPPFLAGS'
43093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43098 /* end confdefs.h. */
43099 #include <math.h>
43100 #ifdef HAVE_IEEEFP_H
43101 #include <ieeefp.h>
43102 #endif
43105 main ()
43107 _sqrtf(0);
43109 return 0;
43111 _ACEOF
43112 if ac_fn_cxx_try_compile "$LINENO"; then :
43113 glibcxx_cv_func__sqrtf_use=yes
43114 else
43115 glibcxx_cv_func__sqrtf_use=no
43117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43118 ac_ext=c
43119 ac_cpp='$CPP $CPPFLAGS'
43120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43129 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43131 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43132 for ac_func in _sqrtf
43133 do :
43134 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43135 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43136 cat >>confdefs.h <<_ACEOF
43137 #define HAVE__SQRTF 1
43138 _ACEOF
43141 done
43150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43151 $as_echo_n "checking for sincosf declaration... " >&6; }
43152 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43153 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43154 $as_echo_n "(cached) " >&6
43155 else
43158 ac_ext=cpp
43159 ac_cpp='$CXXCPP $CPPFLAGS'
43160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43165 /* end confdefs.h. */
43166 #include <math.h>
43168 main ()
43170 sincosf(0, 0, 0);
43172 return 0;
43174 _ACEOF
43175 if ac_fn_cxx_try_compile "$LINENO"; then :
43176 glibcxx_cv_func_sincosf_use=yes
43177 else
43178 glibcxx_cv_func_sincosf_use=no
43180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43181 ac_ext=c
43182 ac_cpp='$CPP $CPPFLAGS'
43183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43192 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43194 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43195 for ac_func in sincosf
43196 do :
43197 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43198 if test "x$ac_cv_func_sincosf" = x""yes; then :
43199 cat >>confdefs.h <<_ACEOF
43200 #define HAVE_SINCOSF 1
43201 _ACEOF
43204 done
43206 else
43208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43209 $as_echo_n "checking for _sincosf declaration... " >&6; }
43210 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43211 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43212 $as_echo_n "(cached) " >&6
43213 else
43216 ac_ext=cpp
43217 ac_cpp='$CXXCPP $CPPFLAGS'
43218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43223 /* end confdefs.h. */
43224 #include <math.h>
43226 main ()
43228 _sincosf(0, 0, 0);
43230 return 0;
43232 _ACEOF
43233 if ac_fn_cxx_try_compile "$LINENO"; then :
43234 glibcxx_cv_func__sincosf_use=yes
43235 else
43236 glibcxx_cv_func__sincosf_use=no
43238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43239 ac_ext=c
43240 ac_cpp='$CPP $CPPFLAGS'
43241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43250 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43252 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43253 for ac_func in _sincosf
43254 do :
43255 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43256 if test "x$ac_cv_func__sincosf" = x""yes; then :
43257 cat >>confdefs.h <<_ACEOF
43258 #define HAVE__SINCOSF 1
43259 _ACEOF
43262 done
43271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43272 $as_echo_n "checking for finitef declaration... " >&6; }
43273 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43274 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43275 $as_echo_n "(cached) " >&6
43276 else
43279 ac_ext=cpp
43280 ac_cpp='$CXXCPP $CPPFLAGS'
43281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43286 /* end confdefs.h. */
43287 #include <math.h>
43288 #ifdef HAVE_IEEEFP_H
43289 #include <ieeefp.h>
43290 #endif
43293 main ()
43295 finitef(0);
43297 return 0;
43299 _ACEOF
43300 if ac_fn_cxx_try_compile "$LINENO"; then :
43301 glibcxx_cv_func_finitef_use=yes
43302 else
43303 glibcxx_cv_func_finitef_use=no
43305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43306 ac_ext=c
43307 ac_cpp='$CPP $CPPFLAGS'
43308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43317 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43319 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43320 for ac_func in finitef
43321 do :
43322 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43323 if test "x$ac_cv_func_finitef" = x""yes; then :
43324 cat >>confdefs.h <<_ACEOF
43325 #define HAVE_FINITEF 1
43326 _ACEOF
43329 done
43331 else
43333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43334 $as_echo_n "checking for _finitef declaration... " >&6; }
43335 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43336 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43337 $as_echo_n "(cached) " >&6
43338 else
43341 ac_ext=cpp
43342 ac_cpp='$CXXCPP $CPPFLAGS'
43343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43348 /* end confdefs.h. */
43349 #include <math.h>
43350 #ifdef HAVE_IEEEFP_H
43351 #include <ieeefp.h>
43352 #endif
43355 main ()
43357 _finitef(0);
43359 return 0;
43361 _ACEOF
43362 if ac_fn_cxx_try_compile "$LINENO"; then :
43363 glibcxx_cv_func__finitef_use=yes
43364 else
43365 glibcxx_cv_func__finitef_use=no
43367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43368 ac_ext=c
43369 ac_cpp='$CPP $CPPFLAGS'
43370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43379 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43381 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43382 for ac_func in _finitef
43383 do :
43384 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43385 if test "x$ac_cv_func__finitef" = x""yes; then :
43386 cat >>confdefs.h <<_ACEOF
43387 #define HAVE__FINITEF 1
43388 _ACEOF
43391 done
43400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43401 $as_echo_n "checking for long double trig functions... " >&6; }
43402 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43403 $as_echo_n "(cached) " >&6
43404 else
43407 ac_ext=cpp
43408 ac_cpp='$CXXCPP $CPPFLAGS'
43409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43414 /* end confdefs.h. */
43415 #include <math.h>
43417 main ()
43419 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43421 return 0;
43423 _ACEOF
43424 if ac_fn_cxx_try_compile "$LINENO"; then :
43425 glibcxx_cv_func_long_double_trig_use=yes
43426 else
43427 glibcxx_cv_func_long_double_trig_use=no
43429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43430 ac_ext=c
43431 ac_cpp='$CPP $CPPFLAGS'
43432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43439 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43440 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43441 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43442 do :
43443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43445 eval as_val=\$$as_ac_var
43446 if test "x$as_val" = x""yes; then :
43447 cat >>confdefs.h <<_ACEOF
43448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43449 _ACEOF
43452 done
43454 else
43455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43456 $as_echo_n "checking for _long double trig functions... " >&6; }
43457 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43458 $as_echo_n "(cached) " >&6
43459 else
43462 ac_ext=cpp
43463 ac_cpp='$CXXCPP $CPPFLAGS'
43464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43469 /* end confdefs.h. */
43470 #include <math.h>
43472 main ()
43474 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43476 return 0;
43478 _ACEOF
43479 if ac_fn_cxx_try_compile "$LINENO"; then :
43480 glibcxx_cv_func__long_double_trig_use=yes
43481 else
43482 glibcxx_cv_func__long_double_trig_use=no
43484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43485 ac_ext=c
43486 ac_cpp='$CPP $CPPFLAGS'
43487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43494 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43495 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43496 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43497 do :
43498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43500 eval as_val=\$$as_ac_var
43501 if test "x$as_val" = x""yes; then :
43502 cat >>confdefs.h <<_ACEOF
43503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43504 _ACEOF
43507 done
43516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43517 $as_echo_n "checking for long double round functions... " >&6; }
43518 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43519 $as_echo_n "(cached) " >&6
43520 else
43523 ac_ext=cpp
43524 ac_cpp='$CXXCPP $CPPFLAGS'
43525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43530 /* end confdefs.h. */
43531 #include <math.h>
43533 main ()
43535 ceill (0); floorl (0);
43537 return 0;
43539 _ACEOF
43540 if ac_fn_cxx_try_compile "$LINENO"; then :
43541 glibcxx_cv_func_long_double_round_use=yes
43542 else
43543 glibcxx_cv_func_long_double_round_use=no
43545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43546 ac_ext=c
43547 ac_cpp='$CPP $CPPFLAGS'
43548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43555 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43556 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43557 for ac_func in ceill floorl
43558 do :
43559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43561 eval as_val=\$$as_ac_var
43562 if test "x$as_val" = x""yes; then :
43563 cat >>confdefs.h <<_ACEOF
43564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43565 _ACEOF
43568 done
43570 else
43571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43572 $as_echo_n "checking for _long double round functions... " >&6; }
43573 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43574 $as_echo_n "(cached) " >&6
43575 else
43578 ac_ext=cpp
43579 ac_cpp='$CXXCPP $CPPFLAGS'
43580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43585 /* end confdefs.h. */
43586 #include <math.h>
43588 main ()
43590 _ceill (0); _floorl (0);
43592 return 0;
43594 _ACEOF
43595 if ac_fn_cxx_try_compile "$LINENO"; then :
43596 glibcxx_cv_func__long_double_round_use=yes
43597 else
43598 glibcxx_cv_func__long_double_round_use=no
43600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43601 ac_ext=c
43602 ac_cpp='$CPP $CPPFLAGS'
43603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43610 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43611 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43612 for ac_func in _ceill _floorl
43613 do :
43614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43616 eval as_val=\$$as_ac_var
43617 if test "x$as_val" = x""yes; then :
43618 cat >>confdefs.h <<_ACEOF
43619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43620 _ACEOF
43623 done
43633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43634 $as_echo_n "checking for isnanl declaration... " >&6; }
43635 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43636 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43637 $as_echo_n "(cached) " >&6
43638 else
43641 ac_ext=cpp
43642 ac_cpp='$CXXCPP $CPPFLAGS'
43643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43648 /* end confdefs.h. */
43649 #include <math.h>
43650 #ifdef HAVE_IEEEFP_H
43651 #include <ieeefp.h>
43652 #endif
43655 main ()
43657 isnanl(0);
43659 return 0;
43661 _ACEOF
43662 if ac_fn_cxx_try_compile "$LINENO"; then :
43663 glibcxx_cv_func_isnanl_use=yes
43664 else
43665 glibcxx_cv_func_isnanl_use=no
43667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43668 ac_ext=c
43669 ac_cpp='$CPP $CPPFLAGS'
43670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43679 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43681 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43682 for ac_func in isnanl
43683 do :
43684 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43685 if test "x$ac_cv_func_isnanl" = x""yes; then :
43686 cat >>confdefs.h <<_ACEOF
43687 #define HAVE_ISNANL 1
43688 _ACEOF
43691 done
43693 else
43695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43696 $as_echo_n "checking for _isnanl declaration... " >&6; }
43697 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43698 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43699 $as_echo_n "(cached) " >&6
43700 else
43703 ac_ext=cpp
43704 ac_cpp='$CXXCPP $CPPFLAGS'
43705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43710 /* end confdefs.h. */
43711 #include <math.h>
43712 #ifdef HAVE_IEEEFP_H
43713 #include <ieeefp.h>
43714 #endif
43717 main ()
43719 _isnanl(0);
43721 return 0;
43723 _ACEOF
43724 if ac_fn_cxx_try_compile "$LINENO"; then :
43725 glibcxx_cv_func__isnanl_use=yes
43726 else
43727 glibcxx_cv_func__isnanl_use=no
43729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43730 ac_ext=c
43731 ac_cpp='$CPP $CPPFLAGS'
43732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43741 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43743 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43744 for ac_func in _isnanl
43745 do :
43746 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43747 if test "x$ac_cv_func__isnanl" = x""yes; then :
43748 cat >>confdefs.h <<_ACEOF
43749 #define HAVE__ISNANL 1
43750 _ACEOF
43753 done
43762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43763 $as_echo_n "checking for isinfl declaration... " >&6; }
43764 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43765 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43766 $as_echo_n "(cached) " >&6
43767 else
43770 ac_ext=cpp
43771 ac_cpp='$CXXCPP $CPPFLAGS'
43772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43777 /* end confdefs.h. */
43778 #include <math.h>
43779 #ifdef HAVE_IEEEFP_H
43780 #include <ieeefp.h>
43781 #endif
43784 main ()
43786 isinfl(0);
43788 return 0;
43790 _ACEOF
43791 if ac_fn_cxx_try_compile "$LINENO"; then :
43792 glibcxx_cv_func_isinfl_use=yes
43793 else
43794 glibcxx_cv_func_isinfl_use=no
43796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43797 ac_ext=c
43798 ac_cpp='$CPP $CPPFLAGS'
43799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43808 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43810 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43811 for ac_func in isinfl
43812 do :
43813 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43814 if test "x$ac_cv_func_isinfl" = x""yes; then :
43815 cat >>confdefs.h <<_ACEOF
43816 #define HAVE_ISINFL 1
43817 _ACEOF
43820 done
43822 else
43824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43825 $as_echo_n "checking for _isinfl declaration... " >&6; }
43826 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43827 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43828 $as_echo_n "(cached) " >&6
43829 else
43832 ac_ext=cpp
43833 ac_cpp='$CXXCPP $CPPFLAGS'
43834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43839 /* end confdefs.h. */
43840 #include <math.h>
43841 #ifdef HAVE_IEEEFP_H
43842 #include <ieeefp.h>
43843 #endif
43846 main ()
43848 _isinfl(0);
43850 return 0;
43852 _ACEOF
43853 if ac_fn_cxx_try_compile "$LINENO"; then :
43854 glibcxx_cv_func__isinfl_use=yes
43855 else
43856 glibcxx_cv_func__isinfl_use=no
43858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43859 ac_ext=c
43860 ac_cpp='$CPP $CPPFLAGS'
43861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43870 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43872 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43873 for ac_func in _isinfl
43874 do :
43875 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43876 if test "x$ac_cv_func__isinfl" = x""yes; then :
43877 cat >>confdefs.h <<_ACEOF
43878 #define HAVE__ISINFL 1
43879 _ACEOF
43882 done
43891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43892 $as_echo_n "checking for atan2l declaration... " >&6; }
43893 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43894 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43895 $as_echo_n "(cached) " >&6
43896 else
43899 ac_ext=cpp
43900 ac_cpp='$CXXCPP $CPPFLAGS'
43901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43906 /* end confdefs.h. */
43907 #include <math.h>
43909 main ()
43911 atan2l(0, 0);
43913 return 0;
43915 _ACEOF
43916 if ac_fn_cxx_try_compile "$LINENO"; then :
43917 glibcxx_cv_func_atan2l_use=yes
43918 else
43919 glibcxx_cv_func_atan2l_use=no
43921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43922 ac_ext=c
43923 ac_cpp='$CPP $CPPFLAGS'
43924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43933 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43935 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43936 for ac_func in atan2l
43937 do :
43938 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43939 if test "x$ac_cv_func_atan2l" = x""yes; then :
43940 cat >>confdefs.h <<_ACEOF
43941 #define HAVE_ATAN2L 1
43942 _ACEOF
43945 done
43947 else
43949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43950 $as_echo_n "checking for _atan2l declaration... " >&6; }
43951 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43952 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43953 $as_echo_n "(cached) " >&6
43954 else
43957 ac_ext=cpp
43958 ac_cpp='$CXXCPP $CPPFLAGS'
43959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43964 /* end confdefs.h. */
43965 #include <math.h>
43967 main ()
43969 _atan2l(0, 0);
43971 return 0;
43973 _ACEOF
43974 if ac_fn_cxx_try_compile "$LINENO"; then :
43975 glibcxx_cv_func__atan2l_use=yes
43976 else
43977 glibcxx_cv_func__atan2l_use=no
43979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43980 ac_ext=c
43981 ac_cpp='$CPP $CPPFLAGS'
43982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43991 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43993 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43994 for ac_func in _atan2l
43995 do :
43996 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43997 if test "x$ac_cv_func__atan2l" = x""yes; then :
43998 cat >>confdefs.h <<_ACEOF
43999 #define HAVE__ATAN2L 1
44000 _ACEOF
44003 done
44012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44013 $as_echo_n "checking for expl declaration... " >&6; }
44014 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44015 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44016 $as_echo_n "(cached) " >&6
44017 else
44020 ac_ext=cpp
44021 ac_cpp='$CXXCPP $CPPFLAGS'
44022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44027 /* end confdefs.h. */
44028 #include <math.h>
44029 #ifdef HAVE_IEEEFP_H
44030 #include <ieeefp.h>
44031 #endif
44034 main ()
44036 expl(0);
44038 return 0;
44040 _ACEOF
44041 if ac_fn_cxx_try_compile "$LINENO"; then :
44042 glibcxx_cv_func_expl_use=yes
44043 else
44044 glibcxx_cv_func_expl_use=no
44046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44047 ac_ext=c
44048 ac_cpp='$CPP $CPPFLAGS'
44049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44058 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44060 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44061 for ac_func in expl
44062 do :
44063 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44064 if test "x$ac_cv_func_expl" = x""yes; then :
44065 cat >>confdefs.h <<_ACEOF
44066 #define HAVE_EXPL 1
44067 _ACEOF
44070 done
44072 else
44074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44075 $as_echo_n "checking for _expl declaration... " >&6; }
44076 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44077 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44078 $as_echo_n "(cached) " >&6
44079 else
44082 ac_ext=cpp
44083 ac_cpp='$CXXCPP $CPPFLAGS'
44084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44089 /* end confdefs.h. */
44090 #include <math.h>
44091 #ifdef HAVE_IEEEFP_H
44092 #include <ieeefp.h>
44093 #endif
44096 main ()
44098 _expl(0);
44100 return 0;
44102 _ACEOF
44103 if ac_fn_cxx_try_compile "$LINENO"; then :
44104 glibcxx_cv_func__expl_use=yes
44105 else
44106 glibcxx_cv_func__expl_use=no
44108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44109 ac_ext=c
44110 ac_cpp='$CPP $CPPFLAGS'
44111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44120 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44122 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44123 for ac_func in _expl
44124 do :
44125 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44126 if test "x$ac_cv_func__expl" = x""yes; then :
44127 cat >>confdefs.h <<_ACEOF
44128 #define HAVE__EXPL 1
44129 _ACEOF
44132 done
44141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44142 $as_echo_n "checking for fabsl declaration... " >&6; }
44143 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44144 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44145 $as_echo_n "(cached) " >&6
44146 else
44149 ac_ext=cpp
44150 ac_cpp='$CXXCPP $CPPFLAGS'
44151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44156 /* end confdefs.h. */
44157 #include <math.h>
44158 #ifdef HAVE_IEEEFP_H
44159 #include <ieeefp.h>
44160 #endif
44163 main ()
44165 fabsl(0);
44167 return 0;
44169 _ACEOF
44170 if ac_fn_cxx_try_compile "$LINENO"; then :
44171 glibcxx_cv_func_fabsl_use=yes
44172 else
44173 glibcxx_cv_func_fabsl_use=no
44175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44176 ac_ext=c
44177 ac_cpp='$CPP $CPPFLAGS'
44178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44187 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44189 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44190 for ac_func in fabsl
44191 do :
44192 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44193 if test "x$ac_cv_func_fabsl" = x""yes; then :
44194 cat >>confdefs.h <<_ACEOF
44195 #define HAVE_FABSL 1
44196 _ACEOF
44199 done
44201 else
44203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44204 $as_echo_n "checking for _fabsl declaration... " >&6; }
44205 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44206 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44207 $as_echo_n "(cached) " >&6
44208 else
44211 ac_ext=cpp
44212 ac_cpp='$CXXCPP $CPPFLAGS'
44213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44218 /* end confdefs.h. */
44219 #include <math.h>
44220 #ifdef HAVE_IEEEFP_H
44221 #include <ieeefp.h>
44222 #endif
44225 main ()
44227 _fabsl(0);
44229 return 0;
44231 _ACEOF
44232 if ac_fn_cxx_try_compile "$LINENO"; then :
44233 glibcxx_cv_func__fabsl_use=yes
44234 else
44235 glibcxx_cv_func__fabsl_use=no
44237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44238 ac_ext=c
44239 ac_cpp='$CPP $CPPFLAGS'
44240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44249 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44251 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44252 for ac_func in _fabsl
44253 do :
44254 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44255 if test "x$ac_cv_func__fabsl" = x""yes; then :
44256 cat >>confdefs.h <<_ACEOF
44257 #define HAVE__FABSL 1
44258 _ACEOF
44261 done
44270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44271 $as_echo_n "checking for fmodl declaration... " >&6; }
44272 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44273 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44274 $as_echo_n "(cached) " >&6
44275 else
44278 ac_ext=cpp
44279 ac_cpp='$CXXCPP $CPPFLAGS'
44280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44285 /* end confdefs.h. */
44286 #include <math.h>
44288 main ()
44290 fmodl(0, 0);
44292 return 0;
44294 _ACEOF
44295 if ac_fn_cxx_try_compile "$LINENO"; then :
44296 glibcxx_cv_func_fmodl_use=yes
44297 else
44298 glibcxx_cv_func_fmodl_use=no
44300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44301 ac_ext=c
44302 ac_cpp='$CPP $CPPFLAGS'
44303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44312 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44314 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44315 for ac_func in fmodl
44316 do :
44317 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44318 if test "x$ac_cv_func_fmodl" = x""yes; then :
44319 cat >>confdefs.h <<_ACEOF
44320 #define HAVE_FMODL 1
44321 _ACEOF
44324 done
44326 else
44328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44329 $as_echo_n "checking for _fmodl declaration... " >&6; }
44330 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44331 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44332 $as_echo_n "(cached) " >&6
44333 else
44336 ac_ext=cpp
44337 ac_cpp='$CXXCPP $CPPFLAGS'
44338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44343 /* end confdefs.h. */
44344 #include <math.h>
44346 main ()
44348 _fmodl(0, 0);
44350 return 0;
44352 _ACEOF
44353 if ac_fn_cxx_try_compile "$LINENO"; then :
44354 glibcxx_cv_func__fmodl_use=yes
44355 else
44356 glibcxx_cv_func__fmodl_use=no
44358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44359 ac_ext=c
44360 ac_cpp='$CPP $CPPFLAGS'
44361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44370 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44372 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44373 for ac_func in _fmodl
44374 do :
44375 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44376 if test "x$ac_cv_func__fmodl" = x""yes; then :
44377 cat >>confdefs.h <<_ACEOF
44378 #define HAVE__FMODL 1
44379 _ACEOF
44382 done
44391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44392 $as_echo_n "checking for frexpl declaration... " >&6; }
44393 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44394 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44395 $as_echo_n "(cached) " >&6
44396 else
44399 ac_ext=cpp
44400 ac_cpp='$CXXCPP $CPPFLAGS'
44401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44406 /* end confdefs.h. */
44407 #include <math.h>
44409 main ()
44411 frexpl(0, 0);
44413 return 0;
44415 _ACEOF
44416 if ac_fn_cxx_try_compile "$LINENO"; then :
44417 glibcxx_cv_func_frexpl_use=yes
44418 else
44419 glibcxx_cv_func_frexpl_use=no
44421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44422 ac_ext=c
44423 ac_cpp='$CPP $CPPFLAGS'
44424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44433 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44435 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44436 for ac_func in frexpl
44437 do :
44438 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44439 if test "x$ac_cv_func_frexpl" = x""yes; then :
44440 cat >>confdefs.h <<_ACEOF
44441 #define HAVE_FREXPL 1
44442 _ACEOF
44445 done
44447 else
44449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44450 $as_echo_n "checking for _frexpl declaration... " >&6; }
44451 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44452 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44453 $as_echo_n "(cached) " >&6
44454 else
44457 ac_ext=cpp
44458 ac_cpp='$CXXCPP $CPPFLAGS'
44459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44464 /* end confdefs.h. */
44465 #include <math.h>
44467 main ()
44469 _frexpl(0, 0);
44471 return 0;
44473 _ACEOF
44474 if ac_fn_cxx_try_compile "$LINENO"; then :
44475 glibcxx_cv_func__frexpl_use=yes
44476 else
44477 glibcxx_cv_func__frexpl_use=no
44479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44480 ac_ext=c
44481 ac_cpp='$CPP $CPPFLAGS'
44482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44491 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44493 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44494 for ac_func in _frexpl
44495 do :
44496 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44497 if test "x$ac_cv_func__frexpl" = x""yes; then :
44498 cat >>confdefs.h <<_ACEOF
44499 #define HAVE__FREXPL 1
44500 _ACEOF
44503 done
44512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44513 $as_echo_n "checking for hypotl declaration... " >&6; }
44514 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44515 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44516 $as_echo_n "(cached) " >&6
44517 else
44520 ac_ext=cpp
44521 ac_cpp='$CXXCPP $CPPFLAGS'
44522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44527 /* end confdefs.h. */
44528 #include <math.h>
44530 main ()
44532 hypotl(0, 0);
44534 return 0;
44536 _ACEOF
44537 if ac_fn_cxx_try_compile "$LINENO"; then :
44538 glibcxx_cv_func_hypotl_use=yes
44539 else
44540 glibcxx_cv_func_hypotl_use=no
44542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44543 ac_ext=c
44544 ac_cpp='$CPP $CPPFLAGS'
44545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44554 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44556 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44557 for ac_func in hypotl
44558 do :
44559 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44560 if test "x$ac_cv_func_hypotl" = x""yes; then :
44561 cat >>confdefs.h <<_ACEOF
44562 #define HAVE_HYPOTL 1
44563 _ACEOF
44566 done
44568 else
44570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44571 $as_echo_n "checking for _hypotl declaration... " >&6; }
44572 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44573 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44574 $as_echo_n "(cached) " >&6
44575 else
44578 ac_ext=cpp
44579 ac_cpp='$CXXCPP $CPPFLAGS'
44580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44585 /* end confdefs.h. */
44586 #include <math.h>
44588 main ()
44590 _hypotl(0, 0);
44592 return 0;
44594 _ACEOF
44595 if ac_fn_cxx_try_compile "$LINENO"; then :
44596 glibcxx_cv_func__hypotl_use=yes
44597 else
44598 glibcxx_cv_func__hypotl_use=no
44600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44601 ac_ext=c
44602 ac_cpp='$CPP $CPPFLAGS'
44603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44612 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44614 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44615 for ac_func in _hypotl
44616 do :
44617 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44618 if test "x$ac_cv_func__hypotl" = x""yes; then :
44619 cat >>confdefs.h <<_ACEOF
44620 #define HAVE__HYPOTL 1
44621 _ACEOF
44624 done
44633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44634 $as_echo_n "checking for ldexpl declaration... " >&6; }
44635 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44636 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44637 $as_echo_n "(cached) " >&6
44638 else
44641 ac_ext=cpp
44642 ac_cpp='$CXXCPP $CPPFLAGS'
44643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44648 /* end confdefs.h. */
44649 #include <math.h>
44651 main ()
44653 ldexpl(0, 0);
44655 return 0;
44657 _ACEOF
44658 if ac_fn_cxx_try_compile "$LINENO"; then :
44659 glibcxx_cv_func_ldexpl_use=yes
44660 else
44661 glibcxx_cv_func_ldexpl_use=no
44663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44664 ac_ext=c
44665 ac_cpp='$CPP $CPPFLAGS'
44666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44675 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44677 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44678 for ac_func in ldexpl
44679 do :
44680 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44681 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44682 cat >>confdefs.h <<_ACEOF
44683 #define HAVE_LDEXPL 1
44684 _ACEOF
44687 done
44689 else
44691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44692 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44693 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44694 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44695 $as_echo_n "(cached) " >&6
44696 else
44699 ac_ext=cpp
44700 ac_cpp='$CXXCPP $CPPFLAGS'
44701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44706 /* end confdefs.h. */
44707 #include <math.h>
44709 main ()
44711 _ldexpl(0, 0);
44713 return 0;
44715 _ACEOF
44716 if ac_fn_cxx_try_compile "$LINENO"; then :
44717 glibcxx_cv_func__ldexpl_use=yes
44718 else
44719 glibcxx_cv_func__ldexpl_use=no
44721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44722 ac_ext=c
44723 ac_cpp='$CPP $CPPFLAGS'
44724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44733 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44735 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44736 for ac_func in _ldexpl
44737 do :
44738 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44739 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44740 cat >>confdefs.h <<_ACEOF
44741 #define HAVE__LDEXPL 1
44742 _ACEOF
44745 done
44754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44755 $as_echo_n "checking for logl declaration... " >&6; }
44756 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44757 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44758 $as_echo_n "(cached) " >&6
44759 else
44762 ac_ext=cpp
44763 ac_cpp='$CXXCPP $CPPFLAGS'
44764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44769 /* end confdefs.h. */
44770 #include <math.h>
44771 #ifdef HAVE_IEEEFP_H
44772 #include <ieeefp.h>
44773 #endif
44776 main ()
44778 logl(0);
44780 return 0;
44782 _ACEOF
44783 if ac_fn_cxx_try_compile "$LINENO"; then :
44784 glibcxx_cv_func_logl_use=yes
44785 else
44786 glibcxx_cv_func_logl_use=no
44788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44789 ac_ext=c
44790 ac_cpp='$CPP $CPPFLAGS'
44791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44800 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44802 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44803 for ac_func in logl
44804 do :
44805 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44806 if test "x$ac_cv_func_logl" = x""yes; then :
44807 cat >>confdefs.h <<_ACEOF
44808 #define HAVE_LOGL 1
44809 _ACEOF
44812 done
44814 else
44816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44817 $as_echo_n "checking for _logl declaration... " >&6; }
44818 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44819 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44820 $as_echo_n "(cached) " >&6
44821 else
44824 ac_ext=cpp
44825 ac_cpp='$CXXCPP $CPPFLAGS'
44826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44831 /* end confdefs.h. */
44832 #include <math.h>
44833 #ifdef HAVE_IEEEFP_H
44834 #include <ieeefp.h>
44835 #endif
44838 main ()
44840 _logl(0);
44842 return 0;
44844 _ACEOF
44845 if ac_fn_cxx_try_compile "$LINENO"; then :
44846 glibcxx_cv_func__logl_use=yes
44847 else
44848 glibcxx_cv_func__logl_use=no
44850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44851 ac_ext=c
44852 ac_cpp='$CPP $CPPFLAGS'
44853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44862 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44864 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44865 for ac_func in _logl
44866 do :
44867 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44868 if test "x$ac_cv_func__logl" = x""yes; then :
44869 cat >>confdefs.h <<_ACEOF
44870 #define HAVE__LOGL 1
44871 _ACEOF
44874 done
44883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44884 $as_echo_n "checking for log10l declaration... " >&6; }
44885 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44886 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44887 $as_echo_n "(cached) " >&6
44888 else
44891 ac_ext=cpp
44892 ac_cpp='$CXXCPP $CPPFLAGS'
44893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44898 /* end confdefs.h. */
44899 #include <math.h>
44900 #ifdef HAVE_IEEEFP_H
44901 #include <ieeefp.h>
44902 #endif
44905 main ()
44907 log10l(0);
44909 return 0;
44911 _ACEOF
44912 if ac_fn_cxx_try_compile "$LINENO"; then :
44913 glibcxx_cv_func_log10l_use=yes
44914 else
44915 glibcxx_cv_func_log10l_use=no
44917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44918 ac_ext=c
44919 ac_cpp='$CPP $CPPFLAGS'
44920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44929 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44931 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44932 for ac_func in log10l
44933 do :
44934 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44935 if test "x$ac_cv_func_log10l" = x""yes; then :
44936 cat >>confdefs.h <<_ACEOF
44937 #define HAVE_LOG10L 1
44938 _ACEOF
44941 done
44943 else
44945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44946 $as_echo_n "checking for _log10l declaration... " >&6; }
44947 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44948 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44949 $as_echo_n "(cached) " >&6
44950 else
44953 ac_ext=cpp
44954 ac_cpp='$CXXCPP $CPPFLAGS'
44955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44960 /* end confdefs.h. */
44961 #include <math.h>
44962 #ifdef HAVE_IEEEFP_H
44963 #include <ieeefp.h>
44964 #endif
44967 main ()
44969 _log10l(0);
44971 return 0;
44973 _ACEOF
44974 if ac_fn_cxx_try_compile "$LINENO"; then :
44975 glibcxx_cv_func__log10l_use=yes
44976 else
44977 glibcxx_cv_func__log10l_use=no
44979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44980 ac_ext=c
44981 ac_cpp='$CPP $CPPFLAGS'
44982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44991 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44993 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44994 for ac_func in _log10l
44995 do :
44996 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44997 if test "x$ac_cv_func__log10l" = x""yes; then :
44998 cat >>confdefs.h <<_ACEOF
44999 #define HAVE__LOG10L 1
45000 _ACEOF
45003 done
45012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45013 $as_echo_n "checking for modfl declaration... " >&6; }
45014 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45015 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45016 $as_echo_n "(cached) " >&6
45017 else
45020 ac_ext=cpp
45021 ac_cpp='$CXXCPP $CPPFLAGS'
45022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45027 /* end confdefs.h. */
45028 #include <math.h>
45030 main ()
45032 modfl(0, 0);
45034 return 0;
45036 _ACEOF
45037 if ac_fn_cxx_try_compile "$LINENO"; then :
45038 glibcxx_cv_func_modfl_use=yes
45039 else
45040 glibcxx_cv_func_modfl_use=no
45042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45043 ac_ext=c
45044 ac_cpp='$CPP $CPPFLAGS'
45045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45054 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45056 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45057 for ac_func in modfl
45058 do :
45059 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45060 if test "x$ac_cv_func_modfl" = x""yes; then :
45061 cat >>confdefs.h <<_ACEOF
45062 #define HAVE_MODFL 1
45063 _ACEOF
45066 done
45068 else
45070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45071 $as_echo_n "checking for _modfl declaration... " >&6; }
45072 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45073 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45074 $as_echo_n "(cached) " >&6
45075 else
45078 ac_ext=cpp
45079 ac_cpp='$CXXCPP $CPPFLAGS'
45080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45085 /* end confdefs.h. */
45086 #include <math.h>
45088 main ()
45090 _modfl(0, 0);
45092 return 0;
45094 _ACEOF
45095 if ac_fn_cxx_try_compile "$LINENO"; then :
45096 glibcxx_cv_func__modfl_use=yes
45097 else
45098 glibcxx_cv_func__modfl_use=no
45100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45101 ac_ext=c
45102 ac_cpp='$CPP $CPPFLAGS'
45103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45112 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45114 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45115 for ac_func in _modfl
45116 do :
45117 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45118 if test "x$ac_cv_func__modfl" = x""yes; then :
45119 cat >>confdefs.h <<_ACEOF
45120 #define HAVE__MODFL 1
45121 _ACEOF
45124 done
45133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45134 $as_echo_n "checking for powl declaration... " >&6; }
45135 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45136 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45137 $as_echo_n "(cached) " >&6
45138 else
45141 ac_ext=cpp
45142 ac_cpp='$CXXCPP $CPPFLAGS'
45143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45148 /* end confdefs.h. */
45149 #include <math.h>
45151 main ()
45153 powl(0, 0);
45155 return 0;
45157 _ACEOF
45158 if ac_fn_cxx_try_compile "$LINENO"; then :
45159 glibcxx_cv_func_powl_use=yes
45160 else
45161 glibcxx_cv_func_powl_use=no
45163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45164 ac_ext=c
45165 ac_cpp='$CPP $CPPFLAGS'
45166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45175 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45177 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45178 for ac_func in powl
45179 do :
45180 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45181 if test "x$ac_cv_func_powl" = x""yes; then :
45182 cat >>confdefs.h <<_ACEOF
45183 #define HAVE_POWL 1
45184 _ACEOF
45187 done
45189 else
45191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45192 $as_echo_n "checking for _powl declaration... " >&6; }
45193 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45194 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45195 $as_echo_n "(cached) " >&6
45196 else
45199 ac_ext=cpp
45200 ac_cpp='$CXXCPP $CPPFLAGS'
45201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45206 /* end confdefs.h. */
45207 #include <math.h>
45209 main ()
45211 _powl(0, 0);
45213 return 0;
45215 _ACEOF
45216 if ac_fn_cxx_try_compile "$LINENO"; then :
45217 glibcxx_cv_func__powl_use=yes
45218 else
45219 glibcxx_cv_func__powl_use=no
45221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45222 ac_ext=c
45223 ac_cpp='$CPP $CPPFLAGS'
45224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45233 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45235 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45236 for ac_func in _powl
45237 do :
45238 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45239 if test "x$ac_cv_func__powl" = x""yes; then :
45240 cat >>confdefs.h <<_ACEOF
45241 #define HAVE__POWL 1
45242 _ACEOF
45245 done
45254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45255 $as_echo_n "checking for sqrtl declaration... " >&6; }
45256 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45257 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45258 $as_echo_n "(cached) " >&6
45259 else
45262 ac_ext=cpp
45263 ac_cpp='$CXXCPP $CPPFLAGS'
45264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45269 /* end confdefs.h. */
45270 #include <math.h>
45271 #ifdef HAVE_IEEEFP_H
45272 #include <ieeefp.h>
45273 #endif
45276 main ()
45278 sqrtl(0);
45280 return 0;
45282 _ACEOF
45283 if ac_fn_cxx_try_compile "$LINENO"; then :
45284 glibcxx_cv_func_sqrtl_use=yes
45285 else
45286 glibcxx_cv_func_sqrtl_use=no
45288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45289 ac_ext=c
45290 ac_cpp='$CPP $CPPFLAGS'
45291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45300 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45302 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45303 for ac_func in sqrtl
45304 do :
45305 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45306 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45307 cat >>confdefs.h <<_ACEOF
45308 #define HAVE_SQRTL 1
45309 _ACEOF
45312 done
45314 else
45316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45317 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45318 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45319 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45320 $as_echo_n "(cached) " >&6
45321 else
45324 ac_ext=cpp
45325 ac_cpp='$CXXCPP $CPPFLAGS'
45326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45331 /* end confdefs.h. */
45332 #include <math.h>
45333 #ifdef HAVE_IEEEFP_H
45334 #include <ieeefp.h>
45335 #endif
45338 main ()
45340 _sqrtl(0);
45342 return 0;
45344 _ACEOF
45345 if ac_fn_cxx_try_compile "$LINENO"; then :
45346 glibcxx_cv_func__sqrtl_use=yes
45347 else
45348 glibcxx_cv_func__sqrtl_use=no
45350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45351 ac_ext=c
45352 ac_cpp='$CPP $CPPFLAGS'
45353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45362 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45364 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45365 for ac_func in _sqrtl
45366 do :
45367 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45368 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45369 cat >>confdefs.h <<_ACEOF
45370 #define HAVE__SQRTL 1
45371 _ACEOF
45374 done
45383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45384 $as_echo_n "checking for sincosl declaration... " >&6; }
45385 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45386 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45387 $as_echo_n "(cached) " >&6
45388 else
45391 ac_ext=cpp
45392 ac_cpp='$CXXCPP $CPPFLAGS'
45393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45398 /* end confdefs.h. */
45399 #include <math.h>
45401 main ()
45403 sincosl(0, 0, 0);
45405 return 0;
45407 _ACEOF
45408 if ac_fn_cxx_try_compile "$LINENO"; then :
45409 glibcxx_cv_func_sincosl_use=yes
45410 else
45411 glibcxx_cv_func_sincosl_use=no
45413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45414 ac_ext=c
45415 ac_cpp='$CPP $CPPFLAGS'
45416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45425 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45427 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45428 for ac_func in sincosl
45429 do :
45430 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45431 if test "x$ac_cv_func_sincosl" = x""yes; then :
45432 cat >>confdefs.h <<_ACEOF
45433 #define HAVE_SINCOSL 1
45434 _ACEOF
45437 done
45439 else
45441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45442 $as_echo_n "checking for _sincosl declaration... " >&6; }
45443 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45444 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45445 $as_echo_n "(cached) " >&6
45446 else
45449 ac_ext=cpp
45450 ac_cpp='$CXXCPP $CPPFLAGS'
45451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45456 /* end confdefs.h. */
45457 #include <math.h>
45459 main ()
45461 _sincosl(0, 0, 0);
45463 return 0;
45465 _ACEOF
45466 if ac_fn_cxx_try_compile "$LINENO"; then :
45467 glibcxx_cv_func__sincosl_use=yes
45468 else
45469 glibcxx_cv_func__sincosl_use=no
45471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45472 ac_ext=c
45473 ac_cpp='$CPP $CPPFLAGS'
45474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45483 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45485 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45486 for ac_func in _sincosl
45487 do :
45488 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45489 if test "x$ac_cv_func__sincosl" = x""yes; then :
45490 cat >>confdefs.h <<_ACEOF
45491 #define HAVE__SINCOSL 1
45492 _ACEOF
45495 done
45504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45505 $as_echo_n "checking for finitel declaration... " >&6; }
45506 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45507 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45508 $as_echo_n "(cached) " >&6
45509 else
45512 ac_ext=cpp
45513 ac_cpp='$CXXCPP $CPPFLAGS'
45514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45519 /* end confdefs.h. */
45520 #include <math.h>
45521 #ifdef HAVE_IEEEFP_H
45522 #include <ieeefp.h>
45523 #endif
45526 main ()
45528 finitel(0);
45530 return 0;
45532 _ACEOF
45533 if ac_fn_cxx_try_compile "$LINENO"; then :
45534 glibcxx_cv_func_finitel_use=yes
45535 else
45536 glibcxx_cv_func_finitel_use=no
45538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45539 ac_ext=c
45540 ac_cpp='$CPP $CPPFLAGS'
45541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45550 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45552 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45553 for ac_func in finitel
45554 do :
45555 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45556 if test "x$ac_cv_func_finitel" = x""yes; then :
45557 cat >>confdefs.h <<_ACEOF
45558 #define HAVE_FINITEL 1
45559 _ACEOF
45562 done
45564 else
45566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45567 $as_echo_n "checking for _finitel declaration... " >&6; }
45568 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45569 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45570 $as_echo_n "(cached) " >&6
45571 else
45574 ac_ext=cpp
45575 ac_cpp='$CXXCPP $CPPFLAGS'
45576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45581 /* end confdefs.h. */
45582 #include <math.h>
45583 #ifdef HAVE_IEEEFP_H
45584 #include <ieeefp.h>
45585 #endif
45588 main ()
45590 _finitel(0);
45592 return 0;
45594 _ACEOF
45595 if ac_fn_cxx_try_compile "$LINENO"; then :
45596 glibcxx_cv_func__finitel_use=yes
45597 else
45598 glibcxx_cv_func__finitel_use=no
45600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45601 ac_ext=c
45602 ac_cpp='$CPP $CPPFLAGS'
45603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45612 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45614 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45615 for ac_func in _finitel
45616 do :
45617 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45618 if test "x$ac_cv_func__finitel" = x""yes; then :
45619 cat >>confdefs.h <<_ACEOF
45620 #define HAVE__FINITEL 1
45621 _ACEOF
45624 done
45632 LIBS="$ac_save_LIBS"
45633 CXXFLAGS="$ac_save_CXXFLAGS"
45636 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45637 ac_save_CXXFLAGS="$CXXFLAGS"
45638 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45642 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45643 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45644 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45645 $as_echo_n "(cached) " >&6
45646 else
45649 ac_ext=cpp
45650 ac_cpp='$CXXCPP $CPPFLAGS'
45651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45656 /* end confdefs.h. */
45657 #include <stdlib.h>
45659 main ()
45661 at_quick_exit(0);
45663 return 0;
45665 _ACEOF
45666 if ac_fn_cxx_try_compile "$LINENO"; then :
45667 glibcxx_cv_func_at_quick_exit_use=yes
45668 else
45669 glibcxx_cv_func_at_quick_exit_use=no
45671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45672 ac_ext=c
45673 ac_cpp='$CPP $CPPFLAGS'
45674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45683 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45684 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45685 for ac_func in at_quick_exit
45686 do :
45687 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45688 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45689 cat >>confdefs.h <<_ACEOF
45690 #define HAVE_AT_QUICK_EXIT 1
45691 _ACEOF
45694 done
45699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45700 $as_echo_n "checking for quick_exit declaration... " >&6; }
45701 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45702 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45703 $as_echo_n "(cached) " >&6
45704 else
45707 ac_ext=cpp
45708 ac_cpp='$CXXCPP $CPPFLAGS'
45709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45714 /* end confdefs.h. */
45715 #include <stdlib.h>
45717 main ()
45719 quick_exit(0);
45721 return 0;
45723 _ACEOF
45724 if ac_fn_cxx_try_compile "$LINENO"; then :
45725 glibcxx_cv_func_quick_exit_use=yes
45726 else
45727 glibcxx_cv_func_quick_exit_use=no
45729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45730 ac_ext=c
45731 ac_cpp='$CPP $CPPFLAGS'
45732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45741 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45742 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45743 for ac_func in quick_exit
45744 do :
45745 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45746 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45747 cat >>confdefs.h <<_ACEOF
45748 #define HAVE_QUICK_EXIT 1
45749 _ACEOF
45752 done
45757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45758 $as_echo_n "checking for strtold declaration... " >&6; }
45759 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45760 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45761 $as_echo_n "(cached) " >&6
45762 else
45765 ac_ext=cpp
45766 ac_cpp='$CXXCPP $CPPFLAGS'
45767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45772 /* end confdefs.h. */
45773 #include <stdlib.h>
45775 main ()
45777 strtold(0, 0);
45779 return 0;
45781 _ACEOF
45782 if ac_fn_cxx_try_compile "$LINENO"; then :
45783 glibcxx_cv_func_strtold_use=yes
45784 else
45785 glibcxx_cv_func_strtold_use=no
45787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45788 ac_ext=c
45789 ac_cpp='$CPP $CPPFLAGS'
45790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45799 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45800 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45801 for ac_func in strtold
45802 do :
45803 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45804 if test "x$ac_cv_func_strtold" = x""yes; then :
45805 cat >>confdefs.h <<_ACEOF
45806 #define HAVE_STRTOLD 1
45807 _ACEOF
45810 done
45817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45818 $as_echo_n "checking for strtof declaration... " >&6; }
45819 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45820 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45821 $as_echo_n "(cached) " >&6
45822 else
45825 ac_ext=cpp
45826 ac_cpp='$CXXCPP $CPPFLAGS'
45827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45832 /* end confdefs.h. */
45833 #include <stdlib.h>
45835 main ()
45837 strtof(0, 0);
45839 return 0;
45841 _ACEOF
45842 if ac_fn_cxx_try_compile "$LINENO"; then :
45843 glibcxx_cv_func_strtof_use=yes
45844 else
45845 glibcxx_cv_func_strtof_use=no
45847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45848 ac_ext=c
45849 ac_cpp='$CPP $CPPFLAGS'
45850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45859 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45860 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45861 for ac_func in strtof
45862 do :
45863 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45864 if test "x$ac_cv_func_strtof" = x""yes; then :
45865 cat >>confdefs.h <<_ACEOF
45866 #define HAVE_STRTOF 1
45867 _ACEOF
45870 done
45877 CXXFLAGS="$ac_save_CXXFLAGS"
45879 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45881 # We don't yet support AIX's TLS ABI.
45882 #GCC_CHECK_TLS
45888 am_save_CPPFLAGS="$CPPFLAGS"
45890 for element in $INCICONV; do
45891 haveit=
45892 for x in $CPPFLAGS; do
45894 acl_save_prefix="$prefix"
45895 prefix="$acl_final_prefix"
45896 acl_save_exec_prefix="$exec_prefix"
45897 exec_prefix="$acl_final_exec_prefix"
45898 eval x=\"$x\"
45899 exec_prefix="$acl_save_exec_prefix"
45900 prefix="$acl_save_prefix"
45902 if test "X$x" = "X$element"; then
45903 haveit=yes
45904 break
45906 done
45907 if test -z "$haveit"; then
45908 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45910 done
45913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45914 $as_echo_n "checking for iconv... " >&6; }
45915 if test "${am_cv_func_iconv+set}" = set; then :
45916 $as_echo_n "(cached) " >&6
45917 else
45919 am_cv_func_iconv="no, consider installing GNU libiconv"
45920 am_cv_lib_iconv=no
45921 if test x$gcc_no_link = xyes; then
45922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45925 /* end confdefs.h. */
45926 #include <stdlib.h>
45927 #include <iconv.h>
45929 main ()
45931 iconv_t cd = iconv_open("","");
45932 iconv(cd,NULL,NULL,NULL,NULL);
45933 iconv_close(cd);
45935 return 0;
45937 _ACEOF
45938 if ac_fn_c_try_link "$LINENO"; then :
45939 am_cv_func_iconv=yes
45941 rm -f core conftest.err conftest.$ac_objext \
45942 conftest$ac_exeext conftest.$ac_ext
45943 if test "$am_cv_func_iconv" != yes; then
45944 am_save_LIBS="$LIBS"
45945 LIBS="$LIBS $LIBICONV"
45946 if test x$gcc_no_link = xyes; then
45947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45950 /* end confdefs.h. */
45951 #include <stdlib.h>
45952 #include <iconv.h>
45954 main ()
45956 iconv_t cd = iconv_open("","");
45957 iconv(cd,NULL,NULL,NULL,NULL);
45958 iconv_close(cd);
45960 return 0;
45962 _ACEOF
45963 if ac_fn_c_try_link "$LINENO"; then :
45964 am_cv_lib_iconv=yes
45965 am_cv_func_iconv=yes
45967 rm -f core conftest.err conftest.$ac_objext \
45968 conftest$ac_exeext conftest.$ac_ext
45969 LIBS="$am_save_LIBS"
45973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
45974 $as_echo "$am_cv_func_iconv" >&6; }
45975 if test "$am_cv_func_iconv" = yes; then
45977 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
45980 if test "$am_cv_lib_iconv" = yes; then
45981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
45982 $as_echo_n "checking how to link with libiconv... " >&6; }
45983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
45984 $as_echo "$LIBICONV" >&6; }
45985 else
45986 CPPFLAGS="$am_save_CPPFLAGS"
45987 LIBICONV=
45988 LTLIBICONV=
45993 if test "$am_cv_func_iconv" = yes; then
45994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
45995 $as_echo_n "checking for iconv declaration... " >&6; }
45996 if test "${am_cv_proto_iconv+set}" = set; then :
45997 $as_echo_n "(cached) " >&6
45998 else
46000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46001 /* end confdefs.h. */
46003 #include <stdlib.h>
46004 #include <iconv.h>
46005 extern
46006 #ifdef __cplusplus
46008 #endif
46009 #if defined(__STDC__) || defined(__cplusplus)
46010 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46011 #else
46012 size_t iconv();
46013 #endif
46016 main ()
46020 return 0;
46022 _ACEOF
46023 if ac_fn_c_try_compile "$LINENO"; then :
46024 am_cv_proto_iconv_arg1=""
46025 else
46026 am_cv_proto_iconv_arg1="const"
46028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46029 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);"
46032 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46034 }$am_cv_proto_iconv" >&5
46035 $as_echo "${ac_t:-
46036 }$am_cv_proto_iconv" >&6; }
46038 cat >>confdefs.h <<_ACEOF
46039 #define ICONV_CONST $am_cv_proto_iconv_arg1
46040 _ACEOF
46046 *-darwin*)
46047 # Darwin versions vary, but the linker should work in a cross environment,
46048 # so we just check for all the features here.
46049 # Check for available headers.
46051 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46053 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46054 ac_save_CXXFLAGS="$CXXFLAGS"
46055 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46058 $as_echo_n "checking for sin in -lm... " >&6; }
46059 if test "${ac_cv_lib_m_sin+set}" = set; then :
46060 $as_echo_n "(cached) " >&6
46061 else
46062 ac_check_lib_save_LIBS=$LIBS
46063 LIBS="-lm $LIBS"
46064 if test x$gcc_no_link = xyes; then
46065 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46068 /* end confdefs.h. */
46070 /* Override any GCC internal prototype to avoid an error.
46071 Use char because int might match the return type of a GCC
46072 builtin and then its argument prototype would still apply. */
46073 #ifdef __cplusplus
46074 extern "C"
46075 #endif
46076 char sin ();
46078 main ()
46080 return sin ();
46082 return 0;
46084 _ACEOF
46085 if ac_fn_c_try_link "$LINENO"; then :
46086 ac_cv_lib_m_sin=yes
46087 else
46088 ac_cv_lib_m_sin=no
46090 rm -f core conftest.err conftest.$ac_objext \
46091 conftest$ac_exeext conftest.$ac_ext
46092 LIBS=$ac_check_lib_save_LIBS
46094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46095 $as_echo "$ac_cv_lib_m_sin" >&6; }
46096 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46097 libm="-lm"
46100 ac_save_LIBS="$LIBS"
46101 LIBS="$LIBS $libm"
46105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46106 $as_echo_n "checking for isinf declaration... " >&6; }
46107 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46108 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46109 $as_echo_n "(cached) " >&6
46110 else
46113 ac_ext=cpp
46114 ac_cpp='$CXXCPP $CPPFLAGS'
46115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46120 /* end confdefs.h. */
46121 #include <math.h>
46122 #ifdef HAVE_IEEEFP_H
46123 #include <ieeefp.h>
46124 #endif
46127 main ()
46129 isinf(0);
46131 return 0;
46133 _ACEOF
46134 if ac_fn_cxx_try_compile "$LINENO"; then :
46135 glibcxx_cv_func_isinf_use=yes
46136 else
46137 glibcxx_cv_func_isinf_use=no
46139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46140 ac_ext=c
46141 ac_cpp='$CPP $CPPFLAGS'
46142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46151 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46153 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46154 for ac_func in isinf
46155 do :
46156 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46157 if test "x$ac_cv_func_isinf" = x""yes; then :
46158 cat >>confdefs.h <<_ACEOF
46159 #define HAVE_ISINF 1
46160 _ACEOF
46163 done
46165 else
46167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46168 $as_echo_n "checking for _isinf declaration... " >&6; }
46169 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46170 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46171 $as_echo_n "(cached) " >&6
46172 else
46175 ac_ext=cpp
46176 ac_cpp='$CXXCPP $CPPFLAGS'
46177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46182 /* end confdefs.h. */
46183 #include <math.h>
46184 #ifdef HAVE_IEEEFP_H
46185 #include <ieeefp.h>
46186 #endif
46189 main ()
46191 _isinf(0);
46193 return 0;
46195 _ACEOF
46196 if ac_fn_cxx_try_compile "$LINENO"; then :
46197 glibcxx_cv_func__isinf_use=yes
46198 else
46199 glibcxx_cv_func__isinf_use=no
46201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46202 ac_ext=c
46203 ac_cpp='$CPP $CPPFLAGS'
46204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46213 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46215 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46216 for ac_func in _isinf
46217 do :
46218 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46219 if test "x$ac_cv_func__isinf" = x""yes; then :
46220 cat >>confdefs.h <<_ACEOF
46221 #define HAVE__ISINF 1
46222 _ACEOF
46225 done
46234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46235 $as_echo_n "checking for isnan declaration... " >&6; }
46236 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46237 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46238 $as_echo_n "(cached) " >&6
46239 else
46242 ac_ext=cpp
46243 ac_cpp='$CXXCPP $CPPFLAGS'
46244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46249 /* end confdefs.h. */
46250 #include <math.h>
46251 #ifdef HAVE_IEEEFP_H
46252 #include <ieeefp.h>
46253 #endif
46256 main ()
46258 isnan(0);
46260 return 0;
46262 _ACEOF
46263 if ac_fn_cxx_try_compile "$LINENO"; then :
46264 glibcxx_cv_func_isnan_use=yes
46265 else
46266 glibcxx_cv_func_isnan_use=no
46268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46269 ac_ext=c
46270 ac_cpp='$CPP $CPPFLAGS'
46271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46280 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46282 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46283 for ac_func in isnan
46284 do :
46285 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46286 if test "x$ac_cv_func_isnan" = x""yes; then :
46287 cat >>confdefs.h <<_ACEOF
46288 #define HAVE_ISNAN 1
46289 _ACEOF
46292 done
46294 else
46296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46297 $as_echo_n "checking for _isnan declaration... " >&6; }
46298 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46299 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46300 $as_echo_n "(cached) " >&6
46301 else
46304 ac_ext=cpp
46305 ac_cpp='$CXXCPP $CPPFLAGS'
46306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46311 /* end confdefs.h. */
46312 #include <math.h>
46313 #ifdef HAVE_IEEEFP_H
46314 #include <ieeefp.h>
46315 #endif
46318 main ()
46320 _isnan(0);
46322 return 0;
46324 _ACEOF
46325 if ac_fn_cxx_try_compile "$LINENO"; then :
46326 glibcxx_cv_func__isnan_use=yes
46327 else
46328 glibcxx_cv_func__isnan_use=no
46330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46331 ac_ext=c
46332 ac_cpp='$CPP $CPPFLAGS'
46333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46342 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46344 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46345 for ac_func in _isnan
46346 do :
46347 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46348 if test "x$ac_cv_func__isnan" = x""yes; then :
46349 cat >>confdefs.h <<_ACEOF
46350 #define HAVE__ISNAN 1
46351 _ACEOF
46354 done
46363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46364 $as_echo_n "checking for finite declaration... " >&6; }
46365 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46366 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46367 $as_echo_n "(cached) " >&6
46368 else
46371 ac_ext=cpp
46372 ac_cpp='$CXXCPP $CPPFLAGS'
46373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46378 /* end confdefs.h. */
46379 #include <math.h>
46380 #ifdef HAVE_IEEEFP_H
46381 #include <ieeefp.h>
46382 #endif
46385 main ()
46387 finite(0);
46389 return 0;
46391 _ACEOF
46392 if ac_fn_cxx_try_compile "$LINENO"; then :
46393 glibcxx_cv_func_finite_use=yes
46394 else
46395 glibcxx_cv_func_finite_use=no
46397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46398 ac_ext=c
46399 ac_cpp='$CPP $CPPFLAGS'
46400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46409 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46411 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46412 for ac_func in finite
46413 do :
46414 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46415 if test "x$ac_cv_func_finite" = x""yes; then :
46416 cat >>confdefs.h <<_ACEOF
46417 #define HAVE_FINITE 1
46418 _ACEOF
46421 done
46423 else
46425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46426 $as_echo_n "checking for _finite declaration... " >&6; }
46427 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46428 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46429 $as_echo_n "(cached) " >&6
46430 else
46433 ac_ext=cpp
46434 ac_cpp='$CXXCPP $CPPFLAGS'
46435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46440 /* end confdefs.h. */
46441 #include <math.h>
46442 #ifdef HAVE_IEEEFP_H
46443 #include <ieeefp.h>
46444 #endif
46447 main ()
46449 _finite(0);
46451 return 0;
46453 _ACEOF
46454 if ac_fn_cxx_try_compile "$LINENO"; then :
46455 glibcxx_cv_func__finite_use=yes
46456 else
46457 glibcxx_cv_func__finite_use=no
46459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46460 ac_ext=c
46461 ac_cpp='$CPP $CPPFLAGS'
46462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46471 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46473 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46474 for ac_func in _finite
46475 do :
46476 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46477 if test "x$ac_cv_func__finite" = x""yes; then :
46478 cat >>confdefs.h <<_ACEOF
46479 #define HAVE__FINITE 1
46480 _ACEOF
46483 done
46492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46493 $as_echo_n "checking for sincos declaration... " >&6; }
46494 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46495 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46496 $as_echo_n "(cached) " >&6
46497 else
46500 ac_ext=cpp
46501 ac_cpp='$CXXCPP $CPPFLAGS'
46502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46507 /* end confdefs.h. */
46508 #include <math.h>
46510 main ()
46512 sincos(0, 0, 0);
46514 return 0;
46516 _ACEOF
46517 if ac_fn_cxx_try_compile "$LINENO"; then :
46518 glibcxx_cv_func_sincos_use=yes
46519 else
46520 glibcxx_cv_func_sincos_use=no
46522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46523 ac_ext=c
46524 ac_cpp='$CPP $CPPFLAGS'
46525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46534 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46536 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46537 for ac_func in sincos
46538 do :
46539 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46540 if test "x$ac_cv_func_sincos" = x""yes; then :
46541 cat >>confdefs.h <<_ACEOF
46542 #define HAVE_SINCOS 1
46543 _ACEOF
46546 done
46548 else
46550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46551 $as_echo_n "checking for _sincos declaration... " >&6; }
46552 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46553 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46554 $as_echo_n "(cached) " >&6
46555 else
46558 ac_ext=cpp
46559 ac_cpp='$CXXCPP $CPPFLAGS'
46560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46565 /* end confdefs.h. */
46566 #include <math.h>
46568 main ()
46570 _sincos(0, 0, 0);
46572 return 0;
46574 _ACEOF
46575 if ac_fn_cxx_try_compile "$LINENO"; then :
46576 glibcxx_cv_func__sincos_use=yes
46577 else
46578 glibcxx_cv_func__sincos_use=no
46580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46581 ac_ext=c
46582 ac_cpp='$CPP $CPPFLAGS'
46583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46592 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46594 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46595 for ac_func in _sincos
46596 do :
46597 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46598 if test "x$ac_cv_func__sincos" = x""yes; then :
46599 cat >>confdefs.h <<_ACEOF
46600 #define HAVE__SINCOS 1
46601 _ACEOF
46604 done
46613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46614 $as_echo_n "checking for fpclass declaration... " >&6; }
46615 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46616 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46617 $as_echo_n "(cached) " >&6
46618 else
46621 ac_ext=cpp
46622 ac_cpp='$CXXCPP $CPPFLAGS'
46623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46628 /* end confdefs.h. */
46629 #include <math.h>
46630 #ifdef HAVE_IEEEFP_H
46631 #include <ieeefp.h>
46632 #endif
46635 main ()
46637 fpclass(0);
46639 return 0;
46641 _ACEOF
46642 if ac_fn_cxx_try_compile "$LINENO"; then :
46643 glibcxx_cv_func_fpclass_use=yes
46644 else
46645 glibcxx_cv_func_fpclass_use=no
46647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46648 ac_ext=c
46649 ac_cpp='$CPP $CPPFLAGS'
46650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46659 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46661 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46662 for ac_func in fpclass
46663 do :
46664 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46665 if test "x$ac_cv_func_fpclass" = x""yes; then :
46666 cat >>confdefs.h <<_ACEOF
46667 #define HAVE_FPCLASS 1
46668 _ACEOF
46671 done
46673 else
46675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46676 $as_echo_n "checking for _fpclass declaration... " >&6; }
46677 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46678 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46679 $as_echo_n "(cached) " >&6
46680 else
46683 ac_ext=cpp
46684 ac_cpp='$CXXCPP $CPPFLAGS'
46685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46690 /* end confdefs.h. */
46691 #include <math.h>
46692 #ifdef HAVE_IEEEFP_H
46693 #include <ieeefp.h>
46694 #endif
46697 main ()
46699 _fpclass(0);
46701 return 0;
46703 _ACEOF
46704 if ac_fn_cxx_try_compile "$LINENO"; then :
46705 glibcxx_cv_func__fpclass_use=yes
46706 else
46707 glibcxx_cv_func__fpclass_use=no
46709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46710 ac_ext=c
46711 ac_cpp='$CPP $CPPFLAGS'
46712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46721 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46723 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46724 for ac_func in _fpclass
46725 do :
46726 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46727 if test "x$ac_cv_func__fpclass" = x""yes; then :
46728 cat >>confdefs.h <<_ACEOF
46729 #define HAVE__FPCLASS 1
46730 _ACEOF
46733 done
46742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46743 $as_echo_n "checking for qfpclass declaration... " >&6; }
46744 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46745 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46746 $as_echo_n "(cached) " >&6
46747 else
46750 ac_ext=cpp
46751 ac_cpp='$CXXCPP $CPPFLAGS'
46752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46757 /* end confdefs.h. */
46758 #include <math.h>
46759 #ifdef HAVE_IEEEFP_H
46760 #include <ieeefp.h>
46761 #endif
46764 main ()
46766 qfpclass(0);
46768 return 0;
46770 _ACEOF
46771 if ac_fn_cxx_try_compile "$LINENO"; then :
46772 glibcxx_cv_func_qfpclass_use=yes
46773 else
46774 glibcxx_cv_func_qfpclass_use=no
46776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46777 ac_ext=c
46778 ac_cpp='$CPP $CPPFLAGS'
46779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46788 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46790 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46791 for ac_func in qfpclass
46792 do :
46793 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46794 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46795 cat >>confdefs.h <<_ACEOF
46796 #define HAVE_QFPCLASS 1
46797 _ACEOF
46800 done
46802 else
46804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46805 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46806 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46807 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46808 $as_echo_n "(cached) " >&6
46809 else
46812 ac_ext=cpp
46813 ac_cpp='$CXXCPP $CPPFLAGS'
46814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46819 /* end confdefs.h. */
46820 #include <math.h>
46821 #ifdef HAVE_IEEEFP_H
46822 #include <ieeefp.h>
46823 #endif
46826 main ()
46828 _qfpclass(0);
46830 return 0;
46832 _ACEOF
46833 if ac_fn_cxx_try_compile "$LINENO"; then :
46834 glibcxx_cv_func__qfpclass_use=yes
46835 else
46836 glibcxx_cv_func__qfpclass_use=no
46838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46839 ac_ext=c
46840 ac_cpp='$CPP $CPPFLAGS'
46841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46850 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46852 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46853 for ac_func in _qfpclass
46854 do :
46855 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46856 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46857 cat >>confdefs.h <<_ACEOF
46858 #define HAVE__QFPCLASS 1
46859 _ACEOF
46862 done
46871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46872 $as_echo_n "checking for hypot declaration... " >&6; }
46873 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46874 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46875 $as_echo_n "(cached) " >&6
46876 else
46879 ac_ext=cpp
46880 ac_cpp='$CXXCPP $CPPFLAGS'
46881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46886 /* end confdefs.h. */
46887 #include <math.h>
46889 main ()
46891 hypot(0, 0);
46893 return 0;
46895 _ACEOF
46896 if ac_fn_cxx_try_compile "$LINENO"; then :
46897 glibcxx_cv_func_hypot_use=yes
46898 else
46899 glibcxx_cv_func_hypot_use=no
46901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46902 ac_ext=c
46903 ac_cpp='$CPP $CPPFLAGS'
46904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46913 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46915 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46916 for ac_func in hypot
46917 do :
46918 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46919 if test "x$ac_cv_func_hypot" = x""yes; then :
46920 cat >>confdefs.h <<_ACEOF
46921 #define HAVE_HYPOT 1
46922 _ACEOF
46925 done
46927 else
46929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46930 $as_echo_n "checking for _hypot declaration... " >&6; }
46931 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46932 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46933 $as_echo_n "(cached) " >&6
46934 else
46937 ac_ext=cpp
46938 ac_cpp='$CXXCPP $CPPFLAGS'
46939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46944 /* end confdefs.h. */
46945 #include <math.h>
46947 main ()
46949 _hypot(0, 0);
46951 return 0;
46953 _ACEOF
46954 if ac_fn_cxx_try_compile "$LINENO"; then :
46955 glibcxx_cv_func__hypot_use=yes
46956 else
46957 glibcxx_cv_func__hypot_use=no
46959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46960 ac_ext=c
46961 ac_cpp='$CPP $CPPFLAGS'
46962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46971 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46973 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46974 for ac_func in _hypot
46975 do :
46976 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46977 if test "x$ac_cv_func__hypot" = x""yes; then :
46978 cat >>confdefs.h <<_ACEOF
46979 #define HAVE__HYPOT 1
46980 _ACEOF
46983 done
46992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46993 $as_echo_n "checking for float trig functions... " >&6; }
46994 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46995 $as_echo_n "(cached) " >&6
46996 else
46999 ac_ext=cpp
47000 ac_cpp='$CXXCPP $CPPFLAGS'
47001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47006 /* end confdefs.h. */
47007 #include <math.h>
47009 main ()
47011 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47013 return 0;
47015 _ACEOF
47016 if ac_fn_cxx_try_compile "$LINENO"; then :
47017 glibcxx_cv_func_float_trig_use=yes
47018 else
47019 glibcxx_cv_func_float_trig_use=no
47021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47022 ac_ext=c
47023 ac_cpp='$CPP $CPPFLAGS'
47024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47031 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47032 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47033 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47034 do :
47035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47036 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47037 eval as_val=\$$as_ac_var
47038 if test "x$as_val" = x""yes; then :
47039 cat >>confdefs.h <<_ACEOF
47040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47041 _ACEOF
47044 done
47046 else
47047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47048 $as_echo_n "checking for _float trig functions... " >&6; }
47049 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47050 $as_echo_n "(cached) " >&6
47051 else
47054 ac_ext=cpp
47055 ac_cpp='$CXXCPP $CPPFLAGS'
47056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47061 /* end confdefs.h. */
47062 #include <math.h>
47064 main ()
47066 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47068 return 0;
47070 _ACEOF
47071 if ac_fn_cxx_try_compile "$LINENO"; then :
47072 glibcxx_cv_func__float_trig_use=yes
47073 else
47074 glibcxx_cv_func__float_trig_use=no
47076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47077 ac_ext=c
47078 ac_cpp='$CPP $CPPFLAGS'
47079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47086 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47087 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47088 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47089 do :
47090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47092 eval as_val=\$$as_ac_var
47093 if test "x$as_val" = x""yes; then :
47094 cat >>confdefs.h <<_ACEOF
47095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47096 _ACEOF
47099 done
47108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47109 $as_echo_n "checking for float round functions... " >&6; }
47110 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47111 $as_echo_n "(cached) " >&6
47112 else
47115 ac_ext=cpp
47116 ac_cpp='$CXXCPP $CPPFLAGS'
47117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47122 /* end confdefs.h. */
47123 #include <math.h>
47125 main ()
47127 ceilf (0); floorf (0);
47129 return 0;
47131 _ACEOF
47132 if ac_fn_cxx_try_compile "$LINENO"; then :
47133 glibcxx_cv_func_float_round_use=yes
47134 else
47135 glibcxx_cv_func_float_round_use=no
47137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47138 ac_ext=c
47139 ac_cpp='$CPP $CPPFLAGS'
47140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47147 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47148 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47149 for ac_func in ceilf floorf
47150 do :
47151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47153 eval as_val=\$$as_ac_var
47154 if test "x$as_val" = x""yes; then :
47155 cat >>confdefs.h <<_ACEOF
47156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47157 _ACEOF
47160 done
47162 else
47163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47164 $as_echo_n "checking for _float round functions... " >&6; }
47165 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47166 $as_echo_n "(cached) " >&6
47167 else
47170 ac_ext=cpp
47171 ac_cpp='$CXXCPP $CPPFLAGS'
47172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47177 /* end confdefs.h. */
47178 #include <math.h>
47180 main ()
47182 _ceilf (0); _floorf (0);
47184 return 0;
47186 _ACEOF
47187 if ac_fn_cxx_try_compile "$LINENO"; then :
47188 glibcxx_cv_func__float_round_use=yes
47189 else
47190 glibcxx_cv_func__float_round_use=no
47192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47193 ac_ext=c
47194 ac_cpp='$CPP $CPPFLAGS'
47195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47202 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47203 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47204 for ac_func in _ceilf _floorf
47205 do :
47206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47208 eval as_val=\$$as_ac_var
47209 if test "x$as_val" = x""yes; then :
47210 cat >>confdefs.h <<_ACEOF
47211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47212 _ACEOF
47215 done
47225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47226 $as_echo_n "checking for expf declaration... " >&6; }
47227 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47228 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47229 $as_echo_n "(cached) " >&6
47230 else
47233 ac_ext=cpp
47234 ac_cpp='$CXXCPP $CPPFLAGS'
47235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47240 /* end confdefs.h. */
47241 #include <math.h>
47242 #ifdef HAVE_IEEEFP_H
47243 #include <ieeefp.h>
47244 #endif
47247 main ()
47249 expf(0);
47251 return 0;
47253 _ACEOF
47254 if ac_fn_cxx_try_compile "$LINENO"; then :
47255 glibcxx_cv_func_expf_use=yes
47256 else
47257 glibcxx_cv_func_expf_use=no
47259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47260 ac_ext=c
47261 ac_cpp='$CPP $CPPFLAGS'
47262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47271 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47273 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47274 for ac_func in expf
47275 do :
47276 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47277 if test "x$ac_cv_func_expf" = x""yes; then :
47278 cat >>confdefs.h <<_ACEOF
47279 #define HAVE_EXPF 1
47280 _ACEOF
47283 done
47285 else
47287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47288 $as_echo_n "checking for _expf declaration... " >&6; }
47289 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47290 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47291 $as_echo_n "(cached) " >&6
47292 else
47295 ac_ext=cpp
47296 ac_cpp='$CXXCPP $CPPFLAGS'
47297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47302 /* end confdefs.h. */
47303 #include <math.h>
47304 #ifdef HAVE_IEEEFP_H
47305 #include <ieeefp.h>
47306 #endif
47309 main ()
47311 _expf(0);
47313 return 0;
47315 _ACEOF
47316 if ac_fn_cxx_try_compile "$LINENO"; then :
47317 glibcxx_cv_func__expf_use=yes
47318 else
47319 glibcxx_cv_func__expf_use=no
47321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47322 ac_ext=c
47323 ac_cpp='$CPP $CPPFLAGS'
47324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47333 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47335 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47336 for ac_func in _expf
47337 do :
47338 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47339 if test "x$ac_cv_func__expf" = x""yes; then :
47340 cat >>confdefs.h <<_ACEOF
47341 #define HAVE__EXPF 1
47342 _ACEOF
47345 done
47354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47355 $as_echo_n "checking for isnanf declaration... " >&6; }
47356 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47357 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47358 $as_echo_n "(cached) " >&6
47359 else
47362 ac_ext=cpp
47363 ac_cpp='$CXXCPP $CPPFLAGS'
47364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47369 /* end confdefs.h. */
47370 #include <math.h>
47371 #ifdef HAVE_IEEEFP_H
47372 #include <ieeefp.h>
47373 #endif
47376 main ()
47378 isnanf(0);
47380 return 0;
47382 _ACEOF
47383 if ac_fn_cxx_try_compile "$LINENO"; then :
47384 glibcxx_cv_func_isnanf_use=yes
47385 else
47386 glibcxx_cv_func_isnanf_use=no
47388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47389 ac_ext=c
47390 ac_cpp='$CPP $CPPFLAGS'
47391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47400 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47402 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47403 for ac_func in isnanf
47404 do :
47405 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47406 if test "x$ac_cv_func_isnanf" = x""yes; then :
47407 cat >>confdefs.h <<_ACEOF
47408 #define HAVE_ISNANF 1
47409 _ACEOF
47412 done
47414 else
47416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47417 $as_echo_n "checking for _isnanf declaration... " >&6; }
47418 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47419 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47420 $as_echo_n "(cached) " >&6
47421 else
47424 ac_ext=cpp
47425 ac_cpp='$CXXCPP $CPPFLAGS'
47426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47431 /* end confdefs.h. */
47432 #include <math.h>
47433 #ifdef HAVE_IEEEFP_H
47434 #include <ieeefp.h>
47435 #endif
47438 main ()
47440 _isnanf(0);
47442 return 0;
47444 _ACEOF
47445 if ac_fn_cxx_try_compile "$LINENO"; then :
47446 glibcxx_cv_func__isnanf_use=yes
47447 else
47448 glibcxx_cv_func__isnanf_use=no
47450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47451 ac_ext=c
47452 ac_cpp='$CPP $CPPFLAGS'
47453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47462 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47464 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47465 for ac_func in _isnanf
47466 do :
47467 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47468 if test "x$ac_cv_func__isnanf" = x""yes; then :
47469 cat >>confdefs.h <<_ACEOF
47470 #define HAVE__ISNANF 1
47471 _ACEOF
47474 done
47483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47484 $as_echo_n "checking for isinff declaration... " >&6; }
47485 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47486 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47487 $as_echo_n "(cached) " >&6
47488 else
47491 ac_ext=cpp
47492 ac_cpp='$CXXCPP $CPPFLAGS'
47493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47498 /* end confdefs.h. */
47499 #include <math.h>
47500 #ifdef HAVE_IEEEFP_H
47501 #include <ieeefp.h>
47502 #endif
47505 main ()
47507 isinff(0);
47509 return 0;
47511 _ACEOF
47512 if ac_fn_cxx_try_compile "$LINENO"; then :
47513 glibcxx_cv_func_isinff_use=yes
47514 else
47515 glibcxx_cv_func_isinff_use=no
47517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47518 ac_ext=c
47519 ac_cpp='$CPP $CPPFLAGS'
47520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47529 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47531 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47532 for ac_func in isinff
47533 do :
47534 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47535 if test "x$ac_cv_func_isinff" = x""yes; then :
47536 cat >>confdefs.h <<_ACEOF
47537 #define HAVE_ISINFF 1
47538 _ACEOF
47541 done
47543 else
47545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47546 $as_echo_n "checking for _isinff declaration... " >&6; }
47547 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47548 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47549 $as_echo_n "(cached) " >&6
47550 else
47553 ac_ext=cpp
47554 ac_cpp='$CXXCPP $CPPFLAGS'
47555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47560 /* end confdefs.h. */
47561 #include <math.h>
47562 #ifdef HAVE_IEEEFP_H
47563 #include <ieeefp.h>
47564 #endif
47567 main ()
47569 _isinff(0);
47571 return 0;
47573 _ACEOF
47574 if ac_fn_cxx_try_compile "$LINENO"; then :
47575 glibcxx_cv_func__isinff_use=yes
47576 else
47577 glibcxx_cv_func__isinff_use=no
47579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47580 ac_ext=c
47581 ac_cpp='$CPP $CPPFLAGS'
47582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47591 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47593 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47594 for ac_func in _isinff
47595 do :
47596 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47597 if test "x$ac_cv_func__isinff" = x""yes; then :
47598 cat >>confdefs.h <<_ACEOF
47599 #define HAVE__ISINFF 1
47600 _ACEOF
47603 done
47612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47613 $as_echo_n "checking for atan2f declaration... " >&6; }
47614 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47615 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47616 $as_echo_n "(cached) " >&6
47617 else
47620 ac_ext=cpp
47621 ac_cpp='$CXXCPP $CPPFLAGS'
47622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47627 /* end confdefs.h. */
47628 #include <math.h>
47630 main ()
47632 atan2f(0, 0);
47634 return 0;
47636 _ACEOF
47637 if ac_fn_cxx_try_compile "$LINENO"; then :
47638 glibcxx_cv_func_atan2f_use=yes
47639 else
47640 glibcxx_cv_func_atan2f_use=no
47642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47643 ac_ext=c
47644 ac_cpp='$CPP $CPPFLAGS'
47645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47654 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47656 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47657 for ac_func in atan2f
47658 do :
47659 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47660 if test "x$ac_cv_func_atan2f" = x""yes; then :
47661 cat >>confdefs.h <<_ACEOF
47662 #define HAVE_ATAN2F 1
47663 _ACEOF
47666 done
47668 else
47670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47671 $as_echo_n "checking for _atan2f declaration... " >&6; }
47672 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47673 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47674 $as_echo_n "(cached) " >&6
47675 else
47678 ac_ext=cpp
47679 ac_cpp='$CXXCPP $CPPFLAGS'
47680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47685 /* end confdefs.h. */
47686 #include <math.h>
47688 main ()
47690 _atan2f(0, 0);
47692 return 0;
47694 _ACEOF
47695 if ac_fn_cxx_try_compile "$LINENO"; then :
47696 glibcxx_cv_func__atan2f_use=yes
47697 else
47698 glibcxx_cv_func__atan2f_use=no
47700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47701 ac_ext=c
47702 ac_cpp='$CPP $CPPFLAGS'
47703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47712 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47714 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47715 for ac_func in _atan2f
47716 do :
47717 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47718 if test "x$ac_cv_func__atan2f" = x""yes; then :
47719 cat >>confdefs.h <<_ACEOF
47720 #define HAVE__ATAN2F 1
47721 _ACEOF
47724 done
47733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47734 $as_echo_n "checking for fabsf declaration... " >&6; }
47735 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47736 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47737 $as_echo_n "(cached) " >&6
47738 else
47741 ac_ext=cpp
47742 ac_cpp='$CXXCPP $CPPFLAGS'
47743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47748 /* end confdefs.h. */
47749 #include <math.h>
47750 #ifdef HAVE_IEEEFP_H
47751 #include <ieeefp.h>
47752 #endif
47755 main ()
47757 fabsf(0);
47759 return 0;
47761 _ACEOF
47762 if ac_fn_cxx_try_compile "$LINENO"; then :
47763 glibcxx_cv_func_fabsf_use=yes
47764 else
47765 glibcxx_cv_func_fabsf_use=no
47767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47768 ac_ext=c
47769 ac_cpp='$CPP $CPPFLAGS'
47770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47779 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47781 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47782 for ac_func in fabsf
47783 do :
47784 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47785 if test "x$ac_cv_func_fabsf" = x""yes; then :
47786 cat >>confdefs.h <<_ACEOF
47787 #define HAVE_FABSF 1
47788 _ACEOF
47791 done
47793 else
47795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47796 $as_echo_n "checking for _fabsf declaration... " >&6; }
47797 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47798 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47799 $as_echo_n "(cached) " >&6
47800 else
47803 ac_ext=cpp
47804 ac_cpp='$CXXCPP $CPPFLAGS'
47805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47810 /* end confdefs.h. */
47811 #include <math.h>
47812 #ifdef HAVE_IEEEFP_H
47813 #include <ieeefp.h>
47814 #endif
47817 main ()
47819 _fabsf(0);
47821 return 0;
47823 _ACEOF
47824 if ac_fn_cxx_try_compile "$LINENO"; then :
47825 glibcxx_cv_func__fabsf_use=yes
47826 else
47827 glibcxx_cv_func__fabsf_use=no
47829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47830 ac_ext=c
47831 ac_cpp='$CPP $CPPFLAGS'
47832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47841 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47843 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47844 for ac_func in _fabsf
47845 do :
47846 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47847 if test "x$ac_cv_func__fabsf" = x""yes; then :
47848 cat >>confdefs.h <<_ACEOF
47849 #define HAVE__FABSF 1
47850 _ACEOF
47853 done
47862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47863 $as_echo_n "checking for fmodf declaration... " >&6; }
47864 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47865 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47866 $as_echo_n "(cached) " >&6
47867 else
47870 ac_ext=cpp
47871 ac_cpp='$CXXCPP $CPPFLAGS'
47872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47877 /* end confdefs.h. */
47878 #include <math.h>
47880 main ()
47882 fmodf(0, 0);
47884 return 0;
47886 _ACEOF
47887 if ac_fn_cxx_try_compile "$LINENO"; then :
47888 glibcxx_cv_func_fmodf_use=yes
47889 else
47890 glibcxx_cv_func_fmodf_use=no
47892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47893 ac_ext=c
47894 ac_cpp='$CPP $CPPFLAGS'
47895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47904 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47906 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47907 for ac_func in fmodf
47908 do :
47909 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47910 if test "x$ac_cv_func_fmodf" = x""yes; then :
47911 cat >>confdefs.h <<_ACEOF
47912 #define HAVE_FMODF 1
47913 _ACEOF
47916 done
47918 else
47920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47921 $as_echo_n "checking for _fmodf declaration... " >&6; }
47922 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47923 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47924 $as_echo_n "(cached) " >&6
47925 else
47928 ac_ext=cpp
47929 ac_cpp='$CXXCPP $CPPFLAGS'
47930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47935 /* end confdefs.h. */
47936 #include <math.h>
47938 main ()
47940 _fmodf(0, 0);
47942 return 0;
47944 _ACEOF
47945 if ac_fn_cxx_try_compile "$LINENO"; then :
47946 glibcxx_cv_func__fmodf_use=yes
47947 else
47948 glibcxx_cv_func__fmodf_use=no
47950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47951 ac_ext=c
47952 ac_cpp='$CPP $CPPFLAGS'
47953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47962 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47964 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47965 for ac_func in _fmodf
47966 do :
47967 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47968 if test "x$ac_cv_func__fmodf" = x""yes; then :
47969 cat >>confdefs.h <<_ACEOF
47970 #define HAVE__FMODF 1
47971 _ACEOF
47974 done
47983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47984 $as_echo_n "checking for frexpf declaration... " >&6; }
47985 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47986 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47987 $as_echo_n "(cached) " >&6
47988 else
47991 ac_ext=cpp
47992 ac_cpp='$CXXCPP $CPPFLAGS'
47993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47998 /* end confdefs.h. */
47999 #include <math.h>
48001 main ()
48003 frexpf(0, 0);
48005 return 0;
48007 _ACEOF
48008 if ac_fn_cxx_try_compile "$LINENO"; then :
48009 glibcxx_cv_func_frexpf_use=yes
48010 else
48011 glibcxx_cv_func_frexpf_use=no
48013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48014 ac_ext=c
48015 ac_cpp='$CPP $CPPFLAGS'
48016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48025 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48027 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48028 for ac_func in frexpf
48029 do :
48030 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48031 if test "x$ac_cv_func_frexpf" = x""yes; then :
48032 cat >>confdefs.h <<_ACEOF
48033 #define HAVE_FREXPF 1
48034 _ACEOF
48037 done
48039 else
48041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48042 $as_echo_n "checking for _frexpf declaration... " >&6; }
48043 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48044 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48045 $as_echo_n "(cached) " >&6
48046 else
48049 ac_ext=cpp
48050 ac_cpp='$CXXCPP $CPPFLAGS'
48051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48056 /* end confdefs.h. */
48057 #include <math.h>
48059 main ()
48061 _frexpf(0, 0);
48063 return 0;
48065 _ACEOF
48066 if ac_fn_cxx_try_compile "$LINENO"; then :
48067 glibcxx_cv_func__frexpf_use=yes
48068 else
48069 glibcxx_cv_func__frexpf_use=no
48071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48072 ac_ext=c
48073 ac_cpp='$CPP $CPPFLAGS'
48074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48083 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48085 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48086 for ac_func in _frexpf
48087 do :
48088 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48089 if test "x$ac_cv_func__frexpf" = x""yes; then :
48090 cat >>confdefs.h <<_ACEOF
48091 #define HAVE__FREXPF 1
48092 _ACEOF
48095 done
48104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48105 $as_echo_n "checking for hypotf declaration... " >&6; }
48106 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48107 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48108 $as_echo_n "(cached) " >&6
48109 else
48112 ac_ext=cpp
48113 ac_cpp='$CXXCPP $CPPFLAGS'
48114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48119 /* end confdefs.h. */
48120 #include <math.h>
48122 main ()
48124 hypotf(0, 0);
48126 return 0;
48128 _ACEOF
48129 if ac_fn_cxx_try_compile "$LINENO"; then :
48130 glibcxx_cv_func_hypotf_use=yes
48131 else
48132 glibcxx_cv_func_hypotf_use=no
48134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48135 ac_ext=c
48136 ac_cpp='$CPP $CPPFLAGS'
48137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48146 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48148 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48149 for ac_func in hypotf
48150 do :
48151 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48152 if test "x$ac_cv_func_hypotf" = x""yes; then :
48153 cat >>confdefs.h <<_ACEOF
48154 #define HAVE_HYPOTF 1
48155 _ACEOF
48158 done
48160 else
48162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48163 $as_echo_n "checking for _hypotf declaration... " >&6; }
48164 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48165 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48166 $as_echo_n "(cached) " >&6
48167 else
48170 ac_ext=cpp
48171 ac_cpp='$CXXCPP $CPPFLAGS'
48172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48177 /* end confdefs.h. */
48178 #include <math.h>
48180 main ()
48182 _hypotf(0, 0);
48184 return 0;
48186 _ACEOF
48187 if ac_fn_cxx_try_compile "$LINENO"; then :
48188 glibcxx_cv_func__hypotf_use=yes
48189 else
48190 glibcxx_cv_func__hypotf_use=no
48192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48193 ac_ext=c
48194 ac_cpp='$CPP $CPPFLAGS'
48195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48204 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48206 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48207 for ac_func in _hypotf
48208 do :
48209 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48210 if test "x$ac_cv_func__hypotf" = x""yes; then :
48211 cat >>confdefs.h <<_ACEOF
48212 #define HAVE__HYPOTF 1
48213 _ACEOF
48216 done
48225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48226 $as_echo_n "checking for ldexpf declaration... " >&6; }
48227 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48228 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48229 $as_echo_n "(cached) " >&6
48230 else
48233 ac_ext=cpp
48234 ac_cpp='$CXXCPP $CPPFLAGS'
48235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48240 /* end confdefs.h. */
48241 #include <math.h>
48243 main ()
48245 ldexpf(0, 0);
48247 return 0;
48249 _ACEOF
48250 if ac_fn_cxx_try_compile "$LINENO"; then :
48251 glibcxx_cv_func_ldexpf_use=yes
48252 else
48253 glibcxx_cv_func_ldexpf_use=no
48255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48256 ac_ext=c
48257 ac_cpp='$CPP $CPPFLAGS'
48258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48267 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48269 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48270 for ac_func in ldexpf
48271 do :
48272 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48273 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48274 cat >>confdefs.h <<_ACEOF
48275 #define HAVE_LDEXPF 1
48276 _ACEOF
48279 done
48281 else
48283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48284 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48285 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48286 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48287 $as_echo_n "(cached) " >&6
48288 else
48291 ac_ext=cpp
48292 ac_cpp='$CXXCPP $CPPFLAGS'
48293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48298 /* end confdefs.h. */
48299 #include <math.h>
48301 main ()
48303 _ldexpf(0, 0);
48305 return 0;
48307 _ACEOF
48308 if ac_fn_cxx_try_compile "$LINENO"; then :
48309 glibcxx_cv_func__ldexpf_use=yes
48310 else
48311 glibcxx_cv_func__ldexpf_use=no
48313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48314 ac_ext=c
48315 ac_cpp='$CPP $CPPFLAGS'
48316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48325 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48327 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48328 for ac_func in _ldexpf
48329 do :
48330 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48331 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48332 cat >>confdefs.h <<_ACEOF
48333 #define HAVE__LDEXPF 1
48334 _ACEOF
48337 done
48346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48347 $as_echo_n "checking for logf declaration... " >&6; }
48348 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48349 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48350 $as_echo_n "(cached) " >&6
48351 else
48354 ac_ext=cpp
48355 ac_cpp='$CXXCPP $CPPFLAGS'
48356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48361 /* end confdefs.h. */
48362 #include <math.h>
48363 #ifdef HAVE_IEEEFP_H
48364 #include <ieeefp.h>
48365 #endif
48368 main ()
48370 logf(0);
48372 return 0;
48374 _ACEOF
48375 if ac_fn_cxx_try_compile "$LINENO"; then :
48376 glibcxx_cv_func_logf_use=yes
48377 else
48378 glibcxx_cv_func_logf_use=no
48380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48381 ac_ext=c
48382 ac_cpp='$CPP $CPPFLAGS'
48383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48392 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48394 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48395 for ac_func in logf
48396 do :
48397 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48398 if test "x$ac_cv_func_logf" = x""yes; then :
48399 cat >>confdefs.h <<_ACEOF
48400 #define HAVE_LOGF 1
48401 _ACEOF
48404 done
48406 else
48408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48409 $as_echo_n "checking for _logf declaration... " >&6; }
48410 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48411 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48412 $as_echo_n "(cached) " >&6
48413 else
48416 ac_ext=cpp
48417 ac_cpp='$CXXCPP $CPPFLAGS'
48418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48423 /* end confdefs.h. */
48424 #include <math.h>
48425 #ifdef HAVE_IEEEFP_H
48426 #include <ieeefp.h>
48427 #endif
48430 main ()
48432 _logf(0);
48434 return 0;
48436 _ACEOF
48437 if ac_fn_cxx_try_compile "$LINENO"; then :
48438 glibcxx_cv_func__logf_use=yes
48439 else
48440 glibcxx_cv_func__logf_use=no
48442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48443 ac_ext=c
48444 ac_cpp='$CPP $CPPFLAGS'
48445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48454 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48456 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48457 for ac_func in _logf
48458 do :
48459 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48460 if test "x$ac_cv_func__logf" = x""yes; then :
48461 cat >>confdefs.h <<_ACEOF
48462 #define HAVE__LOGF 1
48463 _ACEOF
48466 done
48475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48476 $as_echo_n "checking for log10f declaration... " >&6; }
48477 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48478 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48479 $as_echo_n "(cached) " >&6
48480 else
48483 ac_ext=cpp
48484 ac_cpp='$CXXCPP $CPPFLAGS'
48485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48490 /* end confdefs.h. */
48491 #include <math.h>
48492 #ifdef HAVE_IEEEFP_H
48493 #include <ieeefp.h>
48494 #endif
48497 main ()
48499 log10f(0);
48501 return 0;
48503 _ACEOF
48504 if ac_fn_cxx_try_compile "$LINENO"; then :
48505 glibcxx_cv_func_log10f_use=yes
48506 else
48507 glibcxx_cv_func_log10f_use=no
48509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48510 ac_ext=c
48511 ac_cpp='$CPP $CPPFLAGS'
48512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48521 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48523 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48524 for ac_func in log10f
48525 do :
48526 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48527 if test "x$ac_cv_func_log10f" = x""yes; then :
48528 cat >>confdefs.h <<_ACEOF
48529 #define HAVE_LOG10F 1
48530 _ACEOF
48533 done
48535 else
48537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48538 $as_echo_n "checking for _log10f declaration... " >&6; }
48539 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48540 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48541 $as_echo_n "(cached) " >&6
48542 else
48545 ac_ext=cpp
48546 ac_cpp='$CXXCPP $CPPFLAGS'
48547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48552 /* end confdefs.h. */
48553 #include <math.h>
48554 #ifdef HAVE_IEEEFP_H
48555 #include <ieeefp.h>
48556 #endif
48559 main ()
48561 _log10f(0);
48563 return 0;
48565 _ACEOF
48566 if ac_fn_cxx_try_compile "$LINENO"; then :
48567 glibcxx_cv_func__log10f_use=yes
48568 else
48569 glibcxx_cv_func__log10f_use=no
48571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48572 ac_ext=c
48573 ac_cpp='$CPP $CPPFLAGS'
48574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48583 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48585 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48586 for ac_func in _log10f
48587 do :
48588 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48589 if test "x$ac_cv_func__log10f" = x""yes; then :
48590 cat >>confdefs.h <<_ACEOF
48591 #define HAVE__LOG10F 1
48592 _ACEOF
48595 done
48604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48605 $as_echo_n "checking for modff declaration... " >&6; }
48606 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48607 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48608 $as_echo_n "(cached) " >&6
48609 else
48612 ac_ext=cpp
48613 ac_cpp='$CXXCPP $CPPFLAGS'
48614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48619 /* end confdefs.h. */
48620 #include <math.h>
48622 main ()
48624 modff(0, 0);
48626 return 0;
48628 _ACEOF
48629 if ac_fn_cxx_try_compile "$LINENO"; then :
48630 glibcxx_cv_func_modff_use=yes
48631 else
48632 glibcxx_cv_func_modff_use=no
48634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48635 ac_ext=c
48636 ac_cpp='$CPP $CPPFLAGS'
48637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48646 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48648 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48649 for ac_func in modff
48650 do :
48651 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48652 if test "x$ac_cv_func_modff" = x""yes; then :
48653 cat >>confdefs.h <<_ACEOF
48654 #define HAVE_MODFF 1
48655 _ACEOF
48658 done
48660 else
48662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48663 $as_echo_n "checking for _modff declaration... " >&6; }
48664 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48665 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48666 $as_echo_n "(cached) " >&6
48667 else
48670 ac_ext=cpp
48671 ac_cpp='$CXXCPP $CPPFLAGS'
48672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48677 /* end confdefs.h. */
48678 #include <math.h>
48680 main ()
48682 _modff(0, 0);
48684 return 0;
48686 _ACEOF
48687 if ac_fn_cxx_try_compile "$LINENO"; then :
48688 glibcxx_cv_func__modff_use=yes
48689 else
48690 glibcxx_cv_func__modff_use=no
48692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48693 ac_ext=c
48694 ac_cpp='$CPP $CPPFLAGS'
48695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48704 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48706 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48707 for ac_func in _modff
48708 do :
48709 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48710 if test "x$ac_cv_func__modff" = x""yes; then :
48711 cat >>confdefs.h <<_ACEOF
48712 #define HAVE__MODFF 1
48713 _ACEOF
48716 done
48725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48726 $as_echo_n "checking for modf declaration... " >&6; }
48727 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48728 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48729 $as_echo_n "(cached) " >&6
48730 else
48733 ac_ext=cpp
48734 ac_cpp='$CXXCPP $CPPFLAGS'
48735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48740 /* end confdefs.h. */
48741 #include <math.h>
48743 main ()
48745 modf(0, 0);
48747 return 0;
48749 _ACEOF
48750 if ac_fn_cxx_try_compile "$LINENO"; then :
48751 glibcxx_cv_func_modf_use=yes
48752 else
48753 glibcxx_cv_func_modf_use=no
48755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48756 ac_ext=c
48757 ac_cpp='$CPP $CPPFLAGS'
48758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48767 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48769 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48770 for ac_func in modf
48771 do :
48772 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48773 if test "x$ac_cv_func_modf" = x""yes; then :
48774 cat >>confdefs.h <<_ACEOF
48775 #define HAVE_MODF 1
48776 _ACEOF
48779 done
48781 else
48783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48784 $as_echo_n "checking for _modf declaration... " >&6; }
48785 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48786 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48787 $as_echo_n "(cached) " >&6
48788 else
48791 ac_ext=cpp
48792 ac_cpp='$CXXCPP $CPPFLAGS'
48793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48798 /* end confdefs.h. */
48799 #include <math.h>
48801 main ()
48803 _modf(0, 0);
48805 return 0;
48807 _ACEOF
48808 if ac_fn_cxx_try_compile "$LINENO"; then :
48809 glibcxx_cv_func__modf_use=yes
48810 else
48811 glibcxx_cv_func__modf_use=no
48813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48814 ac_ext=c
48815 ac_cpp='$CPP $CPPFLAGS'
48816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48825 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48827 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48828 for ac_func in _modf
48829 do :
48830 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48831 if test "x$ac_cv_func__modf" = x""yes; then :
48832 cat >>confdefs.h <<_ACEOF
48833 #define HAVE__MODF 1
48834 _ACEOF
48837 done
48846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48847 $as_echo_n "checking for powf declaration... " >&6; }
48848 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48849 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48850 $as_echo_n "(cached) " >&6
48851 else
48854 ac_ext=cpp
48855 ac_cpp='$CXXCPP $CPPFLAGS'
48856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48861 /* end confdefs.h. */
48862 #include <math.h>
48864 main ()
48866 powf(0, 0);
48868 return 0;
48870 _ACEOF
48871 if ac_fn_cxx_try_compile "$LINENO"; then :
48872 glibcxx_cv_func_powf_use=yes
48873 else
48874 glibcxx_cv_func_powf_use=no
48876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48877 ac_ext=c
48878 ac_cpp='$CPP $CPPFLAGS'
48879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48888 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48890 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48891 for ac_func in powf
48892 do :
48893 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48894 if test "x$ac_cv_func_powf" = x""yes; then :
48895 cat >>confdefs.h <<_ACEOF
48896 #define HAVE_POWF 1
48897 _ACEOF
48900 done
48902 else
48904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48905 $as_echo_n "checking for _powf declaration... " >&6; }
48906 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48907 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48908 $as_echo_n "(cached) " >&6
48909 else
48912 ac_ext=cpp
48913 ac_cpp='$CXXCPP $CPPFLAGS'
48914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48919 /* end confdefs.h. */
48920 #include <math.h>
48922 main ()
48924 _powf(0, 0);
48926 return 0;
48928 _ACEOF
48929 if ac_fn_cxx_try_compile "$LINENO"; then :
48930 glibcxx_cv_func__powf_use=yes
48931 else
48932 glibcxx_cv_func__powf_use=no
48934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48935 ac_ext=c
48936 ac_cpp='$CPP $CPPFLAGS'
48937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48946 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48948 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48949 for ac_func in _powf
48950 do :
48951 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48952 if test "x$ac_cv_func__powf" = x""yes; then :
48953 cat >>confdefs.h <<_ACEOF
48954 #define HAVE__POWF 1
48955 _ACEOF
48958 done
48967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48968 $as_echo_n "checking for sqrtf declaration... " >&6; }
48969 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48970 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48971 $as_echo_n "(cached) " >&6
48972 else
48975 ac_ext=cpp
48976 ac_cpp='$CXXCPP $CPPFLAGS'
48977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48982 /* end confdefs.h. */
48983 #include <math.h>
48984 #ifdef HAVE_IEEEFP_H
48985 #include <ieeefp.h>
48986 #endif
48989 main ()
48991 sqrtf(0);
48993 return 0;
48995 _ACEOF
48996 if ac_fn_cxx_try_compile "$LINENO"; then :
48997 glibcxx_cv_func_sqrtf_use=yes
48998 else
48999 glibcxx_cv_func_sqrtf_use=no
49001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49002 ac_ext=c
49003 ac_cpp='$CPP $CPPFLAGS'
49004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49013 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49015 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49016 for ac_func in sqrtf
49017 do :
49018 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49019 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49020 cat >>confdefs.h <<_ACEOF
49021 #define HAVE_SQRTF 1
49022 _ACEOF
49025 done
49027 else
49029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49030 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49031 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49032 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49033 $as_echo_n "(cached) " >&6
49034 else
49037 ac_ext=cpp
49038 ac_cpp='$CXXCPP $CPPFLAGS'
49039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49044 /* end confdefs.h. */
49045 #include <math.h>
49046 #ifdef HAVE_IEEEFP_H
49047 #include <ieeefp.h>
49048 #endif
49051 main ()
49053 _sqrtf(0);
49055 return 0;
49057 _ACEOF
49058 if ac_fn_cxx_try_compile "$LINENO"; then :
49059 glibcxx_cv_func__sqrtf_use=yes
49060 else
49061 glibcxx_cv_func__sqrtf_use=no
49063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49064 ac_ext=c
49065 ac_cpp='$CPP $CPPFLAGS'
49066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49075 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49077 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49078 for ac_func in _sqrtf
49079 do :
49080 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49081 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49082 cat >>confdefs.h <<_ACEOF
49083 #define HAVE__SQRTF 1
49084 _ACEOF
49087 done
49096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49097 $as_echo_n "checking for sincosf declaration... " >&6; }
49098 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49099 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49100 $as_echo_n "(cached) " >&6
49101 else
49104 ac_ext=cpp
49105 ac_cpp='$CXXCPP $CPPFLAGS'
49106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49111 /* end confdefs.h. */
49112 #include <math.h>
49114 main ()
49116 sincosf(0, 0, 0);
49118 return 0;
49120 _ACEOF
49121 if ac_fn_cxx_try_compile "$LINENO"; then :
49122 glibcxx_cv_func_sincosf_use=yes
49123 else
49124 glibcxx_cv_func_sincosf_use=no
49126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49127 ac_ext=c
49128 ac_cpp='$CPP $CPPFLAGS'
49129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49138 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49140 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49141 for ac_func in sincosf
49142 do :
49143 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49144 if test "x$ac_cv_func_sincosf" = x""yes; then :
49145 cat >>confdefs.h <<_ACEOF
49146 #define HAVE_SINCOSF 1
49147 _ACEOF
49150 done
49152 else
49154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49155 $as_echo_n "checking for _sincosf declaration... " >&6; }
49156 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49157 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49158 $as_echo_n "(cached) " >&6
49159 else
49162 ac_ext=cpp
49163 ac_cpp='$CXXCPP $CPPFLAGS'
49164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49169 /* end confdefs.h. */
49170 #include <math.h>
49172 main ()
49174 _sincosf(0, 0, 0);
49176 return 0;
49178 _ACEOF
49179 if ac_fn_cxx_try_compile "$LINENO"; then :
49180 glibcxx_cv_func__sincosf_use=yes
49181 else
49182 glibcxx_cv_func__sincosf_use=no
49184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49185 ac_ext=c
49186 ac_cpp='$CPP $CPPFLAGS'
49187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49196 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49198 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49199 for ac_func in _sincosf
49200 do :
49201 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49202 if test "x$ac_cv_func__sincosf" = x""yes; then :
49203 cat >>confdefs.h <<_ACEOF
49204 #define HAVE__SINCOSF 1
49205 _ACEOF
49208 done
49217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49218 $as_echo_n "checking for finitef declaration... " >&6; }
49219 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49220 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49221 $as_echo_n "(cached) " >&6
49222 else
49225 ac_ext=cpp
49226 ac_cpp='$CXXCPP $CPPFLAGS'
49227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49232 /* end confdefs.h. */
49233 #include <math.h>
49234 #ifdef HAVE_IEEEFP_H
49235 #include <ieeefp.h>
49236 #endif
49239 main ()
49241 finitef(0);
49243 return 0;
49245 _ACEOF
49246 if ac_fn_cxx_try_compile "$LINENO"; then :
49247 glibcxx_cv_func_finitef_use=yes
49248 else
49249 glibcxx_cv_func_finitef_use=no
49251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49252 ac_ext=c
49253 ac_cpp='$CPP $CPPFLAGS'
49254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49263 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49265 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49266 for ac_func in finitef
49267 do :
49268 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49269 if test "x$ac_cv_func_finitef" = x""yes; then :
49270 cat >>confdefs.h <<_ACEOF
49271 #define HAVE_FINITEF 1
49272 _ACEOF
49275 done
49277 else
49279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49280 $as_echo_n "checking for _finitef declaration... " >&6; }
49281 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49282 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49283 $as_echo_n "(cached) " >&6
49284 else
49287 ac_ext=cpp
49288 ac_cpp='$CXXCPP $CPPFLAGS'
49289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49294 /* end confdefs.h. */
49295 #include <math.h>
49296 #ifdef HAVE_IEEEFP_H
49297 #include <ieeefp.h>
49298 #endif
49301 main ()
49303 _finitef(0);
49305 return 0;
49307 _ACEOF
49308 if ac_fn_cxx_try_compile "$LINENO"; then :
49309 glibcxx_cv_func__finitef_use=yes
49310 else
49311 glibcxx_cv_func__finitef_use=no
49313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49314 ac_ext=c
49315 ac_cpp='$CPP $CPPFLAGS'
49316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49325 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49327 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49328 for ac_func in _finitef
49329 do :
49330 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49331 if test "x$ac_cv_func__finitef" = x""yes; then :
49332 cat >>confdefs.h <<_ACEOF
49333 #define HAVE__FINITEF 1
49334 _ACEOF
49337 done
49346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49347 $as_echo_n "checking for long double trig functions... " >&6; }
49348 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49349 $as_echo_n "(cached) " >&6
49350 else
49353 ac_ext=cpp
49354 ac_cpp='$CXXCPP $CPPFLAGS'
49355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49360 /* end confdefs.h. */
49361 #include <math.h>
49363 main ()
49365 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49367 return 0;
49369 _ACEOF
49370 if ac_fn_cxx_try_compile "$LINENO"; then :
49371 glibcxx_cv_func_long_double_trig_use=yes
49372 else
49373 glibcxx_cv_func_long_double_trig_use=no
49375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49376 ac_ext=c
49377 ac_cpp='$CPP $CPPFLAGS'
49378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49385 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49386 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49387 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49388 do :
49389 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49390 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49391 eval as_val=\$$as_ac_var
49392 if test "x$as_val" = x""yes; then :
49393 cat >>confdefs.h <<_ACEOF
49394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49395 _ACEOF
49398 done
49400 else
49401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49402 $as_echo_n "checking for _long double trig functions... " >&6; }
49403 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49404 $as_echo_n "(cached) " >&6
49405 else
49408 ac_ext=cpp
49409 ac_cpp='$CXXCPP $CPPFLAGS'
49410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49415 /* end confdefs.h. */
49416 #include <math.h>
49418 main ()
49420 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49422 return 0;
49424 _ACEOF
49425 if ac_fn_cxx_try_compile "$LINENO"; then :
49426 glibcxx_cv_func__long_double_trig_use=yes
49427 else
49428 glibcxx_cv_func__long_double_trig_use=no
49430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49431 ac_ext=c
49432 ac_cpp='$CPP $CPPFLAGS'
49433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49440 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49441 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49442 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49443 do :
49444 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49446 eval as_val=\$$as_ac_var
49447 if test "x$as_val" = x""yes; then :
49448 cat >>confdefs.h <<_ACEOF
49449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49450 _ACEOF
49453 done
49462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49463 $as_echo_n "checking for long double round functions... " >&6; }
49464 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49465 $as_echo_n "(cached) " >&6
49466 else
49469 ac_ext=cpp
49470 ac_cpp='$CXXCPP $CPPFLAGS'
49471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49476 /* end confdefs.h. */
49477 #include <math.h>
49479 main ()
49481 ceill (0); floorl (0);
49483 return 0;
49485 _ACEOF
49486 if ac_fn_cxx_try_compile "$LINENO"; then :
49487 glibcxx_cv_func_long_double_round_use=yes
49488 else
49489 glibcxx_cv_func_long_double_round_use=no
49491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49492 ac_ext=c
49493 ac_cpp='$CPP $CPPFLAGS'
49494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49501 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49502 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49503 for ac_func in ceill floorl
49504 do :
49505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49507 eval as_val=\$$as_ac_var
49508 if test "x$as_val" = x""yes; then :
49509 cat >>confdefs.h <<_ACEOF
49510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49511 _ACEOF
49514 done
49516 else
49517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49518 $as_echo_n "checking for _long double round functions... " >&6; }
49519 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49520 $as_echo_n "(cached) " >&6
49521 else
49524 ac_ext=cpp
49525 ac_cpp='$CXXCPP $CPPFLAGS'
49526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49531 /* end confdefs.h. */
49532 #include <math.h>
49534 main ()
49536 _ceill (0); _floorl (0);
49538 return 0;
49540 _ACEOF
49541 if ac_fn_cxx_try_compile "$LINENO"; then :
49542 glibcxx_cv_func__long_double_round_use=yes
49543 else
49544 glibcxx_cv_func__long_double_round_use=no
49546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49547 ac_ext=c
49548 ac_cpp='$CPP $CPPFLAGS'
49549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49556 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49557 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49558 for ac_func in _ceill _floorl
49559 do :
49560 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49561 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49562 eval as_val=\$$as_ac_var
49563 if test "x$as_val" = x""yes; then :
49564 cat >>confdefs.h <<_ACEOF
49565 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49566 _ACEOF
49569 done
49579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49580 $as_echo_n "checking for isnanl declaration... " >&6; }
49581 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49582 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49583 $as_echo_n "(cached) " >&6
49584 else
49587 ac_ext=cpp
49588 ac_cpp='$CXXCPP $CPPFLAGS'
49589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49594 /* end confdefs.h. */
49595 #include <math.h>
49596 #ifdef HAVE_IEEEFP_H
49597 #include <ieeefp.h>
49598 #endif
49601 main ()
49603 isnanl(0);
49605 return 0;
49607 _ACEOF
49608 if ac_fn_cxx_try_compile "$LINENO"; then :
49609 glibcxx_cv_func_isnanl_use=yes
49610 else
49611 glibcxx_cv_func_isnanl_use=no
49613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49614 ac_ext=c
49615 ac_cpp='$CPP $CPPFLAGS'
49616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49625 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49627 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49628 for ac_func in isnanl
49629 do :
49630 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49631 if test "x$ac_cv_func_isnanl" = x""yes; then :
49632 cat >>confdefs.h <<_ACEOF
49633 #define HAVE_ISNANL 1
49634 _ACEOF
49637 done
49639 else
49641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49642 $as_echo_n "checking for _isnanl declaration... " >&6; }
49643 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49644 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49645 $as_echo_n "(cached) " >&6
49646 else
49649 ac_ext=cpp
49650 ac_cpp='$CXXCPP $CPPFLAGS'
49651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49656 /* end confdefs.h. */
49657 #include <math.h>
49658 #ifdef HAVE_IEEEFP_H
49659 #include <ieeefp.h>
49660 #endif
49663 main ()
49665 _isnanl(0);
49667 return 0;
49669 _ACEOF
49670 if ac_fn_cxx_try_compile "$LINENO"; then :
49671 glibcxx_cv_func__isnanl_use=yes
49672 else
49673 glibcxx_cv_func__isnanl_use=no
49675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49676 ac_ext=c
49677 ac_cpp='$CPP $CPPFLAGS'
49678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49687 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49689 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49690 for ac_func in _isnanl
49691 do :
49692 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49693 if test "x$ac_cv_func__isnanl" = x""yes; then :
49694 cat >>confdefs.h <<_ACEOF
49695 #define HAVE__ISNANL 1
49696 _ACEOF
49699 done
49708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49709 $as_echo_n "checking for isinfl declaration... " >&6; }
49710 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49711 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49712 $as_echo_n "(cached) " >&6
49713 else
49716 ac_ext=cpp
49717 ac_cpp='$CXXCPP $CPPFLAGS'
49718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49723 /* end confdefs.h. */
49724 #include <math.h>
49725 #ifdef HAVE_IEEEFP_H
49726 #include <ieeefp.h>
49727 #endif
49730 main ()
49732 isinfl(0);
49734 return 0;
49736 _ACEOF
49737 if ac_fn_cxx_try_compile "$LINENO"; then :
49738 glibcxx_cv_func_isinfl_use=yes
49739 else
49740 glibcxx_cv_func_isinfl_use=no
49742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49743 ac_ext=c
49744 ac_cpp='$CPP $CPPFLAGS'
49745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49754 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49756 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49757 for ac_func in isinfl
49758 do :
49759 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49760 if test "x$ac_cv_func_isinfl" = x""yes; then :
49761 cat >>confdefs.h <<_ACEOF
49762 #define HAVE_ISINFL 1
49763 _ACEOF
49766 done
49768 else
49770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49771 $as_echo_n "checking for _isinfl declaration... " >&6; }
49772 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49773 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49774 $as_echo_n "(cached) " >&6
49775 else
49778 ac_ext=cpp
49779 ac_cpp='$CXXCPP $CPPFLAGS'
49780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49785 /* end confdefs.h. */
49786 #include <math.h>
49787 #ifdef HAVE_IEEEFP_H
49788 #include <ieeefp.h>
49789 #endif
49792 main ()
49794 _isinfl(0);
49796 return 0;
49798 _ACEOF
49799 if ac_fn_cxx_try_compile "$LINENO"; then :
49800 glibcxx_cv_func__isinfl_use=yes
49801 else
49802 glibcxx_cv_func__isinfl_use=no
49804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49805 ac_ext=c
49806 ac_cpp='$CPP $CPPFLAGS'
49807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49816 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49818 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49819 for ac_func in _isinfl
49820 do :
49821 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49822 if test "x$ac_cv_func__isinfl" = x""yes; then :
49823 cat >>confdefs.h <<_ACEOF
49824 #define HAVE__ISINFL 1
49825 _ACEOF
49828 done
49837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49838 $as_echo_n "checking for atan2l declaration... " >&6; }
49839 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49840 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49841 $as_echo_n "(cached) " >&6
49842 else
49845 ac_ext=cpp
49846 ac_cpp='$CXXCPP $CPPFLAGS'
49847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49852 /* end confdefs.h. */
49853 #include <math.h>
49855 main ()
49857 atan2l(0, 0);
49859 return 0;
49861 _ACEOF
49862 if ac_fn_cxx_try_compile "$LINENO"; then :
49863 glibcxx_cv_func_atan2l_use=yes
49864 else
49865 glibcxx_cv_func_atan2l_use=no
49867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49868 ac_ext=c
49869 ac_cpp='$CPP $CPPFLAGS'
49870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49879 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49881 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49882 for ac_func in atan2l
49883 do :
49884 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49885 if test "x$ac_cv_func_atan2l" = x""yes; then :
49886 cat >>confdefs.h <<_ACEOF
49887 #define HAVE_ATAN2L 1
49888 _ACEOF
49891 done
49893 else
49895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49896 $as_echo_n "checking for _atan2l declaration... " >&6; }
49897 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49898 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49899 $as_echo_n "(cached) " >&6
49900 else
49903 ac_ext=cpp
49904 ac_cpp='$CXXCPP $CPPFLAGS'
49905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49910 /* end confdefs.h. */
49911 #include <math.h>
49913 main ()
49915 _atan2l(0, 0);
49917 return 0;
49919 _ACEOF
49920 if ac_fn_cxx_try_compile "$LINENO"; then :
49921 glibcxx_cv_func__atan2l_use=yes
49922 else
49923 glibcxx_cv_func__atan2l_use=no
49925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49926 ac_ext=c
49927 ac_cpp='$CPP $CPPFLAGS'
49928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49937 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49939 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49940 for ac_func in _atan2l
49941 do :
49942 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49943 if test "x$ac_cv_func__atan2l" = x""yes; then :
49944 cat >>confdefs.h <<_ACEOF
49945 #define HAVE__ATAN2L 1
49946 _ACEOF
49949 done
49958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49959 $as_echo_n "checking for expl declaration... " >&6; }
49960 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49961 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49962 $as_echo_n "(cached) " >&6
49963 else
49966 ac_ext=cpp
49967 ac_cpp='$CXXCPP $CPPFLAGS'
49968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49973 /* end confdefs.h. */
49974 #include <math.h>
49975 #ifdef HAVE_IEEEFP_H
49976 #include <ieeefp.h>
49977 #endif
49980 main ()
49982 expl(0);
49984 return 0;
49986 _ACEOF
49987 if ac_fn_cxx_try_compile "$LINENO"; then :
49988 glibcxx_cv_func_expl_use=yes
49989 else
49990 glibcxx_cv_func_expl_use=no
49992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49993 ac_ext=c
49994 ac_cpp='$CPP $CPPFLAGS'
49995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50004 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50006 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50007 for ac_func in expl
50008 do :
50009 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50010 if test "x$ac_cv_func_expl" = x""yes; then :
50011 cat >>confdefs.h <<_ACEOF
50012 #define HAVE_EXPL 1
50013 _ACEOF
50016 done
50018 else
50020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50021 $as_echo_n "checking for _expl declaration... " >&6; }
50022 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50023 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50024 $as_echo_n "(cached) " >&6
50025 else
50028 ac_ext=cpp
50029 ac_cpp='$CXXCPP $CPPFLAGS'
50030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50035 /* end confdefs.h. */
50036 #include <math.h>
50037 #ifdef HAVE_IEEEFP_H
50038 #include <ieeefp.h>
50039 #endif
50042 main ()
50044 _expl(0);
50046 return 0;
50048 _ACEOF
50049 if ac_fn_cxx_try_compile "$LINENO"; then :
50050 glibcxx_cv_func__expl_use=yes
50051 else
50052 glibcxx_cv_func__expl_use=no
50054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50055 ac_ext=c
50056 ac_cpp='$CPP $CPPFLAGS'
50057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50066 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50068 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50069 for ac_func in _expl
50070 do :
50071 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50072 if test "x$ac_cv_func__expl" = x""yes; then :
50073 cat >>confdefs.h <<_ACEOF
50074 #define HAVE__EXPL 1
50075 _ACEOF
50078 done
50087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50088 $as_echo_n "checking for fabsl declaration... " >&6; }
50089 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50090 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50091 $as_echo_n "(cached) " >&6
50092 else
50095 ac_ext=cpp
50096 ac_cpp='$CXXCPP $CPPFLAGS'
50097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50102 /* end confdefs.h. */
50103 #include <math.h>
50104 #ifdef HAVE_IEEEFP_H
50105 #include <ieeefp.h>
50106 #endif
50109 main ()
50111 fabsl(0);
50113 return 0;
50115 _ACEOF
50116 if ac_fn_cxx_try_compile "$LINENO"; then :
50117 glibcxx_cv_func_fabsl_use=yes
50118 else
50119 glibcxx_cv_func_fabsl_use=no
50121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50122 ac_ext=c
50123 ac_cpp='$CPP $CPPFLAGS'
50124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50133 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50135 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50136 for ac_func in fabsl
50137 do :
50138 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50139 if test "x$ac_cv_func_fabsl" = x""yes; then :
50140 cat >>confdefs.h <<_ACEOF
50141 #define HAVE_FABSL 1
50142 _ACEOF
50145 done
50147 else
50149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50150 $as_echo_n "checking for _fabsl declaration... " >&6; }
50151 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50152 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50153 $as_echo_n "(cached) " >&6
50154 else
50157 ac_ext=cpp
50158 ac_cpp='$CXXCPP $CPPFLAGS'
50159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50164 /* end confdefs.h. */
50165 #include <math.h>
50166 #ifdef HAVE_IEEEFP_H
50167 #include <ieeefp.h>
50168 #endif
50171 main ()
50173 _fabsl(0);
50175 return 0;
50177 _ACEOF
50178 if ac_fn_cxx_try_compile "$LINENO"; then :
50179 glibcxx_cv_func__fabsl_use=yes
50180 else
50181 glibcxx_cv_func__fabsl_use=no
50183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50184 ac_ext=c
50185 ac_cpp='$CPP $CPPFLAGS'
50186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50195 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50197 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50198 for ac_func in _fabsl
50199 do :
50200 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50201 if test "x$ac_cv_func__fabsl" = x""yes; then :
50202 cat >>confdefs.h <<_ACEOF
50203 #define HAVE__FABSL 1
50204 _ACEOF
50207 done
50216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50217 $as_echo_n "checking for fmodl declaration... " >&6; }
50218 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50219 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50220 $as_echo_n "(cached) " >&6
50221 else
50224 ac_ext=cpp
50225 ac_cpp='$CXXCPP $CPPFLAGS'
50226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50231 /* end confdefs.h. */
50232 #include <math.h>
50234 main ()
50236 fmodl(0, 0);
50238 return 0;
50240 _ACEOF
50241 if ac_fn_cxx_try_compile "$LINENO"; then :
50242 glibcxx_cv_func_fmodl_use=yes
50243 else
50244 glibcxx_cv_func_fmodl_use=no
50246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50247 ac_ext=c
50248 ac_cpp='$CPP $CPPFLAGS'
50249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50258 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50260 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50261 for ac_func in fmodl
50262 do :
50263 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50264 if test "x$ac_cv_func_fmodl" = x""yes; then :
50265 cat >>confdefs.h <<_ACEOF
50266 #define HAVE_FMODL 1
50267 _ACEOF
50270 done
50272 else
50274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50275 $as_echo_n "checking for _fmodl declaration... " >&6; }
50276 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50277 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50278 $as_echo_n "(cached) " >&6
50279 else
50282 ac_ext=cpp
50283 ac_cpp='$CXXCPP $CPPFLAGS'
50284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50289 /* end confdefs.h. */
50290 #include <math.h>
50292 main ()
50294 _fmodl(0, 0);
50296 return 0;
50298 _ACEOF
50299 if ac_fn_cxx_try_compile "$LINENO"; then :
50300 glibcxx_cv_func__fmodl_use=yes
50301 else
50302 glibcxx_cv_func__fmodl_use=no
50304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50305 ac_ext=c
50306 ac_cpp='$CPP $CPPFLAGS'
50307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50316 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50318 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50319 for ac_func in _fmodl
50320 do :
50321 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50322 if test "x$ac_cv_func__fmodl" = x""yes; then :
50323 cat >>confdefs.h <<_ACEOF
50324 #define HAVE__FMODL 1
50325 _ACEOF
50328 done
50337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50338 $as_echo_n "checking for frexpl declaration... " >&6; }
50339 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50340 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50341 $as_echo_n "(cached) " >&6
50342 else
50345 ac_ext=cpp
50346 ac_cpp='$CXXCPP $CPPFLAGS'
50347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50352 /* end confdefs.h. */
50353 #include <math.h>
50355 main ()
50357 frexpl(0, 0);
50359 return 0;
50361 _ACEOF
50362 if ac_fn_cxx_try_compile "$LINENO"; then :
50363 glibcxx_cv_func_frexpl_use=yes
50364 else
50365 glibcxx_cv_func_frexpl_use=no
50367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50368 ac_ext=c
50369 ac_cpp='$CPP $CPPFLAGS'
50370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50379 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50381 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50382 for ac_func in frexpl
50383 do :
50384 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50385 if test "x$ac_cv_func_frexpl" = x""yes; then :
50386 cat >>confdefs.h <<_ACEOF
50387 #define HAVE_FREXPL 1
50388 _ACEOF
50391 done
50393 else
50395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50396 $as_echo_n "checking for _frexpl declaration... " >&6; }
50397 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50398 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50399 $as_echo_n "(cached) " >&6
50400 else
50403 ac_ext=cpp
50404 ac_cpp='$CXXCPP $CPPFLAGS'
50405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50410 /* end confdefs.h. */
50411 #include <math.h>
50413 main ()
50415 _frexpl(0, 0);
50417 return 0;
50419 _ACEOF
50420 if ac_fn_cxx_try_compile "$LINENO"; then :
50421 glibcxx_cv_func__frexpl_use=yes
50422 else
50423 glibcxx_cv_func__frexpl_use=no
50425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50426 ac_ext=c
50427 ac_cpp='$CPP $CPPFLAGS'
50428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50437 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50439 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50440 for ac_func in _frexpl
50441 do :
50442 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50443 if test "x$ac_cv_func__frexpl" = x""yes; then :
50444 cat >>confdefs.h <<_ACEOF
50445 #define HAVE__FREXPL 1
50446 _ACEOF
50449 done
50458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50459 $as_echo_n "checking for hypotl declaration... " >&6; }
50460 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50461 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50462 $as_echo_n "(cached) " >&6
50463 else
50466 ac_ext=cpp
50467 ac_cpp='$CXXCPP $CPPFLAGS'
50468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50473 /* end confdefs.h. */
50474 #include <math.h>
50476 main ()
50478 hypotl(0, 0);
50480 return 0;
50482 _ACEOF
50483 if ac_fn_cxx_try_compile "$LINENO"; then :
50484 glibcxx_cv_func_hypotl_use=yes
50485 else
50486 glibcxx_cv_func_hypotl_use=no
50488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50489 ac_ext=c
50490 ac_cpp='$CPP $CPPFLAGS'
50491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50500 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50502 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50503 for ac_func in hypotl
50504 do :
50505 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50506 if test "x$ac_cv_func_hypotl" = x""yes; then :
50507 cat >>confdefs.h <<_ACEOF
50508 #define HAVE_HYPOTL 1
50509 _ACEOF
50512 done
50514 else
50516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50517 $as_echo_n "checking for _hypotl declaration... " >&6; }
50518 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50519 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50520 $as_echo_n "(cached) " >&6
50521 else
50524 ac_ext=cpp
50525 ac_cpp='$CXXCPP $CPPFLAGS'
50526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50531 /* end confdefs.h. */
50532 #include <math.h>
50534 main ()
50536 _hypotl(0, 0);
50538 return 0;
50540 _ACEOF
50541 if ac_fn_cxx_try_compile "$LINENO"; then :
50542 glibcxx_cv_func__hypotl_use=yes
50543 else
50544 glibcxx_cv_func__hypotl_use=no
50546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50547 ac_ext=c
50548 ac_cpp='$CPP $CPPFLAGS'
50549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50558 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50560 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50561 for ac_func in _hypotl
50562 do :
50563 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50564 if test "x$ac_cv_func__hypotl" = x""yes; then :
50565 cat >>confdefs.h <<_ACEOF
50566 #define HAVE__HYPOTL 1
50567 _ACEOF
50570 done
50579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50580 $as_echo_n "checking for ldexpl declaration... " >&6; }
50581 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50582 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50583 $as_echo_n "(cached) " >&6
50584 else
50587 ac_ext=cpp
50588 ac_cpp='$CXXCPP $CPPFLAGS'
50589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50594 /* end confdefs.h. */
50595 #include <math.h>
50597 main ()
50599 ldexpl(0, 0);
50601 return 0;
50603 _ACEOF
50604 if ac_fn_cxx_try_compile "$LINENO"; then :
50605 glibcxx_cv_func_ldexpl_use=yes
50606 else
50607 glibcxx_cv_func_ldexpl_use=no
50609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50610 ac_ext=c
50611 ac_cpp='$CPP $CPPFLAGS'
50612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50621 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50623 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50624 for ac_func in ldexpl
50625 do :
50626 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50627 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50628 cat >>confdefs.h <<_ACEOF
50629 #define HAVE_LDEXPL 1
50630 _ACEOF
50633 done
50635 else
50637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50638 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50639 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50640 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50641 $as_echo_n "(cached) " >&6
50642 else
50645 ac_ext=cpp
50646 ac_cpp='$CXXCPP $CPPFLAGS'
50647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50652 /* end confdefs.h. */
50653 #include <math.h>
50655 main ()
50657 _ldexpl(0, 0);
50659 return 0;
50661 _ACEOF
50662 if ac_fn_cxx_try_compile "$LINENO"; then :
50663 glibcxx_cv_func__ldexpl_use=yes
50664 else
50665 glibcxx_cv_func__ldexpl_use=no
50667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50668 ac_ext=c
50669 ac_cpp='$CPP $CPPFLAGS'
50670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50679 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50681 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50682 for ac_func in _ldexpl
50683 do :
50684 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50685 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50686 cat >>confdefs.h <<_ACEOF
50687 #define HAVE__LDEXPL 1
50688 _ACEOF
50691 done
50700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50701 $as_echo_n "checking for logl declaration... " >&6; }
50702 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50703 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50704 $as_echo_n "(cached) " >&6
50705 else
50708 ac_ext=cpp
50709 ac_cpp='$CXXCPP $CPPFLAGS'
50710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50715 /* end confdefs.h. */
50716 #include <math.h>
50717 #ifdef HAVE_IEEEFP_H
50718 #include <ieeefp.h>
50719 #endif
50722 main ()
50724 logl(0);
50726 return 0;
50728 _ACEOF
50729 if ac_fn_cxx_try_compile "$LINENO"; then :
50730 glibcxx_cv_func_logl_use=yes
50731 else
50732 glibcxx_cv_func_logl_use=no
50734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50735 ac_ext=c
50736 ac_cpp='$CPP $CPPFLAGS'
50737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50746 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50748 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50749 for ac_func in logl
50750 do :
50751 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50752 if test "x$ac_cv_func_logl" = x""yes; then :
50753 cat >>confdefs.h <<_ACEOF
50754 #define HAVE_LOGL 1
50755 _ACEOF
50758 done
50760 else
50762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50763 $as_echo_n "checking for _logl declaration... " >&6; }
50764 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50765 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50766 $as_echo_n "(cached) " >&6
50767 else
50770 ac_ext=cpp
50771 ac_cpp='$CXXCPP $CPPFLAGS'
50772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50777 /* end confdefs.h. */
50778 #include <math.h>
50779 #ifdef HAVE_IEEEFP_H
50780 #include <ieeefp.h>
50781 #endif
50784 main ()
50786 _logl(0);
50788 return 0;
50790 _ACEOF
50791 if ac_fn_cxx_try_compile "$LINENO"; then :
50792 glibcxx_cv_func__logl_use=yes
50793 else
50794 glibcxx_cv_func__logl_use=no
50796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50797 ac_ext=c
50798 ac_cpp='$CPP $CPPFLAGS'
50799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50808 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50810 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50811 for ac_func in _logl
50812 do :
50813 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50814 if test "x$ac_cv_func__logl" = x""yes; then :
50815 cat >>confdefs.h <<_ACEOF
50816 #define HAVE__LOGL 1
50817 _ACEOF
50820 done
50829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50830 $as_echo_n "checking for log10l declaration... " >&6; }
50831 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50832 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50833 $as_echo_n "(cached) " >&6
50834 else
50837 ac_ext=cpp
50838 ac_cpp='$CXXCPP $CPPFLAGS'
50839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50844 /* end confdefs.h. */
50845 #include <math.h>
50846 #ifdef HAVE_IEEEFP_H
50847 #include <ieeefp.h>
50848 #endif
50851 main ()
50853 log10l(0);
50855 return 0;
50857 _ACEOF
50858 if ac_fn_cxx_try_compile "$LINENO"; then :
50859 glibcxx_cv_func_log10l_use=yes
50860 else
50861 glibcxx_cv_func_log10l_use=no
50863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50864 ac_ext=c
50865 ac_cpp='$CPP $CPPFLAGS'
50866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50875 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50877 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50878 for ac_func in log10l
50879 do :
50880 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50881 if test "x$ac_cv_func_log10l" = x""yes; then :
50882 cat >>confdefs.h <<_ACEOF
50883 #define HAVE_LOG10L 1
50884 _ACEOF
50887 done
50889 else
50891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50892 $as_echo_n "checking for _log10l declaration... " >&6; }
50893 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50894 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50895 $as_echo_n "(cached) " >&6
50896 else
50899 ac_ext=cpp
50900 ac_cpp='$CXXCPP $CPPFLAGS'
50901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50906 /* end confdefs.h. */
50907 #include <math.h>
50908 #ifdef HAVE_IEEEFP_H
50909 #include <ieeefp.h>
50910 #endif
50913 main ()
50915 _log10l(0);
50917 return 0;
50919 _ACEOF
50920 if ac_fn_cxx_try_compile "$LINENO"; then :
50921 glibcxx_cv_func__log10l_use=yes
50922 else
50923 glibcxx_cv_func__log10l_use=no
50925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50926 ac_ext=c
50927 ac_cpp='$CPP $CPPFLAGS'
50928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50937 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50939 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50940 for ac_func in _log10l
50941 do :
50942 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50943 if test "x$ac_cv_func__log10l" = x""yes; then :
50944 cat >>confdefs.h <<_ACEOF
50945 #define HAVE__LOG10L 1
50946 _ACEOF
50949 done
50958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50959 $as_echo_n "checking for modfl declaration... " >&6; }
50960 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50961 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50962 $as_echo_n "(cached) " >&6
50963 else
50966 ac_ext=cpp
50967 ac_cpp='$CXXCPP $CPPFLAGS'
50968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50973 /* end confdefs.h. */
50974 #include <math.h>
50976 main ()
50978 modfl(0, 0);
50980 return 0;
50982 _ACEOF
50983 if ac_fn_cxx_try_compile "$LINENO"; then :
50984 glibcxx_cv_func_modfl_use=yes
50985 else
50986 glibcxx_cv_func_modfl_use=no
50988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50989 ac_ext=c
50990 ac_cpp='$CPP $CPPFLAGS'
50991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51000 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51002 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51003 for ac_func in modfl
51004 do :
51005 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51006 if test "x$ac_cv_func_modfl" = x""yes; then :
51007 cat >>confdefs.h <<_ACEOF
51008 #define HAVE_MODFL 1
51009 _ACEOF
51012 done
51014 else
51016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51017 $as_echo_n "checking for _modfl declaration... " >&6; }
51018 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51019 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51020 $as_echo_n "(cached) " >&6
51021 else
51024 ac_ext=cpp
51025 ac_cpp='$CXXCPP $CPPFLAGS'
51026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51031 /* end confdefs.h. */
51032 #include <math.h>
51034 main ()
51036 _modfl(0, 0);
51038 return 0;
51040 _ACEOF
51041 if ac_fn_cxx_try_compile "$LINENO"; then :
51042 glibcxx_cv_func__modfl_use=yes
51043 else
51044 glibcxx_cv_func__modfl_use=no
51046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51047 ac_ext=c
51048 ac_cpp='$CPP $CPPFLAGS'
51049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51058 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51060 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51061 for ac_func in _modfl
51062 do :
51063 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51064 if test "x$ac_cv_func__modfl" = x""yes; then :
51065 cat >>confdefs.h <<_ACEOF
51066 #define HAVE__MODFL 1
51067 _ACEOF
51070 done
51079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51080 $as_echo_n "checking for powl declaration... " >&6; }
51081 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51082 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51083 $as_echo_n "(cached) " >&6
51084 else
51087 ac_ext=cpp
51088 ac_cpp='$CXXCPP $CPPFLAGS'
51089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51094 /* end confdefs.h. */
51095 #include <math.h>
51097 main ()
51099 powl(0, 0);
51101 return 0;
51103 _ACEOF
51104 if ac_fn_cxx_try_compile "$LINENO"; then :
51105 glibcxx_cv_func_powl_use=yes
51106 else
51107 glibcxx_cv_func_powl_use=no
51109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51110 ac_ext=c
51111 ac_cpp='$CPP $CPPFLAGS'
51112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51121 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51123 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51124 for ac_func in powl
51125 do :
51126 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51127 if test "x$ac_cv_func_powl" = x""yes; then :
51128 cat >>confdefs.h <<_ACEOF
51129 #define HAVE_POWL 1
51130 _ACEOF
51133 done
51135 else
51137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51138 $as_echo_n "checking for _powl declaration... " >&6; }
51139 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51140 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51141 $as_echo_n "(cached) " >&6
51142 else
51145 ac_ext=cpp
51146 ac_cpp='$CXXCPP $CPPFLAGS'
51147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51152 /* end confdefs.h. */
51153 #include <math.h>
51155 main ()
51157 _powl(0, 0);
51159 return 0;
51161 _ACEOF
51162 if ac_fn_cxx_try_compile "$LINENO"; then :
51163 glibcxx_cv_func__powl_use=yes
51164 else
51165 glibcxx_cv_func__powl_use=no
51167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51168 ac_ext=c
51169 ac_cpp='$CPP $CPPFLAGS'
51170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51179 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51181 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51182 for ac_func in _powl
51183 do :
51184 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51185 if test "x$ac_cv_func__powl" = x""yes; then :
51186 cat >>confdefs.h <<_ACEOF
51187 #define HAVE__POWL 1
51188 _ACEOF
51191 done
51200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51201 $as_echo_n "checking for sqrtl declaration... " >&6; }
51202 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51203 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51204 $as_echo_n "(cached) " >&6
51205 else
51208 ac_ext=cpp
51209 ac_cpp='$CXXCPP $CPPFLAGS'
51210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51215 /* end confdefs.h. */
51216 #include <math.h>
51217 #ifdef HAVE_IEEEFP_H
51218 #include <ieeefp.h>
51219 #endif
51222 main ()
51224 sqrtl(0);
51226 return 0;
51228 _ACEOF
51229 if ac_fn_cxx_try_compile "$LINENO"; then :
51230 glibcxx_cv_func_sqrtl_use=yes
51231 else
51232 glibcxx_cv_func_sqrtl_use=no
51234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51235 ac_ext=c
51236 ac_cpp='$CPP $CPPFLAGS'
51237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51246 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51248 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51249 for ac_func in sqrtl
51250 do :
51251 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51252 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51253 cat >>confdefs.h <<_ACEOF
51254 #define HAVE_SQRTL 1
51255 _ACEOF
51258 done
51260 else
51262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51263 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51264 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51265 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51266 $as_echo_n "(cached) " >&6
51267 else
51270 ac_ext=cpp
51271 ac_cpp='$CXXCPP $CPPFLAGS'
51272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51277 /* end confdefs.h. */
51278 #include <math.h>
51279 #ifdef HAVE_IEEEFP_H
51280 #include <ieeefp.h>
51281 #endif
51284 main ()
51286 _sqrtl(0);
51288 return 0;
51290 _ACEOF
51291 if ac_fn_cxx_try_compile "$LINENO"; then :
51292 glibcxx_cv_func__sqrtl_use=yes
51293 else
51294 glibcxx_cv_func__sqrtl_use=no
51296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51297 ac_ext=c
51298 ac_cpp='$CPP $CPPFLAGS'
51299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51308 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51310 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51311 for ac_func in _sqrtl
51312 do :
51313 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51314 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51315 cat >>confdefs.h <<_ACEOF
51316 #define HAVE__SQRTL 1
51317 _ACEOF
51320 done
51329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51330 $as_echo_n "checking for sincosl declaration... " >&6; }
51331 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51332 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51333 $as_echo_n "(cached) " >&6
51334 else
51337 ac_ext=cpp
51338 ac_cpp='$CXXCPP $CPPFLAGS'
51339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51344 /* end confdefs.h. */
51345 #include <math.h>
51347 main ()
51349 sincosl(0, 0, 0);
51351 return 0;
51353 _ACEOF
51354 if ac_fn_cxx_try_compile "$LINENO"; then :
51355 glibcxx_cv_func_sincosl_use=yes
51356 else
51357 glibcxx_cv_func_sincosl_use=no
51359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51360 ac_ext=c
51361 ac_cpp='$CPP $CPPFLAGS'
51362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51371 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51373 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51374 for ac_func in sincosl
51375 do :
51376 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51377 if test "x$ac_cv_func_sincosl" = x""yes; then :
51378 cat >>confdefs.h <<_ACEOF
51379 #define HAVE_SINCOSL 1
51380 _ACEOF
51383 done
51385 else
51387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51388 $as_echo_n "checking for _sincosl declaration... " >&6; }
51389 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51390 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51391 $as_echo_n "(cached) " >&6
51392 else
51395 ac_ext=cpp
51396 ac_cpp='$CXXCPP $CPPFLAGS'
51397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51402 /* end confdefs.h. */
51403 #include <math.h>
51405 main ()
51407 _sincosl(0, 0, 0);
51409 return 0;
51411 _ACEOF
51412 if ac_fn_cxx_try_compile "$LINENO"; then :
51413 glibcxx_cv_func__sincosl_use=yes
51414 else
51415 glibcxx_cv_func__sincosl_use=no
51417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51418 ac_ext=c
51419 ac_cpp='$CPP $CPPFLAGS'
51420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51429 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51431 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51432 for ac_func in _sincosl
51433 do :
51434 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51435 if test "x$ac_cv_func__sincosl" = x""yes; then :
51436 cat >>confdefs.h <<_ACEOF
51437 #define HAVE__SINCOSL 1
51438 _ACEOF
51441 done
51450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51451 $as_echo_n "checking for finitel declaration... " >&6; }
51452 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51453 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51454 $as_echo_n "(cached) " >&6
51455 else
51458 ac_ext=cpp
51459 ac_cpp='$CXXCPP $CPPFLAGS'
51460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51465 /* end confdefs.h. */
51466 #include <math.h>
51467 #ifdef HAVE_IEEEFP_H
51468 #include <ieeefp.h>
51469 #endif
51472 main ()
51474 finitel(0);
51476 return 0;
51478 _ACEOF
51479 if ac_fn_cxx_try_compile "$LINENO"; then :
51480 glibcxx_cv_func_finitel_use=yes
51481 else
51482 glibcxx_cv_func_finitel_use=no
51484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51485 ac_ext=c
51486 ac_cpp='$CPP $CPPFLAGS'
51487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51496 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51498 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51499 for ac_func in finitel
51500 do :
51501 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51502 if test "x$ac_cv_func_finitel" = x""yes; then :
51503 cat >>confdefs.h <<_ACEOF
51504 #define HAVE_FINITEL 1
51505 _ACEOF
51508 done
51510 else
51512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51513 $as_echo_n "checking for _finitel declaration... " >&6; }
51514 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51515 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51516 $as_echo_n "(cached) " >&6
51517 else
51520 ac_ext=cpp
51521 ac_cpp='$CXXCPP $CPPFLAGS'
51522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51527 /* end confdefs.h. */
51528 #include <math.h>
51529 #ifdef HAVE_IEEEFP_H
51530 #include <ieeefp.h>
51531 #endif
51534 main ()
51536 _finitel(0);
51538 return 0;
51540 _ACEOF
51541 if ac_fn_cxx_try_compile "$LINENO"; then :
51542 glibcxx_cv_func__finitel_use=yes
51543 else
51544 glibcxx_cv_func__finitel_use=no
51546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51547 ac_ext=c
51548 ac_cpp='$CPP $CPPFLAGS'
51549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51558 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51560 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51561 for ac_func in _finitel
51562 do :
51563 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51564 if test "x$ac_cv_func__finitel" = x""yes; then :
51565 cat >>confdefs.h <<_ACEOF
51566 #define HAVE__FINITEL 1
51567 _ACEOF
51570 done
51578 LIBS="$ac_save_LIBS"
51579 CXXFLAGS="$ac_save_CXXFLAGS"
51582 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51583 ac_save_CXXFLAGS="$CXXFLAGS"
51584 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51588 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51589 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51590 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51591 $as_echo_n "(cached) " >&6
51592 else
51595 ac_ext=cpp
51596 ac_cpp='$CXXCPP $CPPFLAGS'
51597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51602 /* end confdefs.h. */
51603 #include <stdlib.h>
51605 main ()
51607 at_quick_exit(0);
51609 return 0;
51611 _ACEOF
51612 if ac_fn_cxx_try_compile "$LINENO"; then :
51613 glibcxx_cv_func_at_quick_exit_use=yes
51614 else
51615 glibcxx_cv_func_at_quick_exit_use=no
51617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51618 ac_ext=c
51619 ac_cpp='$CPP $CPPFLAGS'
51620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51629 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51630 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51631 for ac_func in at_quick_exit
51632 do :
51633 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51634 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51635 cat >>confdefs.h <<_ACEOF
51636 #define HAVE_AT_QUICK_EXIT 1
51637 _ACEOF
51640 done
51645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51646 $as_echo_n "checking for quick_exit declaration... " >&6; }
51647 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51648 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51649 $as_echo_n "(cached) " >&6
51650 else
51653 ac_ext=cpp
51654 ac_cpp='$CXXCPP $CPPFLAGS'
51655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51660 /* end confdefs.h. */
51661 #include <stdlib.h>
51663 main ()
51665 quick_exit(0);
51667 return 0;
51669 _ACEOF
51670 if ac_fn_cxx_try_compile "$LINENO"; then :
51671 glibcxx_cv_func_quick_exit_use=yes
51672 else
51673 glibcxx_cv_func_quick_exit_use=no
51675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51676 ac_ext=c
51677 ac_cpp='$CPP $CPPFLAGS'
51678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51687 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51688 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51689 for ac_func in quick_exit
51690 do :
51691 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51692 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51693 cat >>confdefs.h <<_ACEOF
51694 #define HAVE_QUICK_EXIT 1
51695 _ACEOF
51698 done
51703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51704 $as_echo_n "checking for strtold declaration... " >&6; }
51705 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51706 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51707 $as_echo_n "(cached) " >&6
51708 else
51711 ac_ext=cpp
51712 ac_cpp='$CXXCPP $CPPFLAGS'
51713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51718 /* end confdefs.h. */
51719 #include <stdlib.h>
51721 main ()
51723 strtold(0, 0);
51725 return 0;
51727 _ACEOF
51728 if ac_fn_cxx_try_compile "$LINENO"; then :
51729 glibcxx_cv_func_strtold_use=yes
51730 else
51731 glibcxx_cv_func_strtold_use=no
51733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51734 ac_ext=c
51735 ac_cpp='$CPP $CPPFLAGS'
51736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51745 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51746 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51747 for ac_func in strtold
51748 do :
51749 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51750 if test "x$ac_cv_func_strtold" = x""yes; then :
51751 cat >>confdefs.h <<_ACEOF
51752 #define HAVE_STRTOLD 1
51753 _ACEOF
51756 done
51763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51764 $as_echo_n "checking for strtof declaration... " >&6; }
51765 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51766 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51767 $as_echo_n "(cached) " >&6
51768 else
51771 ac_ext=cpp
51772 ac_cpp='$CXXCPP $CPPFLAGS'
51773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51778 /* end confdefs.h. */
51779 #include <stdlib.h>
51781 main ()
51783 strtof(0, 0);
51785 return 0;
51787 _ACEOF
51788 if ac_fn_cxx_try_compile "$LINENO"; then :
51789 glibcxx_cv_func_strtof_use=yes
51790 else
51791 glibcxx_cv_func_strtof_use=no
51793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51794 ac_ext=c
51795 ac_cpp='$CPP $CPPFLAGS'
51796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51805 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51806 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51807 for ac_func in strtof
51808 do :
51809 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51810 if test "x$ac_cv_func_strtof" = x""yes; then :
51811 cat >>confdefs.h <<_ACEOF
51812 #define HAVE_STRTOF 1
51813 _ACEOF
51816 done
51823 CXXFLAGS="$ac_save_CXXFLAGS"
51827 *djgpp)
51828 # GLIBCXX_CHECK_MATH_SUPPORT
51829 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51831 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51833 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51835 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51837 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51841 *-freebsd*)
51842 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51845 # If we're not using GNU ld, then there's no point in even trying these
51846 # tests. Check for that first. We should have already tested for gld
51847 # by now (in libtool), but require it now just to be safe...
51848 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51849 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51853 # The name set by libtool depends on the version of libtool. Shame on us
51854 # for depending on an impl detail, but c'est la vie. Older versions used
51855 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51856 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51857 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51858 # set (hence we're using an older libtool), then set it.
51859 if test x${with_gnu_ld+set} != xset; then
51860 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51861 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51862 with_gnu_ld=no
51863 else
51864 with_gnu_ld=$ac_cv_prog_gnu_ld
51868 # Start by getting the version number. I think the libtool test already
51869 # does some of this, but throws away the result.
51870 glibcxx_ld_is_gold=no
51871 if test x"$with_gnu_ld" = x"yes"; then
51872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51873 $as_echo_n "checking for ld version... " >&6; }
51875 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51876 glibcxx_ld_is_gold=yes
51878 ldver=`$LD --version 2>/dev/null |
51879 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'`
51881 glibcxx_gnu_ld_version=`echo $ldver | \
51882 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51884 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51887 # Set --gc-sections.
51888 glibcxx_have_gc_sections=no
51889 if test "$glibcxx_ld_is_gold" = "yes"; then
51890 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51891 glibcxx_have_gc_sections=yes
51893 else
51894 glibcxx_gcsections_min_ld=21602
51895 if test x"$with_gnu_ld" = x"yes" &&
51896 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51897 glibcxx_have_gc_sections=yes
51900 if test "$glibcxx_have_gc_sections" = "yes"; then
51901 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51902 # NB: This flag only works reliably after 2.16.1. Configure tests
51903 # for this are difficult, so hard wire a value that should work.
51905 ac_test_CFLAGS="${CFLAGS+set}"
51906 ac_save_CFLAGS="$CFLAGS"
51907 CFLAGS='-Wl,--gc-sections'
51909 # Check for -Wl,--gc-sections
51910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51911 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51912 if test x$gcc_no_link = xyes; then
51913 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51916 /* end confdefs.h. */
51917 int one(void) { return 1; }
51918 int two(void) { return 2; }
51921 main ()
51923 two();
51925 return 0;
51927 _ACEOF
51928 if ac_fn_c_try_link "$LINENO"; then :
51929 ac_gcsections=yes
51930 else
51931 ac_gcsections=no
51933 rm -f core conftest.err conftest.$ac_objext \
51934 conftest$ac_exeext conftest.$ac_ext
51935 if test "$ac_gcsections" = "yes"; then
51936 rm -f conftest.c
51937 touch conftest.c
51938 if $CC -c conftest.c; then
51939 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51940 grep "Warning: gc-sections option ignored" > /dev/null; then
51941 ac_gcsections=no
51944 rm -f conftest.c conftest.o conftest
51946 if test "$ac_gcsections" = "yes"; then
51947 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51950 $as_echo "$ac_gcsections" >&6; }
51952 if test "$ac_test_CFLAGS" = set; then
51953 CFLAGS="$ac_save_CFLAGS"
51954 else
51955 # this is the suspicious part
51956 CFLAGS=''
51960 # Set -z,relro.
51961 # Note this is only for shared objects.
51962 ac_ld_relro=no
51963 if test x"$with_gnu_ld" = x"yes"; then
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51965 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51966 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51967 if test -n "$cxx_z_relo"; then
51968 OPT_LDFLAGS="-Wl,-z,relro"
51969 ac_ld_relro=yes
51971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51972 $as_echo "$ac_ld_relro" >&6; }
51975 # Set linker optimization flags.
51976 if test x"$with_gnu_ld" = x"yes"; then
51977 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51983 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
51985 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
51987 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51989 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
51991 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51993 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
51995 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51997 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51999 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52002 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52004 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52006 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52008 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52010 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52012 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52014 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52016 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52018 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52020 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52022 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52024 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52026 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52028 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52030 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52032 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52034 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52036 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52038 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52040 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52042 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52044 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52046 if test x"long_double_math_on_this_cpu" = x"yes"; then
52047 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52049 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52051 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52055 *-hpux*)
52056 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52059 # If we're not using GNU ld, then there's no point in even trying these
52060 # tests. Check for that first. We should have already tested for gld
52061 # by now (in libtool), but require it now just to be safe...
52062 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52063 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52067 # The name set by libtool depends on the version of libtool. Shame on us
52068 # for depending on an impl detail, but c'est la vie. Older versions used
52069 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52070 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52071 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52072 # set (hence we're using an older libtool), then set it.
52073 if test x${with_gnu_ld+set} != xset; then
52074 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52075 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52076 with_gnu_ld=no
52077 else
52078 with_gnu_ld=$ac_cv_prog_gnu_ld
52082 # Start by getting the version number. I think the libtool test already
52083 # does some of this, but throws away the result.
52084 glibcxx_ld_is_gold=no
52085 if test x"$with_gnu_ld" = x"yes"; then
52086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52087 $as_echo_n "checking for ld version... " >&6; }
52089 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52090 glibcxx_ld_is_gold=yes
52092 ldver=`$LD --version 2>/dev/null |
52093 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'`
52095 glibcxx_gnu_ld_version=`echo $ldver | \
52096 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52098 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52101 # Set --gc-sections.
52102 glibcxx_have_gc_sections=no
52103 if test "$glibcxx_ld_is_gold" = "yes"; then
52104 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52105 glibcxx_have_gc_sections=yes
52107 else
52108 glibcxx_gcsections_min_ld=21602
52109 if test x"$with_gnu_ld" = x"yes" &&
52110 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52111 glibcxx_have_gc_sections=yes
52114 if test "$glibcxx_have_gc_sections" = "yes"; then
52115 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52116 # NB: This flag only works reliably after 2.16.1. Configure tests
52117 # for this are difficult, so hard wire a value that should work.
52119 ac_test_CFLAGS="${CFLAGS+set}"
52120 ac_save_CFLAGS="$CFLAGS"
52121 CFLAGS='-Wl,--gc-sections'
52123 # Check for -Wl,--gc-sections
52124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52125 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52126 if test x$gcc_no_link = xyes; then
52127 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52130 /* end confdefs.h. */
52131 int one(void) { return 1; }
52132 int two(void) { return 2; }
52135 main ()
52137 two();
52139 return 0;
52141 _ACEOF
52142 if ac_fn_c_try_link "$LINENO"; then :
52143 ac_gcsections=yes
52144 else
52145 ac_gcsections=no
52147 rm -f core conftest.err conftest.$ac_objext \
52148 conftest$ac_exeext conftest.$ac_ext
52149 if test "$ac_gcsections" = "yes"; then
52150 rm -f conftest.c
52151 touch conftest.c
52152 if $CC -c conftest.c; then
52153 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52154 grep "Warning: gc-sections option ignored" > /dev/null; then
52155 ac_gcsections=no
52158 rm -f conftest.c conftest.o conftest
52160 if test "$ac_gcsections" = "yes"; then
52161 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52164 $as_echo "$ac_gcsections" >&6; }
52166 if test "$ac_test_CFLAGS" = set; then
52167 CFLAGS="$ac_save_CFLAGS"
52168 else
52169 # this is the suspicious part
52170 CFLAGS=''
52174 # Set -z,relro.
52175 # Note this is only for shared objects.
52176 ac_ld_relro=no
52177 if test x"$with_gnu_ld" = x"yes"; then
52178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52179 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52180 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52181 if test -n "$cxx_z_relo"; then
52182 OPT_LDFLAGS="-Wl,-z,relro"
52183 ac_ld_relro=yes
52185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52186 $as_echo "$ac_ld_relro" >&6; }
52189 # Set linker optimization flags.
52190 if test x"$with_gnu_ld" = x"yes"; then
52191 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52198 # GLIBCXX_CHECK_MATH_SUPPORT
52199 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52201 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52203 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52205 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52207 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52209 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52211 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52213 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52215 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52217 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52219 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52221 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52223 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52225 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52227 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52229 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52231 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52233 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52235 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52237 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52239 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52242 # GLIBCXX_CHECK_STDLIB_SUPPORT
52243 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52248 # Check whether --enable-tls was given.
52249 if test "${enable_tls+set}" = set; then :
52250 enableval=$enable_tls;
52251 case "$enableval" in
52252 yes|no) ;;
52253 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52254 esac
52256 else
52257 enable_tls=yes
52261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52262 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52263 if test "${gcc_cv_have_tls+set}" = set; then :
52264 $as_echo_n "(cached) " >&6
52265 else
52267 if test "$cross_compiling" = yes; then :
52268 if test x$gcc_no_link = xyes; then
52269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52272 /* end confdefs.h. */
52273 __thread int a; int b; int main() { return a = b; }
52274 _ACEOF
52275 if ac_fn_c_try_link "$LINENO"; then :
52276 chktls_save_LDFLAGS="$LDFLAGS"
52277 case $host in
52278 *-*-linux*)
52279 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52281 esac
52282 chktls_save_CFLAGS="$CFLAGS"
52283 CFLAGS="-fPIC $CFLAGS"
52284 if test x$gcc_no_link = xyes; then
52285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52288 /* end confdefs.h. */
52289 int f() { return 0; }
52290 _ACEOF
52291 if ac_fn_c_try_link "$LINENO"; then :
52292 if test x$gcc_no_link = xyes; then
52293 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52296 /* end confdefs.h. */
52297 __thread int a; int b; int f() { return a = b; }
52298 _ACEOF
52299 if ac_fn_c_try_link "$LINENO"; then :
52300 gcc_cv_have_tls=yes
52301 else
52302 gcc_cv_have_tls=no
52304 rm -f core conftest.err conftest.$ac_objext \
52305 conftest$ac_exeext conftest.$ac_ext
52306 else
52307 gcc_cv_have_tls=yes
52309 rm -f core conftest.err conftest.$ac_objext \
52310 conftest$ac_exeext conftest.$ac_ext
52311 CFLAGS="$chktls_save_CFLAGS"
52312 LDFLAGS="$chktls_save_LDFLAGS"
52313 else
52314 gcc_cv_have_tls=no
52316 rm -f core conftest.err conftest.$ac_objext \
52317 conftest$ac_exeext conftest.$ac_ext
52320 else
52321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52322 /* end confdefs.h. */
52323 __thread int a; int b; int main() { return a = b; }
52324 _ACEOF
52325 if ac_fn_c_try_run "$LINENO"; then :
52326 chktls_save_LDFLAGS="$LDFLAGS"
52327 LDFLAGS="-static $LDFLAGS"
52328 if test x$gcc_no_link = xyes; then
52329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52332 /* end confdefs.h. */
52333 int main() { return 0; }
52334 _ACEOF
52335 if ac_fn_c_try_link "$LINENO"; then :
52336 if test "$cross_compiling" = yes; then :
52337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52339 as_fn_error "cannot run test program while cross compiling
52340 See \`config.log' for more details." "$LINENO" 5; }
52341 else
52342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52343 /* end confdefs.h. */
52344 __thread int a; int b; int main() { return a = b; }
52345 _ACEOF
52346 if ac_fn_c_try_run "$LINENO"; then :
52347 gcc_cv_have_tls=yes
52348 else
52349 gcc_cv_have_tls=no
52351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52352 conftest.$ac_objext conftest.beam conftest.$ac_ext
52355 else
52356 gcc_cv_have_tls=yes
52358 rm -f core conftest.err conftest.$ac_objext \
52359 conftest$ac_exeext conftest.$ac_ext
52360 LDFLAGS="$chktls_save_LDFLAGS"
52361 if test $gcc_cv_have_tls = yes; then
52362 chktls_save_CFLAGS="$CFLAGS"
52363 thread_CFLAGS=failed
52364 for flag in '' '-pthread' '-lpthread'; do
52365 CFLAGS="$flag $chktls_save_CFLAGS"
52366 if test x$gcc_no_link = xyes; then
52367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52370 /* end confdefs.h. */
52371 #include <pthread.h>
52372 void *g(void *d) { return NULL; }
52374 main ()
52376 pthread_t t; pthread_create(&t,NULL,g,NULL);
52378 return 0;
52380 _ACEOF
52381 if ac_fn_c_try_link "$LINENO"; then :
52382 thread_CFLAGS="$flag"
52384 rm -f core conftest.err conftest.$ac_objext \
52385 conftest$ac_exeext conftest.$ac_ext
52386 if test "X$thread_CFLAGS" != Xfailed; then
52387 break
52389 done
52390 CFLAGS="$chktls_save_CFLAGS"
52391 if test "X$thread_CFLAGS" != Xfailed; then
52392 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52393 if test "$cross_compiling" = yes; then :
52394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52396 as_fn_error "cannot run test program while cross compiling
52397 See \`config.log' for more details." "$LINENO" 5; }
52398 else
52399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52400 /* end confdefs.h. */
52401 #include <pthread.h>
52402 __thread int a;
52403 static int *volatile a_in_other_thread;
52404 static void *
52405 thread_func (void *arg)
52407 a_in_other_thread = &a;
52408 return (void *)0;
52411 main ()
52413 pthread_t thread;
52414 void *thread_retval;
52415 int *volatile a_in_main_thread;
52416 a_in_main_thread = &a;
52417 if (pthread_create (&thread, (pthread_attr_t *)0,
52418 thread_func, (void *)0))
52419 return 0;
52420 if (pthread_join (thread, &thread_retval))
52421 return 0;
52422 return (a_in_other_thread == a_in_main_thread);
52424 return 0;
52426 _ACEOF
52427 if ac_fn_c_try_run "$LINENO"; then :
52428 gcc_cv_have_tls=yes
52429 else
52430 gcc_cv_have_tls=no
52432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52433 conftest.$ac_objext conftest.beam conftest.$ac_ext
52436 CFLAGS="$chktls_save_CFLAGS"
52439 else
52440 gcc_cv_have_tls=no
52442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52443 conftest.$ac_objext conftest.beam conftest.$ac_ext
52447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52448 $as_echo "$gcc_cv_have_tls" >&6; }
52449 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52451 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52454 case "$target" in
52455 *-hpux10*)
52456 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52458 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52460 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52462 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52464 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52467 esac
52469 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52471 # All these tests are for C++; save the language and the compiler flags.
52472 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52473 # found in GLIBCXX_CONFIGURE.
52475 ac_ext=cpp
52476 ac_cpp='$CXXCPP $CPPFLAGS'
52477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52481 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52482 ac_save_CXXFLAGS="$CXXFLAGS"
52484 # Check for maintainer-mode bits.
52485 if test x"$USE_MAINTAINER_MODE" = xno; then
52486 WERROR=''
52487 else
52488 WERROR='-Werror'
52491 # Check for -ffunction-sections -fdata-sections
52492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52493 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52494 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52496 /* end confdefs.h. */
52497 int foo; void bar() { };
52499 main ()
52503 return 0;
52505 _ACEOF
52506 if ac_fn_cxx_try_compile "$LINENO"; then :
52507 ac_fdsections=yes
52508 else
52509 ac_fdsections=no
52511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52512 if test "$ac_test_CXXFLAGS" = set; then
52513 CXXFLAGS="$ac_save_CXXFLAGS"
52514 else
52515 # this is the suspicious part
52516 CXXFLAGS=''
52518 if test x"$ac_fdsections" = x"yes"; then
52519 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52522 $as_echo "$ac_fdsections" >&6; }
52524 ac_ext=c
52525 ac_cpp='$CPP $CPPFLAGS'
52526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52534 # If we're not using GNU ld, then there's no point in even trying these
52535 # tests. Check for that first. We should have already tested for gld
52536 # by now (in libtool), but require it now just to be safe...
52537 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52538 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52542 # The name set by libtool depends on the version of libtool. Shame on us
52543 # for depending on an impl detail, but c'est la vie. Older versions used
52544 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52545 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52546 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52547 # set (hence we're using an older libtool), then set it.
52548 if test x${with_gnu_ld+set} != xset; then
52549 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52550 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52551 with_gnu_ld=no
52552 else
52553 with_gnu_ld=$ac_cv_prog_gnu_ld
52557 # Start by getting the version number. I think the libtool test already
52558 # does some of this, but throws away the result.
52559 glibcxx_ld_is_gold=no
52560 if test x"$with_gnu_ld" = x"yes"; then
52561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52562 $as_echo_n "checking for ld version... " >&6; }
52564 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52565 glibcxx_ld_is_gold=yes
52567 ldver=`$LD --version 2>/dev/null |
52568 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'`
52570 glibcxx_gnu_ld_version=`echo $ldver | \
52571 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52573 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52576 # Set --gc-sections.
52577 glibcxx_have_gc_sections=no
52578 if test "$glibcxx_ld_is_gold" = "yes"; then
52579 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52580 glibcxx_have_gc_sections=yes
52582 else
52583 glibcxx_gcsections_min_ld=21602
52584 if test x"$with_gnu_ld" = x"yes" &&
52585 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52586 glibcxx_have_gc_sections=yes
52589 if test "$glibcxx_have_gc_sections" = "yes"; then
52590 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52591 # NB: This flag only works reliably after 2.16.1. Configure tests
52592 # for this are difficult, so hard wire a value that should work.
52594 ac_test_CFLAGS="${CFLAGS+set}"
52595 ac_save_CFLAGS="$CFLAGS"
52596 CFLAGS='-Wl,--gc-sections'
52598 # Check for -Wl,--gc-sections
52599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52600 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52601 if test x$gcc_no_link = xyes; then
52602 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52605 /* end confdefs.h. */
52606 int one(void) { return 1; }
52607 int two(void) { return 2; }
52610 main ()
52612 two();
52614 return 0;
52616 _ACEOF
52617 if ac_fn_c_try_link "$LINENO"; then :
52618 ac_gcsections=yes
52619 else
52620 ac_gcsections=no
52622 rm -f core conftest.err conftest.$ac_objext \
52623 conftest$ac_exeext conftest.$ac_ext
52624 if test "$ac_gcsections" = "yes"; then
52625 rm -f conftest.c
52626 touch conftest.c
52627 if $CC -c conftest.c; then
52628 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52629 grep "Warning: gc-sections option ignored" > /dev/null; then
52630 ac_gcsections=no
52633 rm -f conftest.c conftest.o conftest
52635 if test "$ac_gcsections" = "yes"; then
52636 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52639 $as_echo "$ac_gcsections" >&6; }
52641 if test "$ac_test_CFLAGS" = set; then
52642 CFLAGS="$ac_save_CFLAGS"
52643 else
52644 # this is the suspicious part
52645 CFLAGS=''
52649 # Set -z,relro.
52650 # Note this is only for shared objects.
52651 ac_ld_relro=no
52652 if test x"$with_gnu_ld" = x"yes"; then
52653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52654 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52655 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52656 if test -n "$cxx_z_relo"; then
52657 OPT_LDFLAGS="-Wl,-z,relro"
52658 ac_ld_relro=yes
52660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52661 $as_echo "$ac_ld_relro" >&6; }
52664 # Set linker optimization flags.
52665 if test x"$with_gnu_ld" = x"yes"; then
52666 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52673 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52674 ac_save_CXXFLAGS="$CXXFLAGS"
52675 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52678 $as_echo_n "checking for sin in -lm... " >&6; }
52679 if test "${ac_cv_lib_m_sin+set}" = set; then :
52680 $as_echo_n "(cached) " >&6
52681 else
52682 ac_check_lib_save_LIBS=$LIBS
52683 LIBS="-lm $LIBS"
52684 if test x$gcc_no_link = xyes; then
52685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52688 /* end confdefs.h. */
52690 /* Override any GCC internal prototype to avoid an error.
52691 Use char because int might match the return type of a GCC
52692 builtin and then its argument prototype would still apply. */
52693 #ifdef __cplusplus
52694 extern "C"
52695 #endif
52696 char sin ();
52698 main ()
52700 return sin ();
52702 return 0;
52704 _ACEOF
52705 if ac_fn_c_try_link "$LINENO"; then :
52706 ac_cv_lib_m_sin=yes
52707 else
52708 ac_cv_lib_m_sin=no
52710 rm -f core conftest.err conftest.$ac_objext \
52711 conftest$ac_exeext conftest.$ac_ext
52712 LIBS=$ac_check_lib_save_LIBS
52714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52715 $as_echo "$ac_cv_lib_m_sin" >&6; }
52716 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52717 libm="-lm"
52720 ac_save_LIBS="$LIBS"
52721 LIBS="$LIBS $libm"
52725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52726 $as_echo_n "checking for isinf declaration... " >&6; }
52727 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52728 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52729 $as_echo_n "(cached) " >&6
52730 else
52733 ac_ext=cpp
52734 ac_cpp='$CXXCPP $CPPFLAGS'
52735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52740 /* end confdefs.h. */
52741 #include <math.h>
52742 #ifdef HAVE_IEEEFP_H
52743 #include <ieeefp.h>
52744 #endif
52747 main ()
52749 isinf(0);
52751 return 0;
52753 _ACEOF
52754 if ac_fn_cxx_try_compile "$LINENO"; then :
52755 glibcxx_cv_func_isinf_use=yes
52756 else
52757 glibcxx_cv_func_isinf_use=no
52759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52760 ac_ext=c
52761 ac_cpp='$CPP $CPPFLAGS'
52762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52771 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52773 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52774 for ac_func in isinf
52775 do :
52776 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52777 if test "x$ac_cv_func_isinf" = x""yes; then :
52778 cat >>confdefs.h <<_ACEOF
52779 #define HAVE_ISINF 1
52780 _ACEOF
52783 done
52785 else
52787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52788 $as_echo_n "checking for _isinf declaration... " >&6; }
52789 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52790 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52791 $as_echo_n "(cached) " >&6
52792 else
52795 ac_ext=cpp
52796 ac_cpp='$CXXCPP $CPPFLAGS'
52797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52802 /* end confdefs.h. */
52803 #include <math.h>
52804 #ifdef HAVE_IEEEFP_H
52805 #include <ieeefp.h>
52806 #endif
52809 main ()
52811 _isinf(0);
52813 return 0;
52815 _ACEOF
52816 if ac_fn_cxx_try_compile "$LINENO"; then :
52817 glibcxx_cv_func__isinf_use=yes
52818 else
52819 glibcxx_cv_func__isinf_use=no
52821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52822 ac_ext=c
52823 ac_cpp='$CPP $CPPFLAGS'
52824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52833 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52835 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52836 for ac_func in _isinf
52837 do :
52838 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52839 if test "x$ac_cv_func__isinf" = x""yes; then :
52840 cat >>confdefs.h <<_ACEOF
52841 #define HAVE__ISINF 1
52842 _ACEOF
52845 done
52854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52855 $as_echo_n "checking for isnan declaration... " >&6; }
52856 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52857 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52858 $as_echo_n "(cached) " >&6
52859 else
52862 ac_ext=cpp
52863 ac_cpp='$CXXCPP $CPPFLAGS'
52864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52869 /* end confdefs.h. */
52870 #include <math.h>
52871 #ifdef HAVE_IEEEFP_H
52872 #include <ieeefp.h>
52873 #endif
52876 main ()
52878 isnan(0);
52880 return 0;
52882 _ACEOF
52883 if ac_fn_cxx_try_compile "$LINENO"; then :
52884 glibcxx_cv_func_isnan_use=yes
52885 else
52886 glibcxx_cv_func_isnan_use=no
52888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52889 ac_ext=c
52890 ac_cpp='$CPP $CPPFLAGS'
52891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52900 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52902 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52903 for ac_func in isnan
52904 do :
52905 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52906 if test "x$ac_cv_func_isnan" = x""yes; then :
52907 cat >>confdefs.h <<_ACEOF
52908 #define HAVE_ISNAN 1
52909 _ACEOF
52912 done
52914 else
52916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52917 $as_echo_n "checking for _isnan declaration... " >&6; }
52918 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52919 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52920 $as_echo_n "(cached) " >&6
52921 else
52924 ac_ext=cpp
52925 ac_cpp='$CXXCPP $CPPFLAGS'
52926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52931 /* end confdefs.h. */
52932 #include <math.h>
52933 #ifdef HAVE_IEEEFP_H
52934 #include <ieeefp.h>
52935 #endif
52938 main ()
52940 _isnan(0);
52942 return 0;
52944 _ACEOF
52945 if ac_fn_cxx_try_compile "$LINENO"; then :
52946 glibcxx_cv_func__isnan_use=yes
52947 else
52948 glibcxx_cv_func__isnan_use=no
52950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52951 ac_ext=c
52952 ac_cpp='$CPP $CPPFLAGS'
52953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52962 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52964 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52965 for ac_func in _isnan
52966 do :
52967 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52968 if test "x$ac_cv_func__isnan" = x""yes; then :
52969 cat >>confdefs.h <<_ACEOF
52970 #define HAVE__ISNAN 1
52971 _ACEOF
52974 done
52983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52984 $as_echo_n "checking for finite declaration... " >&6; }
52985 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52986 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52987 $as_echo_n "(cached) " >&6
52988 else
52991 ac_ext=cpp
52992 ac_cpp='$CXXCPP $CPPFLAGS'
52993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52998 /* end confdefs.h. */
52999 #include <math.h>
53000 #ifdef HAVE_IEEEFP_H
53001 #include <ieeefp.h>
53002 #endif
53005 main ()
53007 finite(0);
53009 return 0;
53011 _ACEOF
53012 if ac_fn_cxx_try_compile "$LINENO"; then :
53013 glibcxx_cv_func_finite_use=yes
53014 else
53015 glibcxx_cv_func_finite_use=no
53017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53018 ac_ext=c
53019 ac_cpp='$CPP $CPPFLAGS'
53020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53029 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53031 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53032 for ac_func in finite
53033 do :
53034 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53035 if test "x$ac_cv_func_finite" = x""yes; then :
53036 cat >>confdefs.h <<_ACEOF
53037 #define HAVE_FINITE 1
53038 _ACEOF
53041 done
53043 else
53045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53046 $as_echo_n "checking for _finite declaration... " >&6; }
53047 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53048 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53049 $as_echo_n "(cached) " >&6
53050 else
53053 ac_ext=cpp
53054 ac_cpp='$CXXCPP $CPPFLAGS'
53055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53060 /* end confdefs.h. */
53061 #include <math.h>
53062 #ifdef HAVE_IEEEFP_H
53063 #include <ieeefp.h>
53064 #endif
53067 main ()
53069 _finite(0);
53071 return 0;
53073 _ACEOF
53074 if ac_fn_cxx_try_compile "$LINENO"; then :
53075 glibcxx_cv_func__finite_use=yes
53076 else
53077 glibcxx_cv_func__finite_use=no
53079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53080 ac_ext=c
53081 ac_cpp='$CPP $CPPFLAGS'
53082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53091 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53093 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53094 for ac_func in _finite
53095 do :
53096 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53097 if test "x$ac_cv_func__finite" = x""yes; then :
53098 cat >>confdefs.h <<_ACEOF
53099 #define HAVE__FINITE 1
53100 _ACEOF
53103 done
53112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53113 $as_echo_n "checking for sincos declaration... " >&6; }
53114 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53115 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53116 $as_echo_n "(cached) " >&6
53117 else
53120 ac_ext=cpp
53121 ac_cpp='$CXXCPP $CPPFLAGS'
53122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53127 /* end confdefs.h. */
53128 #include <math.h>
53130 main ()
53132 sincos(0, 0, 0);
53134 return 0;
53136 _ACEOF
53137 if ac_fn_cxx_try_compile "$LINENO"; then :
53138 glibcxx_cv_func_sincos_use=yes
53139 else
53140 glibcxx_cv_func_sincos_use=no
53142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53143 ac_ext=c
53144 ac_cpp='$CPP $CPPFLAGS'
53145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53154 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53156 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53157 for ac_func in sincos
53158 do :
53159 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53160 if test "x$ac_cv_func_sincos" = x""yes; then :
53161 cat >>confdefs.h <<_ACEOF
53162 #define HAVE_SINCOS 1
53163 _ACEOF
53166 done
53168 else
53170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53171 $as_echo_n "checking for _sincos declaration... " >&6; }
53172 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53173 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53174 $as_echo_n "(cached) " >&6
53175 else
53178 ac_ext=cpp
53179 ac_cpp='$CXXCPP $CPPFLAGS'
53180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53185 /* end confdefs.h. */
53186 #include <math.h>
53188 main ()
53190 _sincos(0, 0, 0);
53192 return 0;
53194 _ACEOF
53195 if ac_fn_cxx_try_compile "$LINENO"; then :
53196 glibcxx_cv_func__sincos_use=yes
53197 else
53198 glibcxx_cv_func__sincos_use=no
53200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53201 ac_ext=c
53202 ac_cpp='$CPP $CPPFLAGS'
53203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53212 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53214 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53215 for ac_func in _sincos
53216 do :
53217 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53218 if test "x$ac_cv_func__sincos" = x""yes; then :
53219 cat >>confdefs.h <<_ACEOF
53220 #define HAVE__SINCOS 1
53221 _ACEOF
53224 done
53233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53234 $as_echo_n "checking for fpclass declaration... " >&6; }
53235 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53236 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53237 $as_echo_n "(cached) " >&6
53238 else
53241 ac_ext=cpp
53242 ac_cpp='$CXXCPP $CPPFLAGS'
53243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53248 /* end confdefs.h. */
53249 #include <math.h>
53250 #ifdef HAVE_IEEEFP_H
53251 #include <ieeefp.h>
53252 #endif
53255 main ()
53257 fpclass(0);
53259 return 0;
53261 _ACEOF
53262 if ac_fn_cxx_try_compile "$LINENO"; then :
53263 glibcxx_cv_func_fpclass_use=yes
53264 else
53265 glibcxx_cv_func_fpclass_use=no
53267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53268 ac_ext=c
53269 ac_cpp='$CPP $CPPFLAGS'
53270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53279 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53281 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53282 for ac_func in fpclass
53283 do :
53284 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53285 if test "x$ac_cv_func_fpclass" = x""yes; then :
53286 cat >>confdefs.h <<_ACEOF
53287 #define HAVE_FPCLASS 1
53288 _ACEOF
53291 done
53293 else
53295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53296 $as_echo_n "checking for _fpclass declaration... " >&6; }
53297 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53298 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53299 $as_echo_n "(cached) " >&6
53300 else
53303 ac_ext=cpp
53304 ac_cpp='$CXXCPP $CPPFLAGS'
53305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53310 /* end confdefs.h. */
53311 #include <math.h>
53312 #ifdef HAVE_IEEEFP_H
53313 #include <ieeefp.h>
53314 #endif
53317 main ()
53319 _fpclass(0);
53321 return 0;
53323 _ACEOF
53324 if ac_fn_cxx_try_compile "$LINENO"; then :
53325 glibcxx_cv_func__fpclass_use=yes
53326 else
53327 glibcxx_cv_func__fpclass_use=no
53329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53330 ac_ext=c
53331 ac_cpp='$CPP $CPPFLAGS'
53332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53341 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53343 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53344 for ac_func in _fpclass
53345 do :
53346 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53347 if test "x$ac_cv_func__fpclass" = x""yes; then :
53348 cat >>confdefs.h <<_ACEOF
53349 #define HAVE__FPCLASS 1
53350 _ACEOF
53353 done
53362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53363 $as_echo_n "checking for qfpclass declaration... " >&6; }
53364 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53365 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53366 $as_echo_n "(cached) " >&6
53367 else
53370 ac_ext=cpp
53371 ac_cpp='$CXXCPP $CPPFLAGS'
53372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53377 /* end confdefs.h. */
53378 #include <math.h>
53379 #ifdef HAVE_IEEEFP_H
53380 #include <ieeefp.h>
53381 #endif
53384 main ()
53386 qfpclass(0);
53388 return 0;
53390 _ACEOF
53391 if ac_fn_cxx_try_compile "$LINENO"; then :
53392 glibcxx_cv_func_qfpclass_use=yes
53393 else
53394 glibcxx_cv_func_qfpclass_use=no
53396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53397 ac_ext=c
53398 ac_cpp='$CPP $CPPFLAGS'
53399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53408 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53410 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53411 for ac_func in qfpclass
53412 do :
53413 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53414 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53415 cat >>confdefs.h <<_ACEOF
53416 #define HAVE_QFPCLASS 1
53417 _ACEOF
53420 done
53422 else
53424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53425 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53426 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53427 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53428 $as_echo_n "(cached) " >&6
53429 else
53432 ac_ext=cpp
53433 ac_cpp='$CXXCPP $CPPFLAGS'
53434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53439 /* end confdefs.h. */
53440 #include <math.h>
53441 #ifdef HAVE_IEEEFP_H
53442 #include <ieeefp.h>
53443 #endif
53446 main ()
53448 _qfpclass(0);
53450 return 0;
53452 _ACEOF
53453 if ac_fn_cxx_try_compile "$LINENO"; then :
53454 glibcxx_cv_func__qfpclass_use=yes
53455 else
53456 glibcxx_cv_func__qfpclass_use=no
53458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53459 ac_ext=c
53460 ac_cpp='$CPP $CPPFLAGS'
53461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53470 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53472 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53473 for ac_func in _qfpclass
53474 do :
53475 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53476 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53477 cat >>confdefs.h <<_ACEOF
53478 #define HAVE__QFPCLASS 1
53479 _ACEOF
53482 done
53491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53492 $as_echo_n "checking for hypot declaration... " >&6; }
53493 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53494 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53495 $as_echo_n "(cached) " >&6
53496 else
53499 ac_ext=cpp
53500 ac_cpp='$CXXCPP $CPPFLAGS'
53501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53506 /* end confdefs.h. */
53507 #include <math.h>
53509 main ()
53511 hypot(0, 0);
53513 return 0;
53515 _ACEOF
53516 if ac_fn_cxx_try_compile "$LINENO"; then :
53517 glibcxx_cv_func_hypot_use=yes
53518 else
53519 glibcxx_cv_func_hypot_use=no
53521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53522 ac_ext=c
53523 ac_cpp='$CPP $CPPFLAGS'
53524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53533 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53535 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53536 for ac_func in hypot
53537 do :
53538 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53539 if test "x$ac_cv_func_hypot" = x""yes; then :
53540 cat >>confdefs.h <<_ACEOF
53541 #define HAVE_HYPOT 1
53542 _ACEOF
53545 done
53547 else
53549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53550 $as_echo_n "checking for _hypot declaration... " >&6; }
53551 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53552 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53553 $as_echo_n "(cached) " >&6
53554 else
53557 ac_ext=cpp
53558 ac_cpp='$CXXCPP $CPPFLAGS'
53559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53564 /* end confdefs.h. */
53565 #include <math.h>
53567 main ()
53569 _hypot(0, 0);
53571 return 0;
53573 _ACEOF
53574 if ac_fn_cxx_try_compile "$LINENO"; then :
53575 glibcxx_cv_func__hypot_use=yes
53576 else
53577 glibcxx_cv_func__hypot_use=no
53579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53580 ac_ext=c
53581 ac_cpp='$CPP $CPPFLAGS'
53582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53591 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53593 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53594 for ac_func in _hypot
53595 do :
53596 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53597 if test "x$ac_cv_func__hypot" = x""yes; then :
53598 cat >>confdefs.h <<_ACEOF
53599 #define HAVE__HYPOT 1
53600 _ACEOF
53603 done
53612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53613 $as_echo_n "checking for float trig functions... " >&6; }
53614 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53615 $as_echo_n "(cached) " >&6
53616 else
53619 ac_ext=cpp
53620 ac_cpp='$CXXCPP $CPPFLAGS'
53621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53626 /* end confdefs.h. */
53627 #include <math.h>
53629 main ()
53631 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53633 return 0;
53635 _ACEOF
53636 if ac_fn_cxx_try_compile "$LINENO"; then :
53637 glibcxx_cv_func_float_trig_use=yes
53638 else
53639 glibcxx_cv_func_float_trig_use=no
53641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53642 ac_ext=c
53643 ac_cpp='$CPP $CPPFLAGS'
53644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53651 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53652 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53653 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53654 do :
53655 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53656 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53657 eval as_val=\$$as_ac_var
53658 if test "x$as_val" = x""yes; then :
53659 cat >>confdefs.h <<_ACEOF
53660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53661 _ACEOF
53664 done
53666 else
53667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53668 $as_echo_n "checking for _float trig functions... " >&6; }
53669 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53670 $as_echo_n "(cached) " >&6
53671 else
53674 ac_ext=cpp
53675 ac_cpp='$CXXCPP $CPPFLAGS'
53676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53681 /* end confdefs.h. */
53682 #include <math.h>
53684 main ()
53686 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53688 return 0;
53690 _ACEOF
53691 if ac_fn_cxx_try_compile "$LINENO"; then :
53692 glibcxx_cv_func__float_trig_use=yes
53693 else
53694 glibcxx_cv_func__float_trig_use=no
53696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53697 ac_ext=c
53698 ac_cpp='$CPP $CPPFLAGS'
53699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53706 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53707 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53708 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53709 do :
53710 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53711 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53712 eval as_val=\$$as_ac_var
53713 if test "x$as_val" = x""yes; then :
53714 cat >>confdefs.h <<_ACEOF
53715 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53716 _ACEOF
53719 done
53728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53729 $as_echo_n "checking for float round functions... " >&6; }
53730 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53731 $as_echo_n "(cached) " >&6
53732 else
53735 ac_ext=cpp
53736 ac_cpp='$CXXCPP $CPPFLAGS'
53737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53742 /* end confdefs.h. */
53743 #include <math.h>
53745 main ()
53747 ceilf (0); floorf (0);
53749 return 0;
53751 _ACEOF
53752 if ac_fn_cxx_try_compile "$LINENO"; then :
53753 glibcxx_cv_func_float_round_use=yes
53754 else
53755 glibcxx_cv_func_float_round_use=no
53757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53758 ac_ext=c
53759 ac_cpp='$CPP $CPPFLAGS'
53760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53767 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53768 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53769 for ac_func in ceilf floorf
53770 do :
53771 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53773 eval as_val=\$$as_ac_var
53774 if test "x$as_val" = x""yes; then :
53775 cat >>confdefs.h <<_ACEOF
53776 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53777 _ACEOF
53780 done
53782 else
53783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53784 $as_echo_n "checking for _float round functions... " >&6; }
53785 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53786 $as_echo_n "(cached) " >&6
53787 else
53790 ac_ext=cpp
53791 ac_cpp='$CXXCPP $CPPFLAGS'
53792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53797 /* end confdefs.h. */
53798 #include <math.h>
53800 main ()
53802 _ceilf (0); _floorf (0);
53804 return 0;
53806 _ACEOF
53807 if ac_fn_cxx_try_compile "$LINENO"; then :
53808 glibcxx_cv_func__float_round_use=yes
53809 else
53810 glibcxx_cv_func__float_round_use=no
53812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53813 ac_ext=c
53814 ac_cpp='$CPP $CPPFLAGS'
53815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53822 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53823 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53824 for ac_func in _ceilf _floorf
53825 do :
53826 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53827 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53828 eval as_val=\$$as_ac_var
53829 if test "x$as_val" = x""yes; then :
53830 cat >>confdefs.h <<_ACEOF
53831 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53832 _ACEOF
53835 done
53845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53846 $as_echo_n "checking for expf declaration... " >&6; }
53847 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53848 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53849 $as_echo_n "(cached) " >&6
53850 else
53853 ac_ext=cpp
53854 ac_cpp='$CXXCPP $CPPFLAGS'
53855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53860 /* end confdefs.h. */
53861 #include <math.h>
53862 #ifdef HAVE_IEEEFP_H
53863 #include <ieeefp.h>
53864 #endif
53867 main ()
53869 expf(0);
53871 return 0;
53873 _ACEOF
53874 if ac_fn_cxx_try_compile "$LINENO"; then :
53875 glibcxx_cv_func_expf_use=yes
53876 else
53877 glibcxx_cv_func_expf_use=no
53879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53880 ac_ext=c
53881 ac_cpp='$CPP $CPPFLAGS'
53882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53891 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53893 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53894 for ac_func in expf
53895 do :
53896 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53897 if test "x$ac_cv_func_expf" = x""yes; then :
53898 cat >>confdefs.h <<_ACEOF
53899 #define HAVE_EXPF 1
53900 _ACEOF
53903 done
53905 else
53907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53908 $as_echo_n "checking for _expf declaration... " >&6; }
53909 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53910 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53911 $as_echo_n "(cached) " >&6
53912 else
53915 ac_ext=cpp
53916 ac_cpp='$CXXCPP $CPPFLAGS'
53917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53922 /* end confdefs.h. */
53923 #include <math.h>
53924 #ifdef HAVE_IEEEFP_H
53925 #include <ieeefp.h>
53926 #endif
53929 main ()
53931 _expf(0);
53933 return 0;
53935 _ACEOF
53936 if ac_fn_cxx_try_compile "$LINENO"; then :
53937 glibcxx_cv_func__expf_use=yes
53938 else
53939 glibcxx_cv_func__expf_use=no
53941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53942 ac_ext=c
53943 ac_cpp='$CPP $CPPFLAGS'
53944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53953 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53955 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53956 for ac_func in _expf
53957 do :
53958 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53959 if test "x$ac_cv_func__expf" = x""yes; then :
53960 cat >>confdefs.h <<_ACEOF
53961 #define HAVE__EXPF 1
53962 _ACEOF
53965 done
53974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53975 $as_echo_n "checking for isnanf declaration... " >&6; }
53976 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53977 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53978 $as_echo_n "(cached) " >&6
53979 else
53982 ac_ext=cpp
53983 ac_cpp='$CXXCPP $CPPFLAGS'
53984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53989 /* end confdefs.h. */
53990 #include <math.h>
53991 #ifdef HAVE_IEEEFP_H
53992 #include <ieeefp.h>
53993 #endif
53996 main ()
53998 isnanf(0);
54000 return 0;
54002 _ACEOF
54003 if ac_fn_cxx_try_compile "$LINENO"; then :
54004 glibcxx_cv_func_isnanf_use=yes
54005 else
54006 glibcxx_cv_func_isnanf_use=no
54008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54009 ac_ext=c
54010 ac_cpp='$CPP $CPPFLAGS'
54011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54020 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54022 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54023 for ac_func in isnanf
54024 do :
54025 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54026 if test "x$ac_cv_func_isnanf" = x""yes; then :
54027 cat >>confdefs.h <<_ACEOF
54028 #define HAVE_ISNANF 1
54029 _ACEOF
54032 done
54034 else
54036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54037 $as_echo_n "checking for _isnanf declaration... " >&6; }
54038 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54039 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54040 $as_echo_n "(cached) " >&6
54041 else
54044 ac_ext=cpp
54045 ac_cpp='$CXXCPP $CPPFLAGS'
54046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54051 /* end confdefs.h. */
54052 #include <math.h>
54053 #ifdef HAVE_IEEEFP_H
54054 #include <ieeefp.h>
54055 #endif
54058 main ()
54060 _isnanf(0);
54062 return 0;
54064 _ACEOF
54065 if ac_fn_cxx_try_compile "$LINENO"; then :
54066 glibcxx_cv_func__isnanf_use=yes
54067 else
54068 glibcxx_cv_func__isnanf_use=no
54070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54071 ac_ext=c
54072 ac_cpp='$CPP $CPPFLAGS'
54073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54082 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54084 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54085 for ac_func in _isnanf
54086 do :
54087 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54088 if test "x$ac_cv_func__isnanf" = x""yes; then :
54089 cat >>confdefs.h <<_ACEOF
54090 #define HAVE__ISNANF 1
54091 _ACEOF
54094 done
54103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54104 $as_echo_n "checking for isinff declaration... " >&6; }
54105 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54106 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54107 $as_echo_n "(cached) " >&6
54108 else
54111 ac_ext=cpp
54112 ac_cpp='$CXXCPP $CPPFLAGS'
54113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54118 /* end confdefs.h. */
54119 #include <math.h>
54120 #ifdef HAVE_IEEEFP_H
54121 #include <ieeefp.h>
54122 #endif
54125 main ()
54127 isinff(0);
54129 return 0;
54131 _ACEOF
54132 if ac_fn_cxx_try_compile "$LINENO"; then :
54133 glibcxx_cv_func_isinff_use=yes
54134 else
54135 glibcxx_cv_func_isinff_use=no
54137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54138 ac_ext=c
54139 ac_cpp='$CPP $CPPFLAGS'
54140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54149 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54151 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54152 for ac_func in isinff
54153 do :
54154 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54155 if test "x$ac_cv_func_isinff" = x""yes; then :
54156 cat >>confdefs.h <<_ACEOF
54157 #define HAVE_ISINFF 1
54158 _ACEOF
54161 done
54163 else
54165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54166 $as_echo_n "checking for _isinff declaration... " >&6; }
54167 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54168 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54169 $as_echo_n "(cached) " >&6
54170 else
54173 ac_ext=cpp
54174 ac_cpp='$CXXCPP $CPPFLAGS'
54175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54180 /* end confdefs.h. */
54181 #include <math.h>
54182 #ifdef HAVE_IEEEFP_H
54183 #include <ieeefp.h>
54184 #endif
54187 main ()
54189 _isinff(0);
54191 return 0;
54193 _ACEOF
54194 if ac_fn_cxx_try_compile "$LINENO"; then :
54195 glibcxx_cv_func__isinff_use=yes
54196 else
54197 glibcxx_cv_func__isinff_use=no
54199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54200 ac_ext=c
54201 ac_cpp='$CPP $CPPFLAGS'
54202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54211 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54213 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54214 for ac_func in _isinff
54215 do :
54216 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54217 if test "x$ac_cv_func__isinff" = x""yes; then :
54218 cat >>confdefs.h <<_ACEOF
54219 #define HAVE__ISINFF 1
54220 _ACEOF
54223 done
54232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54233 $as_echo_n "checking for atan2f declaration... " >&6; }
54234 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54235 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54236 $as_echo_n "(cached) " >&6
54237 else
54240 ac_ext=cpp
54241 ac_cpp='$CXXCPP $CPPFLAGS'
54242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54247 /* end confdefs.h. */
54248 #include <math.h>
54250 main ()
54252 atan2f(0, 0);
54254 return 0;
54256 _ACEOF
54257 if ac_fn_cxx_try_compile "$LINENO"; then :
54258 glibcxx_cv_func_atan2f_use=yes
54259 else
54260 glibcxx_cv_func_atan2f_use=no
54262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54263 ac_ext=c
54264 ac_cpp='$CPP $CPPFLAGS'
54265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54274 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54276 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54277 for ac_func in atan2f
54278 do :
54279 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54280 if test "x$ac_cv_func_atan2f" = x""yes; then :
54281 cat >>confdefs.h <<_ACEOF
54282 #define HAVE_ATAN2F 1
54283 _ACEOF
54286 done
54288 else
54290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54291 $as_echo_n "checking for _atan2f declaration... " >&6; }
54292 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54293 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54294 $as_echo_n "(cached) " >&6
54295 else
54298 ac_ext=cpp
54299 ac_cpp='$CXXCPP $CPPFLAGS'
54300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54305 /* end confdefs.h. */
54306 #include <math.h>
54308 main ()
54310 _atan2f(0, 0);
54312 return 0;
54314 _ACEOF
54315 if ac_fn_cxx_try_compile "$LINENO"; then :
54316 glibcxx_cv_func__atan2f_use=yes
54317 else
54318 glibcxx_cv_func__atan2f_use=no
54320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54321 ac_ext=c
54322 ac_cpp='$CPP $CPPFLAGS'
54323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54332 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54334 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54335 for ac_func in _atan2f
54336 do :
54337 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54338 if test "x$ac_cv_func__atan2f" = x""yes; then :
54339 cat >>confdefs.h <<_ACEOF
54340 #define HAVE__ATAN2F 1
54341 _ACEOF
54344 done
54353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54354 $as_echo_n "checking for fabsf declaration... " >&6; }
54355 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54356 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54357 $as_echo_n "(cached) " >&6
54358 else
54361 ac_ext=cpp
54362 ac_cpp='$CXXCPP $CPPFLAGS'
54363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54368 /* end confdefs.h. */
54369 #include <math.h>
54370 #ifdef HAVE_IEEEFP_H
54371 #include <ieeefp.h>
54372 #endif
54375 main ()
54377 fabsf(0);
54379 return 0;
54381 _ACEOF
54382 if ac_fn_cxx_try_compile "$LINENO"; then :
54383 glibcxx_cv_func_fabsf_use=yes
54384 else
54385 glibcxx_cv_func_fabsf_use=no
54387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54388 ac_ext=c
54389 ac_cpp='$CPP $CPPFLAGS'
54390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54399 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54401 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54402 for ac_func in fabsf
54403 do :
54404 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54405 if test "x$ac_cv_func_fabsf" = x""yes; then :
54406 cat >>confdefs.h <<_ACEOF
54407 #define HAVE_FABSF 1
54408 _ACEOF
54411 done
54413 else
54415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54416 $as_echo_n "checking for _fabsf declaration... " >&6; }
54417 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54418 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54419 $as_echo_n "(cached) " >&6
54420 else
54423 ac_ext=cpp
54424 ac_cpp='$CXXCPP $CPPFLAGS'
54425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54430 /* end confdefs.h. */
54431 #include <math.h>
54432 #ifdef HAVE_IEEEFP_H
54433 #include <ieeefp.h>
54434 #endif
54437 main ()
54439 _fabsf(0);
54441 return 0;
54443 _ACEOF
54444 if ac_fn_cxx_try_compile "$LINENO"; then :
54445 glibcxx_cv_func__fabsf_use=yes
54446 else
54447 glibcxx_cv_func__fabsf_use=no
54449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54450 ac_ext=c
54451 ac_cpp='$CPP $CPPFLAGS'
54452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54461 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54463 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54464 for ac_func in _fabsf
54465 do :
54466 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54467 if test "x$ac_cv_func__fabsf" = x""yes; then :
54468 cat >>confdefs.h <<_ACEOF
54469 #define HAVE__FABSF 1
54470 _ACEOF
54473 done
54482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54483 $as_echo_n "checking for fmodf declaration... " >&6; }
54484 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54485 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54486 $as_echo_n "(cached) " >&6
54487 else
54490 ac_ext=cpp
54491 ac_cpp='$CXXCPP $CPPFLAGS'
54492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54497 /* end confdefs.h. */
54498 #include <math.h>
54500 main ()
54502 fmodf(0, 0);
54504 return 0;
54506 _ACEOF
54507 if ac_fn_cxx_try_compile "$LINENO"; then :
54508 glibcxx_cv_func_fmodf_use=yes
54509 else
54510 glibcxx_cv_func_fmodf_use=no
54512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54513 ac_ext=c
54514 ac_cpp='$CPP $CPPFLAGS'
54515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54524 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54526 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54527 for ac_func in fmodf
54528 do :
54529 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54530 if test "x$ac_cv_func_fmodf" = x""yes; then :
54531 cat >>confdefs.h <<_ACEOF
54532 #define HAVE_FMODF 1
54533 _ACEOF
54536 done
54538 else
54540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54541 $as_echo_n "checking for _fmodf declaration... " >&6; }
54542 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54543 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54544 $as_echo_n "(cached) " >&6
54545 else
54548 ac_ext=cpp
54549 ac_cpp='$CXXCPP $CPPFLAGS'
54550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54555 /* end confdefs.h. */
54556 #include <math.h>
54558 main ()
54560 _fmodf(0, 0);
54562 return 0;
54564 _ACEOF
54565 if ac_fn_cxx_try_compile "$LINENO"; then :
54566 glibcxx_cv_func__fmodf_use=yes
54567 else
54568 glibcxx_cv_func__fmodf_use=no
54570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54571 ac_ext=c
54572 ac_cpp='$CPP $CPPFLAGS'
54573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54582 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54584 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54585 for ac_func in _fmodf
54586 do :
54587 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54588 if test "x$ac_cv_func__fmodf" = x""yes; then :
54589 cat >>confdefs.h <<_ACEOF
54590 #define HAVE__FMODF 1
54591 _ACEOF
54594 done
54603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54604 $as_echo_n "checking for frexpf declaration... " >&6; }
54605 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54606 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54607 $as_echo_n "(cached) " >&6
54608 else
54611 ac_ext=cpp
54612 ac_cpp='$CXXCPP $CPPFLAGS'
54613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54618 /* end confdefs.h. */
54619 #include <math.h>
54621 main ()
54623 frexpf(0, 0);
54625 return 0;
54627 _ACEOF
54628 if ac_fn_cxx_try_compile "$LINENO"; then :
54629 glibcxx_cv_func_frexpf_use=yes
54630 else
54631 glibcxx_cv_func_frexpf_use=no
54633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54634 ac_ext=c
54635 ac_cpp='$CPP $CPPFLAGS'
54636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54645 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54647 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54648 for ac_func in frexpf
54649 do :
54650 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54651 if test "x$ac_cv_func_frexpf" = x""yes; then :
54652 cat >>confdefs.h <<_ACEOF
54653 #define HAVE_FREXPF 1
54654 _ACEOF
54657 done
54659 else
54661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54662 $as_echo_n "checking for _frexpf declaration... " >&6; }
54663 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54664 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54665 $as_echo_n "(cached) " >&6
54666 else
54669 ac_ext=cpp
54670 ac_cpp='$CXXCPP $CPPFLAGS'
54671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54676 /* end confdefs.h. */
54677 #include <math.h>
54679 main ()
54681 _frexpf(0, 0);
54683 return 0;
54685 _ACEOF
54686 if ac_fn_cxx_try_compile "$LINENO"; then :
54687 glibcxx_cv_func__frexpf_use=yes
54688 else
54689 glibcxx_cv_func__frexpf_use=no
54691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54692 ac_ext=c
54693 ac_cpp='$CPP $CPPFLAGS'
54694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54703 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54705 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54706 for ac_func in _frexpf
54707 do :
54708 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54709 if test "x$ac_cv_func__frexpf" = x""yes; then :
54710 cat >>confdefs.h <<_ACEOF
54711 #define HAVE__FREXPF 1
54712 _ACEOF
54715 done
54724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54725 $as_echo_n "checking for hypotf declaration... " >&6; }
54726 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54727 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54728 $as_echo_n "(cached) " >&6
54729 else
54732 ac_ext=cpp
54733 ac_cpp='$CXXCPP $CPPFLAGS'
54734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54739 /* end confdefs.h. */
54740 #include <math.h>
54742 main ()
54744 hypotf(0, 0);
54746 return 0;
54748 _ACEOF
54749 if ac_fn_cxx_try_compile "$LINENO"; then :
54750 glibcxx_cv_func_hypotf_use=yes
54751 else
54752 glibcxx_cv_func_hypotf_use=no
54754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54755 ac_ext=c
54756 ac_cpp='$CPP $CPPFLAGS'
54757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54766 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54768 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54769 for ac_func in hypotf
54770 do :
54771 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54772 if test "x$ac_cv_func_hypotf" = x""yes; then :
54773 cat >>confdefs.h <<_ACEOF
54774 #define HAVE_HYPOTF 1
54775 _ACEOF
54778 done
54780 else
54782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54783 $as_echo_n "checking for _hypotf declaration... " >&6; }
54784 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54785 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54786 $as_echo_n "(cached) " >&6
54787 else
54790 ac_ext=cpp
54791 ac_cpp='$CXXCPP $CPPFLAGS'
54792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54797 /* end confdefs.h. */
54798 #include <math.h>
54800 main ()
54802 _hypotf(0, 0);
54804 return 0;
54806 _ACEOF
54807 if ac_fn_cxx_try_compile "$LINENO"; then :
54808 glibcxx_cv_func__hypotf_use=yes
54809 else
54810 glibcxx_cv_func__hypotf_use=no
54812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54813 ac_ext=c
54814 ac_cpp='$CPP $CPPFLAGS'
54815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54824 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54826 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54827 for ac_func in _hypotf
54828 do :
54829 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54830 if test "x$ac_cv_func__hypotf" = x""yes; then :
54831 cat >>confdefs.h <<_ACEOF
54832 #define HAVE__HYPOTF 1
54833 _ACEOF
54836 done
54845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54846 $as_echo_n "checking for ldexpf declaration... " >&6; }
54847 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54848 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54849 $as_echo_n "(cached) " >&6
54850 else
54853 ac_ext=cpp
54854 ac_cpp='$CXXCPP $CPPFLAGS'
54855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54860 /* end confdefs.h. */
54861 #include <math.h>
54863 main ()
54865 ldexpf(0, 0);
54867 return 0;
54869 _ACEOF
54870 if ac_fn_cxx_try_compile "$LINENO"; then :
54871 glibcxx_cv_func_ldexpf_use=yes
54872 else
54873 glibcxx_cv_func_ldexpf_use=no
54875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54876 ac_ext=c
54877 ac_cpp='$CPP $CPPFLAGS'
54878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54887 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54889 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54890 for ac_func in ldexpf
54891 do :
54892 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54893 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54894 cat >>confdefs.h <<_ACEOF
54895 #define HAVE_LDEXPF 1
54896 _ACEOF
54899 done
54901 else
54903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54904 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54905 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54906 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54907 $as_echo_n "(cached) " >&6
54908 else
54911 ac_ext=cpp
54912 ac_cpp='$CXXCPP $CPPFLAGS'
54913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54918 /* end confdefs.h. */
54919 #include <math.h>
54921 main ()
54923 _ldexpf(0, 0);
54925 return 0;
54927 _ACEOF
54928 if ac_fn_cxx_try_compile "$LINENO"; then :
54929 glibcxx_cv_func__ldexpf_use=yes
54930 else
54931 glibcxx_cv_func__ldexpf_use=no
54933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54934 ac_ext=c
54935 ac_cpp='$CPP $CPPFLAGS'
54936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54945 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54947 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54948 for ac_func in _ldexpf
54949 do :
54950 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54951 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54952 cat >>confdefs.h <<_ACEOF
54953 #define HAVE__LDEXPF 1
54954 _ACEOF
54957 done
54966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54967 $as_echo_n "checking for logf declaration... " >&6; }
54968 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54969 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54970 $as_echo_n "(cached) " >&6
54971 else
54974 ac_ext=cpp
54975 ac_cpp='$CXXCPP $CPPFLAGS'
54976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54981 /* end confdefs.h. */
54982 #include <math.h>
54983 #ifdef HAVE_IEEEFP_H
54984 #include <ieeefp.h>
54985 #endif
54988 main ()
54990 logf(0);
54992 return 0;
54994 _ACEOF
54995 if ac_fn_cxx_try_compile "$LINENO"; then :
54996 glibcxx_cv_func_logf_use=yes
54997 else
54998 glibcxx_cv_func_logf_use=no
55000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55001 ac_ext=c
55002 ac_cpp='$CPP $CPPFLAGS'
55003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55012 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55014 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55015 for ac_func in logf
55016 do :
55017 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55018 if test "x$ac_cv_func_logf" = x""yes; then :
55019 cat >>confdefs.h <<_ACEOF
55020 #define HAVE_LOGF 1
55021 _ACEOF
55024 done
55026 else
55028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55029 $as_echo_n "checking for _logf declaration... " >&6; }
55030 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55031 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55032 $as_echo_n "(cached) " >&6
55033 else
55036 ac_ext=cpp
55037 ac_cpp='$CXXCPP $CPPFLAGS'
55038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55043 /* end confdefs.h. */
55044 #include <math.h>
55045 #ifdef HAVE_IEEEFP_H
55046 #include <ieeefp.h>
55047 #endif
55050 main ()
55052 _logf(0);
55054 return 0;
55056 _ACEOF
55057 if ac_fn_cxx_try_compile "$LINENO"; then :
55058 glibcxx_cv_func__logf_use=yes
55059 else
55060 glibcxx_cv_func__logf_use=no
55062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55063 ac_ext=c
55064 ac_cpp='$CPP $CPPFLAGS'
55065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55074 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55076 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55077 for ac_func in _logf
55078 do :
55079 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55080 if test "x$ac_cv_func__logf" = x""yes; then :
55081 cat >>confdefs.h <<_ACEOF
55082 #define HAVE__LOGF 1
55083 _ACEOF
55086 done
55095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55096 $as_echo_n "checking for log10f declaration... " >&6; }
55097 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55098 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55099 $as_echo_n "(cached) " >&6
55100 else
55103 ac_ext=cpp
55104 ac_cpp='$CXXCPP $CPPFLAGS'
55105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55110 /* end confdefs.h. */
55111 #include <math.h>
55112 #ifdef HAVE_IEEEFP_H
55113 #include <ieeefp.h>
55114 #endif
55117 main ()
55119 log10f(0);
55121 return 0;
55123 _ACEOF
55124 if ac_fn_cxx_try_compile "$LINENO"; then :
55125 glibcxx_cv_func_log10f_use=yes
55126 else
55127 glibcxx_cv_func_log10f_use=no
55129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55130 ac_ext=c
55131 ac_cpp='$CPP $CPPFLAGS'
55132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55141 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55143 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55144 for ac_func in log10f
55145 do :
55146 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55147 if test "x$ac_cv_func_log10f" = x""yes; then :
55148 cat >>confdefs.h <<_ACEOF
55149 #define HAVE_LOG10F 1
55150 _ACEOF
55153 done
55155 else
55157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55158 $as_echo_n "checking for _log10f declaration... " >&6; }
55159 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55160 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55161 $as_echo_n "(cached) " >&6
55162 else
55165 ac_ext=cpp
55166 ac_cpp='$CXXCPP $CPPFLAGS'
55167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55172 /* end confdefs.h. */
55173 #include <math.h>
55174 #ifdef HAVE_IEEEFP_H
55175 #include <ieeefp.h>
55176 #endif
55179 main ()
55181 _log10f(0);
55183 return 0;
55185 _ACEOF
55186 if ac_fn_cxx_try_compile "$LINENO"; then :
55187 glibcxx_cv_func__log10f_use=yes
55188 else
55189 glibcxx_cv_func__log10f_use=no
55191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55192 ac_ext=c
55193 ac_cpp='$CPP $CPPFLAGS'
55194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55203 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55205 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55206 for ac_func in _log10f
55207 do :
55208 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55209 if test "x$ac_cv_func__log10f" = x""yes; then :
55210 cat >>confdefs.h <<_ACEOF
55211 #define HAVE__LOG10F 1
55212 _ACEOF
55215 done
55224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55225 $as_echo_n "checking for modff declaration... " >&6; }
55226 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55227 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55228 $as_echo_n "(cached) " >&6
55229 else
55232 ac_ext=cpp
55233 ac_cpp='$CXXCPP $CPPFLAGS'
55234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55239 /* end confdefs.h. */
55240 #include <math.h>
55242 main ()
55244 modff(0, 0);
55246 return 0;
55248 _ACEOF
55249 if ac_fn_cxx_try_compile "$LINENO"; then :
55250 glibcxx_cv_func_modff_use=yes
55251 else
55252 glibcxx_cv_func_modff_use=no
55254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55255 ac_ext=c
55256 ac_cpp='$CPP $CPPFLAGS'
55257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55266 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55268 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55269 for ac_func in modff
55270 do :
55271 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55272 if test "x$ac_cv_func_modff" = x""yes; then :
55273 cat >>confdefs.h <<_ACEOF
55274 #define HAVE_MODFF 1
55275 _ACEOF
55278 done
55280 else
55282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55283 $as_echo_n "checking for _modff declaration... " >&6; }
55284 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55285 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55286 $as_echo_n "(cached) " >&6
55287 else
55290 ac_ext=cpp
55291 ac_cpp='$CXXCPP $CPPFLAGS'
55292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55297 /* end confdefs.h. */
55298 #include <math.h>
55300 main ()
55302 _modff(0, 0);
55304 return 0;
55306 _ACEOF
55307 if ac_fn_cxx_try_compile "$LINENO"; then :
55308 glibcxx_cv_func__modff_use=yes
55309 else
55310 glibcxx_cv_func__modff_use=no
55312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55313 ac_ext=c
55314 ac_cpp='$CPP $CPPFLAGS'
55315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55324 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55326 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55327 for ac_func in _modff
55328 do :
55329 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55330 if test "x$ac_cv_func__modff" = x""yes; then :
55331 cat >>confdefs.h <<_ACEOF
55332 #define HAVE__MODFF 1
55333 _ACEOF
55336 done
55345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55346 $as_echo_n "checking for modf declaration... " >&6; }
55347 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55348 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55349 $as_echo_n "(cached) " >&6
55350 else
55353 ac_ext=cpp
55354 ac_cpp='$CXXCPP $CPPFLAGS'
55355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55360 /* end confdefs.h. */
55361 #include <math.h>
55363 main ()
55365 modf(0, 0);
55367 return 0;
55369 _ACEOF
55370 if ac_fn_cxx_try_compile "$LINENO"; then :
55371 glibcxx_cv_func_modf_use=yes
55372 else
55373 glibcxx_cv_func_modf_use=no
55375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55376 ac_ext=c
55377 ac_cpp='$CPP $CPPFLAGS'
55378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55387 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55389 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55390 for ac_func in modf
55391 do :
55392 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55393 if test "x$ac_cv_func_modf" = x""yes; then :
55394 cat >>confdefs.h <<_ACEOF
55395 #define HAVE_MODF 1
55396 _ACEOF
55399 done
55401 else
55403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55404 $as_echo_n "checking for _modf declaration... " >&6; }
55405 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55406 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55407 $as_echo_n "(cached) " >&6
55408 else
55411 ac_ext=cpp
55412 ac_cpp='$CXXCPP $CPPFLAGS'
55413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55418 /* end confdefs.h. */
55419 #include <math.h>
55421 main ()
55423 _modf(0, 0);
55425 return 0;
55427 _ACEOF
55428 if ac_fn_cxx_try_compile "$LINENO"; then :
55429 glibcxx_cv_func__modf_use=yes
55430 else
55431 glibcxx_cv_func__modf_use=no
55433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55434 ac_ext=c
55435 ac_cpp='$CPP $CPPFLAGS'
55436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55445 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55447 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55448 for ac_func in _modf
55449 do :
55450 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55451 if test "x$ac_cv_func__modf" = x""yes; then :
55452 cat >>confdefs.h <<_ACEOF
55453 #define HAVE__MODF 1
55454 _ACEOF
55457 done
55466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55467 $as_echo_n "checking for powf declaration... " >&6; }
55468 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55469 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55470 $as_echo_n "(cached) " >&6
55471 else
55474 ac_ext=cpp
55475 ac_cpp='$CXXCPP $CPPFLAGS'
55476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55481 /* end confdefs.h. */
55482 #include <math.h>
55484 main ()
55486 powf(0, 0);
55488 return 0;
55490 _ACEOF
55491 if ac_fn_cxx_try_compile "$LINENO"; then :
55492 glibcxx_cv_func_powf_use=yes
55493 else
55494 glibcxx_cv_func_powf_use=no
55496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55497 ac_ext=c
55498 ac_cpp='$CPP $CPPFLAGS'
55499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55508 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55510 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55511 for ac_func in powf
55512 do :
55513 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55514 if test "x$ac_cv_func_powf" = x""yes; then :
55515 cat >>confdefs.h <<_ACEOF
55516 #define HAVE_POWF 1
55517 _ACEOF
55520 done
55522 else
55524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55525 $as_echo_n "checking for _powf declaration... " >&6; }
55526 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55527 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55528 $as_echo_n "(cached) " >&6
55529 else
55532 ac_ext=cpp
55533 ac_cpp='$CXXCPP $CPPFLAGS'
55534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55539 /* end confdefs.h. */
55540 #include <math.h>
55542 main ()
55544 _powf(0, 0);
55546 return 0;
55548 _ACEOF
55549 if ac_fn_cxx_try_compile "$LINENO"; then :
55550 glibcxx_cv_func__powf_use=yes
55551 else
55552 glibcxx_cv_func__powf_use=no
55554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55555 ac_ext=c
55556 ac_cpp='$CPP $CPPFLAGS'
55557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55566 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55568 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55569 for ac_func in _powf
55570 do :
55571 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55572 if test "x$ac_cv_func__powf" = x""yes; then :
55573 cat >>confdefs.h <<_ACEOF
55574 #define HAVE__POWF 1
55575 _ACEOF
55578 done
55587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55588 $as_echo_n "checking for sqrtf declaration... " >&6; }
55589 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55590 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55591 $as_echo_n "(cached) " >&6
55592 else
55595 ac_ext=cpp
55596 ac_cpp='$CXXCPP $CPPFLAGS'
55597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55602 /* end confdefs.h. */
55603 #include <math.h>
55604 #ifdef HAVE_IEEEFP_H
55605 #include <ieeefp.h>
55606 #endif
55609 main ()
55611 sqrtf(0);
55613 return 0;
55615 _ACEOF
55616 if ac_fn_cxx_try_compile "$LINENO"; then :
55617 glibcxx_cv_func_sqrtf_use=yes
55618 else
55619 glibcxx_cv_func_sqrtf_use=no
55621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55622 ac_ext=c
55623 ac_cpp='$CPP $CPPFLAGS'
55624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55633 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55635 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55636 for ac_func in sqrtf
55637 do :
55638 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55639 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55640 cat >>confdefs.h <<_ACEOF
55641 #define HAVE_SQRTF 1
55642 _ACEOF
55645 done
55647 else
55649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55650 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55651 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55652 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55653 $as_echo_n "(cached) " >&6
55654 else
55657 ac_ext=cpp
55658 ac_cpp='$CXXCPP $CPPFLAGS'
55659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55664 /* end confdefs.h. */
55665 #include <math.h>
55666 #ifdef HAVE_IEEEFP_H
55667 #include <ieeefp.h>
55668 #endif
55671 main ()
55673 _sqrtf(0);
55675 return 0;
55677 _ACEOF
55678 if ac_fn_cxx_try_compile "$LINENO"; then :
55679 glibcxx_cv_func__sqrtf_use=yes
55680 else
55681 glibcxx_cv_func__sqrtf_use=no
55683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55684 ac_ext=c
55685 ac_cpp='$CPP $CPPFLAGS'
55686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55695 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55697 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55698 for ac_func in _sqrtf
55699 do :
55700 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55701 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55702 cat >>confdefs.h <<_ACEOF
55703 #define HAVE__SQRTF 1
55704 _ACEOF
55707 done
55716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55717 $as_echo_n "checking for sincosf declaration... " >&6; }
55718 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55719 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55720 $as_echo_n "(cached) " >&6
55721 else
55724 ac_ext=cpp
55725 ac_cpp='$CXXCPP $CPPFLAGS'
55726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55731 /* end confdefs.h. */
55732 #include <math.h>
55734 main ()
55736 sincosf(0, 0, 0);
55738 return 0;
55740 _ACEOF
55741 if ac_fn_cxx_try_compile "$LINENO"; then :
55742 glibcxx_cv_func_sincosf_use=yes
55743 else
55744 glibcxx_cv_func_sincosf_use=no
55746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55747 ac_ext=c
55748 ac_cpp='$CPP $CPPFLAGS'
55749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55758 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55760 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55761 for ac_func in sincosf
55762 do :
55763 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55764 if test "x$ac_cv_func_sincosf" = x""yes; then :
55765 cat >>confdefs.h <<_ACEOF
55766 #define HAVE_SINCOSF 1
55767 _ACEOF
55770 done
55772 else
55774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55775 $as_echo_n "checking for _sincosf declaration... " >&6; }
55776 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55777 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55778 $as_echo_n "(cached) " >&6
55779 else
55782 ac_ext=cpp
55783 ac_cpp='$CXXCPP $CPPFLAGS'
55784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55789 /* end confdefs.h. */
55790 #include <math.h>
55792 main ()
55794 _sincosf(0, 0, 0);
55796 return 0;
55798 _ACEOF
55799 if ac_fn_cxx_try_compile "$LINENO"; then :
55800 glibcxx_cv_func__sincosf_use=yes
55801 else
55802 glibcxx_cv_func__sincosf_use=no
55804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55805 ac_ext=c
55806 ac_cpp='$CPP $CPPFLAGS'
55807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55816 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55818 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55819 for ac_func in _sincosf
55820 do :
55821 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55822 if test "x$ac_cv_func__sincosf" = x""yes; then :
55823 cat >>confdefs.h <<_ACEOF
55824 #define HAVE__SINCOSF 1
55825 _ACEOF
55828 done
55837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55838 $as_echo_n "checking for finitef declaration... " >&6; }
55839 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55840 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55841 $as_echo_n "(cached) " >&6
55842 else
55845 ac_ext=cpp
55846 ac_cpp='$CXXCPP $CPPFLAGS'
55847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55852 /* end confdefs.h. */
55853 #include <math.h>
55854 #ifdef HAVE_IEEEFP_H
55855 #include <ieeefp.h>
55856 #endif
55859 main ()
55861 finitef(0);
55863 return 0;
55865 _ACEOF
55866 if ac_fn_cxx_try_compile "$LINENO"; then :
55867 glibcxx_cv_func_finitef_use=yes
55868 else
55869 glibcxx_cv_func_finitef_use=no
55871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55872 ac_ext=c
55873 ac_cpp='$CPP $CPPFLAGS'
55874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55883 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55885 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55886 for ac_func in finitef
55887 do :
55888 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55889 if test "x$ac_cv_func_finitef" = x""yes; then :
55890 cat >>confdefs.h <<_ACEOF
55891 #define HAVE_FINITEF 1
55892 _ACEOF
55895 done
55897 else
55899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55900 $as_echo_n "checking for _finitef declaration... " >&6; }
55901 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55902 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55903 $as_echo_n "(cached) " >&6
55904 else
55907 ac_ext=cpp
55908 ac_cpp='$CXXCPP $CPPFLAGS'
55909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55914 /* end confdefs.h. */
55915 #include <math.h>
55916 #ifdef HAVE_IEEEFP_H
55917 #include <ieeefp.h>
55918 #endif
55921 main ()
55923 _finitef(0);
55925 return 0;
55927 _ACEOF
55928 if ac_fn_cxx_try_compile "$LINENO"; then :
55929 glibcxx_cv_func__finitef_use=yes
55930 else
55931 glibcxx_cv_func__finitef_use=no
55933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55934 ac_ext=c
55935 ac_cpp='$CPP $CPPFLAGS'
55936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55945 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55947 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55948 for ac_func in _finitef
55949 do :
55950 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55951 if test "x$ac_cv_func__finitef" = x""yes; then :
55952 cat >>confdefs.h <<_ACEOF
55953 #define HAVE__FINITEF 1
55954 _ACEOF
55957 done
55966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55967 $as_echo_n "checking for long double trig functions... " >&6; }
55968 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55969 $as_echo_n "(cached) " >&6
55970 else
55973 ac_ext=cpp
55974 ac_cpp='$CXXCPP $CPPFLAGS'
55975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55980 /* end confdefs.h. */
55981 #include <math.h>
55983 main ()
55985 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55987 return 0;
55989 _ACEOF
55990 if ac_fn_cxx_try_compile "$LINENO"; then :
55991 glibcxx_cv_func_long_double_trig_use=yes
55992 else
55993 glibcxx_cv_func_long_double_trig_use=no
55995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55996 ac_ext=c
55997 ac_cpp='$CPP $CPPFLAGS'
55998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56005 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56006 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56007 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56008 do :
56009 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56010 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56011 eval as_val=\$$as_ac_var
56012 if test "x$as_val" = x""yes; then :
56013 cat >>confdefs.h <<_ACEOF
56014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56015 _ACEOF
56018 done
56020 else
56021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56022 $as_echo_n "checking for _long double trig functions... " >&6; }
56023 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56024 $as_echo_n "(cached) " >&6
56025 else
56028 ac_ext=cpp
56029 ac_cpp='$CXXCPP $CPPFLAGS'
56030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56035 /* end confdefs.h. */
56036 #include <math.h>
56038 main ()
56040 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56042 return 0;
56044 _ACEOF
56045 if ac_fn_cxx_try_compile "$LINENO"; then :
56046 glibcxx_cv_func__long_double_trig_use=yes
56047 else
56048 glibcxx_cv_func__long_double_trig_use=no
56050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56051 ac_ext=c
56052 ac_cpp='$CPP $CPPFLAGS'
56053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56060 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56061 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56062 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56063 do :
56064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56066 eval as_val=\$$as_ac_var
56067 if test "x$as_val" = x""yes; then :
56068 cat >>confdefs.h <<_ACEOF
56069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56070 _ACEOF
56073 done
56082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56083 $as_echo_n "checking for long double round functions... " >&6; }
56084 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56085 $as_echo_n "(cached) " >&6
56086 else
56089 ac_ext=cpp
56090 ac_cpp='$CXXCPP $CPPFLAGS'
56091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56096 /* end confdefs.h. */
56097 #include <math.h>
56099 main ()
56101 ceill (0); floorl (0);
56103 return 0;
56105 _ACEOF
56106 if ac_fn_cxx_try_compile "$LINENO"; then :
56107 glibcxx_cv_func_long_double_round_use=yes
56108 else
56109 glibcxx_cv_func_long_double_round_use=no
56111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56112 ac_ext=c
56113 ac_cpp='$CPP $CPPFLAGS'
56114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56121 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56122 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56123 for ac_func in ceill floorl
56124 do :
56125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56126 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56127 eval as_val=\$$as_ac_var
56128 if test "x$as_val" = x""yes; then :
56129 cat >>confdefs.h <<_ACEOF
56130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56131 _ACEOF
56134 done
56136 else
56137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56138 $as_echo_n "checking for _long double round functions... " >&6; }
56139 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56140 $as_echo_n "(cached) " >&6
56141 else
56144 ac_ext=cpp
56145 ac_cpp='$CXXCPP $CPPFLAGS'
56146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56151 /* end confdefs.h. */
56152 #include <math.h>
56154 main ()
56156 _ceill (0); _floorl (0);
56158 return 0;
56160 _ACEOF
56161 if ac_fn_cxx_try_compile "$LINENO"; then :
56162 glibcxx_cv_func__long_double_round_use=yes
56163 else
56164 glibcxx_cv_func__long_double_round_use=no
56166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56167 ac_ext=c
56168 ac_cpp='$CPP $CPPFLAGS'
56169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56176 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56177 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56178 for ac_func in _ceill _floorl
56179 do :
56180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56182 eval as_val=\$$as_ac_var
56183 if test "x$as_val" = x""yes; then :
56184 cat >>confdefs.h <<_ACEOF
56185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56186 _ACEOF
56189 done
56199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56200 $as_echo_n "checking for isnanl declaration... " >&6; }
56201 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56202 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56203 $as_echo_n "(cached) " >&6
56204 else
56207 ac_ext=cpp
56208 ac_cpp='$CXXCPP $CPPFLAGS'
56209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56214 /* end confdefs.h. */
56215 #include <math.h>
56216 #ifdef HAVE_IEEEFP_H
56217 #include <ieeefp.h>
56218 #endif
56221 main ()
56223 isnanl(0);
56225 return 0;
56227 _ACEOF
56228 if ac_fn_cxx_try_compile "$LINENO"; then :
56229 glibcxx_cv_func_isnanl_use=yes
56230 else
56231 glibcxx_cv_func_isnanl_use=no
56233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56234 ac_ext=c
56235 ac_cpp='$CPP $CPPFLAGS'
56236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56245 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56247 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56248 for ac_func in isnanl
56249 do :
56250 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56251 if test "x$ac_cv_func_isnanl" = x""yes; then :
56252 cat >>confdefs.h <<_ACEOF
56253 #define HAVE_ISNANL 1
56254 _ACEOF
56257 done
56259 else
56261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56262 $as_echo_n "checking for _isnanl declaration... " >&6; }
56263 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56264 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56265 $as_echo_n "(cached) " >&6
56266 else
56269 ac_ext=cpp
56270 ac_cpp='$CXXCPP $CPPFLAGS'
56271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56276 /* end confdefs.h. */
56277 #include <math.h>
56278 #ifdef HAVE_IEEEFP_H
56279 #include <ieeefp.h>
56280 #endif
56283 main ()
56285 _isnanl(0);
56287 return 0;
56289 _ACEOF
56290 if ac_fn_cxx_try_compile "$LINENO"; then :
56291 glibcxx_cv_func__isnanl_use=yes
56292 else
56293 glibcxx_cv_func__isnanl_use=no
56295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56296 ac_ext=c
56297 ac_cpp='$CPP $CPPFLAGS'
56298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56307 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56309 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56310 for ac_func in _isnanl
56311 do :
56312 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56313 if test "x$ac_cv_func__isnanl" = x""yes; then :
56314 cat >>confdefs.h <<_ACEOF
56315 #define HAVE__ISNANL 1
56316 _ACEOF
56319 done
56328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56329 $as_echo_n "checking for isinfl declaration... " >&6; }
56330 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56331 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56332 $as_echo_n "(cached) " >&6
56333 else
56336 ac_ext=cpp
56337 ac_cpp='$CXXCPP $CPPFLAGS'
56338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56343 /* end confdefs.h. */
56344 #include <math.h>
56345 #ifdef HAVE_IEEEFP_H
56346 #include <ieeefp.h>
56347 #endif
56350 main ()
56352 isinfl(0);
56354 return 0;
56356 _ACEOF
56357 if ac_fn_cxx_try_compile "$LINENO"; then :
56358 glibcxx_cv_func_isinfl_use=yes
56359 else
56360 glibcxx_cv_func_isinfl_use=no
56362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56363 ac_ext=c
56364 ac_cpp='$CPP $CPPFLAGS'
56365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56374 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56376 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56377 for ac_func in isinfl
56378 do :
56379 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56380 if test "x$ac_cv_func_isinfl" = x""yes; then :
56381 cat >>confdefs.h <<_ACEOF
56382 #define HAVE_ISINFL 1
56383 _ACEOF
56386 done
56388 else
56390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56391 $as_echo_n "checking for _isinfl declaration... " >&6; }
56392 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56393 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56394 $as_echo_n "(cached) " >&6
56395 else
56398 ac_ext=cpp
56399 ac_cpp='$CXXCPP $CPPFLAGS'
56400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56405 /* end confdefs.h. */
56406 #include <math.h>
56407 #ifdef HAVE_IEEEFP_H
56408 #include <ieeefp.h>
56409 #endif
56412 main ()
56414 _isinfl(0);
56416 return 0;
56418 _ACEOF
56419 if ac_fn_cxx_try_compile "$LINENO"; then :
56420 glibcxx_cv_func__isinfl_use=yes
56421 else
56422 glibcxx_cv_func__isinfl_use=no
56424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56425 ac_ext=c
56426 ac_cpp='$CPP $CPPFLAGS'
56427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56436 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56438 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56439 for ac_func in _isinfl
56440 do :
56441 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56442 if test "x$ac_cv_func__isinfl" = x""yes; then :
56443 cat >>confdefs.h <<_ACEOF
56444 #define HAVE__ISINFL 1
56445 _ACEOF
56448 done
56457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56458 $as_echo_n "checking for atan2l declaration... " >&6; }
56459 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56460 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56461 $as_echo_n "(cached) " >&6
56462 else
56465 ac_ext=cpp
56466 ac_cpp='$CXXCPP $CPPFLAGS'
56467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56472 /* end confdefs.h. */
56473 #include <math.h>
56475 main ()
56477 atan2l(0, 0);
56479 return 0;
56481 _ACEOF
56482 if ac_fn_cxx_try_compile "$LINENO"; then :
56483 glibcxx_cv_func_atan2l_use=yes
56484 else
56485 glibcxx_cv_func_atan2l_use=no
56487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56488 ac_ext=c
56489 ac_cpp='$CPP $CPPFLAGS'
56490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56499 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56501 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56502 for ac_func in atan2l
56503 do :
56504 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56505 if test "x$ac_cv_func_atan2l" = x""yes; then :
56506 cat >>confdefs.h <<_ACEOF
56507 #define HAVE_ATAN2L 1
56508 _ACEOF
56511 done
56513 else
56515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56516 $as_echo_n "checking for _atan2l declaration... " >&6; }
56517 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56518 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56519 $as_echo_n "(cached) " >&6
56520 else
56523 ac_ext=cpp
56524 ac_cpp='$CXXCPP $CPPFLAGS'
56525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56530 /* end confdefs.h. */
56531 #include <math.h>
56533 main ()
56535 _atan2l(0, 0);
56537 return 0;
56539 _ACEOF
56540 if ac_fn_cxx_try_compile "$LINENO"; then :
56541 glibcxx_cv_func__atan2l_use=yes
56542 else
56543 glibcxx_cv_func__atan2l_use=no
56545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56546 ac_ext=c
56547 ac_cpp='$CPP $CPPFLAGS'
56548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56557 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56559 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56560 for ac_func in _atan2l
56561 do :
56562 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56563 if test "x$ac_cv_func__atan2l" = x""yes; then :
56564 cat >>confdefs.h <<_ACEOF
56565 #define HAVE__ATAN2L 1
56566 _ACEOF
56569 done
56578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56579 $as_echo_n "checking for expl declaration... " >&6; }
56580 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56581 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56582 $as_echo_n "(cached) " >&6
56583 else
56586 ac_ext=cpp
56587 ac_cpp='$CXXCPP $CPPFLAGS'
56588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56593 /* end confdefs.h. */
56594 #include <math.h>
56595 #ifdef HAVE_IEEEFP_H
56596 #include <ieeefp.h>
56597 #endif
56600 main ()
56602 expl(0);
56604 return 0;
56606 _ACEOF
56607 if ac_fn_cxx_try_compile "$LINENO"; then :
56608 glibcxx_cv_func_expl_use=yes
56609 else
56610 glibcxx_cv_func_expl_use=no
56612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56613 ac_ext=c
56614 ac_cpp='$CPP $CPPFLAGS'
56615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56624 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56626 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56627 for ac_func in expl
56628 do :
56629 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56630 if test "x$ac_cv_func_expl" = x""yes; then :
56631 cat >>confdefs.h <<_ACEOF
56632 #define HAVE_EXPL 1
56633 _ACEOF
56636 done
56638 else
56640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56641 $as_echo_n "checking for _expl declaration... " >&6; }
56642 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56643 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56644 $as_echo_n "(cached) " >&6
56645 else
56648 ac_ext=cpp
56649 ac_cpp='$CXXCPP $CPPFLAGS'
56650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56655 /* end confdefs.h. */
56656 #include <math.h>
56657 #ifdef HAVE_IEEEFP_H
56658 #include <ieeefp.h>
56659 #endif
56662 main ()
56664 _expl(0);
56666 return 0;
56668 _ACEOF
56669 if ac_fn_cxx_try_compile "$LINENO"; then :
56670 glibcxx_cv_func__expl_use=yes
56671 else
56672 glibcxx_cv_func__expl_use=no
56674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56675 ac_ext=c
56676 ac_cpp='$CPP $CPPFLAGS'
56677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56686 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56688 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56689 for ac_func in _expl
56690 do :
56691 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56692 if test "x$ac_cv_func__expl" = x""yes; then :
56693 cat >>confdefs.h <<_ACEOF
56694 #define HAVE__EXPL 1
56695 _ACEOF
56698 done
56707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56708 $as_echo_n "checking for fabsl declaration... " >&6; }
56709 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56710 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56711 $as_echo_n "(cached) " >&6
56712 else
56715 ac_ext=cpp
56716 ac_cpp='$CXXCPP $CPPFLAGS'
56717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56722 /* end confdefs.h. */
56723 #include <math.h>
56724 #ifdef HAVE_IEEEFP_H
56725 #include <ieeefp.h>
56726 #endif
56729 main ()
56731 fabsl(0);
56733 return 0;
56735 _ACEOF
56736 if ac_fn_cxx_try_compile "$LINENO"; then :
56737 glibcxx_cv_func_fabsl_use=yes
56738 else
56739 glibcxx_cv_func_fabsl_use=no
56741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56742 ac_ext=c
56743 ac_cpp='$CPP $CPPFLAGS'
56744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56753 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56755 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56756 for ac_func in fabsl
56757 do :
56758 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56759 if test "x$ac_cv_func_fabsl" = x""yes; then :
56760 cat >>confdefs.h <<_ACEOF
56761 #define HAVE_FABSL 1
56762 _ACEOF
56765 done
56767 else
56769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56770 $as_echo_n "checking for _fabsl declaration... " >&6; }
56771 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56772 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56773 $as_echo_n "(cached) " >&6
56774 else
56777 ac_ext=cpp
56778 ac_cpp='$CXXCPP $CPPFLAGS'
56779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56784 /* end confdefs.h. */
56785 #include <math.h>
56786 #ifdef HAVE_IEEEFP_H
56787 #include <ieeefp.h>
56788 #endif
56791 main ()
56793 _fabsl(0);
56795 return 0;
56797 _ACEOF
56798 if ac_fn_cxx_try_compile "$LINENO"; then :
56799 glibcxx_cv_func__fabsl_use=yes
56800 else
56801 glibcxx_cv_func__fabsl_use=no
56803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56804 ac_ext=c
56805 ac_cpp='$CPP $CPPFLAGS'
56806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56815 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56817 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56818 for ac_func in _fabsl
56819 do :
56820 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56821 if test "x$ac_cv_func__fabsl" = x""yes; then :
56822 cat >>confdefs.h <<_ACEOF
56823 #define HAVE__FABSL 1
56824 _ACEOF
56827 done
56836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56837 $as_echo_n "checking for fmodl declaration... " >&6; }
56838 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56839 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56840 $as_echo_n "(cached) " >&6
56841 else
56844 ac_ext=cpp
56845 ac_cpp='$CXXCPP $CPPFLAGS'
56846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56851 /* end confdefs.h. */
56852 #include <math.h>
56854 main ()
56856 fmodl(0, 0);
56858 return 0;
56860 _ACEOF
56861 if ac_fn_cxx_try_compile "$LINENO"; then :
56862 glibcxx_cv_func_fmodl_use=yes
56863 else
56864 glibcxx_cv_func_fmodl_use=no
56866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56867 ac_ext=c
56868 ac_cpp='$CPP $CPPFLAGS'
56869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56878 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56880 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56881 for ac_func in fmodl
56882 do :
56883 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56884 if test "x$ac_cv_func_fmodl" = x""yes; then :
56885 cat >>confdefs.h <<_ACEOF
56886 #define HAVE_FMODL 1
56887 _ACEOF
56890 done
56892 else
56894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56895 $as_echo_n "checking for _fmodl declaration... " >&6; }
56896 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56897 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56898 $as_echo_n "(cached) " >&6
56899 else
56902 ac_ext=cpp
56903 ac_cpp='$CXXCPP $CPPFLAGS'
56904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56909 /* end confdefs.h. */
56910 #include <math.h>
56912 main ()
56914 _fmodl(0, 0);
56916 return 0;
56918 _ACEOF
56919 if ac_fn_cxx_try_compile "$LINENO"; then :
56920 glibcxx_cv_func__fmodl_use=yes
56921 else
56922 glibcxx_cv_func__fmodl_use=no
56924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56925 ac_ext=c
56926 ac_cpp='$CPP $CPPFLAGS'
56927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56936 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56938 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56939 for ac_func in _fmodl
56940 do :
56941 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56942 if test "x$ac_cv_func__fmodl" = x""yes; then :
56943 cat >>confdefs.h <<_ACEOF
56944 #define HAVE__FMODL 1
56945 _ACEOF
56948 done
56957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56958 $as_echo_n "checking for frexpl declaration... " >&6; }
56959 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56960 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56961 $as_echo_n "(cached) " >&6
56962 else
56965 ac_ext=cpp
56966 ac_cpp='$CXXCPP $CPPFLAGS'
56967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56972 /* end confdefs.h. */
56973 #include <math.h>
56975 main ()
56977 frexpl(0, 0);
56979 return 0;
56981 _ACEOF
56982 if ac_fn_cxx_try_compile "$LINENO"; then :
56983 glibcxx_cv_func_frexpl_use=yes
56984 else
56985 glibcxx_cv_func_frexpl_use=no
56987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56988 ac_ext=c
56989 ac_cpp='$CPP $CPPFLAGS'
56990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56999 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57001 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57002 for ac_func in frexpl
57003 do :
57004 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57005 if test "x$ac_cv_func_frexpl" = x""yes; then :
57006 cat >>confdefs.h <<_ACEOF
57007 #define HAVE_FREXPL 1
57008 _ACEOF
57011 done
57013 else
57015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57016 $as_echo_n "checking for _frexpl declaration... " >&6; }
57017 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57018 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57019 $as_echo_n "(cached) " >&6
57020 else
57023 ac_ext=cpp
57024 ac_cpp='$CXXCPP $CPPFLAGS'
57025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57030 /* end confdefs.h. */
57031 #include <math.h>
57033 main ()
57035 _frexpl(0, 0);
57037 return 0;
57039 _ACEOF
57040 if ac_fn_cxx_try_compile "$LINENO"; then :
57041 glibcxx_cv_func__frexpl_use=yes
57042 else
57043 glibcxx_cv_func__frexpl_use=no
57045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57046 ac_ext=c
57047 ac_cpp='$CPP $CPPFLAGS'
57048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57057 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57059 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57060 for ac_func in _frexpl
57061 do :
57062 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57063 if test "x$ac_cv_func__frexpl" = x""yes; then :
57064 cat >>confdefs.h <<_ACEOF
57065 #define HAVE__FREXPL 1
57066 _ACEOF
57069 done
57078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57079 $as_echo_n "checking for hypotl declaration... " >&6; }
57080 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57081 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57082 $as_echo_n "(cached) " >&6
57083 else
57086 ac_ext=cpp
57087 ac_cpp='$CXXCPP $CPPFLAGS'
57088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57093 /* end confdefs.h. */
57094 #include <math.h>
57096 main ()
57098 hypotl(0, 0);
57100 return 0;
57102 _ACEOF
57103 if ac_fn_cxx_try_compile "$LINENO"; then :
57104 glibcxx_cv_func_hypotl_use=yes
57105 else
57106 glibcxx_cv_func_hypotl_use=no
57108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57109 ac_ext=c
57110 ac_cpp='$CPP $CPPFLAGS'
57111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57120 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57122 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57123 for ac_func in hypotl
57124 do :
57125 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57126 if test "x$ac_cv_func_hypotl" = x""yes; then :
57127 cat >>confdefs.h <<_ACEOF
57128 #define HAVE_HYPOTL 1
57129 _ACEOF
57132 done
57134 else
57136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57137 $as_echo_n "checking for _hypotl declaration... " >&6; }
57138 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57139 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57140 $as_echo_n "(cached) " >&6
57141 else
57144 ac_ext=cpp
57145 ac_cpp='$CXXCPP $CPPFLAGS'
57146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57151 /* end confdefs.h. */
57152 #include <math.h>
57154 main ()
57156 _hypotl(0, 0);
57158 return 0;
57160 _ACEOF
57161 if ac_fn_cxx_try_compile "$LINENO"; then :
57162 glibcxx_cv_func__hypotl_use=yes
57163 else
57164 glibcxx_cv_func__hypotl_use=no
57166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57167 ac_ext=c
57168 ac_cpp='$CPP $CPPFLAGS'
57169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57178 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57180 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57181 for ac_func in _hypotl
57182 do :
57183 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57184 if test "x$ac_cv_func__hypotl" = x""yes; then :
57185 cat >>confdefs.h <<_ACEOF
57186 #define HAVE__HYPOTL 1
57187 _ACEOF
57190 done
57199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57200 $as_echo_n "checking for ldexpl declaration... " >&6; }
57201 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57202 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57203 $as_echo_n "(cached) " >&6
57204 else
57207 ac_ext=cpp
57208 ac_cpp='$CXXCPP $CPPFLAGS'
57209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57214 /* end confdefs.h. */
57215 #include <math.h>
57217 main ()
57219 ldexpl(0, 0);
57221 return 0;
57223 _ACEOF
57224 if ac_fn_cxx_try_compile "$LINENO"; then :
57225 glibcxx_cv_func_ldexpl_use=yes
57226 else
57227 glibcxx_cv_func_ldexpl_use=no
57229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57230 ac_ext=c
57231 ac_cpp='$CPP $CPPFLAGS'
57232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57241 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57243 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57244 for ac_func in ldexpl
57245 do :
57246 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57247 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57248 cat >>confdefs.h <<_ACEOF
57249 #define HAVE_LDEXPL 1
57250 _ACEOF
57253 done
57255 else
57257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57258 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57259 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57260 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57261 $as_echo_n "(cached) " >&6
57262 else
57265 ac_ext=cpp
57266 ac_cpp='$CXXCPP $CPPFLAGS'
57267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57272 /* end confdefs.h. */
57273 #include <math.h>
57275 main ()
57277 _ldexpl(0, 0);
57279 return 0;
57281 _ACEOF
57282 if ac_fn_cxx_try_compile "$LINENO"; then :
57283 glibcxx_cv_func__ldexpl_use=yes
57284 else
57285 glibcxx_cv_func__ldexpl_use=no
57287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57288 ac_ext=c
57289 ac_cpp='$CPP $CPPFLAGS'
57290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57299 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57301 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57302 for ac_func in _ldexpl
57303 do :
57304 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57305 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57306 cat >>confdefs.h <<_ACEOF
57307 #define HAVE__LDEXPL 1
57308 _ACEOF
57311 done
57320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57321 $as_echo_n "checking for logl declaration... " >&6; }
57322 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57323 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57324 $as_echo_n "(cached) " >&6
57325 else
57328 ac_ext=cpp
57329 ac_cpp='$CXXCPP $CPPFLAGS'
57330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57335 /* end confdefs.h. */
57336 #include <math.h>
57337 #ifdef HAVE_IEEEFP_H
57338 #include <ieeefp.h>
57339 #endif
57342 main ()
57344 logl(0);
57346 return 0;
57348 _ACEOF
57349 if ac_fn_cxx_try_compile "$LINENO"; then :
57350 glibcxx_cv_func_logl_use=yes
57351 else
57352 glibcxx_cv_func_logl_use=no
57354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57355 ac_ext=c
57356 ac_cpp='$CPP $CPPFLAGS'
57357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57366 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57368 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57369 for ac_func in logl
57370 do :
57371 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57372 if test "x$ac_cv_func_logl" = x""yes; then :
57373 cat >>confdefs.h <<_ACEOF
57374 #define HAVE_LOGL 1
57375 _ACEOF
57378 done
57380 else
57382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57383 $as_echo_n "checking for _logl declaration... " >&6; }
57384 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57385 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57386 $as_echo_n "(cached) " >&6
57387 else
57390 ac_ext=cpp
57391 ac_cpp='$CXXCPP $CPPFLAGS'
57392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57397 /* end confdefs.h. */
57398 #include <math.h>
57399 #ifdef HAVE_IEEEFP_H
57400 #include <ieeefp.h>
57401 #endif
57404 main ()
57406 _logl(0);
57408 return 0;
57410 _ACEOF
57411 if ac_fn_cxx_try_compile "$LINENO"; then :
57412 glibcxx_cv_func__logl_use=yes
57413 else
57414 glibcxx_cv_func__logl_use=no
57416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57417 ac_ext=c
57418 ac_cpp='$CPP $CPPFLAGS'
57419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57428 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57430 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57431 for ac_func in _logl
57432 do :
57433 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57434 if test "x$ac_cv_func__logl" = x""yes; then :
57435 cat >>confdefs.h <<_ACEOF
57436 #define HAVE__LOGL 1
57437 _ACEOF
57440 done
57449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57450 $as_echo_n "checking for log10l declaration... " >&6; }
57451 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57452 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57453 $as_echo_n "(cached) " >&6
57454 else
57457 ac_ext=cpp
57458 ac_cpp='$CXXCPP $CPPFLAGS'
57459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57464 /* end confdefs.h. */
57465 #include <math.h>
57466 #ifdef HAVE_IEEEFP_H
57467 #include <ieeefp.h>
57468 #endif
57471 main ()
57473 log10l(0);
57475 return 0;
57477 _ACEOF
57478 if ac_fn_cxx_try_compile "$LINENO"; then :
57479 glibcxx_cv_func_log10l_use=yes
57480 else
57481 glibcxx_cv_func_log10l_use=no
57483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57484 ac_ext=c
57485 ac_cpp='$CPP $CPPFLAGS'
57486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57495 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57497 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57498 for ac_func in log10l
57499 do :
57500 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57501 if test "x$ac_cv_func_log10l" = x""yes; then :
57502 cat >>confdefs.h <<_ACEOF
57503 #define HAVE_LOG10L 1
57504 _ACEOF
57507 done
57509 else
57511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57512 $as_echo_n "checking for _log10l declaration... " >&6; }
57513 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57514 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57515 $as_echo_n "(cached) " >&6
57516 else
57519 ac_ext=cpp
57520 ac_cpp='$CXXCPP $CPPFLAGS'
57521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57526 /* end confdefs.h. */
57527 #include <math.h>
57528 #ifdef HAVE_IEEEFP_H
57529 #include <ieeefp.h>
57530 #endif
57533 main ()
57535 _log10l(0);
57537 return 0;
57539 _ACEOF
57540 if ac_fn_cxx_try_compile "$LINENO"; then :
57541 glibcxx_cv_func__log10l_use=yes
57542 else
57543 glibcxx_cv_func__log10l_use=no
57545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57546 ac_ext=c
57547 ac_cpp='$CPP $CPPFLAGS'
57548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57557 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57559 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57560 for ac_func in _log10l
57561 do :
57562 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57563 if test "x$ac_cv_func__log10l" = x""yes; then :
57564 cat >>confdefs.h <<_ACEOF
57565 #define HAVE__LOG10L 1
57566 _ACEOF
57569 done
57578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57579 $as_echo_n "checking for modfl declaration... " >&6; }
57580 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57581 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57582 $as_echo_n "(cached) " >&6
57583 else
57586 ac_ext=cpp
57587 ac_cpp='$CXXCPP $CPPFLAGS'
57588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57593 /* end confdefs.h. */
57594 #include <math.h>
57596 main ()
57598 modfl(0, 0);
57600 return 0;
57602 _ACEOF
57603 if ac_fn_cxx_try_compile "$LINENO"; then :
57604 glibcxx_cv_func_modfl_use=yes
57605 else
57606 glibcxx_cv_func_modfl_use=no
57608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57609 ac_ext=c
57610 ac_cpp='$CPP $CPPFLAGS'
57611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57620 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57622 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57623 for ac_func in modfl
57624 do :
57625 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57626 if test "x$ac_cv_func_modfl" = x""yes; then :
57627 cat >>confdefs.h <<_ACEOF
57628 #define HAVE_MODFL 1
57629 _ACEOF
57632 done
57634 else
57636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57637 $as_echo_n "checking for _modfl declaration... " >&6; }
57638 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57639 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57640 $as_echo_n "(cached) " >&6
57641 else
57644 ac_ext=cpp
57645 ac_cpp='$CXXCPP $CPPFLAGS'
57646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57651 /* end confdefs.h. */
57652 #include <math.h>
57654 main ()
57656 _modfl(0, 0);
57658 return 0;
57660 _ACEOF
57661 if ac_fn_cxx_try_compile "$LINENO"; then :
57662 glibcxx_cv_func__modfl_use=yes
57663 else
57664 glibcxx_cv_func__modfl_use=no
57666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57667 ac_ext=c
57668 ac_cpp='$CPP $CPPFLAGS'
57669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57678 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57680 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57681 for ac_func in _modfl
57682 do :
57683 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57684 if test "x$ac_cv_func__modfl" = x""yes; then :
57685 cat >>confdefs.h <<_ACEOF
57686 #define HAVE__MODFL 1
57687 _ACEOF
57690 done
57699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57700 $as_echo_n "checking for powl declaration... " >&6; }
57701 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57702 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57703 $as_echo_n "(cached) " >&6
57704 else
57707 ac_ext=cpp
57708 ac_cpp='$CXXCPP $CPPFLAGS'
57709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57714 /* end confdefs.h. */
57715 #include <math.h>
57717 main ()
57719 powl(0, 0);
57721 return 0;
57723 _ACEOF
57724 if ac_fn_cxx_try_compile "$LINENO"; then :
57725 glibcxx_cv_func_powl_use=yes
57726 else
57727 glibcxx_cv_func_powl_use=no
57729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57730 ac_ext=c
57731 ac_cpp='$CPP $CPPFLAGS'
57732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57741 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57743 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57744 for ac_func in powl
57745 do :
57746 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57747 if test "x$ac_cv_func_powl" = x""yes; then :
57748 cat >>confdefs.h <<_ACEOF
57749 #define HAVE_POWL 1
57750 _ACEOF
57753 done
57755 else
57757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57758 $as_echo_n "checking for _powl declaration... " >&6; }
57759 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57760 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57761 $as_echo_n "(cached) " >&6
57762 else
57765 ac_ext=cpp
57766 ac_cpp='$CXXCPP $CPPFLAGS'
57767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57772 /* end confdefs.h. */
57773 #include <math.h>
57775 main ()
57777 _powl(0, 0);
57779 return 0;
57781 _ACEOF
57782 if ac_fn_cxx_try_compile "$LINENO"; then :
57783 glibcxx_cv_func__powl_use=yes
57784 else
57785 glibcxx_cv_func__powl_use=no
57787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57788 ac_ext=c
57789 ac_cpp='$CPP $CPPFLAGS'
57790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57799 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57801 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57802 for ac_func in _powl
57803 do :
57804 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57805 if test "x$ac_cv_func__powl" = x""yes; then :
57806 cat >>confdefs.h <<_ACEOF
57807 #define HAVE__POWL 1
57808 _ACEOF
57811 done
57820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57821 $as_echo_n "checking for sqrtl declaration... " >&6; }
57822 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57823 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57824 $as_echo_n "(cached) " >&6
57825 else
57828 ac_ext=cpp
57829 ac_cpp='$CXXCPP $CPPFLAGS'
57830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57835 /* end confdefs.h. */
57836 #include <math.h>
57837 #ifdef HAVE_IEEEFP_H
57838 #include <ieeefp.h>
57839 #endif
57842 main ()
57844 sqrtl(0);
57846 return 0;
57848 _ACEOF
57849 if ac_fn_cxx_try_compile "$LINENO"; then :
57850 glibcxx_cv_func_sqrtl_use=yes
57851 else
57852 glibcxx_cv_func_sqrtl_use=no
57854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57855 ac_ext=c
57856 ac_cpp='$CPP $CPPFLAGS'
57857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57866 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57868 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57869 for ac_func in sqrtl
57870 do :
57871 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57872 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57873 cat >>confdefs.h <<_ACEOF
57874 #define HAVE_SQRTL 1
57875 _ACEOF
57878 done
57880 else
57882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57883 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57884 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57885 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57886 $as_echo_n "(cached) " >&6
57887 else
57890 ac_ext=cpp
57891 ac_cpp='$CXXCPP $CPPFLAGS'
57892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57897 /* end confdefs.h. */
57898 #include <math.h>
57899 #ifdef HAVE_IEEEFP_H
57900 #include <ieeefp.h>
57901 #endif
57904 main ()
57906 _sqrtl(0);
57908 return 0;
57910 _ACEOF
57911 if ac_fn_cxx_try_compile "$LINENO"; then :
57912 glibcxx_cv_func__sqrtl_use=yes
57913 else
57914 glibcxx_cv_func__sqrtl_use=no
57916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57917 ac_ext=c
57918 ac_cpp='$CPP $CPPFLAGS'
57919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57928 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57930 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57931 for ac_func in _sqrtl
57932 do :
57933 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57934 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57935 cat >>confdefs.h <<_ACEOF
57936 #define HAVE__SQRTL 1
57937 _ACEOF
57940 done
57949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57950 $as_echo_n "checking for sincosl declaration... " >&6; }
57951 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57952 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57953 $as_echo_n "(cached) " >&6
57954 else
57957 ac_ext=cpp
57958 ac_cpp='$CXXCPP $CPPFLAGS'
57959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57964 /* end confdefs.h. */
57965 #include <math.h>
57967 main ()
57969 sincosl(0, 0, 0);
57971 return 0;
57973 _ACEOF
57974 if ac_fn_cxx_try_compile "$LINENO"; then :
57975 glibcxx_cv_func_sincosl_use=yes
57976 else
57977 glibcxx_cv_func_sincosl_use=no
57979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57980 ac_ext=c
57981 ac_cpp='$CPP $CPPFLAGS'
57982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57991 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57993 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57994 for ac_func in sincosl
57995 do :
57996 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57997 if test "x$ac_cv_func_sincosl" = x""yes; then :
57998 cat >>confdefs.h <<_ACEOF
57999 #define HAVE_SINCOSL 1
58000 _ACEOF
58003 done
58005 else
58007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58008 $as_echo_n "checking for _sincosl declaration... " >&6; }
58009 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58010 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58011 $as_echo_n "(cached) " >&6
58012 else
58015 ac_ext=cpp
58016 ac_cpp='$CXXCPP $CPPFLAGS'
58017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58022 /* end confdefs.h. */
58023 #include <math.h>
58025 main ()
58027 _sincosl(0, 0, 0);
58029 return 0;
58031 _ACEOF
58032 if ac_fn_cxx_try_compile "$LINENO"; then :
58033 glibcxx_cv_func__sincosl_use=yes
58034 else
58035 glibcxx_cv_func__sincosl_use=no
58037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58038 ac_ext=c
58039 ac_cpp='$CPP $CPPFLAGS'
58040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58049 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58051 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58052 for ac_func in _sincosl
58053 do :
58054 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58055 if test "x$ac_cv_func__sincosl" = x""yes; then :
58056 cat >>confdefs.h <<_ACEOF
58057 #define HAVE__SINCOSL 1
58058 _ACEOF
58061 done
58070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58071 $as_echo_n "checking for finitel declaration... " >&6; }
58072 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58073 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58074 $as_echo_n "(cached) " >&6
58075 else
58078 ac_ext=cpp
58079 ac_cpp='$CXXCPP $CPPFLAGS'
58080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58085 /* end confdefs.h. */
58086 #include <math.h>
58087 #ifdef HAVE_IEEEFP_H
58088 #include <ieeefp.h>
58089 #endif
58092 main ()
58094 finitel(0);
58096 return 0;
58098 _ACEOF
58099 if ac_fn_cxx_try_compile "$LINENO"; then :
58100 glibcxx_cv_func_finitel_use=yes
58101 else
58102 glibcxx_cv_func_finitel_use=no
58104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58105 ac_ext=c
58106 ac_cpp='$CPP $CPPFLAGS'
58107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58116 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58118 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58119 for ac_func in finitel
58120 do :
58121 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58122 if test "x$ac_cv_func_finitel" = x""yes; then :
58123 cat >>confdefs.h <<_ACEOF
58124 #define HAVE_FINITEL 1
58125 _ACEOF
58128 done
58130 else
58132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58133 $as_echo_n "checking for _finitel declaration... " >&6; }
58134 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58135 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58136 $as_echo_n "(cached) " >&6
58137 else
58140 ac_ext=cpp
58141 ac_cpp='$CXXCPP $CPPFLAGS'
58142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58147 /* end confdefs.h. */
58148 #include <math.h>
58149 #ifdef HAVE_IEEEFP_H
58150 #include <ieeefp.h>
58151 #endif
58154 main ()
58156 _finitel(0);
58158 return 0;
58160 _ACEOF
58161 if ac_fn_cxx_try_compile "$LINENO"; then :
58162 glibcxx_cv_func__finitel_use=yes
58163 else
58164 glibcxx_cv_func__finitel_use=no
58166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58167 ac_ext=c
58168 ac_cpp='$CPP $CPPFLAGS'
58169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58178 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58180 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58181 for ac_func in _finitel
58182 do :
58183 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58184 if test "x$ac_cv_func__finitel" = x""yes; then :
58185 cat >>confdefs.h <<_ACEOF
58186 #define HAVE__FINITEL 1
58187 _ACEOF
58190 done
58198 LIBS="$ac_save_LIBS"
58199 CXXFLAGS="$ac_save_CXXFLAGS"
58202 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58203 ac_save_CXXFLAGS="$CXXFLAGS"
58204 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58208 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58209 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58210 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58211 $as_echo_n "(cached) " >&6
58212 else
58215 ac_ext=cpp
58216 ac_cpp='$CXXCPP $CPPFLAGS'
58217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58222 /* end confdefs.h. */
58223 #include <stdlib.h>
58225 main ()
58227 at_quick_exit(0);
58229 return 0;
58231 _ACEOF
58232 if ac_fn_cxx_try_compile "$LINENO"; then :
58233 glibcxx_cv_func_at_quick_exit_use=yes
58234 else
58235 glibcxx_cv_func_at_quick_exit_use=no
58237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58238 ac_ext=c
58239 ac_cpp='$CPP $CPPFLAGS'
58240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58249 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58250 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58251 for ac_func in at_quick_exit
58252 do :
58253 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58254 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58255 cat >>confdefs.h <<_ACEOF
58256 #define HAVE_AT_QUICK_EXIT 1
58257 _ACEOF
58260 done
58265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58266 $as_echo_n "checking for quick_exit declaration... " >&6; }
58267 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58268 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58269 $as_echo_n "(cached) " >&6
58270 else
58273 ac_ext=cpp
58274 ac_cpp='$CXXCPP $CPPFLAGS'
58275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58280 /* end confdefs.h. */
58281 #include <stdlib.h>
58283 main ()
58285 quick_exit(0);
58287 return 0;
58289 _ACEOF
58290 if ac_fn_cxx_try_compile "$LINENO"; then :
58291 glibcxx_cv_func_quick_exit_use=yes
58292 else
58293 glibcxx_cv_func_quick_exit_use=no
58295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58296 ac_ext=c
58297 ac_cpp='$CPP $CPPFLAGS'
58298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58307 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58308 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58309 for ac_func in quick_exit
58310 do :
58311 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58312 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58313 cat >>confdefs.h <<_ACEOF
58314 #define HAVE_QUICK_EXIT 1
58315 _ACEOF
58318 done
58323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58324 $as_echo_n "checking for strtold declaration... " >&6; }
58325 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58326 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58327 $as_echo_n "(cached) " >&6
58328 else
58331 ac_ext=cpp
58332 ac_cpp='$CXXCPP $CPPFLAGS'
58333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58338 /* end confdefs.h. */
58339 #include <stdlib.h>
58341 main ()
58343 strtold(0, 0);
58345 return 0;
58347 _ACEOF
58348 if ac_fn_cxx_try_compile "$LINENO"; then :
58349 glibcxx_cv_func_strtold_use=yes
58350 else
58351 glibcxx_cv_func_strtold_use=no
58353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58354 ac_ext=c
58355 ac_cpp='$CPP $CPPFLAGS'
58356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58365 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58366 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58367 for ac_func in strtold
58368 do :
58369 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58370 if test "x$ac_cv_func_strtold" = x""yes; then :
58371 cat >>confdefs.h <<_ACEOF
58372 #define HAVE_STRTOLD 1
58373 _ACEOF
58376 done
58383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58384 $as_echo_n "checking for strtof declaration... " >&6; }
58385 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58386 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58387 $as_echo_n "(cached) " >&6
58388 else
58391 ac_ext=cpp
58392 ac_cpp='$CXXCPP $CPPFLAGS'
58393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58398 /* end confdefs.h. */
58399 #include <stdlib.h>
58401 main ()
58403 strtof(0, 0);
58405 return 0;
58407 _ACEOF
58408 if ac_fn_cxx_try_compile "$LINENO"; then :
58409 glibcxx_cv_func_strtof_use=yes
58410 else
58411 glibcxx_cv_func_strtof_use=no
58413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58414 ac_ext=c
58415 ac_cpp='$CPP $CPPFLAGS'
58416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58425 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58426 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58427 for ac_func in strtof
58428 do :
58429 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58430 if test "x$ac_cv_func_strtof" = x""yes; then :
58431 cat >>confdefs.h <<_ACEOF
58432 #define HAVE_STRTOF 1
58433 _ACEOF
58436 done
58443 CXXFLAGS="$ac_save_CXXFLAGS"
58445 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58449 # Check whether --enable-tls was given.
58450 if test "${enable_tls+set}" = set; then :
58451 enableval=$enable_tls;
58452 case "$enableval" in
58453 yes|no) ;;
58454 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58455 esac
58457 else
58458 enable_tls=yes
58462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58463 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58464 if test "${gcc_cv_have_tls+set}" = set; then :
58465 $as_echo_n "(cached) " >&6
58466 else
58468 if test "$cross_compiling" = yes; then :
58469 if test x$gcc_no_link = xyes; then
58470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58473 /* end confdefs.h. */
58474 __thread int a; int b; int main() { return a = b; }
58475 _ACEOF
58476 if ac_fn_c_try_link "$LINENO"; then :
58477 chktls_save_LDFLAGS="$LDFLAGS"
58478 case $host in
58479 *-*-linux*)
58480 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58482 esac
58483 chktls_save_CFLAGS="$CFLAGS"
58484 CFLAGS="-fPIC $CFLAGS"
58485 if test x$gcc_no_link = xyes; then
58486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58489 /* end confdefs.h. */
58490 int f() { return 0; }
58491 _ACEOF
58492 if ac_fn_c_try_link "$LINENO"; then :
58493 if test x$gcc_no_link = xyes; then
58494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58497 /* end confdefs.h. */
58498 __thread int a; int b; int f() { return a = b; }
58499 _ACEOF
58500 if ac_fn_c_try_link "$LINENO"; then :
58501 gcc_cv_have_tls=yes
58502 else
58503 gcc_cv_have_tls=no
58505 rm -f core conftest.err conftest.$ac_objext \
58506 conftest$ac_exeext conftest.$ac_ext
58507 else
58508 gcc_cv_have_tls=yes
58510 rm -f core conftest.err conftest.$ac_objext \
58511 conftest$ac_exeext conftest.$ac_ext
58512 CFLAGS="$chktls_save_CFLAGS"
58513 LDFLAGS="$chktls_save_LDFLAGS"
58514 else
58515 gcc_cv_have_tls=no
58517 rm -f core conftest.err conftest.$ac_objext \
58518 conftest$ac_exeext conftest.$ac_ext
58521 else
58522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58523 /* end confdefs.h. */
58524 __thread int a; int b; int main() { return a = b; }
58525 _ACEOF
58526 if ac_fn_c_try_run "$LINENO"; then :
58527 chktls_save_LDFLAGS="$LDFLAGS"
58528 LDFLAGS="-static $LDFLAGS"
58529 if test x$gcc_no_link = xyes; then
58530 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58533 /* end confdefs.h. */
58534 int main() { return 0; }
58535 _ACEOF
58536 if ac_fn_c_try_link "$LINENO"; then :
58537 if test "$cross_compiling" = yes; then :
58538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58540 as_fn_error "cannot run test program while cross compiling
58541 See \`config.log' for more details." "$LINENO" 5; }
58542 else
58543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58544 /* end confdefs.h. */
58545 __thread int a; int b; int main() { return a = b; }
58546 _ACEOF
58547 if ac_fn_c_try_run "$LINENO"; then :
58548 gcc_cv_have_tls=yes
58549 else
58550 gcc_cv_have_tls=no
58552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58553 conftest.$ac_objext conftest.beam conftest.$ac_ext
58556 else
58557 gcc_cv_have_tls=yes
58559 rm -f core conftest.err conftest.$ac_objext \
58560 conftest$ac_exeext conftest.$ac_ext
58561 LDFLAGS="$chktls_save_LDFLAGS"
58562 if test $gcc_cv_have_tls = yes; then
58563 chktls_save_CFLAGS="$CFLAGS"
58564 thread_CFLAGS=failed
58565 for flag in '' '-pthread' '-lpthread'; do
58566 CFLAGS="$flag $chktls_save_CFLAGS"
58567 if test x$gcc_no_link = xyes; then
58568 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58571 /* end confdefs.h. */
58572 #include <pthread.h>
58573 void *g(void *d) { return NULL; }
58575 main ()
58577 pthread_t t; pthread_create(&t,NULL,g,NULL);
58579 return 0;
58581 _ACEOF
58582 if ac_fn_c_try_link "$LINENO"; then :
58583 thread_CFLAGS="$flag"
58585 rm -f core conftest.err conftest.$ac_objext \
58586 conftest$ac_exeext conftest.$ac_ext
58587 if test "X$thread_CFLAGS" != Xfailed; then
58588 break
58590 done
58591 CFLAGS="$chktls_save_CFLAGS"
58592 if test "X$thread_CFLAGS" != Xfailed; then
58593 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58594 if test "$cross_compiling" = yes; then :
58595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58597 as_fn_error "cannot run test program while cross compiling
58598 See \`config.log' for more details." "$LINENO" 5; }
58599 else
58600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58601 /* end confdefs.h. */
58602 #include <pthread.h>
58603 __thread int a;
58604 static int *volatile a_in_other_thread;
58605 static void *
58606 thread_func (void *arg)
58608 a_in_other_thread = &a;
58609 return (void *)0;
58612 main ()
58614 pthread_t thread;
58615 void *thread_retval;
58616 int *volatile a_in_main_thread;
58617 a_in_main_thread = &a;
58618 if (pthread_create (&thread, (pthread_attr_t *)0,
58619 thread_func, (void *)0))
58620 return 0;
58621 if (pthread_join (thread, &thread_retval))
58622 return 0;
58623 return (a_in_other_thread == a_in_main_thread);
58625 return 0;
58627 _ACEOF
58628 if ac_fn_c_try_run "$LINENO"; then :
58629 gcc_cv_have_tls=yes
58630 else
58631 gcc_cv_have_tls=no
58633 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58634 conftest.$ac_objext conftest.beam conftest.$ac_ext
58637 CFLAGS="$chktls_save_CFLAGS"
58640 else
58641 gcc_cv_have_tls=no
58643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58644 conftest.$ac_objext conftest.beam conftest.$ac_ext
58648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58649 $as_echo "$gcc_cv_have_tls" >&6; }
58650 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58652 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58660 am_save_CPPFLAGS="$CPPFLAGS"
58662 for element in $INCICONV; do
58663 haveit=
58664 for x in $CPPFLAGS; do
58666 acl_save_prefix="$prefix"
58667 prefix="$acl_final_prefix"
58668 acl_save_exec_prefix="$exec_prefix"
58669 exec_prefix="$acl_final_exec_prefix"
58670 eval x=\"$x\"
58671 exec_prefix="$acl_save_exec_prefix"
58672 prefix="$acl_save_prefix"
58674 if test "X$x" = "X$element"; then
58675 haveit=yes
58676 break
58678 done
58679 if test -z "$haveit"; then
58680 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58682 done
58685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58686 $as_echo_n "checking for iconv... " >&6; }
58687 if test "${am_cv_func_iconv+set}" = set; then :
58688 $as_echo_n "(cached) " >&6
58689 else
58691 am_cv_func_iconv="no, consider installing GNU libiconv"
58692 am_cv_lib_iconv=no
58693 if test x$gcc_no_link = xyes; then
58694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58697 /* end confdefs.h. */
58698 #include <stdlib.h>
58699 #include <iconv.h>
58701 main ()
58703 iconv_t cd = iconv_open("","");
58704 iconv(cd,NULL,NULL,NULL,NULL);
58705 iconv_close(cd);
58707 return 0;
58709 _ACEOF
58710 if ac_fn_c_try_link "$LINENO"; then :
58711 am_cv_func_iconv=yes
58713 rm -f core conftest.err conftest.$ac_objext \
58714 conftest$ac_exeext conftest.$ac_ext
58715 if test "$am_cv_func_iconv" != yes; then
58716 am_save_LIBS="$LIBS"
58717 LIBS="$LIBS $LIBICONV"
58718 if test x$gcc_no_link = xyes; then
58719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58722 /* end confdefs.h. */
58723 #include <stdlib.h>
58724 #include <iconv.h>
58726 main ()
58728 iconv_t cd = iconv_open("","");
58729 iconv(cd,NULL,NULL,NULL,NULL);
58730 iconv_close(cd);
58732 return 0;
58734 _ACEOF
58735 if ac_fn_c_try_link "$LINENO"; then :
58736 am_cv_lib_iconv=yes
58737 am_cv_func_iconv=yes
58739 rm -f core conftest.err conftest.$ac_objext \
58740 conftest$ac_exeext conftest.$ac_ext
58741 LIBS="$am_save_LIBS"
58745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58746 $as_echo "$am_cv_func_iconv" >&6; }
58747 if test "$am_cv_func_iconv" = yes; then
58749 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58752 if test "$am_cv_lib_iconv" = yes; then
58753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58754 $as_echo_n "checking how to link with libiconv... " >&6; }
58755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58756 $as_echo "$LIBICONV" >&6; }
58757 else
58758 CPPFLAGS="$am_save_CPPFLAGS"
58759 LIBICONV=
58760 LTLIBICONV=
58765 if test "$am_cv_func_iconv" = yes; then
58766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58767 $as_echo_n "checking for iconv declaration... " >&6; }
58768 if test "${am_cv_proto_iconv+set}" = set; then :
58769 $as_echo_n "(cached) " >&6
58770 else
58772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58773 /* end confdefs.h. */
58775 #include <stdlib.h>
58776 #include <iconv.h>
58777 extern
58778 #ifdef __cplusplus
58780 #endif
58781 #if defined(__STDC__) || defined(__cplusplus)
58782 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58783 #else
58784 size_t iconv();
58785 #endif
58788 main ()
58792 return 0;
58794 _ACEOF
58795 if ac_fn_c_try_compile "$LINENO"; then :
58796 am_cv_proto_iconv_arg1=""
58797 else
58798 am_cv_proto_iconv_arg1="const"
58800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58801 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);"
58804 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58806 }$am_cv_proto_iconv" >&5
58807 $as_echo "${ac_t:-
58808 }$am_cv_proto_iconv" >&6; }
58810 cat >>confdefs.h <<_ACEOF
58811 #define ICONV_CONST $am_cv_proto_iconv_arg1
58812 _ACEOF
58817 *-mingw32*)
58819 # If we're not using GNU ld, then there's no point in even trying these
58820 # tests. Check for that first. We should have already tested for gld
58821 # by now (in libtool), but require it now just to be safe...
58822 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58823 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58827 # The name set by libtool depends on the version of libtool. Shame on us
58828 # for depending on an impl detail, but c'est la vie. Older versions used
58829 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58830 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58831 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58832 # set (hence we're using an older libtool), then set it.
58833 if test x${with_gnu_ld+set} != xset; then
58834 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58835 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58836 with_gnu_ld=no
58837 else
58838 with_gnu_ld=$ac_cv_prog_gnu_ld
58842 # Start by getting the version number. I think the libtool test already
58843 # does some of this, but throws away the result.
58844 glibcxx_ld_is_gold=no
58845 if test x"$with_gnu_ld" = x"yes"; then
58846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58847 $as_echo_n "checking for ld version... " >&6; }
58849 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58850 glibcxx_ld_is_gold=yes
58852 ldver=`$LD --version 2>/dev/null |
58853 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'`
58855 glibcxx_gnu_ld_version=`echo $ldver | \
58856 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58858 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58861 # Set --gc-sections.
58862 glibcxx_have_gc_sections=no
58863 if test "$glibcxx_ld_is_gold" = "yes"; then
58864 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58865 glibcxx_have_gc_sections=yes
58867 else
58868 glibcxx_gcsections_min_ld=21602
58869 if test x"$with_gnu_ld" = x"yes" &&
58870 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58871 glibcxx_have_gc_sections=yes
58874 if test "$glibcxx_have_gc_sections" = "yes"; then
58875 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58876 # NB: This flag only works reliably after 2.16.1. Configure tests
58877 # for this are difficult, so hard wire a value that should work.
58879 ac_test_CFLAGS="${CFLAGS+set}"
58880 ac_save_CFLAGS="$CFLAGS"
58881 CFLAGS='-Wl,--gc-sections'
58883 # Check for -Wl,--gc-sections
58884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58885 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58886 if test x$gcc_no_link = xyes; then
58887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58890 /* end confdefs.h. */
58891 int one(void) { return 1; }
58892 int two(void) { return 2; }
58895 main ()
58897 two();
58899 return 0;
58901 _ACEOF
58902 if ac_fn_c_try_link "$LINENO"; then :
58903 ac_gcsections=yes
58904 else
58905 ac_gcsections=no
58907 rm -f core conftest.err conftest.$ac_objext \
58908 conftest$ac_exeext conftest.$ac_ext
58909 if test "$ac_gcsections" = "yes"; then
58910 rm -f conftest.c
58911 touch conftest.c
58912 if $CC -c conftest.c; then
58913 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58914 grep "Warning: gc-sections option ignored" > /dev/null; then
58915 ac_gcsections=no
58918 rm -f conftest.c conftest.o conftest
58920 if test "$ac_gcsections" = "yes"; then
58921 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58924 $as_echo "$ac_gcsections" >&6; }
58926 if test "$ac_test_CFLAGS" = set; then
58927 CFLAGS="$ac_save_CFLAGS"
58928 else
58929 # this is the suspicious part
58930 CFLAGS=''
58934 # Set -z,relro.
58935 # Note this is only for shared objects.
58936 ac_ld_relro=no
58937 if test x"$with_gnu_ld" = x"yes"; then
58938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58939 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58940 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58941 if test -n "$cxx_z_relo"; then
58942 OPT_LDFLAGS="-Wl,-z,relro"
58943 ac_ld_relro=yes
58945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58946 $as_echo "$ac_ld_relro" >&6; }
58949 # Set linker optimization flags.
58950 if test x"$with_gnu_ld" = x"yes"; then
58951 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58958 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58959 ac_save_CXXFLAGS="$CXXFLAGS"
58960 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58963 $as_echo_n "checking for sin in -lm... " >&6; }
58964 if test "${ac_cv_lib_m_sin+set}" = set; then :
58965 $as_echo_n "(cached) " >&6
58966 else
58967 ac_check_lib_save_LIBS=$LIBS
58968 LIBS="-lm $LIBS"
58969 if test x$gcc_no_link = xyes; then
58970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58973 /* end confdefs.h. */
58975 /* Override any GCC internal prototype to avoid an error.
58976 Use char because int might match the return type of a GCC
58977 builtin and then its argument prototype would still apply. */
58978 #ifdef __cplusplus
58979 extern "C"
58980 #endif
58981 char sin ();
58983 main ()
58985 return sin ();
58987 return 0;
58989 _ACEOF
58990 if ac_fn_c_try_link "$LINENO"; then :
58991 ac_cv_lib_m_sin=yes
58992 else
58993 ac_cv_lib_m_sin=no
58995 rm -f core conftest.err conftest.$ac_objext \
58996 conftest$ac_exeext conftest.$ac_ext
58997 LIBS=$ac_check_lib_save_LIBS
58999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59000 $as_echo "$ac_cv_lib_m_sin" >&6; }
59001 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59002 libm="-lm"
59005 ac_save_LIBS="$LIBS"
59006 LIBS="$LIBS $libm"
59010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59011 $as_echo_n "checking for isinf declaration... " >&6; }
59012 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59013 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59014 $as_echo_n "(cached) " >&6
59015 else
59018 ac_ext=cpp
59019 ac_cpp='$CXXCPP $CPPFLAGS'
59020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59025 /* end confdefs.h. */
59026 #include <math.h>
59027 #ifdef HAVE_IEEEFP_H
59028 #include <ieeefp.h>
59029 #endif
59032 main ()
59034 isinf(0);
59036 return 0;
59038 _ACEOF
59039 if ac_fn_cxx_try_compile "$LINENO"; then :
59040 glibcxx_cv_func_isinf_use=yes
59041 else
59042 glibcxx_cv_func_isinf_use=no
59044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59045 ac_ext=c
59046 ac_cpp='$CPP $CPPFLAGS'
59047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59056 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59058 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59059 for ac_func in isinf
59060 do :
59061 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59062 if test "x$ac_cv_func_isinf" = x""yes; then :
59063 cat >>confdefs.h <<_ACEOF
59064 #define HAVE_ISINF 1
59065 _ACEOF
59068 done
59070 else
59072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59073 $as_echo_n "checking for _isinf declaration... " >&6; }
59074 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59075 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59076 $as_echo_n "(cached) " >&6
59077 else
59080 ac_ext=cpp
59081 ac_cpp='$CXXCPP $CPPFLAGS'
59082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59087 /* end confdefs.h. */
59088 #include <math.h>
59089 #ifdef HAVE_IEEEFP_H
59090 #include <ieeefp.h>
59091 #endif
59094 main ()
59096 _isinf(0);
59098 return 0;
59100 _ACEOF
59101 if ac_fn_cxx_try_compile "$LINENO"; then :
59102 glibcxx_cv_func__isinf_use=yes
59103 else
59104 glibcxx_cv_func__isinf_use=no
59106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59107 ac_ext=c
59108 ac_cpp='$CPP $CPPFLAGS'
59109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59118 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59120 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59121 for ac_func in _isinf
59122 do :
59123 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59124 if test "x$ac_cv_func__isinf" = x""yes; then :
59125 cat >>confdefs.h <<_ACEOF
59126 #define HAVE__ISINF 1
59127 _ACEOF
59130 done
59139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59140 $as_echo_n "checking for isnan declaration... " >&6; }
59141 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59142 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59143 $as_echo_n "(cached) " >&6
59144 else
59147 ac_ext=cpp
59148 ac_cpp='$CXXCPP $CPPFLAGS'
59149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59154 /* end confdefs.h. */
59155 #include <math.h>
59156 #ifdef HAVE_IEEEFP_H
59157 #include <ieeefp.h>
59158 #endif
59161 main ()
59163 isnan(0);
59165 return 0;
59167 _ACEOF
59168 if ac_fn_cxx_try_compile "$LINENO"; then :
59169 glibcxx_cv_func_isnan_use=yes
59170 else
59171 glibcxx_cv_func_isnan_use=no
59173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59174 ac_ext=c
59175 ac_cpp='$CPP $CPPFLAGS'
59176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59185 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59187 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59188 for ac_func in isnan
59189 do :
59190 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59191 if test "x$ac_cv_func_isnan" = x""yes; then :
59192 cat >>confdefs.h <<_ACEOF
59193 #define HAVE_ISNAN 1
59194 _ACEOF
59197 done
59199 else
59201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59202 $as_echo_n "checking for _isnan declaration... " >&6; }
59203 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59204 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59205 $as_echo_n "(cached) " >&6
59206 else
59209 ac_ext=cpp
59210 ac_cpp='$CXXCPP $CPPFLAGS'
59211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59216 /* end confdefs.h. */
59217 #include <math.h>
59218 #ifdef HAVE_IEEEFP_H
59219 #include <ieeefp.h>
59220 #endif
59223 main ()
59225 _isnan(0);
59227 return 0;
59229 _ACEOF
59230 if ac_fn_cxx_try_compile "$LINENO"; then :
59231 glibcxx_cv_func__isnan_use=yes
59232 else
59233 glibcxx_cv_func__isnan_use=no
59235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59236 ac_ext=c
59237 ac_cpp='$CPP $CPPFLAGS'
59238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59247 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59249 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59250 for ac_func in _isnan
59251 do :
59252 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59253 if test "x$ac_cv_func__isnan" = x""yes; then :
59254 cat >>confdefs.h <<_ACEOF
59255 #define HAVE__ISNAN 1
59256 _ACEOF
59259 done
59268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59269 $as_echo_n "checking for finite declaration... " >&6; }
59270 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59271 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59272 $as_echo_n "(cached) " >&6
59273 else
59276 ac_ext=cpp
59277 ac_cpp='$CXXCPP $CPPFLAGS'
59278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59283 /* end confdefs.h. */
59284 #include <math.h>
59285 #ifdef HAVE_IEEEFP_H
59286 #include <ieeefp.h>
59287 #endif
59290 main ()
59292 finite(0);
59294 return 0;
59296 _ACEOF
59297 if ac_fn_cxx_try_compile "$LINENO"; then :
59298 glibcxx_cv_func_finite_use=yes
59299 else
59300 glibcxx_cv_func_finite_use=no
59302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59303 ac_ext=c
59304 ac_cpp='$CPP $CPPFLAGS'
59305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59314 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59316 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59317 for ac_func in finite
59318 do :
59319 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59320 if test "x$ac_cv_func_finite" = x""yes; then :
59321 cat >>confdefs.h <<_ACEOF
59322 #define HAVE_FINITE 1
59323 _ACEOF
59326 done
59328 else
59330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59331 $as_echo_n "checking for _finite declaration... " >&6; }
59332 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59333 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59334 $as_echo_n "(cached) " >&6
59335 else
59338 ac_ext=cpp
59339 ac_cpp='$CXXCPP $CPPFLAGS'
59340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59345 /* end confdefs.h. */
59346 #include <math.h>
59347 #ifdef HAVE_IEEEFP_H
59348 #include <ieeefp.h>
59349 #endif
59352 main ()
59354 _finite(0);
59356 return 0;
59358 _ACEOF
59359 if ac_fn_cxx_try_compile "$LINENO"; then :
59360 glibcxx_cv_func__finite_use=yes
59361 else
59362 glibcxx_cv_func__finite_use=no
59364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59365 ac_ext=c
59366 ac_cpp='$CPP $CPPFLAGS'
59367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59376 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59378 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59379 for ac_func in _finite
59380 do :
59381 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59382 if test "x$ac_cv_func__finite" = x""yes; then :
59383 cat >>confdefs.h <<_ACEOF
59384 #define HAVE__FINITE 1
59385 _ACEOF
59388 done
59397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59398 $as_echo_n "checking for sincos declaration... " >&6; }
59399 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59400 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59401 $as_echo_n "(cached) " >&6
59402 else
59405 ac_ext=cpp
59406 ac_cpp='$CXXCPP $CPPFLAGS'
59407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59412 /* end confdefs.h. */
59413 #include <math.h>
59415 main ()
59417 sincos(0, 0, 0);
59419 return 0;
59421 _ACEOF
59422 if ac_fn_cxx_try_compile "$LINENO"; then :
59423 glibcxx_cv_func_sincos_use=yes
59424 else
59425 glibcxx_cv_func_sincos_use=no
59427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59428 ac_ext=c
59429 ac_cpp='$CPP $CPPFLAGS'
59430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59439 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59441 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59442 for ac_func in sincos
59443 do :
59444 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59445 if test "x$ac_cv_func_sincos" = x""yes; then :
59446 cat >>confdefs.h <<_ACEOF
59447 #define HAVE_SINCOS 1
59448 _ACEOF
59451 done
59453 else
59455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59456 $as_echo_n "checking for _sincos declaration... " >&6; }
59457 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59458 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59459 $as_echo_n "(cached) " >&6
59460 else
59463 ac_ext=cpp
59464 ac_cpp='$CXXCPP $CPPFLAGS'
59465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59470 /* end confdefs.h. */
59471 #include <math.h>
59473 main ()
59475 _sincos(0, 0, 0);
59477 return 0;
59479 _ACEOF
59480 if ac_fn_cxx_try_compile "$LINENO"; then :
59481 glibcxx_cv_func__sincos_use=yes
59482 else
59483 glibcxx_cv_func__sincos_use=no
59485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59486 ac_ext=c
59487 ac_cpp='$CPP $CPPFLAGS'
59488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59497 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59499 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59500 for ac_func in _sincos
59501 do :
59502 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59503 if test "x$ac_cv_func__sincos" = x""yes; then :
59504 cat >>confdefs.h <<_ACEOF
59505 #define HAVE__SINCOS 1
59506 _ACEOF
59509 done
59518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59519 $as_echo_n "checking for fpclass declaration... " >&6; }
59520 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59521 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59522 $as_echo_n "(cached) " >&6
59523 else
59526 ac_ext=cpp
59527 ac_cpp='$CXXCPP $CPPFLAGS'
59528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59533 /* end confdefs.h. */
59534 #include <math.h>
59535 #ifdef HAVE_IEEEFP_H
59536 #include <ieeefp.h>
59537 #endif
59540 main ()
59542 fpclass(0);
59544 return 0;
59546 _ACEOF
59547 if ac_fn_cxx_try_compile "$LINENO"; then :
59548 glibcxx_cv_func_fpclass_use=yes
59549 else
59550 glibcxx_cv_func_fpclass_use=no
59552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59553 ac_ext=c
59554 ac_cpp='$CPP $CPPFLAGS'
59555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59564 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59566 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59567 for ac_func in fpclass
59568 do :
59569 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59570 if test "x$ac_cv_func_fpclass" = x""yes; then :
59571 cat >>confdefs.h <<_ACEOF
59572 #define HAVE_FPCLASS 1
59573 _ACEOF
59576 done
59578 else
59580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59581 $as_echo_n "checking for _fpclass declaration... " >&6; }
59582 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59583 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59584 $as_echo_n "(cached) " >&6
59585 else
59588 ac_ext=cpp
59589 ac_cpp='$CXXCPP $CPPFLAGS'
59590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59595 /* end confdefs.h. */
59596 #include <math.h>
59597 #ifdef HAVE_IEEEFP_H
59598 #include <ieeefp.h>
59599 #endif
59602 main ()
59604 _fpclass(0);
59606 return 0;
59608 _ACEOF
59609 if ac_fn_cxx_try_compile "$LINENO"; then :
59610 glibcxx_cv_func__fpclass_use=yes
59611 else
59612 glibcxx_cv_func__fpclass_use=no
59614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59615 ac_ext=c
59616 ac_cpp='$CPP $CPPFLAGS'
59617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59626 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59628 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59629 for ac_func in _fpclass
59630 do :
59631 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59632 if test "x$ac_cv_func__fpclass" = x""yes; then :
59633 cat >>confdefs.h <<_ACEOF
59634 #define HAVE__FPCLASS 1
59635 _ACEOF
59638 done
59647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59648 $as_echo_n "checking for qfpclass declaration... " >&6; }
59649 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59650 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59651 $as_echo_n "(cached) " >&6
59652 else
59655 ac_ext=cpp
59656 ac_cpp='$CXXCPP $CPPFLAGS'
59657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59662 /* end confdefs.h. */
59663 #include <math.h>
59664 #ifdef HAVE_IEEEFP_H
59665 #include <ieeefp.h>
59666 #endif
59669 main ()
59671 qfpclass(0);
59673 return 0;
59675 _ACEOF
59676 if ac_fn_cxx_try_compile "$LINENO"; then :
59677 glibcxx_cv_func_qfpclass_use=yes
59678 else
59679 glibcxx_cv_func_qfpclass_use=no
59681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59682 ac_ext=c
59683 ac_cpp='$CPP $CPPFLAGS'
59684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59693 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59695 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59696 for ac_func in qfpclass
59697 do :
59698 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59699 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59700 cat >>confdefs.h <<_ACEOF
59701 #define HAVE_QFPCLASS 1
59702 _ACEOF
59705 done
59707 else
59709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59710 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59711 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59712 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59713 $as_echo_n "(cached) " >&6
59714 else
59717 ac_ext=cpp
59718 ac_cpp='$CXXCPP $CPPFLAGS'
59719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59724 /* end confdefs.h. */
59725 #include <math.h>
59726 #ifdef HAVE_IEEEFP_H
59727 #include <ieeefp.h>
59728 #endif
59731 main ()
59733 _qfpclass(0);
59735 return 0;
59737 _ACEOF
59738 if ac_fn_cxx_try_compile "$LINENO"; then :
59739 glibcxx_cv_func__qfpclass_use=yes
59740 else
59741 glibcxx_cv_func__qfpclass_use=no
59743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59744 ac_ext=c
59745 ac_cpp='$CPP $CPPFLAGS'
59746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59755 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59757 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59758 for ac_func in _qfpclass
59759 do :
59760 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59761 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59762 cat >>confdefs.h <<_ACEOF
59763 #define HAVE__QFPCLASS 1
59764 _ACEOF
59767 done
59776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59777 $as_echo_n "checking for hypot declaration... " >&6; }
59778 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59779 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59780 $as_echo_n "(cached) " >&6
59781 else
59784 ac_ext=cpp
59785 ac_cpp='$CXXCPP $CPPFLAGS'
59786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59791 /* end confdefs.h. */
59792 #include <math.h>
59794 main ()
59796 hypot(0, 0);
59798 return 0;
59800 _ACEOF
59801 if ac_fn_cxx_try_compile "$LINENO"; then :
59802 glibcxx_cv_func_hypot_use=yes
59803 else
59804 glibcxx_cv_func_hypot_use=no
59806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59807 ac_ext=c
59808 ac_cpp='$CPP $CPPFLAGS'
59809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59818 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59820 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59821 for ac_func in hypot
59822 do :
59823 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59824 if test "x$ac_cv_func_hypot" = x""yes; then :
59825 cat >>confdefs.h <<_ACEOF
59826 #define HAVE_HYPOT 1
59827 _ACEOF
59830 done
59832 else
59834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59835 $as_echo_n "checking for _hypot declaration... " >&6; }
59836 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59837 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59838 $as_echo_n "(cached) " >&6
59839 else
59842 ac_ext=cpp
59843 ac_cpp='$CXXCPP $CPPFLAGS'
59844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59849 /* end confdefs.h. */
59850 #include <math.h>
59852 main ()
59854 _hypot(0, 0);
59856 return 0;
59858 _ACEOF
59859 if ac_fn_cxx_try_compile "$LINENO"; then :
59860 glibcxx_cv_func__hypot_use=yes
59861 else
59862 glibcxx_cv_func__hypot_use=no
59864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59865 ac_ext=c
59866 ac_cpp='$CPP $CPPFLAGS'
59867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59876 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59878 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59879 for ac_func in _hypot
59880 do :
59881 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59882 if test "x$ac_cv_func__hypot" = x""yes; then :
59883 cat >>confdefs.h <<_ACEOF
59884 #define HAVE__HYPOT 1
59885 _ACEOF
59888 done
59897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59898 $as_echo_n "checking for float trig functions... " >&6; }
59899 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59900 $as_echo_n "(cached) " >&6
59901 else
59904 ac_ext=cpp
59905 ac_cpp='$CXXCPP $CPPFLAGS'
59906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59911 /* end confdefs.h. */
59912 #include <math.h>
59914 main ()
59916 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59918 return 0;
59920 _ACEOF
59921 if ac_fn_cxx_try_compile "$LINENO"; then :
59922 glibcxx_cv_func_float_trig_use=yes
59923 else
59924 glibcxx_cv_func_float_trig_use=no
59926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59927 ac_ext=c
59928 ac_cpp='$CPP $CPPFLAGS'
59929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59936 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59937 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59938 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59939 do :
59940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59942 eval as_val=\$$as_ac_var
59943 if test "x$as_val" = x""yes; then :
59944 cat >>confdefs.h <<_ACEOF
59945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59946 _ACEOF
59949 done
59951 else
59952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59953 $as_echo_n "checking for _float trig functions... " >&6; }
59954 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59955 $as_echo_n "(cached) " >&6
59956 else
59959 ac_ext=cpp
59960 ac_cpp='$CXXCPP $CPPFLAGS'
59961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59966 /* end confdefs.h. */
59967 #include <math.h>
59969 main ()
59971 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59973 return 0;
59975 _ACEOF
59976 if ac_fn_cxx_try_compile "$LINENO"; then :
59977 glibcxx_cv_func__float_trig_use=yes
59978 else
59979 glibcxx_cv_func__float_trig_use=no
59981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59982 ac_ext=c
59983 ac_cpp='$CPP $CPPFLAGS'
59984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59991 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59992 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59993 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59994 do :
59995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59997 eval as_val=\$$as_ac_var
59998 if test "x$as_val" = x""yes; then :
59999 cat >>confdefs.h <<_ACEOF
60000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60001 _ACEOF
60004 done
60013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60014 $as_echo_n "checking for float round functions... " >&6; }
60015 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60016 $as_echo_n "(cached) " >&6
60017 else
60020 ac_ext=cpp
60021 ac_cpp='$CXXCPP $CPPFLAGS'
60022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60027 /* end confdefs.h. */
60028 #include <math.h>
60030 main ()
60032 ceilf (0); floorf (0);
60034 return 0;
60036 _ACEOF
60037 if ac_fn_cxx_try_compile "$LINENO"; then :
60038 glibcxx_cv_func_float_round_use=yes
60039 else
60040 glibcxx_cv_func_float_round_use=no
60042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60043 ac_ext=c
60044 ac_cpp='$CPP $CPPFLAGS'
60045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60052 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60053 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60054 for ac_func in ceilf floorf
60055 do :
60056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60058 eval as_val=\$$as_ac_var
60059 if test "x$as_val" = x""yes; then :
60060 cat >>confdefs.h <<_ACEOF
60061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60062 _ACEOF
60065 done
60067 else
60068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60069 $as_echo_n "checking for _float round functions... " >&6; }
60070 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60071 $as_echo_n "(cached) " >&6
60072 else
60075 ac_ext=cpp
60076 ac_cpp='$CXXCPP $CPPFLAGS'
60077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60082 /* end confdefs.h. */
60083 #include <math.h>
60085 main ()
60087 _ceilf (0); _floorf (0);
60089 return 0;
60091 _ACEOF
60092 if ac_fn_cxx_try_compile "$LINENO"; then :
60093 glibcxx_cv_func__float_round_use=yes
60094 else
60095 glibcxx_cv_func__float_round_use=no
60097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60098 ac_ext=c
60099 ac_cpp='$CPP $CPPFLAGS'
60100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60107 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60108 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60109 for ac_func in _ceilf _floorf
60110 do :
60111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60113 eval as_val=\$$as_ac_var
60114 if test "x$as_val" = x""yes; then :
60115 cat >>confdefs.h <<_ACEOF
60116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60117 _ACEOF
60120 done
60130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60131 $as_echo_n "checking for expf declaration... " >&6; }
60132 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60133 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60134 $as_echo_n "(cached) " >&6
60135 else
60138 ac_ext=cpp
60139 ac_cpp='$CXXCPP $CPPFLAGS'
60140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60145 /* end confdefs.h. */
60146 #include <math.h>
60147 #ifdef HAVE_IEEEFP_H
60148 #include <ieeefp.h>
60149 #endif
60152 main ()
60154 expf(0);
60156 return 0;
60158 _ACEOF
60159 if ac_fn_cxx_try_compile "$LINENO"; then :
60160 glibcxx_cv_func_expf_use=yes
60161 else
60162 glibcxx_cv_func_expf_use=no
60164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60165 ac_ext=c
60166 ac_cpp='$CPP $CPPFLAGS'
60167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60176 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60178 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60179 for ac_func in expf
60180 do :
60181 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60182 if test "x$ac_cv_func_expf" = x""yes; then :
60183 cat >>confdefs.h <<_ACEOF
60184 #define HAVE_EXPF 1
60185 _ACEOF
60188 done
60190 else
60192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60193 $as_echo_n "checking for _expf declaration... " >&6; }
60194 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60195 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60196 $as_echo_n "(cached) " >&6
60197 else
60200 ac_ext=cpp
60201 ac_cpp='$CXXCPP $CPPFLAGS'
60202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60207 /* end confdefs.h. */
60208 #include <math.h>
60209 #ifdef HAVE_IEEEFP_H
60210 #include <ieeefp.h>
60211 #endif
60214 main ()
60216 _expf(0);
60218 return 0;
60220 _ACEOF
60221 if ac_fn_cxx_try_compile "$LINENO"; then :
60222 glibcxx_cv_func__expf_use=yes
60223 else
60224 glibcxx_cv_func__expf_use=no
60226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60227 ac_ext=c
60228 ac_cpp='$CPP $CPPFLAGS'
60229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60238 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60240 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60241 for ac_func in _expf
60242 do :
60243 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60244 if test "x$ac_cv_func__expf" = x""yes; then :
60245 cat >>confdefs.h <<_ACEOF
60246 #define HAVE__EXPF 1
60247 _ACEOF
60250 done
60259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60260 $as_echo_n "checking for isnanf declaration... " >&6; }
60261 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60262 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60263 $as_echo_n "(cached) " >&6
60264 else
60267 ac_ext=cpp
60268 ac_cpp='$CXXCPP $CPPFLAGS'
60269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60274 /* end confdefs.h. */
60275 #include <math.h>
60276 #ifdef HAVE_IEEEFP_H
60277 #include <ieeefp.h>
60278 #endif
60281 main ()
60283 isnanf(0);
60285 return 0;
60287 _ACEOF
60288 if ac_fn_cxx_try_compile "$LINENO"; then :
60289 glibcxx_cv_func_isnanf_use=yes
60290 else
60291 glibcxx_cv_func_isnanf_use=no
60293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60294 ac_ext=c
60295 ac_cpp='$CPP $CPPFLAGS'
60296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60305 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60307 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60308 for ac_func in isnanf
60309 do :
60310 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60311 if test "x$ac_cv_func_isnanf" = x""yes; then :
60312 cat >>confdefs.h <<_ACEOF
60313 #define HAVE_ISNANF 1
60314 _ACEOF
60317 done
60319 else
60321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60322 $as_echo_n "checking for _isnanf declaration... " >&6; }
60323 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60324 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60325 $as_echo_n "(cached) " >&6
60326 else
60329 ac_ext=cpp
60330 ac_cpp='$CXXCPP $CPPFLAGS'
60331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60336 /* end confdefs.h. */
60337 #include <math.h>
60338 #ifdef HAVE_IEEEFP_H
60339 #include <ieeefp.h>
60340 #endif
60343 main ()
60345 _isnanf(0);
60347 return 0;
60349 _ACEOF
60350 if ac_fn_cxx_try_compile "$LINENO"; then :
60351 glibcxx_cv_func__isnanf_use=yes
60352 else
60353 glibcxx_cv_func__isnanf_use=no
60355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60356 ac_ext=c
60357 ac_cpp='$CPP $CPPFLAGS'
60358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60367 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60369 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60370 for ac_func in _isnanf
60371 do :
60372 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60373 if test "x$ac_cv_func__isnanf" = x""yes; then :
60374 cat >>confdefs.h <<_ACEOF
60375 #define HAVE__ISNANF 1
60376 _ACEOF
60379 done
60388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60389 $as_echo_n "checking for isinff declaration... " >&6; }
60390 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60391 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60392 $as_echo_n "(cached) " >&6
60393 else
60396 ac_ext=cpp
60397 ac_cpp='$CXXCPP $CPPFLAGS'
60398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60403 /* end confdefs.h. */
60404 #include <math.h>
60405 #ifdef HAVE_IEEEFP_H
60406 #include <ieeefp.h>
60407 #endif
60410 main ()
60412 isinff(0);
60414 return 0;
60416 _ACEOF
60417 if ac_fn_cxx_try_compile "$LINENO"; then :
60418 glibcxx_cv_func_isinff_use=yes
60419 else
60420 glibcxx_cv_func_isinff_use=no
60422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60423 ac_ext=c
60424 ac_cpp='$CPP $CPPFLAGS'
60425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60434 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60436 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60437 for ac_func in isinff
60438 do :
60439 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60440 if test "x$ac_cv_func_isinff" = x""yes; then :
60441 cat >>confdefs.h <<_ACEOF
60442 #define HAVE_ISINFF 1
60443 _ACEOF
60446 done
60448 else
60450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60451 $as_echo_n "checking for _isinff declaration... " >&6; }
60452 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60453 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60454 $as_echo_n "(cached) " >&6
60455 else
60458 ac_ext=cpp
60459 ac_cpp='$CXXCPP $CPPFLAGS'
60460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60465 /* end confdefs.h. */
60466 #include <math.h>
60467 #ifdef HAVE_IEEEFP_H
60468 #include <ieeefp.h>
60469 #endif
60472 main ()
60474 _isinff(0);
60476 return 0;
60478 _ACEOF
60479 if ac_fn_cxx_try_compile "$LINENO"; then :
60480 glibcxx_cv_func__isinff_use=yes
60481 else
60482 glibcxx_cv_func__isinff_use=no
60484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60485 ac_ext=c
60486 ac_cpp='$CPP $CPPFLAGS'
60487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60496 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60498 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60499 for ac_func in _isinff
60500 do :
60501 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60502 if test "x$ac_cv_func__isinff" = x""yes; then :
60503 cat >>confdefs.h <<_ACEOF
60504 #define HAVE__ISINFF 1
60505 _ACEOF
60508 done
60517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60518 $as_echo_n "checking for atan2f declaration... " >&6; }
60519 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60520 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60521 $as_echo_n "(cached) " >&6
60522 else
60525 ac_ext=cpp
60526 ac_cpp='$CXXCPP $CPPFLAGS'
60527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60532 /* end confdefs.h. */
60533 #include <math.h>
60535 main ()
60537 atan2f(0, 0);
60539 return 0;
60541 _ACEOF
60542 if ac_fn_cxx_try_compile "$LINENO"; then :
60543 glibcxx_cv_func_atan2f_use=yes
60544 else
60545 glibcxx_cv_func_atan2f_use=no
60547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60548 ac_ext=c
60549 ac_cpp='$CPP $CPPFLAGS'
60550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60559 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60561 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60562 for ac_func in atan2f
60563 do :
60564 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60565 if test "x$ac_cv_func_atan2f" = x""yes; then :
60566 cat >>confdefs.h <<_ACEOF
60567 #define HAVE_ATAN2F 1
60568 _ACEOF
60571 done
60573 else
60575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60576 $as_echo_n "checking for _atan2f declaration... " >&6; }
60577 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60578 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60579 $as_echo_n "(cached) " >&6
60580 else
60583 ac_ext=cpp
60584 ac_cpp='$CXXCPP $CPPFLAGS'
60585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60590 /* end confdefs.h. */
60591 #include <math.h>
60593 main ()
60595 _atan2f(0, 0);
60597 return 0;
60599 _ACEOF
60600 if ac_fn_cxx_try_compile "$LINENO"; then :
60601 glibcxx_cv_func__atan2f_use=yes
60602 else
60603 glibcxx_cv_func__atan2f_use=no
60605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60606 ac_ext=c
60607 ac_cpp='$CPP $CPPFLAGS'
60608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60617 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60619 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60620 for ac_func in _atan2f
60621 do :
60622 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60623 if test "x$ac_cv_func__atan2f" = x""yes; then :
60624 cat >>confdefs.h <<_ACEOF
60625 #define HAVE__ATAN2F 1
60626 _ACEOF
60629 done
60638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60639 $as_echo_n "checking for fabsf declaration... " >&6; }
60640 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60641 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60642 $as_echo_n "(cached) " >&6
60643 else
60646 ac_ext=cpp
60647 ac_cpp='$CXXCPP $CPPFLAGS'
60648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60653 /* end confdefs.h. */
60654 #include <math.h>
60655 #ifdef HAVE_IEEEFP_H
60656 #include <ieeefp.h>
60657 #endif
60660 main ()
60662 fabsf(0);
60664 return 0;
60666 _ACEOF
60667 if ac_fn_cxx_try_compile "$LINENO"; then :
60668 glibcxx_cv_func_fabsf_use=yes
60669 else
60670 glibcxx_cv_func_fabsf_use=no
60672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60673 ac_ext=c
60674 ac_cpp='$CPP $CPPFLAGS'
60675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60684 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60686 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60687 for ac_func in fabsf
60688 do :
60689 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60690 if test "x$ac_cv_func_fabsf" = x""yes; then :
60691 cat >>confdefs.h <<_ACEOF
60692 #define HAVE_FABSF 1
60693 _ACEOF
60696 done
60698 else
60700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60701 $as_echo_n "checking for _fabsf declaration... " >&6; }
60702 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60703 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60704 $as_echo_n "(cached) " >&6
60705 else
60708 ac_ext=cpp
60709 ac_cpp='$CXXCPP $CPPFLAGS'
60710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60715 /* end confdefs.h. */
60716 #include <math.h>
60717 #ifdef HAVE_IEEEFP_H
60718 #include <ieeefp.h>
60719 #endif
60722 main ()
60724 _fabsf(0);
60726 return 0;
60728 _ACEOF
60729 if ac_fn_cxx_try_compile "$LINENO"; then :
60730 glibcxx_cv_func__fabsf_use=yes
60731 else
60732 glibcxx_cv_func__fabsf_use=no
60734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60735 ac_ext=c
60736 ac_cpp='$CPP $CPPFLAGS'
60737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60746 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60748 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60749 for ac_func in _fabsf
60750 do :
60751 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60752 if test "x$ac_cv_func__fabsf" = x""yes; then :
60753 cat >>confdefs.h <<_ACEOF
60754 #define HAVE__FABSF 1
60755 _ACEOF
60758 done
60767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60768 $as_echo_n "checking for fmodf declaration... " >&6; }
60769 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60770 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60771 $as_echo_n "(cached) " >&6
60772 else
60775 ac_ext=cpp
60776 ac_cpp='$CXXCPP $CPPFLAGS'
60777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60782 /* end confdefs.h. */
60783 #include <math.h>
60785 main ()
60787 fmodf(0, 0);
60789 return 0;
60791 _ACEOF
60792 if ac_fn_cxx_try_compile "$LINENO"; then :
60793 glibcxx_cv_func_fmodf_use=yes
60794 else
60795 glibcxx_cv_func_fmodf_use=no
60797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60798 ac_ext=c
60799 ac_cpp='$CPP $CPPFLAGS'
60800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60809 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60811 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60812 for ac_func in fmodf
60813 do :
60814 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60815 if test "x$ac_cv_func_fmodf" = x""yes; then :
60816 cat >>confdefs.h <<_ACEOF
60817 #define HAVE_FMODF 1
60818 _ACEOF
60821 done
60823 else
60825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60826 $as_echo_n "checking for _fmodf declaration... " >&6; }
60827 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60828 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60829 $as_echo_n "(cached) " >&6
60830 else
60833 ac_ext=cpp
60834 ac_cpp='$CXXCPP $CPPFLAGS'
60835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60840 /* end confdefs.h. */
60841 #include <math.h>
60843 main ()
60845 _fmodf(0, 0);
60847 return 0;
60849 _ACEOF
60850 if ac_fn_cxx_try_compile "$LINENO"; then :
60851 glibcxx_cv_func__fmodf_use=yes
60852 else
60853 glibcxx_cv_func__fmodf_use=no
60855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60856 ac_ext=c
60857 ac_cpp='$CPP $CPPFLAGS'
60858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60867 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60869 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60870 for ac_func in _fmodf
60871 do :
60872 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60873 if test "x$ac_cv_func__fmodf" = x""yes; then :
60874 cat >>confdefs.h <<_ACEOF
60875 #define HAVE__FMODF 1
60876 _ACEOF
60879 done
60888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60889 $as_echo_n "checking for frexpf declaration... " >&6; }
60890 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60891 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60892 $as_echo_n "(cached) " >&6
60893 else
60896 ac_ext=cpp
60897 ac_cpp='$CXXCPP $CPPFLAGS'
60898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60903 /* end confdefs.h. */
60904 #include <math.h>
60906 main ()
60908 frexpf(0, 0);
60910 return 0;
60912 _ACEOF
60913 if ac_fn_cxx_try_compile "$LINENO"; then :
60914 glibcxx_cv_func_frexpf_use=yes
60915 else
60916 glibcxx_cv_func_frexpf_use=no
60918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60919 ac_ext=c
60920 ac_cpp='$CPP $CPPFLAGS'
60921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60930 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60932 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60933 for ac_func in frexpf
60934 do :
60935 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60936 if test "x$ac_cv_func_frexpf" = x""yes; then :
60937 cat >>confdefs.h <<_ACEOF
60938 #define HAVE_FREXPF 1
60939 _ACEOF
60942 done
60944 else
60946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60947 $as_echo_n "checking for _frexpf declaration... " >&6; }
60948 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60949 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60950 $as_echo_n "(cached) " >&6
60951 else
60954 ac_ext=cpp
60955 ac_cpp='$CXXCPP $CPPFLAGS'
60956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60961 /* end confdefs.h. */
60962 #include <math.h>
60964 main ()
60966 _frexpf(0, 0);
60968 return 0;
60970 _ACEOF
60971 if ac_fn_cxx_try_compile "$LINENO"; then :
60972 glibcxx_cv_func__frexpf_use=yes
60973 else
60974 glibcxx_cv_func__frexpf_use=no
60976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60977 ac_ext=c
60978 ac_cpp='$CPP $CPPFLAGS'
60979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60988 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60990 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60991 for ac_func in _frexpf
60992 do :
60993 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60994 if test "x$ac_cv_func__frexpf" = x""yes; then :
60995 cat >>confdefs.h <<_ACEOF
60996 #define HAVE__FREXPF 1
60997 _ACEOF
61000 done
61009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61010 $as_echo_n "checking for hypotf declaration... " >&6; }
61011 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61012 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61013 $as_echo_n "(cached) " >&6
61014 else
61017 ac_ext=cpp
61018 ac_cpp='$CXXCPP $CPPFLAGS'
61019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61024 /* end confdefs.h. */
61025 #include <math.h>
61027 main ()
61029 hypotf(0, 0);
61031 return 0;
61033 _ACEOF
61034 if ac_fn_cxx_try_compile "$LINENO"; then :
61035 glibcxx_cv_func_hypotf_use=yes
61036 else
61037 glibcxx_cv_func_hypotf_use=no
61039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61040 ac_ext=c
61041 ac_cpp='$CPP $CPPFLAGS'
61042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61051 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61053 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61054 for ac_func in hypotf
61055 do :
61056 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61057 if test "x$ac_cv_func_hypotf" = x""yes; then :
61058 cat >>confdefs.h <<_ACEOF
61059 #define HAVE_HYPOTF 1
61060 _ACEOF
61063 done
61065 else
61067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61068 $as_echo_n "checking for _hypotf declaration... " >&6; }
61069 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61070 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61071 $as_echo_n "(cached) " >&6
61072 else
61075 ac_ext=cpp
61076 ac_cpp='$CXXCPP $CPPFLAGS'
61077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61082 /* end confdefs.h. */
61083 #include <math.h>
61085 main ()
61087 _hypotf(0, 0);
61089 return 0;
61091 _ACEOF
61092 if ac_fn_cxx_try_compile "$LINENO"; then :
61093 glibcxx_cv_func__hypotf_use=yes
61094 else
61095 glibcxx_cv_func__hypotf_use=no
61097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61098 ac_ext=c
61099 ac_cpp='$CPP $CPPFLAGS'
61100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61109 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61111 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61112 for ac_func in _hypotf
61113 do :
61114 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61115 if test "x$ac_cv_func__hypotf" = x""yes; then :
61116 cat >>confdefs.h <<_ACEOF
61117 #define HAVE__HYPOTF 1
61118 _ACEOF
61121 done
61130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61131 $as_echo_n "checking for ldexpf declaration... " >&6; }
61132 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61133 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61134 $as_echo_n "(cached) " >&6
61135 else
61138 ac_ext=cpp
61139 ac_cpp='$CXXCPP $CPPFLAGS'
61140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61145 /* end confdefs.h. */
61146 #include <math.h>
61148 main ()
61150 ldexpf(0, 0);
61152 return 0;
61154 _ACEOF
61155 if ac_fn_cxx_try_compile "$LINENO"; then :
61156 glibcxx_cv_func_ldexpf_use=yes
61157 else
61158 glibcxx_cv_func_ldexpf_use=no
61160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61161 ac_ext=c
61162 ac_cpp='$CPP $CPPFLAGS'
61163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61172 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61174 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61175 for ac_func in ldexpf
61176 do :
61177 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61178 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61179 cat >>confdefs.h <<_ACEOF
61180 #define HAVE_LDEXPF 1
61181 _ACEOF
61184 done
61186 else
61188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61189 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61190 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61191 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61192 $as_echo_n "(cached) " >&6
61193 else
61196 ac_ext=cpp
61197 ac_cpp='$CXXCPP $CPPFLAGS'
61198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61203 /* end confdefs.h. */
61204 #include <math.h>
61206 main ()
61208 _ldexpf(0, 0);
61210 return 0;
61212 _ACEOF
61213 if ac_fn_cxx_try_compile "$LINENO"; then :
61214 glibcxx_cv_func__ldexpf_use=yes
61215 else
61216 glibcxx_cv_func__ldexpf_use=no
61218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61219 ac_ext=c
61220 ac_cpp='$CPP $CPPFLAGS'
61221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61230 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61232 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61233 for ac_func in _ldexpf
61234 do :
61235 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61236 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61237 cat >>confdefs.h <<_ACEOF
61238 #define HAVE__LDEXPF 1
61239 _ACEOF
61242 done
61251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61252 $as_echo_n "checking for logf declaration... " >&6; }
61253 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61254 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61255 $as_echo_n "(cached) " >&6
61256 else
61259 ac_ext=cpp
61260 ac_cpp='$CXXCPP $CPPFLAGS'
61261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61266 /* end confdefs.h. */
61267 #include <math.h>
61268 #ifdef HAVE_IEEEFP_H
61269 #include <ieeefp.h>
61270 #endif
61273 main ()
61275 logf(0);
61277 return 0;
61279 _ACEOF
61280 if ac_fn_cxx_try_compile "$LINENO"; then :
61281 glibcxx_cv_func_logf_use=yes
61282 else
61283 glibcxx_cv_func_logf_use=no
61285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61286 ac_ext=c
61287 ac_cpp='$CPP $CPPFLAGS'
61288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61297 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61299 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61300 for ac_func in logf
61301 do :
61302 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61303 if test "x$ac_cv_func_logf" = x""yes; then :
61304 cat >>confdefs.h <<_ACEOF
61305 #define HAVE_LOGF 1
61306 _ACEOF
61309 done
61311 else
61313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61314 $as_echo_n "checking for _logf declaration... " >&6; }
61315 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61316 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61317 $as_echo_n "(cached) " >&6
61318 else
61321 ac_ext=cpp
61322 ac_cpp='$CXXCPP $CPPFLAGS'
61323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61328 /* end confdefs.h. */
61329 #include <math.h>
61330 #ifdef HAVE_IEEEFP_H
61331 #include <ieeefp.h>
61332 #endif
61335 main ()
61337 _logf(0);
61339 return 0;
61341 _ACEOF
61342 if ac_fn_cxx_try_compile "$LINENO"; then :
61343 glibcxx_cv_func__logf_use=yes
61344 else
61345 glibcxx_cv_func__logf_use=no
61347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61348 ac_ext=c
61349 ac_cpp='$CPP $CPPFLAGS'
61350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61359 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61361 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61362 for ac_func in _logf
61363 do :
61364 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61365 if test "x$ac_cv_func__logf" = x""yes; then :
61366 cat >>confdefs.h <<_ACEOF
61367 #define HAVE__LOGF 1
61368 _ACEOF
61371 done
61380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61381 $as_echo_n "checking for log10f declaration... " >&6; }
61382 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61383 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61384 $as_echo_n "(cached) " >&6
61385 else
61388 ac_ext=cpp
61389 ac_cpp='$CXXCPP $CPPFLAGS'
61390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61395 /* end confdefs.h. */
61396 #include <math.h>
61397 #ifdef HAVE_IEEEFP_H
61398 #include <ieeefp.h>
61399 #endif
61402 main ()
61404 log10f(0);
61406 return 0;
61408 _ACEOF
61409 if ac_fn_cxx_try_compile "$LINENO"; then :
61410 glibcxx_cv_func_log10f_use=yes
61411 else
61412 glibcxx_cv_func_log10f_use=no
61414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61415 ac_ext=c
61416 ac_cpp='$CPP $CPPFLAGS'
61417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61426 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61428 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61429 for ac_func in log10f
61430 do :
61431 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61432 if test "x$ac_cv_func_log10f" = x""yes; then :
61433 cat >>confdefs.h <<_ACEOF
61434 #define HAVE_LOG10F 1
61435 _ACEOF
61438 done
61440 else
61442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61443 $as_echo_n "checking for _log10f declaration... " >&6; }
61444 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61445 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61446 $as_echo_n "(cached) " >&6
61447 else
61450 ac_ext=cpp
61451 ac_cpp='$CXXCPP $CPPFLAGS'
61452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61457 /* end confdefs.h. */
61458 #include <math.h>
61459 #ifdef HAVE_IEEEFP_H
61460 #include <ieeefp.h>
61461 #endif
61464 main ()
61466 _log10f(0);
61468 return 0;
61470 _ACEOF
61471 if ac_fn_cxx_try_compile "$LINENO"; then :
61472 glibcxx_cv_func__log10f_use=yes
61473 else
61474 glibcxx_cv_func__log10f_use=no
61476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61477 ac_ext=c
61478 ac_cpp='$CPP $CPPFLAGS'
61479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61488 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61490 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61491 for ac_func in _log10f
61492 do :
61493 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61494 if test "x$ac_cv_func__log10f" = x""yes; then :
61495 cat >>confdefs.h <<_ACEOF
61496 #define HAVE__LOG10F 1
61497 _ACEOF
61500 done
61509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61510 $as_echo_n "checking for modff declaration... " >&6; }
61511 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61512 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61513 $as_echo_n "(cached) " >&6
61514 else
61517 ac_ext=cpp
61518 ac_cpp='$CXXCPP $CPPFLAGS'
61519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61524 /* end confdefs.h. */
61525 #include <math.h>
61527 main ()
61529 modff(0, 0);
61531 return 0;
61533 _ACEOF
61534 if ac_fn_cxx_try_compile "$LINENO"; then :
61535 glibcxx_cv_func_modff_use=yes
61536 else
61537 glibcxx_cv_func_modff_use=no
61539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61540 ac_ext=c
61541 ac_cpp='$CPP $CPPFLAGS'
61542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61551 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61553 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61554 for ac_func in modff
61555 do :
61556 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61557 if test "x$ac_cv_func_modff" = x""yes; then :
61558 cat >>confdefs.h <<_ACEOF
61559 #define HAVE_MODFF 1
61560 _ACEOF
61563 done
61565 else
61567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61568 $as_echo_n "checking for _modff declaration... " >&6; }
61569 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61570 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61571 $as_echo_n "(cached) " >&6
61572 else
61575 ac_ext=cpp
61576 ac_cpp='$CXXCPP $CPPFLAGS'
61577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61582 /* end confdefs.h. */
61583 #include <math.h>
61585 main ()
61587 _modff(0, 0);
61589 return 0;
61591 _ACEOF
61592 if ac_fn_cxx_try_compile "$LINENO"; then :
61593 glibcxx_cv_func__modff_use=yes
61594 else
61595 glibcxx_cv_func__modff_use=no
61597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61598 ac_ext=c
61599 ac_cpp='$CPP $CPPFLAGS'
61600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61609 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61611 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61612 for ac_func in _modff
61613 do :
61614 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61615 if test "x$ac_cv_func__modff" = x""yes; then :
61616 cat >>confdefs.h <<_ACEOF
61617 #define HAVE__MODFF 1
61618 _ACEOF
61621 done
61630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61631 $as_echo_n "checking for modf declaration... " >&6; }
61632 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61633 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61634 $as_echo_n "(cached) " >&6
61635 else
61638 ac_ext=cpp
61639 ac_cpp='$CXXCPP $CPPFLAGS'
61640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61645 /* end confdefs.h. */
61646 #include <math.h>
61648 main ()
61650 modf(0, 0);
61652 return 0;
61654 _ACEOF
61655 if ac_fn_cxx_try_compile "$LINENO"; then :
61656 glibcxx_cv_func_modf_use=yes
61657 else
61658 glibcxx_cv_func_modf_use=no
61660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61661 ac_ext=c
61662 ac_cpp='$CPP $CPPFLAGS'
61663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61672 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61674 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61675 for ac_func in modf
61676 do :
61677 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61678 if test "x$ac_cv_func_modf" = x""yes; then :
61679 cat >>confdefs.h <<_ACEOF
61680 #define HAVE_MODF 1
61681 _ACEOF
61684 done
61686 else
61688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61689 $as_echo_n "checking for _modf declaration... " >&6; }
61690 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61691 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61692 $as_echo_n "(cached) " >&6
61693 else
61696 ac_ext=cpp
61697 ac_cpp='$CXXCPP $CPPFLAGS'
61698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61703 /* end confdefs.h. */
61704 #include <math.h>
61706 main ()
61708 _modf(0, 0);
61710 return 0;
61712 _ACEOF
61713 if ac_fn_cxx_try_compile "$LINENO"; then :
61714 glibcxx_cv_func__modf_use=yes
61715 else
61716 glibcxx_cv_func__modf_use=no
61718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61719 ac_ext=c
61720 ac_cpp='$CPP $CPPFLAGS'
61721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61730 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61732 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61733 for ac_func in _modf
61734 do :
61735 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61736 if test "x$ac_cv_func__modf" = x""yes; then :
61737 cat >>confdefs.h <<_ACEOF
61738 #define HAVE__MODF 1
61739 _ACEOF
61742 done
61751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61752 $as_echo_n "checking for powf declaration... " >&6; }
61753 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61754 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61755 $as_echo_n "(cached) " >&6
61756 else
61759 ac_ext=cpp
61760 ac_cpp='$CXXCPP $CPPFLAGS'
61761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61766 /* end confdefs.h. */
61767 #include <math.h>
61769 main ()
61771 powf(0, 0);
61773 return 0;
61775 _ACEOF
61776 if ac_fn_cxx_try_compile "$LINENO"; then :
61777 glibcxx_cv_func_powf_use=yes
61778 else
61779 glibcxx_cv_func_powf_use=no
61781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61782 ac_ext=c
61783 ac_cpp='$CPP $CPPFLAGS'
61784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61793 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61795 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61796 for ac_func in powf
61797 do :
61798 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61799 if test "x$ac_cv_func_powf" = x""yes; then :
61800 cat >>confdefs.h <<_ACEOF
61801 #define HAVE_POWF 1
61802 _ACEOF
61805 done
61807 else
61809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61810 $as_echo_n "checking for _powf declaration... " >&6; }
61811 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61812 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61813 $as_echo_n "(cached) " >&6
61814 else
61817 ac_ext=cpp
61818 ac_cpp='$CXXCPP $CPPFLAGS'
61819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61824 /* end confdefs.h. */
61825 #include <math.h>
61827 main ()
61829 _powf(0, 0);
61831 return 0;
61833 _ACEOF
61834 if ac_fn_cxx_try_compile "$LINENO"; then :
61835 glibcxx_cv_func__powf_use=yes
61836 else
61837 glibcxx_cv_func__powf_use=no
61839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61840 ac_ext=c
61841 ac_cpp='$CPP $CPPFLAGS'
61842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61851 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61853 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61854 for ac_func in _powf
61855 do :
61856 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61857 if test "x$ac_cv_func__powf" = x""yes; then :
61858 cat >>confdefs.h <<_ACEOF
61859 #define HAVE__POWF 1
61860 _ACEOF
61863 done
61872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61873 $as_echo_n "checking for sqrtf declaration... " >&6; }
61874 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61875 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61876 $as_echo_n "(cached) " >&6
61877 else
61880 ac_ext=cpp
61881 ac_cpp='$CXXCPP $CPPFLAGS'
61882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61887 /* end confdefs.h. */
61888 #include <math.h>
61889 #ifdef HAVE_IEEEFP_H
61890 #include <ieeefp.h>
61891 #endif
61894 main ()
61896 sqrtf(0);
61898 return 0;
61900 _ACEOF
61901 if ac_fn_cxx_try_compile "$LINENO"; then :
61902 glibcxx_cv_func_sqrtf_use=yes
61903 else
61904 glibcxx_cv_func_sqrtf_use=no
61906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61907 ac_ext=c
61908 ac_cpp='$CPP $CPPFLAGS'
61909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61918 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61920 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61921 for ac_func in sqrtf
61922 do :
61923 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61924 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61925 cat >>confdefs.h <<_ACEOF
61926 #define HAVE_SQRTF 1
61927 _ACEOF
61930 done
61932 else
61934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61935 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61936 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61937 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61938 $as_echo_n "(cached) " >&6
61939 else
61942 ac_ext=cpp
61943 ac_cpp='$CXXCPP $CPPFLAGS'
61944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61949 /* end confdefs.h. */
61950 #include <math.h>
61951 #ifdef HAVE_IEEEFP_H
61952 #include <ieeefp.h>
61953 #endif
61956 main ()
61958 _sqrtf(0);
61960 return 0;
61962 _ACEOF
61963 if ac_fn_cxx_try_compile "$LINENO"; then :
61964 glibcxx_cv_func__sqrtf_use=yes
61965 else
61966 glibcxx_cv_func__sqrtf_use=no
61968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61969 ac_ext=c
61970 ac_cpp='$CPP $CPPFLAGS'
61971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61980 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61982 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61983 for ac_func in _sqrtf
61984 do :
61985 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61986 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61987 cat >>confdefs.h <<_ACEOF
61988 #define HAVE__SQRTF 1
61989 _ACEOF
61992 done
62001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62002 $as_echo_n "checking for sincosf declaration... " >&6; }
62003 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62004 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62005 $as_echo_n "(cached) " >&6
62006 else
62009 ac_ext=cpp
62010 ac_cpp='$CXXCPP $CPPFLAGS'
62011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62016 /* end confdefs.h. */
62017 #include <math.h>
62019 main ()
62021 sincosf(0, 0, 0);
62023 return 0;
62025 _ACEOF
62026 if ac_fn_cxx_try_compile "$LINENO"; then :
62027 glibcxx_cv_func_sincosf_use=yes
62028 else
62029 glibcxx_cv_func_sincosf_use=no
62031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62032 ac_ext=c
62033 ac_cpp='$CPP $CPPFLAGS'
62034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62043 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62045 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62046 for ac_func in sincosf
62047 do :
62048 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62049 if test "x$ac_cv_func_sincosf" = x""yes; then :
62050 cat >>confdefs.h <<_ACEOF
62051 #define HAVE_SINCOSF 1
62052 _ACEOF
62055 done
62057 else
62059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62060 $as_echo_n "checking for _sincosf declaration... " >&6; }
62061 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62062 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62063 $as_echo_n "(cached) " >&6
62064 else
62067 ac_ext=cpp
62068 ac_cpp='$CXXCPP $CPPFLAGS'
62069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62074 /* end confdefs.h. */
62075 #include <math.h>
62077 main ()
62079 _sincosf(0, 0, 0);
62081 return 0;
62083 _ACEOF
62084 if ac_fn_cxx_try_compile "$LINENO"; then :
62085 glibcxx_cv_func__sincosf_use=yes
62086 else
62087 glibcxx_cv_func__sincosf_use=no
62089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62090 ac_ext=c
62091 ac_cpp='$CPP $CPPFLAGS'
62092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62101 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62103 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62104 for ac_func in _sincosf
62105 do :
62106 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62107 if test "x$ac_cv_func__sincosf" = x""yes; then :
62108 cat >>confdefs.h <<_ACEOF
62109 #define HAVE__SINCOSF 1
62110 _ACEOF
62113 done
62122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62123 $as_echo_n "checking for finitef declaration... " >&6; }
62124 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62125 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62126 $as_echo_n "(cached) " >&6
62127 else
62130 ac_ext=cpp
62131 ac_cpp='$CXXCPP $CPPFLAGS'
62132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62137 /* end confdefs.h. */
62138 #include <math.h>
62139 #ifdef HAVE_IEEEFP_H
62140 #include <ieeefp.h>
62141 #endif
62144 main ()
62146 finitef(0);
62148 return 0;
62150 _ACEOF
62151 if ac_fn_cxx_try_compile "$LINENO"; then :
62152 glibcxx_cv_func_finitef_use=yes
62153 else
62154 glibcxx_cv_func_finitef_use=no
62156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62157 ac_ext=c
62158 ac_cpp='$CPP $CPPFLAGS'
62159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62168 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62170 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62171 for ac_func in finitef
62172 do :
62173 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62174 if test "x$ac_cv_func_finitef" = x""yes; then :
62175 cat >>confdefs.h <<_ACEOF
62176 #define HAVE_FINITEF 1
62177 _ACEOF
62180 done
62182 else
62184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62185 $as_echo_n "checking for _finitef declaration... " >&6; }
62186 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62187 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62188 $as_echo_n "(cached) " >&6
62189 else
62192 ac_ext=cpp
62193 ac_cpp='$CXXCPP $CPPFLAGS'
62194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62199 /* end confdefs.h. */
62200 #include <math.h>
62201 #ifdef HAVE_IEEEFP_H
62202 #include <ieeefp.h>
62203 #endif
62206 main ()
62208 _finitef(0);
62210 return 0;
62212 _ACEOF
62213 if ac_fn_cxx_try_compile "$LINENO"; then :
62214 glibcxx_cv_func__finitef_use=yes
62215 else
62216 glibcxx_cv_func__finitef_use=no
62218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62219 ac_ext=c
62220 ac_cpp='$CPP $CPPFLAGS'
62221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62230 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62232 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62233 for ac_func in _finitef
62234 do :
62235 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62236 if test "x$ac_cv_func__finitef" = x""yes; then :
62237 cat >>confdefs.h <<_ACEOF
62238 #define HAVE__FINITEF 1
62239 _ACEOF
62242 done
62251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62252 $as_echo_n "checking for long double trig functions... " >&6; }
62253 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62254 $as_echo_n "(cached) " >&6
62255 else
62258 ac_ext=cpp
62259 ac_cpp='$CXXCPP $CPPFLAGS'
62260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62265 /* end confdefs.h. */
62266 #include <math.h>
62268 main ()
62270 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62272 return 0;
62274 _ACEOF
62275 if ac_fn_cxx_try_compile "$LINENO"; then :
62276 glibcxx_cv_func_long_double_trig_use=yes
62277 else
62278 glibcxx_cv_func_long_double_trig_use=no
62280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62281 ac_ext=c
62282 ac_cpp='$CPP $CPPFLAGS'
62283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62290 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62291 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62292 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62293 do :
62294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62296 eval as_val=\$$as_ac_var
62297 if test "x$as_val" = x""yes; then :
62298 cat >>confdefs.h <<_ACEOF
62299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62300 _ACEOF
62303 done
62305 else
62306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62307 $as_echo_n "checking for _long double trig functions... " >&6; }
62308 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62309 $as_echo_n "(cached) " >&6
62310 else
62313 ac_ext=cpp
62314 ac_cpp='$CXXCPP $CPPFLAGS'
62315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62320 /* end confdefs.h. */
62321 #include <math.h>
62323 main ()
62325 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62327 return 0;
62329 _ACEOF
62330 if ac_fn_cxx_try_compile "$LINENO"; then :
62331 glibcxx_cv_func__long_double_trig_use=yes
62332 else
62333 glibcxx_cv_func__long_double_trig_use=no
62335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62336 ac_ext=c
62337 ac_cpp='$CPP $CPPFLAGS'
62338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62345 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62346 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62347 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62348 do :
62349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62351 eval as_val=\$$as_ac_var
62352 if test "x$as_val" = x""yes; then :
62353 cat >>confdefs.h <<_ACEOF
62354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62355 _ACEOF
62358 done
62367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62368 $as_echo_n "checking for long double round functions... " >&6; }
62369 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62370 $as_echo_n "(cached) " >&6
62371 else
62374 ac_ext=cpp
62375 ac_cpp='$CXXCPP $CPPFLAGS'
62376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62381 /* end confdefs.h. */
62382 #include <math.h>
62384 main ()
62386 ceill (0); floorl (0);
62388 return 0;
62390 _ACEOF
62391 if ac_fn_cxx_try_compile "$LINENO"; then :
62392 glibcxx_cv_func_long_double_round_use=yes
62393 else
62394 glibcxx_cv_func_long_double_round_use=no
62396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62397 ac_ext=c
62398 ac_cpp='$CPP $CPPFLAGS'
62399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62406 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62407 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62408 for ac_func in ceill floorl
62409 do :
62410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62412 eval as_val=\$$as_ac_var
62413 if test "x$as_val" = x""yes; then :
62414 cat >>confdefs.h <<_ACEOF
62415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62416 _ACEOF
62419 done
62421 else
62422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62423 $as_echo_n "checking for _long double round functions... " >&6; }
62424 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62425 $as_echo_n "(cached) " >&6
62426 else
62429 ac_ext=cpp
62430 ac_cpp='$CXXCPP $CPPFLAGS'
62431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62436 /* end confdefs.h. */
62437 #include <math.h>
62439 main ()
62441 _ceill (0); _floorl (0);
62443 return 0;
62445 _ACEOF
62446 if ac_fn_cxx_try_compile "$LINENO"; then :
62447 glibcxx_cv_func__long_double_round_use=yes
62448 else
62449 glibcxx_cv_func__long_double_round_use=no
62451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62452 ac_ext=c
62453 ac_cpp='$CPP $CPPFLAGS'
62454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62461 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62462 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62463 for ac_func in _ceill _floorl
62464 do :
62465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62466 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62467 eval as_val=\$$as_ac_var
62468 if test "x$as_val" = x""yes; then :
62469 cat >>confdefs.h <<_ACEOF
62470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62471 _ACEOF
62474 done
62484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62485 $as_echo_n "checking for isnanl declaration... " >&6; }
62486 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62487 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62488 $as_echo_n "(cached) " >&6
62489 else
62492 ac_ext=cpp
62493 ac_cpp='$CXXCPP $CPPFLAGS'
62494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62499 /* end confdefs.h. */
62500 #include <math.h>
62501 #ifdef HAVE_IEEEFP_H
62502 #include <ieeefp.h>
62503 #endif
62506 main ()
62508 isnanl(0);
62510 return 0;
62512 _ACEOF
62513 if ac_fn_cxx_try_compile "$LINENO"; then :
62514 glibcxx_cv_func_isnanl_use=yes
62515 else
62516 glibcxx_cv_func_isnanl_use=no
62518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62519 ac_ext=c
62520 ac_cpp='$CPP $CPPFLAGS'
62521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62530 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62532 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62533 for ac_func in isnanl
62534 do :
62535 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62536 if test "x$ac_cv_func_isnanl" = x""yes; then :
62537 cat >>confdefs.h <<_ACEOF
62538 #define HAVE_ISNANL 1
62539 _ACEOF
62542 done
62544 else
62546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62547 $as_echo_n "checking for _isnanl declaration... " >&6; }
62548 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62549 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62550 $as_echo_n "(cached) " >&6
62551 else
62554 ac_ext=cpp
62555 ac_cpp='$CXXCPP $CPPFLAGS'
62556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62561 /* end confdefs.h. */
62562 #include <math.h>
62563 #ifdef HAVE_IEEEFP_H
62564 #include <ieeefp.h>
62565 #endif
62568 main ()
62570 _isnanl(0);
62572 return 0;
62574 _ACEOF
62575 if ac_fn_cxx_try_compile "$LINENO"; then :
62576 glibcxx_cv_func__isnanl_use=yes
62577 else
62578 glibcxx_cv_func__isnanl_use=no
62580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62581 ac_ext=c
62582 ac_cpp='$CPP $CPPFLAGS'
62583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62592 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62594 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62595 for ac_func in _isnanl
62596 do :
62597 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62598 if test "x$ac_cv_func__isnanl" = x""yes; then :
62599 cat >>confdefs.h <<_ACEOF
62600 #define HAVE__ISNANL 1
62601 _ACEOF
62604 done
62613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62614 $as_echo_n "checking for isinfl declaration... " >&6; }
62615 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62616 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62617 $as_echo_n "(cached) " >&6
62618 else
62621 ac_ext=cpp
62622 ac_cpp='$CXXCPP $CPPFLAGS'
62623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62628 /* end confdefs.h. */
62629 #include <math.h>
62630 #ifdef HAVE_IEEEFP_H
62631 #include <ieeefp.h>
62632 #endif
62635 main ()
62637 isinfl(0);
62639 return 0;
62641 _ACEOF
62642 if ac_fn_cxx_try_compile "$LINENO"; then :
62643 glibcxx_cv_func_isinfl_use=yes
62644 else
62645 glibcxx_cv_func_isinfl_use=no
62647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62648 ac_ext=c
62649 ac_cpp='$CPP $CPPFLAGS'
62650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62659 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62661 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62662 for ac_func in isinfl
62663 do :
62664 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62665 if test "x$ac_cv_func_isinfl" = x""yes; then :
62666 cat >>confdefs.h <<_ACEOF
62667 #define HAVE_ISINFL 1
62668 _ACEOF
62671 done
62673 else
62675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62676 $as_echo_n "checking for _isinfl declaration... " >&6; }
62677 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62678 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62679 $as_echo_n "(cached) " >&6
62680 else
62683 ac_ext=cpp
62684 ac_cpp='$CXXCPP $CPPFLAGS'
62685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62690 /* end confdefs.h. */
62691 #include <math.h>
62692 #ifdef HAVE_IEEEFP_H
62693 #include <ieeefp.h>
62694 #endif
62697 main ()
62699 _isinfl(0);
62701 return 0;
62703 _ACEOF
62704 if ac_fn_cxx_try_compile "$LINENO"; then :
62705 glibcxx_cv_func__isinfl_use=yes
62706 else
62707 glibcxx_cv_func__isinfl_use=no
62709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62710 ac_ext=c
62711 ac_cpp='$CPP $CPPFLAGS'
62712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62721 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62723 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62724 for ac_func in _isinfl
62725 do :
62726 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62727 if test "x$ac_cv_func__isinfl" = x""yes; then :
62728 cat >>confdefs.h <<_ACEOF
62729 #define HAVE__ISINFL 1
62730 _ACEOF
62733 done
62742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62743 $as_echo_n "checking for atan2l declaration... " >&6; }
62744 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62745 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62746 $as_echo_n "(cached) " >&6
62747 else
62750 ac_ext=cpp
62751 ac_cpp='$CXXCPP $CPPFLAGS'
62752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62757 /* end confdefs.h. */
62758 #include <math.h>
62760 main ()
62762 atan2l(0, 0);
62764 return 0;
62766 _ACEOF
62767 if ac_fn_cxx_try_compile "$LINENO"; then :
62768 glibcxx_cv_func_atan2l_use=yes
62769 else
62770 glibcxx_cv_func_atan2l_use=no
62772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62773 ac_ext=c
62774 ac_cpp='$CPP $CPPFLAGS'
62775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62784 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62786 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62787 for ac_func in atan2l
62788 do :
62789 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62790 if test "x$ac_cv_func_atan2l" = x""yes; then :
62791 cat >>confdefs.h <<_ACEOF
62792 #define HAVE_ATAN2L 1
62793 _ACEOF
62796 done
62798 else
62800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62801 $as_echo_n "checking for _atan2l declaration... " >&6; }
62802 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62803 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62804 $as_echo_n "(cached) " >&6
62805 else
62808 ac_ext=cpp
62809 ac_cpp='$CXXCPP $CPPFLAGS'
62810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62815 /* end confdefs.h. */
62816 #include <math.h>
62818 main ()
62820 _atan2l(0, 0);
62822 return 0;
62824 _ACEOF
62825 if ac_fn_cxx_try_compile "$LINENO"; then :
62826 glibcxx_cv_func__atan2l_use=yes
62827 else
62828 glibcxx_cv_func__atan2l_use=no
62830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62831 ac_ext=c
62832 ac_cpp='$CPP $CPPFLAGS'
62833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62842 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62844 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62845 for ac_func in _atan2l
62846 do :
62847 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62848 if test "x$ac_cv_func__atan2l" = x""yes; then :
62849 cat >>confdefs.h <<_ACEOF
62850 #define HAVE__ATAN2L 1
62851 _ACEOF
62854 done
62863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62864 $as_echo_n "checking for expl declaration... " >&6; }
62865 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62866 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62867 $as_echo_n "(cached) " >&6
62868 else
62871 ac_ext=cpp
62872 ac_cpp='$CXXCPP $CPPFLAGS'
62873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62878 /* end confdefs.h. */
62879 #include <math.h>
62880 #ifdef HAVE_IEEEFP_H
62881 #include <ieeefp.h>
62882 #endif
62885 main ()
62887 expl(0);
62889 return 0;
62891 _ACEOF
62892 if ac_fn_cxx_try_compile "$LINENO"; then :
62893 glibcxx_cv_func_expl_use=yes
62894 else
62895 glibcxx_cv_func_expl_use=no
62897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62898 ac_ext=c
62899 ac_cpp='$CPP $CPPFLAGS'
62900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62909 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62911 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62912 for ac_func in expl
62913 do :
62914 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62915 if test "x$ac_cv_func_expl" = x""yes; then :
62916 cat >>confdefs.h <<_ACEOF
62917 #define HAVE_EXPL 1
62918 _ACEOF
62921 done
62923 else
62925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62926 $as_echo_n "checking for _expl declaration... " >&6; }
62927 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62928 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62929 $as_echo_n "(cached) " >&6
62930 else
62933 ac_ext=cpp
62934 ac_cpp='$CXXCPP $CPPFLAGS'
62935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62940 /* end confdefs.h. */
62941 #include <math.h>
62942 #ifdef HAVE_IEEEFP_H
62943 #include <ieeefp.h>
62944 #endif
62947 main ()
62949 _expl(0);
62951 return 0;
62953 _ACEOF
62954 if ac_fn_cxx_try_compile "$LINENO"; then :
62955 glibcxx_cv_func__expl_use=yes
62956 else
62957 glibcxx_cv_func__expl_use=no
62959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62960 ac_ext=c
62961 ac_cpp='$CPP $CPPFLAGS'
62962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62971 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62973 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62974 for ac_func in _expl
62975 do :
62976 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62977 if test "x$ac_cv_func__expl" = x""yes; then :
62978 cat >>confdefs.h <<_ACEOF
62979 #define HAVE__EXPL 1
62980 _ACEOF
62983 done
62992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62993 $as_echo_n "checking for fabsl declaration... " >&6; }
62994 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62995 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62996 $as_echo_n "(cached) " >&6
62997 else
63000 ac_ext=cpp
63001 ac_cpp='$CXXCPP $CPPFLAGS'
63002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63007 /* end confdefs.h. */
63008 #include <math.h>
63009 #ifdef HAVE_IEEEFP_H
63010 #include <ieeefp.h>
63011 #endif
63014 main ()
63016 fabsl(0);
63018 return 0;
63020 _ACEOF
63021 if ac_fn_cxx_try_compile "$LINENO"; then :
63022 glibcxx_cv_func_fabsl_use=yes
63023 else
63024 glibcxx_cv_func_fabsl_use=no
63026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63027 ac_ext=c
63028 ac_cpp='$CPP $CPPFLAGS'
63029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63038 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63040 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63041 for ac_func in fabsl
63042 do :
63043 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63044 if test "x$ac_cv_func_fabsl" = x""yes; then :
63045 cat >>confdefs.h <<_ACEOF
63046 #define HAVE_FABSL 1
63047 _ACEOF
63050 done
63052 else
63054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63055 $as_echo_n "checking for _fabsl declaration... " >&6; }
63056 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63057 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63058 $as_echo_n "(cached) " >&6
63059 else
63062 ac_ext=cpp
63063 ac_cpp='$CXXCPP $CPPFLAGS'
63064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63069 /* end confdefs.h. */
63070 #include <math.h>
63071 #ifdef HAVE_IEEEFP_H
63072 #include <ieeefp.h>
63073 #endif
63076 main ()
63078 _fabsl(0);
63080 return 0;
63082 _ACEOF
63083 if ac_fn_cxx_try_compile "$LINENO"; then :
63084 glibcxx_cv_func__fabsl_use=yes
63085 else
63086 glibcxx_cv_func__fabsl_use=no
63088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63089 ac_ext=c
63090 ac_cpp='$CPP $CPPFLAGS'
63091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63100 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63102 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63103 for ac_func in _fabsl
63104 do :
63105 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63106 if test "x$ac_cv_func__fabsl" = x""yes; then :
63107 cat >>confdefs.h <<_ACEOF
63108 #define HAVE__FABSL 1
63109 _ACEOF
63112 done
63121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63122 $as_echo_n "checking for fmodl declaration... " >&6; }
63123 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63124 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63125 $as_echo_n "(cached) " >&6
63126 else
63129 ac_ext=cpp
63130 ac_cpp='$CXXCPP $CPPFLAGS'
63131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63136 /* end confdefs.h. */
63137 #include <math.h>
63139 main ()
63141 fmodl(0, 0);
63143 return 0;
63145 _ACEOF
63146 if ac_fn_cxx_try_compile "$LINENO"; then :
63147 glibcxx_cv_func_fmodl_use=yes
63148 else
63149 glibcxx_cv_func_fmodl_use=no
63151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63152 ac_ext=c
63153 ac_cpp='$CPP $CPPFLAGS'
63154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63163 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63165 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63166 for ac_func in fmodl
63167 do :
63168 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63169 if test "x$ac_cv_func_fmodl" = x""yes; then :
63170 cat >>confdefs.h <<_ACEOF
63171 #define HAVE_FMODL 1
63172 _ACEOF
63175 done
63177 else
63179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63180 $as_echo_n "checking for _fmodl declaration... " >&6; }
63181 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63182 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63183 $as_echo_n "(cached) " >&6
63184 else
63187 ac_ext=cpp
63188 ac_cpp='$CXXCPP $CPPFLAGS'
63189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63194 /* end confdefs.h. */
63195 #include <math.h>
63197 main ()
63199 _fmodl(0, 0);
63201 return 0;
63203 _ACEOF
63204 if ac_fn_cxx_try_compile "$LINENO"; then :
63205 glibcxx_cv_func__fmodl_use=yes
63206 else
63207 glibcxx_cv_func__fmodl_use=no
63209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63210 ac_ext=c
63211 ac_cpp='$CPP $CPPFLAGS'
63212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63221 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63223 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63224 for ac_func in _fmodl
63225 do :
63226 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63227 if test "x$ac_cv_func__fmodl" = x""yes; then :
63228 cat >>confdefs.h <<_ACEOF
63229 #define HAVE__FMODL 1
63230 _ACEOF
63233 done
63242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63243 $as_echo_n "checking for frexpl declaration... " >&6; }
63244 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63245 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63246 $as_echo_n "(cached) " >&6
63247 else
63250 ac_ext=cpp
63251 ac_cpp='$CXXCPP $CPPFLAGS'
63252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63257 /* end confdefs.h. */
63258 #include <math.h>
63260 main ()
63262 frexpl(0, 0);
63264 return 0;
63266 _ACEOF
63267 if ac_fn_cxx_try_compile "$LINENO"; then :
63268 glibcxx_cv_func_frexpl_use=yes
63269 else
63270 glibcxx_cv_func_frexpl_use=no
63272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63273 ac_ext=c
63274 ac_cpp='$CPP $CPPFLAGS'
63275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63284 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63286 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63287 for ac_func in frexpl
63288 do :
63289 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63290 if test "x$ac_cv_func_frexpl" = x""yes; then :
63291 cat >>confdefs.h <<_ACEOF
63292 #define HAVE_FREXPL 1
63293 _ACEOF
63296 done
63298 else
63300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63301 $as_echo_n "checking for _frexpl declaration... " >&6; }
63302 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63303 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63304 $as_echo_n "(cached) " >&6
63305 else
63308 ac_ext=cpp
63309 ac_cpp='$CXXCPP $CPPFLAGS'
63310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63315 /* end confdefs.h. */
63316 #include <math.h>
63318 main ()
63320 _frexpl(0, 0);
63322 return 0;
63324 _ACEOF
63325 if ac_fn_cxx_try_compile "$LINENO"; then :
63326 glibcxx_cv_func__frexpl_use=yes
63327 else
63328 glibcxx_cv_func__frexpl_use=no
63330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63331 ac_ext=c
63332 ac_cpp='$CPP $CPPFLAGS'
63333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63342 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63344 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63345 for ac_func in _frexpl
63346 do :
63347 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63348 if test "x$ac_cv_func__frexpl" = x""yes; then :
63349 cat >>confdefs.h <<_ACEOF
63350 #define HAVE__FREXPL 1
63351 _ACEOF
63354 done
63363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63364 $as_echo_n "checking for hypotl declaration... " >&6; }
63365 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63366 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63367 $as_echo_n "(cached) " >&6
63368 else
63371 ac_ext=cpp
63372 ac_cpp='$CXXCPP $CPPFLAGS'
63373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63378 /* end confdefs.h. */
63379 #include <math.h>
63381 main ()
63383 hypotl(0, 0);
63385 return 0;
63387 _ACEOF
63388 if ac_fn_cxx_try_compile "$LINENO"; then :
63389 glibcxx_cv_func_hypotl_use=yes
63390 else
63391 glibcxx_cv_func_hypotl_use=no
63393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63394 ac_ext=c
63395 ac_cpp='$CPP $CPPFLAGS'
63396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63405 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63407 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63408 for ac_func in hypotl
63409 do :
63410 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63411 if test "x$ac_cv_func_hypotl" = x""yes; then :
63412 cat >>confdefs.h <<_ACEOF
63413 #define HAVE_HYPOTL 1
63414 _ACEOF
63417 done
63419 else
63421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63422 $as_echo_n "checking for _hypotl declaration... " >&6; }
63423 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63424 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63425 $as_echo_n "(cached) " >&6
63426 else
63429 ac_ext=cpp
63430 ac_cpp='$CXXCPP $CPPFLAGS'
63431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63436 /* end confdefs.h. */
63437 #include <math.h>
63439 main ()
63441 _hypotl(0, 0);
63443 return 0;
63445 _ACEOF
63446 if ac_fn_cxx_try_compile "$LINENO"; then :
63447 glibcxx_cv_func__hypotl_use=yes
63448 else
63449 glibcxx_cv_func__hypotl_use=no
63451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63452 ac_ext=c
63453 ac_cpp='$CPP $CPPFLAGS'
63454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63463 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63465 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63466 for ac_func in _hypotl
63467 do :
63468 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63469 if test "x$ac_cv_func__hypotl" = x""yes; then :
63470 cat >>confdefs.h <<_ACEOF
63471 #define HAVE__HYPOTL 1
63472 _ACEOF
63475 done
63484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63485 $as_echo_n "checking for ldexpl declaration... " >&6; }
63486 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63487 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63488 $as_echo_n "(cached) " >&6
63489 else
63492 ac_ext=cpp
63493 ac_cpp='$CXXCPP $CPPFLAGS'
63494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63499 /* end confdefs.h. */
63500 #include <math.h>
63502 main ()
63504 ldexpl(0, 0);
63506 return 0;
63508 _ACEOF
63509 if ac_fn_cxx_try_compile "$LINENO"; then :
63510 glibcxx_cv_func_ldexpl_use=yes
63511 else
63512 glibcxx_cv_func_ldexpl_use=no
63514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63515 ac_ext=c
63516 ac_cpp='$CPP $CPPFLAGS'
63517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63526 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63528 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63529 for ac_func in ldexpl
63530 do :
63531 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63532 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63533 cat >>confdefs.h <<_ACEOF
63534 #define HAVE_LDEXPL 1
63535 _ACEOF
63538 done
63540 else
63542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63543 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63544 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63545 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63546 $as_echo_n "(cached) " >&6
63547 else
63550 ac_ext=cpp
63551 ac_cpp='$CXXCPP $CPPFLAGS'
63552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63557 /* end confdefs.h. */
63558 #include <math.h>
63560 main ()
63562 _ldexpl(0, 0);
63564 return 0;
63566 _ACEOF
63567 if ac_fn_cxx_try_compile "$LINENO"; then :
63568 glibcxx_cv_func__ldexpl_use=yes
63569 else
63570 glibcxx_cv_func__ldexpl_use=no
63572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63573 ac_ext=c
63574 ac_cpp='$CPP $CPPFLAGS'
63575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63584 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63586 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63587 for ac_func in _ldexpl
63588 do :
63589 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63590 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63591 cat >>confdefs.h <<_ACEOF
63592 #define HAVE__LDEXPL 1
63593 _ACEOF
63596 done
63605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63606 $as_echo_n "checking for logl declaration... " >&6; }
63607 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63608 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63609 $as_echo_n "(cached) " >&6
63610 else
63613 ac_ext=cpp
63614 ac_cpp='$CXXCPP $CPPFLAGS'
63615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63620 /* end confdefs.h. */
63621 #include <math.h>
63622 #ifdef HAVE_IEEEFP_H
63623 #include <ieeefp.h>
63624 #endif
63627 main ()
63629 logl(0);
63631 return 0;
63633 _ACEOF
63634 if ac_fn_cxx_try_compile "$LINENO"; then :
63635 glibcxx_cv_func_logl_use=yes
63636 else
63637 glibcxx_cv_func_logl_use=no
63639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63640 ac_ext=c
63641 ac_cpp='$CPP $CPPFLAGS'
63642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63651 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63653 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63654 for ac_func in logl
63655 do :
63656 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63657 if test "x$ac_cv_func_logl" = x""yes; then :
63658 cat >>confdefs.h <<_ACEOF
63659 #define HAVE_LOGL 1
63660 _ACEOF
63663 done
63665 else
63667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63668 $as_echo_n "checking for _logl declaration... " >&6; }
63669 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63670 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63671 $as_echo_n "(cached) " >&6
63672 else
63675 ac_ext=cpp
63676 ac_cpp='$CXXCPP $CPPFLAGS'
63677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63682 /* end confdefs.h. */
63683 #include <math.h>
63684 #ifdef HAVE_IEEEFP_H
63685 #include <ieeefp.h>
63686 #endif
63689 main ()
63691 _logl(0);
63693 return 0;
63695 _ACEOF
63696 if ac_fn_cxx_try_compile "$LINENO"; then :
63697 glibcxx_cv_func__logl_use=yes
63698 else
63699 glibcxx_cv_func__logl_use=no
63701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63702 ac_ext=c
63703 ac_cpp='$CPP $CPPFLAGS'
63704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63713 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63715 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63716 for ac_func in _logl
63717 do :
63718 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63719 if test "x$ac_cv_func__logl" = x""yes; then :
63720 cat >>confdefs.h <<_ACEOF
63721 #define HAVE__LOGL 1
63722 _ACEOF
63725 done
63734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63735 $as_echo_n "checking for log10l declaration... " >&6; }
63736 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63737 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63738 $as_echo_n "(cached) " >&6
63739 else
63742 ac_ext=cpp
63743 ac_cpp='$CXXCPP $CPPFLAGS'
63744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63749 /* end confdefs.h. */
63750 #include <math.h>
63751 #ifdef HAVE_IEEEFP_H
63752 #include <ieeefp.h>
63753 #endif
63756 main ()
63758 log10l(0);
63760 return 0;
63762 _ACEOF
63763 if ac_fn_cxx_try_compile "$LINENO"; then :
63764 glibcxx_cv_func_log10l_use=yes
63765 else
63766 glibcxx_cv_func_log10l_use=no
63768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63769 ac_ext=c
63770 ac_cpp='$CPP $CPPFLAGS'
63771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63780 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63782 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63783 for ac_func in log10l
63784 do :
63785 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63786 if test "x$ac_cv_func_log10l" = x""yes; then :
63787 cat >>confdefs.h <<_ACEOF
63788 #define HAVE_LOG10L 1
63789 _ACEOF
63792 done
63794 else
63796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63797 $as_echo_n "checking for _log10l declaration... " >&6; }
63798 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63799 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63800 $as_echo_n "(cached) " >&6
63801 else
63804 ac_ext=cpp
63805 ac_cpp='$CXXCPP $CPPFLAGS'
63806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63811 /* end confdefs.h. */
63812 #include <math.h>
63813 #ifdef HAVE_IEEEFP_H
63814 #include <ieeefp.h>
63815 #endif
63818 main ()
63820 _log10l(0);
63822 return 0;
63824 _ACEOF
63825 if ac_fn_cxx_try_compile "$LINENO"; then :
63826 glibcxx_cv_func__log10l_use=yes
63827 else
63828 glibcxx_cv_func__log10l_use=no
63830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63831 ac_ext=c
63832 ac_cpp='$CPP $CPPFLAGS'
63833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63842 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63844 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63845 for ac_func in _log10l
63846 do :
63847 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63848 if test "x$ac_cv_func__log10l" = x""yes; then :
63849 cat >>confdefs.h <<_ACEOF
63850 #define HAVE__LOG10L 1
63851 _ACEOF
63854 done
63863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63864 $as_echo_n "checking for modfl declaration... " >&6; }
63865 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63866 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63867 $as_echo_n "(cached) " >&6
63868 else
63871 ac_ext=cpp
63872 ac_cpp='$CXXCPP $CPPFLAGS'
63873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63878 /* end confdefs.h. */
63879 #include <math.h>
63881 main ()
63883 modfl(0, 0);
63885 return 0;
63887 _ACEOF
63888 if ac_fn_cxx_try_compile "$LINENO"; then :
63889 glibcxx_cv_func_modfl_use=yes
63890 else
63891 glibcxx_cv_func_modfl_use=no
63893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63894 ac_ext=c
63895 ac_cpp='$CPP $CPPFLAGS'
63896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63905 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63907 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63908 for ac_func in modfl
63909 do :
63910 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63911 if test "x$ac_cv_func_modfl" = x""yes; then :
63912 cat >>confdefs.h <<_ACEOF
63913 #define HAVE_MODFL 1
63914 _ACEOF
63917 done
63919 else
63921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63922 $as_echo_n "checking for _modfl declaration... " >&6; }
63923 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63924 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63925 $as_echo_n "(cached) " >&6
63926 else
63929 ac_ext=cpp
63930 ac_cpp='$CXXCPP $CPPFLAGS'
63931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63936 /* end confdefs.h. */
63937 #include <math.h>
63939 main ()
63941 _modfl(0, 0);
63943 return 0;
63945 _ACEOF
63946 if ac_fn_cxx_try_compile "$LINENO"; then :
63947 glibcxx_cv_func__modfl_use=yes
63948 else
63949 glibcxx_cv_func__modfl_use=no
63951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63952 ac_ext=c
63953 ac_cpp='$CPP $CPPFLAGS'
63954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63963 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63965 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63966 for ac_func in _modfl
63967 do :
63968 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63969 if test "x$ac_cv_func__modfl" = x""yes; then :
63970 cat >>confdefs.h <<_ACEOF
63971 #define HAVE__MODFL 1
63972 _ACEOF
63975 done
63984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63985 $as_echo_n "checking for powl declaration... " >&6; }
63986 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63987 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63988 $as_echo_n "(cached) " >&6
63989 else
63992 ac_ext=cpp
63993 ac_cpp='$CXXCPP $CPPFLAGS'
63994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63999 /* end confdefs.h. */
64000 #include <math.h>
64002 main ()
64004 powl(0, 0);
64006 return 0;
64008 _ACEOF
64009 if ac_fn_cxx_try_compile "$LINENO"; then :
64010 glibcxx_cv_func_powl_use=yes
64011 else
64012 glibcxx_cv_func_powl_use=no
64014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64015 ac_ext=c
64016 ac_cpp='$CPP $CPPFLAGS'
64017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64026 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64028 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64029 for ac_func in powl
64030 do :
64031 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64032 if test "x$ac_cv_func_powl" = x""yes; then :
64033 cat >>confdefs.h <<_ACEOF
64034 #define HAVE_POWL 1
64035 _ACEOF
64038 done
64040 else
64042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64043 $as_echo_n "checking for _powl declaration... " >&6; }
64044 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64045 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64046 $as_echo_n "(cached) " >&6
64047 else
64050 ac_ext=cpp
64051 ac_cpp='$CXXCPP $CPPFLAGS'
64052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64057 /* end confdefs.h. */
64058 #include <math.h>
64060 main ()
64062 _powl(0, 0);
64064 return 0;
64066 _ACEOF
64067 if ac_fn_cxx_try_compile "$LINENO"; then :
64068 glibcxx_cv_func__powl_use=yes
64069 else
64070 glibcxx_cv_func__powl_use=no
64072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64073 ac_ext=c
64074 ac_cpp='$CPP $CPPFLAGS'
64075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64084 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64086 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64087 for ac_func in _powl
64088 do :
64089 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64090 if test "x$ac_cv_func__powl" = x""yes; then :
64091 cat >>confdefs.h <<_ACEOF
64092 #define HAVE__POWL 1
64093 _ACEOF
64096 done
64105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64106 $as_echo_n "checking for sqrtl declaration... " >&6; }
64107 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64108 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64109 $as_echo_n "(cached) " >&6
64110 else
64113 ac_ext=cpp
64114 ac_cpp='$CXXCPP $CPPFLAGS'
64115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64120 /* end confdefs.h. */
64121 #include <math.h>
64122 #ifdef HAVE_IEEEFP_H
64123 #include <ieeefp.h>
64124 #endif
64127 main ()
64129 sqrtl(0);
64131 return 0;
64133 _ACEOF
64134 if ac_fn_cxx_try_compile "$LINENO"; then :
64135 glibcxx_cv_func_sqrtl_use=yes
64136 else
64137 glibcxx_cv_func_sqrtl_use=no
64139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64140 ac_ext=c
64141 ac_cpp='$CPP $CPPFLAGS'
64142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64151 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64153 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64154 for ac_func in sqrtl
64155 do :
64156 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64157 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64158 cat >>confdefs.h <<_ACEOF
64159 #define HAVE_SQRTL 1
64160 _ACEOF
64163 done
64165 else
64167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64168 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64169 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64170 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64171 $as_echo_n "(cached) " >&6
64172 else
64175 ac_ext=cpp
64176 ac_cpp='$CXXCPP $CPPFLAGS'
64177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64182 /* end confdefs.h. */
64183 #include <math.h>
64184 #ifdef HAVE_IEEEFP_H
64185 #include <ieeefp.h>
64186 #endif
64189 main ()
64191 _sqrtl(0);
64193 return 0;
64195 _ACEOF
64196 if ac_fn_cxx_try_compile "$LINENO"; then :
64197 glibcxx_cv_func__sqrtl_use=yes
64198 else
64199 glibcxx_cv_func__sqrtl_use=no
64201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64202 ac_ext=c
64203 ac_cpp='$CPP $CPPFLAGS'
64204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64213 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64215 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64216 for ac_func in _sqrtl
64217 do :
64218 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64219 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64220 cat >>confdefs.h <<_ACEOF
64221 #define HAVE__SQRTL 1
64222 _ACEOF
64225 done
64234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64235 $as_echo_n "checking for sincosl declaration... " >&6; }
64236 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64237 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64238 $as_echo_n "(cached) " >&6
64239 else
64242 ac_ext=cpp
64243 ac_cpp='$CXXCPP $CPPFLAGS'
64244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64249 /* end confdefs.h. */
64250 #include <math.h>
64252 main ()
64254 sincosl(0, 0, 0);
64256 return 0;
64258 _ACEOF
64259 if ac_fn_cxx_try_compile "$LINENO"; then :
64260 glibcxx_cv_func_sincosl_use=yes
64261 else
64262 glibcxx_cv_func_sincosl_use=no
64264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64265 ac_ext=c
64266 ac_cpp='$CPP $CPPFLAGS'
64267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64276 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64278 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64279 for ac_func in sincosl
64280 do :
64281 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64282 if test "x$ac_cv_func_sincosl" = x""yes; then :
64283 cat >>confdefs.h <<_ACEOF
64284 #define HAVE_SINCOSL 1
64285 _ACEOF
64288 done
64290 else
64292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64293 $as_echo_n "checking for _sincosl declaration... " >&6; }
64294 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64295 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64296 $as_echo_n "(cached) " >&6
64297 else
64300 ac_ext=cpp
64301 ac_cpp='$CXXCPP $CPPFLAGS'
64302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64307 /* end confdefs.h. */
64308 #include <math.h>
64310 main ()
64312 _sincosl(0, 0, 0);
64314 return 0;
64316 _ACEOF
64317 if ac_fn_cxx_try_compile "$LINENO"; then :
64318 glibcxx_cv_func__sincosl_use=yes
64319 else
64320 glibcxx_cv_func__sincosl_use=no
64322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64323 ac_ext=c
64324 ac_cpp='$CPP $CPPFLAGS'
64325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64334 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64336 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64337 for ac_func in _sincosl
64338 do :
64339 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64340 if test "x$ac_cv_func__sincosl" = x""yes; then :
64341 cat >>confdefs.h <<_ACEOF
64342 #define HAVE__SINCOSL 1
64343 _ACEOF
64346 done
64355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64356 $as_echo_n "checking for finitel declaration... " >&6; }
64357 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64358 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64359 $as_echo_n "(cached) " >&6
64360 else
64363 ac_ext=cpp
64364 ac_cpp='$CXXCPP $CPPFLAGS'
64365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64370 /* end confdefs.h. */
64371 #include <math.h>
64372 #ifdef HAVE_IEEEFP_H
64373 #include <ieeefp.h>
64374 #endif
64377 main ()
64379 finitel(0);
64381 return 0;
64383 _ACEOF
64384 if ac_fn_cxx_try_compile "$LINENO"; then :
64385 glibcxx_cv_func_finitel_use=yes
64386 else
64387 glibcxx_cv_func_finitel_use=no
64389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64390 ac_ext=c
64391 ac_cpp='$CPP $CPPFLAGS'
64392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64401 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64403 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64404 for ac_func in finitel
64405 do :
64406 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64407 if test "x$ac_cv_func_finitel" = x""yes; then :
64408 cat >>confdefs.h <<_ACEOF
64409 #define HAVE_FINITEL 1
64410 _ACEOF
64413 done
64415 else
64417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64418 $as_echo_n "checking for _finitel declaration... " >&6; }
64419 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64420 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64421 $as_echo_n "(cached) " >&6
64422 else
64425 ac_ext=cpp
64426 ac_cpp='$CXXCPP $CPPFLAGS'
64427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64432 /* end confdefs.h. */
64433 #include <math.h>
64434 #ifdef HAVE_IEEEFP_H
64435 #include <ieeefp.h>
64436 #endif
64439 main ()
64441 _finitel(0);
64443 return 0;
64445 _ACEOF
64446 if ac_fn_cxx_try_compile "$LINENO"; then :
64447 glibcxx_cv_func__finitel_use=yes
64448 else
64449 glibcxx_cv_func__finitel_use=no
64451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64452 ac_ext=c
64453 ac_cpp='$CPP $CPPFLAGS'
64454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64463 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64465 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64466 for ac_func in _finitel
64467 do :
64468 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64469 if test "x$ac_cv_func__finitel" = x""yes; then :
64470 cat >>confdefs.h <<_ACEOF
64471 #define HAVE__FINITEL 1
64472 _ACEOF
64475 done
64483 LIBS="$ac_save_LIBS"
64484 CXXFLAGS="$ac_save_CXXFLAGS"
64487 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64488 ac_save_CXXFLAGS="$CXXFLAGS"
64489 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64493 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64494 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64495 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64496 $as_echo_n "(cached) " >&6
64497 else
64500 ac_ext=cpp
64501 ac_cpp='$CXXCPP $CPPFLAGS'
64502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64507 /* end confdefs.h. */
64508 #include <stdlib.h>
64510 main ()
64512 at_quick_exit(0);
64514 return 0;
64516 _ACEOF
64517 if ac_fn_cxx_try_compile "$LINENO"; then :
64518 glibcxx_cv_func_at_quick_exit_use=yes
64519 else
64520 glibcxx_cv_func_at_quick_exit_use=no
64522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64523 ac_ext=c
64524 ac_cpp='$CPP $CPPFLAGS'
64525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64534 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64535 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64536 for ac_func in at_quick_exit
64537 do :
64538 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64539 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64540 cat >>confdefs.h <<_ACEOF
64541 #define HAVE_AT_QUICK_EXIT 1
64542 _ACEOF
64545 done
64550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64551 $as_echo_n "checking for quick_exit declaration... " >&6; }
64552 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64553 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64554 $as_echo_n "(cached) " >&6
64555 else
64558 ac_ext=cpp
64559 ac_cpp='$CXXCPP $CPPFLAGS'
64560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64565 /* end confdefs.h. */
64566 #include <stdlib.h>
64568 main ()
64570 quick_exit(0);
64572 return 0;
64574 _ACEOF
64575 if ac_fn_cxx_try_compile "$LINENO"; then :
64576 glibcxx_cv_func_quick_exit_use=yes
64577 else
64578 glibcxx_cv_func_quick_exit_use=no
64580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64581 ac_ext=c
64582 ac_cpp='$CPP $CPPFLAGS'
64583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64592 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64593 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64594 for ac_func in quick_exit
64595 do :
64596 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64597 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64598 cat >>confdefs.h <<_ACEOF
64599 #define HAVE_QUICK_EXIT 1
64600 _ACEOF
64603 done
64608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64609 $as_echo_n "checking for strtold declaration... " >&6; }
64610 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64611 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64612 $as_echo_n "(cached) " >&6
64613 else
64616 ac_ext=cpp
64617 ac_cpp='$CXXCPP $CPPFLAGS'
64618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64623 /* end confdefs.h. */
64624 #include <stdlib.h>
64626 main ()
64628 strtold(0, 0);
64630 return 0;
64632 _ACEOF
64633 if ac_fn_cxx_try_compile "$LINENO"; then :
64634 glibcxx_cv_func_strtold_use=yes
64635 else
64636 glibcxx_cv_func_strtold_use=no
64638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64639 ac_ext=c
64640 ac_cpp='$CPP $CPPFLAGS'
64641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64650 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64651 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64652 for ac_func in strtold
64653 do :
64654 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64655 if test "x$ac_cv_func_strtold" = x""yes; then :
64656 cat >>confdefs.h <<_ACEOF
64657 #define HAVE_STRTOLD 1
64658 _ACEOF
64661 done
64668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64669 $as_echo_n "checking for strtof declaration... " >&6; }
64670 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64671 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64672 $as_echo_n "(cached) " >&6
64673 else
64676 ac_ext=cpp
64677 ac_cpp='$CXXCPP $CPPFLAGS'
64678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64683 /* end confdefs.h. */
64684 #include <stdlib.h>
64686 main ()
64688 strtof(0, 0);
64690 return 0;
64692 _ACEOF
64693 if ac_fn_cxx_try_compile "$LINENO"; then :
64694 glibcxx_cv_func_strtof_use=yes
64695 else
64696 glibcxx_cv_func_strtof_use=no
64698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64699 ac_ext=c
64700 ac_cpp='$CPP $CPPFLAGS'
64701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64710 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64711 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64712 for ac_func in strtof
64713 do :
64714 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64715 if test "x$ac_cv_func_strtof" = x""yes; then :
64716 cat >>confdefs.h <<_ACEOF
64717 #define HAVE_STRTOF 1
64718 _ACEOF
64721 done
64728 CXXFLAGS="$ac_save_CXXFLAGS"
64731 *-netbsd*)
64732 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64735 # If we're not using GNU ld, then there's no point in even trying these
64736 # tests. Check for that first. We should have already tested for gld
64737 # by now (in libtool), but require it now just to be safe...
64738 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64739 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64743 # The name set by libtool depends on the version of libtool. Shame on us
64744 # for depending on an impl detail, but c'est la vie. Older versions used
64745 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64746 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64747 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64748 # set (hence we're using an older libtool), then set it.
64749 if test x${with_gnu_ld+set} != xset; then
64750 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64751 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64752 with_gnu_ld=no
64753 else
64754 with_gnu_ld=$ac_cv_prog_gnu_ld
64758 # Start by getting the version number. I think the libtool test already
64759 # does some of this, but throws away the result.
64760 glibcxx_ld_is_gold=no
64761 if test x"$with_gnu_ld" = x"yes"; then
64762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64763 $as_echo_n "checking for ld version... " >&6; }
64765 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64766 glibcxx_ld_is_gold=yes
64768 ldver=`$LD --version 2>/dev/null |
64769 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'`
64771 glibcxx_gnu_ld_version=`echo $ldver | \
64772 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64774 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64777 # Set --gc-sections.
64778 glibcxx_have_gc_sections=no
64779 if test "$glibcxx_ld_is_gold" = "yes"; then
64780 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64781 glibcxx_have_gc_sections=yes
64783 else
64784 glibcxx_gcsections_min_ld=21602
64785 if test x"$with_gnu_ld" = x"yes" &&
64786 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64787 glibcxx_have_gc_sections=yes
64790 if test "$glibcxx_have_gc_sections" = "yes"; then
64791 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64792 # NB: This flag only works reliably after 2.16.1. Configure tests
64793 # for this are difficult, so hard wire a value that should work.
64795 ac_test_CFLAGS="${CFLAGS+set}"
64796 ac_save_CFLAGS="$CFLAGS"
64797 CFLAGS='-Wl,--gc-sections'
64799 # Check for -Wl,--gc-sections
64800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64801 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64802 if test x$gcc_no_link = xyes; then
64803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64806 /* end confdefs.h. */
64807 int one(void) { return 1; }
64808 int two(void) { return 2; }
64811 main ()
64813 two();
64815 return 0;
64817 _ACEOF
64818 if ac_fn_c_try_link "$LINENO"; then :
64819 ac_gcsections=yes
64820 else
64821 ac_gcsections=no
64823 rm -f core conftest.err conftest.$ac_objext \
64824 conftest$ac_exeext conftest.$ac_ext
64825 if test "$ac_gcsections" = "yes"; then
64826 rm -f conftest.c
64827 touch conftest.c
64828 if $CC -c conftest.c; then
64829 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64830 grep "Warning: gc-sections option ignored" > /dev/null; then
64831 ac_gcsections=no
64834 rm -f conftest.c conftest.o conftest
64836 if test "$ac_gcsections" = "yes"; then
64837 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64840 $as_echo "$ac_gcsections" >&6; }
64842 if test "$ac_test_CFLAGS" = set; then
64843 CFLAGS="$ac_save_CFLAGS"
64844 else
64845 # this is the suspicious part
64846 CFLAGS=''
64850 # Set -z,relro.
64851 # Note this is only for shared objects.
64852 ac_ld_relro=no
64853 if test x"$with_gnu_ld" = x"yes"; then
64854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64855 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64856 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64857 if test -n "$cxx_z_relo"; then
64858 OPT_LDFLAGS="-Wl,-z,relro"
64859 ac_ld_relro=yes
64861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64862 $as_echo "$ac_ld_relro" >&6; }
64865 # Set linker optimization flags.
64866 if test x"$with_gnu_ld" = x"yes"; then
64867 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64873 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64875 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64877 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64879 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64881 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64883 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64885 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64887 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64889 if test x"long_double_math_on_this_cpu" = x"yes"; then
64890 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64892 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64894 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64898 *-qnx6.1* | *-qnx6.2*)
64899 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64902 # If we're not using GNU ld, then there's no point in even trying these
64903 # tests. Check for that first. We should have already tested for gld
64904 # by now (in libtool), but require it now just to be safe...
64905 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64906 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64910 # The name set by libtool depends on the version of libtool. Shame on us
64911 # for depending on an impl detail, but c'est la vie. Older versions used
64912 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64913 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64914 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64915 # set (hence we're using an older libtool), then set it.
64916 if test x${with_gnu_ld+set} != xset; then
64917 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64918 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64919 with_gnu_ld=no
64920 else
64921 with_gnu_ld=$ac_cv_prog_gnu_ld
64925 # Start by getting the version number. I think the libtool test already
64926 # does some of this, but throws away the result.
64927 glibcxx_ld_is_gold=no
64928 if test x"$with_gnu_ld" = x"yes"; then
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64930 $as_echo_n "checking for ld version... " >&6; }
64932 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64933 glibcxx_ld_is_gold=yes
64935 ldver=`$LD --version 2>/dev/null |
64936 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'`
64938 glibcxx_gnu_ld_version=`echo $ldver | \
64939 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64941 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64944 # Set --gc-sections.
64945 glibcxx_have_gc_sections=no
64946 if test "$glibcxx_ld_is_gold" = "yes"; then
64947 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64948 glibcxx_have_gc_sections=yes
64950 else
64951 glibcxx_gcsections_min_ld=21602
64952 if test x"$with_gnu_ld" = x"yes" &&
64953 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64954 glibcxx_have_gc_sections=yes
64957 if test "$glibcxx_have_gc_sections" = "yes"; then
64958 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64959 # NB: This flag only works reliably after 2.16.1. Configure tests
64960 # for this are difficult, so hard wire a value that should work.
64962 ac_test_CFLAGS="${CFLAGS+set}"
64963 ac_save_CFLAGS="$CFLAGS"
64964 CFLAGS='-Wl,--gc-sections'
64966 # Check for -Wl,--gc-sections
64967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64968 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64969 if test x$gcc_no_link = xyes; then
64970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64973 /* end confdefs.h. */
64974 int one(void) { return 1; }
64975 int two(void) { return 2; }
64978 main ()
64980 two();
64982 return 0;
64984 _ACEOF
64985 if ac_fn_c_try_link "$LINENO"; then :
64986 ac_gcsections=yes
64987 else
64988 ac_gcsections=no
64990 rm -f core conftest.err conftest.$ac_objext \
64991 conftest$ac_exeext conftest.$ac_ext
64992 if test "$ac_gcsections" = "yes"; then
64993 rm -f conftest.c
64994 touch conftest.c
64995 if $CC -c conftest.c; then
64996 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64997 grep "Warning: gc-sections option ignored" > /dev/null; then
64998 ac_gcsections=no
65001 rm -f conftest.c conftest.o conftest
65003 if test "$ac_gcsections" = "yes"; then
65004 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65007 $as_echo "$ac_gcsections" >&6; }
65009 if test "$ac_test_CFLAGS" = set; then
65010 CFLAGS="$ac_save_CFLAGS"
65011 else
65012 # this is the suspicious part
65013 CFLAGS=''
65017 # Set -z,relro.
65018 # Note this is only for shared objects.
65019 ac_ld_relro=no
65020 if test x"$with_gnu_ld" = x"yes"; then
65021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65022 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65023 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65024 if test -n "$cxx_z_relo"; then
65025 OPT_LDFLAGS="-Wl,-z,relro"
65026 ac_ld_relro=yes
65028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65029 $as_echo "$ac_ld_relro" >&6; }
65032 # Set linker optimization flags.
65033 if test x"$with_gnu_ld" = x"yes"; then
65034 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65040 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65042 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65044 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65046 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65048 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65050 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65052 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65054 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65056 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65058 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65060 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65062 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65065 *-rtems*)
65067 # All these tests are for C++; save the language and the compiler flags.
65068 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65069 # found in GLIBCXX_CONFIGURE.
65071 ac_ext=cpp
65072 ac_cpp='$CXXCPP $CPPFLAGS'
65073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65077 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65078 ac_save_CXXFLAGS="$CXXFLAGS"
65080 # Check for maintainer-mode bits.
65081 if test x"$USE_MAINTAINER_MODE" = xno; then
65082 WERROR=''
65083 else
65084 WERROR='-Werror'
65087 # Check for -ffunction-sections -fdata-sections
65088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65089 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65090 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65092 /* end confdefs.h. */
65093 int foo; void bar() { };
65095 main ()
65099 return 0;
65101 _ACEOF
65102 if ac_fn_cxx_try_compile "$LINENO"; then :
65103 ac_fdsections=yes
65104 else
65105 ac_fdsections=no
65107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65108 if test "$ac_test_CXXFLAGS" = set; then
65109 CXXFLAGS="$ac_save_CXXFLAGS"
65110 else
65111 # this is the suspicious part
65112 CXXFLAGS=''
65114 if test x"$ac_fdsections" = x"yes"; then
65115 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65118 $as_echo "$ac_fdsections" >&6; }
65120 ac_ext=c
65121 ac_cpp='$CPP $CPPFLAGS'
65122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65130 # If we're not using GNU ld, then there's no point in even trying these
65131 # tests. Check for that first. We should have already tested for gld
65132 # by now (in libtool), but require it now just to be safe...
65133 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65134 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65138 # The name set by libtool depends on the version of libtool. Shame on us
65139 # for depending on an impl detail, but c'est la vie. Older versions used
65140 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65141 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65142 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65143 # set (hence we're using an older libtool), then set it.
65144 if test x${with_gnu_ld+set} != xset; then
65145 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65146 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65147 with_gnu_ld=no
65148 else
65149 with_gnu_ld=$ac_cv_prog_gnu_ld
65153 # Start by getting the version number. I think the libtool test already
65154 # does some of this, but throws away the result.
65155 glibcxx_ld_is_gold=no
65156 if test x"$with_gnu_ld" = x"yes"; then
65157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65158 $as_echo_n "checking for ld version... " >&6; }
65160 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65161 glibcxx_ld_is_gold=yes
65163 ldver=`$LD --version 2>/dev/null |
65164 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'`
65166 glibcxx_gnu_ld_version=`echo $ldver | \
65167 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65169 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65172 # Set --gc-sections.
65173 glibcxx_have_gc_sections=no
65174 if test "$glibcxx_ld_is_gold" = "yes"; then
65175 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65176 glibcxx_have_gc_sections=yes
65178 else
65179 glibcxx_gcsections_min_ld=21602
65180 if test x"$with_gnu_ld" = x"yes" &&
65181 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65182 glibcxx_have_gc_sections=yes
65185 if test "$glibcxx_have_gc_sections" = "yes"; then
65186 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65187 # NB: This flag only works reliably after 2.16.1. Configure tests
65188 # for this are difficult, so hard wire a value that should work.
65190 ac_test_CFLAGS="${CFLAGS+set}"
65191 ac_save_CFLAGS="$CFLAGS"
65192 CFLAGS='-Wl,--gc-sections'
65194 # Check for -Wl,--gc-sections
65195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65196 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65197 if test x$gcc_no_link = xyes; then
65198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65201 /* end confdefs.h. */
65202 int one(void) { return 1; }
65203 int two(void) { return 2; }
65206 main ()
65208 two();
65210 return 0;
65212 _ACEOF
65213 if ac_fn_c_try_link "$LINENO"; then :
65214 ac_gcsections=yes
65215 else
65216 ac_gcsections=no
65218 rm -f core conftest.err conftest.$ac_objext \
65219 conftest$ac_exeext conftest.$ac_ext
65220 if test "$ac_gcsections" = "yes"; then
65221 rm -f conftest.c
65222 touch conftest.c
65223 if $CC -c conftest.c; then
65224 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65225 grep "Warning: gc-sections option ignored" > /dev/null; then
65226 ac_gcsections=no
65229 rm -f conftest.c conftest.o conftest
65231 if test "$ac_gcsections" = "yes"; then
65232 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65235 $as_echo "$ac_gcsections" >&6; }
65237 if test "$ac_test_CFLAGS" = set; then
65238 CFLAGS="$ac_save_CFLAGS"
65239 else
65240 # this is the suspicious part
65241 CFLAGS=''
65245 # Set -z,relro.
65246 # Note this is only for shared objects.
65247 ac_ld_relro=no
65248 if test x"$with_gnu_ld" = x"yes"; then
65249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65250 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65251 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65252 if test -n "$cxx_z_relo"; then
65253 OPT_LDFLAGS="-Wl,-z,relro"
65254 ac_ld_relro=yes
65256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65257 $as_echo "$ac_ld_relro" >&6; }
65260 # Set linker optimization flags.
65261 if test x"$with_gnu_ld" = x"yes"; then
65262 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65269 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65270 ac_save_CXXFLAGS="$CXXFLAGS"
65271 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65274 $as_echo_n "checking for sin in -lm... " >&6; }
65275 if test "${ac_cv_lib_m_sin+set}" = set; then :
65276 $as_echo_n "(cached) " >&6
65277 else
65278 ac_check_lib_save_LIBS=$LIBS
65279 LIBS="-lm $LIBS"
65280 if test x$gcc_no_link = xyes; then
65281 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65284 /* end confdefs.h. */
65286 /* Override any GCC internal prototype to avoid an error.
65287 Use char because int might match the return type of a GCC
65288 builtin and then its argument prototype would still apply. */
65289 #ifdef __cplusplus
65290 extern "C"
65291 #endif
65292 char sin ();
65294 main ()
65296 return sin ();
65298 return 0;
65300 _ACEOF
65301 if ac_fn_c_try_link "$LINENO"; then :
65302 ac_cv_lib_m_sin=yes
65303 else
65304 ac_cv_lib_m_sin=no
65306 rm -f core conftest.err conftest.$ac_objext \
65307 conftest$ac_exeext conftest.$ac_ext
65308 LIBS=$ac_check_lib_save_LIBS
65310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65311 $as_echo "$ac_cv_lib_m_sin" >&6; }
65312 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65313 libm="-lm"
65316 ac_save_LIBS="$LIBS"
65317 LIBS="$LIBS $libm"
65321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65322 $as_echo_n "checking for isinf declaration... " >&6; }
65323 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65324 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65325 $as_echo_n "(cached) " >&6
65326 else
65329 ac_ext=cpp
65330 ac_cpp='$CXXCPP $CPPFLAGS'
65331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65336 /* end confdefs.h. */
65337 #include <math.h>
65338 #ifdef HAVE_IEEEFP_H
65339 #include <ieeefp.h>
65340 #endif
65343 main ()
65345 isinf(0);
65347 return 0;
65349 _ACEOF
65350 if ac_fn_cxx_try_compile "$LINENO"; then :
65351 glibcxx_cv_func_isinf_use=yes
65352 else
65353 glibcxx_cv_func_isinf_use=no
65355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65356 ac_ext=c
65357 ac_cpp='$CPP $CPPFLAGS'
65358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65367 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65369 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65370 for ac_func in isinf
65371 do :
65372 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65373 if test "x$ac_cv_func_isinf" = x""yes; then :
65374 cat >>confdefs.h <<_ACEOF
65375 #define HAVE_ISINF 1
65376 _ACEOF
65379 done
65381 else
65383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65384 $as_echo_n "checking for _isinf declaration... " >&6; }
65385 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65386 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65387 $as_echo_n "(cached) " >&6
65388 else
65391 ac_ext=cpp
65392 ac_cpp='$CXXCPP $CPPFLAGS'
65393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65398 /* end confdefs.h. */
65399 #include <math.h>
65400 #ifdef HAVE_IEEEFP_H
65401 #include <ieeefp.h>
65402 #endif
65405 main ()
65407 _isinf(0);
65409 return 0;
65411 _ACEOF
65412 if ac_fn_cxx_try_compile "$LINENO"; then :
65413 glibcxx_cv_func__isinf_use=yes
65414 else
65415 glibcxx_cv_func__isinf_use=no
65417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65418 ac_ext=c
65419 ac_cpp='$CPP $CPPFLAGS'
65420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65429 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65431 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65432 for ac_func in _isinf
65433 do :
65434 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65435 if test "x$ac_cv_func__isinf" = x""yes; then :
65436 cat >>confdefs.h <<_ACEOF
65437 #define HAVE__ISINF 1
65438 _ACEOF
65441 done
65450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65451 $as_echo_n "checking for isnan declaration... " >&6; }
65452 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65453 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65454 $as_echo_n "(cached) " >&6
65455 else
65458 ac_ext=cpp
65459 ac_cpp='$CXXCPP $CPPFLAGS'
65460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65465 /* end confdefs.h. */
65466 #include <math.h>
65467 #ifdef HAVE_IEEEFP_H
65468 #include <ieeefp.h>
65469 #endif
65472 main ()
65474 isnan(0);
65476 return 0;
65478 _ACEOF
65479 if ac_fn_cxx_try_compile "$LINENO"; then :
65480 glibcxx_cv_func_isnan_use=yes
65481 else
65482 glibcxx_cv_func_isnan_use=no
65484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65485 ac_ext=c
65486 ac_cpp='$CPP $CPPFLAGS'
65487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65496 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65498 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65499 for ac_func in isnan
65500 do :
65501 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65502 if test "x$ac_cv_func_isnan" = x""yes; then :
65503 cat >>confdefs.h <<_ACEOF
65504 #define HAVE_ISNAN 1
65505 _ACEOF
65508 done
65510 else
65512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65513 $as_echo_n "checking for _isnan declaration... " >&6; }
65514 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65515 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65516 $as_echo_n "(cached) " >&6
65517 else
65520 ac_ext=cpp
65521 ac_cpp='$CXXCPP $CPPFLAGS'
65522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65527 /* end confdefs.h. */
65528 #include <math.h>
65529 #ifdef HAVE_IEEEFP_H
65530 #include <ieeefp.h>
65531 #endif
65534 main ()
65536 _isnan(0);
65538 return 0;
65540 _ACEOF
65541 if ac_fn_cxx_try_compile "$LINENO"; then :
65542 glibcxx_cv_func__isnan_use=yes
65543 else
65544 glibcxx_cv_func__isnan_use=no
65546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65547 ac_ext=c
65548 ac_cpp='$CPP $CPPFLAGS'
65549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65558 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65560 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65561 for ac_func in _isnan
65562 do :
65563 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65564 if test "x$ac_cv_func__isnan" = x""yes; then :
65565 cat >>confdefs.h <<_ACEOF
65566 #define HAVE__ISNAN 1
65567 _ACEOF
65570 done
65579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65580 $as_echo_n "checking for finite declaration... " >&6; }
65581 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65582 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65583 $as_echo_n "(cached) " >&6
65584 else
65587 ac_ext=cpp
65588 ac_cpp='$CXXCPP $CPPFLAGS'
65589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65594 /* end confdefs.h. */
65595 #include <math.h>
65596 #ifdef HAVE_IEEEFP_H
65597 #include <ieeefp.h>
65598 #endif
65601 main ()
65603 finite(0);
65605 return 0;
65607 _ACEOF
65608 if ac_fn_cxx_try_compile "$LINENO"; then :
65609 glibcxx_cv_func_finite_use=yes
65610 else
65611 glibcxx_cv_func_finite_use=no
65613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65614 ac_ext=c
65615 ac_cpp='$CPP $CPPFLAGS'
65616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65625 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65627 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65628 for ac_func in finite
65629 do :
65630 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65631 if test "x$ac_cv_func_finite" = x""yes; then :
65632 cat >>confdefs.h <<_ACEOF
65633 #define HAVE_FINITE 1
65634 _ACEOF
65637 done
65639 else
65641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65642 $as_echo_n "checking for _finite declaration... " >&6; }
65643 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65644 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65645 $as_echo_n "(cached) " >&6
65646 else
65649 ac_ext=cpp
65650 ac_cpp='$CXXCPP $CPPFLAGS'
65651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65656 /* end confdefs.h. */
65657 #include <math.h>
65658 #ifdef HAVE_IEEEFP_H
65659 #include <ieeefp.h>
65660 #endif
65663 main ()
65665 _finite(0);
65667 return 0;
65669 _ACEOF
65670 if ac_fn_cxx_try_compile "$LINENO"; then :
65671 glibcxx_cv_func__finite_use=yes
65672 else
65673 glibcxx_cv_func__finite_use=no
65675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65676 ac_ext=c
65677 ac_cpp='$CPP $CPPFLAGS'
65678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65687 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65689 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65690 for ac_func in _finite
65691 do :
65692 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65693 if test "x$ac_cv_func__finite" = x""yes; then :
65694 cat >>confdefs.h <<_ACEOF
65695 #define HAVE__FINITE 1
65696 _ACEOF
65699 done
65708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65709 $as_echo_n "checking for sincos declaration... " >&6; }
65710 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65711 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65712 $as_echo_n "(cached) " >&6
65713 else
65716 ac_ext=cpp
65717 ac_cpp='$CXXCPP $CPPFLAGS'
65718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65723 /* end confdefs.h. */
65724 #include <math.h>
65726 main ()
65728 sincos(0, 0, 0);
65730 return 0;
65732 _ACEOF
65733 if ac_fn_cxx_try_compile "$LINENO"; then :
65734 glibcxx_cv_func_sincos_use=yes
65735 else
65736 glibcxx_cv_func_sincos_use=no
65738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65739 ac_ext=c
65740 ac_cpp='$CPP $CPPFLAGS'
65741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65750 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65752 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65753 for ac_func in sincos
65754 do :
65755 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65756 if test "x$ac_cv_func_sincos" = x""yes; then :
65757 cat >>confdefs.h <<_ACEOF
65758 #define HAVE_SINCOS 1
65759 _ACEOF
65762 done
65764 else
65766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65767 $as_echo_n "checking for _sincos declaration... " >&6; }
65768 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65769 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65770 $as_echo_n "(cached) " >&6
65771 else
65774 ac_ext=cpp
65775 ac_cpp='$CXXCPP $CPPFLAGS'
65776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65781 /* end confdefs.h. */
65782 #include <math.h>
65784 main ()
65786 _sincos(0, 0, 0);
65788 return 0;
65790 _ACEOF
65791 if ac_fn_cxx_try_compile "$LINENO"; then :
65792 glibcxx_cv_func__sincos_use=yes
65793 else
65794 glibcxx_cv_func__sincos_use=no
65796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65797 ac_ext=c
65798 ac_cpp='$CPP $CPPFLAGS'
65799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65808 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65810 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65811 for ac_func in _sincos
65812 do :
65813 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65814 if test "x$ac_cv_func__sincos" = x""yes; then :
65815 cat >>confdefs.h <<_ACEOF
65816 #define HAVE__SINCOS 1
65817 _ACEOF
65820 done
65829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65830 $as_echo_n "checking for fpclass declaration... " >&6; }
65831 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65832 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65833 $as_echo_n "(cached) " >&6
65834 else
65837 ac_ext=cpp
65838 ac_cpp='$CXXCPP $CPPFLAGS'
65839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65844 /* end confdefs.h. */
65845 #include <math.h>
65846 #ifdef HAVE_IEEEFP_H
65847 #include <ieeefp.h>
65848 #endif
65851 main ()
65853 fpclass(0);
65855 return 0;
65857 _ACEOF
65858 if ac_fn_cxx_try_compile "$LINENO"; then :
65859 glibcxx_cv_func_fpclass_use=yes
65860 else
65861 glibcxx_cv_func_fpclass_use=no
65863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65864 ac_ext=c
65865 ac_cpp='$CPP $CPPFLAGS'
65866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65875 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65877 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65878 for ac_func in fpclass
65879 do :
65880 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65881 if test "x$ac_cv_func_fpclass" = x""yes; then :
65882 cat >>confdefs.h <<_ACEOF
65883 #define HAVE_FPCLASS 1
65884 _ACEOF
65887 done
65889 else
65891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65892 $as_echo_n "checking for _fpclass declaration... " >&6; }
65893 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65894 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65895 $as_echo_n "(cached) " >&6
65896 else
65899 ac_ext=cpp
65900 ac_cpp='$CXXCPP $CPPFLAGS'
65901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65906 /* end confdefs.h. */
65907 #include <math.h>
65908 #ifdef HAVE_IEEEFP_H
65909 #include <ieeefp.h>
65910 #endif
65913 main ()
65915 _fpclass(0);
65917 return 0;
65919 _ACEOF
65920 if ac_fn_cxx_try_compile "$LINENO"; then :
65921 glibcxx_cv_func__fpclass_use=yes
65922 else
65923 glibcxx_cv_func__fpclass_use=no
65925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65926 ac_ext=c
65927 ac_cpp='$CPP $CPPFLAGS'
65928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65937 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65939 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65940 for ac_func in _fpclass
65941 do :
65942 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65943 if test "x$ac_cv_func__fpclass" = x""yes; then :
65944 cat >>confdefs.h <<_ACEOF
65945 #define HAVE__FPCLASS 1
65946 _ACEOF
65949 done
65958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65959 $as_echo_n "checking for qfpclass declaration... " >&6; }
65960 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65961 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65962 $as_echo_n "(cached) " >&6
65963 else
65966 ac_ext=cpp
65967 ac_cpp='$CXXCPP $CPPFLAGS'
65968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65973 /* end confdefs.h. */
65974 #include <math.h>
65975 #ifdef HAVE_IEEEFP_H
65976 #include <ieeefp.h>
65977 #endif
65980 main ()
65982 qfpclass(0);
65984 return 0;
65986 _ACEOF
65987 if ac_fn_cxx_try_compile "$LINENO"; then :
65988 glibcxx_cv_func_qfpclass_use=yes
65989 else
65990 glibcxx_cv_func_qfpclass_use=no
65992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65993 ac_ext=c
65994 ac_cpp='$CPP $CPPFLAGS'
65995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66004 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66006 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66007 for ac_func in qfpclass
66008 do :
66009 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66010 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66011 cat >>confdefs.h <<_ACEOF
66012 #define HAVE_QFPCLASS 1
66013 _ACEOF
66016 done
66018 else
66020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66021 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66022 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66023 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66024 $as_echo_n "(cached) " >&6
66025 else
66028 ac_ext=cpp
66029 ac_cpp='$CXXCPP $CPPFLAGS'
66030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66035 /* end confdefs.h. */
66036 #include <math.h>
66037 #ifdef HAVE_IEEEFP_H
66038 #include <ieeefp.h>
66039 #endif
66042 main ()
66044 _qfpclass(0);
66046 return 0;
66048 _ACEOF
66049 if ac_fn_cxx_try_compile "$LINENO"; then :
66050 glibcxx_cv_func__qfpclass_use=yes
66051 else
66052 glibcxx_cv_func__qfpclass_use=no
66054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66055 ac_ext=c
66056 ac_cpp='$CPP $CPPFLAGS'
66057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66066 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66068 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66069 for ac_func in _qfpclass
66070 do :
66071 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66072 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66073 cat >>confdefs.h <<_ACEOF
66074 #define HAVE__QFPCLASS 1
66075 _ACEOF
66078 done
66087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66088 $as_echo_n "checking for hypot declaration... " >&6; }
66089 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66090 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66091 $as_echo_n "(cached) " >&6
66092 else
66095 ac_ext=cpp
66096 ac_cpp='$CXXCPP $CPPFLAGS'
66097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66102 /* end confdefs.h. */
66103 #include <math.h>
66105 main ()
66107 hypot(0, 0);
66109 return 0;
66111 _ACEOF
66112 if ac_fn_cxx_try_compile "$LINENO"; then :
66113 glibcxx_cv_func_hypot_use=yes
66114 else
66115 glibcxx_cv_func_hypot_use=no
66117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66118 ac_ext=c
66119 ac_cpp='$CPP $CPPFLAGS'
66120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66129 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66131 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66132 for ac_func in hypot
66133 do :
66134 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66135 if test "x$ac_cv_func_hypot" = x""yes; then :
66136 cat >>confdefs.h <<_ACEOF
66137 #define HAVE_HYPOT 1
66138 _ACEOF
66141 done
66143 else
66145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66146 $as_echo_n "checking for _hypot declaration... " >&6; }
66147 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66148 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66149 $as_echo_n "(cached) " >&6
66150 else
66153 ac_ext=cpp
66154 ac_cpp='$CXXCPP $CPPFLAGS'
66155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66160 /* end confdefs.h. */
66161 #include <math.h>
66163 main ()
66165 _hypot(0, 0);
66167 return 0;
66169 _ACEOF
66170 if ac_fn_cxx_try_compile "$LINENO"; then :
66171 glibcxx_cv_func__hypot_use=yes
66172 else
66173 glibcxx_cv_func__hypot_use=no
66175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66176 ac_ext=c
66177 ac_cpp='$CPP $CPPFLAGS'
66178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66187 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66189 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66190 for ac_func in _hypot
66191 do :
66192 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66193 if test "x$ac_cv_func__hypot" = x""yes; then :
66194 cat >>confdefs.h <<_ACEOF
66195 #define HAVE__HYPOT 1
66196 _ACEOF
66199 done
66208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66209 $as_echo_n "checking for float trig functions... " >&6; }
66210 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66211 $as_echo_n "(cached) " >&6
66212 else
66215 ac_ext=cpp
66216 ac_cpp='$CXXCPP $CPPFLAGS'
66217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66222 /* end confdefs.h. */
66223 #include <math.h>
66225 main ()
66227 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66229 return 0;
66231 _ACEOF
66232 if ac_fn_cxx_try_compile "$LINENO"; then :
66233 glibcxx_cv_func_float_trig_use=yes
66234 else
66235 glibcxx_cv_func_float_trig_use=no
66237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66238 ac_ext=c
66239 ac_cpp='$CPP $CPPFLAGS'
66240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66247 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66248 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66249 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66250 do :
66251 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66252 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66253 eval as_val=\$$as_ac_var
66254 if test "x$as_val" = x""yes; then :
66255 cat >>confdefs.h <<_ACEOF
66256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66257 _ACEOF
66260 done
66262 else
66263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66264 $as_echo_n "checking for _float trig functions... " >&6; }
66265 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66266 $as_echo_n "(cached) " >&6
66267 else
66270 ac_ext=cpp
66271 ac_cpp='$CXXCPP $CPPFLAGS'
66272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66277 /* end confdefs.h. */
66278 #include <math.h>
66280 main ()
66282 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66284 return 0;
66286 _ACEOF
66287 if ac_fn_cxx_try_compile "$LINENO"; then :
66288 glibcxx_cv_func__float_trig_use=yes
66289 else
66290 glibcxx_cv_func__float_trig_use=no
66292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66293 ac_ext=c
66294 ac_cpp='$CPP $CPPFLAGS'
66295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66302 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66303 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66304 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66305 do :
66306 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66307 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66308 eval as_val=\$$as_ac_var
66309 if test "x$as_val" = x""yes; then :
66310 cat >>confdefs.h <<_ACEOF
66311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66312 _ACEOF
66315 done
66324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66325 $as_echo_n "checking for float round functions... " >&6; }
66326 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66327 $as_echo_n "(cached) " >&6
66328 else
66331 ac_ext=cpp
66332 ac_cpp='$CXXCPP $CPPFLAGS'
66333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66338 /* end confdefs.h. */
66339 #include <math.h>
66341 main ()
66343 ceilf (0); floorf (0);
66345 return 0;
66347 _ACEOF
66348 if ac_fn_cxx_try_compile "$LINENO"; then :
66349 glibcxx_cv_func_float_round_use=yes
66350 else
66351 glibcxx_cv_func_float_round_use=no
66353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66354 ac_ext=c
66355 ac_cpp='$CPP $CPPFLAGS'
66356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66363 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66364 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66365 for ac_func in ceilf floorf
66366 do :
66367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66369 eval as_val=\$$as_ac_var
66370 if test "x$as_val" = x""yes; then :
66371 cat >>confdefs.h <<_ACEOF
66372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66373 _ACEOF
66376 done
66378 else
66379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66380 $as_echo_n "checking for _float round functions... " >&6; }
66381 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66382 $as_echo_n "(cached) " >&6
66383 else
66386 ac_ext=cpp
66387 ac_cpp='$CXXCPP $CPPFLAGS'
66388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66393 /* end confdefs.h. */
66394 #include <math.h>
66396 main ()
66398 _ceilf (0); _floorf (0);
66400 return 0;
66402 _ACEOF
66403 if ac_fn_cxx_try_compile "$LINENO"; then :
66404 glibcxx_cv_func__float_round_use=yes
66405 else
66406 glibcxx_cv_func__float_round_use=no
66408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66409 ac_ext=c
66410 ac_cpp='$CPP $CPPFLAGS'
66411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66418 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66419 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66420 for ac_func in _ceilf _floorf
66421 do :
66422 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66423 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66424 eval as_val=\$$as_ac_var
66425 if test "x$as_val" = x""yes; then :
66426 cat >>confdefs.h <<_ACEOF
66427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66428 _ACEOF
66431 done
66441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66442 $as_echo_n "checking for expf declaration... " >&6; }
66443 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66444 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66445 $as_echo_n "(cached) " >&6
66446 else
66449 ac_ext=cpp
66450 ac_cpp='$CXXCPP $CPPFLAGS'
66451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66456 /* end confdefs.h. */
66457 #include <math.h>
66458 #ifdef HAVE_IEEEFP_H
66459 #include <ieeefp.h>
66460 #endif
66463 main ()
66465 expf(0);
66467 return 0;
66469 _ACEOF
66470 if ac_fn_cxx_try_compile "$LINENO"; then :
66471 glibcxx_cv_func_expf_use=yes
66472 else
66473 glibcxx_cv_func_expf_use=no
66475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66476 ac_ext=c
66477 ac_cpp='$CPP $CPPFLAGS'
66478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66487 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66489 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66490 for ac_func in expf
66491 do :
66492 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66493 if test "x$ac_cv_func_expf" = x""yes; then :
66494 cat >>confdefs.h <<_ACEOF
66495 #define HAVE_EXPF 1
66496 _ACEOF
66499 done
66501 else
66503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66504 $as_echo_n "checking for _expf declaration... " >&6; }
66505 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66506 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66507 $as_echo_n "(cached) " >&6
66508 else
66511 ac_ext=cpp
66512 ac_cpp='$CXXCPP $CPPFLAGS'
66513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66518 /* end confdefs.h. */
66519 #include <math.h>
66520 #ifdef HAVE_IEEEFP_H
66521 #include <ieeefp.h>
66522 #endif
66525 main ()
66527 _expf(0);
66529 return 0;
66531 _ACEOF
66532 if ac_fn_cxx_try_compile "$LINENO"; then :
66533 glibcxx_cv_func__expf_use=yes
66534 else
66535 glibcxx_cv_func__expf_use=no
66537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66538 ac_ext=c
66539 ac_cpp='$CPP $CPPFLAGS'
66540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66549 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66551 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66552 for ac_func in _expf
66553 do :
66554 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66555 if test "x$ac_cv_func__expf" = x""yes; then :
66556 cat >>confdefs.h <<_ACEOF
66557 #define HAVE__EXPF 1
66558 _ACEOF
66561 done
66570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66571 $as_echo_n "checking for isnanf declaration... " >&6; }
66572 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66573 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66574 $as_echo_n "(cached) " >&6
66575 else
66578 ac_ext=cpp
66579 ac_cpp='$CXXCPP $CPPFLAGS'
66580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66585 /* end confdefs.h. */
66586 #include <math.h>
66587 #ifdef HAVE_IEEEFP_H
66588 #include <ieeefp.h>
66589 #endif
66592 main ()
66594 isnanf(0);
66596 return 0;
66598 _ACEOF
66599 if ac_fn_cxx_try_compile "$LINENO"; then :
66600 glibcxx_cv_func_isnanf_use=yes
66601 else
66602 glibcxx_cv_func_isnanf_use=no
66604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66605 ac_ext=c
66606 ac_cpp='$CPP $CPPFLAGS'
66607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66616 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66618 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66619 for ac_func in isnanf
66620 do :
66621 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66622 if test "x$ac_cv_func_isnanf" = x""yes; then :
66623 cat >>confdefs.h <<_ACEOF
66624 #define HAVE_ISNANF 1
66625 _ACEOF
66628 done
66630 else
66632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66633 $as_echo_n "checking for _isnanf declaration... " >&6; }
66634 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66635 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66636 $as_echo_n "(cached) " >&6
66637 else
66640 ac_ext=cpp
66641 ac_cpp='$CXXCPP $CPPFLAGS'
66642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66647 /* end confdefs.h. */
66648 #include <math.h>
66649 #ifdef HAVE_IEEEFP_H
66650 #include <ieeefp.h>
66651 #endif
66654 main ()
66656 _isnanf(0);
66658 return 0;
66660 _ACEOF
66661 if ac_fn_cxx_try_compile "$LINENO"; then :
66662 glibcxx_cv_func__isnanf_use=yes
66663 else
66664 glibcxx_cv_func__isnanf_use=no
66666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66667 ac_ext=c
66668 ac_cpp='$CPP $CPPFLAGS'
66669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66678 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66680 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66681 for ac_func in _isnanf
66682 do :
66683 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66684 if test "x$ac_cv_func__isnanf" = x""yes; then :
66685 cat >>confdefs.h <<_ACEOF
66686 #define HAVE__ISNANF 1
66687 _ACEOF
66690 done
66699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66700 $as_echo_n "checking for isinff declaration... " >&6; }
66701 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66702 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66703 $as_echo_n "(cached) " >&6
66704 else
66707 ac_ext=cpp
66708 ac_cpp='$CXXCPP $CPPFLAGS'
66709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66714 /* end confdefs.h. */
66715 #include <math.h>
66716 #ifdef HAVE_IEEEFP_H
66717 #include <ieeefp.h>
66718 #endif
66721 main ()
66723 isinff(0);
66725 return 0;
66727 _ACEOF
66728 if ac_fn_cxx_try_compile "$LINENO"; then :
66729 glibcxx_cv_func_isinff_use=yes
66730 else
66731 glibcxx_cv_func_isinff_use=no
66733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66734 ac_ext=c
66735 ac_cpp='$CPP $CPPFLAGS'
66736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66745 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66747 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66748 for ac_func in isinff
66749 do :
66750 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66751 if test "x$ac_cv_func_isinff" = x""yes; then :
66752 cat >>confdefs.h <<_ACEOF
66753 #define HAVE_ISINFF 1
66754 _ACEOF
66757 done
66759 else
66761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66762 $as_echo_n "checking for _isinff declaration... " >&6; }
66763 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66764 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66765 $as_echo_n "(cached) " >&6
66766 else
66769 ac_ext=cpp
66770 ac_cpp='$CXXCPP $CPPFLAGS'
66771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66776 /* end confdefs.h. */
66777 #include <math.h>
66778 #ifdef HAVE_IEEEFP_H
66779 #include <ieeefp.h>
66780 #endif
66783 main ()
66785 _isinff(0);
66787 return 0;
66789 _ACEOF
66790 if ac_fn_cxx_try_compile "$LINENO"; then :
66791 glibcxx_cv_func__isinff_use=yes
66792 else
66793 glibcxx_cv_func__isinff_use=no
66795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66796 ac_ext=c
66797 ac_cpp='$CPP $CPPFLAGS'
66798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66807 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66809 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66810 for ac_func in _isinff
66811 do :
66812 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66813 if test "x$ac_cv_func__isinff" = x""yes; then :
66814 cat >>confdefs.h <<_ACEOF
66815 #define HAVE__ISINFF 1
66816 _ACEOF
66819 done
66828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66829 $as_echo_n "checking for atan2f declaration... " >&6; }
66830 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66831 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66832 $as_echo_n "(cached) " >&6
66833 else
66836 ac_ext=cpp
66837 ac_cpp='$CXXCPP $CPPFLAGS'
66838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66843 /* end confdefs.h. */
66844 #include <math.h>
66846 main ()
66848 atan2f(0, 0);
66850 return 0;
66852 _ACEOF
66853 if ac_fn_cxx_try_compile "$LINENO"; then :
66854 glibcxx_cv_func_atan2f_use=yes
66855 else
66856 glibcxx_cv_func_atan2f_use=no
66858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66859 ac_ext=c
66860 ac_cpp='$CPP $CPPFLAGS'
66861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66870 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66872 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66873 for ac_func in atan2f
66874 do :
66875 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66876 if test "x$ac_cv_func_atan2f" = x""yes; then :
66877 cat >>confdefs.h <<_ACEOF
66878 #define HAVE_ATAN2F 1
66879 _ACEOF
66882 done
66884 else
66886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66887 $as_echo_n "checking for _atan2f declaration... " >&6; }
66888 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66889 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66890 $as_echo_n "(cached) " >&6
66891 else
66894 ac_ext=cpp
66895 ac_cpp='$CXXCPP $CPPFLAGS'
66896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66901 /* end confdefs.h. */
66902 #include <math.h>
66904 main ()
66906 _atan2f(0, 0);
66908 return 0;
66910 _ACEOF
66911 if ac_fn_cxx_try_compile "$LINENO"; then :
66912 glibcxx_cv_func__atan2f_use=yes
66913 else
66914 glibcxx_cv_func__atan2f_use=no
66916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66917 ac_ext=c
66918 ac_cpp='$CPP $CPPFLAGS'
66919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66928 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66930 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66931 for ac_func in _atan2f
66932 do :
66933 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66934 if test "x$ac_cv_func__atan2f" = x""yes; then :
66935 cat >>confdefs.h <<_ACEOF
66936 #define HAVE__ATAN2F 1
66937 _ACEOF
66940 done
66949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66950 $as_echo_n "checking for fabsf declaration... " >&6; }
66951 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66952 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66953 $as_echo_n "(cached) " >&6
66954 else
66957 ac_ext=cpp
66958 ac_cpp='$CXXCPP $CPPFLAGS'
66959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66964 /* end confdefs.h. */
66965 #include <math.h>
66966 #ifdef HAVE_IEEEFP_H
66967 #include <ieeefp.h>
66968 #endif
66971 main ()
66973 fabsf(0);
66975 return 0;
66977 _ACEOF
66978 if ac_fn_cxx_try_compile "$LINENO"; then :
66979 glibcxx_cv_func_fabsf_use=yes
66980 else
66981 glibcxx_cv_func_fabsf_use=no
66983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66984 ac_ext=c
66985 ac_cpp='$CPP $CPPFLAGS'
66986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66995 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66997 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66998 for ac_func in fabsf
66999 do :
67000 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67001 if test "x$ac_cv_func_fabsf" = x""yes; then :
67002 cat >>confdefs.h <<_ACEOF
67003 #define HAVE_FABSF 1
67004 _ACEOF
67007 done
67009 else
67011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67012 $as_echo_n "checking for _fabsf declaration... " >&6; }
67013 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67014 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67015 $as_echo_n "(cached) " >&6
67016 else
67019 ac_ext=cpp
67020 ac_cpp='$CXXCPP $CPPFLAGS'
67021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67026 /* end confdefs.h. */
67027 #include <math.h>
67028 #ifdef HAVE_IEEEFP_H
67029 #include <ieeefp.h>
67030 #endif
67033 main ()
67035 _fabsf(0);
67037 return 0;
67039 _ACEOF
67040 if ac_fn_cxx_try_compile "$LINENO"; then :
67041 glibcxx_cv_func__fabsf_use=yes
67042 else
67043 glibcxx_cv_func__fabsf_use=no
67045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67046 ac_ext=c
67047 ac_cpp='$CPP $CPPFLAGS'
67048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67057 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67059 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67060 for ac_func in _fabsf
67061 do :
67062 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67063 if test "x$ac_cv_func__fabsf" = x""yes; then :
67064 cat >>confdefs.h <<_ACEOF
67065 #define HAVE__FABSF 1
67066 _ACEOF
67069 done
67078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67079 $as_echo_n "checking for fmodf declaration... " >&6; }
67080 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67081 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67082 $as_echo_n "(cached) " >&6
67083 else
67086 ac_ext=cpp
67087 ac_cpp='$CXXCPP $CPPFLAGS'
67088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67093 /* end confdefs.h. */
67094 #include <math.h>
67096 main ()
67098 fmodf(0, 0);
67100 return 0;
67102 _ACEOF
67103 if ac_fn_cxx_try_compile "$LINENO"; then :
67104 glibcxx_cv_func_fmodf_use=yes
67105 else
67106 glibcxx_cv_func_fmodf_use=no
67108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67109 ac_ext=c
67110 ac_cpp='$CPP $CPPFLAGS'
67111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67120 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67122 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67123 for ac_func in fmodf
67124 do :
67125 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67126 if test "x$ac_cv_func_fmodf" = x""yes; then :
67127 cat >>confdefs.h <<_ACEOF
67128 #define HAVE_FMODF 1
67129 _ACEOF
67132 done
67134 else
67136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67137 $as_echo_n "checking for _fmodf declaration... " >&6; }
67138 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67139 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67140 $as_echo_n "(cached) " >&6
67141 else
67144 ac_ext=cpp
67145 ac_cpp='$CXXCPP $CPPFLAGS'
67146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67151 /* end confdefs.h. */
67152 #include <math.h>
67154 main ()
67156 _fmodf(0, 0);
67158 return 0;
67160 _ACEOF
67161 if ac_fn_cxx_try_compile "$LINENO"; then :
67162 glibcxx_cv_func__fmodf_use=yes
67163 else
67164 glibcxx_cv_func__fmodf_use=no
67166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67167 ac_ext=c
67168 ac_cpp='$CPP $CPPFLAGS'
67169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67178 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67180 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67181 for ac_func in _fmodf
67182 do :
67183 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67184 if test "x$ac_cv_func__fmodf" = x""yes; then :
67185 cat >>confdefs.h <<_ACEOF
67186 #define HAVE__FMODF 1
67187 _ACEOF
67190 done
67199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67200 $as_echo_n "checking for frexpf declaration... " >&6; }
67201 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67202 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67203 $as_echo_n "(cached) " >&6
67204 else
67207 ac_ext=cpp
67208 ac_cpp='$CXXCPP $CPPFLAGS'
67209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67214 /* end confdefs.h. */
67215 #include <math.h>
67217 main ()
67219 frexpf(0, 0);
67221 return 0;
67223 _ACEOF
67224 if ac_fn_cxx_try_compile "$LINENO"; then :
67225 glibcxx_cv_func_frexpf_use=yes
67226 else
67227 glibcxx_cv_func_frexpf_use=no
67229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67230 ac_ext=c
67231 ac_cpp='$CPP $CPPFLAGS'
67232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67241 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67243 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67244 for ac_func in frexpf
67245 do :
67246 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67247 if test "x$ac_cv_func_frexpf" = x""yes; then :
67248 cat >>confdefs.h <<_ACEOF
67249 #define HAVE_FREXPF 1
67250 _ACEOF
67253 done
67255 else
67257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67258 $as_echo_n "checking for _frexpf declaration... " >&6; }
67259 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67260 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67261 $as_echo_n "(cached) " >&6
67262 else
67265 ac_ext=cpp
67266 ac_cpp='$CXXCPP $CPPFLAGS'
67267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67272 /* end confdefs.h. */
67273 #include <math.h>
67275 main ()
67277 _frexpf(0, 0);
67279 return 0;
67281 _ACEOF
67282 if ac_fn_cxx_try_compile "$LINENO"; then :
67283 glibcxx_cv_func__frexpf_use=yes
67284 else
67285 glibcxx_cv_func__frexpf_use=no
67287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67288 ac_ext=c
67289 ac_cpp='$CPP $CPPFLAGS'
67290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67299 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67301 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67302 for ac_func in _frexpf
67303 do :
67304 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67305 if test "x$ac_cv_func__frexpf" = x""yes; then :
67306 cat >>confdefs.h <<_ACEOF
67307 #define HAVE__FREXPF 1
67308 _ACEOF
67311 done
67320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67321 $as_echo_n "checking for hypotf declaration... " >&6; }
67322 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67323 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67324 $as_echo_n "(cached) " >&6
67325 else
67328 ac_ext=cpp
67329 ac_cpp='$CXXCPP $CPPFLAGS'
67330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67335 /* end confdefs.h. */
67336 #include <math.h>
67338 main ()
67340 hypotf(0, 0);
67342 return 0;
67344 _ACEOF
67345 if ac_fn_cxx_try_compile "$LINENO"; then :
67346 glibcxx_cv_func_hypotf_use=yes
67347 else
67348 glibcxx_cv_func_hypotf_use=no
67350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67351 ac_ext=c
67352 ac_cpp='$CPP $CPPFLAGS'
67353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67362 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67364 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67365 for ac_func in hypotf
67366 do :
67367 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67368 if test "x$ac_cv_func_hypotf" = x""yes; then :
67369 cat >>confdefs.h <<_ACEOF
67370 #define HAVE_HYPOTF 1
67371 _ACEOF
67374 done
67376 else
67378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67379 $as_echo_n "checking for _hypotf declaration... " >&6; }
67380 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67381 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67382 $as_echo_n "(cached) " >&6
67383 else
67386 ac_ext=cpp
67387 ac_cpp='$CXXCPP $CPPFLAGS'
67388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67393 /* end confdefs.h. */
67394 #include <math.h>
67396 main ()
67398 _hypotf(0, 0);
67400 return 0;
67402 _ACEOF
67403 if ac_fn_cxx_try_compile "$LINENO"; then :
67404 glibcxx_cv_func__hypotf_use=yes
67405 else
67406 glibcxx_cv_func__hypotf_use=no
67408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67409 ac_ext=c
67410 ac_cpp='$CPP $CPPFLAGS'
67411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67420 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67422 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67423 for ac_func in _hypotf
67424 do :
67425 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67426 if test "x$ac_cv_func__hypotf" = x""yes; then :
67427 cat >>confdefs.h <<_ACEOF
67428 #define HAVE__HYPOTF 1
67429 _ACEOF
67432 done
67441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67442 $as_echo_n "checking for ldexpf declaration... " >&6; }
67443 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67444 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67445 $as_echo_n "(cached) " >&6
67446 else
67449 ac_ext=cpp
67450 ac_cpp='$CXXCPP $CPPFLAGS'
67451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67456 /* end confdefs.h. */
67457 #include <math.h>
67459 main ()
67461 ldexpf(0, 0);
67463 return 0;
67465 _ACEOF
67466 if ac_fn_cxx_try_compile "$LINENO"; then :
67467 glibcxx_cv_func_ldexpf_use=yes
67468 else
67469 glibcxx_cv_func_ldexpf_use=no
67471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67472 ac_ext=c
67473 ac_cpp='$CPP $CPPFLAGS'
67474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67483 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67485 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67486 for ac_func in ldexpf
67487 do :
67488 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67489 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67490 cat >>confdefs.h <<_ACEOF
67491 #define HAVE_LDEXPF 1
67492 _ACEOF
67495 done
67497 else
67499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67500 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67501 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67502 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67503 $as_echo_n "(cached) " >&6
67504 else
67507 ac_ext=cpp
67508 ac_cpp='$CXXCPP $CPPFLAGS'
67509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67514 /* end confdefs.h. */
67515 #include <math.h>
67517 main ()
67519 _ldexpf(0, 0);
67521 return 0;
67523 _ACEOF
67524 if ac_fn_cxx_try_compile "$LINENO"; then :
67525 glibcxx_cv_func__ldexpf_use=yes
67526 else
67527 glibcxx_cv_func__ldexpf_use=no
67529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67530 ac_ext=c
67531 ac_cpp='$CPP $CPPFLAGS'
67532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67541 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67543 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67544 for ac_func in _ldexpf
67545 do :
67546 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67547 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67548 cat >>confdefs.h <<_ACEOF
67549 #define HAVE__LDEXPF 1
67550 _ACEOF
67553 done
67562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67563 $as_echo_n "checking for logf declaration... " >&6; }
67564 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67565 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67566 $as_echo_n "(cached) " >&6
67567 else
67570 ac_ext=cpp
67571 ac_cpp='$CXXCPP $CPPFLAGS'
67572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67577 /* end confdefs.h. */
67578 #include <math.h>
67579 #ifdef HAVE_IEEEFP_H
67580 #include <ieeefp.h>
67581 #endif
67584 main ()
67586 logf(0);
67588 return 0;
67590 _ACEOF
67591 if ac_fn_cxx_try_compile "$LINENO"; then :
67592 glibcxx_cv_func_logf_use=yes
67593 else
67594 glibcxx_cv_func_logf_use=no
67596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67597 ac_ext=c
67598 ac_cpp='$CPP $CPPFLAGS'
67599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67608 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67610 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67611 for ac_func in logf
67612 do :
67613 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67614 if test "x$ac_cv_func_logf" = x""yes; then :
67615 cat >>confdefs.h <<_ACEOF
67616 #define HAVE_LOGF 1
67617 _ACEOF
67620 done
67622 else
67624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67625 $as_echo_n "checking for _logf declaration... " >&6; }
67626 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67627 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67628 $as_echo_n "(cached) " >&6
67629 else
67632 ac_ext=cpp
67633 ac_cpp='$CXXCPP $CPPFLAGS'
67634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67639 /* end confdefs.h. */
67640 #include <math.h>
67641 #ifdef HAVE_IEEEFP_H
67642 #include <ieeefp.h>
67643 #endif
67646 main ()
67648 _logf(0);
67650 return 0;
67652 _ACEOF
67653 if ac_fn_cxx_try_compile "$LINENO"; then :
67654 glibcxx_cv_func__logf_use=yes
67655 else
67656 glibcxx_cv_func__logf_use=no
67658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67659 ac_ext=c
67660 ac_cpp='$CPP $CPPFLAGS'
67661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67670 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67672 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67673 for ac_func in _logf
67674 do :
67675 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67676 if test "x$ac_cv_func__logf" = x""yes; then :
67677 cat >>confdefs.h <<_ACEOF
67678 #define HAVE__LOGF 1
67679 _ACEOF
67682 done
67691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67692 $as_echo_n "checking for log10f declaration... " >&6; }
67693 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67694 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67695 $as_echo_n "(cached) " >&6
67696 else
67699 ac_ext=cpp
67700 ac_cpp='$CXXCPP $CPPFLAGS'
67701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67706 /* end confdefs.h. */
67707 #include <math.h>
67708 #ifdef HAVE_IEEEFP_H
67709 #include <ieeefp.h>
67710 #endif
67713 main ()
67715 log10f(0);
67717 return 0;
67719 _ACEOF
67720 if ac_fn_cxx_try_compile "$LINENO"; then :
67721 glibcxx_cv_func_log10f_use=yes
67722 else
67723 glibcxx_cv_func_log10f_use=no
67725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67726 ac_ext=c
67727 ac_cpp='$CPP $CPPFLAGS'
67728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67737 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67739 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67740 for ac_func in log10f
67741 do :
67742 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67743 if test "x$ac_cv_func_log10f" = x""yes; then :
67744 cat >>confdefs.h <<_ACEOF
67745 #define HAVE_LOG10F 1
67746 _ACEOF
67749 done
67751 else
67753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67754 $as_echo_n "checking for _log10f declaration... " >&6; }
67755 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67756 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67757 $as_echo_n "(cached) " >&6
67758 else
67761 ac_ext=cpp
67762 ac_cpp='$CXXCPP $CPPFLAGS'
67763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67768 /* end confdefs.h. */
67769 #include <math.h>
67770 #ifdef HAVE_IEEEFP_H
67771 #include <ieeefp.h>
67772 #endif
67775 main ()
67777 _log10f(0);
67779 return 0;
67781 _ACEOF
67782 if ac_fn_cxx_try_compile "$LINENO"; then :
67783 glibcxx_cv_func__log10f_use=yes
67784 else
67785 glibcxx_cv_func__log10f_use=no
67787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67788 ac_ext=c
67789 ac_cpp='$CPP $CPPFLAGS'
67790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67799 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67801 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67802 for ac_func in _log10f
67803 do :
67804 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67805 if test "x$ac_cv_func__log10f" = x""yes; then :
67806 cat >>confdefs.h <<_ACEOF
67807 #define HAVE__LOG10F 1
67808 _ACEOF
67811 done
67820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67821 $as_echo_n "checking for modff declaration... " >&6; }
67822 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67823 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67824 $as_echo_n "(cached) " >&6
67825 else
67828 ac_ext=cpp
67829 ac_cpp='$CXXCPP $CPPFLAGS'
67830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67835 /* end confdefs.h. */
67836 #include <math.h>
67838 main ()
67840 modff(0, 0);
67842 return 0;
67844 _ACEOF
67845 if ac_fn_cxx_try_compile "$LINENO"; then :
67846 glibcxx_cv_func_modff_use=yes
67847 else
67848 glibcxx_cv_func_modff_use=no
67850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67851 ac_ext=c
67852 ac_cpp='$CPP $CPPFLAGS'
67853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67862 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67864 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67865 for ac_func in modff
67866 do :
67867 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67868 if test "x$ac_cv_func_modff" = x""yes; then :
67869 cat >>confdefs.h <<_ACEOF
67870 #define HAVE_MODFF 1
67871 _ACEOF
67874 done
67876 else
67878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67879 $as_echo_n "checking for _modff declaration... " >&6; }
67880 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67881 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67882 $as_echo_n "(cached) " >&6
67883 else
67886 ac_ext=cpp
67887 ac_cpp='$CXXCPP $CPPFLAGS'
67888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67893 /* end confdefs.h. */
67894 #include <math.h>
67896 main ()
67898 _modff(0, 0);
67900 return 0;
67902 _ACEOF
67903 if ac_fn_cxx_try_compile "$LINENO"; then :
67904 glibcxx_cv_func__modff_use=yes
67905 else
67906 glibcxx_cv_func__modff_use=no
67908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67909 ac_ext=c
67910 ac_cpp='$CPP $CPPFLAGS'
67911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67920 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67922 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67923 for ac_func in _modff
67924 do :
67925 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67926 if test "x$ac_cv_func__modff" = x""yes; then :
67927 cat >>confdefs.h <<_ACEOF
67928 #define HAVE__MODFF 1
67929 _ACEOF
67932 done
67941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67942 $as_echo_n "checking for modf declaration... " >&6; }
67943 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67944 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67945 $as_echo_n "(cached) " >&6
67946 else
67949 ac_ext=cpp
67950 ac_cpp='$CXXCPP $CPPFLAGS'
67951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67956 /* end confdefs.h. */
67957 #include <math.h>
67959 main ()
67961 modf(0, 0);
67963 return 0;
67965 _ACEOF
67966 if ac_fn_cxx_try_compile "$LINENO"; then :
67967 glibcxx_cv_func_modf_use=yes
67968 else
67969 glibcxx_cv_func_modf_use=no
67971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67972 ac_ext=c
67973 ac_cpp='$CPP $CPPFLAGS'
67974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67983 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67985 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67986 for ac_func in modf
67987 do :
67988 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67989 if test "x$ac_cv_func_modf" = x""yes; then :
67990 cat >>confdefs.h <<_ACEOF
67991 #define HAVE_MODF 1
67992 _ACEOF
67995 done
67997 else
67999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68000 $as_echo_n "checking for _modf declaration... " >&6; }
68001 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68002 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68003 $as_echo_n "(cached) " >&6
68004 else
68007 ac_ext=cpp
68008 ac_cpp='$CXXCPP $CPPFLAGS'
68009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68014 /* end confdefs.h. */
68015 #include <math.h>
68017 main ()
68019 _modf(0, 0);
68021 return 0;
68023 _ACEOF
68024 if ac_fn_cxx_try_compile "$LINENO"; then :
68025 glibcxx_cv_func__modf_use=yes
68026 else
68027 glibcxx_cv_func__modf_use=no
68029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68030 ac_ext=c
68031 ac_cpp='$CPP $CPPFLAGS'
68032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68041 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68043 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68044 for ac_func in _modf
68045 do :
68046 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68047 if test "x$ac_cv_func__modf" = x""yes; then :
68048 cat >>confdefs.h <<_ACEOF
68049 #define HAVE__MODF 1
68050 _ACEOF
68053 done
68062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68063 $as_echo_n "checking for powf declaration... " >&6; }
68064 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68065 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68066 $as_echo_n "(cached) " >&6
68067 else
68070 ac_ext=cpp
68071 ac_cpp='$CXXCPP $CPPFLAGS'
68072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68077 /* end confdefs.h. */
68078 #include <math.h>
68080 main ()
68082 powf(0, 0);
68084 return 0;
68086 _ACEOF
68087 if ac_fn_cxx_try_compile "$LINENO"; then :
68088 glibcxx_cv_func_powf_use=yes
68089 else
68090 glibcxx_cv_func_powf_use=no
68092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68093 ac_ext=c
68094 ac_cpp='$CPP $CPPFLAGS'
68095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68104 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68106 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68107 for ac_func in powf
68108 do :
68109 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68110 if test "x$ac_cv_func_powf" = x""yes; then :
68111 cat >>confdefs.h <<_ACEOF
68112 #define HAVE_POWF 1
68113 _ACEOF
68116 done
68118 else
68120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68121 $as_echo_n "checking for _powf declaration... " >&6; }
68122 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68123 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68124 $as_echo_n "(cached) " >&6
68125 else
68128 ac_ext=cpp
68129 ac_cpp='$CXXCPP $CPPFLAGS'
68130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68135 /* end confdefs.h. */
68136 #include <math.h>
68138 main ()
68140 _powf(0, 0);
68142 return 0;
68144 _ACEOF
68145 if ac_fn_cxx_try_compile "$LINENO"; then :
68146 glibcxx_cv_func__powf_use=yes
68147 else
68148 glibcxx_cv_func__powf_use=no
68150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68151 ac_ext=c
68152 ac_cpp='$CPP $CPPFLAGS'
68153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68162 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68164 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68165 for ac_func in _powf
68166 do :
68167 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68168 if test "x$ac_cv_func__powf" = x""yes; then :
68169 cat >>confdefs.h <<_ACEOF
68170 #define HAVE__POWF 1
68171 _ACEOF
68174 done
68183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68184 $as_echo_n "checking for sqrtf declaration... " >&6; }
68185 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68186 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68187 $as_echo_n "(cached) " >&6
68188 else
68191 ac_ext=cpp
68192 ac_cpp='$CXXCPP $CPPFLAGS'
68193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68198 /* end confdefs.h. */
68199 #include <math.h>
68200 #ifdef HAVE_IEEEFP_H
68201 #include <ieeefp.h>
68202 #endif
68205 main ()
68207 sqrtf(0);
68209 return 0;
68211 _ACEOF
68212 if ac_fn_cxx_try_compile "$LINENO"; then :
68213 glibcxx_cv_func_sqrtf_use=yes
68214 else
68215 glibcxx_cv_func_sqrtf_use=no
68217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68218 ac_ext=c
68219 ac_cpp='$CPP $CPPFLAGS'
68220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68229 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68231 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68232 for ac_func in sqrtf
68233 do :
68234 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68235 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68236 cat >>confdefs.h <<_ACEOF
68237 #define HAVE_SQRTF 1
68238 _ACEOF
68241 done
68243 else
68245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68246 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68247 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68248 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68249 $as_echo_n "(cached) " >&6
68250 else
68253 ac_ext=cpp
68254 ac_cpp='$CXXCPP $CPPFLAGS'
68255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68260 /* end confdefs.h. */
68261 #include <math.h>
68262 #ifdef HAVE_IEEEFP_H
68263 #include <ieeefp.h>
68264 #endif
68267 main ()
68269 _sqrtf(0);
68271 return 0;
68273 _ACEOF
68274 if ac_fn_cxx_try_compile "$LINENO"; then :
68275 glibcxx_cv_func__sqrtf_use=yes
68276 else
68277 glibcxx_cv_func__sqrtf_use=no
68279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68280 ac_ext=c
68281 ac_cpp='$CPP $CPPFLAGS'
68282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68291 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68293 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68294 for ac_func in _sqrtf
68295 do :
68296 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68297 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68298 cat >>confdefs.h <<_ACEOF
68299 #define HAVE__SQRTF 1
68300 _ACEOF
68303 done
68312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68313 $as_echo_n "checking for sincosf declaration... " >&6; }
68314 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68315 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68316 $as_echo_n "(cached) " >&6
68317 else
68320 ac_ext=cpp
68321 ac_cpp='$CXXCPP $CPPFLAGS'
68322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68327 /* end confdefs.h. */
68328 #include <math.h>
68330 main ()
68332 sincosf(0, 0, 0);
68334 return 0;
68336 _ACEOF
68337 if ac_fn_cxx_try_compile "$LINENO"; then :
68338 glibcxx_cv_func_sincosf_use=yes
68339 else
68340 glibcxx_cv_func_sincosf_use=no
68342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68343 ac_ext=c
68344 ac_cpp='$CPP $CPPFLAGS'
68345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68354 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68356 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68357 for ac_func in sincosf
68358 do :
68359 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68360 if test "x$ac_cv_func_sincosf" = x""yes; then :
68361 cat >>confdefs.h <<_ACEOF
68362 #define HAVE_SINCOSF 1
68363 _ACEOF
68366 done
68368 else
68370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68371 $as_echo_n "checking for _sincosf declaration... " >&6; }
68372 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68373 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68374 $as_echo_n "(cached) " >&6
68375 else
68378 ac_ext=cpp
68379 ac_cpp='$CXXCPP $CPPFLAGS'
68380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68385 /* end confdefs.h. */
68386 #include <math.h>
68388 main ()
68390 _sincosf(0, 0, 0);
68392 return 0;
68394 _ACEOF
68395 if ac_fn_cxx_try_compile "$LINENO"; then :
68396 glibcxx_cv_func__sincosf_use=yes
68397 else
68398 glibcxx_cv_func__sincosf_use=no
68400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68401 ac_ext=c
68402 ac_cpp='$CPP $CPPFLAGS'
68403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68412 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68414 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68415 for ac_func in _sincosf
68416 do :
68417 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68418 if test "x$ac_cv_func__sincosf" = x""yes; then :
68419 cat >>confdefs.h <<_ACEOF
68420 #define HAVE__SINCOSF 1
68421 _ACEOF
68424 done
68433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68434 $as_echo_n "checking for finitef declaration... " >&6; }
68435 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68436 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68437 $as_echo_n "(cached) " >&6
68438 else
68441 ac_ext=cpp
68442 ac_cpp='$CXXCPP $CPPFLAGS'
68443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68448 /* end confdefs.h. */
68449 #include <math.h>
68450 #ifdef HAVE_IEEEFP_H
68451 #include <ieeefp.h>
68452 #endif
68455 main ()
68457 finitef(0);
68459 return 0;
68461 _ACEOF
68462 if ac_fn_cxx_try_compile "$LINENO"; then :
68463 glibcxx_cv_func_finitef_use=yes
68464 else
68465 glibcxx_cv_func_finitef_use=no
68467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68468 ac_ext=c
68469 ac_cpp='$CPP $CPPFLAGS'
68470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68479 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68481 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68482 for ac_func in finitef
68483 do :
68484 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68485 if test "x$ac_cv_func_finitef" = x""yes; then :
68486 cat >>confdefs.h <<_ACEOF
68487 #define HAVE_FINITEF 1
68488 _ACEOF
68491 done
68493 else
68495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68496 $as_echo_n "checking for _finitef declaration... " >&6; }
68497 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68498 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68499 $as_echo_n "(cached) " >&6
68500 else
68503 ac_ext=cpp
68504 ac_cpp='$CXXCPP $CPPFLAGS'
68505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68510 /* end confdefs.h. */
68511 #include <math.h>
68512 #ifdef HAVE_IEEEFP_H
68513 #include <ieeefp.h>
68514 #endif
68517 main ()
68519 _finitef(0);
68521 return 0;
68523 _ACEOF
68524 if ac_fn_cxx_try_compile "$LINENO"; then :
68525 glibcxx_cv_func__finitef_use=yes
68526 else
68527 glibcxx_cv_func__finitef_use=no
68529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68530 ac_ext=c
68531 ac_cpp='$CPP $CPPFLAGS'
68532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68541 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68543 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68544 for ac_func in _finitef
68545 do :
68546 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68547 if test "x$ac_cv_func__finitef" = x""yes; then :
68548 cat >>confdefs.h <<_ACEOF
68549 #define HAVE__FINITEF 1
68550 _ACEOF
68553 done
68562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68563 $as_echo_n "checking for long double trig functions... " >&6; }
68564 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68565 $as_echo_n "(cached) " >&6
68566 else
68569 ac_ext=cpp
68570 ac_cpp='$CXXCPP $CPPFLAGS'
68571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68576 /* end confdefs.h. */
68577 #include <math.h>
68579 main ()
68581 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68583 return 0;
68585 _ACEOF
68586 if ac_fn_cxx_try_compile "$LINENO"; then :
68587 glibcxx_cv_func_long_double_trig_use=yes
68588 else
68589 glibcxx_cv_func_long_double_trig_use=no
68591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68592 ac_ext=c
68593 ac_cpp='$CPP $CPPFLAGS'
68594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68601 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68602 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68603 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68604 do :
68605 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68606 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68607 eval as_val=\$$as_ac_var
68608 if test "x$as_val" = x""yes; then :
68609 cat >>confdefs.h <<_ACEOF
68610 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68611 _ACEOF
68614 done
68616 else
68617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68618 $as_echo_n "checking for _long double trig functions... " >&6; }
68619 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68620 $as_echo_n "(cached) " >&6
68621 else
68624 ac_ext=cpp
68625 ac_cpp='$CXXCPP $CPPFLAGS'
68626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68631 /* end confdefs.h. */
68632 #include <math.h>
68634 main ()
68636 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68638 return 0;
68640 _ACEOF
68641 if ac_fn_cxx_try_compile "$LINENO"; then :
68642 glibcxx_cv_func__long_double_trig_use=yes
68643 else
68644 glibcxx_cv_func__long_double_trig_use=no
68646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68647 ac_ext=c
68648 ac_cpp='$CPP $CPPFLAGS'
68649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68656 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68657 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68658 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68659 do :
68660 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68661 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68662 eval as_val=\$$as_ac_var
68663 if test "x$as_val" = x""yes; then :
68664 cat >>confdefs.h <<_ACEOF
68665 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68666 _ACEOF
68669 done
68678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68679 $as_echo_n "checking for long double round functions... " >&6; }
68680 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68681 $as_echo_n "(cached) " >&6
68682 else
68685 ac_ext=cpp
68686 ac_cpp='$CXXCPP $CPPFLAGS'
68687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68692 /* end confdefs.h. */
68693 #include <math.h>
68695 main ()
68697 ceill (0); floorl (0);
68699 return 0;
68701 _ACEOF
68702 if ac_fn_cxx_try_compile "$LINENO"; then :
68703 glibcxx_cv_func_long_double_round_use=yes
68704 else
68705 glibcxx_cv_func_long_double_round_use=no
68707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68708 ac_ext=c
68709 ac_cpp='$CPP $CPPFLAGS'
68710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68717 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68718 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68719 for ac_func in ceill floorl
68720 do :
68721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68723 eval as_val=\$$as_ac_var
68724 if test "x$as_val" = x""yes; then :
68725 cat >>confdefs.h <<_ACEOF
68726 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68727 _ACEOF
68730 done
68732 else
68733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68734 $as_echo_n "checking for _long double round functions... " >&6; }
68735 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68736 $as_echo_n "(cached) " >&6
68737 else
68740 ac_ext=cpp
68741 ac_cpp='$CXXCPP $CPPFLAGS'
68742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68747 /* end confdefs.h. */
68748 #include <math.h>
68750 main ()
68752 _ceill (0); _floorl (0);
68754 return 0;
68756 _ACEOF
68757 if ac_fn_cxx_try_compile "$LINENO"; then :
68758 glibcxx_cv_func__long_double_round_use=yes
68759 else
68760 glibcxx_cv_func__long_double_round_use=no
68762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68763 ac_ext=c
68764 ac_cpp='$CPP $CPPFLAGS'
68765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68772 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68773 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68774 for ac_func in _ceill _floorl
68775 do :
68776 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68777 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68778 eval as_val=\$$as_ac_var
68779 if test "x$as_val" = x""yes; then :
68780 cat >>confdefs.h <<_ACEOF
68781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68782 _ACEOF
68785 done
68795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68796 $as_echo_n "checking for isnanl declaration... " >&6; }
68797 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68798 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68799 $as_echo_n "(cached) " >&6
68800 else
68803 ac_ext=cpp
68804 ac_cpp='$CXXCPP $CPPFLAGS'
68805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68810 /* end confdefs.h. */
68811 #include <math.h>
68812 #ifdef HAVE_IEEEFP_H
68813 #include <ieeefp.h>
68814 #endif
68817 main ()
68819 isnanl(0);
68821 return 0;
68823 _ACEOF
68824 if ac_fn_cxx_try_compile "$LINENO"; then :
68825 glibcxx_cv_func_isnanl_use=yes
68826 else
68827 glibcxx_cv_func_isnanl_use=no
68829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68830 ac_ext=c
68831 ac_cpp='$CPP $CPPFLAGS'
68832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68841 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68843 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68844 for ac_func in isnanl
68845 do :
68846 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68847 if test "x$ac_cv_func_isnanl" = x""yes; then :
68848 cat >>confdefs.h <<_ACEOF
68849 #define HAVE_ISNANL 1
68850 _ACEOF
68853 done
68855 else
68857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68858 $as_echo_n "checking for _isnanl declaration... " >&6; }
68859 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68860 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68861 $as_echo_n "(cached) " >&6
68862 else
68865 ac_ext=cpp
68866 ac_cpp='$CXXCPP $CPPFLAGS'
68867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68872 /* end confdefs.h. */
68873 #include <math.h>
68874 #ifdef HAVE_IEEEFP_H
68875 #include <ieeefp.h>
68876 #endif
68879 main ()
68881 _isnanl(0);
68883 return 0;
68885 _ACEOF
68886 if ac_fn_cxx_try_compile "$LINENO"; then :
68887 glibcxx_cv_func__isnanl_use=yes
68888 else
68889 glibcxx_cv_func__isnanl_use=no
68891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68892 ac_ext=c
68893 ac_cpp='$CPP $CPPFLAGS'
68894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68903 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68905 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68906 for ac_func in _isnanl
68907 do :
68908 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68909 if test "x$ac_cv_func__isnanl" = x""yes; then :
68910 cat >>confdefs.h <<_ACEOF
68911 #define HAVE__ISNANL 1
68912 _ACEOF
68915 done
68924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68925 $as_echo_n "checking for isinfl declaration... " >&6; }
68926 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68927 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68928 $as_echo_n "(cached) " >&6
68929 else
68932 ac_ext=cpp
68933 ac_cpp='$CXXCPP $CPPFLAGS'
68934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68939 /* end confdefs.h. */
68940 #include <math.h>
68941 #ifdef HAVE_IEEEFP_H
68942 #include <ieeefp.h>
68943 #endif
68946 main ()
68948 isinfl(0);
68950 return 0;
68952 _ACEOF
68953 if ac_fn_cxx_try_compile "$LINENO"; then :
68954 glibcxx_cv_func_isinfl_use=yes
68955 else
68956 glibcxx_cv_func_isinfl_use=no
68958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68959 ac_ext=c
68960 ac_cpp='$CPP $CPPFLAGS'
68961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68970 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68972 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68973 for ac_func in isinfl
68974 do :
68975 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68976 if test "x$ac_cv_func_isinfl" = x""yes; then :
68977 cat >>confdefs.h <<_ACEOF
68978 #define HAVE_ISINFL 1
68979 _ACEOF
68982 done
68984 else
68986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68987 $as_echo_n "checking for _isinfl declaration... " >&6; }
68988 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68989 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68990 $as_echo_n "(cached) " >&6
68991 else
68994 ac_ext=cpp
68995 ac_cpp='$CXXCPP $CPPFLAGS'
68996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69001 /* end confdefs.h. */
69002 #include <math.h>
69003 #ifdef HAVE_IEEEFP_H
69004 #include <ieeefp.h>
69005 #endif
69008 main ()
69010 _isinfl(0);
69012 return 0;
69014 _ACEOF
69015 if ac_fn_cxx_try_compile "$LINENO"; then :
69016 glibcxx_cv_func__isinfl_use=yes
69017 else
69018 glibcxx_cv_func__isinfl_use=no
69020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69021 ac_ext=c
69022 ac_cpp='$CPP $CPPFLAGS'
69023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69032 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69034 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69035 for ac_func in _isinfl
69036 do :
69037 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69038 if test "x$ac_cv_func__isinfl" = x""yes; then :
69039 cat >>confdefs.h <<_ACEOF
69040 #define HAVE__ISINFL 1
69041 _ACEOF
69044 done
69053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69054 $as_echo_n "checking for atan2l declaration... " >&6; }
69055 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69056 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69057 $as_echo_n "(cached) " >&6
69058 else
69061 ac_ext=cpp
69062 ac_cpp='$CXXCPP $CPPFLAGS'
69063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69068 /* end confdefs.h. */
69069 #include <math.h>
69071 main ()
69073 atan2l(0, 0);
69075 return 0;
69077 _ACEOF
69078 if ac_fn_cxx_try_compile "$LINENO"; then :
69079 glibcxx_cv_func_atan2l_use=yes
69080 else
69081 glibcxx_cv_func_atan2l_use=no
69083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69084 ac_ext=c
69085 ac_cpp='$CPP $CPPFLAGS'
69086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69095 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69097 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69098 for ac_func in atan2l
69099 do :
69100 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69101 if test "x$ac_cv_func_atan2l" = x""yes; then :
69102 cat >>confdefs.h <<_ACEOF
69103 #define HAVE_ATAN2L 1
69104 _ACEOF
69107 done
69109 else
69111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69112 $as_echo_n "checking for _atan2l declaration... " >&6; }
69113 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69114 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69115 $as_echo_n "(cached) " >&6
69116 else
69119 ac_ext=cpp
69120 ac_cpp='$CXXCPP $CPPFLAGS'
69121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69126 /* end confdefs.h. */
69127 #include <math.h>
69129 main ()
69131 _atan2l(0, 0);
69133 return 0;
69135 _ACEOF
69136 if ac_fn_cxx_try_compile "$LINENO"; then :
69137 glibcxx_cv_func__atan2l_use=yes
69138 else
69139 glibcxx_cv_func__atan2l_use=no
69141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69142 ac_ext=c
69143 ac_cpp='$CPP $CPPFLAGS'
69144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69153 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69155 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69156 for ac_func in _atan2l
69157 do :
69158 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69159 if test "x$ac_cv_func__atan2l" = x""yes; then :
69160 cat >>confdefs.h <<_ACEOF
69161 #define HAVE__ATAN2L 1
69162 _ACEOF
69165 done
69174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69175 $as_echo_n "checking for expl declaration... " >&6; }
69176 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69177 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69178 $as_echo_n "(cached) " >&6
69179 else
69182 ac_ext=cpp
69183 ac_cpp='$CXXCPP $CPPFLAGS'
69184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69189 /* end confdefs.h. */
69190 #include <math.h>
69191 #ifdef HAVE_IEEEFP_H
69192 #include <ieeefp.h>
69193 #endif
69196 main ()
69198 expl(0);
69200 return 0;
69202 _ACEOF
69203 if ac_fn_cxx_try_compile "$LINENO"; then :
69204 glibcxx_cv_func_expl_use=yes
69205 else
69206 glibcxx_cv_func_expl_use=no
69208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69209 ac_ext=c
69210 ac_cpp='$CPP $CPPFLAGS'
69211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69220 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69222 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69223 for ac_func in expl
69224 do :
69225 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69226 if test "x$ac_cv_func_expl" = x""yes; then :
69227 cat >>confdefs.h <<_ACEOF
69228 #define HAVE_EXPL 1
69229 _ACEOF
69232 done
69234 else
69236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69237 $as_echo_n "checking for _expl declaration... " >&6; }
69238 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69239 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69240 $as_echo_n "(cached) " >&6
69241 else
69244 ac_ext=cpp
69245 ac_cpp='$CXXCPP $CPPFLAGS'
69246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69251 /* end confdefs.h. */
69252 #include <math.h>
69253 #ifdef HAVE_IEEEFP_H
69254 #include <ieeefp.h>
69255 #endif
69258 main ()
69260 _expl(0);
69262 return 0;
69264 _ACEOF
69265 if ac_fn_cxx_try_compile "$LINENO"; then :
69266 glibcxx_cv_func__expl_use=yes
69267 else
69268 glibcxx_cv_func__expl_use=no
69270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69271 ac_ext=c
69272 ac_cpp='$CPP $CPPFLAGS'
69273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69282 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69284 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69285 for ac_func in _expl
69286 do :
69287 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69288 if test "x$ac_cv_func__expl" = x""yes; then :
69289 cat >>confdefs.h <<_ACEOF
69290 #define HAVE__EXPL 1
69291 _ACEOF
69294 done
69303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69304 $as_echo_n "checking for fabsl declaration... " >&6; }
69305 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69306 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69307 $as_echo_n "(cached) " >&6
69308 else
69311 ac_ext=cpp
69312 ac_cpp='$CXXCPP $CPPFLAGS'
69313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69318 /* end confdefs.h. */
69319 #include <math.h>
69320 #ifdef HAVE_IEEEFP_H
69321 #include <ieeefp.h>
69322 #endif
69325 main ()
69327 fabsl(0);
69329 return 0;
69331 _ACEOF
69332 if ac_fn_cxx_try_compile "$LINENO"; then :
69333 glibcxx_cv_func_fabsl_use=yes
69334 else
69335 glibcxx_cv_func_fabsl_use=no
69337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69338 ac_ext=c
69339 ac_cpp='$CPP $CPPFLAGS'
69340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69349 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69351 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69352 for ac_func in fabsl
69353 do :
69354 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69355 if test "x$ac_cv_func_fabsl" = x""yes; then :
69356 cat >>confdefs.h <<_ACEOF
69357 #define HAVE_FABSL 1
69358 _ACEOF
69361 done
69363 else
69365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69366 $as_echo_n "checking for _fabsl declaration... " >&6; }
69367 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69368 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69369 $as_echo_n "(cached) " >&6
69370 else
69373 ac_ext=cpp
69374 ac_cpp='$CXXCPP $CPPFLAGS'
69375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69380 /* end confdefs.h. */
69381 #include <math.h>
69382 #ifdef HAVE_IEEEFP_H
69383 #include <ieeefp.h>
69384 #endif
69387 main ()
69389 _fabsl(0);
69391 return 0;
69393 _ACEOF
69394 if ac_fn_cxx_try_compile "$LINENO"; then :
69395 glibcxx_cv_func__fabsl_use=yes
69396 else
69397 glibcxx_cv_func__fabsl_use=no
69399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69400 ac_ext=c
69401 ac_cpp='$CPP $CPPFLAGS'
69402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69411 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69413 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69414 for ac_func in _fabsl
69415 do :
69416 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69417 if test "x$ac_cv_func__fabsl" = x""yes; then :
69418 cat >>confdefs.h <<_ACEOF
69419 #define HAVE__FABSL 1
69420 _ACEOF
69423 done
69432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69433 $as_echo_n "checking for fmodl declaration... " >&6; }
69434 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69435 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69436 $as_echo_n "(cached) " >&6
69437 else
69440 ac_ext=cpp
69441 ac_cpp='$CXXCPP $CPPFLAGS'
69442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69447 /* end confdefs.h. */
69448 #include <math.h>
69450 main ()
69452 fmodl(0, 0);
69454 return 0;
69456 _ACEOF
69457 if ac_fn_cxx_try_compile "$LINENO"; then :
69458 glibcxx_cv_func_fmodl_use=yes
69459 else
69460 glibcxx_cv_func_fmodl_use=no
69462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69463 ac_ext=c
69464 ac_cpp='$CPP $CPPFLAGS'
69465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69474 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69476 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69477 for ac_func in fmodl
69478 do :
69479 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69480 if test "x$ac_cv_func_fmodl" = x""yes; then :
69481 cat >>confdefs.h <<_ACEOF
69482 #define HAVE_FMODL 1
69483 _ACEOF
69486 done
69488 else
69490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69491 $as_echo_n "checking for _fmodl declaration... " >&6; }
69492 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69493 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69494 $as_echo_n "(cached) " >&6
69495 else
69498 ac_ext=cpp
69499 ac_cpp='$CXXCPP $CPPFLAGS'
69500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69505 /* end confdefs.h. */
69506 #include <math.h>
69508 main ()
69510 _fmodl(0, 0);
69512 return 0;
69514 _ACEOF
69515 if ac_fn_cxx_try_compile "$LINENO"; then :
69516 glibcxx_cv_func__fmodl_use=yes
69517 else
69518 glibcxx_cv_func__fmodl_use=no
69520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69521 ac_ext=c
69522 ac_cpp='$CPP $CPPFLAGS'
69523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69532 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69534 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69535 for ac_func in _fmodl
69536 do :
69537 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69538 if test "x$ac_cv_func__fmodl" = x""yes; then :
69539 cat >>confdefs.h <<_ACEOF
69540 #define HAVE__FMODL 1
69541 _ACEOF
69544 done
69553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69554 $as_echo_n "checking for frexpl declaration... " >&6; }
69555 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69556 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69557 $as_echo_n "(cached) " >&6
69558 else
69561 ac_ext=cpp
69562 ac_cpp='$CXXCPP $CPPFLAGS'
69563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69568 /* end confdefs.h. */
69569 #include <math.h>
69571 main ()
69573 frexpl(0, 0);
69575 return 0;
69577 _ACEOF
69578 if ac_fn_cxx_try_compile "$LINENO"; then :
69579 glibcxx_cv_func_frexpl_use=yes
69580 else
69581 glibcxx_cv_func_frexpl_use=no
69583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69584 ac_ext=c
69585 ac_cpp='$CPP $CPPFLAGS'
69586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69595 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69597 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69598 for ac_func in frexpl
69599 do :
69600 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69601 if test "x$ac_cv_func_frexpl" = x""yes; then :
69602 cat >>confdefs.h <<_ACEOF
69603 #define HAVE_FREXPL 1
69604 _ACEOF
69607 done
69609 else
69611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69612 $as_echo_n "checking for _frexpl declaration... " >&6; }
69613 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69614 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69615 $as_echo_n "(cached) " >&6
69616 else
69619 ac_ext=cpp
69620 ac_cpp='$CXXCPP $CPPFLAGS'
69621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69626 /* end confdefs.h. */
69627 #include <math.h>
69629 main ()
69631 _frexpl(0, 0);
69633 return 0;
69635 _ACEOF
69636 if ac_fn_cxx_try_compile "$LINENO"; then :
69637 glibcxx_cv_func__frexpl_use=yes
69638 else
69639 glibcxx_cv_func__frexpl_use=no
69641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69642 ac_ext=c
69643 ac_cpp='$CPP $CPPFLAGS'
69644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69653 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69655 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69656 for ac_func in _frexpl
69657 do :
69658 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69659 if test "x$ac_cv_func__frexpl" = x""yes; then :
69660 cat >>confdefs.h <<_ACEOF
69661 #define HAVE__FREXPL 1
69662 _ACEOF
69665 done
69674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69675 $as_echo_n "checking for hypotl declaration... " >&6; }
69676 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69677 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69678 $as_echo_n "(cached) " >&6
69679 else
69682 ac_ext=cpp
69683 ac_cpp='$CXXCPP $CPPFLAGS'
69684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69689 /* end confdefs.h. */
69690 #include <math.h>
69692 main ()
69694 hypotl(0, 0);
69696 return 0;
69698 _ACEOF
69699 if ac_fn_cxx_try_compile "$LINENO"; then :
69700 glibcxx_cv_func_hypotl_use=yes
69701 else
69702 glibcxx_cv_func_hypotl_use=no
69704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69705 ac_ext=c
69706 ac_cpp='$CPP $CPPFLAGS'
69707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69716 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69718 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69719 for ac_func in hypotl
69720 do :
69721 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69722 if test "x$ac_cv_func_hypotl" = x""yes; then :
69723 cat >>confdefs.h <<_ACEOF
69724 #define HAVE_HYPOTL 1
69725 _ACEOF
69728 done
69730 else
69732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69733 $as_echo_n "checking for _hypotl declaration... " >&6; }
69734 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69735 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69736 $as_echo_n "(cached) " >&6
69737 else
69740 ac_ext=cpp
69741 ac_cpp='$CXXCPP $CPPFLAGS'
69742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69747 /* end confdefs.h. */
69748 #include <math.h>
69750 main ()
69752 _hypotl(0, 0);
69754 return 0;
69756 _ACEOF
69757 if ac_fn_cxx_try_compile "$LINENO"; then :
69758 glibcxx_cv_func__hypotl_use=yes
69759 else
69760 glibcxx_cv_func__hypotl_use=no
69762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69763 ac_ext=c
69764 ac_cpp='$CPP $CPPFLAGS'
69765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69774 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69776 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69777 for ac_func in _hypotl
69778 do :
69779 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69780 if test "x$ac_cv_func__hypotl" = x""yes; then :
69781 cat >>confdefs.h <<_ACEOF
69782 #define HAVE__HYPOTL 1
69783 _ACEOF
69786 done
69795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69796 $as_echo_n "checking for ldexpl declaration... " >&6; }
69797 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69798 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69799 $as_echo_n "(cached) " >&6
69800 else
69803 ac_ext=cpp
69804 ac_cpp='$CXXCPP $CPPFLAGS'
69805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69810 /* end confdefs.h. */
69811 #include <math.h>
69813 main ()
69815 ldexpl(0, 0);
69817 return 0;
69819 _ACEOF
69820 if ac_fn_cxx_try_compile "$LINENO"; then :
69821 glibcxx_cv_func_ldexpl_use=yes
69822 else
69823 glibcxx_cv_func_ldexpl_use=no
69825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69826 ac_ext=c
69827 ac_cpp='$CPP $CPPFLAGS'
69828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69837 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69839 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69840 for ac_func in ldexpl
69841 do :
69842 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69843 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69844 cat >>confdefs.h <<_ACEOF
69845 #define HAVE_LDEXPL 1
69846 _ACEOF
69849 done
69851 else
69853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69854 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69855 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69856 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69857 $as_echo_n "(cached) " >&6
69858 else
69861 ac_ext=cpp
69862 ac_cpp='$CXXCPP $CPPFLAGS'
69863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69868 /* end confdefs.h. */
69869 #include <math.h>
69871 main ()
69873 _ldexpl(0, 0);
69875 return 0;
69877 _ACEOF
69878 if ac_fn_cxx_try_compile "$LINENO"; then :
69879 glibcxx_cv_func__ldexpl_use=yes
69880 else
69881 glibcxx_cv_func__ldexpl_use=no
69883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69884 ac_ext=c
69885 ac_cpp='$CPP $CPPFLAGS'
69886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69895 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69897 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69898 for ac_func in _ldexpl
69899 do :
69900 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69901 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69902 cat >>confdefs.h <<_ACEOF
69903 #define HAVE__LDEXPL 1
69904 _ACEOF
69907 done
69916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69917 $as_echo_n "checking for logl declaration... " >&6; }
69918 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69919 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69920 $as_echo_n "(cached) " >&6
69921 else
69924 ac_ext=cpp
69925 ac_cpp='$CXXCPP $CPPFLAGS'
69926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69931 /* end confdefs.h. */
69932 #include <math.h>
69933 #ifdef HAVE_IEEEFP_H
69934 #include <ieeefp.h>
69935 #endif
69938 main ()
69940 logl(0);
69942 return 0;
69944 _ACEOF
69945 if ac_fn_cxx_try_compile "$LINENO"; then :
69946 glibcxx_cv_func_logl_use=yes
69947 else
69948 glibcxx_cv_func_logl_use=no
69950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69951 ac_ext=c
69952 ac_cpp='$CPP $CPPFLAGS'
69953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69962 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69964 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69965 for ac_func in logl
69966 do :
69967 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69968 if test "x$ac_cv_func_logl" = x""yes; then :
69969 cat >>confdefs.h <<_ACEOF
69970 #define HAVE_LOGL 1
69971 _ACEOF
69974 done
69976 else
69978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69979 $as_echo_n "checking for _logl declaration... " >&6; }
69980 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69981 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69982 $as_echo_n "(cached) " >&6
69983 else
69986 ac_ext=cpp
69987 ac_cpp='$CXXCPP $CPPFLAGS'
69988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69993 /* end confdefs.h. */
69994 #include <math.h>
69995 #ifdef HAVE_IEEEFP_H
69996 #include <ieeefp.h>
69997 #endif
70000 main ()
70002 _logl(0);
70004 return 0;
70006 _ACEOF
70007 if ac_fn_cxx_try_compile "$LINENO"; then :
70008 glibcxx_cv_func__logl_use=yes
70009 else
70010 glibcxx_cv_func__logl_use=no
70012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70013 ac_ext=c
70014 ac_cpp='$CPP $CPPFLAGS'
70015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70024 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70026 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70027 for ac_func in _logl
70028 do :
70029 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70030 if test "x$ac_cv_func__logl" = x""yes; then :
70031 cat >>confdefs.h <<_ACEOF
70032 #define HAVE__LOGL 1
70033 _ACEOF
70036 done
70045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70046 $as_echo_n "checking for log10l declaration... " >&6; }
70047 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70048 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70049 $as_echo_n "(cached) " >&6
70050 else
70053 ac_ext=cpp
70054 ac_cpp='$CXXCPP $CPPFLAGS'
70055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70060 /* end confdefs.h. */
70061 #include <math.h>
70062 #ifdef HAVE_IEEEFP_H
70063 #include <ieeefp.h>
70064 #endif
70067 main ()
70069 log10l(0);
70071 return 0;
70073 _ACEOF
70074 if ac_fn_cxx_try_compile "$LINENO"; then :
70075 glibcxx_cv_func_log10l_use=yes
70076 else
70077 glibcxx_cv_func_log10l_use=no
70079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70080 ac_ext=c
70081 ac_cpp='$CPP $CPPFLAGS'
70082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70091 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70093 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70094 for ac_func in log10l
70095 do :
70096 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70097 if test "x$ac_cv_func_log10l" = x""yes; then :
70098 cat >>confdefs.h <<_ACEOF
70099 #define HAVE_LOG10L 1
70100 _ACEOF
70103 done
70105 else
70107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70108 $as_echo_n "checking for _log10l declaration... " >&6; }
70109 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70110 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70111 $as_echo_n "(cached) " >&6
70112 else
70115 ac_ext=cpp
70116 ac_cpp='$CXXCPP $CPPFLAGS'
70117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70122 /* end confdefs.h. */
70123 #include <math.h>
70124 #ifdef HAVE_IEEEFP_H
70125 #include <ieeefp.h>
70126 #endif
70129 main ()
70131 _log10l(0);
70133 return 0;
70135 _ACEOF
70136 if ac_fn_cxx_try_compile "$LINENO"; then :
70137 glibcxx_cv_func__log10l_use=yes
70138 else
70139 glibcxx_cv_func__log10l_use=no
70141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70142 ac_ext=c
70143 ac_cpp='$CPP $CPPFLAGS'
70144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70153 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70155 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70156 for ac_func in _log10l
70157 do :
70158 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70159 if test "x$ac_cv_func__log10l" = x""yes; then :
70160 cat >>confdefs.h <<_ACEOF
70161 #define HAVE__LOG10L 1
70162 _ACEOF
70165 done
70174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70175 $as_echo_n "checking for modfl declaration... " >&6; }
70176 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70177 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70178 $as_echo_n "(cached) " >&6
70179 else
70182 ac_ext=cpp
70183 ac_cpp='$CXXCPP $CPPFLAGS'
70184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70189 /* end confdefs.h. */
70190 #include <math.h>
70192 main ()
70194 modfl(0, 0);
70196 return 0;
70198 _ACEOF
70199 if ac_fn_cxx_try_compile "$LINENO"; then :
70200 glibcxx_cv_func_modfl_use=yes
70201 else
70202 glibcxx_cv_func_modfl_use=no
70204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70205 ac_ext=c
70206 ac_cpp='$CPP $CPPFLAGS'
70207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70216 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70218 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70219 for ac_func in modfl
70220 do :
70221 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70222 if test "x$ac_cv_func_modfl" = x""yes; then :
70223 cat >>confdefs.h <<_ACEOF
70224 #define HAVE_MODFL 1
70225 _ACEOF
70228 done
70230 else
70232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70233 $as_echo_n "checking for _modfl declaration... " >&6; }
70234 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70235 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70236 $as_echo_n "(cached) " >&6
70237 else
70240 ac_ext=cpp
70241 ac_cpp='$CXXCPP $CPPFLAGS'
70242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70247 /* end confdefs.h. */
70248 #include <math.h>
70250 main ()
70252 _modfl(0, 0);
70254 return 0;
70256 _ACEOF
70257 if ac_fn_cxx_try_compile "$LINENO"; then :
70258 glibcxx_cv_func__modfl_use=yes
70259 else
70260 glibcxx_cv_func__modfl_use=no
70262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70263 ac_ext=c
70264 ac_cpp='$CPP $CPPFLAGS'
70265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70274 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70276 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70277 for ac_func in _modfl
70278 do :
70279 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70280 if test "x$ac_cv_func__modfl" = x""yes; then :
70281 cat >>confdefs.h <<_ACEOF
70282 #define HAVE__MODFL 1
70283 _ACEOF
70286 done
70295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70296 $as_echo_n "checking for powl declaration... " >&6; }
70297 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70298 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70299 $as_echo_n "(cached) " >&6
70300 else
70303 ac_ext=cpp
70304 ac_cpp='$CXXCPP $CPPFLAGS'
70305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70310 /* end confdefs.h. */
70311 #include <math.h>
70313 main ()
70315 powl(0, 0);
70317 return 0;
70319 _ACEOF
70320 if ac_fn_cxx_try_compile "$LINENO"; then :
70321 glibcxx_cv_func_powl_use=yes
70322 else
70323 glibcxx_cv_func_powl_use=no
70325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70326 ac_ext=c
70327 ac_cpp='$CPP $CPPFLAGS'
70328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70337 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70339 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70340 for ac_func in powl
70341 do :
70342 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70343 if test "x$ac_cv_func_powl" = x""yes; then :
70344 cat >>confdefs.h <<_ACEOF
70345 #define HAVE_POWL 1
70346 _ACEOF
70349 done
70351 else
70353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70354 $as_echo_n "checking for _powl declaration... " >&6; }
70355 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70356 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70357 $as_echo_n "(cached) " >&6
70358 else
70361 ac_ext=cpp
70362 ac_cpp='$CXXCPP $CPPFLAGS'
70363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70368 /* end confdefs.h. */
70369 #include <math.h>
70371 main ()
70373 _powl(0, 0);
70375 return 0;
70377 _ACEOF
70378 if ac_fn_cxx_try_compile "$LINENO"; then :
70379 glibcxx_cv_func__powl_use=yes
70380 else
70381 glibcxx_cv_func__powl_use=no
70383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70384 ac_ext=c
70385 ac_cpp='$CPP $CPPFLAGS'
70386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70395 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70397 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70398 for ac_func in _powl
70399 do :
70400 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70401 if test "x$ac_cv_func__powl" = x""yes; then :
70402 cat >>confdefs.h <<_ACEOF
70403 #define HAVE__POWL 1
70404 _ACEOF
70407 done
70416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70417 $as_echo_n "checking for sqrtl declaration... " >&6; }
70418 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70419 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70420 $as_echo_n "(cached) " >&6
70421 else
70424 ac_ext=cpp
70425 ac_cpp='$CXXCPP $CPPFLAGS'
70426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70431 /* end confdefs.h. */
70432 #include <math.h>
70433 #ifdef HAVE_IEEEFP_H
70434 #include <ieeefp.h>
70435 #endif
70438 main ()
70440 sqrtl(0);
70442 return 0;
70444 _ACEOF
70445 if ac_fn_cxx_try_compile "$LINENO"; then :
70446 glibcxx_cv_func_sqrtl_use=yes
70447 else
70448 glibcxx_cv_func_sqrtl_use=no
70450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70451 ac_ext=c
70452 ac_cpp='$CPP $CPPFLAGS'
70453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70462 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70464 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70465 for ac_func in sqrtl
70466 do :
70467 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70468 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70469 cat >>confdefs.h <<_ACEOF
70470 #define HAVE_SQRTL 1
70471 _ACEOF
70474 done
70476 else
70478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70479 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70480 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70481 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70482 $as_echo_n "(cached) " >&6
70483 else
70486 ac_ext=cpp
70487 ac_cpp='$CXXCPP $CPPFLAGS'
70488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70493 /* end confdefs.h. */
70494 #include <math.h>
70495 #ifdef HAVE_IEEEFP_H
70496 #include <ieeefp.h>
70497 #endif
70500 main ()
70502 _sqrtl(0);
70504 return 0;
70506 _ACEOF
70507 if ac_fn_cxx_try_compile "$LINENO"; then :
70508 glibcxx_cv_func__sqrtl_use=yes
70509 else
70510 glibcxx_cv_func__sqrtl_use=no
70512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70513 ac_ext=c
70514 ac_cpp='$CPP $CPPFLAGS'
70515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70524 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70526 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70527 for ac_func in _sqrtl
70528 do :
70529 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70530 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70531 cat >>confdefs.h <<_ACEOF
70532 #define HAVE__SQRTL 1
70533 _ACEOF
70536 done
70545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70546 $as_echo_n "checking for sincosl declaration... " >&6; }
70547 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70548 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70549 $as_echo_n "(cached) " >&6
70550 else
70553 ac_ext=cpp
70554 ac_cpp='$CXXCPP $CPPFLAGS'
70555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70560 /* end confdefs.h. */
70561 #include <math.h>
70563 main ()
70565 sincosl(0, 0, 0);
70567 return 0;
70569 _ACEOF
70570 if ac_fn_cxx_try_compile "$LINENO"; then :
70571 glibcxx_cv_func_sincosl_use=yes
70572 else
70573 glibcxx_cv_func_sincosl_use=no
70575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70576 ac_ext=c
70577 ac_cpp='$CPP $CPPFLAGS'
70578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70587 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70589 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70590 for ac_func in sincosl
70591 do :
70592 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70593 if test "x$ac_cv_func_sincosl" = x""yes; then :
70594 cat >>confdefs.h <<_ACEOF
70595 #define HAVE_SINCOSL 1
70596 _ACEOF
70599 done
70601 else
70603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70604 $as_echo_n "checking for _sincosl declaration... " >&6; }
70605 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70606 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70607 $as_echo_n "(cached) " >&6
70608 else
70611 ac_ext=cpp
70612 ac_cpp='$CXXCPP $CPPFLAGS'
70613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70618 /* end confdefs.h. */
70619 #include <math.h>
70621 main ()
70623 _sincosl(0, 0, 0);
70625 return 0;
70627 _ACEOF
70628 if ac_fn_cxx_try_compile "$LINENO"; then :
70629 glibcxx_cv_func__sincosl_use=yes
70630 else
70631 glibcxx_cv_func__sincosl_use=no
70633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70634 ac_ext=c
70635 ac_cpp='$CPP $CPPFLAGS'
70636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70645 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70647 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70648 for ac_func in _sincosl
70649 do :
70650 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70651 if test "x$ac_cv_func__sincosl" = x""yes; then :
70652 cat >>confdefs.h <<_ACEOF
70653 #define HAVE__SINCOSL 1
70654 _ACEOF
70657 done
70666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70667 $as_echo_n "checking for finitel declaration... " >&6; }
70668 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70669 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70670 $as_echo_n "(cached) " >&6
70671 else
70674 ac_ext=cpp
70675 ac_cpp='$CXXCPP $CPPFLAGS'
70676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70681 /* end confdefs.h. */
70682 #include <math.h>
70683 #ifdef HAVE_IEEEFP_H
70684 #include <ieeefp.h>
70685 #endif
70688 main ()
70690 finitel(0);
70692 return 0;
70694 _ACEOF
70695 if ac_fn_cxx_try_compile "$LINENO"; then :
70696 glibcxx_cv_func_finitel_use=yes
70697 else
70698 glibcxx_cv_func_finitel_use=no
70700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70701 ac_ext=c
70702 ac_cpp='$CPP $CPPFLAGS'
70703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70712 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70714 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70715 for ac_func in finitel
70716 do :
70717 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70718 if test "x$ac_cv_func_finitel" = x""yes; then :
70719 cat >>confdefs.h <<_ACEOF
70720 #define HAVE_FINITEL 1
70721 _ACEOF
70724 done
70726 else
70728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70729 $as_echo_n "checking for _finitel declaration... " >&6; }
70730 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70731 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70732 $as_echo_n "(cached) " >&6
70733 else
70736 ac_ext=cpp
70737 ac_cpp='$CXXCPP $CPPFLAGS'
70738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70743 /* end confdefs.h. */
70744 #include <math.h>
70745 #ifdef HAVE_IEEEFP_H
70746 #include <ieeefp.h>
70747 #endif
70750 main ()
70752 _finitel(0);
70754 return 0;
70756 _ACEOF
70757 if ac_fn_cxx_try_compile "$LINENO"; then :
70758 glibcxx_cv_func__finitel_use=yes
70759 else
70760 glibcxx_cv_func__finitel_use=no
70762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70763 ac_ext=c
70764 ac_cpp='$CPP $CPPFLAGS'
70765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70774 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70776 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70777 for ac_func in _finitel
70778 do :
70779 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70780 if test "x$ac_cv_func__finitel" = x""yes; then :
70781 cat >>confdefs.h <<_ACEOF
70782 #define HAVE__FINITEL 1
70783 _ACEOF
70786 done
70794 LIBS="$ac_save_LIBS"
70795 CXXFLAGS="$ac_save_CXXFLAGS"
70798 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70799 ac_save_CXXFLAGS="$CXXFLAGS"
70800 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70804 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70805 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70806 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70807 $as_echo_n "(cached) " >&6
70808 else
70811 ac_ext=cpp
70812 ac_cpp='$CXXCPP $CPPFLAGS'
70813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70818 /* end confdefs.h. */
70819 #include <stdlib.h>
70821 main ()
70823 at_quick_exit(0);
70825 return 0;
70827 _ACEOF
70828 if ac_fn_cxx_try_compile "$LINENO"; then :
70829 glibcxx_cv_func_at_quick_exit_use=yes
70830 else
70831 glibcxx_cv_func_at_quick_exit_use=no
70833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70834 ac_ext=c
70835 ac_cpp='$CPP $CPPFLAGS'
70836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70845 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70846 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70847 for ac_func in at_quick_exit
70848 do :
70849 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70850 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70851 cat >>confdefs.h <<_ACEOF
70852 #define HAVE_AT_QUICK_EXIT 1
70853 _ACEOF
70856 done
70861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70862 $as_echo_n "checking for quick_exit declaration... " >&6; }
70863 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70864 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70865 $as_echo_n "(cached) " >&6
70866 else
70869 ac_ext=cpp
70870 ac_cpp='$CXXCPP $CPPFLAGS'
70871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70876 /* end confdefs.h. */
70877 #include <stdlib.h>
70879 main ()
70881 quick_exit(0);
70883 return 0;
70885 _ACEOF
70886 if ac_fn_cxx_try_compile "$LINENO"; then :
70887 glibcxx_cv_func_quick_exit_use=yes
70888 else
70889 glibcxx_cv_func_quick_exit_use=no
70891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70892 ac_ext=c
70893 ac_cpp='$CPP $CPPFLAGS'
70894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70903 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70904 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70905 for ac_func in quick_exit
70906 do :
70907 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70908 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70909 cat >>confdefs.h <<_ACEOF
70910 #define HAVE_QUICK_EXIT 1
70911 _ACEOF
70914 done
70919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70920 $as_echo_n "checking for strtold declaration... " >&6; }
70921 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70922 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70923 $as_echo_n "(cached) " >&6
70924 else
70927 ac_ext=cpp
70928 ac_cpp='$CXXCPP $CPPFLAGS'
70929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70934 /* end confdefs.h. */
70935 #include <stdlib.h>
70937 main ()
70939 strtold(0, 0);
70941 return 0;
70943 _ACEOF
70944 if ac_fn_cxx_try_compile "$LINENO"; then :
70945 glibcxx_cv_func_strtold_use=yes
70946 else
70947 glibcxx_cv_func_strtold_use=no
70949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70950 ac_ext=c
70951 ac_cpp='$CPP $CPPFLAGS'
70952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70961 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70962 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70963 for ac_func in strtold
70964 do :
70965 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70966 if test "x$ac_cv_func_strtold" = x""yes; then :
70967 cat >>confdefs.h <<_ACEOF
70968 #define HAVE_STRTOLD 1
70969 _ACEOF
70972 done
70979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70980 $as_echo_n "checking for strtof declaration... " >&6; }
70981 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70982 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70983 $as_echo_n "(cached) " >&6
70984 else
70987 ac_ext=cpp
70988 ac_cpp='$CXXCPP $CPPFLAGS'
70989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70994 /* end confdefs.h. */
70995 #include <stdlib.h>
70997 main ()
70999 strtof(0, 0);
71001 return 0;
71003 _ACEOF
71004 if ac_fn_cxx_try_compile "$LINENO"; then :
71005 glibcxx_cv_func_strtof_use=yes
71006 else
71007 glibcxx_cv_func_strtof_use=no
71009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71010 ac_ext=c
71011 ac_cpp='$CPP $CPPFLAGS'
71012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71021 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71022 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71023 for ac_func in strtof
71024 do :
71025 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71026 if test "x$ac_cv_func_strtof" = x""yes; then :
71027 cat >>confdefs.h <<_ACEOF
71028 #define HAVE_STRTOF 1
71029 _ACEOF
71032 done
71039 CXXFLAGS="$ac_save_CXXFLAGS"
71042 *-solaris*)
71044 # If we're not using GNU ld, then there's no point in even trying these
71045 # tests. Check for that first. We should have already tested for gld
71046 # by now (in libtool), but require it now just to be safe...
71047 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71048 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71052 # The name set by libtool depends on the version of libtool. Shame on us
71053 # for depending on an impl detail, but c'est la vie. Older versions used
71054 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71055 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71056 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71057 # set (hence we're using an older libtool), then set it.
71058 if test x${with_gnu_ld+set} != xset; then
71059 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71060 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71061 with_gnu_ld=no
71062 else
71063 with_gnu_ld=$ac_cv_prog_gnu_ld
71067 # Start by getting the version number. I think the libtool test already
71068 # does some of this, but throws away the result.
71069 glibcxx_ld_is_gold=no
71070 if test x"$with_gnu_ld" = x"yes"; then
71071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71072 $as_echo_n "checking for ld version... " >&6; }
71074 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71075 glibcxx_ld_is_gold=yes
71077 ldver=`$LD --version 2>/dev/null |
71078 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'`
71080 glibcxx_gnu_ld_version=`echo $ldver | \
71081 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71083 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71086 # Set --gc-sections.
71087 glibcxx_have_gc_sections=no
71088 if test "$glibcxx_ld_is_gold" = "yes"; then
71089 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71090 glibcxx_have_gc_sections=yes
71092 else
71093 glibcxx_gcsections_min_ld=21602
71094 if test x"$with_gnu_ld" = x"yes" &&
71095 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71096 glibcxx_have_gc_sections=yes
71099 if test "$glibcxx_have_gc_sections" = "yes"; then
71100 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71101 # NB: This flag only works reliably after 2.16.1. Configure tests
71102 # for this are difficult, so hard wire a value that should work.
71104 ac_test_CFLAGS="${CFLAGS+set}"
71105 ac_save_CFLAGS="$CFLAGS"
71106 CFLAGS='-Wl,--gc-sections'
71108 # Check for -Wl,--gc-sections
71109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71110 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71111 if test x$gcc_no_link = xyes; then
71112 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71115 /* end confdefs.h. */
71116 int one(void) { return 1; }
71117 int two(void) { return 2; }
71120 main ()
71122 two();
71124 return 0;
71126 _ACEOF
71127 if ac_fn_c_try_link "$LINENO"; then :
71128 ac_gcsections=yes
71129 else
71130 ac_gcsections=no
71132 rm -f core conftest.err conftest.$ac_objext \
71133 conftest$ac_exeext conftest.$ac_ext
71134 if test "$ac_gcsections" = "yes"; then
71135 rm -f conftest.c
71136 touch conftest.c
71137 if $CC -c conftest.c; then
71138 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71139 grep "Warning: gc-sections option ignored" > /dev/null; then
71140 ac_gcsections=no
71143 rm -f conftest.c conftest.o conftest
71145 if test "$ac_gcsections" = "yes"; then
71146 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71149 $as_echo "$ac_gcsections" >&6; }
71151 if test "$ac_test_CFLAGS" = set; then
71152 CFLAGS="$ac_save_CFLAGS"
71153 else
71154 # this is the suspicious part
71155 CFLAGS=''
71159 # Set -z,relro.
71160 # Note this is only for shared objects.
71161 ac_ld_relro=no
71162 if test x"$with_gnu_ld" = x"yes"; then
71163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71164 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71165 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71166 if test -n "$cxx_z_relo"; then
71167 OPT_LDFLAGS="-Wl,-z,relro"
71168 ac_ld_relro=yes
71170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71171 $as_echo "$ac_ld_relro" >&6; }
71174 # Set linker optimization flags.
71175 if test x"$with_gnu_ld" = x"yes"; then
71176 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71182 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71184 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71186 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71188 # All of the dependencies for wide character support are here, so
71189 # turn it on.
71190 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71192 # These two C99 functions are present only in Solaris >= 10
71193 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71195 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71197 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71199 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71201 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71203 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71206 *-tpf)
71207 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71208 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71210 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71212 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71214 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71216 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71218 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71220 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71222 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71224 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71226 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71228 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71230 if test x"long_double_math_on_this_cpu" = x"yes"; then
71231 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71233 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71235 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71237 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71241 *-*vms*)
71242 # Check for available headers.
71243 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71245 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71246 ac_save_CXXFLAGS="$CXXFLAGS"
71247 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71250 $as_echo_n "checking for sin in -lm... " >&6; }
71251 if test "${ac_cv_lib_m_sin+set}" = set; then :
71252 $as_echo_n "(cached) " >&6
71253 else
71254 ac_check_lib_save_LIBS=$LIBS
71255 LIBS="-lm $LIBS"
71256 if test x$gcc_no_link = xyes; then
71257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71260 /* end confdefs.h. */
71262 /* Override any GCC internal prototype to avoid an error.
71263 Use char because int might match the return type of a GCC
71264 builtin and then its argument prototype would still apply. */
71265 #ifdef __cplusplus
71266 extern "C"
71267 #endif
71268 char sin ();
71270 main ()
71272 return sin ();
71274 return 0;
71276 _ACEOF
71277 if ac_fn_c_try_link "$LINENO"; then :
71278 ac_cv_lib_m_sin=yes
71279 else
71280 ac_cv_lib_m_sin=no
71282 rm -f core conftest.err conftest.$ac_objext \
71283 conftest$ac_exeext conftest.$ac_ext
71284 LIBS=$ac_check_lib_save_LIBS
71286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71287 $as_echo "$ac_cv_lib_m_sin" >&6; }
71288 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71289 libm="-lm"
71292 ac_save_LIBS="$LIBS"
71293 LIBS="$LIBS $libm"
71297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71298 $as_echo_n "checking for isinf declaration... " >&6; }
71299 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71300 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71301 $as_echo_n "(cached) " >&6
71302 else
71305 ac_ext=cpp
71306 ac_cpp='$CXXCPP $CPPFLAGS'
71307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71312 /* end confdefs.h. */
71313 #include <math.h>
71314 #ifdef HAVE_IEEEFP_H
71315 #include <ieeefp.h>
71316 #endif
71319 main ()
71321 isinf(0);
71323 return 0;
71325 _ACEOF
71326 if ac_fn_cxx_try_compile "$LINENO"; then :
71327 glibcxx_cv_func_isinf_use=yes
71328 else
71329 glibcxx_cv_func_isinf_use=no
71331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71332 ac_ext=c
71333 ac_cpp='$CPP $CPPFLAGS'
71334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71343 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71345 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71346 for ac_func in isinf
71347 do :
71348 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71349 if test "x$ac_cv_func_isinf" = x""yes; then :
71350 cat >>confdefs.h <<_ACEOF
71351 #define HAVE_ISINF 1
71352 _ACEOF
71355 done
71357 else
71359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71360 $as_echo_n "checking for _isinf declaration... " >&6; }
71361 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71362 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71363 $as_echo_n "(cached) " >&6
71364 else
71367 ac_ext=cpp
71368 ac_cpp='$CXXCPP $CPPFLAGS'
71369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71374 /* end confdefs.h. */
71375 #include <math.h>
71376 #ifdef HAVE_IEEEFP_H
71377 #include <ieeefp.h>
71378 #endif
71381 main ()
71383 _isinf(0);
71385 return 0;
71387 _ACEOF
71388 if ac_fn_cxx_try_compile "$LINENO"; then :
71389 glibcxx_cv_func__isinf_use=yes
71390 else
71391 glibcxx_cv_func__isinf_use=no
71393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71394 ac_ext=c
71395 ac_cpp='$CPP $CPPFLAGS'
71396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71405 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71407 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71408 for ac_func in _isinf
71409 do :
71410 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71411 if test "x$ac_cv_func__isinf" = x""yes; then :
71412 cat >>confdefs.h <<_ACEOF
71413 #define HAVE__ISINF 1
71414 _ACEOF
71417 done
71426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71427 $as_echo_n "checking for isnan declaration... " >&6; }
71428 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71429 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71430 $as_echo_n "(cached) " >&6
71431 else
71434 ac_ext=cpp
71435 ac_cpp='$CXXCPP $CPPFLAGS'
71436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71441 /* end confdefs.h. */
71442 #include <math.h>
71443 #ifdef HAVE_IEEEFP_H
71444 #include <ieeefp.h>
71445 #endif
71448 main ()
71450 isnan(0);
71452 return 0;
71454 _ACEOF
71455 if ac_fn_cxx_try_compile "$LINENO"; then :
71456 glibcxx_cv_func_isnan_use=yes
71457 else
71458 glibcxx_cv_func_isnan_use=no
71460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71461 ac_ext=c
71462 ac_cpp='$CPP $CPPFLAGS'
71463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71472 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71474 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71475 for ac_func in isnan
71476 do :
71477 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71478 if test "x$ac_cv_func_isnan" = x""yes; then :
71479 cat >>confdefs.h <<_ACEOF
71480 #define HAVE_ISNAN 1
71481 _ACEOF
71484 done
71486 else
71488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71489 $as_echo_n "checking for _isnan declaration... " >&6; }
71490 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71491 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71492 $as_echo_n "(cached) " >&6
71493 else
71496 ac_ext=cpp
71497 ac_cpp='$CXXCPP $CPPFLAGS'
71498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71503 /* end confdefs.h. */
71504 #include <math.h>
71505 #ifdef HAVE_IEEEFP_H
71506 #include <ieeefp.h>
71507 #endif
71510 main ()
71512 _isnan(0);
71514 return 0;
71516 _ACEOF
71517 if ac_fn_cxx_try_compile "$LINENO"; then :
71518 glibcxx_cv_func__isnan_use=yes
71519 else
71520 glibcxx_cv_func__isnan_use=no
71522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71523 ac_ext=c
71524 ac_cpp='$CPP $CPPFLAGS'
71525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71534 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71536 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71537 for ac_func in _isnan
71538 do :
71539 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71540 if test "x$ac_cv_func__isnan" = x""yes; then :
71541 cat >>confdefs.h <<_ACEOF
71542 #define HAVE__ISNAN 1
71543 _ACEOF
71546 done
71555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71556 $as_echo_n "checking for finite declaration... " >&6; }
71557 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71558 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71559 $as_echo_n "(cached) " >&6
71560 else
71563 ac_ext=cpp
71564 ac_cpp='$CXXCPP $CPPFLAGS'
71565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71570 /* end confdefs.h. */
71571 #include <math.h>
71572 #ifdef HAVE_IEEEFP_H
71573 #include <ieeefp.h>
71574 #endif
71577 main ()
71579 finite(0);
71581 return 0;
71583 _ACEOF
71584 if ac_fn_cxx_try_compile "$LINENO"; then :
71585 glibcxx_cv_func_finite_use=yes
71586 else
71587 glibcxx_cv_func_finite_use=no
71589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71590 ac_ext=c
71591 ac_cpp='$CPP $CPPFLAGS'
71592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71601 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71603 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71604 for ac_func in finite
71605 do :
71606 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71607 if test "x$ac_cv_func_finite" = x""yes; then :
71608 cat >>confdefs.h <<_ACEOF
71609 #define HAVE_FINITE 1
71610 _ACEOF
71613 done
71615 else
71617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71618 $as_echo_n "checking for _finite declaration... " >&6; }
71619 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71620 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71621 $as_echo_n "(cached) " >&6
71622 else
71625 ac_ext=cpp
71626 ac_cpp='$CXXCPP $CPPFLAGS'
71627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71632 /* end confdefs.h. */
71633 #include <math.h>
71634 #ifdef HAVE_IEEEFP_H
71635 #include <ieeefp.h>
71636 #endif
71639 main ()
71641 _finite(0);
71643 return 0;
71645 _ACEOF
71646 if ac_fn_cxx_try_compile "$LINENO"; then :
71647 glibcxx_cv_func__finite_use=yes
71648 else
71649 glibcxx_cv_func__finite_use=no
71651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71652 ac_ext=c
71653 ac_cpp='$CPP $CPPFLAGS'
71654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71663 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71665 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71666 for ac_func in _finite
71667 do :
71668 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71669 if test "x$ac_cv_func__finite" = x""yes; then :
71670 cat >>confdefs.h <<_ACEOF
71671 #define HAVE__FINITE 1
71672 _ACEOF
71675 done
71684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71685 $as_echo_n "checking for sincos declaration... " >&6; }
71686 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71687 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71688 $as_echo_n "(cached) " >&6
71689 else
71692 ac_ext=cpp
71693 ac_cpp='$CXXCPP $CPPFLAGS'
71694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71699 /* end confdefs.h. */
71700 #include <math.h>
71702 main ()
71704 sincos(0, 0, 0);
71706 return 0;
71708 _ACEOF
71709 if ac_fn_cxx_try_compile "$LINENO"; then :
71710 glibcxx_cv_func_sincos_use=yes
71711 else
71712 glibcxx_cv_func_sincos_use=no
71714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71715 ac_ext=c
71716 ac_cpp='$CPP $CPPFLAGS'
71717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71726 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71728 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71729 for ac_func in sincos
71730 do :
71731 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71732 if test "x$ac_cv_func_sincos" = x""yes; then :
71733 cat >>confdefs.h <<_ACEOF
71734 #define HAVE_SINCOS 1
71735 _ACEOF
71738 done
71740 else
71742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71743 $as_echo_n "checking for _sincos declaration... " >&6; }
71744 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71745 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71746 $as_echo_n "(cached) " >&6
71747 else
71750 ac_ext=cpp
71751 ac_cpp='$CXXCPP $CPPFLAGS'
71752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71757 /* end confdefs.h. */
71758 #include <math.h>
71760 main ()
71762 _sincos(0, 0, 0);
71764 return 0;
71766 _ACEOF
71767 if ac_fn_cxx_try_compile "$LINENO"; then :
71768 glibcxx_cv_func__sincos_use=yes
71769 else
71770 glibcxx_cv_func__sincos_use=no
71772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71773 ac_ext=c
71774 ac_cpp='$CPP $CPPFLAGS'
71775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71784 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71786 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71787 for ac_func in _sincos
71788 do :
71789 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71790 if test "x$ac_cv_func__sincos" = x""yes; then :
71791 cat >>confdefs.h <<_ACEOF
71792 #define HAVE__SINCOS 1
71793 _ACEOF
71796 done
71805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71806 $as_echo_n "checking for fpclass declaration... " >&6; }
71807 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71808 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71809 $as_echo_n "(cached) " >&6
71810 else
71813 ac_ext=cpp
71814 ac_cpp='$CXXCPP $CPPFLAGS'
71815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71820 /* end confdefs.h. */
71821 #include <math.h>
71822 #ifdef HAVE_IEEEFP_H
71823 #include <ieeefp.h>
71824 #endif
71827 main ()
71829 fpclass(0);
71831 return 0;
71833 _ACEOF
71834 if ac_fn_cxx_try_compile "$LINENO"; then :
71835 glibcxx_cv_func_fpclass_use=yes
71836 else
71837 glibcxx_cv_func_fpclass_use=no
71839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71840 ac_ext=c
71841 ac_cpp='$CPP $CPPFLAGS'
71842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71851 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71853 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71854 for ac_func in fpclass
71855 do :
71856 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71857 if test "x$ac_cv_func_fpclass" = x""yes; then :
71858 cat >>confdefs.h <<_ACEOF
71859 #define HAVE_FPCLASS 1
71860 _ACEOF
71863 done
71865 else
71867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71868 $as_echo_n "checking for _fpclass declaration... " >&6; }
71869 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71870 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71871 $as_echo_n "(cached) " >&6
71872 else
71875 ac_ext=cpp
71876 ac_cpp='$CXXCPP $CPPFLAGS'
71877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71882 /* end confdefs.h. */
71883 #include <math.h>
71884 #ifdef HAVE_IEEEFP_H
71885 #include <ieeefp.h>
71886 #endif
71889 main ()
71891 _fpclass(0);
71893 return 0;
71895 _ACEOF
71896 if ac_fn_cxx_try_compile "$LINENO"; then :
71897 glibcxx_cv_func__fpclass_use=yes
71898 else
71899 glibcxx_cv_func__fpclass_use=no
71901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71902 ac_ext=c
71903 ac_cpp='$CPP $CPPFLAGS'
71904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71913 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71915 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71916 for ac_func in _fpclass
71917 do :
71918 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71919 if test "x$ac_cv_func__fpclass" = x""yes; then :
71920 cat >>confdefs.h <<_ACEOF
71921 #define HAVE__FPCLASS 1
71922 _ACEOF
71925 done
71934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71935 $as_echo_n "checking for qfpclass declaration... " >&6; }
71936 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71937 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71938 $as_echo_n "(cached) " >&6
71939 else
71942 ac_ext=cpp
71943 ac_cpp='$CXXCPP $CPPFLAGS'
71944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71949 /* end confdefs.h. */
71950 #include <math.h>
71951 #ifdef HAVE_IEEEFP_H
71952 #include <ieeefp.h>
71953 #endif
71956 main ()
71958 qfpclass(0);
71960 return 0;
71962 _ACEOF
71963 if ac_fn_cxx_try_compile "$LINENO"; then :
71964 glibcxx_cv_func_qfpclass_use=yes
71965 else
71966 glibcxx_cv_func_qfpclass_use=no
71968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71969 ac_ext=c
71970 ac_cpp='$CPP $CPPFLAGS'
71971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
71980 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
71982 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
71983 for ac_func in qfpclass
71984 do :
71985 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
71986 if test "x$ac_cv_func_qfpclass" = x""yes; then :
71987 cat >>confdefs.h <<_ACEOF
71988 #define HAVE_QFPCLASS 1
71989 _ACEOF
71992 done
71994 else
71996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
71997 $as_echo_n "checking for _qfpclass declaration... " >&6; }
71998 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
71999 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72000 $as_echo_n "(cached) " >&6
72001 else
72004 ac_ext=cpp
72005 ac_cpp='$CXXCPP $CPPFLAGS'
72006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72011 /* end confdefs.h. */
72012 #include <math.h>
72013 #ifdef HAVE_IEEEFP_H
72014 #include <ieeefp.h>
72015 #endif
72018 main ()
72020 _qfpclass(0);
72022 return 0;
72024 _ACEOF
72025 if ac_fn_cxx_try_compile "$LINENO"; then :
72026 glibcxx_cv_func__qfpclass_use=yes
72027 else
72028 glibcxx_cv_func__qfpclass_use=no
72030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72031 ac_ext=c
72032 ac_cpp='$CPP $CPPFLAGS'
72033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72042 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72044 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72045 for ac_func in _qfpclass
72046 do :
72047 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72048 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72049 cat >>confdefs.h <<_ACEOF
72050 #define HAVE__QFPCLASS 1
72051 _ACEOF
72054 done
72063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72064 $as_echo_n "checking for hypot declaration... " >&6; }
72065 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72066 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72067 $as_echo_n "(cached) " >&6
72068 else
72071 ac_ext=cpp
72072 ac_cpp='$CXXCPP $CPPFLAGS'
72073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72078 /* end confdefs.h. */
72079 #include <math.h>
72081 main ()
72083 hypot(0, 0);
72085 return 0;
72087 _ACEOF
72088 if ac_fn_cxx_try_compile "$LINENO"; then :
72089 glibcxx_cv_func_hypot_use=yes
72090 else
72091 glibcxx_cv_func_hypot_use=no
72093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72094 ac_ext=c
72095 ac_cpp='$CPP $CPPFLAGS'
72096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72105 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72107 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72108 for ac_func in hypot
72109 do :
72110 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72111 if test "x$ac_cv_func_hypot" = x""yes; then :
72112 cat >>confdefs.h <<_ACEOF
72113 #define HAVE_HYPOT 1
72114 _ACEOF
72117 done
72119 else
72121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72122 $as_echo_n "checking for _hypot declaration... " >&6; }
72123 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72124 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72125 $as_echo_n "(cached) " >&6
72126 else
72129 ac_ext=cpp
72130 ac_cpp='$CXXCPP $CPPFLAGS'
72131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72136 /* end confdefs.h. */
72137 #include <math.h>
72139 main ()
72141 _hypot(0, 0);
72143 return 0;
72145 _ACEOF
72146 if ac_fn_cxx_try_compile "$LINENO"; then :
72147 glibcxx_cv_func__hypot_use=yes
72148 else
72149 glibcxx_cv_func__hypot_use=no
72151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72152 ac_ext=c
72153 ac_cpp='$CPP $CPPFLAGS'
72154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72163 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72165 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72166 for ac_func in _hypot
72167 do :
72168 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72169 if test "x$ac_cv_func__hypot" = x""yes; then :
72170 cat >>confdefs.h <<_ACEOF
72171 #define HAVE__HYPOT 1
72172 _ACEOF
72175 done
72184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72185 $as_echo_n "checking for float trig functions... " >&6; }
72186 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72187 $as_echo_n "(cached) " >&6
72188 else
72191 ac_ext=cpp
72192 ac_cpp='$CXXCPP $CPPFLAGS'
72193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72198 /* end confdefs.h. */
72199 #include <math.h>
72201 main ()
72203 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72205 return 0;
72207 _ACEOF
72208 if ac_fn_cxx_try_compile "$LINENO"; then :
72209 glibcxx_cv_func_float_trig_use=yes
72210 else
72211 glibcxx_cv_func_float_trig_use=no
72213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72214 ac_ext=c
72215 ac_cpp='$CPP $CPPFLAGS'
72216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72223 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72224 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72225 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72226 do :
72227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72229 eval as_val=\$$as_ac_var
72230 if test "x$as_val" = x""yes; then :
72231 cat >>confdefs.h <<_ACEOF
72232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72233 _ACEOF
72236 done
72238 else
72239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72240 $as_echo_n "checking for _float trig functions... " >&6; }
72241 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72242 $as_echo_n "(cached) " >&6
72243 else
72246 ac_ext=cpp
72247 ac_cpp='$CXXCPP $CPPFLAGS'
72248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72253 /* end confdefs.h. */
72254 #include <math.h>
72256 main ()
72258 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72260 return 0;
72262 _ACEOF
72263 if ac_fn_cxx_try_compile "$LINENO"; then :
72264 glibcxx_cv_func__float_trig_use=yes
72265 else
72266 glibcxx_cv_func__float_trig_use=no
72268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72269 ac_ext=c
72270 ac_cpp='$CPP $CPPFLAGS'
72271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72278 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72279 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72280 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72281 do :
72282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72284 eval as_val=\$$as_ac_var
72285 if test "x$as_val" = x""yes; then :
72286 cat >>confdefs.h <<_ACEOF
72287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72288 _ACEOF
72291 done
72300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72301 $as_echo_n "checking for float round functions... " >&6; }
72302 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72303 $as_echo_n "(cached) " >&6
72304 else
72307 ac_ext=cpp
72308 ac_cpp='$CXXCPP $CPPFLAGS'
72309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72314 /* end confdefs.h. */
72315 #include <math.h>
72317 main ()
72319 ceilf (0); floorf (0);
72321 return 0;
72323 _ACEOF
72324 if ac_fn_cxx_try_compile "$LINENO"; then :
72325 glibcxx_cv_func_float_round_use=yes
72326 else
72327 glibcxx_cv_func_float_round_use=no
72329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72330 ac_ext=c
72331 ac_cpp='$CPP $CPPFLAGS'
72332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72339 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72340 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72341 for ac_func in ceilf floorf
72342 do :
72343 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72345 eval as_val=\$$as_ac_var
72346 if test "x$as_val" = x""yes; then :
72347 cat >>confdefs.h <<_ACEOF
72348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72349 _ACEOF
72352 done
72354 else
72355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72356 $as_echo_n "checking for _float round functions... " >&6; }
72357 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72358 $as_echo_n "(cached) " >&6
72359 else
72362 ac_ext=cpp
72363 ac_cpp='$CXXCPP $CPPFLAGS'
72364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72369 /* end confdefs.h. */
72370 #include <math.h>
72372 main ()
72374 _ceilf (0); _floorf (0);
72376 return 0;
72378 _ACEOF
72379 if ac_fn_cxx_try_compile "$LINENO"; then :
72380 glibcxx_cv_func__float_round_use=yes
72381 else
72382 glibcxx_cv_func__float_round_use=no
72384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72385 ac_ext=c
72386 ac_cpp='$CPP $CPPFLAGS'
72387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72394 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72395 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72396 for ac_func in _ceilf _floorf
72397 do :
72398 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72399 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72400 eval as_val=\$$as_ac_var
72401 if test "x$as_val" = x""yes; then :
72402 cat >>confdefs.h <<_ACEOF
72403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72404 _ACEOF
72407 done
72417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72418 $as_echo_n "checking for expf declaration... " >&6; }
72419 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72420 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72421 $as_echo_n "(cached) " >&6
72422 else
72425 ac_ext=cpp
72426 ac_cpp='$CXXCPP $CPPFLAGS'
72427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72432 /* end confdefs.h. */
72433 #include <math.h>
72434 #ifdef HAVE_IEEEFP_H
72435 #include <ieeefp.h>
72436 #endif
72439 main ()
72441 expf(0);
72443 return 0;
72445 _ACEOF
72446 if ac_fn_cxx_try_compile "$LINENO"; then :
72447 glibcxx_cv_func_expf_use=yes
72448 else
72449 glibcxx_cv_func_expf_use=no
72451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72452 ac_ext=c
72453 ac_cpp='$CPP $CPPFLAGS'
72454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72463 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72465 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72466 for ac_func in expf
72467 do :
72468 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72469 if test "x$ac_cv_func_expf" = x""yes; then :
72470 cat >>confdefs.h <<_ACEOF
72471 #define HAVE_EXPF 1
72472 _ACEOF
72475 done
72477 else
72479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72480 $as_echo_n "checking for _expf declaration... " >&6; }
72481 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72482 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72483 $as_echo_n "(cached) " >&6
72484 else
72487 ac_ext=cpp
72488 ac_cpp='$CXXCPP $CPPFLAGS'
72489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72494 /* end confdefs.h. */
72495 #include <math.h>
72496 #ifdef HAVE_IEEEFP_H
72497 #include <ieeefp.h>
72498 #endif
72501 main ()
72503 _expf(0);
72505 return 0;
72507 _ACEOF
72508 if ac_fn_cxx_try_compile "$LINENO"; then :
72509 glibcxx_cv_func__expf_use=yes
72510 else
72511 glibcxx_cv_func__expf_use=no
72513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72514 ac_ext=c
72515 ac_cpp='$CPP $CPPFLAGS'
72516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72525 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72527 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72528 for ac_func in _expf
72529 do :
72530 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72531 if test "x$ac_cv_func__expf" = x""yes; then :
72532 cat >>confdefs.h <<_ACEOF
72533 #define HAVE__EXPF 1
72534 _ACEOF
72537 done
72546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72547 $as_echo_n "checking for isnanf declaration... " >&6; }
72548 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72549 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72550 $as_echo_n "(cached) " >&6
72551 else
72554 ac_ext=cpp
72555 ac_cpp='$CXXCPP $CPPFLAGS'
72556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72561 /* end confdefs.h. */
72562 #include <math.h>
72563 #ifdef HAVE_IEEEFP_H
72564 #include <ieeefp.h>
72565 #endif
72568 main ()
72570 isnanf(0);
72572 return 0;
72574 _ACEOF
72575 if ac_fn_cxx_try_compile "$LINENO"; then :
72576 glibcxx_cv_func_isnanf_use=yes
72577 else
72578 glibcxx_cv_func_isnanf_use=no
72580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72581 ac_ext=c
72582 ac_cpp='$CPP $CPPFLAGS'
72583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72592 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72594 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72595 for ac_func in isnanf
72596 do :
72597 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72598 if test "x$ac_cv_func_isnanf" = x""yes; then :
72599 cat >>confdefs.h <<_ACEOF
72600 #define HAVE_ISNANF 1
72601 _ACEOF
72604 done
72606 else
72608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72609 $as_echo_n "checking for _isnanf declaration... " >&6; }
72610 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72611 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72612 $as_echo_n "(cached) " >&6
72613 else
72616 ac_ext=cpp
72617 ac_cpp='$CXXCPP $CPPFLAGS'
72618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72623 /* end confdefs.h. */
72624 #include <math.h>
72625 #ifdef HAVE_IEEEFP_H
72626 #include <ieeefp.h>
72627 #endif
72630 main ()
72632 _isnanf(0);
72634 return 0;
72636 _ACEOF
72637 if ac_fn_cxx_try_compile "$LINENO"; then :
72638 glibcxx_cv_func__isnanf_use=yes
72639 else
72640 glibcxx_cv_func__isnanf_use=no
72642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72643 ac_ext=c
72644 ac_cpp='$CPP $CPPFLAGS'
72645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72654 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72656 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72657 for ac_func in _isnanf
72658 do :
72659 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72660 if test "x$ac_cv_func__isnanf" = x""yes; then :
72661 cat >>confdefs.h <<_ACEOF
72662 #define HAVE__ISNANF 1
72663 _ACEOF
72666 done
72675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72676 $as_echo_n "checking for isinff declaration... " >&6; }
72677 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72678 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72679 $as_echo_n "(cached) " >&6
72680 else
72683 ac_ext=cpp
72684 ac_cpp='$CXXCPP $CPPFLAGS'
72685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72690 /* end confdefs.h. */
72691 #include <math.h>
72692 #ifdef HAVE_IEEEFP_H
72693 #include <ieeefp.h>
72694 #endif
72697 main ()
72699 isinff(0);
72701 return 0;
72703 _ACEOF
72704 if ac_fn_cxx_try_compile "$LINENO"; then :
72705 glibcxx_cv_func_isinff_use=yes
72706 else
72707 glibcxx_cv_func_isinff_use=no
72709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72710 ac_ext=c
72711 ac_cpp='$CPP $CPPFLAGS'
72712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72721 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72723 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72724 for ac_func in isinff
72725 do :
72726 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72727 if test "x$ac_cv_func_isinff" = x""yes; then :
72728 cat >>confdefs.h <<_ACEOF
72729 #define HAVE_ISINFF 1
72730 _ACEOF
72733 done
72735 else
72737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72738 $as_echo_n "checking for _isinff declaration... " >&6; }
72739 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72740 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72741 $as_echo_n "(cached) " >&6
72742 else
72745 ac_ext=cpp
72746 ac_cpp='$CXXCPP $CPPFLAGS'
72747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72752 /* end confdefs.h. */
72753 #include <math.h>
72754 #ifdef HAVE_IEEEFP_H
72755 #include <ieeefp.h>
72756 #endif
72759 main ()
72761 _isinff(0);
72763 return 0;
72765 _ACEOF
72766 if ac_fn_cxx_try_compile "$LINENO"; then :
72767 glibcxx_cv_func__isinff_use=yes
72768 else
72769 glibcxx_cv_func__isinff_use=no
72771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72772 ac_ext=c
72773 ac_cpp='$CPP $CPPFLAGS'
72774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72783 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72785 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72786 for ac_func in _isinff
72787 do :
72788 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72789 if test "x$ac_cv_func__isinff" = x""yes; then :
72790 cat >>confdefs.h <<_ACEOF
72791 #define HAVE__ISINFF 1
72792 _ACEOF
72795 done
72804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72805 $as_echo_n "checking for atan2f declaration... " >&6; }
72806 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72807 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72808 $as_echo_n "(cached) " >&6
72809 else
72812 ac_ext=cpp
72813 ac_cpp='$CXXCPP $CPPFLAGS'
72814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72819 /* end confdefs.h. */
72820 #include <math.h>
72822 main ()
72824 atan2f(0, 0);
72826 return 0;
72828 _ACEOF
72829 if ac_fn_cxx_try_compile "$LINENO"; then :
72830 glibcxx_cv_func_atan2f_use=yes
72831 else
72832 glibcxx_cv_func_atan2f_use=no
72834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72835 ac_ext=c
72836 ac_cpp='$CPP $CPPFLAGS'
72837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72846 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72848 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72849 for ac_func in atan2f
72850 do :
72851 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72852 if test "x$ac_cv_func_atan2f" = x""yes; then :
72853 cat >>confdefs.h <<_ACEOF
72854 #define HAVE_ATAN2F 1
72855 _ACEOF
72858 done
72860 else
72862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72863 $as_echo_n "checking for _atan2f declaration... " >&6; }
72864 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72865 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72866 $as_echo_n "(cached) " >&6
72867 else
72870 ac_ext=cpp
72871 ac_cpp='$CXXCPP $CPPFLAGS'
72872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72877 /* end confdefs.h. */
72878 #include <math.h>
72880 main ()
72882 _atan2f(0, 0);
72884 return 0;
72886 _ACEOF
72887 if ac_fn_cxx_try_compile "$LINENO"; then :
72888 glibcxx_cv_func__atan2f_use=yes
72889 else
72890 glibcxx_cv_func__atan2f_use=no
72892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72893 ac_ext=c
72894 ac_cpp='$CPP $CPPFLAGS'
72895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72904 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72906 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72907 for ac_func in _atan2f
72908 do :
72909 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72910 if test "x$ac_cv_func__atan2f" = x""yes; then :
72911 cat >>confdefs.h <<_ACEOF
72912 #define HAVE__ATAN2F 1
72913 _ACEOF
72916 done
72925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72926 $as_echo_n "checking for fabsf declaration... " >&6; }
72927 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72928 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72929 $as_echo_n "(cached) " >&6
72930 else
72933 ac_ext=cpp
72934 ac_cpp='$CXXCPP $CPPFLAGS'
72935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72940 /* end confdefs.h. */
72941 #include <math.h>
72942 #ifdef HAVE_IEEEFP_H
72943 #include <ieeefp.h>
72944 #endif
72947 main ()
72949 fabsf(0);
72951 return 0;
72953 _ACEOF
72954 if ac_fn_cxx_try_compile "$LINENO"; then :
72955 glibcxx_cv_func_fabsf_use=yes
72956 else
72957 glibcxx_cv_func_fabsf_use=no
72959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72960 ac_ext=c
72961 ac_cpp='$CPP $CPPFLAGS'
72962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
72971 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
72973 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
72974 for ac_func in fabsf
72975 do :
72976 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
72977 if test "x$ac_cv_func_fabsf" = x""yes; then :
72978 cat >>confdefs.h <<_ACEOF
72979 #define HAVE_FABSF 1
72980 _ACEOF
72983 done
72985 else
72987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
72988 $as_echo_n "checking for _fabsf declaration... " >&6; }
72989 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
72990 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
72991 $as_echo_n "(cached) " >&6
72992 else
72995 ac_ext=cpp
72996 ac_cpp='$CXXCPP $CPPFLAGS'
72997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73002 /* end confdefs.h. */
73003 #include <math.h>
73004 #ifdef HAVE_IEEEFP_H
73005 #include <ieeefp.h>
73006 #endif
73009 main ()
73011 _fabsf(0);
73013 return 0;
73015 _ACEOF
73016 if ac_fn_cxx_try_compile "$LINENO"; then :
73017 glibcxx_cv_func__fabsf_use=yes
73018 else
73019 glibcxx_cv_func__fabsf_use=no
73021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73022 ac_ext=c
73023 ac_cpp='$CPP $CPPFLAGS'
73024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73033 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73035 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73036 for ac_func in _fabsf
73037 do :
73038 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73039 if test "x$ac_cv_func__fabsf" = x""yes; then :
73040 cat >>confdefs.h <<_ACEOF
73041 #define HAVE__FABSF 1
73042 _ACEOF
73045 done
73054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73055 $as_echo_n "checking for fmodf declaration... " >&6; }
73056 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73057 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73058 $as_echo_n "(cached) " >&6
73059 else
73062 ac_ext=cpp
73063 ac_cpp='$CXXCPP $CPPFLAGS'
73064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73069 /* end confdefs.h. */
73070 #include <math.h>
73072 main ()
73074 fmodf(0, 0);
73076 return 0;
73078 _ACEOF
73079 if ac_fn_cxx_try_compile "$LINENO"; then :
73080 glibcxx_cv_func_fmodf_use=yes
73081 else
73082 glibcxx_cv_func_fmodf_use=no
73084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73085 ac_ext=c
73086 ac_cpp='$CPP $CPPFLAGS'
73087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73096 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73098 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73099 for ac_func in fmodf
73100 do :
73101 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73102 if test "x$ac_cv_func_fmodf" = x""yes; then :
73103 cat >>confdefs.h <<_ACEOF
73104 #define HAVE_FMODF 1
73105 _ACEOF
73108 done
73110 else
73112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73113 $as_echo_n "checking for _fmodf declaration... " >&6; }
73114 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73115 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73116 $as_echo_n "(cached) " >&6
73117 else
73120 ac_ext=cpp
73121 ac_cpp='$CXXCPP $CPPFLAGS'
73122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73127 /* end confdefs.h. */
73128 #include <math.h>
73130 main ()
73132 _fmodf(0, 0);
73134 return 0;
73136 _ACEOF
73137 if ac_fn_cxx_try_compile "$LINENO"; then :
73138 glibcxx_cv_func__fmodf_use=yes
73139 else
73140 glibcxx_cv_func__fmodf_use=no
73142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73143 ac_ext=c
73144 ac_cpp='$CPP $CPPFLAGS'
73145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73154 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73156 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73157 for ac_func in _fmodf
73158 do :
73159 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73160 if test "x$ac_cv_func__fmodf" = x""yes; then :
73161 cat >>confdefs.h <<_ACEOF
73162 #define HAVE__FMODF 1
73163 _ACEOF
73166 done
73175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73176 $as_echo_n "checking for frexpf declaration... " >&6; }
73177 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73178 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73179 $as_echo_n "(cached) " >&6
73180 else
73183 ac_ext=cpp
73184 ac_cpp='$CXXCPP $CPPFLAGS'
73185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73190 /* end confdefs.h. */
73191 #include <math.h>
73193 main ()
73195 frexpf(0, 0);
73197 return 0;
73199 _ACEOF
73200 if ac_fn_cxx_try_compile "$LINENO"; then :
73201 glibcxx_cv_func_frexpf_use=yes
73202 else
73203 glibcxx_cv_func_frexpf_use=no
73205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73206 ac_ext=c
73207 ac_cpp='$CPP $CPPFLAGS'
73208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73217 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73219 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73220 for ac_func in frexpf
73221 do :
73222 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73223 if test "x$ac_cv_func_frexpf" = x""yes; then :
73224 cat >>confdefs.h <<_ACEOF
73225 #define HAVE_FREXPF 1
73226 _ACEOF
73229 done
73231 else
73233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73234 $as_echo_n "checking for _frexpf declaration... " >&6; }
73235 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73236 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73237 $as_echo_n "(cached) " >&6
73238 else
73241 ac_ext=cpp
73242 ac_cpp='$CXXCPP $CPPFLAGS'
73243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73248 /* end confdefs.h. */
73249 #include <math.h>
73251 main ()
73253 _frexpf(0, 0);
73255 return 0;
73257 _ACEOF
73258 if ac_fn_cxx_try_compile "$LINENO"; then :
73259 glibcxx_cv_func__frexpf_use=yes
73260 else
73261 glibcxx_cv_func__frexpf_use=no
73263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73264 ac_ext=c
73265 ac_cpp='$CPP $CPPFLAGS'
73266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73275 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73277 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73278 for ac_func in _frexpf
73279 do :
73280 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73281 if test "x$ac_cv_func__frexpf" = x""yes; then :
73282 cat >>confdefs.h <<_ACEOF
73283 #define HAVE__FREXPF 1
73284 _ACEOF
73287 done
73296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73297 $as_echo_n "checking for hypotf declaration... " >&6; }
73298 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73299 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73300 $as_echo_n "(cached) " >&6
73301 else
73304 ac_ext=cpp
73305 ac_cpp='$CXXCPP $CPPFLAGS'
73306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73311 /* end confdefs.h. */
73312 #include <math.h>
73314 main ()
73316 hypotf(0, 0);
73318 return 0;
73320 _ACEOF
73321 if ac_fn_cxx_try_compile "$LINENO"; then :
73322 glibcxx_cv_func_hypotf_use=yes
73323 else
73324 glibcxx_cv_func_hypotf_use=no
73326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73327 ac_ext=c
73328 ac_cpp='$CPP $CPPFLAGS'
73329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73338 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73340 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73341 for ac_func in hypotf
73342 do :
73343 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73344 if test "x$ac_cv_func_hypotf" = x""yes; then :
73345 cat >>confdefs.h <<_ACEOF
73346 #define HAVE_HYPOTF 1
73347 _ACEOF
73350 done
73352 else
73354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73355 $as_echo_n "checking for _hypotf declaration... " >&6; }
73356 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73357 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73358 $as_echo_n "(cached) " >&6
73359 else
73362 ac_ext=cpp
73363 ac_cpp='$CXXCPP $CPPFLAGS'
73364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73369 /* end confdefs.h. */
73370 #include <math.h>
73372 main ()
73374 _hypotf(0, 0);
73376 return 0;
73378 _ACEOF
73379 if ac_fn_cxx_try_compile "$LINENO"; then :
73380 glibcxx_cv_func__hypotf_use=yes
73381 else
73382 glibcxx_cv_func__hypotf_use=no
73384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73385 ac_ext=c
73386 ac_cpp='$CPP $CPPFLAGS'
73387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73396 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73398 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73399 for ac_func in _hypotf
73400 do :
73401 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73402 if test "x$ac_cv_func__hypotf" = x""yes; then :
73403 cat >>confdefs.h <<_ACEOF
73404 #define HAVE__HYPOTF 1
73405 _ACEOF
73408 done
73417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73418 $as_echo_n "checking for ldexpf declaration... " >&6; }
73419 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73420 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73421 $as_echo_n "(cached) " >&6
73422 else
73425 ac_ext=cpp
73426 ac_cpp='$CXXCPP $CPPFLAGS'
73427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73432 /* end confdefs.h. */
73433 #include <math.h>
73435 main ()
73437 ldexpf(0, 0);
73439 return 0;
73441 _ACEOF
73442 if ac_fn_cxx_try_compile "$LINENO"; then :
73443 glibcxx_cv_func_ldexpf_use=yes
73444 else
73445 glibcxx_cv_func_ldexpf_use=no
73447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73448 ac_ext=c
73449 ac_cpp='$CPP $CPPFLAGS'
73450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73459 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73461 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73462 for ac_func in ldexpf
73463 do :
73464 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73465 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73466 cat >>confdefs.h <<_ACEOF
73467 #define HAVE_LDEXPF 1
73468 _ACEOF
73471 done
73473 else
73475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73476 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73477 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73478 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73479 $as_echo_n "(cached) " >&6
73480 else
73483 ac_ext=cpp
73484 ac_cpp='$CXXCPP $CPPFLAGS'
73485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73490 /* end confdefs.h. */
73491 #include <math.h>
73493 main ()
73495 _ldexpf(0, 0);
73497 return 0;
73499 _ACEOF
73500 if ac_fn_cxx_try_compile "$LINENO"; then :
73501 glibcxx_cv_func__ldexpf_use=yes
73502 else
73503 glibcxx_cv_func__ldexpf_use=no
73505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73506 ac_ext=c
73507 ac_cpp='$CPP $CPPFLAGS'
73508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73517 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73519 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73520 for ac_func in _ldexpf
73521 do :
73522 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73523 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73524 cat >>confdefs.h <<_ACEOF
73525 #define HAVE__LDEXPF 1
73526 _ACEOF
73529 done
73538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73539 $as_echo_n "checking for logf declaration... " >&6; }
73540 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73541 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73542 $as_echo_n "(cached) " >&6
73543 else
73546 ac_ext=cpp
73547 ac_cpp='$CXXCPP $CPPFLAGS'
73548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73553 /* end confdefs.h. */
73554 #include <math.h>
73555 #ifdef HAVE_IEEEFP_H
73556 #include <ieeefp.h>
73557 #endif
73560 main ()
73562 logf(0);
73564 return 0;
73566 _ACEOF
73567 if ac_fn_cxx_try_compile "$LINENO"; then :
73568 glibcxx_cv_func_logf_use=yes
73569 else
73570 glibcxx_cv_func_logf_use=no
73572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73573 ac_ext=c
73574 ac_cpp='$CPP $CPPFLAGS'
73575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73584 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73586 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73587 for ac_func in logf
73588 do :
73589 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73590 if test "x$ac_cv_func_logf" = x""yes; then :
73591 cat >>confdefs.h <<_ACEOF
73592 #define HAVE_LOGF 1
73593 _ACEOF
73596 done
73598 else
73600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73601 $as_echo_n "checking for _logf declaration... " >&6; }
73602 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73603 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73604 $as_echo_n "(cached) " >&6
73605 else
73608 ac_ext=cpp
73609 ac_cpp='$CXXCPP $CPPFLAGS'
73610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73615 /* end confdefs.h. */
73616 #include <math.h>
73617 #ifdef HAVE_IEEEFP_H
73618 #include <ieeefp.h>
73619 #endif
73622 main ()
73624 _logf(0);
73626 return 0;
73628 _ACEOF
73629 if ac_fn_cxx_try_compile "$LINENO"; then :
73630 glibcxx_cv_func__logf_use=yes
73631 else
73632 glibcxx_cv_func__logf_use=no
73634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73635 ac_ext=c
73636 ac_cpp='$CPP $CPPFLAGS'
73637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73646 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73648 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73649 for ac_func in _logf
73650 do :
73651 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73652 if test "x$ac_cv_func__logf" = x""yes; then :
73653 cat >>confdefs.h <<_ACEOF
73654 #define HAVE__LOGF 1
73655 _ACEOF
73658 done
73667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73668 $as_echo_n "checking for log10f declaration... " >&6; }
73669 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73670 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73671 $as_echo_n "(cached) " >&6
73672 else
73675 ac_ext=cpp
73676 ac_cpp='$CXXCPP $CPPFLAGS'
73677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73682 /* end confdefs.h. */
73683 #include <math.h>
73684 #ifdef HAVE_IEEEFP_H
73685 #include <ieeefp.h>
73686 #endif
73689 main ()
73691 log10f(0);
73693 return 0;
73695 _ACEOF
73696 if ac_fn_cxx_try_compile "$LINENO"; then :
73697 glibcxx_cv_func_log10f_use=yes
73698 else
73699 glibcxx_cv_func_log10f_use=no
73701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73702 ac_ext=c
73703 ac_cpp='$CPP $CPPFLAGS'
73704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73713 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73715 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73716 for ac_func in log10f
73717 do :
73718 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73719 if test "x$ac_cv_func_log10f" = x""yes; then :
73720 cat >>confdefs.h <<_ACEOF
73721 #define HAVE_LOG10F 1
73722 _ACEOF
73725 done
73727 else
73729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73730 $as_echo_n "checking for _log10f declaration... " >&6; }
73731 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73732 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73733 $as_echo_n "(cached) " >&6
73734 else
73737 ac_ext=cpp
73738 ac_cpp='$CXXCPP $CPPFLAGS'
73739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73744 /* end confdefs.h. */
73745 #include <math.h>
73746 #ifdef HAVE_IEEEFP_H
73747 #include <ieeefp.h>
73748 #endif
73751 main ()
73753 _log10f(0);
73755 return 0;
73757 _ACEOF
73758 if ac_fn_cxx_try_compile "$LINENO"; then :
73759 glibcxx_cv_func__log10f_use=yes
73760 else
73761 glibcxx_cv_func__log10f_use=no
73763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73764 ac_ext=c
73765 ac_cpp='$CPP $CPPFLAGS'
73766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73775 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73777 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73778 for ac_func in _log10f
73779 do :
73780 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73781 if test "x$ac_cv_func__log10f" = x""yes; then :
73782 cat >>confdefs.h <<_ACEOF
73783 #define HAVE__LOG10F 1
73784 _ACEOF
73787 done
73796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73797 $as_echo_n "checking for modff declaration... " >&6; }
73798 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73799 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73800 $as_echo_n "(cached) " >&6
73801 else
73804 ac_ext=cpp
73805 ac_cpp='$CXXCPP $CPPFLAGS'
73806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73811 /* end confdefs.h. */
73812 #include <math.h>
73814 main ()
73816 modff(0, 0);
73818 return 0;
73820 _ACEOF
73821 if ac_fn_cxx_try_compile "$LINENO"; then :
73822 glibcxx_cv_func_modff_use=yes
73823 else
73824 glibcxx_cv_func_modff_use=no
73826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73827 ac_ext=c
73828 ac_cpp='$CPP $CPPFLAGS'
73829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73838 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73840 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73841 for ac_func in modff
73842 do :
73843 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73844 if test "x$ac_cv_func_modff" = x""yes; then :
73845 cat >>confdefs.h <<_ACEOF
73846 #define HAVE_MODFF 1
73847 _ACEOF
73850 done
73852 else
73854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73855 $as_echo_n "checking for _modff declaration... " >&6; }
73856 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73857 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73858 $as_echo_n "(cached) " >&6
73859 else
73862 ac_ext=cpp
73863 ac_cpp='$CXXCPP $CPPFLAGS'
73864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73869 /* end confdefs.h. */
73870 #include <math.h>
73872 main ()
73874 _modff(0, 0);
73876 return 0;
73878 _ACEOF
73879 if ac_fn_cxx_try_compile "$LINENO"; then :
73880 glibcxx_cv_func__modff_use=yes
73881 else
73882 glibcxx_cv_func__modff_use=no
73884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73885 ac_ext=c
73886 ac_cpp='$CPP $CPPFLAGS'
73887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73896 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73898 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73899 for ac_func in _modff
73900 do :
73901 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73902 if test "x$ac_cv_func__modff" = x""yes; then :
73903 cat >>confdefs.h <<_ACEOF
73904 #define HAVE__MODFF 1
73905 _ACEOF
73908 done
73917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73918 $as_echo_n "checking for modf declaration... " >&6; }
73919 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73920 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73921 $as_echo_n "(cached) " >&6
73922 else
73925 ac_ext=cpp
73926 ac_cpp='$CXXCPP $CPPFLAGS'
73927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73932 /* end confdefs.h. */
73933 #include <math.h>
73935 main ()
73937 modf(0, 0);
73939 return 0;
73941 _ACEOF
73942 if ac_fn_cxx_try_compile "$LINENO"; then :
73943 glibcxx_cv_func_modf_use=yes
73944 else
73945 glibcxx_cv_func_modf_use=no
73947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73948 ac_ext=c
73949 ac_cpp='$CPP $CPPFLAGS'
73950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
73959 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
73961 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73962 for ac_func in modf
73963 do :
73964 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
73965 if test "x$ac_cv_func_modf" = x""yes; then :
73966 cat >>confdefs.h <<_ACEOF
73967 #define HAVE_MODF 1
73968 _ACEOF
73971 done
73973 else
73975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
73976 $as_echo_n "checking for _modf declaration... " >&6; }
73977 if test x${glibcxx_cv_func__modf_use+set} != xset; then
73978 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
73979 $as_echo_n "(cached) " >&6
73980 else
73983 ac_ext=cpp
73984 ac_cpp='$CXXCPP $CPPFLAGS'
73985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73990 /* end confdefs.h. */
73991 #include <math.h>
73993 main ()
73995 _modf(0, 0);
73997 return 0;
73999 _ACEOF
74000 if ac_fn_cxx_try_compile "$LINENO"; then :
74001 glibcxx_cv_func__modf_use=yes
74002 else
74003 glibcxx_cv_func__modf_use=no
74005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74006 ac_ext=c
74007 ac_cpp='$CPP $CPPFLAGS'
74008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74017 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74019 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74020 for ac_func in _modf
74021 do :
74022 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74023 if test "x$ac_cv_func__modf" = x""yes; then :
74024 cat >>confdefs.h <<_ACEOF
74025 #define HAVE__MODF 1
74026 _ACEOF
74029 done
74038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74039 $as_echo_n "checking for powf declaration... " >&6; }
74040 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74041 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74042 $as_echo_n "(cached) " >&6
74043 else
74046 ac_ext=cpp
74047 ac_cpp='$CXXCPP $CPPFLAGS'
74048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74053 /* end confdefs.h. */
74054 #include <math.h>
74056 main ()
74058 powf(0, 0);
74060 return 0;
74062 _ACEOF
74063 if ac_fn_cxx_try_compile "$LINENO"; then :
74064 glibcxx_cv_func_powf_use=yes
74065 else
74066 glibcxx_cv_func_powf_use=no
74068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74069 ac_ext=c
74070 ac_cpp='$CPP $CPPFLAGS'
74071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74080 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74082 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74083 for ac_func in powf
74084 do :
74085 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74086 if test "x$ac_cv_func_powf" = x""yes; then :
74087 cat >>confdefs.h <<_ACEOF
74088 #define HAVE_POWF 1
74089 _ACEOF
74092 done
74094 else
74096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74097 $as_echo_n "checking for _powf declaration... " >&6; }
74098 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74099 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74100 $as_echo_n "(cached) " >&6
74101 else
74104 ac_ext=cpp
74105 ac_cpp='$CXXCPP $CPPFLAGS'
74106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74111 /* end confdefs.h. */
74112 #include <math.h>
74114 main ()
74116 _powf(0, 0);
74118 return 0;
74120 _ACEOF
74121 if ac_fn_cxx_try_compile "$LINENO"; then :
74122 glibcxx_cv_func__powf_use=yes
74123 else
74124 glibcxx_cv_func__powf_use=no
74126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74127 ac_ext=c
74128 ac_cpp='$CPP $CPPFLAGS'
74129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74138 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74140 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74141 for ac_func in _powf
74142 do :
74143 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74144 if test "x$ac_cv_func__powf" = x""yes; then :
74145 cat >>confdefs.h <<_ACEOF
74146 #define HAVE__POWF 1
74147 _ACEOF
74150 done
74159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74160 $as_echo_n "checking for sqrtf declaration... " >&6; }
74161 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74162 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74163 $as_echo_n "(cached) " >&6
74164 else
74167 ac_ext=cpp
74168 ac_cpp='$CXXCPP $CPPFLAGS'
74169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74174 /* end confdefs.h. */
74175 #include <math.h>
74176 #ifdef HAVE_IEEEFP_H
74177 #include <ieeefp.h>
74178 #endif
74181 main ()
74183 sqrtf(0);
74185 return 0;
74187 _ACEOF
74188 if ac_fn_cxx_try_compile "$LINENO"; then :
74189 glibcxx_cv_func_sqrtf_use=yes
74190 else
74191 glibcxx_cv_func_sqrtf_use=no
74193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74194 ac_ext=c
74195 ac_cpp='$CPP $CPPFLAGS'
74196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74205 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74207 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74208 for ac_func in sqrtf
74209 do :
74210 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74211 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74212 cat >>confdefs.h <<_ACEOF
74213 #define HAVE_SQRTF 1
74214 _ACEOF
74217 done
74219 else
74221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74222 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74223 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74224 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74225 $as_echo_n "(cached) " >&6
74226 else
74229 ac_ext=cpp
74230 ac_cpp='$CXXCPP $CPPFLAGS'
74231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74236 /* end confdefs.h. */
74237 #include <math.h>
74238 #ifdef HAVE_IEEEFP_H
74239 #include <ieeefp.h>
74240 #endif
74243 main ()
74245 _sqrtf(0);
74247 return 0;
74249 _ACEOF
74250 if ac_fn_cxx_try_compile "$LINENO"; then :
74251 glibcxx_cv_func__sqrtf_use=yes
74252 else
74253 glibcxx_cv_func__sqrtf_use=no
74255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74256 ac_ext=c
74257 ac_cpp='$CPP $CPPFLAGS'
74258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74267 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74269 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74270 for ac_func in _sqrtf
74271 do :
74272 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74273 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74274 cat >>confdefs.h <<_ACEOF
74275 #define HAVE__SQRTF 1
74276 _ACEOF
74279 done
74288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74289 $as_echo_n "checking for sincosf declaration... " >&6; }
74290 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74291 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74292 $as_echo_n "(cached) " >&6
74293 else
74296 ac_ext=cpp
74297 ac_cpp='$CXXCPP $CPPFLAGS'
74298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74303 /* end confdefs.h. */
74304 #include <math.h>
74306 main ()
74308 sincosf(0, 0, 0);
74310 return 0;
74312 _ACEOF
74313 if ac_fn_cxx_try_compile "$LINENO"; then :
74314 glibcxx_cv_func_sincosf_use=yes
74315 else
74316 glibcxx_cv_func_sincosf_use=no
74318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74319 ac_ext=c
74320 ac_cpp='$CPP $CPPFLAGS'
74321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74330 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74332 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74333 for ac_func in sincosf
74334 do :
74335 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74336 if test "x$ac_cv_func_sincosf" = x""yes; then :
74337 cat >>confdefs.h <<_ACEOF
74338 #define HAVE_SINCOSF 1
74339 _ACEOF
74342 done
74344 else
74346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74347 $as_echo_n "checking for _sincosf declaration... " >&6; }
74348 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74349 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74350 $as_echo_n "(cached) " >&6
74351 else
74354 ac_ext=cpp
74355 ac_cpp='$CXXCPP $CPPFLAGS'
74356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74361 /* end confdefs.h. */
74362 #include <math.h>
74364 main ()
74366 _sincosf(0, 0, 0);
74368 return 0;
74370 _ACEOF
74371 if ac_fn_cxx_try_compile "$LINENO"; then :
74372 glibcxx_cv_func__sincosf_use=yes
74373 else
74374 glibcxx_cv_func__sincosf_use=no
74376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74377 ac_ext=c
74378 ac_cpp='$CPP $CPPFLAGS'
74379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74388 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74390 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74391 for ac_func in _sincosf
74392 do :
74393 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74394 if test "x$ac_cv_func__sincosf" = x""yes; then :
74395 cat >>confdefs.h <<_ACEOF
74396 #define HAVE__SINCOSF 1
74397 _ACEOF
74400 done
74409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74410 $as_echo_n "checking for finitef declaration... " >&6; }
74411 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74412 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74413 $as_echo_n "(cached) " >&6
74414 else
74417 ac_ext=cpp
74418 ac_cpp='$CXXCPP $CPPFLAGS'
74419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74424 /* end confdefs.h. */
74425 #include <math.h>
74426 #ifdef HAVE_IEEEFP_H
74427 #include <ieeefp.h>
74428 #endif
74431 main ()
74433 finitef(0);
74435 return 0;
74437 _ACEOF
74438 if ac_fn_cxx_try_compile "$LINENO"; then :
74439 glibcxx_cv_func_finitef_use=yes
74440 else
74441 glibcxx_cv_func_finitef_use=no
74443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74444 ac_ext=c
74445 ac_cpp='$CPP $CPPFLAGS'
74446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74455 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74457 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74458 for ac_func in finitef
74459 do :
74460 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74461 if test "x$ac_cv_func_finitef" = x""yes; then :
74462 cat >>confdefs.h <<_ACEOF
74463 #define HAVE_FINITEF 1
74464 _ACEOF
74467 done
74469 else
74471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74472 $as_echo_n "checking for _finitef declaration... " >&6; }
74473 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74474 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74475 $as_echo_n "(cached) " >&6
74476 else
74479 ac_ext=cpp
74480 ac_cpp='$CXXCPP $CPPFLAGS'
74481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74486 /* end confdefs.h. */
74487 #include <math.h>
74488 #ifdef HAVE_IEEEFP_H
74489 #include <ieeefp.h>
74490 #endif
74493 main ()
74495 _finitef(0);
74497 return 0;
74499 _ACEOF
74500 if ac_fn_cxx_try_compile "$LINENO"; then :
74501 glibcxx_cv_func__finitef_use=yes
74502 else
74503 glibcxx_cv_func__finitef_use=no
74505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74506 ac_ext=c
74507 ac_cpp='$CPP $CPPFLAGS'
74508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74517 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74519 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74520 for ac_func in _finitef
74521 do :
74522 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74523 if test "x$ac_cv_func__finitef" = x""yes; then :
74524 cat >>confdefs.h <<_ACEOF
74525 #define HAVE__FINITEF 1
74526 _ACEOF
74529 done
74538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74539 $as_echo_n "checking for long double trig functions... " >&6; }
74540 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74541 $as_echo_n "(cached) " >&6
74542 else
74545 ac_ext=cpp
74546 ac_cpp='$CXXCPP $CPPFLAGS'
74547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74552 /* end confdefs.h. */
74553 #include <math.h>
74555 main ()
74557 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74559 return 0;
74561 _ACEOF
74562 if ac_fn_cxx_try_compile "$LINENO"; then :
74563 glibcxx_cv_func_long_double_trig_use=yes
74564 else
74565 glibcxx_cv_func_long_double_trig_use=no
74567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74568 ac_ext=c
74569 ac_cpp='$CPP $CPPFLAGS'
74570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74577 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74578 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74579 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74580 do :
74581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74583 eval as_val=\$$as_ac_var
74584 if test "x$as_val" = x""yes; then :
74585 cat >>confdefs.h <<_ACEOF
74586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74587 _ACEOF
74590 done
74592 else
74593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74594 $as_echo_n "checking for _long double trig functions... " >&6; }
74595 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74596 $as_echo_n "(cached) " >&6
74597 else
74600 ac_ext=cpp
74601 ac_cpp='$CXXCPP $CPPFLAGS'
74602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74607 /* end confdefs.h. */
74608 #include <math.h>
74610 main ()
74612 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74614 return 0;
74616 _ACEOF
74617 if ac_fn_cxx_try_compile "$LINENO"; then :
74618 glibcxx_cv_func__long_double_trig_use=yes
74619 else
74620 glibcxx_cv_func__long_double_trig_use=no
74622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74623 ac_ext=c
74624 ac_cpp='$CPP $CPPFLAGS'
74625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74632 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74633 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74634 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74635 do :
74636 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74637 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74638 eval as_val=\$$as_ac_var
74639 if test "x$as_val" = x""yes; then :
74640 cat >>confdefs.h <<_ACEOF
74641 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74642 _ACEOF
74645 done
74654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74655 $as_echo_n "checking for long double round functions... " >&6; }
74656 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74657 $as_echo_n "(cached) " >&6
74658 else
74661 ac_ext=cpp
74662 ac_cpp='$CXXCPP $CPPFLAGS'
74663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74668 /* end confdefs.h. */
74669 #include <math.h>
74671 main ()
74673 ceill (0); floorl (0);
74675 return 0;
74677 _ACEOF
74678 if ac_fn_cxx_try_compile "$LINENO"; then :
74679 glibcxx_cv_func_long_double_round_use=yes
74680 else
74681 glibcxx_cv_func_long_double_round_use=no
74683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74684 ac_ext=c
74685 ac_cpp='$CPP $CPPFLAGS'
74686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74693 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74694 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74695 for ac_func in ceill floorl
74696 do :
74697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74699 eval as_val=\$$as_ac_var
74700 if test "x$as_val" = x""yes; then :
74701 cat >>confdefs.h <<_ACEOF
74702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74703 _ACEOF
74706 done
74708 else
74709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74710 $as_echo_n "checking for _long double round functions... " >&6; }
74711 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74712 $as_echo_n "(cached) " >&6
74713 else
74716 ac_ext=cpp
74717 ac_cpp='$CXXCPP $CPPFLAGS'
74718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74723 /* end confdefs.h. */
74724 #include <math.h>
74726 main ()
74728 _ceill (0); _floorl (0);
74730 return 0;
74732 _ACEOF
74733 if ac_fn_cxx_try_compile "$LINENO"; then :
74734 glibcxx_cv_func__long_double_round_use=yes
74735 else
74736 glibcxx_cv_func__long_double_round_use=no
74738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74739 ac_ext=c
74740 ac_cpp='$CPP $CPPFLAGS'
74741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74748 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74749 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74750 for ac_func in _ceill _floorl
74751 do :
74752 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74753 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74754 eval as_val=\$$as_ac_var
74755 if test "x$as_val" = x""yes; then :
74756 cat >>confdefs.h <<_ACEOF
74757 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74758 _ACEOF
74761 done
74771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74772 $as_echo_n "checking for isnanl declaration... " >&6; }
74773 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74774 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74775 $as_echo_n "(cached) " >&6
74776 else
74779 ac_ext=cpp
74780 ac_cpp='$CXXCPP $CPPFLAGS'
74781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74786 /* end confdefs.h. */
74787 #include <math.h>
74788 #ifdef HAVE_IEEEFP_H
74789 #include <ieeefp.h>
74790 #endif
74793 main ()
74795 isnanl(0);
74797 return 0;
74799 _ACEOF
74800 if ac_fn_cxx_try_compile "$LINENO"; then :
74801 glibcxx_cv_func_isnanl_use=yes
74802 else
74803 glibcxx_cv_func_isnanl_use=no
74805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74806 ac_ext=c
74807 ac_cpp='$CPP $CPPFLAGS'
74808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74817 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74819 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74820 for ac_func in isnanl
74821 do :
74822 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74823 if test "x$ac_cv_func_isnanl" = x""yes; then :
74824 cat >>confdefs.h <<_ACEOF
74825 #define HAVE_ISNANL 1
74826 _ACEOF
74829 done
74831 else
74833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74834 $as_echo_n "checking for _isnanl declaration... " >&6; }
74835 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74836 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74837 $as_echo_n "(cached) " >&6
74838 else
74841 ac_ext=cpp
74842 ac_cpp='$CXXCPP $CPPFLAGS'
74843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74848 /* end confdefs.h. */
74849 #include <math.h>
74850 #ifdef HAVE_IEEEFP_H
74851 #include <ieeefp.h>
74852 #endif
74855 main ()
74857 _isnanl(0);
74859 return 0;
74861 _ACEOF
74862 if ac_fn_cxx_try_compile "$LINENO"; then :
74863 glibcxx_cv_func__isnanl_use=yes
74864 else
74865 glibcxx_cv_func__isnanl_use=no
74867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74868 ac_ext=c
74869 ac_cpp='$CPP $CPPFLAGS'
74870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74879 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74881 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74882 for ac_func in _isnanl
74883 do :
74884 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74885 if test "x$ac_cv_func__isnanl" = x""yes; then :
74886 cat >>confdefs.h <<_ACEOF
74887 #define HAVE__ISNANL 1
74888 _ACEOF
74891 done
74900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74901 $as_echo_n "checking for isinfl declaration... " >&6; }
74902 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74903 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74904 $as_echo_n "(cached) " >&6
74905 else
74908 ac_ext=cpp
74909 ac_cpp='$CXXCPP $CPPFLAGS'
74910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74915 /* end confdefs.h. */
74916 #include <math.h>
74917 #ifdef HAVE_IEEEFP_H
74918 #include <ieeefp.h>
74919 #endif
74922 main ()
74924 isinfl(0);
74926 return 0;
74928 _ACEOF
74929 if ac_fn_cxx_try_compile "$LINENO"; then :
74930 glibcxx_cv_func_isinfl_use=yes
74931 else
74932 glibcxx_cv_func_isinfl_use=no
74934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74935 ac_ext=c
74936 ac_cpp='$CPP $CPPFLAGS'
74937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
74946 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
74948 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74949 for ac_func in isinfl
74950 do :
74951 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
74952 if test "x$ac_cv_func_isinfl" = x""yes; then :
74953 cat >>confdefs.h <<_ACEOF
74954 #define HAVE_ISINFL 1
74955 _ACEOF
74958 done
74960 else
74962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
74963 $as_echo_n "checking for _isinfl declaration... " >&6; }
74964 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74965 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
74966 $as_echo_n "(cached) " >&6
74967 else
74970 ac_ext=cpp
74971 ac_cpp='$CXXCPP $CPPFLAGS'
74972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74977 /* end confdefs.h. */
74978 #include <math.h>
74979 #ifdef HAVE_IEEEFP_H
74980 #include <ieeefp.h>
74981 #endif
74984 main ()
74986 _isinfl(0);
74988 return 0;
74990 _ACEOF
74991 if ac_fn_cxx_try_compile "$LINENO"; then :
74992 glibcxx_cv_func__isinfl_use=yes
74993 else
74994 glibcxx_cv_func__isinfl_use=no
74996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74997 ac_ext=c
74998 ac_cpp='$CPP $CPPFLAGS'
74999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75008 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75010 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75011 for ac_func in _isinfl
75012 do :
75013 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75014 if test "x$ac_cv_func__isinfl" = x""yes; then :
75015 cat >>confdefs.h <<_ACEOF
75016 #define HAVE__ISINFL 1
75017 _ACEOF
75020 done
75029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75030 $as_echo_n "checking for atan2l declaration... " >&6; }
75031 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75032 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75033 $as_echo_n "(cached) " >&6
75034 else
75037 ac_ext=cpp
75038 ac_cpp='$CXXCPP $CPPFLAGS'
75039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75044 /* end confdefs.h. */
75045 #include <math.h>
75047 main ()
75049 atan2l(0, 0);
75051 return 0;
75053 _ACEOF
75054 if ac_fn_cxx_try_compile "$LINENO"; then :
75055 glibcxx_cv_func_atan2l_use=yes
75056 else
75057 glibcxx_cv_func_atan2l_use=no
75059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75060 ac_ext=c
75061 ac_cpp='$CPP $CPPFLAGS'
75062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75071 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75073 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75074 for ac_func in atan2l
75075 do :
75076 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75077 if test "x$ac_cv_func_atan2l" = x""yes; then :
75078 cat >>confdefs.h <<_ACEOF
75079 #define HAVE_ATAN2L 1
75080 _ACEOF
75083 done
75085 else
75087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75088 $as_echo_n "checking for _atan2l declaration... " >&6; }
75089 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75090 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75091 $as_echo_n "(cached) " >&6
75092 else
75095 ac_ext=cpp
75096 ac_cpp='$CXXCPP $CPPFLAGS'
75097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75102 /* end confdefs.h. */
75103 #include <math.h>
75105 main ()
75107 _atan2l(0, 0);
75109 return 0;
75111 _ACEOF
75112 if ac_fn_cxx_try_compile "$LINENO"; then :
75113 glibcxx_cv_func__atan2l_use=yes
75114 else
75115 glibcxx_cv_func__atan2l_use=no
75117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75118 ac_ext=c
75119 ac_cpp='$CPP $CPPFLAGS'
75120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75129 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75131 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75132 for ac_func in _atan2l
75133 do :
75134 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75135 if test "x$ac_cv_func__atan2l" = x""yes; then :
75136 cat >>confdefs.h <<_ACEOF
75137 #define HAVE__ATAN2L 1
75138 _ACEOF
75141 done
75150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75151 $as_echo_n "checking for expl declaration... " >&6; }
75152 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75153 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75154 $as_echo_n "(cached) " >&6
75155 else
75158 ac_ext=cpp
75159 ac_cpp='$CXXCPP $CPPFLAGS'
75160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75165 /* end confdefs.h. */
75166 #include <math.h>
75167 #ifdef HAVE_IEEEFP_H
75168 #include <ieeefp.h>
75169 #endif
75172 main ()
75174 expl(0);
75176 return 0;
75178 _ACEOF
75179 if ac_fn_cxx_try_compile "$LINENO"; then :
75180 glibcxx_cv_func_expl_use=yes
75181 else
75182 glibcxx_cv_func_expl_use=no
75184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75185 ac_ext=c
75186 ac_cpp='$CPP $CPPFLAGS'
75187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75196 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75198 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75199 for ac_func in expl
75200 do :
75201 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75202 if test "x$ac_cv_func_expl" = x""yes; then :
75203 cat >>confdefs.h <<_ACEOF
75204 #define HAVE_EXPL 1
75205 _ACEOF
75208 done
75210 else
75212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75213 $as_echo_n "checking for _expl declaration... " >&6; }
75214 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75215 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75216 $as_echo_n "(cached) " >&6
75217 else
75220 ac_ext=cpp
75221 ac_cpp='$CXXCPP $CPPFLAGS'
75222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75227 /* end confdefs.h. */
75228 #include <math.h>
75229 #ifdef HAVE_IEEEFP_H
75230 #include <ieeefp.h>
75231 #endif
75234 main ()
75236 _expl(0);
75238 return 0;
75240 _ACEOF
75241 if ac_fn_cxx_try_compile "$LINENO"; then :
75242 glibcxx_cv_func__expl_use=yes
75243 else
75244 glibcxx_cv_func__expl_use=no
75246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75247 ac_ext=c
75248 ac_cpp='$CPP $CPPFLAGS'
75249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75258 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75260 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75261 for ac_func in _expl
75262 do :
75263 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75264 if test "x$ac_cv_func__expl" = x""yes; then :
75265 cat >>confdefs.h <<_ACEOF
75266 #define HAVE__EXPL 1
75267 _ACEOF
75270 done
75279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75280 $as_echo_n "checking for fabsl declaration... " >&6; }
75281 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75282 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75283 $as_echo_n "(cached) " >&6
75284 else
75287 ac_ext=cpp
75288 ac_cpp='$CXXCPP $CPPFLAGS'
75289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75294 /* end confdefs.h. */
75295 #include <math.h>
75296 #ifdef HAVE_IEEEFP_H
75297 #include <ieeefp.h>
75298 #endif
75301 main ()
75303 fabsl(0);
75305 return 0;
75307 _ACEOF
75308 if ac_fn_cxx_try_compile "$LINENO"; then :
75309 glibcxx_cv_func_fabsl_use=yes
75310 else
75311 glibcxx_cv_func_fabsl_use=no
75313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75314 ac_ext=c
75315 ac_cpp='$CPP $CPPFLAGS'
75316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75325 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75327 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75328 for ac_func in fabsl
75329 do :
75330 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75331 if test "x$ac_cv_func_fabsl" = x""yes; then :
75332 cat >>confdefs.h <<_ACEOF
75333 #define HAVE_FABSL 1
75334 _ACEOF
75337 done
75339 else
75341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75342 $as_echo_n "checking for _fabsl declaration... " >&6; }
75343 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75344 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75345 $as_echo_n "(cached) " >&6
75346 else
75349 ac_ext=cpp
75350 ac_cpp='$CXXCPP $CPPFLAGS'
75351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75356 /* end confdefs.h. */
75357 #include <math.h>
75358 #ifdef HAVE_IEEEFP_H
75359 #include <ieeefp.h>
75360 #endif
75363 main ()
75365 _fabsl(0);
75367 return 0;
75369 _ACEOF
75370 if ac_fn_cxx_try_compile "$LINENO"; then :
75371 glibcxx_cv_func__fabsl_use=yes
75372 else
75373 glibcxx_cv_func__fabsl_use=no
75375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75376 ac_ext=c
75377 ac_cpp='$CPP $CPPFLAGS'
75378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75387 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75389 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75390 for ac_func in _fabsl
75391 do :
75392 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75393 if test "x$ac_cv_func__fabsl" = x""yes; then :
75394 cat >>confdefs.h <<_ACEOF
75395 #define HAVE__FABSL 1
75396 _ACEOF
75399 done
75408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75409 $as_echo_n "checking for fmodl declaration... " >&6; }
75410 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75411 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75412 $as_echo_n "(cached) " >&6
75413 else
75416 ac_ext=cpp
75417 ac_cpp='$CXXCPP $CPPFLAGS'
75418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75423 /* end confdefs.h. */
75424 #include <math.h>
75426 main ()
75428 fmodl(0, 0);
75430 return 0;
75432 _ACEOF
75433 if ac_fn_cxx_try_compile "$LINENO"; then :
75434 glibcxx_cv_func_fmodl_use=yes
75435 else
75436 glibcxx_cv_func_fmodl_use=no
75438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75439 ac_ext=c
75440 ac_cpp='$CPP $CPPFLAGS'
75441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75450 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75452 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75453 for ac_func in fmodl
75454 do :
75455 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75456 if test "x$ac_cv_func_fmodl" = x""yes; then :
75457 cat >>confdefs.h <<_ACEOF
75458 #define HAVE_FMODL 1
75459 _ACEOF
75462 done
75464 else
75466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75467 $as_echo_n "checking for _fmodl declaration... " >&6; }
75468 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75469 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75470 $as_echo_n "(cached) " >&6
75471 else
75474 ac_ext=cpp
75475 ac_cpp='$CXXCPP $CPPFLAGS'
75476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75481 /* end confdefs.h. */
75482 #include <math.h>
75484 main ()
75486 _fmodl(0, 0);
75488 return 0;
75490 _ACEOF
75491 if ac_fn_cxx_try_compile "$LINENO"; then :
75492 glibcxx_cv_func__fmodl_use=yes
75493 else
75494 glibcxx_cv_func__fmodl_use=no
75496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75497 ac_ext=c
75498 ac_cpp='$CPP $CPPFLAGS'
75499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75508 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75510 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75511 for ac_func in _fmodl
75512 do :
75513 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75514 if test "x$ac_cv_func__fmodl" = x""yes; then :
75515 cat >>confdefs.h <<_ACEOF
75516 #define HAVE__FMODL 1
75517 _ACEOF
75520 done
75529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75530 $as_echo_n "checking for frexpl declaration... " >&6; }
75531 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75532 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75533 $as_echo_n "(cached) " >&6
75534 else
75537 ac_ext=cpp
75538 ac_cpp='$CXXCPP $CPPFLAGS'
75539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75544 /* end confdefs.h. */
75545 #include <math.h>
75547 main ()
75549 frexpl(0, 0);
75551 return 0;
75553 _ACEOF
75554 if ac_fn_cxx_try_compile "$LINENO"; then :
75555 glibcxx_cv_func_frexpl_use=yes
75556 else
75557 glibcxx_cv_func_frexpl_use=no
75559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75560 ac_ext=c
75561 ac_cpp='$CPP $CPPFLAGS'
75562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75571 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75573 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75574 for ac_func in frexpl
75575 do :
75576 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75577 if test "x$ac_cv_func_frexpl" = x""yes; then :
75578 cat >>confdefs.h <<_ACEOF
75579 #define HAVE_FREXPL 1
75580 _ACEOF
75583 done
75585 else
75587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75588 $as_echo_n "checking for _frexpl declaration... " >&6; }
75589 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75590 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75591 $as_echo_n "(cached) " >&6
75592 else
75595 ac_ext=cpp
75596 ac_cpp='$CXXCPP $CPPFLAGS'
75597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75602 /* end confdefs.h. */
75603 #include <math.h>
75605 main ()
75607 _frexpl(0, 0);
75609 return 0;
75611 _ACEOF
75612 if ac_fn_cxx_try_compile "$LINENO"; then :
75613 glibcxx_cv_func__frexpl_use=yes
75614 else
75615 glibcxx_cv_func__frexpl_use=no
75617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75618 ac_ext=c
75619 ac_cpp='$CPP $CPPFLAGS'
75620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75629 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75631 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75632 for ac_func in _frexpl
75633 do :
75634 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75635 if test "x$ac_cv_func__frexpl" = x""yes; then :
75636 cat >>confdefs.h <<_ACEOF
75637 #define HAVE__FREXPL 1
75638 _ACEOF
75641 done
75650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75651 $as_echo_n "checking for hypotl declaration... " >&6; }
75652 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75653 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75654 $as_echo_n "(cached) " >&6
75655 else
75658 ac_ext=cpp
75659 ac_cpp='$CXXCPP $CPPFLAGS'
75660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75665 /* end confdefs.h. */
75666 #include <math.h>
75668 main ()
75670 hypotl(0, 0);
75672 return 0;
75674 _ACEOF
75675 if ac_fn_cxx_try_compile "$LINENO"; then :
75676 glibcxx_cv_func_hypotl_use=yes
75677 else
75678 glibcxx_cv_func_hypotl_use=no
75680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75681 ac_ext=c
75682 ac_cpp='$CPP $CPPFLAGS'
75683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75692 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75694 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75695 for ac_func in hypotl
75696 do :
75697 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75698 if test "x$ac_cv_func_hypotl" = x""yes; then :
75699 cat >>confdefs.h <<_ACEOF
75700 #define HAVE_HYPOTL 1
75701 _ACEOF
75704 done
75706 else
75708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75709 $as_echo_n "checking for _hypotl declaration... " >&6; }
75710 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75711 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75712 $as_echo_n "(cached) " >&6
75713 else
75716 ac_ext=cpp
75717 ac_cpp='$CXXCPP $CPPFLAGS'
75718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75723 /* end confdefs.h. */
75724 #include <math.h>
75726 main ()
75728 _hypotl(0, 0);
75730 return 0;
75732 _ACEOF
75733 if ac_fn_cxx_try_compile "$LINENO"; then :
75734 glibcxx_cv_func__hypotl_use=yes
75735 else
75736 glibcxx_cv_func__hypotl_use=no
75738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75739 ac_ext=c
75740 ac_cpp='$CPP $CPPFLAGS'
75741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75750 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75752 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75753 for ac_func in _hypotl
75754 do :
75755 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75756 if test "x$ac_cv_func__hypotl" = x""yes; then :
75757 cat >>confdefs.h <<_ACEOF
75758 #define HAVE__HYPOTL 1
75759 _ACEOF
75762 done
75771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75772 $as_echo_n "checking for ldexpl declaration... " >&6; }
75773 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75774 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75775 $as_echo_n "(cached) " >&6
75776 else
75779 ac_ext=cpp
75780 ac_cpp='$CXXCPP $CPPFLAGS'
75781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75786 /* end confdefs.h. */
75787 #include <math.h>
75789 main ()
75791 ldexpl(0, 0);
75793 return 0;
75795 _ACEOF
75796 if ac_fn_cxx_try_compile "$LINENO"; then :
75797 glibcxx_cv_func_ldexpl_use=yes
75798 else
75799 glibcxx_cv_func_ldexpl_use=no
75801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75802 ac_ext=c
75803 ac_cpp='$CPP $CPPFLAGS'
75804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75813 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75815 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75816 for ac_func in ldexpl
75817 do :
75818 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75819 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75820 cat >>confdefs.h <<_ACEOF
75821 #define HAVE_LDEXPL 1
75822 _ACEOF
75825 done
75827 else
75829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75830 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75831 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75832 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75833 $as_echo_n "(cached) " >&6
75834 else
75837 ac_ext=cpp
75838 ac_cpp='$CXXCPP $CPPFLAGS'
75839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75844 /* end confdefs.h. */
75845 #include <math.h>
75847 main ()
75849 _ldexpl(0, 0);
75851 return 0;
75853 _ACEOF
75854 if ac_fn_cxx_try_compile "$LINENO"; then :
75855 glibcxx_cv_func__ldexpl_use=yes
75856 else
75857 glibcxx_cv_func__ldexpl_use=no
75859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75860 ac_ext=c
75861 ac_cpp='$CPP $CPPFLAGS'
75862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75871 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75873 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75874 for ac_func in _ldexpl
75875 do :
75876 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75877 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75878 cat >>confdefs.h <<_ACEOF
75879 #define HAVE__LDEXPL 1
75880 _ACEOF
75883 done
75892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75893 $as_echo_n "checking for logl declaration... " >&6; }
75894 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75895 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75896 $as_echo_n "(cached) " >&6
75897 else
75900 ac_ext=cpp
75901 ac_cpp='$CXXCPP $CPPFLAGS'
75902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75907 /* end confdefs.h. */
75908 #include <math.h>
75909 #ifdef HAVE_IEEEFP_H
75910 #include <ieeefp.h>
75911 #endif
75914 main ()
75916 logl(0);
75918 return 0;
75920 _ACEOF
75921 if ac_fn_cxx_try_compile "$LINENO"; then :
75922 glibcxx_cv_func_logl_use=yes
75923 else
75924 glibcxx_cv_func_logl_use=no
75926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75927 ac_ext=c
75928 ac_cpp='$CPP $CPPFLAGS'
75929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75938 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75940 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75941 for ac_func in logl
75942 do :
75943 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75944 if test "x$ac_cv_func_logl" = x""yes; then :
75945 cat >>confdefs.h <<_ACEOF
75946 #define HAVE_LOGL 1
75947 _ACEOF
75950 done
75952 else
75954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
75955 $as_echo_n "checking for _logl declaration... " >&6; }
75956 if test x${glibcxx_cv_func__logl_use+set} != xset; then
75957 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
75958 $as_echo_n "(cached) " >&6
75959 else
75962 ac_ext=cpp
75963 ac_cpp='$CXXCPP $CPPFLAGS'
75964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75969 /* end confdefs.h. */
75970 #include <math.h>
75971 #ifdef HAVE_IEEEFP_H
75972 #include <ieeefp.h>
75973 #endif
75976 main ()
75978 _logl(0);
75980 return 0;
75982 _ACEOF
75983 if ac_fn_cxx_try_compile "$LINENO"; then :
75984 glibcxx_cv_func__logl_use=yes
75985 else
75986 glibcxx_cv_func__logl_use=no
75988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75989 ac_ext=c
75990 ac_cpp='$CPP $CPPFLAGS'
75991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76000 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76002 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76003 for ac_func in _logl
76004 do :
76005 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76006 if test "x$ac_cv_func__logl" = x""yes; then :
76007 cat >>confdefs.h <<_ACEOF
76008 #define HAVE__LOGL 1
76009 _ACEOF
76012 done
76021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76022 $as_echo_n "checking for log10l declaration... " >&6; }
76023 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76024 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76025 $as_echo_n "(cached) " >&6
76026 else
76029 ac_ext=cpp
76030 ac_cpp='$CXXCPP $CPPFLAGS'
76031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76036 /* end confdefs.h. */
76037 #include <math.h>
76038 #ifdef HAVE_IEEEFP_H
76039 #include <ieeefp.h>
76040 #endif
76043 main ()
76045 log10l(0);
76047 return 0;
76049 _ACEOF
76050 if ac_fn_cxx_try_compile "$LINENO"; then :
76051 glibcxx_cv_func_log10l_use=yes
76052 else
76053 glibcxx_cv_func_log10l_use=no
76055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76056 ac_ext=c
76057 ac_cpp='$CPP $CPPFLAGS'
76058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76067 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76069 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76070 for ac_func in log10l
76071 do :
76072 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76073 if test "x$ac_cv_func_log10l" = x""yes; then :
76074 cat >>confdefs.h <<_ACEOF
76075 #define HAVE_LOG10L 1
76076 _ACEOF
76079 done
76081 else
76083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76084 $as_echo_n "checking for _log10l declaration... " >&6; }
76085 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76086 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76087 $as_echo_n "(cached) " >&6
76088 else
76091 ac_ext=cpp
76092 ac_cpp='$CXXCPP $CPPFLAGS'
76093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76098 /* end confdefs.h. */
76099 #include <math.h>
76100 #ifdef HAVE_IEEEFP_H
76101 #include <ieeefp.h>
76102 #endif
76105 main ()
76107 _log10l(0);
76109 return 0;
76111 _ACEOF
76112 if ac_fn_cxx_try_compile "$LINENO"; then :
76113 glibcxx_cv_func__log10l_use=yes
76114 else
76115 glibcxx_cv_func__log10l_use=no
76117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76118 ac_ext=c
76119 ac_cpp='$CPP $CPPFLAGS'
76120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76129 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76131 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76132 for ac_func in _log10l
76133 do :
76134 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76135 if test "x$ac_cv_func__log10l" = x""yes; then :
76136 cat >>confdefs.h <<_ACEOF
76137 #define HAVE__LOG10L 1
76138 _ACEOF
76141 done
76150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76151 $as_echo_n "checking for modfl declaration... " >&6; }
76152 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76153 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76154 $as_echo_n "(cached) " >&6
76155 else
76158 ac_ext=cpp
76159 ac_cpp='$CXXCPP $CPPFLAGS'
76160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76165 /* end confdefs.h. */
76166 #include <math.h>
76168 main ()
76170 modfl(0, 0);
76172 return 0;
76174 _ACEOF
76175 if ac_fn_cxx_try_compile "$LINENO"; then :
76176 glibcxx_cv_func_modfl_use=yes
76177 else
76178 glibcxx_cv_func_modfl_use=no
76180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76181 ac_ext=c
76182 ac_cpp='$CPP $CPPFLAGS'
76183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76192 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76194 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76195 for ac_func in modfl
76196 do :
76197 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76198 if test "x$ac_cv_func_modfl" = x""yes; then :
76199 cat >>confdefs.h <<_ACEOF
76200 #define HAVE_MODFL 1
76201 _ACEOF
76204 done
76206 else
76208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76209 $as_echo_n "checking for _modfl declaration... " >&6; }
76210 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76211 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76212 $as_echo_n "(cached) " >&6
76213 else
76216 ac_ext=cpp
76217 ac_cpp='$CXXCPP $CPPFLAGS'
76218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76223 /* end confdefs.h. */
76224 #include <math.h>
76226 main ()
76228 _modfl(0, 0);
76230 return 0;
76232 _ACEOF
76233 if ac_fn_cxx_try_compile "$LINENO"; then :
76234 glibcxx_cv_func__modfl_use=yes
76235 else
76236 glibcxx_cv_func__modfl_use=no
76238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76239 ac_ext=c
76240 ac_cpp='$CPP $CPPFLAGS'
76241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76250 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76252 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76253 for ac_func in _modfl
76254 do :
76255 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76256 if test "x$ac_cv_func__modfl" = x""yes; then :
76257 cat >>confdefs.h <<_ACEOF
76258 #define HAVE__MODFL 1
76259 _ACEOF
76262 done
76271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76272 $as_echo_n "checking for powl declaration... " >&6; }
76273 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76274 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76275 $as_echo_n "(cached) " >&6
76276 else
76279 ac_ext=cpp
76280 ac_cpp='$CXXCPP $CPPFLAGS'
76281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76286 /* end confdefs.h. */
76287 #include <math.h>
76289 main ()
76291 powl(0, 0);
76293 return 0;
76295 _ACEOF
76296 if ac_fn_cxx_try_compile "$LINENO"; then :
76297 glibcxx_cv_func_powl_use=yes
76298 else
76299 glibcxx_cv_func_powl_use=no
76301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76302 ac_ext=c
76303 ac_cpp='$CPP $CPPFLAGS'
76304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76313 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76315 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76316 for ac_func in powl
76317 do :
76318 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76319 if test "x$ac_cv_func_powl" = x""yes; then :
76320 cat >>confdefs.h <<_ACEOF
76321 #define HAVE_POWL 1
76322 _ACEOF
76325 done
76327 else
76329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76330 $as_echo_n "checking for _powl declaration... " >&6; }
76331 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76332 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76333 $as_echo_n "(cached) " >&6
76334 else
76337 ac_ext=cpp
76338 ac_cpp='$CXXCPP $CPPFLAGS'
76339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76344 /* end confdefs.h. */
76345 #include <math.h>
76347 main ()
76349 _powl(0, 0);
76351 return 0;
76353 _ACEOF
76354 if ac_fn_cxx_try_compile "$LINENO"; then :
76355 glibcxx_cv_func__powl_use=yes
76356 else
76357 glibcxx_cv_func__powl_use=no
76359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76360 ac_ext=c
76361 ac_cpp='$CPP $CPPFLAGS'
76362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76371 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76373 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76374 for ac_func in _powl
76375 do :
76376 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76377 if test "x$ac_cv_func__powl" = x""yes; then :
76378 cat >>confdefs.h <<_ACEOF
76379 #define HAVE__POWL 1
76380 _ACEOF
76383 done
76392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76393 $as_echo_n "checking for sqrtl declaration... " >&6; }
76394 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76395 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76396 $as_echo_n "(cached) " >&6
76397 else
76400 ac_ext=cpp
76401 ac_cpp='$CXXCPP $CPPFLAGS'
76402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76407 /* end confdefs.h. */
76408 #include <math.h>
76409 #ifdef HAVE_IEEEFP_H
76410 #include <ieeefp.h>
76411 #endif
76414 main ()
76416 sqrtl(0);
76418 return 0;
76420 _ACEOF
76421 if ac_fn_cxx_try_compile "$LINENO"; then :
76422 glibcxx_cv_func_sqrtl_use=yes
76423 else
76424 glibcxx_cv_func_sqrtl_use=no
76426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76427 ac_ext=c
76428 ac_cpp='$CPP $CPPFLAGS'
76429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76438 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76440 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76441 for ac_func in sqrtl
76442 do :
76443 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76444 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76445 cat >>confdefs.h <<_ACEOF
76446 #define HAVE_SQRTL 1
76447 _ACEOF
76450 done
76452 else
76454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76455 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76456 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76457 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76458 $as_echo_n "(cached) " >&6
76459 else
76462 ac_ext=cpp
76463 ac_cpp='$CXXCPP $CPPFLAGS'
76464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76469 /* end confdefs.h. */
76470 #include <math.h>
76471 #ifdef HAVE_IEEEFP_H
76472 #include <ieeefp.h>
76473 #endif
76476 main ()
76478 _sqrtl(0);
76480 return 0;
76482 _ACEOF
76483 if ac_fn_cxx_try_compile "$LINENO"; then :
76484 glibcxx_cv_func__sqrtl_use=yes
76485 else
76486 glibcxx_cv_func__sqrtl_use=no
76488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76489 ac_ext=c
76490 ac_cpp='$CPP $CPPFLAGS'
76491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76500 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76502 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76503 for ac_func in _sqrtl
76504 do :
76505 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76506 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76507 cat >>confdefs.h <<_ACEOF
76508 #define HAVE__SQRTL 1
76509 _ACEOF
76512 done
76521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76522 $as_echo_n "checking for sincosl declaration... " >&6; }
76523 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76524 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76525 $as_echo_n "(cached) " >&6
76526 else
76529 ac_ext=cpp
76530 ac_cpp='$CXXCPP $CPPFLAGS'
76531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76536 /* end confdefs.h. */
76537 #include <math.h>
76539 main ()
76541 sincosl(0, 0, 0);
76543 return 0;
76545 _ACEOF
76546 if ac_fn_cxx_try_compile "$LINENO"; then :
76547 glibcxx_cv_func_sincosl_use=yes
76548 else
76549 glibcxx_cv_func_sincosl_use=no
76551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76552 ac_ext=c
76553 ac_cpp='$CPP $CPPFLAGS'
76554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76563 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76565 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76566 for ac_func in sincosl
76567 do :
76568 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76569 if test "x$ac_cv_func_sincosl" = x""yes; then :
76570 cat >>confdefs.h <<_ACEOF
76571 #define HAVE_SINCOSL 1
76572 _ACEOF
76575 done
76577 else
76579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76580 $as_echo_n "checking for _sincosl declaration... " >&6; }
76581 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76582 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76583 $as_echo_n "(cached) " >&6
76584 else
76587 ac_ext=cpp
76588 ac_cpp='$CXXCPP $CPPFLAGS'
76589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76594 /* end confdefs.h. */
76595 #include <math.h>
76597 main ()
76599 _sincosl(0, 0, 0);
76601 return 0;
76603 _ACEOF
76604 if ac_fn_cxx_try_compile "$LINENO"; then :
76605 glibcxx_cv_func__sincosl_use=yes
76606 else
76607 glibcxx_cv_func__sincosl_use=no
76609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76610 ac_ext=c
76611 ac_cpp='$CPP $CPPFLAGS'
76612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76621 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76623 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76624 for ac_func in _sincosl
76625 do :
76626 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76627 if test "x$ac_cv_func__sincosl" = x""yes; then :
76628 cat >>confdefs.h <<_ACEOF
76629 #define HAVE__SINCOSL 1
76630 _ACEOF
76633 done
76642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76643 $as_echo_n "checking for finitel declaration... " >&6; }
76644 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76645 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76646 $as_echo_n "(cached) " >&6
76647 else
76650 ac_ext=cpp
76651 ac_cpp='$CXXCPP $CPPFLAGS'
76652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76657 /* end confdefs.h. */
76658 #include <math.h>
76659 #ifdef HAVE_IEEEFP_H
76660 #include <ieeefp.h>
76661 #endif
76664 main ()
76666 finitel(0);
76668 return 0;
76670 _ACEOF
76671 if ac_fn_cxx_try_compile "$LINENO"; then :
76672 glibcxx_cv_func_finitel_use=yes
76673 else
76674 glibcxx_cv_func_finitel_use=no
76676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76677 ac_ext=c
76678 ac_cpp='$CPP $CPPFLAGS'
76679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76688 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76690 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76691 for ac_func in finitel
76692 do :
76693 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76694 if test "x$ac_cv_func_finitel" = x""yes; then :
76695 cat >>confdefs.h <<_ACEOF
76696 #define HAVE_FINITEL 1
76697 _ACEOF
76700 done
76702 else
76704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76705 $as_echo_n "checking for _finitel declaration... " >&6; }
76706 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76707 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76708 $as_echo_n "(cached) " >&6
76709 else
76712 ac_ext=cpp
76713 ac_cpp='$CXXCPP $CPPFLAGS'
76714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76719 /* end confdefs.h. */
76720 #include <math.h>
76721 #ifdef HAVE_IEEEFP_H
76722 #include <ieeefp.h>
76723 #endif
76726 main ()
76728 _finitel(0);
76730 return 0;
76732 _ACEOF
76733 if ac_fn_cxx_try_compile "$LINENO"; then :
76734 glibcxx_cv_func__finitel_use=yes
76735 else
76736 glibcxx_cv_func__finitel_use=no
76738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76739 ac_ext=c
76740 ac_cpp='$CPP $CPPFLAGS'
76741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76750 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76752 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76753 for ac_func in _finitel
76754 do :
76755 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76756 if test "x$ac_cv_func__finitel" = x""yes; then :
76757 cat >>confdefs.h <<_ACEOF
76758 #define HAVE__FINITEL 1
76759 _ACEOF
76762 done
76770 LIBS="$ac_save_LIBS"
76771 CXXFLAGS="$ac_save_CXXFLAGS"
76774 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76775 ac_save_CXXFLAGS="$CXXFLAGS"
76776 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76780 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76781 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76782 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76783 $as_echo_n "(cached) " >&6
76784 else
76787 ac_ext=cpp
76788 ac_cpp='$CXXCPP $CPPFLAGS'
76789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76794 /* end confdefs.h. */
76795 #include <stdlib.h>
76797 main ()
76799 at_quick_exit(0);
76801 return 0;
76803 _ACEOF
76804 if ac_fn_cxx_try_compile "$LINENO"; then :
76805 glibcxx_cv_func_at_quick_exit_use=yes
76806 else
76807 glibcxx_cv_func_at_quick_exit_use=no
76809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76810 ac_ext=c
76811 ac_cpp='$CPP $CPPFLAGS'
76812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76821 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76822 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76823 for ac_func in at_quick_exit
76824 do :
76825 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76826 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76827 cat >>confdefs.h <<_ACEOF
76828 #define HAVE_AT_QUICK_EXIT 1
76829 _ACEOF
76832 done
76837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76838 $as_echo_n "checking for quick_exit declaration... " >&6; }
76839 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76840 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76841 $as_echo_n "(cached) " >&6
76842 else
76845 ac_ext=cpp
76846 ac_cpp='$CXXCPP $CPPFLAGS'
76847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76852 /* end confdefs.h. */
76853 #include <stdlib.h>
76855 main ()
76857 quick_exit(0);
76859 return 0;
76861 _ACEOF
76862 if ac_fn_cxx_try_compile "$LINENO"; then :
76863 glibcxx_cv_func_quick_exit_use=yes
76864 else
76865 glibcxx_cv_func_quick_exit_use=no
76867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76868 ac_ext=c
76869 ac_cpp='$CPP $CPPFLAGS'
76870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76879 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76880 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76881 for ac_func in quick_exit
76882 do :
76883 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76884 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76885 cat >>confdefs.h <<_ACEOF
76886 #define HAVE_QUICK_EXIT 1
76887 _ACEOF
76890 done
76895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76896 $as_echo_n "checking for strtold declaration... " >&6; }
76897 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76898 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76899 $as_echo_n "(cached) " >&6
76900 else
76903 ac_ext=cpp
76904 ac_cpp='$CXXCPP $CPPFLAGS'
76905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76910 /* end confdefs.h. */
76911 #include <stdlib.h>
76913 main ()
76915 strtold(0, 0);
76917 return 0;
76919 _ACEOF
76920 if ac_fn_cxx_try_compile "$LINENO"; then :
76921 glibcxx_cv_func_strtold_use=yes
76922 else
76923 glibcxx_cv_func_strtold_use=no
76925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76926 ac_ext=c
76927 ac_cpp='$CPP $CPPFLAGS'
76928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76937 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76938 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76939 for ac_func in strtold
76940 do :
76941 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76942 if test "x$ac_cv_func_strtold" = x""yes; then :
76943 cat >>confdefs.h <<_ACEOF
76944 #define HAVE_STRTOLD 1
76945 _ACEOF
76948 done
76955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
76956 $as_echo_n "checking for strtof declaration... " >&6; }
76957 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76958 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
76959 $as_echo_n "(cached) " >&6
76960 else
76963 ac_ext=cpp
76964 ac_cpp='$CXXCPP $CPPFLAGS'
76965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76970 /* end confdefs.h. */
76971 #include <stdlib.h>
76973 main ()
76975 strtof(0, 0);
76977 return 0;
76979 _ACEOF
76980 if ac_fn_cxx_try_compile "$LINENO"; then :
76981 glibcxx_cv_func_strtof_use=yes
76982 else
76983 glibcxx_cv_func_strtof_use=no
76985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76986 ac_ext=c
76987 ac_cpp='$CPP $CPPFLAGS'
76988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
76997 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
76998 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
76999 for ac_func in strtof
77000 do :
77001 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77002 if test "x$ac_cv_func_strtof" = x""yes; then :
77003 cat >>confdefs.h <<_ACEOF
77004 #define HAVE_STRTOF 1
77005 _ACEOF
77008 done
77015 CXXFLAGS="$ac_save_CXXFLAGS"
77018 *-vxworks)
77019 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77021 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77023 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77025 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77027 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77029 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77031 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77033 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77035 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77037 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77039 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77041 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77043 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77045 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77047 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77049 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77051 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77053 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77055 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77057 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77061 as_fn_error "No support for this host/target combination." "$LINENO" 5
77063 esac
77067 # At some point, we should differentiate between architectures
77068 # like x86, which have long double versions, and alpha/powerpc/etc.,
77069 # which don't. For the time being, punt.
77070 if test x"long_double_math_on_this_cpu" = x"yes"; then
77071 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77073 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77075 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77077 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77079 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77081 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77083 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77085 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77087 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77089 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77091 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77093 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77095 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77097 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77099 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77101 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77103 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77105 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77107 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77109 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77111 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77113 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77115 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77120 # Check for _Unwind_GetIPInfo.
77123 # Check whether --with-system-libunwind was given.
77124 if test "${with_system_libunwind+set}" = set; then :
77125 withval=$with_system_libunwind;
77128 # If system-libunwind was not specifically set, pick a default setting.
77129 if test x$with_system_libunwind = x; then
77130 case ${target} in
77131 ia64-*-hpux*) with_system_libunwind=yes ;;
77132 *) with_system_libunwind=no ;;
77133 esac
77135 # Based on system-libunwind and target, do we have ipinfo?
77136 if test x$with_system_libunwind = xyes; then
77137 case ${target} in
77138 ia64-*-*) have_unwind_getipinfo=no ;;
77139 *) have_unwind_getipinfo=yes ;;
77140 esac
77141 else
77142 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77144 case ${target} in
77145 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77146 *) have_unwind_getipinfo=yes ;;
77147 esac
77151 if test x$have_unwind_getipinfo = xyes; then
77153 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77158 # Check whether --enable-linux-futex was given.
77159 if test "${enable_linux_futex+set}" = set; then :
77160 enableval=$enable_linux_futex;
77161 case "$enableval" in
77162 yes|no|default) ;;
77163 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77164 esac
77166 else
77167 enable_linux_futex=default
77171 case "$target" in
77172 *-linux*)
77173 case "$enable_linux_futex" in
77174 default)
77175 # If headers don't have gettid/futex syscalls definition, then
77176 # default to no, otherwise there will be compile time failures.
77177 # Otherwise, default to yes. If we don't detect we are
77178 # compiled/linked against NPTL and not cross-compiling, check
77179 # if programs are run by default against NPTL and if not, issue
77180 # a warning.
77181 enable_linux_futex=no
77182 if test x$gcc_no_link = xyes; then
77183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77186 /* end confdefs.h. */
77187 #include <sys/syscall.h>
77188 int lk;
77190 main ()
77192 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77194 return 0;
77196 _ACEOF
77197 if ac_fn_c_try_link "$LINENO"; then :
77198 save_LIBS="$LIBS"
77199 LIBS="-lpthread $LIBS"
77200 if test x$gcc_no_link = xyes; then
77201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77204 /* end confdefs.h. */
77205 #ifndef _GNU_SOURCE
77206 #define _GNU_SOURCE 1
77207 #endif
77208 #include <pthread.h>
77209 pthread_t th; void *status;
77211 main ()
77213 pthread_tryjoin_np (th, &status);
77215 return 0;
77217 _ACEOF
77218 if ac_fn_c_try_link "$LINENO"; then :
77219 enable_linux_futex=yes
77220 else
77221 if test x$cross_compiling = xno; then
77222 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77223 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77225 If so, please configure with --disable-linux-futex" >&5
77226 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77227 If so, please configure with --disable-linux-futex" >&2;}
77230 enable_linux_futex=yes
77232 rm -f core conftest.err conftest.$ac_objext \
77233 conftest$ac_exeext conftest.$ac_ext
77234 LIBS="$save_LIBS"
77236 rm -f core conftest.err conftest.$ac_objext \
77237 conftest$ac_exeext conftest.$ac_ext
77239 yes)
77240 if test x$gcc_no_link = xyes; then
77241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77244 /* end confdefs.h. */
77245 #include <sys/syscall.h>
77246 int lk;
77248 main ()
77250 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77252 return 0;
77254 _ACEOF
77255 if ac_fn_c_try_link "$LINENO"; then :
77257 else
77258 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77260 rm -f core conftest.err conftest.$ac_objext \
77261 conftest$ac_exeext conftest.$ac_ext
77263 esac
77266 enable_linux_futex=no
77268 esac
77269 if test x$enable_linux_futex = xyes; then
77271 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77278 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77280 acx_cv_header_stdint=stddef.h
77281 acx_cv_header_stdint_kind="(already complete)"
77282 for i in stdint.h $inttype_headers; do
77283 unset ac_cv_type_uintptr_t
77284 unset ac_cv_type_uintmax_t
77285 unset ac_cv_type_int_least32_t
77286 unset ac_cv_type_int_fast32_t
77287 unset ac_cv_type_uint64_t
77288 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77289 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77290 #include <$i>
77292 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77293 acx_cv_header_stdint=$i
77294 else
77295 continue
77298 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77299 #include <$i>
77301 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77303 else
77304 acx_cv_header_stdint_kind="(mostly complete)"
77307 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77308 #include <$i>
77310 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77312 else
77313 acx_cv_header_stdint_kind="(mostly complete)"
77316 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77317 #include <$i>
77319 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77321 else
77322 acx_cv_header_stdint_kind="(mostly complete)"
77325 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77326 #include <$i>
77328 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77330 else
77331 acx_cv_header_stdint_kind="(lacks uint64_t)"
77334 break
77335 done
77336 if test "$acx_cv_header_stdint" = stddef.h; then
77337 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77338 for i in stdint.h $inttype_headers; do
77339 unset ac_cv_type_uintptr_t
77340 unset ac_cv_type_uint32_t
77341 unset ac_cv_type_uint64_t
77342 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77343 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77344 #include <$i>
77346 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77347 acx_cv_header_stdint=$i
77348 else
77349 continue
77352 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77353 #include <$i>
77355 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77359 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77360 #include <$i>
77362 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77366 break
77367 done
77369 if test "$acx_cv_header_stdint" = stddef.h; then
77370 acx_cv_header_stdint_kind="(u_intXX_t style)"
77371 for i in sys/types.h $inttype_headers; do
77372 unset ac_cv_type_u_int32_t
77373 unset ac_cv_type_u_int64_t
77374 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77375 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77376 #include <$i>
77378 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77379 acx_cv_header_stdint=$i
77380 else
77381 continue
77384 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77385 #include <$i>
77387 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77391 break
77392 done
77394 if test "$acx_cv_header_stdint" = stddef.h; then
77395 acx_cv_header_stdint_kind="(using manual detection)"
77398 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77399 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77400 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77401 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77402 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77404 # ----------------- Summarize what we found so far
77406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77407 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77409 case `$as_basename -- include/gstdint.h ||
77410 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77411 Xinclude/gstdint.h : 'X\(//\)$' \| \
77412 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77413 $as_echo X/include/gstdint.h |
77414 sed '/^.*\/\([^/][^/]*\)\/*$/{
77415 s//\1/
77418 /^X\/\(\/\/\)$/{
77419 s//\1/
77422 /^X\/\(\/\).*/{
77423 s//\1/
77426 s/.*/./; q'` in
77427 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77428 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77429 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77430 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77431 *) ;;
77432 esac
77434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77435 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77437 # ----------------- done included file, check C basic types --------
77439 # Lacking an uintptr_t? Test size of void *
77440 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77441 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77442 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77443 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77444 # This bug is HP SR number 8606223364.
77445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77446 $as_echo_n "checking size of void *... " >&6; }
77447 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77448 $as_echo_n "(cached) " >&6
77449 else
77450 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77452 else
77453 if test "$ac_cv_type_void_p" = yes; then
77454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77456 { as_fn_set_status 77
77457 as_fn_error "cannot compute sizeof (void *)
77458 See \`config.log' for more details." "$LINENO" 5; }; }
77459 else
77460 ac_cv_sizeof_void_p=0
77465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77466 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77470 cat >>confdefs.h <<_ACEOF
77471 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77472 _ACEOF
77475 esac
77477 # Lacking an uint64_t? Test size of long
77478 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77479 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77480 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77481 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77482 # This bug is HP SR number 8606223364.
77483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77484 $as_echo_n "checking size of long... " >&6; }
77485 if test "${ac_cv_sizeof_long+set}" = set; then :
77486 $as_echo_n "(cached) " >&6
77487 else
77488 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77490 else
77491 if test "$ac_cv_type_long" = yes; then
77492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77494 { as_fn_set_status 77
77495 as_fn_error "cannot compute sizeof (long)
77496 See \`config.log' for more details." "$LINENO" 5; }; }
77497 else
77498 ac_cv_sizeof_long=0
77503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77504 $as_echo "$ac_cv_sizeof_long" >&6; }
77508 cat >>confdefs.h <<_ACEOF
77509 #define SIZEOF_LONG $ac_cv_sizeof_long
77510 _ACEOF
77513 esac
77515 if test $acx_cv_header_stdint = stddef.h; then
77516 # Lacking a good header? Test size of everything and deduce all types.
77517 # The cast to long int works around a bug in the HP C Compiler
77518 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77519 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77520 # This bug is HP SR number 8606223364.
77521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77522 $as_echo_n "checking size of int... " >&6; }
77523 if test "${ac_cv_sizeof_int+set}" = set; then :
77524 $as_echo_n "(cached) " >&6
77525 else
77526 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77528 else
77529 if test "$ac_cv_type_int" = yes; then
77530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77532 { as_fn_set_status 77
77533 as_fn_error "cannot compute sizeof (int)
77534 See \`config.log' for more details." "$LINENO" 5; }; }
77535 else
77536 ac_cv_sizeof_int=0
77541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77542 $as_echo "$ac_cv_sizeof_int" >&6; }
77546 cat >>confdefs.h <<_ACEOF
77547 #define SIZEOF_INT $ac_cv_sizeof_int
77548 _ACEOF
77551 # The cast to long int works around a bug in the HP C Compiler
77552 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77553 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77554 # This bug is HP SR number 8606223364.
77555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77556 $as_echo_n "checking size of short... " >&6; }
77557 if test "${ac_cv_sizeof_short+set}" = set; then :
77558 $as_echo_n "(cached) " >&6
77559 else
77560 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77562 else
77563 if test "$ac_cv_type_short" = yes; then
77564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77566 { as_fn_set_status 77
77567 as_fn_error "cannot compute sizeof (short)
77568 See \`config.log' for more details." "$LINENO" 5; }; }
77569 else
77570 ac_cv_sizeof_short=0
77575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77576 $as_echo "$ac_cv_sizeof_short" >&6; }
77580 cat >>confdefs.h <<_ACEOF
77581 #define SIZEOF_SHORT $ac_cv_sizeof_short
77582 _ACEOF
77585 # The cast to long int works around a bug in the HP C Compiler
77586 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77587 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77588 # This bug is HP SR number 8606223364.
77589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77590 $as_echo_n "checking size of char... " >&6; }
77591 if test "${ac_cv_sizeof_char+set}" = set; then :
77592 $as_echo_n "(cached) " >&6
77593 else
77594 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77596 else
77597 if test "$ac_cv_type_char" = yes; then
77598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77600 { as_fn_set_status 77
77601 as_fn_error "cannot compute sizeof (char)
77602 See \`config.log' for more details." "$LINENO" 5; }; }
77603 else
77604 ac_cv_sizeof_char=0
77609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77610 $as_echo "$ac_cv_sizeof_char" >&6; }
77614 cat >>confdefs.h <<_ACEOF
77615 #define SIZEOF_CHAR $ac_cv_sizeof_char
77616 _ACEOF
77620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77621 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77622 case "$ac_cv_sizeof_char" in
77623 1) acx_cv_type_int8_t=char ;;
77624 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77625 esac
77626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77627 $as_echo "$acx_cv_type_int8_t" >&6; }
77629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77630 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77631 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77632 2:*) acx_cv_type_int16_t=int ;;
77633 *:2) acx_cv_type_int16_t=short ;;
77634 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77635 esac
77636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77637 $as_echo "$acx_cv_type_int16_t" >&6; }
77639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77640 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77641 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77642 4:*) acx_cv_type_int32_t=int ;;
77643 *:4) acx_cv_type_int32_t=long ;;
77644 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77645 esac
77646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77647 $as_echo "$acx_cv_type_int32_t" >&6; }
77650 # These tests are here to make the output prettier
77652 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77653 case "$ac_cv_sizeof_long" in
77654 8) acx_cv_type_int64_t=long ;;
77655 esac
77656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77657 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77659 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77662 # Now we can use the above types
77664 if test "$ac_cv_type_uintptr_t" != yes; then
77665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77666 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77667 case $ac_cv_sizeof_void_p in
77668 2) acx_cv_type_intptr_t=int16_t ;;
77669 4) acx_cv_type_intptr_t=int32_t ;;
77670 8) acx_cv_type_intptr_t=int64_t ;;
77671 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77672 esac
77673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77674 $as_echo "$acx_cv_type_intptr_t" >&6; }
77677 # ----------------- done all checks, emit header -------------
77678 ac_config_commands="$ac_config_commands include/gstdint.h"
77684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77685 $as_echo_n "checking for GNU c++filt... " >&6; }
77686 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77687 $as_echo_n "(cached) " >&6
77688 else
77689 if test -z "$CXXFILT"; then
77690 ac_path_CXXFILT_found=false
77691 # Loop through the user's path and test for each of PROGNAME-LIST
77692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77693 for as_dir in $PATH
77695 IFS=$as_save_IFS
77696 test -z "$as_dir" && as_dir=.
77697 for ac_prog in c++filt gc++filt; do
77698 for ac_exec_ext in '' $ac_executable_extensions; do
77699 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77700 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77701 # Check for GNU $ac_path_CXXFILT
77702 case `"$ac_path_CXXFILT" --version 2>&1` in
77703 *GNU*)
77704 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77705 esac
77707 $ac_path_CXXFILT_found && break 3
77708 done
77709 done
77710 done
77711 IFS=$as_save_IFS
77712 if test -z "$ac_cv_path_CXXFILT"; then
77715 else
77716 ac_cv_path_CXXFILT=$CXXFILT
77720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77721 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77722 CXXFILT=$ac_cv_path_CXXFILT
77726 # Check whether --enable-symvers was given.
77727 if test "${enable_symvers+set}" = set; then :
77728 enableval=$enable_symvers;
77729 case "$enableval" in
77730 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77731 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77732 esac
77734 else
77735 enable_symvers=yes
77740 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77741 # don't know enough about $LD to do tricks...
77743 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77744 # with extern "C++" in version scripts.
77747 # Turn a 'yes' into a suitable default.
77748 if test x$enable_symvers = xyes ; then
77749 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77750 enable_symvers=no
77751 else
77752 if test $with_gnu_ld = yes ; then
77753 case ${target_os} in
77754 hpux*)
77755 enable_symvers=no ;;
77757 enable_symvers=gnu ;;
77758 esac
77759 else
77760 case ${target_os} in
77761 darwin*)
77762 enable_symvers=darwin ;;
77763 # Sun symbol versioning exists since Solaris 2.5.
77764 solaris2.[5-9]* | solaris2.1[0-9]*)
77765 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77766 # version scripts, so disable symbol versioning if none can be
77767 # found.
77768 if test -z "$ac_cv_path_CXXFILT"; then
77769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77770 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77772 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77774 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77775 enable_symvers=no
77776 else
77777 enable_symvers=sun
77781 enable_symvers=no ;;
77782 esac
77787 # Check to see if 'darwin' or 'darwin-export' can win.
77788 if test x$enable_symvers = xdarwin-export ; then
77789 enable_symvers=darwin
77792 # Check if 'sun' was requested on non-Solaris 2 platforms.
77793 if test x$enable_symvers = xsun ; then
77794 case ${target_os} in
77795 solaris2*)
77796 # All fine.
77799 # Unlikely to work.
77800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77801 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77803 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77805 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77806 enable_symvers=no
77808 esac
77811 # Check to see if 'gnu' can win.
77812 if test $enable_symvers = gnu ||
77813 test $enable_symvers = gnu-versioned-namespace ||
77814 test $enable_symvers = sun; then
77815 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77817 $as_echo_n "checking for shared libgcc... " >&6; }
77818 ac_save_CFLAGS="$CFLAGS"
77819 CFLAGS=' -lgcc_s'
77820 if test x$gcc_no_link = xyes; then
77821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77824 /* end confdefs.h. */
77827 main ()
77829 return 0;
77831 return 0;
77833 _ACEOF
77834 if ac_fn_c_try_link "$LINENO"; then :
77835 glibcxx_shared_libgcc=yes
77836 else
77837 glibcxx_shared_libgcc=no
77839 rm -f core conftest.err conftest.$ac_objext \
77840 conftest$ac_exeext conftest.$ac_ext
77841 CFLAGS="$ac_save_CFLAGS"
77842 if test $glibcxx_shared_libgcc = no; then
77843 cat > conftest.c <<EOF
77844 int main (void) { return 0; }
77846 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77847 -shared -shared-libgcc -o conftest.so \
77848 conftest.c -v 2>&1 >/dev/null \
77849 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77850 rm -f conftest.c conftest.so
77851 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77852 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77853 if test x$gcc_no_link = xyes; then
77854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77857 /* end confdefs.h. */
77860 main ()
77862 return 0;
77864 return 0;
77866 _ACEOF
77867 if ac_fn_c_try_link "$LINENO"; then :
77868 glibcxx_shared_libgcc=yes
77870 rm -f core conftest.err conftest.$ac_objext \
77871 conftest$ac_exeext conftest.$ac_ext
77872 CFLAGS="$ac_save_CFLAGS"
77875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77876 $as_echo "$glibcxx_shared_libgcc" >&6; }
77878 # For GNU ld, we need at least this version. The format is described in
77879 # GLIBCXX_CHECK_LINKER_FEATURES above.
77880 glibcxx_min_gnu_ld_version=21400
77882 # If no shared libgcc, can't win.
77883 if test $glibcxx_shared_libgcc != yes; then
77884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77885 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77887 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77889 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77890 enable_symvers=no
77891 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77892 : All interesting versions of Sun ld support sun style symbol versioning.
77893 elif test $with_gnu_ld != yes ; then
77894 # just fail for now
77895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77896 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77898 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77900 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77901 enable_symvers=no
77902 elif test $glibcxx_ld_is_gold = yes ; then
77903 : All versions of gold support symbol versioning.
77904 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77905 # The right tools, the right setup, but too old. Fallbacks?
77906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77907 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77909 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77911 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77913 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77915 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77916 enable_symvers=no
77920 # For libtool versioning info, format is CURRENT:REVISION:AGE
77921 libtool_VERSION=6:21:0
77923 # Everything parsed; figure out what files and settings to use.
77924 case $enable_symvers in
77926 SYMVER_FILE=config/abi/pre/none.ver
77928 gnu)
77929 SYMVER_FILE=config/abi/pre/gnu.ver
77931 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77934 gnu-versioned-namespace)
77935 libtool_VERSION=7:0:0
77936 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77938 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77941 darwin)
77942 SYMVER_FILE=config/abi/pre/gnu.ver
77944 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77947 sun)
77948 SYMVER_FILE=config/abi/pre/gnu.ver
77950 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
77953 esac
77955 if test x$enable_symvers != xno ; then
77957 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
77961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
77962 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
77963 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
77964 $as_echo_n "(cached) " >&6
77965 else
77967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77968 /* end confdefs.h. */
77969 void foo (void); __asm (".symver foo, bar@SYMVER");
77971 main ()
77975 return 0;
77977 _ACEOF
77978 if ac_fn_c_try_compile "$LINENO"; then :
77979 glibcxx_cv_have_as_symver_directive=yes
77980 else
77981 glibcxx_cv_have_as_symver_directive=no
77983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
77986 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
77987 if test $glibcxx_cv_have_as_symver_directive = yes; then
77989 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78000 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78001 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78003 if test $enable_symvers != no ; then
78004 case ${target_os} in
78005 # The Solaris 2 runtime linker doesn't support the GNU extension of
78006 # binding the same symbol to different versions
78007 solaris2*)
78009 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78012 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78015 esac
78018 # Now, set up compatibility support, if any.
78019 # In addition, need this to deal with std::size_t mangling in
78020 # src/compatibility.cc. In a perfect world, could use
78021 # typeid(std::size_t).name()[0] to do direct substitution.
78022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78023 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78024 ac_save_CFLAGS="$CFLAGS"
78025 CFLAGS="-Werror"
78026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78027 /* end confdefs.h. */
78030 main ()
78032 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78034 return 0;
78036 _ACEOF
78037 if ac_fn_c_try_compile "$LINENO"; then :
78038 glibcxx_size_t_is_i=yes
78039 else
78040 glibcxx_size_t_is_i=no
78042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78043 CFLAGS=$ac_save_CFLAGS
78044 if test "$glibcxx_size_t_is_i" = yes; then
78046 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78050 $as_echo "$glibcxx_size_t_is_i" >&6; }
78052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78053 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78054 ac_save_CFLAGS="$CFLAGS"
78055 CFLAGS="-Werror"
78056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78057 /* end confdefs.h. */
78060 main ()
78062 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78064 return 0;
78066 _ACEOF
78067 if ac_fn_c_try_compile "$LINENO"; then :
78068 glibcxx_ptrdiff_t_is_i=yes
78069 else
78070 glibcxx_ptrdiff_t_is_i=no
78072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78073 CFLAGS=$ac_save_CFLAGS
78074 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78076 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78080 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78085 # Check whether --enable-libstdcxx-visibility was given.
78086 if test "${enable_libstdcxx_visibility+set}" = set; then :
78087 enableval=$enable_libstdcxx_visibility;
78088 case "$enableval" in
78089 yes|no) ;;
78090 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78091 esac
78093 else
78094 enable_libstdcxx_visibility=yes
78099 if test x$enable_libstdcxx_visibility = xyes ; then
78100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78101 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78102 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78103 $as_echo_n "(cached) " >&6
78104 else
78106 save_CFLAGS="$CFLAGS"
78107 CFLAGS="$CFLAGS -Werror"
78108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78109 /* end confdefs.h. */
78110 void __attribute__((visibility("hidden"))) foo(void) { }
78112 main ()
78116 return 0;
78118 _ACEOF
78119 if ac_fn_c_try_compile "$LINENO"; then :
78120 glibcxx_cv_have_attribute_visibility=yes
78121 else
78122 glibcxx_cv_have_attribute_visibility=no
78124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78125 CFLAGS="$save_CFLAGS"
78127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78128 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78129 if test $glibcxx_cv_have_attribute_visibility = no; then
78130 enable_libstdcxx_visibility=no
78135 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78136 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78139 ac_ldbl_compat=no
78140 case "$target" in
78141 powerpc*-*-linux* | \
78142 sparc*-*-linux* | \
78143 s390*-*-linux* | \
78144 alpha*-*-linux*)
78145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78146 /* end confdefs.h. */
78149 main ()
78152 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78153 #error no need for long double compatibility
78154 #endif
78157 return 0;
78159 _ACEOF
78160 if ac_fn_c_try_compile "$LINENO"; then :
78161 ac_ldbl_compat=yes
78162 else
78163 ac_ldbl_compat=no
78165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78166 if test "$ac_ldbl_compat" = yes; then
78168 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78170 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78172 esac
78175 # Check if assembler supports disabling hardware capability support.
78177 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78179 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78180 # with a different meaning.
78181 case ${target_os} in
78182 solaris2*)
78183 ac_save_CFLAGS="$CFLAGS"
78184 CFLAGS="$CFLAGS -Wa,-nH"
78186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78187 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78189 /* end confdefs.h. */
78192 main ()
78194 return 0;
78196 return 0;
78198 _ACEOF
78199 if ac_fn_c_try_compile "$LINENO"; then :
78200 ac_hwcap_flags=yes
78201 else
78202 ac_hwcap_flags=no
78204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78205 if test "$ac_hwcap_flags" = "yes"; then
78206 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78209 $as_echo "$ac_hwcap_flags" >&6; }
78211 CFLAGS="$ac_save_CFLAGS"
78213 esac
78218 # Check if assembler supports rdrand opcode.
78220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78221 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78222 if test "${ac_cv_x86_rdrand+set}" = set; then :
78223 $as_echo_n "(cached) " >&6
78224 else
78226 ac_cv_x86_rdrand=no
78227 case "$target" in
78228 i?86-*-* | \
78229 x86_64-*-*)
78230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78231 /* end confdefs.h. */
78234 main ()
78236 asm("rdrand %eax");
78238 return 0;
78240 _ACEOF
78241 if ac_fn_c_try_compile "$LINENO"; then :
78242 ac_cv_x86_rdrand=yes
78243 else
78244 ac_cv_x86_rdrand=no
78246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78247 esac
78251 if test $ac_cv_x86_rdrand = yes; then
78253 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78257 $as_echo "$ac_cv_x86_rdrand" >&6; }
78260 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78262 if $GLIBCXX_IS_NATIVE ; then
78263 # Do checks for resource limit functions.
78265 setrlimit_have_headers=yes
78266 for ac_header in unistd.h sys/time.h sys/resource.h
78267 do :
78268 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78269 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78270 eval as_val=\$$as_ac_Header
78271 if test "x$as_val" = x""yes; then :
78272 cat >>confdefs.h <<_ACEOF
78273 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78274 _ACEOF
78276 else
78277 setrlimit_have_headers=no
78280 done
78282 # If don't have the headers, then we can't run the tests now, and we
78283 # won't be seeing any of these during testsuite compilation.
78284 if test $setrlimit_have_headers = yes; then
78285 # Can't do these in a loop, else the resulting syntax is wrong.
78287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78288 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78290 /* end confdefs.h. */
78291 #include <unistd.h>
78292 #include <sys/time.h>
78293 #include <sys/resource.h>
78296 main ()
78298 int f = RLIMIT_DATA ;
78300 return 0;
78302 _ACEOF
78303 if ac_fn_c_try_compile "$LINENO"; then :
78304 glibcxx_mresult=1
78305 else
78306 glibcxx_mresult=0
78308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78310 cat >>confdefs.h <<_ACEOF
78311 #define HAVE_LIMIT_DATA $glibcxx_mresult
78312 _ACEOF
78314 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78316 $as_echo "$res" >&6; }
78319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78320 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78322 /* end confdefs.h. */
78323 #include <unistd.h>
78324 #include <sys/time.h>
78325 #include <sys/resource.h>
78328 main ()
78330 int f = RLIMIT_RSS ;
78332 return 0;
78334 _ACEOF
78335 if ac_fn_c_try_compile "$LINENO"; then :
78336 glibcxx_mresult=1
78337 else
78338 glibcxx_mresult=0
78340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78342 cat >>confdefs.h <<_ACEOF
78343 #define HAVE_LIMIT_RSS $glibcxx_mresult
78344 _ACEOF
78346 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78348 $as_echo "$res" >&6; }
78351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78352 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78354 /* end confdefs.h. */
78355 #include <unistd.h>
78356 #include <sys/time.h>
78357 #include <sys/resource.h>
78360 main ()
78362 int f = RLIMIT_VMEM ;
78364 return 0;
78366 _ACEOF
78367 if ac_fn_c_try_compile "$LINENO"; then :
78368 glibcxx_mresult=1
78369 else
78370 glibcxx_mresult=0
78372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78374 cat >>confdefs.h <<_ACEOF
78375 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78376 _ACEOF
78378 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78380 $as_echo "$res" >&6; }
78383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78384 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78386 /* end confdefs.h. */
78387 #include <unistd.h>
78388 #include <sys/time.h>
78389 #include <sys/resource.h>
78392 main ()
78394 int f = RLIMIT_AS ;
78396 return 0;
78398 _ACEOF
78399 if ac_fn_c_try_compile "$LINENO"; then :
78400 glibcxx_mresult=1
78401 else
78402 glibcxx_mresult=0
78404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78406 cat >>confdefs.h <<_ACEOF
78407 #define HAVE_LIMIT_AS $glibcxx_mresult
78408 _ACEOF
78410 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78412 $as_echo "$res" >&6; }
78415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78416 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78418 /* end confdefs.h. */
78419 #include <unistd.h>
78420 #include <sys/time.h>
78421 #include <sys/resource.h>
78424 main ()
78426 int f = RLIMIT_FSIZE ;
78428 return 0;
78430 _ACEOF
78431 if ac_fn_c_try_compile "$LINENO"; then :
78432 glibcxx_mresult=1
78433 else
78434 glibcxx_mresult=0
78436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78438 cat >>confdefs.h <<_ACEOF
78439 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78440 _ACEOF
78442 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78444 $as_echo "$res" >&6; }
78447 # Check for rlimit, setrlimit.
78448 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78449 $as_echo_n "(cached) " >&6
78450 else
78452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78453 /* end confdefs.h. */
78454 #include <unistd.h>
78455 #include <sys/time.h>
78456 #include <sys/resource.h>
78459 main ()
78461 struct rlimit r;
78462 setrlimit(0, &r);
78464 return 0;
78466 _ACEOF
78467 if ac_fn_c_try_compile "$LINENO"; then :
78468 glibcxx_cv_setrlimit=yes
78469 else
78470 glibcxx_cv_setrlimit=no
78472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78479 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78480 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78481 ac_res_limits=yes
78483 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78485 else
78486 ac_res_limits=no
78488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78489 $as_echo "$ac_res_limits" >&6; }
78492 # Look for setenv, so that extended locale tests can be performed.
78494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78495 $as_echo_n "checking for setenv declaration... " >&6; }
78496 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78497 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78498 $as_echo_n "(cached) " >&6
78499 else
78502 ac_ext=cpp
78503 ac_cpp='$CXXCPP $CPPFLAGS'
78504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78509 /* end confdefs.h. */
78510 #include <stdlib.h>
78512 main ()
78514 setenv(0, 0, 0);
78516 return 0;
78518 _ACEOF
78519 if ac_fn_cxx_try_compile "$LINENO"; then :
78520 glibcxx_cv_func_setenv_use=yes
78521 else
78522 glibcxx_cv_func_setenv_use=no
78524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78525 ac_ext=c
78526 ac_cpp='$CPP $CPPFLAGS'
78527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78536 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78537 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78538 for ac_func in setenv
78539 do :
78540 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78541 if test "x$ac_cv_func_setenv" = x""yes; then :
78542 cat >>confdefs.h <<_ACEOF
78543 #define HAVE_SETENV 1
78544 _ACEOF
78547 done
78553 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78554 test $enable_symvers != no; then
78555 case "$host" in
78556 *-*-cygwin*)
78557 enable_abi_check=no ;;
78559 enable_abi_check=yes ;;
78560 esac
78561 else
78562 # Only build this as native, since automake does not understand
78563 # CXX_FOR_BUILD.
78564 enable_abi_check=no
78567 # Export file names for ABI checking.
78568 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78570 baseline_subdir_switch="$abi_baseline_subdir_switch"
78574 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78576 # Check whether --enable-libstdcxx-threads was given.
78577 if test "${enable_libstdcxx_threads+set}" = set; then :
78578 enableval=$enable_libstdcxx_threads;
78579 case "$enableval" in
78580 yes|no) ;;
78581 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78582 esac
78584 else
78585 enable_libstdcxx_threads=auto
78590 if test x$enable_libstdcxx_threads = xauto ||
78591 test x$enable_libstdcxx_threads = xyes; then
78594 ac_ext=cpp
78595 ac_cpp='$CXXCPP $CPPFLAGS'
78596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78601 ac_save_CXXFLAGS="$CXXFLAGS"
78602 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78603 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78605 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78606 case $target_thread_file in
78607 posix)
78608 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78609 esac
78611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78612 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78615 /* end confdefs.h. */
78616 #include <unistd.h>
78618 main ()
78621 // In case of POSIX threads check _POSIX_TIMEOUTS.
78622 #if (defined(_PTHREADS) \
78623 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78624 #error
78625 #endif
78628 return 0;
78630 _ACEOF
78631 if ac_fn_cxx_try_compile "$LINENO"; then :
78632 ac_gthread_use_mutex_timedlock=1
78633 else
78634 ac_gthread_use_mutex_timedlock=0
78636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78639 cat >>confdefs.h <<_ACEOF
78640 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78641 _ACEOF
78644 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78645 else res_mutex_timedlock=no ; fi
78646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78647 $as_echo "$res_mutex_timedlock" >&6; }
78649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78650 $as_echo_n "checking for gthreads library... " >&6; }
78652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78653 /* end confdefs.h. */
78654 #include "gthr.h"
78656 main ()
78659 #ifndef __GTHREADS_CXX0X
78660 #error
78661 #endif
78664 return 0;
78666 _ACEOF
78667 if ac_fn_cxx_try_compile "$LINENO"; then :
78668 ac_has_gthreads=yes
78669 else
78670 ac_has_gthreads=no
78672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78673 else
78674 ac_has_gthreads=no
78677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78678 $as_echo "$ac_has_gthreads" >&6; }
78680 if test x"$ac_has_gthreads" = x"yes"; then
78682 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78686 CXXFLAGS="$ac_save_CXXFLAGS"
78687 ac_ext=c
78688 ac_cpp='$CPP $CPPFLAGS'
78689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78695 # Define documentation rules conditionally.
78697 # See if makeinfo has been installed and is modern enough
78698 # that we can use it.
78700 # Extract the first word of "makeinfo", so it can be a program name with args.
78701 set dummy makeinfo; ac_word=$2
78702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78703 $as_echo_n "checking for $ac_word... " >&6; }
78704 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78705 $as_echo_n "(cached) " >&6
78706 else
78707 if test -n "$MAKEINFO"; then
78708 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78709 else
78710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78711 for as_dir in $PATH
78713 IFS=$as_save_IFS
78714 test -z "$as_dir" && as_dir=.
78715 for ac_exec_ext in '' $ac_executable_extensions; do
78716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78717 ac_cv_prog_MAKEINFO="makeinfo"
78718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78719 break 2
78721 done
78722 done
78723 IFS=$as_save_IFS
78727 MAKEINFO=$ac_cv_prog_MAKEINFO
78728 if test -n "$MAKEINFO"; then
78729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78730 $as_echo "$MAKEINFO" >&6; }
78731 else
78732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78733 $as_echo "no" >&6; }
78737 if test -n "$MAKEINFO"; then
78738 # Found it, now check the version.
78739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78740 $as_echo_n "checking for modern makeinfo... " >&6; }
78741 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78742 $as_echo_n "(cached) " >&6
78743 else
78744 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78745 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78747 case $ac_prog_version in
78748 '') gcc_cv_prog_makeinfo_modern=no;;
78749 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78750 *) gcc_cv_prog_makeinfo_modern=no;;
78751 esac
78754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78755 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78756 else
78757 gcc_cv_prog_makeinfo_modern=no
78759 if test $gcc_cv_prog_makeinfo_modern = no; then
78760 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78763 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78764 BUILD_INFO_TRUE=
78765 BUILD_INFO_FALSE='#'
78766 else
78767 BUILD_INFO_TRUE='#'
78768 BUILD_INFO_FALSE=
78772 # Check for doxygen
78773 # Extract the first word of "doxygen", so it can be a program name with args.
78774 set dummy doxygen; ac_word=$2
78775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78776 $as_echo_n "checking for $ac_word... " >&6; }
78777 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78778 $as_echo_n "(cached) " >&6
78779 else
78780 if test -n "$DOXYGEN"; then
78781 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78782 else
78783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78784 for as_dir in $PATH
78786 IFS=$as_save_IFS
78787 test -z "$as_dir" && as_dir=.
78788 for ac_exec_ext in '' $ac_executable_extensions; do
78789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78790 ac_cv_prog_DOXYGEN="yes"
78791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78792 break 2
78794 done
78795 done
78796 IFS=$as_save_IFS
78798 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78801 DOXYGEN=$ac_cv_prog_DOXYGEN
78802 if test -n "$DOXYGEN"; then
78803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78804 $as_echo "$DOXYGEN" >&6; }
78805 else
78806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78807 $as_echo "no" >&6; }
78811 # Extract the first word of "dot", so it can be a program name with args.
78812 set dummy dot; ac_word=$2
78813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78814 $as_echo_n "checking for $ac_word... " >&6; }
78815 if test "${ac_cv_prog_DOT+set}" = set; then :
78816 $as_echo_n "(cached) " >&6
78817 else
78818 if test -n "$DOT"; then
78819 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78820 else
78821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78822 for as_dir in $PATH
78824 IFS=$as_save_IFS
78825 test -z "$as_dir" && as_dir=.
78826 for ac_exec_ext in '' $ac_executable_extensions; do
78827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78828 ac_cv_prog_DOT="yes"
78829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78830 break 2
78832 done
78833 done
78834 IFS=$as_save_IFS
78836 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78839 DOT=$ac_cv_prog_DOT
78840 if test -n "$DOT"; then
78841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78842 $as_echo "$DOT" >&6; }
78843 else
78844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78845 $as_echo "no" >&6; }
78850 # Check for docbook
78851 # Extract the first word of "xsltproc", so it can be a program name with args.
78852 set dummy xsltproc; ac_word=$2
78853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78854 $as_echo_n "checking for $ac_word... " >&6; }
78855 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78856 $as_echo_n "(cached) " >&6
78857 else
78858 if test -n "$XSLTPROC"; then
78859 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78860 else
78861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78862 for as_dir in $PATH
78864 IFS=$as_save_IFS
78865 test -z "$as_dir" && as_dir=.
78866 for ac_exec_ext in '' $ac_executable_extensions; do
78867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78868 ac_cv_prog_XSLTPROC="yes"
78869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78870 break 2
78872 done
78873 done
78874 IFS=$as_save_IFS
78876 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78879 XSLTPROC=$ac_cv_prog_XSLTPROC
78880 if test -n "$XSLTPROC"; then
78881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78882 $as_echo "$XSLTPROC" >&6; }
78883 else
78884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78885 $as_echo "no" >&6; }
78889 # Extract the first word of "xmllint", so it can be a program name with args.
78890 set dummy xmllint; ac_word=$2
78891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78892 $as_echo_n "checking for $ac_word... " >&6; }
78893 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
78894 $as_echo_n "(cached) " >&6
78895 else
78896 if test -n "$XMLLINT"; then
78897 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
78898 else
78899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78900 for as_dir in $PATH
78902 IFS=$as_save_IFS
78903 test -z "$as_dir" && as_dir=.
78904 for ac_exec_ext in '' $ac_executable_extensions; do
78905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78906 ac_cv_prog_XMLLINT="yes"
78907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78908 break 2
78910 done
78911 done
78912 IFS=$as_save_IFS
78914 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
78917 XMLLINT=$ac_cv_prog_XMLLINT
78918 if test -n "$XMLLINT"; then
78919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
78920 $as_echo "$XMLLINT" >&6; }
78921 else
78922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78923 $as_echo "no" >&6; }
78929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
78930 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
78931 glibcxx_stylesheets=no
78932 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
78933 glibcxx_stylesheets=yes
78935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
78936 $as_echo "$glibcxx_stylesheets" >&6; }
78938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
78939 $as_echo_n "checking for local stylesheet directory... " >&6; }
78940 glibcxx_local_stylesheets=no
78941 if test x"$glibcxx_stylesheets" = x"yes"; then
78942 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
78943 glibcxx_local_stylesheets=yes
78944 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
78946 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
78947 glibcxx_local_stylesheets=yes
78948 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
78950 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
78951 glibcxx_local_stylesheets=yes
78952 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
78955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
78956 $as_echo "$glibcxx_local_stylesheets" >&6; }
78958 if test x"$glibcxx_local_stylesheets" = x"yes"; then
78960 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
78961 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
78962 else
78963 glibcxx_stylesheets=no
78966 # Check for epub3 dependencies.
78967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
78968 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
78969 glibcxx_epub_stylesheets=no
78970 if test x"$glibcxx_local_stylesheets" = x"yes"; then
78971 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
78972 glibcxx_epub_stylesheets=yes
78975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
78976 $as_echo "$glibcxx_epub_stylesheets" >&6; }
78977 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
78978 BUILD_EPUB_TRUE=
78979 BUILD_EPUB_FALSE='#'
78980 else
78981 BUILD_EPUB_TRUE='#'
78982 BUILD_EPUB_FALSE=
78988 # Check for xml/html dependencies.
78989 if test $ac_cv_prog_DOXYGEN = "yes" &&
78990 test $ac_cv_prog_DOT = "yes" &&
78991 test $ac_cv_prog_XSLTPROC = "yes" &&
78992 test $ac_cv_prog_XMLLINT = "yes" &&
78993 test $glibcxx_stylesheets = "yes"; then
78994 BUILD_XML_TRUE=
78995 BUILD_XML_FALSE='#'
78996 else
78997 BUILD_XML_TRUE='#'
78998 BUILD_XML_FALSE=
79002 if test $ac_cv_prog_DOXYGEN = "yes" &&
79003 test $ac_cv_prog_DOT = "yes" &&
79004 test $ac_cv_prog_XSLTPROC = "yes" &&
79005 test $ac_cv_prog_XMLLINT = "yes" &&
79006 test $glibcxx_stylesheets = "yes"; then
79007 BUILD_HTML_TRUE=
79008 BUILD_HTML_FALSE='#'
79009 else
79010 BUILD_HTML_TRUE='#'
79011 BUILD_HTML_FALSE=
79015 # Check for man dependencies.
79016 if test $ac_cv_prog_DOXYGEN = "yes" &&
79017 test $ac_cv_prog_DOT = "yes"; then
79018 BUILD_MAN_TRUE=
79019 BUILD_MAN_FALSE='#'
79020 else
79021 BUILD_MAN_TRUE='#'
79022 BUILD_MAN_FALSE=
79026 # Check for pdf dependencies.
79027 # Extract the first word of "dblatex", so it can be a program name with args.
79028 set dummy dblatex; ac_word=$2
79029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79030 $as_echo_n "checking for $ac_word... " >&6; }
79031 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79032 $as_echo_n "(cached) " >&6
79033 else
79034 if test -n "$DBLATEX"; then
79035 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79036 else
79037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79038 for as_dir in $PATH
79040 IFS=$as_save_IFS
79041 test -z "$as_dir" && as_dir=.
79042 for ac_exec_ext in '' $ac_executable_extensions; do
79043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79044 ac_cv_prog_DBLATEX="yes"
79045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79046 break 2
79048 done
79049 done
79050 IFS=$as_save_IFS
79052 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79055 DBLATEX=$ac_cv_prog_DBLATEX
79056 if test -n "$DBLATEX"; then
79057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79058 $as_echo "$DBLATEX" >&6; }
79059 else
79060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79061 $as_echo "no" >&6; }
79065 # Extract the first word of "pdflatex", so it can be a program name with args.
79066 set dummy pdflatex; ac_word=$2
79067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79068 $as_echo_n "checking for $ac_word... " >&6; }
79069 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79070 $as_echo_n "(cached) " >&6
79071 else
79072 if test -n "$PDFLATEX"; then
79073 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79074 else
79075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79076 for as_dir in $PATH
79078 IFS=$as_save_IFS
79079 test -z "$as_dir" && as_dir=.
79080 for ac_exec_ext in '' $ac_executable_extensions; do
79081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79082 ac_cv_prog_PDFLATEX="yes"
79083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79084 break 2
79086 done
79087 done
79088 IFS=$as_save_IFS
79090 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79093 PDFLATEX=$ac_cv_prog_PDFLATEX
79094 if test -n "$PDFLATEX"; then
79095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79096 $as_echo "$PDFLATEX" >&6; }
79097 else
79098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79099 $as_echo "no" >&6; }
79103 if test $ac_cv_prog_DBLATEX = "yes" &&
79104 test $ac_cv_prog_PDFLATEX = "yes"; then
79105 BUILD_PDF_TRUE=
79106 BUILD_PDF_FALSE='#'
79107 else
79108 BUILD_PDF_TRUE='#'
79109 BUILD_PDF_FALSE=
79114 # Propagate the target-specific source directories through the build chain.
79115 ATOMICITY_SRCDIR=config/${atomicity_dir}
79116 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79117 ATOMIC_FLAGS=${atomic_flags}
79118 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79119 OS_INC_SRCDIR=config/${os_include_dir}
79120 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79121 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79122 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79123 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79135 # Determine cross-compile flags and AM_CONDITIONALs.
79136 #AC_SUBST(GLIBCXX_IS_NATIVE)
79137 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79138 if test $is_hosted = yes; then
79139 GLIBCXX_HOSTED_TRUE=
79140 GLIBCXX_HOSTED_FALSE='#'
79141 else
79142 GLIBCXX_HOSTED_TRUE='#'
79143 GLIBCXX_HOSTED_FALSE=
79147 if test $enable_libstdcxx_pch = yes; then
79148 GLIBCXX_BUILD_PCH_TRUE=
79149 GLIBCXX_BUILD_PCH_FALSE='#'
79150 else
79151 GLIBCXX_BUILD_PCH_TRUE='#'
79152 GLIBCXX_BUILD_PCH_FALSE=
79156 if test $enable_cheaders = c; then
79157 GLIBCXX_C_HEADERS_C_TRUE=
79158 GLIBCXX_C_HEADERS_C_FALSE='#'
79159 else
79160 GLIBCXX_C_HEADERS_C_TRUE='#'
79161 GLIBCXX_C_HEADERS_C_FALSE=
79165 if test $enable_cheaders = c_std; then
79166 GLIBCXX_C_HEADERS_C_STD_TRUE=
79167 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79168 else
79169 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79170 GLIBCXX_C_HEADERS_C_STD_FALSE=
79174 if test $enable_cheaders = c_global; then
79175 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79176 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79177 else
79178 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79179 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79183 if test $c_compatibility = yes; then
79184 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79185 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79186 else
79187 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79188 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79192 if test $enable_libstdcxx_debug = yes; then
79193 GLIBCXX_BUILD_DEBUG_TRUE=
79194 GLIBCXX_BUILD_DEBUG_FALSE='#'
79195 else
79196 GLIBCXX_BUILD_DEBUG_TRUE='#'
79197 GLIBCXX_BUILD_DEBUG_FALSE=
79201 if test $enable_extern_template = yes; then
79202 ENABLE_EXTERN_TEMPLATE_TRUE=
79203 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79204 else
79205 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79206 ENABLE_EXTERN_TEMPLATE_FALSE=
79210 if test $python_mod_dir != no; then
79211 ENABLE_PYTHONDIR_TRUE=
79212 ENABLE_PYTHONDIR_FALSE='#'
79213 else
79214 ENABLE_PYTHONDIR_TRUE='#'
79215 ENABLE_PYTHONDIR_FALSE=
79219 if test $enable_werror = yes; then
79220 ENABLE_WERROR_TRUE=
79221 ENABLE_WERROR_FALSE='#'
79222 else
79223 ENABLE_WERROR_TRUE='#'
79224 ENABLE_WERROR_FALSE=
79228 if test $enable_vtable_verify = yes; then
79229 ENABLE_VTABLE_VERIFY_TRUE=
79230 ENABLE_VTABLE_VERIFY_FALSE='#'
79231 else
79232 ENABLE_VTABLE_VERIFY_TRUE='#'
79233 ENABLE_VTABLE_VERIFY_FALSE=
79237 if test $enable_symvers != no; then
79238 ENABLE_SYMVERS_TRUE=
79239 ENABLE_SYMVERS_FALSE='#'
79240 else
79241 ENABLE_SYMVERS_TRUE='#'
79242 ENABLE_SYMVERS_FALSE=
79246 if test $enable_symvers = gnu; then
79247 ENABLE_SYMVERS_GNU_TRUE=
79248 ENABLE_SYMVERS_GNU_FALSE='#'
79249 else
79250 ENABLE_SYMVERS_GNU_TRUE='#'
79251 ENABLE_SYMVERS_GNU_FALSE=
79255 if test $enable_symvers = gnu-versioned-namespace; then
79256 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79257 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79258 else
79259 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79260 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79264 if test $enable_symvers = darwin; then
79265 ENABLE_SYMVERS_DARWIN_TRUE=
79266 ENABLE_SYMVERS_DARWIN_FALSE='#'
79267 else
79268 ENABLE_SYMVERS_DARWIN_TRUE='#'
79269 ENABLE_SYMVERS_DARWIN_FALSE=
79273 if test $enable_symvers = sun; then
79274 ENABLE_SYMVERS_SUN_TRUE=
79275 ENABLE_SYMVERS_SUN_FALSE='#'
79276 else
79277 ENABLE_SYMVERS_SUN_TRUE='#'
79278 ENABLE_SYMVERS_SUN_FALSE=
79282 if test $enable_libstdcxx_visibility = yes; then
79283 ENABLE_VISIBILITY_TRUE=
79284 ENABLE_VISIBILITY_FALSE='#'
79285 else
79286 ENABLE_VISIBILITY_TRUE='#'
79287 ENABLE_VISIBILITY_FALSE=
79291 if test $ac_ldbl_compat = yes; then
79292 GLIBCXX_LDBL_COMPAT_TRUE=
79293 GLIBCXX_LDBL_COMPAT_FALSE='#'
79294 else
79295 GLIBCXX_LDBL_COMPAT_TRUE='#'
79296 GLIBCXX_LDBL_COMPAT_FALSE=
79302 cat >confcache <<\_ACEOF
79303 # This file is a shell script that caches the results of configure
79304 # tests run on this system so they can be shared between configure
79305 # scripts and configure runs, see configure's option --config-cache.
79306 # It is not useful on other systems. If it contains results you don't
79307 # want to keep, you may remove or edit it.
79309 # config.status only pays attention to the cache file if you give it
79310 # the --recheck option to rerun configure.
79312 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79313 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79314 # following values.
79316 _ACEOF
79318 # The following way of writing the cache mishandles newlines in values,
79319 # but we know of no workaround that is simple, portable, and efficient.
79320 # So, we kill variables containing newlines.
79321 # Ultrix sh set writes to stderr and can't be redirected directly,
79322 # and sets the high bit in the cache file unless we assign to the vars.
79324 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79325 eval ac_val=\$$ac_var
79326 case $ac_val in #(
79327 *${as_nl}*)
79328 case $ac_var in #(
79329 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79330 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79331 esac
79332 case $ac_var in #(
79333 _ | IFS | as_nl) ;; #(
79334 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79335 *) { eval $ac_var=; unset $ac_var;} ;;
79336 esac ;;
79337 esac
79338 done
79340 (set) 2>&1 |
79341 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79342 *${as_nl}ac_space=\ *)
79343 # `set' does not quote correctly, so add quotes: double-quote
79344 # substitution turns \\\\ into \\, and sed turns \\ into \.
79345 sed -n \
79346 "s/'/'\\\\''/g;
79347 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79348 ;; #(
79350 # `set' quotes correctly as required by POSIX, so do not add quotes.
79351 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79353 esac |
79354 sort
79356 sed '
79357 /^ac_cv_env_/b end
79358 t clear
79359 :clear
79360 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79361 t end
79362 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79363 :end' >>confcache
79364 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79365 if test -w "$cache_file"; then
79366 test "x$cache_file" != "x/dev/null" &&
79367 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79368 $as_echo "$as_me: updating cache $cache_file" >&6;}
79369 cat confcache >$cache_file
79370 else
79371 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79372 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79375 rm -f confcache
79377 if test ${multilib} = yes; then
79378 multilib_arg="--enable-multilib"
79379 else
79380 multilib_arg=
79383 # Export all the install information.
79385 glibcxx_toolexecdir=no
79386 glibcxx_toolexeclibdir=no
79387 glibcxx_prefixdir=$prefix
79389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79390 $as_echo_n "checking for gxx-include-dir... " >&6; }
79392 # Check whether --with-gxx-include-dir was given.
79393 if test "${with_gxx_include_dir+set}" = set; then :
79394 withval=$with_gxx_include_dir; case "$withval" in
79395 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79396 no) gxx_include_dir=no ;;
79397 *) gxx_include_dir=$withval ;;
79398 esac
79399 else
79400 gxx_include_dir=no
79403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79404 $as_echo "$gxx_include_dir" >&6; }
79406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79407 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79408 # Check whether --enable-version-specific-runtime-libs was given.
79409 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79410 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79411 yes) version_specific_libs=yes ;;
79412 no) version_specific_libs=no ;;
79413 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79414 esac
79415 else
79416 version_specific_libs=no
79419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79420 $as_echo "$version_specific_libs" >&6; }
79422 # Default case for install directory for include files.
79423 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79424 gxx_include_dir='include/c++/${gcc_version}'
79425 if test -n "$with_cross_host" &&
79426 test x"$with_cross_host" != x"no"; then
79427 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79428 else
79429 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79433 # Version-specific runtime libs processing.
79434 if test $version_specific_libs = yes; then
79435 # Need the gcc compiler version to know where to install libraries
79436 # and header files if --enable-version-specific-runtime-libs option
79437 # is selected. FIXME: these variables are misnamed, there are
79438 # no executables installed in _toolexecdir or _toolexeclibdir.
79439 if test x"$gxx_include_dir" = x"no"; then
79440 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79442 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79443 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79446 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79447 # Install a library built with a cross compiler in tooldir, not libdir.
79448 if test x"$glibcxx_toolexecdir" = x"no"; then
79449 if test -n "$with_cross_host" &&
79450 test x"$with_cross_host" != x"no"; then
79451 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79452 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79453 else
79454 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79455 glibcxx_toolexeclibdir='${libdir}'
79457 multi_os_directory=`$CXX -print-multi-os-directory`
79458 case $multi_os_directory in
79459 .) ;; # Avoid trailing /.
79460 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79461 esac
79464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79465 $as_echo_n "checking for install location... " >&6; }
79466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79467 $as_echo "$gxx_include_dir" >&6; }
79475 # Export all the include and flag information to Makefiles.
79477 # Used for every C++ compile we perform.
79478 GLIBCXX_INCLUDES="\
79479 -I$glibcxx_builddir/include/$host_alias \
79480 -I$glibcxx_builddir/include \
79481 -I$glibcxx_srcdir/libsupc++"
79483 # For Canadian crosses, pick this up too.
79484 if test $CANADIAN = yes; then
79485 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79488 # Stuff in the actual top level. Currently only used by libsupc++ to
79489 # get unwind* headers from the libgcc dir.
79490 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79491 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79493 # Now, export this to all the little Makefiles....
79498 # Optimization flags that are probably a good idea for thrill-seekers. Just
79499 # uncomment the lines below and make, everything else is ready to go...
79500 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79501 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79504 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79508 ac_config_files="$ac_config_files Makefile"
79510 ac_config_files="$ac_config_files scripts/testsuite_flags"
79512 ac_config_files="$ac_config_files scripts/extract_symvers"
79514 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79517 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79518 # that multilib installs will end up installed in the correct place.
79519 # The testsuite needs it for multilib-aware ABI baseline files.
79520 # To work around this not being passed down from config-ml.in ->
79521 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79522 # append it here. Only modify Makefiles that have just been created.
79524 # Also, get rid of this simulated-VPATH thing that automake does.
79525 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
79528 ac_config_commands="$ac_config_commands generate-headers"
79531 cat >confcache <<\_ACEOF
79532 # This file is a shell script that caches the results of configure
79533 # tests run on this system so they can be shared between configure
79534 # scripts and configure runs, see configure's option --config-cache.
79535 # It is not useful on other systems. If it contains results you don't
79536 # want to keep, you may remove or edit it.
79538 # config.status only pays attention to the cache file if you give it
79539 # the --recheck option to rerun configure.
79541 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79542 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79543 # following values.
79545 _ACEOF
79547 # The following way of writing the cache mishandles newlines in values,
79548 # but we know of no workaround that is simple, portable, and efficient.
79549 # So, we kill variables containing newlines.
79550 # Ultrix sh set writes to stderr and can't be redirected directly,
79551 # and sets the high bit in the cache file unless we assign to the vars.
79553 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79554 eval ac_val=\$$ac_var
79555 case $ac_val in #(
79556 *${as_nl}*)
79557 case $ac_var in #(
79558 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79559 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79560 esac
79561 case $ac_var in #(
79562 _ | IFS | as_nl) ;; #(
79563 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79564 *) { eval $ac_var=; unset $ac_var;} ;;
79565 esac ;;
79566 esac
79567 done
79569 (set) 2>&1 |
79570 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79571 *${as_nl}ac_space=\ *)
79572 # `set' does not quote correctly, so add quotes: double-quote
79573 # substitution turns \\\\ into \\, and sed turns \\ into \.
79574 sed -n \
79575 "s/'/'\\\\''/g;
79576 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79577 ;; #(
79579 # `set' quotes correctly as required by POSIX, so do not add quotes.
79580 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79582 esac |
79583 sort
79585 sed '
79586 /^ac_cv_env_/b end
79587 t clear
79588 :clear
79589 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79590 t end
79591 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79592 :end' >>confcache
79593 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79594 if test -w "$cache_file"; then
79595 test "x$cache_file" != "x/dev/null" &&
79596 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79597 $as_echo "$as_me: updating cache $cache_file" >&6;}
79598 cat confcache >$cache_file
79599 else
79600 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79601 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79604 rm -f confcache
79606 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79607 # Let make expand exec_prefix.
79608 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79610 DEFS=-DHAVE_CONFIG_H
79612 ac_libobjs=
79613 ac_ltlibobjs=
79614 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79615 # 1. Remove the extension, and $U if already installed.
79616 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79617 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79618 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79619 # will be set to the directory where LIBOBJS objects are built.
79620 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79621 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79622 done
79623 LIBOBJS=$ac_libobjs
79625 LTLIBOBJS=$ac_ltlibobjs
79628 if test -n "$EXEEXT"; then
79629 am__EXEEXT_TRUE=
79630 am__EXEEXT_FALSE='#'
79631 else
79632 am__EXEEXT_TRUE='#'
79633 am__EXEEXT_FALSE=
79636 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79637 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79640 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79641 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79644 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79645 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79648 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79649 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79652 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79653 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79656 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79657 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79660 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79661 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79664 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79665 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79668 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79669 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79672 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79673 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79676 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79677 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79680 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79681 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79684 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79685 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79688 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79689 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79692 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79693 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79696 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79697 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79700 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79701 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79704 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79705 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79708 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79709 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79712 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79713 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79716 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79717 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79720 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79721 as_fn_error "conditional \"BUILD_XML\" was never defined.
79722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79724 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79725 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79728 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79729 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79732 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79733 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79737 : ${CONFIG_STATUS=./config.status}
79738 ac_write_fail=0
79739 ac_clean_files_save=$ac_clean_files
79740 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79742 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79743 as_write_fail=0
79744 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79745 #! $SHELL
79746 # Generated by $as_me.
79747 # Run this file to recreate the current configuration.
79748 # Compiler output produced by configure, useful for debugging
79749 # configure, is in config.log if it exists.
79751 debug=false
79752 ac_cs_recheck=false
79753 ac_cs_silent=false
79755 SHELL=\${CONFIG_SHELL-$SHELL}
79756 export SHELL
79757 _ASEOF
79758 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79759 ## -------------------- ##
79760 ## M4sh Initialization. ##
79761 ## -------------------- ##
79763 # Be more Bourne compatible
79764 DUALCASE=1; export DUALCASE # for MKS sh
79765 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79766 emulate sh
79767 NULLCMD=:
79768 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79769 # is contrary to our usage. Disable this feature.
79770 alias -g '${1+"$@"}'='"$@"'
79771 setopt NO_GLOB_SUBST
79772 else
79773 case `(set -o) 2>/dev/null` in #(
79774 *posix*) :
79775 set -o posix ;; #(
79776 *) :
79778 esac
79782 as_nl='
79784 export as_nl
79785 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79786 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79787 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79788 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79789 # Prefer a ksh shell builtin over an external printf program on Solaris,
79790 # but without wasting forks for bash or zsh.
79791 if test -z "$BASH_VERSION$ZSH_VERSION" \
79792 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79793 as_echo='print -r --'
79794 as_echo_n='print -rn --'
79795 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79796 as_echo='printf %s\n'
79797 as_echo_n='printf %s'
79798 else
79799 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79800 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79801 as_echo_n='/usr/ucb/echo -n'
79802 else
79803 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79804 as_echo_n_body='eval
79805 arg=$1;
79806 case $arg in #(
79807 *"$as_nl"*)
79808 expr "X$arg" : "X\\(.*\\)$as_nl";
79809 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79810 esac;
79811 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79813 export as_echo_n_body
79814 as_echo_n='sh -c $as_echo_n_body as_echo'
79816 export as_echo_body
79817 as_echo='sh -c $as_echo_body as_echo'
79820 # The user is always right.
79821 if test "${PATH_SEPARATOR+set}" != set; then
79822 PATH_SEPARATOR=:
79823 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79824 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79825 PATH_SEPARATOR=';'
79830 # IFS
79831 # We need space, tab and new line, in precisely that order. Quoting is
79832 # there to prevent editors from complaining about space-tab.
79833 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79834 # splitting by setting IFS to empty value.)
79835 IFS=" "" $as_nl"
79837 # Find who we are. Look in the path if we contain no directory separator.
79838 case $0 in #((
79839 *[\\/]* ) as_myself=$0 ;;
79840 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79841 for as_dir in $PATH
79843 IFS=$as_save_IFS
79844 test -z "$as_dir" && as_dir=.
79845 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79846 done
79847 IFS=$as_save_IFS
79850 esac
79851 # We did not find ourselves, most probably we were run as `sh COMMAND'
79852 # in which case we are not to be found in the path.
79853 if test "x$as_myself" = x; then
79854 as_myself=$0
79856 if test ! -f "$as_myself"; then
79857 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79858 exit 1
79861 # Unset variables that we do not need and which cause bugs (e.g. in
79862 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79863 # suppresses any "Segmentation fault" message there. '((' could
79864 # trigger a bug in pdksh 5.2.14.
79865 for as_var in BASH_ENV ENV MAIL MAILPATH
79866 do eval test x\${$as_var+set} = xset \
79867 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79868 done
79869 PS1='$ '
79870 PS2='> '
79871 PS4='+ '
79873 # NLS nuisances.
79874 LC_ALL=C
79875 export LC_ALL
79876 LANGUAGE=C
79877 export LANGUAGE
79879 # CDPATH.
79880 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79883 # as_fn_error ERROR [LINENO LOG_FD]
79884 # ---------------------------------
79885 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79886 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79887 # script with status $?, using 1 if that was 0.
79888 as_fn_error ()
79890 as_status=$?; test $as_status -eq 0 && as_status=1
79891 if test "$3"; then
79892 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
79893 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
79895 $as_echo "$as_me: error: $1" >&2
79896 as_fn_exit $as_status
79897 } # as_fn_error
79900 # as_fn_set_status STATUS
79901 # -----------------------
79902 # Set $? to STATUS, without forking.
79903 as_fn_set_status ()
79905 return $1
79906 } # as_fn_set_status
79908 # as_fn_exit STATUS
79909 # -----------------
79910 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
79911 as_fn_exit ()
79913 set +e
79914 as_fn_set_status $1
79915 exit $1
79916 } # as_fn_exit
79918 # as_fn_unset VAR
79919 # ---------------
79920 # Portably unset VAR.
79921 as_fn_unset ()
79923 { eval $1=; unset $1;}
79925 as_unset=as_fn_unset
79926 # as_fn_append VAR VALUE
79927 # ----------------------
79928 # Append the text in VALUE to the end of the definition contained in VAR. Take
79929 # advantage of any shell optimizations that allow amortized linear growth over
79930 # repeated appends, instead of the typical quadratic growth present in naive
79931 # implementations.
79932 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
79933 eval 'as_fn_append ()
79935 eval $1+=\$2
79937 else
79938 as_fn_append ()
79940 eval $1=\$$1\$2
79942 fi # as_fn_append
79944 # as_fn_arith ARG...
79945 # ------------------
79946 # Perform arithmetic evaluation on the ARGs, and store the result in the
79947 # global $as_val. Take advantage of shells that can avoid forks. The arguments
79948 # must be portable across $(()) and expr.
79949 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
79950 eval 'as_fn_arith ()
79952 as_val=$(( $* ))
79954 else
79955 as_fn_arith ()
79957 as_val=`expr "$@" || test $? -eq 1`
79959 fi # as_fn_arith
79962 if expr a : '\(a\)' >/dev/null 2>&1 &&
79963 test "X`expr 00001 : '.*\(...\)'`" = X001; then
79964 as_expr=expr
79965 else
79966 as_expr=false
79969 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
79970 as_basename=basename
79971 else
79972 as_basename=false
79975 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
79976 as_dirname=dirname
79977 else
79978 as_dirname=false
79981 as_me=`$as_basename -- "$0" ||
79982 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
79983 X"$0" : 'X\(//\)$' \| \
79984 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
79985 $as_echo X/"$0" |
79986 sed '/^.*\/\([^/][^/]*\)\/*$/{
79987 s//\1/
79990 /^X\/\(\/\/\)$/{
79991 s//\1/
79994 /^X\/\(\/\).*/{
79995 s//\1/
79998 s/.*/./; q'`
80000 # Avoid depending upon Character Ranges.
80001 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80002 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80003 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80004 as_cr_digits='0123456789'
80005 as_cr_alnum=$as_cr_Letters$as_cr_digits
80007 ECHO_C= ECHO_N= ECHO_T=
80008 case `echo -n x` in #(((((
80009 -n*)
80010 case `echo 'xy\c'` in
80011 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80012 xy) ECHO_C='\c';;
80013 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80014 ECHO_T=' ';;
80015 esac;;
80017 ECHO_N='-n';;
80018 esac
80020 rm -f conf$$ conf$$.exe conf$$.file
80021 if test -d conf$$.dir; then
80022 rm -f conf$$.dir/conf$$.file
80023 else
80024 rm -f conf$$.dir
80025 mkdir conf$$.dir 2>/dev/null
80027 if (echo >conf$$.file) 2>/dev/null; then
80028 if ln -s conf$$.file conf$$ 2>/dev/null; then
80029 as_ln_s='ln -s'
80030 # ... but there are two gotchas:
80031 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80032 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80033 # In both cases, we have to default to `cp -p'.
80034 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80035 as_ln_s='cp -p'
80036 elif ln conf$$.file conf$$ 2>/dev/null; then
80037 as_ln_s=ln
80038 else
80039 as_ln_s='cp -p'
80041 else
80042 as_ln_s='cp -p'
80044 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80045 rmdir conf$$.dir 2>/dev/null
80048 # as_fn_mkdir_p
80049 # -------------
80050 # Create "$as_dir" as a directory, including parents if necessary.
80051 as_fn_mkdir_p ()
80054 case $as_dir in #(
80055 -*) as_dir=./$as_dir;;
80056 esac
80057 test -d "$as_dir" || eval $as_mkdir_p || {
80058 as_dirs=
80059 while :; do
80060 case $as_dir in #(
80061 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80062 *) as_qdir=$as_dir;;
80063 esac
80064 as_dirs="'$as_qdir' $as_dirs"
80065 as_dir=`$as_dirname -- "$as_dir" ||
80066 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80067 X"$as_dir" : 'X\(//\)[^/]' \| \
80068 X"$as_dir" : 'X\(//\)$' \| \
80069 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80070 $as_echo X"$as_dir" |
80071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80072 s//\1/
80075 /^X\(\/\/\)[^/].*/{
80076 s//\1/
80079 /^X\(\/\/\)$/{
80080 s//\1/
80083 /^X\(\/\).*/{
80084 s//\1/
80087 s/.*/./; q'`
80088 test -d "$as_dir" && break
80089 done
80090 test -z "$as_dirs" || eval "mkdir $as_dirs"
80091 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80094 } # as_fn_mkdir_p
80095 if mkdir -p . 2>/dev/null; then
80096 as_mkdir_p='mkdir -p "$as_dir"'
80097 else
80098 test -d ./-p && rmdir ./-p
80099 as_mkdir_p=false
80102 if test -x / >/dev/null 2>&1; then
80103 as_test_x='test -x'
80104 else
80105 if ls -dL / >/dev/null 2>&1; then
80106 as_ls_L_option=L
80107 else
80108 as_ls_L_option=
80110 as_test_x='
80111 eval sh -c '\''
80112 if test -d "$1"; then
80113 test -d "$1/.";
80114 else
80115 case $1 in #(
80116 -*)set "./$1";;
80117 esac;
80118 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80119 ???[sx]*):;;*)false;;esac;fi
80120 '\'' sh
80123 as_executable_p=$as_test_x
80125 # Sed expression to map a string onto a valid CPP name.
80126 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80128 # Sed expression to map a string onto a valid variable name.
80129 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80132 exec 6>&1
80133 ## ----------------------------------- ##
80134 ## Main body of $CONFIG_STATUS script. ##
80135 ## ----------------------------------- ##
80136 _ASEOF
80137 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80140 # Save the log message, to keep $0 and so on meaningful, and to
80141 # report actual input values of CONFIG_FILES etc. instead of their
80142 # values after options handling.
80143 ac_log="
80144 This file was extended by package-unused $as_me version-unused, which was
80145 generated by GNU Autoconf 2.64. Invocation command line was
80147 CONFIG_FILES = $CONFIG_FILES
80148 CONFIG_HEADERS = $CONFIG_HEADERS
80149 CONFIG_LINKS = $CONFIG_LINKS
80150 CONFIG_COMMANDS = $CONFIG_COMMANDS
80151 $ $0 $@
80153 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80156 _ACEOF
80158 case $ac_config_files in *"
80159 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80160 esac
80162 case $ac_config_headers in *"
80163 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80164 esac
80167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80168 # Files that config.status was made for.
80169 config_files="$ac_config_files"
80170 config_headers="$ac_config_headers"
80171 config_commands="$ac_config_commands"
80173 _ACEOF
80175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80176 ac_cs_usage="\
80177 \`$as_me' instantiates files and other configuration actions
80178 from templates according to the current configuration. Unless the files
80179 and actions are specified as TAGs, all are instantiated by default.
80181 Usage: $0 [OPTION]... [TAG]...
80183 -h, --help print this help, then exit
80184 -V, --version print version number and configuration settings, then exit
80185 -q, --quiet, --silent
80186 do not print progress messages
80187 -d, --debug don't remove temporary files
80188 --recheck update $as_me by reconfiguring in the same conditions
80189 --file=FILE[:TEMPLATE]
80190 instantiate the configuration file FILE
80191 --header=FILE[:TEMPLATE]
80192 instantiate the configuration header FILE
80194 Configuration files:
80195 $config_files
80197 Configuration headers:
80198 $config_headers
80200 Configuration commands:
80201 $config_commands
80203 Report bugs to the package provider."
80205 _ACEOF
80206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80207 ac_cs_version="\\
80208 package-unused config.status version-unused
80209 configured by $0, generated by GNU Autoconf 2.64,
80210 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80212 Copyright (C) 2009 Free Software Foundation, Inc.
80213 This config.status script is free software; the Free Software Foundation
80214 gives unlimited permission to copy, distribute and modify it."
80216 ac_pwd='$ac_pwd'
80217 srcdir='$srcdir'
80218 INSTALL='$INSTALL'
80219 MKDIR_P='$MKDIR_P'
80220 AWK='$AWK'
80221 test -n "\$AWK" || AWK=awk
80222 _ACEOF
80224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80225 # The default lists apply if the user does not specify any file.
80226 ac_need_defaults=:
80227 while test $# != 0
80229 case $1 in
80230 --*=*)
80231 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80232 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80233 ac_shift=:
80236 ac_option=$1
80237 ac_optarg=$2
80238 ac_shift=shift
80240 esac
80242 case $ac_option in
80243 # Handling of the options.
80244 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80245 ac_cs_recheck=: ;;
80246 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80247 $as_echo "$ac_cs_version"; exit ;;
80248 --debug | --debu | --deb | --de | --d | -d )
80249 debug=: ;;
80250 --file | --fil | --fi | --f )
80251 $ac_shift
80252 case $ac_optarg in
80253 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80254 esac
80255 as_fn_append CONFIG_FILES " '$ac_optarg'"
80256 ac_need_defaults=false;;
80257 --header | --heade | --head | --hea )
80258 $ac_shift
80259 case $ac_optarg in
80260 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80261 esac
80262 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80263 ac_need_defaults=false;;
80264 --he | --h)
80265 # Conflict between --help and --header
80266 as_fn_error "ambiguous option: \`$1'
80267 Try \`$0 --help' for more information.";;
80268 --help | --hel | -h )
80269 $as_echo "$ac_cs_usage"; exit ;;
80270 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80271 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80272 ac_cs_silent=: ;;
80274 # This is an error.
80275 -*) as_fn_error "unrecognized option: \`$1'
80276 Try \`$0 --help' for more information." ;;
80278 *) as_fn_append ac_config_targets " $1"
80279 ac_need_defaults=false ;;
80281 esac
80282 shift
80283 done
80285 ac_configure_extra_args=
80287 if $ac_cs_silent; then
80288 exec 6>/dev/null
80289 ac_configure_extra_args="$ac_configure_extra_args --silent"
80292 _ACEOF
80293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80294 if \$ac_cs_recheck; then
80295 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80296 shift
80297 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80298 CONFIG_SHELL='$SHELL'
80299 export CONFIG_SHELL
80300 exec "\$@"
80303 _ACEOF
80304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80305 exec 5>>config.log
80307 echo
80308 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80309 ## Running $as_me. ##
80310 _ASBOX
80311 $as_echo "$ac_log"
80312 } >&5
80314 _ACEOF
80315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80317 # INIT-COMMANDS
80320 srcdir="$srcdir"
80321 host="$host"
80322 target="$target"
80323 with_multisubdir="$with_multisubdir"
80324 with_multisrctop="$with_multisrctop"
80325 with_target_subdir="$with_target_subdir"
80326 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80327 multi_basedir="$multi_basedir"
80328 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80329 CC="$CC"
80330 CXX="$CXX"
80331 GFORTRAN="$GFORTRAN"
80332 GCJ="$GCJ"
80335 # The HP-UX ksh and POSIX shell print the target directory to stdout
80336 # if CDPATH is set.
80337 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80339 sed_quote_subst='$sed_quote_subst'
80340 double_quote_subst='$double_quote_subst'
80341 delay_variable_subst='$delay_variable_subst'
80342 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80343 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80344 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80345 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80346 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80347 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80348 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80349 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80350 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80351 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80352 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80353 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80354 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80355 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80356 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80357 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80358 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80359 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80360 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80361 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80362 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80363 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80364 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80365 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80366 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80367 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80368 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80369 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80370 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80371 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80372 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80373 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80374 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80375 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80376 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80377 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80378 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80379 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80380 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80381 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80382 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80383 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80384 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80385 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80386 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80387 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80388 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80389 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80390 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"`'
80391 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80392 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80393 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80394 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80395 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80396 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80397 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80398 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80399 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80400 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80401 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80402 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80403 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80404 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80405 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80406 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80407 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80408 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80409 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80410 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80411 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80412 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80413 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80414 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80415 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80416 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80417 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80418 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80419 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80420 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80421 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80422 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80423 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80424 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80425 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80426 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80427 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80428 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80429 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80430 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80431 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80432 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80433 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80434 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80435 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80436 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80437 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80438 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80439 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80440 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80441 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80442 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80443 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80444 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80445 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80446 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80447 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80448 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80449 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80450 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80451 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80452 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80453 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80454 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80455 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80456 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80457 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80458 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80459 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80460 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80461 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80462 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80463 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80464 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80465 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80466 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80467 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80468 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80469 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80470 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80471 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80472 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80473 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80474 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80475 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80476 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80477 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80478 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80479 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80480 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80481 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80482 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80483 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80484 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80485 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80486 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80487 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80488 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80489 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80490 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80491 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80492 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80493 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80494 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80495 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80496 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80497 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80498 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80499 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80500 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80501 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80502 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80503 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80504 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80505 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80506 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80507 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80508 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80509 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80510 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80511 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80512 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80513 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80514 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80515 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80516 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80518 LTCC='$LTCC'
80519 LTCFLAGS='$LTCFLAGS'
80520 compiler='$compiler_DEFAULT'
80522 # A function that is used when there is no print builtin or printf.
80523 func_fallback_echo ()
80525 eval 'cat <<_LTECHO_EOF
80527 _LTECHO_EOF'
80530 # Quote evaled strings.
80531 for var in SHELL \
80532 ECHO \
80533 SED \
80534 GREP \
80535 EGREP \
80536 FGREP \
80537 LD \
80538 NM \
80539 LN_S \
80540 lt_SP2NL \
80541 lt_NL2SP \
80542 reload_flag \
80543 OBJDUMP \
80544 deplibs_check_method \
80545 file_magic_cmd \
80546 AR \
80547 AR_FLAGS \
80548 STRIP \
80549 RANLIB \
80550 CC \
80551 CFLAGS \
80552 compiler \
80553 lt_cv_sys_global_symbol_pipe \
80554 lt_cv_sys_global_symbol_to_cdecl \
80555 lt_cv_sys_global_symbol_to_c_name_address \
80556 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80557 lt_prog_compiler_no_builtin_flag \
80558 lt_prog_compiler_wl \
80559 lt_prog_compiler_pic \
80560 lt_prog_compiler_static \
80561 lt_cv_prog_compiler_c_o \
80562 need_locks \
80563 DSYMUTIL \
80564 NMEDIT \
80565 LIPO \
80566 OTOOL \
80567 OTOOL64 \
80568 shrext_cmds \
80569 export_dynamic_flag_spec \
80570 whole_archive_flag_spec \
80571 compiler_needs_object \
80572 with_gnu_ld \
80573 allow_undefined_flag \
80574 no_undefined_flag \
80575 hardcode_libdir_flag_spec \
80576 hardcode_libdir_flag_spec_ld \
80577 hardcode_libdir_separator \
80578 fix_srcfile_path \
80579 exclude_expsyms \
80580 include_expsyms \
80581 file_list_spec \
80582 variables_saved_for_relink \
80583 libname_spec \
80584 library_names_spec \
80585 soname_spec \
80586 install_override_mode \
80587 finish_eval \
80588 old_striplib \
80589 striplib \
80590 compiler_lib_search_dirs \
80591 predep_objects \
80592 postdep_objects \
80593 predeps \
80594 postdeps \
80595 compiler_lib_search_path \
80596 LD_CXX \
80597 reload_flag_CXX \
80598 compiler_CXX \
80599 lt_prog_compiler_no_builtin_flag_CXX \
80600 lt_prog_compiler_wl_CXX \
80601 lt_prog_compiler_pic_CXX \
80602 lt_prog_compiler_static_CXX \
80603 lt_cv_prog_compiler_c_o_CXX \
80604 export_dynamic_flag_spec_CXX \
80605 whole_archive_flag_spec_CXX \
80606 compiler_needs_object_CXX \
80607 with_gnu_ld_CXX \
80608 allow_undefined_flag_CXX \
80609 no_undefined_flag_CXX \
80610 hardcode_libdir_flag_spec_CXX \
80611 hardcode_libdir_flag_spec_ld_CXX \
80612 hardcode_libdir_separator_CXX \
80613 fix_srcfile_path_CXX \
80614 exclude_expsyms_CXX \
80615 include_expsyms_CXX \
80616 file_list_spec_CXX \
80617 compiler_lib_search_dirs_CXX \
80618 predep_objects_CXX \
80619 postdep_objects_CXX \
80620 predeps_CXX \
80621 postdeps_CXX \
80622 compiler_lib_search_path_CXX; do
80623 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80624 *[\\\\\\\`\\"\\\$]*)
80625 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80628 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80630 esac
80631 done
80633 # Double-quote double-evaled strings.
80634 for var in reload_cmds \
80635 old_postinstall_cmds \
80636 old_postuninstall_cmds \
80637 old_archive_cmds \
80638 extract_expsyms_cmds \
80639 old_archive_from_new_cmds \
80640 old_archive_from_expsyms_cmds \
80641 archive_cmds \
80642 archive_expsym_cmds \
80643 module_cmds \
80644 module_expsym_cmds \
80645 export_symbols_cmds \
80646 prelink_cmds \
80647 postinstall_cmds \
80648 postuninstall_cmds \
80649 finish_cmds \
80650 sys_lib_search_path_spec \
80651 sys_lib_dlsearch_path_spec \
80652 reload_cmds_CXX \
80653 old_archive_cmds_CXX \
80654 old_archive_from_new_cmds_CXX \
80655 old_archive_from_expsyms_cmds_CXX \
80656 archive_cmds_CXX \
80657 archive_expsym_cmds_CXX \
80658 module_cmds_CXX \
80659 module_expsym_cmds_CXX \
80660 export_symbols_cmds_CXX \
80661 prelink_cmds_CXX; do
80662 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80663 *[\\\\\\\`\\"\\\$]*)
80664 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80667 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80669 esac
80670 done
80672 ac_aux_dir='$ac_aux_dir'
80673 xsi_shell='$xsi_shell'
80674 lt_shell_append='$lt_shell_append'
80676 # See if we are running on zsh, and set the options which allow our
80677 # commands through without removal of \ escapes INIT.
80678 if test -n "\${ZSH_VERSION+set}" ; then
80679 setopt NO_GLOB_SUBST
80683 PACKAGE='$PACKAGE'
80684 VERSION='$VERSION'
80685 TIMESTAMP='$TIMESTAMP'
80686 RM='$RM'
80687 ofile='$ofile'
80694 GCC="$GCC"
80695 CC="$CC"
80696 acx_cv_header_stdint="$acx_cv_header_stdint"
80697 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80698 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80699 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80700 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80701 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80702 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80703 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80704 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80705 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80706 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80707 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80708 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80709 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80712 _ACEOF
80714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80716 # Handling of arguments.
80717 for ac_config_target in $ac_config_targets
80719 case $ac_config_target in
80720 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80721 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80722 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80723 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80724 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80725 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80726 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80727 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80728 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80729 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80730 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80731 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80732 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80733 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80734 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80735 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80736 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80737 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80739 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80740 esac
80741 done
80744 # If the user did not use the arguments to specify the items to instantiate,
80745 # then the envvar interface is used. Set only those that are not.
80746 # We use the long form for the default assignment because of an extremely
80747 # bizarre bug on SunOS 4.1.3.
80748 if $ac_need_defaults; then
80749 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80750 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80751 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80754 # Have a temporary directory for convenience. Make it in the build tree
80755 # simply because there is no reason against having it here, and in addition,
80756 # creating and moving files from /tmp can sometimes cause problems.
80757 # Hook for its removal unless debugging.
80758 # Note that there is a small window in which the directory will not be cleaned:
80759 # after its creation but before its name has been assigned to `$tmp'.
80760 $debug ||
80762 tmp=
80763 trap 'exit_status=$?
80764 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80766 trap 'as_fn_exit 1' 1 2 13 15
80768 # Create a (secure) tmp directory for tmp files.
80771 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80772 test -n "$tmp" && test -d "$tmp"
80773 } ||
80775 tmp=./conf$$-$RANDOM
80776 (umask 077 && mkdir "$tmp")
80777 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80779 # Set up the scripts for CONFIG_FILES section.
80780 # No need to generate them if there are no CONFIG_FILES.
80781 # This happens for instance with `./config.status config.h'.
80782 if test -n "$CONFIG_FILES"; then
80785 ac_cr=`echo X | tr X '\015'`
80786 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80787 # But we know of no other shell where ac_cr would be empty at this
80788 # point, so we can use a bashism as a fallback.
80789 if test "x$ac_cr" = x; then
80790 eval ac_cr=\$\'\\r\'
80792 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80793 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80794 ac_cs_awk_cr='\r'
80795 else
80796 ac_cs_awk_cr=$ac_cr
80799 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80800 _ACEOF
80804 echo "cat >conf$$subs.awk <<_ACEOF" &&
80805 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80806 echo "_ACEOF"
80807 } >conf$$subs.sh ||
80808 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80809 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80810 ac_delim='%!_!# '
80811 for ac_last_try in false false false false false :; do
80812 . ./conf$$subs.sh ||
80813 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80815 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80816 if test $ac_delim_n = $ac_delim_num; then
80817 break
80818 elif $ac_last_try; then
80819 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80820 else
80821 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80823 done
80824 rm -f conf$$subs.sh
80826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80827 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80828 _ACEOF
80829 sed -n '
80831 s/^/S["/; s/!.*/"]=/
80834 s/^[^!]*!//
80835 :repl
80836 t repl
80837 s/'"$ac_delim"'$//
80838 t delim
80841 s/\(.\{148\}\).*/\1/
80842 t more1
80843 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80846 b repl
80847 :more1
80848 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80851 s/.\{148\}//
80852 t nl
80853 :delim
80855 s/\(.\{148\}\).*/\1/
80856 t more2
80857 s/["\\]/\\&/g; s/^/"/; s/$/"/
80860 :more2
80861 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80864 s/.\{148\}//
80865 t delim
80866 ' <conf$$subs.awk | sed '
80867 /^[^""]/{
80869 s/\n//
80871 ' >>$CONFIG_STATUS || ac_write_fail=1
80872 rm -f conf$$subs.awk
80873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80874 _ACAWK
80875 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
80876 for (key in S) S_is_set[key] = 1
80877 FS = "\a"
80881 line = $ 0
80882 nfields = split(line, field, "@")
80883 substed = 0
80884 len = length(field[1])
80885 for (i = 2; i < nfields; i++) {
80886 key = field[i]
80887 keylen = length(key)
80888 if (S_is_set[key]) {
80889 value = S[key]
80890 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
80891 len += length(value) + length(field[++i])
80892 substed = 1
80893 } else
80894 len += 1 + keylen
80897 print line
80900 _ACAWK
80901 _ACEOF
80902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80903 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
80904 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
80905 else
80907 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
80908 || as_fn_error "could not setup config files machinery" "$LINENO" 5
80909 _ACEOF
80911 # VPATH may cause trouble with some makes, so we remove $(srcdir),
80912 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
80913 # trailing colons and then remove the whole line if VPATH becomes empty
80914 # (actually we leave an empty line to preserve line numbers).
80915 if test "x$srcdir" = x.; then
80916 ac_vpsub='/^[ ]*VPATH[ ]*=/{
80917 s/:*\$(srcdir):*/:/
80918 s/:*\${srcdir}:*/:/
80919 s/:*@srcdir@:*/:/
80920 s/^\([^=]*=[ ]*\):*/\1/
80921 s/:*$//
80922 s/^[^=]*=[ ]*$//
80926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80927 fi # test -n "$CONFIG_FILES"
80929 # Set up the scripts for CONFIG_HEADERS section.
80930 # No need to generate them if there are no CONFIG_HEADERS.
80931 # This happens for instance with `./config.status Makefile'.
80932 if test -n "$CONFIG_HEADERS"; then
80933 cat >"$tmp/defines.awk" <<\_ACAWK ||
80934 BEGIN {
80935 _ACEOF
80937 # Transform confdefs.h into an awk script `defines.awk', embedded as
80938 # here-document in config.status, that substitutes the proper values into
80939 # config.h.in to produce config.h.
80941 # Create a delimiter string that does not exist in confdefs.h, to ease
80942 # handling of long lines.
80943 ac_delim='%!_!# '
80944 for ac_last_try in false false :; do
80945 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
80946 if test -z "$ac_t"; then
80947 break
80948 elif $ac_last_try; then
80949 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
80950 else
80951 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80953 done
80955 # For the awk script, D is an array of macro values keyed by name,
80956 # likewise P contains macro parameters if any. Preserve backslash
80957 # newline sequences.
80959 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
80960 sed -n '
80961 s/.\{148\}/&'"$ac_delim"'/g
80962 t rset
80963 :rset
80964 s/^[ ]*#[ ]*define[ ][ ]*/ /
80965 t def
80967 :def
80968 s/\\$//
80969 t bsnl
80970 s/["\\]/\\&/g
80971 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80972 D["\1"]=" \3"/p
80973 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
80975 :bsnl
80976 s/["\\]/\\&/g
80977 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80978 D["\1"]=" \3\\\\\\n"\\/p
80979 t cont
80980 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
80981 t cont
80983 :cont
80985 s/.\{148\}/&'"$ac_delim"'/g
80986 t clear
80987 :clear
80988 s/\\$//
80989 t bsnlc
80990 s/["\\]/\\&/g; s/^/"/; s/$/"/p
80992 :bsnlc
80993 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
80994 b cont
80995 ' <confdefs.h | sed '
80996 s/'"$ac_delim"'/"\\\
80997 "/g' >>$CONFIG_STATUS || ac_write_fail=1
80999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81000 for (key in D) D_is_set[key] = 1
81001 FS = "\a"
81003 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81004 line = \$ 0
81005 split(line, arg, " ")
81006 if (arg[1] == "#") {
81007 defundef = arg[2]
81008 mac1 = arg[3]
81009 } else {
81010 defundef = substr(arg[1], 2)
81011 mac1 = arg[2]
81013 split(mac1, mac2, "(") #)
81014 macro = mac2[1]
81015 prefix = substr(line, 1, index(line, defundef) - 1)
81016 if (D_is_set[macro]) {
81017 # Preserve the white space surrounding the "#".
81018 print prefix "define", macro P[macro] D[macro]
81019 next
81020 } else {
81021 # Replace #undef with comments. This is necessary, for example,
81022 # in the case of _POSIX_SOURCE, which is predefined and required
81023 # on some systems where configure will not decide to define it.
81024 if (defundef == "undef") {
81025 print "/*", prefix defundef, macro, "*/"
81026 next
81030 { print }
81031 _ACAWK
81032 _ACEOF
81033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81034 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81035 fi # test -n "$CONFIG_HEADERS"
81038 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81039 shift
81040 for ac_tag
81042 case $ac_tag in
81043 :[FHLC]) ac_mode=$ac_tag; continue;;
81044 esac
81045 case $ac_mode$ac_tag in
81046 :[FHL]*:*);;
81047 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81048 :[FH]-) ac_tag=-:-;;
81049 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81050 esac
81051 ac_save_IFS=$IFS
81052 IFS=:
81053 set x $ac_tag
81054 IFS=$ac_save_IFS
81055 shift
81056 ac_file=$1
81057 shift
81059 case $ac_mode in
81060 :L) ac_source=$1;;
81061 :[FH])
81062 ac_file_inputs=
81063 for ac_f
81065 case $ac_f in
81066 -) ac_f="$tmp/stdin";;
81067 *) # Look for the file first in the build tree, then in the source tree
81068 # (if the path is not absolute). The absolute path cannot be DOS-style,
81069 # because $ac_f cannot contain `:'.
81070 test -f "$ac_f" ||
81071 case $ac_f in
81072 [\\/$]*) false;;
81073 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81074 esac ||
81075 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81076 esac
81077 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81078 as_fn_append ac_file_inputs " '$ac_f'"
81079 done
81081 # Let's still pretend it is `configure' which instantiates (i.e., don't
81082 # use $as_me), people would be surprised to read:
81083 # /* config.h. Generated by config.status. */
81084 configure_input='Generated from '`
81085 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81086 `' by configure.'
81087 if test x"$ac_file" != x-; then
81088 configure_input="$ac_file. $configure_input"
81089 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81090 $as_echo "$as_me: creating $ac_file" >&6;}
81092 # Neutralize special characters interpreted by sed in replacement strings.
81093 case $configure_input in #(
81094 *\&* | *\|* | *\\* )
81095 ac_sed_conf_input=`$as_echo "$configure_input" |
81096 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81097 *) ac_sed_conf_input=$configure_input;;
81098 esac
81100 case $ac_tag in
81101 *:-:* | *:-) cat >"$tmp/stdin" \
81102 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81103 esac
81105 esac
81107 ac_dir=`$as_dirname -- "$ac_file" ||
81108 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81109 X"$ac_file" : 'X\(//\)[^/]' \| \
81110 X"$ac_file" : 'X\(//\)$' \| \
81111 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81112 $as_echo X"$ac_file" |
81113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81114 s//\1/
81117 /^X\(\/\/\)[^/].*/{
81118 s//\1/
81121 /^X\(\/\/\)$/{
81122 s//\1/
81125 /^X\(\/\).*/{
81126 s//\1/
81129 s/.*/./; q'`
81130 as_dir="$ac_dir"; as_fn_mkdir_p
81131 ac_builddir=.
81133 case "$ac_dir" in
81134 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81136 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81137 # A ".." for each directory in $ac_dir_suffix.
81138 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81139 case $ac_top_builddir_sub in
81140 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81141 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81142 esac ;;
81143 esac
81144 ac_abs_top_builddir=$ac_pwd
81145 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81146 # for backward compatibility:
81147 ac_top_builddir=$ac_top_build_prefix
81149 case $srcdir in
81150 .) # We are building in place.
81151 ac_srcdir=.
81152 ac_top_srcdir=$ac_top_builddir_sub
81153 ac_abs_top_srcdir=$ac_pwd ;;
81154 [\\/]* | ?:[\\/]* ) # Absolute name.
81155 ac_srcdir=$srcdir$ac_dir_suffix;
81156 ac_top_srcdir=$srcdir
81157 ac_abs_top_srcdir=$srcdir ;;
81158 *) # Relative name.
81159 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81160 ac_top_srcdir=$ac_top_build_prefix$srcdir
81161 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81162 esac
81163 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81166 case $ac_mode in
81169 # CONFIG_FILE
81172 case $INSTALL in
81173 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81174 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81175 esac
81176 ac_MKDIR_P=$MKDIR_P
81177 case $MKDIR_P in
81178 [\\/$]* | ?:[\\/]* ) ;;
81179 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81180 esac
81181 _ACEOF
81183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81184 # If the template does not know about datarootdir, expand it.
81185 # FIXME: This hack should be removed a few years after 2.60.
81186 ac_datarootdir_hack=; ac_datarootdir_seen=
81187 ac_sed_dataroot='
81188 /datarootdir/ {
81192 /@datadir@/p
81193 /@docdir@/p
81194 /@infodir@/p
81195 /@localedir@/p
81196 /@mandir@/p'
81197 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81198 *datarootdir*) ac_datarootdir_seen=yes;;
81199 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81201 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81202 _ACEOF
81203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81204 ac_datarootdir_hack='
81205 s&@datadir@&$datadir&g
81206 s&@docdir@&$docdir&g
81207 s&@infodir@&$infodir&g
81208 s&@localedir@&$localedir&g
81209 s&@mandir@&$mandir&g
81210 s&\\\${datarootdir}&$datarootdir&g' ;;
81211 esac
81212 _ACEOF
81214 # Neutralize VPATH when `$srcdir' = `.'.
81215 # Shell code in configure.ac might set extrasub.
81216 # FIXME: do we really want to maintain this feature?
81217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81218 ac_sed_extra="$ac_vpsub
81219 $extrasub
81220 _ACEOF
81221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81223 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81224 s|@configure_input@|$ac_sed_conf_input|;t t
81225 s&@top_builddir@&$ac_top_builddir_sub&;t t
81226 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81227 s&@srcdir@&$ac_srcdir&;t t
81228 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81229 s&@top_srcdir@&$ac_top_srcdir&;t t
81230 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81231 s&@builddir@&$ac_builddir&;t t
81232 s&@abs_builddir@&$ac_abs_builddir&;t t
81233 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81234 s&@INSTALL@&$ac_INSTALL&;t t
81235 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81236 $ac_datarootdir_hack
81238 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81239 || as_fn_error "could not create $ac_file" "$LINENO" 5
81241 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81242 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81243 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81245 which seems to be undefined. Please make sure it is defined." >&5
81246 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81247 which seems to be undefined. Please make sure it is defined." >&2;}
81249 rm -f "$tmp/stdin"
81250 case $ac_file in
81251 -) cat "$tmp/out" && rm -f "$tmp/out";;
81252 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81253 esac \
81254 || as_fn_error "could not create $ac_file" "$LINENO" 5
81258 # CONFIG_HEADER
81260 if test x"$ac_file" != x-; then
81262 $as_echo "/* $configure_input */" \
81263 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81264 } >"$tmp/config.h" \
81265 || as_fn_error "could not create $ac_file" "$LINENO" 5
81266 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81267 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81268 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81269 else
81270 rm -f "$ac_file"
81271 mv "$tmp/config.h" "$ac_file" \
81272 || as_fn_error "could not create $ac_file" "$LINENO" 5
81274 else
81275 $as_echo "/* $configure_input */" \
81276 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81277 || as_fn_error "could not create -" "$LINENO" 5
81279 # Compute "$ac_file"'s index in $config_headers.
81280 _am_arg="$ac_file"
81281 _am_stamp_count=1
81282 for _am_header in $config_headers :; do
81283 case $_am_header in
81284 $_am_arg | $_am_arg:* )
81285 break ;;
81287 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81288 esac
81289 done
81290 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81291 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81292 X"$_am_arg" : 'X\(//\)[^/]' \| \
81293 X"$_am_arg" : 'X\(//\)$' \| \
81294 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81295 $as_echo X"$_am_arg" |
81296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81297 s//\1/
81300 /^X\(\/\/\)[^/].*/{
81301 s//\1/
81304 /^X\(\/\/\)$/{
81305 s//\1/
81308 /^X\(\/\).*/{
81309 s//\1/
81312 s/.*/./; q'`/stamp-h$_am_stamp_count
81315 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81316 $as_echo "$as_me: executing $ac_file commands" >&6;}
81318 esac
81321 case $ac_file$ac_mode in
81322 "default-1":C)
81323 # Only add multilib support code if we just rebuilt the top-level
81324 # Makefile.
81325 case " $CONFIG_FILES " in
81326 *" Makefile "*)
81327 ac_file=Makefile . ${multi_basedir}/config-ml.in
81329 esac ;;
81330 "libtool":C)
81332 # See if we are running on zsh, and set the options which allow our
81333 # commands through without removal of \ escapes.
81334 if test -n "${ZSH_VERSION+set}" ; then
81335 setopt NO_GLOB_SUBST
81338 cfgfile="${ofile}T"
81339 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81340 $RM "$cfgfile"
81342 cat <<_LT_EOF >> "$cfgfile"
81343 #! $SHELL
81345 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81346 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81347 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81348 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81350 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81351 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81352 # Written by Gordon Matzigkeit, 1996
81354 # This file is part of GNU Libtool.
81356 # GNU Libtool is free software; you can redistribute it and/or
81357 # modify it under the terms of the GNU General Public License as
81358 # published by the Free Software Foundation; either version 2 of
81359 # the License, or (at your option) any later version.
81361 # As a special exception to the GNU General Public License,
81362 # if you distribute this file as part of a program or library that
81363 # is built using GNU Libtool, you may include this file under the
81364 # same distribution terms that you use for the rest of that program.
81366 # GNU Libtool is distributed in the hope that it will be useful,
81367 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81368 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81369 # GNU General Public License for more details.
81371 # You should have received a copy of the GNU General Public License
81372 # along with GNU Libtool; see the file COPYING. If not, a copy
81373 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81374 # obtained by writing to the Free Software Foundation, Inc.,
81375 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81378 # The names of the tagged configurations supported by this script.
81379 available_tags="CXX "
81381 # ### BEGIN LIBTOOL CONFIG
81383 # Which release of libtool.m4 was used?
81384 macro_version=$macro_version
81385 macro_revision=$macro_revision
81387 # Whether or not to build shared libraries.
81388 build_libtool_libs=$enable_shared
81390 # Whether or not to build static libraries.
81391 build_old_libs=$enable_static
81393 # What type of objects to build.
81394 pic_mode=$pic_mode
81396 # Whether or not to optimize for fast installation.
81397 fast_install=$enable_fast_install
81399 # Shell to use when invoking shell scripts.
81400 SHELL=$lt_SHELL
81402 # An echo program that protects backslashes.
81403 ECHO=$lt_ECHO
81405 # The host system.
81406 host_alias=$host_alias
81407 host=$host
81408 host_os=$host_os
81410 # The build system.
81411 build_alias=$build_alias
81412 build=$build
81413 build_os=$build_os
81415 # A sed program that does not truncate output.
81416 SED=$lt_SED
81418 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81419 Xsed="\$SED -e 1s/^X//"
81421 # A grep program that handles long lines.
81422 GREP=$lt_GREP
81424 # An ERE matcher.
81425 EGREP=$lt_EGREP
81427 # A literal string matcher.
81428 FGREP=$lt_FGREP
81430 # A BSD- or MS-compatible name lister.
81431 NM=$lt_NM
81433 # Whether we need soft or hard links.
81434 LN_S=$lt_LN_S
81436 # What is the maximum length of a command?
81437 max_cmd_len=$max_cmd_len
81439 # Object file suffix (normally "o").
81440 objext=$ac_objext
81442 # Executable file suffix (normally "").
81443 exeext=$exeext
81445 # whether the shell understands "unset".
81446 lt_unset=$lt_unset
81448 # turn spaces into newlines.
81449 SP2NL=$lt_lt_SP2NL
81451 # turn newlines into spaces.
81452 NL2SP=$lt_lt_NL2SP
81454 # An object symbol dumper.
81455 OBJDUMP=$lt_OBJDUMP
81457 # Method to check whether dependent libraries are shared objects.
81458 deplibs_check_method=$lt_deplibs_check_method
81460 # Command to use when deplibs_check_method == "file_magic".
81461 file_magic_cmd=$lt_file_magic_cmd
81463 # The archiver.
81464 AR=$lt_AR
81465 AR_FLAGS=$lt_AR_FLAGS
81467 # A symbol stripping program.
81468 STRIP=$lt_STRIP
81470 # Commands used to install an old-style archive.
81471 RANLIB=$lt_RANLIB
81472 old_postinstall_cmds=$lt_old_postinstall_cmds
81473 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81475 # Whether to use a lock for old archive extraction.
81476 lock_old_archive_extraction=$lock_old_archive_extraction
81478 # A C compiler.
81479 LTCC=$lt_CC
81481 # LTCC compiler flags.
81482 LTCFLAGS=$lt_CFLAGS
81484 # Take the output of nm and produce a listing of raw symbols and C names.
81485 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81487 # Transform the output of nm in a proper C declaration.
81488 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81490 # Transform the output of nm in a C name address pair.
81491 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81493 # Transform the output of nm in a C name address pair when lib prefix is needed.
81494 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81496 # The name of the directory that contains temporary libtool files.
81497 objdir=$objdir
81499 # Used to examine libraries when file_magic_cmd begins with "file".
81500 MAGIC_CMD=$MAGIC_CMD
81502 # Must we lock files when doing compilation?
81503 need_locks=$lt_need_locks
81505 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81506 DSYMUTIL=$lt_DSYMUTIL
81508 # Tool to change global to local symbols on Mac OS X.
81509 NMEDIT=$lt_NMEDIT
81511 # Tool to manipulate fat objects and archives on Mac OS X.
81512 LIPO=$lt_LIPO
81514 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81515 OTOOL=$lt_OTOOL
81517 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81518 OTOOL64=$lt_OTOOL64
81520 # Old archive suffix (normally "a").
81521 libext=$libext
81523 # Shared library suffix (normally ".so").
81524 shrext_cmds=$lt_shrext_cmds
81526 # The commands to extract the exported symbol list from a shared archive.
81527 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81529 # Variables whose values should be saved in libtool wrapper scripts and
81530 # restored at link time.
81531 variables_saved_for_relink=$lt_variables_saved_for_relink
81533 # Do we need the "lib" prefix for modules?
81534 need_lib_prefix=$need_lib_prefix
81536 # Do we need a version for libraries?
81537 need_version=$need_version
81539 # Library versioning type.
81540 version_type=$version_type
81542 # Shared library runtime path variable.
81543 runpath_var=$runpath_var
81545 # Shared library path variable.
81546 shlibpath_var=$shlibpath_var
81548 # Is shlibpath searched before the hard-coded library search path?
81549 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81551 # Format of library name prefix.
81552 libname_spec=$lt_libname_spec
81554 # List of archive names. First name is the real one, the rest are links.
81555 # The last name is the one that the linker finds with -lNAME
81556 library_names_spec=$lt_library_names_spec
81558 # The coded name of the library, if different from the real name.
81559 soname_spec=$lt_soname_spec
81561 # Permission mode override for installation of shared libraries.
81562 install_override_mode=$lt_install_override_mode
81564 # Command to use after installation of a shared archive.
81565 postinstall_cmds=$lt_postinstall_cmds
81567 # Command to use after uninstallation of a shared archive.
81568 postuninstall_cmds=$lt_postuninstall_cmds
81570 # Commands used to finish a libtool library installation in a directory.
81571 finish_cmds=$lt_finish_cmds
81573 # As "finish_cmds", except a single script fragment to be evaled but
81574 # not shown.
81575 finish_eval=$lt_finish_eval
81577 # Whether we should hardcode library paths into libraries.
81578 hardcode_into_libs=$hardcode_into_libs
81580 # Compile-time system search path for libraries.
81581 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81583 # Run-time system search path for libraries.
81584 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81586 # Whether dlopen is supported.
81587 dlopen_support=$enable_dlopen
81589 # Whether dlopen of programs is supported.
81590 dlopen_self=$enable_dlopen_self
81592 # Whether dlopen of statically linked programs is supported.
81593 dlopen_self_static=$enable_dlopen_self_static
81595 # Commands to strip libraries.
81596 old_striplib=$lt_old_striplib
81597 striplib=$lt_striplib
81600 # The linker used to build libraries.
81601 LD=$lt_LD
81603 # How to create reloadable object files.
81604 reload_flag=$lt_reload_flag
81605 reload_cmds=$lt_reload_cmds
81607 # Commands used to build an old-style archive.
81608 old_archive_cmds=$lt_old_archive_cmds
81610 # A language specific compiler.
81611 CC=$lt_compiler
81613 # Is the compiler the GNU compiler?
81614 with_gcc=$GCC
81616 # Compiler flag to turn off builtin functions.
81617 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81619 # How to pass a linker flag through the compiler.
81620 wl=$lt_lt_prog_compiler_wl
81622 # Additional compiler flags for building library objects.
81623 pic_flag=$lt_lt_prog_compiler_pic
81625 # Compiler flag to prevent dynamic linking.
81626 link_static_flag=$lt_lt_prog_compiler_static
81628 # Does compiler simultaneously support -c and -o options?
81629 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81631 # Whether or not to add -lc for building shared libraries.
81632 build_libtool_need_lc=$archive_cmds_need_lc
81634 # Whether or not to disallow shared libs when runtime libs are static.
81635 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81637 # Compiler flag to allow reflexive dlopens.
81638 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81640 # Compiler flag to generate shared objects directly from archives.
81641 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81643 # Whether the compiler copes with passing no objects directly.
81644 compiler_needs_object=$lt_compiler_needs_object
81646 # Create an old-style archive from a shared archive.
81647 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81649 # Create a temporary old-style archive to link instead of a shared archive.
81650 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81652 # Commands used to build a shared archive.
81653 archive_cmds=$lt_archive_cmds
81654 archive_expsym_cmds=$lt_archive_expsym_cmds
81656 # Commands used to build a loadable module if different from building
81657 # a shared archive.
81658 module_cmds=$lt_module_cmds
81659 module_expsym_cmds=$lt_module_expsym_cmds
81661 # Whether we are building with GNU ld or not.
81662 with_gnu_ld=$lt_with_gnu_ld
81664 # Flag that allows shared libraries with undefined symbols to be built.
81665 allow_undefined_flag=$lt_allow_undefined_flag
81667 # Flag that enforces no undefined symbols.
81668 no_undefined_flag=$lt_no_undefined_flag
81670 # Flag to hardcode \$libdir into a binary during linking.
81671 # This must work even if \$libdir does not exist
81672 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81674 # If ld is used when linking, flag to hardcode \$libdir into a binary
81675 # during linking. This must work even if \$libdir does not exist.
81676 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81678 # Whether we need a single "-rpath" flag with a separated argument.
81679 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81681 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81682 # DIR into the resulting binary.
81683 hardcode_direct=$hardcode_direct
81685 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81686 # DIR into the resulting binary and the resulting library dependency is
81687 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81688 # library is relocated.
81689 hardcode_direct_absolute=$hardcode_direct_absolute
81691 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81692 # into the resulting binary.
81693 hardcode_minus_L=$hardcode_minus_L
81695 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81696 # into the resulting binary.
81697 hardcode_shlibpath_var=$hardcode_shlibpath_var
81699 # Set to "yes" if building a shared library automatically hardcodes DIR
81700 # into the library and all subsequent libraries and executables linked
81701 # against it.
81702 hardcode_automatic=$hardcode_automatic
81704 # Set to yes if linker adds runtime paths of dependent libraries
81705 # to runtime path list.
81706 inherit_rpath=$inherit_rpath
81708 # Whether libtool must link a program against all its dependency libraries.
81709 link_all_deplibs=$link_all_deplibs
81711 # Fix the shell variable \$srcfile for the compiler.
81712 fix_srcfile_path=$lt_fix_srcfile_path
81714 # Set to "yes" if exported symbols are required.
81715 always_export_symbols=$always_export_symbols
81717 # The commands to list exported symbols.
81718 export_symbols_cmds=$lt_export_symbols_cmds
81720 # Symbols that should not be listed in the preloaded symbols.
81721 exclude_expsyms=$lt_exclude_expsyms
81723 # Symbols that must always be exported.
81724 include_expsyms=$lt_include_expsyms
81726 # Commands necessary for linking programs (against libraries) with templates.
81727 prelink_cmds=$lt_prelink_cmds
81729 # Specify filename containing input files.
81730 file_list_spec=$lt_file_list_spec
81732 # How to hardcode a shared library path into an executable.
81733 hardcode_action=$hardcode_action
81735 # The directories searched by this compiler when creating a shared library.
81736 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81738 # Dependencies to place before and after the objects being linked to
81739 # create a shared library.
81740 predep_objects=$lt_predep_objects
81741 postdep_objects=$lt_postdep_objects
81742 predeps=$lt_predeps
81743 postdeps=$lt_postdeps
81745 # The library search path used internally by the compiler when linking
81746 # a shared library.
81747 compiler_lib_search_path=$lt_compiler_lib_search_path
81749 # ### END LIBTOOL CONFIG
81751 _LT_EOF
81753 case $host_os in
81754 aix3*)
81755 cat <<\_LT_EOF >> "$cfgfile"
81756 # AIX sometimes has problems with the GCC collect2 program. For some
81757 # reason, if we set the COLLECT_NAMES environment variable, the problems
81758 # vanish in a puff of smoke.
81759 if test "X${COLLECT_NAMES+set}" != Xset; then
81760 COLLECT_NAMES=
81761 export COLLECT_NAMES
81763 _LT_EOF
81765 esac
81768 ltmain="$ac_aux_dir/ltmain.sh"
81771 # We use sed instead of cat because bash on DJGPP gets confused if
81772 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81773 # text mode, it properly converts lines to CR/LF. This bash problem
81774 # is reportedly fixed, but why not run on old versions too?
81775 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81776 || (rm -f "$cfgfile"; exit 1)
81778 case $xsi_shell in
81779 yes)
81780 cat << \_LT_EOF >> "$cfgfile"
81782 # func_dirname file append nondir_replacement
81783 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81784 # otherwise set result to NONDIR_REPLACEMENT.
81785 func_dirname ()
81787 case ${1} in
81788 */*) func_dirname_result="${1%/*}${2}" ;;
81789 * ) func_dirname_result="${3}" ;;
81790 esac
81793 # func_basename file
81794 func_basename ()
81796 func_basename_result="${1##*/}"
81799 # func_dirname_and_basename file append nondir_replacement
81800 # perform func_basename and func_dirname in a single function
81801 # call:
81802 # dirname: Compute the dirname of FILE. If nonempty,
81803 # add APPEND to the result, otherwise set result
81804 # to NONDIR_REPLACEMENT.
81805 # value returned in "$func_dirname_result"
81806 # basename: Compute filename of FILE.
81807 # value retuned in "$func_basename_result"
81808 # Implementation must be kept synchronized with func_dirname
81809 # and func_basename. For efficiency, we do not delegate to
81810 # those functions but instead duplicate the functionality here.
81811 func_dirname_and_basename ()
81813 case ${1} in
81814 */*) func_dirname_result="${1%/*}${2}" ;;
81815 * ) func_dirname_result="${3}" ;;
81816 esac
81817 func_basename_result="${1##*/}"
81820 # func_stripname prefix suffix name
81821 # strip PREFIX and SUFFIX off of NAME.
81822 # PREFIX and SUFFIX must not contain globbing or regex special
81823 # characters, hashes, percent signs, but SUFFIX may contain a leading
81824 # dot (in which case that matches only a dot).
81825 func_stripname ()
81827 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81828 # positional parameters, so assign one to ordinary parameter first.
81829 func_stripname_result=${3}
81830 func_stripname_result=${func_stripname_result#"${1}"}
81831 func_stripname_result=${func_stripname_result%"${2}"}
81834 # func_opt_split
81835 func_opt_split ()
81837 func_opt_split_opt=${1%%=*}
81838 func_opt_split_arg=${1#*=}
81841 # func_lo2o object
81842 func_lo2o ()
81844 case ${1} in
81845 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81846 *) func_lo2o_result=${1} ;;
81847 esac
81850 # func_xform libobj-or-source
81851 func_xform ()
81853 func_xform_result=${1%.*}.lo
81856 # func_arith arithmetic-term...
81857 func_arith ()
81859 func_arith_result=$(( $* ))
81862 # func_len string
81863 # STRING may not start with a hyphen.
81864 func_len ()
81866 func_len_result=${#1}
81869 _LT_EOF
81871 *) # Bourne compatible functions.
81872 cat << \_LT_EOF >> "$cfgfile"
81874 # func_dirname file append nondir_replacement
81875 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81876 # otherwise set result to NONDIR_REPLACEMENT.
81877 func_dirname ()
81879 # Extract subdirectory from the argument.
81880 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81881 if test "X$func_dirname_result" = "X${1}"; then
81882 func_dirname_result="${3}"
81883 else
81884 func_dirname_result="$func_dirname_result${2}"
81888 # func_basename file
81889 func_basename ()
81891 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81895 # func_stripname prefix suffix name
81896 # strip PREFIX and SUFFIX off of NAME.
81897 # PREFIX and SUFFIX must not contain globbing or regex special
81898 # characters, hashes, percent signs, but SUFFIX may contain a leading
81899 # dot (in which case that matches only a dot).
81900 # func_strip_suffix prefix name
81901 func_stripname ()
81903 case ${2} in
81904 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
81905 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81906 esac
81909 # sed scripts:
81910 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
81911 my_sed_long_arg='1s/^-[^=]*=//'
81913 # func_opt_split
81914 func_opt_split ()
81916 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
81917 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81920 # func_lo2o object
81921 func_lo2o ()
81923 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81926 # func_xform libobj-or-source
81927 func_xform ()
81929 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
81932 # func_arith arithmetic-term...
81933 func_arith ()
81935 func_arith_result=`expr "$@"`
81938 # func_len string
81939 # STRING may not start with a hyphen.
81940 func_len ()
81942 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
81945 _LT_EOF
81946 esac
81948 case $lt_shell_append in
81949 yes)
81950 cat << \_LT_EOF >> "$cfgfile"
81952 # func_append var value
81953 # Append VALUE to the end of shell variable VAR.
81954 func_append ()
81956 eval "$1+=\$2"
81958 _LT_EOF
81961 cat << \_LT_EOF >> "$cfgfile"
81963 # func_append var value
81964 # Append VALUE to the end of shell variable VAR.
81965 func_append ()
81967 eval "$1=\$$1\$2"
81970 _LT_EOF
81972 esac
81975 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
81976 || (rm -f "$cfgfile"; exit 1)
81978 mv -f "$cfgfile" "$ofile" ||
81979 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
81980 chmod +x "$ofile"
81983 cat <<_LT_EOF >> "$ofile"
81985 # ### BEGIN LIBTOOL TAG CONFIG: CXX
81987 # The linker used to build libraries.
81988 LD=$lt_LD_CXX
81990 # How to create reloadable object files.
81991 reload_flag=$lt_reload_flag_CXX
81992 reload_cmds=$lt_reload_cmds_CXX
81994 # Commands used to build an old-style archive.
81995 old_archive_cmds=$lt_old_archive_cmds_CXX
81997 # A language specific compiler.
81998 CC=$lt_compiler_CXX
82000 # Is the compiler the GNU compiler?
82001 with_gcc=$GCC_CXX
82003 # Compiler flag to turn off builtin functions.
82004 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82006 # How to pass a linker flag through the compiler.
82007 wl=$lt_lt_prog_compiler_wl_CXX
82009 # Additional compiler flags for building library objects.
82010 pic_flag=$lt_lt_prog_compiler_pic_CXX
82012 # Compiler flag to prevent dynamic linking.
82013 link_static_flag=$lt_lt_prog_compiler_static_CXX
82015 # Does compiler simultaneously support -c and -o options?
82016 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82018 # Whether or not to add -lc for building shared libraries.
82019 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82021 # Whether or not to disallow shared libs when runtime libs are static.
82022 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82024 # Compiler flag to allow reflexive dlopens.
82025 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82027 # Compiler flag to generate shared objects directly from archives.
82028 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82030 # Whether the compiler copes with passing no objects directly.
82031 compiler_needs_object=$lt_compiler_needs_object_CXX
82033 # Create an old-style archive from a shared archive.
82034 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82036 # Create a temporary old-style archive to link instead of a shared archive.
82037 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82039 # Commands used to build a shared archive.
82040 archive_cmds=$lt_archive_cmds_CXX
82041 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82043 # Commands used to build a loadable module if different from building
82044 # a shared archive.
82045 module_cmds=$lt_module_cmds_CXX
82046 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82048 # Whether we are building with GNU ld or not.
82049 with_gnu_ld=$lt_with_gnu_ld_CXX
82051 # Flag that allows shared libraries with undefined symbols to be built.
82052 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82054 # Flag that enforces no undefined symbols.
82055 no_undefined_flag=$lt_no_undefined_flag_CXX
82057 # Flag to hardcode \$libdir into a binary during linking.
82058 # This must work even if \$libdir does not exist
82059 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82061 # If ld is used when linking, flag to hardcode \$libdir into a binary
82062 # during linking. This must work even if \$libdir does not exist.
82063 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82065 # Whether we need a single "-rpath" flag with a separated argument.
82066 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82068 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82069 # DIR into the resulting binary.
82070 hardcode_direct=$hardcode_direct_CXX
82072 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82073 # DIR into the resulting binary and the resulting library dependency is
82074 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82075 # library is relocated.
82076 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82078 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82079 # into the resulting binary.
82080 hardcode_minus_L=$hardcode_minus_L_CXX
82082 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82083 # into the resulting binary.
82084 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82086 # Set to "yes" if building a shared library automatically hardcodes DIR
82087 # into the library and all subsequent libraries and executables linked
82088 # against it.
82089 hardcode_automatic=$hardcode_automatic_CXX
82091 # Set to yes if linker adds runtime paths of dependent libraries
82092 # to runtime path list.
82093 inherit_rpath=$inherit_rpath_CXX
82095 # Whether libtool must link a program against all its dependency libraries.
82096 link_all_deplibs=$link_all_deplibs_CXX
82098 # Fix the shell variable \$srcfile for the compiler.
82099 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82101 # Set to "yes" if exported symbols are required.
82102 always_export_symbols=$always_export_symbols_CXX
82104 # The commands to list exported symbols.
82105 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82107 # Symbols that should not be listed in the preloaded symbols.
82108 exclude_expsyms=$lt_exclude_expsyms_CXX
82110 # Symbols that must always be exported.
82111 include_expsyms=$lt_include_expsyms_CXX
82113 # Commands necessary for linking programs (against libraries) with templates.
82114 prelink_cmds=$lt_prelink_cmds_CXX
82116 # Specify filename containing input files.
82117 file_list_spec=$lt_file_list_spec_CXX
82119 # How to hardcode a shared library path into an executable.
82120 hardcode_action=$hardcode_action_CXX
82122 # The directories searched by this compiler when creating a shared library.
82123 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82125 # Dependencies to place before and after the objects being linked to
82126 # create a shared library.
82127 predep_objects=$lt_predep_objects_CXX
82128 postdep_objects=$lt_postdep_objects_CXX
82129 predeps=$lt_predeps_CXX
82130 postdeps=$lt_postdeps_CXX
82132 # The library search path used internally by the compiler when linking
82133 # a shared library.
82134 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82136 # ### END LIBTOOL TAG CONFIG: CXX
82137 _LT_EOF
82140 "include/gstdint.h":C)
82141 if test "$GCC" = yes; then
82142 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82143 else
82144 echo "/* generated for $CC */" > tmp-stdint.h
82147 sed 's/^ *//' >> tmp-stdint.h <<EOF
82149 #ifndef GCC_GENERATED_STDINT_H
82150 #define GCC_GENERATED_STDINT_H 1
82152 #include <sys/types.h>
82155 if test "$acx_cv_header_stdint" != stdint.h; then
82156 echo "#include <stddef.h>" >> tmp-stdint.h
82158 if test "$acx_cv_header_stdint" != stddef.h; then
82159 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82162 sed 's/^ *//' >> tmp-stdint.h <<EOF
82163 /* glibc uses these symbols as guards to prevent redefinitions. */
82164 #ifdef __int8_t_defined
82165 #define _INT8_T
82166 #define _INT16_T
82167 #define _INT32_T
82168 #endif
82169 #ifdef __uint32_t_defined
82170 #define _UINT32_T
82171 #endif
82175 # ----------------- done header, emit basic int types -------------
82176 if test "$acx_cv_header_stdint" = stddef.h; then
82177 sed 's/^ *//' >> tmp-stdint.h <<EOF
82179 #ifndef _UINT8_T
82180 #define _UINT8_T
82181 #ifndef __uint8_t_defined
82182 #define __uint8_t_defined
82183 #ifndef uint8_t
82184 typedef unsigned $acx_cv_type_int8_t uint8_t;
82185 #endif
82186 #endif
82187 #endif
82189 #ifndef _UINT16_T
82190 #define _UINT16_T
82191 #ifndef __uint16_t_defined
82192 #define __uint16_t_defined
82193 #ifndef uint16_t
82194 typedef unsigned $acx_cv_type_int16_t uint16_t;
82195 #endif
82196 #endif
82197 #endif
82199 #ifndef _UINT32_T
82200 #define _UINT32_T
82201 #ifndef __uint32_t_defined
82202 #define __uint32_t_defined
82203 #ifndef uint32_t
82204 typedef unsigned $acx_cv_type_int32_t uint32_t;
82205 #endif
82206 #endif
82207 #endif
82209 #ifndef _INT8_T
82210 #define _INT8_T
82211 #ifndef __int8_t_defined
82212 #define __int8_t_defined
82213 #ifndef int8_t
82214 typedef $acx_cv_type_int8_t int8_t;
82215 #endif
82216 #endif
82217 #endif
82219 #ifndef _INT16_T
82220 #define _INT16_T
82221 #ifndef __int16_t_defined
82222 #define __int16_t_defined
82223 #ifndef int16_t
82224 typedef $acx_cv_type_int16_t int16_t;
82225 #endif
82226 #endif
82227 #endif
82229 #ifndef _INT32_T
82230 #define _INT32_T
82231 #ifndef __int32_t_defined
82232 #define __int32_t_defined
82233 #ifndef int32_t
82234 typedef $acx_cv_type_int32_t int32_t;
82235 #endif
82236 #endif
82237 #endif
82239 elif test "$ac_cv_type_u_int32_t" = yes; then
82240 sed 's/^ *//' >> tmp-stdint.h <<EOF
82242 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82243 #ifndef _INT8_T
82244 #define _INT8_T
82245 #endif
82246 #ifndef _INT16_T
82247 #define _INT16_T
82248 #endif
82249 #ifndef _INT32_T
82250 #define _INT32_T
82251 #endif
82253 #ifndef _UINT8_T
82254 #define _UINT8_T
82255 #ifndef __uint8_t_defined
82256 #define __uint8_t_defined
82257 #ifndef uint8_t
82258 typedef u_int8_t uint8_t;
82259 #endif
82260 #endif
82261 #endif
82263 #ifndef _UINT16_T
82264 #define _UINT16_T
82265 #ifndef __uint16_t_defined
82266 #define __uint16_t_defined
82267 #ifndef uint16_t
82268 typedef u_int16_t uint16_t;
82269 #endif
82270 #endif
82271 #endif
82273 #ifndef _UINT32_T
82274 #define _UINT32_T
82275 #ifndef __uint32_t_defined
82276 #define __uint32_t_defined
82277 #ifndef uint32_t
82278 typedef u_int32_t uint32_t;
82279 #endif
82280 #endif
82281 #endif
82283 else
82284 sed 's/^ *//' >> tmp-stdint.h <<EOF
82286 /* Some systems have guard macros to prevent redefinitions, define them. */
82287 #ifndef _INT8_T
82288 #define _INT8_T
82289 #endif
82290 #ifndef _INT16_T
82291 #define _INT16_T
82292 #endif
82293 #ifndef _INT32_T
82294 #define _INT32_T
82295 #endif
82296 #ifndef _UINT8_T
82297 #define _UINT8_T
82298 #endif
82299 #ifndef _UINT16_T
82300 #define _UINT16_T
82301 #endif
82302 #ifndef _UINT32_T
82303 #define _UINT32_T
82304 #endif
82308 # ------------- done basic int types, emit int64_t types ------------
82309 if test "$ac_cv_type_uint64_t" = yes; then
82310 sed 's/^ *//' >> tmp-stdint.h <<EOF
82312 /* system headers have good uint64_t and int64_t */
82313 #ifndef _INT64_T
82314 #define _INT64_T
82315 #endif
82316 #ifndef _UINT64_T
82317 #define _UINT64_T
82318 #endif
82320 elif test "$ac_cv_type_u_int64_t" = yes; then
82321 sed 's/^ *//' >> tmp-stdint.h <<EOF
82323 /* system headers have an u_int64_t (and int64_t) */
82324 #ifndef _INT64_T
82325 #define _INT64_T
82326 #endif
82327 #ifndef _UINT64_T
82328 #define _UINT64_T
82329 #ifndef __uint64_t_defined
82330 #define __uint64_t_defined
82331 #ifndef uint64_t
82332 typedef u_int64_t uint64_t;
82333 #endif
82334 #endif
82335 #endif
82337 elif test -n "$acx_cv_type_int64_t"; then
82338 sed 's/^ *//' >> tmp-stdint.h <<EOF
82340 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82341 #ifndef _INT64_T
82342 #define _INT64_T
82343 #ifndef int64_t
82344 typedef $acx_cv_type_int64_t int64_t;
82345 #endif
82346 #endif
82347 #ifndef _UINT64_T
82348 #define _UINT64_T
82349 #ifndef __uint64_t_defined
82350 #define __uint64_t_defined
82351 #ifndef uint64_t
82352 typedef unsigned $acx_cv_type_int64_t uint64_t;
82353 #endif
82354 #endif
82355 #endif
82357 else
82358 sed 's/^ *//' >> tmp-stdint.h <<EOF
82360 /* some common heuristics for int64_t, using compiler-specific tests */
82361 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82362 #ifndef _INT64_T
82363 #define _INT64_T
82364 #ifndef __int64_t_defined
82365 #ifndef int64_t
82366 typedef long long int64_t;
82367 #endif
82368 #endif
82369 #endif
82370 #ifndef _UINT64_T
82371 #define _UINT64_T
82372 #ifndef uint64_t
82373 typedef unsigned long long uint64_t;
82374 #endif
82375 #endif
82377 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82378 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82379 does not implement __extension__. But that compiler doesn't define
82380 __GNUC_MINOR__. */
82381 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82382 # define __extension__
82383 # endif
82385 # ifndef _INT64_T
82386 # define _INT64_T
82387 # ifndef int64_t
82388 __extension__ typedef long long int64_t;
82389 # endif
82390 # endif
82391 # ifndef _UINT64_T
82392 # define _UINT64_T
82393 # ifndef uint64_t
82394 __extension__ typedef unsigned long long uint64_t;
82395 # endif
82396 # endif
82398 #elif !defined __STRICT_ANSI__
82399 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82401 # ifndef _INT64_T
82402 # define _INT64_T
82403 # ifndef int64_t
82404 typedef __int64 int64_t;
82405 # endif
82406 # endif
82407 # ifndef _UINT64_T
82408 # define _UINT64_T
82409 # ifndef uint64_t
82410 typedef unsigned __int64 uint64_t;
82411 # endif
82412 # endif
82413 # endif /* compiler */
82415 #endif /* ANSI version */
82419 # ------------- done int64_t types, emit intptr types ------------
82420 if test "$ac_cv_type_uintptr_t" != yes; then
82421 sed 's/^ *//' >> tmp-stdint.h <<EOF
82423 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82424 #ifndef __uintptr_t_defined
82425 #ifndef uintptr_t
82426 typedef u$acx_cv_type_intptr_t uintptr_t;
82427 #endif
82428 #endif
82429 #ifndef __intptr_t_defined
82430 #ifndef intptr_t
82431 typedef $acx_cv_type_intptr_t intptr_t;
82432 #endif
82433 #endif
82437 # ------------- done intptr types, emit int_least types ------------
82438 if test "$ac_cv_type_int_least32_t" != yes; then
82439 sed 's/^ *//' >> tmp-stdint.h <<EOF
82441 /* Define int_least types */
82442 typedef int8_t int_least8_t;
82443 typedef int16_t int_least16_t;
82444 typedef int32_t int_least32_t;
82445 #ifdef _INT64_T
82446 typedef int64_t int_least64_t;
82447 #endif
82449 typedef uint8_t uint_least8_t;
82450 typedef uint16_t uint_least16_t;
82451 typedef uint32_t uint_least32_t;
82452 #ifdef _UINT64_T
82453 typedef uint64_t uint_least64_t;
82454 #endif
82458 # ------------- done intptr types, emit int_fast types ------------
82459 if test "$ac_cv_type_int_fast32_t" != yes; then
82460 sed 's/^ *//' >> tmp-stdint.h <<EOF
82462 /* Define int_fast types. short is often slow */
82463 typedef int8_t int_fast8_t;
82464 typedef int int_fast16_t;
82465 typedef int32_t int_fast32_t;
82466 #ifdef _INT64_T
82467 typedef int64_t int_fast64_t;
82468 #endif
82470 typedef uint8_t uint_fast8_t;
82471 typedef unsigned int uint_fast16_t;
82472 typedef uint32_t uint_fast32_t;
82473 #ifdef _UINT64_T
82474 typedef uint64_t uint_fast64_t;
82475 #endif
82479 if test "$ac_cv_type_uintmax_t" != yes; then
82480 sed 's/^ *//' >> tmp-stdint.h <<EOF
82482 /* Define intmax based on what we found */
82483 #ifndef intmax_t
82484 #ifdef _INT64_T
82485 typedef int64_t intmax_t;
82486 #else
82487 typedef long intmax_t;
82488 #endif
82489 #endif
82490 #ifndef uintmax_t
82491 #ifdef _UINT64_T
82492 typedef uint64_t uintmax_t;
82493 #else
82494 typedef unsigned long uintmax_t;
82495 #endif
82496 #endif
82500 sed 's/^ *//' >> tmp-stdint.h <<EOF
82502 #endif /* GCC_GENERATED_STDINT_H */
82505 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82506 rm -f tmp-stdint.h
82507 else
82508 mv -f tmp-stdint.h include/gstdint.h
82512 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82513 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82514 "include/Makefile":F) cat > vpsed$$ << \_EOF
82515 s!`test -f '$<' || echo '$(srcdir)/'`!!
82516 _EOF
82517 sed -f vpsed$$ $ac_file > tmp$$
82518 mv tmp$$ $ac_file
82519 rm vpsed$$
82520 echo 'MULTISUBDIR =' >> $ac_file
82521 ml_norecursion=yes
82522 . ${multi_basedir}/config-ml.in
82523 { ml_norecursion=; unset ml_norecursion;}
82525 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82526 s!`test -f '$<' || echo '$(srcdir)/'`!!
82527 _EOF
82528 sed -f vpsed$$ $ac_file > tmp$$
82529 mv tmp$$ $ac_file
82530 rm vpsed$$
82531 echo 'MULTISUBDIR =' >> $ac_file
82532 ml_norecursion=yes
82533 . ${multi_basedir}/config-ml.in
82534 { ml_norecursion=; unset ml_norecursion;}
82536 "python/Makefile":F) cat > vpsed$$ << \_EOF
82537 s!`test -f '$<' || echo '$(srcdir)/'`!!
82538 _EOF
82539 sed -f vpsed$$ $ac_file > tmp$$
82540 mv tmp$$ $ac_file
82541 rm vpsed$$
82542 echo 'MULTISUBDIR =' >> $ac_file
82543 ml_norecursion=yes
82544 . ${multi_basedir}/config-ml.in
82545 { ml_norecursion=; unset ml_norecursion;}
82547 "src/Makefile":F) cat > vpsed$$ << \_EOF
82548 s!`test -f '$<' || echo '$(srcdir)/'`!!
82549 _EOF
82550 sed -f vpsed$$ $ac_file > tmp$$
82551 mv tmp$$ $ac_file
82552 rm vpsed$$
82553 echo 'MULTISUBDIR =' >> $ac_file
82554 ml_norecursion=yes
82555 . ${multi_basedir}/config-ml.in
82556 { ml_norecursion=; unset ml_norecursion;}
82558 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82559 s!`test -f '$<' || echo '$(srcdir)/'`!!
82560 _EOF
82561 sed -f vpsed$$ $ac_file > tmp$$
82562 mv tmp$$ $ac_file
82563 rm vpsed$$
82564 echo 'MULTISUBDIR =' >> $ac_file
82565 ml_norecursion=yes
82566 . ${multi_basedir}/config-ml.in
82567 { ml_norecursion=; unset ml_norecursion;}
82569 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82570 s!`test -f '$<' || echo '$(srcdir)/'`!!
82571 _EOF
82572 sed -f vpsed$$ $ac_file > tmp$$
82573 mv tmp$$ $ac_file
82574 rm vpsed$$
82575 echo 'MULTISUBDIR =' >> $ac_file
82576 ml_norecursion=yes
82577 . ${multi_basedir}/config-ml.in
82578 { ml_norecursion=; unset ml_norecursion;}
82580 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82581 s!`test -f '$<' || echo '$(srcdir)/'`!!
82582 _EOF
82583 sed -f vpsed$$ $ac_file > tmp$$
82584 mv tmp$$ $ac_file
82585 rm vpsed$$
82586 echo 'MULTISUBDIR =' >> $ac_file
82587 ml_norecursion=yes
82588 . ${multi_basedir}/config-ml.in
82589 { ml_norecursion=; unset ml_norecursion;}
82591 "po/Makefile":F) cat > vpsed$$ << \_EOF
82592 s!`test -f '$<' || echo '$(srcdir)/'`!!
82593 _EOF
82594 sed -f vpsed$$ $ac_file > tmp$$
82595 mv tmp$$ $ac_file
82596 rm vpsed$$
82597 echo 'MULTISUBDIR =' >> $ac_file
82598 ml_norecursion=yes
82599 . ${multi_basedir}/config-ml.in
82600 { ml_norecursion=; unset ml_norecursion;}
82602 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82603 s!`test -f '$<' || echo '$(srcdir)/'`!!
82604 _EOF
82605 sed -f vpsed$$ $ac_file > tmp$$
82606 mv tmp$$ $ac_file
82607 rm vpsed$$
82608 echo 'MULTISUBDIR =' >> $ac_file
82609 ml_norecursion=yes
82610 . ${multi_basedir}/config-ml.in
82611 { ml_norecursion=; unset ml_norecursion;}
82613 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82615 esac
82616 done # for ac_tag
82619 as_fn_exit 0
82620 _ACEOF
82621 ac_clean_files=$ac_clean_files_save
82623 test $ac_write_fail = 0 ||
82624 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82627 # configure is writing to config.log, and then calls config.status.
82628 # config.status does its own redirection, appending to config.log.
82629 # Unfortunately, on DOS this fails, as config.log is still kept open
82630 # by configure, so config.status won't be able to write to it; its
82631 # output is simply discarded. So we exec the FD to /dev/null,
82632 # effectively closing config.log, so it can be properly (re)opened and
82633 # appended to by config.status. When coming back to configure, we
82634 # need to make the FD available again.
82635 if test "$no_create" != yes; then
82636 ac_cs_success=:
82637 ac_config_status_args=
82638 test "$silent" = yes &&
82639 ac_config_status_args="$ac_config_status_args --quiet"
82640 exec 5>/dev/null
82641 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82642 exec 5>>config.log
82643 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82644 # would make configure fail if this is the last instruction.
82645 $ac_cs_success || as_fn_exit $?
82647 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82649 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}